2 # From configure.in Id: configure.in 57209 2008-12-08 23:19:37Z FM .
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
710 LIBGNOMEPRINTUI_CFLAGS
758 SAMPLES_RPATH_POSTLINK
813 ICC_PCH_CREATE_SWITCH
817 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
818 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
819 COND_BUILD_DEBUG_UNICODE_0
820 COND_BUILD_DEBUG_UNICODE_1
822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
823 COND_BUILD_RELEASE_UNICODE_0
824 COND_BUILD_RELEASE_UNICODE_1
826 COND_BUILD_debug_DEBUG_FLAG_default
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_UNICODE_0
829 COND_BUILD_debug_UNICODE_1
831 COND_BUILD_release_DEBUG_INFO_default
832 COND_BUILD_release_UNICODE_0
833 COND_BUILD_release_UNICODE_1
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
850 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
851 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
852 COND_MONOLITHIC_0_SHARED_1
853 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
859 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
862 COND_MONOLITHIC_0_USE_AUI_1
863 COND_MONOLITHIC_0_USE_GUI_1
864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_USE_HTML_1
866 COND_MONOLITHIC_0_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_USE_QA_1
869 COND_MONOLITHIC_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_USE_STC_1
871 COND_MONOLITHIC_0_USE_XRC_1
873 COND_MONOLITHIC_1_SHARED_0
874 COND_MONOLITHIC_1_SHARED_1
875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
877 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_1
880 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
885 COND_PLATFORM_MACOSX_1_USE_GUI_1
886 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
888 COND_PLATFORM_MACOS_1
891 COND_PLATFORM_MSDOS_0
892 COND_PLATFORM_MSDOS_1
896 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
898 COND_PLATFORM_UNIX_1_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
900 COND_PLATFORM_WIN32_0
901 COND_PLATFORM_WIN32_1
903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
904 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
906 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
910 COND_SHARED_0_USE_STC_1
911 COND_SHARED_0_wxUSE_EXPAT_builtin
912 COND_SHARED_0_wxUSE_REGEX_builtin
913 COND_SHARED_0_wxUSE_ZLIB_builtin
915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
918 COND_TOOLKIT_COCOA_USE_GUI_1
919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_DFB_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_GTK_USE_GUI_1
932 COND_TOOLKIT_MGL_USE_GUI_1
934 COND_TOOLKIT_MOTIF_USE_GUI_1
935 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_MSW_USE_GUI_1
938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW_WXUNIV_0
940 COND_TOOLKIT_OSX_CARBON
941 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
942 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_COCOA
944 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
945 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
946 COND_TOOLKIT_OSX_IPHONE
948 COND_TOOLKIT_PM_USE_GUI_1
949 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_WINCE_USE_GUI_1
952 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_WINCE_WXUNIV_0
955 COND_TOOLKIT_X11_USE_GUI_1
957 COND_USE_EXCEPTIONS_0
958 COND_USE_EXCEPTIONS_1
961 COND_USE_GUI_1_USE_OPENGL_1
962 COND_USE_GUI_1_WXUNIV_0
963 COND_USE_GUI_1_WXUNIV_1
964 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
965 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
966 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
967 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
968 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
969 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
975 COND_USE_SOSYMLINKS_1
976 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
977 COND_USE_SOVERLINUX_1
979 COND_USE_SOVERSOLARIS_1
984 COND_WINDOWS_IMPLIB_1
985 COND_WITH_PLUGIN_SDL_1
988 COND_WXUSE_EXPAT_BUILTIN
989 COND_WXUSE_LIBJPEG_BUILTIN
990 COND_WXUSE_LIBPNG_BUILTIN
991 COND_WXUSE_LIBTIFF_BUILTIN
992 COND_WXUSE_REGEX_BUILTIN
993 COND_WXUSE_ZLIB_BUILTIN
994 COND_wxUSE_EXPAT_builtin
995 COND_wxUSE_LIBJPEG_builtin
996 COND_wxUSE_LIBPNG_builtin
997 COND_wxUSE_LIBTIFF_builtin
998 COND_wxUSE_REGEX_builtin
999 COND_wxUSE_ZLIB_builtin
1002 WX_LIBRARY_BASENAME_NOGUI
1003 WX_LIBRARY_BASENAME_GUI
1023 WXCONFIG_LDFLAGS_GUI
1035 WX_RESOURCES_MACOSX_ASCII
1036 WX_RESOURCES_MACOSX_DATA
1046 ac_precious_vars
='build_alias
1070 LIBGNOMEPRINTUI_CFLAGS
1071 LIBGNOMEPRINTUI_LIBS
1080 ac_subdirs_all
='src/tiff
1083 # Initialize some variables set by options.
1085 ac_init_version
=false
1086 # The variables have the same names as the options, with
1087 # dashes changed to underlines.
1088 cache_file
=/dev
/null
1095 program_transform_name
=s
,x
,x
,
1103 # Installation directory options.
1104 # These are left unexpanded so users can "make install exec_prefix=/foo"
1105 # and all the variables that are supposed to be based on exec_prefix
1106 # by default will actually change.
1107 # Use braces instead of parens because sh, perl, etc. also accept them.
1108 # (The list follows the same order as the GNU Coding Standards.)
1109 bindir
='${exec_prefix}/bin'
1110 sbindir
='${exec_prefix}/sbin'
1111 libexecdir
='${exec_prefix}/libexec'
1112 datarootdir
='${prefix}/share'
1113 datadir
='${datarootdir}'
1114 sysconfdir
='${prefix}/etc'
1115 sharedstatedir
='${prefix}/com'
1116 localstatedir
='${prefix}/var'
1117 includedir
='${prefix}/include'
1118 oldincludedir
='/usr/include'
1119 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1120 infodir
='${datarootdir}/info'
1125 libdir
='${exec_prefix}/lib'
1126 localedir
='${datarootdir}/locale'
1127 mandir
='${datarootdir}/man'
1133 # If the previous option needs an argument, assign it.
1134 if test -n "$ac_prev"; then
1135 eval $ac_prev=\
$ac_option
1141 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1145 # Accept the important Cygnus configure options, so we can diagnose typos.
1147 case $ac_dashdash$ac_option in
1151 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1153 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1154 bindir
=$ac_optarg ;;
1156 -build | --build | --buil | --bui | --bu)
1157 ac_prev
=build_alias
;;
1158 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1159 build_alias
=$ac_optarg ;;
1161 -cache-file | --cache-file | --cache-fil | --cache-fi \
1162 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1163 ac_prev
=cache_file
;;
1164 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1165 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1166 cache_file
=$ac_optarg ;;
1168 --config-cache | -C)
1169 cache_file
=config.cache
;;
1171 -datadir | --datadir | --datadi | --datad)
1173 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1174 datadir
=$ac_optarg ;;
1176 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1177 | --dataroo | --dataro | --datar)
1178 ac_prev
=datarootdir
;;
1179 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1180 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1181 datarootdir
=$ac_optarg ;;
1183 -disable-* | --disable-*)
1184 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1187 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1190 eval enable_
$ac_feature=no
;;
1192 -docdir | --docdir | --docdi | --doc | --do)
1194 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1195 docdir
=$ac_optarg ;;
1197 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1199 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1200 dvidir
=$ac_optarg ;;
1202 -enable-* | --enable-*)
1203 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1206 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1207 { (exit 1); exit 1; }; }
1208 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1209 eval enable_
$ac_feature=\
$ac_optarg ;;
1211 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1212 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1213 | --exec | --exe | --ex)
1214 ac_prev
=exec_prefix
;;
1215 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1216 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1217 | --exec=* | --exe=* | --ex=*)
1218 exec_prefix
=$ac_optarg ;;
1220 -gas | --gas | --ga | --g)
1221 # Obsolete; use --with-gas.
1224 -help | --help | --hel | --he | -h)
1225 ac_init_help
=long
;;
1226 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1227 ac_init_help
=recursive
;;
1228 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1229 ac_init_help
=short
;;
1231 -host | --host | --hos | --ho)
1232 ac_prev
=host_alias
;;
1233 -host=* | --host=* | --hos=* | --ho=*)
1234 host_alias
=$ac_optarg ;;
1236 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1238 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1240 htmldir
=$ac_optarg ;;
1242 -includedir | --includedir | --includedi | --included | --include \
1243 | --includ | --inclu | --incl | --inc)
1244 ac_prev
=includedir
;;
1245 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1246 | --includ=* | --inclu=* | --incl=* | --inc=*)
1247 includedir
=$ac_optarg ;;
1249 -infodir | --infodir | --infodi | --infod | --info | --inf)
1251 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1252 infodir
=$ac_optarg ;;
1254 -libdir | --libdir | --libdi | --libd)
1256 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1257 libdir
=$ac_optarg ;;
1259 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1260 | --libexe | --libex | --libe)
1261 ac_prev
=libexecdir
;;
1262 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1263 | --libexe=* | --libex=* | --libe=*)
1264 libexecdir
=$ac_optarg ;;
1266 -localedir | --localedir | --localedi | --localed | --locale)
1267 ac_prev
=localedir
;;
1268 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1269 localedir
=$ac_optarg ;;
1271 -localstatedir | --localstatedir | --localstatedi | --localstated \
1272 | --localstate | --localstat | --localsta | --localst | --locals)
1273 ac_prev
=localstatedir
;;
1274 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1275 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1276 localstatedir
=$ac_optarg ;;
1278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1281 mandir
=$ac_optarg ;;
1283 -nfp | --nfp | --nf)
1284 # Obsolete; use --without-fp.
1287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1288 | --no-cr | --no-c | -n)
1291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1297 | --oldin | --oldi | --old | --ol | --o)
1298 ac_prev
=oldincludedir
;;
1299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1302 oldincludedir
=$ac_optarg ;;
1304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1307 prefix
=$ac_optarg ;;
1309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1310 | --program-pre | --program-pr | --program-p)
1311 ac_prev
=program_prefix
;;
1312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1314 program_prefix
=$ac_optarg ;;
1316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1317 | --program-suf | --program-su | --program-s)
1318 ac_prev
=program_suffix
;;
1319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1321 program_suffix
=$ac_optarg ;;
1323 -program-transform-name | --program-transform-name \
1324 | --program-transform-nam | --program-transform-na \
1325 | --program-transform-n | --program-transform- \
1326 | --program-transform | --program-transfor \
1327 | --program-transfo | --program-transf \
1328 | --program-trans | --program-tran \
1329 | --progr-tra | --program-tr | --program-t)
1330 ac_prev
=program_transform_name
;;
1331 -program-transform-name=* | --program-transform-name=* \
1332 | --program-transform-nam=* | --program-transform-na=* \
1333 | --program-transform-n=* | --program-transform-=* \
1334 | --program-transform=* | --program-transfor=* \
1335 | --program-transfo=* | --program-transf=* \
1336 | --program-trans=* | --program-tran=* \
1337 | --progr-tra=* | --program-tr=* | --program-t=*)
1338 program_transform_name
=$ac_optarg ;;
1340 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1342 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1343 pdfdir
=$ac_optarg ;;
1345 -psdir | --psdir | --psdi | --psd | --ps)
1347 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1351 | -silent | --silent | --silen | --sile | --sil)
1354 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1356 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1358 sbindir
=$ac_optarg ;;
1360 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1361 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1362 | --sharedst | --shareds | --shared | --share | --shar \
1364 ac_prev
=sharedstatedir
;;
1365 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1366 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1367 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1369 sharedstatedir
=$ac_optarg ;;
1371 -site | --site | --sit)
1373 -site=* | --site=* | --sit=*)
1376 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1378 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1379 srcdir
=$ac_optarg ;;
1381 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1382 | --syscon | --sysco | --sysc | --sys | --sy)
1383 ac_prev
=sysconfdir
;;
1384 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1385 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1386 sysconfdir
=$ac_optarg ;;
1388 -target | --target | --targe | --targ | --tar | --ta | --t)
1389 ac_prev
=target_alias
;;
1390 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1391 target_alias
=$ac_optarg ;;
1393 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1396 -version | --version | --versio | --versi | --vers | -V)
1397 ac_init_version
=: ;;
1400 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1401 # Reject names that are not valid shell variable names.
1402 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1403 { echo "$as_me: error: invalid package name: $ac_package" >&2
1404 { (exit 1); exit 1; }; }
1405 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1406 eval with_
$ac_package=\
$ac_optarg ;;
1408 -without-* | --without-*)
1409 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1412 { echo "$as_me: error: invalid package name: $ac_package" >&2
1413 { (exit 1); exit 1; }; }
1414 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1415 eval with_
$ac_package=no
;;
1418 # Obsolete; use --with-x.
1421 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1422 | --x-incl | --x-inc | --x-in | --x-i)
1423 ac_prev
=x_includes
;;
1424 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1425 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1426 x_includes
=$ac_optarg ;;
1428 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1429 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1430 ac_prev
=x_libraries
;;
1431 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1432 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1433 x_libraries
=$ac_optarg ;;
1435 -*) { echo "$as_me: error: unrecognized option: $ac_option
1436 Try \`$0 --help' for more information." >&2
1437 { (exit 1); exit 1; }; }
1441 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1442 # Reject names that are not valid shell variable names.
1443 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1444 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1445 { (exit 1); exit 1; }; }
1446 eval $ac_envvar=\
$ac_optarg
1447 export $ac_envvar ;;
1450 # FIXME: should be removed in autoconf 3.0.
1451 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1452 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1453 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1454 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1460 if test -n "$ac_prev"; then
1461 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1462 { echo "$as_me: error: missing argument to $ac_option" >&2
1463 { (exit 1); exit 1; }; }
1466 # Be sure to have absolute directory names.
1467 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1468 datadir sysconfdir sharedstatedir localstatedir includedir \
1469 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1470 libdir localedir mandir
1472 eval ac_val
=\$
$ac_var
1474 [\\/$
]* | ?
:[\\/]* ) continue;;
1475 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1477 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1478 { (exit 1); exit 1; }; }
1481 # There might be people who depend on the old broken behavior: `$host'
1482 # used to hold the argument of --host etc.
1483 # FIXME: To remove some day.
1486 target
=$target_alias
1488 # FIXME: To remove some day.
1489 if test "x$host_alias" != x
; then
1490 if test "x$build_alias" = x
; then
1491 cross_compiling
=maybe
1492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1493 If a cross compiler is detected then cross compile mode will be used." >&2
1494 elif test "x$build_alias" != "x$host_alias"; then
1500 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1502 test "$silent" = yes && exec 6>/dev
/null
1505 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1506 ac_ls_di
=`ls -di .` &&
1507 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1508 { echo "$as_me: error: Working directory cannot be determined" >&2
1509 { (exit 1); exit 1; }; }
1510 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1511 { echo "$as_me: error: pwd does not report name of working directory" >&2
1512 { (exit 1); exit 1; }; }
1515 # Find the source files, if location was not specified.
1516 if test -z "$srcdir"; then
1517 ac_srcdir_defaulted
=yes
1518 # Try the directory containing this script, then the parent directory.
1519 ac_confdir
=`$as_dirname -- "$0" ||
1520 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1521 X"$0" : 'X\(//\)[^/]' \| \
1522 X"$0" : 'X\(//\)$' \| \
1523 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1543 if test ! -r "$srcdir/$ac_unique_file"; then
1547 ac_srcdir_defaulted
=no
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1550 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1551 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1552 { (exit 1); exit 1; }; }
1554 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1556 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1557 { (exit 1); exit 1; }; }
1559 # When building in place, set srcdir=.
1560 if test "$ac_abs_confdir" = "$ac_pwd"; then
1563 # Remove unnecessary trailing slashes from srcdir.
1564 # Double slashes in file names in object file debugging info
1565 # mess up M-x gdb in Emacs.
1567 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1569 for ac_var
in $ac_precious_vars; do
1570 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1571 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1572 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1573 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1577 # Report the --help message.
1579 if test "$ac_init_help" = "long"; then
1580 # Omit some internal or obsolete options to make the list less imposing.
1581 # This message is too long to be a string in the A/UX 3.1 sh.
1583 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1585 Usage: $0 [OPTION]... [VAR=VALUE]...
1587 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1588 VAR=VALUE. See below for descriptions of some of the useful variables.
1590 Defaults for the options are specified in brackets.
1593 -h, --help display this help and exit
1594 --help=short display options specific to this package
1595 --help=recursive display the short help of all the included packages
1596 -V, --version display version information and exit
1597 -q, --quiet, --silent do not print \`checking...' messages
1598 --cache-file=FILE cache test results in FILE [disabled]
1599 -C, --config-cache alias for \`--cache-file=config.cache'
1600 -n, --no-create do not create output files
1601 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1603 Installation directories:
1604 --prefix=PREFIX install architecture-independent files in PREFIX
1605 [$ac_default_prefix]
1606 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1609 By default, \`make install' will install all the files in
1610 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1611 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1612 for instance \`--prefix=\$HOME'.
1614 For better control, use the options below.
1616 Fine tuning of the installation directories:
1617 --bindir=DIR user executables [EPREFIX/bin]
1618 --sbindir=DIR system admin executables [EPREFIX/sbin]
1619 --libexecdir=DIR program executables [EPREFIX/libexec]
1620 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1621 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1622 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1623 --libdir=DIR object code libraries [EPREFIX/lib]
1624 --includedir=DIR C header files [PREFIX/include]
1625 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1626 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1627 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1628 --infodir=DIR info documentation [DATAROOTDIR/info]
1629 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1630 --mandir=DIR man documentation [DATAROOTDIR/man]
1631 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1632 --htmldir=DIR html documentation [DOCDIR]
1633 --dvidir=DIR dvi documentation [DOCDIR]
1634 --pdfdir=DIR pdf documentation [DOCDIR]
1635 --psdir=DIR ps documentation [DOCDIR]
1641 --x-includes=DIR X include files are
in DIR
1642 --x-libraries=DIR X library files are
in DIR
1645 --build=BUILD configure
for building on BUILD
[guessed
]
1646 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1647 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1651 if test -n "$ac_init_help"; then
1652 case $ac_init_help in
1653 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1658 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1659 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1660 --disable-gui don
't build GUI parts of the library
1661 --enable-monolithic build wxWidgets as single library
1662 --enable-plugins build parts of wxWidgets as loadable components
1663 --enable-official_build official build of wxWidgets (win32 DLL only)
1664 --enable-vendor=VENDOR vendor name (win32 DLL only)
1665 --disable-all-features disable all optional features to build minimal library
1666 --enable-universal use wxWidgets GUI controls instead of native ones
1667 --enable-nanox use NanoX
1668 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1669 --enable-gpe use GNOME PDA Environment features if possible
1670 --disable-shared create static library instead of shared
1671 --enable-debug same as debug_flag and debug_info
1672 --enable-stl use STL for containers
1673 --enable-std_iostreams use standard C++ stream classes
1674 --enable-std_string use standard C++ string classes
1675 --disable-unicode compile without Unicode support
1676 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1677 --enable-utf8 use UTF-8 representation for strings (Unix only)
1678 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1679 --enable-extended_rtti use extended RTTI (XTI)
1680 --enable-omf use OMF object format
1681 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1682 --enable-debug_info create code with debugging information
1683 --disable-optimise compile without optimisations
1684 --enable-debug_gdb create code with extra GDB debugging information
1685 --enable-debug_cntxt use wxDebugContext
1686 --enable-mem_tracing create code with memory tracing
1687 --enable-profile create code with profiling information
1688 --enable-no_rtti create code without RTTI information
1689 --enable-no_exceptions create code without C++ exceptions handling
1690 --enable-permissive compile code disregarding strict ANSI
1691 --enable-no_deps create code without dependency information
1692 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1693 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1694 --enable-compat26 enable wxWidgets
2.6 compatibility
1695 --disable-compat28 disable wxWidgets
2.8 compatibility
1696 --disable-rpath disable use of rpath
for uninstalled builds
1697 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1698 --disable-visibility disable use of ELF symbols visibility even
if supported
1699 --enable-intl use internationalization system
1700 --enable-xlocale use x
-locale support
(requires wxLocale
)
1701 --enable-config use wxConfig
(and derived
) classes
1702 --enable-protocols use wxProtocol and derived classes
1703 --enable-ftp use wxFTP
(requires wxProtocol
1704 --enable-http use wxHTTP
(requires wxProtocol
1705 --enable-fileproto use wxFileProto class
(requires wxProtocol
1706 --enable-sockets use socket
/network classes
1707 --enable-ipv6 enable IPv6 support
in wxSocket
1708 --enable-ole use OLE classes
(Win32 only
)
1709 --enable-dataobj use data object classes
1710 --enable-ipc use interprocess communication
(wxSocket etc.
)
1711 --enable-baseevtloop use event loop
in console programs too
1712 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1713 --enable-selectloop use wxSelectDispatcher class
1714 --enable-apple_ieee use the Apple IEEE codec
1715 --enable-arcstream use wxArchive streams
1716 --enable-base64 use base64 encoding
/decoding functions
1717 --enable-backtrace use wxStackWalker class
for getting backtraces
1718 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1719 --enable-cmdline use wxCmdLineParser class
1720 --enable-datetime use wxDateTime class
1721 --enable-debugreport use wxDebugReport class
1722 --enable-dialupman use dialup network classes
1723 --enable-dynlib use wxLibrary class
for DLL loading
1724 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1725 --enable-exceptions build exception
-safe library
1726 --enable-ffile use wxFFile class
1727 --enable-file use wxFile class
1728 --enable-filesystem use virtual
file systems classes
1729 --enable-fontenum use wxFontEnumerator class
1730 --enable-fontmap use font encodings conversion classes
1731 --enable-fs_archive use virtual archive filesystems
1732 --enable-fs_inet use virtual HTTP
/FTP filesystems
1733 --enable-fs_zip now replaced by fs_archive
1734 --enable-geometry use geometry class
1735 --enable-log use logging system
1736 --enable-longlong use wxLongLong class
1737 --enable-mimetype use wxMimeTypesManager
1738 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1739 --enable-snglinst use wxSingleInstanceChecker class
1740 --enable-sound use wxSound class
1741 --enable-stdpaths use wxStandardPaths class
1742 --enable-stopwatch use wxStopWatch class
1743 --enable-streams use wxStream etc classes
1744 --enable-sysoptions use wxSystemOptions
1745 --enable-tarstream use wxTar streams
1746 --enable-textbuf use wxTextBuffer class
1747 --enable-textfile use wxTextFile class
1748 --enable-timer use wxTimer class
1749 --enable-variant use wxVariant class
1750 --enable-zipstream use wxZip streams
1751 --enable-url use wxURL class
1752 --enable-protocol use wxProtocol class
1753 --enable-protocol-http HTTP support
in wxProtocol
1754 --enable-protocol-ftp FTP support
in wxProtocol
1755 --enable-protocol-file FILE support
in wxProtocol
1756 --enable-threads use threads
1757 --enable-iniconf use wxIniConfig
(Win32 only
)
1758 --enable-regkey use wxRegKey class
(Win32 only
)
1759 --enable-docview use document view architecture
1760 --enable-help use
help subsystem
1761 --enable-mshtmlhelp use MS HTML Help
(win32
)
1762 --enable-html use wxHTML sub
-library
1763 --enable-htmlhelp use wxHTML
-based help
1764 --enable-xrc use XRC resources sub
-library
1765 --enable-aui use AUI docking library
1766 --enable-propgrid use wxPropertyGrid library
1767 --enable-stc use wxStyledTextCtrl library
1768 --enable-constraints use layout
-constraints system
1769 --enable-loggui use standard GUI logger
1770 --enable-logwin use wxLogWindow
1771 --enable-logdialog use wxLogDialog
1772 --enable-mdi use multiple document interface architecture
1773 --enable-mdidoc use docview architecture with MDI
1774 --enable-mediactrl use wxMediaCtrl class
1775 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1776 --enable-webkit use wxWebKitCtrl
(Mac
)
1777 --enable-richtext use wxRichTextCtrl
1778 --enable-graphics_ctx use graphics context
2D drawing API
1779 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1780 --enable-printarch use printing architecture
1781 --enable-svg use wxSVGFileDC device context
1782 --enable-clipboard use wxClipboard class
1783 --enable-dnd use Drag
'n'Drop classes
1784 --enable-metafile use win32 metafiles
1785 --disable-controls disable compilation of all standard controls
1786 --enable-accel use accelerators
1787 --enable-animatectrl use wxAnimationCtrl class
1788 --enable-button use wxButton class
1789 --enable-bmpbutton use wxBitmapButton class
1790 --enable-bmpcombobox use wxBitmapComboBox class
1791 --enable-calendar use wxCalendarCtrl class
1792 --enable-caret use wxCaret class
1793 --enable-checkbox use wxCheckBox class
1794 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1795 --enable-choice use wxChoice class
1796 --enable-choicebook use wxChoicebook class
1797 --enable-collpane use wxCollapsiblePane class
1798 --enable-colourpicker use wxColourPickerCtrl class
1799 --enable-combobox use wxComboBox class
1800 --enable-comboctrl use wxComboCtrl class
1801 --enable-datepick use wxDatePickerCtrl class
1802 --enable-dirpicker use wxDirPickerCtrl class
1803 --enable-display use wxDisplay class
1804 --enable-detect_sm use code to detect X11 session manager
1805 --enable-editablebox use wxEditableListBox class
1806 --enable-filepicker use wxFilePickerCtrl class
1807 --enable-filectrl use wxFileCtrl class
1808 --enable-fontpicker use wxFontPickerCtrl class
1809 --enable-gauge use wxGauge class
1810 --enable-grid use wxGrid class
1811 --enable-dataviewctrl use wxDataViewCtrl class
1812 --enable-hyperlink use wxHyperlinkCtrl class
1813 --enable-imaglist use wxImageList class
1814 --enable-listbook use wxListbook class
1815 --enable-listbox use wxListBox class
1816 --enable-listctrl use wxListCtrl class
1817 --enable-notebook use wxNotebook class
1818 --enable-notifmsg use wxNotificationMessage class
1819 --enable-odcombobox use wxOwnerDrawnComboBox class
1820 --enable-radiobox use wxRadioBox class
1821 --enable-radiobtn use wxRadioButton class
1822 --enable-sash use wxSashWindow class
1823 --enable-scrollbar use wxScrollBar class and scrollable windows
1824 --enable-searchctrl use wxSearchCtrl class
1825 --enable-slider use wxSlider class
1826 --enable-spinbtn use wxSpinButton class
1827 --enable-spinctrl use wxSpinCtrl class
1828 --enable-splitter use wxSplitterWindow class
1829 --enable-statbmp use wxStaticBitmap class
1830 --enable-statbox use wxStaticBox class
1831 --enable-statline use wxStaticLine class
1832 --enable-stattext use wxStaticText class
1833 --enable-statusbar use wxStatusBar class
1834 --enable-tabdialog use wxTabControl class
1835 --enable-taskbaricon use wxTaskBarIcon class
1836 --enable-textctrl use wxTextCtrl class
1837 --enable-togglebtn use wxToggleButton class
1838 --enable-toolbar use wxToolBar class
1839 --enable-tbarnative use native wxToolBar class
1840 --enable-treebook use wxTreebook class
1841 --enable-toolbook use wxToolbook class
1842 --enable-treectrl use wxTreeCtrl class
1843 --enable-tipwindow use wxTipWindow class
1844 --enable-popupwin use wxPopUpWindow class
1845 --enable-commondlg use all common dialogs
1846 --enable-aboutdlg use wxAboutBox
1847 --enable-choicedlg use wxChoiceDialog
1848 --enable-coldlg use wxColourDialog
1849 --enable-filedlg use wxFileDialog
1850 --enable-finddlg use wxFindReplaceDialog
1851 --enable-fontdlg use wxFontDialog
1852 --enable-dirdlg use wxDirDialog
1853 --enable-msgdlg use wxMessageDialog
1854 --enable-numberdlg use wxNumberEntryDialog
1855 --enable-splash use wxSplashScreen
1856 --enable-textdlg use wxTextDialog
1857 --enable-tipdlg use startup tips
1858 --enable-progressdlg use wxProgressDialog
1859 --enable-wizarddlg use wxWizard
1860 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1861 --enable-miniframe use wxMiniFrame class
1862 --enable-tooltips use wxToolTip class
1863 --enable-splines use spline drawing code
1864 --enable-mousewheel use mousewheel
1865 --enable-validators use wxValidator and derived classes
1866 --enable-busyinfo use wxBusyInfo
1867 --enable-joystick use wxJoystick
1868 --enable-metafiles use wxMetaFile
(Win32 only
)
1869 --enable-dragimage use wxDragImage
1870 --enable-accessibility enable accessibility support
1871 --enable-palette use wxPalette class
1872 --enable-image use wxImage class
1873 --enable-gif use gif images
(GIF
file format
)
1874 --enable-pcx use pcx images
(PCX
file format
)
1875 --enable-tga use tga images
(TGA
file format
)
1876 --enable-iff use iff images
(IFF
file format
)
1877 --enable-pnm use pnm images
(PNM
file format
)
1878 --enable-xpm use xpm images
(XPM
file format
)
1879 --enable-ico_cur use Windows ICO and CUR formats
1880 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1881 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1882 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1883 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1884 --enable-wxdib use wxDIB class
(Win32 only
)
1885 --enable-autoidman use automatic ids management
1886 --disable-largefile omit support
for large files
1887 --disable-gtktest do not try to compile and run a
test GTK
+ program
1888 --disable-gtktest Do not try to compile and run a
test GTK program
1889 --disable-sdltest Do not try to compile and run a
test SDL program
1890 --enable-omf use OMF object format
(OS
/2)
1891 --disable-dependency-tracking
1892 don
't use dependency tracking even if the compiler
1894 --disable-precomp-headers
1895 don't use precompiled headers even
if compiler can
1898 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1899 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1900 --without-subdirs don
't generate makefiles for samples/demos/...
1901 --with-flavour=NAME specify a name to identify this build
1902 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1903 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1904 --with-motif use Motif/Lesstif
1905 --with-osx_carbon use Mac OS X (Carbon)
1906 --with-osx_cocoa use Mac OS X (Cocoa)
1907 --with-mac use Mac OS X (Default)
1908 --with-cocoa use Cocoa
1909 --with-wine use Wine
1910 --with-msw use MS-Windows
1911 --with-pm use OS/2 Presentation Manager
1912 --with-mgl use SciTech MGL
1913 --with-directfb use DirectFB
1914 --with-microwin use MicroWindows
1916 --with-libpng use libpng (PNG image format)
1917 --with-libjpeg use libjpeg (JPEG file format)
1918 --with-libtiff use libtiff (TIFF file format)
1919 --with-libxpm use libxpm (XPM file format)
1920 --with-libiconv use libiconv (character conversion)
1921 --with-libmspack use libmspack (CHM help files loading)
1922 --without-gtkprint don't use GTK printing support
1923 --without-gnomeprint don
't use GNOME printing libraries
1924 --with-gnomevfs use GNOME VFS for associating MIME types
1925 --with-hildon use Hildon framework for Nokia 770
1926 --with-opengl use OpenGL (or Mesa)
1927 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1928 --with-sdl use SDL for audio on Unix
1929 --with-regex enable support for wxRegEx class
1930 --with-zlib use zlib for LZW compression
1931 --with-expat enable XML support using expat parser
1932 --with-macosx-sdk=PATH use an OS X SDK at PATH
1933 --with-macosx-version-min=VER build binaries which require at least this OS X version
1934 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1935 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1936 --with-x use the X Window System
1937 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1938 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1939 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1940 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1941 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1943 Some influential environment variables:
1944 CC C compiler command
1945 CFLAGS C compiler flags
1946 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1947 nonstandard directory <lib dir>
1948 LIBS libraries to pass to the linker, e.g. -l<library>
1949 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1950 you have headers in a nonstandard directory <include dir>
1952 CXX C++ compiler command
1953 CXXFLAGS C++ compiler flags
1954 PKG_CONFIG path to pkg-config utility
1956 C compiler flags for DIRECTFB, overriding pkg-config
1958 linker flags for DIRECTFB, overriding pkg-config
1959 XMKMF Path to xmkmf, Makefile generator for X Window System
1961 C compiler flags for PANGOX, overriding pkg-config
1962 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1964 C compiler flags for PANGOFT2, overriding pkg-config
1966 linker flags for PANGOFT2, overriding pkg-config
1968 C compiler flags for PANGOXFT, overriding pkg-config
1970 linker flags for PANGOXFT, overriding pkg-config
1972 C compiler flags for GTKPRINT, overriding pkg-config
1974 linker flags for GTKPRINT, overriding pkg-config
1975 LIBGNOMEPRINTUI_CFLAGS
1976 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1977 LIBGNOMEPRINTUI_LIBS
1978 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1980 C compiler flags for GNOMEVFS, overriding pkg-config
1982 linker flags for GNOMEVFS, overriding pkg-config
1984 C compiler flags for HILDON, overriding pkg-config
1985 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1987 C compiler flags for CAIRO, overriding pkg-config
1988 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1989 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1990 GST_LIBS linker flags for GST, overriding pkg-config
1992 Use these variables to override the choices made by `configure' or to
help
1993 it to
find libraries and programs with nonstandard names
/locations.
1995 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2000 if test "$ac_init_help" = "recursive"; then
2001 # If there are subdirs, report their specific --help.
2002 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2003 test -d "$ac_dir" || continue
2007 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2009 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2010 # A ".." for each directory in $ac_dir_suffix.
2011 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2012 case $ac_top_builddir_sub in
2013 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2014 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2017 ac_abs_top_builddir
=$ac_pwd
2018 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2019 # for backward compatibility:
2020 ac_top_builddir
=$ac_top_build_prefix
2023 .
) # We are building in place.
2025 ac_top_srcdir
=$ac_top_builddir_sub
2026 ac_abs_top_srcdir
=$ac_pwd ;;
2027 [\\/]* | ?
:[\\/]* ) # Absolute name.
2028 ac_srcdir
=$srcdir$ac_dir_suffix;
2029 ac_top_srcdir
=$srcdir
2030 ac_abs_top_srcdir
=$srcdir ;;
2032 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2033 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2034 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2036 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2038 cd "$ac_dir" || { ac_status
=$?
; continue; }
2039 # Check for guested configure.
2040 if test -f "$ac_srcdir/configure.gnu"; then
2042 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2043 elif test -f "$ac_srcdir/configure"; then
2045 $SHELL "$ac_srcdir/configure" --help=recursive
2047 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2049 cd "$ac_pwd" || { ac_status
=$?
; break; }
2053 test -n "$ac_init_help" && exit $ac_status
2054 if $ac_init_version; then
2056 wxWidgets configure
2.9.0
2057 generated by GNU Autoconf
2.61
2059 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2060 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2061 This configure
script is free software
; the Free Software Foundation
2062 gives unlimited permission to copy
, distribute and modify it.
2066 cat >config.log
<<_ACEOF
2067 This file contains any messages produced by compilers while
2068 running configure, to aid debugging if configure makes a mistake.
2070 It was created by wxWidgets $as_me 2.9.0, which was
2071 generated by GNU Autoconf 2.61. Invocation command line was
2083 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2084 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2085 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2086 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2087 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2089 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2090 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2092 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2093 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2094 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2095 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2096 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2097 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2098 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir
=.
2107 echo "PATH: $as_dir"
2123 # Keep a trace of the command line.
2124 # Strip out --no-create and --no-recursion so they do not pile up.
2125 # Strip out --silent because we don't want to record it for future runs.
2126 # Also quote any args containing shell meta-characters.
2127 # Make two passes to allow for proper duplicate-argument suppression.
2131 ac_must_keep_next
=false
2137 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2138 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2139 | -silent | --silent | --silen | --sile | --sil)
2142 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2145 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2147 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2148 if test $ac_must_keep_next = true
; then
2149 ac_must_keep_next
=false
# Got value, back to normal.
2152 *=* | --config-cache | -C | -disable-* | --disable-* \
2153 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2154 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2155 | -with-* | --with-* | -without-* | --without-* | --x)
2156 case "$ac_configure_args0 " in
2157 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2160 -* ) ac_must_keep_next
=true
;;
2163 ac_configure_args
="$ac_configure_args '$ac_arg'"
2168 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2169 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2171 # When interrupted or exit'd, cleanup temporary files, and complete
2172 # config.log. We remove comments because anyway the quotes in there
2173 # would cause problems or look ugly.
2174 # WARNING: Use '\'' to represent an apostrophe within the trap.
2175 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2176 trap 'exit_status=$?
2177 # Save into config.log some information that might help in debugging.
2182 ## ---------------- ##
2183 ## Cache variables. ##
2184 ## ---------------- ##
2187 # The following way of writing the cache mishandles newlines in values,
2189 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2190 eval ac_val=\$$ac_var
2194 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2195 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2198 _ | IFS | as_nl) ;; #(
2199 *) $as_unset $ac_var ;;
2204 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2205 *${as_nl}ac_space=\ *)
2207 "s/'\''/'\''\\\\'\'''\''/g;
2208 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2211 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2219 ## ----------------- ##
2220 ## Output variables. ##
2221 ## ----------------- ##
2224 for ac_var in $ac_subst_vars
2226 eval ac_val=\$$ac_var
2228 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2230 echo "$ac_var='\''$ac_val'\''"
2234 if test -n "$ac_subst_files"; then
2236 ## ------------------- ##
2237 ## File substitutions. ##
2238 ## ------------------- ##
2241 for ac_var
in $ac_subst_files
2243 eval ac_val
=\$
$ac_var
2245 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2247 echo "$ac_var='\''$ac_val'\''"
2252 if test -s confdefs.h; then
2262 test "$ac_signal" != 0 &&
2263 echo "$as_me: caught signal $ac_signal"
2264 echo "$as_me: exit $exit_status"
2266 rm -f core *.core core.conftest.* &&
2267 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2270 for ac_signal
in 1 2 13 15; do
2271 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2275 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2276 rm -f -r conftest
* confdefs.h
2278 # Predefined preprocessor variables.
2280 cat >>confdefs.h
<<_ACEOF
2281 #define PACKAGE_NAME "$PACKAGE_NAME"
2285 cat >>confdefs.h
<<_ACEOF
2286 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2290 cat >>confdefs.h
<<_ACEOF
2291 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2295 cat >>confdefs.h
<<_ACEOF
2296 #define PACKAGE_STRING "$PACKAGE_STRING"
2300 cat >>confdefs.h
<<_ACEOF
2301 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2305 # Let the site file select an alternate cache file if it wants to.
2306 # Prefer explicitly selected file to automatically selected ones.
2307 if test -n "$CONFIG_SITE"; then
2308 set x
"$CONFIG_SITE"
2309 elif test "x$prefix" != xNONE
; then
2310 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2312 set x
"$ac_default_prefix/share/config.site" \
2313 "$ac_default_prefix/etc/config.site"
2318 if test -r "$ac_site_file"; then
2319 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2320 echo "$as_me: loading site script $ac_site_file" >&6;}
2321 sed 's/^/| /' "$ac_site_file" >&5
2326 if test -r "$cache_file"; then
2327 # Some versions of bash will fail to source /dev/null (special
2328 # files actually), so we avoid doing that.
2329 if test -f "$cache_file"; then
2330 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2331 echo "$as_me: loading cache $cache_file" >&6;}
2333 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2334 *) .
"./$cache_file";;
2338 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2339 echo "$as_me: creating cache $cache_file" >&6;}
2343 # Check that the precious variables saved in the cache have kept the same
2345 ac_cache_corrupted
=false
2346 for ac_var
in $ac_precious_vars; do
2347 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2348 eval ac_new_set
=\
$ac_env_${ac_var}_set
2349 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2350 eval ac_new_val
=\
$ac_env_${ac_var}_value
2351 case $ac_old_set,$ac_new_set in
2353 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2354 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2355 ac_cache_corrupted
=: ;;
2357 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2358 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2359 ac_cache_corrupted
=: ;;
2362 if test "x$ac_old_val" != "x$ac_new_val"; then
2363 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2364 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2365 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2366 echo "$as_me: former value: $ac_old_val" >&2;}
2367 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2368 echo "$as_me: current value: $ac_new_val" >&2;}
2369 ac_cache_corrupted
=:
2372 # Pass precious variables to config.status.
2373 if test "$ac_new_set" = set; then
2375 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2376 *) ac_arg
=$ac_var=$ac_new_val ;;
2378 case " $ac_configure_args " in
2379 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2380 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2384 if $ac_cache_corrupted; then
2385 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2386 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2387 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2388 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2389 { (exit 1); exit 1; }; }
2417 ac_cpp
='$CPP $CPPFLAGS'
2418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2427 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2428 if test -f "$ac_dir/install-sh"; then
2430 ac_install_sh
="$ac_aux_dir/install-sh -c"
2432 elif test -f "$ac_dir/install.sh"; then
2434 ac_install_sh
="$ac_aux_dir/install.sh -c"
2436 elif test -f "$ac_dir/shtool"; then
2438 ac_install_sh
="$ac_aux_dir/shtool install -c"
2442 if test -z "$ac_aux_dir"; then
2443 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2444 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2445 { (exit 1); exit 1; }; }
2448 # These three variables are undocumented and unsupported,
2449 # and are intended to be withdrawn in a future Autoconf release.
2450 # They can cause serious problems if a builder's source tree is in a directory
2451 # whose full name contains unusual characters.
2452 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2453 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2454 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2457 # Make sure we can run config.sub.
2458 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2459 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2460 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2461 { (exit 1); exit 1; }; }
2463 { echo "$as_me:$LINENO: checking build system type" >&5
2464 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_build+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 ac_build_alias
=$build_alias
2469 test "x$ac_build_alias" = x
&&
2470 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2471 test "x$ac_build_alias" = x
&&
2472 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2474 { (exit 1); exit 1; }; }
2475 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2476 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2477 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2478 { (exit 1); exit 1; }; }
2481 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2482 echo "${ECHO_T}$ac_cv_build" >&6; }
2483 case $ac_cv_build in
2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2486 echo "$as_me: error: invalid value of canonical build" >&2;}
2487 { (exit 1); exit 1; }; };;
2490 ac_save_IFS
=$IFS; IFS
='-'
2496 # Remember, the first character of IFS is used to create $*,
2497 # except with old shells:
2500 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2503 { echo "$as_me:$LINENO: checking host system type" >&5
2504 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2505 if test "${ac_cv_host+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 if test "x$host_alias" = x
; then
2509 ac_cv_host
=$ac_cv_build
2511 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2518 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2519 echo "${ECHO_T}$ac_cv_host" >&6; }
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2523 echo "$as_me: error: invalid value of canonical host" >&2;}
2524 { (exit 1); exit 1; }; };;
2527 ac_save_IFS
=$IFS; IFS
='-'
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2537 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2540 { echo "$as_me:$LINENO: checking target system type" >&5
2541 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2542 if test "${ac_cv_target+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 if test "x$target_alias" = x
; then
2546 ac_cv_target
=$ac_cv_host
2548 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2549 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2550 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2551 { (exit 1); exit 1; }; }
2555 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2556 echo "${ECHO_T}$ac_cv_target" >&6; }
2557 case $ac_cv_target in
2559 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2560 echo "$as_me: error: invalid value of canonical target" >&2;}
2561 { (exit 1); exit 1; }; };;
2563 target
=$ac_cv_target
2564 ac_save_IFS
=$IFS; IFS
='-'
2570 # Remember, the first character of IFS is used to create $*,
2571 # except with old shells:
2574 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2577 # The aliases save the names the user supplied, while $host etc.
2578 # will get canonicalized.
2579 test -n "$target_alias" &&
2580 test "$program_prefix$program_suffix$program_transform_name" = \
2582 program_prefix
=${target_alias}-
2586 wx_major_version_number
=2
2587 wx_minor_version_number
=9
2589 wx_subrelease_number
=0
2591 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2592 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2593 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2595 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2598 wx_top_builddir
="`pwd`"
2611 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2617 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2625 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2627 DEFAULT_wxUSE_COCOA
=0
2629 DEFAULT_wxUSE_OSX_CARBON
=0
2630 DEFAULT_wxUSE_OSX_COCOA
=0
2632 DEFAULT_wxUSE_MICROWIN
=0
2633 DEFAULT_wxUSE_MOTIF
=0
2639 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2640 DEFAULT_DEFAULT_wxUSE_GTK
=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2642 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2643 DEFAULT_DEFAULT_wxUSE_MGL
=0
2644 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2645 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2646 DEFAULT_DEFAULT_wxUSE_MSW
=0
2647 DEFAULT_DEFAULT_wxUSE_PM
=0
2648 DEFAULT_DEFAULT_wxUSE_X11
=0
2649 DEFAULT_DEFAULT_wxUSE_DFB
=0
2653 SAMPLES_RPATH_POSTLINK
=
2655 DEFAULT_STD_FLAG
=yes
2660 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2661 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2662 cat >>confdefs.h
<<\_ACEOF
2667 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2671 cat >>confdefs.h
<<\_ACEOF
2676 if test "x$TMP" = "xalpha"; then
2678 cat >>confdefs.h
<<\_ACEOF
2683 DEFAULT_DEFAULT_wxUSE_GTK
=1
2685 *-*-gnu* | *-*-k*bsd
*-gnu )
2688 if test "x$TMP" = "xalpha"; then
2690 cat >>confdefs.h
<<\_ACEOF
2695 DEFAULT_DEFAULT_wxUSE_GTK
=1
2697 *-*-irix5* | *-*-irix6* )
2700 cat >>confdefs.h
<<\_ACEOF
2704 cat >>confdefs.h
<<\_ACEOF
2708 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2714 cat >>confdefs.h
<<\_ACEOF
2718 cat >>confdefs.h
<<\_ACEOF
2719 #define __SOLARIS__ 1
2722 cat >>confdefs.h
<<\_ACEOF
2726 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2727 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2733 cat >>confdefs.h
<<\_ACEOF
2737 cat >>confdefs.h
<<\_ACEOF
2741 cat >>confdefs.h
<<\_ACEOF
2745 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2750 cat >>confdefs.h
<<\_ACEOF
2751 #define __FREEBSD__ 1
2754 cat >>confdefs.h
<<\_ACEOF
2758 DEFAULT_DEFAULT_wxUSE_GTK
=1
2760 *-*-openbsd*|*-*-mirbsd*)
2763 cat >>confdefs.h
<<\_ACEOF
2764 #define __OPENBSD__ 1
2767 cat >>confdefs.h
<<\_ACEOF
2771 DEFAULT_DEFAULT_wxUSE_GTK
=1
2776 cat >>confdefs.h
<<\_ACEOF
2777 #define __NETBSD__ 1
2780 cat >>confdefs.h
<<\_ACEOF
2784 DEFAULT_DEFAULT_wxUSE_GTK
=1
2785 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2787 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2792 cat >>confdefs.h
<<\_ACEOF
2796 cat >>confdefs.h
<<\_ACEOF
2800 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2801 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2806 cat >>confdefs.h
<<\_ACEOF
2810 cat >>confdefs.h
<<\_ACEOF
2814 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2819 cat >>confdefs.h
<<\_ACEOF
2823 cat >>confdefs.h
<<\_ACEOF
2827 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2833 cat >>confdefs.h
<<\_ACEOF
2837 cat >>confdefs.h
<<\_ACEOF
2841 cat >>confdefs.h
<<\_ACEOF
2845 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2852 cat >>confdefs.h
<<\_ACEOF
2853 #define __UNIXWARE__ 1
2858 *-*-cygwin* | *-*-mingw32* )
2860 DEFAULT_DEFAULT_wxUSE_MSW
=1
2866 cat >>confdefs.h
<<\_ACEOF
2871 DEFAULT_DEFAULT_wxUSE_MGL
=1
2874 *-pc-os2_emx | *-pc-os2-emx )
2875 cat >>confdefs.h
<<\_ACEOF
2880 cat >>confdefs.h
<<\_ACEOF
2885 DEFAULT_DEFAULT_wxUSE_PM
=1
2887 LDFLAGS
="$LDFLAGS -Zcrtdll"
2888 ac_executable_extensions
=".exe"
2889 export ac_executable_extensions
2893 for ac_dir
in $PATH; do
2895 if test -z "$ac_TEMP_PATH"; then
2896 ac_TEMP_PATH
="$ac_dir"
2898 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2901 export PATH
="$ac_TEMP_PATH"
2909 cat >>confdefs.h
<<\_ACEOF
2913 cat >>confdefs.h
<<\_ACEOF
2914 #define __DARWIN__ 1
2917 cat >>confdefs.h
<<\_ACEOF
2918 #define TARGET_CARBON 1
2921 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2924 powerpc
-apple-macos* )
2926 ac_cv_c_bigendian
=yes
2927 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2933 cat >>confdefs.h
<<\_ACEOF
2940 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2941 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2942 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2943 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2945 DEFAULT_DEFAULT_wxUSE_X11
=1
2946 DEFAULT_wxUSE_SHARED
=no
2951 DEFAULT_wxUSE_ALL_FEATURES
=yes
2953 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2954 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2956 DEFAULT_wxUSE_DMALLOC
=no
2957 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2958 DEFAULT_wxUSE_LIBHILDON
=no
2959 DEFAULT_wxUSE_LIBMSPACK
=no
2960 DEFAULT_wxUSE_LIBSDL
=no
2962 DEFAULT_wxUSE_ACCESSIBILITY
=no
2963 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2964 DEFAULT_wxUSE_IPV6
=no
2965 DEFAULT_wxUSE_TAB_DIALOG
=no
2966 DEFAULT_wxUSE_GSTREAMER8
=no
2968 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2969 DEFAULT_wxUSE_OPENGL
=auto
2970 DEFAULT_wxUSE_MEDIACTRL
=auto
2972 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2974 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2976 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2978 DEFAULT_wxUSE_GTK2
=yes
2980 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2986 enablestring
=disable
2988 if test -z "$defaultval"; then
2989 if test x
"$enablestring" = xdisable
; then
2996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2997 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2998 # Check whether --enable-gui was given.
2999 if test "${enable_gui+set}" = set; then
3000 enableval
=$enable_gui;
3001 if test "$enableval" = yes; then
3002 wx_cv_use_gui
='wxUSE_GUI=yes'
3004 wx_cv_use_gui
='wxUSE_GUI=no'
3009 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3014 eval "$wx_cv_use_gui"
3016 if test x"$enablestring" = xdisable; then
3017 if test $wxUSE_GUI = yes; then
3026 { echo "$as_me:$LINENO: result: $result" >&5
3027 echo "${ECHO_T}$result" >&6; }
3032 if test -z "$defaultval"; then
3033 if test x"$enablestring" = xdisable; then
3040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3041 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3042 # Check whether --enable-monolithic was given.
3043 if test "${enable_monolithic+set}" = set; then
3044 enableval=$enable_monolithic;
3045 if test "$enableval" = yes; then
3046 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3048 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3053 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3058 eval "$wx_cv_use_monolithic"
3060 if test x"$enablestring" = xdisable; then
3061 if test $wxUSE_MONOLITHIC = yes; then
3067 result=$wxUSE_MONOLITHIC
3070 { echo "$as_me:$LINENO: result
: $result" >&5
3071 echo "${ECHO_T}$result" >&6; }
3076 if test -z "$defaultval"; then
3077 if test x"$enablestring" = xdisable; then
3084 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3085 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3086 # Check whether --enable-plugins was given.
3087 if test "${enable_plugins+set}" = set; then
3088 enableval=$enable_plugins;
3089 if test "$enableval" = yes; then
3090 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3092 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3097 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3102 eval "$wx_cv_use_plugins"
3104 if test x
"$enablestring" = xdisable
; then
3105 if test $wxUSE_PLUGINS = yes; then
3111 result
=$wxUSE_PLUGINS
3114 { echo "$as_me:$LINENO: result: $result" >&5
3115 echo "${ECHO_T}$result" >&6; }
3119 defaultval
=$wxUSE_ALL_FEATURES
3120 if test -z "$defaultval"; then
3121 if test x
"$withstring" = xwithout
; then
3127 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3128 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3130 # Check whether --with-subdirs was given.
3131 if test "${with_subdirs+set}" = set; then
3132 withval
=$with_subdirs;
3133 if test "$withval" = yes; then
3134 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3136 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3141 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3146 eval "$wx_cv_use_subdirs"
3148 if test x"$withstring" = xwithout; then
3149 if test $wxWITH_SUBDIRS = yes; then
3155 result=$wxWITH_SUBDIRS
3158 { echo "$as_me:$LINENO: result: $result" >&5
3159 echo "${ECHO_T}$result" >&6; }
3162 # Check whether --with-flavour was given.
3163 if test "${with_flavour+set}" = set; then
3164 withval=$with_flavour; WX_FLAVOUR="$withval"
3170 if test -z "$defaultval"; then
3171 if test x"$enablestring" = xdisable; then
3178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3179 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3180 # Check whether --enable-official_build was given.
3181 if test "${enable_official_build+set}" = set; then
3182 enableval=$enable_official_build;
3183 if test "$enableval" = yes; then
3184 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3186 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3191 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3196 eval "$wx_cv_use_official_build"
3198 if test x"$enablestring" = xdisable; then
3199 if test $wxUSE_OFFICIAL_BUILD = yes; then
3205 result=$wxUSE_OFFICIAL_BUILD
3208 { echo "$as_me:$LINENO: result
: $result" >&5
3209 echo "${ECHO_T}$result" >&6; }
3211 # Check whether --enable-vendor was given.
3212 if test "${enable_vendor+set}" = set; then
3213 enableval=$enable_vendor; VENDOR="$enableval"
3216 if test "x
$VENDOR" = "x
"; then
3221 enablestring=disable
3223 if test -z "$defaultval"; then
3224 if test x"$enablestring" = xdisable; then
3231 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3232 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3233 # Check whether --enable-all-features was given.
3234 if test "${enable_all_features+set}" = set; then
3235 enableval=$enable_all_features;
3236 if test "$enableval" = yes; then
3237 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3239 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3244 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3249 eval "$wx_cv_use_all_features"
3251 if test x
"$enablestring" = xdisable
; then
3252 if test $wxUSE_ALL_FEATURES = yes; then
3258 result
=$wxUSE_ALL_FEATURES
3261 { echo "$as_me:$LINENO: result: $result" >&5
3262 echo "${ECHO_T}$result" >&6; }
3266 if test "$wxUSE_GUI" = "yes"; then
3271 if test -z "$defaultval"; then
3272 if test x
"$enablestring" = xdisable
; then
3279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3280 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3281 # Check whether --enable-universal was given.
3282 if test "${enable_universal+set}" = set; then
3283 enableval
=$enable_universal;
3284 if test "$enableval" = yes; then
3285 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3287 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3292 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3297 eval "$wx_cv_use_universal"
3299 if test x"$enablestring" = xdisable; then
3300 if test $wxUSE_UNIVERSAL = yes; then
3306 result=$wxUSE_UNIVERSAL
3309 { echo "$as_me:$LINENO: result: $result" >&5
3310 echo "${ECHO_T}$result" >&6; }
3312 if test "$wxUSE_UNIVERSAL" = "yes"; then
3314 # Check whether --with-themes was given.
3315 if test "${with_themes+set}" = set; then
3316 withval=$with_themes; wxUNIV_THEMES="$withval"
3322 # Check whether --with-gtk was given.
3323 if test "${with_gtk+set}" = set; then
3324 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3328 # Check whether --with-motif was given.
3329 if test "${with_motif+set}" = set; then
3330 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3334 # Check whether --with-osx_carbon was given.
3335 if test "${with_osx_carbon+set}" = set; then
3336 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3340 # Check whether --with-osx_cocoa was given.
3341 if test "${with_osx_cocoa+set}" = set; then
3342 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3346 # Check whether --with-mac was given.
3347 if test "${with_mac+set}" = set; then
3348 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3352 # Check whether --with-cocoa was given.
3353 if test "${with_cocoa+set}" = set; then
3354 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3358 # Check whether --with-wine was given.
3359 if test "${with_wine+set}" = set; then
3360 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3364 # Check whether --with-msw was given.
3365 if test "${with_msw+set}" = set; then
3366 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3370 # Check whether --with-pm was given.
3371 if test "${with_pm+set}" = set; then
3372 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3376 # Check whether --with-mgl was given.
3377 if test "${with_mgl+set}" = set; then
3378 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3382 # Check whether --with-directfb was given.
3383 if test "${with_directfb+set}" = set; then
3384 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3388 # Check whether --with-microwin was given.
3389 if test "${with_microwin+set}" = set; then
3390 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3394 # Check whether --with-x11 was given.
3395 if test "${with_x11+set}" = set; then
3396 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3402 if test -z "$defaultval"; then
3403 if test x"$enablestring" = xdisable; then
3410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3411 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3412 # Check whether --enable-nanox was given.
3413 if test "${enable_nanox+set}" = set; then
3414 enableval=$enable_nanox;
3415 if test "$enableval" = yes; then
3416 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3418 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3423 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3428 eval "$wx_cv_use_nanox"
3430 if test x"$enablestring" = xdisable; then
3431 if test $wxUSE_NANOX = yes; then
3440 { echo "$as_me:$LINENO: result
: $result" >&5
3441 echo "${ECHO_T}$result" >&6; }
3444 # Check whether --enable-gtk2 was given.
3445 if test "${enable_gtk2+set}" = set; then
3446 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3452 if test -z "$defaultval"; then
3453 if test x"$enablestring" = xdisable; then
3460 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3461 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3462 # Check whether --enable-gpe was given.
3463 if test "${enable_gpe+set}" = set; then
3464 enableval=$enable_gpe;
3465 if test "$enableval" = yes; then
3466 wx_cv_use_gpe='wxUSE_GPE=yes'
3468 wx_cv_use_gpe='wxUSE_GPE=no'
3473 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3478 eval "$wx_cv_use_gpe"
3480 if test x
"$enablestring" = xdisable
; then
3481 if test $wxUSE_GPE = yes; then
3490 { echo "$as_me:$LINENO: result: $result" >&5
3491 echo "${ECHO_T}$result" >&6; }
3495 { echo "$as_me:$LINENO: checking for toolkit" >&5
3496 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3500 # In Wine, we need to default to MSW, not GTK or MOTIF
3501 if test "$wxUSE_WINE" = "yes"; then
3502 DEFAULT_DEFAULT_wxUSE_GTK
=0
3503 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3504 DEFAULT_DEFAULT_wxUSE_MSW
=1
3511 if test "$wxUSE_GUI" = "yes"; then
3513 if test "$USE_BEOS" = 1; then
3514 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3515 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3516 { (exit 1); exit 1; }; }
3519 if test "$TOOLKIT_GIVEN" = 1; then
3520 for toolkit
in $ALL_TOOLKITS; do
3522 eval "value=\$${var}"
3523 if test "x$value" = "xno"; then
3525 elif test "x$value" != "x"; then
3529 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3530 eval "wx${toolkit}_VERSION=$value"
3534 for toolkit
in $ALL_TOOLKITS; do
3535 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3536 eval "wxUSE_$toolkit=\$${var}"
3540 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3541 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3542 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3545 *-pc-os2_emx | *-pc-os2-emx )
3546 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3549 case "$NUM_TOOLKITS" in
3553 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3554 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3555 { (exit 1); exit 1; }; }
3558 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3559 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3560 { (exit 1); exit 1; }; }
3563 # to be removed when --disable-gtk2 isn't needed
3564 if test "x$wxUSE_GTK2" = "xyes"; then
3566 elif test "x$wxUSE_GTK2" = "xno"; then
3570 for toolkit
in $ALL_TOOLKITS; do
3572 eval "value=\$${var}"
3573 if test "$value" = 1; then
3574 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3575 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3576 echo "${ECHO_T}$toolkit_echo" >&6; }
3580 if test "x$host_alias" != "x"; then
3581 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3582 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3584 { echo "$as_me:$LINENO: result: base only" >&5
3585 echo "${ECHO_T}base only" >&6; }
3590 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3596 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3597 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3599 # Check whether --with-libpng was given.
3600 if test "${with_libpng+set}" = set; then
3601 withval
=$with_libpng;
3602 if test "$withval" = yes; then
3603 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3604 elif test "$withval" = no
; then
3605 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3606 elif test "$withval" = sys
; then
3607 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3608 elif test "$withval" = builtin; then
3609 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3611 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3612 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3613 { (exit 1); exit 1; }; }
3618 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3623 eval "$wx_cv_use_libpng"
3625 if test "$wxUSE_LIBPNG" = yes; then
3626 { echo "$as_me:$LINENO: result: yes" >&5
3627 echo "${ECHO_T}yes" >&6; }
3628 elif test "$wxUSE_LIBPNG" = no; then
3629 { echo "$as_me:$LINENO: result: no" >&5
3630 echo "${ECHO_T}no" >&6; }
3631 elif test "$wxUSE_LIBPNG" = sys; then
3632 { echo "$as_me:$LINENO: result: system version" >&5
3633 echo "${ECHO_T}system version" >&6; }
3634 elif test "$wxUSE_LIBPNG" = builtin; then
3635 { echo "$as_me:$LINENO: result: builtin version" >&5
3636 echo "${ECHO_T}builtin version" >&6; }
3638 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3639 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3640 { (exit 1); exit 1; }; }
3644 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3645 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3647 # Check whether --with-libjpeg was given.
3648 if test "${with_libjpeg+set}" = set; then
3649 withval=$with_libjpeg;
3650 if test "$withval" = yes; then
3651 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3652 elif test "$withval" = no; then
3653 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3654 elif test "$withval" = sys; then
3655 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3656 elif test "$withval" = builtin; then
3657 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3659 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3660 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3661 { (exit 1); exit 1; }; }
3666 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3671 eval "$wx_cv_use_libjpeg"
3673 if test "$wxUSE_LIBJPEG" = yes; then
3674 { echo "$as_me:$LINENO: result
: yes" >&5
3675 echo "${ECHO_T}yes" >&6; }
3676 elif test "$wxUSE_LIBJPEG" = no; then
3677 { echo "$as_me:$LINENO: result
: no
" >&5
3678 echo "${ECHO_T}no
" >&6; }
3679 elif test "$wxUSE_LIBJPEG" = sys; then
3680 { echo "$as_me:$LINENO: result
: system version
" >&5
3681 echo "${ECHO_T}system version
" >&6; }
3682 elif test "$wxUSE_LIBJPEG" = builtin; then
3683 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3684 echo "${ECHO_T}builtin version
" >&6; }
3686 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3687 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3688 { (exit 1); exit 1; }; }
3692 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3693 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3695 # Check whether --with-libtiff was given.
3696 if test "${with_libtiff+set}" = set; then
3697 withval=$with_libtiff;
3698 if test "$withval" = yes; then
3699 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3700 elif test "$withval" = no; then
3701 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3702 elif test "$withval" = sys; then
3703 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3704 elif test "$withval" = builtin; then
3705 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3707 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3708 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3709 { (exit 1); exit 1; }; }
3714 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3719 eval "$wx_cv_use_libtiff"
3721 if test "$wxUSE_LIBTIFF" = yes; then
3722 { echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6; }
3724 elif test "$wxUSE_LIBTIFF" = no
; then
3725 { echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6; }
3727 elif test "$wxUSE_LIBTIFF" = sys
; then
3728 { echo "$as_me:$LINENO: result: system version" >&5
3729 echo "${ECHO_T}system version" >&6; }
3730 elif test "$wxUSE_LIBTIFF" = builtin; then
3731 { echo "$as_me:$LINENO: result: builtin version" >&5
3732 echo "${ECHO_T}builtin version" >&6; }
3734 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3735 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3736 { (exit 1); exit 1; }; }
3740 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3741 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3743 # Check whether --with-libxpm was given.
3744 if test "${with_libxpm+set}" = set; then
3745 withval
=$with_libxpm;
3746 if test "$withval" = yes; then
3747 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3748 elif test "$withval" = no
; then
3749 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3750 elif test "$withval" = sys
; then
3751 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3752 elif test "$withval" = builtin; then
3753 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3755 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3756 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3757 { (exit 1); exit 1; }; }
3762 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3767 eval "$wx_cv_use_libxpm"
3769 if test "$wxUSE_LIBXPM" = yes; then
3770 { echo "$as_me:$LINENO: result: yes" >&5
3771 echo "${ECHO_T}yes" >&6; }
3772 elif test "$wxUSE_LIBXPM" = no; then
3773 { echo "$as_me:$LINENO: result: no" >&5
3774 echo "${ECHO_T}no" >&6; }
3775 elif test "$wxUSE_LIBXPM" = sys; then
3776 { echo "$as_me:$LINENO: result: system version" >&5
3777 echo "${ECHO_T}system version" >&6; }
3778 elif test "$wxUSE_LIBXPM" = builtin; then
3779 { echo "$as_me:$LINENO: result: builtin version" >&5
3780 echo "${ECHO_T}builtin version" >&6; }
3782 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3783 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3784 { (exit 1); exit 1; }; }
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}-libiconv" >&5
3798 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3800 # Check whether --with-libiconv was given.
3801 if test "${with_libiconv+set}" = set; then
3802 withval=$with_libiconv;
3803 if test "$withval" = yes; then
3804 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3806 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3811 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3816 eval "$wx_cv_use_libiconv"
3818 if test x"$withstring" = xwithout; then
3819 if test $wxUSE_LIBICONV = yes; then
3825 result=$wxUSE_LIBICONV
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}-libmspack" >&5
3842 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3844 # Check whether --with-libmspack was given.
3845 if test "${with_libmspack+set}" = set; then
3846 withval=$with_libmspack;
3847 if test "$withval" = yes; then
3848 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3850 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3855 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3860 eval "$wx_cv_use_libmspack"
3862 if test x
"$withstring" = xwithout
; then
3863 if test $wxUSE_LIBMSPACK = yes; then
3869 result
=$wxUSE_LIBMSPACK
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}-gtkprint" >&5
3886 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3888 # Check whether --with-gtkprint was given.
3889 if test "${with_gtkprint+set}" = set; then
3890 withval
=$with_gtkprint;
3891 if test "$withval" = yes; then
3892 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3894 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3899 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3904 eval "$wx_cv_use_gtkprint"
3906 if test x"$withstring" = xwithout; then
3907 if test $wxUSE_GTKPRINT = yes; then
3913 result=$wxUSE_GTKPRINT
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}-gnomeprint" >&5
3930 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3932 # Check whether --with-gnomeprint was given.
3933 if test "${with_gnomeprint+set}" = set; then
3934 withval=$with_gnomeprint;
3935 if test "$withval" = yes; then
3936 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3938 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3943 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3948 eval "$wx_cv_use_gnomeprint"
3950 if test x"$withstring" = xwithout; then
3951 if test $wxUSE_LIBGNOMEPRINT = yes; then
3957 result=$wxUSE_LIBGNOMEPRINT
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}-gnomevfs" >&5
3974 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3976 # Check whether --with-gnomevfs was given.
3977 if test "${with_gnomevfs+set}" = set; then
3978 withval=$with_gnomevfs;
3979 if test "$withval" = yes; then
3980 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3982 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3987 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3992 eval "$wx_cv_use_gnomevfs"
3994 if test x
"$withstring" = xwithout
; then
3995 if test $wxUSE_LIBGNOMEVFS = yes; then
4001 result
=$wxUSE_LIBGNOMEVFS
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}-hildon" >&5
4018 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4020 # Check whether --with-hildon was given.
4021 if test "${with_hildon+set}" = set; then
4022 withval
=$with_hildon;
4023 if test "$withval" = yes; then
4024 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4026 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4031 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4036 eval "$wx_cv_use_hildon"
4038 if test x"$withstring" = xwithout; then
4039 if test $wxUSE_LIBHILDON = yes; then
4045 result=$wxUSE_LIBHILDON
4048 { echo "$as_me:$LINENO: result: $result" >&5
4049 echo "${ECHO_T}$result" >&6; }
4053 defaultval=$wxUSE_ALL_FEATURES
4054 if test -z "$defaultval"; then
4055 if test x"$withstring" = xwithout; then
4061 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4062 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4064 # Check whether --with-opengl was given.
4065 if test "${with_opengl+set}" = set; then
4066 withval=$with_opengl;
4067 if test "$withval" = yes; then
4068 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4070 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4075 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4080 eval "$wx_cv_use_opengl"
4082 if test x"$withstring" = xwithout; then
4083 if test $wxUSE_OPENGL = yes; then
4089 result=$wxUSE_OPENGL
4092 { echo "$as_me:$LINENO: result
: $result" >&5
4093 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}-dmalloc" >&5
4109 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4111 # Check whether --with-dmalloc was given.
4112 if test "${with_dmalloc+set}" = set; then
4113 withval=$with_dmalloc;
4114 if test "$withval" = yes; then
4115 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4117 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4122 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4127 eval "$wx_cv_use_dmalloc"
4129 if test x
"$withstring" = xwithout
; then
4130 if test $wxUSE_DMALLOC = yes; then
4136 result
=$wxUSE_DMALLOC
4139 { echo "$as_me:$LINENO: result: $result" >&5
4140 echo "${ECHO_T}$result" >&6; }
4144 defaultval
=$wxUSE_ALL_FEATURES
4145 if test -z "$defaultval"; then
4146 if test x
"$withstring" = xwithout
; then
4152 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4153 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4155 # Check whether --with-sdl was given.
4156 if test "${with_sdl+set}" = set; then
4158 if test "$withval" = yes; then
4159 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4161 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4166 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4171 eval "$wx_cv_use_sdl"
4173 if test x"$withstring" = xwithout; then
4174 if test $wxUSE_LIBSDL = yes; then
4180 result=$wxUSE_LIBSDL
4183 { echo "$as_me:$LINENO: result: $result" >&5
4184 echo "${ECHO_T}$result" >&6; }
4187 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4188 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4190 # Check whether --with-regex was given.
4191 if test "${with_regex+set}" = set; then
4192 withval=$with_regex;
4193 if test "$withval" = yes; then
4194 wx_cv_use_regex='wxUSE_REGEX
=yes'
4195 elif test "$withval" = no; then
4196 wx_cv_use_regex='wxUSE_REGEX
=no
'
4197 elif test "$withval" = sys; then
4198 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4199 elif test "$withval" = builtin; then
4200 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4202 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4203 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4204 { (exit 1); exit 1; }; }
4209 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4214 eval "$wx_cv_use_regex"
4216 if test "$wxUSE_REGEX" = yes; then
4217 { echo "$as_me:$LINENO: result
: yes" >&5
4218 echo "${ECHO_T}yes" >&6; }
4219 elif test "$wxUSE_REGEX" = no; then
4220 { echo "$as_me:$LINENO: result
: no
" >&5
4221 echo "${ECHO_T}no
" >&6; }
4222 elif test "$wxUSE_REGEX" = sys; then
4223 { echo "$as_me:$LINENO: result
: system version
" >&5
4224 echo "${ECHO_T}system version
" >&6; }
4225 elif test "$wxUSE_REGEX" = builtin; then
4226 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4227 echo "${ECHO_T}builtin version
" >&6; }
4229 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4230 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4231 { (exit 1); exit 1; }; }
4235 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4236 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4238 # Check whether --with-zlib was given.
4239 if test "${with_zlib+set}" = set; then
4241 if test "$withval" = yes; then
4242 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4243 elif test "$withval" = no; then
4244 wx_cv_use_zlib='wxUSE_ZLIB=no'
4245 elif test "$withval" = sys; then
4246 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4247 elif test "$withval" = builtin; then
4248 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4250 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4251 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4252 { (exit 1); exit 1; }; }
4257 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4262 eval "$wx_cv_use_zlib"
4264 if test "$wxUSE_ZLIB" = yes; then
4265 { echo "$as_me:$LINENO: result: yes" >&5
4266 echo "${ECHO_T}yes" >&6; }
4267 elif test "$wxUSE_ZLIB" = no
; then
4268 { echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6; }
4270 elif test "$wxUSE_ZLIB" = sys
; then
4271 { echo "$as_me:$LINENO: result: system version" >&5
4272 echo "${ECHO_T}system version" >&6; }
4273 elif test "$wxUSE_ZLIB" = builtin; then
4274 { echo "$as_me:$LINENO: result: builtin version" >&5
4275 echo "${ECHO_T}builtin version" >&6; }
4277 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4278 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4279 { (exit 1); exit 1; }; }
4283 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4284 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4286 # Check whether --with-expat was given.
4287 if test "${with_expat+set}" = set; then
4288 withval
=$with_expat;
4289 if test "$withval" = yes; then
4290 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4291 elif test "$withval" = no
; then
4292 wx_cv_use_expat
='wxUSE_EXPAT=no'
4293 elif test "$withval" = sys
; then
4294 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4295 elif test "$withval" = builtin; then
4296 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4298 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4299 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4300 { (exit 1); exit 1; }; }
4305 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4310 eval "$wx_cv_use_expat"
4312 if test "$wxUSE_EXPAT" = yes; then
4313 { echo "$as_me:$LINENO: result: yes" >&5
4314 echo "${ECHO_T}yes" >&6; }
4315 elif test "$wxUSE_EXPAT" = no; then
4316 { echo "$as_me:$LINENO: result: no" >&5
4317 echo "${ECHO_T}no" >&6; }
4318 elif test "$wxUSE_EXPAT" = sys; then
4319 { echo "$as_me:$LINENO: result: system version" >&5
4320 echo "${ECHO_T}system version" >&6; }
4321 elif test "$wxUSE_EXPAT" = builtin; then
4322 { echo "$as_me:$LINENO: result: builtin version" >&5
4323 echo "${ECHO_T}builtin version" >&6; }
4325 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4326 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4327 { (exit 1); exit 1; }; }
4331 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4332 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4334 # Check whether --with-macosx-sdk was given.
4335 if test "${with_macosx_sdk+set}" = set; then
4336 withval=$with_macosx_sdk;
4337 wxUSE_MACOSX_SDK=$withval
4338 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4342 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4343 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4345 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4346 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4348 # Check whether --with-macosx-version-min was given.
4349 if test "${with_macosx_version_min+set}" = set; then
4350 withval=$with_macosx_version_min;
4351 wxUSE_MACOSX_VERSION_MIN=$withval
4352 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4356 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4357 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4361 enablestring=disable
4363 if test -z "$defaultval"; then
4364 if test x"$enablestring" = xdisable; then
4371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4372 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4373 # Check whether --enable-shared was given.
4374 if test "${enable_shared+set}" = set; then
4375 enableval=$enable_shared;
4376 if test "$enableval" = yes; then
4377 wx_cv_use_shared='wxUSE_SHARED
=yes'
4379 wx_cv_use_shared='wxUSE_SHARED
=no
'
4384 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4389 eval "$wx_cv_use_shared"
4391 if test x"$enablestring" = xdisable; then
4392 if test $wxUSE_SHARED = yes; then
4398 result=$wxUSE_SHARED
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}-debug" >&5
4416 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4417 # Check whether --enable-debug was given.
4418 if test "${enable_debug+set}" = set; then
4419 enableval=$enable_debug;
4420 if test "$enableval" = yes; then
4421 wx_cv_use_debug='wxUSE_DEBUG=yes'
4423 wx_cv_use_debug='wxUSE_DEBUG=no'
4428 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4433 eval "$wx_cv_use_debug"
4435 if test x
"$enablestring" = xdisable
; then
4436 if test $wxUSE_DEBUG = 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}-stl" >&5
4460 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4461 # Check whether --enable-stl was given.
4462 if test "${enable_stl+set}" = set; then
4463 enableval
=$enable_stl;
4464 if test "$enableval" = yes; then
4465 wx_cv_use_stl
='wxUSE_STL=yes'
4467 wx_cv_use_stl
='wxUSE_STL=no'
4472 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4477 eval "$wx_cv_use_stl"
4479 if test x"$enablestring" = xdisable; then
4480 if test $wxUSE_STL = yes; then
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_iostreams" >&5
4504 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4505 # Check whether --enable-std_iostreams was given.
4506 if test "${enable_std_iostreams+set}" = set; then
4507 enableval=$enable_std_iostreams;
4508 if test "$enableval" = yes; then
4509 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4511 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4516 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4521 eval "$wx_cv_use_std_iostreams"
4523 if test x"$enablestring" = xdisable; then
4524 if test $wxUSE_STD_IOSTREAM = yes; then
4530 result=$wxUSE_STD_IOSTREAM
4533 { echo "$as_me:$LINENO: result
: $result" >&5
4534 echo "${ECHO_T}$result" >&6; }
4539 if test -z "$defaultval"; then
4540 if test x"$enablestring" = xdisable; then
4547 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4548 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4549 # Check whether --enable-std_string was given.
4550 if test "${enable_std_string+set}" = set; then
4551 enableval=$enable_std_string;
4552 if test "$enableval" = yes; then
4553 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4555 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4560 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4565 eval "$wx_cv_use_std_string"
4567 if test x
"$enablestring" = xdisable
; then
4568 if test $wxUSE_STD_STRING = yes; then
4574 result
=$wxUSE_STD_STRING
4577 { echo "$as_me:$LINENO: result: $result" >&5
4578 echo "${ECHO_T}$result" >&6; }
4581 enablestring
=disable
4583 if test -z "$defaultval"; then
4584 if test x
"$enablestring" = xdisable
; then
4591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4592 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4593 # Check whether --enable-unicode was given.
4594 if test "${enable_unicode+set}" = set; then
4595 enableval
=$enable_unicode;
4596 if test "$enableval" = yes; then
4597 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4599 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4604 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4609 eval "$wx_cv_use_unicode"
4611 if test x"$enablestring" = xdisable; then
4612 if test $wxUSE_UNICODE = yes; then
4618 result=$wxUSE_UNICODE
4621 { echo "$as_me:$LINENO: result: $result" >&5
4622 echo "${ECHO_T}$result" >&6; }
4627 if test -z "$defaultval"; then
4628 if test x"$enablestring" = xdisable; then
4635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4636 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4637 # Check whether --enable-mslu was given.
4638 if test "${enable_mslu+set}" = set; then
4639 enableval=$enable_mslu;
4640 if test "$enableval" = yes; then
4641 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4643 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4648 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4653 eval "$wx_cv_use_mslu"
4655 if test x"$enablestring" = xdisable; then
4656 if test $wxUSE_UNICODE_MSLU = yes; then
4662 result=$wxUSE_UNICODE_MSLU
4665 { echo "$as_me:$LINENO: result
: $result" >&5
4666 echo "${ECHO_T}$result" >&6; }
4670 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4671 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4672 # Check whether --enable-utf8 was given.
4673 if test "${enable_utf8+set}" = set; then
4674 enableval=$enable_utf8;
4675 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4679 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4684 eval "$wx_cv_use_utf8"
4686 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4687 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4692 if test -z "$defaultval"; then
4693 if test x"$enablestring" = xdisable; then
4700 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4701 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4702 # Check whether --enable-utf8only was given.
4703 if test "${enable_utf8only+set}" = set; then
4704 enableval=$enable_utf8only;
4705 if test "$enableval" = yes; then
4706 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4708 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4713 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4718 eval "$wx_cv_use_utf8only"
4720 if test x
"$enablestring" = xdisable
; then
4721 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4727 result
=$wxUSE_UNICODE_UTF8_LOCALE
4730 { echo "$as_me:$LINENO: result: $result" >&5
4731 echo "${ECHO_T}$result" >&6; }
4736 if test -z "$defaultval"; then
4737 if test x
"$enablestring" = xdisable
; then
4744 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4745 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4746 # Check whether --enable-extended_rtti was given.
4747 if test "${enable_extended_rtti+set}" = set; then
4748 enableval
=$enable_extended_rtti;
4749 if test "$enableval" = yes; then
4750 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4752 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4757 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4762 eval "$wx_cv_use_extended_rtti"
4764 if test x"$enablestring" = xdisable; then
4765 if test $wxUSE_EXTENDED_RTTI = yes; then
4771 result=$wxUSE_EXTENDED_RTTI
4774 { echo "$as_me:$LINENO: result: $result" >&5
4775 echo "${ECHO_T}$result" >&6; }
4777 if test "$USE_OS2" = 1; then
4778 DEFAULT_wxUSE_OMF=no
4782 if test -z "$defaultval"; then
4783 if test x"$enablestring" = xdisable; then
4790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4791 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4792 # Check whether --enable-omf was given.
4793 if test "${enable_omf+set}" = set; then
4794 enableval=$enable_omf;
4795 if test "$enableval" = yes; then
4796 wx_cv_use_omf='wxUSE_OMF
=yes'
4798 wx_cv_use_omf='wxUSE_OMF
=no
'
4803 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4808 eval "$wx_cv_use_omf"
4810 if test x"$enablestring" = xdisable; then
4811 if test $wxUSE_OMF = yes; then
4820 { echo "$as_me:$LINENO: result
: $result" >&5
4821 echo "${ECHO_T}$result" >&6; }
4825 if test "$wxUSE_DEBUG" = "yes"; then
4826 DEFAULT_wxUSE_DEBUG_FLAG=yes
4827 DEFAULT_wxUSE_DEBUG_INFO=yes
4829 elif test "$wxUSE_DEBUG" = "no
"; then
4830 DEFAULT_wxUSE_DEBUG_FLAG=no
4831 DEFAULT_wxUSE_DEBUG_INFO=no
4838 if test -z "$defaultval"; then
4839 if test x"$enablestring" = xdisable; then
4846 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4847 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4848 # Check whether --enable-debug_flag was given.
4849 if test "${enable_debug_flag+set}" = set; then
4850 enableval=$enable_debug_flag;
4851 if test "$enableval" = yes; then
4852 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4854 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4859 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4864 eval "$wx_cv_use_debug_flag"
4866 if test x
"$enablestring" = xdisable
; then
4867 if test $wxUSE_DEBUG_FLAG = yes; then
4873 result
=$wxUSE_DEBUG_FLAG
4876 { echo "$as_me:$LINENO: result: $result" >&5
4877 echo "${ECHO_T}$result" >&6; }
4882 if test -z "$defaultval"; then
4883 if test x
"$enablestring" = xdisable
; then
4890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4891 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4892 # Check whether --enable-debug_info was given.
4893 if test "${enable_debug_info+set}" = set; then
4894 enableval
=$enable_debug_info;
4895 if test "$enableval" = yes; then
4896 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4898 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4903 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4908 eval "$wx_cv_use_debug_info"
4910 if test x"$enablestring" = xdisable; then
4911 if test $wxUSE_DEBUG_INFO = yes; then
4917 result=$wxUSE_DEBUG_INFO
4920 { echo "$as_me:$LINENO: result: $result" >&5
4921 echo "${ECHO_T}$result" >&6; }
4924 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4929 if test "$wxUSE_DEBUG" = "yes"; then
4930 DEFAULT_wxUSE_OPTIMISE=no
4934 enablestring=disable
4936 if test -z "$defaultval"; then
4937 if test x"$enablestring" = xdisable; then
4944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4945 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4946 # Check whether --enable-optimise was given.
4947 if test "${enable_optimise+set}" = set; then
4948 enableval=$enable_optimise;
4949 if test "$enableval" = yes; then
4950 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4952 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4957 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4962 eval "$wx_cv_use_optimise"
4964 if test x"$enablestring" = xdisable; then
4965 if test $wxUSE_OPTIMISE = yes; then
4971 result=$wxUSE_OPTIMISE
4974 { echo "$as_me:$LINENO: result
: $result" >&5
4975 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_gdb" >&5
4990 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4991 # Check whether --enable-debug_gdb was given.
4992 if test "${enable_debug_gdb+set}" = set; then
4993 enableval=$enable_debug_gdb;
4994 if test "$enableval" = yes; then
4995 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4997 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5002 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5007 eval "$wx_cv_use_debug_gdb"
5009 if test x
"$enablestring" = xdisable
; then
5010 if test $wxUSE_DEBUG_GDB = yes; then
5016 result
=$wxUSE_DEBUG_GDB
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}-debug_cntxt" >&5
5034 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5035 # Check whether --enable-debug_cntxt was given.
5036 if test "${enable_debug_cntxt+set}" = set; then
5037 enableval
=$enable_debug_cntxt;
5038 if test "$enableval" = yes; then
5039 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
5041 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5046 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5051 eval "$wx_cv_use_debug_cntxt"
5053 if test x"$enablestring" = xdisable; then
5054 if test $wxUSE_DEBUG_CONTEXT = yes; then
5060 result=$wxUSE_DEBUG_CONTEXT
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}-mem_tracing" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5079 # Check whether --enable-mem_tracing was given.
5080 if test "${enable_mem_tracing+set}" = set; then
5081 enableval=$enable_mem_tracing;
5082 if test "$enableval" = yes; then
5083 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5085 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5090 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5095 eval "$wx_cv_use_mem_tracing"
5097 if test x"$enablestring" = xdisable; then
5098 if test $wxUSE_MEM_TRACING = yes; then
5104 result=$wxUSE_MEM_TRACING
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}-profile" >&5
5122 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5123 # Check whether --enable-profile was given.
5124 if test "${enable_profile+set}" = set; then
5125 enableval=$enable_profile;
5126 if test "$enableval" = yes; then
5127 wx_cv_use_profile='wxUSE_PROFILE=yes'
5129 wx_cv_use_profile='wxUSE_PROFILE=no'
5134 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5139 eval "$wx_cv_use_profile"
5141 if test x
"$enablestring" = xdisable
; then
5142 if test $wxUSE_PROFILE = yes; then
5148 result
=$wxUSE_PROFILE
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_rtti" >&5
5166 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5167 # Check whether --enable-no_rtti was given.
5168 if test "${enable_no_rtti+set}" = set; then
5169 enableval
=$enable_no_rtti;
5170 if test "$enableval" = yes; then
5171 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5173 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5178 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5183 eval "$wx_cv_use_no_rtti"
5185 if test x"$enablestring" = xdisable; then
5186 if test $wxUSE_NO_RTTI = yes; then
5192 result=$wxUSE_NO_RTTI
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}-no_exceptions" >&5
5210 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5211 # Check whether --enable-no_exceptions was given.
5212 if test "${enable_no_exceptions+set}" = set; then
5213 enableval=$enable_no_exceptions;
5214 if test "$enableval" = yes; then
5215 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5217 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5222 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5227 eval "$wx_cv_use_no_exceptions"
5229 if test x"$enablestring" = xdisable; then
5230 if test $wxUSE_NO_EXCEPTIONS = yes; then
5236 result=$wxUSE_NO_EXCEPTIONS
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}-permissive" >&5
5254 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5255 # Check whether --enable-permissive was given.
5256 if test "${enable_permissive+set}" = set; then
5257 enableval=$enable_permissive;
5258 if test "$enableval" = yes; then
5259 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5261 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5266 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5271 eval "$wx_cv_use_permissive"
5273 if test x
"$enablestring" = xdisable
; then
5274 if test $wxUSE_PERMISSIVE = yes; then
5280 result
=$wxUSE_PERMISSIVE
5283 { echo "$as_me:$LINENO: result: $result" >&5
5284 echo "${ECHO_T}$result" >&6; }
5289 if test -z "$defaultval"; then
5290 if test x
"$enablestring" = xdisable
; then
5297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5298 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5299 # Check whether --enable-no_deps was given.
5300 if test "${enable_no_deps+set}" = set; then
5301 enableval
=$enable_no_deps;
5302 if test "$enableval" = yes; then
5303 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5305 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5310 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5315 eval "$wx_cv_use_no_deps"
5317 if test x"$enablestring" = xdisable; then
5318 if test $wxUSE_NO_DEPS = yes; then
5324 result=$wxUSE_NO_DEPS
5327 { echo "$as_me:$LINENO: result: $result" >&5
5328 echo "${ECHO_T}$result" >&6; }
5331 enablestring=disable
5333 if test -z "$defaultval"; then
5334 if test x"$enablestring" = xdisable; then
5341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5342 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5343 # Check whether --enable-vararg_macros was given.
5344 if test "${enable_vararg_macros+set}" = set; then
5345 enableval=$enable_vararg_macros;
5346 if test "$enableval" = yes; then
5347 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5349 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5354 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5359 eval "$wx_cv_use_vararg_macros"
5361 if test x"$enablestring" = xdisable; then
5362 if test $wxUSE_VARARG_MACROS = yes; then
5368 result=$wxUSE_VARARG_MACROS
5371 { echo "$as_me:$LINENO: result
: $result" >&5
5372 echo "${ECHO_T}$result" >&6; }
5376 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5377 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5378 # Check whether --enable-universal_binary was given.
5379 if test "${enable_universal_binary+set}" = set; then
5380 enableval=$enable_universal_binary;
5381 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5385 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5390 eval "$wx_cv_use_universal_binary"
5392 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5393 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5399 if test -z "$defaultval"; then
5400 if test x"$enablestring" = xdisable; then
5407 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5408 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5409 # Check whether --enable-compat26 was given.
5410 if test "${enable_compat26+set}" = set; then
5411 enableval=$enable_compat26;
5412 if test "$enableval" = yes; then
5413 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5415 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5420 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5425 eval "$wx_cv_use_compat26"
5427 if test x
"$enablestring" = xdisable
; then
5428 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5434 result
=$WXWIN_COMPATIBILITY_2_6
5437 { echo "$as_me:$LINENO: result: $result" >&5
5438 echo "${ECHO_T}$result" >&6; }
5441 enablestring
=disable
5443 if test -z "$defaultval"; then
5444 if test x
"$enablestring" = xdisable
; then
5451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5452 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5453 # Check whether --enable-compat28 was given.
5454 if test "${enable_compat28+set}" = set; then
5455 enableval
=$enable_compat28;
5456 if test "$enableval" = yes; then
5457 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5459 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5464 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5469 eval "$wx_cv_use_compat28"
5471 if test x"$enablestring" = xdisable; then
5472 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5478 result=$WXWIN_COMPATIBILITY_2_8
5481 { echo "$as_me:$LINENO: result: $result" >&5
5482 echo "${ECHO_T}$result" >&6; }
5486 enablestring=disable
5488 if test -z "$defaultval"; then
5489 if test x"$enablestring" = xdisable; then
5496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5497 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5498 # Check whether --enable-rpath was given.
5499 if test "${enable_rpath+set}" = set; then
5500 enableval=$enable_rpath;
5501 if test "$enableval" = yes; then
5502 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5504 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5509 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5514 eval "$wx_cv_use_rpath"
5516 if test x"$enablestring" = xdisable; then
5517 if test $wxUSE_RPATH = yes; then
5526 { echo "$as_me:$LINENO: result
: $result" >&5
5527 echo "${ECHO_T}$result" >&6; }
5533 if test -z "$defaultval"; then
5534 if test x"$enablestring" = xdisable; then
5541 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5542 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5543 # Check whether --enable-objc_uniquifying was given.
5544 if test "${enable_objc_uniquifying+set}" = set; then
5545 enableval=$enable_objc_uniquifying;
5546 if test "$enableval" = yes; then
5547 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5549 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5554 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5559 eval "$wx_cv_use_objc_uniquifying"
5561 if test x
"$enablestring" = xdisable
; then
5562 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5568 result
=$wxUSE_OBJC_UNIQUIFYING
5571 { echo "$as_me:$LINENO: result: $result" >&5
5572 echo "${ECHO_T}$result" >&6; }
5576 enablestring
=disable
5578 if test -z "$defaultval"; then
5579 if test x
"$enablestring" = xdisable
; then
5586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5587 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5588 # Check whether --enable-visibility was given.
5589 if test "${enable_visibility+set}" = set; then
5590 enableval
=$enable_visibility;
5591 if test "$enableval" = yes; then
5592 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5594 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5599 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5604 eval "$wx_cv_use_visibility"
5606 if test x"$enablestring" = xdisable; then
5607 if test $wxUSE_VISIBILITY = yes; then
5613 result=$wxUSE_VISIBILITY
5616 { echo "$as_me:$LINENO: result: $result" >&5
5617 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}-intl" >&5
5633 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5634 # Check whether --enable-intl was given.
5635 if test "${enable_intl+set}" = set; then
5636 enableval=$enable_intl;
5637 if test "$enableval" = yes; then
5638 wx_cv_use_intl='wxUSE_INTL
=yes'
5640 wx_cv_use_intl='wxUSE_INTL
=no
'
5645 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5650 eval "$wx_cv_use_intl"
5652 if test x"$enablestring" = xdisable; then
5653 if test $wxUSE_INTL = yes; then
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}-xlocale" >&5
5677 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5678 # Check whether --enable-xlocale was given.
5679 if test "${enable_xlocale+set}" = set; then
5680 enableval=$enable_xlocale;
5681 if test "$enableval" = yes; then
5682 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5684 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5689 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5694 eval "$wx_cv_use_xlocale"
5696 if test x
"$enablestring" = xdisable
; then
5697 if test $wxUSE_XLOCALE = yes; then
5703 result
=$wxUSE_XLOCALE
5706 { echo "$as_me:$LINENO: result: $result" >&5
5707 echo "${ECHO_T}$result" >&6; }
5711 defaultval
=$wxUSE_ALL_FEATURES
5712 if test -z "$defaultval"; then
5713 if test x
"$enablestring" = xdisable
; then
5720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5721 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5722 # Check whether --enable-config was given.
5723 if test "${enable_config+set}" = set; then
5724 enableval
=$enable_config;
5725 if test "$enableval" = yes; then
5726 wx_cv_use_config
='wxUSE_CONFIG=yes'
5728 wx_cv_use_config
='wxUSE_CONFIG=no'
5733 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5738 eval "$wx_cv_use_config"
5740 if test x"$enablestring" = xdisable; then
5741 if test $wxUSE_CONFIG = yes; then
5747 result=$wxUSE_CONFIG
5750 { echo "$as_me:$LINENO: result: $result" >&5
5751 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}-protocols" >&5
5766 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5767 # Check whether --enable-protocols was given.
5768 if test "${enable_protocols+set}" = set; then
5769 enableval=$enable_protocols;
5770 if test "$enableval" = yes; then
5771 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5773 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5778 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5783 eval "$wx_cv_use_protocols"
5785 if test x"$enablestring" = xdisable; then
5786 if test $wxUSE_PROTOCOL = yes; then
5792 result=$wxUSE_PROTOCOL
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}-ftp" >&5
5810 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5811 # Check whether --enable-ftp was given.
5812 if test "${enable_ftp+set}" = set; then
5813 enableval=$enable_ftp;
5814 if test "$enableval" = yes; then
5815 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5817 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5822 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5827 eval "$wx_cv_use_ftp"
5829 if test x
"$enablestring" = xdisable
; then
5830 if test $wxUSE_PROTOCOL_FTP = yes; then
5836 result
=$wxUSE_PROTOCOL_FTP
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}-http" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5855 # Check whether --enable-http was given.
5856 if test "${enable_http+set}" = set; then
5857 enableval
=$enable_http;
5858 if test "$enableval" = yes; then
5859 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5861 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5866 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5871 eval "$wx_cv_use_http"
5873 if test x"$enablestring" = xdisable; then
5874 if test $wxUSE_PROTOCOL_HTTP = yes; then
5880 result=$wxUSE_PROTOCOL_HTTP
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}-fileproto" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5899 # Check whether --enable-fileproto was given.
5900 if test "${enable_fileproto+set}" = set; then
5901 enableval=$enable_fileproto;
5902 if test "$enableval" = yes; then
5903 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5905 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5910 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5915 eval "$wx_cv_use_fileproto"
5917 if test x"$enablestring" = xdisable; then
5918 if test $wxUSE_PROTOCOL_FILE = yes; then
5924 result=$wxUSE_PROTOCOL_FILE
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}-sockets" >&5
5942 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5943 # Check whether --enable-sockets was given.
5944 if test "${enable_sockets+set}" = set; then
5945 enableval=$enable_sockets;
5946 if test "$enableval" = yes; then
5947 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5949 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5954 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5959 eval "$wx_cv_use_sockets"
5961 if test x
"$enablestring" = xdisable
; then
5962 if test $wxUSE_SOCKETS = yes; then
5968 result
=$wxUSE_SOCKETS
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}-ipv6" >&5
5986 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5987 # Check whether --enable-ipv6 was given.
5988 if test "${enable_ipv6+set}" = set; then
5989 enableval
=$enable_ipv6;
5990 if test "$enableval" = yes; then
5991 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5993 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5998 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6003 eval "$wx_cv_use_ipv6"
6005 if test x"$enablestring" = xdisable; then
6006 if test $wxUSE_IPV6 = 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}-ole" >&5
6030 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6031 # Check whether --enable-ole was given.
6032 if test "${enable_ole+set}" = set; then
6033 enableval=$enable_ole;
6034 if test "$enableval" = yes; then
6035 wx_cv_use_ole='wxUSE_OLE
=yes'
6037 wx_cv_use_ole='wxUSE_OLE
=no
'
6042 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6047 eval "$wx_cv_use_ole"
6049 if test x"$enablestring" = xdisable; then
6050 if test $wxUSE_OLE = yes; then
6059 { echo "$as_me:$LINENO: result
: $result" >&5
6060 echo "${ECHO_T}$result" >&6; }
6064 defaultval=$wxUSE_ALL_FEATURES
6065 if test -z "$defaultval"; then
6066 if test x"$enablestring" = xdisable; then
6073 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6074 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6075 # Check whether --enable-dataobj was given.
6076 if test "${enable_dataobj+set}" = set; then
6077 enableval=$enable_dataobj;
6078 if test "$enableval" = yes; then
6079 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6081 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6086 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6091 eval "$wx_cv_use_dataobj"
6093 if test x
"$enablestring" = xdisable
; then
6094 if test $wxUSE_DATAOBJ = yes; then
6100 result
=$wxUSE_DATAOBJ
6103 { echo "$as_me:$LINENO: result: $result" >&5
6104 echo "${ECHO_T}$result" >&6; }
6109 defaultval
=$wxUSE_ALL_FEATURES
6110 if test -z "$defaultval"; then
6111 if test x
"$enablestring" = xdisable
; then
6118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6119 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6120 # Check whether --enable-ipc was given.
6121 if test "${enable_ipc+set}" = set; then
6122 enableval
=$enable_ipc;
6123 if test "$enableval" = yes; then
6124 wx_cv_use_ipc
='wxUSE_IPC=yes'
6126 wx_cv_use_ipc
='wxUSE_IPC=no'
6131 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6136 eval "$wx_cv_use_ipc"
6138 if test x"$enablestring" = xdisable; then
6139 if test $wxUSE_IPC = yes; then
6148 { echo "$as_me:$LINENO: result: $result" >&5
6149 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}-baseevtloop" >&5
6164 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6165 # Check whether --enable-baseevtloop was given.
6166 if test "${enable_baseevtloop+set}" = set; then
6167 enableval=$enable_baseevtloop;
6168 if test "$enableval" = yes; then
6169 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6171 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6176 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6181 eval "$wx_cv_use_baseevtloop"
6183 if test x"$enablestring" = xdisable; then
6184 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6190 result=$wxUSE_CONSOLE_EVENTLOOP
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}-epollloop" >&5
6208 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6209 # Check whether --enable-epollloop was given.
6210 if test "${enable_epollloop+set}" = set; then
6211 enableval=$enable_epollloop;
6212 if test "$enableval" = yes; then
6213 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6215 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6220 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6225 eval "$wx_cv_use_epollloop"
6227 if test x
"$enablestring" = xdisable
; then
6228 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6234 result
=$wxUSE_EPOLL_DISPATCHER
6237 { echo "$as_me:$LINENO: result: $result" >&5
6238 echo "${ECHO_T}$result" >&6; }
6242 defaultval
=$wxUSE_ALL_FEATURES
6243 if test -z "$defaultval"; then
6244 if test x
"$enablestring" = xdisable
; then
6251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6252 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6253 # Check whether --enable-selectloop was given.
6254 if test "${enable_selectloop+set}" = set; then
6255 enableval
=$enable_selectloop;
6256 if test "$enableval" = yes; then
6257 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6259 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6264 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6269 eval "$wx_cv_use_selectloop"
6271 if test x"$enablestring" = xdisable; then
6272 if test $wxUSE_SELECT_DISPATCHER = yes; then
6278 result=$wxUSE_SELECT_DISPATCHER
6281 { echo "$as_me:$LINENO: result: $result" >&5
6282 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}-apple_ieee" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6298 # Check whether --enable-apple_ieee was given.
6299 if test "${enable_apple_ieee+set}" = set; then
6300 enableval=$enable_apple_ieee;
6301 if test "$enableval" = yes; then
6302 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6304 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6309 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6314 eval "$wx_cv_use_apple_ieee"
6316 if test x"$enablestring" = xdisable; then
6317 if test $wxUSE_APPLE_IEEE = yes; then
6323 result=$wxUSE_APPLE_IEEE
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}-arcstream" >&5
6341 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6342 # Check whether --enable-arcstream was given.
6343 if test "${enable_arcstream+set}" = set; then
6344 enableval=$enable_arcstream;
6345 if test "$enableval" = yes; then
6346 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6348 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6353 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6358 eval "$wx_cv_use_arcstream"
6360 if test x
"$enablestring" = xdisable
; then
6361 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6367 result
=$wxUSE_ARCHIVE_STREAMS
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}-base64" >&5
6385 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6386 # Check whether --enable-base64 was given.
6387 if test "${enable_base64+set}" = set; then
6388 enableval
=$enable_base64;
6389 if test "$enableval" = yes; then
6390 wx_cv_use_base64
='wxUSE_BASE64=yes'
6392 wx_cv_use_base64
='wxUSE_BASE64=no'
6397 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6402 eval "$wx_cv_use_base64"
6404 if test x"$enablestring" = xdisable; then
6405 if test $wxUSE_BASE64 = yes; then
6411 result=$wxUSE_BASE64
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}-backtrace" >&5
6429 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6430 # Check whether --enable-backtrace was given.
6431 if test "${enable_backtrace+set}" = set; then
6432 enableval=$enable_backtrace;
6433 if test "$enableval" = yes; then
6434 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6436 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6441 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6446 eval "$wx_cv_use_backtrace"
6448 if test x"$enablestring" = xdisable; then
6449 if test $wxUSE_STACKWALKER = yes; then
6455 result=$wxUSE_STACKWALKER
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}-catch_segvs" >&5
6473 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6474 # Check whether --enable-catch_segvs was given.
6475 if test "${enable_catch_segvs+set}" = set; then
6476 enableval=$enable_catch_segvs;
6477 if test "$enableval" = yes; then
6478 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6480 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6485 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6490 eval "$wx_cv_use_catch_segvs"
6492 if test x
"$enablestring" = xdisable
; then
6493 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6499 result
=$wxUSE_ON_FATAL_EXCEPTION
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}-cmdline" >&5
6517 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6518 # Check whether --enable-cmdline was given.
6519 if test "${enable_cmdline+set}" = set; then
6520 enableval
=$enable_cmdline;
6521 if test "$enableval" = yes; then
6522 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6524 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6529 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6534 eval "$wx_cv_use_cmdline"
6536 if test x"$enablestring" = xdisable; then
6537 if test $wxUSE_CMDLINE_PARSER = yes; then
6543 result=$wxUSE_CMDLINE_PARSER
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}-datetime" >&5
6561 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6562 # Check whether --enable-datetime was given.
6563 if test "${enable_datetime+set}" = set; then
6564 enableval=$enable_datetime;
6565 if test "$enableval" = yes; then
6566 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6568 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6573 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6578 eval "$wx_cv_use_datetime"
6580 if test x"$enablestring" = xdisable; then
6581 if test $wxUSE_DATETIME = yes; then
6587 result=$wxUSE_DATETIME
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}-debugreport" >&5
6605 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6606 # Check whether --enable-debugreport was given.
6607 if test "${enable_debugreport+set}" = set; then
6608 enableval=$enable_debugreport;
6609 if test "$enableval" = yes; then
6610 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6612 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6617 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6622 eval "$wx_cv_use_debugreport"
6624 if test x
"$enablestring" = xdisable
; then
6625 if test $wxUSE_DEBUGREPORT = yes; then
6631 result
=$wxUSE_DEBUGREPORT
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}-dialupman" >&5
6649 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6650 # Check whether --enable-dialupman was given.
6651 if test "${enable_dialupman+set}" = set; then
6652 enableval
=$enable_dialupman;
6653 if test "$enableval" = yes; then
6654 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6656 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6661 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6666 eval "$wx_cv_use_dialupman"
6668 if test x"$enablestring" = xdisable; then
6669 if test $wxUSE_DIALUP_MANAGER = yes; then
6675 result=$wxUSE_DIALUP_MANAGER
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}-dynlib" >&5
6693 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6694 # Check whether --enable-dynlib was given.
6695 if test "${enable_dynlib+set}" = set; then
6696 enableval=$enable_dynlib;
6697 if test "$enableval" = yes; then
6698 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6700 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6705 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6710 eval "$wx_cv_use_dynlib"
6712 if test x"$enablestring" = xdisable; then
6713 if test $wxUSE_DYNLIB_CLASS = yes; then
6719 result=$wxUSE_DYNLIB_CLASS
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}-dynamicloader" >&5
6737 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6738 # Check whether --enable-dynamicloader was given.
6739 if test "${enable_dynamicloader+set}" = set; then
6740 enableval=$enable_dynamicloader;
6741 if test "$enableval" = yes; then
6742 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6744 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6749 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6754 eval "$wx_cv_use_dynamicloader"
6756 if test x
"$enablestring" = xdisable
; then
6757 if test $wxUSE_DYNAMIC_LOADER = yes; then
6763 result
=$wxUSE_DYNAMIC_LOADER
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}-exceptions" >&5
6781 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6782 # Check whether --enable-exceptions was given.
6783 if test "${enable_exceptions+set}" = set; then
6784 enableval
=$enable_exceptions;
6785 if test "$enableval" = yes; then
6786 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6788 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6793 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6798 eval "$wx_cv_use_exceptions"
6800 if test x"$enablestring" = xdisable; then
6801 if test $wxUSE_EXCEPTIONS = yes; then
6807 result=$wxUSE_EXCEPTIONS
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}-ffile" >&5
6825 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6826 # Check whether --enable-ffile was given.
6827 if test "${enable_ffile+set}" = set; then
6828 enableval=$enable_ffile;
6829 if test "$enableval" = yes; then
6830 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6832 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6837 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6842 eval "$wx_cv_use_ffile"
6844 if test x"$enablestring" = xdisable; then
6845 if test $wxUSE_FFILE = 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}-file" >&5
6869 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6870 # Check whether --enable-file was given.
6871 if test "${enable_file+set}" = set; then
6872 enableval=$enable_file;
6873 if test "$enableval" = yes; then
6874 wx_cv_use_file='wxUSE_FILE=yes'
6876 wx_cv_use_file='wxUSE_FILE=no'
6881 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6886 eval "$wx_cv_use_file"
6888 if test x
"$enablestring" = xdisable
; then
6889 if test $wxUSE_FILE = yes; then
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}-filesystem" >&5
6913 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6914 # Check whether --enable-filesystem was given.
6915 if test "${enable_filesystem+set}" = set; then
6916 enableval
=$enable_filesystem;
6917 if test "$enableval" = yes; then
6918 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6920 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6925 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6930 eval "$wx_cv_use_filesystem"
6932 if test x"$enablestring" = xdisable; then
6933 if test $wxUSE_FILESYSTEM = yes; then
6939 result=$wxUSE_FILESYSTEM
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}-fontenum" >&5
6957 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6958 # Check whether --enable-fontenum was given.
6959 if test "${enable_fontenum+set}" = set; then
6960 enableval=$enable_fontenum;
6961 if test "$enableval" = yes; then
6962 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6964 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6969 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6974 eval "$wx_cv_use_fontenum"
6976 if test x"$enablestring" = xdisable; then
6977 if test $wxUSE_FONTENUM = yes; then
6983 result=$wxUSE_FONTENUM
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}-fontmap" >&5
7001 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
7002 # Check whether --enable-fontmap was given.
7003 if test "${enable_fontmap+set}" = set; then
7004 enableval=$enable_fontmap;
7005 if test "$enableval" = yes; then
7006 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7008 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7013 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7018 eval "$wx_cv_use_fontmap"
7020 if test x
"$enablestring" = xdisable
; then
7021 if test $wxUSE_FONTMAP = yes; then
7027 result
=$wxUSE_FONTMAP
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_archive" >&5
7045 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7046 # Check whether --enable-fs_archive was given.
7047 if test "${enable_fs_archive+set}" = set; then
7048 enableval
=$enable_fs_archive;
7049 if test "$enableval" = yes; then
7050 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7052 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7057 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7062 eval "$wx_cv_use_fs_archive"
7064 if test x"$enablestring" = xdisable; then
7065 if test $wxUSE_FS_ARCHIVE = yes; then
7071 result=$wxUSE_FS_ARCHIVE
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_inet" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7090 # Check whether --enable-fs_inet was given.
7091 if test "${enable_fs_inet+set}" = set; then
7092 enableval=$enable_fs_inet;
7093 if test "$enableval" = yes; then
7094 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7096 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7101 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7106 eval "$wx_cv_use_fs_inet"
7108 if test x"$enablestring" = xdisable; then
7109 if test $wxUSE_FS_INET = yes; then
7115 result=$wxUSE_FS_INET
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}-fs_zip" >&5
7133 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7134 # Check whether --enable-fs_zip was given.
7135 if test "${enable_fs_zip+set}" = set; then
7136 enableval=$enable_fs_zip;
7137 if test "$enableval" = yes; then
7138 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7140 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7145 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7150 eval "$wx_cv_use_fs_zip"
7152 if test x
"$enablestring" = xdisable
; then
7153 if test $wxUSE_FS_ZIP = yes; then
7159 result
=$wxUSE_FS_ZIP
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}-geometry" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7178 # Check whether --enable-geometry was given.
7179 if test "${enable_geometry+set}" = set; then
7180 enableval
=$enable_geometry;
7181 if test "$enableval" = yes; then
7182 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7184 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7189 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7194 eval "$wx_cv_use_geometry"
7196 if test x"$enablestring" = xdisable; then
7197 if test $wxUSE_GEOMETRY = yes; then
7203 result=$wxUSE_GEOMETRY
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}-log" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7222 # Check whether --enable-log was given.
7223 if test "${enable_log+set}" = set; then
7224 enableval=$enable_log;
7225 if test "$enableval" = yes; then
7226 wx_cv_use_log='wxUSE_LOG
=yes'
7228 wx_cv_use_log='wxUSE_LOG
=no
'
7233 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7238 eval "$wx_cv_use_log"
7240 if test x"$enablestring" = xdisable; then
7241 if test $wxUSE_LOG = yes; then
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}-longlong" >&5
7265 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7266 # Check whether --enable-longlong was given.
7267 if test "${enable_longlong+set}" = set; then
7268 enableval=$enable_longlong;
7269 if test "$enableval" = yes; then
7270 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7272 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7277 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7282 eval "$wx_cv_use_longlong"
7284 if test x
"$enablestring" = xdisable
; then
7285 if test $wxUSE_LONGLONG = yes; then
7291 result
=$wxUSE_LONGLONG
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}-mimetype" >&5
7309 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7310 # Check whether --enable-mimetype was given.
7311 if test "${enable_mimetype+set}" = set; then
7312 enableval
=$enable_mimetype;
7313 if test "$enableval" = yes; then
7314 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7316 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7321 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7326 eval "$wx_cv_use_mimetype"
7328 if test x"$enablestring" = xdisable; then
7329 if test $wxUSE_MIMETYPE = yes; then
7335 result=$wxUSE_MIMETYPE
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}-printfposparam" >&5
7353 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7354 # Check whether --enable-printfposparam was given.
7355 if test "${enable_printfposparam+set}" = set; then
7356 enableval=$enable_printfposparam;
7357 if test "$enableval" = yes; then
7358 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7360 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7365 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7370 eval "$wx_cv_use_printfposparam"
7372 if test x"$enablestring" = xdisable; then
7373 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7379 result=$wxUSE_PRINTF_POS_PARAMS
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}-snglinst" >&5
7397 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7398 # Check whether --enable-snglinst was given.
7399 if test "${enable_snglinst+set}" = set; then
7400 enableval=$enable_snglinst;
7401 if test "$enableval" = yes; then
7402 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7404 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7409 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7414 eval "$wx_cv_use_snglinst"
7416 if test x
"$enablestring" = xdisable
; then
7417 if test $wxUSE_SNGLINST_CHECKER = yes; then
7423 result
=$wxUSE_SNGLINST_CHECKER
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}-sound" >&5
7441 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7442 # Check whether --enable-sound was given.
7443 if test "${enable_sound+set}" = set; then
7444 enableval
=$enable_sound;
7445 if test "$enableval" = yes; then
7446 wx_cv_use_sound
='wxUSE_SOUND=yes'
7448 wx_cv_use_sound
='wxUSE_SOUND=no'
7453 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7458 eval "$wx_cv_use_sound"
7460 if test x"$enablestring" = xdisable; then
7461 if test $wxUSE_SOUND = yes; then
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}-stdpaths" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7486 # Check whether --enable-stdpaths was given.
7487 if test "${enable_stdpaths+set}" = set; then
7488 enableval=$enable_stdpaths;
7489 if test "$enableval" = yes; then
7490 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7492 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7497 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7502 eval "$wx_cv_use_stdpaths"
7504 if test x"$enablestring" = xdisable; then
7505 if test $wxUSE_STDPATHS = yes; then
7511 result=$wxUSE_STDPATHS
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}-stopwatch" >&5
7529 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7530 # Check whether --enable-stopwatch was given.
7531 if test "${enable_stopwatch+set}" = set; then
7532 enableval=$enable_stopwatch;
7533 if test "$enableval" = yes; then
7534 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7536 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7541 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7546 eval "$wx_cv_use_stopwatch"
7548 if test x
"$enablestring" = xdisable
; then
7549 if test $wxUSE_STOPWATCH = yes; then
7555 result
=$wxUSE_STOPWATCH
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}-streams" >&5
7573 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7574 # Check whether --enable-streams was given.
7575 if test "${enable_streams+set}" = set; then
7576 enableval
=$enable_streams;
7577 if test "$enableval" = yes; then
7578 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7580 wx_cv_use_streams
='wxUSE_STREAMS=no'
7585 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7590 eval "$wx_cv_use_streams"
7592 if test x"$enablestring" = xdisable; then
7593 if test $wxUSE_STREAMS = yes; then
7599 result=$wxUSE_STREAMS
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}-system_options" >&5
7617 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7618 # Check whether --enable-system_options was given.
7619 if test "${enable_system_options+set}" = set; then
7620 enableval=$enable_system_options;
7621 if test "$enableval" = yes; then
7622 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7624 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7629 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7634 eval "$wx_cv_use_system_options"
7636 if test x"$enablestring" = xdisable; then
7637 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7643 result=$wxUSE_SYSTEM_OPTIONS
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}-tarstream" >&5
7661 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7662 # Check whether --enable-tarstream was given.
7663 if test "${enable_tarstream+set}" = set; then
7664 enableval=$enable_tarstream;
7665 if test "$enableval" = yes; then
7666 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7668 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7673 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7678 eval "$wx_cv_use_tarstream"
7680 if test x
"$enablestring" = xdisable
; then
7681 if test $wxUSE_TARSTREAM = yes; then
7687 result
=$wxUSE_TARSTREAM
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}-textbuf" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7706 # Check whether --enable-textbuf was given.
7707 if test "${enable_textbuf+set}" = set; then
7708 enableval
=$enable_textbuf;
7709 if test "$enableval" = yes; then
7710 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7712 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7717 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7722 eval "$wx_cv_use_textbuf"
7724 if test x"$enablestring" = xdisable; then
7725 if test $wxUSE_TEXTBUFFER = yes; then
7731 result=$wxUSE_TEXTBUFFER
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}-textfile" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7750 # Check whether --enable-textfile was given.
7751 if test "${enable_textfile+set}" = set; then
7752 enableval=$enable_textfile;
7753 if test "$enableval" = yes; then
7754 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7756 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7761 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7766 eval "$wx_cv_use_textfile"
7768 if test x"$enablestring" = xdisable; then
7769 if test $wxUSE_TEXTFILE = yes; then
7775 result=$wxUSE_TEXTFILE
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}-timer" >&5
7793 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7794 # Check whether --enable-timer was given.
7795 if test "${enable_timer+set}" = set; then
7796 enableval=$enable_timer;
7797 if test "$enableval" = yes; then
7798 wx_cv_use_timer='wxUSE_TIMER=yes'
7800 wx_cv_use_timer='wxUSE_TIMER=no'
7805 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7810 eval "$wx_cv_use_timer"
7812 if test x
"$enablestring" = xdisable
; then
7813 if test $wxUSE_TIMER = yes; then
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}-variant" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7838 # Check whether --enable-variant was given.
7839 if test "${enable_variant+set}" = set; then
7840 enableval
=$enable_variant;
7841 if test "$enableval" = yes; then
7842 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7844 wx_cv_use_variant
='wxUSE_VARIANT=no'
7849 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7854 eval "$wx_cv_use_variant"
7856 if test x"$enablestring" = xdisable; then
7857 if test $wxUSE_VARIANT = yes; then
7863 result=$wxUSE_VARIANT
7866 { echo "$as_me:$LINENO: result: $result" >&5
7867 echo "${ECHO_T}$result" >&6; }
7871 defaultval=$wxUSE_ALL_FEATURES
7872 if test -z "$defaultval"; then
7873 if test x"$enablestring" = xdisable; then
7880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7881 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7882 # Check whether --enable-zipstream was given.
7883 if test "${enable_zipstream+set}" = set; then
7884 enableval=$enable_zipstream;
7885 if test "$enableval" = yes; then
7886 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7888 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7893 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7898 eval "$wx_cv_use_zipstream"
7900 if test x"$enablestring" = xdisable; then
7901 if test $wxUSE_ZIPSTREAM = yes; then
7907 result=$wxUSE_ZIPSTREAM
7910 { echo "$as_me:$LINENO: result
: $result" >&5
7911 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}-url" >&5
7926 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7927 # Check whether --enable-url was given.
7928 if test "${enable_url+set}" = set; then
7929 enableval=$enable_url;
7930 if test "$enableval" = yes; then
7931 wx_cv_use_url='wxUSE_URL=yes'
7933 wx_cv_use_url='wxUSE_URL=no'
7938 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7943 eval "$wx_cv_use_url"
7945 if test x
"$enablestring" = xdisable
; then
7946 if test $wxUSE_URL = yes; then
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" >&5
7970 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7971 # Check whether --enable-protocol was given.
7972 if test "${enable_protocol+set}" = set; then
7973 enableval
=$enable_protocol;
7974 if test "$enableval" = yes; then
7975 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7977 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7982 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7987 eval "$wx_cv_use_protocol"
7989 if test x"$enablestring" = xdisable; then
7990 if test $wxUSE_PROTOCOL = yes; then
7996 result=$wxUSE_PROTOCOL
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_http" >&5
8014 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8015 # Check whether --enable-protocol_http was given.
8016 if test "${enable_protocol_http+set}" = set; then
8017 enableval=$enable_protocol_http;
8018 if test "$enableval" = yes; then
8019 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8021 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8026 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8031 eval "$wx_cv_use_protocol_http"
8033 if test x"$enablestring" = xdisable; then
8034 if test $wxUSE_PROTOCOL_HTTP = yes; then
8040 result=$wxUSE_PROTOCOL_HTTP
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_ftp" >&5
8058 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8059 # Check whether --enable-protocol_ftp was given.
8060 if test "${enable_protocol_ftp+set}" = set; then
8061 enableval=$enable_protocol_ftp;
8062 if test "$enableval" = yes; then
8063 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8065 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8070 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8075 eval "$wx_cv_use_protocol_ftp"
8077 if test x
"$enablestring" = xdisable
; then
8078 if test $wxUSE_PROTOCOL_FTP = yes; then
8084 result
=$wxUSE_PROTOCOL_FTP
8087 { echo "$as_me:$LINENO: result: $result" >&5
8088 echo "${ECHO_T}$result" >&6; }
8092 defaultval
=$wxUSE_ALL_FEATURES
8093 if test -z "$defaultval"; then
8094 if test x
"$enablestring" = xdisable
; then
8101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8102 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8103 # Check whether --enable-protocol_file was given.
8104 if test "${enable_protocol_file+set}" = set; then
8105 enableval
=$enable_protocol_file;
8106 if test "$enableval" = yes; then
8107 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8109 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8114 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8119 eval "$wx_cv_use_protocol_file"
8121 if test x"$enablestring" = xdisable; then
8122 if test $wxUSE_PROTOCOL_FILE = yes; then
8128 result=$wxUSE_PROTOCOL_FILE
8131 { echo "$as_me:$LINENO: result: $result" >&5
8132 echo "${ECHO_T}$result" >&6; }
8137 defaultval=$wxUSE_ALL_FEATURES
8138 if test -z "$defaultval"; then
8139 if test x"$enablestring" = xdisable; then
8146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8147 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8148 # Check whether --enable-threads was given.
8149 if test "${enable_threads+set}" = set; then
8150 enableval=$enable_threads;
8151 if test "$enableval" = yes; then
8152 wx_cv_use_threads='wxUSE_THREADS
=yes'
8154 wx_cv_use_threads='wxUSE_THREADS
=no
'
8159 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8164 eval "$wx_cv_use_threads"
8166 if test x"$enablestring" = xdisable; then
8167 if test $wxUSE_THREADS = yes; then
8173 result=$wxUSE_THREADS
8176 { echo "$as_me:$LINENO: result
: $result" >&5
8177 echo "${ECHO_T}$result" >&6; }
8183 if test -z "$defaultval"; then
8184 if test x"$enablestring" = xdisable; then
8191 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8192 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8193 # Check whether --enable-iniconf was given.
8194 if test "${enable_iniconf+set}" = set; then
8195 enableval=$enable_iniconf;
8196 if test "$enableval" = yes; then
8197 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8199 wx_cv_use_iniconf='wxUSE_INICONF=no'
8204 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8209 eval "$wx_cv_use_iniconf"
8211 if test x
"$enablestring" = xdisable
; then
8212 if test $wxUSE_INICONF = yes; then
8218 result
=$wxUSE_INICONF
8221 { echo "$as_me:$LINENO: result: $result" >&5
8222 echo "${ECHO_T}$result" >&6; }
8226 defaultval
=$wxUSE_ALL_FEATURES
8227 if test -z "$defaultval"; then
8228 if test x
"$enablestring" = xdisable
; then
8235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8237 # Check whether --enable-regkey was given.
8238 if test "${enable_regkey+set}" = set; then
8239 enableval
=$enable_regkey;
8240 if test "$enableval" = yes; then
8241 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8243 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8248 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8253 eval "$wx_cv_use_regkey"
8255 if test x"$enablestring" = xdisable; then
8256 if test $wxUSE_REGKEY = yes; then
8262 result=$wxUSE_REGKEY
8265 { echo "$as_me:$LINENO: result: $result" >&5
8266 echo "${ECHO_T}$result" >&6; }
8269 if test "$wxUSE_GUI" = "yes"; then
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}-docview" >&5
8284 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8285 # Check whether --enable-docview was given.
8286 if test "${enable_docview+set}" = set; then
8287 enableval=$enable_docview;
8288 if test "$enableval" = yes; then
8289 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8291 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8296 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8301 eval "$wx_cv_use_docview"
8303 if test x"$enablestring" = xdisable; then
8304 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8310 result=$wxUSE_DOC_VIEW_ARCHITECTURE
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}-help" >&5
8328 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8329 # Check whether --enable-help was given.
8330 if test "${enable_help+set}" = set; then
8331 enableval=$enable_help;
8332 if test "$enableval" = yes; then
8333 wx_cv_use_help='wxUSE_HELP=yes'
8335 wx_cv_use_help='wxUSE_HELP=no'
8340 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8345 eval "$wx_cv_use_help"
8347 if test x
"$enablestring" = xdisable
; then
8348 if test $wxUSE_HELP = yes; then
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}-mshtmlhelp" >&5
8372 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8373 # Check whether --enable-mshtmlhelp was given.
8374 if test "${enable_mshtmlhelp+set}" = set; then
8375 enableval
=$enable_mshtmlhelp;
8376 if test "$enableval" = yes; then
8377 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8379 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8384 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8389 eval "$wx_cv_use_mshtmlhelp"
8391 if test x"$enablestring" = xdisable; then
8392 if test $wxUSE_MS_HTML_HELP = yes; then
8398 result=$wxUSE_MS_HTML_HELP
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}-html" >&5
8416 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8417 # Check whether --enable-html was given.
8418 if test "${enable_html+set}" = set; then
8419 enableval=$enable_html;
8420 if test "$enableval" = yes; then
8421 wx_cv_use_html='wxUSE_HTML
=yes'
8423 wx_cv_use_html='wxUSE_HTML
=no
'
8428 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8433 eval "$wx_cv_use_html"
8435 if test x"$enablestring" = xdisable; then
8436 if test $wxUSE_HTML = yes; then
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}-htmlhelp" >&5
8460 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8461 # Check whether --enable-htmlhelp was given.
8462 if test "${enable_htmlhelp+set}" = set; then
8463 enableval=$enable_htmlhelp;
8464 if test "$enableval" = yes; then
8465 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8467 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8472 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8477 eval "$wx_cv_use_htmlhelp"
8479 if test x
"$enablestring" = xdisable
; then
8480 if test $wxUSE_WXHTML_HELP = yes; then
8486 result
=$wxUSE_WXHTML_HELP
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}-xrc" >&5
8504 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8505 # Check whether --enable-xrc was given.
8506 if test "${enable_xrc+set}" = set; then
8507 enableval
=$enable_xrc;
8508 if test "$enableval" = yes; then
8509 wx_cv_use_xrc
='wxUSE_XRC=yes'
8511 wx_cv_use_xrc
='wxUSE_XRC=no'
8516 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8521 eval "$wx_cv_use_xrc"
8523 if test x"$enablestring" = xdisable; then
8524 if test $wxUSE_XRC = 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}-aui" >&5
8548 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8549 # Check whether --enable-aui was given.
8550 if test "${enable_aui+set}" = set; then
8551 enableval=$enable_aui;
8552 if test "$enableval" = yes; then
8553 wx_cv_use_aui='wxUSE_AUI
=yes'
8555 wx_cv_use_aui='wxUSE_AUI
=no
'
8560 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8565 eval "$wx_cv_use_aui"
8567 if test x"$enablestring" = xdisable; then
8568 if test $wxUSE_AUI = 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}-propgrid" >&5
8592 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8593 # Check whether --enable-propgrid was given.
8594 if test "${enable_propgrid+set}" = set; then
8595 enableval=$enable_propgrid;
8596 if test "$enableval" = yes; then
8597 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8599 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8604 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8609 eval "$wx_cv_use_propgrid"
8611 if test x
"$enablestring" = xdisable
; then
8612 if test $wxUSE_PROPGRID = yes; then
8618 result
=$wxUSE_PROPGRID
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}-stc" >&5
8636 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8637 # Check whether --enable-stc was given.
8638 if test "${enable_stc+set}" = set; then
8639 enableval
=$enable_stc;
8640 if test "$enableval" = yes; then
8641 wx_cv_use_stc
='wxUSE_STC=yes'
8643 wx_cv_use_stc
='wxUSE_STC=no'
8648 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8653 eval "$wx_cv_use_stc"
8655 if test x"$enablestring" = xdisable; then
8656 if test $wxUSE_STC = yes; then
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}-constraints" >&5
8680 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8681 # Check whether --enable-constraints was given.
8682 if test "${enable_constraints+set}" = set; then
8683 enableval=$enable_constraints;
8684 if test "$enableval" = yes; then
8685 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8687 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8692 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8697 eval "$wx_cv_use_constraints"
8699 if test x"$enablestring" = xdisable; then
8700 if test $wxUSE_CONSTRAINTS = yes; then
8706 result=$wxUSE_CONSTRAINTS
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}-loggui" >&5
8724 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8725 # Check whether --enable-loggui was given.
8726 if test "${enable_loggui+set}" = set; then
8727 enableval=$enable_loggui;
8728 if test "$enableval" = yes; then
8729 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8731 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8736 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8741 eval "$wx_cv_use_loggui"
8743 if test x
"$enablestring" = xdisable
; then
8744 if test $wxUSE_LOGGUI = yes; then
8750 result
=$wxUSE_LOGGUI
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}-logwin" >&5
8768 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8769 # Check whether --enable-logwin was given.
8770 if test "${enable_logwin+set}" = set; then
8771 enableval
=$enable_logwin;
8772 if test "$enableval" = yes; then
8773 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8775 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8780 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8785 eval "$wx_cv_use_logwin"
8787 if test x"$enablestring" = xdisable; then
8788 if test $wxUSE_LOGWINDOW = yes; then
8794 result=$wxUSE_LOGWINDOW
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}-logdialog" >&5
8812 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8813 # Check whether --enable-logdialog was given.
8814 if test "${enable_logdialog+set}" = set; then
8815 enableval=$enable_logdialog;
8816 if test "$enableval" = yes; then
8817 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8819 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8824 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8829 eval "$wx_cv_use_logdialog"
8831 if test x"$enablestring" = xdisable; then
8832 if test $wxUSE_LOGDIALOG = yes; then
8838 result=$wxUSE_LOGDIALOG
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}-mdi" >&5
8856 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8857 # Check whether --enable-mdi was given.
8858 if test "${enable_mdi+set}" = set; then
8859 enableval=$enable_mdi;
8860 if test "$enableval" = yes; then
8861 wx_cv_use_mdi='wxUSE_MDI=yes'
8863 wx_cv_use_mdi='wxUSE_MDI=no'
8868 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8873 eval "$wx_cv_use_mdi"
8875 if test x
"$enablestring" = xdisable
; then
8876 if test $wxUSE_MDI = yes; then
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}-mdidoc" >&5
8900 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8901 # Check whether --enable-mdidoc was given.
8902 if test "${enable_mdidoc+set}" = set; then
8903 enableval
=$enable_mdidoc;
8904 if test "$enableval" = yes; then
8905 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8907 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8912 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8917 eval "$wx_cv_use_mdidoc"
8919 if test x"$enablestring" = xdisable; then
8920 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8926 result=$wxUSE_MDI_ARCHITECTURE
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}-mediactrl" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8945 # Check whether --enable-mediactrl was given.
8946 if test "${enable_mediactrl+set}" = set; then
8947 enableval=$enable_mediactrl;
8948 if test "$enableval" = yes; then
8949 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
8951 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
8956 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8961 eval "$wx_cv_use_mediactrl"
8963 if test x"$enablestring" = xdisable; then
8964 if test $wxUSE_MEDIACTRL = yes; then
8970 result=$wxUSE_MEDIACTRL
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}-gstreamer8" >&5
8988 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
8989 # Check whether --enable-gstreamer8 was given.
8990 if test "${enable_gstreamer8+set}" = set; then
8991 enableval=$enable_gstreamer8;
8992 if test "$enableval" = yes; then
8993 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8995 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9000 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9005 eval "$wx_cv_use_gstreamer8"
9007 if test x
"$enablestring" = xdisable
; then
9008 if test $wxUSE_GSTREAMER8 = yes; then
9014 result
=$wxUSE_GSTREAMER8
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}-webkit" >&5
9032 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9033 # Check whether --enable-webkit was given.
9034 if test "${enable_webkit+set}" = set; then
9035 enableval
=$enable_webkit;
9036 if test "$enableval" = yes; then
9037 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9039 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9044 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9049 eval "$wx_cv_use_webkit"
9051 if test x"$enablestring" = xdisable; then
9052 if test $wxUSE_WEBKIT = yes; then
9058 result=$wxUSE_WEBKIT
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}-richtext" >&5
9076 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9077 # Check whether --enable-richtext was given.
9078 if test "${enable_richtext+set}" = set; then
9079 enableval=$enable_richtext;
9080 if test "$enableval" = yes; then
9081 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9083 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9088 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9093 eval "$wx_cv_use_richtext"
9095 if test x"$enablestring" = xdisable; then
9096 if test $wxUSE_RICHTEXT = yes; then
9102 result=$wxUSE_RICHTEXT
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}-graphics_ctx" >&5
9120 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9121 # Check whether --enable-graphics_ctx was given.
9122 if test "${enable_graphics_ctx+set}" = set; then
9123 enableval=$enable_graphics_ctx;
9124 if test "$enableval" = yes; then
9125 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9127 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9132 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9137 eval "$wx_cv_use_graphics_ctx"
9139 if test x
"$enablestring" = xdisable
; then
9140 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9146 result
=$wxUSE_GRAPHICS_CONTEXT
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}-postscript" >&5
9164 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9165 # Check whether --enable-postscript was given.
9166 if test "${enable_postscript+set}" = set; then
9167 enableval
=$enable_postscript;
9168 if test "$enableval" = yes; then
9169 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9171 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9176 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9181 eval "$wx_cv_use_postscript"
9183 if test x"$enablestring" = xdisable; then
9184 if test $wxUSE_POSTSCRIPT = yes; then
9190 result=$wxUSE_POSTSCRIPT
9193 { echo "$as_me:$LINENO: result: $result" >&5
9194 echo "${ECHO_T}$result" >&6; }
9198 defaultval=$wxUSE_ALL_FEATURES
9199 if test -z "$defaultval"; then
9200 if test x"$enablestring" = xdisable; then
9207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9208 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9209 # Check whether --enable-printarch was given.
9210 if test "${enable_printarch+set}" = set; then
9211 enableval=$enable_printarch;
9212 if test "$enableval" = yes; then
9213 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9215 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9220 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9225 eval "$wx_cv_use_printarch"
9227 if test x"$enablestring" = xdisable; then
9228 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9234 result=$wxUSE_PRINTING_ARCHITECTURE
9237 { echo "$as_me:$LINENO: result
: $result" >&5
9238 echo "${ECHO_T}$result" >&6; }
9242 defaultval=$wxUSE_ALL_FEATURES
9243 if test -z "$defaultval"; then
9244 if test x"$enablestring" = xdisable; then
9251 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9252 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9253 # Check whether --enable-svg was given.
9254 if test "${enable_svg+set}" = set; then
9255 enableval=$enable_svg;
9256 if test "$enableval" = yes; then
9257 wx_cv_use_svg='wxUSE_SVG=yes'
9259 wx_cv_use_svg='wxUSE_SVG=no'
9264 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9269 eval "$wx_cv_use_svg"
9271 if test x
"$enablestring" = xdisable
; then
9272 if test $wxUSE_SVG = yes; then
9281 { echo "$as_me:$LINENO: result: $result" >&5
9282 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}-clipboard" >&5
9298 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9299 # Check whether --enable-clipboard was given.
9300 if test "${enable_clipboard+set}" = set; then
9301 enableval
=$enable_clipboard;
9302 if test "$enableval" = yes; then
9303 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9305 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9310 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9315 eval "$wx_cv_use_clipboard"
9317 if test x"$enablestring" = xdisable; then
9318 if test $wxUSE_CLIPBOARD = yes; then
9324 result=$wxUSE_CLIPBOARD
9327 { echo "$as_me:$LINENO: result: $result" >&5
9328 echo "${ECHO_T}$result" >&6; }
9332 defaultval=$wxUSE_ALL_FEATURES
9333 if test -z "$defaultval"; then
9334 if test x"$enablestring" = xdisable; then
9341 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9342 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9343 # Check whether --enable-dnd was given.
9344 if test "${enable_dnd+set}" = set; then
9345 enableval=$enable_dnd;
9346 if test "$enableval" = yes; then
9347 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9349 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9354 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9359 eval "$wx_cv_use_dnd"
9361 if test x"$enablestring" = xdisable; then
9362 if test $wxUSE_DRAG_AND_DROP = yes; then
9368 result=$wxUSE_DRAG_AND_DROP
9371 { echo "$as_me:$LINENO: result
: $result" >&5
9372 echo "${ECHO_T}$result" >&6; }
9376 defaultval=$wxUSE_ALL_FEATURES
9377 if test -z "$defaultval"; then
9378 if test x"$enablestring" = xdisable; then
9385 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9386 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9387 # Check whether --enable-metafile was given.
9388 if test "${enable_metafile+set}" = set; then
9389 enableval=$enable_metafile;
9390 if test "$enableval" = yes; then
9391 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9393 wx_cv_use_metafile='wxUSE_METAFILE=no'
9398 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9403 eval "$wx_cv_use_metafile"
9405 if test x
"$enablestring" = xdisable
; then
9406 if test $wxUSE_METAFILE = yes; then
9412 result
=$wxUSE_METAFILE
9415 { echo "$as_me:$LINENO: result: $result" >&5
9416 echo "${ECHO_T}$result" >&6; }
9420 DEFAULT_wxUSE_CONTROLS
=none
9422 enablestring
=disable
9424 if test -z "$defaultval"; then
9425 if test x
"$enablestring" = xdisable
; then
9432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9433 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9434 # Check whether --enable-controls was given.
9435 if test "${enable_controls+set}" = set; then
9436 enableval
=$enable_controls;
9437 if test "$enableval" = yes; then
9438 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9440 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9445 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9450 eval "$wx_cv_use_controls"
9452 if test x"$enablestring" = xdisable; then
9453 if test $wxUSE_CONTROLS = yes; then
9459 result=$wxUSE_CONTROLS
9462 { echo "$as_me:$LINENO: result: $result" >&5
9463 echo "${ECHO_T}$result" >&6; }
9466 if test "$wxUSE_CONTROLS" = "yes"; then
9467 DEFAULT_wxUSE_ACCEL=yes
9468 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9469 DEFAULT_wxUSE_BMPBUTTON=yes
9470 DEFAULT_wxUSE_BUTTON=yes
9471 DEFAULT_wxUSE_CALCTRL=yes
9472 DEFAULT_wxUSE_CARET=yes
9473 DEFAULT_wxUSE_COMBOBOX=yes
9474 DEFAULT_wxUSE_CHECKBOX=yes
9475 DEFAULT_wxUSE_CHECKLISTBOX=yes
9476 DEFAULT_wxUSE_CHOICE=yes
9477 DEFAULT_wxUSE_CHOICEBOOK=yes
9478 DEFAULT_wxUSE_COLLPANE=yes
9479 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9480 DEFAULT_wxUSE_COMBOBOX=yes
9481 DEFAULT_wxUSE_DATEPICKCTRL=yes
9482 DEFAULT_wxUSE_DISPLAY=yes
9483 DEFAULT_wxUSE_DETECT_SM=yes
9484 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9485 DEFAULT_wxUSE_FILECTRL=yes
9486 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9487 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9488 DEFAULT_wxUSE_GAUGE=yes
9489 DEFAULT_wxUSE_GRID=yes
9490 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9491 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9492 DEFAULT_wxUSE_IMAGLIST=yes
9493 DEFAULT_wxUSE_LISTBOOK=yes
9494 DEFAULT_wxUSE_LISTBOX=yes
9495 DEFAULT_wxUSE_LISTCTRL=yes
9496 DEFAULT_wxUSE_NOTEBOOK=yes
9497 DEFAULT_wxUSE_RADIOBOX=yes
9498 DEFAULT_wxUSE_RADIOBTN=yes
9499 DEFAULT_wxUSE_SASH=yes
9500 DEFAULT_wxUSE_SCROLLBAR=yes
9501 DEFAULT_wxUSE_SEARCHCTRL=yes
9502 DEFAULT_wxUSE_SLIDER=yes
9503 DEFAULT_wxUSE_SPINBTN=yes
9504 DEFAULT_wxUSE_SPINCTRL=yes
9505 DEFAULT_wxUSE_SPLITTER=yes
9506 DEFAULT_wxUSE_STATBMP=yes
9507 DEFAULT_wxUSE_STATBOX=yes
9508 DEFAULT_wxUSE_STATLINE=yes
9509 DEFAULT_wxUSE_STATUSBAR=yes
9510 DEFAULT_wxUSE_TAB_DIALOG=yes
9511 DEFAULT_wxUSE_TOGGLEBTN=yes
9512 DEFAULT_wxUSE_TOOLBAR=yes
9513 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9514 DEFAULT_wxUSE_TOOLTIPS=yes
9515 DEFAULT_wxUSE_TREEBOOK=yes
9516 DEFAULT_wxUSE_TOOLBOOK=yes
9517 DEFAULT_wxUSE_TREECTRL=yes
9518 DEFAULT_wxUSE_POPUPWIN=yes
9519 DEFAULT_wxUSE_TIPWINDOW=yes
9520 elif test "$wxUSE_CONTROLS" = "no"; then
9521 DEFAULT_wxUSE_ACCEL=no
9522 DEFAULT_wxUSE_ANIMATIONCTRL=no
9523 DEFAULT_wxUSE_BMPBUTTON=no
9524 DEFAULT_wxUSE_BUTTON=no
9525 DEFAULT_wxUSE_CALCTRL=no
9526 DEFAULT_wxUSE_CARET=no
9527 DEFAULT_wxUSE_COLLPANE=no
9528 DEFAULT_wxUSE_COMBOBOX=no
9529 DEFAULT_wxUSE_CHECKBOX=no
9530 DEFAULT_wxUSE_CHECKLISTBOX=no
9531 DEFAULT_wxUSE_CHOICE=no
9532 DEFAULT_wxUSE_CHOICEBOOK=no
9533 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9534 DEFAULT_wxUSE_COMBOBOX=no
9535 DEFAULT_wxUSE_DATEPICKCTRL=no
9536 DEFAULT_wxUSE_DISPLAY=no
9537 DEFAULT_wxUSE_DETECT_SM=no
9538 DEFAULT_wxUSE_DIRPICKERCTRL=no
9539 DEFAULT_wxUSE_FILECTRL=no
9540 DEFAULT_wxUSE_FILEPICKERCTRL=no
9541 DEFAULT_wxUSE_FONTPICKERCTRL=no
9542 DEFAULT_wxUSE_GAUGE=no
9543 DEFAULT_wxUSE_GRID=no
9544 DEFAULT_wxUSE_HYPERLINKCTRL=no
9545 DEFAULT_wxUSE_DATAVIEWCTRL=no
9546 DEFAULT_wxUSE_IMAGLIST=no
9547 DEFAULT_wxUSE_LISTBOOK=no
9548 DEFAULT_wxUSE_LISTBOX=no
9549 DEFAULT_wxUSE_LISTCTRL=no
9550 DEFAULT_wxUSE_NOTEBOOK=no
9551 DEFAULT_wxUSE_RADIOBOX=no
9552 DEFAULT_wxUSE_RADIOBTN=no
9553 DEFAULT_wxUSE_SASH=no
9554 DEFAULT_wxUSE_SCROLLBAR=no
9555 DEFAULT_wxUSE_SEARCHCTRL=no
9556 DEFAULT_wxUSE_SLIDER=no
9557 DEFAULT_wxUSE_SPINBTN=no
9558 DEFAULT_wxUSE_SPINCTRL=no
9559 DEFAULT_wxUSE_SPLITTER=no
9560 DEFAULT_wxUSE_STATBMP=no
9561 DEFAULT_wxUSE_STATBOX=no
9562 DEFAULT_wxUSE_STATLINE=no
9563 DEFAULT_wxUSE_STATUSBAR=no
9564 DEFAULT_wxUSE_TAB_DIALOG=no
9565 DEFAULT_wxUSE_TOGGLEBTN=no
9566 DEFAULT_wxUSE_TOOLBAR=no
9567 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9568 DEFAULT_wxUSE_TOOLTIPS=no
9569 DEFAULT_wxUSE_TREEBOOK=no
9570 DEFAULT_wxUSE_TOOLBOOK=no
9571 DEFAULT_wxUSE_TREECTRL=no
9572 DEFAULT_wxUSE_POPUPWIN=no
9573 DEFAULT_wxUSE_TIPWINDOW=no
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}-accel" >&5
9588 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9589 # Check whether --enable-accel was given.
9590 if test "${enable_accel+set}" = set; then
9591 enableval=$enable_accel;
9592 if test "$enableval" = yes; then
9593 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9595 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9600 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9605 eval "$wx_cv_use_accel"
9607 if test x"$enablestring" = xdisable; then
9608 if test $wxUSE_ACCEL = yes; then
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}-animatectrl" >&5
9632 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9633 # Check whether --enable-animatectrl was given.
9634 if test "${enable_animatectrl+set}" = set; then
9635 enableval=$enable_animatectrl;
9636 if test "$enableval" = yes; then
9637 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9639 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9644 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9649 eval "$wx_cv_use_animatectrl"
9651 if test x
"$enablestring" = xdisable
; then
9652 if test $wxUSE_ANIMATIONCTRL = yes; then
9658 result
=$wxUSE_ANIMATIONCTRL
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}-button" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9677 # Check whether --enable-button was given.
9678 if test "${enable_button+set}" = set; then
9679 enableval
=$enable_button;
9680 if test "$enableval" = yes; then
9681 wx_cv_use_button
='wxUSE_BUTTON=yes'
9683 wx_cv_use_button
='wxUSE_BUTTON=no'
9688 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9693 eval "$wx_cv_use_button"
9695 if test x"$enablestring" = xdisable; then
9696 if test $wxUSE_BUTTON = yes; then
9702 result=$wxUSE_BUTTON
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}-bmpbutton" >&5
9720 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9721 # Check whether --enable-bmpbutton was given.
9722 if test "${enable_bmpbutton+set}" = set; then
9723 enableval=$enable_bmpbutton;
9724 if test "$enableval" = yes; then
9725 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9727 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9732 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9737 eval "$wx_cv_use_bmpbutton"
9739 if test x"$enablestring" = xdisable; then
9740 if test $wxUSE_BMPBUTTON = yes; then
9746 result=$wxUSE_BMPBUTTON
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}-bmpcombobox" >&5
9764 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9765 # Check whether --enable-bmpcombobox was given.
9766 if test "${enable_bmpcombobox+set}" = set; then
9767 enableval=$enable_bmpcombobox;
9768 if test "$enableval" = yes; then
9769 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9771 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9776 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9781 eval "$wx_cv_use_bmpcombobox"
9783 if test x
"$enablestring" = xdisable
; then
9784 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9790 result
=$wxUSE_BITMAPCOMBOBOX
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}-calendar" >&5
9808 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9809 # Check whether --enable-calendar was given.
9810 if test "${enable_calendar+set}" = set; then
9811 enableval
=$enable_calendar;
9812 if test "$enableval" = yes; then
9813 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9815 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9820 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9825 eval "$wx_cv_use_calendar"
9827 if test x"$enablestring" = xdisable; then
9828 if test $wxUSE_CALCTRL = yes; then
9834 result=$wxUSE_CALCTRL
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}-caret" >&5
9852 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9853 # Check whether --enable-caret was given.
9854 if test "${enable_caret+set}" = set; then
9855 enableval=$enable_caret;
9856 if test "$enableval" = yes; then
9857 wx_cv_use_caret='wxUSE_CARET
=yes'
9859 wx_cv_use_caret='wxUSE_CARET
=no
'
9864 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9869 eval "$wx_cv_use_caret"
9871 if test x"$enablestring" = xdisable; then
9872 if test $wxUSE_CARET = yes; then
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}-checkbox" >&5
9896 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9897 # Check whether --enable-checkbox was given.
9898 if test "${enable_checkbox+set}" = set; then
9899 enableval=$enable_checkbox;
9900 if test "$enableval" = yes; then
9901 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9903 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9908 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9913 eval "$wx_cv_use_checkbox"
9915 if test x
"$enablestring" = xdisable
; then
9916 if test $wxUSE_CHECKBOX = yes; then
9922 result
=$wxUSE_CHECKBOX
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}-checklst" >&5
9940 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9941 # Check whether --enable-checklst was given.
9942 if test "${enable_checklst+set}" = set; then
9943 enableval
=$enable_checklst;
9944 if test "$enableval" = yes; then
9945 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9947 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9952 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9957 eval "$wx_cv_use_checklst"
9959 if test x"$enablestring" = xdisable; then
9960 if test $wxUSE_CHECKLST = yes; then
9966 result=$wxUSE_CHECKLST
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}-choice" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9985 # Check whether --enable-choice was given.
9986 if test "${enable_choice+set}" = set; then
9987 enableval=$enable_choice;
9988 if test "$enableval" = yes; then
9989 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9991 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9996 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10001 eval "$wx_cv_use_choice"
10003 if test x"$enablestring" = xdisable; then
10004 if test $wxUSE_CHOICE = yes; then
10010 result=$wxUSE_CHOICE
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}-choicebook" >&5
10028 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10029 # Check whether --enable-choicebook was given.
10030 if test "${enable_choicebook+set}" = set; then
10031 enableval=$enable_choicebook;
10032 if test "$enableval" = yes; then
10033 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10035 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10040 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10045 eval "$wx_cv_use_choicebook"
10047 if test x
"$enablestring" = xdisable
; then
10048 if test $wxUSE_CHOICEBOOK = yes; then
10054 result
=$wxUSE_CHOICEBOOK
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}-collpane" >&5
10072 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10073 # Check whether --enable-collpane was given.
10074 if test "${enable_collpane+set}" = set; then
10075 enableval
=$enable_collpane;
10076 if test "$enableval" = yes; then
10077 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10079 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10084 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10089 eval "$wx_cv_use_collpane"
10091 if test x"$enablestring" = xdisable; then
10092 if test $wxUSE_COLLPANE = yes; then
10098 result=$wxUSE_COLLPANE
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}-colourpicker" >&5
10116 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10117 # Check whether --enable-colourpicker was given.
10118 if test "${enable_colourpicker+set}" = set; then
10119 enableval=$enable_colourpicker;
10120 if test "$enableval" = yes; then
10121 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10123 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10128 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10133 eval "$wx_cv_use_colourpicker"
10135 if test x"$enablestring" = xdisable; then
10136 if test $wxUSE_COLOURPICKERCTRL = yes; then
10142 result=$wxUSE_COLOURPICKERCTRL
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}-combobox" >&5
10160 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10161 # Check whether --enable-combobox was given.
10162 if test "${enable_combobox+set}" = set; then
10163 enableval=$enable_combobox;
10164 if test "$enableval" = yes; then
10165 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10167 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10172 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10177 eval "$wx_cv_use_combobox"
10179 if test x
"$enablestring" = xdisable
; then
10180 if test $wxUSE_COMBOBOX = yes; then
10186 result
=$wxUSE_COMBOBOX
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}-comboctrl" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10205 # Check whether --enable-comboctrl was given.
10206 if test "${enable_comboctrl+set}" = set; then
10207 enableval
=$enable_comboctrl;
10208 if test "$enableval" = yes; then
10209 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10211 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10216 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10221 eval "$wx_cv_use_comboctrl"
10223 if test x"$enablestring" = xdisable; then
10224 if test $wxUSE_COMBOCTRL = yes; then
10230 result=$wxUSE_COMBOCTRL
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}-datepick" >&5
10248 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10249 # Check whether --enable-datepick was given.
10250 if test "${enable_datepick+set}" = set; then
10251 enableval=$enable_datepick;
10252 if test "$enableval" = yes; then
10253 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10255 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10260 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10265 eval "$wx_cv_use_datepick"
10267 if test x"$enablestring" = xdisable; then
10268 if test $wxUSE_DATEPICKCTRL = yes; then
10274 result=$wxUSE_DATEPICKCTRL
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}-dirpicker" >&5
10292 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10293 # Check whether --enable-dirpicker was given.
10294 if test "${enable_dirpicker+set}" = set; then
10295 enableval=$enable_dirpicker;
10296 if test "$enableval" = yes; then
10297 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10299 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10304 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10309 eval "$wx_cv_use_dirpicker"
10311 if test x
"$enablestring" = xdisable
; then
10312 if test $wxUSE_DIRPICKERCTRL = yes; then
10318 result
=$wxUSE_DIRPICKERCTRL
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}-display" >&5
10336 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10337 # Check whether --enable-display was given.
10338 if test "${enable_display+set}" = set; then
10339 enableval
=$enable_display;
10340 if test "$enableval" = yes; then
10341 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10343 wx_cv_use_display
='wxUSE_DISPLAY=no'
10348 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10353 eval "$wx_cv_use_display"
10355 if test x"$enablestring" = xdisable; then
10356 if test $wxUSE_DISPLAY = yes; then
10362 result=$wxUSE_DISPLAY
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}-detect_sm" >&5
10380 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10381 # Check whether --enable-detect_sm was given.
10382 if test "${enable_detect_sm+set}" = set; then
10383 enableval=$enable_detect_sm;
10384 if test "$enableval" = yes; then
10385 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10387 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10392 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10397 eval "$wx_cv_use_detect_sm"
10399 if test x"$enablestring" = xdisable; then
10400 if test $wxUSE_DETECT_SM = yes; then
10406 result=$wxUSE_DETECT_SM
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}-editablebox" >&5
10424 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10425 # Check whether --enable-editablebox was given.
10426 if test "${enable_editablebox+set}" = set; then
10427 enableval=$enable_editablebox;
10428 if test "$enableval" = yes; then
10429 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10431 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10436 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10441 eval "$wx_cv_use_editablebox"
10443 if test x
"$enablestring" = xdisable
; then
10444 if test $wxUSE_EDITABLELISTBOX = yes; then
10450 result
=$wxUSE_EDITABLELISTBOX
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}-filepicker" >&5
10468 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10469 # Check whether --enable-filepicker was given.
10470 if test "${enable_filepicker+set}" = set; then
10471 enableval
=$enable_filepicker;
10472 if test "$enableval" = yes; then
10473 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10475 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10480 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10485 eval "$wx_cv_use_filepicker"
10487 if test x"$enablestring" = xdisable; then
10488 if test $wxUSE_FILEPICKERCTRL = yes; then
10494 result=$wxUSE_FILEPICKERCTRL
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}-filectrl" >&5
10512 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10513 # Check whether --enable-filectrl was given.
10514 if test "${enable_filectrl+set}" = set; then
10515 enableval=$enable_filectrl;
10516 if test "$enableval" = yes; then
10517 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10519 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10524 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10529 eval "$wx_cv_use_filectrl"
10531 if test x"$enablestring" = xdisable; then
10532 if test $wxUSE_FILECTRL = yes; then
10538 result=$wxUSE_FILECTRL
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}-fontpicker" >&5
10556 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10557 # Check whether --enable-fontpicker was given.
10558 if test "${enable_fontpicker+set}" = set; then
10559 enableval=$enable_fontpicker;
10560 if test "$enableval" = yes; then
10561 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10563 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10568 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10573 eval "$wx_cv_use_fontpicker"
10575 if test x
"$enablestring" = xdisable
; then
10576 if test $wxUSE_FONTPICKERCTRL = yes; then
10582 result
=$wxUSE_FONTPICKERCTRL
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}-gauge" >&5
10600 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10601 # Check whether --enable-gauge was given.
10602 if test "${enable_gauge+set}" = set; then
10603 enableval
=$enable_gauge;
10604 if test "$enableval" = yes; then
10605 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10607 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10612 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10617 eval "$wx_cv_use_gauge"
10619 if test x"$enablestring" = xdisable; then
10620 if test $wxUSE_GAUGE = yes; then
10626 result=$wxUSE_GAUGE
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}-grid" >&5
10644 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10645 # Check whether --enable-grid was given.
10646 if test "${enable_grid+set}" = set; then
10647 enableval=$enable_grid;
10648 if test "$enableval" = yes; then
10649 wx_cv_use_grid='wxUSE_GRID
=yes'
10651 wx_cv_use_grid='wxUSE_GRID
=no
'
10656 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10661 eval "$wx_cv_use_grid"
10663 if test x"$enablestring" = xdisable; then
10664 if test $wxUSE_GRID = yes; then
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}-dataviewctrl" >&5
10688 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10689 # Check whether --enable-dataviewctrl was given.
10690 if test "${enable_dataviewctrl+set}" = set; then
10691 enableval=$enable_dataviewctrl;
10692 if test "$enableval" = yes; then
10693 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10695 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10700 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10705 eval "$wx_cv_use_dataviewctrl"
10707 if test x
"$enablestring" = xdisable
; then
10708 if test $wxUSE_DATAVIEWCTRL = yes; then
10714 result
=$wxUSE_DATAVIEWCTRL
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}-hyperlink" >&5
10732 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10733 # Check whether --enable-hyperlink was given.
10734 if test "${enable_hyperlink+set}" = set; then
10735 enableval
=$enable_hyperlink;
10736 if test "$enableval" = yes; then
10737 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
10739 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
10744 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10749 eval "$wx_cv_use_hyperlink"
10751 if test x"$enablestring" = xdisable; then
10752 if test $wxUSE_HYPERLINKCTRL = yes; then
10758 result=$wxUSE_HYPERLINKCTRL
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}-imaglist" >&5
10776 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10777 # Check whether --enable-imaglist was given.
10778 if test "${enable_imaglist+set}" = set; then
10779 enableval=$enable_imaglist;
10780 if test "$enableval" = yes; then
10781 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
10783 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
10788 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10793 eval "$wx_cv_use_imaglist"
10795 if test x"$enablestring" = xdisable; then
10796 if test $wxUSE_IMAGLIST = yes; then
10802 result=$wxUSE_IMAGLIST
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}-listbook" >&5
10820 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
10821 # Check whether --enable-listbook was given.
10822 if test "${enable_listbook+set}" = set; then
10823 enableval=$enable_listbook;
10824 if test "$enableval" = yes; then
10825 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10827 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10832 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10837 eval "$wx_cv_use_listbook"
10839 if test x
"$enablestring" = xdisable
; then
10840 if test $wxUSE_LISTBOOK = yes; then
10846 result
=$wxUSE_LISTBOOK
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}-listbox" >&5
10864 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10865 # Check whether --enable-listbox was given.
10866 if test "${enable_listbox+set}" = set; then
10867 enableval
=$enable_listbox;
10868 if test "$enableval" = yes; then
10869 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
10871 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
10876 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10881 eval "$wx_cv_use_listbox"
10883 if test x"$enablestring" = xdisable; then
10884 if test $wxUSE_LISTBOX = yes; then
10890 result=$wxUSE_LISTBOX
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}-listctrl" >&5
10908 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10909 # Check whether --enable-listctrl was given.
10910 if test "${enable_listctrl+set}" = set; then
10911 enableval=$enable_listctrl;
10912 if test "$enableval" = yes; then
10913 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
10915 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
10920 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10925 eval "$wx_cv_use_listctrl"
10927 if test x"$enablestring" = xdisable; then
10928 if test $wxUSE_LISTCTRL = yes; then
10934 result=$wxUSE_LISTCTRL
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}-notebook" >&5
10952 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
10953 # Check whether --enable-notebook was given.
10954 if test "${enable_notebook+set}" = set; then
10955 enableval=$enable_notebook;
10956 if test "$enableval" = yes; then
10957 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10959 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10964 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10969 eval "$wx_cv_use_notebook"
10971 if test x
"$enablestring" = xdisable
; then
10972 if test $wxUSE_NOTEBOOK = yes; then
10978 result
=$wxUSE_NOTEBOOK
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}-notifmsg" >&5
10996 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10997 # Check whether --enable-notifmsg was given.
10998 if test "${enable_notifmsg+set}" = set; then
10999 enableval
=$enable_notifmsg;
11000 if test "$enableval" = yes; then
11001 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
11003 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
11008 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11013 eval "$wx_cv_use_notifmsg"
11015 if test x"$enablestring" = xdisable; then
11016 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11022 result=$wxUSE_NOTIFICATION_MESSAGE
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}-odcombobox" >&5
11040 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11041 # Check whether --enable-odcombobox was given.
11042 if test "${enable_odcombobox+set}" = set; then
11043 enableval=$enable_odcombobox;
11044 if test "$enableval" = yes; then
11045 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11047 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11052 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11057 eval "$wx_cv_use_odcombobox"
11059 if test x"$enablestring" = xdisable; then
11060 if test $wxUSE_ODCOMBOBOX = yes; then
11066 result=$wxUSE_ODCOMBOBOX
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}-radiobox" >&5
11084 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11085 # Check whether --enable-radiobox was given.
11086 if test "${enable_radiobox+set}" = set; then
11087 enableval=$enable_radiobox;
11088 if test "$enableval" = yes; then
11089 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11091 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11096 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11101 eval "$wx_cv_use_radiobox"
11103 if test x
"$enablestring" = xdisable
; then
11104 if test $wxUSE_RADIOBOX = yes; then
11110 result
=$wxUSE_RADIOBOX
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}-radiobtn" >&5
11128 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11129 # Check whether --enable-radiobtn was given.
11130 if test "${enable_radiobtn+set}" = set; then
11131 enableval
=$enable_radiobtn;
11132 if test "$enableval" = yes; then
11133 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11135 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11140 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11145 eval "$wx_cv_use_radiobtn"
11147 if test x"$enablestring" = xdisable; then
11148 if test $wxUSE_RADIOBTN = yes; then
11154 result=$wxUSE_RADIOBTN
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}-sash" >&5
11172 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11173 # Check whether --enable-sash was given.
11174 if test "${enable_sash+set}" = set; then
11175 enableval=$enable_sash;
11176 if test "$enableval" = yes; then
11177 wx_cv_use_sash='wxUSE_SASH
=yes'
11179 wx_cv_use_sash='wxUSE_SASH
=no
'
11184 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11189 eval "$wx_cv_use_sash"
11191 if test x"$enablestring" = xdisable; then
11192 if test $wxUSE_SASH = yes; then
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}-scrollbar" >&5
11216 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11217 # Check whether --enable-scrollbar was given.
11218 if test "${enable_scrollbar+set}" = set; then
11219 enableval=$enable_scrollbar;
11220 if test "$enableval" = yes; then
11221 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11223 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11228 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11233 eval "$wx_cv_use_scrollbar"
11235 if test x
"$enablestring" = xdisable
; then
11236 if test $wxUSE_SCROLLBAR = yes; then
11242 result
=$wxUSE_SCROLLBAR
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}-searchctrl" >&5
11260 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11261 # Check whether --enable-searchctrl was given.
11262 if test "${enable_searchctrl+set}" = set; then
11263 enableval
=$enable_searchctrl;
11264 if test "$enableval" = yes; then
11265 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11267 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11272 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11277 eval "$wx_cv_use_searchctrl"
11279 if test x"$enablestring" = xdisable; then
11280 if test $wxUSE_SEARCHCTRL = yes; then
11286 result=$wxUSE_SEARCHCTRL
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}-slider" >&5
11304 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11305 # Check whether --enable-slider was given.
11306 if test "${enable_slider+set}" = set; then
11307 enableval=$enable_slider;
11308 if test "$enableval" = yes; then
11309 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11311 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11316 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11321 eval "$wx_cv_use_slider"
11323 if test x"$enablestring" = xdisable; then
11324 if test $wxUSE_SLIDER = yes; then
11330 result=$wxUSE_SLIDER
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}-spinbtn" >&5
11348 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11349 # Check whether --enable-spinbtn was given.
11350 if test "${enable_spinbtn+set}" = set; then
11351 enableval=$enable_spinbtn;
11352 if test "$enableval" = yes; then
11353 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11355 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11360 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11365 eval "$wx_cv_use_spinbtn"
11367 if test x
"$enablestring" = xdisable
; then
11368 if test $wxUSE_SPINBTN = yes; then
11374 result
=$wxUSE_SPINBTN
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}-spinctrl" >&5
11392 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11393 # Check whether --enable-spinctrl was given.
11394 if test "${enable_spinctrl+set}" = set; then
11395 enableval
=$enable_spinctrl;
11396 if test "$enableval" = yes; then
11397 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11399 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11404 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11409 eval "$wx_cv_use_spinctrl"
11411 if test x"$enablestring" = xdisable; then
11412 if test $wxUSE_SPINCTRL = yes; then
11418 result=$wxUSE_SPINCTRL
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}-splitter" >&5
11436 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11437 # Check whether --enable-splitter was given.
11438 if test "${enable_splitter+set}" = set; then
11439 enableval=$enable_splitter;
11440 if test "$enableval" = yes; then
11441 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11443 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11448 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11453 eval "$wx_cv_use_splitter"
11455 if test x"$enablestring" = xdisable; then
11456 if test $wxUSE_SPLITTER = yes; then
11462 result=$wxUSE_SPLITTER
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}-statbmp" >&5
11480 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11481 # Check whether --enable-statbmp was given.
11482 if test "${enable_statbmp+set}" = set; then
11483 enableval=$enable_statbmp;
11484 if test "$enableval" = yes; then
11485 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11487 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11492 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11497 eval "$wx_cv_use_statbmp"
11499 if test x
"$enablestring" = xdisable
; then
11500 if test $wxUSE_STATBMP = yes; then
11506 result
=$wxUSE_STATBMP
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}-statbox" >&5
11524 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11525 # Check whether --enable-statbox was given.
11526 if test "${enable_statbox+set}" = set; then
11527 enableval
=$enable_statbox;
11528 if test "$enableval" = yes; then
11529 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11531 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11536 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11541 eval "$wx_cv_use_statbox"
11543 if test x"$enablestring" = xdisable; then
11544 if test $wxUSE_STATBOX = yes; then
11550 result=$wxUSE_STATBOX
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}-statline" >&5
11568 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11569 # Check whether --enable-statline was given.
11570 if test "${enable_statline+set}" = set; then
11571 enableval=$enable_statline;
11572 if test "$enableval" = yes; then
11573 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11575 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11580 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11585 eval "$wx_cv_use_statline"
11587 if test x"$enablestring" = xdisable; then
11588 if test $wxUSE_STATLINE = yes; then
11594 result=$wxUSE_STATLINE
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}-stattext" >&5
11612 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11613 # Check whether --enable-stattext was given.
11614 if test "${enable_stattext+set}" = set; then
11615 enableval=$enable_stattext;
11616 if test "$enableval" = yes; then
11617 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11619 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11624 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11629 eval "$wx_cv_use_stattext"
11631 if test x
"$enablestring" = xdisable
; then
11632 if test $wxUSE_STATTEXT = yes; then
11638 result
=$wxUSE_STATTEXT
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}-statusbar" >&5
11656 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11657 # Check whether --enable-statusbar was given.
11658 if test "${enable_statusbar+set}" = set; then
11659 enableval
=$enable_statusbar;
11660 if test "$enableval" = yes; then
11661 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11663 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11668 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11673 eval "$wx_cv_use_statusbar"
11675 if test x"$enablestring" = xdisable; then
11676 if test $wxUSE_STATUSBAR = yes; then
11682 result=$wxUSE_STATUSBAR
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}-tabdialog" >&5
11700 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11701 # Check whether --enable-tabdialog was given.
11702 if test "${enable_tabdialog+set}" = set; then
11703 enableval=$enable_tabdialog;
11704 if test "$enableval" = yes; then
11705 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
11707 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
11712 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11717 eval "$wx_cv_use_tabdialog"
11719 if test x"$enablestring" = xdisable; then
11720 if test $wxUSE_TAB_DIALOG = yes; then
11726 result=$wxUSE_TAB_DIALOG
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}-taskbaricon" >&5
11744 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11745 # Check whether --enable-taskbaricon was given.
11746 if test "${enable_taskbaricon+set}" = set; then
11747 enableval=$enable_taskbaricon;
11748 if test "$enableval" = yes; then
11749 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11751 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11756 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11761 eval "$wx_cv_use_taskbaricon"
11763 if test x
"$enablestring" = xdisable
; then
11764 if test $wxUSE_TASKBARICON = yes; then
11770 result
=$wxUSE_TASKBARICON
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}-textctrl" >&5
11788 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11789 # Check whether --enable-textctrl was given.
11790 if test "${enable_textctrl+set}" = set; then
11791 enableval
=$enable_textctrl;
11792 if test "$enableval" = yes; then
11793 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11795 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11800 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11805 eval "$wx_cv_use_textctrl"
11807 if test x"$enablestring" = xdisable; then
11808 if test $wxUSE_TEXTCTRL = yes; then
11814 result=$wxUSE_TEXTCTRL
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}-togglebtn" >&5
11832 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11833 # Check whether --enable-togglebtn was given.
11834 if test "${enable_togglebtn+set}" = set; then
11835 enableval=$enable_togglebtn;
11836 if test "$enableval" = yes; then
11837 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
11839 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
11844 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11849 eval "$wx_cv_use_togglebtn"
11851 if test x"$enablestring" = xdisable; then
11852 if test $wxUSE_TOGGLEBTN = yes; then
11858 result=$wxUSE_TOGGLEBTN
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}-toolbar" >&5
11876 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
11877 # Check whether --enable-toolbar was given.
11878 if test "${enable_toolbar+set}" = set; then
11879 enableval=$enable_toolbar;
11880 if test "$enableval" = yes; then
11881 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11883 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11888 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11893 eval "$wx_cv_use_toolbar"
11895 if test x
"$enablestring" = xdisable
; then
11896 if test $wxUSE_TOOLBAR = yes; then
11902 result
=$wxUSE_TOOLBAR
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}-tbarnative" >&5
11920 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11921 # Check whether --enable-tbarnative was given.
11922 if test "${enable_tbarnative+set}" = set; then
11923 enableval
=$enable_tbarnative;
11924 if test "$enableval" = yes; then
11925 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
11927 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
11932 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11937 eval "$wx_cv_use_tbarnative"
11939 if test x"$enablestring" = xdisable; then
11940 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11946 result=$wxUSE_TOOLBAR_NATIVE
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}-treebook" >&5
11964 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11965 # Check whether --enable-treebook was given.
11966 if test "${enable_treebook+set}" = set; then
11967 enableval=$enable_treebook;
11968 if test "$enableval" = yes; then
11969 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
11971 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
11976 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11981 eval "$wx_cv_use_treebook"
11983 if test x"$enablestring" = xdisable; then
11984 if test $wxUSE_TREEBOOK = yes; then
11990 result=$wxUSE_TREEBOOK
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}-toolbook" >&5
12008 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12009 # Check whether --enable-toolbook was given.
12010 if test "${enable_toolbook+set}" = set; then
12011 enableval=$enable_toolbook;
12012 if test "$enableval" = yes; then
12013 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12015 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12020 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12025 eval "$wx_cv_use_toolbook"
12027 if test x
"$enablestring" = xdisable
; then
12028 if test $wxUSE_TOOLBOOK = yes; then
12034 result
=$wxUSE_TOOLBOOK
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}-treectrl" >&5
12052 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12053 # Check whether --enable-treectrl was given.
12054 if test "${enable_treectrl+set}" = set; then
12055 enableval
=$enable_treectrl;
12056 if test "$enableval" = yes; then
12057 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12059 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12064 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12069 eval "$wx_cv_use_treectrl"
12071 if test x"$enablestring" = xdisable; then
12072 if test $wxUSE_TREECTRL = yes; then
12078 result=$wxUSE_TREECTRL
12081 { echo "$as_me:$LINENO: result: $result" >&5
12082 echo "${ECHO_T}$result" >&6; }
12086 defaultval=$wxUSE_ALL_FEATURES
12087 if test -z "$defaultval"; then
12088 if test x"$enablestring" = xdisable; then
12095 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12096 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12097 # Check whether --enable-tipwindow was given.
12098 if test "${enable_tipwindow+set}" = set; then
12099 enableval=$enable_tipwindow;
12100 if test "$enableval" = yes; then
12101 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12103 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12108 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12113 eval "$wx_cv_use_tipwindow"
12115 if test x"$enablestring" = xdisable; then
12116 if test $wxUSE_TIPWINDOW = yes; then
12122 result=$wxUSE_TIPWINDOW
12125 { echo "$as_me:$LINENO: result
: $result" >&5
12126 echo "${ECHO_T}$result" >&6; }
12130 defaultval=$wxUSE_ALL_FEATURES
12131 if test -z "$defaultval"; then
12132 if test x"$enablestring" = xdisable; then
12139 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
12140 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
12141 # Check whether --enable-popupwin was given.
12142 if test "${enable_popupwin+set}" = set; then
12143 enableval=$enable_popupwin;
12144 if test "$enableval" = yes; then
12145 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12147 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12152 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12157 eval "$wx_cv_use_popupwin"
12159 if test x
"$enablestring" = xdisable
; then
12160 if test $wxUSE_POPUPWIN = yes; then
12166 result
=$wxUSE_POPUPWIN
12169 { echo "$as_me:$LINENO: result: $result" >&5
12170 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}-commondlg" >&5
12186 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12187 # Check whether --enable-commondlg was given.
12188 if test "${enable_commondlg+set}" = set; then
12189 enableval
=$enable_commondlg;
12190 if test "$enableval" = yes; then
12191 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
12193 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
12198 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12203 eval "$wx_cv_use_commondlg"
12205 if test x"$enablestring" = xdisable; then
12206 if test $wxUSE_COMMONDLGS = yes; then
12212 result=$wxUSE_COMMONDLGS
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}-aboutdlg" >&5
12230 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12231 # Check whether --enable-aboutdlg was given.
12232 if test "${enable_aboutdlg+set}" = set; then
12233 enableval=$enable_aboutdlg;
12234 if test "$enableval" = yes; then
12235 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
12237 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
12242 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12247 eval "$wx_cv_use_aboutdlg"
12249 if test x"$enablestring" = xdisable; then
12250 if test $wxUSE_ABOUTDLG = yes; then
12256 result=$wxUSE_ABOUTDLG
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}-choicedlg" >&5
12274 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
12275 # Check whether --enable-choicedlg was given.
12276 if test "${enable_choicedlg+set}" = set; then
12277 enableval=$enable_choicedlg;
12278 if test "$enableval" = yes; then
12279 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12281 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12286 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12291 eval "$wx_cv_use_choicedlg"
12293 if test x
"$enablestring" = xdisable
; then
12294 if test $wxUSE_CHOICEDLG = yes; then
12300 result
=$wxUSE_CHOICEDLG
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}-coldlg" >&5
12318 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12319 # Check whether --enable-coldlg was given.
12320 if test "${enable_coldlg+set}" = set; then
12321 enableval
=$enable_coldlg;
12322 if test "$enableval" = yes; then
12323 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
12325 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
12330 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12335 eval "$wx_cv_use_coldlg"
12337 if test x"$enablestring" = xdisable; then
12338 if test $wxUSE_COLOURDLG = yes; then
12344 result=$wxUSE_COLOURDLG
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}-filedlg" >&5
12362 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12363 # Check whether --enable-filedlg was given.
12364 if test "${enable_filedlg+set}" = set; then
12365 enableval=$enable_filedlg;
12366 if test "$enableval" = yes; then
12367 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
12369 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
12374 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12379 eval "$wx_cv_use_filedlg"
12381 if test x"$enablestring" = xdisable; then
12382 if test $wxUSE_FILEDLG = yes; then
12388 result=$wxUSE_FILEDLG
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}-finddlg" >&5
12406 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
12407 # Check whether --enable-finddlg was given.
12408 if test "${enable_finddlg+set}" = set; then
12409 enableval=$enable_finddlg;
12410 if test "$enableval" = yes; then
12411 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12413 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12418 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12423 eval "$wx_cv_use_finddlg"
12425 if test x
"$enablestring" = xdisable
; then
12426 if test $wxUSE_FINDREPLDLG = yes; then
12432 result
=$wxUSE_FINDREPLDLG
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}-fontdlg" >&5
12450 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12451 # Check whether --enable-fontdlg was given.
12452 if test "${enable_fontdlg+set}" = set; then
12453 enableval
=$enable_fontdlg;
12454 if test "$enableval" = yes; then
12455 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
12457 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
12462 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12467 eval "$wx_cv_use_fontdlg"
12469 if test x"$enablestring" = xdisable; then
12470 if test $wxUSE_FONTDLG = yes; then
12476 result=$wxUSE_FONTDLG
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}-dirdlg" >&5
12494 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12495 # Check whether --enable-dirdlg was given.
12496 if test "${enable_dirdlg+set}" = set; then
12497 enableval=$enable_dirdlg;
12498 if test "$enableval" = yes; then
12499 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
12501 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
12506 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12511 eval "$wx_cv_use_dirdlg"
12513 if test x"$enablestring" = xdisable; then
12514 if test $wxUSE_DIRDLG = yes; then
12520 result=$wxUSE_DIRDLG
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}-msgdlg" >&5
12538 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
12539 # Check whether --enable-msgdlg was given.
12540 if test "${enable_msgdlg+set}" = set; then
12541 enableval=$enable_msgdlg;
12542 if test "$enableval" = yes; then
12543 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12545 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12550 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12555 eval "$wx_cv_use_msgdlg"
12557 if test x
"$enablestring" = xdisable
; then
12558 if test $wxUSE_MSGDLG = yes; then
12564 result
=$wxUSE_MSGDLG
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}-numberdlg" >&5
12582 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12583 # Check whether --enable-numberdlg was given.
12584 if test "${enable_numberdlg+set}" = set; then
12585 enableval
=$enable_numberdlg;
12586 if test "$enableval" = yes; then
12587 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
12589 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
12594 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12599 eval "$wx_cv_use_numberdlg"
12601 if test x"$enablestring" = xdisable; then
12602 if test $wxUSE_NUMBERDLG = yes; then
12608 result=$wxUSE_NUMBERDLG
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}-splash" >&5
12626 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12627 # Check whether --enable-splash was given.
12628 if test "${enable_splash+set}" = set; then
12629 enableval=$enable_splash;
12630 if test "$enableval" = yes; then
12631 wx_cv_use_splash='wxUSE_SPLASH
=yes'
12633 wx_cv_use_splash='wxUSE_SPLASH
=no
'
12638 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12643 eval "$wx_cv_use_splash"
12645 if test x"$enablestring" = xdisable; then
12646 if test $wxUSE_SPLASH = yes; then
12652 result=$wxUSE_SPLASH
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}-textdlg" >&5
12670 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
12671 # Check whether --enable-textdlg was given.
12672 if test "${enable_textdlg+set}" = set; then
12673 enableval=$enable_textdlg;
12674 if test "$enableval" = yes; then
12675 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12677 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12682 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12687 eval "$wx_cv_use_textdlg"
12689 if test x
"$enablestring" = xdisable
; then
12690 if test $wxUSE_TEXTDLG = yes; then
12696 result
=$wxUSE_TEXTDLG
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}-tipdlg" >&5
12714 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12715 # Check whether --enable-tipdlg was given.
12716 if test "${enable_tipdlg+set}" = set; then
12717 enableval
=$enable_tipdlg;
12718 if test "$enableval" = yes; then
12719 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
12721 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
12726 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12731 eval "$wx_cv_use_tipdlg"
12733 if test x"$enablestring" = xdisable; then
12734 if test $wxUSE_STARTUP_TIPS = yes; then
12740 result=$wxUSE_STARTUP_TIPS
12743 { echo "$as_me:$LINENO: result: $result" >&5
12744 echo "${ECHO_T}$result" >&6; }
12748 defaultval=$wxUSE_ALL_FEATURES
12749 if test -z "$defaultval"; then
12750 if test x"$enablestring" = xdisable; then
12757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12758 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12759 # Check whether --enable-progressdlg was given.
12760 if test "${enable_progressdlg+set}" = set; then
12761 enableval=$enable_progressdlg;
12762 if test "$enableval" = yes; then
12763 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
12765 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
12770 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12775 eval "$wx_cv_use_progressdlg"
12777 if test x"$enablestring" = xdisable; then
12778 if test $wxUSE_PROGRESSDLG = yes; then
12784 result=$wxUSE_PROGRESSDLG
12787 { echo "$as_me:$LINENO: result
: $result" >&5
12788 echo "${ECHO_T}$result" >&6; }
12792 defaultval=$wxUSE_ALL_FEATURES
12793 if test -z "$defaultval"; then
12794 if test x"$enablestring" = xdisable; then
12801 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
12802 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
12803 # Check whether --enable-wizarddlg was given.
12804 if test "${enable_wizarddlg+set}" = set; then
12805 enableval=$enable_wizarddlg;
12806 if test "$enableval" = yes; then
12807 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12809 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12814 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12819 eval "$wx_cv_use_wizarddlg"
12821 if test x
"$enablestring" = xdisable
; then
12822 if test $wxUSE_WIZARDDLG = yes; then
12828 result
=$wxUSE_WIZARDDLG
12831 { echo "$as_me:$LINENO: result: $result" >&5
12832 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}-menus" >&5
12848 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12849 # Check whether --enable-menus was given.
12850 if test "${enable_menus+set}" = set; then
12851 enableval
=$enable_menus;
12852 if test "$enableval" = yes; then
12853 wx_cv_use_menus
='wxUSE_MENUS=yes'
12855 wx_cv_use_menus
='wxUSE_MENUS=no'
12860 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12865 eval "$wx_cv_use_menus"
12867 if test x"$enablestring" = xdisable; then
12868 if test $wxUSE_MENUS = yes; then
12874 result=$wxUSE_MENUS
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}-miniframe" >&5
12892 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12893 # Check whether --enable-miniframe was given.
12894 if test "${enable_miniframe+set}" = set; then
12895 enableval=$enable_miniframe;
12896 if test "$enableval" = yes; then
12897 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
12899 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
12904 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12909 eval "$wx_cv_use_miniframe"
12911 if test x"$enablestring" = xdisable; then
12912 if test $wxUSE_MINIFRAME = yes; then
12918 result=$wxUSE_MINIFRAME
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}-tooltips" >&5
12936 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
12937 # Check whether --enable-tooltips was given.
12938 if test "${enable_tooltips+set}" = set; then
12939 enableval=$enable_tooltips;
12940 if test "$enableval" = yes; then
12941 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12943 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12948 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12953 eval "$wx_cv_use_tooltips"
12955 if test x
"$enablestring" = xdisable
; then
12956 if test $wxUSE_TOOLTIPS = yes; then
12962 result
=$wxUSE_TOOLTIPS
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}-splines" >&5
12980 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12981 # Check whether --enable-splines was given.
12982 if test "${enable_splines+set}" = set; then
12983 enableval
=$enable_splines;
12984 if test "$enableval" = yes; then
12985 wx_cv_use_splines
='wxUSE_SPLINES=yes'
12987 wx_cv_use_splines
='wxUSE_SPLINES=no'
12992 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12997 eval "$wx_cv_use_splines"
12999 if test x"$enablestring" = xdisable; then
13000 if test $wxUSE_SPLINES = yes; then
13006 result=$wxUSE_SPLINES
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}-mousewheel" >&5
13024 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13025 # Check whether --enable-mousewheel was given.
13026 if test "${enable_mousewheel+set}" = set; then
13027 enableval=$enable_mousewheel;
13028 if test "$enableval" = yes; then
13029 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
13031 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
13036 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13041 eval "$wx_cv_use_mousewheel"
13043 if test x"$enablestring" = xdisable; then
13044 if test $wxUSE_MOUSEWHEEL = yes; then
13050 result=$wxUSE_MOUSEWHEEL
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}-validators" >&5
13068 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
13069 # Check whether --enable-validators was given.
13070 if test "${enable_validators+set}" = set; then
13071 enableval=$enable_validators;
13072 if test "$enableval" = yes; then
13073 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13075 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13080 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13085 eval "$wx_cv_use_validators"
13087 if test x
"$enablestring" = xdisable
; then
13088 if test $wxUSE_VALIDATORS = yes; then
13094 result
=$wxUSE_VALIDATORS
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}-busyinfo" >&5
13112 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13113 # Check whether --enable-busyinfo was given.
13114 if test "${enable_busyinfo+set}" = set; then
13115 enableval
=$enable_busyinfo;
13116 if test "$enableval" = yes; then
13117 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
13119 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
13124 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13129 eval "$wx_cv_use_busyinfo"
13131 if test x"$enablestring" = xdisable; then
13132 if test $wxUSE_BUSYINFO = yes; then
13138 result=$wxUSE_BUSYINFO
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}-joystick" >&5
13156 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13157 # Check whether --enable-joystick was given.
13158 if test "${enable_joystick+set}" = set; then
13159 enableval=$enable_joystick;
13160 if test "$enableval" = yes; then
13161 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
13163 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
13168 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13173 eval "$wx_cv_use_joystick"
13175 if test x"$enablestring" = xdisable; then
13176 if test $wxUSE_JOYSTICK = yes; then
13182 result=$wxUSE_JOYSTICK
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}-metafile" >&5
13200 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
13201 # Check whether --enable-metafile was given.
13202 if test "${enable_metafile+set}" = set; then
13203 enableval=$enable_metafile;
13204 if test "$enableval" = yes; then
13205 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13207 wx_cv_use_metafile='wxUSE_METAFILE=no'
13212 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13217 eval "$wx_cv_use_metafile"
13219 if test x
"$enablestring" = xdisable
; then
13220 if test $wxUSE_METAFILE = yes; then
13226 result
=$wxUSE_METAFILE
13229 { echo "$as_me:$LINENO: result: $result" >&5
13230 echo "${ECHO_T}$result" >&6; }
13234 defaultval
=$wxUSE_ALL_FEATURES
13235 if test -z "$defaultval"; then
13236 if test x
"$enablestring" = xdisable
; then
13243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13244 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13245 # Check whether --enable-dragimage was given.
13246 if test "${enable_dragimage+set}" = set; then
13247 enableval
=$enable_dragimage;
13248 if test "$enableval" = yes; then
13249 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
13251 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
13256 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13261 eval "$wx_cv_use_dragimage"
13263 if test x"$enablestring" = xdisable; then
13264 if test $wxUSE_DRAGIMAGE = yes; then
13270 result=$wxUSE_DRAGIMAGE
13273 { echo "$as_me:$LINENO: result: $result" >&5
13274 echo "${ECHO_T}$result" >&6; }
13278 defaultval=$wxUSE_ALL_FEATURES
13279 if test -z "$defaultval"; then
13280 if test x"$enablestring" = xdisable; then
13287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13288 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13289 # Check whether --enable-accessibility was given.
13290 if test "${enable_accessibility+set}" = set; then
13291 enableval=$enable_accessibility;
13292 if test "$enableval" = yes; then
13293 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
13295 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
13300 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13305 eval "$wx_cv_use_accessibility"
13307 if test x"$enablestring" = xdisable; then
13308 if test $wxUSE_ACCESSIBILITY = yes; then
13314 result=$wxUSE_ACCESSIBILITY
13317 { echo "$as_me:$LINENO: result
: $result" >&5
13318 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}-palette" >&5
13334 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
13335 # Check whether --enable-palette was given.
13336 if test "${enable_palette+set}" = set; then
13337 enableval=$enable_palette;
13338 if test "$enableval" = yes; then
13339 wx_cv_use_palette='wxUSE_PALETTE=yes'
13341 wx_cv_use_palette='wxUSE_PALETTE=no'
13346 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13351 eval "$wx_cv_use_palette"
13353 if test x
"$enablestring" = xdisable
; then
13354 if test $wxUSE_PALETTE = yes; then
13360 result
=$wxUSE_PALETTE
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}-image" >&5
13378 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13379 # Check whether --enable-image was given.
13380 if test "${enable_image+set}" = set; then
13381 enableval
=$enable_image;
13382 if test "$enableval" = yes; then
13383 wx_cv_use_image
='wxUSE_IMAGE=yes'
13385 wx_cv_use_image
='wxUSE_IMAGE=no'
13390 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13395 eval "$wx_cv_use_image"
13397 if test x"$enablestring" = xdisable; then
13398 if test $wxUSE_IMAGE = yes; then
13404 result=$wxUSE_IMAGE
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}-gif" >&5
13422 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13423 # Check whether --enable-gif was given.
13424 if test "${enable_gif+set}" = set; then
13425 enableval=$enable_gif;
13426 if test "$enableval" = yes; then
13427 wx_cv_use_gif='wxUSE_GIF
=yes'
13429 wx_cv_use_gif='wxUSE_GIF
=no
'
13434 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13439 eval "$wx_cv_use_gif"
13441 if test x"$enablestring" = xdisable; then
13442 if test $wxUSE_GIF = 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}-pcx" >&5
13466 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
13467 # Check whether --enable-pcx was given.
13468 if test "${enable_pcx+set}" = set; then
13469 enableval=$enable_pcx;
13470 if test "$enableval" = yes; then
13471 wx_cv_use_pcx='wxUSE_PCX=yes'
13473 wx_cv_use_pcx='wxUSE_PCX=no'
13478 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13483 eval "$wx_cv_use_pcx"
13485 if test x
"$enablestring" = xdisable
; then
13486 if test $wxUSE_PCX = 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}-tga" >&5
13510 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13511 # Check whether --enable-tga was given.
13512 if test "${enable_tga+set}" = set; then
13513 enableval
=$enable_tga;
13514 if test "$enableval" = yes; then
13515 wx_cv_use_tga
='wxUSE_TGA=yes'
13517 wx_cv_use_tga
='wxUSE_TGA=no'
13522 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13527 eval "$wx_cv_use_tga"
13529 if test x"$enablestring" = xdisable; then
13530 if test $wxUSE_TGA = 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}-iff" >&5
13554 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13555 # Check whether --enable-iff was given.
13556 if test "${enable_iff+set}" = set; then
13557 enableval=$enable_iff;
13558 if test "$enableval" = yes; then
13559 wx_cv_use_iff='wxUSE_IFF
=yes'
13561 wx_cv_use_iff='wxUSE_IFF
=no
'
13566 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13571 eval "$wx_cv_use_iff"
13573 if test x"$enablestring" = xdisable; then
13574 if test $wxUSE_IFF = 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}-pnm" >&5
13598 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
13599 # Check whether --enable-pnm was given.
13600 if test "${enable_pnm+set}" = set; then
13601 enableval=$enable_pnm;
13602 if test "$enableval" = yes; then
13603 wx_cv_use_pnm='wxUSE_PNM=yes'
13605 wx_cv_use_pnm='wxUSE_PNM=no'
13610 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13615 eval "$wx_cv_use_pnm"
13617 if test x
"$enablestring" = xdisable
; then
13618 if test $wxUSE_PNM = yes; then
13627 { echo "$as_me:$LINENO: result: $result" >&5
13628 echo "${ECHO_T}$result" >&6; }
13632 defaultval
=$wxUSE_ALL_FEATURES
13633 if test -z "$defaultval"; then
13634 if test x
"$enablestring" = xdisable
; then
13641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13642 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13643 # Check whether --enable-xpm was given.
13644 if test "${enable_xpm+set}" = set; then
13645 enableval
=$enable_xpm;
13646 if test "$enableval" = yes; then
13647 wx_cv_use_xpm
='wxUSE_XPM=yes'
13649 wx_cv_use_xpm
='wxUSE_XPM=no'
13654 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13659 eval "$wx_cv_use_xpm"
13661 if test x"$enablestring" = xdisable; then
13662 if test $wxUSE_XPM = yes; then
13671 { echo "$as_me:$LINENO: result: $result" >&5
13672 echo "${ECHO_T}$result" >&6; }
13676 defaultval=$wxUSE_ALL_FEATURES
13677 if test -z "$defaultval"; then
13678 if test x"$enablestring" = xdisable; then
13685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13686 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13687 # Check whether --enable-ico_cur was given.
13688 if test "${enable_ico_cur+set}" = set; then
13689 enableval=$enable_ico_cur;
13690 if test "$enableval" = yes; then
13691 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
13693 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
13698 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13703 eval "$wx_cv_use_ico_cur"
13705 if test x"$enablestring" = xdisable; then
13706 if test $wxUSE_ICO_CUR = yes; then
13712 result=$wxUSE_ICO_CUR
13715 { echo "$as_me:$LINENO: result
: $result" >&5
13716 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}-dccache" >&5
13732 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
13733 # Check whether --enable-dccache was given.
13734 if test "${enable_dccache+set}" = set; then
13735 enableval=$enable_dccache;
13736 if test "$enableval" = yes; then
13737 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13739 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13744 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13749 eval "$wx_cv_use_dccache"
13751 if test x
"$enablestring" = xdisable
; then
13752 if test $wxUSE_DC_CACHEING = yes; then
13758 result
=$wxUSE_DC_CACHEING
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}-ps-in-msw" >&5
13776 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13777 # Check whether --enable-ps-in-msw was given.
13778 if test "${enable_ps_in_msw+set}" = set; then
13779 enableval
=$enable_ps_in_msw;
13780 if test "$enableval" = yes; then
13781 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13783 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13788 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13793 eval "$wx_cv_use_ps_in_msw"
13795 if test x"$enablestring" = xdisable; then
13796 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13802 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
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}-ownerdrawn" >&5
13820 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13821 # Check whether --enable-ownerdrawn was given.
13822 if test "${enable_ownerdrawn+set}" = set; then
13823 enableval=$enable_ownerdrawn;
13824 if test "$enableval" = yes; then
13825 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
13827 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
13832 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13837 eval "$wx_cv_use_ownerdrawn"
13839 if test x"$enablestring" = xdisable; then
13840 if test $wxUSE_OWNER_DRAWN = yes; then
13846 result=$wxUSE_OWNER_DRAWN
13849 { echo "$as_me:$LINENO: result
: $result" >&5
13850 echo "${ECHO_T}$result" >&6; }
13854 defaultval=$wxUSE_ALL_FEATURES
13855 if test -z "$defaultval"; then
13856 if test x"$enablestring" = xdisable; then
13863 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
13864 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
13865 # Check whether --enable-uxtheme was given.
13866 if test "${enable_uxtheme+set}" = set; then
13867 enableval=$enable_uxtheme;
13868 if test "$enableval" = yes; then
13869 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13871 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13876 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13881 eval "$wx_cv_use_uxtheme"
13883 if test x
"$enablestring" = xdisable
; then
13884 if test $wxUSE_UXTHEME = yes; then
13890 result
=$wxUSE_UXTHEME
13893 { echo "$as_me:$LINENO: result: $result" >&5
13894 echo "${ECHO_T}$result" >&6; }
13898 defaultval
=$wxUSE_ALL_FEATURES
13899 if test -z "$defaultval"; then
13900 if test x
"$enablestring" = xdisable
; then
13907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13908 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13909 # Check whether --enable-wxdib was given.
13910 if test "${enable_wxdib+set}" = set; then
13911 enableval
=$enable_wxdib;
13912 if test "$enableval" = yes; then
13913 wx_cv_use_wxdib
='wxUSE_DIB=yes'
13915 wx_cv_use_wxdib
='wxUSE_DIB=no'
13920 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13925 eval "$wx_cv_use_wxdib"
13927 if test x"$enablestring" = xdisable; then
13928 if test $wxUSE_DIB = yes; then
13937 { echo "$as_me:$LINENO: result: $result" >&5
13938 echo "${ECHO_T}$result" >&6; }
13941 if test "$wxUSE_MSW" != 1; then
13942 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13947 defaultval=$wxUSE_ALL_FEATURES
13948 if test -z "$defaultval"; then
13949 if test x"$enablestring" = xdisable; then
13956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13957 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13958 # Check whether --enable-autoidman was given.
13959 if test "${enable_autoidman+set}" = set; then
13960 enableval=$enable_autoidman;
13961 if test "$enableval" = yes; then
13962 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
13964 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
13969 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13974 eval "$wx_cv_use_autoidman"
13976 if test x"$enablestring" = xdisable; then
13977 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13983 result=$wxUSE_AUTOID_MANAGEMENT
13986 { echo "$as_me:$LINENO: result
: $result" >&5
13987 echo "${ECHO_T}$result" >&6; }
13993 cat >confcache <<\_ACEOF
13994 # This file is a shell script that caches the results of configure
13995 # tests run on this system so they can be shared between configure
13996 # scripts and configure runs, see configure's option --config-cache.
13997 # It is not useful on other systems. If it contains results you don't
13998 # want to keep, you may remove or edit it.
14000 # config.status only pays attention to the cache file if you give it
14001 # the --recheck option to rerun configure.
14003 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14004 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14005 # following values.
14009 # The following way of writing the cache mishandles newlines in values,
14010 # but we know of no workaround that is simple, portable, and efficient.
14011 # So, we kill variables containing newlines.
14012 # Ultrix sh set writes to stderr and can't be redirected directly,
14013 # and sets the high bit in the cache file unless we assign to the vars.
14015 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14016 eval ac_val=\$$ac_var
14020 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
14021 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
14024 _ | IFS | as_nl) ;; #(
14025 *) $as_unset $ac_var ;;
14031 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14032 *${as_nl}ac_space=\ *)
14033 # `set' does not quote correctly, so add quotes (double-quote
14034 # substitution turns \\\\ into \\, and sed turns \\ into \).
14037 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14040 # `set' quotes correctly as required by POSIX, so do not add quotes.
14041 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14050 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14052 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14054 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14055 if test -w "$cache_file"; then
14056 test "x
$cache_file" != "x
/dev
/null
" &&
14057 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
14058 echo "$as_me: updating cache
$cache_file" >&6;}
14059 cat confcache >$cache_file
14061 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
14062 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14072 ac_cpp='$CPP $CPPFLAGS'
14073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14076 if test -n "$ac_tool_prefix"; then
14077 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
14078 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14079 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14080 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14081 if test "${ac_cv_prog_CC+set}" = set; then
14082 echo $ECHO_N "(cached
) $ECHO_C" >&6
14084 if test -n "$CC"; then
14085 ac_cv_prog_CC="$CC" # Let the user override the test.
14087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14088 for as_dir in $PATH
14091 test -z "$as_dir" && as_dir=.
14092 for ac_exec_ext in '' $ac_executable_extensions; do
14093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14094 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
14095 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14105 if test -n "$CC"; then
14106 { echo "$as_me:$LINENO: result
: $CC" >&5
14107 echo "${ECHO_T}$CC" >&6; }
14109 { echo "$as_me:$LINENO: result
: no
" >&5
14110 echo "${ECHO_T}no
" >&6; }
14115 if test -z "$ac_cv_prog_CC"; then
14117 # Extract the first word of "gcc
", so it can be a program name with args.
14118 set dummy gcc; ac_word=$2
14119 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14120 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14121 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14122 echo $ECHO_N "(cached
) $ECHO_C" >&6
14124 if test -n "$ac_ct_CC"; then
14125 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14128 for as_dir in $PATH
14131 test -z "$as_dir" && as_dir=.
14132 for ac_exec_ext in '' $ac_executable_extensions; do
14133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14134 ac_cv_prog_ac_ct_CC="gcc
"
14135 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14144 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14145 if test -n "$ac_ct_CC"; then
14146 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14147 echo "${ECHO_T}$ac_ct_CC" >&6; }
14149 { echo "$as_me:$LINENO: result
: no
" >&5
14150 echo "${ECHO_T}no
" >&6; }
14153 if test "x
$ac_ct_CC" = x; then
14156 case $cross_compiling:$ac_tool_warned in
14158 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14159 whose name does not start with the
host triplet. If you think this
14160 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14161 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14162 whose name does not start with the
host triplet. If you think this
14163 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14164 ac_tool_warned=yes ;;
14169 CC="$ac_cv_prog_CC"
14172 if test -z "$CC"; then
14173 if test -n "$ac_tool_prefix"; then
14174 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
14175 set dummy ${ac_tool_prefix}cc; ac_word=$2
14176 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14177 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14178 if test "${ac_cv_prog_CC+set}" = set; then
14179 echo $ECHO_N "(cached
) $ECHO_C" >&6
14181 if test -n "$CC"; then
14182 ac_cv_prog_CC="$CC" # Let the user override the test.
14184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14185 for as_dir in $PATH
14188 test -z "$as_dir" && as_dir=.
14189 for ac_exec_ext in '' $ac_executable_extensions; do
14190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14191 ac_cv_prog_CC="${ac_tool_prefix}cc
"
14192 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14202 if test -n "$CC"; then
14203 { echo "$as_me:$LINENO: result
: $CC" >&5
14204 echo "${ECHO_T}$CC" >&6; }
14206 { echo "$as_me:$LINENO: result
: no
" >&5
14207 echo "${ECHO_T}no
" >&6; }
14213 if test -z "$CC"; then
14214 # Extract the first word of "cc
", so it can be a program name with args.
14215 set dummy cc; ac_word=$2
14216 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14217 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14218 if test "${ac_cv_prog_CC+set}" = set; then
14219 echo $ECHO_N "(cached
) $ECHO_C" >&6
14221 if test -n "$CC"; then
14222 ac_cv_prog_CC="$CC" # Let the user override the test.
14224 ac_prog_rejected=no
14225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14226 for as_dir in $PATH
14229 test -z "$as_dir" && as_dir=.
14230 for ac_exec_ext in '' $ac_executable_extensions; do
14231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14232 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
14233 ac_prog_rejected=yes
14237 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14244 if test $ac_prog_rejected = yes; then
14245 # We found a bogon in the path, so make sure we never use it.
14246 set dummy $ac_cv_prog_CC
14248 if test $# != 0; then
14249 # We chose a different compiler from the bogus one.
14250 # However, it has the same basename, so the bogon will be chosen
14251 # first if we set CC to just the basename; use the full file name.
14253 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
14259 if test -n "$CC"; then
14260 { echo "$as_me:$LINENO: result
: $CC" >&5
14261 echo "${ECHO_T}$CC" >&6; }
14263 { echo "$as_me:$LINENO: result
: no
" >&5
14264 echo "${ECHO_T}no
" >&6; }
14269 if test -z "$CC"; then
14270 if test -n "$ac_tool_prefix"; then
14271 for ac_prog in cl.exe
14273 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14274 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14275 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14276 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14277 if test "${ac_cv_prog_CC+set}" = set; then
14278 echo $ECHO_N "(cached
) $ECHO_C" >&6
14280 if test -n "$CC"; then
14281 ac_cv_prog_CC="$CC" # Let the user override the test.
14283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14284 for as_dir in $PATH
14287 test -z "$as_dir" && as_dir=.
14288 for ac_exec_ext in '' $ac_executable_extensions; do
14289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14290 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14291 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14301 if test -n "$CC"; then
14302 { echo "$as_me:$LINENO: result
: $CC" >&5
14303 echo "${ECHO_T}$CC" >&6; }
14305 { echo "$as_me:$LINENO: result
: no
" >&5
14306 echo "${ECHO_T}no
" >&6; }
14310 test -n "$CC" && break
14313 if test -z "$CC"; then
14315 for ac_prog in cl.exe
14317 # Extract the first word of "$ac_prog", so it can be a program name with args.
14318 set dummy $ac_prog; ac_word=$2
14319 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14320 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14321 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14322 echo $ECHO_N "(cached
) $ECHO_C" >&6
14324 if test -n "$ac_ct_CC"; then
14325 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14328 for as_dir in $PATH
14331 test -z "$as_dir" && as_dir=.
14332 for ac_exec_ext in '' $ac_executable_extensions; do
14333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14334 ac_cv_prog_ac_ct_CC="$ac_prog"
14335 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14345 if test -n "$ac_ct_CC"; then
14346 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14347 echo "${ECHO_T}$ac_ct_CC" >&6; }
14349 { echo "$as_me:$LINENO: result
: no
" >&5
14350 echo "${ECHO_T}no
" >&6; }
14354 test -n "$ac_ct_CC" && break
14357 if test "x
$ac_ct_CC" = x; then
14360 case $cross_compiling:$ac_tool_warned in
14362 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
14363 whose name does not start with the
host triplet. If you think this
14364 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
14365 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14366 whose name does not start with the
host triplet. If you think this
14367 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14368 ac_tool_warned=yes ;;
14377 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
14378 See \
`config.log' for more details." >&5
14379 echo "$as_me: error: no acceptable C compiler found in \$PATH
14380 See \`config.log
' for more details." >&2;}
14381 { (exit 1); exit 1; }; }
14383 # Provide some information about the compiler.
14384 echo "$as_me:$LINENO: checking for C compiler version" >&5
14385 ac_compiler=`set X $ac_compile; echo $2`
14386 { (ac_try="$ac_compiler --version >&5"
14387 case "(($ac_try" in
14388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14389 *) ac_try_echo=$ac_try;;
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_compiler --version >&5") 2>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }
14396 { (ac_try="$ac_compiler -v >&5"
14397 case "(($ac_try" in
14398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14399 *) ac_try_echo=$ac_try;;
14401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14402 (eval "$ac_compiler -v >&5") 2>&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }
14406 { (ac_try="$ac_compiler -V >&5"
14407 case "(($ac_try" in
14408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14409 *) ac_try_echo=$ac_try;;
14411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14412 (eval "$ac_compiler -V >&5") 2>&5
14414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415 (exit $ac_status); }
14417 cat >conftest.$ac_ext <<_ACEOF
14420 cat confdefs.h >>conftest.$ac_ext
14421 cat >>conftest.$ac_ext <<_ACEOF
14422 /* end confdefs.h. */
14432 ac_clean_files_save=$ac_clean_files
14433 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14434 # Try to create an executable without -o first, disregard a.out.
14435 # It will help us diagnose broken compilers, and finding out an intuition
14437 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14438 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14439 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
14441 # List of possible output files, starting from the most likely.
14442 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
14443 # only as a last resort. b.out is created by i960 compilers.
14444 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14446 # The IRIX 6 linker writes into existing files which may not be
14447 # executable, retaining their permissions. Remove them first so a
14448 # subsequent execution test works.
14450 for ac_file
in $ac_files
14453 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14454 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
14459 if { (ac_try
="$ac_link_default"
14460 case "(($ac_try" in
14461 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14462 *) ac_try_echo=$ac_try;;
14464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14465 (eval "$ac_link_default") 2>&5
14467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14468 (exit $ac_status); }; then
14469 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
14470 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
14471 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14472 # so that the user can short-circuit this test for compilers unknown to
14474 for ac_file in $ac_files ''
14476 test -f "$ac_file" || continue
14478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14481 # We found the default executable, but exeext='' is most
14485 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14487 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14489 # We set ac_cv_exeext here because the later test for it is not
14490 # safe: cross compilers may not add the suffix if given an `-o'
14491 # argument, so we may need to know it at that point already.
14492 # Even if this section looks crufty: it has the advantage of
14493 # actually working.
14499 test "$ac_cv_exeext" = no && ac_cv_exeext=
14505 { echo "$as_me:$LINENO: result: $ac_file" >&5
14506 echo "${ECHO_T}$ac_file" >&6; }
14507 if test -z "$ac_file"; then
14508 echo "$as_me: failed program was:" >&5
14509 sed 's
/^
/| /' conftest.$ac_ext >&5
14511 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14512 See \`config.log' for more details.
" >&5
14513 echo "$as_me: error
: C compiler cannot create executables
14514 See \
`config.log' for more details." >&2;}
14515 { (exit 77); exit 77; }; }
14518 ac_exeext=$ac_cv_exeext
14520 # Check that the compiler produces executables we can run. If not, either
14521 # the compiler is broken, or we cross compile.
14522 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14523 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14524 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14525 # If not cross compiling, check that we can run a simple program.
14526 if test "$cross_compiling" != yes; then
14527 if { ac_try='./$ac_file'
14528 { (case "(($ac_try" in
14529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14530 *) ac_try_echo
=$ac_try;;
14532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14533 (eval "$ac_try") 2>&5
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); }; }; then
14539 if test "$cross_compiling" = maybe
; then
14540 cross_compiling
=yes
14542 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14543 If you meant to cross compile, use \`--host'.
14544 See \`config.log' for more details." >&5
14545 echo "$as_me: error: cannot run C compiled programs.
14546 If you meant to cross compile, use \`--host'.
14547 See \`config.log' for more details." >&2;}
14548 { (exit 1); exit 1; }; }
14552 { echo "$as_me:$LINENO: result: yes" >&5
14553 echo "${ECHO_T}yes" >&6; }
14555 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
14556 ac_clean_files
=$ac_clean_files_save
14557 # Check that the compiler produces executables we can run. If not, either
14558 # the compiler is broken, or we cross compile.
14559 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14560 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14561 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14562 echo "${ECHO_T}$cross_compiling" >&6; }
14564 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14565 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14566 if { (ac_try
="$ac_link"
14567 case "(($ac_try" in
14568 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14569 *) ac_try_echo=$ac_try;;
14571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14572 (eval "$ac_link") 2>&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); }; then
14576 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
14577 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
14578 # work properly (i.e., refer to `conftest.exe'), while it won't with
14580 for ac_file
in conftest.exe conftest conftest.
*; do
14581 test -f "$ac_file" || continue
14583 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14584 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14590 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14591 See \`config.log' for more details." >&5
14592 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14593 See \`config.log' for more details." >&2;}
14594 { (exit 1); exit 1; }; }
14597 rm -f conftest
$ac_cv_exeext
14598 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14599 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14601 rm -f conftest.
$ac_ext
14602 EXEEXT
=$ac_cv_exeext
14604 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14605 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14606 if test "${ac_cv_objext+set}" = set; then
14607 echo $ECHO_N "(cached) $ECHO_C" >&6
14609 cat >conftest.
$ac_ext <<_ACEOF
14612 cat confdefs.h
>>conftest.
$ac_ext
14613 cat >>conftest.
$ac_ext <<_ACEOF
14614 /* end confdefs.h. */
14624 rm -f conftest.o conftest.obj
14625 if { (ac_try
="$ac_compile"
14626 case "(($ac_try" in
14627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14628 *) ac_try_echo=$ac_try;;
14630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14631 (eval "$ac_compile") 2>&5
14633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); }; then
14635 for ac_file in conftest.o conftest.obj conftest.*; do
14636 test -f "$ac_file" || continue;
14638 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14639 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14644 echo "$as_me: failed program was:" >&5
14645 sed 's/^/| /' conftest.$ac_ext >&5
14647 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14648 See \`config.log
' for more details." >&5
14649 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14650 See \`config.log' for more details.
" >&2;}
14651 { (exit 1); exit 1; }; }
14654 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14656 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14657 echo "${ECHO_T}$ac_cv_objext" >&6; }
14658 OBJEXT=$ac_cv_objext
14660 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14661 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14662 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14663 echo $ECHO_N "(cached
) $ECHO_C" >&6
14665 cat >conftest.$ac_ext <<_ACEOF
14668 cat confdefs.h >>conftest.$ac_ext
14669 cat >>conftest.$ac_ext <<_ACEOF
14670 /* end confdefs.h. */
14683 rm -f conftest.$ac_objext
14684 if { (ac_try="$ac_compile"
14685 case "(($ac_try" in
14686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14687 *) ac_try_echo=$ac_try;;
14689 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14690 (eval "$ac_compile") 2>conftest.er1
14692 grep -v '^ *+' conftest.er1 >conftest.err
14694 cat conftest.err >&5
14695 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14696 (exit $ac_status); } && {
14697 test -z "$ac_c_werror_flag" ||
14698 test ! -s conftest.err
14699 } && test -s conftest.$ac_objext; then
14700 ac_compiler_gnu=yes
14702 echo "$as_me: failed program was
:" >&5
14703 sed 's/^/| /' conftest.$ac_ext >&5
14708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14709 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14712 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14713 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14714 GCC=`test $ac_compiler_gnu = yes && echo yes`
14715 ac_test_CFLAGS=${CFLAGS+set}
14716 ac_save_CFLAGS=$CFLAGS
14717 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14718 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14719 if test "${ac_cv_prog_cc_g+set}" = set; then
14720 echo $ECHO_N "(cached
) $ECHO_C" >&6
14722 ac_save_c_werror_flag=$ac_c_werror_flag
14723 ac_c_werror_flag=yes
14726 cat >conftest.$ac_ext <<_ACEOF
14729 cat confdefs.h >>conftest.$ac_ext
14730 cat >>conftest.$ac_ext <<_ACEOF
14731 /* end confdefs.h. */
14741 rm -f conftest.$ac_objext
14742 if { (ac_try="$ac_compile"
14743 case "(($ac_try" in
14744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14745 *) ac_try_echo=$ac_try;;
14747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14748 (eval "$ac_compile") 2>conftest.er1
14750 grep -v '^ *+' conftest.er1 >conftest.err
14752 cat conftest.err >&5
14753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14754 (exit $ac_status); } && {
14755 test -z "$ac_c_werror_flag" ||
14756 test ! -s conftest.err
14757 } && test -s conftest.$ac_objext; then
14758 ac_cv_prog_cc_g=yes
14760 echo "$as_me: failed program was
:" >&5
14761 sed 's/^/| /' conftest.$ac_ext >&5
14764 cat >conftest.$ac_ext <<_ACEOF
14767 cat confdefs.h >>conftest.$ac_ext
14768 cat >>conftest.$ac_ext <<_ACEOF
14769 /* end confdefs.h. */
14779 rm -f conftest.$ac_objext
14780 if { (ac_try="$ac_compile"
14781 case "(($ac_try" in
14782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14783 *) ac_try_echo=$ac_try;;
14785 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14786 (eval "$ac_compile") 2>conftest.er1
14788 grep -v '^ *+' conftest.er1 >conftest.err
14790 cat conftest.err >&5
14791 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14792 (exit $ac_status); } && {
14793 test -z "$ac_c_werror_flag" ||
14794 test ! -s conftest.err
14795 } && test -s conftest.$ac_objext; then
14798 echo "$as_me: failed program was
:" >&5
14799 sed 's/^/| /' conftest.$ac_ext >&5
14801 ac_c_werror_flag=$ac_save_c_werror_flag
14803 cat >conftest.$ac_ext <<_ACEOF
14806 cat confdefs.h >>conftest.$ac_ext
14807 cat >>conftest.$ac_ext <<_ACEOF
14808 /* end confdefs.h. */
14818 rm -f conftest.$ac_objext
14819 if { (ac_try="$ac_compile"
14820 case "(($ac_try" in
14821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14822 *) ac_try_echo=$ac_try;;
14824 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14825 (eval "$ac_compile") 2>conftest.er1
14827 grep -v '^ *+' conftest.er1 >conftest.err
14829 cat conftest.err >&5
14830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14831 (exit $ac_status); } && {
14832 test -z "$ac_c_werror_flag" ||
14833 test ! -s conftest.err
14834 } && test -s conftest.$ac_objext; then
14835 ac_cv_prog_cc_g=yes
14837 echo "$as_me: failed program was
:" >&5
14838 sed 's/^/| /' conftest.$ac_ext >&5
14843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14850 ac_c_werror_flag=$ac_save_c_werror_flag
14852 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14853 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14854 if test "$ac_test_CFLAGS" = set; then
14855 CFLAGS=$ac_save_CFLAGS
14856 elif test $ac_cv_prog_cc_g = yes; then
14857 if test "$GCC" = yes; then
14863 if test "$GCC" = yes; then
14869 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14870 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14871 if test "${ac_cv_prog_cc_c89+set}" = set; then
14872 echo $ECHO_N "(cached
) $ECHO_C" >&6
14874 ac_cv_prog_cc_c89=no
14876 cat >conftest.$ac_ext <<_ACEOF
14879 cat confdefs.h >>conftest.$ac_ext
14880 cat >>conftest.$ac_ext <<_ACEOF
14881 /* end confdefs.h. */
14882 #include <stdarg.h>
14884 #include <sys/types.h>
14885 #include <sys/stat.h>
14886 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14887 struct buf { int x; };
14888 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14889 static char *e (p, i)
14895 static char *f (char * (*g) (char **, int), char **p, ...)
14900 s = g (p, va_arg (v,int));
14905 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14906 function prototypes and stuff, but not '\xHH' hex character constants.
14907 These don't provoke an error unfortunately, instead are silently treated
14908 as 'x'. The following induces an error, until -std is added to get
14909 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14910 array size at least. It's necessary to write '\x00'==0 to get something
14911 that's true only with -std. */
14912 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14914 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14915 inside strings and character constants. */
14917 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14919 int test (int i, double x);
14920 struct s1 {int (*f) (int a);};
14921 struct s2 {int (*f) (double a);};
14922 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14928 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14933 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14934 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14936 CC="$ac_save_CC $ac_arg"
14937 rm -f conftest.$ac_objext
14938 if { (ac_try="$ac_compile"
14939 case "(($ac_try" in
14940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14941 *) ac_try_echo=$ac_try;;
14943 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14944 (eval "$ac_compile") 2>conftest.er1
14946 grep -v '^ *+' conftest.er1 >conftest.err
14948 cat conftest.err >&5
14949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14950 (exit $ac_status); } && {
14951 test -z "$ac_c_werror_flag" ||
14952 test ! -s conftest.err
14953 } && test -s conftest.$ac_objext; then
14954 ac_cv_prog_cc_c89=$ac_arg
14956 echo "$as_me: failed program was
:" >&5
14957 sed 's/^/| /' conftest.$ac_ext >&5
14962 rm -f core conftest.err conftest.$ac_objext
14963 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14965 rm -f conftest.$ac_ext
14970 case "x
$ac_cv_prog_cc_c89" in
14972 { echo "$as_me:$LINENO: result
: none needed
" >&5
14973 echo "${ECHO_T}none needed
" >&6; } ;;
14975 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14976 echo "${ECHO_T}unsupported
" >&6; } ;;
14978 CC="$CC $ac_cv_prog_cc_c89"
14979 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14980 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14985 ac_cpp='$CPP $CPPFLAGS'
14986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14994 ac_cpp='$CPP $CPPFLAGS'
14995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14999 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15000 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15001 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15002 echo $ECHO_N "(cached
) $ECHO_C" >&6
15004 cat >conftest.$ac_ext <<_ACEOF
15007 cat confdefs.h >>conftest.$ac_ext
15008 cat >>conftest.$ac_ext <<_ACEOF
15009 /* end confdefs.h. */
15015 #ifndef __INTEL_COMPILER
15023 rm -f conftest.$ac_objext
15024 if { (ac_try="$ac_compile"
15025 case "(($ac_try" in
15026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15027 *) ac_try_echo=$ac_try;;
15029 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15030 (eval "$ac_compile") 2>conftest.er1
15032 grep -v '^ *+' conftest.er1 >conftest.err
15034 cat conftest.err >&5
15035 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15036 (exit $ac_status); } && {
15037 test -z "$ac_c_werror_flag" ||
15038 test ! -s conftest.err
15039 } && test -s conftest.$ac_objext; then
15040 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15042 echo "$as_me: failed program was
:" >&5
15043 sed 's/^/| /' conftest.$ac_ext >&5
15045 bakefile_cv_c_compiler___INTEL_COMPILER=no
15049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15053 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15054 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15055 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15061 ac_cpp='$CPP $CPPFLAGS'
15062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15069 if test "$INTELCC" = "yes"; then
15073 ac_cpp='$CPP $CPPFLAGS'
15074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15078 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15079 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15080 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15081 echo $ECHO_N "(cached
) $ECHO_C" >&6
15083 cat >conftest.$ac_ext <<_ACEOF
15086 cat confdefs.h >>conftest.$ac_ext
15087 cat >>conftest.$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15094 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15102 rm -f conftest.$ac_objext
15103 if { (ac_try="$ac_compile"
15104 case "(($ac_try" in
15105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15106 *) ac_try_echo=$ac_try;;
15108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15109 (eval "$ac_compile") 2>conftest.er1
15111 grep -v '^ *+' conftest.er1 >conftest.err
15113 cat conftest.err >&5
15114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15115 (exit $ac_status); } && {
15116 test -z "$ac_c_werror_flag" ||
15117 test ! -s conftest.err
15118 } && test -s conftest.$ac_objext; then
15119 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15121 echo "$as_me: failed program was
:" >&5
15122 sed 's/^/| /' conftest.$ac_ext >&5
15124 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15132 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15133 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15134 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15140 ac_cpp='$CPP $CPPFLAGS'
15141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15150 ac_cpp='$CPP $CPPFLAGS'
15151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15155 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15156 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15157 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15158 echo $ECHO_N "(cached
) $ECHO_C" >&6
15160 cat >conftest.$ac_ext <<_ACEOF
15163 cat confdefs.h >>conftest.$ac_ext
15164 cat >>conftest.$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15171 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15179 rm -f conftest.$ac_objext
15180 if { (ac_try="$ac_compile"
15181 case "(($ac_try" in
15182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15183 *) ac_try_echo=$ac_try;;
15185 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15186 (eval "$ac_compile") 2>conftest.er1
15188 grep -v '^ *+' conftest.er1 >conftest.err
15190 cat conftest.err >&5
15191 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15192 (exit $ac_status); } && {
15193 test -z "$ac_c_werror_flag" ||
15194 test ! -s conftest.err
15195 } && test -s conftest.$ac_objext; then
15196 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15198 echo "$as_me: failed program was
:" >&5
15199 sed 's/^/| /' conftest.$ac_ext >&5
15201 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15209 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15210 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15211 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15217 ac_cpp='$CPP $CPPFLAGS'
15218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15226 if test "x
$GCC" != "xyes
"; then
15227 if test "xCC
" = "xC
"; then
15228 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15229 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15230 if test "${bakefile_cv_c_exto+set}" = set; then
15231 echo $ECHO_N "(cached
) $ECHO_C" >&6
15233 cat >conftest.$ac_ext <<_ACEOF
15236 cat confdefs.h >>conftest.$ac_ext
15237 cat >>conftest.$ac_ext <<_ACEOF
15238 /* end confdefs.h. */
15248 rm -f conftest.$ac_objext conftest.$ac_ext.o
15249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15250 (eval $ac_compile) 2>&5
15252 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15253 (exit $ac_status); }; then
15254 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15256 conftest.$ac_ext.o)
15257 bakefile_cv_c_exto="-ext o
"
15264 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15265 See \
`config.log' for more details." >&5
15266 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15267 See \`config.log
' for more details." >&2;}
15268 { (exit 1); exit 1; }; }
15272 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15275 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15276 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15277 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15278 if test "c" = "c"; then
15279 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15281 if test "c" = "cxx"; then
15282 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15286 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15287 unset ac_cv_prog_cc_g
15288 ac_test_CFLAGS=${CFLAGS+set}
15289 ac_save_CFLAGS=$CFLAGS
15290 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15291 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15292 if test "${ac_cv_prog_cc_g+set}" = set; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15295 ac_save_c_werror_flag=$ac_c_werror_flag
15296 ac_c_werror_flag=yes
15299 cat >conftest.$ac_ext <<_ACEOF
15302 cat confdefs.h >>conftest.$ac_ext
15303 cat >>conftest.$ac_ext <<_ACEOF
15304 /* 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 ac_cv_prog_cc_g=yes
15333 echo "$as_me: failed program was:" >&5
15334 sed 's
/^
/| /' conftest.$ac_ext >&5
15337 cat >conftest.$ac_ext <<_ACEOF
15340 cat confdefs.h >>conftest.$ac_ext
15341 cat >>conftest.$ac_ext <<_ACEOF
15342 /* end confdefs.h. */
15352 rm -f conftest.$ac_objext
15353 if { (ac_try="$ac_compile"
15354 case "(($ac_try" in
15355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15356 *) ac_try_echo=$ac_try;;
15358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15359 (eval "$ac_compile") 2>conftest.er1
15361 grep -v '^
*+' conftest.er1 >conftest.err
15363 cat conftest.err >&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); } && {
15366 test -z "$ac_c_werror_flag" ||
15367 test ! -s conftest.err
15368 } && test -s conftest.$ac_objext; then
15371 echo "$as_me: failed program was:" >&5
15372 sed 's
/^
/| /' conftest.$ac_ext >&5
15374 ac_c_werror_flag=$ac_save_c_werror_flag
15376 cat >conftest.$ac_ext <<_ACEOF
15379 cat confdefs.h >>conftest.$ac_ext
15380 cat >>conftest.$ac_ext <<_ACEOF
15381 /* 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 ac_cv_prog_cc_g=yes
15410 echo "$as_me: failed program was:" >&5
15411 sed 's
/^
/| /' conftest.$ac_ext >&5
15416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15423 ac_c_werror_flag=$ac_save_c_werror_flag
15425 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15426 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15427 if test "$ac_test_CFLAGS" = set; then
15428 CFLAGS=$ac_save_CFLAGS
15429 elif test $ac_cv_prog_cc_g = yes; then
15430 if test "$GCC" = yes; then
15436 if test "$GCC" = yes; then
15450 ac_cpp='$CPP $CPPFLAGS'
15451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15452 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15455 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15456 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15457 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15460 cat >conftest.$ac_ext <<_ACEOF
15463 cat confdefs.h >>conftest.$ac_ext
15464 cat >>conftest.$ac_ext <<_ACEOF
15465 /* end confdefs.h. */
15479 rm -f conftest.$ac_objext
15480 if { (ac_try="$ac_compile"
15481 case "(($ac_try" in
15482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15483 *) ac_try_echo=$ac_try;;
15485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15486 (eval "$ac_compile") 2>conftest.er1
15488 grep -v '^
*+' conftest.er1 >conftest.err
15490 cat conftest.err >&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } && {
15493 test -z "$ac_c_werror_flag" ||
15494 test ! -s conftest.err
15495 } && test -s conftest.$ac_objext; then
15496 bakefile_cv_c_compiler___xlC__=yes
15498 echo "$as_me: failed program was:" >&5
15499 sed 's
/^
/| /' conftest.$ac_ext >&5
15501 bakefile_cv_c_compiler___xlC__=no
15505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15509 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15510 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15511 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15517 ac_cpp='$CPP $CPPFLAGS'
15518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15519 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15530 ac_cpp='$CPP $CPPFLAGS'
15531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15532 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15535 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15536 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15537 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15538 echo $ECHO_N "(cached) $ECHO_C" >&6
15540 cat >conftest.$ac_ext <<_ACEOF
15543 cat confdefs.h >>conftest.$ac_ext
15544 cat >>conftest.$ac_ext <<_ACEOF
15545 /* end confdefs.h. */
15559 rm -f conftest.$ac_objext
15560 if { (ac_try="$ac_compile"
15561 case "(($ac_try" in
15562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15563 *) ac_try_echo=$ac_try;;
15565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15566 (eval "$ac_compile") 2>conftest.er1
15568 grep -v '^
*+' conftest.er1 >conftest.err
15570 cat conftest.err >&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); } && {
15573 test -z "$ac_c_werror_flag" ||
15574 test ! -s conftest.err
15575 } && test -s conftest.$ac_objext; then
15576 bakefile_cv_c_compiler___MWERKS__=yes
15578 echo "$as_me: failed program was:" >&5
15579 sed 's
/^
/| /' conftest.$ac_ext >&5
15581 bakefile_cv_c_compiler___MWERKS__=no
15585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15589 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15590 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15591 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15597 ac_cpp='$CPP $CPPFLAGS'
15598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15599 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15604 if test "$MWCC" != "yes"; then
15608 ac_cpp='$CPP $CPPFLAGS'
15609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15610 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15613 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15614 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15615 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15618 cat >conftest.$ac_ext <<_ACEOF
15621 cat confdefs.h >>conftest.$ac_ext
15622 cat >>conftest.$ac_ext <<_ACEOF
15623 /* end confdefs.h. */
15637 rm -f conftest.$ac_objext
15638 if { (ac_try="$ac_compile"
15639 case "(($ac_try" in
15640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15641 *) ac_try_echo=$ac_try;;
15643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15644 (eval "$ac_compile") 2>conftest.er1
15646 grep -v '^
*+' conftest.er1 >conftest.err
15648 cat conftest.err >&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); } && {
15651 test -z "$ac_c_werror_flag" ||
15652 test ! -s conftest.err
15653 } && test -s conftest.$ac_objext; then
15654 bakefile_cv_c_compiler___xlC__=yes
15656 echo "$as_me: failed program was:" >&5
15657 sed 's
/^
/| /' conftest.$ac_ext >&5
15659 bakefile_cv_c_compiler___xlC__=no
15663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15667 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15668 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15669 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15675 ac_cpp='$CPP $CPPFLAGS'
15676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15677 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15689 ac_cpp='$CPP $CPPFLAGS'
15690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15691 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15694 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15695 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15696 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 cat >conftest.$ac_ext <<_ACEOF
15702 cat confdefs.h >>conftest.$ac_ext
15703 cat >>conftest.$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15710 #ifndef _SGI_COMPILER_VERSION
15718 rm -f conftest.$ac_objext
15719 if { (ac_try="$ac_compile"
15720 case "(($ac_try" in
15721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15722 *) ac_try_echo=$ac_try;;
15724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15725 (eval "$ac_compile") 2>conftest.er1
15727 grep -v '^
*+' conftest.er1 >conftest.err
15729 cat conftest.err >&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } && {
15732 test -z "$ac_c_werror_flag" ||
15733 test ! -s conftest.err
15734 } && test -s conftest.$ac_objext; then
15735 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15737 echo "$as_me: failed program was:" >&5
15738 sed 's
/^
/| /' conftest.$ac_ext >&5
15740 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15748 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15749 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15750 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15756 ac_cpp='$CPP $CPPFLAGS'
15757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15758 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15766 if test "$INTELCC" != "yes"; then
15770 ac_cpp='$CPP $CPPFLAGS'
15771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15772 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15775 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15776 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15777 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15778 echo $ECHO_N "(cached) $ECHO_C" >&6
15780 cat >conftest.$ac_ext <<_ACEOF
15783 cat confdefs.h >>conftest.$ac_ext
15784 cat >>conftest.$ac_ext <<_ACEOF
15785 /* end confdefs.h. */
15799 rm -f conftest.$ac_objext
15800 if { (ac_try="$ac_compile"
15801 case "(($ac_try" in
15802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15803 *) ac_try_echo=$ac_try;;
15805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15806 (eval "$ac_compile") 2>conftest.er1
15808 grep -v '^
*+' conftest.er1 >conftest.err
15810 cat conftest.err >&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); } && {
15813 test -z "$ac_c_werror_flag" ||
15814 test ! -s conftest.err
15815 } && test -s conftest.$ac_objext; then
15816 bakefile_cv_c_compiler___SUNPRO_C=yes
15818 echo "$as_me: failed program was:" >&5
15819 sed 's
/^
/| /' conftest.$ac_ext >&5
15821 bakefile_cv_c_compiler___SUNPRO_C=no
15825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15829 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15830 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15831 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15837 ac_cpp='$CPP $CPPFLAGS'
15838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15839 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15851 ac_cpp='$CPP $CPPFLAGS'
15852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15853 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15856 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15857 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15858 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15859 echo $ECHO_N "(cached) $ECHO_C" >&6
15861 cat >conftest.$ac_ext <<_ACEOF
15864 cat confdefs.h >>conftest.$ac_ext
15865 cat >>conftest.$ac_ext <<_ACEOF
15866 /* end confdefs.h. */
15880 rm -f conftest.$ac_objext
15881 if { (ac_try="$ac_compile"
15882 case "(($ac_try" in
15883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15884 *) ac_try_echo=$ac_try;;
15886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15887 (eval "$ac_compile") 2>conftest.er1
15889 grep -v '^
*+' conftest.er1 >conftest.err
15891 cat conftest.err >&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } && {
15894 test -z "$ac_c_werror_flag" ||
15895 test ! -s conftest.err
15896 } && test -s conftest.$ac_objext; then
15897 bakefile_cv_c_compiler___HP_cc=yes
15899 echo "$as_me: failed program was:" >&5
15900 sed 's
/^
/| /' conftest.$ac_ext >&5
15902 bakefile_cv_c_compiler___HP_cc=no
15906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15911 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15912 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15918 ac_cpp='$CPP $CPPFLAGS'
15919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15920 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15931 ac_cpp='$CPP $CPPFLAGS'
15932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15933 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15936 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15937 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15938 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15939 echo $ECHO_N "(cached) $ECHO_C" >&6
15941 cat >conftest.$ac_ext <<_ACEOF
15944 cat confdefs.h >>conftest.$ac_ext
15945 cat >>conftest.$ac_ext <<_ACEOF
15946 /* end confdefs.h. */
15960 rm -f conftest.$ac_objext
15961 if { (ac_try="$ac_compile"
15962 case "(($ac_try" in
15963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15964 *) ac_try_echo=$ac_try;;
15966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15967 (eval "$ac_compile") 2>conftest.er1
15969 grep -v '^
*+' conftest.er1 >conftest.err
15971 cat conftest.err >&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); } && {
15974 test -z "$ac_c_werror_flag" ||
15975 test ! -s conftest.err
15976 } && test -s conftest.$ac_objext; then
15977 bakefile_cv_c_compiler___DECC=yes
15979 echo "$as_me: failed program was:" >&5
15980 sed 's
/^
/| /' conftest.$ac_ext >&5
15982 bakefile_cv_c_compiler___DECC=no
15986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15990 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15991 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15992 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15998 ac_cpp='$CPP $CPPFLAGS'
15999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16000 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16011 ac_cpp='$CPP $CPPFLAGS'
16012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16013 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16016 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16017 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16018 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16019 echo $ECHO_N "(cached) $ECHO_C" >&6
16021 cat >conftest.$ac_ext <<_ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16040 rm -f conftest.$ac_objext
16041 if { (ac_try="$ac_compile"
16042 case "(($ac_try" in
16043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16044 *) ac_try_echo=$ac_try;;
16046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16047 (eval "$ac_compile") 2>conftest.er1
16049 grep -v '^
*+' conftest.er1 >conftest.err
16051 cat conftest.err >&5
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); } && {
16054 test -z "$ac_c_werror_flag" ||
16055 test ! -s conftest.err
16056 } && test -s conftest.$ac_objext; then
16057 bakefile_cv_c_compiler___SUNPRO_C=yes
16059 echo "$as_me: failed program was:" >&5
16060 sed 's
/^
/| /' conftest.$ac_ext >&5
16062 bakefile_cv_c_compiler___SUNPRO_C=no
16066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16070 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16071 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16072 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16078 ac_cpp='$CPP $CPPFLAGS'
16079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16080 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16092 ac_cpp='$CPP $CPPFLAGS'
16093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16094 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16096 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16097 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16098 # On Suns, sometimes $CPP names a directory.
16099 if test -n "$CPP" && test -d "$CPP"; then
16102 if test -z "$CPP"; then
16103 if test "${ac_cv_prog_CPP+set}" = set; then
16104 echo $ECHO_N "(cached) $ECHO_C" >&6
16106 # Double quotes because CPP needs to be expanded
16107 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16109 ac_preproc_ok=false
16110 for ac_c_preproc_warn_flag in '' yes
16112 # Use a header file that comes with gcc, so configuring glibc
16113 # with a fresh cross-compiler works.
16114 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16115 # <limits.h> exists even on freestanding compilers.
16116 # On the NeXT, cc -E runs the code through the compiler's parser
,
16117 # not just through cpp. "Syntax error" is here to catch this case.
16118 cat >conftest.
$ac_ext <<_ACEOF
16121 cat confdefs.h
>>conftest.
$ac_ext
16122 cat >>conftest.
$ac_ext <<_ACEOF
16123 /* end confdefs.h. */
16125 # include <limits.h>
16127 # include <assert.h>
16131 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16132 case "(($ac_try" in
16133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16134 *) ac_try_echo=$ac_try;;
16136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16137 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16139 grep -v '^ *+' conftest.er1 >conftest.err
16141 cat conftest.err >&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); } >/dev/null && {
16144 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16145 test ! -s conftest.err
16149 echo "$as_me: failed program was:" >&5
16150 sed 's/^/| /' conftest.$ac_ext >&5
16152 # Broken: fails on valid input.
16156 rm -f conftest.err conftest.$ac_ext
16158 # OK, works on sane cases. Now check whether nonexistent headers
16159 # can be detected and how.
16160 cat >conftest.$ac_ext <<_ACEOF
16163 cat confdefs.h >>conftest.$ac_ext
16164 cat >>conftest.$ac_ext <<_ACEOF
16165 /* end confdefs.h. */
16166 #include <ac_nonexistent.h>
16168 if { (ac_try="$ac_cpp conftest.$ac_ext"
16169 case "(($ac_try" in
16170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16171 *) ac_try_echo
=$ac_try;;
16173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16176 grep -v '^ *+' conftest.er1
>conftest.err
16178 cat conftest.err
>&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180 (exit $ac_status); } >/dev
/null
&& {
16181 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16182 test ! -s conftest.err
16184 # Broken: success on invalid input.
16187 echo "$as_me: failed program was:" >&5
16188 sed 's/^/| /' conftest.
$ac_ext >&5
16190 # Passes both tests.
16195 rm -f conftest.err conftest.
$ac_ext
16198 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16199 rm -f conftest.err conftest.
$ac_ext
16200 if $ac_preproc_ok; then
16205 ac_cv_prog_CPP
=$CPP
16208 CPP
=$ac_cv_prog_CPP
16210 ac_cv_prog_CPP
=$CPP
16212 { echo "$as_me:$LINENO: result: $CPP" >&5
16213 echo "${ECHO_T}$CPP" >&6; }
16214 ac_preproc_ok
=false
16215 for ac_c_preproc_warn_flag
in '' yes
16217 # Use a header file that comes with gcc, so configuring glibc
16218 # with a fresh cross-compiler works.
16219 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16220 # <limits.h> exists even on freestanding compilers.
16221 # On the NeXT, cc -E runs the code through the compiler's parser,
16222 # not just through cpp. "Syntax error" is here to catch this case.
16223 cat >conftest.
$ac_ext <<_ACEOF
16226 cat confdefs.h
>>conftest.
$ac_ext
16227 cat >>conftest.
$ac_ext <<_ACEOF
16228 /* end confdefs.h. */
16230 # include <limits.h>
16232 # include <assert.h>
16236 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16237 case "(($ac_try" in
16238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16239 *) ac_try_echo=$ac_try;;
16241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16242 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16244 grep -v '^ *+' conftest.er1 >conftest.err
16246 cat conftest.err >&5
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); } >/dev/null && {
16249 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16250 test ! -s conftest.err
16254 echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.$ac_ext >&5
16257 # Broken: fails on valid input.
16261 rm -f conftest.err conftest.$ac_ext
16263 # OK, works on sane cases. Now check whether nonexistent headers
16264 # can be detected and how.
16265 cat >conftest.$ac_ext <<_ACEOF
16268 cat confdefs.h >>conftest.$ac_ext
16269 cat >>conftest.$ac_ext <<_ACEOF
16270 /* end confdefs.h. */
16271 #include <ac_nonexistent.h>
16273 if { (ac_try="$ac_cpp conftest.$ac_ext"
16274 case "(($ac_try" in
16275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16276 *) ac_try_echo
=$ac_try;;
16278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16281 grep -v '^ *+' conftest.er1
>conftest.err
16283 cat conftest.err
>&5
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285 (exit $ac_status); } >/dev
/null
&& {
16286 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16287 test ! -s conftest.err
16289 # Broken: success on invalid input.
16292 echo "$as_me: failed program was:" >&5
16293 sed 's/^/| /' conftest.
$ac_ext >&5
16295 # Passes both tests.
16300 rm -f conftest.err conftest.
$ac_ext
16303 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16304 rm -f conftest.err conftest.
$ac_ext
16305 if $ac_preproc_ok; then
16308 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16309 See \`config.log' for more details." >&5
16310 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16311 See \`config.log' for more details." >&2;}
16312 { (exit 1); exit 1; }; }
16316 ac_cpp
='$CPP $CPPFLAGS'
16317 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16318 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16319 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16322 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16323 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16324 if test "${ac_cv_path_GREP+set}" = set; then
16325 echo $ECHO_N "(cached) $ECHO_C" >&6
16327 # Extract the first word of "grep ggrep" to use in msg output
16328 if test -z "$GREP"; then
16329 set dummy
grep ggrep
; ac_prog_name
=$2
16330 if test "${ac_cv_path_GREP+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 ac_path_GREP_found
=false
16334 # Loop through the user's path and test for each of PROGNAME-LIST
16335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16336 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16339 test -z "$as_dir" && as_dir
=.
16340 for ac_prog
in grep ggrep
; do
16341 for ac_exec_ext
in '' $ac_executable_extensions; do
16342 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16343 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16344 # Check for GNU ac_path_GREP and select it if it is found.
16345 # Check for GNU $ac_path_GREP
16346 case `"$ac_path_GREP" --version 2>&1` in
16348 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16351 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16354 cat "conftest.in" "conftest.in" >"conftest.tmp"
16355 mv "conftest.tmp" "conftest.in"
16356 cp "conftest.in" "conftest.nl"
16357 echo 'GREP' >> "conftest.nl"
16358 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16359 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16360 ac_count
=`expr $ac_count + 1`
16361 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16362 # Best one so far, save it but keep looking for a better one
16363 ac_cv_path_GREP
="$ac_path_GREP"
16364 ac_path_GREP_max
=$ac_count
16366 # 10*(2^10) chars as input seems more than enough
16367 test $ac_count -gt 10 && break
16369 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16373 $ac_path_GREP_found && break 3
16383 GREP
="$ac_cv_path_GREP"
16384 if test -z "$GREP"; then
16385 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16386 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16387 { (exit 1); exit 1; }; }
16391 ac_cv_path_GREP
=$GREP
16396 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16397 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16398 GREP
="$ac_cv_path_GREP"
16401 { echo "$as_me:$LINENO: checking for egrep" >&5
16402 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16403 if test "${ac_cv_path_EGREP+set}" = set; then
16404 echo $ECHO_N "(cached) $ECHO_C" >&6
16406 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16407 then ac_cv_path_EGREP
="$GREP -E"
16409 # Extract the first word of "egrep" to use in msg output
16410 if test -z "$EGREP"; then
16411 set dummy
egrep; ac_prog_name
=$2
16412 if test "${ac_cv_path_EGREP+set}" = set; then
16413 echo $ECHO_N "(cached) $ECHO_C" >&6
16415 ac_path_EGREP_found
=false
16416 # Loop through the user's path and test for each of PROGNAME-LIST
16417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16418 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16421 test -z "$as_dir" && as_dir
=.
16422 for ac_prog
in egrep; do
16423 for ac_exec_ext
in '' $ac_executable_extensions; do
16424 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16425 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16426 # Check for GNU ac_path_EGREP and select it if it is found.
16427 # Check for GNU $ac_path_EGREP
16428 case `"$ac_path_EGREP" --version 2>&1` in
16430 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16433 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16436 cat "conftest.in" "conftest.in" >"conftest.tmp"
16437 mv "conftest.tmp" "conftest.in"
16438 cp "conftest.in" "conftest.nl"
16439 echo 'EGREP' >> "conftest.nl"
16440 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16441 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16442 ac_count
=`expr $ac_count + 1`
16443 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16444 # Best one so far, save it but keep looking for a better one
16445 ac_cv_path_EGREP
="$ac_path_EGREP"
16446 ac_path_EGREP_max
=$ac_count
16448 # 10*(2^10) chars as input seems more than enough
16449 test $ac_count -gt 10 && break
16451 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16455 $ac_path_EGREP_found && break 3
16465 EGREP
="$ac_cv_path_EGREP"
16466 if test -z "$EGREP"; then
16467 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16468 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16469 { (exit 1); exit 1; }; }
16473 ac_cv_path_EGREP
=$EGREP
16479 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16480 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16481 EGREP
="$ac_cv_path_EGREP"
16484 if test $ac_cv_c_compiler_gnu = yes; then
16485 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16486 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16487 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16488 echo $ECHO_N "(cached) $ECHO_C" >&6
16490 ac_pattern
="Autoconf.*'x'"
16491 cat >conftest.
$ac_ext <<_ACEOF
16494 cat confdefs.h
>>conftest.
$ac_ext
16495 cat >>conftest.
$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16501 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16502 ac_cv_prog_gcc_traditional
=yes
16504 ac_cv_prog_gcc_traditional
=no
16509 if test $ac_cv_prog_gcc_traditional = no
; then
16510 cat >conftest.
$ac_ext <<_ACEOF
16513 cat confdefs.h
>>conftest.
$ac_ext
16514 cat >>conftest.
$ac_ext <<_ACEOF
16515 /* end confdefs.h. */
16516 #include <termio.h>
16519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16520 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16521 ac_cv_prog_gcc_traditional
=yes
16527 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16528 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16529 if test $ac_cv_prog_gcc_traditional = yes; then
16530 CC
="$CC -traditional"
16535 CXXFLAGS
=${CXXFLAGS:=}
16540 ac_cpp
='$CXXCPP $CPPFLAGS'
16541 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16542 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16543 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16544 if test -z "$CXX"; then
16545 if test -n "$CCC"; then
16548 if test -n "$ac_tool_prefix"; then
16549 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16551 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16552 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16555 if test "${ac_cv_prog_CXX+set}" = set; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16558 if test -n "$CXX"; then
16559 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16562 for as_dir
in $PATH
16565 test -z "$as_dir" && as_dir
=.
16566 for ac_exec_ext
in '' $ac_executable_extensions; do
16567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16568 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16578 CXX
=$ac_cv_prog_CXX
16579 if test -n "$CXX"; then
16580 { echo "$as_me:$LINENO: result: $CXX" >&5
16581 echo "${ECHO_T}$CXX" >&6; }
16583 { echo "$as_me:$LINENO: result: no" >&5
16584 echo "${ECHO_T}no" >&6; }
16588 test -n "$CXX" && break
16591 if test -z "$CXX"; then
16593 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16595 # Extract the first word of "$ac_prog", so it can be a program name with args.
16596 set dummy
$ac_prog; ac_word
=$2
16597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16599 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16600 echo $ECHO_N "(cached) $ECHO_C" >&6
16602 if test -n "$ac_ct_CXX"; then
16603 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16606 for as_dir
in $PATH
16609 test -z "$as_dir" && as_dir
=.
16610 for ac_exec_ext
in '' $ac_executable_extensions; do
16611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16612 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16622 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16623 if test -n "$ac_ct_CXX"; then
16624 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16625 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16627 { echo "$as_me:$LINENO: result: no" >&5
16628 echo "${ECHO_T}no" >&6; }
16632 test -n "$ac_ct_CXX" && break
16635 if test "x$ac_ct_CXX" = x
; then
16638 case $cross_compiling:$ac_tool_warned in
16640 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16641 whose name does not start with the host triplet. If you think this
16642 configuration is useful to you, please write to autoconf@gnu.org." >&5
16643 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16644 whose name does not start with the host triplet. If you think this
16645 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16646 ac_tool_warned
=yes ;;
16654 # Provide some information about the compiler.
16655 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16656 ac_compiler
=`set X $ac_compile; echo $2`
16657 { (ac_try
="$ac_compiler --version >&5"
16658 case "(($ac_try" in
16659 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16660 *) ac_try_echo=$ac_try;;
16662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16663 (eval "$ac_compiler --version >&5") 2>&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }
16667 { (ac_try="$ac_compiler -v >&5"
16668 case "(($ac_try" in
16669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16670 *) ac_try_echo
=$ac_try;;
16672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16673 (eval "$ac_compiler -v >&5") 2>&5
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); }
16677 { (ac_try
="$ac_compiler -V >&5"
16678 case "(($ac_try" in
16679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16680 *) ac_try_echo=$ac_try;;
16682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16683 (eval "$ac_compiler -V >&5") 2>&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); }
16688 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16689 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16690 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16691 echo $ECHO_N "(cached) $ECHO_C" >&6
16693 cat >conftest.$ac_ext <<_ACEOF
16696 cat confdefs.h >>conftest.$ac_ext
16697 cat >>conftest.$ac_ext <<_ACEOF
16698 /* end confdefs.h. */
16711 rm -f conftest.$ac_objext
16712 if { (ac_try="$ac_compile"
16713 case "(($ac_try" in
16714 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16715 *) ac_try_echo
=$ac_try;;
16717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16718 (eval "$ac_compile") 2>conftest.er1
16720 grep -v '^ *+' conftest.er1
>conftest.err
16722 cat conftest.err
>&5
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); } && {
16725 test -z "$ac_cxx_werror_flag" ||
16726 test ! -s conftest.err
16727 } && test -s conftest.
$ac_objext; then
16728 ac_compiler_gnu
=yes
16730 echo "$as_me: failed program was:" >&5
16731 sed 's/^/| /' conftest.
$ac_ext >&5
16736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16737 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16740 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16741 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16742 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16743 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16744 ac_save_CXXFLAGS
=$CXXFLAGS
16745 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16746 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16747 if test "${ac_cv_prog_cxx_g+set}" = set; then
16748 echo $ECHO_N "(cached) $ECHO_C" >&6
16750 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16751 ac_cxx_werror_flag
=yes
16752 ac_cv_prog_cxx_g
=no
16754 cat >conftest.
$ac_ext <<_ACEOF
16757 cat confdefs.h
>>conftest.
$ac_ext
16758 cat >>conftest.
$ac_ext <<_ACEOF
16759 /* end confdefs.h. */
16769 rm -f conftest.
$ac_objext
16770 if { (ac_try
="$ac_compile"
16771 case "(($ac_try" in
16772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16773 *) ac_try_echo=$ac_try;;
16775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16776 (eval "$ac_compile") 2>conftest.er1
16778 grep -v '^ *+' conftest.er1 >conftest.err
16780 cat conftest.err >&5
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } && {
16783 test -z "$ac_cxx_werror_flag" ||
16784 test ! -s conftest.err
16785 } && test -s conftest.$ac_objext; then
16786 ac_cv_prog_cxx_g=yes
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.$ac_ext >&5
16792 cat >conftest.$ac_ext <<_ACEOF
16795 cat confdefs.h >>conftest.$ac_ext
16796 cat >>conftest.$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16807 rm -f conftest.$ac_objext
16808 if { (ac_try="$ac_compile"
16809 case "(($ac_try" in
16810 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16811 *) ac_try_echo
=$ac_try;;
16813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16814 (eval "$ac_compile") 2>conftest.er1
16816 grep -v '^ *+' conftest.er1
>conftest.err
16818 cat conftest.err
>&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); } && {
16821 test -z "$ac_cxx_werror_flag" ||
16822 test ! -s conftest.err
16823 } && test -s conftest.
$ac_objext; then
16826 echo "$as_me: failed program was:" >&5
16827 sed 's/^/| /' conftest.
$ac_ext >&5
16829 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16831 cat >conftest.
$ac_ext <<_ACEOF
16834 cat confdefs.h
>>conftest.
$ac_ext
16835 cat >>conftest.
$ac_ext <<_ACEOF
16836 /* end confdefs.h. */
16846 rm -f conftest.
$ac_objext
16847 if { (ac_try
="$ac_compile"
16848 case "(($ac_try" in
16849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16850 *) ac_try_echo=$ac_try;;
16852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16853 (eval "$ac_compile") 2>conftest.er1
16855 grep -v '^ *+' conftest.er1 >conftest.err
16857 cat conftest.err >&5
16858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16859 (exit $ac_status); } && {
16860 test -z "$ac_cxx_werror_flag" ||
16861 test ! -s conftest.err
16862 } && test -s conftest.$ac_objext; then
16863 ac_cv_prog_cxx_g=yes
16865 echo "$as_me: failed program was:" >&5
16866 sed 's/^/| /' conftest.$ac_ext >&5
16871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16880 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16881 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16882 if test "$ac_test_CXXFLAGS" = set; then
16883 CXXFLAGS=$ac_save_CXXFLAGS
16884 elif test $ac_cv_prog_cxx_g = yes; then
16885 if test "$GXX" = yes; then
16891 if test "$GXX" = yes; then
16898 ac_cpp='$CPP $CPPFLAGS'
16899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16907 ac_cpp='$CXXCPP $CPPFLAGS'
16908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16912 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16913 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16914 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6
16917 cat >conftest.$ac_ext <<_ACEOF
16920 cat confdefs.h >>conftest.$ac_ext
16921 cat >>conftest.$ac_ext <<_ACEOF
16922 /* end confdefs.h. */
16928 #ifndef __INTEL_COMPILER
16936 rm -f conftest.$ac_objext
16937 if { (ac_try="$ac_compile"
16938 case "(($ac_try" in
16939 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16940 *) ac_try_echo
=$ac_try;;
16942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16943 (eval "$ac_compile") 2>conftest.er1
16945 grep -v '^ *+' conftest.er1
>conftest.err
16947 cat conftest.err
>&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } && {
16950 test -z "$ac_cxx_werror_flag" ||
16951 test ! -s conftest.err
16952 } && test -s conftest.
$ac_objext; then
16953 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16955 echo "$as_me: failed program was:" >&5
16956 sed 's/^/| /' conftest.
$ac_ext >&5
16958 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16966 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16967 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16968 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16974 ac_cpp
='$CPP $CPPFLAGS'
16975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16982 if test "$INTELCXX" = "yes"; then
16986 ac_cpp
='$CXXCPP $CPPFLAGS'
16987 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16988 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16989 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16991 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16992 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16993 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16994 echo $ECHO_N "(cached) $ECHO_C" >&6
16996 cat >conftest.
$ac_ext <<_ACEOF
16999 cat confdefs.h
>>conftest.
$ac_ext
17000 cat >>conftest.
$ac_ext <<_ACEOF
17001 /* end confdefs.h. */
17007 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17015 rm -f conftest.
$ac_objext
17016 if { (ac_try
="$ac_compile"
17017 case "(($ac_try" in
17018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17019 *) ac_try_echo=$ac_try;;
17021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17022 (eval "$ac_compile") 2>conftest.er1
17024 grep -v '^ *+' conftest.er1 >conftest.err
17026 cat conftest.err >&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); } && {
17029 test -z "$ac_cxx_werror_flag" ||
17030 test ! -s conftest.err
17031 } && test -s conftest.$ac_objext; then
17032 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17034 echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.$ac_ext >&5
17037 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17045 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17046 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17047 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17053 ac_cpp='$CPP $CPPFLAGS'
17054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17063 ac_cpp='$CXXCPP $CPPFLAGS'
17064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17068 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17069 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17070 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17071 echo $ECHO_N "(cached) $ECHO_C" >&6
17073 cat >conftest.$ac_ext <<_ACEOF
17076 cat confdefs.h >>conftest.$ac_ext
17077 cat >>conftest.$ac_ext <<_ACEOF
17078 /* end confdefs.h. */
17084 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17092 rm -f conftest.$ac_objext
17093 if { (ac_try="$ac_compile"
17094 case "(($ac_try" in
17095 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17096 *) ac_try_echo
=$ac_try;;
17098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17099 (eval "$ac_compile") 2>conftest.er1
17101 grep -v '^ *+' conftest.er1
>conftest.err
17103 cat conftest.err
>&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); } && {
17106 test -z "$ac_cxx_werror_flag" ||
17107 test ! -s conftest.err
17108 } && test -s conftest.
$ac_objext; then
17109 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.
$ac_ext >&5
17114 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17122 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17123 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17124 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17130 ac_cpp
='$CPP $CPPFLAGS'
17131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17139 if test "x$GCXX" != "xyes"; then
17140 if test "xCXX" = "xC"; then
17141 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17142 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17143 if test "${bakefile_cv_c_exto+set}" = set; then
17144 echo $ECHO_N "(cached) $ECHO_C" >&6
17146 cat >conftest.
$ac_ext <<_ACEOF
17149 cat confdefs.h
>>conftest.
$ac_ext
17150 cat >>conftest.
$ac_ext <<_ACEOF
17151 /* end confdefs.h. */
17161 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17163 (eval $ac_compile) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; then
17167 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17169 conftest.
$ac_ext.o
)
17170 bakefile_cv_c_exto
="-ext o"
17177 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17178 See \`config.log' for more details." >&5
17179 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17180 See \`config.log' for more details." >&2;}
17181 { (exit 1); exit 1; }; }
17185 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17188 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17189 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17190 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17191 if test "c" = "c"; then
17192 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17194 if test "c" = "cxx"; then
17195 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17199 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17200 unset ac_cv_prog_cc_g
17201 ac_test_CFLAGS
=${CFLAGS+set}
17202 ac_save_CFLAGS
=$CFLAGS
17203 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17204 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17205 if test "${ac_cv_prog_cc_g+set}" = set; then
17206 echo $ECHO_N "(cached) $ECHO_C" >&6
17208 ac_save_c_werror_flag
=$ac_c_werror_flag
17209 ac_c_werror_flag
=yes
17212 cat >conftest.
$ac_ext <<_ACEOF
17215 cat confdefs.h
>>conftest.
$ac_ext
17216 cat >>conftest.
$ac_ext <<_ACEOF
17217 /* end confdefs.h. */
17227 rm -f conftest.
$ac_objext
17228 if { (ac_try
="$ac_compile"
17229 case "(($ac_try" in
17230 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17231 *) ac_try_echo=$ac_try;;
17233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17234 (eval "$ac_compile") 2>conftest.er1
17236 grep -v '^ *+' conftest.er1 >conftest.err
17238 cat conftest.err >&5
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); } && {
17241 test -z "$ac_c_werror_flag" ||
17242 test ! -s conftest.err
17243 } && test -s conftest.$ac_objext; then
17244 ac_cv_prog_cc_g=yes
17246 echo "$as_me: failed program was:" >&5
17247 sed 's/^/| /' conftest.$ac_ext >&5
17250 cat >conftest.$ac_ext <<_ACEOF
17253 cat confdefs.h >>conftest.$ac_ext
17254 cat >>conftest.$ac_ext <<_ACEOF
17255 /* end confdefs.h. */
17265 rm -f conftest.$ac_objext
17266 if { (ac_try="$ac_compile"
17267 case "(($ac_try" in
17268 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17269 *) ac_try_echo
=$ac_try;;
17271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17272 (eval "$ac_compile") 2>conftest.er1
17274 grep -v '^ *+' conftest.er1
>conftest.err
17276 cat conftest.err
>&5
17277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278 (exit $ac_status); } && {
17279 test -z "$ac_c_werror_flag" ||
17280 test ! -s conftest.err
17281 } && test -s conftest.
$ac_objext; then
17284 echo "$as_me: failed program was:" >&5
17285 sed 's/^/| /' conftest.
$ac_ext >&5
17287 ac_c_werror_flag
=$ac_save_c_werror_flag
17289 cat >conftest.
$ac_ext <<_ACEOF
17292 cat confdefs.h
>>conftest.
$ac_ext
17293 cat >>conftest.
$ac_ext <<_ACEOF
17294 /* end confdefs.h. */
17304 rm -f conftest.
$ac_objext
17305 if { (ac_try
="$ac_compile"
17306 case "(($ac_try" in
17307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17308 *) ac_try_echo=$ac_try;;
17310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17311 (eval "$ac_compile") 2>conftest.er1
17313 grep -v '^ *+' conftest.er1 >conftest.err
17315 cat conftest.err >&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); } && {
17318 test -z "$ac_c_werror_flag" ||
17319 test ! -s conftest.err
17320 } && test -s conftest.$ac_objext; then
17321 ac_cv_prog_cc_g=yes
17323 echo "$as_me: failed program was:" >&5
17324 sed 's/^/| /' conftest.$ac_ext >&5
17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17336 ac_c_werror_flag=$ac_save_c_werror_flag
17338 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17339 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17340 if test "$ac_test_CFLAGS" = set; then
17341 CFLAGS=$ac_save_CFLAGS
17342 elif test $ac_cv_prog_cc_g = yes; then
17343 if test "$GCC" = yes; then
17349 if test "$GCC" = yes; then
17363 ac_cpp='$CXXCPP $CPPFLAGS'
17364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17368 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17369 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17370 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17371 echo $ECHO_N "(cached) $ECHO_C" >&6
17373 cat >conftest.$ac_ext <<_ACEOF
17376 cat confdefs.h >>conftest.$ac_ext
17377 cat >>conftest.$ac_ext <<_ACEOF
17378 /* end confdefs.h. */
17392 rm -f conftest.$ac_objext
17393 if { (ac_try="$ac_compile"
17394 case "(($ac_try" in
17395 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17396 *) ac_try_echo
=$ac_try;;
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_compile") 2>conftest.er1
17401 grep -v '^ *+' conftest.er1
>conftest.err
17403 cat conftest.err
>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } && {
17406 test -z "$ac_cxx_werror_flag" ||
17407 test ! -s conftest.err
17408 } && test -s conftest.
$ac_objext; then
17409 bakefile_cv_cxx_compiler___xlC__
=yes
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.
$ac_ext >&5
17414 bakefile_cv_cxx_compiler___xlC__
=no
17418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17422 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17423 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17424 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17430 ac_cpp
='$CPP $CPPFLAGS'
17431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17443 ac_cpp
='$CXXCPP $CPPFLAGS'
17444 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17445 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17446 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17448 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17449 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17450 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17451 echo $ECHO_N "(cached) $ECHO_C" >&6
17453 cat >conftest.
$ac_ext <<_ACEOF
17456 cat confdefs.h
>>conftest.
$ac_ext
17457 cat >>conftest.
$ac_ext <<_ACEOF
17458 /* end confdefs.h. */
17472 rm -f conftest.
$ac_objext
17473 if { (ac_try
="$ac_compile"
17474 case "(($ac_try" in
17475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17476 *) ac_try_echo=$ac_try;;
17478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17479 (eval "$ac_compile") 2>conftest.er1
17481 grep -v '^ *+' conftest.er1 >conftest.err
17483 cat conftest.err >&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } && {
17486 test -z "$ac_cxx_werror_flag" ||
17487 test ! -s conftest.err
17488 } && test -s conftest.$ac_objext; then
17489 bakefile_cv_cxx_compiler___MWERKS__=yes
17491 echo "$as_me: failed program was:" >&5
17492 sed 's/^/| /' conftest.$ac_ext >&5
17494 bakefile_cv_cxx_compiler___MWERKS__=no
17498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17502 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17503 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17504 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17510 ac_cpp='$CPP $CPPFLAGS'
17511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17517 if test "$MWCXX" != "yes"; then
17521 ac_cpp='$CXXCPP $CPPFLAGS'
17522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17526 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17527 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17528 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17529 echo $ECHO_N "(cached) $ECHO_C" >&6
17531 cat >conftest.$ac_ext <<_ACEOF
17534 cat confdefs.h >>conftest.$ac_ext
17535 cat >>conftest.$ac_ext <<_ACEOF
17536 /* end confdefs.h. */
17550 rm -f conftest.$ac_objext
17551 if { (ac_try="$ac_compile"
17552 case "(($ac_try" in
17553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17554 *) ac_try_echo
=$ac_try;;
17556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17557 (eval "$ac_compile") 2>conftest.er1
17559 grep -v '^ *+' conftest.er1
>conftest.err
17561 cat conftest.err
>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } && {
17564 test -z "$ac_cxx_werror_flag" ||
17565 test ! -s conftest.err
17566 } && test -s conftest.
$ac_objext; then
17567 bakefile_cv_cxx_compiler___xlC__
=yes
17569 echo "$as_me: failed program was:" >&5
17570 sed 's/^/| /' conftest.
$ac_ext >&5
17572 bakefile_cv_cxx_compiler___xlC__
=no
17576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17580 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17581 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17582 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17588 ac_cpp
='$CPP $CPPFLAGS'
17589 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17590 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17591 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17602 ac_cpp
='$CXXCPP $CPPFLAGS'
17603 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17604 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17605 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17607 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17608 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17609 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17610 echo $ECHO_N "(cached) $ECHO_C" >&6
17612 cat >conftest.
$ac_ext <<_ACEOF
17615 cat confdefs.h
>>conftest.
$ac_ext
17616 cat >>conftest.
$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17623 #ifndef _SGI_COMPILER_VERSION
17631 rm -f conftest.
$ac_objext
17632 if { (ac_try
="$ac_compile"
17633 case "(($ac_try" in
17634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17635 *) ac_try_echo=$ac_try;;
17637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17638 (eval "$ac_compile") 2>conftest.er1
17640 grep -v '^ *+' conftest.er1 >conftest.err
17642 cat conftest.err >&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); } && {
17645 test -z "$ac_cxx_werror_flag" ||
17646 test ! -s conftest.err
17647 } && test -s conftest.$ac_objext; then
17648 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17650 echo "$as_me: failed program was:" >&5
17651 sed 's/^/| /' conftest.$ac_ext >&5
17653 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17661 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17662 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17663 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17669 ac_cpp='$CPP $CPPFLAGS'
17670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17679 if test "$INTELCXX" != "yes"; then
17683 ac_cpp='$CXXCPP $CPPFLAGS'
17684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17688 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17689 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17690 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17691 echo $ECHO_N "(cached) $ECHO_C" >&6
17693 cat >conftest.$ac_ext <<_ACEOF
17696 cat confdefs.h >>conftest.$ac_ext
17697 cat >>conftest.$ac_ext <<_ACEOF
17698 /* end confdefs.h. */
17704 #ifndef __SUNPRO_CC
17712 rm -f conftest.$ac_objext
17713 if { (ac_try="$ac_compile"
17714 case "(($ac_try" in
17715 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17716 *) ac_try_echo
=$ac_try;;
17718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17719 (eval "$ac_compile") 2>conftest.er1
17721 grep -v '^ *+' conftest.er1
>conftest.err
17723 cat conftest.err
>&5
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } && {
17726 test -z "$ac_cxx_werror_flag" ||
17727 test ! -s conftest.err
17728 } && test -s conftest.
$ac_objext; then
17729 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17731 echo "$as_me: failed program was:" >&5
17732 sed 's/^/| /' conftest.
$ac_ext >&5
17734 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17742 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17743 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17744 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17750 ac_cpp
='$CPP $CPPFLAGS'
17751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17764 ac_cpp
='$CXXCPP $CPPFLAGS'
17765 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17766 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17767 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17769 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17770 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17771 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17772 echo $ECHO_N "(cached) $ECHO_C" >&6
17774 cat >conftest.
$ac_ext <<_ACEOF
17777 cat confdefs.h
>>conftest.
$ac_ext
17778 cat >>conftest.
$ac_ext <<_ACEOF
17779 /* end confdefs.h. */
17793 rm -f conftest.
$ac_objext
17794 if { (ac_try
="$ac_compile"
17795 case "(($ac_try" in
17796 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17797 *) ac_try_echo=$ac_try;;
17799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17800 (eval "$ac_compile") 2>conftest.er1
17802 grep -v '^ *+' conftest.er1 >conftest.err
17804 cat conftest.err >&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } && {
17807 test -z "$ac_cxx_werror_flag" ||
17808 test ! -s conftest.err
17809 } && test -s conftest.$ac_objext; then
17810 bakefile_cv_cxx_compiler___HP_aCC=yes
17812 echo "$as_me: failed program was:" >&5
17813 sed 's/^/| /' conftest.$ac_ext >&5
17815 bakefile_cv_cxx_compiler___HP_aCC=no
17819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17823 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17824 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17825 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17831 ac_cpp='$CPP $CPPFLAGS'
17832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17844 ac_cpp='$CXXCPP $CPPFLAGS'
17845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17849 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17850 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17851 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17852 echo $ECHO_N "(cached) $ECHO_C" >&6
17854 cat >conftest.$ac_ext <<_ACEOF
17857 cat confdefs.h >>conftest.$ac_ext
17858 cat >>conftest.$ac_ext <<_ACEOF
17859 /* end confdefs.h. */
17873 rm -f conftest.$ac_objext
17874 if { (ac_try="$ac_compile"
17875 case "(($ac_try" in
17876 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17877 *) ac_try_echo
=$ac_try;;
17879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17880 (eval "$ac_compile") 2>conftest.er1
17882 grep -v '^ *+' conftest.er1
>conftest.err
17884 cat conftest.err
>&5
17885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17886 (exit $ac_status); } && {
17887 test -z "$ac_cxx_werror_flag" ||
17888 test ! -s conftest.err
17889 } && test -s conftest.
$ac_objext; then
17890 bakefile_cv_cxx_compiler___DECCXX
=yes
17892 echo "$as_me: failed program was:" >&5
17893 sed 's/^/| /' conftest.
$ac_ext >&5
17895 bakefile_cv_cxx_compiler___DECCXX
=no
17899 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17903 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17904 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17905 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17911 ac_cpp
='$CPP $CPPFLAGS'
17912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17924 ac_cpp
='$CXXCPP $CPPFLAGS'
17925 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17926 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17927 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17929 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17930 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17931 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17934 cat >conftest.
$ac_ext <<_ACEOF
17937 cat confdefs.h
>>conftest.
$ac_ext
17938 cat >>conftest.
$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17945 #ifndef __SUNPRO_CC
17953 rm -f conftest.
$ac_objext
17954 if { (ac_try
="$ac_compile"
17955 case "(($ac_try" in
17956 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17957 *) ac_try_echo=$ac_try;;
17959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17960 (eval "$ac_compile") 2>conftest.er1
17962 grep -v '^ *+' conftest.er1 >conftest.err
17964 cat conftest.err >&5
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); } && {
17967 test -z "$ac_cxx_werror_flag" ||
17968 test ! -s conftest.err
17969 } && test -s conftest.$ac_objext; then
17970 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17972 echo "$as_me: failed program was:" >&5
17973 sed 's/^/| /' conftest.$ac_ext >&5
17975 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17983 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17984 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17985 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17991 ac_cpp='$CPP $CPPFLAGS'
17992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18004 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18005 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18006 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18007 { (exit 1); exit 1; }; }
18010 if test "x$SUNCXX" != xyes; then
18011 if test -n "$ac_tool_prefix"; then
18012 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18013 set dummy ${ac_tool_prefix}ar; ac_word=$2
18014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18016 if test "${ac_cv_prog_AR+set}" = set; then
18017 echo $ECHO_N "(cached) $ECHO_C" >&6
18019 if test -n "$AR"; then
18020 ac_cv_prog_AR="$AR" # Let the user override the test.
18022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18023 for as_dir in $PATH
18026 test -z "$as_dir" && as_dir=.
18027 for ac_exec_ext in '' $ac_executable_extensions; do
18028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18029 ac_cv_prog_AR="${ac_tool_prefix}ar"
18030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18040 if test -n "$AR"; then
18041 { echo "$as_me:$LINENO: result: $AR" >&5
18042 echo "${ECHO_T}$AR" >&6; }
18044 { echo "$as_me:$LINENO: result: no" >&5
18045 echo "${ECHO_T}no" >&6; }
18050 if test -z "$ac_cv_prog_AR"; then
18052 # Extract the first word of "ar", so it can be a program name with args.
18053 set dummy ar; ac_word=$2
18054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18056 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18057 echo $ECHO_N "(cached) $ECHO_C" >&6
18059 if test -n "$ac_ct_AR"; then
18060 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18063 for as_dir in $PATH
18066 test -z "$as_dir" && as_dir=.
18067 for ac_exec_ext in '' $ac_executable_extensions; do
18068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18069 ac_cv_prog_ac_ct_AR="ar"
18070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18079 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18080 if test -n "$ac_ct_AR"; then
18081 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18082 echo "${ECHO_T}$ac_ct_AR" >&6; }
18084 { echo "$as_me:$LINENO: result: no" >&5
18085 echo "${ECHO_T}no" >&6; }
18088 if test "x$ac_ct_AR" = x; then
18091 case $cross_compiling:$ac_tool_warned in
18093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18094 whose name does not start with the host triplet. If you think this
18095 configuration is useful to you, please write to autoconf@gnu.org." >&5
18096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18097 whose name does not start with the host triplet. If you think this
18098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18099 ac_tool_warned=yes ;;
18104 AR="$ac_cv_prog_AR"
18107 if test "x$AR" = "x" ; then
18108 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18109 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18110 { (exit 1); exit 1; }; }
18114 retest_macosx_linking=no
18116 #if test "$wxUSE_MAC" = 1; then
18117 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18118 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18119 # Implicitly turn on the new --with-macosx-sdk using the default
18120 # SDK which provides the behavior this option has always had.
18121 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18122 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18123 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18124 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18125 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18126 wxUSE_MACOSX_SDK=yes
18129 # Complain to user if he specified an argument to --enable-universal_binary
18130 # and also 1) specified --with-macosx-sdk using the default (yes) or
18131 # 2) specified --with-macosx-sdk using a path or 3) specified
18132 # --without-macosx-sdk (no).
18133 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18134 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18135 See \`config.log
' for more details." >&5
18136 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18137 See \`config.log' for more details.
" >&2;}
18138 { (exit 1); exit 1; }; }
18140 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18141 # special-case the empty string because the below test simply
18142 # converts "no
" to the empty string anyway.
18143 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18144 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18145 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18148 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18149 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18150 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18151 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18152 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18153 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18154 retest_macosx_linking=yes
18156 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18157 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18162 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18164 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18165 # TODO: Search for most recent SDK and use it.
18166 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18170 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18171 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18172 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18173 if ! test -d "$wxUSE_MACOSX_SDK"; then
18174 { { echo "$as_me:$LINENO: error
: not found
18175 See \
`config.log' for more details." >&5
18176 echo "$as_me: error: not found
18177 See \`config.log
' for more details." >&2;}
18178 { (exit 1); exit 1; }; }
18180 { echo "$as_me:$LINENO: result: exists" >&5
18181 echo "${ECHO_T}exists" >&6; }
18183 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18184 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18185 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18186 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18187 retest_macosx_linking=yes
18190 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18191 wxUSE_MACOSX_VERSION_MIN=
18192 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18193 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18194 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18195 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18197 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/'`
18199 # If that failed, try again with the new key
18200 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18202 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/'`
18206 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18207 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18208 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18209 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18211 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18212 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18213 wxUSE_MACOSX_VERSION_MIN=
18216 wxUSE_MACOSX_VERSION_MIN=
18218 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18219 if test "$wxUSE_MAC" = 1; then
18220 # otherwise configure stops on leopard for universal_binary
18221 wxUSE_MACOSX_VERSION_MIN=10.4
18225 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18226 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18227 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18228 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18229 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18230 retest_macosx_linking=yes
18233 if test "x$retest_macosx_linking" = "xyes"; then
18235 ac_cpp='$CPP $CPPFLAGS'
18236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18237 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18240 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18241 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18242 cat >conftest.$ac_ext <<_ACEOF
18245 cat confdefs.h >>conftest.$ac_ext
18246 cat >>conftest.$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18257 rm -f conftest.$ac_objext conftest$ac_exeext
18258 if { (ac_try="$ac_link"
18259 case "(($ac_try" in
18260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18261 *) ac_try_echo=$ac_try;;
18263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18264 (eval "$ac_link") 2>conftest.er1
18266 grep -v '^
*+' conftest.er1 >conftest.err
18268 cat conftest.err >&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); } && {
18271 test -z "$ac_c_werror_flag" ||
18272 test ! -s conftest.err
18273 } && test -s conftest$ac_exeext &&
18274 $as_test_x conftest$ac_exeext; then
18275 { echo "$as_me:$LINENO: result: yes" >&5
18276 echo "${ECHO_T}yes" >&6; }
18278 echo "$as_me: failed program was:" >&5
18279 sed 's
/^
/| /' conftest.$ac_ext >&5
18281 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18282 See \`config.log' for more details.
" >&5
18283 echo "$as_me: error
: no. Try a different SDK
18284 See \
`config.log' for more details." >&2;}
18285 { (exit 1); exit 1; }; }; exit 1
18288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18289 conftest$ac_exeext conftest.$ac_ext
18291 ac_cpp='$CPP $CPPFLAGS'
18292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18298 ac_cpp='$CXXCPP $CPPFLAGS'
18299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18303 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18304 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18305 cat >conftest.$ac_ext <<_ACEOF
18308 cat confdefs.h >>conftest.$ac_ext
18309 cat >>conftest.$ac_ext <<_ACEOF
18310 /* end confdefs.h. */
18320 rm -f conftest.$ac_objext conftest$ac_exeext
18321 if { (ac_try="$ac_link"
18322 case "(($ac_try" in
18323 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18324 *) ac_try_echo
=$ac_try;;
18326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18327 (eval "$ac_link") 2>conftest.er1
18329 grep -v '^ *+' conftest.er1
>conftest.err
18331 cat conftest.err
>&5
18332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18333 (exit $ac_status); } && {
18334 test -z "$ac_cxx_werror_flag" ||
18335 test ! -s conftest.err
18336 } && test -s conftest
$ac_exeext &&
18337 $as_test_x conftest
$ac_exeext; then
18338 { echo "$as_me:$LINENO: result: yes" >&5
18339 echo "${ECHO_T}yes" >&6; }
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.
$ac_ext >&5
18344 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18345 See \`config.log' for more details." >&5
18346 echo "$as_me: error: no. Try a different SDK
18347 See \`config.log' for more details." >&2;}
18348 { (exit 1); exit 1; }; }; exit 1
18351 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18352 conftest
$ac_exeext conftest.
$ac_ext
18354 ac_cpp
='$CPP $CPPFLAGS'
18355 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18356 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18357 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18365 INSTALL_PROGRAM
="cp -fp"
18366 INSTALL_DATA
="cp -fp"
18373 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18374 CXXFLAGS
="-qunique $CXXFLAGS"
18378 powerpc
-*-darwin* )
18379 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18380 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18381 cat >conftest.
$ac_ext <<_ACEOF
18384 cat confdefs.h
>>conftest.
$ac_ext
18385 cat >>conftest.
$ac_ext <<_ACEOF
18386 /* end confdefs.h. */
18391 #ifndef __POWERPC__
18392 choke me for lack of PowerPC
18399 rm -f conftest.
$ac_objext
18400 if { (ac_try
="$ac_compile"
18401 case "(($ac_try" in
18402 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18403 *) ac_try_echo=$ac_try;;
18405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18406 (eval "$ac_compile") 2>conftest.er1
18408 grep -v '^ *+' conftest.er1 >conftest.err
18410 cat conftest.err >&5
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); } && {
18413 test -z "$ac_c_werror_flag" ||
18414 test ! -s conftest.err
18415 } && test -s conftest.$ac_objext; then
18416 { echo "$as_me:$LINENO: result: yes" >&5
18417 echo "${ECHO_T}yes" >&6; }
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.$ac_ext >&5
18422 { echo "$as_me:$LINENO: result: no" >&5
18423 echo "${ECHO_T}no" >&6; }
18424 cat >>confdefs.h <<\_ACEOF
18425 #define __POWERPC__ 1
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18437 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18438 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18439 cat >conftest.$ac_ext <<_ACEOF
18442 cat confdefs.h >>conftest.$ac_ext
18443 cat >>conftest.$ac_ext <<_ACEOF
18444 /* end confdefs.h. */
18445 #include <CoreFoundation/CFBase.h>
18455 rm -f conftest.$ac_objext
18456 if { (ac_try="$ac_compile"
18457 case "(($ac_try" in
18458 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18459 *) ac_try_echo
=$ac_try;;
18461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18462 (eval "$ac_compile") 2>conftest.er1
18464 grep -v '^ *+' conftest.er1
>conftest.err
18466 cat conftest.err
>&5
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } && {
18469 test -z "$ac_c_werror_flag" ||
18470 test ! -s conftest.err
18471 } && test -s conftest.
$ac_objext; then
18472 { echo "$as_me:$LINENO: result: yes" >&5
18473 echo "${ECHO_T}yes" >&6; }
18475 echo "$as_me: failed program was:" >&5
18476 sed 's/^/| /' conftest.
$ac_ext >&5
18478 { echo "$as_me:$LINENO: result: no" >&5
18479 echo "${ECHO_T}no" >&6; }
18480 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18481 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18482 cat >conftest.
$ac_ext <<_ACEOF
18485 cat confdefs.h
>>conftest.
$ac_ext
18486 cat >>conftest.
$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18488 #define __CF_USE_FRAMEWORK_INCLUDES__
18489 #include <CoreFoundation/CFBase.h>
18499 rm -f conftest.
$ac_objext
18500 if { (ac_try
="$ac_compile"
18501 case "(($ac_try" in
18502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18503 *) ac_try_echo=$ac_try;;
18505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18506 (eval "$ac_compile") 2>conftest.er1
18508 grep -v '^ *+' conftest.er1 >conftest.err
18510 cat conftest.err >&5
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); } && {
18513 test -z "$ac_c_werror_flag" ||
18514 test ! -s conftest.err
18515 } && test -s conftest.$ac_objext; then
18516 { echo "$as_me:$LINENO: result: yes" >&5
18517 echo "${ECHO_T}yes" >&6; }
18518 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18520 echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.$ac_ext >&5
18523 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18524 See \`config.log
' for more details." >&5
18525 echo "$as_me: error: no. CoreFoundation not available.
18526 See \`config.log' for more details.
" >&2;}
18527 { (exit 1); exit 1; }; }
18531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18541 doesnt_want_win32=0
18544 if test "$wxUSE_MSW" = 1 ; then
18547 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18548 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18549 if test "${wx_cv_nocygwin+set}" = set; then
18550 echo $ECHO_N "(cached
) $ECHO_C" >&6
18553 cat >conftest.$ac_ext <<_ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18572 rm -f conftest.$ac_objext
18573 if { (ac_try="$ac_compile"
18574 case "(($ac_try" in
18575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18576 *) ac_try_echo=$ac_try;;
18578 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18579 (eval "$ac_compile") 2>conftest.er1
18581 grep -v '^ *+' conftest.er1 >conftest.err
18583 cat conftest.err >&5
18584 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18585 (exit $ac_status); } && {
18586 test -z "$ac_c_werror_flag" ||
18587 test ! -s conftest.err
18588 } && test -s conftest.$ac_objext; then
18591 echo "$as_me: failed program was
:" >&5
18592 sed 's/^/| /' conftest.$ac_ext >&5
18598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18603 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18605 if test "$wx_cv_nocygwin" = "yes"; then
18608 doesnt_want_win32=1
18611 if test "$wants_win32" = 1 ; then
18612 BAKEFILE_FORCE_PLATFORM=win32
18620 if test "$wxUSE_WINE" = "yes"; then
18622 LDFLAGS_GUI="-mwindows"
18625 if test "$wants_win32" = 1 ; then
18628 cat >>confdefs.h <<\_ACEOF
18629 #define __WIN32__ 1
18632 cat >>confdefs.h <<\_ACEOF
18633 #define __WIN95__ 1
18636 cat >>confdefs.h <<\_ACEOF
18637 #define __WINDOWS__ 1
18640 cat >>confdefs.h <<\_ACEOF
18641 #define __GNUWIN32__ 1
18644 cat >>confdefs.h <<\_ACEOF
18649 if test "$doesnt_want_win32" = 1 ; then
18654 if test "$USE_UNIX" = 1 ; then
18656 cat >>confdefs.h <<\_ACEOF
18663 *-pc-os2_emx | *-pc-os2-emx )
18664 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18665 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18666 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18667 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18668 echo $ECHO_N "(cached
) $ECHO_C" >&6
18670 ac_check_lib_save_LIBS=$LIBS
18671 LIBS="-lcExt $LIBS"
18672 cat >conftest.$ac_ext <<_ACEOF
18675 cat confdefs.h >>conftest.$ac_ext
18676 cat >>conftest.$ac_ext <<_ACEOF
18677 /* end confdefs.h. */
18679 /* Override any GCC internal prototype to avoid an error.
18680 Use char because int might match the return type of a GCC
18681 builtin and then its argument prototype would still apply. */
18694 rm -f conftest.$ac_objext conftest$ac_exeext
18695 if { (ac_try="$ac_link"
18696 case "(($ac_try" in
18697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18698 *) ac_try_echo=$ac_try;;
18700 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18701 (eval "$ac_link") 2>conftest.er1
18703 grep -v '^ *+' conftest.er1 >conftest.err
18705 cat conftest.err >&5
18706 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18707 (exit $ac_status); } && {
18708 test -z "$ac_c_werror_flag" ||
18709 test ! -s conftest.err
18710 } && test -s conftest$ac_exeext &&
18711 $as_test_x conftest$ac_exeext; then
18712 ac_cv_lib_cExt_drand48=yes
18714 echo "$as_me: failed program was
:" >&5
18715 sed 's/^/| /' conftest.$ac_ext >&5
18717 ac_cv_lib_cExt_drand48=no
18720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18721 conftest$ac_exeext conftest.$ac_ext
18722 LIBS=$ac_check_lib_save_LIBS
18724 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18725 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18726 if test $ac_cv_lib_cExt_drand48 = yes; then
18727 LIBS="$LIBS -lcExt"
18731 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18733 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18734 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18735 if test "${wx_cv_gccversion+set}" = set; then
18736 echo $ECHO_N "(cached
) $ECHO_C" >&6
18739 if test "$cross_compiling" = yes; then
18740 wx_cv_gccversion="EMX2
"
18743 cat >conftest.$ac_ext <<_ACEOF
18746 cat confdefs.h >>conftest.$ac_ext
18747 cat >>conftest.$ac_ext <<_ACEOF
18748 /* end confdefs.h. */
18754 FILE *f=fopen("conftestval
", "w
");
18759 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18761 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18771 rm -f conftest$ac_exeext
18772 if { (ac_try="$ac_link"
18773 case "(($ac_try" in
18774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18775 *) ac_try_echo=$ac_try;;
18777 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18778 (eval "$ac_link") 2>&5
18780 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18782 { (case "(($ac_try" in
18783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18784 *) ac_try_echo=$ac_try;;
18786 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18787 (eval "$ac_try") 2>&5
18789 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18790 (exit $ac_status); }; }; then
18791 wx_cv_gccversion=`cat conftestval`
18793 echo "$as_me: program exited with status
$ac_status" >&5
18794 echo "$as_me: failed program was
:" >&5
18795 sed 's/^/| /' conftest.$ac_ext >&5
18797 ( exit $ac_status )
18798 wx_cv_gccversion="EMX2
"
18800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18806 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18807 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18808 if test "$wx_cv_gccversion" = "EMX2
"; then
18809 LIBS="$LIBS -lstdcpp"
18810 LDFLAGS="$LDFLAGS -Zsysv-signals"
18812 if test "$wx_cv_gccversion" = "EMX3
"; then
18813 LIBS="$LIBS -lstdcxx -lgcc"
18814 LDFLAGS="$LDFLAGS -Zsysv-signals"
18816 LIBS="$LIBS -lstdc++"
18819 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18820 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18821 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18828 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18829 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18830 if test "${ac_cv_string_strcasecmp+set}" = set; then
18831 echo $ECHO_N "(cached
) $ECHO_C" >&6
18834 cat >conftest.$ac_ext <<_ACEOF
18837 cat confdefs.h >>conftest.$ac_ext
18838 cat >>conftest.$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18841 #include <string.h>
18847 strcasecmp("foo
", "bar
");
18853 rm -f conftest.$ac_objext conftest$ac_exeext
18854 if { (ac_try="$ac_link"
18855 case "(($ac_try" in
18856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18857 *) ac_try_echo=$ac_try;;
18859 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18860 (eval "$ac_link") 2>conftest.er1
18862 grep -v '^ *+' conftest.er1 >conftest.err
18864 cat conftest.err >&5
18865 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18866 (exit $ac_status); } && {
18867 test -z "$ac_c_werror_flag" ||
18868 test ! -s conftest.err
18869 } && test -s conftest$ac_exeext &&
18870 $as_test_x conftest$ac_exeext; then
18871 ac_cv_string_strcasecmp=yes
18873 echo "$as_me: failed program was
:" >&5
18874 sed 's/^/| /' conftest.$ac_ext >&5
18876 ac_cv_string_strcasecmp=no
18880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18881 conftest$ac_exeext conftest.$ac_ext
18884 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18885 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18887 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18888 cat >>confdefs.h <<\_ACEOF
18889 #define HAVE_STRCASECMP_IN_STRING_H 1
18893 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18894 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18895 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18896 echo $ECHO_N "(cached
) $ECHO_C" >&6
18899 cat >conftest.$ac_ext <<_ACEOF
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18906 #include <strings.h>
18912 strcasecmp("foo
", "bar
");
18918 rm -f conftest.$ac_objext conftest$ac_exeext
18919 if { (ac_try="$ac_link"
18920 case "(($ac_try" in
18921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18922 *) ac_try_echo=$ac_try;;
18924 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18925 (eval "$ac_link") 2>conftest.er1
18927 grep -v '^ *+' conftest.er1 >conftest.err
18929 cat conftest.err >&5
18930 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18931 (exit $ac_status); } && {
18932 test -z "$ac_c_werror_flag" ||
18933 test ! -s conftest.err
18934 } && test -s conftest$ac_exeext &&
18935 $as_test_x conftest$ac_exeext; then
18936 ac_cv_strings_strcasecmp=yes
18938 echo "$as_me: failed program was
:" >&5
18939 sed 's/^/| /' conftest.$ac_ext >&5
18941 ac_cv_strings_strcasecmp=no
18945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18946 conftest$ac_exeext conftest.$ac_ext
18949 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18950 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18952 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18953 cat >>confdefs.h <<\_ACEOF
18954 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18958 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18959 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18960 { (exit 1); exit 1; }; }
18968 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18969 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18970 if test "${ac_cv_header_stdc+set}" = set; then
18971 echo $ECHO_N "(cached
) $ECHO_C" >&6
18973 cat >conftest.$ac_ext <<_ACEOF
18976 cat confdefs.h >>conftest.$ac_ext
18977 cat >>conftest.$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18979 #include <stdlib.h>
18980 #include <stdarg.h>
18981 #include <string.h>
18992 rm -f conftest.$ac_objext
18993 if { (ac_try="$ac_compile"
18994 case "(($ac_try" in
18995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18996 *) ac_try_echo=$ac_try;;
18998 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18999 (eval "$ac_compile") 2>conftest.er1
19001 grep -v '^ *+' conftest.er1 >conftest.err
19003 cat conftest.err >&5
19004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19005 (exit $ac_status); } && {
19006 test -z "$ac_c_werror_flag" ||
19007 test ! -s conftest.err
19008 } && test -s conftest.$ac_objext; then
19009 ac_cv_header_stdc=yes
19011 echo "$as_me: failed program was
:" >&5
19012 sed 's/^/| /' conftest.$ac_ext >&5
19014 ac_cv_header_stdc=no
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19019 if test $ac_cv_header_stdc = yes; then
19020 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19021 cat >conftest.$ac_ext <<_ACEOF
19024 cat confdefs.h >>conftest.$ac_ext
19025 cat >>conftest.$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19027 #include <string.h>
19030 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19031 $EGREP "memchr
" >/dev/null 2>&1; then
19034 ac_cv_header_stdc=no
19040 if test $ac_cv_header_stdc = yes; then
19041 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19042 cat >conftest.$ac_ext <<_ACEOF
19045 cat confdefs.h >>conftest.$ac_ext
19046 cat >>conftest.$ac_ext <<_ACEOF
19047 /* end confdefs.h. */
19048 #include <stdlib.h>
19051 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19052 $EGREP "free
" >/dev/null 2>&1; then
19055 ac_cv_header_stdc=no
19061 if test $ac_cv_header_stdc = yes; then
19062 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19063 if test "$cross_compiling" = yes; then
19066 cat >conftest.$ac_ext <<_ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19073 #include <stdlib.h>
19074 #if ((' ' & 0x0FF) == 0x020)
19075 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19076 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19078 # define ISLOWER(c) \
19079 (('a' <= (c) && (c) <= 'i') \
19080 || ('j' <= (c) && (c) <= 'r') \
19081 || ('s' <= (c) && (c) <= 'z'))
19082 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19085 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19090 for (i = 0; i < 256; i++)
19091 if (XOR (islower (i), ISLOWER (i))
19092 || toupper (i) != TOUPPER (i))
19097 rm -f conftest$ac_exeext
19098 if { (ac_try="$ac_link"
19099 case "(($ac_try" in
19100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19101 *) ac_try_echo=$ac_try;;
19103 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19104 (eval "$ac_link") 2>&5
19106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19108 { (case "(($ac_try" in
19109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19110 *) ac_try_echo=$ac_try;;
19112 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19113 (eval "$ac_try") 2>&5
19115 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19116 (exit $ac_status); }; }; then
19119 echo "$as_me: program exited with status
$ac_status" >&5
19120 echo "$as_me: failed program was
:" >&5
19121 sed 's/^/| /' conftest.$ac_ext >&5
19123 ( exit $ac_status )
19124 ac_cv_header_stdc=no
19126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19132 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19133 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19134 if test $ac_cv_header_stdc = yes; then
19136 cat >>confdefs.h <<\_ACEOF
19137 #define STDC_HEADERS 1
19142 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19152 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19153 inttypes.h stdint.h unistd.h
19155 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19156 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19157 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19158 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19159 echo $ECHO_N "(cached
) $ECHO_C" >&6
19161 cat >conftest.$ac_ext <<_ACEOF
19164 cat confdefs.h >>conftest.$ac_ext
19165 cat >>conftest.$ac_ext <<_ACEOF
19166 /* end confdefs.h. */
19167 $ac_includes_default
19169 #include <$ac_header>
19171 rm -f conftest.$ac_objext
19172 if { (ac_try="$ac_compile"
19173 case "(($ac_try" in
19174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19175 *) ac_try_echo=$ac_try;;
19177 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19178 (eval "$ac_compile") 2>conftest.er1
19180 grep -v '^ *+' conftest.er1 >conftest.err
19182 cat conftest.err >&5
19183 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19184 (exit $ac_status); } && {
19185 test -z "$ac_c_werror_flag" ||
19186 test ! -s conftest.err
19187 } && test -s conftest.$ac_objext; then
19188 eval "$as_ac_Header=yes"
19190 echo "$as_me: failed program was
:" >&5
19191 sed 's/^/| /' conftest.$ac_ext >&5
19193 eval "$as_ac_Header=no
"
19196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19198 ac_res=`eval echo '${'$as_ac_Header'}'`
19199 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19200 echo "${ECHO_T}$ac_res" >&6; }
19201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19202 cat >>confdefs.h <<_ACEOF
19203 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19213 for ac_header in langinfo.h wchar.h
19215 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19216 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19217 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19218 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19219 echo $ECHO_N "(cached
) $ECHO_C" >&6
19221 cat >conftest.$ac_ext <<_ACEOF
19224 cat confdefs.h >>conftest.$ac_ext
19225 cat >>conftest.$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19227 $ac_includes_default
19229 #include <$ac_header>
19231 rm -f conftest.$ac_objext
19232 if { (ac_try="$ac_compile"
19233 case "(($ac_try" in
19234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19235 *) ac_try_echo=$ac_try;;
19237 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19238 (eval "$ac_compile") 2>conftest.er1
19240 grep -v '^ *+' conftest.er1 >conftest.err
19242 cat conftest.err >&5
19243 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19244 (exit $ac_status); } && {
19245 test -z "$ac_c_werror_flag" ||
19246 test ! -s conftest.err
19247 } && test -s conftest.$ac_objext; then
19248 eval "$as_ac_Header=yes"
19250 echo "$as_me: failed program was
:" >&5
19251 sed 's/^/| /' conftest.$ac_ext >&5
19253 eval "$as_ac_Header=no
"
19256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258 ac_res=`eval echo '${'$as_ac_Header'}'`
19259 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19260 echo "${ECHO_T}$ac_res" >&6; }
19261 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19262 cat >>confdefs.h <<_ACEOF
19263 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19271 if test "$ac_cv_header_wchar_h" != "yes"; then
19273 for ac_header in wcstr.h
19275 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19276 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19277 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19278 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19279 echo $ECHO_N "(cached
) $ECHO_C" >&6
19281 cat >conftest.$ac_ext <<_ACEOF
19284 cat confdefs.h >>conftest.$ac_ext
19285 cat >>conftest.$ac_ext <<_ACEOF
19286 /* end confdefs.h. */
19287 $ac_includes_default
19289 #include <$ac_header>
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 eval "$as_ac_Header=yes"
19310 echo "$as_me: failed program was
:" >&5
19311 sed 's/^/| /' conftest.$ac_ext >&5
19313 eval "$as_ac_Header=no
"
19316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19318 ac_res=`eval echo '${'$as_ac_Header'}'`
19319 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19320 echo "${ECHO_T}$ac_res" >&6; }
19321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19322 cat >>confdefs.h <<_ACEOF
19323 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19333 *-pc-os2_emx | *-pc-os2-emx )
19334 if test $ac_cv_header_langinfo_h = "yes" \
19335 -a \( "$wx_cv_gccversion" = "EMX2
" \
19336 -o "$wx_cv_gccversion" = "EMX3
" \
19337 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19338 LIBS="$LIBS -lintl"
19343 if test "$USE_UNIX" = 1 ; then
19345 for ac_header in sys/select.h
19347 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19348 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19349 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19350 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19351 echo $ECHO_N "(cached
) $ECHO_C" >&6
19353 cat >conftest.$ac_ext <<_ACEOF
19356 cat confdefs.h >>conftest.$ac_ext
19357 cat >>conftest.$ac_ext <<_ACEOF
19358 /* end confdefs.h. */
19359 $ac_includes_default
19361 #include <$ac_header>
19363 rm -f conftest.$ac_objext
19364 if { (ac_try="$ac_compile"
19365 case "(($ac_try" in
19366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19367 *) ac_try_echo=$ac_try;;
19369 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19370 (eval "$ac_compile") 2>conftest.er1
19372 grep -v '^ *+' conftest.er1 >conftest.err
19374 cat conftest.err >&5
19375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19376 (exit $ac_status); } && {
19377 test -z "$ac_c_werror_flag" ||
19378 test ! -s conftest.err
19379 } && test -s conftest.$ac_objext; then
19380 eval "$as_ac_Header=yes"
19382 echo "$as_me: failed program was
:" >&5
19383 sed 's/^/| /' conftest.$ac_ext >&5
19385 eval "$as_ac_Header=no
"
19388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19390 ac_res=`eval echo '${'$as_ac_Header'}'`
19391 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19392 echo "${ECHO_T}$ac_res" >&6; }
19393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19394 cat >>confdefs.h <<_ACEOF
19395 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19405 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19406 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19407 if test "${ac_cv_c_const+set}" = set; then
19408 echo $ECHO_N "(cached
) $ECHO_C" >&6
19410 cat >conftest.$ac_ext <<_ACEOF
19413 cat confdefs.h >>conftest.$ac_ext
19414 cat >>conftest.$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19420 /* FIXME: Include the comments suggested by Paul. */
19421 #ifndef __cplusplus
19422 /* Ultrix mips cc rejects this. */
19423 typedef int charset[2];
19425 /* SunOS 4.1.1 cc rejects this. */
19426 char const *const *pcpcc;
19428 /* NEC SVR4.0.2 mips cc rejects this. */
19429 struct point {int x, y;};
19430 static struct point const zero = {0,0};
19431 /* AIX XL C 1.02.0.0 rejects this.
19432 It does not let you subtract one const X* pointer from another in
19433 an arm of an if-expression whose if-part is not a constant
19435 const char *g = "string
";
19436 pcpcc = &g + (g ? g-g : 0);
19437 /* HPUX 7.0 cc rejects these. */
19439 ppc = (char**) pcpcc;
19440 pcpcc = (char const *const *) ppc;
19441 { /* SCO 3.2v4 cc rejects this. */
19443 char const *s = 0 ? (char *) 0 : (char const *) 0;
19448 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19449 int x[] = {25, 17};
19450 const int *foo = &x[0];
19453 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19454 typedef const int *iptr;
19458 { /* AIX XL C 1.02.0.0 rejects this saying
19459 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19460 struct s { int j; const int *ap[3]; };
19461 struct s *b; b->j = 5;
19463 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19464 const int foo = 10;
19465 if (!foo) return 0;
19467 return !cs[0] && !zero.x;
19474 rm -f conftest.$ac_objext
19475 if { (ac_try="$ac_compile"
19476 case "(($ac_try" in
19477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19478 *) ac_try_echo=$ac_try;;
19480 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19481 (eval "$ac_compile") 2>conftest.er1
19483 grep -v '^ *+' conftest.er1 >conftest.err
19485 cat conftest.err >&5
19486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19487 (exit $ac_status); } && {
19488 test -z "$ac_c_werror_flag" ||
19489 test ! -s conftest.err
19490 } && test -s conftest.$ac_objext; then
19493 echo "$as_me: failed program was
:" >&5
19494 sed 's/^/| /' conftest.$ac_ext >&5
19499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19501 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19502 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19503 if test $ac_cv_c_const = no; then
19505 cat >>confdefs.h <<\_ACEOF
19511 { echo "$as_me:$LINENO: checking
for inline
" >&5
19512 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19513 if test "${ac_cv_c_inline+set}" = set; then
19514 echo $ECHO_N "(cached
) $ECHO_C" >&6
19517 for ac_kw in inline __inline__ __inline; do
19518 cat >conftest.$ac_ext <<_ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524 #ifndef __cplusplus
19526 static $ac_kw foo_t static_foo () {return 0; }
19527 $ac_kw foo_t foo () {return 0; }
19531 rm -f conftest.$ac_objext
19532 if { (ac_try="$ac_compile"
19533 case "(($ac_try" in
19534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19535 *) ac_try_echo=$ac_try;;
19537 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19538 (eval "$ac_compile") 2>conftest.er1
19540 grep -v '^ *+' conftest.er1 >conftest.err
19542 cat conftest.err >&5
19543 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19544 (exit $ac_status); } && {
19545 test -z "$ac_c_werror_flag" ||
19546 test ! -s conftest.err
19547 } && test -s conftest.$ac_objext; then
19548 ac_cv_c_inline=$ac_kw
19550 echo "$as_me: failed program was
:" >&5
19551 sed 's/^/| /' conftest.$ac_ext >&5
19556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19557 test "$ac_cv_c_inline" != no && break
19561 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19562 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19565 case $ac_cv_c_inline in
19568 case $ac_cv_c_inline in
19570 *) ac_val=$ac_cv_c_inline;;
19572 cat >>confdefs.h <<_ACEOF
19573 #ifndef __cplusplus
19574 #define inline $ac_val
19581 { echo "$as_me:$LINENO: checking
for short
" >&5
19582 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19583 if test "${ac_cv_type_short+set}" = set; then
19584 echo $ECHO_N "(cached
) $ECHO_C" >&6
19586 cat >conftest.$ac_ext <<_ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19592 $ac_includes_default
19593 typedef short ac__type_new_;
19597 if ((ac__type_new_ *) 0)
19599 if (sizeof (ac__type_new_))
19605 rm -f conftest.$ac_objext
19606 if { (ac_try="$ac_compile"
19607 case "(($ac_try" in
19608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19609 *) ac_try_echo=$ac_try;;
19611 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19612 (eval "$ac_compile") 2>conftest.er1
19614 grep -v '^ *+' conftest.er1 >conftest.err
19616 cat conftest.err >&5
19617 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19618 (exit $ac_status); } && {
19619 test -z "$ac_c_werror_flag" ||
19620 test ! -s conftest.err
19621 } && test -s conftest.$ac_objext; then
19622 ac_cv_type_short=yes
19624 echo "$as_me: failed program was
:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19627 ac_cv_type_short=no
19630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19632 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19633 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19635 # The cast to long int works around a bug in the HP C Compiler
19636 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19637 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19638 # This bug is HP SR number 8606223364.
19639 { echo "$as_me:$LINENO: checking size of short
" >&5
19640 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19641 if test "${ac_cv_sizeof_short+set}" = set; then
19642 echo $ECHO_N "(cached
) $ECHO_C" >&6
19644 if test "$cross_compiling" = yes; then
19645 # Depending upon the size, compute the lo and hi bounds.
19646 cat >conftest.$ac_ext <<_ACEOF
19649 cat confdefs.h >>conftest.$ac_ext
19650 cat >>conftest.$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 $ac_includes_default
19653 typedef short ac__type_sizeof_;
19657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19664 rm -f conftest.$ac_objext
19665 if { (ac_try="$ac_compile"
19666 case "(($ac_try" in
19667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19668 *) ac_try_echo=$ac_try;;
19670 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19671 (eval "$ac_compile") 2>conftest.er1
19673 grep -v '^ *+' conftest.er1 >conftest.err
19675 cat conftest.err >&5
19676 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19677 (exit $ac_status); } && {
19678 test -z "$ac_c_werror_flag" ||
19679 test ! -s conftest.err
19680 } && test -s conftest.$ac_objext; then
19683 cat >conftest.$ac_ext <<_ACEOF
19686 cat confdefs.h >>conftest.$ac_ext
19687 cat >>conftest.$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 $ac_includes_default
19690 typedef short ac__type_sizeof_;
19694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19701 rm -f conftest.$ac_objext
19702 if { (ac_try="$ac_compile"
19703 case "(($ac_try" in
19704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19705 *) ac_try_echo=$ac_try;;
19707 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19708 (eval "$ac_compile") 2>conftest.er1
19710 grep -v '^ *+' conftest.er1 >conftest.err
19712 cat conftest.err >&5
19713 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19714 (exit $ac_status); } && {
19715 test -z "$ac_c_werror_flag" ||
19716 test ! -s conftest.err
19717 } && test -s conftest.$ac_objext; then
19718 ac_hi=$ac_mid; break
19720 echo "$as_me: failed program was
:" >&5
19721 sed 's/^/| /' conftest.$ac_ext >&5
19723 ac_lo=`expr $ac_mid + 1`
19724 if test $ac_lo -le $ac_mid; then
19728 ac_mid=`expr 2 '*' $ac_mid + 1`
19731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19734 echo "$as_me: failed program was
:" >&5
19735 sed 's/^/| /' conftest.$ac_ext >&5
19737 cat >conftest.$ac_ext <<_ACEOF
19740 cat confdefs.h >>conftest.$ac_ext
19741 cat >>conftest.$ac_ext <<_ACEOF
19742 /* end confdefs.h. */
19743 $ac_includes_default
19744 typedef short ac__type_sizeof_;
19748 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19755 rm -f conftest.$ac_objext
19756 if { (ac_try="$ac_compile"
19757 case "(($ac_try" in
19758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19759 *) ac_try_echo=$ac_try;;
19761 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19762 (eval "$ac_compile") 2>conftest.er1
19764 grep -v '^ *+' conftest.er1 >conftest.err
19766 cat conftest.err >&5
19767 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19768 (exit $ac_status); } && {
19769 test -z "$ac_c_werror_flag" ||
19770 test ! -s conftest.err
19771 } && test -s conftest.$ac_objext; then
19774 cat >conftest.$ac_ext <<_ACEOF
19777 cat confdefs.h >>conftest.$ac_ext
19778 cat >>conftest.$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19780 $ac_includes_default
19781 typedef short ac__type_sizeof_;
19785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19792 rm -f conftest.$ac_objext
19793 if { (ac_try="$ac_compile"
19794 case "(($ac_try" in
19795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19796 *) ac_try_echo=$ac_try;;
19798 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19799 (eval "$ac_compile") 2>conftest.er1
19801 grep -v '^ *+' conftest.er1 >conftest.err
19803 cat conftest.err >&5
19804 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19805 (exit $ac_status); } && {
19806 test -z "$ac_c_werror_flag" ||
19807 test ! -s conftest.err
19808 } && test -s conftest.$ac_objext; then
19809 ac_lo=$ac_mid; break
19811 echo "$as_me: failed program was
:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19814 ac_hi=`expr '(' $ac_mid ')' - 1`
19815 if test $ac_mid -le $ac_hi; then
19819 ac_mid=`expr 2 '*' $ac_mid`
19822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19825 echo "$as_me: failed program was
:" >&5
19826 sed 's/^/| /' conftest.$ac_ext >&5
19831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19835 # Binary search between lo and hi bounds.
19836 while test "x
$ac_lo" != "x
$ac_hi"; do
19837 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19838 cat >conftest.$ac_ext <<_ACEOF
19841 cat confdefs.h >>conftest.$ac_ext
19842 cat >>conftest.$ac_ext <<_ACEOF
19843 /* end confdefs.h. */
19844 $ac_includes_default
19845 typedef short ac__type_sizeof_;
19849 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19856 rm -f conftest.$ac_objext
19857 if { (ac_try="$ac_compile"
19858 case "(($ac_try" in
19859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19860 *) ac_try_echo=$ac_try;;
19862 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19863 (eval "$ac_compile") 2>conftest.er1
19865 grep -v '^ *+' conftest.er1 >conftest.err
19867 cat conftest.err >&5
19868 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19869 (exit $ac_status); } && {
19870 test -z "$ac_c_werror_flag" ||
19871 test ! -s conftest.err
19872 } && test -s conftest.$ac_objext; then
19875 echo "$as_me: failed program was
:" >&5
19876 sed 's/^/| /' conftest.$ac_ext >&5
19878 ac_lo=`expr '(' $ac_mid ')' + 1`
19881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19884 ?*) ac_cv_sizeof_short=$ac_lo;;
19885 '') if test "$ac_cv_type_short" = yes; then
19886 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19887 See \
`config.log' for more details." >&5
19888 echo "$as_me: error: cannot compute sizeof (short)
19889 See \`config.log
' for more details." >&2;}
19890 { (exit 77); exit 77; }; }
19892 ac_cv_sizeof_short=0
19896 cat >conftest.$ac_ext <<_ACEOF
19899 cat confdefs.h >>conftest.$ac_ext
19900 cat >>conftest.$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19902 $ac_includes_default
19903 typedef short ac__type_sizeof_;
19904 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19905 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19907 #include <stdlib.h>
19912 FILE *f = fopen ("conftest.val", "w");
19915 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19917 long int i = longval ();
19918 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19920 fprintf (f, "%ld\n", i);
19924 unsigned long int i = ulongval ();
19925 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19927 fprintf (f, "%lu\n", i);
19929 return ferror (f) || fclose (f) != 0;
19935 rm -f conftest$ac_exeext
19936 if { (ac_try="$ac_link"
19937 case "(($ac_try" in
19938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19939 *) ac_try_echo=$ac_try;;
19941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19942 (eval "$ac_link") 2>&5
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19946 { (case "(($ac_try" in
19947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19948 *) ac_try_echo=$ac_try;;
19950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19951 (eval "$ac_try") 2>&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; }; then
19955 ac_cv_sizeof_short=`cat conftest.val`
19957 echo "$as_me: program exited with status $ac_status" >&5
19958 echo "$as_me: failed program was:" >&5
19959 sed 's
/^
/| /' conftest.$ac_ext >&5
19961 ( exit $ac_status )
19962 if test "$ac_cv_type_short" = yes; then
19963 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19964 See \`config.log' for more details.
" >&5
19965 echo "$as_me: error
: cannot compute sizeof
(short
)
19966 See \
`config.log' for more details." >&2;}
19967 { (exit 77); exit 77; }; }
19969 ac_cv_sizeof_short=0
19972 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19976 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19977 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19981 cat >>confdefs.h <<_ACEOF
19982 #define SIZEOF_SHORT $ac_cv_sizeof_short
19986 { echo "$as_me:$LINENO: checking for void *" >&5
19987 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19988 if test "${ac_cv_type_void_p+set}" = set; then
19989 echo $ECHO_N "(cached) $ECHO_C" >&6
19991 cat >conftest.$ac_ext <<_ACEOF
19994 cat confdefs.h >>conftest.$ac_ext
19995 cat >>conftest.$ac_ext <<_ACEOF
19996 /* end confdefs.h. */
19997 $ac_includes_default
19998 typedef void * ac__type_new_;
20002 if ((ac__type_new_ *) 0)
20004 if (sizeof (ac__type_new_))
20010 rm -f conftest.$ac_objext
20011 if { (ac_try="$ac_compile"
20012 case "(($ac_try" in
20013 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20014 *) ac_try_echo
=$ac_try;;
20016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20017 (eval "$ac_compile") 2>conftest.er1
20019 grep -v '^ *+' conftest.er1
>conftest.err
20021 cat conftest.err
>&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); } && {
20024 test -z "$ac_c_werror_flag" ||
20025 test ! -s conftest.err
20026 } && test -s conftest.
$ac_objext; then
20027 ac_cv_type_void_p
=yes
20029 echo "$as_me: failed program was:" >&5
20030 sed 's/^/| /' conftest.
$ac_ext >&5
20032 ac_cv_type_void_p
=no
20035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20037 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20038 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20040 # The cast to long int works around a bug in the HP C Compiler
20041 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20042 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20043 # This bug is HP SR number 8606223364.
20044 { echo "$as_me:$LINENO: checking size of void *" >&5
20045 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20046 if test "${ac_cv_sizeof_void_p+set}" = set; then
20047 echo $ECHO_N "(cached) $ECHO_C" >&6
20049 if test "$cross_compiling" = yes; then
20050 # Depending upon the size, compute the lo and hi bounds.
20051 cat >conftest.
$ac_ext <<_ACEOF
20054 cat confdefs.h
>>conftest.
$ac_ext
20055 cat >>conftest.
$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20057 $ac_includes_default
20058 typedef void * ac__type_sizeof_;
20062 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20069 rm -f conftest.
$ac_objext
20070 if { (ac_try
="$ac_compile"
20071 case "(($ac_try" in
20072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20073 *) ac_try_echo=$ac_try;;
20075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20076 (eval "$ac_compile") 2>conftest.er1
20078 grep -v '^ *+' conftest.er1 >conftest.err
20080 cat conftest.err >&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } && {
20083 test -z "$ac_c_werror_flag" ||
20084 test ! -s conftest.err
20085 } && test -s conftest.$ac_objext; then
20088 cat >conftest.$ac_ext <<_ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094 $ac_includes_default
20095 typedef void * ac__type_sizeof_;
20099 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20106 rm -f conftest.$ac_objext
20107 if { (ac_try="$ac_compile"
20108 case "(($ac_try" in
20109 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20110 *) ac_try_echo
=$ac_try;;
20112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20113 (eval "$ac_compile") 2>conftest.er1
20115 grep -v '^ *+' conftest.er1
>conftest.err
20117 cat conftest.err
>&5
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); } && {
20120 test -z "$ac_c_werror_flag" ||
20121 test ! -s conftest.err
20122 } && test -s conftest.
$ac_objext; then
20123 ac_hi
=$ac_mid; break
20125 echo "$as_me: failed program was:" >&5
20126 sed 's/^/| /' conftest.
$ac_ext >&5
20128 ac_lo
=`expr $ac_mid + 1`
20129 if test $ac_lo -le $ac_mid; then
20133 ac_mid
=`expr 2 '*' $ac_mid + 1`
20136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20139 echo "$as_me: failed program was:" >&5
20140 sed 's/^/| /' conftest.
$ac_ext >&5
20142 cat >conftest.
$ac_ext <<_ACEOF
20145 cat confdefs.h
>>conftest.
$ac_ext
20146 cat >>conftest.
$ac_ext <<_ACEOF
20147 /* end confdefs.h. */
20148 $ac_includes_default
20149 typedef void * ac__type_sizeof_;
20153 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20160 rm -f conftest.
$ac_objext
20161 if { (ac_try
="$ac_compile"
20162 case "(($ac_try" in
20163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20164 *) ac_try_echo=$ac_try;;
20166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20167 (eval "$ac_compile") 2>conftest.er1
20169 grep -v '^ *+' conftest.er1 >conftest.err
20171 cat conftest.err >&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); } && {
20174 test -z "$ac_c_werror_flag" ||
20175 test ! -s conftest.err
20176 } && test -s conftest.$ac_objext; then
20179 cat >conftest.$ac_ext <<_ACEOF
20182 cat confdefs.h >>conftest.$ac_ext
20183 cat >>conftest.$ac_ext <<_ACEOF
20184 /* end confdefs.h. */
20185 $ac_includes_default
20186 typedef void * ac__type_sizeof_;
20190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20197 rm -f conftest.$ac_objext
20198 if { (ac_try="$ac_compile"
20199 case "(($ac_try" in
20200 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20201 *) ac_try_echo
=$ac_try;;
20203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20204 (eval "$ac_compile") 2>conftest.er1
20206 grep -v '^ *+' conftest.er1
>conftest.err
20208 cat conftest.err
>&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); } && {
20211 test -z "$ac_c_werror_flag" ||
20212 test ! -s conftest.err
20213 } && test -s conftest.
$ac_objext; then
20214 ac_lo
=$ac_mid; break
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.
$ac_ext >&5
20219 ac_hi
=`expr '(' $ac_mid ')' - 1`
20220 if test $ac_mid -le $ac_hi; then
20224 ac_mid
=`expr 2 '*' $ac_mid`
20227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20230 echo "$as_me: failed program was:" >&5
20231 sed 's/^/| /' conftest.
$ac_ext >&5
20236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20240 # Binary search between lo and hi bounds.
20241 while test "x$ac_lo" != "x$ac_hi"; do
20242 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20243 cat >conftest.
$ac_ext <<_ACEOF
20246 cat confdefs.h
>>conftest.
$ac_ext
20247 cat >>conftest.
$ac_ext <<_ACEOF
20248 /* end confdefs.h. */
20249 $ac_includes_default
20250 typedef void * ac__type_sizeof_;
20254 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20261 rm -f conftest.
$ac_objext
20262 if { (ac_try
="$ac_compile"
20263 case "(($ac_try" in
20264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20265 *) ac_try_echo=$ac_try;;
20267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20268 (eval "$ac_compile") 2>conftest.er1
20270 grep -v '^ *+' conftest.er1 >conftest.err
20272 cat conftest.err >&5
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); } && {
20275 test -z "$ac_c_werror_flag" ||
20276 test ! -s conftest.err
20277 } && test -s conftest.$ac_objext; then
20280 echo "$as_me: failed program was:" >&5
20281 sed 's/^/| /' conftest.$ac_ext >&5
20283 ac_lo=`expr '(' $ac_mid ')' + 1`
20286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20289 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20290 '') if test "$ac_cv_type_void_p" = yes; then
20291 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20292 See \`config.log
' for more details." >&5
20293 echo "$as_me: error: cannot compute sizeof (void *)
20294 See \`config.log' for more details.
" >&2;}
20295 { (exit 77); exit 77; }; }
20297 ac_cv_sizeof_void_p=0
20301 cat >conftest.$ac_ext <<_ACEOF
20304 cat confdefs.h >>conftest.$ac_ext
20305 cat >>conftest.$ac_ext <<_ACEOF
20306 /* end confdefs.h. */
20307 $ac_includes_default
20308 typedef void * ac__type_sizeof_;
20309 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20310 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20312 #include <stdlib.h>
20317 FILE *f = fopen ("conftest.val
", "w
");
20320 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20322 long int i = longval ();
20323 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20325 fprintf (f, "%ld
\n", i);
20329 unsigned long int i = ulongval ();
20330 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20332 fprintf (f, "%lu
\n", i);
20334 return ferror (f) || fclose (f) != 0;
20340 rm -f conftest$ac_exeext
20341 if { (ac_try="$ac_link"
20342 case "(($ac_try" in
20343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20344 *) ac_try_echo=$ac_try;;
20346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20347 (eval "$ac_link") 2>&5
20349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20350 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20351 { (case "(($ac_try" in
20352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20353 *) ac_try_echo=$ac_try;;
20355 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20356 (eval "$ac_try") 2>&5
20358 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20359 (exit $ac_status); }; }; then
20360 ac_cv_sizeof_void_p=`cat conftest.val`
20362 echo "$as_me: program exited with status
$ac_status" >&5
20363 echo "$as_me: failed program was
:" >&5
20364 sed 's/^/| /' conftest.$ac_ext >&5
20366 ( exit $ac_status )
20367 if test "$ac_cv_type_void_p" = yes; then
20368 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20369 See \
`config.log' for more details." >&5
20370 echo "$as_me: error: cannot compute sizeof (void *)
20371 See \`config.log
' for more details." >&2;}
20372 { (exit 77); exit 77; }; }
20374 ac_cv_sizeof_void_p=0
20377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20381 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20382 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20386 cat >>confdefs.h <<_ACEOF
20387 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20391 { echo "$as_me:$LINENO: checking for int" >&5
20392 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20393 if test "${ac_cv_type_int+set}" = set; then
20394 echo $ECHO_N "(cached) $ECHO_C" >&6
20396 cat >conftest.$ac_ext <<_ACEOF
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h. */
20402 $ac_includes_default
20403 typedef int ac__type_new_;
20407 if ((ac__type_new_ *) 0)
20409 if (sizeof (ac__type_new_))
20415 rm -f conftest.$ac_objext
20416 if { (ac_try="$ac_compile"
20417 case "(($ac_try" in
20418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20419 *) ac_try_echo=$ac_try;;
20421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20422 (eval "$ac_compile") 2>conftest.er1
20424 grep -v '^
*+' conftest.er1 >conftest.err
20426 cat conftest.err >&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); } && {
20429 test -z "$ac_c_werror_flag" ||
20430 test ! -s conftest.err
20431 } && test -s conftest.$ac_objext; then
20434 echo "$as_me: failed program was:" >&5
20435 sed 's
/^
/| /' conftest.$ac_ext >&5
20440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20442 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20443 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20445 # The cast to long int works around a bug in the HP C Compiler
20446 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20447 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20448 # This bug is HP SR number 8606223364.
20449 { echo "$as_me:$LINENO: checking size of int" >&5
20450 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20451 if test "${ac_cv_sizeof_int+set}" = set; then
20452 echo $ECHO_N "(cached) $ECHO_C" >&6
20454 if test "$cross_compiling" = yes; then
20455 # Depending upon the size, compute the lo and hi bounds.
20456 cat >conftest.
$ac_ext <<_ACEOF
20459 cat confdefs.h
>>conftest.
$ac_ext
20460 cat >>conftest.
$ac_ext <<_ACEOF
20461 /* end confdefs.h. */
20462 $ac_includes_default
20463 typedef int ac__type_sizeof_;
20467 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20474 rm -f conftest.
$ac_objext
20475 if { (ac_try
="$ac_compile"
20476 case "(($ac_try" in
20477 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20478 *) ac_try_echo=$ac_try;;
20480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20481 (eval "$ac_compile") 2>conftest.er1
20483 grep -v '^ *+' conftest.er1 >conftest.err
20485 cat conftest.err >&5
20486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487 (exit $ac_status); } && {
20488 test -z "$ac_c_werror_flag" ||
20489 test ! -s conftest.err
20490 } && test -s conftest.$ac_objext; then
20493 cat >conftest.$ac_ext <<_ACEOF
20496 cat confdefs.h >>conftest.$ac_ext
20497 cat >>conftest.$ac_ext <<_ACEOF
20498 /* end confdefs.h. */
20499 $ac_includes_default
20500 typedef int ac__type_sizeof_;
20504 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20511 rm -f conftest.$ac_objext
20512 if { (ac_try="$ac_compile"
20513 case "(($ac_try" in
20514 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20515 *) ac_try_echo
=$ac_try;;
20517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20518 (eval "$ac_compile") 2>conftest.er1
20520 grep -v '^ *+' conftest.er1
>conftest.err
20522 cat conftest.err
>&5
20523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524 (exit $ac_status); } && {
20525 test -z "$ac_c_werror_flag" ||
20526 test ! -s conftest.err
20527 } && test -s conftest.
$ac_objext; then
20528 ac_hi
=$ac_mid; break
20530 echo "$as_me: failed program was:" >&5
20531 sed 's/^/| /' conftest.
$ac_ext >&5
20533 ac_lo
=`expr $ac_mid + 1`
20534 if test $ac_lo -le $ac_mid; then
20538 ac_mid
=`expr 2 '*' $ac_mid + 1`
20541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20544 echo "$as_me: failed program was:" >&5
20545 sed 's/^/| /' conftest.
$ac_ext >&5
20547 cat >conftest.
$ac_ext <<_ACEOF
20550 cat confdefs.h
>>conftest.
$ac_ext
20551 cat >>conftest.
$ac_ext <<_ACEOF
20552 /* end confdefs.h. */
20553 $ac_includes_default
20554 typedef int ac__type_sizeof_;
20558 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20565 rm -f conftest.
$ac_objext
20566 if { (ac_try
="$ac_compile"
20567 case "(($ac_try" in
20568 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20569 *) ac_try_echo=$ac_try;;
20571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20572 (eval "$ac_compile") 2>conftest.er1
20574 grep -v '^ *+' conftest.er1 >conftest.err
20576 cat conftest.err >&5
20577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20578 (exit $ac_status); } && {
20579 test -z "$ac_c_werror_flag" ||
20580 test ! -s conftest.err
20581 } && test -s conftest.$ac_objext; then
20584 cat >conftest.$ac_ext <<_ACEOF
20587 cat confdefs.h >>conftest.$ac_ext
20588 cat >>conftest.$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 $ac_includes_default
20591 typedef int ac__type_sizeof_;
20595 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20602 rm -f conftest.$ac_objext
20603 if { (ac_try="$ac_compile"
20604 case "(($ac_try" in
20605 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20606 *) ac_try_echo
=$ac_try;;
20608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20609 (eval "$ac_compile") 2>conftest.er1
20611 grep -v '^ *+' conftest.er1
>conftest.err
20613 cat conftest.err
>&5
20614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20615 (exit $ac_status); } && {
20616 test -z "$ac_c_werror_flag" ||
20617 test ! -s conftest.err
20618 } && test -s conftest.
$ac_objext; then
20619 ac_lo
=$ac_mid; break
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.
$ac_ext >&5
20624 ac_hi
=`expr '(' $ac_mid ')' - 1`
20625 if test $ac_mid -le $ac_hi; then
20629 ac_mid
=`expr 2 '*' $ac_mid`
20632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.
$ac_ext >&5
20641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20645 # Binary search between lo and hi bounds.
20646 while test "x$ac_lo" != "x$ac_hi"; do
20647 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20648 cat >conftest.
$ac_ext <<_ACEOF
20651 cat confdefs.h
>>conftest.
$ac_ext
20652 cat >>conftest.
$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 $ac_includes_default
20655 typedef int ac__type_sizeof_;
20659 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20666 rm -f conftest.
$ac_objext
20667 if { (ac_try
="$ac_compile"
20668 case "(($ac_try" in
20669 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20670 *) ac_try_echo=$ac_try;;
20672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20673 (eval "$ac_compile") 2>conftest.er1
20675 grep -v '^ *+' conftest.er1 >conftest.err
20677 cat conftest.err >&5
20678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20679 (exit $ac_status); } && {
20680 test -z "$ac_c_werror_flag" ||
20681 test ! -s conftest.err
20682 } && test -s conftest.$ac_objext; then
20685 echo "$as_me: failed program was:" >&5
20686 sed 's/^/| /' conftest.$ac_ext >&5
20688 ac_lo=`expr '(' $ac_mid ')' + 1`
20691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20694 ?*) ac_cv_sizeof_int=$ac_lo;;
20695 '') if test "$ac_cv_type_int" = yes; then
20696 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20697 See \`config.log
' for more details." >&5
20698 echo "$as_me: error: cannot compute sizeof (int)
20699 See \`config.log' for more details.
" >&2;}
20700 { (exit 77); exit 77; }; }
20706 cat >conftest.$ac_ext <<_ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 $ac_includes_default
20713 typedef int ac__type_sizeof_;
20714 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20715 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20717 #include <stdlib.h>
20722 FILE *f = fopen ("conftest.val
", "w
");
20725 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20727 long int i = longval ();
20728 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20730 fprintf (f, "%ld
\n", i);
20734 unsigned long int i = ulongval ();
20735 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20737 fprintf (f, "%lu
\n", i);
20739 return ferror (f) || fclose (f) != 0;
20745 rm -f conftest$ac_exeext
20746 if { (ac_try="$ac_link"
20747 case "(($ac_try" in
20748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20749 *) ac_try_echo=$ac_try;;
20751 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20752 (eval "$ac_link") 2>&5
20754 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20755 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20756 { (case "(($ac_try" in
20757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20758 *) ac_try_echo=$ac_try;;
20760 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20761 (eval "$ac_try") 2>&5
20763 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20764 (exit $ac_status); }; }; then
20765 ac_cv_sizeof_int=`cat conftest.val`
20767 echo "$as_me: program exited with status
$ac_status" >&5
20768 echo "$as_me: failed program was
:" >&5
20769 sed 's/^/| /' conftest.$ac_ext >&5
20771 ( exit $ac_status )
20772 if test "$ac_cv_type_int" = yes; then
20773 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20774 See \
`config.log' for more details." >&5
20775 echo "$as_me: error: cannot compute sizeof (int)
20776 See \`config.log
' for more details." >&2;}
20777 { (exit 77); exit 77; }; }
20782 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20786 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20787 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20791 cat >>confdefs.h <<_ACEOF
20792 #define SIZEOF_INT $ac_cv_sizeof_int
20796 { echo "$as_me:$LINENO: checking for long" >&5
20797 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20798 if test "${ac_cv_type_long+set}" = set; then
20799 echo $ECHO_N "(cached) $ECHO_C" >&6
20801 cat >conftest.$ac_ext <<_ACEOF
20804 cat confdefs.h >>conftest.$ac_ext
20805 cat >>conftest.$ac_ext <<_ACEOF
20806 /* end confdefs.h. */
20807 $ac_includes_default
20808 typedef long ac__type_new_;
20812 if ((ac__type_new_ *) 0)
20814 if (sizeof (ac__type_new_))
20820 rm -f conftest.$ac_objext
20821 if { (ac_try="$ac_compile"
20822 case "(($ac_try" in
20823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20824 *) ac_try_echo=$ac_try;;
20826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20827 (eval "$ac_compile") 2>conftest.er1
20829 grep -v '^
*+' conftest.er1 >conftest.err
20831 cat conftest.err >&5
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); } && {
20834 test -z "$ac_c_werror_flag" ||
20835 test ! -s conftest.err
20836 } && test -s conftest.$ac_objext; then
20837 ac_cv_type_long=yes
20839 echo "$as_me: failed program was:" >&5
20840 sed 's
/^
/| /' conftest.$ac_ext >&5
20845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20847 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20848 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20850 # The cast to long int works around a bug in the HP C Compiler
20851 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20852 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20853 # This bug is HP SR number 8606223364.
20854 { echo "$as_me:$LINENO: checking size of long" >&5
20855 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20856 if test "${ac_cv_sizeof_long+set}" = set; then
20857 echo $ECHO_N "(cached) $ECHO_C" >&6
20859 if test "$cross_compiling" = yes; then
20860 # Depending upon the size, compute the lo and hi bounds.
20861 cat >conftest.
$ac_ext <<_ACEOF
20864 cat confdefs.h
>>conftest.
$ac_ext
20865 cat >>conftest.
$ac_ext <<_ACEOF
20866 /* end confdefs.h. */
20867 $ac_includes_default
20868 typedef long ac__type_sizeof_;
20872 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20879 rm -f conftest.
$ac_objext
20880 if { (ac_try
="$ac_compile"
20881 case "(($ac_try" in
20882 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20883 *) ac_try_echo=$ac_try;;
20885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20886 (eval "$ac_compile") 2>conftest.er1
20888 grep -v '^ *+' conftest.er1 >conftest.err
20890 cat conftest.err >&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } && {
20893 test -z "$ac_c_werror_flag" ||
20894 test ! -s conftest.err
20895 } && test -s conftest.$ac_objext; then
20898 cat >conftest.$ac_ext <<_ACEOF
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20904 $ac_includes_default
20905 typedef long ac__type_sizeof_;
20909 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20916 rm -f conftest.$ac_objext
20917 if { (ac_try="$ac_compile"
20918 case "(($ac_try" in
20919 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20920 *) ac_try_echo
=$ac_try;;
20922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_compile") 2>conftest.er1
20925 grep -v '^ *+' conftest.er1
>conftest.err
20927 cat conftest.err
>&5
20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20929 (exit $ac_status); } && {
20930 test -z "$ac_c_werror_flag" ||
20931 test ! -s conftest.err
20932 } && test -s conftest.
$ac_objext; then
20933 ac_hi
=$ac_mid; break
20935 echo "$as_me: failed program was:" >&5
20936 sed 's/^/| /' conftest.
$ac_ext >&5
20938 ac_lo
=`expr $ac_mid + 1`
20939 if test $ac_lo -le $ac_mid; then
20943 ac_mid
=`expr 2 '*' $ac_mid + 1`
20946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20949 echo "$as_me: failed program was:" >&5
20950 sed 's/^/| /' conftest.
$ac_ext >&5
20952 cat >conftest.
$ac_ext <<_ACEOF
20955 cat confdefs.h
>>conftest.
$ac_ext
20956 cat >>conftest.
$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20958 $ac_includes_default
20959 typedef long ac__type_sizeof_;
20963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20970 rm -f conftest.
$ac_objext
20971 if { (ac_try
="$ac_compile"
20972 case "(($ac_try" in
20973 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20974 *) ac_try_echo=$ac_try;;
20976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20977 (eval "$ac_compile") 2>conftest.er1
20979 grep -v '^ *+' conftest.er1 >conftest.err
20981 cat conftest.err >&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); } && {
20984 test -z "$ac_c_werror_flag" ||
20985 test ! -s conftest.err
20986 } && test -s conftest.$ac_objext; then
20989 cat >conftest.$ac_ext <<_ACEOF
20992 cat confdefs.h >>conftest.$ac_ext
20993 cat >>conftest.$ac_ext <<_ACEOF
20994 /* end confdefs.h. */
20995 $ac_includes_default
20996 typedef long ac__type_sizeof_;
21000 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21007 rm -f conftest.$ac_objext
21008 if { (ac_try="$ac_compile"
21009 case "(($ac_try" in
21010 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21011 *) ac_try_echo
=$ac_try;;
21013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21014 (eval "$ac_compile") 2>conftest.er1
21016 grep -v '^ *+' conftest.er1
>conftest.err
21018 cat conftest.err
>&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } && {
21021 test -z "$ac_c_werror_flag" ||
21022 test ! -s conftest.err
21023 } && test -s conftest.
$ac_objext; then
21024 ac_lo
=$ac_mid; break
21026 echo "$as_me: failed program was:" >&5
21027 sed 's/^/| /' conftest.
$ac_ext >&5
21029 ac_hi
=`expr '(' $ac_mid ')' - 1`
21030 if test $ac_mid -le $ac_hi; then
21034 ac_mid
=`expr 2 '*' $ac_mid`
21037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21040 echo "$as_me: failed program was:" >&5
21041 sed 's/^/| /' conftest.
$ac_ext >&5
21046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21050 # Binary search between lo and hi bounds.
21051 while test "x$ac_lo" != "x$ac_hi"; do
21052 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21053 cat >conftest.
$ac_ext <<_ACEOF
21056 cat confdefs.h
>>conftest.
$ac_ext
21057 cat >>conftest.
$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 $ac_includes_default
21060 typedef long ac__type_sizeof_;
21064 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21071 rm -f conftest.
$ac_objext
21072 if { (ac_try
="$ac_compile"
21073 case "(($ac_try" in
21074 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21075 *) ac_try_echo=$ac_try;;
21077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21078 (eval "$ac_compile") 2>conftest.er1
21080 grep -v '^ *+' conftest.er1 >conftest.err
21082 cat conftest.err >&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } && {
21085 test -z "$ac_c_werror_flag" ||
21086 test ! -s conftest.err
21087 } && test -s conftest.$ac_objext; then
21090 echo "$as_me: failed program was:" >&5
21091 sed 's/^/| /' conftest.$ac_ext >&5
21093 ac_lo=`expr '(' $ac_mid ')' + 1`
21096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21099 ?*) ac_cv_sizeof_long=$ac_lo;;
21100 '') if test "$ac_cv_type_long" = yes; then
21101 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21102 See \`config.log
' for more details." >&5
21103 echo "$as_me: error: cannot compute sizeof (long)
21104 See \`config.log' for more details.
" >&2;}
21105 { (exit 77); exit 77; }; }
21107 ac_cv_sizeof_long=0
21111 cat >conftest.$ac_ext <<_ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21117 $ac_includes_default
21118 typedef long ac__type_sizeof_;
21119 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21120 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21122 #include <stdlib.h>
21127 FILE *f = fopen ("conftest.val
", "w
");
21130 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21132 long int i = longval ();
21133 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21135 fprintf (f, "%ld
\n", i);
21139 unsigned long int i = ulongval ();
21140 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21142 fprintf (f, "%lu
\n", i);
21144 return ferror (f) || fclose (f) != 0;
21150 rm -f conftest$ac_exeext
21151 if { (ac_try="$ac_link"
21152 case "(($ac_try" in
21153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21154 *) ac_try_echo=$ac_try;;
21156 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21157 (eval "$ac_link") 2>&5
21159 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21160 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21161 { (case "(($ac_try" in
21162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21163 *) ac_try_echo=$ac_try;;
21165 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21166 (eval "$ac_try") 2>&5
21168 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21169 (exit $ac_status); }; }; then
21170 ac_cv_sizeof_long=`cat conftest.val`
21172 echo "$as_me: program exited with status
$ac_status" >&5
21173 echo "$as_me: failed program was
:" >&5
21174 sed 's/^/| /' conftest.$ac_ext >&5
21176 ( exit $ac_status )
21177 if test "$ac_cv_type_long" = yes; then
21178 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21179 See \
`config.log' for more details." >&5
21180 echo "$as_me: error: cannot compute sizeof (long)
21181 See \`config.log
' for more details." >&2;}
21182 { (exit 77); exit 77; }; }
21184 ac_cv_sizeof_long=0
21187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21191 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21192 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21196 cat >>confdefs.h <<_ACEOF
21197 #define SIZEOF_LONG $ac_cv_sizeof_long
21201 { echo "$as_me:$LINENO: checking for size_t" >&5
21202 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21203 if test "${ac_cv_type_size_t+set}" = set; then
21204 echo $ECHO_N "(cached) $ECHO_C" >&6
21206 cat >conftest.$ac_ext <<_ACEOF
21209 cat confdefs.h >>conftest.$ac_ext
21210 cat >>conftest.$ac_ext <<_ACEOF
21211 /* end confdefs.h. */
21212 $ac_includes_default
21213 typedef size_t ac__type_new_;
21217 if ((ac__type_new_ *) 0)
21219 if (sizeof (ac__type_new_))
21225 rm -f conftest.$ac_objext
21226 if { (ac_try="$ac_compile"
21227 case "(($ac_try" in
21228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21229 *) ac_try_echo=$ac_try;;
21231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232 (eval "$ac_compile") 2>conftest.er1
21234 grep -v '^
*+' conftest.er1 >conftest.err
21236 cat conftest.err >&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } && {
21239 test -z "$ac_c_werror_flag" ||
21240 test ! -s conftest.err
21241 } && test -s conftest.$ac_objext; then
21242 ac_cv_type_size_t=yes
21244 echo "$as_me: failed program was:" >&5
21245 sed 's
/^
/| /' conftest.$ac_ext >&5
21247 ac_cv_type_size_t=no
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21252 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21253 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21255 # The cast to long int works around a bug in the HP C Compiler
21256 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21257 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21258 # This bug is HP SR number 8606223364.
21259 { echo "$as_me:$LINENO: checking size of size_t" >&5
21260 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21261 if test "${ac_cv_sizeof_size_t+set}" = set; then
21262 echo $ECHO_N "(cached) $ECHO_C" >&6
21264 if test "$cross_compiling" = yes; then
21265 # Depending upon the size, compute the lo and hi bounds.
21266 cat >conftest.
$ac_ext <<_ACEOF
21269 cat confdefs.h
>>conftest.
$ac_ext
21270 cat >>conftest.
$ac_ext <<_ACEOF
21271 /* end confdefs.h. */
21272 $ac_includes_default
21273 typedef size_t ac__type_sizeof_;
21277 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21284 rm -f conftest.
$ac_objext
21285 if { (ac_try
="$ac_compile"
21286 case "(($ac_try" in
21287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21288 *) ac_try_echo=$ac_try;;
21290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21291 (eval "$ac_compile") 2>conftest.er1
21293 grep -v '^ *+' conftest.er1 >conftest.err
21295 cat conftest.err >&5
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); } && {
21298 test -z "$ac_c_werror_flag" ||
21299 test ! -s conftest.err
21300 } && test -s conftest.$ac_objext; then
21303 cat >conftest.$ac_ext <<_ACEOF
21306 cat confdefs.h >>conftest.$ac_ext
21307 cat >>conftest.$ac_ext <<_ACEOF
21308 /* end confdefs.h. */
21309 $ac_includes_default
21310 typedef size_t ac__type_sizeof_;
21314 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21321 rm -f conftest.$ac_objext
21322 if { (ac_try="$ac_compile"
21323 case "(($ac_try" in
21324 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21325 *) ac_try_echo
=$ac_try;;
21327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21328 (eval "$ac_compile") 2>conftest.er1
21330 grep -v '^ *+' conftest.er1
>conftest.err
21332 cat conftest.err
>&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } && {
21335 test -z "$ac_c_werror_flag" ||
21336 test ! -s conftest.err
21337 } && test -s conftest.
$ac_objext; then
21338 ac_hi
=$ac_mid; break
21340 echo "$as_me: failed program was:" >&5
21341 sed 's/^/| /' conftest.
$ac_ext >&5
21343 ac_lo
=`expr $ac_mid + 1`
21344 if test $ac_lo -le $ac_mid; then
21348 ac_mid
=`expr 2 '*' $ac_mid + 1`
21351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21354 echo "$as_me: failed program was:" >&5
21355 sed 's/^/| /' conftest.
$ac_ext >&5
21357 cat >conftest.
$ac_ext <<_ACEOF
21360 cat confdefs.h
>>conftest.
$ac_ext
21361 cat >>conftest.
$ac_ext <<_ACEOF
21362 /* end confdefs.h. */
21363 $ac_includes_default
21364 typedef size_t ac__type_sizeof_;
21368 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21375 rm -f conftest.
$ac_objext
21376 if { (ac_try
="$ac_compile"
21377 case "(($ac_try" in
21378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21379 *) ac_try_echo=$ac_try;;
21381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21382 (eval "$ac_compile") 2>conftest.er1
21384 grep -v '^ *+' conftest.er1 >conftest.err
21386 cat conftest.err >&5
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); } && {
21389 test -z "$ac_c_werror_flag" ||
21390 test ! -s conftest.err
21391 } && test -s conftest.$ac_objext; then
21394 cat >conftest.$ac_ext <<_ACEOF
21397 cat confdefs.h >>conftest.$ac_ext
21398 cat >>conftest.$ac_ext <<_ACEOF
21399 /* end confdefs.h. */
21400 $ac_includes_default
21401 typedef size_t ac__type_sizeof_;
21405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21412 rm -f conftest.$ac_objext
21413 if { (ac_try="$ac_compile"
21414 case "(($ac_try" in
21415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21416 *) ac_try_echo
=$ac_try;;
21418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21419 (eval "$ac_compile") 2>conftest.er1
21421 grep -v '^ *+' conftest.er1
>conftest.err
21423 cat conftest.err
>&5
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); } && {
21426 test -z "$ac_c_werror_flag" ||
21427 test ! -s conftest.err
21428 } && test -s conftest.
$ac_objext; then
21429 ac_lo
=$ac_mid; break
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.
$ac_ext >&5
21434 ac_hi
=`expr '(' $ac_mid ')' - 1`
21435 if test $ac_mid -le $ac_hi; then
21439 ac_mid
=`expr 2 '*' $ac_mid`
21442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.
$ac_ext >&5
21451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21455 # Binary search between lo and hi bounds.
21456 while test "x$ac_lo" != "x$ac_hi"; do
21457 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21458 cat >conftest.
$ac_ext <<_ACEOF
21461 cat confdefs.h
>>conftest.
$ac_ext
21462 cat >>conftest.
$ac_ext <<_ACEOF
21463 /* end confdefs.h. */
21464 $ac_includes_default
21465 typedef size_t ac__type_sizeof_;
21469 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21476 rm -f conftest.
$ac_objext
21477 if { (ac_try
="$ac_compile"
21478 case "(($ac_try" in
21479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21480 *) ac_try_echo=$ac_try;;
21482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21483 (eval "$ac_compile") 2>conftest.er1
21485 grep -v '^ *+' conftest.er1 >conftest.err
21487 cat conftest.err >&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); } && {
21490 test -z "$ac_c_werror_flag" ||
21491 test ! -s conftest.err
21492 } && test -s conftest.$ac_objext; then
21495 echo "$as_me: failed program was:" >&5
21496 sed 's/^/| /' conftest.$ac_ext >&5
21498 ac_lo=`expr '(' $ac_mid ')' + 1`
21501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21504 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21505 '') if test "$ac_cv_type_size_t" = yes; then
21506 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21507 See \`config.log
' for more details." >&5
21508 echo "$as_me: error: cannot compute sizeof (size_t)
21509 See \`config.log' for more details.
" >&2;}
21510 { (exit 77); exit 77; }; }
21512 ac_cv_sizeof_size_t=0
21516 cat >conftest.$ac_ext <<_ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 $ac_includes_default
21523 typedef size_t ac__type_sizeof_;
21524 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21525 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21527 #include <stdlib.h>
21532 FILE *f = fopen ("conftest.val
", "w
");
21535 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21537 long int i = longval ();
21538 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21540 fprintf (f, "%ld
\n", i);
21544 unsigned long int i = ulongval ();
21545 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21547 fprintf (f, "%lu
\n", i);
21549 return ferror (f) || fclose (f) != 0;
21555 rm -f conftest$ac_exeext
21556 if { (ac_try="$ac_link"
21557 case "(($ac_try" in
21558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21559 *) ac_try_echo=$ac_try;;
21561 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21562 (eval "$ac_link") 2>&5
21564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21565 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21566 { (case "(($ac_try" in
21567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21568 *) ac_try_echo=$ac_try;;
21570 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21571 (eval "$ac_try") 2>&5
21573 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21574 (exit $ac_status); }; }; then
21575 ac_cv_sizeof_size_t=`cat conftest.val`
21577 echo "$as_me: program exited with status
$ac_status" >&5
21578 echo "$as_me: failed program was
:" >&5
21579 sed 's/^/| /' conftest.$ac_ext >&5
21581 ( exit $ac_status )
21582 if test "$ac_cv_type_size_t" = yes; then
21583 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21584 See \
`config.log' for more details." >&5
21585 echo "$as_me: error: cannot compute sizeof (size_t)
21586 See \`config.log
' for more details." >&2;}
21587 { (exit 77); exit 77; }; }
21589 ac_cv_sizeof_size_t=0
21592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21596 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21597 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21601 cat >>confdefs.h <<_ACEOF
21602 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21609 { echo "$as_me:$LINENO: checking for long long" >&5
21610 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21611 if test "${ac_cv_type_long_long+set}" = set; then
21612 echo $ECHO_N "(cached) $ECHO_C" >&6
21614 cat >conftest.$ac_ext <<_ACEOF
21617 cat confdefs.h >>conftest.$ac_ext
21618 cat >>conftest.$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 $ac_includes_default
21621 typedef long long ac__type_new_;
21625 if ((ac__type_new_ *) 0)
21627 if (sizeof (ac__type_new_))
21633 rm -f conftest.$ac_objext
21634 if { (ac_try="$ac_compile"
21635 case "(($ac_try" in
21636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21637 *) ac_try_echo=$ac_try;;
21639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21640 (eval "$ac_compile") 2>conftest.er1
21642 grep -v '^
*+' conftest.er1 >conftest.err
21644 cat conftest.err >&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); } && {
21647 test -z "$ac_c_werror_flag" ||
21648 test ! -s conftest.err
21649 } && test -s conftest.$ac_objext; then
21650 ac_cv_type_long_long=yes
21652 echo "$as_me: failed program was:" >&5
21653 sed 's
/^
/| /' conftest.$ac_ext >&5
21655 ac_cv_type_long_long=no
21658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21660 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21661 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21663 # The cast to long int works around a bug in the HP C Compiler
21664 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21665 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21666 # This bug is HP SR number 8606223364.
21667 { echo "$as_me:$LINENO: checking size of long long" >&5
21668 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21669 if test "${ac_cv_sizeof_long_long+set}" = set; then
21670 echo $ECHO_N "(cached) $ECHO_C" >&6
21672 if test "$cross_compiling" = yes; then
21673 # Depending upon the size, compute the lo and hi bounds.
21674 cat >conftest.
$ac_ext <<_ACEOF
21677 cat confdefs.h
>>conftest.
$ac_ext
21678 cat >>conftest.
$ac_ext <<_ACEOF
21679 /* end confdefs.h. */
21680 $ac_includes_default
21681 typedef long long ac__type_sizeof_;
21685 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21692 rm -f conftest.
$ac_objext
21693 if { (ac_try
="$ac_compile"
21694 case "(($ac_try" in
21695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21696 *) ac_try_echo=$ac_try;;
21698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21699 (eval "$ac_compile") 2>conftest.er1
21701 grep -v '^ *+' conftest.er1 >conftest.err
21703 cat conftest.err >&5
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); } && {
21706 test -z "$ac_c_werror_flag" ||
21707 test ! -s conftest.err
21708 } && test -s conftest.$ac_objext; then
21711 cat >conftest.$ac_ext <<_ACEOF
21714 cat confdefs.h >>conftest.$ac_ext
21715 cat >>conftest.$ac_ext <<_ACEOF
21716 /* end confdefs.h. */
21717 $ac_includes_default
21718 typedef long long ac__type_sizeof_;
21722 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21729 rm -f conftest.$ac_objext
21730 if { (ac_try="$ac_compile"
21731 case "(($ac_try" in
21732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21733 *) ac_try_echo
=$ac_try;;
21735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21736 (eval "$ac_compile") 2>conftest.er1
21738 grep -v '^ *+' conftest.er1
>conftest.err
21740 cat conftest.err
>&5
21741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21742 (exit $ac_status); } && {
21743 test -z "$ac_c_werror_flag" ||
21744 test ! -s conftest.err
21745 } && test -s conftest.
$ac_objext; then
21746 ac_hi
=$ac_mid; break
21748 echo "$as_me: failed program was:" >&5
21749 sed 's/^/| /' conftest.
$ac_ext >&5
21751 ac_lo
=`expr $ac_mid + 1`
21752 if test $ac_lo -le $ac_mid; then
21756 ac_mid
=`expr 2 '*' $ac_mid + 1`
21759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21762 echo "$as_me: failed program was:" >&5
21763 sed 's/^/| /' conftest.
$ac_ext >&5
21765 cat >conftest.
$ac_ext <<_ACEOF
21768 cat confdefs.h
>>conftest.
$ac_ext
21769 cat >>conftest.
$ac_ext <<_ACEOF
21770 /* end confdefs.h. */
21771 $ac_includes_default
21772 typedef long long ac__type_sizeof_;
21776 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21783 rm -f conftest.
$ac_objext
21784 if { (ac_try
="$ac_compile"
21785 case "(($ac_try" in
21786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21787 *) ac_try_echo=$ac_try;;
21789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21790 (eval "$ac_compile") 2>conftest.er1
21792 grep -v '^ *+' conftest.er1 >conftest.err
21794 cat conftest.err >&5
21795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21796 (exit $ac_status); } && {
21797 test -z "$ac_c_werror_flag" ||
21798 test ! -s conftest.err
21799 } && test -s conftest.$ac_objext; then
21802 cat >conftest.$ac_ext <<_ACEOF
21805 cat confdefs.h >>conftest.$ac_ext
21806 cat >>conftest.$ac_ext <<_ACEOF
21807 /* end confdefs.h. */
21808 $ac_includes_default
21809 typedef long long ac__type_sizeof_;
21813 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21820 rm -f conftest.$ac_objext
21821 if { (ac_try="$ac_compile"
21822 case "(($ac_try" in
21823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21824 *) ac_try_echo
=$ac_try;;
21826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21827 (eval "$ac_compile") 2>conftest.er1
21829 grep -v '^ *+' conftest.er1
>conftest.err
21831 cat conftest.err
>&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); } && {
21834 test -z "$ac_c_werror_flag" ||
21835 test ! -s conftest.err
21836 } && test -s conftest.
$ac_objext; then
21837 ac_lo
=$ac_mid; break
21839 echo "$as_me: failed program was:" >&5
21840 sed 's/^/| /' conftest.
$ac_ext >&5
21842 ac_hi
=`expr '(' $ac_mid ')' - 1`
21843 if test $ac_mid -le $ac_hi; then
21847 ac_mid
=`expr 2 '*' $ac_mid`
21850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.
$ac_ext >&5
21859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21863 # Binary search between lo and hi bounds.
21864 while test "x$ac_lo" != "x$ac_hi"; do
21865 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21866 cat >conftest.
$ac_ext <<_ACEOF
21869 cat confdefs.h
>>conftest.
$ac_ext
21870 cat >>conftest.
$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21872 $ac_includes_default
21873 typedef long long ac__type_sizeof_;
21877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21884 rm -f conftest.
$ac_objext
21885 if { (ac_try
="$ac_compile"
21886 case "(($ac_try" in
21887 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21888 *) ac_try_echo=$ac_try;;
21890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21891 (eval "$ac_compile") 2>conftest.er1
21893 grep -v '^ *+' conftest.er1 >conftest.err
21895 cat conftest.err >&5
21896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21897 (exit $ac_status); } && {
21898 test -z "$ac_c_werror_flag" ||
21899 test ! -s conftest.err
21900 } && test -s conftest.$ac_objext; then
21903 echo "$as_me: failed program was:" >&5
21904 sed 's/^/| /' conftest.$ac_ext >&5
21906 ac_lo=`expr '(' $ac_mid ')' + 1`
21909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21912 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21913 '') if test "$ac_cv_type_long_long" = yes; then
21914 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21915 See \`config.log
' for more details." >&5
21916 echo "$as_me: error: cannot compute sizeof (long long)
21917 See \`config.log' for more details.
" >&2;}
21918 { (exit 77); exit 77; }; }
21920 ac_cv_sizeof_long_long=0
21924 cat >conftest.$ac_ext <<_ACEOF
21927 cat confdefs.h >>conftest.$ac_ext
21928 cat >>conftest.$ac_ext <<_ACEOF
21929 /* end confdefs.h. */
21930 $ac_includes_default
21931 typedef long long ac__type_sizeof_;
21932 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21933 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21935 #include <stdlib.h>
21940 FILE *f = fopen ("conftest.val
", "w
");
21943 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21945 long int i = longval ();
21946 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21948 fprintf (f, "%ld
\n", i);
21952 unsigned long int i = ulongval ();
21953 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21955 fprintf (f, "%lu
\n", i);
21957 return ferror (f) || fclose (f) != 0;
21963 rm -f conftest$ac_exeext
21964 if { (ac_try="$ac_link"
21965 case "(($ac_try" in
21966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21967 *) ac_try_echo=$ac_try;;
21969 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21970 (eval "$ac_link") 2>&5
21972 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21973 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21974 { (case "(($ac_try" in
21975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21976 *) ac_try_echo=$ac_try;;
21978 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21979 (eval "$ac_try") 2>&5
21981 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21982 (exit $ac_status); }; }; then
21983 ac_cv_sizeof_long_long=`cat conftest.val`
21985 echo "$as_me: program exited with status
$ac_status" >&5
21986 echo "$as_me: failed program was
:" >&5
21987 sed 's/^/| /' conftest.$ac_ext >&5
21989 ( exit $ac_status )
21990 if test "$ac_cv_type_long_long" = yes; then
21991 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21992 See \
`config.log' for more details." >&5
21993 echo "$as_me: error: cannot compute sizeof (long long)
21994 See \`config.log
' for more details." >&2;}
21995 { (exit 77); exit 77; }; }
21997 ac_cv_sizeof_long_long=0
22000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22004 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22005 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22009 cat >>confdefs.h <<_ACEOF
22010 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
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
22421 if test "$ac_cv_sizeof_long_long" != 0; then
22422 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22426 { echo "$as_me:$LINENO: checking for long long" >&5
22427 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22428 if test "${ac_cv_type_long_long+set}" = set; then
22429 echo $ECHO_N "(cached) $ECHO_C" >&6
22431 cat >conftest.$ac_ext <<_ACEOF
22434 cat confdefs.h >>conftest.$ac_ext
22435 cat >>conftest.$ac_ext <<_ACEOF
22436 /* end confdefs.h. */
22437 $ac_includes_default
22438 typedef long long ac__type_new_;
22442 if ((ac__type_new_ *) 0)
22444 if (sizeof (ac__type_new_))
22450 rm -f conftest.$ac_objext
22451 if { (ac_try="$ac_compile"
22452 case "(($ac_try" in
22453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22454 *) ac_try_echo=$ac_try;;
22456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22457 (eval "$ac_compile") 2>conftest.er1
22459 grep -v '^
*+' conftest.er1 >conftest.err
22461 cat conftest.err >&5
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); } && {
22464 test -z "$ac_c_werror_flag" ||
22465 test ! -s conftest.err
22466 } && test -s conftest.$ac_objext; then
22467 ac_cv_type_long_long=yes
22469 echo "$as_me: failed program was:" >&5
22470 sed 's
/^
/| /' conftest.$ac_ext >&5
22472 ac_cv_type_long_long=no
22475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22477 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22478 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22480 # The cast to long int works around a bug in the HP C Compiler
22481 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22482 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22483 # This bug is HP SR number 8606223364.
22484 { echo "$as_me:$LINENO: checking size of long long" >&5
22485 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22486 if test "${ac_cv_sizeof_long_long+set}" = set; then
22487 echo $ECHO_N "(cached) $ECHO_C" >&6
22489 if test "$cross_compiling" = yes; then
22490 # Depending upon the size, compute the lo and hi bounds.
22491 cat >conftest.
$ac_ext <<_ACEOF
22494 cat confdefs.h
>>conftest.
$ac_ext
22495 cat >>conftest.
$ac_ext <<_ACEOF
22496 /* end confdefs.h. */
22497 $ac_includes_default
22498 typedef long long ac__type_sizeof_;
22502 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22509 rm -f conftest.
$ac_objext
22510 if { (ac_try
="$ac_compile"
22511 case "(($ac_try" in
22512 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22513 *) ac_try_echo=$ac_try;;
22515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22516 (eval "$ac_compile") 2>conftest.er1
22518 grep -v '^ *+' conftest.er1 >conftest.err
22520 cat conftest.err >&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); } && {
22523 test -z "$ac_c_werror_flag" ||
22524 test ! -s conftest.err
22525 } && test -s conftest.$ac_objext; then
22528 cat >conftest.$ac_ext <<_ACEOF
22531 cat confdefs.h >>conftest.$ac_ext
22532 cat >>conftest.$ac_ext <<_ACEOF
22533 /* end confdefs.h. */
22534 $ac_includes_default
22535 typedef long long ac__type_sizeof_;
22539 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22546 rm -f conftest.$ac_objext
22547 if { (ac_try="$ac_compile"
22548 case "(($ac_try" in
22549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22550 *) ac_try_echo
=$ac_try;;
22552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22553 (eval "$ac_compile") 2>conftest.er1
22555 grep -v '^ *+' conftest.er1
>conftest.err
22557 cat conftest.err
>&5
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); } && {
22560 test -z "$ac_c_werror_flag" ||
22561 test ! -s conftest.err
22562 } && test -s conftest.
$ac_objext; then
22563 ac_hi
=$ac_mid; break
22565 echo "$as_me: failed program was:" >&5
22566 sed 's/^/| /' conftest.
$ac_ext >&5
22568 ac_lo
=`expr $ac_mid + 1`
22569 if test $ac_lo -le $ac_mid; then
22573 ac_mid
=`expr 2 '*' $ac_mid + 1`
22576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22579 echo "$as_me: failed program was:" >&5
22580 sed 's/^/| /' conftest.
$ac_ext >&5
22582 cat >conftest.
$ac_ext <<_ACEOF
22585 cat confdefs.h
>>conftest.
$ac_ext
22586 cat >>conftest.
$ac_ext <<_ACEOF
22587 /* end confdefs.h. */
22588 $ac_includes_default
22589 typedef long long ac__type_sizeof_;
22593 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22600 rm -f conftest.
$ac_objext
22601 if { (ac_try
="$ac_compile"
22602 case "(($ac_try" in
22603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22604 *) ac_try_echo=$ac_try;;
22606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22607 (eval "$ac_compile") 2>conftest.er1
22609 grep -v '^ *+' conftest.er1 >conftest.err
22611 cat conftest.err >&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); } && {
22614 test -z "$ac_c_werror_flag" ||
22615 test ! -s conftest.err
22616 } && test -s conftest.$ac_objext; then
22619 cat >conftest.$ac_ext <<_ACEOF
22622 cat confdefs.h >>conftest.$ac_ext
22623 cat >>conftest.$ac_ext <<_ACEOF
22624 /* end confdefs.h. */
22625 $ac_includes_default
22626 typedef long long ac__type_sizeof_;
22630 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22637 rm -f conftest.$ac_objext
22638 if { (ac_try="$ac_compile"
22639 case "(($ac_try" in
22640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22641 *) ac_try_echo
=$ac_try;;
22643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22644 (eval "$ac_compile") 2>conftest.er1
22646 grep -v '^ *+' conftest.er1
>conftest.err
22648 cat conftest.err
>&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); } && {
22651 test -z "$ac_c_werror_flag" ||
22652 test ! -s conftest.err
22653 } && test -s conftest.
$ac_objext; then
22654 ac_lo
=$ac_mid; break
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.
$ac_ext >&5
22659 ac_hi
=`expr '(' $ac_mid ')' - 1`
22660 if test $ac_mid -le $ac_hi; then
22664 ac_mid
=`expr 2 '*' $ac_mid`
22667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22670 echo "$as_me: failed program was:" >&5
22671 sed 's/^/| /' conftest.
$ac_ext >&5
22676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22680 # Binary search between lo and hi bounds.
22681 while test "x$ac_lo" != "x$ac_hi"; do
22682 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22683 cat >conftest.
$ac_ext <<_ACEOF
22686 cat confdefs.h
>>conftest.
$ac_ext
22687 cat >>conftest.
$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22689 $ac_includes_default
22690 typedef long long ac__type_sizeof_;
22694 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22701 rm -f conftest.
$ac_objext
22702 if { (ac_try
="$ac_compile"
22703 case "(($ac_try" in
22704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22705 *) ac_try_echo=$ac_try;;
22707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22708 (eval "$ac_compile") 2>conftest.er1
22710 grep -v '^ *+' conftest.er1 >conftest.err
22712 cat conftest.err >&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); } && {
22715 test -z "$ac_c_werror_flag" ||
22716 test ! -s conftest.err
22717 } && test -s conftest.$ac_objext; then
22720 echo "$as_me: failed program was:" >&5
22721 sed 's/^/| /' conftest.$ac_ext >&5
22723 ac_lo=`expr '(' $ac_mid ')' + 1`
22726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22729 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22730 '') if test "$ac_cv_type_long_long" = yes; then
22731 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22732 See \`config.log
' for more details." >&5
22733 echo "$as_me: error: cannot compute sizeof (long long)
22734 See \`config.log' for more details.
" >&2;}
22735 { (exit 77); exit 77; }; }
22737 ac_cv_sizeof_long_long=0
22741 cat >conftest.$ac_ext <<_ACEOF
22744 cat confdefs.h >>conftest.$ac_ext
22745 cat >>conftest.$ac_ext <<_ACEOF
22746 /* end confdefs.h. */
22747 $ac_includes_default
22748 typedef long long ac__type_sizeof_;
22749 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22750 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22752 #include <stdlib.h>
22757 FILE *f = fopen ("conftest.val
", "w
");
22760 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22762 long int i = longval ();
22763 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22765 fprintf (f, "%ld
\n", i);
22769 unsigned long int i = ulongval ();
22770 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22772 fprintf (f, "%lu
\n", i);
22774 return ferror (f) || fclose (f) != 0;
22780 rm -f conftest$ac_exeext
22781 if { (ac_try="$ac_link"
22782 case "(($ac_try" in
22783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22784 *) ac_try_echo=$ac_try;;
22786 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22787 (eval "$ac_link") 2>&5
22789 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22790 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22791 { (case "(($ac_try" in
22792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22793 *) ac_try_echo=$ac_try;;
22795 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22796 (eval "$ac_try") 2>&5
22798 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22799 (exit $ac_status); }; }; then
22800 ac_cv_sizeof_long_long=`cat conftest.val`
22802 echo "$as_me: program exited with status
$ac_status" >&5
22803 echo "$as_me: failed program was
:" >&5
22804 sed 's/^/| /' conftest.$ac_ext >&5
22806 ( exit $ac_status )
22807 if test "$ac_cv_type_long_long" = yes; then
22808 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22809 See \
`config.log' for more details." >&5
22810 echo "$as_me: error: cannot compute sizeof (long long)
22811 See \`config.log
' for more details." >&2;}
22812 { (exit 77); exit 77; }; }
22814 ac_cv_sizeof_long_long=0
22817 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22821 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22822 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22826 cat >>confdefs.h <<_ACEOF
22827 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22833 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22834 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22835 if test "${ac_cv_type_wchar_t+set}" = set; then
22836 echo $ECHO_N "(cached) $ECHO_C" >&6
22838 cat >conftest.$ac_ext <<_ACEOF
22841 cat confdefs.h >>conftest.$ac_ext
22842 cat >>conftest.$ac_ext <<_ACEOF
22843 /* end confdefs.h. */
22845 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22846 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22847 # error "fake wchar_t"
22849 #ifdef HAVE_WCHAR_H
22851 # include <stddef.h>
22853 # include <wchar.h>
22855 #ifdef HAVE_STDLIB_H
22856 # include <stdlib.h>
22862 typedef wchar_t ac__type_new_
;
22866 if ((ac__type_new_
*) 0)
22868 if (sizeof
(ac__type_new_
))
22874 rm -f conftest.
$ac_objext
22875 if { (ac_try
="$ac_compile"
22876 case "(($ac_try" in
22877 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22878 *) ac_try_echo=$ac_try;;
22880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22881 (eval "$ac_compile") 2>conftest.er1
22883 grep -v '^ *+' conftest.er1 >conftest.err
22885 cat conftest.err >&5
22886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22887 (exit $ac_status); } && {
22888 test -z "$ac_c_werror_flag" ||
22889 test ! -s conftest.err
22890 } && test -s conftest.$ac_objext; then
22891 ac_cv_type_wchar_t=yes
22893 echo "$as_me: failed program was:" >&5
22894 sed 's/^/| /' conftest.$ac_ext >&5
22896 ac_cv_type_wchar_t=no
22899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22901 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22902 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22904 # The cast to long int works around a bug in the HP C Compiler
22905 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22906 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22907 # This bug is HP SR number 8606223364.
22908 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22909 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22910 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22911 echo $ECHO_N "(cached) $ECHO_C" >&6
22913 if test "$cross_compiling" = yes; then
22914 # Depending upon the size, compute the lo and hi bounds.
22915 cat >conftest.$ac_ext <<_ACEOF
22918 cat confdefs.h >>conftest.$ac_ext
22919 cat >>conftest.$ac_ext <<_ACEOF
22920 /* end confdefs.h. */
22922 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22923 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22924 # error "fake wchar_t"
22926 #ifdef HAVE_WCHAR_H
22928 # include <stddef.h>
22930 # include <wchar.h>
22932 #ifdef HAVE_STDLIB_H
22933 # include <stdlib.h>
22939 typedef wchar_t ac__type_sizeof_
;
22943 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22950 rm -f conftest.
$ac_objext
22951 if { (ac_try
="$ac_compile"
22952 case "(($ac_try" in
22953 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22954 *) ac_try_echo=$ac_try;;
22956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22957 (eval "$ac_compile") 2>conftest.er1
22959 grep -v '^ *+' conftest.er1 >conftest.err
22961 cat conftest.err >&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } && {
22964 test -z "$ac_c_werror_flag" ||
22965 test ! -s conftest.err
22966 } && test -s conftest.$ac_objext; then
22969 cat >conftest.$ac_ext <<_ACEOF
22972 cat confdefs.h >>conftest.$ac_ext
22973 cat >>conftest.$ac_ext <<_ACEOF
22974 /* end confdefs.h. */
22976 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22977 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22978 # error "fake wchar_t"
22980 #ifdef HAVE_WCHAR_H
22982 # include <stddef.h>
22984 # include <wchar.h>
22986 #ifdef HAVE_STDLIB_H
22987 # include <stdlib.h>
22993 typedef wchar_t ac__type_sizeof_;
22997 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23004 rm -f conftest.$ac_objext
23005 if { (ac_try="$ac_compile"
23006 case "(($ac_try" in
23007 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23008 *) ac_try_echo
=$ac_try;;
23010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23011 (eval "$ac_compile") 2>conftest.er1
23013 grep -v '^ *+' conftest.er1
>conftest.err
23015 cat conftest.err
>&5
23016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); } && {
23018 test -z "$ac_c_werror_flag" ||
23019 test ! -s conftest.err
23020 } && test -s conftest.
$ac_objext; then
23021 ac_hi
=$ac_mid; break
23023 echo "$as_me: failed program was:" >&5
23024 sed 's/^/| /' conftest.
$ac_ext >&5
23026 ac_lo
=`expr $ac_mid + 1`
23027 if test $ac_lo -le $ac_mid; then
23031 ac_mid
=`expr 2 '*' $ac_mid + 1`
23034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23037 echo "$as_me: failed program was:" >&5
23038 sed 's/^/| /' conftest.
$ac_ext >&5
23040 cat >conftest.
$ac_ext <<_ACEOF
23043 cat confdefs.h
>>conftest.
$ac_ext
23044 cat >>conftest.
$ac_ext <<_ACEOF
23045 /* end confdefs.h. */
23047 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23048 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23049 # error "fake wchar_t"
23051 #ifdef HAVE_WCHAR_H
23053 # include <stddef.h>
23055 # include <wchar.h>
23057 #ifdef HAVE_STDLIB_H
23058 # include <stdlib.h>
23064 typedef wchar_t ac__type_sizeof_;
23068 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23075 rm -f conftest.
$ac_objext
23076 if { (ac_try
="$ac_compile"
23077 case "(($ac_try" in
23078 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23079 *) ac_try_echo=$ac_try;;
23081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23082 (eval "$ac_compile") 2>conftest.er1
23084 grep -v '^ *+' conftest.er1 >conftest.err
23086 cat conftest.err >&5
23087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23088 (exit $ac_status); } && {
23089 test -z "$ac_c_werror_flag" ||
23090 test ! -s conftest.err
23091 } && test -s conftest.$ac_objext; then
23094 cat >conftest.$ac_ext <<_ACEOF
23097 cat confdefs.h >>conftest.$ac_ext
23098 cat >>conftest.$ac_ext <<_ACEOF
23099 /* end confdefs.h. */
23101 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23102 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23103 # error "fake wchar_t"
23105 #ifdef HAVE_WCHAR_H
23107 # include <stddef.h>
23109 # include <wchar.h>
23111 #ifdef HAVE_STDLIB_H
23112 # include <stdlib.h>
23118 typedef wchar_t ac__type_sizeof_;
23122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23129 rm -f conftest.$ac_objext
23130 if { (ac_try="$ac_compile"
23131 case "(($ac_try" in
23132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23133 *) ac_try_echo
=$ac_try;;
23135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23136 (eval "$ac_compile") 2>conftest.er1
23138 grep -v '^ *+' conftest.er1
>conftest.err
23140 cat conftest.err
>&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } && {
23143 test -z "$ac_c_werror_flag" ||
23144 test ! -s conftest.err
23145 } && test -s conftest.
$ac_objext; then
23146 ac_lo
=$ac_mid; break
23148 echo "$as_me: failed program was:" >&5
23149 sed 's/^/| /' conftest.
$ac_ext >&5
23151 ac_hi
=`expr '(' $ac_mid ')' - 1`
23152 if test $ac_mid -le $ac_hi; then
23156 ac_mid
=`expr 2 '*' $ac_mid`
23159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.
$ac_ext >&5
23168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23172 # Binary search between lo and hi bounds.
23173 while test "x$ac_lo" != "x$ac_hi"; do
23174 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23175 cat >conftest.
$ac_ext <<_ACEOF
23178 cat confdefs.h
>>conftest.
$ac_ext
23179 cat >>conftest.
$ac_ext <<_ACEOF
23180 /* end confdefs.h. */
23182 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23183 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23184 # error "fake wchar_t"
23186 #ifdef HAVE_WCHAR_H
23188 # include <stddef.h>
23190 # include <wchar.h>
23192 #ifdef HAVE_STDLIB_H
23193 # include <stdlib.h>
23199 typedef wchar_t ac__type_sizeof_;
23203 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23210 rm -f conftest.
$ac_objext
23211 if { (ac_try
="$ac_compile"
23212 case "(($ac_try" in
23213 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23214 *) ac_try_echo=$ac_try;;
23216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23217 (eval "$ac_compile") 2>conftest.er1
23219 grep -v '^ *+' conftest.er1 >conftest.err
23221 cat conftest.err >&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } && {
23224 test -z "$ac_c_werror_flag" ||
23225 test ! -s conftest.err
23226 } && test -s conftest.$ac_objext; then
23229 echo "$as_me: failed program was:" >&5
23230 sed 's/^/| /' conftest.$ac_ext >&5
23232 ac_lo=`expr '(' $ac_mid ')' + 1`
23235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23238 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23239 '') if test "$ac_cv_type_wchar_t" = yes; then
23240 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23241 See \`config.log
' for more details." >&5
23242 echo "$as_me: error: cannot compute sizeof (wchar_t)
23243 See \`config.log' for more details.
" >&2;}
23244 { (exit 77); exit 77; }; }
23246 ac_cv_sizeof_wchar_t=0
23250 cat >conftest.$ac_ext <<_ACEOF
23253 cat confdefs.h >>conftest.$ac_ext
23254 cat >>conftest.$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23257 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23258 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23259 # error "fake wchar_t
"
23261 #ifdef HAVE_WCHAR_H
23263 # include <stddef.h>
23265 # include <wchar.h>
23267 #ifdef HAVE_STDLIB_H
23268 # include <stdlib.h>
23274 typedef wchar_t ac__type_sizeof_;
23275 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23276 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23278 #include <stdlib.h>
23283 FILE *f = fopen ("conftest.val
", "w
");
23286 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23288 long int i = longval ();
23289 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23291 fprintf (f, "%ld
\n", i);
23295 unsigned long int i = ulongval ();
23296 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23298 fprintf (f, "%lu
\n", i);
23300 return ferror (f) || fclose (f) != 0;
23306 rm -f conftest$ac_exeext
23307 if { (ac_try="$ac_link"
23308 case "(($ac_try" in
23309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23310 *) ac_try_echo=$ac_try;;
23312 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23313 (eval "$ac_link") 2>&5
23315 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23316 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23317 { (case "(($ac_try" in
23318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23319 *) ac_try_echo=$ac_try;;
23321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23322 (eval "$ac_try") 2>&5
23324 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23325 (exit $ac_status); }; }; then
23326 ac_cv_sizeof_wchar_t=`cat conftest.val`
23328 echo "$as_me: program exited with status
$ac_status" >&5
23329 echo "$as_me: failed program was
:" >&5
23330 sed 's/^/| /' conftest.$ac_ext >&5
23332 ( exit $ac_status )
23333 if test "$ac_cv_type_wchar_t" = yes; then
23334 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23335 See \
`config.log' for more details." >&5
23336 echo "$as_me: error: cannot compute sizeof (wchar_t)
23337 See \`config.log
' for more details." >&2;}
23338 { (exit 77); exit 77; }; }
23340 ac_cv_sizeof_wchar_t=0
23343 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23347 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23348 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23352 cat >>confdefs.h <<_ACEOF
23353 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23357 if test "$ac_cv_sizeof_wchar_t" != 0; then
23363 { echo "$as_me:$LINENO: checking for va_copy" >&5
23364 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23365 if test "${wx_cv_func_va_copy+set}" = set; then
23366 echo $ECHO_N "(cached) $ECHO_C" >&6
23370 ac_cpp='$CXXCPP $CPPFLAGS'
23371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23372 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23375 cat >conftest.$ac_ext <<_ACEOF
23377 #include <stdarg.h>
23378 void foo(char *f, ...)
23392 rm -f conftest.$ac_objext conftest$ac_exeext
23393 if { (ac_try="$ac_link"
23394 case "(($ac_try" in
23395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23396 *) ac_try_echo=$ac_try;;
23398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23399 (eval "$ac_link") 2>conftest.er1
23401 grep -v '^
*+' conftest.er1 >conftest.err
23403 cat conftest.err >&5
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); } && {
23406 test -z "$ac_cxx_werror_flag" ||
23407 test ! -s conftest.err
23408 } && test -s conftest$ac_exeext &&
23409 $as_test_x conftest$ac_exeext; then
23410 wx_cv_func_va_copy=yes
23412 echo "$as_me: failed program was:" >&5
23413 sed 's
/^
/| /' conftest.$ac_ext >&5
23415 wx_cv_func_va_copy=no
23419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23420 conftest$ac_exeext conftest.$ac_ext
23422 ac_cpp='$CPP $CPPFLAGS'
23423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23424 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23430 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23431 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23433 if test $wx_cv_func_va_copy = "yes"; then
23434 cat >>confdefs.h <<\_ACEOF
23435 #define HAVE_VA_COPY 1
23439 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23440 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23441 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23445 if test "$cross_compiling" = yes; then
23446 wx_cv_type_va_list_lvalue=yes
23449 cat >conftest.$ac_ext <<_ACEOF
23451 #include <stdarg.h>
23452 int foo(char *f, ...)
23457 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23465 return foo("hi", 17);
23468 rm -f conftest$ac_exeext
23469 if { (ac_try="$ac_link"
23470 case "(($ac_try" in
23471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23472 *) ac_try_echo=$ac_try;;
23474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23475 (eval "$ac_link") 2>&5
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23479 { (case "(($ac_try" in
23480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23481 *) ac_try_echo=$ac_try;;
23483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23484 (eval "$ac_try") 2>&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; }; then
23488 wx_cv_type_va_list_lvalue=yes
23490 echo "$as_me: program exited with status $ac_status" >&5
23491 echo "$as_me: failed program was:" >&5
23492 sed 's
/^
/| /' conftest.$ac_ext >&5
23494 ( exit $ac_status )
23495 wx_cv_type_va_list_lvalue=no
23497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23504 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23505 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23507 if test $wx_cv_type_va_list_lvalue != "yes"; then
23508 cat >>confdefs.h <<\_ACEOF
23509 #define VA_LIST_IS_ARRAY 1
23515 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23517 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23518 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23519 if test "${wx_cv_have_variadic_macros+set}" = set; then
23520 echo $ECHO_N "(cached) $ECHO_C" >&6
23524 ac_cpp='$CXXCPP $CPPFLAGS'
23525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23526 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23529 cat >conftest.$ac_ext <<_ACEOF
23532 cat confdefs.h >>conftest.$ac_ext
23533 cat >>conftest.$ac_ext <<_ACEOF
23534 /* end confdefs.h. */
23537 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23543 test("%s %d %p", "test", 1, 0);
23550 rm -f conftest.$ac_objext
23551 if { (ac_try="$ac_compile"
23552 case "(($ac_try" in
23553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23554 *) ac_try_echo=$ac_try;;
23556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23557 (eval "$ac_compile") 2>conftest.er1
23559 grep -v '^
*+' conftest.er1 >conftest.err
23561 cat conftest.err >&5
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); } && {
23564 test -z "$ac_cxx_werror_flag" ||
23565 test ! -s conftest.err
23566 } && test -s conftest.$ac_objext; then
23567 wx_cv_have_variadic_macros=yes
23569 echo "$as_me: failed program was:" >&5
23570 sed 's
/^
/| /' conftest.$ac_ext >&5
23572 wx_cv_have_variadic_macros=no
23576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23578 ac_cpp='$CPP $CPPFLAGS'
23579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23580 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23586 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23587 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23589 if test $wx_cv_have_variadic_macros = "yes"; then
23590 cat >>confdefs.h <<\_ACEOF
23591 #define HAVE_VARIADIC_MACROS 1
23598 LARGEFILE_CPPFLAGS=
23599 # Check whether --enable-largefile was given.
23600 if test "${enable_largefile+set}" = set; then
23601 enableval=$enable_largefile;
23604 if test "$enable_largefile" != no; then
23607 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23608 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23609 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23610 echo $ECHO_N "(cached) $ECHO_C" >&6
23613 cat >conftest.$ac_ext <<_ACEOF
23616 cat confdefs.h >>conftest.$ac_ext
23617 cat >>conftest.$ac_ext <<_ACEOF
23618 /* end confdefs.h. */
23619 #define _FILE_OFFSET_BITS 64
23620 #include <sys/types.h>
23625 unsigned int field: sizeof(off_t) == 8;
23632 rm -f conftest.$ac_objext
23633 if { (ac_try="$ac_compile"
23634 case "(($ac_try" in
23635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23636 *) ac_try_echo=$ac_try;;
23638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23639 (eval "$ac_compile") 2>conftest.er1
23641 grep -v '^
*+' conftest.er1 >conftest.err
23643 cat conftest.err >&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); } && {
23646 test -z "$ac_c_werror_flag" ||
23647 test ! -s conftest.err
23648 } && test -s conftest.$ac_objext; then
23649 ac_cv_sys_file_offset_bits=64
23651 echo "$as_me: failed program was:" >&5
23652 sed 's
/^
/| /' conftest.$ac_ext >&5
23654 ac_cv_sys_file_offset_bits=no
23657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23661 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23662 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23664 if test "$ac_cv_sys_file_offset_bits" != no; then
23666 cat >>confdefs.h <<_ACEOF
23667 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23672 if test "x$wx_largefile" != "xyes"; then
23674 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23675 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23676 if test "${ac_cv_sys_large_files+set}" = set; then
23677 echo $ECHO_N "(cached) $ECHO_C" >&6
23680 cat >conftest.$ac_ext <<_ACEOF
23683 cat confdefs.h >>conftest.$ac_ext
23684 cat >>conftest.$ac_ext <<_ACEOF
23685 /* end confdefs.h. */
23686 #define _LARGE_FILES 1
23687 #include <sys/types.h>
23692 unsigned int field: sizeof(off_t) == 8;
23699 rm -f conftest.$ac_objext
23700 if { (ac_try="$ac_compile"
23701 case "(($ac_try" in
23702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23703 *) ac_try_echo=$ac_try;;
23705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23706 (eval "$ac_compile") 2>conftest.er1
23708 grep -v '^
*+' conftest.er1 >conftest.err
23710 cat conftest.err >&5
23711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23712 (exit $ac_status); } && {
23713 test -z "$ac_c_werror_flag" ||
23714 test ! -s conftest.err
23715 } && test -s conftest.$ac_objext; then
23716 ac_cv_sys_large_files=1
23718 echo "$as_me: failed program was:" >&5
23719 sed 's
/^
/| /' conftest.$ac_ext >&5
23721 ac_cv_sys_large_files=no
23724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23728 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23729 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23731 if test "$ac_cv_sys_large_files" != no; then
23733 cat >>confdefs.h <<_ACEOF
23734 #define _LARGE_FILES $ac_cv_sys_large_files
23741 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23742 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23743 if test "x$wx_largefile" = "xyes"; then
23744 cat >>confdefs.h <<\_ACEOF
23745 #define HAVE_LARGEFILE_SUPPORT 1
23749 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23750 echo "${ECHO_T}$wx_largefile" >&6; }
23753 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23754 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23755 elif test "$ac_cv_sys_large_files" = 1; then
23756 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23759 if test -n "$LARGEFILE_CPPFLAGS"; then
23760 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23762 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23763 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23764 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23765 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23766 echo $ECHO_N "(cached) $ECHO_C" >&6
23770 ac_cpp='$CXXCPP $CPPFLAGS'
23771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23772 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23775 cat >conftest.$ac_ext <<_ACEOF
23778 cat confdefs.h >>conftest.$ac_ext
23779 cat >>conftest.$ac_ext <<_ACEOF
23780 /* end confdefs.h. */
23786 #ifndef __STDC_EXT__
23794 rm -f conftest.$ac_objext
23795 if { (ac_try="$ac_compile"
23796 case "(($ac_try" in
23797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23798 *) ac_try_echo=$ac_try;;
23800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23801 (eval "$ac_compile") 2>conftest.er1
23803 grep -v '^
*+' conftest.er1 >conftest.err
23805 cat conftest.err >&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); } && {
23808 test -z "$ac_cxx_werror_flag" ||
23809 test ! -s conftest.err
23810 } && test -s conftest.$ac_objext; then
23811 wx_cv_STDC_EXT_required=no
23813 echo "$as_me: failed program was:" >&5
23814 sed 's
/^
/| /' conftest.$ac_ext >&5
23816 wx_cv_STDC_EXT_required=yes
23820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23822 ac_cpp='$CPP $CPPFLAGS'
23823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23824 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23830 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23831 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23832 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23833 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23839 ac_cpp='$CXXCPP $CPPFLAGS'
23840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23841 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23844 old_CPPFLAGS="$CPPFLAGS"
23845 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23846 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23847 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23848 if test "${ac_cv_sys_largefile_source+set}" = set; then
23849 echo $ECHO_N "(cached) $ECHO_C" >&6
23852 cat >conftest.$ac_ext <<_ACEOF
23855 cat confdefs.h >>conftest.$ac_ext
23856 cat >>conftest.$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23858 #include <sys/types.h> /* for off_t */
23863 int (*fp) (FILE *, off_t, int) = fseeko;
23864 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23869 rm -f conftest.$ac_objext conftest$ac_exeext
23870 if { (ac_try="$ac_link"
23871 case "(($ac_try" in
23872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23873 *) ac_try_echo=$ac_try;;
23875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23876 (eval "$ac_link") 2>conftest.er1
23878 grep -v '^
*+' conftest.er1 >conftest.err
23880 cat conftest.err >&5
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); } && {
23883 test -z "$ac_cxx_werror_flag" ||
23884 test ! -s conftest.err
23885 } && test -s conftest$ac_exeext &&
23886 $as_test_x conftest$ac_exeext; then
23887 ac_cv_sys_largefile_source=no; break
23889 echo "$as_me: failed program was:" >&5
23890 sed 's
/^
/| /' conftest.$ac_ext >&5
23895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23896 conftest$ac_exeext conftest.$ac_ext
23897 cat >conftest.$ac_ext <<_ACEOF
23900 cat confdefs.h >>conftest.$ac_ext
23901 cat >>conftest.$ac_ext <<_ACEOF
23902 /* end confdefs.h. */
23903 #define _LARGEFILE_SOURCE 1
23904 #include <sys/types.h> /* for off_t */
23909 int (*fp) (FILE *, off_t, int) = fseeko;
23910 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23915 rm -f conftest.$ac_objext conftest$ac_exeext
23916 if { (ac_try="$ac_link"
23917 case "(($ac_try" in
23918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23919 *) ac_try_echo=$ac_try;;
23921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23922 (eval "$ac_link") 2>conftest.er1
23924 grep -v '^
*+' conftest.er1 >conftest.err
23926 cat conftest.err >&5
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928 (exit $ac_status); } && {
23929 test -z "$ac_cxx_werror_flag" ||
23930 test ! -s conftest.err
23931 } && test -s conftest$ac_exeext &&
23932 $as_test_x conftest$ac_exeext; then
23933 ac_cv_sys_largefile_source=1; break
23935 echo "$as_me: failed program was:" >&5
23936 sed 's
/^
/| /' conftest.$ac_ext >&5
23941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23942 conftest$ac_exeext conftest.$ac_ext
23943 ac_cv_sys_largefile_source=unknown
23947 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23948 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23949 case $ac_cv_sys_largefile_source in #(
23952 cat >>confdefs.h <<_ACEOF
23953 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23959 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23960 # in glibc 2.1.3, but that breaks too many other things.
23961 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23962 if test $ac_cv_sys_largefile_source != unknown; then
23964 cat >>confdefs.h <<\_ACEOF
23965 #define HAVE_FSEEKO 1
23970 CPPFLAGS="$old_CPPFLAGS"
23972 ac_cpp='$CPP $CPPFLAGS'
23973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23974 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23977 if test "$ac_cv_sys_largefile_source" != no; then
23978 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23981 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23982 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23983 if test "${ac_cv_c_bigendian+set}" = set; then
23984 echo $ECHO_N "(cached) $ECHO_C" >&6
23986 ac_cv_c_bigendian=unknown
23987 # See if sys/param.h defines the BYTE_ORDER macro.
23988 cat >conftest.$ac_ext <<_ACEOF
23991 cat confdefs.h >>conftest.$ac_ext
23992 cat >>conftest.$ac_ext <<_ACEOF
23993 /* end confdefs.h. */
23994 #include <sys/types.h>
23995 #include <sys/param.h>
24000 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24001 bogus endian macros
24007 rm -f conftest.$ac_objext
24008 if { (ac_try="$ac_compile"
24009 case "(($ac_try" in
24010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24011 *) ac_try_echo=$ac_try;;
24013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24014 (eval "$ac_compile") 2>conftest.er1
24016 grep -v '^
*+' conftest.er1 >conftest.err
24018 cat conftest.err >&5
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); } && {
24021 test -z "$ac_c_werror_flag" ||
24022 test ! -s conftest.err
24023 } && test -s conftest.$ac_objext; then
24024 # It does; now see whether it defined to BIG_ENDIAN or not.
24025 cat >conftest.$ac_ext <<_ACEOF
24028 cat confdefs.h >>conftest.$ac_ext
24029 cat >>conftest.$ac_ext <<_ACEOF
24030 /* end confdefs.h. */
24031 #include <sys/types.h>
24032 #include <sys/param.h>
24037 #if BYTE_ORDER != BIG_ENDIAN
24044 rm -f conftest.$ac_objext
24045 if { (ac_try="$ac_compile"
24046 case "(($ac_try" in
24047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24048 *) ac_try_echo=$ac_try;;
24050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24051 (eval "$ac_compile") 2>conftest.er1
24053 grep -v '^
*+' conftest.er1 >conftest.err
24055 cat conftest.err >&5
24056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24057 (exit $ac_status); } && {
24058 test -z "$ac_c_werror_flag" ||
24059 test ! -s conftest.err
24060 } && test -s conftest.$ac_objext; then
24061 ac_cv_c_bigendian=yes
24063 echo "$as_me: failed program was:" >&5
24064 sed 's
/^
/| /' conftest.$ac_ext >&5
24066 ac_cv_c_bigendian=no
24069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24071 echo "$as_me: failed program was:" >&5
24072 sed 's
/^
/| /' conftest.$ac_ext >&5
24077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24078 if test $ac_cv_c_bigendian = unknown; then
24079 if test "$cross_compiling" = yes; then
24080 ac_cv_c_bigendian=unknown
24082 cat >conftest.$ac_ext <<_ACEOF
24085 cat confdefs.h >>conftest.$ac_ext
24086 cat >>conftest.$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24089 /* Are we little or big endian? From Harbison&Steele. */
24093 char c[sizeof (long)];
24096 exit (u.c[sizeof (long) - 1] == 1);
24099 rm -f conftest$ac_exeext
24100 if { (ac_try="$ac_link"
24101 case "(($ac_try" in
24102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24103 *) ac_try_echo=$ac_try;;
24105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24106 (eval "$ac_link") 2>&5
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24110 { (case "(($ac_try" in
24111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24112 *) ac_try_echo=$ac_try;;
24114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24115 (eval "$ac_try") 2>&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); }; }; then
24119 ac_cv_c_bigendian=no
24121 echo "$as_me: program exited with status $ac_status" >&5
24122 echo "$as_me: failed program was:" >&5
24123 sed 's
/^
/| /' conftest.$ac_ext >&5
24125 ( exit $ac_status )
24126 ac_cv_c_bigendian=yes
24128 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24134 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24135 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24136 if test $ac_cv_c_bigendian = unknown; then
24137 { 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
24138 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;}
24140 if test $ac_cv_c_bigendian = yes; then
24141 cat >>confdefs.h <<\_ACEOF
24142 #define WORDS_BIGENDIAN 1
24151 ac_cpp='$CXXCPP $CPPFLAGS'
24152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24153 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24158 for ac_header in iostream
24160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24161 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24163 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24164 echo $ECHO_N "(cached) $ECHO_C" >&6
24166 cat >conftest.$ac_ext <<_ACEOF
24169 cat confdefs.h >>conftest.$ac_ext
24170 cat >>conftest.$ac_ext <<_ACEOF
24171 /* end confdefs.h. */
24174 #include <$ac_header>
24176 rm -f conftest.$ac_objext
24177 if { (ac_try="$ac_compile"
24178 case "(($ac_try" in
24179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24180 *) ac_try_echo=$ac_try;;
24182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24183 (eval "$ac_compile") 2>conftest.er1
24185 grep -v '^
*+' conftest.er1 >conftest.err
24187 cat conftest.err >&5
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); } && {
24190 test -z "$ac_cxx_werror_flag" ||
24191 test ! -s conftest.err
24192 } && test -s conftest.$ac_objext; then
24193 eval "$as_ac_Header=yes"
24195 echo "$as_me: failed program was:" >&5
24196 sed 's
/^
/| /' conftest.$ac_ext >&5
24198 eval "$as_ac_Header=no"
24201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24203 ac_res=`eval echo '${'$as_ac_Header'}'`
24204 { echo "$as_me:$LINENO: result: $ac_res" >&5
24205 echo "${ECHO_T}$ac_res" >&6; }
24206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24207 cat >>confdefs.h <<_ACEOF
24208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24216 if test "$ac_cv_header_iostream" = "yes" ; then
24219 cat >>confdefs.h <<\_ACEOF
24220 #define wxUSE_IOSTREAMH 1
24226 ac_cpp='$CPP $CPPFLAGS'
24227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24228 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24234 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24235 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24236 if test "${wx_cv_explicit+set}" = set; then
24237 echo $ECHO_N "(cached) $ECHO_C" >&6
24242 ac_cpp='$CXXCPP $CPPFLAGS'
24243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24244 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24248 cat >conftest.$ac_ext <<_ACEOF
24251 cat confdefs.h >>conftest.$ac_ext
24252 cat >>conftest.$ac_ext <<_ACEOF
24253 /* end confdefs.h. */
24255 class Foo { public: explicit Foo(int) {} };
24267 rm -f conftest.$ac_objext
24268 if { (ac_try="$ac_compile"
24269 case "(($ac_try" in
24270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24271 *) ac_try_echo=$ac_try;;
24273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24274 (eval "$ac_compile") 2>conftest.er1
24276 grep -v '^
*+' conftest.er1 >conftest.err
24278 cat conftest.err >&5
24279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280 (exit $ac_status); } && {
24281 test -z "$ac_cxx_werror_flag" ||
24282 test ! -s conftest.err
24283 } && test -s conftest.$ac_objext; then
24285 cat >conftest.$ac_ext <<_ACEOF
24288 cat confdefs.h >>conftest.$ac_ext
24289 cat >>conftest.$ac_ext <<_ACEOF
24290 /* end confdefs.h. */
24292 class Foo { public: explicit Foo(int) {} };
24293 static void TakeFoo(const Foo& foo) { }
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
24325 echo "$as_me: failed program was:" >&5
24326 sed 's
/^
/| /' conftest.$ac_ext >&5
24332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24335 echo "$as_me: failed program was:" >&5
24336 sed 's
/^
/| /' conftest.$ac_ext >&5
24342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24345 ac_cpp='$CPP $CPPFLAGS'
24346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24347 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24352 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24353 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24355 if test "$wx_cv_explicit" = "yes"; then
24356 cat >>confdefs.h <<\_ACEOF
24357 #define HAVE_EXPLICIT 1
24363 if test "x$SUNCXX" = xyes; then
24364 CXXFLAGS="-features=tmplife $CXXFLAGS"
24367 if test "x$SUNCC" = xyes; then
24368 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24371 if test "x$SGICC" = "xyes"; then
24372 CFLAGS="-woff 3970 $CFLAGS"
24374 if test "x$SGICXX" = "xyes"; then
24375 CXXFLAGS="-woff 3970 $CXXFLAGS"
24378 if test "x$HPCC" = "xyes"; then
24379 CFLAGS="+W 2011,2450 $CFLAGS"
24381 if test "x$HPCXX" = "xyes"; then
24382 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24385 if test "x$COMPAQCXX" = "xyes"; then
24386 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24390 ac_cpp='$CXXCPP $CPPFLAGS'
24391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24392 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24396 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24397 if test "$wxUSE_UNICODE" = "yes"; then
24398 std_string="std::wstring"
24399 char_type="wchar_t"
24401 std_string="std::string"
24405 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24406 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24407 if test "${wx_cv_class_stdstring+set}" = set; then
24408 echo $ECHO_N "(cached) $ECHO_C" >&6
24411 cat >conftest.$ac_ext <<_ACEOF
24414 cat confdefs.h >>conftest.$ac_ext
24415 cat >>conftest.$ac_ext <<_ACEOF
24416 /* end confdefs.h. */
24426 rm -f conftest.$ac_objext
24427 if { (ac_try="$ac_compile"
24428 case "(($ac_try" in
24429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24430 *) ac_try_echo=$ac_try;;
24432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24433 (eval "$ac_compile") 2>conftest.er1
24435 grep -v '^
*+' conftest.er1 >conftest.err
24437 cat conftest.err >&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } && {
24440 test -z "$ac_cxx_werror_flag" ||
24441 test ! -s conftest.err
24442 } && test -s conftest.$ac_objext; then
24443 wx_cv_class_stdstring=yes
24445 echo "$as_me: failed program was:" >&5
24446 sed 's
/^
/| /' conftest.$ac_ext >&5
24448 wx_cv_class_stdstring=no
24452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24456 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24457 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24459 if test "$wx_cv_class_stdstring" = yes; then
24460 if test "$wxUSE_UNICODE" = "yes"; then
24461 cat >>confdefs.h <<\_ACEOF
24462 #define HAVE_STD_WSTRING 1
24467 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24468 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24469 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24470 echo $ECHO_N "(cached) $ECHO_C" >&6
24473 cat >conftest.$ac_ext <<_ACEOF
24476 cat confdefs.h >>conftest.$ac_ext
24477 cat >>conftest.$ac_ext <<_ACEOF
24478 /* end confdefs.h. */
24480 #ifdef HAVE_WCHAR_H
24482 # include <stddef.h>
24484 # include <wchar.h>
24486 #ifdef HAVE_STDLIB_H
24487 # include <stdlib.h>
24495 std::basic_string<$char_type> foo;
24496 const $char_type* dummy = foo.c_str();
24501 rm -f conftest.$ac_objext
24502 if { (ac_try="$ac_compile"
24503 case "(($ac_try" in
24504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24505 *) ac_try_echo=$ac_try;;
24507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24508 (eval "$ac_compile") 2>conftest.er1
24510 grep -v '^
*+' conftest.er1 >conftest.err
24512 cat conftest.err >&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); } && {
24515 test -z "$ac_cxx_werror_flag" ||
24516 test ! -s conftest.err
24517 } && test -s conftest.$ac_objext; then
24518 wx_cv_class_stdbasicstring=yes
24520 echo "$as_me: failed program was:" >&5
24521 sed 's
/^
/| /' conftest.$ac_ext >&5
24523 wx_cv_class_stdbasicstring=no
24527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24531 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24532 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24534 if test "$wx_cv_class_stdbasicstring" != yes; then
24535 if test "$wxUSE_STL" = "yes"; then
24536 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24537 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24538 { (exit 1); exit 1; }; }
24539 elif test "$wxUSE_STD_STRING" = "yes"; then
24540 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24541 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24542 { (exit 1); exit 1; }; }
24544 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24545 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24546 wxUSE_STD_STRING=no
24552 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24553 { echo "$as_me:$LINENO: checking for std::istream" >&5
24554 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24555 if test "${ac_cv_type_std__istream+set}" = set; then
24556 echo $ECHO_N "(cached) $ECHO_C" >&6
24558 cat >conftest.$ac_ext <<_ACEOF
24561 cat confdefs.h >>conftest.$ac_ext
24562 cat >>conftest.$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24564 #include <iostream>
24566 typedef std::istream ac__type_new_;
24570 if ((ac__type_new_ *) 0)
24572 if (sizeof (ac__type_new_))
24578 rm -f conftest.$ac_objext
24579 if { (ac_try="$ac_compile"
24580 case "(($ac_try" in
24581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24582 *) ac_try_echo=$ac_try;;
24584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24585 (eval "$ac_compile") 2>conftest.er1
24587 grep -v '^
*+' conftest.er1 >conftest.err
24589 cat conftest.err >&5
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); } && {
24592 test -z "$ac_cxx_werror_flag" ||
24593 test ! -s conftest.err
24594 } && test -s conftest.$ac_objext; then
24595 ac_cv_type_std__istream=yes
24597 echo "$as_me: failed program was:" >&5
24598 sed 's
/^
/| /' conftest.$ac_ext >&5
24600 ac_cv_type_std__istream=no
24603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24605 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24606 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24607 if test $ac_cv_type_std__istream = yes; then
24609 cat >>confdefs.h <<_ACEOF
24610 #define HAVE_STD__ISTREAM 1
24615 wxUSE_STD_IOSTREAM=no
24617 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24618 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24619 if test "${ac_cv_type_std__ostream+set}" = set; then
24620 echo $ECHO_N "(cached) $ECHO_C" >&6
24622 cat >conftest.$ac_ext <<_ACEOF
24625 cat confdefs.h >>conftest.$ac_ext
24626 cat >>conftest.$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24628 #include <iostream>
24630 typedef std::ostream ac__type_new_;
24634 if ((ac__type_new_ *) 0)
24636 if (sizeof (ac__type_new_))
24642 rm -f conftest.$ac_objext
24643 if { (ac_try="$ac_compile"
24644 case "(($ac_try" in
24645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24646 *) ac_try_echo=$ac_try;;
24648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24649 (eval "$ac_compile") 2>conftest.er1
24651 grep -v '^
*+' conftest.er1 >conftest.err
24653 cat conftest.err >&5
24654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24655 (exit $ac_status); } && {
24656 test -z "$ac_cxx_werror_flag" ||
24657 test ! -s conftest.err
24658 } && test -s conftest.$ac_objext; then
24659 ac_cv_type_std__ostream=yes
24661 echo "$as_me: failed program was:" >&5
24662 sed 's
/^
/| /' conftest.$ac_ext >&5
24664 ac_cv_type_std__ostream=no
24667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24669 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24670 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24671 if test $ac_cv_type_std__ostream = yes; then
24673 cat >>confdefs.h <<_ACEOF
24674 #define HAVE_STD__OSTREAM 1
24679 wxUSE_STD_IOSTREAM=no
24683 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24684 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24685 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24686 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24687 { (exit 1); exit 1; }; }
24689 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24690 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24695 if test "$wxUSE_STL" = "yes"; then
24696 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24697 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24698 if test "${wx_cv_lib_stl+set}" = set; then
24699 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 cat >conftest.$ac_ext <<_ACEOF
24704 cat confdefs.h >>conftest.$ac_ext
24705 cat >>conftest.$ac_ext <<_ACEOF
24706 /* end confdefs.h. */
24708 #include <functional>
24709 #include <algorithm>
24715 std::vector<int> moo;
24716 std::list<int> foo;
24717 std::vector<int>::iterator it =
24718 std::find_if(moo.begin(), moo.end(),
24719 std::bind2nd(std::less<int>(), 3));
24724 rm -f conftest.$ac_objext
24725 if { (ac_try="$ac_compile"
24726 case "(($ac_try" in
24727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24728 *) ac_try_echo=$ac_try;;
24730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24731 (eval "$ac_compile") 2>conftest.er1
24733 grep -v '^
*+' conftest.er1 >conftest.err
24735 cat conftest.err >&5
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); } && {
24738 test -z "$ac_cxx_werror_flag" ||
24739 test ! -s conftest.err
24740 } && test -s conftest.$ac_objext; then
24743 echo "$as_me: failed program was:" >&5
24744 sed 's
/^
/| /' conftest.$ac_ext >&5
24750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24753 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24754 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24756 if test "$wx_cv_lib_stl" != yes; then
24757 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24758 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24759 { (exit 1); exit 1; }; }
24762 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24763 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24764 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24765 echo $ECHO_N "(cached) $ECHO_C" >&6
24767 cat >conftest.$ac_ext <<_ACEOF
24770 cat confdefs.h >>conftest.$ac_ext
24771 cat >>conftest.$ac_ext <<_ACEOF
24772 /* end confdefs.h. */
24777 std::string foo, bar;
24779 foo.compare(1, 1, bar);
24780 foo.compare(1, 1, bar, 1, 1);
24782 foo.compare(1, 1, "");
24783 foo.compare(1, 1, "", 2);
24788 rm -f conftest.$ac_objext
24789 if { (ac_try="$ac_compile"
24790 case "(($ac_try" in
24791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24792 *) ac_try_echo=$ac_try;;
24794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24795 (eval "$ac_compile") 2>conftest.er1
24797 grep -v '^
*+' conftest.er1 >conftest.err
24799 cat conftest.err >&5
24800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24801 (exit $ac_status); } && {
24802 test -z "$ac_cxx_werror_flag" ||
24803 test ! -s conftest.err
24804 } && test -s conftest.$ac_objext; then
24805 wx_cv_func_stdstring_compare=yes
24807 echo "$as_me: failed program was:" >&5
24808 sed 's
/^
/| /' conftest.$ac_ext >&5
24810 wx_cv_func_stdstring_compare=no
24814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24817 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24818 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24820 if test "$wx_cv_func_stdstring_compare" = yes; then
24821 cat >>confdefs.h <<\_ACEOF
24822 #define HAVE_STD_STRING_COMPARE 1
24827 if test "$wx_cv_class_gnuhashmapset" = yes; then
24828 cat >>confdefs.h <<\_ACEOF
24829 #define HAVE_EXT_HASH_MAP 1
24832 cat >>confdefs.h <<\_ACEOF
24833 #define HAVE_GNU_CXX_HASH_MAP 1
24838 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24839 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24840 if test "${ac_cv_header_unordered_map+set}" = set; then
24841 echo $ECHO_N "(cached) $ECHO_C" >&6
24843 cat >conftest.$ac_ext <<_ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24852 #include <unordered_map>
24854 rm -f conftest.$ac_objext
24855 if { (ac_try="$ac_compile"
24856 case "(($ac_try" in
24857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24858 *) ac_try_echo=$ac_try;;
24860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24861 (eval "$ac_compile") 2>conftest.er1
24863 grep -v '^
*+' conftest.er1 >conftest.err
24865 cat conftest.err >&5
24866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24867 (exit $ac_status); } && {
24868 test -z "$ac_cxx_werror_flag" ||
24869 test ! -s conftest.err
24870 } && test -s conftest.$ac_objext; then
24871 ac_cv_header_unordered_map=yes
24873 echo "$as_me: failed program was:" >&5
24874 sed 's
/^
/| /' conftest.$ac_ext >&5
24876 ac_cv_header_unordered_map=no
24879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24881 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24882 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24883 if test $ac_cv_header_unordered_map = yes; then
24884 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24885 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24886 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24887 echo $ECHO_N "(cached) $ECHO_C" >&6
24889 cat >conftest.$ac_ext <<_ACEOF
24892 cat confdefs.h >>conftest.$ac_ext
24893 cat >>conftest.$ac_ext <<_ACEOF
24894 /* end confdefs.h. */
24895 #include <unordered_map>
24896 #include <unordered_set>
24900 std::unordered_map<double*, char*> test1;
24901 std::unordered_set<char*> test2;
24906 rm -f conftest.$ac_objext
24907 if { (ac_try="$ac_compile"
24908 case "(($ac_try" in
24909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24910 *) ac_try_echo=$ac_try;;
24912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24913 (eval "$ac_compile") 2>conftest.er1
24915 grep -v '^
*+' conftest.er1 >conftest.err
24917 cat conftest.err >&5
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); } && {
24920 test -z "$ac_cxx_werror_flag" ||
24921 test ! -s conftest.err
24922 } && test -s conftest.$ac_objext; then
24923 wx_cv_class_stdunorderedmapset=yes
24925 echo "$as_me: failed program was:" >&5
24926 sed 's
/^
/| /' conftest.$ac_ext >&5
24928 wx_cv_class_stdunorderedmapset=no
24931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24935 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24936 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24941 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24942 cat >>confdefs.h <<\_ACEOF
24943 #define HAVE_STD_UNORDERED_MAP 1
24946 cat >>confdefs.h <<\_ACEOF
24947 #define HAVE_STD_UNORDERED_SET 1
24951 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24952 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24953 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24954 echo $ECHO_N "(cached) $ECHO_C" >&6
24956 cat >conftest.$ac_ext <<_ACEOF
24959 cat confdefs.h >>conftest.$ac_ext
24960 cat >>conftest.$ac_ext <<_ACEOF
24961 /* end confdefs.h. */
24965 #include <tr1/unordered_map>
24967 rm -f conftest.$ac_objext
24968 if { (ac_try="$ac_compile"
24969 case "(($ac_try" in
24970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24971 *) ac_try_echo=$ac_try;;
24973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24974 (eval "$ac_compile") 2>conftest.er1
24976 grep -v '^
*+' conftest.er1 >conftest.err
24978 cat conftest.err >&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); } && {
24981 test -z "$ac_cxx_werror_flag" ||
24982 test ! -s conftest.err
24983 } && test -s conftest.$ac_objext; then
24984 ac_cv_header_tr1_unordered_map=yes
24986 echo "$as_me: failed program was:" >&5
24987 sed 's
/^
/| /' conftest.$ac_ext >&5
24989 ac_cv_header_tr1_unordered_map=no
24992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24994 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24995 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24996 if test $ac_cv_header_tr1_unordered_map = yes; then
24997 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24998 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24999 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25002 cat >conftest.$ac_ext <<_ACEOF
25005 cat confdefs.h >>conftest.$ac_ext
25006 cat >>conftest.$ac_ext <<_ACEOF
25007 /* end confdefs.h. */
25008 #include <tr1/unordered_map>
25009 #include <tr1/unordered_set>
25013 std::tr1::unordered_map<double*, char*> test1;
25014 std::tr1::unordered_set<char*> test2;
25015 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25016 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25022 rm -f conftest.
$ac_objext
25023 if { (ac_try
="$ac_compile"
25024 case "(($ac_try" in
25025 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25026 *) ac_try_echo=$ac_try;;
25028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25029 (eval "$ac_compile") 2>conftest.er1
25031 grep -v '^ *+' conftest.er1 >conftest.err
25033 cat conftest.err >&5
25034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25035 (exit $ac_status); } && {
25036 test -z "$ac_cxx_werror_flag" ||
25037 test ! -s conftest.err
25038 } && test -s conftest.$ac_objext; then
25039 wx_cv_class_tr1unorderedmapset=yes
25041 echo "$as_me: failed program was:" >&5
25042 sed 's/^/| /' conftest.$ac_ext >&5
25044 wx_cv_class_tr1unorderedmapset=no
25047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25051 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25052 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25057 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25058 cat >>confdefs.h <<\_ACEOF
25059 #define HAVE_TR1_UNORDERED_MAP 1
25062 cat >>confdefs.h <<\_ACEOF
25063 #define HAVE_TR1_UNORDERED_SET 1
25067 { echo "$as_me:$LINENO: checking for hash_map" >&5
25068 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25069 if test "${ac_cv_header_hash_map+set}" = set; then
25070 echo $ECHO_N "(cached) $ECHO_C" >&6
25072 cat >conftest.$ac_ext <<_ACEOF
25075 cat confdefs.h >>conftest.$ac_ext
25076 cat >>conftest.$ac_ext <<_ACEOF
25077 /* end confdefs.h. */
25081 #include <hash_map>
25083 rm -f conftest.$ac_objext
25084 if { (ac_try="$ac_compile"
25085 case "(($ac_try" in
25086 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25087 *) ac_try_echo
=$ac_try;;
25089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25090 (eval "$ac_compile") 2>conftest.er1
25092 grep -v '^ *+' conftest.er1
>conftest.err
25094 cat conftest.err
>&5
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); } && {
25097 test -z "$ac_cxx_werror_flag" ||
25098 test ! -s conftest.err
25099 } && test -s conftest.
$ac_objext; then
25100 ac_cv_header_hash_map
=yes
25102 echo "$as_me: failed program was:" >&5
25103 sed 's/^/| /' conftest.
$ac_ext >&5
25105 ac_cv_header_hash_map
=no
25108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25110 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25111 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25112 if test $ac_cv_header_hash_map = yes; then
25113 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25114 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25115 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25116 echo $ECHO_N "(cached) $ECHO_C" >&6
25118 cat >conftest.
$ac_ext <<_ACEOF
25121 cat confdefs.h
>>conftest.
$ac_ext
25122 cat >>conftest.
$ac_ext <<_ACEOF
25123 /* end confdefs.h. */
25124 #include <hash_map>
25125 #include <hash_set>
25129 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25130 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25135 rm -f conftest.
$ac_objext
25136 if { (ac_try
="$ac_compile"
25137 case "(($ac_try" in
25138 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25139 *) ac_try_echo=$ac_try;;
25141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25142 (eval "$ac_compile") 2>conftest.er1
25144 grep -v '^ *+' conftest.er1 >conftest.err
25146 cat conftest.err >&5
25147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25148 (exit $ac_status); } && {
25149 test -z "$ac_cxx_werror_flag" ||
25150 test ! -s conftest.err
25151 } && test -s conftest.$ac_objext; then
25152 wx_cv_class_stdhashmapset=yes
25154 echo "$as_me: failed program was:" >&5
25155 sed 's/^/| /' conftest.$ac_ext >&5
25157 wx_cv_class_stdhashmapset=no
25160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25164 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25165 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25170 if test "$wx_cv_class_stdhashmapset" = yes; then
25171 cat >>confdefs.h <<\_ACEOF
25172 #define HAVE_HASH_MAP 1
25175 cat >>confdefs.h <<\_ACEOF
25176 #define HAVE_STD_HASH_MAP 1
25181 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25182 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25183 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25184 echo $ECHO_N "(cached) $ECHO_C" >&6
25186 cat >conftest.$ac_ext <<_ACEOF
25189 cat confdefs.h >>conftest.$ac_ext
25190 cat >>conftest.$ac_ext <<_ACEOF
25191 /* end confdefs.h. */
25195 #include <ext/hash_map>
25197 rm -f conftest.$ac_objext
25198 if { (ac_try="$ac_compile"
25199 case "(($ac_try" in
25200 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25201 *) ac_try_echo
=$ac_try;;
25203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25204 (eval "$ac_compile") 2>conftest.er1
25206 grep -v '^ *+' conftest.er1
>conftest.err
25208 cat conftest.err
>&5
25209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210 (exit $ac_status); } && {
25211 test -z "$ac_cxx_werror_flag" ||
25212 test ! -s conftest.err
25213 } && test -s conftest.
$ac_objext; then
25214 ac_cv_header_ext_hash_map
=yes
25216 echo "$as_me: failed program was:" >&5
25217 sed 's/^/| /' conftest.
$ac_ext >&5
25219 ac_cv_header_ext_hash_map
=no
25222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25224 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25225 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25226 if test $ac_cv_header_ext_hash_map = yes; then
25227 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25228 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25229 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25230 echo $ECHO_N "(cached) $ECHO_C" >&6
25232 cat >conftest.
$ac_ext <<_ACEOF
25235 cat confdefs.h
>>conftest.
$ac_ext
25236 cat >>conftest.
$ac_ext <<_ACEOF
25237 /* end confdefs.h. */
25238 #include <ext/hash_map>
25239 #include <ext/hash_set>
25243 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25244 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25249 rm -f conftest.
$ac_objext
25250 if { (ac_try
="$ac_compile"
25251 case "(($ac_try" in
25252 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25253 *) ac_try_echo=$ac_try;;
25255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25256 (eval "$ac_compile") 2>conftest.er1
25258 grep -v '^ *+' conftest.er1 >conftest.err
25260 cat conftest.err >&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); } && {
25263 test -z "$ac_cxx_werror_flag" ||
25264 test ! -s conftest.err
25265 } && test -s conftest.$ac_objext; then
25266 wx_cv_class_gnuhashmapset=yes
25268 echo "$as_me: failed program was:" >&5
25269 sed 's/^/| /' conftest.$ac_ext >&5
25271 wx_cv_class_gnuhashmapset=no
25274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25278 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25279 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25290 if test -n "$GCC"; then
25291 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25292 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25293 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25294 echo $ECHO_N "(cached) $ECHO_C" >&6
25297 cat >conftest.$ac_ext <<_ACEOF
25300 cat confdefs.h >>conftest.$ac_ext
25301 cat >>conftest.$ac_ext <<_ACEOF
25302 /* end confdefs.h. */
25308 unsigned int value=0;
25309 /* wxAtomicInc doesn't use return value here */
25310 __sync_fetch_and_add(&value, 2);
25311 __sync_sub_and_fetch(&value, 1);
25312 /* but wxAtomicDec does, so mimic that: */
25313 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25319 rm -f conftest.$ac_objext conftest$ac_exeext
25320 if { (ac_try="$ac_link"
25321 case "(($ac_try" in
25322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25323 *) ac_try_echo
=$ac_try;;
25325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25326 (eval "$ac_link") 2>conftest.er1
25328 grep -v '^ *+' conftest.er1
>conftest.err
25330 cat conftest.err
>&5
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); } && {
25333 test -z "$ac_cxx_werror_flag" ||
25334 test ! -s conftest.err
25335 } && test -s conftest
$ac_exeext &&
25336 $as_test_x conftest
$ac_exeext; then
25337 wx_cv_cc_gcc_atomic_builtins
=yes
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.
$ac_ext >&5
25342 wx_cv_cc_gcc_atomic_builtins
=no
25345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25346 conftest
$ac_exeext conftest.
$ac_ext
25350 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25351 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25352 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25353 cat >>confdefs.h
<<\_ACEOF
25354 #define HAVE_GCC_ATOMIC_BUILTINS 1
25362 ac_cpp
='$CPP $CPPFLAGS'
25363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25370 /usr/local/include \
25371 /usr/local/X11/include \
25372 /usr/local/include/X11 \
25373 /usr/local/X11R6/include \
25374 /usr/local/include/X11R6 \
25376 /usr/Motif-2.1/include \
25377 /usr/Motif-1.2/include \
25378 /usr/include/Motif1.2 \
25381 /usr/openwin/include \
25385 /usr/X11R6/include \
25386 /usr/X11R6.4/include \
25388 /usr/include/X11R6 \
25393 /usr/XFree86/include/X11 \
25396 /usr/local/X1R5/include \
25397 /usr/local/include/X11R5 \
25398 /usr/X11R5/include \
25399 /usr/include/X11R5 \
25401 /usr/local/X11R4/include \
25402 /usr/local/include/X11R4 \
25403 /usr/X11R4/include \
25404 /usr/include/X11R4 \
25406 /usr/openwin/share/include"
25408 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25409 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25413 if test "${wx_cv_std_libpath+set}" = set; then
25414 echo $ECHO_N "(cached) $ECHO_C" >&6
25417 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25418 for e
in a so sl dylib dll.a
; do
25420 if test -f $libc; then
25423 cat >conftest.
$ac_ext <<_ACEOF
25424 int main() { return 0; }
25426 rm -f conftest.
$ac_objext conftest
$ac_exeext
25427 if { (ac_try
="$ac_link"
25428 case "(($ac_try" in
25429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25430 *) ac_try_echo=$ac_try;;
25432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25433 (eval "$ac_link") 2>conftest.er1
25435 grep -v '^ *+' conftest.er1 >conftest.err
25437 cat conftest.err >&5
25438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25439 (exit $ac_status); } && {
25440 test -z "$ac_c_werror_flag" ||
25441 test ! -s conftest.err
25442 } && test -s conftest$ac_exeext &&
25443 $as_test_x conftest$ac_exeext; then
25444 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25446 echo "$as_me: failed program was:" >&5
25447 sed 's/^/| /' conftest.$ac_ext >&5
25452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25453 conftest$ac_exeext conftest.$ac_ext
25455 if test "x$wx_cv_std_libpath" != "x"; then
25461 if test "x$wx_cv_std_libpath" = "x"; then
25462 wx_cv_std_libpath="lib"
25471 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25472 wx_cv_std_libpath="lib/64"
25474 wx_cv_std_libpath="lib"
25479 if test "$ac_cv_sizeof_void_p" = 8 -a \
25480 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25481 wx_cv_std_libpath="lib64"
25483 wx_cv_std_libpath="lib"
25488 wx_cv_std_libpath="lib";
25492 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25493 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25495 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25497 if test "$build" != "$host" -a "$GCC" = yes; then
25498 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25499 cross_root=`dirname $cross_root`
25500 cross_root=`dirname $cross_root`
25502 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25503 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25504 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25506 if test -z "$PKG_CONFIG_PATH"; then
25507 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25508 export PKG_CONFIG_PATH
25511 if test -z "$x_includes" -o "$x_includes" = NONE; then
25514 for ac_dir in $SEARCH_INCLUDE /usr/include;
25516 if test -f "$ac_dir/X11/Intrinsic.h"; then
25517 ac_find_includes=$ac_dir
25522 x_includes=$ac_find_includes
25524 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25527 for ac_dir in $SEARCH_LIB;
25529 for ac_extension in a so sl dylib dll.a; do
25530 if test -f "$ac_dir/libXt.$ac_extension"; then
25531 ac_find_libraries=$ac_dir
25537 x_libraries=$ac_find_libraries
25543 cat >confcache <<\_ACEOF
25544 # This file is a shell script that caches the results of configure
25545 # tests run on this system so they can be shared between configure
25546 # scripts and configure runs, see configure's option --config-cache.
25547 # It is not useful on other systems. If it contains results you don't
25548 # want to keep, you may remove or edit it.
25550 # config.status only pays attention to the cache file if you give it
25551 # the --recheck option to rerun configure.
25553 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25555 # following values.
25559 # The following way of writing the cache mishandles newlines in values,
25560 # but we know of no workaround that is simple, portable, and efficient.
25561 # So, we kill variables containing newlines.
25562 # Ultrix sh set writes to stderr and can't be redirected directly,
25563 # and sets the high bit in the cache file unless we assign to the vars.
25565 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25566 eval ac_val
=\$
$ac_var
25570 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25571 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25574 _
| IFS
| as_nl
) ;; #(
25575 *) $as_unset $ac_var ;;
25581 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25582 *${as_nl}ac_space
=\
*)
25583 # `set' does not quote correctly, so add quotes (double-quote
25584 # substitution turns \\\\ into \\, and sed turns \\ into \).
25587 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25590 # `set' quotes correctly as required by POSIX, so do not add quotes.
25591 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25600 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25602 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25604 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25605 if test -w "$cache_file"; then
25606 test "x$cache_file" != "x/dev/null" &&
25607 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25608 echo "$as_me: updating cache $cache_file" >&6;}
25609 cat confcache
>$cache_file
25611 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25612 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25617 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25618 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25619 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25620 if test "${wx_cv_lib_glibc21+set}" = set; then
25621 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 cat >conftest.
$ac_ext <<_ACEOF
25627 cat confdefs.h
>>conftest.
$ac_ext
25628 cat >>conftest.
$ac_ext <<_ACEOF
25629 /* end confdefs.h. */
25630 #include <features.h>
25635 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25643 rm -f conftest.
$ac_objext
25644 if { (ac_try
="$ac_compile"
25645 case "(($ac_try" in
25646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25647 *) ac_try_echo=$ac_try;;
25649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25650 (eval "$ac_compile") 2>conftest.er1
25652 grep -v '^ *+' conftest.er1 >conftest.err
25654 cat conftest.err >&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); } && {
25657 test -z "$ac_c_werror_flag" ||
25658 test ! -s conftest.err
25659 } && test -s conftest.$ac_objext; then
25661 wx_cv_lib_glibc21=yes
25664 echo "$as_me: failed program was:" >&5
25665 sed 's/^/| /' conftest.$ac_ext >&5
25668 wx_cv_lib_glibc21=no
25673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25676 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25677 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25678 if test "$wx_cv_lib_glibc21" = "yes"; then
25679 cat >>confdefs.h <<\_ACEOF
25680 #define wxHAVE_GLIBC2 1
25686 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25687 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25688 cat >>confdefs.h <<\_ACEOF
25689 #define _GNU_SOURCE 1
25700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25701 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25703 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25704 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 cat >conftest.$ac_ext <<_ACEOF
25709 cat confdefs.h >>conftest.$ac_ext
25710 cat >>conftest.$ac_ext <<_ACEOF
25711 /* end confdefs.h. */
25712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25714 #define $ac_func innocuous_$ac_func
25716 /* System header to define __stub macros and hopefully few prototypes,
25717 which can conflict with char $ac_func (); below.
25718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25719 <limits.h> exists even on freestanding compilers. */
25722 # include <limits.h>
25724 # include <assert.h>
25729 /* Override any GCC internal prototype to avoid an error.
25730 Use char because int might match the return type of a GCC
25731 builtin and then its argument prototype would still apply. */
25736 /* The GNU C library defines this for functions which it implements
25737 to always fail with ENOSYS. Some functions are actually named
25738 something starting with __ and the normal name is an alias. */
25739 #if defined __stub_$ac_func || defined __stub___$ac_func
25746 return $ac_func ();
25751 rm -f conftest.$ac_objext conftest$ac_exeext
25752 if { (ac_try="$ac_link"
25753 case "(($ac_try" in
25754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25755 *) ac_try_echo
=$ac_try;;
25757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25758 (eval "$ac_link") 2>conftest.er1
25760 grep -v '^ *+' conftest.er1
>conftest.err
25762 cat conftest.err
>&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } && {
25765 test -z "$ac_c_werror_flag" ||
25766 test ! -s conftest.err
25767 } && test -s conftest
$ac_exeext &&
25768 $as_test_x conftest
$ac_exeext; then
25769 eval "$as_ac_var=yes"
25771 echo "$as_me: failed program was:" >&5
25772 sed 's/^/| /' conftest.
$ac_ext >&5
25774 eval "$as_ac_var=no"
25777 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25778 conftest
$ac_exeext conftest.
$ac_ext
25780 ac_res
=`eval echo '${'$as_ac_var'}'`
25781 { echo "$as_me:$LINENO: result: $ac_res" >&5
25782 echo "${ECHO_T}$ac_res" >&6; }
25783 if test `eval echo '${'$as_ac_var'}'` = yes; then
25784 cat >>confdefs.h
<<_ACEOF
25785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25792 for ac_func
in floor
25794 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25795 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25797 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25798 echo $ECHO_N "(cached) $ECHO_C" >&6
25800 cat >conftest.
$ac_ext <<_ACEOF
25803 cat confdefs.h
>>conftest.
$ac_ext
25804 cat >>conftest.
$ac_ext <<_ACEOF
25805 /* end confdefs.h. */
25806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25808 #define $ac_func innocuous_$ac_func
25810 /* System header to define __stub macros and hopefully few prototypes,
25811 which can conflict with char $ac_func (); below.
25812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25813 <limits.h> exists even on freestanding compilers. */
25816 # include <limits.h>
25818 # include <assert.h>
25823 /* Override any GCC internal prototype to avoid an error.
25824 Use char because int might match the return type of a GCC
25825 builtin and then its argument prototype would still apply. */
25830 /* The GNU C library defines this for functions which it implements
25831 to always fail with ENOSYS. Some functions are actually named
25832 something starting with __ and the normal name is an alias. */
25833 #if defined __stub_$ac_func || defined __stub___$ac_func
25840 return $ac_func ();
25845 rm -f conftest.
$ac_objext conftest
$ac_exeext
25846 if { (ac_try
="$ac_link"
25847 case "(($ac_try" in
25848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25849 *) ac_try_echo=$ac_try;;
25851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25852 (eval "$ac_link") 2>conftest.er1
25854 grep -v '^ *+' conftest.er1 >conftest.err
25856 cat conftest.err >&5
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); } && {
25859 test -z "$ac_c_werror_flag" ||
25860 test ! -s conftest.err
25861 } && test -s conftest$ac_exeext &&
25862 $as_test_x conftest$ac_exeext; then
25863 eval "$as_ac_var=yes"
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25868 eval "$as_ac_var=no"
25871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25872 conftest$ac_exeext conftest.$ac_ext
25874 ac_res=`eval echo '${'$as_ac_var'}'`
25875 { echo "$as_me:$LINENO: result: $ac_res" >&5
25876 echo "${ECHO_T}$ac_res" >&6; }
25877 if test `eval echo '${'$as_ac_var'}'` = yes; then
25878 cat >>confdefs.h <<_ACEOF
25879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25885 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25886 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25887 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25888 { echo "$as_me:$LINENO: result: yes" >&5
25889 echo "${ECHO_T}yes" >&6; }
25891 { echo "$as_me:$LINENO: result: no" >&5
25892 echo "${ECHO_T}no" >&6; }
25894 # use different functions to avoid configure caching
25900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25901 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25904 echo $ECHO_N "(cached) $ECHO_C" >&6
25906 cat >conftest.$ac_ext <<_ACEOF
25909 cat confdefs.h >>conftest.$ac_ext
25910 cat >>conftest.$ac_ext <<_ACEOF
25911 /* end confdefs.h. */
25912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25914 #define $ac_func innocuous_$ac_func
25916 /* System header to define __stub macros and hopefully few prototypes,
25917 which can conflict with char $ac_func (); below.
25918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25919 <limits.h> exists even on freestanding compilers. */
25922 # include <limits.h>
25924 # include <assert.h>
25929 /* Override any GCC internal prototype to avoid an error.
25930 Use char because int might match the return type of a GCC
25931 builtin and then its argument prototype would still apply. */
25936 /* The GNU C library defines this for functions which it implements
25937 to always fail with ENOSYS. Some functions are actually named
25938 something starting with __ and the normal name is an alias. */
25939 #if defined __stub_$ac_func || defined __stub___$ac_func
25946 return $ac_func ();
25951 rm -f conftest.$ac_objext conftest$ac_exeext
25952 if { (ac_try="$ac_link"
25953 case "(($ac_try" in
25954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25955 *) ac_try_echo
=$ac_try;;
25957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25958 (eval "$ac_link") 2>conftest.er1
25960 grep -v '^ *+' conftest.er1
>conftest.err
25962 cat conftest.err
>&5
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); } && {
25965 test -z "$ac_c_werror_flag" ||
25966 test ! -s conftest.err
25967 } && test -s conftest
$ac_exeext &&
25968 $as_test_x conftest
$ac_exeext; then
25969 eval "$as_ac_var=yes"
25971 echo "$as_me: failed program was:" >&5
25972 sed 's/^/| /' conftest.
$ac_ext >&5
25974 eval "$as_ac_var=no"
25977 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25978 conftest
$ac_exeext conftest.
$ac_ext
25980 ac_res
=`eval echo '${'$as_ac_var'}'`
25981 { echo "$as_me:$LINENO: result: $ac_res" >&5
25982 echo "${ECHO_T}$ac_res" >&6; }
25983 if test `eval echo '${'$as_ac_var'}'` = yes; then
25984 cat >>confdefs.h
<<_ACEOF
25985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25992 for ac_func
in ceil
25994 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25995 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25997 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25998 echo $ECHO_N "(cached) $ECHO_C" >&6
26000 cat >conftest.
$ac_ext <<_ACEOF
26003 cat confdefs.h
>>conftest.
$ac_ext
26004 cat >>conftest.
$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26008 #define $ac_func innocuous_$ac_func
26010 /* System header to define __stub macros and hopefully few prototypes,
26011 which can conflict with char $ac_func (); below.
26012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26013 <limits.h> exists even on freestanding compilers. */
26016 # include <limits.h>
26018 # include <assert.h>
26023 /* Override any GCC internal prototype to avoid an error.
26024 Use char because int might match the return type of a GCC
26025 builtin and then its argument prototype would still apply. */
26030 /* The GNU C library defines this for functions which it implements
26031 to always fail with ENOSYS. Some functions are actually named
26032 something starting with __ and the normal name is an alias. */
26033 #if defined __stub_$ac_func || defined __stub___$ac_func
26040 return $ac_func ();
26045 rm -f conftest.
$ac_objext conftest
$ac_exeext
26046 if { (ac_try
="$ac_link"
26047 case "(($ac_try" in
26048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26049 *) ac_try_echo=$ac_try;;
26051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26052 (eval "$ac_link") 2>conftest.er1
26054 grep -v '^ *+' conftest.er1 >conftest.err
26056 cat conftest.err >&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); } && {
26059 test -z "$ac_c_werror_flag" ||
26060 test ! -s conftest.err
26061 } && test -s conftest$ac_exeext &&
26062 $as_test_x conftest$ac_exeext; then
26063 eval "$as_ac_var=yes"
26065 echo "$as_me: failed program was:" >&5
26066 sed 's/^/| /' conftest.$ac_ext >&5
26068 eval "$as_ac_var=no"
26071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26072 conftest$ac_exeext conftest.$ac_ext
26074 ac_res=`eval echo '${'$as_ac_var'}'`
26075 { echo "$as_me:$LINENO: result: $ac_res" >&5
26076 echo "${ECHO_T}$ac_res" >&6; }
26077 if test `eval echo '${'$as_ac_var'}'` = yes; then
26078 cat >>confdefs.h <<_ACEOF
26079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26085 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26086 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26087 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26088 { echo "$as_me:$LINENO: result: yes" >&5
26089 echo "${ECHO_T}yes" >&6; }
26091 { echo "$as_me:$LINENO: result: no" >&5
26092 echo "${ECHO_T}no" >&6; }
26093 # not sure we should warn the user, crash, etc.
26098 ac_cpp='$CXXCPP $CPPFLAGS'
26099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26103 if test "wxUSE_UNICODE" = "yes"; then
26105 for wx_func in wcstoull
26107 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26108 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26109 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26110 echo $ECHO_N "(cached) $ECHO_C" >&6
26113 cat >conftest.$ac_ext <<_ACEOF
26117 cat confdefs.h >>conftest.$ac_ext
26118 cat >>conftest.$ac_ext <<_ACEOF
26119 /* end confdefs.h. */
26122 $ac_includes_default
26138 rm -f conftest.$ac_objext conftest$ac_exeext
26139 if { (ac_try="$ac_link"
26140 case "(($ac_try" in
26141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26142 *) ac_try_echo
=$ac_try;;
26144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26145 (eval "$ac_link") 2>conftest.er1
26147 grep -v '^ *+' conftest.er1
>conftest.err
26149 cat conftest.err
>&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); } && {
26152 test -z "$ac_cxx_werror_flag" ||
26153 test ! -s conftest.err
26154 } && test -s conftest
$ac_exeext &&
26155 $as_test_x conftest
$ac_exeext; then
26156 eval wx_cv_func_
$wx_func=yes
26158 echo "$as_me: failed program was:" >&5
26159 sed 's/^/| /' conftest.
$ac_ext >&5
26161 eval wx_cv_func_
$wx_func=no
26164 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26165 conftest
$ac_exeext conftest.
$ac_ext
26168 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26169 { echo "$as_me:$LINENO: result: $ac_res" >&5
26170 echo "${ECHO_T}$ac_res" >&6; }
26172 if eval test \
$wx_cv_func_$wx_func = yes
26174 cat >>confdefs.h
<<_ACEOF
26175 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26187 for wx_func
in strtoull
26189 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26190 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26191 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26195 cat >conftest.
$ac_ext <<_ACEOF
26199 cat confdefs.h
>>conftest.
$ac_ext
26200 cat >>conftest.
$ac_ext <<_ACEOF
26201 /* end confdefs.h. */
26204 $ac_includes_default
26220 rm -f conftest.
$ac_objext conftest
$ac_exeext
26221 if { (ac_try
="$ac_link"
26222 case "(($ac_try" in
26223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26224 *) ac_try_echo=$ac_try;;
26226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26227 (eval "$ac_link") 2>conftest.er1
26229 grep -v '^ *+' conftest.er1 >conftest.err
26231 cat conftest.err >&5
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); } && {
26234 test -z "$ac_cxx_werror_flag" ||
26235 test ! -s conftest.err
26236 } && test -s conftest$ac_exeext &&
26237 $as_test_x conftest$ac_exeext; then
26238 eval wx_cv_func_$wx_func=yes
26240 echo "$as_me: failed program was:" >&5
26241 sed 's/^/| /' conftest.$ac_ext >&5
26243 eval wx_cv_func_$wx_func=no
26246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26247 conftest$ac_exeext conftest.$ac_ext
26250 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26251 { echo "$as_me:$LINENO: result: $ac_res" >&5
26252 echo "${ECHO_T}$ac_res" >&6; }
26254 if eval test \$wx_cv_func_$wx_func = yes
26256 cat >>confdefs.h <<_ACEOF
26257 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26269 ac_cpp='$CPP $CPPFLAGS'
26270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26277 if test "$wxUSE_REGEX" != "no"; then
26278 cat >>confdefs.h <<\_ACEOF
26279 #define wxUSE_REGEX 1
26283 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26284 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26285 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26286 wxUSE_REGEX=builtin
26289 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26290 { echo "$as_me:$LINENO: checking for regex.h" >&5
26291 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26292 if test "${ac_cv_header_regex_h+set}" = set; then
26293 echo $ECHO_N "(cached) $ECHO_C" >&6
26295 cat >conftest.$ac_ext <<_ACEOF
26298 cat confdefs.h >>conftest.$ac_ext
26299 cat >>conftest.$ac_ext <<_ACEOF
26300 /* end confdefs.h. */
26305 rm -f conftest.$ac_objext
26306 if { (ac_try="$ac_compile"
26307 case "(($ac_try" in
26308 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26309 *) ac_try_echo
=$ac_try;;
26311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26312 (eval "$ac_compile") 2>conftest.er1
26314 grep -v '^ *+' conftest.er1
>conftest.err
26316 cat conftest.err
>&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); } && {
26319 test -z "$ac_c_werror_flag" ||
26320 test ! -s conftest.err
26321 } && test -s conftest.
$ac_objext; then
26322 ac_cv_header_regex_h
=yes
26324 echo "$as_me: failed program was:" >&5
26325 sed 's/^/| /' conftest.
$ac_ext >&5
26327 ac_cv_header_regex_h
=no
26330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26332 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26333 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26334 if test $ac_cv_header_regex_h = yes; then
26337 for ac_func
in regcomp re_search
26339 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26340 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26342 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26343 echo $ECHO_N "(cached) $ECHO_C" >&6
26345 cat >conftest.
$ac_ext <<_ACEOF
26348 cat confdefs.h
>>conftest.
$ac_ext
26349 cat >>conftest.
$ac_ext <<_ACEOF
26350 /* end confdefs.h. */
26351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26353 #define $ac_func innocuous_$ac_func
26355 /* System header to define __stub macros and hopefully few prototypes,
26356 which can conflict with char $ac_func (); below.
26357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26358 <limits.h> exists even on freestanding compilers. */
26361 # include <limits.h>
26363 # include <assert.h>
26368 /* Override any GCC internal prototype to avoid an error.
26369 Use char because int might match the return type of a GCC
26370 builtin and then its argument prototype would still apply. */
26375 /* The GNU C library defines this for functions which it implements
26376 to always fail with ENOSYS. Some functions are actually named
26377 something starting with __ and the normal name is an alias. */
26378 #if defined __stub_$ac_func || defined __stub___$ac_func
26385 return $ac_func ();
26390 rm -f conftest.
$ac_objext conftest
$ac_exeext
26391 if { (ac_try
="$ac_link"
26392 case "(($ac_try" in
26393 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26394 *) ac_try_echo=$ac_try;;
26396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26397 (eval "$ac_link") 2>conftest.er1
26399 grep -v '^ *+' conftest.er1 >conftest.err
26401 cat conftest.err >&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } && {
26404 test -z "$ac_c_werror_flag" ||
26405 test ! -s conftest.err
26406 } && test -s conftest$ac_exeext &&
26407 $as_test_x conftest$ac_exeext; then
26408 eval "$as_ac_var=yes"
26410 echo "$as_me: failed program was:" >&5
26411 sed 's/^/| /' conftest.$ac_ext >&5
26413 eval "$as_ac_var=no"
26416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26417 conftest$ac_exeext conftest.$ac_ext
26419 ac_res=`eval echo '${'$as_ac_var'}'`
26420 { echo "$as_me:$LINENO: result: $ac_res" >&5
26421 echo "${ECHO_T}$ac_res" >&6; }
26422 if test `eval echo '${'$as_ac_var'}'` = yes; then
26423 cat >>confdefs.h <<_ACEOF
26424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26434 if test "x$ac_cv_func_regcomp" != "xyes"; then
26435 if test "$wxUSE_REGEX" = "sys" ; then
26436 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26437 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26438 { (exit 1); exit 1; }; }
26440 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26441 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26442 wxUSE_REGEX=builtin
26446 cat >>confdefs.h <<\_ACEOF
26447 #define WX_NO_REGEX_ADVANCED 1
26456 if test "$wxUSE_ZLIB" != "no" ; then
26457 cat >>confdefs.h <<\_ACEOF
26458 #define wxUSE_ZLIB 1
26462 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26463 if test "$USE_DARWIN" = 1; then
26464 system_zlib_h_ok="yes"
26466 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26467 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26468 if test "${ac_cv_header_zlib_h+set}" = set; then
26469 echo $ECHO_N "(cached) $ECHO_C" >&6
26471 if test "$cross_compiling" = yes; then
26472 unset ac_cv_header_zlib_h
26475 cat >conftest.$ac_ext <<_ACEOF
26478 cat confdefs.h >>conftest.$ac_ext
26479 cat >>conftest.$ac_ext <<_ACEOF
26480 /* end confdefs.h. */
26487 FILE *f=fopen("conftestval", "w");
26490 ZLIB_VERSION[0] == '1' &&
26491 (ZLIB_VERSION[2] > '1' ||
26492 (ZLIB_VERSION[2] == '1' &&
26493 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26498 rm -f conftest$ac_exeext
26499 if { (ac_try="$ac_link"
26500 case "(($ac_try" in
26501 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26502 *) ac_try_echo
=$ac_try;;
26504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26505 (eval "$ac_link") 2>&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26509 { (case "(($ac_try" in
26510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26511 *) ac_try_echo=$ac_try;;
26513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26514 (eval "$ac_try") 2>&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; }; then
26518 ac_cv_header_zlib_h=`cat conftestval
`
26520 echo "$as_me: program exited with status $ac_status" >&5
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.$ac_ext >&5
26524 ( exit $ac_status )
26525 ac_cv_header_zlib_h=no
26527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26533 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26534 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26535 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26536 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26537 if test "${ac_cv_header_zlib_h+set}" = set; then
26538 echo $ECHO_N "(cached) $ECHO_C" >&6
26540 cat >conftest.$ac_ext <<_ACEOF
26543 cat confdefs.h >>conftest.$ac_ext
26544 cat >>conftest.$ac_ext <<_ACEOF
26545 /* end confdefs.h. */
26550 rm -f conftest.$ac_objext
26551 if { (ac_try="$ac_compile"
26552 case "(($ac_try" in
26553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26554 *) ac_try_echo
=$ac_try;;
26556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26557 (eval "$ac_compile") 2>conftest.er1
26559 grep -v '^ *+' conftest.er1
>conftest.err
26561 cat conftest.err
>&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); } && {
26564 test -z "$ac_c_werror_flag" ||
26565 test ! -s conftest.err
26566 } && test -s conftest.
$ac_objext; then
26567 ac_cv_header_zlib_h
=yes
26569 echo "$as_me: failed program was:" >&5
26570 sed 's/^/| /' conftest.
$ac_ext >&5
26572 ac_cv_header_zlib_h
=no
26575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26577 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26578 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26582 system_zlib_h_ok
=$ac_cv_header_zlib_h
26585 if test "$system_zlib_h_ok" = "yes"; then
26586 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26587 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26588 if test "${ac_cv_lib_z_deflate+set}" = set; then
26589 echo $ECHO_N "(cached) $ECHO_C" >&6
26591 ac_check_lib_save_LIBS
=$LIBS
26593 cat >conftest.
$ac_ext <<_ACEOF
26596 cat confdefs.h
>>conftest.
$ac_ext
26597 cat >>conftest.
$ac_ext <<_ACEOF
26598 /* end confdefs.h. */
26600 /* Override any GCC internal prototype to avoid an error.
26601 Use char because int might match the return type of a GCC
26602 builtin and then its argument prototype would still apply. */
26615 rm -f conftest.
$ac_objext conftest
$ac_exeext
26616 if { (ac_try
="$ac_link"
26617 case "(($ac_try" in
26618 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26619 *) ac_try_echo=$ac_try;;
26621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26622 (eval "$ac_link") 2>conftest.er1
26624 grep -v '^ *+' conftest.er1 >conftest.err
26626 cat conftest.err >&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); } && {
26629 test -z "$ac_c_werror_flag" ||
26630 test ! -s conftest.err
26631 } && test -s conftest$ac_exeext &&
26632 $as_test_x conftest$ac_exeext; then
26633 ac_cv_lib_z_deflate=yes
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26638 ac_cv_lib_z_deflate=no
26641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26642 conftest$ac_exeext conftest.$ac_ext
26643 LIBS=$ac_check_lib_save_LIBS
26645 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26646 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26647 if test $ac_cv_lib_z_deflate = yes; then
26653 if test "x$ZLIB_LINK" = "x" ; then
26654 if test "$wxUSE_ZLIB" = "sys" ; then
26655 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26656 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26657 { (exit 1); exit 1; }; }
26659 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26660 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26671 if test "$wxUSE_LIBPNG" != "no" ; then
26672 cat >>confdefs.h <<\_ACEOF
26673 #define wxUSE_LIBPNG 1
26677 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26678 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26679 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26683 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26684 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26685 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26686 wxUSE_LIBPNG=builtin
26689 if test "$wxUSE_MGL" != 1 ; then
26690 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26691 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26692 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26693 if test "${ac_cv_header_png_h+set}" = set; then
26694 echo $ECHO_N "(cached) $ECHO_C" >&6
26696 if test "$cross_compiling" = yes; then
26697 unset ac_cv_header_png_h
26700 cat >conftest.$ac_ext <<_ACEOF
26703 cat confdefs.h >>conftest.$ac_ext
26704 cat >>conftest.$ac_ext <<_ACEOF
26705 /* end confdefs.h. */
26712 FILE *f=fopen("conftestval", "w");
26715 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26720 rm -f conftest$ac_exeext
26721 if { (ac_try="$ac_link"
26722 case "(($ac_try" in
26723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26724 *) ac_try_echo
=$ac_try;;
26726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26727 (eval "$ac_link") 2>&5
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26731 { (case "(($ac_try" in
26732 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26733 *) ac_try_echo=$ac_try;;
26735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26736 (eval "$ac_try") 2>&5
26738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26739 (exit $ac_status); }; }; then
26740 ac_cv_header_png_h=`cat conftestval
`
26742 echo "$as_me: program exited with status $ac_status" >&5
26743 echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.$ac_ext >&5
26746 ( exit $ac_status )
26747 ac_cv_header_png_h=no
26749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26755 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26756 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26757 { echo "$as_me:$LINENO: checking for png.h" >&5
26758 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26759 if test "${ac_cv_header_png_h+set}" = set; then
26760 echo $ECHO_N "(cached) $ECHO_C" >&6
26762 cat >conftest.$ac_ext <<_ACEOF
26765 cat confdefs.h >>conftest.$ac_ext
26766 cat >>conftest.$ac_ext <<_ACEOF
26767 /* end confdefs.h. */
26772 rm -f conftest.$ac_objext
26773 if { (ac_try="$ac_compile"
26774 case "(($ac_try" in
26775 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26776 *) ac_try_echo
=$ac_try;;
26778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26779 (eval "$ac_compile") 2>conftest.er1
26781 grep -v '^ *+' conftest.er1
>conftest.err
26783 cat conftest.err
>&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } && {
26786 test -z "$ac_c_werror_flag" ||
26787 test ! -s conftest.err
26788 } && test -s conftest.
$ac_objext; then
26789 ac_cv_header_png_h
=yes
26791 echo "$as_me: failed program was:" >&5
26792 sed 's/^/| /' conftest.
$ac_ext >&5
26794 ac_cv_header_png_h
=no
26797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26799 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26800 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26804 if test "$ac_cv_header_png_h" = "yes"; then
26805 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26806 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26807 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26808 echo $ECHO_N "(cached) $ECHO_C" >&6
26810 ac_check_lib_save_LIBS
=$LIBS
26811 LIBS
="-lpng -lz -lm $LIBS"
26812 cat >conftest.
$ac_ext <<_ACEOF
26815 cat confdefs.h
>>conftest.
$ac_ext
26816 cat >>conftest.
$ac_ext <<_ACEOF
26817 /* end confdefs.h. */
26819 /* Override any GCC internal prototype to avoid an error.
26820 Use char because int might match the return type of a GCC
26821 builtin and then its argument prototype would still apply. */
26825 char png_check_sig ();
26829 return png_check_sig ();
26834 rm -f conftest.
$ac_objext conftest
$ac_exeext
26835 if { (ac_try
="$ac_link"
26836 case "(($ac_try" in
26837 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26838 *) ac_try_echo=$ac_try;;
26840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26841 (eval "$ac_link") 2>conftest.er1
26843 grep -v '^ *+' conftest.er1 >conftest.err
26845 cat conftest.err >&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); } && {
26848 test -z "$ac_c_werror_flag" ||
26849 test ! -s conftest.err
26850 } && test -s conftest$ac_exeext &&
26851 $as_test_x conftest$ac_exeext; then
26852 ac_cv_lib_png_png_check_sig=yes
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26857 ac_cv_lib_png_png_check_sig=no
26860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26861 conftest$ac_exeext conftest.$ac_ext
26862 LIBS=$ac_check_lib_save_LIBS
26864 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26865 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26866 if test $ac_cv_lib_png_png_check_sig = yes; then
26867 PNG_LINK=" -lpng -lz"
26872 if test "x$PNG_LINK" = "x" ; then
26873 if test "$wxUSE_LIBPNG" = "sys" ; then
26874 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26875 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26876 { (exit 1); exit 1; }; }
26878 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26879 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26880 wxUSE_LIBPNG=builtin
26891 if test "$wxUSE_LIBJPEG" != "no" ; then
26892 cat >>confdefs.h <<\_ACEOF
26893 #define wxUSE_LIBJPEG 1
26897 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26898 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26899 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26903 if test "$wxUSE_MGL" != 1 ; then
26904 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26905 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26906 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26907 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26908 echo $ECHO_N "(cached) $ECHO_C" >&6
26910 cat >conftest.$ac_ext <<_ACEOF
26913 cat confdefs.h >>conftest.$ac_ext
26914 cat >>conftest.$ac_ext <<_ACEOF
26915 /* end confdefs.h. */
26917 #undef HAVE_STDLIB_H
26919 #include <jpeglib.h>
26930 rm -f conftest.$ac_objext
26931 if { (ac_try="$ac_compile"
26932 case "(($ac_try" in
26933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26934 *) ac_try_echo
=$ac_try;;
26936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26937 (eval "$ac_compile") 2>conftest.er1
26939 grep -v '^ *+' conftest.er1
>conftest.err
26941 cat conftest.err
>&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); } && {
26944 test -z "$ac_c_werror_flag" ||
26945 test ! -s conftest.err
26946 } && test -s conftest.
$ac_objext; then
26947 ac_cv_header_jpeglib_h
=yes
26949 echo "$as_me: failed program was:" >&5
26950 sed 's/^/| /' conftest.
$ac_ext >&5
26952 ac_cv_header_jpeglib_h
=no
26956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26960 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26961 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26963 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26964 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26965 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26966 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26967 echo $ECHO_N "(cached) $ECHO_C" >&6
26969 ac_check_lib_save_LIBS
=$LIBS
26970 LIBS
="-ljpeg $LIBS"
26971 cat >conftest.
$ac_ext <<_ACEOF
26974 cat confdefs.h
>>conftest.
$ac_ext
26975 cat >>conftest.
$ac_ext <<_ACEOF
26976 /* end confdefs.h. */
26978 /* Override any GCC internal prototype to avoid an error.
26979 Use char because int might match the return type of a GCC
26980 builtin and then its argument prototype would still apply. */
26984 char jpeg_read_header ();
26988 return jpeg_read_header ();
26993 rm -f conftest.
$ac_objext conftest
$ac_exeext
26994 if { (ac_try
="$ac_link"
26995 case "(($ac_try" in
26996 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26997 *) ac_try_echo=$ac_try;;
26999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27000 (eval "$ac_link") 2>conftest.er1
27002 grep -v '^ *+' conftest.er1 >conftest.err
27004 cat conftest.err >&5
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); } && {
27007 test -z "$ac_c_werror_flag" ||
27008 test ! -s conftest.err
27009 } && test -s conftest$ac_exeext &&
27010 $as_test_x conftest$ac_exeext; then
27011 ac_cv_lib_jpeg_jpeg_read_header=yes
27013 echo "$as_me: failed program was:" >&5
27014 sed 's/^/| /' conftest.$ac_ext >&5
27016 ac_cv_lib_jpeg_jpeg_read_header=no
27019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27020 conftest$ac_exeext conftest.$ac_ext
27021 LIBS=$ac_check_lib_save_LIBS
27023 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27024 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27025 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27026 JPEG_LINK=" -ljpeg"
27031 if test "x$JPEG_LINK" = "x" ; then
27032 if test "$wxUSE_LIBJPEG" = "sys" ; then
27033 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27034 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27035 { (exit 1); exit 1; }; }
27037 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27038 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27039 wxUSE_LIBJPEG=builtin
27044 if test "$wxUSE_MSW" = 1; then
27045 { echo "$as_me:$LINENO: checking for boolean" >&5
27046 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27047 if test "${ac_cv_type_boolean+set}" = set; then
27048 echo $ECHO_N "(cached) $ECHO_C" >&6
27050 cat >conftest.$ac_ext <<_ACEOF
27053 cat confdefs.h >>conftest.$ac_ext
27054 cat >>conftest.$ac_ext <<_ACEOF
27055 /* end confdefs.h. */
27056 #include <windows.h>
27058 typedef boolean ac__type_new_;
27062 if ((ac__type_new_ *) 0)
27064 if (sizeof (ac__type_new_))
27070 rm -f conftest.$ac_objext
27071 if { (ac_try="$ac_compile"
27072 case "(($ac_try" in
27073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27074 *) ac_try_echo
=$ac_try;;
27076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27077 (eval "$ac_compile") 2>conftest.er1
27079 grep -v '^ *+' conftest.er1
>conftest.err
27081 cat conftest.err
>&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); } && {
27084 test -z "$ac_c_werror_flag" ||
27085 test ! -s conftest.err
27086 } && test -s conftest.
$ac_objext; then
27087 ac_cv_type_boolean
=yes
27089 echo "$as_me: failed program was:" >&5
27090 sed 's/^/| /' conftest.
$ac_ext >&5
27092 ac_cv_type_boolean
=no
27095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27097 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27098 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27099 if test $ac_cv_type_boolean = yes; then
27101 cat >>confdefs.h
<<_ACEOF
27102 #define HAVE_BOOLEAN 1
27106 { echo "$as_me:$LINENO: checking for boolean" >&5
27107 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27108 if test "${ac_cv_type_boolean+set}" = set; then
27109 echo $ECHO_N "(cached) $ECHO_C" >&6
27111 cat >conftest.
$ac_ext <<_ACEOF
27114 cat confdefs.h
>>conftest.
$ac_ext
27115 cat >>conftest.
$ac_ext <<_ACEOF
27116 /* end confdefs.h. */
27118 #undef HAVE_BOOLEAN
27120 #include <jpeglib.h>
27123 typedef boolean ac__type_new_;
27127 if ((ac__type_new_ *) 0)
27129 if (sizeof (ac__type_new_))
27135 rm -f conftest.
$ac_objext
27136 if { (ac_try
="$ac_compile"
27137 case "(($ac_try" in
27138 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27139 *) ac_try_echo=$ac_try;;
27141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27142 (eval "$ac_compile") 2>conftest.er1
27144 grep -v '^ *+' conftest.er1 >conftest.err
27146 cat conftest.err >&5
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); } && {
27149 test -z "$ac_c_werror_flag" ||
27150 test ! -s conftest.err
27151 } && test -s conftest.$ac_objext; then
27152 ac_cv_type_boolean=yes
27154 echo "$as_me: failed program was:" >&5
27155 sed 's/^/| /' conftest.$ac_ext >&5
27157 ac_cv_type_boolean=no
27160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27162 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27163 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27165 # The cast to long int works around a bug in the HP C Compiler
27166 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27167 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27168 # This bug is HP SR number 8606223364.
27169 { echo "$as_me:$LINENO: checking size of boolean" >&5
27170 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27171 if test "${ac_cv_sizeof_boolean+set}" = set; then
27172 echo $ECHO_N "(cached) $ECHO_C" >&6
27174 if test "$cross_compiling" = yes; then
27175 # Depending upon the size, compute the lo and hi bounds.
27176 cat >conftest.$ac_ext <<_ACEOF
27179 cat confdefs.h >>conftest.$ac_ext
27180 cat >>conftest.$ac_ext <<_ACEOF
27181 /* end confdefs.h. */
27183 #undef HAVE_BOOLEAN
27185 #include <jpeglib.h>
27188 typedef boolean ac__type_sizeof_;
27192 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27199 rm -f conftest.$ac_objext
27200 if { (ac_try="$ac_compile"
27201 case "(($ac_try" in
27202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27203 *) ac_try_echo=$ac_try;;
27205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27206 (eval "$ac_compile") 2>conftest.er1
27208 grep -v '^
*+' conftest.er1 >conftest.err
27210 cat conftest.err >&5
27211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212 (exit $ac_status); } && {
27213 test -z "$ac_c_werror_flag" ||
27214 test ! -s conftest.err
27215 } && test -s conftest.$ac_objext; then
27218 cat >conftest.$ac_ext <<_ACEOF
27221 cat confdefs.h >>conftest.$ac_ext
27222 cat >>conftest.$ac_ext <<_ACEOF
27223 /* end confdefs.h. */
27225 #undef HAVE_BOOLEAN
27227 #include <jpeglib.h>
27230 typedef boolean ac__type_sizeof_;
27234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27241 rm -f conftest.$ac_objext
27242 if { (ac_try="$ac_compile"
27243 case "(($ac_try" in
27244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27245 *) ac_try_echo=$ac_try;;
27247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27248 (eval "$ac_compile") 2>conftest.er1
27250 grep -v '^
*+' conftest.er1 >conftest.err
27252 cat conftest.err >&5
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); } && {
27255 test -z "$ac_c_werror_flag" ||
27256 test ! -s conftest.err
27257 } && test -s conftest.$ac_objext; then
27258 ac_hi=$ac_mid; break
27260 echo "$as_me: failed program was:" >&5
27261 sed 's
/^
/| /' conftest.$ac_ext >&5
27263 ac_lo=`expr $ac_mid + 1`
27264 if test $ac_lo -le $ac_mid; then
27268 ac_mid=`expr 2 '*' $ac_mid + 1`
27271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27274 echo "$as_me: failed program was:" >&5
27275 sed 's
/^
/| /' conftest.$ac_ext >&5
27277 cat >conftest.$ac_ext <<_ACEOF
27280 cat confdefs.h >>conftest.$ac_ext
27281 cat >>conftest.$ac_ext <<_ACEOF
27282 /* end confdefs.h. */
27284 #undef HAVE_BOOLEAN
27286 #include <jpeglib.h>
27289 typedef boolean ac__type_sizeof_;
27293 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27300 rm -f conftest.$ac_objext
27301 if { (ac_try="$ac_compile"
27302 case "(($ac_try" in
27303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27304 *) ac_try_echo=$ac_try;;
27306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27307 (eval "$ac_compile") 2>conftest.er1
27309 grep -v '^
*+' conftest.er1 >conftest.err
27311 cat conftest.err >&5
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); } && {
27314 test -z "$ac_c_werror_flag" ||
27315 test ! -s conftest.err
27316 } && test -s conftest.$ac_objext; then
27319 cat >conftest.$ac_ext <<_ACEOF
27322 cat confdefs.h >>conftest.$ac_ext
27323 cat >>conftest.$ac_ext <<_ACEOF
27324 /* end confdefs.h. */
27326 #undef HAVE_BOOLEAN
27328 #include <jpeglib.h>
27331 typedef boolean ac__type_sizeof_;
27335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27342 rm -f conftest.$ac_objext
27343 if { (ac_try="$ac_compile"
27344 case "(($ac_try" in
27345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27346 *) ac_try_echo=$ac_try;;
27348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27349 (eval "$ac_compile") 2>conftest.er1
27351 grep -v '^
*+' conftest.er1 >conftest.err
27353 cat conftest.err >&5
27354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27355 (exit $ac_status); } && {
27356 test -z "$ac_c_werror_flag" ||
27357 test ! -s conftest.err
27358 } && test -s conftest.$ac_objext; then
27359 ac_lo=$ac_mid; break
27361 echo "$as_me: failed program was:" >&5
27362 sed 's
/^
/| /' conftest.$ac_ext >&5
27364 ac_hi=`expr '(' $ac_mid ')' - 1`
27365 if test $ac_mid -le $ac_hi; then
27369 ac_mid=`expr 2 '*' $ac_mid`
27372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27375 echo "$as_me: failed program was:" >&5
27376 sed 's
/^
/| /' conftest.$ac_ext >&5
27381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27385 # Binary search between lo and hi bounds.
27386 while test "x$ac_lo" != "x$ac_hi"; do
27387 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27388 cat >conftest.$ac_ext <<_ACEOF
27391 cat confdefs.h >>conftest.$ac_ext
27392 cat >>conftest.$ac_ext <<_ACEOF
27393 /* end confdefs.h. */
27395 #undef HAVE_BOOLEAN
27397 #include <jpeglib.h>
27400 typedef boolean ac__type_sizeof_;
27404 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27411 rm -f conftest.$ac_objext
27412 if { (ac_try="$ac_compile"
27413 case "(($ac_try" in
27414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27415 *) ac_try_echo=$ac_try;;
27417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27418 (eval "$ac_compile") 2>conftest.er1
27420 grep -v '^
*+' conftest.er1 >conftest.err
27422 cat conftest.err >&5
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); } && {
27425 test -z "$ac_c_werror_flag" ||
27426 test ! -s conftest.err
27427 } && test -s conftest.$ac_objext; then
27430 echo "$as_me: failed program was:" >&5
27431 sed 's
/^
/| /' conftest.$ac_ext >&5
27433 ac_lo=`expr '(' $ac_mid ')' + 1`
27436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27439 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27440 '') if test "$ac_cv_type_boolean" = yes; then
27441 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27442 See \`config.log' for more details.
" >&5
27443 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27444 See \
`config.log' for more details." >&2;}
27445 { (exit 77); exit 77; }; }
27447 ac_cv_sizeof_boolean=0
27451 cat >conftest.$ac_ext <<_ACEOF
27454 cat confdefs.h >>conftest.$ac_ext
27455 cat >>conftest.$ac_ext <<_ACEOF
27456 /* end confdefs.h. */
27458 #undef HAVE_BOOLEAN
27460 #include <jpeglib.h>
27463 typedef boolean ac__type_sizeof_;
27464 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27465 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27467 #include <stdlib.h>
27472 FILE *f = fopen ("conftest.val", "w");
27475 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27477 long int i = longval ();
27478 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27480 fprintf (f, "%ld\n", i);
27484 unsigned long int i = ulongval ();
27485 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27487 fprintf (f, "%lu\n", i);
27489 return ferror (f) || fclose (f) != 0;
27495 rm -f conftest$ac_exeext
27496 if { (ac_try="$ac_link"
27497 case "(($ac_try" in
27498 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27499 *) ac_try_echo
=$ac_try;;
27501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27502 (eval "$ac_link") 2>&5
27504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27506 { (case "(($ac_try" in
27507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27508 *) ac_try_echo=$ac_try;;
27510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27511 (eval "$ac_try") 2>&5
27513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514 (exit $ac_status); }; }; then
27515 ac_cv_sizeof_boolean=`cat conftest.val
`
27517 echo "$as_me: program exited with status $ac_status" >&5
27518 echo "$as_me: failed program was:" >&5
27519 sed 's/^/| /' conftest.$ac_ext >&5
27521 ( exit $ac_status )
27522 if test "$ac_cv_type_boolean" = yes; then
27523 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27524 See \`config.log
' for more details." >&5
27525 echo "$as_me: error: cannot compute sizeof (boolean)
27526 See \`config.log' for more details.
" >&2;}
27527 { (exit 77); exit 77; }; }
27529 ac_cv_sizeof_boolean=0
27532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27536 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27537 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27541 cat >>confdefs.h <<_ACEOF
27542 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27546 cat >>confdefs.h <<_ACEOF
27547 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27561 TIFF_PREREQ_LINKS=-lm
27562 if test "$wxUSE_LIBTIFF" != "no
" ; then
27563 cat >>confdefs.h <<\_ACEOF
27564 #define wxUSE_LIBTIFF 1
27568 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27569 if test "$wxUSE_LIBJPEG" = "sys
"; then
27570 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27572 if test "$wxUSE_ZLIB" = "sys
"; then
27573 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27575 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27576 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27577 if test "${ac_cv_header_tiffio_h+set}" = set; then
27578 echo $ECHO_N "(cached
) $ECHO_C" >&6
27580 cat >conftest.$ac_ext <<_ACEOF
27583 cat confdefs.h >>conftest.$ac_ext
27584 cat >>conftest.$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27589 #include <tiffio.h>
27591 rm -f conftest.$ac_objext
27592 if { (ac_try="$ac_compile"
27593 case "(($ac_try" in
27594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27595 *) ac_try_echo=$ac_try;;
27597 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27598 (eval "$ac_compile") 2>conftest.er1
27600 grep -v '^ *+' conftest.er1 >conftest.err
27602 cat conftest.err >&5
27603 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27604 (exit $ac_status); } && {
27605 test -z "$ac_c_werror_flag" ||
27606 test ! -s conftest.err
27607 } && test -s conftest.$ac_objext; then
27608 ac_cv_header_tiffio_h=yes
27610 echo "$as_me: failed program was
:" >&5
27611 sed 's/^/| /' conftest.$ac_ext >&5
27613 ac_cv_header_tiffio_h=no
27616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27618 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27619 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27620 if test $ac_cv_header_tiffio_h = yes; then
27622 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27623 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27624 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27625 echo $ECHO_N "(cached
) $ECHO_C" >&6
27627 ac_check_lib_save_LIBS=$LIBS
27628 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27629 cat >conftest.$ac_ext <<_ACEOF
27632 cat confdefs.h >>conftest.$ac_ext
27633 cat >>conftest.$ac_ext <<_ACEOF
27634 /* end confdefs.h. */
27636 /* Override any GCC internal prototype to avoid an error.
27637 Use char because int might match the return type of a GCC
27638 builtin and then its argument prototype would still apply. */
27646 return TIFFError ();
27651 rm -f conftest.$ac_objext conftest$ac_exeext
27652 if { (ac_try="$ac_link"
27653 case "(($ac_try" in
27654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27655 *) ac_try_echo=$ac_try;;
27657 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27658 (eval "$ac_link") 2>conftest.er1
27660 grep -v '^ *+' conftest.er1 >conftest.err
27662 cat conftest.err >&5
27663 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27664 (exit $ac_status); } && {
27665 test -z "$ac_c_werror_flag" ||
27666 test ! -s conftest.err
27667 } && test -s conftest$ac_exeext &&
27668 $as_test_x conftest$ac_exeext; then
27669 ac_cv_lib_tiff_TIFFError=yes
27671 echo "$as_me: failed program was
:" >&5
27672 sed 's/^/| /' conftest.$ac_ext >&5
27674 ac_cv_lib_tiff_TIFFError=no
27677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27678 conftest$ac_exeext conftest.$ac_ext
27679 LIBS=$ac_check_lib_save_LIBS
27681 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27682 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27683 if test $ac_cv_lib_tiff_TIFFError = yes; then
27684 TIFF_LINK=" -ltiff"
27692 if test "x
$TIFF_LINK" = "x
" ; then
27693 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27694 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27695 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27696 { (exit 1); exit 1; }; }
27698 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27699 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27700 wxUSE_LIBTIFF=builtin
27706 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27707 if test "$wxUSE_LIBJPEG" = "no
"; then
27708 ac_configure_args="$ac_configure_args --disable-jpeg"
27710 subdirs="$subdirs src
/tiff
"
27716 if test "$wxUSE_WCHAR_T" != "yes"; then
27717 if test "$wxUSE_EXPAT" != "no
"; then
27718 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27719 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27722 if test "$wxUSE_XML" != "no
"; then
27723 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27724 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27729 if test "$wxUSE_EXPAT" != "no
"; then
27731 cat >>confdefs.h <<\_ACEOF
27732 #define wxUSE_EXPAT 1
27735 cat >>confdefs.h <<\_ACEOF
27736 #define wxUSE_XML 1
27740 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27741 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27742 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27743 if test "${ac_cv_header_expat_h+set}" = set; then
27744 echo $ECHO_N "(cached
) $ECHO_C" >&6
27746 cat >conftest.$ac_ext <<_ACEOF
27749 cat confdefs.h >>conftest.$ac_ext
27750 cat >>conftest.$ac_ext <<_ACEOF
27751 /* end confdefs.h. */
27756 rm -f conftest.$ac_objext
27757 if { (ac_try="$ac_compile"
27758 case "(($ac_try" in
27759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27760 *) ac_try_echo=$ac_try;;
27762 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27763 (eval "$ac_compile") 2>conftest.er1
27765 grep -v '^ *+' conftest.er1 >conftest.err
27767 cat conftest.err >&5
27768 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27769 (exit $ac_status); } && {
27770 test -z "$ac_c_werror_flag" ||
27771 test ! -s conftest.err
27772 } && test -s conftest.$ac_objext; then
27773 ac_cv_header_expat_h=yes
27775 echo "$as_me: failed program was
:" >&5
27776 sed 's/^/| /' conftest.$ac_ext >&5
27778 ac_cv_header_expat_h=no
27781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27783 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27784 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27785 if test $ac_cv_header_expat_h = yes; then
27790 if test "x
$found_expat_h" = "x1
"; then
27791 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27792 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27793 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27794 echo $ECHO_N "(cached
) $ECHO_C" >&6
27798 ac_cpp='$CXXCPP $CPPFLAGS'
27799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27803 cat >conftest.$ac_ext <<_ACEOF
27806 cat confdefs.h >>conftest.$ac_ext
27807 cat >>conftest.$ac_ext <<_ACEOF
27808 /* end confdefs.h. */
27818 rm -f conftest.$ac_objext
27819 if { (ac_try="$ac_compile"
27820 case "(($ac_try" in
27821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27822 *) ac_try_echo=$ac_try;;
27824 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27825 (eval "$ac_compile") 2>conftest.er1
27827 grep -v '^ *+' conftest.er1 >conftest.err
27829 cat conftest.err >&5
27830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27831 (exit $ac_status); } && {
27832 test -z "$ac_cxx_werror_flag" ||
27833 test ! -s conftest.err
27834 } && test -s conftest.$ac_objext; then
27835 wx_cv_expat_is_not_broken=yes
27837 echo "$as_me: failed program was
:" >&5
27838 sed 's/^/| /' conftest.$ac_ext >&5
27840 wx_cv_expat_is_not_broken=no
27844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27846 ac_cpp='$CPP $CPPFLAGS'
27847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27854 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27855 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27856 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27857 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27858 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27859 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27860 echo $ECHO_N "(cached
) $ECHO_C" >&6
27862 ac_check_lib_save_LIBS=$LIBS
27863 LIBS="-lexpat $LIBS"
27864 cat >conftest.$ac_ext <<_ACEOF
27867 cat confdefs.h >>conftest.$ac_ext
27868 cat >>conftest.$ac_ext <<_ACEOF
27869 /* end confdefs.h. */
27871 /* Override any GCC internal prototype to avoid an error.
27872 Use char because int might match the return type of a GCC
27873 builtin and then its argument prototype would still apply. */
27877 char XML_ParserCreate ();
27881 return XML_ParserCreate ();
27886 rm -f conftest.$ac_objext conftest$ac_exeext
27887 if { (ac_try="$ac_link"
27888 case "(($ac_try" in
27889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27890 *) ac_try_echo=$ac_try;;
27892 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27893 (eval "$ac_link") 2>conftest.er1
27895 grep -v '^ *+' conftest.er1 >conftest.err
27897 cat conftest.err >&5
27898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27899 (exit $ac_status); } && {
27900 test -z "$ac_c_werror_flag" ||
27901 test ! -s conftest.err
27902 } && test -s conftest$ac_exeext &&
27903 $as_test_x conftest$ac_exeext; then
27904 ac_cv_lib_expat_XML_ParserCreate=yes
27906 echo "$as_me: failed program was
:" >&5
27907 sed 's/^/| /' conftest.$ac_ext >&5
27909 ac_cv_lib_expat_XML_ParserCreate=no
27912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27913 conftest$ac_exeext conftest.$ac_ext
27914 LIBS=$ac_check_lib_save_LIBS
27916 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27917 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27918 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27919 EXPAT_LINK=" -lexpat"
27924 if test "x
$EXPAT_LINK" = "x
" ; then
27925 if test "$wxUSE_EXPAT" = "sys
" ; then
27926 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27927 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27928 { (exit 1); exit 1; }; }
27930 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27931 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27932 wxUSE_EXPAT=builtin
27938 if test "$wxUSE_EXPAT" = "builtin" ; then
27939 subdirs="$subdirs src
/expat
"
27946 if test "$wxUSE_LIBMSPACK" != "no
"; then
27947 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27948 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27949 if test "${ac_cv_header_mspack_h+set}" = set; then
27950 echo $ECHO_N "(cached
) $ECHO_C" >&6
27952 cat >conftest.$ac_ext <<_ACEOF
27955 cat confdefs.h >>conftest.$ac_ext
27956 cat >>conftest.$ac_ext <<_ACEOF
27957 /* end confdefs.h. */
27960 #include <mspack.h>
27962 rm -f conftest.$ac_objext
27963 if { (ac_try="$ac_compile"
27964 case "(($ac_try" in
27965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27966 *) ac_try_echo=$ac_try;;
27968 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27969 (eval "$ac_compile") 2>conftest.er1
27971 grep -v '^ *+' conftest.er1 >conftest.err
27973 cat conftest.err >&5
27974 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27975 (exit $ac_status); } && {
27976 test -z "$ac_c_werror_flag" ||
27977 test ! -s conftest.err
27978 } && test -s conftest.$ac_objext; then
27979 ac_cv_header_mspack_h=yes
27981 echo "$as_me: failed program was
:" >&5
27982 sed 's/^/| /' conftest.$ac_ext >&5
27984 ac_cv_header_mspack_h=no
27987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27989 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27990 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27991 if test $ac_cv_header_mspack_h = yes; then
27996 if test "x
$found_mspack_h" = "x1
"; then
27997 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27998 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27999 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28000 echo $ECHO_N "(cached
) $ECHO_C" >&6
28002 ac_check_lib_save_LIBS=$LIBS
28003 LIBS="-lmspack $LIBS"
28004 cat >conftest.$ac_ext <<_ACEOF
28007 cat confdefs.h >>conftest.$ac_ext
28008 cat >>conftest.$ac_ext <<_ACEOF
28009 /* end confdefs.h. */
28011 /* Override any GCC internal prototype to avoid an error.
28012 Use char because int might match the return type of a GCC
28013 builtin and then its argument prototype would still apply. */
28017 char mspack_create_chm_decompressor ();
28021 return mspack_create_chm_decompressor ();
28026 rm -f conftest.$ac_objext conftest$ac_exeext
28027 if { (ac_try="$ac_link"
28028 case "(($ac_try" in
28029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28030 *) ac_try_echo=$ac_try;;
28032 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28033 (eval "$ac_link") 2>conftest.er1
28035 grep -v '^ *+' conftest.er1 >conftest.err
28037 cat conftest.err >&5
28038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28039 (exit $ac_status); } && {
28040 test -z "$ac_c_werror_flag" ||
28041 test ! -s conftest.err
28042 } && test -s conftest$ac_exeext &&
28043 $as_test_x conftest$ac_exeext; then
28044 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28046 echo "$as_me: failed program was
:" >&5
28047 sed 's/^/| /' conftest.$ac_ext >&5
28049 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28053 conftest$ac_exeext conftest.$ac_ext
28054 LIBS=$ac_check_lib_save_LIBS
28056 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28057 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28058 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28059 MSPACK_LINK=" -lmspack"
28063 if test "x
$MSPACK_LINK" = "x
" ; then
28068 if test "$wxUSE_LIBMSPACK" != "no
"; then
28069 cat >>confdefs.h <<\_ACEOF
28070 #define wxUSE_LIBMSPACK 1
28084 if test "$USE_WIN32" = 1 ; then
28086 for ac_header in w32api.h
28088 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28089 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28090 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28091 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28092 echo $ECHO_N "(cached
) $ECHO_C" >&6
28094 cat >conftest.$ac_ext <<_ACEOF
28097 cat confdefs.h >>conftest.$ac_ext
28098 cat >>conftest.$ac_ext <<_ACEOF
28099 /* end confdefs.h. */
28102 #include <$ac_header>
28104 rm -f conftest.$ac_objext
28105 if { (ac_try="$ac_compile"
28106 case "(($ac_try" in
28107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28108 *) ac_try_echo=$ac_try;;
28110 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28111 (eval "$ac_compile") 2>conftest.er1
28113 grep -v '^ *+' conftest.er1 >conftest.err
28115 cat conftest.err >&5
28116 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28117 (exit $ac_status); } && {
28118 test -z "$ac_c_werror_flag" ||
28119 test ! -s conftest.err
28120 } && test -s conftest.$ac_objext; then
28121 eval "$as_ac_Header=yes"
28123 echo "$as_me: failed program was
:" >&5
28124 sed 's/^/| /' conftest.$ac_ext >&5
28126 eval "$as_ac_Header=no
"
28129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28131 ac_res=`eval echo '${'$as_ac_Header'}'`
28132 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28133 echo "${ECHO_T}$ac_res" >&6; }
28134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28135 cat >>confdefs.h <<_ACEOF
28136 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28143 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28144 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28145 if test "${ac_cv_header_windows_h+set}" = set; then
28146 echo $ECHO_N "(cached
) $ECHO_C" >&6
28148 cat >conftest.$ac_ext <<_ACEOF
28151 cat confdefs.h >>conftest.$ac_ext
28152 cat >>conftest.$ac_ext <<_ACEOF
28153 /* end confdefs.h. */
28156 #include <windows.h>
28158 rm -f conftest.$ac_objext
28159 if { (ac_try="$ac_compile"
28160 case "(($ac_try" in
28161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28162 *) ac_try_echo=$ac_try;;
28164 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28165 (eval "$ac_compile") 2>conftest.er1
28167 grep -v '^ *+' conftest.er1 >conftest.err
28169 cat conftest.err >&5
28170 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28171 (exit $ac_status); } && {
28172 test -z "$ac_c_werror_flag" ||
28173 test ! -s conftest.err
28174 } && test -s conftest.$ac_objext; then
28175 ac_cv_header_windows_h=yes
28177 echo "$as_me: failed program was
:" >&5
28178 sed 's/^/| /' conftest.$ac_ext >&5
28180 ac_cv_header_windows_h=no
28183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28185 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28186 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28187 if test $ac_cv_header_windows_h = yes; then
28191 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28192 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28193 { (exit 1); exit 1; }; }
28200 x86_64-*-mingw32* )
28201 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28204 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28207 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28208 LIBS="$LIBS -loleacc"
28213 LIBS="$LIBS -lkernel32 -luser32"
28216 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28217 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28219 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28221 WIN32INSTALL=win32install
28223 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28224 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28225 if test "${ac_cv_header_pbt_h+set}" = set; then
28226 echo $ECHO_N "(cached
) $ECHO_C" >&6
28228 cat >conftest.$ac_ext <<_ACEOF
28231 cat confdefs.h >>conftest.$ac_ext
28232 cat >>conftest.$ac_ext <<_ACEOF
28233 /* end confdefs.h. */
28238 rm -f conftest.$ac_objext
28239 if { (ac_try="$ac_compile"
28240 case "(($ac_try" in
28241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28242 *) ac_try_echo=$ac_try;;
28244 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28245 (eval "$ac_compile") 2>conftest.er1
28247 grep -v '^ *+' conftest.er1 >conftest.err
28249 cat conftest.err >&5
28250 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28251 (exit $ac_status); } && {
28252 test -z "$ac_c_werror_flag" ||
28253 test ! -s conftest.err
28254 } && test -s conftest.$ac_objext; then
28255 ac_cv_header_pbt_h=yes
28257 echo "$as_me: failed program was
:" >&5
28258 sed 's/^/| /' conftest.$ac_ext >&5
28260 ac_cv_header_pbt_h=no
28263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28265 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28266 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28267 if test $ac_cv_header_pbt_h = yes; then
28270 cat >>confdefs.h <<\_ACEOF
28271 #define NEED_PBT_H 1
28279 if test "$wxUSE_GUI" = "yes"; then
28289 if test "$wxUSE_COCOA" = 1 ; then
28290 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28291 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28292 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28293 wxUSE_PRINTING_ARCHITECTURE=no
28295 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28296 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28297 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28298 wxUSE_DRAG_AND_DROP=no
28300 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28301 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28302 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28307 if test "$wxUSE_MSW" = 1 ; then
28313 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28317 if test "$wxUSE_GTK" = 1; then
28318 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28319 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28321 gtk_version_cached=1
28322 if test "${wx_cv_lib_gtk+set}" = set; then
28323 echo $ECHO_N "(cached
) $ECHO_C" >&6
28326 gtk_version_cached=0
28327 { echo "$as_me:$LINENO: result
: " >&5
28328 echo "${ECHO_T}" >&6; }
28331 if test "$wxUSE_THREADS" = "yes"; then
28332 GTK_MODULES=gthread
28336 if test "x
$wxGTK_VERSION" != "x1
"
28340 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28345 # Check whether --enable-gtktest was given.
28346 if test "${enable_gtktest+set}" = set; then
28347 enableval=$enable_gtktest;
28353 pkg_config_args=gtk+-2.0
28354 for module in . $GTK_MODULES
28358 pkg_config_args="$pkg_config_args gthread
-2.0
"
28365 # Extract the first word of "pkg
-config", so it can be a program name with args.
28366 set dummy pkg-config; ac_word=$2
28367 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28368 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28369 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28370 echo $ECHO_N "(cached
) $ECHO_C" >&6
28372 case $PKG_CONFIG in
28374 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28378 for as_dir in $PATH
28381 test -z "$as_dir" && as_dir=.
28382 for ac_exec_ext in '' $ac_executable_extensions; do
28383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28384 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28385 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28392 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28396 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28397 if test -n "$PKG_CONFIG"; then
28398 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28399 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28401 { echo "$as_me:$LINENO: result
: no
" >&5
28402 echo "${ECHO_T}no
" >&6; }
28407 if test x$PKG_CONFIG != xno ; then
28408 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28411 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28419 min_gtk_version=2.4.0
28420 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28421 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28423 if test x$PKG_CONFIG != xno ; then
28424 ## don't try to run the test against uninstalled libtool libs
28425 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28426 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28430 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28437 if test x"$no_gtk" = x ; then
28438 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28439 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28440 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28442 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28444 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28446 if test "x
$enable_gtktest" = "xyes
" ; then
28447 ac_save_CFLAGS="$CFLAGS"
28448 ac_save_LIBS="$LIBS"
28449 CFLAGS="$CFLAGS $GTK_CFLAGS"
28450 LIBS="$GTK_LIBS $LIBS"
28452 if test "$cross_compiling" = yes; then
28453 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28455 cat >conftest.$ac_ext <<_ACEOF
28458 cat confdefs.h >>conftest.$ac_ext
28459 cat >>conftest.$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28462 #include <gtk/gtk.h>
28464 #include <stdlib.h>
28469 int major, minor, micro;
28472 system ("touch conf.gtktest
");
28474 /* HP/UX 9 (%@#!) writes to sscanf strings */
28475 tmp_version = g_strdup("$min_gtk_version");
28476 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28477 printf("%s
, bad version string
\n", "$min_gtk_version");
28481 if ((gtk_major_version != $gtk_config_major_version) ||
28482 (gtk_minor_version != $gtk_config_minor_version) ||
28483 (gtk_micro_version != $gtk_config_micro_version))
28485 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28486 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28487 gtk_major_version, gtk_minor_version, gtk_micro_version);
28488 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28489 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28490 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28491 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28492 printf("*** required on your system.
\n");
28493 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28494 printf("*** to point to the correct configuration files
\n");
28496 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28497 (gtk_minor_version != GTK_MINOR_VERSION) ||
28498 (gtk_micro_version != GTK_MICRO_VERSION))
28500 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28501 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28502 printf("*** library
(version
%d.
%d.
%d
)\n",
28503 gtk_major_version, gtk_minor_version, gtk_micro_version);
28507 if ((gtk_major_version > major) ||
28508 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28509 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28515 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28516 gtk_major_version, gtk_minor_version, gtk_micro_version);
28517 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28518 major, minor, micro);
28519 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28521 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28522 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28523 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28524 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28525 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28526 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28527 printf("*** so that the correct libraries are found
at run
-time))\n");
28534 rm -f conftest$ac_exeext
28535 if { (ac_try="$ac_link"
28536 case "(($ac_try" in
28537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28538 *) ac_try_echo=$ac_try;;
28540 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28541 (eval "$ac_link") 2>&5
28543 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28544 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28545 { (case "(($ac_try" in
28546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28547 *) ac_try_echo=$ac_try;;
28549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28550 (eval "$ac_try") 2>&5
28552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28553 (exit $ac_status); }; }; then
28556 echo "$as_me: program exited with status
$ac_status" >&5
28557 echo "$as_me: failed program was
:" >&5
28558 sed 's/^/| /' conftest.$ac_ext >&5
28560 ( exit $ac_status )
28563 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28567 CFLAGS="$ac_save_CFLAGS"
28568 LIBS="$ac_save_LIBS"
28571 if test "x
$no_gtk" = x ; then
28572 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28573 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28576 { echo "$as_me:$LINENO: result
: no
" >&5
28577 echo "${ECHO_T}no
" >&6; }
28578 if test "$PKG_CONFIG" = "no
" ; then
28579 echo "*** A new enough version of pkg
-config was not found.
"
28580 echo "*** See http
://pkgconfig.sourceforge.net
"
28582 if test -f conf.gtktest ; then
28585 echo "*** Could not run GTK
+ test program
, checking why...
"
28586 ac_save_CFLAGS="$CFLAGS"
28587 ac_save_LIBS="$LIBS"
28588 CFLAGS="$CFLAGS $GTK_CFLAGS"
28589 LIBS="$LIBS $GTK_LIBS"
28590 cat >conftest.$ac_ext <<_ACEOF
28593 cat confdefs.h >>conftest.$ac_ext
28594 cat >>conftest.$ac_ext <<_ACEOF
28595 /* end confdefs.h. */
28597 #include <gtk/gtk.h>
28603 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28608 rm -f conftest.$ac_objext conftest$ac_exeext
28609 if { (ac_try="$ac_link"
28610 case "(($ac_try" in
28611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28612 *) ac_try_echo=$ac_try;;
28614 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28615 (eval "$ac_link") 2>conftest.er1
28617 grep -v '^ *+' conftest.er1 >conftest.err
28619 cat conftest.err >&5
28620 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28621 (exit $ac_status); } && {
28622 test -z "$ac_c_werror_flag" ||
28623 test ! -s conftest.err
28624 } && test -s conftest$ac_exeext &&
28625 $as_test_x conftest$ac_exeext; then
28626 echo "*** The
test program compiled
, but did not run. This usually means
"
28627 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28628 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28629 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28630 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28631 echo "*** is required on your system"
28633 echo "*** If you have an old version installed, it is best to remove it, although"
28634 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28636 echo "$as_me: failed program was:" >&5
28637 sed 's
/^
/| /' conftest.$ac_ext >&5
28639 echo "*** The test program failed to compile or link. See the file config.log for the"
28640 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28644 conftest$ac_exeext conftest.$ac_ext
28645 CFLAGS="$ac_save_CFLAGS"
28646 LIBS="$ac_save_LIBS"
28660 if test "$wxUSE_SHARED" != "yes"; then
28661 GTK_LIBS="$GTK_LIBS -lX11"
28666 if test -z "$wx_cv_lib_gtk"; then
28667 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28669 # Check whether --with-gtk-prefix was given.
28670 if test "${with_gtk_prefix+set}" = set; then
28671 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28673 gtk_config_prefix=""
28677 # Check whether --with-gtk-exec-prefix was given.
28678 if test "${with_gtk_exec_prefix+set}" = set; then
28679 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28681 gtk_config_exec_prefix=""
28684 # Check whether --enable-gtktest was given.
28685 if test "${enable_gtktest+set}" = set; then
28686 enableval=$enable_gtktest;
28692 for module in . $GTK_MODULES
28696 gtk_config_args="$gtk_config_args gthread"
28701 if test x$gtk_config_exec_prefix != x ; then
28702 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28703 if test x${GTK_CONFIG+set} != xset ; then
28704 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28707 if test x$gtk_config_prefix != x ; then
28708 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28709 if test x${GTK_CONFIG+set} != xset ; then
28710 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28714 # Extract the first word of "gtk-config", so it can be a program name with args.
28715 set dummy gtk-config; ac_word=$2
28716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28718 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28719 echo $ECHO_N "(cached) $ECHO_C" >&6
28721 case $GTK_CONFIG in
28723 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28727 for as_dir in $PATH
28730 test -z "$as_dir" && as_dir=.
28731 for ac_exec_ext in '' $ac_executable_extensions; do
28732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28733 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28741 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28745 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28746 if test -n "$GTK_CONFIG"; then
28747 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28748 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28750 { echo "$as_me:$LINENO: result: no" >&5
28751 echo "${ECHO_T}no" >&6; }
28755 min_gtk_version=1.2.7
28756 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28757 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28759 if test "$GTK_CONFIG" = "no" ; then
28762 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28763 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28764 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28765 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28766 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28767 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28768 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28769 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28770 if test "x$enable_gtktest" = "xyes" ; then
28771 ac_save_CFLAGS="$CFLAGS"
28772 ac_save_LIBS="$LIBS"
28773 CFLAGS="$CFLAGS $GTK_CFLAGS"
28774 LIBS="$GTK_LIBS $LIBS"
28776 if test "$cross_compiling" = yes; then
28777 echo $ac_n "cross compiling; assumed OK... $ac_c"
28779 cat >conftest.$ac_ext <<_ACEOF
28782 cat confdefs.h >>conftest.$ac_ext
28783 cat >>conftest.$ac_ext <<_ACEOF
28784 /* end confdefs.h. */
28786 #include <gtk/gtk.h>
28788 #include <stdlib.h>
28793 int major, minor, micro;
28796 system ("touch conf.gtktest");
28798 /* HP/UX 9 (%@#!) writes to sscanf strings */
28799 tmp_version = g_strdup("$min_gtk_version");
28800 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28801 printf("%s, bad version string\n", "$min_gtk_version");
28805 if ((gtk_major_version != $gtk_config_major_version) ||
28806 (gtk_minor_version != $gtk_config_minor_version) ||
28807 (gtk_micro_version != $gtk_config_micro_version))
28809 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28810 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28811 gtk_major_version, gtk_minor_version, gtk_micro_version);
28812 printf ("*** was found! If gtk-config was correct, then it is best\n");
28813 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28814 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28815 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28816 printf("*** required on your system.\n");
28817 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28818 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28819 printf("*** before re-running configure\n");
28821 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28822 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28823 (gtk_minor_version != GTK_MINOR_VERSION) ||
28824 (gtk_micro_version != GTK_MICRO_VERSION))
28826 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28827 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28828 printf("*** library (version %d.%d.%d)\n",
28829 gtk_major_version, gtk_minor_version, gtk_micro_version);
28831 #endif /* defined (GTK_MAJOR_VERSION) ... */
28834 if ((gtk_major_version > major) ||
28835 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28836 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28842 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28843 gtk_major_version, gtk_minor_version, gtk_micro_version);
28844 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28845 major, minor, micro);
28846 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28848 printf("*** If you have already installed a sufficiently new version, this error\n");
28849 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28850 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28851 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28852 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28853 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28854 printf("*** so that the correct libraries are found at run-time))\n");
28861 rm -f conftest$ac_exeext
28862 if { (ac_try="$ac_link"
28863 case "(($ac_try" in
28864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28865 *) ac_try_echo=$ac_try;;
28867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28868 (eval "$ac_link") 2>&5
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28872 { (case "(($ac_try" in
28873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28874 *) ac_try_echo=$ac_try;;
28876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28877 (eval "$ac_try") 2>&5
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); }; }; then
28883 echo "$as_me: program exited with status $ac_status" >&5
28884 echo "$as_me: failed program was:" >&5
28885 sed 's
/^
/| /' conftest.$ac_ext >&5
28887 ( exit $ac_status )
28890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28894 CFLAGS="$ac_save_CFLAGS"
28895 LIBS="$ac_save_LIBS"
28898 if test "x$no_gtk" = x ; then
28899 { echo "$as_me:$LINENO: result: yes" >&5
28900 echo "${ECHO_T}yes" >&6; }
28901 wx_cv_lib_gtk=1.2.7
28903 { echo "$as_me:$LINENO: result: no" >&5
28904 echo "${ECHO_T}no" >&6; }
28905 if test "$GTK_CONFIG" = "no" ; then
28906 echo "*** The gtk-config script installed by GTK could not be found"
28907 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28908 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28909 echo "*** full path to gtk-config."
28911 if test -f conf.gtktest ; then
28914 echo "*** Could not run GTK test program, checking why..."
28915 CFLAGS="$CFLAGS $GTK_CFLAGS"
28916 LIBS="$LIBS $GTK_LIBS"
28917 cat >conftest.$ac_ext <<_ACEOF
28920 cat confdefs.h >>conftest.$ac_ext
28921 cat >>conftest.$ac_ext <<_ACEOF
28922 /* end confdefs.h. */
28924 #include <gtk/gtk.h>
28930 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28935 rm -f conftest.$ac_objext conftest$ac_exeext
28936 if { (ac_try="$ac_link"
28937 case "(($ac_try" in
28938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28939 *) ac_try_echo=$ac_try;;
28941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28942 (eval "$ac_link") 2>conftest.er1
28944 grep -v '^
*+' conftest.er1 >conftest.err
28946 cat conftest.err >&5
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); } && {
28949 test -z "$ac_c_werror_flag" ||
28950 test ! -s conftest.err
28951 } && test -s conftest$ac_exeext &&
28952 $as_test_x conftest$ac_exeext; then
28953 echo "*** The test program compiled, but did not run. This usually means"
28954 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28955 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28956 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28957 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28958 echo "*** is required on your system
"
28960 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28961 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28963 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28964 echo "*** came with the system with the
command"
28966 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28968 echo "$as_me: failed program was
:" >&5
28969 sed 's/^/| /' conftest.$ac_ext >&5
28971 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28972 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28973 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28974 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28978 conftest$ac_exeext conftest.$ac_ext
28979 CFLAGS="$ac_save_CFLAGS"
28980 LIBS="$ac_save_LIBS"
28992 if test -z "$wx_cv_lib_gtk"; then
28994 # Check whether --with-gtk-prefix was given.
28995 if test "${with_gtk_prefix+set}" = set; then
28996 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28998 gtk_config_prefix=""
29002 # Check whether --with-gtk-exec-prefix was given.
29003 if test "${with_gtk_exec_prefix+set}" = set; then
29004 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29006 gtk_config_exec_prefix=""
29009 # Check whether --enable-gtktest was given.
29010 if test "${enable_gtktest+set}" = set; then
29011 enableval=$enable_gtktest;
29017 for module in . $GTK_MODULES
29021 gtk_config_args="$gtk_config_args gthread
"
29026 if test x$gtk_config_exec_prefix != x ; then
29027 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29028 if test x${GTK_CONFIG+set} != xset ; then
29029 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29032 if test x$gtk_config_prefix != x ; then
29033 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29034 if test x${GTK_CONFIG+set} != xset ; then
29035 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29039 # Extract the first word of "gtk
-config", so it can be a program name with args.
29040 set dummy gtk-config; ac_word=$2
29041 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29042 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29043 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29044 echo $ECHO_N "(cached
) $ECHO_C" >&6
29046 case $GTK_CONFIG in
29048 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29052 for as_dir in $PATH
29055 test -z "$as_dir" && as_dir=.
29056 for ac_exec_ext in '' $ac_executable_extensions; do
29057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29058 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29059 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29066 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29070 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29071 if test -n "$GTK_CONFIG"; then
29072 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29073 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29075 { echo "$as_me:$LINENO: result
: no
" >&5
29076 echo "${ECHO_T}no
" >&6; }
29080 min_gtk_version=1.2.3
29081 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29082 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29084 if test "$GTK_CONFIG" = "no
" ; then
29087 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29088 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29089 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29091 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29092 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29093 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29094 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29095 if test "x
$enable_gtktest" = "xyes
" ; then
29096 ac_save_CFLAGS="$CFLAGS"
29097 ac_save_LIBS="$LIBS"
29098 CFLAGS="$CFLAGS $GTK_CFLAGS"
29099 LIBS="$GTK_LIBS $LIBS"
29101 if test "$cross_compiling" = yes; then
29102 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29104 cat >conftest.$ac_ext <<_ACEOF
29107 cat confdefs.h >>conftest.$ac_ext
29108 cat >>conftest.$ac_ext <<_ACEOF
29109 /* end confdefs.h. */
29111 #include <gtk/gtk.h>
29113 #include <stdlib.h>
29118 int major, minor, micro;
29121 system ("touch conf.gtktest
");
29123 /* HP/UX 9 (%@#!) writes to sscanf strings */
29124 tmp_version = g_strdup("$min_gtk_version");
29125 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29126 printf("%s
, bad version string
\n", "$min_gtk_version");
29130 if ((gtk_major_version != $gtk_config_major_version) ||
29131 (gtk_minor_version != $gtk_config_minor_version) ||
29132 (gtk_micro_version != $gtk_config_micro_version))
29134 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29135 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29136 gtk_major_version, gtk_minor_version, gtk_micro_version);
29137 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29138 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29139 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29140 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29141 printf("*** required on your system.
\n");
29142 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29143 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29144 printf("*** before re
-running configure
\n");
29146 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29147 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29148 (gtk_minor_version != GTK_MINOR_VERSION) ||
29149 (gtk_micro_version != GTK_MICRO_VERSION))
29151 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29152 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29153 printf("*** library
(version
%d.
%d.
%d
)\n",
29154 gtk_major_version, gtk_minor_version, gtk_micro_version);
29156 #endif /* defined (GTK_MAJOR_VERSION) ... */
29159 if ((gtk_major_version > major) ||
29160 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29161 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29167 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29168 gtk_major_version, gtk_minor_version, gtk_micro_version);
29169 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29170 major, minor, micro);
29171 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29173 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29174 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29175 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29176 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29177 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29178 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29179 printf("*** so that the correct libraries are found
at run
-time))\n");
29186 rm -f conftest$ac_exeext
29187 if { (ac_try="$ac_link"
29188 case "(($ac_try" in
29189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29190 *) ac_try_echo=$ac_try;;
29192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29193 (eval "$ac_link") 2>&5
29195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29197 { (case "(($ac_try" in
29198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29199 *) ac_try_echo=$ac_try;;
29201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29202 (eval "$ac_try") 2>&5
29204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29205 (exit $ac_status); }; }; then
29208 echo "$as_me: program exited with status
$ac_status" >&5
29209 echo "$as_me: failed program was
:" >&5
29210 sed 's/^/| /' conftest.$ac_ext >&5
29212 ( exit $ac_status )
29215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29219 CFLAGS="$ac_save_CFLAGS"
29220 LIBS="$ac_save_LIBS"
29223 if test "x
$no_gtk" = x ; then
29224 { echo "$as_me:$LINENO: result
: yes" >&5
29225 echo "${ECHO_T}yes" >&6; }
29226 wx_cv_lib_gtk=1.2.3
29228 { echo "$as_me:$LINENO: result
: no
" >&5
29229 echo "${ECHO_T}no
" >&6; }
29230 if test "$GTK_CONFIG" = "no
" ; then
29231 echo "*** The gtk
-config script installed by GTK could not be found
"
29232 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29233 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29234 echo "*** full path to gtk
-config.
"
29236 if test -f conf.gtktest ; then
29239 echo "*** Could not run GTK
test program
, checking why...
"
29240 CFLAGS="$CFLAGS $GTK_CFLAGS"
29241 LIBS="$LIBS $GTK_LIBS"
29242 cat >conftest.$ac_ext <<_ACEOF
29245 cat confdefs.h >>conftest.$ac_ext
29246 cat >>conftest.$ac_ext <<_ACEOF
29247 /* end confdefs.h. */
29249 #include <gtk/gtk.h>
29255 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29260 rm -f conftest.$ac_objext conftest$ac_exeext
29261 if { (ac_try="$ac_link"
29262 case "(($ac_try" in
29263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29264 *) ac_try_echo=$ac_try;;
29266 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29267 (eval "$ac_link") 2>conftest.er1
29269 grep -v '^ *+' conftest.er1 >conftest.err
29271 cat conftest.err >&5
29272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29273 (exit $ac_status); } && {
29274 test -z "$ac_c_werror_flag" ||
29275 test ! -s conftest.err
29276 } && test -s conftest$ac_exeext &&
29277 $as_test_x conftest$ac_exeext; then
29278 echo "*** The
test program compiled
, but did not run. This usually means
"
29279 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29280 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29281 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29282 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29283 echo "*** is required on your system"
29285 echo "*** If you have an old version installed, it is best to remove it, although"
29286 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29288 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29289 echo "*** came with the system with the command"
29291 echo "*** rpm --erase --nodeps gtk gtk-devel"
29293 echo "$as_me: failed program was:" >&5
29294 sed 's
/^
/| /' conftest.$ac_ext >&5
29296 echo "*** The test program failed to compile or link. See the file config.log for the"
29297 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29298 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29299 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29303 conftest$ac_exeext conftest.$ac_ext
29304 CFLAGS="$ac_save_CFLAGS"
29305 LIBS="$ac_save_LIBS"
29320 if test -z "$wx_cv_lib_gtk"; then
29323 wx_cv_cflags_gtk=$GTK_CFLAGS
29324 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29331 if test "$gtk_version_cached" = 1; then
29332 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29333 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29336 case "$wx_cv_lib_gtk" in
29345 *) { { echo "$as_me:$LINENO: error:
29346 The development files for GTK+ were not found. For GTK+ 2, please
29347 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29348 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29349 and that the version is 1.2.3 or above. Also check that the
29350 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29351 --libs' are in the LD_LIBRARY_PATH or equivalent.
29353 echo "$as_me: error:
29354 The development files for GTK+ were not found. For GTK+ 2, please
29355 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29356 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29357 and that the version is 1.2.3 or above. Also check that the
29358 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29359 --libs' are in the LD_LIBRARY_PATH or equivalent.
29361 { (exit 1); exit 1; }; }
29365 if test "$WXGTK2" = 1; then
29366 save_CFLAGS="$CFLAGS"
29368 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29369 LIBS="$LIBS $wx_cv_libs_gtk"
29371 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29372 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29373 cat >conftest.$ac_ext <<_ACEOF
29376 cat confdefs.h >>conftest.$ac_ext
29377 cat >>conftest.$ac_ext <<_ACEOF
29378 /* end confdefs.h. */
29380 #include <gtk/gtk.h>
29386 #if !GTK_CHECK_VERSION(2,10,0)
29394 rm -f conftest.$ac_objext
29395 if { (ac_try="$ac_compile"
29396 case "(($ac_try" in
29397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29398 *) ac_try_echo=$ac_try;;
29400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29401 (eval "$ac_compile") 2>conftest.er1
29403 grep -v '^
*+' conftest.er1 >conftest.err
29405 cat conftest.err >&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); } && {
29408 test -z "$ac_c_werror_flag" ||
29409 test ! -s conftest.err
29410 } && test -s conftest.$ac_objext; then
29412 cat >>confdefs.h <<\_ACEOF
29413 #define __WXGTK210__ 1
29416 cat >>confdefs.h <<\_ACEOF
29417 #define __WXGTK26__ 1
29420 { echo "$as_me:$LINENO: result: yes" >&5
29421 echo "${ECHO_T}yes" >&6; }
29425 echo "$as_me: failed program was:" >&5
29426 sed 's
/^
/| /' conftest.$ac_ext >&5
29429 { echo "$as_me:$LINENO: result: no" >&5
29430 echo "${ECHO_T}no" >&6; }
29435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29437 if test "$ac_wxgtk210" = 0; then
29438 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29439 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29440 cat >conftest.$ac_ext <<_ACEOF
29443 cat confdefs.h >>conftest.$ac_ext
29444 cat >>conftest.$ac_ext <<_ACEOF
29445 /* end confdefs.h. */
29447 #include <gtk/gtk.h>
29453 #if !GTK_CHECK_VERSION(2,6,0)
29461 rm -f conftest.$ac_objext
29462 if { (ac_try="$ac_compile"
29463 case "(($ac_try" in
29464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29465 *) ac_try_echo=$ac_try;;
29467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29468 (eval "$ac_compile") 2>conftest.er1
29470 grep -v '^
*+' conftest.er1 >conftest.err
29472 cat conftest.err >&5
29473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29474 (exit $ac_status); } && {
29475 test -z "$ac_c_werror_flag" ||
29476 test ! -s conftest.err
29477 } && test -s conftest.$ac_objext; then
29479 cat >>confdefs.h <<\_ACEOF
29480 #define __WXGTK26__ 1
29483 { echo "$as_me:$LINENO: result: yes" >&5
29484 echo "${ECHO_T}yes" >&6; }
29488 echo "$as_me: failed program was:" >&5
29489 sed 's
/^
/| /' conftest.$ac_ext >&5
29492 { echo "$as_me:$LINENO: result: no" >&5
29493 echo "${ECHO_T}no" >&6; }
29498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29501 CFLAGS="$save_CFLAGS"
29504 if test "$wxUSE_UNICODE" = "yes"; then
29505 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29506 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29510 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29511 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29512 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29513 echo $ECHO_N "(cached) $ECHO_C" >&6
29515 ac_check_lib_save_LIBS=$LIBS
29517 cat >conftest.$ac_ext <<_ACEOF
29520 cat confdefs.h >>conftest.$ac_ext
29521 cat >>conftest.$ac_ext <<_ACEOF
29522 /* end confdefs.h. */
29524 /* Override any GCC internal prototype to avoid an error.
29525 Use char because int might match the return type of a GCC
29526 builtin and then its argument prototype would still apply. */
29530 char gdk_im_open ();
29534 return gdk_im_open ();
29539 rm -f conftest.$ac_objext conftest$ac_exeext
29540 if { (ac_try="$ac_link"
29541 case "(($ac_try" in
29542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29543 *) ac_try_echo=$ac_try;;
29545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29546 (eval "$ac_link") 2>conftest.er1
29548 grep -v '^
*+' conftest.er1 >conftest.err
29550 cat conftest.err >&5
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); } && {
29553 test -z "$ac_c_werror_flag" ||
29554 test ! -s conftest.err
29555 } && test -s conftest$ac_exeext &&
29556 $as_test_x conftest$ac_exeext; then
29557 ac_cv_lib_gdk_gdk_im_open=yes
29559 echo "$as_me: failed program was:" >&5
29560 sed 's
/^
/| /' conftest.$ac_ext >&5
29562 ac_cv_lib_gdk_gdk_im_open=no
29565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29566 conftest$ac_exeext conftest.$ac_ext
29567 LIBS=$ac_check_lib_save_LIBS
29569 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29570 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29571 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29572 cat >>confdefs.h <<\_ACEOF
29579 if test "$USE_DARWIN" != 1; then
29581 for ac_func in poll
29583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29584 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29587 echo $ECHO_N "(cached) $ECHO_C" >&6
29589 cat >conftest.$ac_ext <<_ACEOF
29592 cat confdefs.h >>conftest.$ac_ext
29593 cat >>conftest.$ac_ext <<_ACEOF
29594 /* end confdefs.h. */
29595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29597 #define $ac_func innocuous_$ac_func
29599 /* System header to define __stub macros and hopefully few prototypes,
29600 which can conflict with char $ac_func (); below.
29601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29602 <limits.h> exists even on freestanding compilers. */
29605 # include <limits.h>
29607 # include <assert.h>
29612 /* Override any GCC internal prototype to avoid an error.
29613 Use char because int might match the return type of a GCC
29614 builtin and then its argument prototype would still apply. */
29619 /* The GNU C library defines this for functions which it implements
29620 to always fail with ENOSYS. Some functions are actually named
29621 something starting with __ and the normal name is an alias. */
29622 #if defined __stub_$ac_func || defined __stub___$ac_func
29629 return $ac_func ();
29634 rm -f conftest.$ac_objext conftest$ac_exeext
29635 if { (ac_try="$ac_link"
29636 case "(($ac_try" in
29637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29638 *) ac_try_echo=$ac_try;;
29640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29641 (eval "$ac_link") 2>conftest.er1
29643 grep -v '^
*+' conftest.er1 >conftest.err
29645 cat conftest.err >&5
29646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 (exit $ac_status); } && {
29648 test -z "$ac_c_werror_flag" ||
29649 test ! -s conftest.err
29650 } && test -s conftest$ac_exeext &&
29651 $as_test_x conftest$ac_exeext; then
29652 eval "$as_ac_var=yes"
29654 echo "$as_me: failed program was:" >&5
29655 sed 's
/^
/| /' conftest.$ac_ext >&5
29657 eval "$as_ac_var=no"
29660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29661 conftest$ac_exeext conftest.$ac_ext
29663 ac_res=`eval echo '${'$as_ac_var'}'`
29664 { echo "$as_me:$LINENO: result: $ac_res" >&5
29665 echo "${ECHO_T}$ac_res" >&6; }
29666 if test `eval echo '${'$as_ac_var'}'` = yes; then
29667 cat >>confdefs.h <<_ACEOF
29668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29677 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29678 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29680 AFMINSTALL=afminstall
29684 if test "$wxUSE_GPE" = "yes"; then
29685 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29686 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29689 for ac_dir in $SEARCH_LIB;
29691 for ac_extension in a so sl dylib dll.a; do
29692 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29693 ac_find_libraries=$ac_dir
29699 if test "$ac_find_libraries" != "" ; then
29701 if test "$ac_find_libraries" = "default location"; then
29704 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29706 if test $result = 0; then
29709 ac_path_to_link=" -L$ac_find_libraries"
29713 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29715 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29716 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29718 { echo "$as_me:$LINENO: result: not found" >&5
29719 echo "${ECHO_T}not found" >&6; }
29725 if test "$wxUSE_MGL" = 1; then
29726 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29727 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29728 if test "x$MGL_ROOT" = x ; then
29729 { echo "$as_me:$LINENO: result: not found" >&5
29730 echo "${ECHO_T}not found" >&6; }
29731 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29732 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29733 { (exit 1); exit 1; }; }
29735 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29736 echo "${ECHO_T}$MGL_ROOT" >&6; }
29739 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29740 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29743 if test "x$wxUSE_SHARED" = xyes ; then
29744 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29746 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29750 mgl_os_candidates="dos32/dj2"
29753 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29754 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29755 { (exit 1); exit 1; }; }
29761 for mgl_os_i in $mgl_os_candidates ; do
29762 if test "x$mgl_os" = x ; then
29763 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29764 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29765 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29770 if test "x$mgl_lib_type" = x ; then
29771 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29772 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29773 mgl_lib_type=release
29780 if test "x$mgl_os" = x ; then
29781 { echo "$as_me:$LINENO: result: not found" >&5
29782 echo "${ECHO_T}not found" >&6; }
29783 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29784 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29785 { (exit 1); exit 1; }; }
29787 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29788 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29790 wxUSE_UNIVERSAL="yes"
29792 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29793 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29795 AFMINSTALL=afminstall
29800 if test "$wxUSE_DFB" = 1; then
29803 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29804 if test -n "$ac_tool_prefix"; then
29805 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29806 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29809 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29810 echo $ECHO_N "(cached) $ECHO_C" >&6
29812 case $PKG_CONFIG in
29814 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29818 for as_dir in $PATH
29821 test -z "$as_dir" && as_dir=.
29822 for ac_exec_ext in '' $ac_executable_extensions; do
29823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29824 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29835 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29836 if test -n "$PKG_CONFIG"; then
29837 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29838 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29840 { echo "$as_me:$LINENO: result: no" >&5
29841 echo "${ECHO_T}no" >&6; }
29846 if test -z "$ac_cv_path_PKG_CONFIG"; then
29847 ac_pt_PKG_CONFIG=$PKG_CONFIG
29848 # Extract the first word of "pkg-config", so it can be a program name with args.
29849 set dummy pkg-config; ac_word=$2
29850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29852 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29853 echo $ECHO_N "(cached) $ECHO_C" >&6
29855 case $ac_pt_PKG_CONFIG in
29857 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29861 for as_dir in $PATH
29864 test -z "$as_dir" && as_dir=.
29865 for ac_exec_ext in '' $ac_executable_extensions; do
29866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29867 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29878 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29879 if test -n "$ac_pt_PKG_CONFIG"; then
29880 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29881 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29883 { echo "$as_me:$LINENO: result: no" >&5
29884 echo "${ECHO_T}no" >&6; }
29887 if test "x$ac_pt_PKG_CONFIG" = x; then
29890 case $cross_compiling:$ac_tool_warned in
29892 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29893 whose name does not start with the host triplet. If you think this
29894 configuration is useful to you, please write to autoconf@gnu.org." >&5
29895 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29896 whose name does not start with the host triplet. If you think this
29897 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29898 ac_tool_warned=yes ;;
29900 PKG_CONFIG=$ac_pt_PKG_CONFIG
29903 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29907 if test -n "$PKG_CONFIG"; then
29908 _pkg_min_version=0.9.0
29909 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29910 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29911 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29912 { echo "$as_me:$LINENO: result: yes" >&5
29913 echo "${ECHO_T}yes" >&6; }
29915 { echo "$as_me:$LINENO: result: no" >&5
29916 echo "${ECHO_T}no" >&6; }
29924 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29925 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29927 if test -n "$PKG_CONFIG"; then
29928 if test -n "$DIRECTFB_CFLAGS"; then
29929 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29931 if test -n "$PKG_CONFIG" && \
29932 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29933 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29936 (exit $ac_status); }; then
29937 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29945 if test -n "$PKG_CONFIG"; then
29946 if test -n "$DIRECTFB_LIBS"; then
29947 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29949 if test -n "$PKG_CONFIG" && \
29950 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29951 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); }; then
29955 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29966 if test $pkg_failed = yes; then
29968 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29969 _pkg_short_errors_supported=yes
29971 _pkg_short_errors_supported=no
29973 if test $_pkg_short_errors_supported = yes; then
29974 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29976 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29978 # Put the nasty error message in config.log where it belongs
29979 echo "$DIRECTFB_PKG_ERRORS" >&5
29982 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29983 echo "$as_me: error: DirectFB not found." >&2;}
29984 { (exit 1); exit 1; }; }
29987 elif test $pkg_failed = untried; then
29989 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29990 echo "$as_me: error: DirectFB not found." >&2;}
29991 { (exit 1); exit 1; }; }
29995 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29996 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29997 { echo "$as_me:$LINENO: result: yes" >&5
29998 echo "${ECHO_T}yes" >&6; }
30000 wxUSE_UNIVERSAL="yes"
30001 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30002 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30009 if test "$wxUSE_MICROWIN" = 1; then
30010 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30011 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30012 if test "x$MICROWINDOWS" = x ; then
30013 { echo "$as_me:$LINENO: result: not found" >&5
30014 echo "${ECHO_T}not found" >&6; }
30015 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30016 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30017 { (exit 1); exit 1; }; }
30019 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30020 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30023 if test -f $MICROWINDOWS/lib/libmwin.a; then
30024 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30025 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30027 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30028 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30029 { (exit 1); exit 1; }; }
30032 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30033 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30035 wxUSE_UNIVERSAL="yes"
30037 AFMINSTALL=afminstall
30039 GUIDIST=MICROWIN_DIST
30041 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30044 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30045 { echo "$as_me:$LINENO: checking for X" >&5
30046 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30049 # Check whether --with-x was given.
30050 if test "${with_x+set}" = set; then
30054 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30055 if test "x$with_x" = xno; then
30056 # The user explicitly disabled X.
30059 case $x_includes,$x_libraries in #(
30060 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30061 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30062 { (exit 1); exit 1; }; };; #(
30063 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30064 echo $ECHO_N "(cached) $ECHO_C" >&6
30066 # One or both of the vars are not set, and there is no cached value.
30067 ac_x_includes=no ac_x_libraries=no
30068 rm -f -r conftest.dir
30069 if mkdir conftest.dir; then
30071 cat >Imakefile <<'_ACEOF'
30073 @echo incroot='${INCROOT}'
30075 @echo usrlibdir='${USRLIBDIR}'
30077 @echo libdir='${LIBDIR}'
30079 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30080 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30081 for ac_var in incroot usrlibdir libdir; do
30082 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30084 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30085 for ac_extension in a so sl; do
30086 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30087 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30088 ac_im_usrlibdir=$ac_im_libdir; break
30091 # Screen out bogus values from the imake configuration. They are
30092 # bogus both because they are the default anyway, and because
30093 # using them would break gcc on systems where it needs fixed includes.
30094 case $ac_im_incroot in
30095 /usr/include) ac_x_includes= ;;
30096 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30098 case $ac_im_usrlibdir in
30099 /usr/lib | /lib) ;;
30100 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30104 rm -f -r conftest.dir
30107 # Standard set of common directories for X headers.
30108 # Check X11 before X11Rn because it is often a symlink to the current release.
30120 /usr
/local
/X
11/include
30121 /usr
/local
/X
11R
6/include
30122 /usr
/local
/X
11R
5/include
30123 /usr
/local
/X
11R
4/include
30125 /usr
/local
/include
/X11
30126 /usr
/local
/include
/X11R6
30127 /usr
/local
/include
/X11R5
30128 /usr
/local
/include
/X11R4
30132 /usr
/XFree
86/include
/X11
30136 /usr
/unsupported
/include
30137 /usr
/athena
/include
30138 /usr
/local
/x
11r
5/include
30139 /usr
/lpp
/Xamples
/include
30141 /usr
/openwin
/include
30142 /usr
/openwin
/share
/include
'
30144 if test "$ac_x_includes" = no; then
30145 # Guess where to find include files, by looking for Xlib.h.
30146 # First, try using that file with no special directory specified.
30147 cat >conftest.$ac_ext <<_ACEOF
30150 cat confdefs.h >>conftest.$ac_ext
30151 cat >>conftest.$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 #include <X11/Xlib.h>
30155 if { (ac_try="$ac_cpp conftest.$ac_ext"
30156 case "(($ac_try" in
30157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30158 *) ac_try_echo=$ac_try;;
30160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30163 grep -v '^
*+' conftest.er1 >conftest.err
30165 cat conftest.err >&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); } >/dev/null && {
30168 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30169 test ! -s conftest.err
30171 # We can compile using X headers with no special include directory.
30174 echo "$as_me: failed program was:" >&5
30175 sed 's
/^
/| /' conftest.$ac_ext >&5
30177 for ac_dir in $ac_x_header_dirs; do
30178 if test -r "$ac_dir/X11/Xlib.h"; then
30179 ac_x_includes=$ac_dir
30185 rm -f conftest.err conftest.$ac_ext
30186 fi # $ac_x_includes = no
30188 if test "$ac_x_libraries" = no; then
30189 # Check for the libraries.
30190 # See if we find them without any special options.
30191 # Don't add to
$LIBS permanently.
30194 cat >conftest.
$ac_ext <<_ACEOF
30197 cat confdefs.h
>>conftest.
$ac_ext
30198 cat >>conftest.
$ac_ext <<_ACEOF
30199 /* end confdefs.h. */
30200 #include <X11/Xlib.h>
30209 rm -f conftest.
$ac_objext conftest
$ac_exeext
30210 if { (ac_try
="$ac_link"
30211 case "(($ac_try" in
30212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30213 *) ac_try_echo=$ac_try;;
30215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30216 (eval "$ac_link") 2>conftest.er1
30218 grep -v '^ *+' conftest.er1 >conftest.err
30220 cat conftest.err >&5
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); } && {
30223 test -z "$ac_c_werror_flag" ||
30224 test ! -s conftest.err
30225 } && test -s conftest$ac_exeext &&
30226 $as_test_x conftest$ac_exeext; then
30228 # We can link X programs with no special library path.
30231 echo "$as_me: failed program was:" >&5
30232 sed 's/^/| /' conftest.$ac_ext >&5
30235 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30237 # Don't even attempt the hair of trying to link an X program!
30238 for ac_extension in a so sl; do
30239 if test -r "$ac_dir/libX11.$ac_extension"; then
30240 ac_x_libraries=$ac_dir
30247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30248 conftest$ac_exeext conftest.$ac_ext
30249 fi # $ac_x_libraries = no
30251 case $ac_x_includes,$ac_x_libraries in #(
30252 no,* | *,no | *\'*)
30253 # Didn't find X, or a directory has "'" in its name.
30254 ac_cv_have_x="have_x=no";; #(
30256 # Record where we found X for the cache.
30257 ac_cv_have_x="have_x=yes\
30258 ac_x_includes='$ac_x_includes'\
30259 ac_x_libraries='$ac_x_libraries'"
30265 eval "$ac_cv_have_x"
30268 if test "$have_x" != yes; then
30269 { echo "$as_me:$LINENO: result: $have_x" >&5
30270 echo "${ECHO_T}$have_x" >&6; }
30273 # If each of the values was on the command line, it overrides each guess.
30274 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30275 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30276 # Update the cache value to reflect the command line values.
30277 ac_cv_have_x="have_x=yes\
30278 ac_x_includes='$x_includes'\
30279 ac_x_libraries='$x_libraries'"
30280 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30281 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30284 if test "$no_x" = yes; then
30285 # Not all programs may use this symbol, but it does not hurt to define it.
30287 cat >>confdefs.h <<\_ACEOF
30288 #define X_DISPLAY_MISSING 1
30291 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30293 if test -n "$x_includes"; then
30294 X_CFLAGS="$X_CFLAGS -I$x_includes"
30297 # It would also be nice to do this for all -L options, not just this one.
30298 if test -n "$x_libraries"; then
30299 X_LIBS="$X_LIBS -L$x_libraries"
30300 # For Solaris; some versions of Sun CC require a space after -R and
30301 # others require no space. Words are not sufficient . . . .
30302 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30303 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30304 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30305 ac_xsave_c_werror_flag=$ac_c_werror_flag
30306 ac_c_werror_flag=yes
30307 cat >conftest.$ac_ext <<_ACEOF
30310 cat confdefs.h >>conftest.$ac_ext
30311 cat >>conftest.$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30322 rm -f conftest.$ac_objext conftest$ac_exeext
30323 if { (ac_try="$ac_link"
30324 case "(($ac_try" in
30325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30326 *) ac_try_echo
=$ac_try;;
30328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30329 (eval "$ac_link") 2>conftest.er1
30331 grep -v '^ *+' conftest.er1
>conftest.err
30333 cat conftest.err
>&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); } && {
30336 test -z "$ac_c_werror_flag" ||
30337 test ! -s conftest.err
30338 } && test -s conftest
$ac_exeext &&
30339 $as_test_x conftest
$ac_exeext; then
30340 { echo "$as_me:$LINENO: result: no" >&5
30341 echo "${ECHO_T}no" >&6; }
30342 X_LIBS
="$X_LIBS -R$x_libraries"
30344 echo "$as_me: failed program was:" >&5
30345 sed 's/^/| /' conftest.
$ac_ext >&5
30347 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30348 cat >conftest.
$ac_ext <<_ACEOF
30351 cat confdefs.h
>>conftest.
$ac_ext
30352 cat >>conftest.
$ac_ext <<_ACEOF
30353 /* end confdefs.h. */
30363 rm -f conftest.
$ac_objext conftest
$ac_exeext
30364 if { (ac_try
="$ac_link"
30365 case "(($ac_try" in
30366 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30367 *) ac_try_echo=$ac_try;;
30369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30370 (eval "$ac_link") 2>conftest.er1
30372 grep -v '^ *+' conftest.er1 >conftest.err
30374 cat conftest.err >&5
30375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 (exit $ac_status); } && {
30377 test -z "$ac_c_werror_flag" ||
30378 test ! -s conftest.err
30379 } && test -s conftest$ac_exeext &&
30380 $as_test_x conftest$ac_exeext; then
30381 { echo "$as_me:$LINENO: result: yes" >&5
30382 echo "${ECHO_T}yes" >&6; }
30383 X_LIBS="$X_LIBS -R $x_libraries"
30385 echo "$as_me: failed program was:" >&5
30386 sed 's/^/| /' conftest.$ac_ext >&5
30388 { echo "$as_me:$LINENO: result: neither works" >&5
30389 echo "${ECHO_T}neither works" >&6; }
30392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30393 conftest$ac_exeext conftest.$ac_ext
30396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30397 conftest$ac_exeext conftest.$ac_ext
30398 ac_c_werror_flag=$ac_xsave_c_werror_flag
30399 LIBS=$ac_xsave_LIBS
30402 # Check for system-dependent libraries X programs must link with.
30403 # Do this before checking for the system-independent R6 libraries
30404 # (-lICE), since we may need -lsocket or whatever for X linking.
30406 if test "$ISC" = yes; then
30407 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30409 # Martyn Johnson says this is needed for Ultrix, if the X
30410 # libraries were built with DECnet support. And Karl Berry says
30411 # the Alpha needs dnet_stub (dnet does not exist).
30412 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30413 cat >conftest.$ac_ext <<_ACEOF
30416 cat confdefs.h >>conftest.$ac_ext
30417 cat >>conftest.$ac_ext <<_ACEOF
30418 /* end confdefs.h. */
30420 /* Override any GCC internal prototype to avoid an error.
30421 Use char because int might match the return type of a GCC
30422 builtin and then its argument prototype would still apply. */
30426 char XOpenDisplay ();
30430 return XOpenDisplay ();
30435 rm -f conftest.$ac_objext conftest$ac_exeext
30436 if { (ac_try="$ac_link"
30437 case "(($ac_try" in
30438 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30439 *) ac_try_echo
=$ac_try;;
30441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30442 (eval "$ac_link") 2>conftest.er1
30444 grep -v '^ *+' conftest.er1
>conftest.err
30446 cat conftest.err
>&5
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); } && {
30449 test -z "$ac_c_werror_flag" ||
30450 test ! -s conftest.err
30451 } && test -s conftest
$ac_exeext &&
30452 $as_test_x conftest
$ac_exeext; then
30455 echo "$as_me: failed program was:" >&5
30456 sed 's/^/| /' conftest.
$ac_ext >&5
30458 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30459 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30460 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30461 echo $ECHO_N "(cached) $ECHO_C" >&6
30463 ac_check_lib_save_LIBS
=$LIBS
30464 LIBS
="-ldnet $LIBS"
30465 cat >conftest.
$ac_ext <<_ACEOF
30468 cat confdefs.h
>>conftest.
$ac_ext
30469 cat >>conftest.
$ac_ext <<_ACEOF
30470 /* end confdefs.h. */
30472 /* Override any GCC internal prototype to avoid an error.
30473 Use char because int might match the return type of a GCC
30474 builtin and then its argument prototype would still apply. */
30482 return dnet_ntoa ();
30487 rm -f conftest.
$ac_objext conftest
$ac_exeext
30488 if { (ac_try
="$ac_link"
30489 case "(($ac_try" in
30490 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30491 *) ac_try_echo=$ac_try;;
30493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30494 (eval "$ac_link") 2>conftest.er1
30496 grep -v '^ *+' conftest.er1 >conftest.err
30498 cat conftest.err >&5
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); } && {
30501 test -z "$ac_c_werror_flag" ||
30502 test ! -s conftest.err
30503 } && test -s conftest$ac_exeext &&
30504 $as_test_x conftest$ac_exeext; then
30505 ac_cv_lib_dnet_dnet_ntoa=yes
30507 echo "$as_me: failed program was:" >&5
30508 sed 's/^/| /' conftest.$ac_ext >&5
30510 ac_cv_lib_dnet_dnet_ntoa=no
30513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30514 conftest$ac_exeext conftest.$ac_ext
30515 LIBS=$ac_check_lib_save_LIBS
30517 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30518 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30519 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30520 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30523 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30524 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30525 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30526 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30527 echo $ECHO_N "(cached) $ECHO_C" >&6
30529 ac_check_lib_save_LIBS=$LIBS
30530 LIBS="-ldnet_stub $LIBS"
30531 cat >conftest.$ac_ext <<_ACEOF
30534 cat confdefs.h >>conftest.$ac_ext
30535 cat >>conftest.$ac_ext <<_ACEOF
30536 /* end confdefs.h. */
30538 /* Override any GCC internal prototype to avoid an error.
30539 Use char because int might match the return type of a GCC
30540 builtin and then its argument prototype would still apply. */
30548 return dnet_ntoa ();
30553 rm -f conftest.$ac_objext conftest$ac_exeext
30554 if { (ac_try="$ac_link"
30555 case "(($ac_try" in
30556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30557 *) ac_try_echo
=$ac_try;;
30559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30560 (eval "$ac_link") 2>conftest.er1
30562 grep -v '^ *+' conftest.er1
>conftest.err
30564 cat conftest.err
>&5
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); } && {
30567 test -z "$ac_c_werror_flag" ||
30568 test ! -s conftest.err
30569 } && test -s conftest
$ac_exeext &&
30570 $as_test_x conftest
$ac_exeext; then
30571 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.
$ac_ext >&5
30576 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30579 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30580 conftest
$ac_exeext conftest.
$ac_ext
30581 LIBS
=$ac_check_lib_save_LIBS
30583 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30584 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30585 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30586 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30592 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30593 conftest
$ac_exeext conftest.
$ac_ext
30594 LIBS
="$ac_xsave_LIBS"
30596 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30597 # to get the SysV transport functions.
30598 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30600 # The nsl library prevents programs from opening the X display
30601 # on Irix 5.2, according to T.E. Dickey.
30602 # The functions gethostbyname, getservbyname, and inet_addr are
30603 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30604 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30605 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30606 if test "${ac_cv_func_gethostbyname+set}" = set; then
30607 echo $ECHO_N "(cached) $ECHO_C" >&6
30609 cat >conftest.
$ac_ext <<_ACEOF
30612 cat confdefs.h
>>conftest.
$ac_ext
30613 cat >>conftest.
$ac_ext <<_ACEOF
30614 /* end confdefs.h. */
30615 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30617 #define gethostbyname innocuous_gethostbyname
30619 /* System header to define __stub macros and hopefully few prototypes,
30620 which can conflict with char gethostbyname (); below.
30621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30622 <limits.h> exists even on freestanding compilers. */
30625 # include <limits.h>
30627 # include <assert.h>
30630 #undef gethostbyname
30632 /* Override any GCC internal prototype to avoid an error.
30633 Use char because int might match the return type of a GCC
30634 builtin and then its argument prototype would still apply. */
30638 char gethostbyname ();
30639 /* The GNU C library defines this for functions which it implements
30640 to always fail with ENOSYS. Some functions are actually named
30641 something starting with __ and the normal name is an alias. */
30642 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30649 return gethostbyname ();
30654 rm -f conftest.
$ac_objext conftest
$ac_exeext
30655 if { (ac_try
="$ac_link"
30656 case "(($ac_try" in
30657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30658 *) ac_try_echo=$ac_try;;
30660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30661 (eval "$ac_link") 2>conftest.er1
30663 grep -v '^ *+' conftest.er1 >conftest.err
30665 cat conftest.err >&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); } && {
30668 test -z "$ac_c_werror_flag" ||
30669 test ! -s conftest.err
30670 } && test -s conftest$ac_exeext &&
30671 $as_test_x conftest$ac_exeext; then
30672 ac_cv_func_gethostbyname=yes
30674 echo "$as_me: failed program was:" >&5
30675 sed 's/^/| /' conftest.$ac_ext >&5
30677 ac_cv_func_gethostbyname=no
30680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30681 conftest$ac_exeext conftest.$ac_ext
30683 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30684 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30686 if test $ac_cv_func_gethostbyname = no; then
30687 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30688 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30689 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30690 echo $ECHO_N "(cached) $ECHO_C" >&6
30692 ac_check_lib_save_LIBS=$LIBS
30694 cat >conftest.$ac_ext <<_ACEOF
30697 cat confdefs.h >>conftest.$ac_ext
30698 cat >>conftest.$ac_ext <<_ACEOF
30699 /* end confdefs.h. */
30701 /* Override any GCC internal prototype to avoid an error.
30702 Use char because int might match the return type of a GCC
30703 builtin and then its argument prototype would still apply. */
30707 char gethostbyname ();
30711 return gethostbyname ();
30716 rm -f conftest.$ac_objext conftest$ac_exeext
30717 if { (ac_try="$ac_link"
30718 case "(($ac_try" in
30719 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30720 *) ac_try_echo
=$ac_try;;
30722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30723 (eval "$ac_link") 2>conftest.er1
30725 grep -v '^ *+' conftest.er1
>conftest.err
30727 cat conftest.err
>&5
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); } && {
30730 test -z "$ac_c_werror_flag" ||
30731 test ! -s conftest.err
30732 } && test -s conftest
$ac_exeext &&
30733 $as_test_x conftest
$ac_exeext; then
30734 ac_cv_lib_nsl_gethostbyname
=yes
30736 echo "$as_me: failed program was:" >&5
30737 sed 's/^/| /' conftest.
$ac_ext >&5
30739 ac_cv_lib_nsl_gethostbyname
=no
30742 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30743 conftest
$ac_exeext conftest.
$ac_ext
30744 LIBS
=$ac_check_lib_save_LIBS
30746 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30747 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30748 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30749 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30752 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30753 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30754 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30755 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30756 echo $ECHO_N "(cached) $ECHO_C" >&6
30758 ac_check_lib_save_LIBS
=$LIBS
30760 cat >conftest.
$ac_ext <<_ACEOF
30763 cat confdefs.h
>>conftest.
$ac_ext
30764 cat >>conftest.
$ac_ext <<_ACEOF
30765 /* end confdefs.h. */
30767 /* Override any GCC internal prototype to avoid an error.
30768 Use char because int might match the return type of a GCC
30769 builtin and then its argument prototype would still apply. */
30773 char gethostbyname ();
30777 return gethostbyname ();
30782 rm -f conftest.
$ac_objext conftest
$ac_exeext
30783 if { (ac_try
="$ac_link"
30784 case "(($ac_try" in
30785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30786 *) ac_try_echo=$ac_try;;
30788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30789 (eval "$ac_link") 2>conftest.er1
30791 grep -v '^ *+' conftest.er1 >conftest.err
30793 cat conftest.err >&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } && {
30796 test -z "$ac_c_werror_flag" ||
30797 test ! -s conftest.err
30798 } && test -s conftest$ac_exeext &&
30799 $as_test_x conftest$ac_exeext; then
30800 ac_cv_lib_bsd_gethostbyname=yes
30802 echo "$as_me: failed program was:" >&5
30803 sed 's/^/| /' conftest.$ac_ext >&5
30805 ac_cv_lib_bsd_gethostbyname=no
30808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30809 conftest$ac_exeext conftest.$ac_ext
30810 LIBS=$ac_check_lib_save_LIBS
30812 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30813 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30814 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30815 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30821 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30822 # socket/setsockopt and other routines are undefined under SCO ODT
30823 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30824 # on later versions), says Simon Leinen: it contains gethostby*
30825 # variants that don't use the name server (or something). -lsocket
30826 # must be given before -lnsl if both are needed. We assume that
30827 # if connect needs -lnsl, so does gethostbyname.
30828 { echo "$as_me:$LINENO: checking for connect" >&5
30829 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30830 if test "${ac_cv_func_connect+set}" = set; then
30831 echo $ECHO_N "(cached) $ECHO_C" >&6
30833 cat >conftest.$ac_ext <<_ACEOF
30836 cat confdefs.h >>conftest.$ac_ext
30837 cat >>conftest.$ac_ext <<_ACEOF
30838 /* end confdefs.h. */
30839 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30841 #define connect innocuous_connect
30843 /* System header to define __stub macros and hopefully few prototypes,
30844 which can conflict with char connect (); below.
30845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30846 <limits.h> exists even on freestanding compilers. */
30849 # include <limits.h>
30851 # include <assert.h>
30856 /* Override any GCC internal prototype to avoid an error.
30857 Use char because int might match the return type of a GCC
30858 builtin and then its argument prototype would still apply. */
30863 /* The GNU C library defines this for functions which it implements
30864 to always fail with ENOSYS. Some functions are actually named
30865 something starting with __ and the normal name is an alias. */
30866 #if defined __stub_connect || defined __stub___connect
30878 rm -f conftest.$ac_objext conftest$ac_exeext
30879 if { (ac_try="$ac_link"
30880 case "(($ac_try" in
30881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30882 *) ac_try_echo
=$ac_try;;
30884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30885 (eval "$ac_link") 2>conftest.er1
30887 grep -v '^ *+' conftest.er1
>conftest.err
30889 cat conftest.err
>&5
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); } && {
30892 test -z "$ac_c_werror_flag" ||
30893 test ! -s conftest.err
30894 } && test -s conftest
$ac_exeext &&
30895 $as_test_x conftest
$ac_exeext; then
30896 ac_cv_func_connect
=yes
30898 echo "$as_me: failed program was:" >&5
30899 sed 's/^/| /' conftest.
$ac_ext >&5
30901 ac_cv_func_connect
=no
30904 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30905 conftest
$ac_exeext conftest.
$ac_ext
30907 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30908 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30910 if test $ac_cv_func_connect = no
; then
30911 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30912 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30913 if test "${ac_cv_lib_socket_connect+set}" = set; then
30914 echo $ECHO_N "(cached) $ECHO_C" >&6
30916 ac_check_lib_save_LIBS
=$LIBS
30917 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30918 cat >conftest.
$ac_ext <<_ACEOF
30921 cat confdefs.h
>>conftest.
$ac_ext
30922 cat >>conftest.
$ac_ext <<_ACEOF
30923 /* end confdefs.h. */
30925 /* Override any GCC internal prototype to avoid an error.
30926 Use char because int might match the return type of a GCC
30927 builtin and then its argument prototype would still apply. */
30940 rm -f conftest.
$ac_objext conftest
$ac_exeext
30941 if { (ac_try
="$ac_link"
30942 case "(($ac_try" in
30943 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30944 *) ac_try_echo=$ac_try;;
30946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30947 (eval "$ac_link") 2>conftest.er1
30949 grep -v '^ *+' conftest.er1 >conftest.err
30951 cat conftest.err >&5
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); } && {
30954 test -z "$ac_c_werror_flag" ||
30955 test ! -s conftest.err
30956 } && test -s conftest$ac_exeext &&
30957 $as_test_x conftest$ac_exeext; then
30958 ac_cv_lib_socket_connect=yes
30960 echo "$as_me: failed program was:" >&5
30961 sed 's/^/| /' conftest.$ac_ext >&5
30963 ac_cv_lib_socket_connect=no
30966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30967 conftest$ac_exeext conftest.$ac_ext
30968 LIBS=$ac_check_lib_save_LIBS
30970 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30971 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30972 if test $ac_cv_lib_socket_connect = yes; then
30973 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30978 # Guillermo Gomez says -lposix is necessary on A/UX.
30979 { echo "$as_me:$LINENO: checking for remove" >&5
30980 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30981 if test "${ac_cv_func_remove+set}" = set; then
30982 echo $ECHO_N "(cached) $ECHO_C" >&6
30984 cat >conftest.$ac_ext <<_ACEOF
30987 cat confdefs.h >>conftest.$ac_ext
30988 cat >>conftest.$ac_ext <<_ACEOF
30989 /* end confdefs.h. */
30990 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30992 #define remove innocuous_remove
30994 /* System header to define __stub macros and hopefully few prototypes,
30995 which can conflict with char remove (); below.
30996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30997 <limits.h> exists even on freestanding compilers. */
31000 # include <limits.h>
31002 # include <assert.h>
31007 /* Override any GCC internal prototype to avoid an error.
31008 Use char because int might match the return type of a GCC
31009 builtin and then its argument prototype would still apply. */
31014 /* The GNU C library defines this for functions which it implements
31015 to always fail with ENOSYS. Some functions are actually named
31016 something starting with __ and the normal name is an alias. */
31017 #if defined __stub_remove || defined __stub___remove
31029 rm -f conftest.$ac_objext conftest$ac_exeext
31030 if { (ac_try="$ac_link"
31031 case "(($ac_try" in
31032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31033 *) ac_try_echo
=$ac_try;;
31035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31036 (eval "$ac_link") 2>conftest.er1
31038 grep -v '^ *+' conftest.er1
>conftest.err
31040 cat conftest.err
>&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } && {
31043 test -z "$ac_c_werror_flag" ||
31044 test ! -s conftest.err
31045 } && test -s conftest
$ac_exeext &&
31046 $as_test_x conftest
$ac_exeext; then
31047 ac_cv_func_remove
=yes
31049 echo "$as_me: failed program was:" >&5
31050 sed 's/^/| /' conftest.
$ac_ext >&5
31052 ac_cv_func_remove
=no
31055 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31056 conftest
$ac_exeext conftest.
$ac_ext
31058 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31059 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31061 if test $ac_cv_func_remove = no
; then
31062 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31063 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31064 if test "${ac_cv_lib_posix_remove+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 ac_check_lib_save_LIBS
=$LIBS
31068 LIBS
="-lposix $LIBS"
31069 cat >conftest.
$ac_ext <<_ACEOF
31072 cat confdefs.h
>>conftest.
$ac_ext
31073 cat >>conftest.
$ac_ext <<_ACEOF
31074 /* end confdefs.h. */
31076 /* Override any GCC internal prototype to avoid an error.
31077 Use char because int might match the return type of a GCC
31078 builtin and then its argument prototype would still apply. */
31091 rm -f conftest.
$ac_objext conftest
$ac_exeext
31092 if { (ac_try
="$ac_link"
31093 case "(($ac_try" in
31094 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31095 *) ac_try_echo=$ac_try;;
31097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31098 (eval "$ac_link") 2>conftest.er1
31100 grep -v '^ *+' conftest.er1 >conftest.err
31102 cat conftest.err >&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } && {
31105 test -z "$ac_c_werror_flag" ||
31106 test ! -s conftest.err
31107 } && test -s conftest$ac_exeext &&
31108 $as_test_x conftest$ac_exeext; then
31109 ac_cv_lib_posix_remove=yes
31111 echo "$as_me: failed program was:" >&5
31112 sed 's/^/| /' conftest.$ac_ext >&5
31114 ac_cv_lib_posix_remove=no
31117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31118 conftest$ac_exeext conftest.$ac_ext
31119 LIBS=$ac_check_lib_save_LIBS
31121 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31122 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31123 if test $ac_cv_lib_posix_remove = yes; then
31124 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31129 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31130 { echo "$as_me:$LINENO: checking for shmat" >&5
31131 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31132 if test "${ac_cv_func_shmat+set}" = set; then
31133 echo $ECHO_N "(cached) $ECHO_C" >&6
31135 cat >conftest.$ac_ext <<_ACEOF
31138 cat confdefs.h >>conftest.$ac_ext
31139 cat >>conftest.$ac_ext <<_ACEOF
31140 /* end confdefs.h. */
31141 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31143 #define shmat innocuous_shmat
31145 /* System header to define __stub macros and hopefully few prototypes,
31146 which can conflict with char shmat (); below.
31147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31148 <limits.h> exists even on freestanding compilers. */
31151 # include <limits.h>
31153 # include <assert.h>
31158 /* Override any GCC internal prototype to avoid an error.
31159 Use char because int might match the return type of a GCC
31160 builtin and then its argument prototype would still apply. */
31165 /* The GNU C library defines this for functions which it implements
31166 to always fail with ENOSYS. Some functions are actually named
31167 something starting with __ and the normal name is an alias. */
31168 #if defined __stub_shmat || defined __stub___shmat
31180 rm -f conftest.$ac_objext conftest$ac_exeext
31181 if { (ac_try="$ac_link"
31182 case "(($ac_try" in
31183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31184 *) ac_try_echo
=$ac_try;;
31186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31187 (eval "$ac_link") 2>conftest.er1
31189 grep -v '^ *+' conftest.er1
>conftest.err
31191 cat conftest.err
>&5
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); } && {
31194 test -z "$ac_c_werror_flag" ||
31195 test ! -s conftest.err
31196 } && test -s conftest
$ac_exeext &&
31197 $as_test_x conftest
$ac_exeext; then
31198 ac_cv_func_shmat
=yes
31200 echo "$as_me: failed program was:" >&5
31201 sed 's/^/| /' conftest.
$ac_ext >&5
31203 ac_cv_func_shmat
=no
31206 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31207 conftest
$ac_exeext conftest.
$ac_ext
31209 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31210 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31212 if test $ac_cv_func_shmat = no
; then
31213 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31214 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31215 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31216 echo $ECHO_N "(cached) $ECHO_C" >&6
31218 ac_check_lib_save_LIBS
=$LIBS
31220 cat >conftest.
$ac_ext <<_ACEOF
31223 cat confdefs.h
>>conftest.
$ac_ext
31224 cat >>conftest.
$ac_ext <<_ACEOF
31225 /* end confdefs.h. */
31227 /* Override any GCC internal prototype to avoid an error.
31228 Use char because int might match the return type of a GCC
31229 builtin and then its argument prototype would still apply. */
31242 rm -f conftest.
$ac_objext conftest
$ac_exeext
31243 if { (ac_try
="$ac_link"
31244 case "(($ac_try" in
31245 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31246 *) ac_try_echo=$ac_try;;
31248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31249 (eval "$ac_link") 2>conftest.er1
31251 grep -v '^ *+' conftest.er1 >conftest.err
31253 cat conftest.err >&5
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); } && {
31256 test -z "$ac_c_werror_flag" ||
31257 test ! -s conftest.err
31258 } && test -s conftest$ac_exeext &&
31259 $as_test_x conftest$ac_exeext; then
31260 ac_cv_lib_ipc_shmat=yes
31262 echo "$as_me: failed program was:" >&5
31263 sed 's/^/| /' conftest.$ac_ext >&5
31265 ac_cv_lib_ipc_shmat=no
31268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31269 conftest$ac_exeext conftest.$ac_ext
31270 LIBS=$ac_check_lib_save_LIBS
31272 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31273 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31274 if test $ac_cv_lib_ipc_shmat = yes; then
31275 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31281 # Check for libraries that X11R6 Xt/Xaw programs need.
31282 ac_save_LDFLAGS=$LDFLAGS
31283 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31284 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31285 # check for ICE first), but we must link in the order -lSM -lICE or
31286 # we get undefined symbols. So assume we have SM if we have ICE.
31287 # These have to be linked with before -lX11, unlike the other
31288 # libraries we check for below, so use a different variable.
31289 # John Interrante, Karl Berry
31290 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31291 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31292 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31293 echo $ECHO_N "(cached) $ECHO_C" >&6
31295 ac_check_lib_save_LIBS=$LIBS
31296 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31297 cat >conftest.$ac_ext <<_ACEOF
31300 cat confdefs.h >>conftest.$ac_ext
31301 cat >>conftest.$ac_ext <<_ACEOF
31302 /* end confdefs.h. */
31304 /* Override any GCC internal prototype to avoid an error.
31305 Use char because int might match the return type of a GCC
31306 builtin and then its argument prototype would still apply. */
31310 char IceConnectionNumber ();
31314 return IceConnectionNumber ();
31319 rm -f conftest.$ac_objext conftest$ac_exeext
31320 if { (ac_try="$ac_link"
31321 case "(($ac_try" in
31322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31323 *) ac_try_echo
=$ac_try;;
31325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31326 (eval "$ac_link") 2>conftest.er1
31328 grep -v '^ *+' conftest.er1
>conftest.err
31330 cat conftest.err
>&5
31331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31332 (exit $ac_status); } && {
31333 test -z "$ac_c_werror_flag" ||
31334 test ! -s conftest.err
31335 } && test -s conftest
$ac_exeext &&
31336 $as_test_x conftest
$ac_exeext; then
31337 ac_cv_lib_ICE_IceConnectionNumber
=yes
31339 echo "$as_me: failed program was:" >&5
31340 sed 's/^/| /' conftest.
$ac_ext >&5
31342 ac_cv_lib_ICE_IceConnectionNumber
=no
31345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31346 conftest
$ac_exeext conftest.
$ac_ext
31347 LIBS
=$ac_check_lib_save_LIBS
31349 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31350 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31351 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31352 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31355 LDFLAGS
=$ac_save_LDFLAGS
31360 if test "$no_x" = "yes"; then
31361 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31362 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31363 { (exit 1); exit 1; }; }
31366 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31367 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31368 AFMINSTALL
=afminstall
31369 COMPILED_X_PROGRAM
=0
31373 if test "$wxUSE_X11" = 1; then
31374 if test "$wxUSE_NANOX" = "yes"; then
31375 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31376 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31377 if test "x$MICROWIN" = x
; then
31378 { echo "$as_me:$LINENO: result: not found" >&5
31379 echo "${ECHO_T}not found" >&6; }
31380 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31381 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31382 { (exit 1); exit 1; }; }
31384 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31385 echo "${ECHO_T}$MICROWIN" >&6; }
31386 cat >>confdefs.h
<<\_ACEOF
31387 #define wxUSE_NANOX 1
31393 if test "$wxUSE_UNICODE" = "yes"; then
31396 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31397 if test -n "$ac_tool_prefix"; then
31398 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31399 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31402 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31403 echo $ECHO_N "(cached) $ECHO_C" >&6
31405 case $PKG_CONFIG in
31407 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31411 for as_dir
in $PATH
31414 test -z "$as_dir" && as_dir
=.
31415 for ac_exec_ext
in '' $ac_executable_extensions; do
31416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31417 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31428 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31429 if test -n "$PKG_CONFIG"; then
31430 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31431 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31433 { echo "$as_me:$LINENO: result: no" >&5
31434 echo "${ECHO_T}no" >&6; }
31439 if test -z "$ac_cv_path_PKG_CONFIG"; then
31440 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31441 # Extract the first word of "pkg-config", so it can be a program name with args.
31442 set dummy pkg
-config; ac_word
=$2
31443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31445 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31446 echo $ECHO_N "(cached) $ECHO_C" >&6
31448 case $ac_pt_PKG_CONFIG in
31450 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31454 for as_dir
in $PATH
31457 test -z "$as_dir" && as_dir
=.
31458 for ac_exec_ext
in '' $ac_executable_extensions; do
31459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31460 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31471 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31472 if test -n "$ac_pt_PKG_CONFIG"; then
31473 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31474 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31476 { echo "$as_me:$LINENO: result: no" >&5
31477 echo "${ECHO_T}no" >&6; }
31480 if test "x$ac_pt_PKG_CONFIG" = x
; then
31483 case $cross_compiling:$ac_tool_warned in
31485 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31486 whose name does not start with the host triplet. If you think this
31487 configuration is useful to you, please write to autoconf@gnu.org." >&5
31488 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31489 whose name does not start with the host triplet. If you think this
31490 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31491 ac_tool_warned
=yes ;;
31493 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31496 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31500 if test -n "$PKG_CONFIG"; then
31501 _pkg_min_version
=0.9.0
31502 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31503 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31504 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31505 { echo "$as_me:$LINENO: result: yes" >&5
31506 echo "${ECHO_T}yes" >&6; }
31508 { echo "$as_me:$LINENO: result: no" >&5
31509 echo "${ECHO_T}no" >&6; }
31517 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31518 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31520 if test -n "$PKG_CONFIG"; then
31521 if test -n "$PANGOX_CFLAGS"; then
31522 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31524 if test -n "$PKG_CONFIG" && \
31525 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31526 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); }; then
31530 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31538 if test -n "$PKG_CONFIG"; then
31539 if test -n "$PANGOX_LIBS"; then
31540 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31542 if test -n "$PKG_CONFIG" && \
31543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31544 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); }; then
31548 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31559 if test $pkg_failed = yes; then
31561 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31562 _pkg_short_errors_supported
=yes
31564 _pkg_short_errors_supported
=no
31566 if test $_pkg_short_errors_supported = yes; then
31567 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31569 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31571 # Put the nasty error message in config.log where it belongs
31572 echo "$PANGOX_PKG_ERRORS" >&5
31575 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31576 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31577 { (exit 1); exit 1; }; }
31580 elif test $pkg_failed = untried
; then
31582 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31583 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31584 { (exit 1); exit 1; }; }
31588 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31589 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31590 { echo "$as_me:$LINENO: result: yes" >&5
31591 echo "${ECHO_T}yes" >&6; }
31593 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31594 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31595 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31600 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31601 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31603 if test -n "$PKG_CONFIG"; then
31604 if test -n "$PANGOFT2_CFLAGS"; then
31605 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31607 if test -n "$PKG_CONFIG" && \
31608 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31609 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); }; then
31613 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31621 if test -n "$PKG_CONFIG"; then
31622 if test -n "$PANGOFT2_LIBS"; then
31623 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31625 if test -n "$PKG_CONFIG" && \
31626 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31627 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); }; then
31631 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31642 if test $pkg_failed = yes; then
31644 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31645 _pkg_short_errors_supported
=yes
31647 _pkg_short_errors_supported
=no
31649 if test $_pkg_short_errors_supported = yes; then
31650 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31652 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31654 # Put the nasty error message in config.log where it belongs
31655 echo "$PANGOFT2_PKG_ERRORS" >&5
31658 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31659 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31660 wxUSE_PRINTING_ARCHITECTURE
="no"
31663 elif test $pkg_failed = untried
; then
31665 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31666 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31667 wxUSE_PRINTING_ARCHITECTURE
="no"
31671 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31672 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31673 { echo "$as_me:$LINENO: result: yes" >&5
31674 echo "${ECHO_T}yes" >&6; }
31676 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31677 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31678 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31683 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31684 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31686 if test -n "$PKG_CONFIG"; then
31687 if test -n "$PANGOXFT_CFLAGS"; then
31688 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31690 if test -n "$PKG_CONFIG" && \
31691 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31692 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); }; then
31696 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31704 if test -n "$PKG_CONFIG"; then
31705 if test -n "$PANGOXFT_LIBS"; then
31706 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31708 if test -n "$PKG_CONFIG" && \
31709 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31710 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713 (exit $ac_status); }; then
31714 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31725 if test $pkg_failed = yes; then
31727 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31728 _pkg_short_errors_supported
=yes
31730 _pkg_short_errors_supported
=no
31732 if test $_pkg_short_errors_supported = yes; then
31733 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31735 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31737 # Put the nasty error message in config.log where it belongs
31738 echo "$PANGOXFT_PKG_ERRORS" >&5
31741 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31742 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31745 elif test $pkg_failed = untried
; then
31747 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31748 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31752 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31753 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31754 { echo "$as_me:$LINENO: result: yes" >&5
31755 echo "${ECHO_T}yes" >&6; }
31757 cat >>confdefs.h
<<\_ACEOF
31758 #define HAVE_PANGO_XFT 1
31761 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31762 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31763 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31767 LIBS
="$LIBS $PANGOX_LIBS"
31769 for ac_func
in pango_font_family_is_monospace
31771 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31772 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31774 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31775 echo $ECHO_N "(cached) $ECHO_C" >&6
31777 cat >conftest.
$ac_ext <<_ACEOF
31780 cat confdefs.h
>>conftest.
$ac_ext
31781 cat >>conftest.
$ac_ext <<_ACEOF
31782 /* end confdefs.h. */
31783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31785 #define $ac_func innocuous_$ac_func
31787 /* System header to define __stub macros and hopefully few prototypes,
31788 which can conflict with char $ac_func (); below.
31789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31790 <limits.h> exists even on freestanding compilers. */
31793 # include <limits.h>
31795 # include <assert.h>
31800 /* Override any GCC internal prototype to avoid an error.
31801 Use char because int might match the return type of a GCC
31802 builtin and then its argument prototype would still apply. */
31807 /* The GNU C library defines this for functions which it implements
31808 to always fail with ENOSYS. Some functions are actually named
31809 something starting with __ and the normal name is an alias. */
31810 #if defined __stub_$ac_func || defined __stub___$ac_func
31817 return $ac_func ();
31822 rm -f conftest.
$ac_objext conftest
$ac_exeext
31823 if { (ac_try
="$ac_link"
31824 case "(($ac_try" in
31825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31826 *) ac_try_echo=$ac_try;;
31828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31829 (eval "$ac_link") 2>conftest.er1
31831 grep -v '^ *+' conftest.er1 >conftest.err
31833 cat conftest.err >&5
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); } && {
31836 test -z "$ac_c_werror_flag" ||
31837 test ! -s conftest.err
31838 } && test -s conftest$ac_exeext &&
31839 $as_test_x conftest$ac_exeext; then
31840 eval "$as_ac_var=yes"
31842 echo "$as_me: failed program was:" >&5
31843 sed 's/^/| /' conftest.$ac_ext >&5
31845 eval "$as_ac_var=no"
31848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31849 conftest$ac_exeext conftest.$ac_ext
31851 ac_res=`eval echo '${'$as_ac_var'}'`
31852 { echo "$as_me:$LINENO: result: $ac_res" >&5
31853 echo "${ECHO_T}$ac_res" >&6; }
31854 if test `eval echo '${'$as_ac_var'}'` = yes; then
31855 cat >>confdefs.h <<_ACEOF
31856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31865 wxUSE_UNIVERSAL="yes"
31867 if test "$wxUSE_NANOX" = "yes"; then
31868 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31869 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"
31870 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31872 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31879 if test "$wxUSE_MOTIF" = 1; then
31880 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31881 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31884 for ac_dir in $SEARCH_INCLUDE /usr/include;
31886 if test -f "$ac_dir/Xm/Xm.h"; then
31887 ac_find_includes=$ac_dir
31892 if test "$ac_find_includes" != "" ; then
31893 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31894 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31896 if test "x$ac_find_includes" = "x/usr/include"; then
31897 ac_path_to_include=""
31899 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31901 if test $result = 0; then
31902 ac_path_to_include=""
31904 ac_path_to_include=" -I$ac_find_includes"
31908 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31910 save_CFLAGS=$CFLAGS
31911 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31913 cat >conftest.$ac_ext <<_ACEOF
31916 cat confdefs.h >>conftest.$ac_ext
31917 cat >>conftest.$ac_ext <<_ACEOF
31918 /* end confdefs.h. */
31927 version = xmUseVersion;
31933 rm -f conftest.$ac_objext
31934 if { (ac_try="$ac_compile"
31935 case "(($ac_try" in
31936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31937 *) ac_try_echo
=$ac_try;;
31939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31940 (eval "$ac_compile") 2>conftest.er1
31942 grep -v '^ *+' conftest.er1
>conftest.err
31944 cat conftest.err
>&5
31945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946 (exit $ac_status); } && {
31947 test -z "$ac_c_werror_flag" ||
31948 test ! -s conftest.err
31949 } && test -s conftest.
$ac_objext; then
31951 { echo "$as_me:$LINENO: result: found in default search path" >&5
31952 echo "${ECHO_T}found in default search path" >&6; }
31953 COMPILED_X_PROGRAM
=1
31956 echo "$as_me: failed program was:" >&5
31957 sed 's/^/| /' conftest.
$ac_ext >&5
31960 { echo "$as_me:$LINENO: result: no" >&5
31961 echo "${ECHO_T}no" >&6; }
31962 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31963 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31964 { (exit 1); exit 1; }; }
31969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31971 CFLAGS
=$save_CFLAGS
31975 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31976 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31979 for ac_dir
in $SEARCH_LIB;
31981 for ac_extension
in a so sl dylib dll.a
; do
31982 if test -f "$ac_dir/libXm.$ac_extension"; then
31983 ac_find_libraries
=$ac_dir
31990 if test "x$ac_find_libraries" != "x" ; then
31991 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31992 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31995 if test "$ac_find_libraries" = "default location"; then
31998 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32000 if test $result = 0; then
32003 ac_path_to_link
=" -L$ac_find_libraries"
32007 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32009 save_CFLAGS
=$CFLAGS
32010 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32012 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32014 cat >conftest.
$ac_ext <<_ACEOF
32017 cat confdefs.h
>>conftest.
$ac_ext
32018 cat >>conftest.
$ac_ext <<_ACEOF
32019 /* end confdefs.h. */
32028 version = xmUseVersion;
32034 rm -f conftest.
$ac_objext conftest
$ac_exeext
32035 if { (ac_try
="$ac_link"
32036 case "(($ac_try" in
32037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32038 *) ac_try_echo=$ac_try;;
32040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32041 (eval "$ac_link") 2>conftest.er1
32043 grep -v '^ *+' conftest.er1 >conftest.err
32045 cat conftest.err >&5
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); } && {
32048 test -z "$ac_c_werror_flag" ||
32049 test ! -s conftest.err
32050 } && test -s conftest$ac_exeext &&
32051 $as_test_x conftest$ac_exeext; then
32053 { echo "$as_me:$LINENO: result: found in default search path" >&5
32054 echo "${ECHO_T}found in default search path" >&6; }
32055 COMPILED_X_PROGRAM=1
32058 echo "$as_me: failed program was:" >&5
32059 sed 's/^/| /' conftest.$ac_ext >&5
32062 { echo "$as_me:$LINENO: result: no" >&5
32063 echo "${ECHO_T}no" >&6; }
32064 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32065 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32066 { (exit 1); exit 1; }; }
32071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32072 conftest$ac_exeext conftest.$ac_ext
32074 CFLAGS=$save_CFLAGS
32078 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32079 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32083 for libp in "" " -lXp"; do
32084 if test "$libs_found" = 0; then
32085 for libsm_ice in "" " -lSM -lICE"; do
32086 if test "$libs_found" = 0; then
32088 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32089 save_CFLAGS=$CFLAGS
32090 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32092 cat >conftest.$ac_ext <<_ACEOF
32095 cat confdefs.h >>conftest.$ac_ext
32096 cat >>conftest.$ac_ext <<_ACEOF
32097 /* end confdefs.h. */
32100 #include <Xm/List.h>
32106 XmString string = NULL;
32109 XmListAddItem(w, string, position);
32115 rm -f conftest.$ac_objext conftest$ac_exeext
32116 if { (ac_try="$ac_link"
32117 case "(($ac_try" in
32118 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32119 *) ac_try_echo
=$ac_try;;
32121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32122 (eval "$ac_link") 2>conftest.er1
32124 grep -v '^ *+' conftest.er1
>conftest.err
32126 cat conftest.err
>&5
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); } && {
32129 test -z "$ac_c_werror_flag" ||
32130 test ! -s conftest.err
32131 } && test -s conftest
$ac_exeext &&
32132 $as_test_x conftest
$ac_exeext; then
32135 libsm_ice_link
="$libsm_ice"
32136 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32137 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32141 echo "$as_me: failed program was:" >&5
32142 sed 's/^/| /' conftest.
$ac_ext >&5
32148 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32149 conftest
$ac_exeext conftest.
$ac_ext
32152 CFLAGS
=$save_CFLAGS
32158 if test "$libs_found" = 0; then
32159 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32160 echo "${ECHO_T}can't find the right libraries" >&6; }
32161 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32162 echo "$as_me: error: can't link a simple motif program" >&2;}
32163 { (exit 1); exit 1; }; }
32166 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32167 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32168 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32171 ac_check_lib_save_LIBS
=$LIBS
32173 cat >conftest.
$ac_ext <<_ACEOF
32176 cat confdefs.h
>>conftest.
$ac_ext
32177 cat >>conftest.
$ac_ext <<_ACEOF
32178 /* end confdefs.h. */
32180 /* Override any GCC internal prototype to avoid an error.
32181 Use char because int might match the return type of a GCC
32182 builtin and then its argument prototype would still apply. */
32186 char SgCreateList ();
32190 return SgCreateList ();
32195 rm -f conftest.
$ac_objext conftest
$ac_exeext
32196 if { (ac_try
="$ac_link"
32197 case "(($ac_try" in
32198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32199 *) ac_try_echo=$ac_try;;
32201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32202 (eval "$ac_link") 2>conftest.er1
32204 grep -v '^ *+' conftest.er1 >conftest.err
32206 cat conftest.err >&5
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); } && {
32209 test -z "$ac_c_werror_flag" ||
32210 test ! -s conftest.err
32211 } && test -s conftest$ac_exeext &&
32212 $as_test_x conftest$ac_exeext; then
32213 ac_cv_lib_Sgm_SgCreateList=yes
32215 echo "$as_me: failed program was:" >&5
32216 sed 's/^/| /' conftest.$ac_ext >&5
32218 ac_cv_lib_Sgm_SgCreateList=no
32221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32222 conftest$ac_exeext conftest.$ac_ext
32223 LIBS=$ac_check_lib_save_LIBS
32225 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32226 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32227 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32228 libsgm_link=" -lSgm"
32232 save_CFLAGS=$CFLAGS
32233 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32235 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32236 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32237 if test "${wx_cv_lib_motif2+set}" = set; then
32238 echo $ECHO_N "(cached) $ECHO_C" >&6
32240 cat >conftest.$ac_ext <<_ACEOF
32243 cat confdefs.h >>conftest.$ac_ext
32244 cat >>conftest.$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32253 #if XmVersion < 2000
32261 rm -f conftest.$ac_objext
32262 if { (ac_try="$ac_compile"
32263 case "(($ac_try" in
32264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32265 *) ac_try_echo
=$ac_try;;
32267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32268 (eval "$ac_compile") 2>conftest.er1
32270 grep -v '^ *+' conftest.er1
>conftest.err
32272 cat conftest.err
>&5
32273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274 (exit $ac_status); } && {
32275 test -z "$ac_c_werror_flag" ||
32276 test ! -s conftest.err
32277 } && test -s conftest.
$ac_objext; then
32278 wx_cv_lib_motif2
="yes"
32280 echo "$as_me: failed program was:" >&5
32281 sed 's/^/| /' conftest.
$ac_ext >&5
32283 wx_cv_lib_motif2
="no"
32286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32288 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32289 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32290 if test "$wx_cv_lib_motif2" = "yes"; then
32291 cat >>confdefs.h
<<\_ACEOF
32292 #define __WXMOTIF20__ 1
32296 cat >>confdefs.h
<<\_ACEOF
32297 #define __WXMOTIF20__ 0
32302 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32303 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32304 if test "${wx_cv_lib_lesstif+set}" = set; then
32305 echo $ECHO_N "(cached) $ECHO_C" >&6
32307 cat >conftest.
$ac_ext <<_ACEOF
32310 cat confdefs.h
>>conftest.
$ac_ext
32311 cat >>conftest.
$ac_ext <<_ACEOF
32312 /* end confdefs.h. */
32320 #if !defined(LesstifVersion) || LesstifVersion <= 0
32328 rm -f conftest.
$ac_objext
32329 if { (ac_try
="$ac_compile"
32330 case "(($ac_try" in
32331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32332 *) ac_try_echo=$ac_try;;
32334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32335 (eval "$ac_compile") 2>conftest.er1
32337 grep -v '^ *+' conftest.er1 >conftest.err
32339 cat conftest.err >&5
32340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32341 (exit $ac_status); } && {
32342 test -z "$ac_c_werror_flag" ||
32343 test ! -s conftest.err
32344 } && test -s conftest.$ac_objext; then
32345 wx_cv_lib_lesstif="yes"
32347 echo "$as_me: failed program was:" >&5
32348 sed 's/^/| /' conftest.$ac_ext >&5
32350 wx_cv_lib_lesstif="no"
32353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32356 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32357 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32358 if test "$wx_cv_lib_lesstif" = "yes"; then
32359 cat >>confdefs.h <<\_ACEOF
32360 #define __WXLESSTIF__ 1
32364 cat >>confdefs.h <<\_ACEOF
32365 #define __WXLESSTIF__ 0
32370 CFLAGS=$save_CFLAGS
32372 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32377 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32378 if test "$wxUSE_LIBXPM" = "sys"; then
32379 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32380 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32383 for ac_dir in $SEARCH_LIB;
32385 for ac_extension in a so sl dylib dll.a; do
32386 if test -f "$ac_dir/libXpm.$ac_extension"; then
32387 ac_find_libraries=$ac_dir
32393 if test "$ac_find_libraries" != "" ; then
32395 if test "$ac_find_libraries" = "default location"; then
32398 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32400 if test $result = 0; then
32403 ac_path_to_link=" -L$ac_find_libraries"
32407 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32408 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32409 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32411 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32412 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32413 if test "${wx_cv_x11_xpm_h+set}" = set; then
32414 echo $ECHO_N "(cached) $ECHO_C" >&6
32417 save_CFLAGS=$CFLAGS
32418 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32420 cat >conftest.$ac_ext <<_ACEOF
32423 cat confdefs.h >>conftest.$ac_ext
32424 cat >>conftest.$ac_ext <<_ACEOF
32425 /* end confdefs.h. */
32427 #include <X11/xpm.h>
32434 version = XpmLibraryVersion();
32440 rm -f conftest.$ac_objext
32441 if { (ac_try="$ac_compile"
32442 case "(($ac_try" in
32443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32444 *) ac_try_echo
=$ac_try;;
32446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32447 (eval "$ac_compile") 2>conftest.er1
32449 grep -v '^ *+' conftest.er1
>conftest.err
32451 cat conftest.err
>&5
32452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32453 (exit $ac_status); } && {
32454 test -z "$ac_c_werror_flag" ||
32455 test ! -s conftest.err
32456 } && test -s conftest.
$ac_objext; then
32457 wx_cv_x11_xpm_h
=yes
32459 echo "$as_me: failed program was:" >&5
32460 sed 's/^/| /' conftest.
$ac_ext >&5
32466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32468 CFLAGS
=$save_CFLAGS
32472 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32473 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32475 if test $wx_cv_x11_xpm_h = "yes"; then
32476 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32477 cat >>confdefs.h
<<\_ACEOF
32478 #define wxHAVE_LIB_XPM 1
32482 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32483 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32489 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32490 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32491 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32492 echo $ECHO_N "(cached) $ECHO_C" >&6
32494 ac_check_lib_save_LIBS
=$LIBS
32495 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32496 cat >conftest.
$ac_ext <<_ACEOF
32499 cat confdefs.h
>>conftest.
$ac_ext
32500 cat >>conftest.
$ac_ext <<_ACEOF
32501 /* end confdefs.h. */
32503 /* Override any GCC internal prototype to avoid an error.
32504 Use char because int might match the return type of a GCC
32505 builtin and then its argument prototype would still apply. */
32509 char XShapeQueryExtension ();
32513 return XShapeQueryExtension ();
32518 rm -f conftest.
$ac_objext conftest
$ac_exeext
32519 if { (ac_try
="$ac_link"
32520 case "(($ac_try" in
32521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32522 *) ac_try_echo=$ac_try;;
32524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32525 (eval "$ac_link") 2>conftest.er1
32527 grep -v '^ *+' conftest.er1 >conftest.err
32529 cat conftest.err >&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); } && {
32532 test -z "$ac_c_werror_flag" ||
32533 test ! -s conftest.err
32534 } && test -s conftest$ac_exeext &&
32535 $as_test_x conftest$ac_exeext; then
32536 ac_cv_lib_Xext_XShapeQueryExtension=yes
32538 echo "$as_me: failed program was:" >&5
32539 sed 's/^/| /' conftest.$ac_ext >&5
32541 ac_cv_lib_Xext_XShapeQueryExtension=no
32544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32545 conftest$ac_exeext conftest.$ac_ext
32546 LIBS=$ac_check_lib_save_LIBS
32548 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32549 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32550 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32552 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32558 if test "$wxHAVE_XEXT_LIB" = 1; then
32559 save_CFLAGS="$CFLAGS"
32560 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32562 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32563 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32564 cat >conftest.$ac_ext <<_ACEOF
32567 cat confdefs.h >>conftest.$ac_ext
32568 cat >>conftest.$ac_ext <<_ACEOF
32569 /* end confdefs.h. */
32571 #include <X11/Xlib.h>
32572 #include <X11/extensions/shape.h>
32578 int dummy1, dummy2;
32579 XShapeQueryExtension((Display*)NULL,
32580 (int*)NULL, (int*)NULL);
32586 rm -f conftest.$ac_objext
32587 if { (ac_try="$ac_compile"
32588 case "(($ac_try" in
32589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32590 *) ac_try_echo
=$ac_try;;
32592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32593 (eval "$ac_compile") 2>conftest.er1
32595 grep -v '^ *+' conftest.er1
>conftest.err
32597 cat conftest.err
>&5
32598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32599 (exit $ac_status); } && {
32600 test -z "$ac_c_werror_flag" ||
32601 test ! -s conftest.err
32602 } && test -s conftest.
$ac_objext; then
32604 cat >>confdefs.h
<<\_ACEOF
32605 #define HAVE_XSHAPE 1
32608 { echo "$as_me:$LINENO: result: found" >&5
32609 echo "${ECHO_T}found" >&6; }
32612 echo "$as_me: failed program was:" >&5
32613 sed 's/^/| /' conftest.
$ac_ext >&5
32616 { echo "$as_me:$LINENO: result: not found" >&5
32617 echo "${ECHO_T}not found" >&6; }
32621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32622 CFLAGS
="$save_CFLAGS"
32627 if test "$wxUSE_OSX_CARBON" = 1; then
32628 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32629 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32630 if test "$GCC" = yes; then
32631 { echo "$as_me:$LINENO: result: gcc" >&5
32632 echo "${ECHO_T}gcc" >&6; }
32633 CPPFLAGS_PASCAL
="-fpascal-strings"
32634 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32635 { echo "$as_me:$LINENO: result: xlc" >&5
32636 echo "${ECHO_T}xlc" >&6; }
32637 CPPFLAGS_PASCAL
="-qmacpstr"
32639 { echo "$as_me:$LINENO: result: none" >&5
32640 echo "${ECHO_T}none" >&6; }
32643 if test "x$wxUSE_UNIX" = "xyes"; then
32644 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32646 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32650 GUIDIST
=OSX_CARBON_DIST
32651 WXBASEPORT
="_carbon"
32654 if test "$wxUSE_OSX_COCOA" = 1; then
32656 GUIDIST
=OSX_COCOA_DIST
32659 if test "$wxUSE_COCOA" = 1; then
32664 if test "$wxUSE_PM" = 1; then
32667 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32668 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32669 if test "${wx_cv_spbcdata+set}" = set; then
32670 echo $ECHO_N "(cached) $ECHO_C" >&6
32673 cat >conftest.
$ac_ext <<_ACEOF
32676 cat confdefs.h
>>conftest.
$ac_ext
32677 cat >>conftest.
$ac_ext <<_ACEOF
32678 /* end confdefs.h. */
32693 rm -f conftest.
$ac_objext
32694 if { (ac_try
="$ac_compile"
32695 case "(($ac_try" in
32696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32697 *) ac_try_echo=$ac_try;;
32699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32700 (eval "$ac_compile") 2>conftest.er1
32702 grep -v '^ *+' conftest.er1 >conftest.err
32704 cat conftest.err >&5
32705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32706 (exit $ac_status); } && {
32707 test -z "$ac_c_werror_flag" ||
32708 test ! -s conftest.err
32709 } && test -s conftest.$ac_objext; then
32712 echo "$as_me: failed program was:" >&5
32713 sed 's/^/| /' conftest.$ac_ext >&5
32719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32723 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32724 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32726 if test $wx_cv_spbcdata = "yes"; then
32727 cat >>confdefs.h <<\_ACEOF
32728 #define HAVE_SPBCDATA 1
32734 if test "$TOOLKIT" = "PM" ; then
32737 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32740 if test "$wxUSE_UNIVERSAL" = "yes"; then
32741 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32745 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32746 DISTDIR="wx\$(TOOLKIT)"
32752 if test "$USE_WIN32" = 1 ; then
32756 GUIDIST="BASE_DIST"
32762 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32763 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32764 wxUSE_UNICODE_UTF8=yes
32765 elif test "$USE_OS2" = 1 ; then
32766 wxUSE_UNICODE_UTF8=yes
32768 wxUSE_UNICODE_UTF8=no
32773 if test "$wxUSE_GUI" = "yes"; then
32774 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32776 for ac_header in X11/Xlib.h
32778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32779 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32782 echo $ECHO_N "(cached) $ECHO_C" >&6
32784 cat >conftest.$ac_ext <<_ACEOF
32787 cat confdefs.h >>conftest.$ac_ext
32788 cat >>conftest.$ac_ext <<_ACEOF
32789 /* end confdefs.h. */
32792 #include <$ac_header>
32794 rm -f conftest.$ac_objext
32795 if { (ac_try="$ac_compile"
32796 case "(($ac_try" in
32797 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32798 *) ac_try_echo
=$ac_try;;
32800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32801 (eval "$ac_compile") 2>conftest.er1
32803 grep -v '^ *+' conftest.er1
>conftest.err
32805 cat conftest.err
>&5
32806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32807 (exit $ac_status); } && {
32808 test -z "$ac_c_werror_flag" ||
32809 test ! -s conftest.err
32810 } && test -s conftest.
$ac_objext; then
32811 eval "$as_ac_Header=yes"
32813 echo "$as_me: failed program was:" >&5
32814 sed 's/^/| /' conftest.
$ac_ext >&5
32816 eval "$as_ac_Header=no"
32819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32821 ac_res
=`eval echo '${'$as_ac_Header'}'`
32822 { echo "$as_me:$LINENO: result: $ac_res" >&5
32823 echo "${ECHO_T}$ac_res" >&6; }
32824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32825 cat >>confdefs.h
<<_ACEOF
32826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32834 for ac_header
in X
11/XKBlib.h
32836 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32837 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32839 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32840 echo $ECHO_N "(cached) $ECHO_C" >&6
32842 cat >conftest.
$ac_ext <<_ACEOF
32845 cat confdefs.h
>>conftest.
$ac_ext
32846 cat >>conftest.
$ac_ext <<_ACEOF
32847 /* end confdefs.h. */
32849 #if HAVE_X11_XLIB_H
32850 #include <X11/Xlib.h>
32854 #include <$ac_header>
32856 rm -f conftest.
$ac_objext
32857 if { (ac_try
="$ac_compile"
32858 case "(($ac_try" in
32859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32860 *) ac_try_echo=$ac_try;;
32862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32863 (eval "$ac_compile") 2>conftest.er1
32865 grep -v '^ *+' conftest.er1 >conftest.err
32867 cat conftest.err >&5
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); } && {
32870 test -z "$ac_c_werror_flag" ||
32871 test ! -s conftest.err
32872 } && test -s conftest.$ac_objext; then
32873 eval "$as_ac_Header=yes"
32875 echo "$as_me: failed program was:" >&5
32876 sed 's/^/| /' conftest.$ac_ext >&5
32878 eval "$as_ac_Header=no"
32881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32883 ac_res=`eval echo '${'$as_ac_Header'}'`
32884 { echo "$as_me:$LINENO: result: $ac_res" >&5
32885 echo "${ECHO_T}$ac_res" >&6; }
32886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32887 cat >>confdefs.h <<_ACEOF
32888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32900 if test "$wxUSE_DISPLAY" = "yes"; then
32901 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32902 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32903 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32906 for ac_dir in $SEARCH_LIB;
32908 for ac_extension in a so sl dylib dll.a; do
32909 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32910 ac_find_libraries=$ac_dir
32916 if test "$ac_find_libraries" != "" ; then
32918 if test "$ac_find_libraries" = "default location"; then
32921 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32923 if test $result = 0; then
32926 ac_path_to_link=" -L$ac_find_libraries"
32930 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32931 LDFLAGS="$LDFLAGS $ac_path_to_link"
32933 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32934 { echo "$as_me:$LINENO: result: yes" >&5
32935 echo "${ECHO_T}yes" >&6; }
32937 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32938 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32941 for ac_dir in $SEARCH_LIB;
32943 for ac_extension in a so sl dylib dll.a; do
32944 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32945 ac_find_libraries=$ac_dir
32951 if test "$ac_find_libraries" != "" ; then
32952 { echo "$as_me:$LINENO: result: yes" >&5
32953 echo "${ECHO_T}yes" >&6; }
32955 for ac_header in X11/extensions/xf86vmode.h
32957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32961 echo $ECHO_N "(cached) $ECHO_C" >&6
32963 cat >conftest.$ac_ext <<_ACEOF
32966 cat confdefs.h >>conftest.$ac_ext
32967 cat >>conftest.$ac_ext <<_ACEOF
32968 /* end confdefs.h. */
32970 #if HAVE_X11_XLIB_H
32971 #include <X11/Xlib.h>
32975 #include <$ac_header>
32977 rm -f conftest.$ac_objext
32978 if { (ac_try="$ac_compile"
32979 case "(($ac_try" in
32980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32981 *) ac_try_echo
=$ac_try;;
32983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32984 (eval "$ac_compile") 2>conftest.er1
32986 grep -v '^ *+' conftest.er1
>conftest.err
32988 cat conftest.err
>&5
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); } && {
32991 test -z "$ac_c_werror_flag" ||
32992 test ! -s conftest.err
32993 } && test -s conftest.
$ac_objext; then
32994 eval "$as_ac_Header=yes"
32996 echo "$as_me: failed program was:" >&5
32997 sed 's/^/| /' conftest.
$ac_ext >&5
32999 eval "$as_ac_Header=no"
33002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33004 ac_res
=`eval echo '${'$as_ac_Header'}'`
33005 { echo "$as_me:$LINENO: result: $ac_res" >&5
33006 echo "${ECHO_T}$ac_res" >&6; }
33007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33008 cat >>confdefs.h
<<_ACEOF
33009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33012 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33019 { echo "$as_me:$LINENO: result: no" >&5
33020 echo "${ECHO_T}no" >&6; }
33024 { echo "$as_me:$LINENO: result: no" >&5
33025 echo "${ECHO_T}no" >&6; }
33026 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33027 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33030 elif test "$wxUSE_MSW" = 1; then
33031 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33032 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33033 if test "${ac_cv_header_ddraw_h+set}" = set; then
33034 echo $ECHO_N "(cached) $ECHO_C" >&6
33036 cat >conftest.
$ac_ext <<_ACEOF
33039 cat confdefs.h
>>conftest.
$ac_ext
33040 cat >>conftest.
$ac_ext <<_ACEOF
33041 /* end confdefs.h. */
33042 #include <windows.h>
33046 rm -f conftest.
$ac_objext
33047 if { (ac_try
="$ac_compile"
33048 case "(($ac_try" in
33049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33050 *) ac_try_echo=$ac_try;;
33052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33053 (eval "$ac_compile") 2>conftest.er1
33055 grep -v '^ *+' conftest.er1 >conftest.err
33057 cat conftest.err >&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); } && {
33060 test -z "$ac_c_werror_flag" ||
33061 test ! -s conftest.err
33062 } && test -s conftest.$ac_objext; then
33063 ac_cv_header_ddraw_h=yes
33065 echo "$as_me: failed program was:" >&5
33066 sed 's/^/| /' conftest.$ac_ext >&5
33068 ac_cv_header_ddraw_h=no
33071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33073 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33074 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33080 if test "$wxUSE_DETECT_SM" = "yes"; then
33081 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33082 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33083 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33086 for ac_dir in $SEARCH_LIB;
33088 for ac_extension in a so sl dylib dll.a; do
33089 if test -f "$ac_dir/libSM.$ac_extension"; then
33090 ac_find_libraries=$ac_dir
33096 if test "$ac_find_libraries" != "" ; then
33098 if test "$ac_find_libraries" = "default location"; then
33101 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33103 if test $result = 0; then
33106 ac_path_to_link=" -L$ac_find_libraries"
33110 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33111 LDFLAGS="$LDFLAGS $ac_path_to_link"
33113 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33114 { echo "$as_me:$LINENO: result: yes" >&5
33115 echo "${ECHO_T}yes" >&6; }
33117 { echo "$as_me:$LINENO: result: no" >&5
33118 echo "${ECHO_T}no" >&6; }
33119 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33120 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33121 wxUSE_DETECT_SM="no"
33124 wxUSE_DETECT_SM="no"
33131 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33134 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33135 OPENGL_LIBS="-framework OpenGL -framework AGL"
33136 elif test "$wxUSE_MSW" = 1; then
33137 OPENGL_LIBS="-lopengl32 -lglu32"
33138 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33140 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33141 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33144 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33146 if test -f "$ac_dir/GL/gl.h"; then
33147 ac_find_includes=$ac_dir
33152 if test "$ac_find_includes" != "" ; then
33153 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33154 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33156 if test "x$ac_find_includes" = "x/usr/include"; then
33157 ac_path_to_include=""
33159 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33161 if test $result = 0; then
33162 ac_path_to_include=""
33164 ac_path_to_include=" -I$ac_find_includes"
33168 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33170 { echo "$as_me:$LINENO: result: not found" >&5
33171 echo "${ECHO_T}not found" >&6; }
33174 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33175 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33176 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33179 cat >conftest.$ac_ext <<_ACEOF
33182 cat confdefs.h >>conftest.$ac_ext
33183 cat >>conftest.$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33189 rm -f conftest.$ac_objext
33190 if { (ac_try="$ac_compile"
33191 case "(($ac_try" in
33192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33193 *) ac_try_echo
=$ac_try;;
33195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33196 (eval "$ac_compile") 2>conftest.er1
33198 grep -v '^ *+' conftest.er1
>conftest.err
33200 cat conftest.err
>&5
33201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33202 (exit $ac_status); } && {
33203 test -z "$ac_c_werror_flag" ||
33204 test ! -s conftest.err
33205 } && test -s conftest.
$ac_objext; then
33206 ac_cv_header_GL_gl_h
=yes
33208 echo "$as_me: failed program was:" >&5
33209 sed 's/^/| /' conftest.
$ac_ext >&5
33211 ac_cv_header_GL_gl_h
=no
33214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33216 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33217 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33218 if test $ac_cv_header_GL_gl_h = yes; then
33220 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33221 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33222 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33223 echo $ECHO_N "(cached) $ECHO_C" >&6
33225 cat >conftest.
$ac_ext <<_ACEOF
33228 cat confdefs.h
>>conftest.
$ac_ext
33229 cat >>conftest.
$ac_ext <<_ACEOF
33230 /* end confdefs.h. */
33233 #include <GL/glu.h>
33235 rm -f conftest.
$ac_objext
33236 if { (ac_try
="$ac_compile"
33237 case "(($ac_try" in
33238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33239 *) ac_try_echo=$ac_try;;
33241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33242 (eval "$ac_compile") 2>conftest.er1
33244 grep -v '^ *+' conftest.er1 >conftest.err
33246 cat conftest.err >&5
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); } && {
33249 test -z "$ac_c_werror_flag" ||
33250 test ! -s conftest.err
33251 } && test -s conftest.$ac_objext; then
33252 ac_cv_header_GL_glu_h=yes
33254 echo "$as_me: failed program was:" >&5
33255 sed 's/^/| /' conftest.$ac_ext >&5
33257 ac_cv_header_GL_glu_h=no
33260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33262 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33263 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33264 if test $ac_cv_header_GL_glu_h = yes; then
33268 { echo "$as_me:$LINENO: checking for -lGL" >&5
33269 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33272 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33274 for ac_extension in a so sl dylib dll.a; do
33275 if test -f "$ac_dir/libGL.$ac_extension"; then
33276 ac_find_libraries=$ac_dir
33282 if test "$ac_find_libraries" != "" ; then
33283 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33284 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33287 if test "$ac_find_libraries" = "default location"; then
33290 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33292 if test $result = 0; then
33295 ac_path_to_link=" -L$ac_find_libraries"
33299 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33300 LDFLAGS_GL="$ac_path_to_link"
33303 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33304 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33307 for ac_dir in $SEARCH_LIB;
33309 for ac_extension in a so sl dylib dll.a; do
33310 if test -f "$ac_dir/libGLU.$ac_extension"; then
33311 ac_find_libraries=$ac_dir
33317 if test "$ac_find_libraries" != "" ; then
33319 if test "$ac_find_libraries" = "default location"; then
33322 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33324 if test $result = 0; then
33327 ac_path_to_link=" -L$ac_find_libraries"
33331 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33332 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33333 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33337 OPENGL_LIBS="-lGL -lGLU"
33338 { echo "$as_me:$LINENO: result: yes" >&5
33339 echo "${ECHO_T}yes" >&6; }
33341 { echo "$as_me:$LINENO: result: no" >&5
33342 echo "${ECHO_T}no" >&6; }
33345 { echo "$as_me:$LINENO: result: no" >&5
33346 echo "${ECHO_T}no" >&6; }
33349 if test "$found_gl" != 1; then
33350 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33351 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33354 for ac_dir in $SEARCH_LIB;
33356 for ac_extension in a so sl dylib dll.a; do
33357 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33358 ac_find_libraries=$ac_dir
33364 if test "$ac_find_libraries" != "" ; then
33366 if test "$ac_find_libraries" = "default location"; then
33369 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33371 if test $result = 0; then
33374 ac_path_to_link=" -L$ac_find_libraries"
33378 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33379 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33380 { echo "$as_me:$LINENO: result: yes" >&5
33381 echo "${ECHO_T}yes" >&6; }
33383 { echo "$as_me:$LINENO: result: no" >&5
33384 echo "${ECHO_T}no" >&6; }
33396 if test "x$OPENGL_LIBS" = "x"; then
33397 if test "$wxUSE_OPENGL" = "yes"; then
33398 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33399 echo "$as_me: error: OpenGL libraries not available" >&2;}
33400 { (exit 1); exit 1; }; }
33402 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33403 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33411 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33412 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33416 if test "$wxUSE_OPENGL" = "yes"; then
33418 cat >>confdefs.h <<\_ACEOF
33419 #define wxUSE_OPENGL 1
33422 cat >>confdefs.h <<\_ACEOF
33423 #define wxUSE_GLCANVAS 1
33426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33431 if test -n "$TOOLKIT" ; then
33432 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33437 if test "$wxUSE_SHARED" = "yes"; then
33441 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33442 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33447 if test "$wxUSE_SHARED" = "yes"; then
33451 *-*-cygwin* | *-*-mingw* )
33452 wx_cv_version_script=no
33456 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33457 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33458 if test "${wx_cv_version_script+set}" = set; then
33459 echo $ECHO_N "(cached) $ECHO_C" >&6
33462 echo "VER_1 { *; };" >conftest.sym
33463 echo "int main() { return 0; }" >conftest.cpp
33466 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33467 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33469 (eval $ac_try) 2>&5
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); }; } ; then
33473 if test -s conftest.stderr ; then
33474 wx_cv_version_script=no
33476 wx_cv_version_script=yes
33479 wx_cv_version_script=no
33482 if test $wx_cv_version_script = yes
33484 echo "struct B { virtual ~B() { } }; \
33485 struct D : public B { }; \
33486 void F() { D d; }" > conftest.cpp
33489 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33490 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33492 (eval $ac_try) 2>&5
33494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33495 (exit $ac_status); }; } &&
33497 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33498 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33500 (eval $ac_try) 2>&5
33502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503 (exit $ac_status); }; }
33506 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33507 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33509 (eval $ac_try) 2>&5
33511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33512 (exit $ac_status); }; }
33514 wx_cv_version_script=yes
33516 wx_cv_version_script=no
33521 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33522 rm -f conftest1.output conftest2.output conftest3.output
33525 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33526 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33528 if test $wx_cv_version_script = yes ; then
33529 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33535 if test "$wxUSE_VISIBILITY" != "no"; then
33538 if test -n "$GCC"; then
33539 CFLAGS_VISIBILITY="-fvisibility=hidden"
33540 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33541 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33542 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33543 if test "${wx_cv_cc_visibility+set}" = set; then
33544 echo $ECHO_N "(cached) $ECHO_C" >&6
33547 wx_save_CXXFLAGS="$CXXFLAGS"
33548 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33550 ac_cpp='$CXXCPP $CPPFLAGS'
33551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33555 cat >conftest.$ac_ext <<_ACEOF
33558 cat confdefs.h >>conftest.$ac_ext
33559 cat >>conftest.$ac_ext <<_ACEOF
33560 /* end confdefs.h. */
33562 /* we need gcc >= 4.0, older versions with visibility support
33563 didn't have class visibility: */
33564 #if defined(__GNUC__) && __GNUC__ < 4
33565 error this gcc is too old;
33568 /* visibility only makes sense for ELF shared libs: */
33569 #if !defined(__ELF__) && !defined(__APPLE__)
33570 error this platform has no visibility;
33573 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33574 extern __attribute__((__visibility__("default"))) int exportedvar;
33575 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33576 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33577 class __attribute__((__visibility__("default"))) Foo {
33589 rm -f conftest.$ac_objext
33590 if { (ac_try="$ac_compile"
33591 case "(($ac_try" in
33592 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33593 *) ac_try_echo
=$ac_try;;
33595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33596 (eval "$ac_compile") 2>conftest.er1
33598 grep -v '^ *+' conftest.er1
>conftest.err
33600 cat conftest.err
>&5
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); } && {
33603 test -z "$ac_cxx_werror_flag" ||
33604 test ! -s conftest.err
33605 } && test -s conftest.
$ac_objext; then
33606 wx_cv_cc_visibility
=yes
33608 echo "$as_me: failed program was:" >&5
33609 sed 's/^/| /' conftest.
$ac_ext >&5
33611 wx_cv_cc_visibility
=no
33614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33616 ac_cpp
='$CPP $CPPFLAGS'
33617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33621 CXXFLAGS
="$wx_save_CXXFLAGS"
33624 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33625 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33626 if test $wx_cv_cc_visibility = yes; then
33627 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33628 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33629 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33630 echo $ECHO_N "(cached) $ECHO_C" >&6
33633 wx_save_CXXFLAGS
="$CXXFLAGS"
33634 wx_save_LDFLAGS
="$LDFLAGS"
33635 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33636 LDFLAGS
="$LDFLAGS -shared -fPIC"
33638 ac_cpp
='$CXXCPP $CPPFLAGS'
33639 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33640 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33641 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33643 cat >conftest.
$ac_ext <<_ACEOF
33646 cat confdefs.h
>>conftest.
$ac_ext
33647 cat >>conftest.
$ac_ext <<_ACEOF
33648 /* end confdefs.h. */
33656 std::string s("hello");
33663 rm -f conftest.
$ac_objext conftest
$ac_exeext
33664 if { (ac_try
="$ac_link"
33665 case "(($ac_try" in
33666 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33667 *) ac_try_echo=$ac_try;;
33669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33670 (eval "$ac_link") 2>conftest.er1
33672 grep -v '^ *+' conftest.er1 >conftest.err
33674 cat conftest.err >&5
33675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676 (exit $ac_status); } && {
33677 test -z "$ac_cxx_werror_flag" ||
33678 test ! -s conftest.err
33679 } && test -s conftest$ac_exeext &&
33680 $as_test_x conftest$ac_exeext; then
33681 wx_cv_cc_broken_libstdcxx_visibility=no
33683 echo "$as_me: failed program was:" >&5
33684 sed 's/^/| /' conftest.$ac_ext >&5
33686 wx_cv_cc_broken_libstdcxx_visibility=yes
33689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33690 conftest$ac_exeext conftest.$ac_ext
33692 ac_cpp='$CPP $CPPFLAGS'
33693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33697 CXXFLAGS="$wx_save_CXXFLAGS"
33698 LDFLAGS="$wx_save_LDFLAGS"
33701 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33702 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33704 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33705 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33706 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33707 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33708 echo $ECHO_N "(cached) $ECHO_C" >&6
33712 ac_cpp='$CXXCPP $CPPFLAGS'
33713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33717 cat >conftest.$ac_ext <<_ACEOF
33720 cat confdefs.h >>conftest.$ac_ext
33721 cat >>conftest.$ac_ext <<_ACEOF
33722 /* end confdefs.h. */
33724 #pragma GCC visibility push(default)
33726 #pragma GCC visibility pop
33732 std::string s("hello");
33739 rm -f conftest.$ac_objext conftest$ac_exeext
33740 if { (ac_try="$ac_link"
33741 case "(($ac_try" in
33742 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33743 *) ac_try_echo
=$ac_try;;
33745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33746 (eval "$ac_link") 2>conftest.er1
33748 grep -v '^ *+' conftest.er1
>conftest.err
33750 cat conftest.err
>&5
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); } && {
33753 test -z "$ac_cxx_werror_flag" ||
33754 test ! -s conftest.err
33755 } && test -s conftest
$ac_exeext &&
33756 $as_test_x conftest
$ac_exeext; then
33757 wx_cv_cc_visibility_workaround
=no
33759 echo "$as_me: failed program was:" >&5
33760 sed 's/^/| /' conftest.
$ac_ext >&5
33762 wx_cv_cc_visibility_workaround
=yes
33765 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33766 conftest
$ac_exeext conftest.
$ac_ext
33768 ac_cpp
='$CPP $CPPFLAGS'
33769 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33770 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33771 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33776 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33777 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33779 if test $wx_cv_cc_visibility_workaround = no
; then
33780 wx_cv_cc_visibility
=no
33785 if test $wx_cv_cc_visibility = yes; then
33786 cat >>confdefs.h
<<\_ACEOF
33787 #define HAVE_VISIBILITY 1
33790 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33791 cat >>confdefs.h
<<\_ACEOF
33792 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33797 CFLAGS_VISIBILITY
=""
33798 CXXFLAGS_VISIBILITY
=""
33806 if test "x$SUNCXX" = xyes
; then
33807 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33808 WXCONFIG_RPATH
="-R\$libdir"
33811 *-*-linux* | *-*-gnu* )
33812 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33813 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33818 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33820 saveLdflags
="$LDFLAGS"
33821 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33822 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33823 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33824 cat >conftest.
$ac_ext <<_ACEOF
33827 cat confdefs.h
>>conftest.
$ac_ext
33828 cat >>conftest.
$ac_ext <<_ACEOF
33829 /* end confdefs.h. */
33839 rm -f conftest.
$ac_objext conftest
$ac_exeext
33840 if { (ac_try
="$ac_link"
33841 case "(($ac_try" in
33842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33843 *) ac_try_echo=$ac_try;;
33845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33846 (eval "$ac_link") 2>conftest.er1
33848 grep -v '^ *+' conftest.er1 >conftest.err
33850 cat conftest.err >&5
33851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33852 (exit $ac_status); } && {
33853 test -z "$ac_c_werror_flag" ||
33854 test ! -s conftest.err
33855 } && test -s conftest$ac_exeext &&
33856 $as_test_x conftest$ac_exeext; then
33858 { echo "$as_me:$LINENO: result: yes" >&5
33859 echo "${ECHO_T}yes" >&6; }
33860 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33861 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33864 echo "$as_me: failed program was:" >&5
33865 sed 's/^/| /' conftest.$ac_ext >&5
33868 { echo "$as_me:$LINENO: result: no" >&5
33869 echo "${ECHO_T}no" >&6; }
33870 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33871 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33872 LDFLAGS="$saveLdflags -Wl,-R,/"
33873 cat >conftest.$ac_ext <<_ACEOF
33876 cat confdefs.h >>conftest.$ac_ext
33877 cat >>conftest.$ac_ext <<_ACEOF
33878 /* end confdefs.h. */
33888 rm -f conftest.$ac_objext conftest$ac_exeext
33889 if { (ac_try="$ac_link"
33890 case "(($ac_try" in
33891 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33892 *) ac_try_echo
=$ac_try;;
33894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33895 (eval "$ac_link") 2>conftest.er1
33897 grep -v '^ *+' conftest.er1
>conftest.err
33899 cat conftest.err
>&5
33900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33901 (exit $ac_status); } && {
33902 test -z "$ac_c_werror_flag" ||
33903 test ! -s conftest.err
33904 } && test -s conftest
$ac_exeext &&
33905 $as_test_x conftest
$ac_exeext; then
33907 { echo "$as_me:$LINENO: result: yes" >&5
33908 echo "${ECHO_T}yes" >&6; }
33909 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33910 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33913 echo "$as_me: failed program was:" >&5
33914 sed 's/^/| /' conftest.
$ac_ext >&5
33917 { echo "$as_me:$LINENO: result: no" >&5
33918 echo "${ECHO_T}no" >&6; }
33922 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33923 conftest
$ac_exeext conftest.
$ac_ext
33927 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33928 conftest
$ac_exeext conftest.
$ac_ext
33929 LDFLAGS
="$saveLdflags"
33933 install_name_tool
=`which install_name_tool`
33934 if test "$install_name_tool" -a -x "$install_name_tool"; then
33935 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33936 cat <<EOF >change-install-names
33938 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33939 inst_cmd="install_name_tool "
33940 for i in \${libnames} ; do
33941 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33945 chmod +x change
-install-names
33949 *-*-cygwin* | *-*-mingw32* )
33953 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33954 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33960 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33962 if test $wxUSE_RPATH = "no"; then
33963 SAMPLES_RPATH_FLAG
=''
33964 SAMPLES_RPATH_POSTLINK
=''
33972 config_linkage_component
="-static"
33979 lib_unicode_suffix
=
33981 if test "$wxUSE_UNICODE" = "yes"; then
33982 lib_unicode_suffix
=u
33983 WX_CHARTYPE
="unicode"
33988 WX_DEBUGTYPE
="release"
33990 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33992 WX_DEBUGTYPE
="debug"
33996 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33997 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34000 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34004 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34006 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34008 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34010 if test "$cross_compiling" = "yes"; then
34011 HOST_SUFFIX
="-$host_alias"
34012 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
34013 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
34016 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34017 if test "${TOOLKIT_DIR}" = "os2"; then
34018 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34020 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34025 if test "$wxUSE_COCOA" = 1; then
34028 ac_cpp
='$CPP $CPPFLAGS'
34029 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34030 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34031 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34035 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34036 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34037 cat >conftest.
$ac_ext <<_ACEOF
34040 cat confdefs.h
>>conftest.
$ac_ext
34041 cat >>conftest.
$ac_ext <<_ACEOF
34042 /* end confdefs.h. */
34043 #include <AppKit/NSEvent.h>
34044 #include <CoreFoundation/CoreFoundation.h>
34054 rm -f conftest.
$ac_objext
34055 if { (ac_try
="$ac_compile"
34056 case "(($ac_try" in
34057 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34058 *) ac_try_echo=$ac_try;;
34060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34061 (eval "$ac_compile") 2>conftest.er1
34063 grep -v '^ *+' conftest.er1 >conftest.err
34065 cat conftest.err >&5
34066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067 (exit $ac_status); } && {
34068 test -z "$ac_c_werror_flag" ||
34069 test ! -s conftest.err
34070 } && test -s conftest.$ac_objext; then
34071 { echo "$as_me:$LINENO: result: no" >&5
34072 echo "${ECHO_T}no" >&6; }
34074 echo "$as_me: failed program was:" >&5
34075 sed 's/^/| /' conftest.$ac_ext >&5
34077 { echo "$as_me:$LINENO: result: yes" >&5
34078 echo "${ECHO_T}yes" >&6; }
34079 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34080 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34081 cat >conftest.$ac_ext <<_ACEOF
34084 cat confdefs.h >>conftest.$ac_ext
34085 cat >>conftest.$ac_ext <<_ACEOF
34086 /* end confdefs.h. */
34087 #define __Point__ 1
34088 #include <AppKit/NSEvent.h>
34089 #include <CoreFoundation/CoreFoundation.h>
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 { echo "$as_me:$LINENO: result: yes" >&5
34117 echo "${ECHO_T}yes" >&6; }
34118 cat >>confdefs.h
<<\_ACEOF
34119 #define __Point__ 1
34124 echo "$as_me: failed program was:" >&5
34125 sed 's/^/| /' conftest.
$ac_ext >&5
34127 { { echo "$as_me:$LINENO: error: no
34128 See \`config.log' for more details." >&5
34129 echo "$as_me: error: no
34130 See \`config.log' for more details." >&2;}
34131 { (exit 1); exit 1; }; }
34135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34141 ac_cpp
='$CPP $CPPFLAGS'
34142 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34143 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34144 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34149 { echo "$as_me:$LINENO: checking for mode_t" >&5
34150 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34151 if test "${ac_cv_type_mode_t+set}" = set; then
34152 echo $ECHO_N "(cached) $ECHO_C" >&6
34154 cat >conftest.
$ac_ext <<_ACEOF
34157 cat confdefs.h
>>conftest.
$ac_ext
34158 cat >>conftest.
$ac_ext <<_ACEOF
34159 /* end confdefs.h. */
34160 $ac_includes_default
34161 typedef mode_t ac__type_new_;
34165 if ((ac__type_new_ *) 0)
34167 if (sizeof (ac__type_new_))
34173 rm -f conftest.
$ac_objext
34174 if { (ac_try
="$ac_compile"
34175 case "(($ac_try" in
34176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34177 *) ac_try_echo=$ac_try;;
34179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34180 (eval "$ac_compile") 2>conftest.er1
34182 grep -v '^ *+' conftest.er1 >conftest.err
34184 cat conftest.err >&5
34185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34186 (exit $ac_status); } && {
34187 test -z "$ac_c_werror_flag" ||
34188 test ! -s conftest.err
34189 } && test -s conftest.$ac_objext; then
34190 ac_cv_type_mode_t=yes
34192 echo "$as_me: failed program was:" >&5
34193 sed 's/^/| /' conftest.$ac_ext >&5
34195 ac_cv_type_mode_t=no
34198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34200 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34201 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34202 if test $ac_cv_type_mode_t = yes; then
34206 cat >>confdefs.h <<_ACEOF
34212 { echo "$as_me:$LINENO: checking for off_t" >&5
34213 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34214 if test "${ac_cv_type_off_t+set}" = set; then
34215 echo $ECHO_N "(cached) $ECHO_C" >&6
34217 cat >conftest.$ac_ext <<_ACEOF
34220 cat confdefs.h >>conftest.$ac_ext
34221 cat >>conftest.$ac_ext <<_ACEOF
34222 /* end confdefs.h. */
34223 $ac_includes_default
34224 typedef off_t ac__type_new_;
34228 if ((ac__type_new_ *) 0)
34230 if (sizeof (ac__type_new_))
34236 rm -f conftest.$ac_objext
34237 if { (ac_try="$ac_compile"
34238 case "(($ac_try" in
34239 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34240 *) ac_try_echo
=$ac_try;;
34242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34243 (eval "$ac_compile") 2>conftest.er1
34245 grep -v '^ *+' conftest.er1
>conftest.err
34247 cat conftest.err
>&5
34248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34249 (exit $ac_status); } && {
34250 test -z "$ac_c_werror_flag" ||
34251 test ! -s conftest.err
34252 } && test -s conftest.
$ac_objext; then
34253 ac_cv_type_off_t
=yes
34255 echo "$as_me: failed program was:" >&5
34256 sed 's/^/| /' conftest.
$ac_ext >&5
34258 ac_cv_type_off_t
=no
34261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34263 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34264 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34265 if test $ac_cv_type_off_t = yes; then
34269 cat >>confdefs.h
<<_ACEOF
34270 #define off_t long int
34275 { echo "$as_me:$LINENO: checking for pid_t" >&5
34276 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34277 if test "${ac_cv_type_pid_t+set}" = set; then
34278 echo $ECHO_N "(cached) $ECHO_C" >&6
34280 cat >conftest.
$ac_ext <<_ACEOF
34283 cat confdefs.h
>>conftest.
$ac_ext
34284 cat >>conftest.
$ac_ext <<_ACEOF
34285 /* end confdefs.h. */
34286 $ac_includes_default
34287 typedef pid_t ac__type_new_;
34291 if ((ac__type_new_ *) 0)
34293 if (sizeof (ac__type_new_))
34299 rm -f conftest.
$ac_objext
34300 if { (ac_try
="$ac_compile"
34301 case "(($ac_try" in
34302 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34303 *) ac_try_echo=$ac_try;;
34305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34306 (eval "$ac_compile") 2>conftest.er1
34308 grep -v '^ *+' conftest.er1 >conftest.err
34310 cat conftest.err >&5
34311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34312 (exit $ac_status); } && {
34313 test -z "$ac_c_werror_flag" ||
34314 test ! -s conftest.err
34315 } && test -s conftest.$ac_objext; then
34316 ac_cv_type_pid_t=yes
34318 echo "$as_me: failed program was:" >&5
34319 sed 's/^/| /' conftest.$ac_ext >&5
34321 ac_cv_type_pid_t=no
34324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34326 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34327 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34328 if test $ac_cv_type_pid_t = yes; then
34332 cat >>confdefs.h <<_ACEOF
34338 { echo "$as_me:$LINENO: checking for size_t" >&5
34339 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34340 if test "${ac_cv_type_size_t+set}" = set; then
34341 echo $ECHO_N "(cached) $ECHO_C" >&6
34343 cat >conftest.$ac_ext <<_ACEOF
34346 cat confdefs.h >>conftest.$ac_ext
34347 cat >>conftest.$ac_ext <<_ACEOF
34348 /* end confdefs.h. */
34349 $ac_includes_default
34350 typedef size_t ac__type_new_;
34354 if ((ac__type_new_ *) 0)
34356 if (sizeof (ac__type_new_))
34362 rm -f conftest.$ac_objext
34363 if { (ac_try="$ac_compile"
34364 case "(($ac_try" in
34365 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34366 *) ac_try_echo
=$ac_try;;
34368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34369 (eval "$ac_compile") 2>conftest.er1
34371 grep -v '^ *+' conftest.er1
>conftest.err
34373 cat conftest.err
>&5
34374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34375 (exit $ac_status); } && {
34376 test -z "$ac_c_werror_flag" ||
34377 test ! -s conftest.err
34378 } && test -s conftest.
$ac_objext; then
34379 ac_cv_type_size_t
=yes
34381 echo "$as_me: failed program was:" >&5
34382 sed 's/^/| /' conftest.
$ac_ext >&5
34384 ac_cv_type_size_t
=no
34387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34389 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34390 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34391 if test $ac_cv_type_size_t = yes; then
34395 cat >>confdefs.h
<<_ACEOF
34396 #define size_t unsigned int
34402 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34403 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34404 if test "${ac_cv_type_ssize_t+set}" = set; then
34405 echo $ECHO_N "(cached) $ECHO_C" >&6
34407 cat >conftest.
$ac_ext <<_ACEOF
34410 cat confdefs.h
>>conftest.
$ac_ext
34411 cat >>conftest.
$ac_ext <<_ACEOF
34412 /* end confdefs.h. */
34413 $ac_includes_default
34414 typedef ssize_t ac__type_new_;
34418 if ((ac__type_new_ *) 0)
34420 if (sizeof (ac__type_new_))
34426 rm -f conftest.
$ac_objext
34427 if { (ac_try
="$ac_compile"
34428 case "(($ac_try" in
34429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34430 *) ac_try_echo=$ac_try;;
34432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34433 (eval "$ac_compile") 2>conftest.er1
34435 grep -v '^ *+' conftest.er1 >conftest.err
34437 cat conftest.err >&5
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); } && {
34440 test -z "$ac_c_werror_flag" ||
34441 test ! -s conftest.err
34442 } && test -s conftest.$ac_objext; then
34443 ac_cv_type_ssize_t=yes
34445 echo "$as_me: failed program was:" >&5
34446 sed 's/^/| /' conftest.$ac_ext >&5
34448 ac_cv_type_ssize_t=no
34451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34453 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34454 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34455 if test $ac_cv_type_ssize_t = yes; then
34457 cat >>confdefs.h <<_ACEOF
34458 #define HAVE_SSIZE_T 1
34466 ac_cpp='$CXXCPP $CPPFLAGS'
34467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34470 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34471 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34472 if test "${wx_cv_size_t_is_uint+set}" = set; then
34473 echo $ECHO_N "(cached) $ECHO_C" >&6
34476 cat >conftest.$ac_ext <<_ACEOF
34479 cat confdefs.h >>conftest.$ac_ext
34480 cat >>conftest.$ac_ext <<_ACEOF
34481 /* end confdefs.h. */
34482 #include <stddef.h>
34489 struct Foo { void foo(size_t); void foo(unsigned int); };
34497 rm -f conftest.$ac_objext
34498 if { (ac_try="$ac_compile"
34499 case "(($ac_try" in
34500 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34501 *) ac_try_echo
=$ac_try;;
34503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34504 (eval "$ac_compile") 2>conftest.er1
34506 grep -v '^ *+' conftest.er1
>conftest.err
34508 cat conftest.err
>&5
34509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34510 (exit $ac_status); } && {
34511 test -z "$ac_cxx_werror_flag" ||
34512 test ! -s conftest.err
34513 } && test -s conftest.
$ac_objext; then
34514 wx_cv_size_t_is_uint
=no
34516 echo "$as_me: failed program was:" >&5
34517 sed 's/^/| /' conftest.
$ac_ext >&5
34519 wx_cv_size_t_is_uint
=yes
34523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34527 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34528 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34530 if test "$wx_cv_size_t_is_uint" = "yes"; then
34531 cat >>confdefs.h
<<\_ACEOF
34532 #define wxSIZE_T_IS_UINT 1
34536 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34537 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34538 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34539 echo $ECHO_N "(cached) $ECHO_C" >&6
34541 cat >conftest.
$ac_ext <<_ACEOF
34544 cat confdefs.h
>>conftest.
$ac_ext
34545 cat >>conftest.
$ac_ext <<_ACEOF
34546 /* end confdefs.h. */
34547 #include <stddef.h>
34554 struct Foo { void foo(size_t); void foo(unsigned long); };
34562 rm -f conftest.
$ac_objext
34563 if { (ac_try
="$ac_compile"
34564 case "(($ac_try" in
34565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34566 *) ac_try_echo=$ac_try;;
34568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34569 (eval "$ac_compile") 2>conftest.er1
34571 grep -v '^ *+' conftest.er1 >conftest.err
34573 cat conftest.err >&5
34574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34575 (exit $ac_status); } && {
34576 test -z "$ac_cxx_werror_flag" ||
34577 test ! -s conftest.err
34578 } && test -s conftest.$ac_objext; then
34579 wx_cv_size_t_is_ulong=no
34581 echo "$as_me: failed program was:" >&5
34582 sed 's/^/| /' conftest.$ac_ext >&5
34584 wx_cv_size_t_is_ulong=yes
34588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34591 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34592 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34594 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34595 cat >>confdefs.h <<\_ACEOF
34596 #define wxSIZE_T_IS_ULONG 1
34602 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34603 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34604 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34605 echo $ECHO_N "(cached) $ECHO_C" >&6
34607 cat >conftest.$ac_ext <<_ACEOF
34610 cat confdefs.h >>conftest.$ac_ext
34611 cat >>conftest.$ac_ext <<_ACEOF
34612 /* end confdefs.h. */
34620 struct Foo { void foo(wchar_t);
34621 void foo(unsigned short);
34622 void foo(unsigned int);
34623 void foo(unsigned long); };
34631 rm -f conftest.$ac_objext
34632 if { (ac_try="$ac_compile"
34633 case "(($ac_try" in
34634 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34635 *) ac_try_echo
=$ac_try;;
34637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34638 (eval "$ac_compile") 2>conftest.er1
34640 grep -v '^ *+' conftest.er1
>conftest.err
34642 cat conftest.err
>&5
34643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34644 (exit $ac_status); } && {
34645 test -z "$ac_cxx_werror_flag" ||
34646 test ! -s conftest.err
34647 } && test -s conftest.
$ac_objext; then
34648 wx_cv_wchar_t_is_separate_type
=yes
34650 echo "$as_me: failed program was:" >&5
34651 sed 's/^/| /' conftest.
$ac_ext >&5
34653 wx_cv_wchar_t_is_separate_type
=no
34657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34660 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34661 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34663 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34664 cat >>confdefs.h
<<\_ACEOF
34665 #define wxWCHAR_T_IS_REAL_TYPE 1
34669 cat >>confdefs.h
<<\_ACEOF
34670 #define wxWCHAR_T_IS_REAL_TYPE 0
34676 ac_cpp
='$CPP $CPPFLAGS'
34677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34682 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34683 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34684 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34685 echo $ECHO_N "(cached) $ECHO_C" >&6
34688 cat >conftest.
$ac_ext <<_ACEOF
34691 cat confdefs.h
>>conftest.
$ac_ext
34692 cat >>conftest.
$ac_ext <<_ACEOF
34693 /* end confdefs.h. */
34707 rm -f conftest.
$ac_objext
34708 if { (ac_try
="$ac_compile"
34709 case "(($ac_try" in
34710 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34711 *) ac_try_echo=$ac_try;;
34713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34714 (eval "$ac_compile") 2>conftest.er1
34716 grep -v '^ *+' conftest.er1 >conftest.err
34718 cat conftest.err >&5
34719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 (exit $ac_status); } && {
34721 test -z "$ac_c_werror_flag" ||
34722 test ! -s conftest.err
34723 } && test -s conftest.$ac_objext; then
34725 wx_cv_struct_pw_gecos=yes
34728 echo "$as_me: failed program was:" >&5
34729 sed 's/^/| /' conftest.$ac_ext >&5
34732 wx_cv_struct_pw_gecos=no
34737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34741 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34742 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34744 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34745 cat >>confdefs.h <<\_ACEOF
34746 #define HAVE_PW_GECOS 1
34752 if test "$wxUSE_WCHAR_T" = "yes"; then
34753 cat >>confdefs.h <<\_ACEOF
34754 #define wxUSE_WCHAR_T 1
34761 for ac_func in wcslen
34763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34764 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34766 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34767 echo $ECHO_N "(cached) $ECHO_C" >&6
34769 cat >conftest.$ac_ext <<_ACEOF
34772 cat confdefs.h >>conftest.$ac_ext
34773 cat >>conftest.$ac_ext <<_ACEOF
34774 /* end confdefs.h. */
34775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34777 #define $ac_func innocuous_$ac_func
34779 /* System header to define __stub macros and hopefully few prototypes,
34780 which can conflict with char $ac_func (); below.
34781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34782 <limits.h> exists even on freestanding compilers. */
34785 # include <limits.h>
34787 # include <assert.h>
34792 /* Override any GCC internal prototype to avoid an error.
34793 Use char because int might match the return type of a GCC
34794 builtin and then its argument prototype would still apply. */
34799 /* The GNU C library defines this for functions which it implements
34800 to always fail with ENOSYS. Some functions are actually named
34801 something starting with __ and the normal name is an alias. */
34802 #if defined __stub_$ac_func || defined __stub___$ac_func
34809 return $ac_func ();
34814 rm -f conftest.$ac_objext conftest$ac_exeext
34815 if { (ac_try="$ac_link"
34816 case "(($ac_try" in
34817 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34818 *) ac_try_echo
=$ac_try;;
34820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34821 (eval "$ac_link") 2>conftest.er1
34823 grep -v '^ *+' conftest.er1
>conftest.err
34825 cat conftest.err
>&5
34826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34827 (exit $ac_status); } && {
34828 test -z "$ac_c_werror_flag" ||
34829 test ! -s conftest.err
34830 } && test -s conftest
$ac_exeext &&
34831 $as_test_x conftest
$ac_exeext; then
34832 eval "$as_ac_var=yes"
34834 echo "$as_me: failed program was:" >&5
34835 sed 's/^/| /' conftest.
$ac_ext >&5
34837 eval "$as_ac_var=no"
34840 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34841 conftest
$ac_exeext conftest.
$ac_ext
34843 ac_res
=`eval echo '${'$as_ac_var'}'`
34844 { echo "$as_me:$LINENO: result: $ac_res" >&5
34845 echo "${ECHO_T}$ac_res" >&6; }
34846 if test `eval echo '${'$as_ac_var'}'` = yes; then
34847 cat >>confdefs.h
<<_ACEOF
34848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34855 if test "$WCSLEN_FOUND" = 0; then
34856 if test "$TOOLKIT" = "MSW"; then
34857 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34858 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34859 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34860 echo $ECHO_N "(cached) $ECHO_C" >&6
34862 ac_check_lib_save_LIBS
=$LIBS
34863 LIBS
="-lmsvcrt $LIBS"
34864 cat >conftest.
$ac_ext <<_ACEOF
34867 cat confdefs.h
>>conftest.
$ac_ext
34868 cat >>conftest.
$ac_ext <<_ACEOF
34869 /* end confdefs.h. */
34871 /* Override any GCC internal prototype to avoid an error.
34872 Use char because int might match the return type of a GCC
34873 builtin and then its argument prototype would still apply. */
34886 rm -f conftest.
$ac_objext conftest
$ac_exeext
34887 if { (ac_try
="$ac_link"
34888 case "(($ac_try" in
34889 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34890 *) ac_try_echo=$ac_try;;
34892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34893 (eval "$ac_link") 2>conftest.er1
34895 grep -v '^ *+' conftest.er1 >conftest.err
34897 cat conftest.err >&5
34898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34899 (exit $ac_status); } && {
34900 test -z "$ac_c_werror_flag" ||
34901 test ! -s conftest.err
34902 } && test -s conftest$ac_exeext &&
34903 $as_test_x conftest$ac_exeext; then
34904 ac_cv_lib_msvcrt_wcslen=yes
34906 echo "$as_me: failed program was:" >&5
34907 sed 's/^/| /' conftest.$ac_ext >&5
34909 ac_cv_lib_msvcrt_wcslen=no
34912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34913 conftest$ac_exeext conftest.$ac_ext
34914 LIBS=$ac_check_lib_save_LIBS
34916 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34917 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34918 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34923 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34924 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34925 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34926 echo $ECHO_N "(cached) $ECHO_C" >&6
34928 ac_check_lib_save_LIBS=$LIBS
34930 cat >conftest.$ac_ext <<_ACEOF
34933 cat confdefs.h >>conftest.$ac_ext
34934 cat >>conftest.$ac_ext <<_ACEOF
34935 /* end confdefs.h. */
34937 /* Override any GCC internal prototype to avoid an error.
34938 Use char because int might match the return type of a GCC
34939 builtin and then its argument prototype would still apply. */
34952 rm -f conftest.$ac_objext conftest$ac_exeext
34953 if { (ac_try="$ac_link"
34954 case "(($ac_try" in
34955 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34956 *) ac_try_echo
=$ac_try;;
34958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34959 (eval "$ac_link") 2>conftest.er1
34961 grep -v '^ *+' conftest.er1
>conftest.err
34963 cat conftest.err
>&5
34964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34965 (exit $ac_status); } && {
34966 test -z "$ac_c_werror_flag" ||
34967 test ! -s conftest.err
34968 } && test -s conftest
$ac_exeext &&
34969 $as_test_x conftest
$ac_exeext; then
34970 ac_cv_lib_w_wcslen
=yes
34972 echo "$as_me: failed program was:" >&5
34973 sed 's/^/| /' conftest.
$ac_ext >&5
34975 ac_cv_lib_w_wcslen
=no
34978 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34979 conftest
$ac_exeext conftest.
$ac_ext
34980 LIBS
=$ac_check_lib_save_LIBS
34982 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34983 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34984 if test $ac_cv_lib_w_wcslen = yes; then
34994 if test "$WCSLEN_FOUND" = 1; then
34995 cat >>confdefs.h
<<\_ACEOF
34996 #define HAVE_WCSLEN 1
35002 for ac_func
in wcsdup
35004 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35005 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35007 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35008 echo $ECHO_N "(cached) $ECHO_C" >&6
35010 cat >conftest.
$ac_ext <<_ACEOF
35013 cat confdefs.h
>>conftest.
$ac_ext
35014 cat >>conftest.
$ac_ext <<_ACEOF
35015 /* end confdefs.h. */
35016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35018 #define $ac_func innocuous_$ac_func
35020 /* System header to define __stub macros and hopefully few prototypes,
35021 which can conflict with char $ac_func (); below.
35022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35023 <limits.h> exists even on freestanding compilers. */
35026 # include <limits.h>
35028 # include <assert.h>
35033 /* Override any GCC internal prototype to avoid an error.
35034 Use char because int might match the return type of a GCC
35035 builtin and then its argument prototype would still apply. */
35040 /* The GNU C library defines this for functions which it implements
35041 to always fail with ENOSYS. Some functions are actually named
35042 something starting with __ and the normal name is an alias. */
35043 #if defined __stub_$ac_func || defined __stub___$ac_func
35050 return $ac_func ();
35055 rm -f conftest.
$ac_objext conftest
$ac_exeext
35056 if { (ac_try
="$ac_link"
35057 case "(($ac_try" in
35058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35059 *) ac_try_echo=$ac_try;;
35061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35062 (eval "$ac_link") 2>conftest.er1
35064 grep -v '^ *+' conftest.er1 >conftest.err
35066 cat conftest.err >&5
35067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35068 (exit $ac_status); } && {
35069 test -z "$ac_c_werror_flag" ||
35070 test ! -s conftest.err
35071 } && test -s conftest$ac_exeext &&
35072 $as_test_x conftest$ac_exeext; then
35073 eval "$as_ac_var=yes"
35075 echo "$as_me: failed program was:" >&5
35076 sed 's/^/| /' conftest.$ac_ext >&5
35078 eval "$as_ac_var=no"
35081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35082 conftest$ac_exeext conftest.$ac_ext
35084 ac_res=`eval echo '${'$as_ac_var'}'`
35085 { echo "$as_me:$LINENO: result: $ac_res" >&5
35086 echo "${ECHO_T}$ac_res" >&6; }
35087 if test `eval echo '${'$as_ac_var'}'` = yes; then
35088 cat >>confdefs.h <<_ACEOF
35089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35096 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35097 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35100 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35101 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35102 if test "${ac_cv_type_mbstate_t+set}" = set; then
35103 echo $ECHO_N "(cached) $ECHO_C" >&6
35105 cat >conftest.$ac_ext <<_ACEOF
35108 cat confdefs.h >>conftest.$ac_ext
35109 cat >>conftest.$ac_ext <<_ACEOF
35110 /* end confdefs.h. */
35113 typedef mbstate_t ac__type_new_;
35117 if ((ac__type_new_ *) 0)
35119 if (sizeof (ac__type_new_))
35125 rm -f conftest.$ac_objext
35126 if { (ac_try="$ac_compile"
35127 case "(($ac_try" in
35128 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35129 *) ac_try_echo
=$ac_try;;
35131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35132 (eval "$ac_compile") 2>conftest.er1
35134 grep -v '^ *+' conftest.er1
>conftest.err
35136 cat conftest.err
>&5
35137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35138 (exit $ac_status); } && {
35139 test -z "$ac_c_werror_flag" ||
35140 test ! -s conftest.err
35141 } && test -s conftest.
$ac_objext; then
35142 ac_cv_type_mbstate_t
=yes
35144 echo "$as_me: failed program was:" >&5
35145 sed 's/^/| /' conftest.
$ac_ext >&5
35147 ac_cv_type_mbstate_t
=no
35150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35152 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35153 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35154 if test $ac_cv_type_mbstate_t = yes; then
35156 cat >>confdefs.h
<<_ACEOF
35157 #define HAVE_MBSTATE_T 1
35161 for ac_func
in wcsrtombs
35163 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35164 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35166 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35169 cat >conftest.
$ac_ext <<_ACEOF
35172 cat confdefs.h
>>conftest.
$ac_ext
35173 cat >>conftest.
$ac_ext <<_ACEOF
35174 /* end confdefs.h. */
35175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35177 #define $ac_func innocuous_$ac_func
35179 /* System header to define __stub macros and hopefully few prototypes,
35180 which can conflict with char $ac_func (); below.
35181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35182 <limits.h> exists even on freestanding compilers. */
35185 # include <limits.h>
35187 # include <assert.h>
35192 /* Override any GCC internal prototype to avoid an error.
35193 Use char because int might match the return type of a GCC
35194 builtin and then its argument prototype would still apply. */
35199 /* The GNU C library defines this for functions which it implements
35200 to always fail with ENOSYS. Some functions are actually named
35201 something starting with __ and the normal name is an alias. */
35202 #if defined __stub_$ac_func || defined __stub___$ac_func
35209 return $ac_func ();
35214 rm -f conftest.
$ac_objext conftest
$ac_exeext
35215 if { (ac_try
="$ac_link"
35216 case "(($ac_try" in
35217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35218 *) ac_try_echo=$ac_try;;
35220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35221 (eval "$ac_link") 2>conftest.er1
35223 grep -v '^ *+' conftest.er1 >conftest.err
35225 cat conftest.err >&5
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); } && {
35228 test -z "$ac_c_werror_flag" ||
35229 test ! -s conftest.err
35230 } && test -s conftest$ac_exeext &&
35231 $as_test_x conftest$ac_exeext; then
35232 eval "$as_ac_var=yes"
35234 echo "$as_me: failed program was:" >&5
35235 sed 's/^/| /' conftest.$ac_ext >&5
35237 eval "$as_ac_var=no"
35240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35241 conftest$ac_exeext conftest.$ac_ext
35243 ac_res=`eval echo '${'$as_ac_var'}'`
35244 { echo "$as_me:$LINENO: result: $ac_res" >&5
35245 echo "${ECHO_T}$ac_res" >&6; }
35246 if test `eval echo '${'$as_ac_var'}'` = yes; then
35247 cat >>confdefs.h <<_ACEOF
35248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35257 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35258 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35264 for ac_func in snprintf vsnprintf vsscanf
35266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35267 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35269 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35270 echo $ECHO_N "(cached) $ECHO_C" >&6
35272 cat >conftest.$ac_ext <<_ACEOF
35275 cat confdefs.h >>conftest.$ac_ext
35276 cat >>conftest.$ac_ext <<_ACEOF
35277 /* end confdefs.h. */
35278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35280 #define $ac_func innocuous_$ac_func
35282 /* System header to define __stub macros and hopefully few prototypes,
35283 which can conflict with char $ac_func (); below.
35284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35285 <limits.h> exists even on freestanding compilers. */
35288 # include <limits.h>
35290 # include <assert.h>
35295 /* Override any GCC internal prototype to avoid an error.
35296 Use char because int might match the return type of a GCC
35297 builtin and then its argument prototype would still apply. */
35302 /* The GNU C library defines this for functions which it implements
35303 to always fail with ENOSYS. Some functions are actually named
35304 something starting with __ and the normal name is an alias. */
35305 #if defined __stub_$ac_func || defined __stub___$ac_func
35312 return $ac_func ();
35317 rm -f conftest.$ac_objext conftest$ac_exeext
35318 if { (ac_try="$ac_link"
35319 case "(($ac_try" in
35320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35321 *) ac_try_echo
=$ac_try;;
35323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35324 (eval "$ac_link") 2>conftest.er1
35326 grep -v '^ *+' conftest.er1
>conftest.err
35328 cat conftest.err
>&5
35329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35330 (exit $ac_status); } && {
35331 test -z "$ac_c_werror_flag" ||
35332 test ! -s conftest.err
35333 } && test -s conftest
$ac_exeext &&
35334 $as_test_x conftest
$ac_exeext; then
35335 eval "$as_ac_var=yes"
35337 echo "$as_me: failed program was:" >&5
35338 sed 's/^/| /' conftest.
$ac_ext >&5
35340 eval "$as_ac_var=no"
35343 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35344 conftest
$ac_exeext conftest.
$ac_ext
35346 ac_res
=`eval echo '${'$as_ac_var'}'`
35347 { echo "$as_me:$LINENO: result: $ac_res" >&5
35348 echo "${ECHO_T}$ac_res" >&6; }
35349 if test `eval echo '${'$as_ac_var'}'` = yes; then
35350 cat >>confdefs.h
<<_ACEOF
35351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35359 ac_cpp
='$CXXCPP $CPPFLAGS'
35360 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35361 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35362 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35364 if test "$ac_cv_func_vsnprintf" = "yes"; then
35365 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35366 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35367 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35368 echo $ECHO_N "(cached) $ECHO_C" >&6
35371 cat >conftest.
$ac_ext <<_ACEOF
35374 cat confdefs.h
>>conftest.
$ac_ext
35375 cat >>conftest.
$ac_ext <<_ACEOF
35376 /* end confdefs.h. */
35379 #include <stdarg.h>
35381 #if __MSL__ >= 0x6000
35383 using namespace std;
35393 vsnprintf(buf, 10u, "%s", ap);
35399 rm -f conftest.
$ac_objext
35400 if { (ac_try
="$ac_compile"
35401 case "(($ac_try" in
35402 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35403 *) ac_try_echo=$ac_try;;
35405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35406 (eval "$ac_compile") 2>conftest.er1
35408 grep -v '^ *+' conftest.er1 >conftest.err
35410 cat conftest.err >&5
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); } && {
35413 test -z "$ac_cxx_werror_flag" ||
35414 test ! -s conftest.err
35415 } && test -s conftest.$ac_objext; then
35416 wx_cv_func_vsnprintf_decl=yes
35418 echo "$as_me: failed program was:" >&5
35419 sed 's/^/| /' conftest.$ac_ext >&5
35421 wx_cv_func_vsnprintf_decl=no
35425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35429 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35430 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35432 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35433 cat >>confdefs.h <<\_ACEOF
35434 #define HAVE_VSNPRINTF_DECL 1
35438 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35439 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35440 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35441 echo $ECHO_N "(cached) $ECHO_C" >&6
35444 cat >conftest.$ac_ext <<_ACEOF
35447 cat confdefs.h >>conftest.$ac_ext
35448 cat >>conftest.$ac_ext <<_ACEOF
35449 /* end confdefs.h. */
35452 #include <stdarg.h>
35454 #if __MSL__ >= 0x6000
35456 using namespace std;
35466 const char *fmt = "%s";
35467 vsnprintf(buf, 10u, fmt, ap);
35473 rm -f conftest.$ac_objext
35474 if { (ac_try="$ac_compile"
35475 case "(($ac_try" in
35476 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35477 *) ac_try_echo
=$ac_try;;
35479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35480 (eval "$ac_compile") 2>conftest.er1
35482 grep -v '^ *+' conftest.er1
>conftest.err
35484 cat conftest.err
>&5
35485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35486 (exit $ac_status); } && {
35487 test -z "$ac_cxx_werror_flag" ||
35488 test ! -s conftest.err
35489 } && test -s conftest.
$ac_objext; then
35490 wx_cv_func_broken_vsnprintf_decl
=no
35492 echo "$as_me: failed program was:" >&5
35493 sed 's/^/| /' conftest.
$ac_ext >&5
35495 wx_cv_func_broken_vsnprintf_decl
=yes
35499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35503 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35504 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35506 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35507 cat >>confdefs.h
<<\_ACEOF
35508 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35515 if test "$ac_cv_func_snprintf" = "yes"; then
35516 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35517 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35518 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35519 echo $ECHO_N "(cached) $ECHO_C" >&6
35522 cat >conftest.
$ac_ext <<_ACEOF
35525 cat confdefs.h
>>conftest.
$ac_ext
35526 cat >>conftest.
$ac_ext <<_ACEOF
35527 /* end confdefs.h. */
35530 #include <stdarg.h>
35532 #if __MSL__ >= 0x6000
35534 using namespace std;
35543 snprintf(buf, 10u, "%s", "wx");
35549 rm -f conftest.
$ac_objext
35550 if { (ac_try
="$ac_compile"
35551 case "(($ac_try" in
35552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35553 *) ac_try_echo=$ac_try;;
35555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35556 (eval "$ac_compile") 2>conftest.er1
35558 grep -v '^ *+' conftest.er1 >conftest.err
35560 cat conftest.err >&5
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); } && {
35563 test -z "$ac_cxx_werror_flag" ||
35564 test ! -s conftest.err
35565 } && test -s conftest.$ac_objext; then
35566 wx_cv_func_snprintf_decl=yes
35568 echo "$as_me: failed program was:" >&5
35569 sed 's/^/| /' conftest.$ac_ext >&5
35571 wx_cv_func_snprintf_decl=no
35575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35579 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35580 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35582 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35583 cat >>confdefs.h <<\_ACEOF
35584 #define HAVE_SNPRINTF_DECL 1
35589 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35591 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35592 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35593 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35594 echo $ECHO_N "(cached) $ECHO_C" >&6
35597 if test "$cross_compiling" = yes; then
35599 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35600 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35601 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35602 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35603 wx_cv_func_snprintf_pos_params=no
35607 cat >conftest.$ac_ext <<_ACEOF
35610 cat confdefs.h >>conftest.$ac_ext
35611 cat >>conftest.$ac_ext <<_ACEOF
35612 /* end confdefs.h. */
35619 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35620 if (strcmp ("2 3 1", buffer) == 0)
35626 rm -f conftest$ac_exeext
35627 if { (ac_try="$ac_link"
35628 case "(($ac_try" in
35629 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35630 *) ac_try_echo
=$ac_try;;
35632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35633 (eval "$ac_link") 2>&5
35635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35637 { (case "(($ac_try" in
35638 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35639 *) ac_try_echo=$ac_try;;
35641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35642 (eval "$ac_try") 2>&5
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); }; }; then
35646 wx_cv_func_snprintf_pos_params=no
35648 echo "$as_me: program exited with status $ac_status" >&5
35649 echo "$as_me: failed program was:" >&5
35650 sed 's/^/| /' conftest.$ac_ext >&5
35652 ( exit $ac_status )
35653 wx_cv_func_snprintf_pos_params=yes
35655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35662 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35663 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35665 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35666 cat >>confdefs.h <<\_ACEOF
35667 #define HAVE_UNIX98_PRINTF 1
35674 if test "$ac_cv_func_vsscanf" = "yes"; then
35675 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35676 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35677 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35678 echo $ECHO_N "(cached) $ECHO_C" >&6
35681 cat >conftest.$ac_ext <<_ACEOF
35684 cat confdefs.h >>conftest.$ac_ext
35685 cat >>conftest.$ac_ext <<_ACEOF
35686 /* end confdefs.h. */
35689 #include <stdarg.h>
35691 #if __MSL__ >= 0x6000
35693 using namespace std;
35703 vsscanf(buf, "%s", args);
35709 rm -f conftest.$ac_objext
35710 if { (ac_try="$ac_compile"
35711 case "(($ac_try" in
35712 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35713 *) ac_try_echo
=$ac_try;;
35715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35716 (eval "$ac_compile") 2>conftest.er1
35718 grep -v '^ *+' conftest.er1
>conftest.err
35720 cat conftest.err
>&5
35721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35722 (exit $ac_status); } && {
35723 test -z "$ac_cxx_werror_flag" ||
35724 test ! -s conftest.err
35725 } && test -s conftest.
$ac_objext; then
35726 wx_cv_func_vsscanf_decl
=yes
35728 echo "$as_me: failed program was:" >&5
35729 sed 's/^/| /' conftest.
$ac_ext >&5
35731 wx_cv_func_vsscanf_decl
=no
35735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35739 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35740 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35742 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35743 cat >>confdefs.h
<<\_ACEOF
35744 #define HAVE_VSSCANF_DECL 1
35750 ac_cpp
='$CPP $CPPFLAGS'
35751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35756 if test "$wxUSE_UNICODE" = yes; then
35758 wchar_headers
="#include <stdio.h>
35759 #include <wchar.h>"
35763 for ac_header
in widec.h
35765 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35766 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35768 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35769 echo $ECHO_N "(cached) $ECHO_C" >&6
35771 cat >conftest.
$ac_ext <<_ACEOF
35774 cat confdefs.h
>>conftest.
$ac_ext
35775 cat >>conftest.
$ac_ext <<_ACEOF
35776 /* end confdefs.h. */
35777 $ac_includes_default
35779 #include <$ac_header>
35781 rm -f conftest.
$ac_objext
35782 if { (ac_try
="$ac_compile"
35783 case "(($ac_try" in
35784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35785 *) ac_try_echo=$ac_try;;
35787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35788 (eval "$ac_compile") 2>conftest.er1
35790 grep -v '^ *+' conftest.er1 >conftest.err
35792 cat conftest.err >&5
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); } && {
35795 test -z "$ac_c_werror_flag" ||
35796 test ! -s conftest.err
35797 } && test -s conftest.$ac_objext; then
35798 eval "$as_ac_Header=yes"
35800 echo "$as_me: failed program was:" >&5
35801 sed 's/^/| /' conftest.$ac_ext >&5
35803 eval "$as_ac_Header=no"
35806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35808 ac_res=`eval echo '${'$as_ac_Header'}'`
35809 { echo "$as_me:$LINENO: result: $ac_res" >&5
35810 echo "${ECHO_T}$ac_res" >&6; }
35811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35812 cat >>confdefs.h <<_ACEOF
35813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35820 if test "$ac_cv_header_widec_h" = "yes"; then
35821 wchar_headers="$wchar_headers
35822 #include <widec.h>"
35827 for wx_func in putws fputws wprintf vswprintf vswscanf
35829 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35830 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35831 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35832 echo $ECHO_N "(cached) $ECHO_C" >&6
35835 cat >conftest.$ac_ext <<_ACEOF
35839 cat confdefs.h >>conftest.$ac_ext
35840 cat >>conftest.$ac_ext <<_ACEOF
35841 /* end confdefs.h. */
35844 $ac_includes_default
35860 rm -f conftest.$ac_objext conftest$ac_exeext
35861 if { (ac_try="$ac_link"
35862 case "(($ac_try" in
35863 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35864 *) ac_try_echo
=$ac_try;;
35866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35867 (eval "$ac_link") 2>conftest.er1
35869 grep -v '^ *+' conftest.er1
>conftest.err
35871 cat conftest.err
>&5
35872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35873 (exit $ac_status); } && {
35874 test -z "$ac_c_werror_flag" ||
35875 test ! -s conftest.err
35876 } && test -s conftest
$ac_exeext &&
35877 $as_test_x conftest
$ac_exeext; then
35878 eval wx_cv_func_
$wx_func=yes
35880 echo "$as_me: failed program was:" >&5
35881 sed 's/^/| /' conftest.
$ac_ext >&5
35883 eval wx_cv_func_
$wx_func=no
35886 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35887 conftest
$ac_exeext conftest.
$ac_ext
35890 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35891 { echo "$as_me:$LINENO: result: $ac_res" >&5
35892 echo "${ECHO_T}$ac_res" >&6; }
35894 if eval test \
$wx_cv_func_$wx_func = yes
35896 cat >>confdefs.h
<<_ACEOF
35897 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35908 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35909 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35910 cat >conftest.
$ac_ext <<_ACEOF
35913 cat confdefs.h
>>conftest.
$ac_ext
35914 cat >>conftest.
$ac_ext <<_ACEOF
35915 /* end confdefs.h. */
35925 rm -f conftest.
$ac_objext
35926 if { (ac_try
="$ac_compile"
35927 case "(($ac_try" in
35928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35929 *) ac_try_echo=$ac_try;;
35931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35932 (eval "$ac_compile") 2>conftest.er1
35934 grep -v '^ *+' conftest.er1 >conftest.err
35936 cat conftest.err >&5
35937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35938 (exit $ac_status); } && {
35939 test -z "$ac_c_werror_flag" ||
35940 test ! -s conftest.err
35941 } && test -s conftest.$ac_objext; then
35942 { echo "$as_me:$LINENO: result: yes" >&5
35943 echo "${ECHO_T}yes" >&6; }
35944 cat >>confdefs.h <<\_ACEOF
35945 #define HAVE__VSNWPRINTF 1
35949 echo "$as_me: failed program was:" >&5
35950 sed 's/^/| /' conftest.$ac_ext >&5
35952 { echo "$as_me:$LINENO: result: no" >&5
35953 echo "${ECHO_T}no" >&6; }
35956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35959 if test "$wxUSE_FILE" = "yes"; then
35961 for wx_func in fsync
35963 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35964 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35965 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35966 echo $ECHO_N "(cached) $ECHO_C" >&6
35969 cat >conftest.$ac_ext <<_ACEOF
35973 cat confdefs.h >>conftest.$ac_ext
35974 cat >>conftest.$ac_ext <<_ACEOF
35975 /* end confdefs.h. */
35978 $ac_includes_default
35994 rm -f conftest.$ac_objext conftest$ac_exeext
35995 if { (ac_try="$ac_link"
35996 case "(($ac_try" in
35997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35998 *) ac_try_echo
=$ac_try;;
36000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36001 (eval "$ac_link") 2>conftest.er1
36003 grep -v '^ *+' conftest.er1
>conftest.err
36005 cat conftest.err
>&5
36006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36007 (exit $ac_status); } && {
36008 test -z "$ac_c_werror_flag" ||
36009 test ! -s conftest.err
36010 } && test -s conftest
$ac_exeext &&
36011 $as_test_x conftest
$ac_exeext; then
36012 eval wx_cv_func_
$wx_func=yes
36014 echo "$as_me: failed program was:" >&5
36015 sed 's/^/| /' conftest.
$ac_ext >&5
36017 eval wx_cv_func_
$wx_func=no
36020 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36021 conftest
$ac_exeext conftest.
$ac_ext
36024 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36025 { echo "$as_me:$LINENO: result: $ac_res" >&5
36026 echo "${ECHO_T}$ac_res" >&6; }
36028 if eval test \
$wx_cv_func_$wx_func = yes
36030 cat >>confdefs.h
<<_ACEOF
36031 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36044 ac_cpp
='$CXXCPP $CPPFLAGS'
36045 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36046 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36047 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36050 for wx_func
in round
36052 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36053 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36054 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36055 echo $ECHO_N "(cached) $ECHO_C" >&6
36058 cat >conftest.
$ac_ext <<_ACEOF
36062 cat confdefs.h
>>conftest.
$ac_ext
36063 cat >>conftest.
$ac_ext <<_ACEOF
36064 /* end confdefs.h. */
36067 $ac_includes_default
36083 rm -f conftest.
$ac_objext conftest
$ac_exeext
36084 if { (ac_try
="$ac_link"
36085 case "(($ac_try" in
36086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36087 *) ac_try_echo=$ac_try;;
36089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36090 (eval "$ac_link") 2>conftest.er1
36092 grep -v '^ *+' conftest.er1 >conftest.err
36094 cat conftest.err >&5
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); } && {
36097 test -z "$ac_cxx_werror_flag" ||
36098 test ! -s conftest.err
36099 } && test -s conftest$ac_exeext &&
36100 $as_test_x conftest$ac_exeext; then
36101 eval wx_cv_func_$wx_func=yes
36103 echo "$as_me: failed program was:" >&5
36104 sed 's/^/| /' conftest.$ac_ext >&5
36106 eval wx_cv_func_$wx_func=no
36109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36110 conftest$ac_exeext conftest.$ac_ext
36113 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36114 { echo "$as_me:$LINENO: result: $ac_res" >&5
36115 echo "${ECHO_T}$ac_res" >&6; }
36117 if eval test \$wx_cv_func_$wx_func = yes
36119 cat >>confdefs.h <<_ACEOF
36120 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36131 ac_cpp='$CPP $CPPFLAGS'
36132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36137 if test "$TOOLKIT" != "MSW"; then
36139 if test "$wxUSE_LIBICONV" != "no" ; then
36143 # Check whether --with-libiconv-prefix was given.
36144 if test "${with_libiconv_prefix+set}" = set; then
36145 withval=$with_libiconv_prefix;
36146 for dir in `echo "$withval" | tr : ' '`; do
36147 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36148 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36154 { echo "$as_me:$LINENO: checking for iconv" >&5
36155 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36156 if test "${am_cv_func_iconv+set}" = set; then
36157 echo $ECHO_N "(cached) $ECHO_C" >&6
36160 am_cv_func_iconv="no, consider installing GNU libiconv"
36162 cat >conftest.$ac_ext <<_ACEOF
36165 cat confdefs.h >>conftest.$ac_ext
36166 cat >>conftest.$ac_ext <<_ACEOF
36167 /* end confdefs.h. */
36168 #include <stdlib.h>
36173 iconv_t cd = iconv_open("","");
36174 iconv(cd,NULL,NULL,NULL,NULL);
36180 rm -f conftest.$ac_objext conftest$ac_exeext
36181 if { (ac_try="$ac_link"
36182 case "(($ac_try" in
36183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36184 *) ac_try_echo
=$ac_try;;
36186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36187 (eval "$ac_link") 2>conftest.er1
36189 grep -v '^ *+' conftest.er1
>conftest.err
36191 cat conftest.err
>&5
36192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36193 (exit $ac_status); } && {
36194 test -z "$ac_c_werror_flag" ||
36195 test ! -s conftest.err
36196 } && test -s conftest
$ac_exeext &&
36197 $as_test_x conftest
$ac_exeext; then
36198 am_cv_func_iconv
=yes
36200 echo "$as_me: failed program was:" >&5
36201 sed 's/^/| /' conftest.
$ac_ext >&5
36206 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36207 conftest
$ac_exeext conftest.
$ac_ext
36208 if test "$am_cv_func_iconv" != yes; then
36209 am_save_LIBS
="$LIBS"
36210 LIBS
="$LIBS -liconv"
36211 cat >conftest.
$ac_ext <<_ACEOF
36214 cat confdefs.h
>>conftest.
$ac_ext
36215 cat >>conftest.
$ac_ext <<_ACEOF
36216 /* end confdefs.h. */
36217 #include <stdlib.h>
36222 iconv_t cd = iconv_open("","");
36223 iconv(cd,NULL,NULL,NULL,NULL);
36229 rm -f conftest.
$ac_objext conftest
$ac_exeext
36230 if { (ac_try
="$ac_link"
36231 case "(($ac_try" in
36232 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36233 *) ac_try_echo=$ac_try;;
36235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36236 (eval "$ac_link") 2>conftest.er1
36238 grep -v '^ *+' conftest.er1 >conftest.err
36240 cat conftest.err >&5
36241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36242 (exit $ac_status); } && {
36243 test -z "$ac_c_werror_flag" ||
36244 test ! -s conftest.err
36245 } && test -s conftest$ac_exeext &&
36246 $as_test_x conftest$ac_exeext; then
36247 am_cv_lib_iconv=yes
36248 am_cv_func_iconv=yes
36250 echo "$as_me: failed program was:" >&5
36251 sed 's/^/| /' conftest.$ac_ext >&5
36256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36257 conftest$ac_exeext conftest.$ac_ext
36258 LIBS="$am_save_LIBS"
36262 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36263 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36264 if test "$am_cv_func_iconv" = yes; then
36266 cat >>confdefs.h <<\_ACEOF
36267 #define HAVE_ICONV 1
36270 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36271 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36272 if test "${wx_cv_func_iconv_const+set}" = set; then
36273 echo $ECHO_N "(cached) $ECHO_C" >&6
36275 cat >conftest.$ac_ext <<_ACEOF
36278 cat confdefs.h >>conftest.$ac_ext
36279 cat >>conftest.$ac_ext <<_ACEOF
36280 /* end confdefs.h. */
36282 #include <stdlib.h>
36288 #if defined(__STDC__) || defined(__cplusplus)
36289 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36302 rm -f conftest.$ac_objext
36303 if { (ac_try="$ac_compile"
36304 case "(($ac_try" in
36305 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36306 *) ac_try_echo
=$ac_try;;
36308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36309 (eval "$ac_compile") 2>conftest.er1
36311 grep -v '^ *+' conftest.er1
>conftest.err
36313 cat conftest.err
>&5
36314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36315 (exit $ac_status); } && {
36316 test -z "$ac_c_werror_flag" ||
36317 test ! -s conftest.err
36318 } && test -s conftest.
$ac_objext; then
36319 wx_cv_func_iconv_const
="no"
36321 echo "$as_me: failed program was:" >&5
36322 sed 's/^/| /' conftest.
$ac_ext >&5
36324 wx_cv_func_iconv_const
="yes"
36328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36331 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36332 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36335 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36336 iconv_const
="const"
36340 cat >>confdefs.h
<<_ACEOF
36341 #define ICONV_CONST $iconv_const
36346 if test "$am_cv_lib_iconv" = yes; then
36351 LIBS
="$LIBICONV $LIBS"
36354 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36356 for ac_func
in sigaction
36358 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36359 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36361 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36362 echo $ECHO_N "(cached) $ECHO_C" >&6
36364 cat >conftest.
$ac_ext <<_ACEOF
36367 cat confdefs.h
>>conftest.
$ac_ext
36368 cat >>conftest.
$ac_ext <<_ACEOF
36369 /* end confdefs.h. */
36370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36372 #define $ac_func innocuous_$ac_func
36374 /* System header to define __stub macros and hopefully few prototypes,
36375 which can conflict with char $ac_func (); below.
36376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36377 <limits.h> exists even on freestanding compilers. */
36380 # include <limits.h>
36382 # include <assert.h>
36387 /* Override any GCC internal prototype to avoid an error.
36388 Use char because int might match the return type of a GCC
36389 builtin and then its argument prototype would still apply. */
36394 /* The GNU C library defines this for functions which it implements
36395 to always fail with ENOSYS. Some functions are actually named
36396 something starting with __ and the normal name is an alias. */
36397 #if defined __stub_$ac_func || defined __stub___$ac_func
36404 return $ac_func ();
36409 rm -f conftest.
$ac_objext conftest
$ac_exeext
36410 if { (ac_try
="$ac_link"
36411 case "(($ac_try" in
36412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36413 *) ac_try_echo=$ac_try;;
36415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36416 (eval "$ac_link") 2>conftest.er1
36418 grep -v '^ *+' conftest.er1 >conftest.err
36420 cat conftest.err >&5
36421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36422 (exit $ac_status); } && {
36423 test -z "$ac_c_werror_flag" ||
36424 test ! -s conftest.err
36425 } && test -s conftest$ac_exeext &&
36426 $as_test_x conftest$ac_exeext; then
36427 eval "$as_ac_var=yes"
36429 echo "$as_me: failed program was:" >&5
36430 sed 's/^/| /' conftest.$ac_ext >&5
36432 eval "$as_ac_var=no"
36435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36436 conftest$ac_exeext conftest.$ac_ext
36438 ac_res=`eval echo '${'$as_ac_var'}'`
36439 { echo "$as_me:$LINENO: result: $ac_res" >&5
36440 echo "${ECHO_T}$ac_res" >&6; }
36441 if test `eval echo '${'$as_ac_var'}'` = yes; then
36442 cat >>confdefs.h <<_ACEOF
36443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36450 if test "$ac_cv_func_sigaction" = "no"; then
36451 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36452 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36453 wxUSE_ON_FATAL_EXCEPTION=no
36456 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36457 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36458 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36459 if test "${wx_cv_type_sa_handler+set}" = set; then
36460 echo $ECHO_N "(cached) $ECHO_C" >&6
36464 ac_cpp='$CXXCPP $CPPFLAGS'
36465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36469 cat >conftest.$ac_ext <<_ACEOF
36472 cat confdefs.h >>conftest.$ac_ext
36473 cat >>conftest.$ac_ext <<_ACEOF
36474 /* end confdefs.h. */
36475 #include <signal.h>
36480 extern void testSigHandler(int);
36482 struct sigaction sa;
36483 sa.sa_handler = testSigHandler;
36489 rm -f conftest.$ac_objext
36490 if { (ac_try="$ac_compile"
36491 case "(($ac_try" in
36492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36493 *) ac_try_echo
=$ac_try;;
36495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36496 (eval "$ac_compile") 2>conftest.er1
36498 grep -v '^ *+' conftest.er1
>conftest.err
36500 cat conftest.err
>&5
36501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36502 (exit $ac_status); } && {
36503 test -z "$ac_cxx_werror_flag" ||
36504 test ! -s conftest.err
36505 } && test -s conftest.
$ac_objext; then
36507 wx_cv_type_sa_handler
=int
36510 echo "$as_me: failed program was:" >&5
36511 sed 's/^/| /' conftest.
$ac_ext >&5
36514 wx_cv_type_sa_handler
=void
36518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36520 ac_cpp
='$CPP $CPPFLAGS'
36521 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36522 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36523 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36527 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36528 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36530 cat >>confdefs.h
<<_ACEOF
36531 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36537 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36538 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36539 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36540 if test "${wx_cv_func_backtrace+set}" = set; then
36541 echo $ECHO_N "(cached) $ECHO_C" >&6
36545 ac_cpp
='$CXXCPP $CPPFLAGS'
36546 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36550 cat >conftest.
$ac_ext <<_ACEOF
36553 cat confdefs.h
>>conftest.
$ac_ext
36554 cat >>conftest.
$ac_ext <<_ACEOF
36555 /* end confdefs.h. */
36556 #include <execinfo.h>
36564 backtrace(trace, 1);
36565 messages = backtrace_symbols(trace, 1);
36571 rm -f conftest.
$ac_objext
36572 if { (ac_try
="$ac_compile"
36573 case "(($ac_try" in
36574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36575 *) ac_try_echo=$ac_try;;
36577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36578 (eval "$ac_compile") 2>conftest.er1
36580 grep -v '^ *+' conftest.er1 >conftest.err
36582 cat conftest.err >&5
36583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36584 (exit $ac_status); } && {
36585 test -z "$ac_cxx_werror_flag" ||
36586 test ! -s conftest.err
36587 } && test -s conftest.$ac_objext; then
36588 wx_cv_func_backtrace=yes
36590 echo "$as_me: failed program was:" >&5
36591 sed 's/^/| /' conftest.$ac_ext >&5
36593 wx_cv_func_backtrace=no
36597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36599 ac_cpp='$CPP $CPPFLAGS'
36600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36607 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36608 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36611 if test "$wx_cv_func_backtrace" = "no"; then
36612 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36613 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36614 wxUSE_STACKWALKER=no
36616 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36617 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36618 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36619 echo $ECHO_N "(cached) $ECHO_C" >&6
36623 ac_cpp='$CXXCPP $CPPFLAGS'
36624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36628 cat >conftest.$ac_ext <<_ACEOF
36631 cat confdefs.h >>conftest.$ac_ext
36632 cat >>conftest.$ac_ext <<_ACEOF
36633 /* end confdefs.h. */
36634 #include <cxxabi.h>
36640 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36646 rm -f conftest.$ac_objext conftest$ac_exeext
36647 if { (ac_try="$ac_link"
36648 case "(($ac_try" in
36649 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36650 *) ac_try_echo
=$ac_try;;
36652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36653 (eval "$ac_link") 2>conftest.er1
36655 grep -v '^ *+' conftest.er1
>conftest.err
36657 cat conftest.err
>&5
36658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36659 (exit $ac_status); } && {
36660 test -z "$ac_cxx_werror_flag" ||
36661 test ! -s conftest.err
36662 } && test -s conftest
$ac_exeext &&
36663 $as_test_x conftest
$ac_exeext; then
36664 wx_cv_func_cxa_demangle
=yes
36666 echo "$as_me: failed program was:" >&5
36667 sed 's/^/| /' conftest.
$ac_ext >&5
36669 wx_cv_func_cxa_demangle
=no
36673 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36674 conftest
$ac_exeext conftest.
$ac_ext
36676 ac_cpp
='$CPP $CPPFLAGS'
36677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36684 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36685 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36687 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36688 cat >>confdefs.h
<<\_ACEOF
36689 #define HAVE_CXA_DEMANGLE 1
36696 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36697 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36698 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36699 wxUSE_STACKWALKER
=no
36705 for ac_func
in mkstemp mktemp
36707 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36708 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36710 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36711 echo $ECHO_N "(cached) $ECHO_C" >&6
36713 cat >conftest.
$ac_ext <<_ACEOF
36716 cat confdefs.h
>>conftest.
$ac_ext
36717 cat >>conftest.
$ac_ext <<_ACEOF
36718 /* end confdefs.h. */
36719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36721 #define $ac_func innocuous_$ac_func
36723 /* System header to define __stub macros and hopefully few prototypes,
36724 which can conflict with char $ac_func (); below.
36725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36726 <limits.h> exists even on freestanding compilers. */
36729 # include <limits.h>
36731 # include <assert.h>
36736 /* Override any GCC internal prototype to avoid an error.
36737 Use char because int might match the return type of a GCC
36738 builtin and then its argument prototype would still apply. */
36743 /* The GNU C library defines this for functions which it implements
36744 to always fail with ENOSYS. Some functions are actually named
36745 something starting with __ and the normal name is an alias. */
36746 #if defined __stub_$ac_func || defined __stub___$ac_func
36753 return $ac_func ();
36758 rm -f conftest.
$ac_objext conftest
$ac_exeext
36759 if { (ac_try
="$ac_link"
36760 case "(($ac_try" in
36761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36762 *) ac_try_echo=$ac_try;;
36764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36765 (eval "$ac_link") 2>conftest.er1
36767 grep -v '^ *+' conftest.er1 >conftest.err
36769 cat conftest.err >&5
36770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771 (exit $ac_status); } && {
36772 test -z "$ac_c_werror_flag" ||
36773 test ! -s conftest.err
36774 } && test -s conftest$ac_exeext &&
36775 $as_test_x conftest$ac_exeext; then
36776 eval "$as_ac_var=yes"
36778 echo "$as_me: failed program was:" >&5
36779 sed 's/^/| /' conftest.$ac_ext >&5
36781 eval "$as_ac_var=no"
36784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36785 conftest$ac_exeext conftest.$ac_ext
36787 ac_res=`eval echo '${'$as_ac_var'}'`
36788 { echo "$as_me:$LINENO: result: $ac_res" >&5
36789 echo "${ECHO_T}$ac_res" >&6; }
36790 if test `eval echo '${'$as_ac_var'}'` = yes; then
36791 cat >>confdefs.h <<_ACEOF
36792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36799 { echo "$as_me:$LINENO: checking for statfs" >&5
36800 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36801 if test "${wx_cv_func_statfs+set}" = set; then
36802 echo $ECHO_N "(cached) $ECHO_C" >&6
36804 cat >conftest.$ac_ext <<_ACEOF
36807 cat confdefs.h >>conftest.$ac_ext
36808 cat >>conftest.$ac_ext <<_ACEOF
36809 /* end confdefs.h. */
36811 #if defined(__BSD__)
36812 #include <sys/param.h>
36813 #include <sys/mount.h>
36815 #include <sys/vfs.h>
36833 rm -f conftest.$ac_objext
36834 if { (ac_try="$ac_compile"
36835 case "(($ac_try" in
36836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36837 *) ac_try_echo
=$ac_try;;
36839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36840 (eval "$ac_compile") 2>conftest.er1
36842 grep -v '^ *+' conftest.er1
>conftest.err
36844 cat conftest.err
>&5
36845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36846 (exit $ac_status); } && {
36847 test -z "$ac_c_werror_flag" ||
36848 test ! -s conftest.err
36849 } && test -s conftest.
$ac_objext; then
36850 wx_cv_func_statfs
=yes
36852 echo "$as_me: failed program was:" >&5
36853 sed 's/^/| /' conftest.
$ac_ext >&5
36855 wx_cv_func_statfs
=no
36859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36862 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36863 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36865 if test "$wx_cv_func_statfs" = "yes"; then
36866 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36867 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36868 if test "${wx_cv_func_statfs_decl+set}" = set; then
36869 echo $ECHO_N "(cached) $ECHO_C" >&6
36872 ac_cpp
='$CXXCPP $CPPFLAGS'
36873 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36874 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36875 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36877 cat >conftest.
$ac_ext <<_ACEOF
36880 cat confdefs.h
>>conftest.
$ac_ext
36881 cat >>conftest.
$ac_ext <<_ACEOF
36882 /* end confdefs.h. */
36884 #if defined(__BSD__)
36885 #include <sys/param.h>
36886 #include <sys/mount.h>
36888 #include <sys/vfs.h>
36902 rm -f conftest.
$ac_objext
36903 if { (ac_try
="$ac_compile"
36904 case "(($ac_try" in
36905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36906 *) ac_try_echo=$ac_try;;
36908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36909 (eval "$ac_compile") 2>conftest.er1
36911 grep -v '^ *+' conftest.er1 >conftest.err
36913 cat conftest.err >&5
36914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36915 (exit $ac_status); } && {
36916 test -z "$ac_cxx_werror_flag" ||
36917 test ! -s conftest.err
36918 } && test -s conftest.$ac_objext; then
36919 wx_cv_func_statfs_decl=yes
36921 echo "$as_me: failed program was:" >&5
36922 sed 's/^/| /' conftest.$ac_ext >&5
36924 wx_cv_func_statfs_decl=no
36928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36930 ac_cpp='$CPP $CPPFLAGS'
36931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36937 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36938 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36940 if test "$wx_cv_func_statfs_decl" = "yes"; then
36941 cat >>confdefs.h <<\_ACEOF
36942 #define HAVE_STATFS_DECL 1
36947 wx_cv_type_statvfs_t="struct statfs"
36948 cat >>confdefs.h <<\_ACEOF
36949 #define HAVE_STATFS 1
36953 { echo "$as_me:$LINENO: checking for statvfs" >&5
36954 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36955 if test "${wx_cv_func_statvfs+set}" = set; then
36956 echo $ECHO_N "(cached) $ECHO_C" >&6
36958 cat >conftest.$ac_ext <<_ACEOF
36961 cat confdefs.h >>conftest.$ac_ext
36962 cat >>conftest.$ac_ext <<_ACEOF
36963 /* end confdefs.h. */
36965 #include <stddef.h>
36966 #include <sys/statvfs.h>
36972 statvfs("/", NULL);
36978 rm -f conftest.$ac_objext
36979 if { (ac_try="$ac_compile"
36980 case "(($ac_try" in
36981 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36982 *) ac_try_echo
=$ac_try;;
36984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36985 (eval "$ac_compile") 2>conftest.er1
36987 grep -v '^ *+' conftest.er1
>conftest.err
36989 cat conftest.err
>&5
36990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36991 (exit $ac_status); } && {
36992 test -z "$ac_c_werror_flag" ||
36993 test ! -s conftest.err
36994 } && test -s conftest.
$ac_objext; then
36995 wx_cv_func_statvfs
=yes
36997 echo "$as_me: failed program was:" >&5
36998 sed 's/^/| /' conftest.
$ac_ext >&5
37000 wx_cv_func_statvfs
=no
37004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37007 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37008 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37010 if test "$wx_cv_func_statvfs" = "yes"; then
37011 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37012 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37013 if test "${wx_cv_type_statvfs_t+set}" = set; then
37014 echo $ECHO_N "(cached) $ECHO_C" >&6
37017 ac_cpp
='$CXXCPP $CPPFLAGS'
37018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37022 cat >conftest.
$ac_ext <<_ACEOF
37025 cat confdefs.h
>>conftest.
$ac_ext
37026 cat >>conftest.
$ac_ext <<_ACEOF
37027 /* end confdefs.h. */
37029 #include <sys/statvfs.h>
37046 rm -f conftest.
$ac_objext
37047 if { (ac_try
="$ac_compile"
37048 case "(($ac_try" in
37049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37050 *) ac_try_echo=$ac_try;;
37052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37053 (eval "$ac_compile") 2>conftest.er1
37055 grep -v '^ *+' conftest.er1 >conftest.err
37057 cat conftest.err >&5
37058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37059 (exit $ac_status); } && {
37060 test -z "$ac_cxx_werror_flag" ||
37061 test ! -s conftest.err
37062 } && test -s conftest.$ac_objext; then
37063 wx_cv_type_statvfs_t=statvfs_t
37065 echo "$as_me: failed program was:" >&5
37066 sed 's/^/| /' conftest.$ac_ext >&5
37069 cat >conftest.$ac_ext <<_ACEOF
37072 cat confdefs.h >>conftest.$ac_ext
37073 cat >>conftest.$ac_ext <<_ACEOF
37074 /* end confdefs.h. */
37076 #include <sys/statvfs.h>
37093 rm -f conftest.$ac_objext
37094 if { (ac_try="$ac_compile"
37095 case "(($ac_try" in
37096 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37097 *) ac_try_echo
=$ac_try;;
37099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37100 (eval "$ac_compile") 2>conftest.er1
37102 grep -v '^ *+' conftest.er1
>conftest.err
37104 cat conftest.err
>&5
37105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37106 (exit $ac_status); } && {
37107 test -z "$ac_cxx_werror_flag" ||
37108 test ! -s conftest.err
37109 } && test -s conftest.
$ac_objext; then
37110 wx_cv_type_statvfs_t
="struct statvfs"
37112 echo "$as_me: failed program was:" >&5
37113 sed 's/^/| /' conftest.
$ac_ext >&5
37115 wx_cv_type_statvfs_t
="unknown"
37119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37126 ac_cpp
='$CPP $CPPFLAGS'
37127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37133 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37134 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37136 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37137 cat >>confdefs.h
<<\_ACEOF
37138 #define HAVE_STATVFS 1
37143 wx_cv_type_statvfs_t
="unknown"
37147 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37148 cat >>confdefs.h
<<_ACEOF
37149 #define WX_STATFS_T $wx_cv_type_statvfs_t
37153 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37154 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37157 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37160 for ac_func
in fcntl flock
37162 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37163 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37165 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37166 echo $ECHO_N "(cached) $ECHO_C" >&6
37168 cat >conftest.
$ac_ext <<_ACEOF
37171 cat confdefs.h
>>conftest.
$ac_ext
37172 cat >>conftest.
$ac_ext <<_ACEOF
37173 /* end confdefs.h. */
37174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37176 #define $ac_func innocuous_$ac_func
37178 /* System header to define __stub macros and hopefully few prototypes,
37179 which can conflict with char $ac_func (); below.
37180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37181 <limits.h> exists even on freestanding compilers. */
37184 # include <limits.h>
37186 # include <assert.h>
37191 /* Override any GCC internal prototype to avoid an error.
37192 Use char because int might match the return type of a GCC
37193 builtin and then its argument prototype would still apply. */
37198 /* The GNU C library defines this for functions which it implements
37199 to always fail with ENOSYS. Some functions are actually named
37200 something starting with __ and the normal name is an alias. */
37201 #if defined __stub_$ac_func || defined __stub___$ac_func
37208 return $ac_func ();
37213 rm -f conftest.
$ac_objext conftest
$ac_exeext
37214 if { (ac_try
="$ac_link"
37215 case "(($ac_try" in
37216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37217 *) ac_try_echo=$ac_try;;
37219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37220 (eval "$ac_link") 2>conftest.er1
37222 grep -v '^ *+' conftest.er1 >conftest.err
37224 cat conftest.err >&5
37225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37226 (exit $ac_status); } && {
37227 test -z "$ac_c_werror_flag" ||
37228 test ! -s conftest.err
37229 } && test -s conftest$ac_exeext &&
37230 $as_test_x conftest$ac_exeext; then
37231 eval "$as_ac_var=yes"
37233 echo "$as_me: failed program was:" >&5
37234 sed 's/^/| /' conftest.$ac_ext >&5
37236 eval "$as_ac_var=no"
37239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37240 conftest$ac_exeext conftest.$ac_ext
37242 ac_res=`eval echo '${'$as_ac_var'}'`
37243 { echo "$as_me:$LINENO: result: $ac_res" >&5
37244 echo "${ECHO_T}$ac_res" >&6; }
37245 if test `eval echo '${'$as_ac_var'}'` = yes; then
37246 cat >>confdefs.h <<_ACEOF
37247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37254 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37255 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37256 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37257 wxUSE_SNGLINST_CHECKER=no
37263 for ac_func in setenv putenv
37265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37266 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37268 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37269 echo $ECHO_N "(cached) $ECHO_C" >&6
37271 cat >conftest.$ac_ext <<_ACEOF
37274 cat confdefs.h >>conftest.$ac_ext
37275 cat >>conftest.$ac_ext <<_ACEOF
37276 /* end confdefs.h. */
37277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37279 #define $ac_func innocuous_$ac_func
37281 /* System header to define __stub macros and hopefully few prototypes,
37282 which can conflict with char $ac_func (); below.
37283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37284 <limits.h> exists even on freestanding compilers. */
37287 # include <limits.h>
37289 # include <assert.h>
37294 /* Override any GCC internal prototype to avoid an error.
37295 Use char because int might match the return type of a GCC
37296 builtin and then its argument prototype would still apply. */
37301 /* The GNU C library defines this for functions which it implements
37302 to always fail with ENOSYS. Some functions are actually named
37303 something starting with __ and the normal name is an alias. */
37304 #if defined __stub_$ac_func || defined __stub___$ac_func
37311 return $ac_func ();
37316 rm -f conftest.$ac_objext conftest$ac_exeext
37317 if { (ac_try="$ac_link"
37318 case "(($ac_try" in
37319 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37320 *) ac_try_echo
=$ac_try;;
37322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37323 (eval "$ac_link") 2>conftest.er1
37325 grep -v '^ *+' conftest.er1
>conftest.err
37327 cat conftest.err
>&5
37328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37329 (exit $ac_status); } && {
37330 test -z "$ac_c_werror_flag" ||
37331 test ! -s conftest.err
37332 } && test -s conftest
$ac_exeext &&
37333 $as_test_x conftest
$ac_exeext; then
37334 eval "$as_ac_var=yes"
37336 echo "$as_me: failed program was:" >&5
37337 sed 's/^/| /' conftest.
$ac_ext >&5
37339 eval "$as_ac_var=no"
37342 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37343 conftest
$ac_exeext conftest.
$ac_ext
37345 ac_res
=`eval echo '${'$as_ac_var'}'`
37346 { echo "$as_me:$LINENO: result: $ac_res" >&5
37347 echo "${ECHO_T}$ac_res" >&6; }
37348 if test `eval echo '${'$as_ac_var'}'` = yes; then
37349 cat >>confdefs.h
<<_ACEOF
37350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37356 if test "$ac_cv_func_setenv" = "yes"; then
37358 for ac_func
in unsetenv
37360 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37361 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37363 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37364 echo $ECHO_N "(cached) $ECHO_C" >&6
37366 cat >conftest.
$ac_ext <<_ACEOF
37369 cat confdefs.h
>>conftest.
$ac_ext
37370 cat >>conftest.
$ac_ext <<_ACEOF
37371 /* end confdefs.h. */
37372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37374 #define $ac_func innocuous_$ac_func
37376 /* System header to define __stub macros and hopefully few prototypes,
37377 which can conflict with char $ac_func (); below.
37378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37379 <limits.h> exists even on freestanding compilers. */
37382 # include <limits.h>
37384 # include <assert.h>
37389 /* Override any GCC internal prototype to avoid an error.
37390 Use char because int might match the return type of a GCC
37391 builtin and then its argument prototype would still apply. */
37396 /* The GNU C library defines this for functions which it implements
37397 to always fail with ENOSYS. Some functions are actually named
37398 something starting with __ and the normal name is an alias. */
37399 #if defined __stub_$ac_func || defined __stub___$ac_func
37406 return $ac_func ();
37411 rm -f conftest.
$ac_objext conftest
$ac_exeext
37412 if { (ac_try
="$ac_link"
37413 case "(($ac_try" in
37414 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37415 *) ac_try_echo=$ac_try;;
37417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37418 (eval "$ac_link") 2>conftest.er1
37420 grep -v '^ *+' conftest.er1 >conftest.err
37422 cat conftest.err >&5
37423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37424 (exit $ac_status); } && {
37425 test -z "$ac_c_werror_flag" ||
37426 test ! -s conftest.err
37427 } && test -s conftest$ac_exeext &&
37428 $as_test_x conftest$ac_exeext; then
37429 eval "$as_ac_var=yes"
37431 echo "$as_me: failed program was:" >&5
37432 sed 's/^/| /' conftest.$ac_ext >&5
37434 eval "$as_ac_var=no"
37437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37438 conftest$ac_exeext conftest.$ac_ext
37440 ac_res=`eval echo '${'$as_ac_var'}'`
37441 { echo "$as_me:$LINENO: result: $ac_res" >&5
37442 echo "${ECHO_T}$ac_res" >&6; }
37443 if test `eval echo '${'$as_ac_var'}'` = yes; then
37444 cat >>confdefs.h <<_ACEOF
37445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37453 HAVE_SOME_SLEEP_FUNC=0
37454 if test "$USE_BEOS" = 1; then
37455 cat >>confdefs.h <<\_ACEOF
37456 #define HAVE_SLEEP 1
37459 HAVE_SOME_SLEEP_FUNC=1
37462 if test "$USE_DARWIN" = 1; then
37463 cat >>confdefs.h <<\_ACEOF
37464 #define HAVE_USLEEP 1
37467 HAVE_SOME_SLEEP_FUNC=1
37470 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37473 for ac_func in nanosleep
37475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37476 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37478 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37479 echo $ECHO_N "(cached) $ECHO_C" >&6
37481 cat >conftest.$ac_ext <<_ACEOF
37484 cat confdefs.h >>conftest.$ac_ext
37485 cat >>conftest.$ac_ext <<_ACEOF
37486 /* end confdefs.h. */
37487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37489 #define $ac_func innocuous_$ac_func
37491 /* System header to define __stub macros and hopefully few prototypes,
37492 which can conflict with char $ac_func (); below.
37493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37494 <limits.h> exists even on freestanding compilers. */
37497 # include <limits.h>
37499 # include <assert.h>
37504 /* Override any GCC internal prototype to avoid an error.
37505 Use char because int might match the return type of a GCC
37506 builtin and then its argument prototype would still apply. */
37511 /* The GNU C library defines this for functions which it implements
37512 to always fail with ENOSYS. Some functions are actually named
37513 something starting with __ and the normal name is an alias. */
37514 #if defined __stub_$ac_func || defined __stub___$ac_func
37521 return $ac_func ();
37526 rm -f conftest.$ac_objext conftest$ac_exeext
37527 if { (ac_try="$ac_link"
37528 case "(($ac_try" in
37529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37530 *) ac_try_echo
=$ac_try;;
37532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37533 (eval "$ac_link") 2>conftest.er1
37535 grep -v '^ *+' conftest.er1
>conftest.err
37537 cat conftest.err
>&5
37538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37539 (exit $ac_status); } && {
37540 test -z "$ac_c_werror_flag" ||
37541 test ! -s conftest.err
37542 } && test -s conftest
$ac_exeext &&
37543 $as_test_x conftest
$ac_exeext; then
37544 eval "$as_ac_var=yes"
37546 echo "$as_me: failed program was:" >&5
37547 sed 's/^/| /' conftest.
$ac_ext >&5
37549 eval "$as_ac_var=no"
37552 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37553 conftest
$ac_exeext conftest.
$ac_ext
37555 ac_res
=`eval echo '${'$as_ac_var'}'`
37556 { echo "$as_me:$LINENO: result: $ac_res" >&5
37557 echo "${ECHO_T}$ac_res" >&6; }
37558 if test `eval echo '${'$as_ac_var'}'` = yes; then
37559 cat >>confdefs.h
<<_ACEOF
37560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37562 cat >>confdefs.h
<<\_ACEOF
37563 #define HAVE_NANOSLEEP 1
37568 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37569 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37570 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37571 echo $ECHO_N "(cached) $ECHO_C" >&6
37573 ac_check_lib_save_LIBS
=$LIBS
37574 LIBS
="-lposix4 $LIBS"
37575 cat >conftest.
$ac_ext <<_ACEOF
37578 cat confdefs.h
>>conftest.
$ac_ext
37579 cat >>conftest.
$ac_ext <<_ACEOF
37580 /* end confdefs.h. */
37582 /* Override any GCC internal prototype to avoid an error.
37583 Use char because int might match the return type of a GCC
37584 builtin and then its argument prototype would still apply. */
37592 return nanosleep ();
37597 rm -f conftest.
$ac_objext conftest
$ac_exeext
37598 if { (ac_try
="$ac_link"
37599 case "(($ac_try" in
37600 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37601 *) ac_try_echo=$ac_try;;
37603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37604 (eval "$ac_link") 2>conftest.er1
37606 grep -v '^ *+' conftest.er1 >conftest.err
37608 cat conftest.err >&5
37609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610 (exit $ac_status); } && {
37611 test -z "$ac_c_werror_flag" ||
37612 test ! -s conftest.err
37613 } && test -s conftest$ac_exeext &&
37614 $as_test_x conftest$ac_exeext; then
37615 ac_cv_lib_posix4_nanosleep=yes
37617 echo "$as_me: failed program was:" >&5
37618 sed 's/^/| /' conftest.$ac_ext >&5
37620 ac_cv_lib_posix4_nanosleep=no
37623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37624 conftest$ac_exeext conftest.$ac_ext
37625 LIBS=$ac_check_lib_save_LIBS
37627 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37628 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37629 if test $ac_cv_lib_posix4_nanosleep = yes; then
37631 cat >>confdefs.h <<\_ACEOF
37632 #define HAVE_NANOSLEEP 1
37635 POSIX4_LINK=" -lposix4"
37640 for wx_func in usleep
37642 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37643 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37644 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37645 echo $ECHO_N "(cached) $ECHO_C" >&6
37648 cat >conftest.$ac_ext <<_ACEOF
37652 cat confdefs.h >>conftest.$ac_ext
37653 cat >>conftest.$ac_ext <<_ACEOF
37654 /* end confdefs.h. */
37657 $ac_includes_default
37673 rm -f conftest.$ac_objext conftest$ac_exeext
37674 if { (ac_try="$ac_link"
37675 case "(($ac_try" in
37676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37677 *) ac_try_echo
=$ac_try;;
37679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37680 (eval "$ac_link") 2>conftest.er1
37682 grep -v '^ *+' conftest.er1
>conftest.err
37684 cat conftest.err
>&5
37685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37686 (exit $ac_status); } && {
37687 test -z "$ac_c_werror_flag" ||
37688 test ! -s conftest.err
37689 } && test -s conftest
$ac_exeext &&
37690 $as_test_x conftest
$ac_exeext; then
37691 eval wx_cv_func_
$wx_func=yes
37693 echo "$as_me: failed program was:" >&5
37694 sed 's/^/| /' conftest.
$ac_ext >&5
37696 eval wx_cv_func_
$wx_func=no
37699 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37700 conftest
$ac_exeext conftest.
$ac_ext
37703 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37704 { echo "$as_me:$LINENO: result: $ac_res" >&5
37705 echo "${ECHO_T}$ac_res" >&6; }
37707 if eval test \
$wx_cv_func_$wx_func = yes
37709 cat >>confdefs.h
<<_ACEOF
37710 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37716 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37717 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37734 for wx_func
in uname
37736 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37737 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37738 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37739 echo $ECHO_N "(cached) $ECHO_C" >&6
37742 cat >conftest.
$ac_ext <<_ACEOF
37746 cat confdefs.h
>>conftest.
$ac_ext
37747 cat >>conftest.
$ac_ext <<_ACEOF
37748 /* end confdefs.h. */
37750 #include <sys/utsname.h>
37751 $ac_includes_default
37767 rm -f conftest.
$ac_objext conftest
$ac_exeext
37768 if { (ac_try
="$ac_link"
37769 case "(($ac_try" in
37770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37771 *) ac_try_echo=$ac_try;;
37773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37774 (eval "$ac_link") 2>conftest.er1
37776 grep -v '^ *+' conftest.er1 >conftest.err
37778 cat conftest.err >&5
37779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37780 (exit $ac_status); } && {
37781 test -z "$ac_c_werror_flag" ||
37782 test ! -s conftest.err
37783 } && test -s conftest$ac_exeext &&
37784 $as_test_x conftest$ac_exeext; then
37785 eval wx_cv_func_$wx_func=yes
37787 echo "$as_me: failed program was:" >&5
37788 sed 's/^/| /' conftest.$ac_ext >&5
37790 eval wx_cv_func_$wx_func=no
37793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37794 conftest$ac_exeext conftest.$ac_ext
37797 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37798 { echo "$as_me:$LINENO: result: $ac_res" >&5
37799 echo "${ECHO_T}$ac_res" >&6; }
37801 if eval test \$wx_cv_func_$wx_func = yes
37803 cat >>confdefs.h <<_ACEOF
37804 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37814 if test "$wx_cv_func_uname" != yes; then
37816 for wx_func in gethostname
37818 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37819 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37820 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37821 echo $ECHO_N "(cached) $ECHO_C" >&6
37824 cat >conftest.$ac_ext <<_ACEOF
37828 cat confdefs.h >>conftest.$ac_ext
37829 cat >>conftest.$ac_ext <<_ACEOF
37830 /* end confdefs.h. */
37833 $ac_includes_default
37849 rm -f conftest.$ac_objext conftest$ac_exeext
37850 if { (ac_try="$ac_link"
37851 case "(($ac_try" in
37852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37853 *) ac_try_echo
=$ac_try;;
37855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37856 (eval "$ac_link") 2>conftest.er1
37858 grep -v '^ *+' conftest.er1
>conftest.err
37860 cat conftest.err
>&5
37861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37862 (exit $ac_status); } && {
37863 test -z "$ac_c_werror_flag" ||
37864 test ! -s conftest.err
37865 } && test -s conftest
$ac_exeext &&
37866 $as_test_x conftest
$ac_exeext; then
37867 eval wx_cv_func_
$wx_func=yes
37869 echo "$as_me: failed program was:" >&5
37870 sed 's/^/| /' conftest.
$ac_ext >&5
37872 eval wx_cv_func_
$wx_func=no
37875 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37876 conftest
$ac_exeext conftest.
$ac_ext
37879 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37880 { echo "$as_me:$LINENO: result: $ac_res" >&5
37881 echo "${ECHO_T}$ac_res" >&6; }
37883 if eval test \
$wx_cv_func_$wx_func = yes
37885 cat >>confdefs.h
<<_ACEOF
37886 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37899 for wx_func
in strtok_r
37901 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37902 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37903 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37904 echo $ECHO_N "(cached) $ECHO_C" >&6
37907 cat >conftest.
$ac_ext <<_ACEOF
37911 cat confdefs.h
>>conftest.
$ac_ext
37912 cat >>conftest.
$ac_ext <<_ACEOF
37913 /* end confdefs.h. */
37916 $ac_includes_default
37932 rm -f conftest.
$ac_objext conftest
$ac_exeext
37933 if { (ac_try
="$ac_link"
37934 case "(($ac_try" in
37935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37936 *) ac_try_echo=$ac_try;;
37938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37939 (eval "$ac_link") 2>conftest.er1
37941 grep -v '^ *+' conftest.er1 >conftest.err
37943 cat conftest.err >&5
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); } && {
37946 test -z "$ac_c_werror_flag" ||
37947 test ! -s conftest.err
37948 } && test -s conftest$ac_exeext &&
37949 $as_test_x conftest$ac_exeext; then
37950 eval wx_cv_func_$wx_func=yes
37952 echo "$as_me: failed program was:" >&5
37953 sed 's/^/| /' conftest.$ac_ext >&5
37955 eval wx_cv_func_$wx_func=no
37958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37959 conftest$ac_exeext conftest.$ac_ext
37962 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37963 { echo "$as_me:$LINENO: result: $ac_res" >&5
37964 echo "${ECHO_T}$ac_res" >&6; }
37966 if eval test \$wx_cv_func_$wx_func = yes
37968 cat >>confdefs.h <<_ACEOF
37969 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37982 for ac_func in inet_addr
37984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37985 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37987 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37988 echo $ECHO_N "(cached) $ECHO_C" >&6
37990 cat >conftest.$ac_ext <<_ACEOF
37993 cat confdefs.h >>conftest.$ac_ext
37994 cat >>conftest.$ac_ext <<_ACEOF
37995 /* end confdefs.h. */
37996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37998 #define $ac_func innocuous_$ac_func
38000 /* System header to define __stub macros and hopefully few prototypes,
38001 which can conflict with char $ac_func (); below.
38002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38003 <limits.h> exists even on freestanding compilers. */
38006 # include <limits.h>
38008 # include <assert.h>
38013 /* Override any GCC internal prototype to avoid an error.
38014 Use char because int might match the return type of a GCC
38015 builtin and then its argument prototype would still apply. */
38020 /* The GNU C library defines this for functions which it implements
38021 to always fail with ENOSYS. Some functions are actually named
38022 something starting with __ and the normal name is an alias. */
38023 #if defined __stub_$ac_func || defined __stub___$ac_func
38030 return $ac_func ();
38035 rm -f conftest.$ac_objext conftest$ac_exeext
38036 if { (ac_try="$ac_link"
38037 case "(($ac_try" in
38038 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38039 *) ac_try_echo
=$ac_try;;
38041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38042 (eval "$ac_link") 2>conftest.er1
38044 grep -v '^ *+' conftest.er1
>conftest.err
38046 cat conftest.err
>&5
38047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38048 (exit $ac_status); } && {
38049 test -z "$ac_c_werror_flag" ||
38050 test ! -s conftest.err
38051 } && test -s conftest
$ac_exeext &&
38052 $as_test_x conftest
$ac_exeext; then
38053 eval "$as_ac_var=yes"
38055 echo "$as_me: failed program was:" >&5
38056 sed 's/^/| /' conftest.
$ac_ext >&5
38058 eval "$as_ac_var=no"
38061 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38062 conftest
$ac_exeext conftest.
$ac_ext
38064 ac_res
=`eval echo '${'$as_ac_var'}'`
38065 { echo "$as_me:$LINENO: result: $ac_res" >&5
38066 echo "${ECHO_T}$ac_res" >&6; }
38067 if test `eval echo '${'$as_ac_var'}'` = yes; then
38068 cat >>confdefs.h
<<_ACEOF
38069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38071 cat >>confdefs.h
<<\_ACEOF
38072 #define HAVE_INET_ADDR 1
38077 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38078 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38079 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38080 echo $ECHO_N "(cached) $ECHO_C" >&6
38082 ac_check_lib_save_LIBS
=$LIBS
38084 cat >conftest.
$ac_ext <<_ACEOF
38087 cat confdefs.h
>>conftest.
$ac_ext
38088 cat >>conftest.
$ac_ext <<_ACEOF
38089 /* end confdefs.h. */
38091 /* Override any GCC internal prototype to avoid an error.
38092 Use char because int might match the return type of a GCC
38093 builtin and then its argument prototype would still apply. */
38101 return inet_addr ();
38106 rm -f conftest.
$ac_objext conftest
$ac_exeext
38107 if { (ac_try
="$ac_link"
38108 case "(($ac_try" in
38109 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38110 *) ac_try_echo=$ac_try;;
38112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38113 (eval "$ac_link") 2>conftest.er1
38115 grep -v '^ *+' conftest.er1 >conftest.err
38117 cat conftest.err >&5
38118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38119 (exit $ac_status); } && {
38120 test -z "$ac_c_werror_flag" ||
38121 test ! -s conftest.err
38122 } && test -s conftest$ac_exeext &&
38123 $as_test_x conftest$ac_exeext; then
38124 ac_cv_lib_nsl_inet_addr=yes
38126 echo "$as_me: failed program was:" >&5
38127 sed 's/^/| /' conftest.$ac_ext >&5
38129 ac_cv_lib_nsl_inet_addr=no
38132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38133 conftest$ac_exeext conftest.$ac_ext
38134 LIBS=$ac_check_lib_save_LIBS
38136 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38137 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38138 if test $ac_cv_lib_nsl_inet_addr = yes; then
38142 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38143 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38144 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38145 echo $ECHO_N "(cached) $ECHO_C" >&6
38147 ac_check_lib_save_LIBS=$LIBS
38148 LIBS="-lresolv $LIBS"
38149 cat >conftest.$ac_ext <<_ACEOF
38152 cat confdefs.h >>conftest.$ac_ext
38153 cat >>conftest.$ac_ext <<_ACEOF
38154 /* end confdefs.h. */
38156 /* Override any GCC internal prototype to avoid an error.
38157 Use char because int might match the return type of a GCC
38158 builtin and then its argument prototype would still apply. */
38166 return inet_addr ();
38171 rm -f conftest.$ac_objext conftest$ac_exeext
38172 if { (ac_try="$ac_link"
38173 case "(($ac_try" in
38174 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38175 *) ac_try_echo
=$ac_try;;
38177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38178 (eval "$ac_link") 2>conftest.er1
38180 grep -v '^ *+' conftest.er1
>conftest.err
38182 cat conftest.err
>&5
38183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38184 (exit $ac_status); } && {
38185 test -z "$ac_c_werror_flag" ||
38186 test ! -s conftest.err
38187 } && test -s conftest
$ac_exeext &&
38188 $as_test_x conftest
$ac_exeext; then
38189 ac_cv_lib_resolv_inet_addr
=yes
38191 echo "$as_me: failed program was:" >&5
38192 sed 's/^/| /' conftest.
$ac_ext >&5
38194 ac_cv_lib_resolv_inet_addr
=no
38197 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38198 conftest
$ac_exeext conftest.
$ac_ext
38199 LIBS
=$ac_check_lib_save_LIBS
38201 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38202 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38203 if test $ac_cv_lib_resolv_inet_addr = yes; then
38207 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38208 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38209 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38210 echo $ECHO_N "(cached) $ECHO_C" >&6
38212 ac_check_lib_save_LIBS
=$LIBS
38213 LIBS
="-lsocket $LIBS"
38214 cat >conftest.
$ac_ext <<_ACEOF
38217 cat confdefs.h
>>conftest.
$ac_ext
38218 cat >>conftest.
$ac_ext <<_ACEOF
38219 /* end confdefs.h. */
38221 /* Override any GCC internal prototype to avoid an error.
38222 Use char because int might match the return type of a GCC
38223 builtin and then its argument prototype would still apply. */
38231 return inet_addr ();
38236 rm -f conftest.
$ac_objext conftest
$ac_exeext
38237 if { (ac_try
="$ac_link"
38238 case "(($ac_try" in
38239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38240 *) ac_try_echo=$ac_try;;
38242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38243 (eval "$ac_link") 2>conftest.er1
38245 grep -v '^ *+' conftest.er1 >conftest.err
38247 cat conftest.err >&5
38248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38249 (exit $ac_status); } && {
38250 test -z "$ac_c_werror_flag" ||
38251 test ! -s conftest.err
38252 } && test -s conftest$ac_exeext &&
38253 $as_test_x conftest$ac_exeext; then
38254 ac_cv_lib_socket_inet_addr=yes
38256 echo "$as_me: failed program was:" >&5
38257 sed 's/^/| /' conftest.$ac_ext >&5
38259 ac_cv_lib_socket_inet_addr=no
38262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38263 conftest$ac_exeext conftest.$ac_ext
38264 LIBS=$ac_check_lib_save_LIBS
38266 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38267 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38268 if test $ac_cv_lib_socket_inet_addr = yes; then
38288 for ac_func in inet_aton
38290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38293 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38294 echo $ECHO_N "(cached) $ECHO_C" >&6
38296 cat >conftest.$ac_ext <<_ACEOF
38299 cat confdefs.h >>conftest.$ac_ext
38300 cat >>conftest.$ac_ext <<_ACEOF
38301 /* end confdefs.h. */
38302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38304 #define $ac_func innocuous_$ac_func
38306 /* System header to define __stub macros and hopefully few prototypes,
38307 which can conflict with char $ac_func (); below.
38308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38309 <limits.h> exists even on freestanding compilers. */
38312 # include <limits.h>
38314 # include <assert.h>
38319 /* Override any GCC internal prototype to avoid an error.
38320 Use char because int might match the return type of a GCC
38321 builtin and then its argument prototype would still apply. */
38326 /* The GNU C library defines this for functions which it implements
38327 to always fail with ENOSYS. Some functions are actually named
38328 something starting with __ and the normal name is an alias. */
38329 #if defined __stub_$ac_func || defined __stub___$ac_func
38336 return $ac_func ();
38341 rm -f conftest.$ac_objext conftest$ac_exeext
38342 if { (ac_try="$ac_link"
38343 case "(($ac_try" in
38344 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38345 *) ac_try_echo
=$ac_try;;
38347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38348 (eval "$ac_link") 2>conftest.er1
38350 grep -v '^ *+' conftest.er1
>conftest.err
38352 cat conftest.err
>&5
38353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38354 (exit $ac_status); } && {
38355 test -z "$ac_c_werror_flag" ||
38356 test ! -s conftest.err
38357 } && test -s conftest
$ac_exeext &&
38358 $as_test_x conftest
$ac_exeext; then
38359 eval "$as_ac_var=yes"
38361 echo "$as_me: failed program was:" >&5
38362 sed 's/^/| /' conftest.
$ac_ext >&5
38364 eval "$as_ac_var=no"
38367 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38368 conftest
$ac_exeext conftest.
$ac_ext
38370 ac_res
=`eval echo '${'$as_ac_var'}'`
38371 { echo "$as_me:$LINENO: result: $ac_res" >&5
38372 echo "${ECHO_T}$ac_res" >&6; }
38373 if test `eval echo '${'$as_ac_var'}'` = yes; then
38374 cat >>confdefs.h
<<_ACEOF
38375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38377 cat >>confdefs.h
<<\_ACEOF
38378 #define HAVE_INET_ATON 1
38383 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38384 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38385 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38386 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38387 echo $ECHO_N "(cached) $ECHO_C" >&6
38389 ac_check_lib_save_LIBS
=$LIBS
38390 LIBS
="-l$INET_LINK $LIBS"
38391 cat >conftest.
$ac_ext <<_ACEOF
38394 cat confdefs.h
>>conftest.
$ac_ext
38395 cat >>conftest.
$ac_ext <<_ACEOF
38396 /* end confdefs.h. */
38398 /* Override any GCC internal prototype to avoid an error.
38399 Use char because int might match the return type of a GCC
38400 builtin and then its argument prototype would still apply. */
38408 return inet_aton ();
38413 rm -f conftest.
$ac_objext conftest
$ac_exeext
38414 if { (ac_try
="$ac_link"
38415 case "(($ac_try" in
38416 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38417 *) ac_try_echo=$ac_try;;
38419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38420 (eval "$ac_link") 2>conftest.er1
38422 grep -v '^ *+' conftest.er1 >conftest.err
38424 cat conftest.err >&5
38425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38426 (exit $ac_status); } && {
38427 test -z "$ac_c_werror_flag" ||
38428 test ! -s conftest.err
38429 } && test -s conftest$ac_exeext &&
38430 $as_test_x conftest$ac_exeext; then
38431 eval "$as_ac_Lib=yes"
38433 echo "$as_me: failed program was:" >&5
38434 sed 's/^/| /' conftest.$ac_ext >&5
38436 eval "$as_ac_Lib=no"
38439 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38440 conftest$ac_exeext conftest.$ac_ext
38441 LIBS=$ac_check_lib_save_LIBS
38443 ac_res=`eval echo '${'$as_ac_Lib'}'`
38444 { echo "$as_me:$LINENO: result: $ac_res" >&5
38445 echo "${ECHO_T}$ac_res" >&6; }
38446 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38447 cat >>confdefs.h <<\_ACEOF
38448 #define HAVE_INET_ATON 1
38458 if test "x$INET_LINK" != "x"; then
38459 cat >>confdefs.h <<\_ACEOF
38460 #define HAVE_INET_ADDR 1
38463 INET_LINK=" -l$INET_LINK"
38467 for wx_func in fdopen
38469 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38470 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38471 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38472 echo $ECHO_N "(cached) $ECHO_C" >&6
38475 cat >conftest.$ac_ext <<_ACEOF
38479 cat confdefs.h >>conftest.$ac_ext
38480 cat >>conftest.$ac_ext <<_ACEOF
38481 /* end confdefs.h. */
38484 $ac_includes_default
38500 rm -f conftest.$ac_objext conftest$ac_exeext
38501 if { (ac_try="$ac_link"
38502 case "(($ac_try" in
38503 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38504 *) ac_try_echo
=$ac_try;;
38506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38507 (eval "$ac_link") 2>conftest.er1
38509 grep -v '^ *+' conftest.er1
>conftest.err
38511 cat conftest.err
>&5
38512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38513 (exit $ac_status); } && {
38514 test -z "$ac_c_werror_flag" ||
38515 test ! -s conftest.err
38516 } && test -s conftest
$ac_exeext &&
38517 $as_test_x conftest
$ac_exeext; then
38518 eval wx_cv_func_
$wx_func=yes
38520 echo "$as_me: failed program was:" >&5
38521 sed 's/^/| /' conftest.
$ac_ext >&5
38523 eval wx_cv_func_
$wx_func=no
38526 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38527 conftest
$ac_exeext conftest.
$ac_ext
38530 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38531 { echo "$as_me:$LINENO: result: $ac_res" >&5
38532 echo "${ECHO_T}$ac_res" >&6; }
38534 if eval test \
$wx_cv_func_$wx_func = yes
38536 cat >>confdefs.h
<<_ACEOF
38537 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38548 if test "$wxUSE_TARSTREAM" = "yes"; then
38550 for wx_func
in sysconf
38552 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38553 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38554 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38555 echo $ECHO_N "(cached) $ECHO_C" >&6
38558 cat >conftest.
$ac_ext <<_ACEOF
38562 cat confdefs.h
>>conftest.
$ac_ext
38563 cat >>conftest.
$ac_ext <<_ACEOF
38564 /* end confdefs.h. */
38567 $ac_includes_default
38583 rm -f conftest.
$ac_objext conftest
$ac_exeext
38584 if { (ac_try
="$ac_link"
38585 case "(($ac_try" in
38586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38587 *) ac_try_echo=$ac_try;;
38589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38590 (eval "$ac_link") 2>conftest.er1
38592 grep -v '^ *+' conftest.er1 >conftest.err
38594 cat conftest.err >&5
38595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38596 (exit $ac_status); } && {
38597 test -z "$ac_c_werror_flag" ||
38598 test ! -s conftest.err
38599 } && test -s conftest$ac_exeext &&
38600 $as_test_x conftest$ac_exeext; then
38601 eval wx_cv_func_$wx_func=yes
38603 echo "$as_me: failed program was:" >&5
38604 sed 's/^/| /' conftest.$ac_ext >&5
38606 eval wx_cv_func_$wx_func=no
38609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38610 conftest$ac_exeext conftest.$ac_ext
38613 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38614 { echo "$as_me:$LINENO: result: $ac_res" >&5
38615 echo "${ECHO_T}$ac_res" >&6; }
38617 if eval test \$wx_cv_func_$wx_func = yes
38619 cat >>confdefs.h <<_ACEOF
38620 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38632 for wx_func in getpwuid_r
38634 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38635 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38636 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38637 echo $ECHO_N "(cached) $ECHO_C" >&6
38640 cat >conftest.$ac_ext <<_ACEOF
38644 cat confdefs.h >>conftest.$ac_ext
38645 cat >>conftest.$ac_ext <<_ACEOF
38646 /* end confdefs.h. */
38652 $ac_includes_default
38662 struct passwd pw, *ppw;
38664 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38672 rm -f conftest.$ac_objext conftest$ac_exeext
38673 if { (ac_try="$ac_link"
38674 case "(($ac_try" in
38675 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38676 *) ac_try_echo
=$ac_try;;
38678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38679 (eval "$ac_link") 2>conftest.er1
38681 grep -v '^ *+' conftest.er1
>conftest.err
38683 cat conftest.err
>&5
38684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38685 (exit $ac_status); } && {
38686 test -z "$ac_c_werror_flag" ||
38687 test ! -s conftest.err
38688 } && test -s conftest
$ac_exeext &&
38689 $as_test_x conftest
$ac_exeext; then
38690 eval wx_cv_func_
$wx_func=yes
38692 echo "$as_me: failed program was:" >&5
38693 sed 's/^/| /' conftest.
$ac_ext >&5
38695 eval wx_cv_func_
$wx_func=no
38698 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38699 conftest
$ac_exeext conftest.
$ac_ext
38702 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38703 { echo "$as_me:$LINENO: result: $ac_res" >&5
38704 echo "${ECHO_T}$ac_res" >&6; }
38706 if eval test \
$wx_cv_func_$wx_func = yes
38708 cat >>confdefs.h
<<_ACEOF
38709 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38721 for wx_func
in getgrgid_r
38723 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38724 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38725 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38726 echo $ECHO_N "(cached) $ECHO_C" >&6
38729 cat >conftest.
$ac_ext <<_ACEOF
38733 cat confdefs.h
>>conftest.
$ac_ext
38734 cat >>conftest.
$ac_ext <<_ACEOF
38735 /* end confdefs.h. */
38741 $ac_includes_default
38751 struct group grp, *pgrp;
38753 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38761 rm -f conftest.
$ac_objext conftest
$ac_exeext
38762 if { (ac_try
="$ac_link"
38763 case "(($ac_try" in
38764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38765 *) ac_try_echo=$ac_try;;
38767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38768 (eval "$ac_link") 2>conftest.er1
38770 grep -v '^ *+' conftest.er1 >conftest.err
38772 cat conftest.err >&5
38773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38774 (exit $ac_status); } && {
38775 test -z "$ac_c_werror_flag" ||
38776 test ! -s conftest.err
38777 } && test -s conftest$ac_exeext &&
38778 $as_test_x conftest$ac_exeext; then
38779 eval wx_cv_func_$wx_func=yes
38781 echo "$as_me: failed program was:" >&5
38782 sed 's/^/| /' conftest.$ac_ext >&5
38784 eval wx_cv_func_$wx_func=no
38787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38788 conftest$ac_exeext conftest.$ac_ext
38791 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38792 { echo "$as_me:$LINENO: result: $ac_res" >&5
38793 echo "${ECHO_T}$ac_res" >&6; }
38795 if eval test \$wx_cv_func_$wx_func = yes
38797 cat >>confdefs.h <<_ACEOF
38798 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38814 cat >confcache <<\_ACEOF
38815 # This file is a shell script that caches the results of configure
38816 # tests run on this system so they can be shared between configure
38817 # scripts and configure runs, see configure's option --config-cache.
38818 # It is not useful on other systems. If it contains results you don't
38819 # want to keep, you may remove or edit it.
38821 # config.status only pays attention to the cache file if you give it
38822 # the --recheck option to rerun configure.
38824 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38825 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38826 # following values.
38830 # The following way of writing the cache mishandles newlines in values,
38831 # but we know of no workaround that is simple, portable, and efficient.
38832 # So, we kill variables containing newlines.
38833 # Ultrix sh set writes to stderr and can't be redirected directly,
38834 # and sets the high bit in the cache file unless we assign to the vars.
38836 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38837 eval ac_val
=\$
$ac_var
38841 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38842 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38845 _
| IFS
| as_nl
) ;; #(
38846 *) $as_unset $ac_var ;;
38852 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38853 *${as_nl}ac_space
=\
*)
38854 # `set' does not quote correctly, so add quotes (double-quote
38855 # substitution turns \\\\ into \\, and sed turns \\ into \).
38858 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38861 # `set' quotes correctly as required by POSIX, so do not add quotes.
38862 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38871 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38873 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38875 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38876 if test -w "$cache_file"; then
38877 test "x$cache_file" != "x/dev/null" &&
38878 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38879 echo "$as_me: updating cache $cache_file" >&6;}
38880 cat confcache
>$cache_file
38882 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38883 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38889 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38895 if test "$wxUSE_THREADS" = "yes" ; then
38896 if test "$USE_BEOS" = 1; then
38897 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38898 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38903 if test "$wxUSE_THREADS" = "yes" ; then
38906 THREAD_OPTS
="-pthread"
38907 if test "x$SUNCXX" = xyes
; then
38908 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38912 *-*-solaris2* | *-*-sunos4* )
38913 if test "x$GCC" = "xyes"; then
38914 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38918 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38920 *-*-darwin* | *-*-cygwin* )
38924 THREAD_OPTS
="pthreads"
38927 if test "x$GCC" = "xyes"; then
38928 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38936 if test "x$GCC" = "xyes"; then
38942 if test "x$GCC" != "xyes"; then
38943 THREAD_OPTS
="-Ethread"
38948 THREAD_OPTS
="$THREAD_OPTS pthread none"
38951 for flag
in $THREAD_OPTS; do
38954 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38955 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38959 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38960 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38961 THREADS_CFLAGS
="$flag"
38965 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38966 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38967 THREADS_LINK
="-l$flag"
38972 save_CFLAGS
="$CFLAGS"
38973 LIBS
="$THREADS_LINK $LIBS"
38974 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38976 cat >conftest.
$ac_ext <<_ACEOF
38979 cat confdefs.h
>>conftest.
$ac_ext
38980 cat >>conftest.
$ac_ext <<_ACEOF
38981 /* end confdefs.h. */
38982 #include <pthread.h>
38986 pthread_create(0,0,0,0);
38991 rm -f conftest.
$ac_objext conftest
$ac_exeext
38992 if { (ac_try
="$ac_link"
38993 case "(($ac_try" in
38994 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38995 *) ac_try_echo=$ac_try;;
38997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38998 (eval "$ac_link") 2>conftest.er1
39000 grep -v '^ *+' conftest.er1 >conftest.err
39002 cat conftest.err >&5
39003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004 (exit $ac_status); } && {
39005 test -z "$ac_c_werror_flag" ||
39006 test ! -s conftest.err
39007 } && test -s conftest$ac_exeext &&
39008 $as_test_x conftest$ac_exeext; then
39011 echo "$as_me: failed program was:" >&5
39012 sed 's/^/| /' conftest.$ac_ext >&5
39017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39018 conftest$ac_exeext conftest.$ac_ext
39021 CFLAGS="$save_CFLAGS"
39023 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39024 echo "${ECHO_T}$THREADS_OK" >&6; }
39025 if test "x$THREADS_OK" = "xyes"; then
39033 if test "x$THREADS_OK" != "xyes"; then
39035 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39036 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39038 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39039 LIBS="$THREADS_LINK $LIBS"
39041 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39042 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39046 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39047 flag="-D_THREAD_SAFE"
39050 flag="-D_THREAD_SAFE"
39053 flag="-D_REENTRANT"
39054 if test "x$GCC" != "xyes"; then
39055 flag="$flag -D_RWSTD_MULTI_THREAD"
39058 *solaris* | alpha*-osf*)
39059 flag="-D_REENTRANT"
39062 { echo "$as_me:$LINENO: result: ${flag}" >&5
39063 echo "${ECHO_T}${flag}" >&6; }
39064 if test "x$flag" != xno; then
39065 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39068 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39072 if test "$wxUSE_THREADS" = "yes" ; then
39074 for ac_func in thr_setconcurrency
39076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39077 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39079 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39080 echo $ECHO_N "(cached) $ECHO_C" >&6
39082 cat >conftest.$ac_ext <<_ACEOF
39085 cat confdefs.h >>conftest.$ac_ext
39086 cat >>conftest.$ac_ext <<_ACEOF
39087 /* end confdefs.h. */
39088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39090 #define $ac_func innocuous_$ac_func
39092 /* System header to define __stub macros and hopefully few prototypes,
39093 which can conflict with char $ac_func (); below.
39094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39095 <limits.h> exists even on freestanding compilers. */
39098 # include <limits.h>
39100 # include <assert.h>
39105 /* Override any GCC internal prototype to avoid an error.
39106 Use char because int might match the return type of a GCC
39107 builtin and then its argument prototype would still apply. */
39112 /* The GNU C library defines this for functions which it implements
39113 to always fail with ENOSYS. Some functions are actually named
39114 something starting with __ and the normal name is an alias. */
39115 #if defined __stub_$ac_func || defined __stub___$ac_func
39122 return $ac_func ();
39127 rm -f conftest.$ac_objext conftest$ac_exeext
39128 if { (ac_try="$ac_link"
39129 case "(($ac_try" in
39130 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39131 *) ac_try_echo
=$ac_try;;
39133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39134 (eval "$ac_link") 2>conftest.er1
39136 grep -v '^ *+' conftest.er1
>conftest.err
39138 cat conftest.err
>&5
39139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39140 (exit $ac_status); } && {
39141 test -z "$ac_c_werror_flag" ||
39142 test ! -s conftest.err
39143 } && test -s conftest
$ac_exeext &&
39144 $as_test_x conftest
$ac_exeext; then
39145 eval "$as_ac_var=yes"
39147 echo "$as_me: failed program was:" >&5
39148 sed 's/^/| /' conftest.
$ac_ext >&5
39150 eval "$as_ac_var=no"
39153 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39154 conftest
$ac_exeext conftest.
$ac_ext
39156 ac_res
=`eval echo '${'$as_ac_var'}'`
39157 { echo "$as_me:$LINENO: result: $ac_res" >&5
39158 echo "${ECHO_T}$ac_res" >&6; }
39159 if test `eval echo '${'$as_ac_var'}'` = yes; then
39160 cat >>confdefs.h
<<_ACEOF
39161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39168 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39169 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39170 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39171 echo $ECHO_N "(cached) $ECHO_C" >&6
39175 ac_cpp
='$CXXCPP $CPPFLAGS'
39176 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39177 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39178 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39180 cat >conftest.
$ac_ext <<_ACEOF
39183 cat confdefs.h
>>conftest.
$ac_ext
39184 cat >>conftest.
$ac_ext <<_ACEOF
39185 /* end confdefs.h. */
39186 #include <pthread.h>
39187 void ThreadCleanupFunc(void *p);
39194 pthread_cleanup_push(ThreadCleanupFunc, p);
39195 pthread_cleanup_pop(0);
39201 rm -f conftest.
$ac_objext
39202 if { (ac_try
="$ac_compile"
39203 case "(($ac_try" in
39204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39205 *) ac_try_echo=$ac_try;;
39207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39208 (eval "$ac_compile") 2>conftest.er1
39210 grep -v '^ *+' conftest.er1 >conftest.err
39212 cat conftest.err >&5
39213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39214 (exit $ac_status); } && {
39215 test -z "$ac_cxx_werror_flag" ||
39216 test ! -s conftest.err
39217 } && test -s conftest.$ac_objext; then
39219 wx_cv_func_pthread_cleanup=yes
39222 echo "$as_me: failed program was:" >&5
39223 sed 's/^/| /' conftest.$ac_ext >&5
39226 wx_cv_func_pthread_cleanup=no
39231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39233 ac_cpp='$CPP $CPPFLAGS'
39234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39240 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39241 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39242 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39243 cat >>confdefs.h <<\_ACEOF
39244 #define wxHAVE_PTHREAD_CLEANUP 1
39250 for ac_header in sched.h
39252 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39253 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39256 echo $ECHO_N "(cached) $ECHO_C" >&6
39258 cat >conftest.$ac_ext <<_ACEOF
39261 cat confdefs.h >>conftest.$ac_ext
39262 cat >>conftest.$ac_ext <<_ACEOF
39263 /* end confdefs.h. */
39264 $ac_includes_default
39266 #include <$ac_header>
39268 rm -f conftest.$ac_objext
39269 if { (ac_try="$ac_compile"
39270 case "(($ac_try" in
39271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39272 *) ac_try_echo
=$ac_try;;
39274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39275 (eval "$ac_compile") 2>conftest.er1
39277 grep -v '^ *+' conftest.er1
>conftest.err
39279 cat conftest.err
>&5
39280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39281 (exit $ac_status); } && {
39282 test -z "$ac_c_werror_flag" ||
39283 test ! -s conftest.err
39284 } && test -s conftest.
$ac_objext; then
39285 eval "$as_ac_Header=yes"
39287 echo "$as_me: failed program was:" >&5
39288 sed 's/^/| /' conftest.
$ac_ext >&5
39290 eval "$as_ac_Header=no"
39293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39295 ac_res
=`eval echo '${'$as_ac_Header'}'`
39296 { echo "$as_me:$LINENO: result: $ac_res" >&5
39297 echo "${ECHO_T}$ac_res" >&6; }
39298 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39299 cat >>confdefs.h
<<_ACEOF
39300 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39307 if test "$ac_cv_header_sched_h" = "yes"; then
39308 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39309 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39310 if test "${ac_cv_func_sched_yield+set}" = set; then
39311 echo $ECHO_N "(cached) $ECHO_C" >&6
39313 cat >conftest.
$ac_ext <<_ACEOF
39316 cat confdefs.h
>>conftest.
$ac_ext
39317 cat >>conftest.
$ac_ext <<_ACEOF
39318 /* end confdefs.h. */
39319 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39321 #define sched_yield innocuous_sched_yield
39323 /* System header to define __stub macros and hopefully few prototypes,
39324 which can conflict with char sched_yield (); below.
39325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39326 <limits.h> exists even on freestanding compilers. */
39329 # include <limits.h>
39331 # include <assert.h>
39336 /* Override any GCC internal prototype to avoid an error.
39337 Use char because int might match the return type of a GCC
39338 builtin and then its argument prototype would still apply. */
39342 char sched_yield ();
39343 /* The GNU C library defines this for functions which it implements
39344 to always fail with ENOSYS. Some functions are actually named
39345 something starting with __ and the normal name is an alias. */
39346 #if defined __stub_sched_yield || defined __stub___sched_yield
39353 return sched_yield ();
39358 rm -f conftest.
$ac_objext conftest
$ac_exeext
39359 if { (ac_try
="$ac_link"
39360 case "(($ac_try" in
39361 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39362 *) ac_try_echo=$ac_try;;
39364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39365 (eval "$ac_link") 2>conftest.er1
39367 grep -v '^ *+' conftest.er1 >conftest.err
39369 cat conftest.err >&5
39370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39371 (exit $ac_status); } && {
39372 test -z "$ac_c_werror_flag" ||
39373 test ! -s conftest.err
39374 } && test -s conftest$ac_exeext &&
39375 $as_test_x conftest$ac_exeext; then
39376 ac_cv_func_sched_yield=yes
39378 echo "$as_me: failed program was:" >&5
39379 sed 's/^/| /' conftest.$ac_ext >&5
39381 ac_cv_func_sched_yield=no
39384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39385 conftest$ac_exeext conftest.$ac_ext
39387 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39388 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39389 if test $ac_cv_func_sched_yield = yes; then
39390 cat >>confdefs.h <<\_ACEOF
39391 #define HAVE_SCHED_YIELD 1
39396 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39397 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39398 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39399 echo $ECHO_N "(cached) $ECHO_C" >&6
39401 ac_check_lib_save_LIBS=$LIBS
39402 LIBS="-lposix4 $LIBS"
39403 cat >conftest.$ac_ext <<_ACEOF
39406 cat confdefs.h >>conftest.$ac_ext
39407 cat >>conftest.$ac_ext <<_ACEOF
39408 /* end confdefs.h. */
39410 /* Override any GCC internal prototype to avoid an error.
39411 Use char because int might match the return type of a GCC
39412 builtin and then its argument prototype would still apply. */
39416 char sched_yield ();
39420 return sched_yield ();
39425 rm -f conftest.$ac_objext conftest$ac_exeext
39426 if { (ac_try="$ac_link"
39427 case "(($ac_try" in
39428 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39429 *) ac_try_echo
=$ac_try;;
39431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39432 (eval "$ac_link") 2>conftest.er1
39434 grep -v '^ *+' conftest.er1
>conftest.err
39436 cat conftest.err
>&5
39437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438 (exit $ac_status); } && {
39439 test -z "$ac_c_werror_flag" ||
39440 test ! -s conftest.err
39441 } && test -s conftest
$ac_exeext &&
39442 $as_test_x conftest
$ac_exeext; then
39443 ac_cv_lib_posix4_sched_yield
=yes
39445 echo "$as_me: failed program was:" >&5
39446 sed 's/^/| /' conftest.
$ac_ext >&5
39448 ac_cv_lib_posix4_sched_yield
=no
39451 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39452 conftest
$ac_exeext conftest.
$ac_ext
39453 LIBS
=$ac_check_lib_save_LIBS
39455 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39456 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39457 if test $ac_cv_lib_posix4_sched_yield = yes; then
39458 cat >>confdefs.h
<<\_ACEOF
39459 #define HAVE_SCHED_YIELD 1
39461 POSIX4_LINK
=" -lposix4"
39463 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39464 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39475 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39476 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39477 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39478 echo $ECHO_N "(cached) $ECHO_C" >&6
39480 cat >conftest.
$ac_ext <<_ACEOF
39483 cat confdefs.h
>>conftest.
$ac_ext
39484 cat >>conftest.
$ac_ext <<_ACEOF
39485 /* end confdefs.h. */
39486 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39488 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39490 /* System header to define __stub macros and hopefully few prototypes,
39491 which can conflict with char pthread_attr_getschedpolicy (); below.
39492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39493 <limits.h> exists even on freestanding compilers. */
39496 # include <limits.h>
39498 # include <assert.h>
39501 #undef pthread_attr_getschedpolicy
39503 /* Override any GCC internal prototype to avoid an error.
39504 Use char because int might match the return type of a GCC
39505 builtin and then its argument prototype would still apply. */
39509 char pthread_attr_getschedpolicy ();
39510 /* The GNU C library defines this for functions which it implements
39511 to always fail with ENOSYS. Some functions are actually named
39512 something starting with __ and the normal name is an alias. */
39513 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39520 return pthread_attr_getschedpolicy ();
39525 rm -f conftest.
$ac_objext conftest
$ac_exeext
39526 if { (ac_try
="$ac_link"
39527 case "(($ac_try" in
39528 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39529 *) ac_try_echo=$ac_try;;
39531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39532 (eval "$ac_link") 2>conftest.er1
39534 grep -v '^ *+' conftest.er1 >conftest.err
39536 cat conftest.err >&5
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); } && {
39539 test -z "$ac_c_werror_flag" ||
39540 test ! -s conftest.err
39541 } && test -s conftest$ac_exeext &&
39542 $as_test_x conftest$ac_exeext; then
39543 ac_cv_func_pthread_attr_getschedpolicy=yes
39545 echo "$as_me: failed program was:" >&5
39546 sed 's/^/| /' conftest.$ac_ext >&5
39548 ac_cv_func_pthread_attr_getschedpolicy=no
39551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39552 conftest$ac_exeext conftest.$ac_ext
39554 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39555 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39556 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39557 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39558 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39559 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39560 echo $ECHO_N "(cached) $ECHO_C" >&6
39562 cat >conftest.$ac_ext <<_ACEOF
39565 cat confdefs.h >>conftest.$ac_ext
39566 cat >>conftest.$ac_ext <<_ACEOF
39567 /* end confdefs.h. */
39568 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39570 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39572 /* System header to define __stub macros and hopefully few prototypes,
39573 which can conflict with char pthread_attr_setschedparam (); below.
39574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39575 <limits.h> exists even on freestanding compilers. */
39578 # include <limits.h>
39580 # include <assert.h>
39583 #undef pthread_attr_setschedparam
39585 /* Override any GCC internal prototype to avoid an error.
39586 Use char because int might match the return type of a GCC
39587 builtin and then its argument prototype would still apply. */
39591 char pthread_attr_setschedparam ();
39592 /* The GNU C library defines this for functions which it implements
39593 to always fail with ENOSYS. Some functions are actually named
39594 something starting with __ and the normal name is an alias. */
39595 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39602 return pthread_attr_setschedparam ();
39607 rm -f conftest.$ac_objext conftest$ac_exeext
39608 if { (ac_try="$ac_link"
39609 case "(($ac_try" in
39610 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39611 *) ac_try_echo
=$ac_try;;
39613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39614 (eval "$ac_link") 2>conftest.er1
39616 grep -v '^ *+' conftest.er1
>conftest.err
39618 cat conftest.err
>&5
39619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39620 (exit $ac_status); } && {
39621 test -z "$ac_c_werror_flag" ||
39622 test ! -s conftest.err
39623 } && test -s conftest
$ac_exeext &&
39624 $as_test_x conftest
$ac_exeext; then
39625 ac_cv_func_pthread_attr_setschedparam
=yes
39627 echo "$as_me: failed program was:" >&5
39628 sed 's/^/| /' conftest.
$ac_ext >&5
39630 ac_cv_func_pthread_attr_setschedparam
=no
39633 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39634 conftest
$ac_exeext conftest.
$ac_ext
39636 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39637 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39638 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39639 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39640 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39641 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39642 echo $ECHO_N "(cached) $ECHO_C" >&6
39644 cat >conftest.
$ac_ext <<_ACEOF
39647 cat confdefs.h
>>conftest.
$ac_ext
39648 cat >>conftest.
$ac_ext <<_ACEOF
39649 /* end confdefs.h. */
39650 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39652 #define sched_get_priority_max innocuous_sched_get_priority_max
39654 /* System header to define __stub macros and hopefully few prototypes,
39655 which can conflict with char sched_get_priority_max (); below.
39656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39657 <limits.h> exists even on freestanding compilers. */
39660 # include <limits.h>
39662 # include <assert.h>
39665 #undef sched_get_priority_max
39667 /* Override any GCC internal prototype to avoid an error.
39668 Use char because int might match the return type of a GCC
39669 builtin and then its argument prototype would still apply. */
39673 char sched_get_priority_max ();
39674 /* The GNU C library defines this for functions which it implements
39675 to always fail with ENOSYS. Some functions are actually named
39676 something starting with __ and the normal name is an alias. */
39677 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39684 return sched_get_priority_max ();
39689 rm -f conftest.
$ac_objext conftest
$ac_exeext
39690 if { (ac_try
="$ac_link"
39691 case "(($ac_try" in
39692 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39693 *) ac_try_echo=$ac_try;;
39695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39696 (eval "$ac_link") 2>conftest.er1
39698 grep -v '^ *+' conftest.er1 >conftest.err
39700 cat conftest.err >&5
39701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702 (exit $ac_status); } && {
39703 test -z "$ac_c_werror_flag" ||
39704 test ! -s conftest.err
39705 } && test -s conftest$ac_exeext &&
39706 $as_test_x conftest$ac_exeext; then
39707 ac_cv_func_sched_get_priority_max=yes
39709 echo "$as_me: failed program was:" >&5
39710 sed 's/^/| /' conftest.$ac_ext >&5
39712 ac_cv_func_sched_get_priority_max=no
39715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39716 conftest$ac_exeext conftest.$ac_ext
39718 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39719 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39720 if test $ac_cv_func_sched_get_priority_max = yes; then
39723 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39724 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39725 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39726 echo $ECHO_N "(cached) $ECHO_C" >&6
39728 ac_check_lib_save_LIBS=$LIBS
39729 LIBS="-lposix4 $LIBS"
39730 cat >conftest.$ac_ext <<_ACEOF
39733 cat confdefs.h >>conftest.$ac_ext
39734 cat >>conftest.$ac_ext <<_ACEOF
39735 /* end confdefs.h. */
39737 /* Override any GCC internal prototype to avoid an error.
39738 Use char because int might match the return type of a GCC
39739 builtin and then its argument prototype would still apply. */
39743 char sched_get_priority_max ();
39747 return sched_get_priority_max ();
39752 rm -f conftest.$ac_objext conftest$ac_exeext
39753 if { (ac_try="$ac_link"
39754 case "(($ac_try" in
39755 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39756 *) ac_try_echo
=$ac_try;;
39758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39759 (eval "$ac_link") 2>conftest.er1
39761 grep -v '^ *+' conftest.er1
>conftest.err
39763 cat conftest.err
>&5
39764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39765 (exit $ac_status); } && {
39766 test -z "$ac_c_werror_flag" ||
39767 test ! -s conftest.err
39768 } && test -s conftest
$ac_exeext &&
39769 $as_test_x conftest
$ac_exeext; then
39770 ac_cv_lib_posix4_sched_get_priority_max
=yes
39772 echo "$as_me: failed program was:" >&5
39773 sed 's/^/| /' conftest.
$ac_ext >&5
39775 ac_cv_lib_posix4_sched_get_priority_max
=no
39778 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39779 conftest
$ac_exeext conftest.
$ac_ext
39780 LIBS
=$ac_check_lib_save_LIBS
39782 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39783 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39784 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39787 POSIX4_LINK
=" -lposix4"
39801 if test "$HAVE_PRIOR_FUNCS" = 1; then
39802 cat >>confdefs.h
<<\_ACEOF
39803 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39807 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39808 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39811 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39812 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39813 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39814 echo $ECHO_N "(cached) $ECHO_C" >&6
39816 cat >conftest.
$ac_ext <<_ACEOF
39819 cat confdefs.h
>>conftest.
$ac_ext
39820 cat >>conftest.
$ac_ext <<_ACEOF
39821 /* end confdefs.h. */
39822 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39824 #define pthread_cancel innocuous_pthread_cancel
39826 /* System header to define __stub macros and hopefully few prototypes,
39827 which can conflict with char pthread_cancel (); below.
39828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39829 <limits.h> exists even on freestanding compilers. */
39832 # include <limits.h>
39834 # include <assert.h>
39837 #undef pthread_cancel
39839 /* Override any GCC internal prototype to avoid an error.
39840 Use char because int might match the return type of a GCC
39841 builtin and then its argument prototype would still apply. */
39845 char pthread_cancel ();
39846 /* The GNU C library defines this for functions which it implements
39847 to always fail with ENOSYS. Some functions are actually named
39848 something starting with __ and the normal name is an alias. */
39849 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39856 return pthread_cancel ();
39861 rm -f conftest.
$ac_objext conftest
$ac_exeext
39862 if { (ac_try
="$ac_link"
39863 case "(($ac_try" in
39864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39865 *) ac_try_echo=$ac_try;;
39867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39868 (eval "$ac_link") 2>conftest.er1
39870 grep -v '^ *+' conftest.er1 >conftest.err
39872 cat conftest.err >&5
39873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39874 (exit $ac_status); } && {
39875 test -z "$ac_c_werror_flag" ||
39876 test ! -s conftest.err
39877 } && test -s conftest$ac_exeext &&
39878 $as_test_x conftest$ac_exeext; then
39879 ac_cv_func_pthread_cancel=yes
39881 echo "$as_me: failed program was:" >&5
39882 sed 's/^/| /' conftest.$ac_ext >&5
39884 ac_cv_func_pthread_cancel=no
39887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39888 conftest$ac_exeext conftest.$ac_ext
39890 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39891 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39892 if test $ac_cv_func_pthread_cancel = yes; then
39893 cat >>confdefs.h <<\_ACEOF
39894 #define HAVE_PTHREAD_CANCEL 1
39898 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39899 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39903 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39904 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39905 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39906 echo $ECHO_N "(cached) $ECHO_C" >&6
39908 cat >conftest.$ac_ext <<_ACEOF
39911 cat confdefs.h >>conftest.$ac_ext
39912 cat >>conftest.$ac_ext <<_ACEOF
39913 /* end confdefs.h. */
39914 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39916 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39918 /* System header to define __stub macros and hopefully few prototypes,
39919 which can conflict with char pthread_mutex_timedlock (); below.
39920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39921 <limits.h> exists even on freestanding compilers. */
39924 # include <limits.h>
39926 # include <assert.h>
39929 #undef pthread_mutex_timedlock
39931 /* Override any GCC internal prototype to avoid an error.
39932 Use char because int might match the return type of a GCC
39933 builtin and then its argument prototype would still apply. */
39937 char pthread_mutex_timedlock ();
39938 /* The GNU C library defines this for functions which it implements
39939 to always fail with ENOSYS. Some functions are actually named
39940 something starting with __ and the normal name is an alias. */
39941 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39948 return pthread_mutex_timedlock ();
39953 rm -f conftest.$ac_objext conftest$ac_exeext
39954 if { (ac_try="$ac_link"
39955 case "(($ac_try" in
39956 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39957 *) ac_try_echo
=$ac_try;;
39959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39960 (eval "$ac_link") 2>conftest.er1
39962 grep -v '^ *+' conftest.er1
>conftest.err
39964 cat conftest.err
>&5
39965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39966 (exit $ac_status); } && {
39967 test -z "$ac_c_werror_flag" ||
39968 test ! -s conftest.err
39969 } && test -s conftest
$ac_exeext &&
39970 $as_test_x conftest
$ac_exeext; then
39971 ac_cv_func_pthread_mutex_timedlock
=yes
39973 echo "$as_me: failed program was:" >&5
39974 sed 's/^/| /' conftest.
$ac_ext >&5
39976 ac_cv_func_pthread_mutex_timedlock
=no
39979 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39980 conftest
$ac_exeext conftest.
$ac_ext
39982 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39983 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39984 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39985 cat >>confdefs.h
<<\_ACEOF
39986 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39990 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39991 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39995 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39996 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39997 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39998 echo $ECHO_N "(cached) $ECHO_C" >&6
40000 cat >conftest.
$ac_ext <<_ACEOF
40003 cat confdefs.h
>>conftest.
$ac_ext
40004 cat >>conftest.
$ac_ext <<_ACEOF
40005 /* end confdefs.h. */
40006 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40008 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40010 /* System header to define __stub macros and hopefully few prototypes,
40011 which can conflict with char pthread_attr_setstacksize (); below.
40012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40013 <limits.h> exists even on freestanding compilers. */
40016 # include <limits.h>
40018 # include <assert.h>
40021 #undef pthread_attr_setstacksize
40023 /* Override any GCC internal prototype to avoid an error.
40024 Use char because int might match the return type of a GCC
40025 builtin and then its argument prototype would still apply. */
40029 char pthread_attr_setstacksize ();
40030 /* The GNU C library defines this for functions which it implements
40031 to always fail with ENOSYS. Some functions are actually named
40032 something starting with __ and the normal name is an alias. */
40033 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40040 return pthread_attr_setstacksize ();
40045 rm -f conftest.
$ac_objext conftest
$ac_exeext
40046 if { (ac_try
="$ac_link"
40047 case "(($ac_try" in
40048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40049 *) ac_try_echo=$ac_try;;
40051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40052 (eval "$ac_link") 2>conftest.er1
40054 grep -v '^ *+' conftest.er1 >conftest.err
40056 cat conftest.err >&5
40057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40058 (exit $ac_status); } && {
40059 test -z "$ac_c_werror_flag" ||
40060 test ! -s conftest.err
40061 } && test -s conftest$ac_exeext &&
40062 $as_test_x conftest$ac_exeext; then
40063 ac_cv_func_pthread_attr_setstacksize=yes
40065 echo "$as_me: failed program was:" >&5
40066 sed 's/^/| /' conftest.$ac_ext >&5
40068 ac_cv_func_pthread_attr_setstacksize=no
40071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40072 conftest$ac_exeext conftest.$ac_ext
40074 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40075 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40076 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40077 cat >>confdefs.h <<\_ACEOF
40078 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40085 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40086 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40087 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40088 echo $ECHO_N "(cached) $ECHO_C" >&6
40091 cat >conftest.$ac_ext <<_ACEOF
40094 cat confdefs.h >>conftest.$ac_ext
40095 cat >>conftest.$ac_ext <<_ACEOF
40096 /* end confdefs.h. */
40097 #include <pthread.h>
40102 pthread_mutexattr_t attr;
40103 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40109 rm -f conftest.$ac_objext
40110 if { (ac_try="$ac_compile"
40111 case "(($ac_try" in
40112 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40113 *) ac_try_echo
=$ac_try;;
40115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40116 (eval "$ac_compile") 2>conftest.er1
40118 grep -v '^ *+' conftest.er1
>conftest.err
40120 cat conftest.err
>&5
40121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122 (exit $ac_status); } && {
40123 test -z "$ac_c_werror_flag" ||
40124 test ! -s conftest.err
40125 } && test -s conftest.
$ac_objext; then
40126 wx_cv_type_pthread_mutexattr_t
=yes
40128 echo "$as_me: failed program was:" >&5
40129 sed 's/^/| /' conftest.
$ac_ext >&5
40131 wx_cv_type_pthread_mutexattr_t
=no
40135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40138 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40139 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40141 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40142 cat >>confdefs.h
<<\_ACEOF
40143 #define HAVE_PTHREAD_MUTEXATTR_T 1
40147 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40148 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40149 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40150 echo $ECHO_N "(cached) $ECHO_C" >&6
40153 cat >conftest.
$ac_ext <<_ACEOF
40156 cat confdefs.h
>>conftest.
$ac_ext
40157 cat >>conftest.
$ac_ext <<_ACEOF
40158 /* end confdefs.h. */
40159 #include <pthread.h>
40164 pthread_mutexattr_t attr;
40165 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40171 rm -f conftest.
$ac_objext
40172 if { (ac_try
="$ac_compile"
40173 case "(($ac_try" in
40174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40175 *) ac_try_echo=$ac_try;;
40177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40178 (eval "$ac_compile") 2>conftest.er1
40180 grep -v '^ *+' conftest.er1 >conftest.err
40182 cat conftest.err >&5
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); } && {
40185 test -z "$ac_c_werror_flag" ||
40186 test ! -s conftest.err
40187 } && test -s conftest.$ac_objext; then
40188 wx_cv_func_pthread_mutexattr_settype_decl=yes
40190 echo "$as_me: failed program was:" >&5
40191 sed 's/^/| /' conftest.$ac_ext >&5
40193 wx_cv_func_pthread_mutexattr_settype_decl=no
40197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40200 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40201 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40202 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40203 cat >>confdefs.h <<\_ACEOF
40204 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40209 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40210 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40211 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40212 echo $ECHO_N "(cached) $ECHO_C" >&6
40215 cat >conftest.$ac_ext <<_ACEOF
40218 cat confdefs.h >>conftest.$ac_ext
40219 cat >>conftest.$ac_ext <<_ACEOF
40220 /* end confdefs.h. */
40221 #include <pthread.h>
40226 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40232 rm -f conftest.$ac_objext
40233 if { (ac_try="$ac_compile"
40234 case "(($ac_try" in
40235 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40236 *) ac_try_echo
=$ac_try;;
40238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40239 (eval "$ac_compile") 2>conftest.er1
40241 grep -v '^ *+' conftest.er1
>conftest.err
40243 cat conftest.err
>&5
40244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40245 (exit $ac_status); } && {
40246 test -z "$ac_c_werror_flag" ||
40247 test ! -s conftest.err
40248 } && test -s conftest.
$ac_objext; then
40250 wx_cv_type_pthread_rec_mutex_init
=yes
40253 echo "$as_me: failed program was:" >&5
40254 sed 's/^/| /' conftest.
$ac_ext >&5
40257 wx_cv_type_pthread_rec_mutex_init
=no
40262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40265 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40266 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40267 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40268 cat >>confdefs.h
<<\_ACEOF
40269 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40273 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40274 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40278 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40279 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40280 if test "${wx_cv_cc___thread+set}" = set; then
40281 echo $ECHO_N "(cached) $ECHO_C" >&6
40284 cat >conftest.
$ac_ext <<_ACEOF
40287 cat confdefs.h
>>conftest.
$ac_ext
40288 cat >>conftest.
$ac_ext <<_ACEOF
40289 /* end confdefs.h. */
40290 #include <pthread.h>
40295 static __thread int n = 0;
40296 static __thread int *p = 0;
40302 rm -f conftest.
$ac_objext
40303 if { (ac_try
="$ac_compile"
40304 case "(($ac_try" in
40305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40306 *) ac_try_echo=$ac_try;;
40308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40309 (eval "$ac_compile") 2>conftest.er1
40311 grep -v '^ *+' conftest.er1 >conftest.err
40313 cat conftest.err >&5
40314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40315 (exit $ac_status); } && {
40316 test -z "$ac_c_werror_flag" ||
40317 test ! -s conftest.err
40318 } && test -s conftest.$ac_objext; then
40319 wx_cv_cc___thread=yes
40321 echo "$as_me: failed program was:" >&5
40322 sed 's/^/| /' conftest.$ac_ext >&5
40324 wx_cv_cc___thread=no
40328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40332 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40333 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40335 if test "$wx_cv_cc___thread" = "yes"; then
40341 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40342 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40344 if test "x$GCC" = "xyes" ; then
40346 if test -z "" ; then
40348 ax_gcc_option_test="int main()
40355 ax_gcc_option_test=""
40360 # Dump the test program to file
40361 cat <<EOF > conftest.c
40362 $ax_gcc_option_test
40365 # Dump back the file to the log, useful for debugging purposes
40366 { ac_try='cat conftest.c 1>&5'
40367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40368 (eval $ac_try) 2>&5
40370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40371 (exit $ac_status); }; }
40373 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40375 (eval $ac_try) 2>&5
40377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40378 (exit $ac_status); }; } ; then
40380 { echo "$as_me:$LINENO: result: yes" >&5
40381 echo "${ECHO_T}yes" >&6; }
40383 ax_gcc_version_option=yes
40388 { echo "$as_me:$LINENO: result: no" >&5
40389 echo "${ECHO_T}no" >&6; }
40391 ax_gcc_version_option=no
40399 { echo "$as_me:$LINENO: result: no gcc available" >&5
40400 echo "${ECHO_T}no gcc available" >&6; }
40405 if test "x$GXX" = "xyes"; then
40407 if test "x$ax_gxx_version_option" != "no"; then
40409 { echo "$as_me:$LINENO: checking gxx version" >&5
40410 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40411 if test "${ax_cv_gxx_version+set}" = set; then
40412 echo $ECHO_N "(cached) $ECHO_C" >&6
40415 ax_cv_gxx_version="`$CXX -dumpversion`"
40416 if test "x$ax_cv_gxx_version" = "x"; then
40418 ax_cv_gxx_version=""
40424 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40425 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40426 GXX_VERSION=$ax_cv_gxx_version
40435 if test -n "$ax_cv_gxx_version"; then
40436 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40437 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40438 case "$ax_cv_gxx_version" in
40440 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40441 echo "${ECHO_T}no, it's broken" >&6; }
40442 wx_cv_cc___thread=no
40445 { echo "$as_me:$LINENO: result: yes, it works" >&5
40446 echo "${ECHO_T}yes, it works" >&6; }
40452 if test "$wx_cv_cc___thread" = "yes"; then
40453 cat >>confdefs.h <<\_ACEOF
40454 #define HAVE___THREAD_KEYWORD 1
40461 if test "$wxUSE_THREADS" = "yes" ; then
40463 x86_64-*-mingw32* )
40466 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40467 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40468 if test "${wx_cv_cflags_mthread+set}" = set; then
40469 echo $ECHO_N "(cached) $ECHO_C" >&6
40472 CFLAGS_OLD="$CFLAGS"
40473 CFLAGS="-mthreads $CFLAGS"
40474 cat >conftest.$ac_ext <<_ACEOF
40477 cat confdefs.h >>conftest.$ac_ext
40478 cat >>conftest.$ac_ext <<_ACEOF
40479 /* end confdefs.h. */
40489 rm -f conftest.$ac_objext
40490 if { (ac_try="$ac_compile"
40491 case "(($ac_try" in
40492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40493 *) ac_try_echo
=$ac_try;;
40495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40496 (eval "$ac_compile") 2>conftest.er1
40498 grep -v '^ *+' conftest.er1
>conftest.err
40500 cat conftest.err
>&5
40501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40502 (exit $ac_status); } && {
40503 test -z "$ac_c_werror_flag" ||
40504 test ! -s conftest.err
40505 } && test -s conftest.
$ac_objext; then
40506 wx_cv_cflags_mthread
=yes
40508 echo "$as_me: failed program was:" >&5
40509 sed 's/^/| /' conftest.
$ac_ext >&5
40511 wx_cv_cflags_mthread
=no
40515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40519 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40520 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40522 if test "$wx_cv_cflags_mthread" = "yes"; then
40523 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40524 LDFLAGS
="$LDFLAGS -mthreads"
40526 CFLAGS
="$CFLAGS_OLD"
40530 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40531 LDFLAGS
="$LDFLAGS -Zmt"
40537 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40538 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40539 if test "${ac_cv_func_localtime_r+set}" = set; then
40540 echo $ECHO_N "(cached) $ECHO_C" >&6
40542 cat >conftest.
$ac_ext <<_ACEOF
40545 cat confdefs.h
>>conftest.
$ac_ext
40546 cat >>conftest.
$ac_ext <<_ACEOF
40547 /* end confdefs.h. */
40548 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40550 #define localtime_r innocuous_localtime_r
40552 /* System header to define __stub macros and hopefully few prototypes,
40553 which can conflict with char localtime_r (); below.
40554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40555 <limits.h> exists even on freestanding compilers. */
40558 # include <limits.h>
40560 # include <assert.h>
40565 /* Override any GCC internal prototype to avoid an error.
40566 Use char because int might match the return type of a GCC
40567 builtin and then its argument prototype would still apply. */
40571 char localtime_r ();
40572 /* The GNU C library defines this for functions which it implements
40573 to always fail with ENOSYS. Some functions are actually named
40574 something starting with __ and the normal name is an alias. */
40575 #if defined __stub_localtime_r || defined __stub___localtime_r
40582 return localtime_r ();
40587 rm -f conftest.
$ac_objext conftest
$ac_exeext
40588 if { (ac_try
="$ac_link"
40589 case "(($ac_try" in
40590 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40591 *) ac_try_echo=$ac_try;;
40593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40594 (eval "$ac_link") 2>conftest.er1
40596 grep -v '^ *+' conftest.er1 >conftest.err
40598 cat conftest.err >&5
40599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40600 (exit $ac_status); } && {
40601 test -z "$ac_c_werror_flag" ||
40602 test ! -s conftest.err
40603 } && test -s conftest$ac_exeext &&
40604 $as_test_x conftest$ac_exeext; then
40605 ac_cv_func_localtime_r=yes
40607 echo "$as_me: failed program was:" >&5
40608 sed 's/^/| /' conftest.$ac_ext >&5
40610 ac_cv_func_localtime_r=no
40613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40614 conftest$ac_exeext conftest.$ac_ext
40616 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40617 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40618 if test $ac_cv_func_localtime_r = yes; then
40619 cat >>confdefs.h <<\_ACEOF
40620 #define HAVE_LOCALTIME_R 1
40625 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40626 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40627 if test "${ac_cv_func_gmtime_r+set}" = set; then
40628 echo $ECHO_N "(cached) $ECHO_C" >&6
40630 cat >conftest.$ac_ext <<_ACEOF
40633 cat confdefs.h >>conftest.$ac_ext
40634 cat >>conftest.$ac_ext <<_ACEOF
40635 /* end confdefs.h. */
40636 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40638 #define gmtime_r innocuous_gmtime_r
40640 /* System header to define __stub macros and hopefully few prototypes,
40641 which can conflict with char gmtime_r (); below.
40642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40643 <limits.h> exists even on freestanding compilers. */
40646 # include <limits.h>
40648 # include <assert.h>
40653 /* Override any GCC internal prototype to avoid an error.
40654 Use char because int might match the return type of a GCC
40655 builtin and then its argument prototype would still apply. */
40660 /* The GNU C library defines this for functions which it implements
40661 to always fail with ENOSYS. Some functions are actually named
40662 something starting with __ and the normal name is an alias. */
40663 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40670 return gmtime_r ();
40675 rm -f conftest.$ac_objext conftest$ac_exeext
40676 if { (ac_try="$ac_link"
40677 case "(($ac_try" in
40678 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40679 *) ac_try_echo
=$ac_try;;
40681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40682 (eval "$ac_link") 2>conftest.er1
40684 grep -v '^ *+' conftest.er1
>conftest.err
40686 cat conftest.err
>&5
40687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40688 (exit $ac_status); } && {
40689 test -z "$ac_c_werror_flag" ||
40690 test ! -s conftest.err
40691 } && test -s conftest
$ac_exeext &&
40692 $as_test_x conftest
$ac_exeext; then
40693 ac_cv_func_gmtime_r
=yes
40695 echo "$as_me: failed program was:" >&5
40696 sed 's/^/| /' conftest.
$ac_ext >&5
40698 ac_cv_func_gmtime_r
=no
40701 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40702 conftest
$ac_exeext conftest.
$ac_ext
40704 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40705 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40706 if test $ac_cv_func_gmtime_r = yes; then
40707 cat >>confdefs.h
<<\_ACEOF
40708 #define HAVE_GMTIME_R 1
40717 ac_cpp
='$CPP $CPPFLAGS'
40718 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40719 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40720 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40722 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40723 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40725 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40726 echo $ECHO_N "(cached) $ECHO_C" >&6
40730 ################################################################
40732 ac_cv_func_which_gethostbyname_r
=unknown
40735 # ONE ARGUMENT (sanity check)
40738 # This should fail, as there is no variant of gethostbyname_r() that takes
40739 # a single argument. If it actually compiles, then we can assume that
40740 # netdb.h is not declaring the function, and the compiler is thereby
40741 # assuming an implicit prototype. In which case, we're out of luck.
40743 cat >conftest.
$ac_ext <<_ACEOF
40746 cat confdefs.h
>>conftest.
$ac_ext
40747 cat >>conftest.
$ac_ext <<_ACEOF
40748 /* end confdefs.h. */
40754 char *name = "www.gnu.org";
40755 (void)gethostbyname_r(name) /* ; */
40761 rm -f conftest.
$ac_objext
40762 if { (ac_try
="$ac_compile"
40763 case "(($ac_try" in
40764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40765 *) ac_try_echo=$ac_try;;
40767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40768 (eval "$ac_compile") 2>conftest.er1
40770 grep -v '^ *+' conftest.er1 >conftest.err
40772 cat conftest.err >&5
40773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40774 (exit $ac_status); } && {
40775 test -z "$ac_c_werror_flag" ||
40776 test ! -s conftest.err
40777 } && test -s conftest.$ac_objext; then
40778 ac_cv_func_which_gethostbyname_r=no
40780 echo "$as_me: failed program was:" >&5
40781 sed 's/^/| /' conftest.$ac_ext >&5
40786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40793 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40795 cat >conftest.$ac_ext <<_ACEOF
40798 cat confdefs.h >>conftest.$ac_ext
40799 cat >>conftest.$ac_ext <<_ACEOF
40800 /* end confdefs.h. */
40806 char *name = "www.gnu.org";
40807 struct hostent ret, *retp;
40811 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40817 rm -f conftest.$ac_objext
40818 if { (ac_try="$ac_compile"
40819 case "(($ac_try" in
40820 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40821 *) ac_try_echo
=$ac_try;;
40823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40824 (eval "$ac_compile") 2>conftest.er1
40826 grep -v '^ *+' conftest.er1
>conftest.err
40828 cat conftest.err
>&5
40829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40830 (exit $ac_status); } && {
40831 test -z "$ac_c_werror_flag" ||
40832 test ! -s conftest.err
40833 } && test -s conftest.
$ac_objext; then
40834 ac_cv_func_which_gethostbyname_r
=six
40836 echo "$as_me: failed program was:" >&5
40837 sed 's/^/| /' conftest.
$ac_ext >&5
40842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40851 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40853 cat >conftest.
$ac_ext <<_ACEOF
40856 cat confdefs.h
>>conftest.
$ac_ext
40857 cat >>conftest.
$ac_ext <<_ACEOF
40858 /* end confdefs.h. */
40864 char *name = "www.gnu.org";
40865 struct hostent ret;
40869 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40875 rm -f conftest.
$ac_objext
40876 if { (ac_try
="$ac_compile"
40877 case "(($ac_try" in
40878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40879 *) ac_try_echo=$ac_try;;
40881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40882 (eval "$ac_compile") 2>conftest.er1
40884 grep -v '^ *+' conftest.er1 >conftest.err
40886 cat conftest.err >&5
40887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40888 (exit $ac_status); } && {
40889 test -z "$ac_c_werror_flag" ||
40890 test ! -s conftest.err
40891 } && test -s conftest.$ac_objext; then
40892 ac_cv_func_which_gethostbyname_r=five
40894 echo "$as_me: failed program was:" >&5
40895 sed 's/^/| /' conftest.$ac_ext >&5
40900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40906 # (e.g. AIX, HP-UX, Tru64)
40909 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40911 cat >conftest.$ac_ext <<_ACEOF
40914 cat confdefs.h >>conftest.$ac_ext
40915 cat >>conftest.$ac_ext <<_ACEOF
40916 /* end confdefs.h. */
40922 char *name = "www.gnu.org";
40923 struct hostent ret;
40924 struct hostent_data data;
40925 (void)gethostbyname_r(name, &ret, &data) /* ; */
40931 rm -f conftest.$ac_objext
40932 if { (ac_try="$ac_compile"
40933 case "(($ac_try" in
40934 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40935 *) ac_try_echo
=$ac_try;;
40937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40938 (eval "$ac_compile") 2>conftest.er1
40940 grep -v '^ *+' conftest.er1
>conftest.err
40942 cat conftest.err
>&5
40943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40944 (exit $ac_status); } && {
40945 test -z "$ac_c_werror_flag" ||
40946 test ! -s conftest.err
40947 } && test -s conftest.
$ac_objext; then
40948 ac_cv_func_which_gethostbyname_r
=three
40950 echo "$as_me: failed program was:" >&5
40951 sed 's/^/| /' conftest.
$ac_ext >&5
40956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40960 ################################################################
40965 case "$ac_cv_func_which_gethostbyname_r" in
40967 { echo "$as_me:$LINENO: result: three" >&5
40968 echo "${ECHO_T}three" >&6; }
40969 cat >>confdefs.h
<<\_ACEOF
40970 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40976 { echo "$as_me:$LINENO: result: five" >&5
40977 echo "${ECHO_T}five" >&6; }
40978 cat >>confdefs.h
<<\_ACEOF
40979 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40985 { echo "$as_me:$LINENO: result: six" >&5
40986 echo "${ECHO_T}six" >&6; }
40987 cat >>confdefs.h
<<\_ACEOF
40988 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40994 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40995 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40999 { echo "$as_me:$LINENO: result: can't tell" >&5
41000 echo "${ECHO_T}can't tell" >&6; }
41004 { { echo "$as_me:$LINENO: error: internal error" >&5
41005 echo "$as_me: error: internal error" >&2;}
41006 { (exit 1); exit 1; }; }
41011 ac_cpp
='$CPP $CPPFLAGS'
41012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41018 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41019 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41020 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41021 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41022 if test "${ac_cv_func_gethostbyname+set}" = set; then
41023 echo $ECHO_N "(cached) $ECHO_C" >&6
41025 cat >conftest.
$ac_ext <<_ACEOF
41028 cat confdefs.h
>>conftest.
$ac_ext
41029 cat >>conftest.
$ac_ext <<_ACEOF
41030 /* end confdefs.h. */
41031 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41033 #define gethostbyname innocuous_gethostbyname
41035 /* System header to define __stub macros and hopefully few prototypes,
41036 which can conflict with char gethostbyname (); below.
41037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41038 <limits.h> exists even on freestanding compilers. */
41041 # include <limits.h>
41043 # include <assert.h>
41046 #undef gethostbyname
41048 /* Override any GCC internal prototype to avoid an error.
41049 Use char because int might match the return type of a GCC
41050 builtin and then its argument prototype would still apply. */
41054 char gethostbyname ();
41055 /* The GNU C library defines this for functions which it implements
41056 to always fail with ENOSYS. Some functions are actually named
41057 something starting with __ and the normal name is an alias. */
41058 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41065 return gethostbyname ();
41070 rm -f conftest.
$ac_objext conftest
$ac_exeext
41071 if { (ac_try
="$ac_link"
41072 case "(($ac_try" in
41073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41074 *) ac_try_echo=$ac_try;;
41076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41077 (eval "$ac_link") 2>conftest.er1
41079 grep -v '^ *+' conftest.er1 >conftest.err
41081 cat conftest.err >&5
41082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41083 (exit $ac_status); } && {
41084 test -z "$ac_c_werror_flag" ||
41085 test ! -s conftest.err
41086 } && test -s conftest$ac_exeext &&
41087 $as_test_x conftest$ac_exeext; then
41088 ac_cv_func_gethostbyname=yes
41090 echo "$as_me: failed program was:" >&5
41091 sed 's/^/| /' conftest.$ac_ext >&5
41093 ac_cv_func_gethostbyname=no
41096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41097 conftest$ac_exeext conftest.$ac_ext
41099 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41100 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41101 if test $ac_cv_func_gethostbyname = yes; then
41102 cat >>confdefs.h <<\_ACEOF
41103 #define HAVE_GETHOSTBYNAME 1
41110 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41111 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41112 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41113 echo $ECHO_N "(cached) $ECHO_C" >&6
41117 ac_cpp='$CXXCPP $CPPFLAGS'
41118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41123 cat >conftest.$ac_ext <<_ACEOF
41126 cat confdefs.h >>conftest.$ac_ext
41127 cat >>conftest.$ac_ext <<_ACEOF
41128 /* end confdefs.h. */
41136 struct servent *se, *res;
41139 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41145 rm -f conftest.$ac_objext
41146 if { (ac_try="$ac_compile"
41147 case "(($ac_try" in
41148 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41149 *) ac_try_echo
=$ac_try;;
41151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41152 (eval "$ac_compile") 2>conftest.er1
41154 grep -v '^ *+' conftest.er1
>conftest.err
41156 cat conftest.err
>&5
41157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41158 (exit $ac_status); } && {
41159 test -z "$ac_cxx_werror_flag" ||
41160 test ! -s conftest.err
41161 } && test -s conftest.
$ac_objext; then
41162 ac_cv_func_which_getservbyname_r
=six
41164 echo "$as_me: failed program was:" >&5
41165 sed 's/^/| /' conftest.
$ac_ext >&5
41168 cat >conftest.
$ac_ext <<_ACEOF
41171 cat confdefs.h
>>conftest.
$ac_ext
41172 cat >>conftest.
$ac_ext <<_ACEOF
41173 /* end confdefs.h. */
41181 struct servent *se;
41184 (void) getservbyname_r(name, proto, se, buffer, buflen)
41190 rm -f conftest.
$ac_objext
41191 if { (ac_try
="$ac_compile"
41192 case "(($ac_try" in
41193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41194 *) ac_try_echo=$ac_try;;
41196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41197 (eval "$ac_compile") 2>conftest.er1
41199 grep -v '^ *+' conftest.er1 >conftest.err
41201 cat conftest.err >&5
41202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41203 (exit $ac_status); } && {
41204 test -z "$ac_cxx_werror_flag" ||
41205 test ! -s conftest.err
41206 } && test -s conftest.$ac_objext; then
41207 ac_cv_func_which_getservbyname_r=five
41209 echo "$as_me: failed program was:" >&5
41210 sed 's/^/| /' conftest.$ac_ext >&5
41213 cat >conftest.$ac_ext <<_ACEOF
41216 cat confdefs.h >>conftest.$ac_ext
41217 cat >>conftest.$ac_ext <<_ACEOF
41218 /* end confdefs.h. */
41226 struct servent *se;
41227 struct servent_data data;
41228 (void) getservbyname_r(name, proto, se, &data);
41234 rm -f conftest.$ac_objext
41235 if { (ac_try="$ac_compile"
41236 case "(($ac_try" in
41237 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41238 *) ac_try_echo
=$ac_try;;
41240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41241 (eval "$ac_compile") 2>conftest.er1
41243 grep -v '^ *+' conftest.er1
>conftest.err
41245 cat conftest.err
>&5
41246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41247 (exit $ac_status); } && {
41248 test -z "$ac_cxx_werror_flag" ||
41249 test ! -s conftest.err
41250 } && test -s conftest.
$ac_objext; then
41251 ac_cv_func_which_getservbyname_r
=four
41253 echo "$as_me: failed program was:" >&5
41254 sed 's/^/| /' conftest.
$ac_ext >&5
41256 ac_cv_func_which_getservbyname_r
=no
41260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41272 ac_cpp
='$CPP $CPPFLAGS'
41273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41280 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41281 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41283 if test $ac_cv_func_which_getservbyname_r = six
; then
41284 cat >>confdefs.h
<<\_ACEOF
41285 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41288 elif test $ac_cv_func_which_getservbyname_r = five
; then
41289 cat >>confdefs.h
<<\_ACEOF
41290 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41293 elif test $ac_cv_func_which_getservbyname_r = four
; then
41294 cat >>confdefs.h
<<\_ACEOF
41295 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41301 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41302 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41304 for ac_func
in getservbyname
41306 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41307 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41309 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41310 echo $ECHO_N "(cached) $ECHO_C" >&6
41312 cat >conftest.
$ac_ext <<_ACEOF
41315 cat confdefs.h
>>conftest.
$ac_ext
41316 cat >>conftest.
$ac_ext <<_ACEOF
41317 /* end confdefs.h. */
41318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41320 #define $ac_func innocuous_$ac_func
41322 /* System header to define __stub macros and hopefully few prototypes,
41323 which can conflict with char $ac_func (); below.
41324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41325 <limits.h> exists even on freestanding compilers. */
41328 # include <limits.h>
41330 # include <assert.h>
41335 /* Override any GCC internal prototype to avoid an error.
41336 Use char because int might match the return type of a GCC
41337 builtin and then its argument prototype would still apply. */
41342 /* The GNU C library defines this for functions which it implements
41343 to always fail with ENOSYS. Some functions are actually named
41344 something starting with __ and the normal name is an alias. */
41345 #if defined __stub_$ac_func || defined __stub___$ac_func
41352 return $ac_func ();
41357 rm -f conftest.
$ac_objext conftest
$ac_exeext
41358 if { (ac_try
="$ac_link"
41359 case "(($ac_try" in
41360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41361 *) ac_try_echo=$ac_try;;
41363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41364 (eval "$ac_link") 2>conftest.er1
41366 grep -v '^ *+' conftest.er1 >conftest.err
41368 cat conftest.err >&5
41369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41370 (exit $ac_status); } && {
41371 test -z "$ac_c_werror_flag" ||
41372 test ! -s conftest.err
41373 } && test -s conftest$ac_exeext &&
41374 $as_test_x conftest$ac_exeext; then
41375 eval "$as_ac_var=yes"
41377 echo "$as_me: failed program was:" >&5
41378 sed 's/^/| /' conftest.$ac_ext >&5
41380 eval "$as_ac_var=no"
41383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41384 conftest$ac_exeext conftest.$ac_ext
41386 ac_res=`eval echo '${'$as_ac_var'}'`
41387 { echo "$as_me:$LINENO: result: $ac_res" >&5
41388 echo "${ECHO_T}$ac_res" >&6; }
41389 if test `eval echo '${'$as_ac_var'}'` = yes; then
41390 cat >>confdefs.h <<_ACEOF
41391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41393 cat >>confdefs.h <<\_ACEOF
41394 #define HAVE_GETSERVBYNAME 1
41402 if test "$wxUSE_THREADS" = "yes"; then
41403 cat >>confdefs.h <<\_ACEOF
41404 #define wxUSE_THREADS 1
41408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41410 if test "$wx_cv_func_strtok_r" = "yes"; then
41411 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41412 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41413 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41414 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41415 { echo "$as_me:$LINENO: result: yes" >&5
41416 echo "${ECHO_T}yes" >&6; }
41418 { echo "$as_me:$LINENO: result: no" >&5
41419 echo "${ECHO_T}no" >&6; }
41424 if test "$WXGTK2" = 1 ; then
41425 cat >>confdefs.h <<_ACEOF
41426 #define __WXGTK20__ $WXGTK2
41432 if test "$WXGTK12" = 1 ; then
41433 cat >>confdefs.h <<_ACEOF
41434 #define __WXGTK12__ $WXGTK12
41439 if test "$WXGTK127" = 1 ; then
41440 cat >>confdefs.h <<_ACEOF
41441 #define __WXGTK127__ $WXGTK127
41446 if test "$WXGPE" = 1 ; then
41447 cat >>confdefs.h <<_ACEOF
41448 #define __WXGPE__ $WXGPE
41454 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41458 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41459 wxUSE_DEBUG_INFO=yes
41460 if test "$GCC" = yes; then
41461 DEBUG_CFLAGS="-ggdb"
41465 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41466 cat >>confdefs.h <<\_ACEOF
41470 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41472 if test "$wxUSE_GTK" = 1 ; then
41473 if test "x$wxGTK_VERSION" = "x1" ; then
41474 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41479 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41480 cat >>confdefs.h <<\_ACEOF
41481 #define wxUSE_MEMORY_TRACING 1
41484 cat >>confdefs.h <<\_ACEOF
41485 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41488 cat >>confdefs.h <<\_ACEOF
41489 #define wxUSE_DEBUG_NEW_ALWAYS 1
41492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41495 if test "$wxUSE_DMALLOC" = "yes" ; then
41496 DMALLOC_LIBS="-ldmallocthcxx"
41500 if test "$wxUSE_PROFILE" = "yes" ; then
41501 PROFILE_FLAGS=" -pg"
41504 if test "$GCC" = "yes" ; then
41505 if test "$wxUSE_NO_RTTI" = "yes" ; then
41506 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41508 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41509 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41511 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41512 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41517 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41520 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41526 if test "$wxUSE_OPTIMISE" = "no" ; then
41527 if test "$GCC" = yes ; then
41528 OPTIMISE_CFLAGS="-O0"
41531 if test "$GCC" = yes ; then
41533 *-pc-os2_emx | *-pc-os2-emx )
41534 OPTIMISE_CFLAGS="-O2"
41537 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41541 OPTIMISE_CFLAGS="-O"
41546 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41547 cat >>confdefs.h <<\_ACEOF
41548 #define WXWIN_COMPATIBILITY_2_6 1
41552 WXWIN_COMPATIBILITY_2_8="yes"
41555 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41556 cat >>confdefs.h <<\_ACEOF
41557 #define WXWIN_COMPATIBILITY_2_8 1
41563 if test "$wxUSE_GUI" = "yes"; then
41564 cat >>confdefs.h <<\_ACEOF
41565 #define wxUSE_GUI 1
41572 if test "$wxUSE_UNIX" = "yes"; then
41573 cat >>confdefs.h <<\_ACEOF
41574 #define wxUSE_UNIX 1
41580 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41584 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41585 if test "$USE_DOS" = 1; then
41589 for ac_func in dlopen
41591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41592 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41594 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41595 echo $ECHO_N "(cached) $ECHO_C" >&6
41597 cat >conftest.$ac_ext <<_ACEOF
41600 cat confdefs.h >>conftest.$ac_ext
41601 cat >>conftest.$ac_ext <<_ACEOF
41602 /* end confdefs.h. */
41603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41605 #define $ac_func innocuous_$ac_func
41607 /* System header to define __stub macros and hopefully few prototypes,
41608 which can conflict with char $ac_func (); below.
41609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41610 <limits.h> exists even on freestanding compilers. */
41613 # include <limits.h>
41615 # include <assert.h>
41620 /* Override any GCC internal prototype to avoid an error.
41621 Use char because int might match the return type of a GCC
41622 builtin and then its argument prototype would still apply. */
41627 /* The GNU C library defines this for functions which it implements
41628 to always fail with ENOSYS. Some functions are actually named
41629 something starting with __ and the normal name is an alias. */
41630 #if defined __stub_$ac_func || defined __stub___$ac_func
41637 return $ac_func ();
41642 rm -f conftest.$ac_objext conftest$ac_exeext
41643 if { (ac_try="$ac_link"
41644 case "(($ac_try" in
41645 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41646 *) ac_try_echo
=$ac_try;;
41648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41649 (eval "$ac_link") 2>conftest.er1
41651 grep -v '^ *+' conftest.er1
>conftest.err
41653 cat conftest.err
>&5
41654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41655 (exit $ac_status); } && {
41656 test -z "$ac_c_werror_flag" ||
41657 test ! -s conftest.err
41658 } && test -s conftest
$ac_exeext &&
41659 $as_test_x conftest
$ac_exeext; then
41660 eval "$as_ac_var=yes"
41662 echo "$as_me: failed program was:" >&5
41663 sed 's/^/| /' conftest.
$ac_ext >&5
41665 eval "$as_ac_var=no"
41668 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41669 conftest
$ac_exeext conftest.
$ac_ext
41671 ac_res
=`eval echo '${'$as_ac_var'}'`
41672 { echo "$as_me:$LINENO: result: $ac_res" >&5
41673 echo "${ECHO_T}$ac_res" >&6; }
41674 if test `eval echo '${'$as_ac_var'}'` = yes; then
41675 cat >>confdefs.h
<<_ACEOF
41676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41679 cat >>confdefs.h
<<\_ACEOF
41680 #define HAVE_DLOPEN 1
41687 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41688 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41689 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41690 echo $ECHO_N "(cached) $ECHO_C" >&6
41692 ac_check_lib_save_LIBS
=$LIBS
41694 cat >conftest.
$ac_ext <<_ACEOF
41697 cat confdefs.h
>>conftest.
$ac_ext
41698 cat >>conftest.
$ac_ext <<_ACEOF
41699 /* end confdefs.h. */
41701 /* Override any GCC internal prototype to avoid an error.
41702 Use char because int might match the return type of a GCC
41703 builtin and then its argument prototype would still apply. */
41716 rm -f conftest.
$ac_objext conftest
$ac_exeext
41717 if { (ac_try
="$ac_link"
41718 case "(($ac_try" in
41719 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41720 *) ac_try_echo=$ac_try;;
41722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41723 (eval "$ac_link") 2>conftest.er1
41725 grep -v '^ *+' conftest.er1 >conftest.err
41727 cat conftest.err >&5
41728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41729 (exit $ac_status); } && {
41730 test -z "$ac_c_werror_flag" ||
41731 test ! -s conftest.err
41732 } && test -s conftest$ac_exeext &&
41733 $as_test_x conftest$ac_exeext; then
41734 ac_cv_lib_dl_dlopen=yes
41736 echo "$as_me: failed program was:" >&5
41737 sed 's/^/| /' conftest.$ac_ext >&5
41739 ac_cv_lib_dl_dlopen=no
41742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41743 conftest$ac_exeext conftest.$ac_ext
41744 LIBS=$ac_check_lib_save_LIBS
41746 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41747 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41748 if test $ac_cv_lib_dl_dlopen = yes; then
41750 cat >>confdefs.h <<\_ACEOF
41751 #define HAVE_DLOPEN 1
41755 DL_LINK=" -ldl$DL_LINK"
41760 for ac_func in shl_load
41762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41763 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41765 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41766 echo $ECHO_N "(cached) $ECHO_C" >&6
41768 cat >conftest.$ac_ext <<_ACEOF
41771 cat confdefs.h >>conftest.$ac_ext
41772 cat >>conftest.$ac_ext <<_ACEOF
41773 /* end confdefs.h. */
41774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41776 #define $ac_func innocuous_$ac_func
41778 /* System header to define __stub macros and hopefully few prototypes,
41779 which can conflict with char $ac_func (); below.
41780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41781 <limits.h> exists even on freestanding compilers. */
41784 # include <limits.h>
41786 # include <assert.h>
41791 /* Override any GCC internal prototype to avoid an error.
41792 Use char because int might match the return type of a GCC
41793 builtin and then its argument prototype would still apply. */
41798 /* The GNU C library defines this for functions which it implements
41799 to always fail with ENOSYS. Some functions are actually named
41800 something starting with __ and the normal name is an alias. */
41801 #if defined __stub_$ac_func || defined __stub___$ac_func
41808 return $ac_func ();
41813 rm -f conftest.$ac_objext conftest$ac_exeext
41814 if { (ac_try="$ac_link"
41815 case "(($ac_try" in
41816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41817 *) ac_try_echo
=$ac_try;;
41819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41820 (eval "$ac_link") 2>conftest.er1
41822 grep -v '^ *+' conftest.er1
>conftest.err
41824 cat conftest.err
>&5
41825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41826 (exit $ac_status); } && {
41827 test -z "$ac_c_werror_flag" ||
41828 test ! -s conftest.err
41829 } && test -s conftest
$ac_exeext &&
41830 $as_test_x conftest
$ac_exeext; then
41831 eval "$as_ac_var=yes"
41833 echo "$as_me: failed program was:" >&5
41834 sed 's/^/| /' conftest.
$ac_ext >&5
41836 eval "$as_ac_var=no"
41839 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41840 conftest
$ac_exeext conftest.
$ac_ext
41842 ac_res
=`eval echo '${'$as_ac_var'}'`
41843 { echo "$as_me:$LINENO: result: $ac_res" >&5
41844 echo "${ECHO_T}$ac_res" >&6; }
41845 if test `eval echo '${'$as_ac_var'}'` = yes; then
41846 cat >>confdefs.h
<<_ACEOF
41847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41850 cat >>confdefs.h
<<\_ACEOF
41851 #define HAVE_SHL_LOAD 1
41858 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41859 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41860 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41861 echo $ECHO_N "(cached) $ECHO_C" >&6
41863 ac_check_lib_save_LIBS
=$LIBS
41864 LIBS
="-lshl_load $LIBS"
41865 cat >conftest.
$ac_ext <<_ACEOF
41868 cat confdefs.h
>>conftest.
$ac_ext
41869 cat >>conftest.
$ac_ext <<_ACEOF
41870 /* end confdefs.h. */
41872 /* Override any GCC internal prototype to avoid an error.
41873 Use char because int might match the return type of a GCC
41874 builtin and then its argument prototype would still apply. */
41887 rm -f conftest.
$ac_objext conftest
$ac_exeext
41888 if { (ac_try
="$ac_link"
41889 case "(($ac_try" in
41890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41891 *) ac_try_echo=$ac_try;;
41893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41894 (eval "$ac_link") 2>conftest.er1
41896 grep -v '^ *+' conftest.er1 >conftest.err
41898 cat conftest.err >&5
41899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41900 (exit $ac_status); } && {
41901 test -z "$ac_c_werror_flag" ||
41902 test ! -s conftest.err
41903 } && test -s conftest$ac_exeext &&
41904 $as_test_x conftest$ac_exeext; then
41905 ac_cv_lib_shl_load_dld=yes
41907 echo "$as_me: failed program was:" >&5
41908 sed 's/^/| /' conftest.$ac_ext >&5
41910 ac_cv_lib_shl_load_dld=no
41913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41914 conftest$ac_exeext conftest.$ac_ext
41915 LIBS=$ac_check_lib_save_LIBS
41917 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41918 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41919 if test $ac_cv_lib_shl_load_dld = yes; then
41922 DL_LINK=" -ldld$DL_LINK"
41938 if test "$HAVE_DL_FUNCS" = 1; then
41940 for ac_func in dlerror
41942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41943 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41945 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41946 echo $ECHO_N "(cached) $ECHO_C" >&6
41948 cat >conftest.$ac_ext <<_ACEOF
41951 cat confdefs.h >>conftest.$ac_ext
41952 cat >>conftest.$ac_ext <<_ACEOF
41953 /* end confdefs.h. */
41954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41956 #define $ac_func innocuous_$ac_func
41958 /* System header to define __stub macros and hopefully few prototypes,
41959 which can conflict with char $ac_func (); below.
41960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41961 <limits.h> exists even on freestanding compilers. */
41964 # include <limits.h>
41966 # include <assert.h>
41971 /* Override any GCC internal prototype to avoid an error.
41972 Use char because int might match the return type of a GCC
41973 builtin and then its argument prototype would still apply. */
41978 /* The GNU C library defines this for functions which it implements
41979 to always fail with ENOSYS. Some functions are actually named
41980 something starting with __ and the normal name is an alias. */
41981 #if defined __stub_$ac_func || defined __stub___$ac_func
41988 return $ac_func ();
41993 rm -f conftest.$ac_objext conftest$ac_exeext
41994 if { (ac_try="$ac_link"
41995 case "(($ac_try" in
41996 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41997 *) ac_try_echo
=$ac_try;;
41999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42000 (eval "$ac_link") 2>conftest.er1
42002 grep -v '^ *+' conftest.er1
>conftest.err
42004 cat conftest.err
>&5
42005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42006 (exit $ac_status); } && {
42007 test -z "$ac_c_werror_flag" ||
42008 test ! -s conftest.err
42009 } && test -s conftest
$ac_exeext &&
42010 $as_test_x conftest
$ac_exeext; then
42011 eval "$as_ac_var=yes"
42013 echo "$as_me: failed program was:" >&5
42014 sed 's/^/| /' conftest.
$ac_ext >&5
42016 eval "$as_ac_var=no"
42019 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42020 conftest
$ac_exeext conftest.
$ac_ext
42022 ac_res
=`eval echo '${'$as_ac_var'}'`
42023 { echo "$as_me:$LINENO: result: $ac_res" >&5
42024 echo "${ECHO_T}$ac_res" >&6; }
42025 if test `eval echo '${'$as_ac_var'}'` = yes; then
42026 cat >>confdefs.h
<<_ACEOF
42027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42029 cat >>confdefs.h
<<\_ACEOF
42030 #define HAVE_DLERROR 1
42035 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42036 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42037 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42038 echo $ECHO_N "(cached) $ECHO_C" >&6
42040 ac_check_lib_save_LIBS
=$LIBS
42042 cat >conftest.
$ac_ext <<_ACEOF
42045 cat confdefs.h
>>conftest.
$ac_ext
42046 cat >>conftest.
$ac_ext <<_ACEOF
42047 /* end confdefs.h. */
42049 /* Override any GCC internal prototype to avoid an error.
42050 Use char because int might match the return type of a GCC
42051 builtin and then its argument prototype would still apply. */
42064 rm -f conftest.
$ac_objext conftest
$ac_exeext
42065 if { (ac_try
="$ac_link"
42066 case "(($ac_try" in
42067 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42068 *) ac_try_echo=$ac_try;;
42070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42071 (eval "$ac_link") 2>conftest.er1
42073 grep -v '^ *+' conftest.er1 >conftest.err
42075 cat conftest.err >&5
42076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42077 (exit $ac_status); } && {
42078 test -z "$ac_c_werror_flag" ||
42079 test ! -s conftest.err
42080 } && test -s conftest$ac_exeext &&
42081 $as_test_x conftest$ac_exeext; then
42082 ac_cv_lib_dl_dlerror=yes
42084 echo "$as_me: failed program was:" >&5
42085 sed 's/^/| /' conftest.$ac_ext >&5
42087 ac_cv_lib_dl_dlerror=no
42090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42091 conftest$ac_exeext conftest.$ac_ext
42092 LIBS=$ac_check_lib_save_LIBS
42094 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42095 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42096 if test $ac_cv_lib_dl_dlerror = yes; then
42097 cat >>confdefs.h <<\_ACEOF
42098 #define HAVE_DLERROR 1
42111 if test "$USE_DARWIN" = 1; then
42115 if test "$HAVE_DL_FUNCS" = 0; then
42116 if test "$HAVE_SHL_FUNCS" = 0; then
42117 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42118 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42119 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42120 wxUSE_DYNAMIC_LOADER=no
42121 wxUSE_DYNLIB_CLASS=no
42123 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42124 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42131 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42132 cat >>confdefs.h <<\_ACEOF
42133 #define wxUSE_DYNAMIC_LOADER 1
42137 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42138 cat >>confdefs.h <<\_ACEOF
42139 #define wxUSE_DYNLIB_CLASS 1
42146 if test "$wxUSE_PLUGINS" = "yes" ; then
42147 if test "$wxUSE_SHARED" = "no" ; then
42148 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42149 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42152 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42153 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42154 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42157 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42158 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42159 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42162 if test "$wxUSE_PLUGINS" = "yes" ; then
42163 cat >>confdefs.h <<\_ACEOF
42164 #define wxUSE_PLUGINS 1
42171 if test "$wxUSE_STL" = "yes"; then
42172 cat >>confdefs.h <<\_ACEOF
42173 #define wxUSE_STL 1
42178 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42179 cat >>confdefs.h <<\_ACEOF
42180 #define wxUSE_EXTENDED_RTTI 1
42185 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42186 cat >>confdefs.h <<\_ACEOF
42187 #define wxUSE_APPLE_IEEE 1
42192 if test "$wxUSE_TIMER" = "yes"; then
42193 cat >>confdefs.h <<\_ACEOF
42194 #define wxUSE_TIMER 1
42199 if test "$USE_UNIX" = 1 ; then
42200 if test "$wxUSE_MGL" != 1; then
42201 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42202 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42203 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42204 echo $ECHO_N "(cached) $ECHO_C" >&6
42207 cat >conftest.$ac_ext <<_ACEOF
42210 cat confdefs.h >>conftest.$ac_ext
42211 cat >>conftest.$ac_ext <<_ACEOF
42212 /* end confdefs.h. */
42214 #include <sys/ioctl.h>
42215 #include <sys/soundcard.h>
42221 ioctl(0, SNDCTL_DSP_SPEED, 0);
42227 rm -f conftest.$ac_objext conftest$ac_exeext
42228 if { (ac_try="$ac_link"
42229 case "(($ac_try" in
42230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42231 *) ac_try_echo
=$ac_try;;
42233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42234 (eval "$ac_link") 2>conftest.er1
42236 grep -v '^ *+' conftest.er1
>conftest.err
42238 cat conftest.err
>&5
42239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42240 (exit $ac_status); } && {
42241 test -z "$ac_c_werror_flag" ||
42242 test ! -s conftest.err
42243 } && test -s conftest
$ac_exeext &&
42244 $as_test_x conftest
$ac_exeext; then
42245 ac_cv_header_sys_soundcard
=yes
42247 echo "$as_me: failed program was:" >&5
42248 sed 's/^/| /' conftest.
$ac_ext >&5
42252 LIBS
="$saveLibs -lossaudio"
42253 cat >conftest.
$ac_ext <<_ACEOF
42256 cat confdefs.h
>>conftest.
$ac_ext
42257 cat >>conftest.
$ac_ext <<_ACEOF
42258 /* end confdefs.h. */
42260 #include <sys/ioctl.h>
42261 #include <sys/soundcard.h>
42267 ioctl(0, SNDCTL_DSP_SPEED, 0);
42273 rm -f conftest.
$ac_objext conftest
$ac_exeext
42274 if { (ac_try
="$ac_link"
42275 case "(($ac_try" in
42276 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42277 *) ac_try_echo=$ac_try;;
42279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42280 (eval "$ac_link") 2>conftest.er1
42282 grep -v '^ *+' conftest.er1 >conftest.err
42284 cat conftest.err >&5
42285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42286 (exit $ac_status); } && {
42287 test -z "$ac_c_werror_flag" ||
42288 test ! -s conftest.err
42289 } && test -s conftest$ac_exeext &&
42290 $as_test_x conftest$ac_exeext; then
42291 ac_cv_header_sys_soundcard=yes
42293 echo "$as_me: failed program was:" >&5
42294 sed 's/^/| /' conftest.$ac_ext >&5
42298 ac_cv_header_sys_soundcard=no
42303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42304 conftest$ac_exeext conftest.$ac_ext
42309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42310 conftest$ac_exeext conftest.$ac_ext
42313 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42314 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42317 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42318 cat >>confdefs.h <<\_ACEOF
42319 #define HAVE_SYS_SOUNDCARD_H 1
42326 if test "$wxUSE_SOUND" = "yes"; then
42327 if test "$USE_UNIX" = 1 ; then
42328 if test "$wxUSE_LIBSDL" != "no"; then
42330 # Check whether --with-sdl-prefix was given.
42331 if test "${with_sdl_prefix+set}" = set; then
42332 withval=$with_sdl_prefix; sdl_prefix="$withval"
42338 # Check whether --with-sdl-exec-prefix was given.
42339 if test "${with_sdl_exec_prefix+set}" = set; then
42340 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42345 # Check whether --enable-sdltest was given.
42346 if test "${enable_sdltest+set}" = set; then
42347 enableval=$enable_sdltest;
42353 if test x$sdl_exec_prefix != x ; then
42354 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42355 if test x${SDL_CONFIG+set} != xset ; then
42356 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42359 if test x$sdl_prefix != x ; then
42360 sdl_args="$sdl_args --prefix=$sdl_prefix"
42361 if test x${SDL_CONFIG+set} != xset ; then
42362 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42366 if test "x$prefix" != xNONE; then
42367 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42369 # Extract the first word of "sdl-config", so it can be a program name with args.
42370 set dummy sdl-config; ac_word=$2
42371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42373 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42374 echo $ECHO_N "(cached) $ECHO_C" >&6
42376 case $SDL_CONFIG in
42378 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42382 for as_dir in $PATH
42385 test -z "$as_dir" && as_dir=.
42386 for ac_exec_ext in '' $ac_executable_extensions; do
42387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42388 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42396 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42400 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42401 if test -n "$SDL_CONFIG"; then
42402 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42403 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42405 { echo "$as_me:$LINENO: result: no" >&5
42406 echo "${ECHO_T}no" >&6; }
42410 min_sdl_version=1.2.0
42411 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42412 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42414 if test "$SDL_CONFIG" = "no" ; then
42417 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42418 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42420 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42421 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42422 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42423 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42424 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42425 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42426 if test "x$enable_sdltest" = "xyes" ; then
42427 ac_save_CFLAGS="$CFLAGS"
42428 ac_save_CXXFLAGS="$CXXFLAGS"
42429 ac_save_LIBS="$LIBS"
42430 CFLAGS="$CFLAGS $SDL_CFLAGS"
42431 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42432 LIBS="$LIBS $SDL_LIBS"
42434 if test "$cross_compiling" = yes; then
42435 echo $ac_n "cross compiling; assumed OK... $ac_c"
42437 cat >conftest.$ac_ext <<_ACEOF
42440 cat confdefs.h >>conftest.$ac_ext
42441 cat >>conftest.$ac_ext <<_ACEOF
42442 /* end confdefs.h. */
42445 #include <stdlib.h>
42446 #include <string.h>
42450 my_strdup (char *str)
42456 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42457 strcpy (new_str, str);
42465 int main (int argc, char *argv[])
42467 int major, minor, micro;
42470 /* This hangs on some systems (?)
42471 system ("touch conf.sdltest");
42473 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42475 /* HP/UX 9 (%@#!) writes to sscanf strings */
42476 tmp_version = my_strdup("$min_sdl_version");
42477 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42478 printf("%s, bad version string\n", "$min_sdl_version");
42482 if (($sdl_major_version > major) ||
42483 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42484 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42490 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42491 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42492 printf("*** best to upgrade to the required version.\n");
42493 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42494 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42495 printf("*** config.cache before re-running configure\n");
42502 rm -f conftest$ac_exeext
42503 if { (ac_try="$ac_link"
42504 case "(($ac_try" in
42505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42506 *) ac_try_echo
=$ac_try;;
42508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42509 (eval "$ac_link") 2>&5
42511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42512 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42513 { (case "(($ac_try" in
42514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42515 *) ac_try_echo=$ac_try;;
42517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42518 (eval "$ac_try") 2>&5
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); }; }; then
42524 echo "$as_me: program exited with status $ac_status" >&5
42525 echo "$as_me: failed program was:" >&5
42526 sed 's/^/| /' conftest.$ac_ext >&5
42528 ( exit $ac_status )
42531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42535 CFLAGS="$ac_save_CFLAGS"
42536 CXXFLAGS="$ac_save_CXXFLAGS"
42537 LIBS="$ac_save_LIBS"
42540 if test "x$no_sdl" = x ; then
42541 { echo "$as_me:$LINENO: result: yes" >&5
42542 echo "${ECHO_T}yes" >&6; }
42544 EXTRALIBS_SDL="$SDL_LIBS"
42545 CFLAGS="$SDL_CFLAGS $CFLAGS"
42546 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42547 cat >>confdefs.h <<\_ACEOF
42548 #define wxUSE_LIBSDL 1
42553 { echo "$as_me:$LINENO: result: no" >&5
42554 echo "${ECHO_T}no" >&6; }
42555 if test "$SDL_CONFIG" = "no" ; then
42556 echo "*** The sdl-config script installed by SDL could not be found"
42557 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42558 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42559 echo "*** full path to sdl-config."
42561 if test -f conf.sdltest ; then
42564 echo "*** Could not run SDL test program, checking why..."
42565 CFLAGS="$CFLAGS $SDL_CFLAGS"
42566 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42567 LIBS="$LIBS $SDL_LIBS"
42568 cat >conftest.$ac_ext <<_ACEOF
42571 cat confdefs.h >>conftest.$ac_ext
42572 cat >>conftest.$ac_ext <<_ACEOF
42573 /* end confdefs.h. */
42578 int main(int argc, char *argv[])
42581 #define main K_and_R_C_main
42591 rm -f conftest.$ac_objext conftest$ac_exeext
42592 if { (ac_try="$ac_link"
42593 case "(($ac_try" in
42594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42595 *) ac_try_echo
=$ac_try;;
42597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42598 (eval "$ac_link") 2>conftest.er1
42600 grep -v '^ *+' conftest.er1
>conftest.err
42602 cat conftest.err
>&5
42603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42604 (exit $ac_status); } && {
42605 test -z "$ac_c_werror_flag" ||
42606 test ! -s conftest.err
42607 } && test -s conftest
$ac_exeext &&
42608 $as_test_x conftest
$ac_exeext; then
42609 echo "*** The test program compiled, but did not run. This usually means"
42610 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42611 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42612 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42613 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42614 echo "*** is required on your system"
42616 echo "*** If you have an old version installed, it is best to remove it, although"
42617 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42619 echo "$as_me: failed program was:" >&5
42620 sed 's/^/| /' conftest.
$ac_ext >&5
42622 echo "*** The test program failed to compile or link. See the file config.log for the"
42623 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42624 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42625 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42628 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42629 conftest
$ac_exeext conftest.
$ac_ext
42630 CFLAGS
="$ac_save_CFLAGS"
42631 CXXFLAGS
="$ac_save_CXXFLAGS"
42632 LIBS
="$ac_save_LIBS"
42643 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42648 if test "$wxUSE_MGL" = 1; then
42649 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42650 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42656 if test "$wxUSE_SOUND" = "yes"; then
42657 cat >>confdefs.h
<<\_ACEOF
42658 #define wxUSE_SOUND 1
42661 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42664 if test "$WXGTK2" = 1; then
42667 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42668 if test -n "$ac_tool_prefix"; then
42669 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42670 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42673 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42674 echo $ECHO_N "(cached) $ECHO_C" >&6
42676 case $PKG_CONFIG in
42678 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42682 for as_dir
in $PATH
42685 test -z "$as_dir" && as_dir
=.
42686 for ac_exec_ext
in '' $ac_executable_extensions; do
42687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42688 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42699 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42700 if test -n "$PKG_CONFIG"; then
42701 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42702 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42704 { echo "$as_me:$LINENO: result: no" >&5
42705 echo "${ECHO_T}no" >&6; }
42710 if test -z "$ac_cv_path_PKG_CONFIG"; then
42711 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42712 # Extract the first word of "pkg-config", so it can be a program name with args.
42713 set dummy pkg
-config; ac_word
=$2
42714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42716 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42717 echo $ECHO_N "(cached) $ECHO_C" >&6
42719 case $ac_pt_PKG_CONFIG in
42721 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42725 for as_dir
in $PATH
42728 test -z "$as_dir" && as_dir
=.
42729 for ac_exec_ext
in '' $ac_executable_extensions; do
42730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42731 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42742 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42743 if test -n "$ac_pt_PKG_CONFIG"; then
42744 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42745 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42747 { echo "$as_me:$LINENO: result: no" >&5
42748 echo "${ECHO_T}no" >&6; }
42751 if test "x$ac_pt_PKG_CONFIG" = x
; then
42754 case $cross_compiling:$ac_tool_warned in
42756 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42757 whose name does not start with the host triplet. If you think this
42758 configuration is useful to you, please write to autoconf@gnu.org." >&5
42759 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42760 whose name does not start with the host triplet. If you think this
42761 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42762 ac_tool_warned
=yes ;;
42764 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42767 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42771 if test -n "$PKG_CONFIG"; then
42772 _pkg_min_version
=0.9.0
42773 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42774 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42775 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42776 { echo "$as_me:$LINENO: result: yes" >&5
42777 echo "${ECHO_T}yes" >&6; }
42779 { echo "$as_me:$LINENO: result: no" >&5
42780 echo "${ECHO_T}no" >&6; }
42786 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42788 if test "$wxUSE_GTKPRINT" = "yes" ; then
42792 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42793 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42795 if test -n "$PKG_CONFIG"; then
42796 if test -n "$GTKPRINT_CFLAGS"; then
42797 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42799 if test -n "$PKG_CONFIG" && \
42800 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42801 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42804 (exit $ac_status); }; then
42805 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42813 if test -n "$PKG_CONFIG"; then
42814 if test -n "$GTKPRINT_LIBS"; then
42815 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42817 if test -n "$PKG_CONFIG" && \
42818 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42819 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42822 (exit $ac_status); }; then
42823 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42834 if test $pkg_failed = yes; then
42836 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42837 _pkg_short_errors_supported
=yes
42839 _pkg_short_errors_supported
=no
42841 if test $_pkg_short_errors_supported = yes; then
42842 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42844 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42846 # Put the nasty error message in config.log where it belongs
42847 echo "$GTKPRINT_PKG_ERRORS" >&5
42850 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42851 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42852 wxUSE_GTKPRINT
="no"
42855 elif test $pkg_failed = untried
; then
42857 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42858 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42859 wxUSE_GTKPRINT
="no"
42863 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42864 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42865 { echo "$as_me:$LINENO: result: yes" >&5
42866 echo "${ECHO_T}yes" >&6; }
42868 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42869 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42870 cat >>confdefs.h
<<\_ACEOF
42871 #define wxUSE_GTKPRINT 1
42878 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42882 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42883 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42885 if test -n "$PKG_CONFIG"; then
42886 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42887 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42889 if test -n "$PKG_CONFIG" && \
42890 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42891 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42894 (exit $ac_status); }; then
42895 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42903 if test -n "$PKG_CONFIG"; then
42904 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42905 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42907 if test -n "$PKG_CONFIG" && \
42908 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42909 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42912 (exit $ac_status); }; then
42913 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42924 if test $pkg_failed = yes; then
42926 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42927 _pkg_short_errors_supported
=yes
42929 _pkg_short_errors_supported
=no
42931 if test $_pkg_short_errors_supported = yes; then
42932 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42934 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42936 # Put the nasty error message in config.log where it belongs
42937 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42940 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42941 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42942 wxUSE_LIBGNOMEPRINT
="no"
42945 elif test $pkg_failed = untried
; then
42947 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42948 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42949 wxUSE_LIBGNOMEPRINT
="no"
42953 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42954 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42955 { echo "$as_me:$LINENO: result: yes" >&5
42956 echo "${ECHO_T}yes" >&6; }
42958 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42959 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42960 cat >>confdefs.h
<<\_ACEOF
42961 #define wxUSE_LIBGNOMEPRINT 1
42969 if test "$wxUSE_MIMETYPE" = "yes" ; then
42970 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42974 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42975 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42977 if test -n "$PKG_CONFIG"; then
42978 if test -n "$GNOMEVFS_CFLAGS"; then
42979 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42981 if test -n "$PKG_CONFIG" && \
42982 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42983 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42986 (exit $ac_status); }; then
42987 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42995 if test -n "$PKG_CONFIG"; then
42996 if test -n "$GNOMEVFS_LIBS"; then
42997 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42999 if test -n "$PKG_CONFIG" && \
43000 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43001 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43004 (exit $ac_status); }; then
43005 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43016 if test $pkg_failed = yes; then
43018 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43019 _pkg_short_errors_supported
=yes
43021 _pkg_short_errors_supported
=no
43023 if test $_pkg_short_errors_supported = yes; then
43024 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43026 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43028 # Put the nasty error message in config.log where it belongs
43029 echo "$GNOMEVFS_PKG_ERRORS" >&5
43032 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43033 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43034 wxUSE_LIBGNOMEVFS
="no"
43037 elif test $pkg_failed = untried
; then
43039 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43040 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43041 wxUSE_LIBGNOMEVFS
="no"
43045 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43046 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43047 { echo "$as_me:$LINENO: result: yes" >&5
43048 echo "${ECHO_T}yes" >&6; }
43050 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43051 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43052 cat >>confdefs.h
<<\_ACEOF
43053 #define wxUSE_LIBGNOMEVFS 1
43061 if test "$wxUSE_LIBHILDON" = "yes" ; then
43064 { echo "$as_me:$LINENO: checking for HILDON" >&5
43065 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43067 if test -n "$PKG_CONFIG"; then
43068 if test -n "$HILDON_CFLAGS"; then
43069 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43071 if test -n "$PKG_CONFIG" && \
43072 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43073 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43076 (exit $ac_status); }; then
43077 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43085 if test -n "$PKG_CONFIG"; then
43086 if test -n "$HILDON_LIBS"; then
43087 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43089 if test -n "$PKG_CONFIG" && \
43090 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43091 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43094 (exit $ac_status); }; then
43095 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43106 if test $pkg_failed = yes; then
43108 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43109 _pkg_short_errors_supported
=yes
43111 _pkg_short_errors_supported
=no
43113 if test $_pkg_short_errors_supported = yes; then
43114 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43116 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43118 # Put the nasty error message in config.log where it belongs
43119 echo "$HILDON_PKG_ERRORS" >&5
43122 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43123 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43124 wxUSE_LIBHILDON
="no"
43127 elif test $pkg_failed = untried
; then
43129 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43130 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43131 wxUSE_LIBHILDON
="no"
43135 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43136 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43137 { echo "$as_me:$LINENO: result: yes" >&5
43138 echo "${ECHO_T}yes" >&6; }
43140 EXTRALIBS_HILDON
="$HILDON_LIBS"
43141 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43142 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43143 cat >>confdefs.h
<<\_ACEOF
43144 #define wxUSE_LIBHILDON 1
43152 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43153 cat >>confdefs.h
<<\_ACEOF
43154 #define wxUSE_CMDLINE_PARSER 1
43159 if test "$wxUSE_STOPWATCH" = "yes"; then
43160 cat >>confdefs.h
<<\_ACEOF
43161 #define wxUSE_STOPWATCH 1
43166 if test "$wxUSE_DATETIME" = "yes"; then
43167 cat >>confdefs.h
<<\_ACEOF
43168 #define wxUSE_DATETIME 1
43173 if test "$wxUSE_FILE" = "yes"; then
43174 cat >>confdefs.h
<<\_ACEOF
43175 #define wxUSE_FILE 1
43180 if test "$wxUSE_FFILE" = "yes"; then
43181 cat >>confdefs.h
<<\_ACEOF
43182 #define wxUSE_FFILE 1
43187 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43188 if test "$wxUSE_STREAMS" != yes; then
43189 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43190 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43191 wxUSE_ARCHIVE_STREAMS
=no
43193 cat >>confdefs.h
<<\_ACEOF
43194 #define wxUSE_ARCHIVE_STREAMS 1
43200 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43201 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43202 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43203 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43204 elif test "$wxUSE_ZLIB" = "no"; then
43205 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43206 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43208 cat >>confdefs.h
<<\_ACEOF
43209 #define wxUSE_ZIPSTREAM 1
43215 if test "$wxUSE_TARSTREAM" = "yes"; then
43216 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43217 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43218 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43220 cat >>confdefs.h
<<\_ACEOF
43221 #define wxUSE_TARSTREAM 1
43227 if test "$wxUSE_FILESYSTEM" = "yes"; then
43228 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43229 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43230 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43231 wxUSE_FILESYSTEM
=no
43233 cat >>confdefs.h
<<\_ACEOF
43234 #define wxUSE_FILESYSTEM 1
43240 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43241 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43242 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43243 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43245 cat >>confdefs.h
<<\_ACEOF
43246 #define wxUSE_FS_ARCHIVE 1
43252 if test "$wxUSE_FS_ZIP" = "yes"; then
43253 if test "$wxUSE_FS_ARCHIVE" != yes; then
43254 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43255 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43257 cat >>confdefs.h
<<\_ACEOF
43258 #define wxUSE_FS_ZIP 1
43264 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43265 if test "$USE_UNIX" != 1; then
43266 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43267 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43268 wxUSE_ON_FATAL_EXCEPTION
=no
43270 cat >>confdefs.h
<<\_ACEOF
43271 #define wxUSE_ON_FATAL_EXCEPTION 1
43277 if test "$wxUSE_STACKWALKER" = "yes"; then
43278 cat >>confdefs.h
<<\_ACEOF
43279 #define wxUSE_STACKWALKER 1
43284 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43285 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43286 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43287 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43288 wxUSE_DEBUGREPORT
=no
43290 cat >>confdefs.h
<<\_ACEOF
43291 #define wxUSE_DEBUGREPORT 1
43294 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43300 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43301 cat >>confdefs.h
<<\_ACEOF
43302 #define wxUSE_SNGLINST_CHECKER 1
43307 if test "$wxUSE_BUSYINFO" = "yes"; then
43308 cat >>confdefs.h
<<\_ACEOF
43309 #define wxUSE_BUSYINFO 1
43314 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43315 cat >>confdefs.h
<<\_ACEOF
43316 #define wxUSE_STD_IOSTREAM 1
43321 if test "$wxUSE_STD_STRING" = "yes"; then
43322 cat >>confdefs.h
<<\_ACEOF
43323 #define wxUSE_STD_STRING 1
43328 if test "$wxUSE_STDPATHS" = "yes"; then
43329 cat >>confdefs.h
<<\_ACEOF
43330 #define wxUSE_STDPATHS 1
43335 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43336 cat >>confdefs.h
<<\_ACEOF
43337 #define wxUSE_TEXTBUFFER 1
43342 if test "$wxUSE_TEXTFILE" = "yes"; then
43343 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43344 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43345 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43347 cat >>confdefs.h
<<\_ACEOF
43348 #define wxUSE_TEXTFILE 1
43354 if test "$wxUSE_CONFIG" = "yes" ; then
43355 if test "$wxUSE_TEXTFILE" != "yes"; then
43356 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43357 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43359 cat >>confdefs.h
<<\_ACEOF
43360 #define wxUSE_CONFIG 1
43363 cat >>confdefs.h
<<\_ACEOF
43364 #define wxUSE_CONFIG_NATIVE 1
43367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43371 if test "$wxUSE_INTL" = "yes" ; then
43372 if test "$wxUSE_FILE" != "yes"; then
43373 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43374 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43376 cat >>confdefs.h
<<\_ACEOF
43377 #define wxUSE_INTL 1
43380 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43381 GUIDIST
="$GUIDIST INTL_DIST"
43385 if test "$wxUSE_XLOCALE" = "yes" ; then
43386 cat >>confdefs.h
<<\_ACEOF
43387 #define wxUSE_XLOCALE 1
43390 { echo "$as_me:$LINENO: checking for locale_t" >&5
43391 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43392 if test "${ac_cv_type_locale_t+set}" = set; then
43393 echo $ECHO_N "(cached) $ECHO_C" >&6
43395 cat >conftest.
$ac_ext <<_ACEOF
43398 cat confdefs.h
>>conftest.
$ac_ext
43399 cat >>conftest.
$ac_ext <<_ACEOF
43400 /* end confdefs.h. */
43401 #include <xlocale.h>
43402 #include <locale.h>
43404 typedef locale_t ac__type_new_;
43408 if ((ac__type_new_ *) 0)
43410 if (sizeof (ac__type_new_))
43416 rm -f conftest.
$ac_objext
43417 if { (ac_try
="$ac_compile"
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_compile") 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_objext; then
43433 ac_cv_type_locale_t=yes
43435 echo "$as_me: failed program was:" >&5
43436 sed 's/^/| /' conftest.$ac_ext >&5
43438 ac_cv_type_locale_t=no
43441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43443 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43444 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43445 if test $ac_cv_type_locale_t = yes; then
43447 cat >>confdefs.h <<_ACEOF
43448 #define HAVE_LOCALE_T 1
43456 if test "$wxUSE_LOG" = "yes"; then
43457 cat >>confdefs.h <<\_ACEOF
43458 #define wxUSE_LOG 1
43462 if test "$wxUSE_LOGGUI" = "yes"; then
43463 cat >>confdefs.h <<\_ACEOF
43464 #define wxUSE_LOGGUI 1
43469 if test "$wxUSE_LOGWINDOW" = "yes"; then
43470 cat >>confdefs.h <<\_ACEOF
43471 #define wxUSE_LOGWINDOW 1
43476 if test "$wxUSE_LOGDIALOG" = "yes"; then
43477 cat >>confdefs.h <<\_ACEOF
43478 #define wxUSE_LOG_DIALOG 1
43483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43486 if test "$wxUSE_LONGLONG" = "yes"; then
43487 cat >>confdefs.h <<\_ACEOF
43488 #define wxUSE_LONGLONG 1
43493 if test "$wxUSE_GEOMETRY" = "yes"; then
43494 cat >>confdefs.h <<\_ACEOF
43495 #define wxUSE_GEOMETRY 1
43500 if test "$wxUSE_BASE64" = "yes"; then
43501 cat >>confdefs.h <<\_ACEOF
43502 #define wxUSE_BASE64 1
43507 if test "$wxUSE_STREAMS" = "yes" ; then
43508 cat >>confdefs.h <<\_ACEOF
43509 #define wxUSE_STREAMS 1
43514 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43515 cat >>confdefs.h <<\_ACEOF
43516 #define wxUSE_PRINTF_POS_PARAMS 1
43521 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43522 cat >>confdefs.h <<\_ACEOF
43523 #define wxUSE_OBJC_UNIQUIFYING 1
43529 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43530 cat >>confdefs.h <<\_ACEOF
43531 #define wxUSE_CONSOLE_EVENTLOOP 1
43535 if test "$wxUSE_UNIX" = "yes"; then
43536 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43537 cat >>confdefs.h <<\_ACEOF
43538 #define wxUSE_SELECT_DISPATCHER 1
43543 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43545 for ac_header in sys/epoll.h
43547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43551 echo $ECHO_N "(cached) $ECHO_C" >&6
43553 cat >conftest.$ac_ext <<_ACEOF
43556 cat confdefs.h >>conftest.$ac_ext
43557 cat >>conftest.$ac_ext <<_ACEOF
43558 /* end confdefs.h. */
43559 $ac_includes_default
43561 #include <$ac_header>
43563 rm -f conftest.$ac_objext
43564 if { (ac_try="$ac_compile"
43565 case "(($ac_try" in
43566 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43567 *) ac_try_echo
=$ac_try;;
43569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43570 (eval "$ac_compile") 2>conftest.er1
43572 grep -v '^ *+' conftest.er1
>conftest.err
43574 cat conftest.err
>&5
43575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43576 (exit $ac_status); } && {
43577 test -z "$ac_c_werror_flag" ||
43578 test ! -s conftest.err
43579 } && test -s conftest.
$ac_objext; then
43580 eval "$as_ac_Header=yes"
43582 echo "$as_me: failed program was:" >&5
43583 sed 's/^/| /' conftest.
$ac_ext >&5
43585 eval "$as_ac_Header=no"
43588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43590 ac_res
=`eval echo '${'$as_ac_Header'}'`
43591 { echo "$as_me:$LINENO: result: $ac_res" >&5
43592 echo "${ECHO_T}$ac_res" >&6; }
43593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43594 cat >>confdefs.h
<<_ACEOF
43595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43602 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43603 cat >>confdefs.h
<<\_ACEOF
43604 #define wxUSE_EPOLL_DISPATCHER 1
43608 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43609 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43618 for ac_func
in gettimeofday ftime
43620 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43621 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43623 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43624 echo $ECHO_N "(cached) $ECHO_C" >&6
43626 cat >conftest.
$ac_ext <<_ACEOF
43629 cat confdefs.h
>>conftest.
$ac_ext
43630 cat >>conftest.
$ac_ext <<_ACEOF
43631 /* end confdefs.h. */
43632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43634 #define $ac_func innocuous_$ac_func
43636 /* System header to define __stub macros and hopefully few prototypes,
43637 which can conflict with char $ac_func (); below.
43638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43639 <limits.h> exists even on freestanding compilers. */
43642 # include <limits.h>
43644 # include <assert.h>
43649 /* Override any GCC internal prototype to avoid an error.
43650 Use char because int might match the return type of a GCC
43651 builtin and then its argument prototype would still apply. */
43656 /* The GNU C library defines this for functions which it implements
43657 to always fail with ENOSYS. Some functions are actually named
43658 something starting with __ and the normal name is an alias. */
43659 #if defined __stub_$ac_func || defined __stub___$ac_func
43666 return $ac_func ();
43671 rm -f conftest.
$ac_objext conftest
$ac_exeext
43672 if { (ac_try
="$ac_link"
43673 case "(($ac_try" in
43674 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43675 *) ac_try_echo=$ac_try;;
43677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43678 (eval "$ac_link") 2>conftest.er1
43680 grep -v '^ *+' conftest.er1 >conftest.err
43682 cat conftest.err >&5
43683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43684 (exit $ac_status); } && {
43685 test -z "$ac_c_werror_flag" ||
43686 test ! -s conftest.err
43687 } && test -s conftest$ac_exeext &&
43688 $as_test_x conftest$ac_exeext; then
43689 eval "$as_ac_var=yes"
43691 echo "$as_me: failed program was:" >&5
43692 sed 's/^/| /' conftest.$ac_ext >&5
43694 eval "$as_ac_var=no"
43697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43698 conftest$ac_exeext conftest.$ac_ext
43700 ac_res=`eval echo '${'$as_ac_var'}'`
43701 { echo "$as_me:$LINENO: result: $ac_res" >&5
43702 echo "${ECHO_T}$ac_res" >&6; }
43703 if test `eval echo '${'$as_ac_var'}'` = yes; then
43704 cat >>confdefs.h <<_ACEOF
43705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43712 if test "$ac_cv_func_gettimeofday" = "yes"; then
43713 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43714 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43715 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43716 echo $ECHO_N "(cached) $ECHO_C" >&6
43719 cat >conftest.$ac_ext <<_ACEOF
43722 cat confdefs.h >>conftest.$ac_ext
43723 cat >>conftest.$ac_ext <<_ACEOF
43724 /* end confdefs.h. */
43726 #include <sys/time.h>
43727 #include <unistd.h>
43734 gettimeofday(&tv, NULL);
43740 rm -f conftest.$ac_objext
43741 if { (ac_try="$ac_compile"
43742 case "(($ac_try" in
43743 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43744 *) ac_try_echo
=$ac_try;;
43746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43747 (eval "$ac_compile") 2>conftest.er1
43749 grep -v '^ *+' conftest.er1
>conftest.err
43751 cat conftest.err
>&5
43752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43753 (exit $ac_status); } && {
43754 test -z "$ac_c_werror_flag" ||
43755 test ! -s conftest.err
43756 } && test -s conftest.
$ac_objext; then
43757 wx_cv_func_gettimeofday_has_2_args
=yes
43759 echo "$as_me: failed program was:" >&5
43760 sed 's/^/| /' conftest.
$ac_ext >&5
43762 cat >conftest.
$ac_ext <<_ACEOF
43765 cat confdefs.h
>>conftest.
$ac_ext
43766 cat >>conftest.
$ac_ext <<_ACEOF
43767 /* end confdefs.h. */
43769 #include <sys/time.h>
43770 #include <unistd.h>
43783 rm -f conftest.
$ac_objext
43784 if { (ac_try
="$ac_compile"
43785 case "(($ac_try" in
43786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43787 *) ac_try_echo=$ac_try;;
43789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43790 (eval "$ac_compile") 2>conftest.er1
43792 grep -v '^ *+' conftest.er1 >conftest.err
43794 cat conftest.err >&5
43795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43796 (exit $ac_status); } && {
43797 test -z "$ac_c_werror_flag" ||
43798 test ! -s conftest.err
43799 } && test -s conftest.$ac_objext; then
43800 wx_cv_func_gettimeofday_has_2_args=no
43802 echo "$as_me: failed program was:" >&5
43803 sed 's/^/| /' conftest.$ac_ext >&5
43806 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43807 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43808 wx_cv_func_gettimeofday_has_2_args=unknown
43813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43820 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43821 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43823 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43824 cat >>confdefs.h <<\_ACEOF
43825 #define WX_GETTIMEOFDAY_NO_TZ 1
43831 if test "$wxUSE_DATETIME" = "yes"; then
43832 { echo "$as_me:$LINENO: checking for strptime" >&5
43833 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43834 if test "${ac_cv_func_strptime+set}" = set; then
43835 echo $ECHO_N "(cached) $ECHO_C" >&6
43837 cat >conftest.$ac_ext <<_ACEOF
43840 cat confdefs.h >>conftest.$ac_ext
43841 cat >>conftest.$ac_ext <<_ACEOF
43842 /* end confdefs.h. */
43843 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43845 #define strptime innocuous_strptime
43847 /* System header to define __stub macros and hopefully few prototypes,
43848 which can conflict with char strptime (); below.
43849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43850 <limits.h> exists even on freestanding compilers. */
43853 # include <limits.h>
43855 # include <assert.h>
43860 /* Override any GCC internal prototype to avoid an error.
43861 Use char because int might match the return type of a GCC
43862 builtin and then its argument prototype would still apply. */
43867 /* The GNU C library defines this for functions which it implements
43868 to always fail with ENOSYS. Some functions are actually named
43869 something starting with __ and the normal name is an alias. */
43870 #if defined __stub_strptime || defined __stub___strptime
43877 return strptime ();
43882 rm -f conftest.$ac_objext conftest$ac_exeext
43883 if { (ac_try="$ac_link"
43884 case "(($ac_try" in
43885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43886 *) ac_try_echo
=$ac_try;;
43888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43889 (eval "$ac_link") 2>conftest.er1
43891 grep -v '^ *+' conftest.er1
>conftest.err
43893 cat conftest.err
>&5
43894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43895 (exit $ac_status); } && {
43896 test -z "$ac_c_werror_flag" ||
43897 test ! -s conftest.err
43898 } && test -s conftest
$ac_exeext &&
43899 $as_test_x conftest
$ac_exeext; then
43900 ac_cv_func_strptime
=yes
43902 echo "$as_me: failed program was:" >&5
43903 sed 's/^/| /' conftest.
$ac_ext >&5
43905 ac_cv_func_strptime
=no
43908 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43909 conftest
$ac_exeext conftest.
$ac_ext
43911 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43912 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43914 if test "$ac_cv_func_strptime" = "yes"; then
43915 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43916 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43917 if test "${wx_cv_func_strptime_decl+set}" = set; then
43918 echo $ECHO_N "(cached) $ECHO_C" >&6
43922 ac_cpp
='$CXXCPP $CPPFLAGS'
43923 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43924 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43925 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43927 cat >conftest.
$ac_ext <<_ACEOF
43930 cat confdefs.h
>>conftest.
$ac_ext
43931 cat >>conftest.
$ac_ext <<_ACEOF
43932 /* end confdefs.h. */
43941 strptime("foo", "bar", &t);
43947 rm -f conftest.
$ac_objext
43948 if { (ac_try
="$ac_compile"
43949 case "(($ac_try" in
43950 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43951 *) ac_try_echo=$ac_try;;
43953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43954 (eval "$ac_compile") 2>conftest.er1
43956 grep -v '^ *+' conftest.er1 >conftest.err
43958 cat conftest.err >&5
43959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43960 (exit $ac_status); } && {
43961 test -z "$ac_cxx_werror_flag" ||
43962 test ! -s conftest.err
43963 } && test -s conftest.$ac_objext; then
43964 wx_cv_func_strptime_decl=yes
43966 echo "$as_me: failed program was:" >&5
43967 sed 's/^/| /' conftest.$ac_ext >&5
43969 wx_cv_func_strptime_decl=no
43973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43975 ac_cpp='$CPP $CPPFLAGS'
43976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43983 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43984 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43986 if test "$wx_cv_func_strptime_decl" = "yes"; then
43987 cat >>confdefs.h <<\_ACEOF
43988 #define HAVE_STRPTIME_DECL 1
43992 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43994 if test "$ac_cv_func_strptime" = "yes"; then
43995 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43996 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43997 if test "${wx_cv_func_strptime_ok+set}" = set; then
43998 echo $ECHO_N "(cached) $ECHO_C" >&6
44000 if test "$cross_compiling" = yes; then
44001 wx_cv_func_strptime_ok=no
44004 cat >conftest.$ac_ext <<_ACEOF
44006 #include <stdlib.h>
44008 #include "confdefs.h"
44015 return !!strptime("", "%x", &t);
44019 rm -f conftest$ac_exeext
44020 if { (ac_try="$ac_link"
44021 case "(($ac_try" in
44022 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44023 *) ac_try_echo
=$ac_try;;
44025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44026 (eval "$ac_link") 2>&5
44028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44029 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44030 { (case "(($ac_try" in
44031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44032 *) ac_try_echo=$ac_try;;
44034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44035 (eval "$ac_try") 2>&5
44037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44038 (exit $ac_status); }; }; then
44039 wx_cv_func_strptime_ok=yes
44041 echo "$as_me: program exited with status $ac_status" >&5
44042 echo "$as_me: failed program was:" >&5
44043 sed 's/^/| /' conftest.$ac_ext >&5
44045 ( exit $ac_status )
44046 wx_cv_func_strptime_ok=no
44048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44054 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44055 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44057 if test "$wx_cv_func_strptime_ok" = "yes"; then
44058 cat >>confdefs.h <<\_ACEOF
44059 #define HAVE_STRPTIME 1
44065 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44066 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44067 if test "${wx_cv_var_timezone+set}" = set; then
44068 echo $ECHO_N "(cached) $ECHO_C" >&6
44072 ac_cpp='$CXXCPP $CPPFLAGS'
44073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44077 cat >conftest.$ac_ext <<_ACEOF
44080 cat confdefs.h >>conftest.$ac_ext
44081 cat >>conftest.$ac_ext <<_ACEOF
44082 /* end confdefs.h. */
44097 rm -f conftest.$ac_objext
44098 if { (ac_try="$ac_compile"
44099 case "(($ac_try" in
44100 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44101 *) ac_try_echo
=$ac_try;;
44103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44104 (eval "$ac_compile") 2>conftest.er1
44106 grep -v '^ *+' conftest.er1
>conftest.err
44108 cat conftest.err
>&5
44109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44110 (exit $ac_status); } && {
44111 test -z "$ac_cxx_werror_flag" ||
44112 test ! -s conftest.err
44113 } && test -s conftest.
$ac_objext; then
44115 wx_cv_var_timezone
=timezone
44118 echo "$as_me: failed program was:" >&5
44119 sed 's/^/| /' conftest.
$ac_ext >&5
44122 cat >conftest.
$ac_ext <<_ACEOF
44125 cat confdefs.h
>>conftest.
$ac_ext
44126 cat >>conftest.
$ac_ext <<_ACEOF
44127 /* end confdefs.h. */
44142 rm -f conftest.
$ac_objext
44143 if { (ac_try
="$ac_compile"
44144 case "(($ac_try" in
44145 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44146 *) ac_try_echo=$ac_try;;
44148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44149 (eval "$ac_compile") 2>conftest.er1
44151 grep -v '^ *+' conftest.er1 >conftest.err
44153 cat conftest.err >&5
44154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44155 (exit $ac_status); } && {
44156 test -z "$ac_cxx_werror_flag" ||
44157 test ! -s conftest.err
44158 } && test -s conftest.$ac_objext; then
44160 wx_cv_var_timezone=_timezone
44163 echo "$as_me: failed program was:" >&5
44164 sed 's/^/| /' conftest.$ac_ext >&5
44167 cat >conftest.$ac_ext <<_ACEOF
44170 cat confdefs.h >>conftest.$ac_ext
44171 cat >>conftest.$ac_ext <<_ACEOF
44172 /* end confdefs.h. */
44187 rm -f conftest.$ac_objext
44188 if { (ac_try="$ac_compile"
44189 case "(($ac_try" in
44190 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44191 *) ac_try_echo
=$ac_try;;
44193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44194 (eval "$ac_compile") 2>conftest.er1
44196 grep -v '^ *+' conftest.er1
>conftest.err
44198 cat conftest.err
>&5
44199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44200 (exit $ac_status); } && {
44201 test -z "$ac_cxx_werror_flag" ||
44202 test ! -s conftest.err
44203 } && test -s conftest.
$ac_objext; then
44205 wx_cv_var_timezone
=__timezone
44208 echo "$as_me: failed program was:" >&5
44209 sed 's/^/| /' conftest.
$ac_ext >&5
44212 if test "$USE_DOS" = 0 ; then
44213 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44214 echo "$as_me: WARNING: no timezone variable" >&2;}
44220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44232 ac_cpp
='$CPP $CPPFLAGS'
44233 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44234 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44235 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44240 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44241 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44243 if test "x$wx_cv_var_timezone" != x
; then
44244 cat >>confdefs.h
<<_ACEOF
44245 #define WX_TIMEZONE $wx_cv_var_timezone
44251 for ac_func
in localtime
44253 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44254 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44256 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44257 echo $ECHO_N "(cached) $ECHO_C" >&6
44259 cat >conftest.
$ac_ext <<_ACEOF
44262 cat confdefs.h
>>conftest.
$ac_ext
44263 cat >>conftest.
$ac_ext <<_ACEOF
44264 /* end confdefs.h. */
44265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44267 #define $ac_func innocuous_$ac_func
44269 /* System header to define __stub macros and hopefully few prototypes,
44270 which can conflict with char $ac_func (); below.
44271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44272 <limits.h> exists even on freestanding compilers. */
44275 # include <limits.h>
44277 # include <assert.h>
44282 /* Override any GCC internal prototype to avoid an error.
44283 Use char because int might match the return type of a GCC
44284 builtin and then its argument prototype would still apply. */
44289 /* The GNU C library defines this for functions which it implements
44290 to always fail with ENOSYS. Some functions are actually named
44291 something starting with __ and the normal name is an alias. */
44292 #if defined __stub_$ac_func || defined __stub___$ac_func
44299 return $ac_func ();
44304 rm -f conftest.
$ac_objext conftest
$ac_exeext
44305 if { (ac_try
="$ac_link"
44306 case "(($ac_try" in
44307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44308 *) ac_try_echo=$ac_try;;
44310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44311 (eval "$ac_link") 2>conftest.er1
44313 grep -v '^ *+' conftest.er1 >conftest.err
44315 cat conftest.err >&5
44316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44317 (exit $ac_status); } && {
44318 test -z "$ac_c_werror_flag" ||
44319 test ! -s conftest.err
44320 } && test -s conftest$ac_exeext &&
44321 $as_test_x conftest$ac_exeext; then
44322 eval "$as_ac_var=yes"
44324 echo "$as_me: failed program was:" >&5
44325 sed 's/^/| /' conftest.$ac_ext >&5
44327 eval "$as_ac_var=no"
44330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44331 conftest$ac_exeext conftest.$ac_ext
44333 ac_res=`eval echo '${'$as_ac_var'}'`
44334 { echo "$as_me:$LINENO: result: $ac_res" >&5
44335 echo "${ECHO_T}$ac_res" >&6; }
44336 if test `eval echo '${'$as_ac_var'}'` = yes; then
44337 cat >>confdefs.h <<_ACEOF
44338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44345 if test "$ac_cv_func_localtime" = "yes"; then
44346 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44347 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44348 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44349 echo $ECHO_N "(cached) $ECHO_C" >&6
44352 cat >conftest.$ac_ext <<_ACEOF
44355 cat confdefs.h >>conftest.$ac_ext
44356 cat >>conftest.$ac_ext <<_ACEOF
44357 /* end confdefs.h. */
44372 rm -f conftest.$ac_objext
44373 if { (ac_try="$ac_compile"
44374 case "(($ac_try" in
44375 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44376 *) ac_try_echo
=$ac_try;;
44378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44379 (eval "$ac_compile") 2>conftest.er1
44381 grep -v '^ *+' conftest.er1
>conftest.err
44383 cat conftest.err
>&5
44384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44385 (exit $ac_status); } && {
44386 test -z "$ac_c_werror_flag" ||
44387 test ! -s conftest.err
44388 } && test -s conftest.
$ac_objext; then
44390 wx_cv_struct_tm_has_gmtoff
=yes
44393 echo "$as_me: failed program was:" >&5
44394 sed 's/^/| /' conftest.
$ac_ext >&5
44396 wx_cv_struct_tm_has_gmtoff
=no
44400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44403 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44404 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44407 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44408 cat >>confdefs.h
<<\_ACEOF
44409 #define WX_GMTOFF_IN_TM 1
44414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44418 if test "$wxUSE_SOCKETS" = "yes"; then
44419 if test "$wxUSE_MGL" = 1; then
44420 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44421 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44426 if test "$wxUSE_SOCKETS" = "yes"; then
44427 if test "$TOOLKIT" != "MSW"; then
44428 { echo "$as_me:$LINENO: checking for socket" >&5
44429 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44430 if test "${ac_cv_func_socket+set}" = set; then
44431 echo $ECHO_N "(cached) $ECHO_C" >&6
44433 cat >conftest.
$ac_ext <<_ACEOF
44436 cat confdefs.h
>>conftest.
$ac_ext
44437 cat >>conftest.
$ac_ext <<_ACEOF
44438 /* end confdefs.h. */
44439 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44441 #define socket innocuous_socket
44443 /* System header to define __stub macros and hopefully few prototypes,
44444 which can conflict with char socket (); below.
44445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44446 <limits.h> exists even on freestanding compilers. */
44449 # include <limits.h>
44451 # include <assert.h>
44456 /* Override any GCC internal prototype to avoid an error.
44457 Use char because int might match the return type of a GCC
44458 builtin and then its argument prototype would still apply. */
44463 /* The GNU C library defines this for functions which it implements
44464 to always fail with ENOSYS. Some functions are actually named
44465 something starting with __ and the normal name is an alias. */
44466 #if defined __stub_socket || defined __stub___socket
44478 rm -f conftest.
$ac_objext conftest
$ac_exeext
44479 if { (ac_try
="$ac_link"
44480 case "(($ac_try" in
44481 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44482 *) ac_try_echo=$ac_try;;
44484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44485 (eval "$ac_link") 2>conftest.er1
44487 grep -v '^ *+' conftest.er1 >conftest.err
44489 cat conftest.err >&5
44490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44491 (exit $ac_status); } && {
44492 test -z "$ac_c_werror_flag" ||
44493 test ! -s conftest.err
44494 } && test -s conftest$ac_exeext &&
44495 $as_test_x conftest$ac_exeext; then
44496 ac_cv_func_socket=yes
44498 echo "$as_me: failed program was:" >&5
44499 sed 's/^/| /' conftest.$ac_ext >&5
44501 ac_cv_func_socket=no
44504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44505 conftest$ac_exeext conftest.$ac_ext
44507 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44508 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44509 if test $ac_cv_func_socket = yes; then
44513 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44514 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44515 if test "${ac_cv_lib_socket_socket+set}" = set; then
44516 echo $ECHO_N "(cached) $ECHO_C" >&6
44518 ac_check_lib_save_LIBS=$LIBS
44519 LIBS="-lsocket $LIBS"
44520 cat >conftest.$ac_ext <<_ACEOF
44523 cat confdefs.h >>conftest.$ac_ext
44524 cat >>conftest.$ac_ext <<_ACEOF
44525 /* end confdefs.h. */
44527 /* Override any GCC internal prototype to avoid an error.
44528 Use char because int might match the return type of a GCC
44529 builtin and then its argument prototype would still apply. */
44542 rm -f conftest.$ac_objext conftest$ac_exeext
44543 if { (ac_try="$ac_link"
44544 case "(($ac_try" in
44545 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44546 *) ac_try_echo
=$ac_try;;
44548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44549 (eval "$ac_link") 2>conftest.er1
44551 grep -v '^ *+' conftest.er1
>conftest.err
44553 cat conftest.err
>&5
44554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44555 (exit $ac_status); } && {
44556 test -z "$ac_c_werror_flag" ||
44557 test ! -s conftest.err
44558 } && test -s conftest
$ac_exeext &&
44559 $as_test_x conftest
$ac_exeext; then
44560 ac_cv_lib_socket_socket
=yes
44562 echo "$as_me: failed program was:" >&5
44563 sed 's/^/| /' conftest.
$ac_ext >&5
44565 ac_cv_lib_socket_socket
=no
44568 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44569 conftest
$ac_exeext conftest.
$ac_ext
44570 LIBS
=$ac_check_lib_save_LIBS
44572 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44573 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44574 if test $ac_cv_lib_socket_socket = yes; then
44575 if test "$INET_LINK" != " -lsocket"; then
44576 INET_LINK
="$INET_LINK -lsocket"
44580 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44581 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44594 if test "$wxUSE_SOCKETS" = "yes" ; then
44595 if test "$TOOLKIT" != "MSW"; then
44596 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44597 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44598 if test "${wx_cv_type_getsockname3+set}" = set; then
44599 echo $ECHO_N "(cached) $ECHO_C" >&6
44603 ac_cpp
='$CXXCPP $CPPFLAGS'
44604 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44605 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44606 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44608 cat >conftest.
$ac_ext <<_ACEOF
44611 cat confdefs.h
>>conftest.
$ac_ext
44612 cat >>conftest.
$ac_ext <<_ACEOF
44613 /* end confdefs.h. */
44615 #include <sys/types.h>
44616 #include <sys/socket.h>
44623 getsockname(0, 0, &len);
44629 rm -f conftest.
$ac_objext
44630 if { (ac_try
="$ac_compile"
44631 case "(($ac_try" in
44632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44633 *) ac_try_echo=$ac_try;;
44635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44636 (eval "$ac_compile") 2>conftest.er1
44638 grep -v '^ *+' conftest.er1 >conftest.err
44640 cat conftest.err >&5
44641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44642 (exit $ac_status); } && {
44643 test -z "$ac_cxx_werror_flag" ||
44644 test ! -s conftest.err
44645 } && test -s conftest.$ac_objext; then
44646 wx_cv_type_getsockname3=socklen_t
44648 echo "$as_me: failed program was:" >&5
44649 sed 's/^/| /' conftest.$ac_ext >&5
44652 CFLAGS_OLD="$CFLAGS"
44653 if test "$GCC" = yes ; then
44654 CFLAGS="-Werror $CFLAGS"
44657 cat >conftest.$ac_ext <<_ACEOF
44660 cat confdefs.h >>conftest.$ac_ext
44661 cat >>conftest.$ac_ext <<_ACEOF
44662 /* end confdefs.h. */
44664 #include <sys/types.h>
44665 #include <sys/socket.h>
44672 getsockname(0, 0, &len);
44678 rm -f conftest.$ac_objext
44679 if { (ac_try="$ac_compile"
44680 case "(($ac_try" in
44681 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44682 *) ac_try_echo
=$ac_try;;
44684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44685 (eval "$ac_compile") 2>conftest.er1
44687 grep -v '^ *+' conftest.er1
>conftest.err
44689 cat conftest.err
>&5
44690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44691 (exit $ac_status); } && {
44692 test -z "$ac_cxx_werror_flag" ||
44693 test ! -s conftest.err
44694 } && test -s conftest.
$ac_objext; then
44695 wx_cv_type_getsockname3
=size_t
44697 echo "$as_me: failed program was:" >&5
44698 sed 's/^/| /' conftest.
$ac_ext >&5
44700 cat >conftest.
$ac_ext <<_ACEOF
44703 cat confdefs.h
>>conftest.
$ac_ext
44704 cat >>conftest.
$ac_ext <<_ACEOF
44705 /* end confdefs.h. */
44707 #include <sys/types.h>
44708 #include <sys/socket.h>
44715 getsockname(0, 0, &len);
44721 rm -f conftest.
$ac_objext
44722 if { (ac_try
="$ac_compile"
44723 case "(($ac_try" in
44724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44725 *) ac_try_echo=$ac_try;;
44727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44728 (eval "$ac_compile") 2>conftest.er1
44730 grep -v '^ *+' conftest.er1 >conftest.err
44732 cat conftest.err >&5
44733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44734 (exit $ac_status); } && {
44735 test -z "$ac_cxx_werror_flag" ||
44736 test ! -s conftest.err
44737 } && test -s conftest.$ac_objext; then
44738 wx_cv_type_getsockname3=int
44740 echo "$as_me: failed program was:" >&5
44741 sed 's/^/| /' conftest.$ac_ext >&5
44743 wx_cv_type_getsockname3=unknown
44747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44753 CFLAGS="$CFLAGS_OLD"
44758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44760 ac_cpp='$CPP $CPPFLAGS'
44761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44767 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44768 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44770 if test "$wx_cv_type_getsockname3" = "unknown"; then
44772 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44773 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44775 cat >>confdefs.h <<_ACEOF
44776 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44780 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44781 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44782 if test "${wx_cv_type_getsockopt5+set}" = set; then
44783 echo $ECHO_N "(cached) $ECHO_C" >&6
44787 ac_cpp='$CXXCPP $CPPFLAGS'
44788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44792 cat >conftest.$ac_ext <<_ACEOF
44795 cat confdefs.h >>conftest.$ac_ext
44796 cat >>conftest.$ac_ext <<_ACEOF
44797 /* end confdefs.h. */
44799 #include <sys/types.h>
44800 #include <sys/socket.h>
44807 getsockopt(0, 0, 0, 0, &len);
44813 rm -f conftest.$ac_objext
44814 if { (ac_try="$ac_compile"
44815 case "(($ac_try" in
44816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44817 *) ac_try_echo
=$ac_try;;
44819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44820 (eval "$ac_compile") 2>conftest.er1
44822 grep -v '^ *+' conftest.er1
>conftest.err
44824 cat conftest.err
>&5
44825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44826 (exit $ac_status); } && {
44827 test -z "$ac_cxx_werror_flag" ||
44828 test ! -s conftest.err
44829 } && test -s conftest.
$ac_objext; then
44830 wx_cv_type_getsockopt5
=socklen_t
44832 echo "$as_me: failed program was:" >&5
44833 sed 's/^/| /' conftest.
$ac_ext >&5
44836 cat >conftest.
$ac_ext <<_ACEOF
44839 cat confdefs.h
>>conftest.
$ac_ext
44840 cat >>conftest.
$ac_ext <<_ACEOF
44841 /* end confdefs.h. */
44843 #include <sys/types.h>
44844 #include <sys/socket.h>
44851 getsockopt(0, 0, 0, 0, &len);
44857 rm -f conftest.
$ac_objext
44858 if { (ac_try
="$ac_compile"
44859 case "(($ac_try" in
44860 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44861 *) ac_try_echo=$ac_try;;
44863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44864 (eval "$ac_compile") 2>conftest.er1
44866 grep -v '^ *+' conftest.er1 >conftest.err
44868 cat conftest.err >&5
44869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44870 (exit $ac_status); } && {
44871 test -z "$ac_cxx_werror_flag" ||
44872 test ! -s conftest.err
44873 } && test -s conftest.$ac_objext; then
44874 wx_cv_type_getsockopt5=size_t
44876 echo "$as_me: failed program was:" >&5
44877 sed 's/^/| /' conftest.$ac_ext >&5
44879 cat >conftest.$ac_ext <<_ACEOF
44882 cat confdefs.h >>conftest.$ac_ext
44883 cat >>conftest.$ac_ext <<_ACEOF
44884 /* end confdefs.h. */
44886 #include <sys/types.h>
44887 #include <sys/socket.h>
44894 getsockopt(0, 0, 0, 0, &len);
44900 rm -f conftest.$ac_objext
44901 if { (ac_try="$ac_compile"
44902 case "(($ac_try" in
44903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44904 *) ac_try_echo
=$ac_try;;
44906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44907 (eval "$ac_compile") 2>conftest.er1
44909 grep -v '^ *+' conftest.er1
>conftest.err
44911 cat conftest.err
>&5
44912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44913 (exit $ac_status); } && {
44914 test -z "$ac_cxx_werror_flag" ||
44915 test ! -s conftest.err
44916 } && test -s conftest.
$ac_objext; then
44917 wx_cv_type_getsockopt5
=int
44919 echo "$as_me: failed program was:" >&5
44920 sed 's/^/| /' conftest.
$ac_ext >&5
44922 wx_cv_type_getsockopt5
=unknown
44926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44937 ac_cpp
='$CPP $CPPFLAGS'
44938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44944 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44945 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44947 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44949 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44950 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44952 cat >>confdefs.h
<<_ACEOF
44953 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44960 if test "$wxUSE_SOCKETS" = "yes" ; then
44961 if test "$wxUSE_IPV6" = "yes"; then
44962 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44963 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44964 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44965 echo $ECHO_N "(cached) $ECHO_C" >&6
44968 cat >conftest.
$ac_ext <<_ACEOF
44971 cat confdefs.h
>>conftest.
$ac_ext
44972 cat >>conftest.
$ac_ext <<_ACEOF
44973 /* end confdefs.h. */
44975 #include <sys/types.h>
44976 #include <sys/socket.h>
44977 #include <netinet/in.h>
44983 struct sockaddr_in6 sa6;
44989 rm -f conftest.
$ac_objext
44990 if { (ac_try
="$ac_compile"
44991 case "(($ac_try" in
44992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44993 *) ac_try_echo=$ac_try;;
44995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44996 (eval "$ac_compile") 2>conftest.er1
44998 grep -v '^ *+' conftest.er1 >conftest.err
45000 cat conftest.err >&5
45001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45002 (exit $ac_status); } && {
45003 test -z "$ac_c_werror_flag" ||
45004 test ! -s conftest.err
45005 } && test -s conftest.$ac_objext; then
45006 wx_cv_type_sockaddr_in6=yes
45008 echo "$as_me: failed program was:" >&5
45009 sed 's/^/| /' conftest.$ac_ext >&5
45011 wx_cv_type_sockaddr_in6=no
45015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45019 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45020 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45022 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45023 cat >>confdefs.h <<\_ACEOF
45024 #define wxUSE_IPV6 1
45028 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45029 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_SOCKETS 1
45037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45040 if test "$wxUSE_PROTOCOL" = "yes"; then
45041 if test "$wxUSE_SOCKETS" != "yes"; then
45042 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45043 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45048 if test "$wxUSE_PROTOCOL" = "yes"; then
45049 cat >>confdefs.h <<\_ACEOF
45050 #define wxUSE_PROTOCOL 1
45054 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_PROTOCOL_HTTP 1
45060 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45061 cat >>confdefs.h <<\_ACEOF
45062 #define wxUSE_PROTOCOL_FTP 1
45066 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45067 cat >>confdefs.h <<\_ACEOF
45068 #define wxUSE_PROTOCOL_FILE 1
45073 if test "$wxUSE_FS_INET" = "yes"; then
45074 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45075 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45080 if test "$wxUSE_URL" = "yes"; then
45081 if test "$wxUSE_PROTOCOL" != "yes"; then
45082 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45083 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45086 if test "$wxUSE_URL" = "yes"; then
45087 cat >>confdefs.h <<\_ACEOF
45088 #define wxUSE_URL 1
45094 if test "$wxUSE_VARIANT" = "yes"; then
45095 cat >>confdefs.h <<\_ACEOF
45096 #define wxUSE_VARIANT 1
45101 if test "$wxUSE_FS_INET" = "yes"; then
45102 cat >>confdefs.h <<\_ACEOF
45103 #define wxUSE_FS_INET 1
45109 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45112 if test "$TOOLKIT" = "MSW"; then
45115 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45116 if test "$USE_DARWIN" = 1; then
45117 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45118 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45120 ac_cpp='$CXXCPP $CPPFLAGS'
45121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45125 cat >conftest.$ac_ext <<_ACEOF
45128 cat confdefs.h >>conftest.$ac_ext
45129 cat >>conftest.$ac_ext <<_ACEOF
45130 /* end confdefs.h. */
45131 #include <IOKit/hid/IOHIDLib.h>
45135 IOHIDQueueInterface *qi = NULL;
45136 IOHIDCallbackFunction cb = NULL;
45137 qi->setEventCallout(NULL, cb, NULL, NULL);
45142 rm -f conftest.$ac_objext
45143 if { (ac_try="$ac_compile"
45144 case "(($ac_try" in
45145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45146 *) ac_try_echo
=$ac_try;;
45148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45149 (eval "$ac_compile") 2>conftest.er1
45151 grep -v '^ *+' conftest.er1
>conftest.err
45153 cat conftest.err
>&5
45154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45155 (exit $ac_status); } && {
45156 test -z "$ac_cxx_werror_flag" ||
45157 test ! -s conftest.err
45158 } && test -s conftest.
$ac_objext; then
45162 echo "$as_me: failed program was:" >&5
45163 sed 's/^/| /' conftest.
$ac_ext >&5
45168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45170 ac_cpp
='$CPP $CPPFLAGS'
45171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45175 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45176 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45180 if test "$wxUSE_MGL" != 1; then
45182 for ac_header
in linux
/joystick.h
45184 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45185 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45187 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45188 echo $ECHO_N "(cached) $ECHO_C" >&6
45190 cat >conftest.
$ac_ext <<_ACEOF
45193 cat confdefs.h
>>conftest.
$ac_ext
45194 cat >>conftest.
$ac_ext <<_ACEOF
45195 /* end confdefs.h. */
45196 $ac_includes_default
45198 #include <$ac_header>
45200 rm -f conftest.
$ac_objext
45201 if { (ac_try
="$ac_compile"
45202 case "(($ac_try" in
45203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45204 *) ac_try_echo=$ac_try;;
45206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45207 (eval "$ac_compile") 2>conftest.er1
45209 grep -v '^ *+' conftest.er1 >conftest.err
45211 cat conftest.err >&5
45212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45213 (exit $ac_status); } && {
45214 test -z "$ac_c_werror_flag" ||
45215 test ! -s conftest.err
45216 } && test -s conftest.$ac_objext; then
45217 eval "$as_ac_Header=yes"
45219 echo "$as_me: failed program was:" >&5
45220 sed 's/^/| /' conftest.$ac_ext >&5
45222 eval "$as_ac_Header=no"
45225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45227 ac_res=`eval echo '${'$as_ac_Header'}'`
45228 { echo "$as_me:$LINENO: result: $ac_res" >&5
45229 echo "${ECHO_T}$ac_res" >&6; }
45230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45231 cat >>confdefs.h <<_ACEOF
45232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45242 if test "$wxUSE_JOYSTICK" = "yes"; then
45243 cat >>confdefs.h <<\_ACEOF
45244 #define wxUSE_JOYSTICK 1
45247 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45249 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45250 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45256 if test "$wxUSE_FONTENUM" = "yes" ; then
45257 cat >>confdefs.h <<\_ACEOF
45258 #define wxUSE_FONTENUM 1
45263 if test "$wxUSE_FONTMAP" = "yes" ; then
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_FONTMAP 1
45270 if test "$wxUSE_UNICODE" = "yes" ; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_UNICODE 1
45276 if test "$USE_WIN32" != 1; then
45277 wxUSE_UNICODE_MSLU=no
45280 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45281 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45282 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45283 if test "${ac_cv_lib_unicows_main+set}" = set; then
45284 echo $ECHO_N "(cached) $ECHO_C" >&6
45286 ac_check_lib_save_LIBS=$LIBS
45287 LIBS="-lunicows $LIBS"
45288 cat >conftest.$ac_ext <<_ACEOF
45291 cat confdefs.h >>conftest.$ac_ext
45292 cat >>conftest.$ac_ext <<_ACEOF
45293 /* end confdefs.h. */
45304 rm -f conftest.$ac_objext conftest$ac_exeext
45305 if { (ac_try="$ac_link"
45306 case "(($ac_try" in
45307 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45308 *) ac_try_echo
=$ac_try;;
45310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45311 (eval "$ac_link") 2>conftest.er1
45313 grep -v '^ *+' conftest.er1
>conftest.err
45315 cat conftest.err
>&5
45316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45317 (exit $ac_status); } && {
45318 test -z "$ac_c_werror_flag" ||
45319 test ! -s conftest.err
45320 } && test -s conftest
$ac_exeext &&
45321 $as_test_x conftest
$ac_exeext; then
45322 ac_cv_lib_unicows_main
=yes
45324 echo "$as_me: failed program was:" >&5
45325 sed 's/^/| /' conftest.
$ac_ext >&5
45327 ac_cv_lib_unicows_main
=no
45330 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45331 conftest
$ac_exeext conftest.
$ac_ext
45332 LIBS
=$ac_check_lib_save_LIBS
45334 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45335 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45336 if test $ac_cv_lib_unicows_main = yes; then
45338 cat >>confdefs.h
<<\_ACEOF
45339 #define wxUSE_UNICODE_MSLU 1
45345 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45346 Applications will only run on Windows NT/2000/XP!" >&5
45347 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45348 Applications will only run on Windows NT/2000/XP!" >&2;}
45349 wxUSE_UNICODE_MSLU
=no
45356 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45357 cat >>confdefs.h
<<\_ACEOF
45358 #define wxUSE_UNICODE_UTF8 1
45362 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45363 cat >>confdefs.h
<<\_ACEOF
45364 #define wxUSE_UTF8_LOCALE_ONLY 1
45371 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45372 cat >>confdefs.h
<<\_ACEOF
45373 #define wxUSE_CONSTRAINTS 1
45376 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45379 if test "$wxUSE_MDI" = "yes"; then
45380 cat >>confdefs.h
<<\_ACEOF
45381 #define wxUSE_MDI 1
45385 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45386 cat >>confdefs.h
<<\_ACEOF
45387 #define wxUSE_MDI_ARCHITECTURE 1
45390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45394 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45395 cat >>confdefs.h
<<\_ACEOF
45396 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45402 if test "$wxUSE_HELP" = "yes"; then
45403 cat >>confdefs.h
<<\_ACEOF
45404 #define wxUSE_HELP 1
45407 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45409 if test "$wxUSE_MSW" = 1; then
45410 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45411 cat >>confdefs.h
<<\_ACEOF
45412 #define wxUSE_MS_HTML_HELP 1
45418 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45419 if test "$wxUSE_HTML" = "yes"; then
45420 cat >>confdefs.h
<<\_ACEOF
45421 #define wxUSE_WXHTML_HELP 1
45425 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45426 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45427 wxUSE_WXHTML_HELP
=no
45432 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45433 cat >>confdefs.h
<<\_ACEOF
45434 #define wxUSE_PRINTING_ARCHITECTURE 1
45437 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45440 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45441 cat >>confdefs.h
<<\_ACEOF
45442 #define wxUSE_POSTSCRIPT 1
45447 cat >>confdefs.h
<<\_ACEOF
45448 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45452 if test "$wxUSE_SVG" = "yes"; then
45453 cat >>confdefs.h
<<\_ACEOF
45454 #define wxUSE_SVG 1
45460 if test "$wxUSE_METAFILE" = "yes"; then
45461 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45462 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45463 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45469 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45470 -o "$wxUSE_CLIPBOARD" = "yes" \
45471 -o "$wxUSE_OLE" = "yes" \
45472 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45473 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45474 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45475 if test "${ac_cv_header_ole2_h+set}" = set; then
45476 echo $ECHO_N "(cached) $ECHO_C" >&6
45478 cat >conftest.
$ac_ext <<_ACEOF
45481 cat confdefs.h
>>conftest.
$ac_ext
45482 cat >>conftest.
$ac_ext <<_ACEOF
45483 /* end confdefs.h. */
45488 rm -f conftest.
$ac_objext
45489 if { (ac_try
="$ac_compile"
45490 case "(($ac_try" in
45491 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45492 *) ac_try_echo=$ac_try;;
45494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45495 (eval "$ac_compile") 2>conftest.er1
45497 grep -v '^ *+' conftest.er1 >conftest.err
45499 cat conftest.err >&5
45500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45501 (exit $ac_status); } && {
45502 test -z "$ac_c_werror_flag" ||
45503 test ! -s conftest.err
45504 } && test -s conftest.$ac_objext; then
45505 ac_cv_header_ole2_h=yes
45507 echo "$as_me: failed program was:" >&5
45508 sed 's/^/| /' conftest.$ac_ext >&5
45510 ac_cv_header_ole2_h=no
45513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45515 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45516 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45520 if test "$ac_cv_header_ole2_h" = "yes" ; then
45521 if test "$GCC" = yes ; then
45522 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45523 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45524 cat >conftest.$ac_ext <<_ACEOF
45527 cat confdefs.h >>conftest.$ac_ext
45528 cat >>conftest.$ac_ext <<_ACEOF
45529 /* end confdefs.h. */
45530 #include <windows.h>
45540 rm -f conftest.$ac_objext
45541 if { (ac_try="$ac_compile"
45542 case "(($ac_try" in
45543 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45544 *) ac_try_echo
=$ac_try;;
45546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45547 (eval "$ac_compile") 2>conftest.er1
45549 grep -v '^ *+' conftest.er1
>conftest.err
45551 cat conftest.err
>&5
45552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45553 (exit $ac_status); } && {
45554 test -z "$ac_c_werror_flag" ||
45555 test ! -s conftest.err
45556 } && test -s conftest.
$ac_objext; then
45557 { echo "$as_me:$LINENO: result: no" >&5
45558 echo "${ECHO_T}no" >&6; }
45560 echo "$as_me: failed program was:" >&5
45561 sed 's/^/| /' conftest.
$ac_ext >&5
45563 { echo "$as_me:$LINENO: result: yes" >&5
45564 echo "${ECHO_T}yes" >&6; }
45565 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45569 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45570 if test "$wxUSE_OLE" = "yes" ; then
45571 cat >>confdefs.h
<<\_ACEOF
45572 #define wxUSE_OLE 1
45575 cat >>confdefs.h
<<\_ACEOF
45576 #define wxUSE_OLE_AUTOMATION 1
45579 cat >>confdefs.h
<<\_ACEOF
45580 #define wxUSE_ACTIVEX 1
45583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45587 if test "$wxUSE_DATAOBJ" = "yes" ; then
45588 cat >>confdefs.h
<<\_ACEOF
45589 #define wxUSE_DATAOBJ 1
45594 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45595 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45598 wxUSE_DRAG_AND_DROP
=no
45603 if test "$wxUSE_METAFILE" = "yes"; then
45604 cat >>confdefs.h
<<\_ACEOF
45605 #define wxUSE_METAFILE 1
45609 cat >>confdefs.h
<<\_ACEOF
45610 #define wxUSE_ENH_METAFILE 1
45616 if test "$wxUSE_IPC" = "yes"; then
45617 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45618 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45619 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45623 if test "$wxUSE_IPC" = "yes"; then
45624 cat >>confdefs.h
<<\_ACEOF
45625 #define wxUSE_IPC 1
45628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45632 if test "$wxUSE_DATAOBJ" = "yes"; then
45633 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45634 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45635 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45638 cat >>confdefs.h
<<\_ACEOF
45639 #define wxUSE_DATAOBJ 1
45644 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45645 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45647 wxUSE_DRAG_AND_DROP
=no
45650 if test "$wxUSE_CLIPBOARD" = "yes"; then
45651 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45652 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45653 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45657 if test "$wxUSE_CLIPBOARD" = "yes"; then
45658 cat >>confdefs.h
<<\_ACEOF
45659 #define wxUSE_CLIPBOARD 1
45665 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45666 if test "$wxUSE_GTK" = 1; then
45667 if test "$WXGTK12" != 1; then
45668 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45669 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45670 wxUSE_DRAG_AND_DROP
=no
45674 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45675 "$wxUSE_DFB" = 1; then
45676 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45677 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45678 wxUSE_DRAG_AND_DROP
=no
45681 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45682 cat >>confdefs.h
<<\_ACEOF
45683 #define wxUSE_DRAG_AND_DROP 1
45690 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45691 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45694 if test "$wxUSE_SPLINES" = "yes" ; then
45695 cat >>confdefs.h
<<\_ACEOF
45696 #define wxUSE_SPLINES 1
45701 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45702 cat >>confdefs.h
<<\_ACEOF
45703 #define wxUSE_MOUSEWHEEL 1
45710 if test "$wxUSE_CONTROLS" = "yes"; then
45714 if test "$wxUSE_ACCEL" = "yes"; then
45715 cat >>confdefs.h
<<\_ACEOF
45716 #define wxUSE_ACCEL 1
45722 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45723 cat >>confdefs.h
<<\_ACEOF
45724 #define wxUSE_ANIMATIONCTRL 1
45728 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45731 if test "$wxUSE_BUTTON" = "yes"; then
45732 cat >>confdefs.h
<<\_ACEOF
45733 #define wxUSE_BUTTON 1
45739 if test "$wxUSE_BMPBUTTON" = "yes"; then
45740 cat >>confdefs.h
<<\_ACEOF
45741 #define wxUSE_BMPBUTTON 1
45747 if test "$wxUSE_CALCTRL" = "yes"; then
45748 cat >>confdefs.h
<<\_ACEOF
45749 #define wxUSE_CALENDARCTRL 1
45753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45756 if test "$wxUSE_CARET" = "yes"; then
45757 cat >>confdefs.h
<<\_ACEOF
45758 #define wxUSE_CARET 1
45762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45765 if test "$wxUSE_COLLPANE" = "yes"; then
45766 cat >>confdefs.h
<<\_ACEOF
45767 #define wxUSE_COLLPANE 1
45771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45774 if test "$wxUSE_COMBOBOX" = "yes"; then
45775 cat >>confdefs.h
<<\_ACEOF
45776 #define wxUSE_COMBOBOX 1
45782 if test "$wxUSE_COMBOCTRL" = "yes"; then
45783 cat >>confdefs.h
<<\_ACEOF
45784 #define wxUSE_COMBOCTRL 1
45790 if test "$wxUSE_CHOICE" = "yes"; then
45791 cat >>confdefs.h
<<\_ACEOF
45792 #define wxUSE_CHOICE 1
45798 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45799 cat >>confdefs.h
<<\_ACEOF
45800 #define wxUSE_CHOICEBOOK 1
45806 if test "$wxUSE_CHECKBOX" = "yes"; then
45807 cat >>confdefs.h
<<\_ACEOF
45808 #define wxUSE_CHECKBOX 1
45814 if test "$wxUSE_CHECKLST" = "yes"; then
45815 cat >>confdefs.h
<<\_ACEOF
45816 #define wxUSE_CHECKLISTBOX 1
45822 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45823 cat >>confdefs.h
<<\_ACEOF
45824 #define wxUSE_COLOURPICKERCTRL 1
45830 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45831 cat >>confdefs.h
<<\_ACEOF
45832 #define wxUSE_DATEPICKCTRL 1
45838 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45839 cat >>confdefs.h
<<\_ACEOF
45840 #define wxUSE_DIRPICKERCTRL 1
45846 if test "$wxUSE_FILECTRL" = "yes"; then
45847 cat >>confdefs.h
<<\_ACEOF
45848 #define wxUSE_FILECTRL 1
45854 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45855 cat >>confdefs.h
<<\_ACEOF
45856 #define wxUSE_FILEPICKERCTRL 1
45862 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45863 cat >>confdefs.h
<<\_ACEOF
45864 #define wxUSE_FONTPICKERCTRL 1
45870 if test "$wxUSE_DISPLAY" = "yes"; then
45871 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45872 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45873 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45876 cat >>confdefs.h
<<\_ACEOF
45877 #define wxUSE_DISPLAY 1
45880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45884 if test "$wxUSE_DETECT_SM" = "yes"; then
45885 cat >>confdefs.h
<<\_ACEOF
45886 #define wxUSE_DETECT_SM 1
45891 if test "$wxUSE_GAUGE" = "yes"; then
45892 cat >>confdefs.h
<<\_ACEOF
45893 #define wxUSE_GAUGE 1
45899 if test "$wxUSE_GRID" = "yes"; then
45900 cat >>confdefs.h
<<\_ACEOF
45901 #define wxUSE_GRID 1
45905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45908 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45909 cat >>confdefs.h
<<\_ACEOF
45910 #define wxUSE_HYPERLINKCTRL 1
45916 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45917 cat >>confdefs.h
<<\_ACEOF
45918 #define wxUSE_BITMAPCOMBOBOX 1
45924 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45925 cat >>confdefs.h
<<\_ACEOF
45926 #define wxUSE_DATAVIEWCTRL 1
45930 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45933 if test "$wxUSE_IMAGLIST" = "yes"; then
45934 cat >>confdefs.h
<<\_ACEOF
45935 #define wxUSE_IMAGLIST 1
45940 if test "$wxUSE_LISTBOOK" = "yes"; then
45941 cat >>confdefs.h
<<\_ACEOF
45942 #define wxUSE_LISTBOOK 1
45948 if test "$wxUSE_LISTBOX" = "yes"; then
45949 cat >>confdefs.h
<<\_ACEOF
45950 #define wxUSE_LISTBOX 1
45956 if test "$wxUSE_LISTCTRL" = "yes"; then
45957 if test "$wxUSE_IMAGLIST" = "yes"; then
45958 cat >>confdefs.h
<<\_ACEOF
45959 #define wxUSE_LISTCTRL 1
45963 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45965 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45966 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45970 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45971 cat >>confdefs.h
<<\_ACEOF
45972 #define wxUSE_EDITABLELISTBOX 1
45976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45979 if test "$wxUSE_NOTEBOOK" = "yes"; then
45980 cat >>confdefs.h
<<\_ACEOF
45981 #define wxUSE_NOTEBOOK 1
45985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45988 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45989 cat >>confdefs.h
<<\_ACEOF
45990 #define wxUSE_NOTIFICATION_MESSAGE 1
45995 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45996 cat >>confdefs.h
<<\_ACEOF
45997 #define wxUSE_ODCOMBOBOX 1
46001 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46004 if test "$wxUSE_RADIOBOX" = "yes"; then
46005 cat >>confdefs.h
<<\_ACEOF
46006 #define wxUSE_RADIOBOX 1
46012 if test "$wxUSE_RADIOBTN" = "yes"; then
46013 cat >>confdefs.h
<<\_ACEOF
46014 #define wxUSE_RADIOBTN 1
46020 if test "$wxUSE_SASH" = "yes"; then
46021 cat >>confdefs.h
<<\_ACEOF
46022 #define wxUSE_SASH 1
46025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46028 if test "$wxUSE_SCROLLBAR" = "yes"; then
46029 cat >>confdefs.h
<<\_ACEOF
46030 #define wxUSE_SCROLLBAR 1
46034 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
46037 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46038 cat >>confdefs.h
<<\_ACEOF
46039 #define wxUSE_SEARCHCTRL 1
46045 if test "$wxUSE_SLIDER" = "yes"; then
46046 cat >>confdefs.h
<<\_ACEOF
46047 #define wxUSE_SLIDER 1
46053 if test "$wxUSE_SPINBTN" = "yes"; then
46054 cat >>confdefs.h
<<\_ACEOF
46055 #define wxUSE_SPINBTN 1
46061 if test "$wxUSE_SPINCTRL" = "yes"; then
46062 cat >>confdefs.h
<<\_ACEOF
46063 #define wxUSE_SPINCTRL 1
46069 if test "$wxUSE_SPLITTER" = "yes"; then
46070 cat >>confdefs.h
<<\_ACEOF
46071 #define wxUSE_SPLITTER 1
46074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46077 if test "$wxUSE_STATBMP" = "yes"; then
46078 cat >>confdefs.h
<<\_ACEOF
46079 #define wxUSE_STATBMP 1
46085 if test "$wxUSE_STATBOX" = "yes"; then
46086 cat >>confdefs.h
<<\_ACEOF
46087 #define wxUSE_STATBOX 1
46093 if test "$wxUSE_STATTEXT" = "yes"; then
46094 cat >>confdefs.h
<<\_ACEOF
46095 #define wxUSE_STATTEXT 1
46101 if test "$wxUSE_STATLINE" = "yes"; then
46102 cat >>confdefs.h
<<\_ACEOF
46103 #define wxUSE_STATLINE 1
46109 if test "$wxUSE_STATUSBAR" = "yes"; then
46110 cat >>confdefs.h
<<\_ACEOF
46111 #define wxUSE_NATIVE_STATUSBAR 1
46114 cat >>confdefs.h
<<\_ACEOF
46115 #define wxUSE_STATUSBAR 1
46120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46123 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46124 cat >>confdefs.h
<<\_ACEOF
46125 #define wxUSE_TAB_DIALOG 1
46130 if test "$wxUSE_TEXTCTRL" = "yes"; then
46131 cat >>confdefs.h
<<\_ACEOF
46132 #define wxUSE_TEXTCTRL 1
46136 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46138 cat >>confdefs.h
<<\_ACEOF
46139 #define wxUSE_RICHEDIT 1
46142 cat >>confdefs.h
<<\_ACEOF
46143 #define wxUSE_RICHEDIT2 1
46148 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46149 if test "$wxUSE_COCOA" = 1 ; then
46150 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46151 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46155 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46156 cat >>confdefs.h
<<\_ACEOF
46157 #define wxUSE_TOGGLEBTN 1
46164 if test "$wxUSE_TOOLBAR" = "yes"; then
46165 cat >>confdefs.h
<<\_ACEOF
46166 #define wxUSE_TOOLBAR 1
46171 if test "$wxUSE_UNIVERSAL" = "yes"; then
46172 wxUSE_TOOLBAR_NATIVE
="no"
46174 wxUSE_TOOLBAR_NATIVE
="yes"
46175 cat >>confdefs.h
<<\_ACEOF
46176 #define wxUSE_TOOLBAR_NATIVE 1
46181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46184 if test "$wxUSE_TOOLTIPS" = "yes"; then
46185 if test "$wxUSE_MOTIF" = 1; then
46186 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46187 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46189 if test "$wxUSE_UNIVERSAL" = "yes"; then
46190 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46191 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46193 cat >>confdefs.h
<<\_ACEOF
46194 #define wxUSE_TOOLTIPS 1
46201 if test "$wxUSE_TREEBOOK" = "yes"; then
46202 cat >>confdefs.h
<<\_ACEOF
46203 #define wxUSE_TREEBOOK 1
46209 if test "$wxUSE_TOOLBOOK" = "yes"; then
46210 cat >>confdefs.h
<<\_ACEOF
46211 #define wxUSE_TOOLBOOK 1
46217 if test "$wxUSE_TREECTRL" = "yes"; then
46218 if test "$wxUSE_IMAGLIST" = "yes"; then
46219 cat >>confdefs.h
<<\_ACEOF
46220 #define wxUSE_TREECTRL 1
46224 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46226 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46227 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46231 if test "$wxUSE_POPUPWIN" = "yes"; then
46232 if test "$wxUSE_COCOA" = 1 ; then
46233 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46234 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46236 if test "$wxUSE_PM" = 1; then
46237 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46238 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46240 cat >>confdefs.h
<<\_ACEOF
46241 #define wxUSE_POPUPWIN 1
46244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46251 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46252 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46253 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46254 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46256 cat >>confdefs.h
<<\_ACEOF
46257 #define wxUSE_DIALUP_MANAGER 1
46260 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46264 if test "$wxUSE_TIPWINDOW" = "yes"; then
46265 if test "$wxUSE_PM" = 1; then
46266 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46267 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46269 cat >>confdefs.h
<<\_ACEOF
46270 #define wxUSE_TIPWINDOW 1
46276 if test "$USES_CONTROLS" = 1; then
46277 cat >>confdefs.h
<<\_ACEOF
46278 #define wxUSE_CONTROLS 1
46284 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46285 cat >>confdefs.h
<<\_ACEOF
46286 #define wxUSE_ACCESSIBILITY 1
46289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46292 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46293 cat >>confdefs.h
<<\_ACEOF
46294 #define wxUSE_DRAGIMAGE 1
46297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46300 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46301 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46302 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46303 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46305 cat >>confdefs.h
<<\_ACEOF
46306 #define wxUSE_EXCEPTIONS 1
46309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46314 if test "$wxUSE_HTML" = "yes"; then
46315 cat >>confdefs.h
<<\_ACEOF
46316 #define wxUSE_HTML 1
46320 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46322 if test "$wxUSE_WEBKIT" = "yes"; then
46323 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46324 old_CPPFLAGS
="$CPPFLAGS"
46325 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46326 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46327 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46328 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46329 echo $ECHO_N "(cached) $ECHO_C" >&6
46331 cat >conftest.
$ac_ext <<_ACEOF
46334 cat confdefs.h
>>conftest.
$ac_ext
46335 cat >>conftest.
$ac_ext <<_ACEOF
46336 /* end confdefs.h. */
46338 #include <Carbon/Carbon.h>
46339 #include <WebKit/WebKit.h>
46342 #include <WebKit/HIWebView.h>
46344 rm -f conftest.
$ac_objext
46345 if { (ac_try
="$ac_compile"
46346 case "(($ac_try" in
46347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46348 *) ac_try_echo=$ac_try;;
46350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46351 (eval "$ac_compile") 2>conftest.er1
46353 grep -v '^ *+' conftest.er1 >conftest.err
46355 cat conftest.err >&5
46356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46357 (exit $ac_status); } && {
46358 test -z "$ac_c_werror_flag" ||
46359 test ! -s conftest.err
46360 } && test -s conftest.$ac_objext; then
46361 ac_cv_header_WebKit_HIWebView_h=yes
46363 echo "$as_me: failed program was:" >&5
46364 sed 's/^/| /' conftest.$ac_ext >&5
46366 ac_cv_header_WebKit_HIWebView_h=no
46369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46371 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46372 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46373 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46375 cat >>confdefs.h <<\_ACEOF
46376 #define wxUSE_WEBKIT 1
46379 WEBKIT_LINK="-framework WebKit"
46383 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46384 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46390 CPPFLAGS="$old_CPPFLAGS"
46391 elif test "$wxUSE_COCOA" = 1; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_WEBKIT 1
46399 if test "$wxUSE_WEBKIT" = "yes"; then
46400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46405 if test "$wxUSE_XRC" = "yes"; then
46406 if test "$wxUSE_XML" != "yes"; then
46407 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46408 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46411 cat >>confdefs.h <<\_ACEOF
46412 #define wxUSE_XRC 1
46416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46421 if test "$wxUSE_AUI" = "yes"; then
46422 cat >>confdefs.h <<\_ACEOF
46423 #define wxUSE_AUI 1
46427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46431 if test "$wxUSE_PROPGRID" = "yes"; then
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_PROPGRID 1
46437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46441 if test "$wxUSE_STC" = "yes"; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_STC 1
46447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46450 if test "$wxUSE_MENUS" = "yes"; then
46451 cat >>confdefs.h <<\_ACEOF
46452 #define wxUSE_MENUS 1
46455 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46458 if test "$wxUSE_METAFILE" = "yes"; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_METAFILE 1
46465 if test "$wxUSE_MIMETYPE" = "yes"; then
46466 cat >>confdefs.h <<\_ACEOF
46467 #define wxUSE_MIMETYPE 1
46472 if test "$wxUSE_MINIFRAME" = "yes"; then
46473 cat >>confdefs.h <<\_ACEOF
46474 #define wxUSE_MINIFRAME 1
46479 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_SYSTEM_OPTIONS 1
46486 if test "$wxUSE_TASKBARICON" = "yes"; then
46487 cat >>confdefs.h <<\_ACEOF
46488 #define wxUSE_TASKBARICON 1
46491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46495 if test "$wxUSE_VALIDATORS" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_VALIDATORS 1
46500 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46503 if test "$wxUSE_PALETTE" = "yes" ; then
46504 if test "$wxUSE_DFB" = 1; then
46505 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46506 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46509 cat >>confdefs.h <<\_ACEOF
46510 #define wxUSE_PALETTE 1
46516 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46517 LIBS=" -lunicows $LIBS"
46521 if test "$wxUSE_RICHTEXT" = "yes"; then
46522 cat >>confdefs.h <<\_ACEOF
46523 #define wxUSE_RICHTEXT 1
46527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46531 if test "$wxUSE_IMAGE" = "yes" ; then
46532 cat >>confdefs.h <<\_ACEOF
46533 #define wxUSE_IMAGE 1
46537 if test "$wxUSE_GIF" = "yes" ; then
46538 cat >>confdefs.h <<\_ACEOF
46539 #define wxUSE_GIF 1
46544 if test "$wxUSE_PCX" = "yes" ; then
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_PCX 1
46551 if test "$wxUSE_TGA" = "yes" ; then
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_TGA 1
46558 if test "$wxUSE_IFF" = "yes" ; then
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_IFF 1
46565 if test "$wxUSE_PNM" = "yes" ; then
46566 cat >>confdefs.h <<\_ACEOF
46567 #define wxUSE_PNM 1
46572 if test "$wxUSE_XPM" = "yes" ; then
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_XPM 1
46579 if test "$wxUSE_ICO_CUR" = "yes" ; then
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_ICO_CUR 1
46588 if test "$wxUSE_ABOUTDLG" = "yes"; then
46589 cat >>confdefs.h <<\_ACEOF
46590 #define wxUSE_ABOUTDLG 1
46595 if test "$wxUSE_CHOICEDLG" = "yes"; then
46596 cat >>confdefs.h <<\_ACEOF
46597 #define wxUSE_CHOICEDLG 1
46602 if test "$wxUSE_COLOURDLG" = "yes"; then
46603 cat >>confdefs.h <<\_ACEOF
46604 #define wxUSE_COLOURDLG 1
46609 if test "$wxUSE_FILEDLG" = "yes"; then
46610 cat >>confdefs.h <<\_ACEOF
46611 #define wxUSE_FILEDLG 1
46616 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46617 cat >>confdefs.h <<\_ACEOF
46618 #define wxUSE_FINDREPLDLG 1
46623 if test "$wxUSE_FONTDLG" = "yes"; then
46624 cat >>confdefs.h <<\_ACEOF
46625 #define wxUSE_FONTDLG 1
46630 if test "$wxUSE_DIRDLG" = "yes"; then
46631 if test "$wxUSE_TREECTRL" != "yes"; then
46632 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46633 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46635 cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_DIRDLG 1
46642 if test "$wxUSE_MSGDLG" = "yes"; then
46643 cat >>confdefs.h <<\_ACEOF
46644 #define wxUSE_MSGDLG 1
46649 if test "$wxUSE_NUMBERDLG" = "yes"; then
46650 cat >>confdefs.h <<\_ACEOF
46651 #define wxUSE_NUMBERDLG 1
46656 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46657 cat >>confdefs.h <<\_ACEOF
46658 #define wxUSE_PROGRESSDLG 1
46663 if test "$wxUSE_SPLASH" = "yes"; then
46664 cat >>confdefs.h <<\_ACEOF
46665 #define wxUSE_SPLASH 1
46668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46671 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46672 cat >>confdefs.h <<\_ACEOF
46673 #define wxUSE_STARTUP_TIPS 1
46678 if test "$wxUSE_TEXTDLG" = "yes"; then
46679 cat >>confdefs.h <<\_ACEOF
46680 #define wxUSE_TEXTDLG 1
46685 if test "$wxUSE_WIZARDDLG" = "yes"; then
46686 cat >>confdefs.h <<\_ACEOF
46687 #define wxUSE_WIZARDDLG 1
46690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46694 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46695 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46696 cat >>confdefs.h <<\_ACEOF
46697 #define wxUSE_OWNER_DRAWN 1
46704 if test "$wxUSE_MSW" = 1 ; then
46706 if test "$wxUSE_DC_CACHEING" = "yes"; then
46707 cat >>confdefs.h <<\_ACEOF
46708 #define wxUSE_DC_CACHEING 1
46713 if test "$wxUSE_DIB" = "yes"; then
46714 cat >>confdefs.h <<\_ACEOF
46715 #define wxUSE_WXDIB 1
46720 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46721 cat >>confdefs.h <<\_ACEOF
46722 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46727 if test "$wxUSE_UXTHEME" = "yes"; then
46728 cat >>confdefs.h <<\_ACEOF
46729 #define wxUSE_UXTHEME 1
46736 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46737 cat >>confdefs.h <<\_ACEOF
46738 #define wxUSE_AUTOID_MANAGEMENT 1
46743 if test "$USE_WIN32" = 1 ; then
46744 if test "$wxUSE_INICONF" = "yes"; then
46745 cat >>confdefs.h <<\_ACEOF
46746 #define wxUSE_INICONF 1
46751 if test "$wxUSE_REGKEY" = "yes"; then
46752 cat >>confdefs.h <<\_ACEOF
46753 #define wxUSE_REGKEY 1
46760 if test "$wxUSE_MAC" = 1; then
46761 wxUSE_GRAPHICS_CONTEXT="yes"
46764 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46765 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46766 cat >>confdefs.h <<\_ACEOF
46767 #define wxUSE_GRAPHICS_CONTEXT 1
46770 elif test "$wxUSE_GTK" != 1; then
46771 cat >>confdefs.h <<\_ACEOF
46772 #define wxUSE_GRAPHICS_CONTEXT 1
46778 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46779 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46781 if test -n "$PKG_CONFIG"; then
46782 if test -n "$CAIRO_CFLAGS"; then
46783 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46785 if test -n "$PKG_CONFIG" && \
46786 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46787 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46790 (exit $ac_status); }; then
46791 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46799 if test -n "$PKG_CONFIG"; then
46800 if test -n "$CAIRO_LIBS"; then
46801 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46803 if test -n "$PKG_CONFIG" && \
46804 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46805 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46808 (exit $ac_status); }; then
46809 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46820 if test $pkg_failed = yes; then
46822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46823 _pkg_short_errors_supported=yes
46825 _pkg_short_errors_supported=no
46827 if test $_pkg_short_errors_supported = yes; then
46828 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46830 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46832 # Put the nasty error message in config.log where it belongs
46833 echo "$CAIRO_PKG_ERRORS" >&5
46835 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46836 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46838 elif test $pkg_failed = untried; then
46839 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46840 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46843 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46844 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46845 { echo "$as_me:$LINENO: result: yes" >&5
46846 echo "${ECHO_T}yes" >&6; }
46847 cat >>confdefs.h <<\_ACEOF
46848 #define wxUSE_GRAPHICS_CONTEXT 1
46858 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46861 if test "$wxUSE_GTK" = 1; then
46862 wxUSE_GSTREAMER="no"
46864 GST_VERSION_MAJOR=0
46865 GST_VERSION_MINOR=10
46866 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46868 if test "$wxUSE_GSTREAMER8" = "no"; then
46871 { echo "$as_me:$LINENO: checking for GST" >&5
46872 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46874 if test -n "$PKG_CONFIG"; then
46875 if test -n "$GST_CFLAGS"; then
46876 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46878 if test -n "$PKG_CONFIG" && \
46879 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46880 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46883 (exit $ac_status); }; then
46884 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46892 if test -n "$PKG_CONFIG"; then
46893 if test -n "$GST_LIBS"; then
46894 pkg_cv_GST_LIBS="$GST_LIBS"
46896 if test -n "$PKG_CONFIG" && \
46897 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46898 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46901 (exit $ac_status); }; then
46902 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46913 if test $pkg_failed = yes; then
46915 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46916 _pkg_short_errors_supported=yes
46918 _pkg_short_errors_supported=no
46920 if test $_pkg_short_errors_supported = yes; then
46921 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46923 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46925 # Put the nasty error message in config.log where it belongs
46926 echo "$GST_PKG_ERRORS" >&5
46929 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46930 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46931 GST_VERSION_MINOR=8
46934 elif test $pkg_failed = untried; then
46936 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46937 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46938 GST_VERSION_MINOR=8
46942 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46943 GST_LIBS=$pkg_cv_GST_LIBS
46944 { echo "$as_me:$LINENO: result: yes" >&5
46945 echo "${ECHO_T}yes" >&6; }
46947 wxUSE_GSTREAMER="yes"
46948 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46952 GST_VERSION_MINOR=8
46955 if test $GST_VERSION_MINOR = "8"; then
46956 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46959 { echo "$as_me:$LINENO: checking for GST" >&5
46960 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46962 if test -n "$PKG_CONFIG"; then
46963 if test -n "$GST_CFLAGS"; then
46964 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46966 if test -n "$PKG_CONFIG" && \
46967 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46968 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46971 (exit $ac_status); }; then
46972 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46980 if test -n "$PKG_CONFIG"; then
46981 if test -n "$GST_LIBS"; then
46982 pkg_cv_GST_LIBS="$GST_LIBS"
46984 if test -n "$PKG_CONFIG" && \
46985 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46986 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46989 (exit $ac_status); }; then
46990 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
47001 if test $pkg_failed = yes; then
47003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47004 _pkg_short_errors_supported=yes
47006 _pkg_short_errors_supported=no
47008 if test $_pkg_short_errors_supported = yes; then
47009 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47011 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47013 # Put the nasty error message in config.log where it belongs
47014 echo "$GST_PKG_ERRORS" >&5
47017 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47018 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47020 elif test $pkg_failed = untried; then
47022 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47023 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47026 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47027 GST_LIBS=$pkg_cv_GST_LIBS
47028 { echo "$as_me:$LINENO: result: yes" >&5
47029 echo "${ECHO_T}yes" >&6; }
47030 wxUSE_GSTREAMER="yes"
47035 if test "$wxUSE_GSTREAMER" = "yes"; then
47036 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47037 EXTRALIBS_MEDIA="$GST_LIBS"
47039 cat >>confdefs.h <<\_ACEOF
47040 #define wxUSE_GSTREAMER 1
47048 if test $USE_MEDIA = 1; then
47049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47050 cat >>confdefs.h <<\_ACEOF
47051 #define wxUSE_MEDIACTRL 1
47055 if test "$wxUSE_MEDIACTRL" = "yes"; then
47056 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47057 echo "$as_me: error: GStreamer not available" >&2;}
47058 { (exit 1); exit 1; }; }
47060 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47061 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47067 if test "$cross_compiling" = "yes"; then
47070 OSINFO=`uname
-s -r -m`
47071 OSINFO="\"$OSINFO\""
47074 cat >>confdefs.h <<_ACEOF
47075 #define WXWIN_OS_DESCRIPTION $OSINFO
47080 if test "x$prefix" != "xNONE"; then
47083 wxPREFIX=$ac_default_prefix
47086 cat >>confdefs.h <<_ACEOF
47087 #define wxINSTALL_PREFIX "$wxPREFIX"
47093 STD_BASE_LIBS="base"
47095 BUILT_WX_LIBS="base"
47096 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47098 if test "$wxUSE_SOCKETS" = "yes" ; then
47099 STD_BASE_LIBS="net $STD_BASE_LIBS"
47100 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47102 if test "$wxUSE_XML" = "yes" ; then
47103 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47104 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47107 if test "$wxUSE_GUI" = "yes"; then
47108 STD_GUI_LIBS="adv core"
47109 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47111 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47112 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47113 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47115 if test "$wxUSE_HTML" = "yes" ; then
47116 STD_GUI_LIBS="html $STD_GUI_LIBS"
47117 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47119 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47120 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47122 if test "$wxUSE_OPENGL" = "yes" ; then
47123 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47125 if test "$wxUSE_AUI" = "yes" ; then
47126 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47128 if test "$wxUSE_PROPGRID" = "yes" ; then
47129 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47131 if test "$wxUSE_RICHTEXT" = "yes" ; then
47132 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47134 if test "$wxUSE_STC" = "yes" ; then
47135 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47137 if test "$wxUSE_XRC" = "yes" ; then
47138 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47139 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47150 if test "$wxUSE_MAC" = 1 ; then
47151 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47152 if test "$USE_DARWIN" = 1; then
47153 LDFLAGS="$LDFLAGS -framework QuickTime"
47156 if test "$USE_DARWIN" = 1; then
47157 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47160 if test "$wxUSE_COCOA" = 1 ; then
47161 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47162 if test "$wxUSE_MEDIACTRL" = "yes"; then
47163 LDFLAGS="$LDFLAGS -framework QuickTime"
47166 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47167 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47170 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47172 if test "$wxUSE_GUI" = "yes"; then
47175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47176 erase event exec font image minimal mobile \
47177 mobile/wxedit mobile/styles render \
47178 shaped svg taborder vscroll widgets"
47180 if test "$wxUSE_MONOLITHIC" != "yes"; then
47181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47183 if test "$TOOLKIT" = "MSW"; then
47184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47185 if test "$wxUSE_UNIVERSAL" != "yes"; then
47186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47189 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47193 SAMPLES_SUBDIRS="console"
47194 if test "$wxUSE_SOCKETS" = "yes" ; then
47195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47197 if test "$wxUSE_IPC" = "yes" ; then
47198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47203 if test "x$INTELCC" = "xyes" ; then
47204 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47205 elif test "$GCC" = yes ; then
47206 CWARNINGS="-Wall -Wundef"
47209 if test "x$INTELCXX" = "xyes" ; then
47210 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47211 elif test "$GXX" = yes ; then
47212 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47213 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47214 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47215 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47216 echo $ECHO_N "(cached) $ECHO_C" >&6
47218 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47221 ac_cpp='$CXXCPP $CPPFLAGS'
47222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47226 ac_save_CXXFLAGS="$CXXFLAGS"
47227 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47228 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47229 cat >conftest.$ac_ext <<_ACEOF
47232 cat confdefs.h >>conftest.$ac_ext
47233 cat >>conftest.$ac_ext <<_ACEOF
47234 /* end confdefs.h. */
47244 rm -f conftest.$ac_objext
47245 if { (ac_try="$ac_compile"
47246 case "(($ac_try" in
47247 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47248 *) ac_try_echo
=$ac_try;;
47250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47251 (eval "$ac_compile") 2>conftest.er1
47253 grep -v '^ *+' conftest.er1
>conftest.err
47255 cat conftest.err
>&5
47256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47257 (exit $ac_status); } && {
47258 test -z "$ac_cxx_werror_flag" ||
47259 test ! -s conftest.err
47260 } && test -s conftest.
$ac_objext; then
47261 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47263 echo "$as_me: failed program was:" >&5
47264 sed 's/^/| /' conftest.
$ac_ext >&5
47269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47271 CXXFLAGS
="$ac_save_CXXFLAGS"
47273 ac_cpp
='$CPP $CPPFLAGS'
47274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47280 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47281 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47282 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47286 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47287 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47288 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47291 (exit $ac_status); }
47292 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47293 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47296 (exit $ac_status); }
47297 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47305 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47306 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47309 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47310 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47311 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47314 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47315 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47316 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47317 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47318 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47320 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47323 if test "x$MWCC" = "xyes"; then
47325 CC
="$CC -cwd source -I-"
47326 CXX
="$CXX -cwd source -I-"
47331 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47332 EXTRALIBS_XML
="$EXPAT_LINK"
47333 EXTRALIBS_HTML
="$MSPACK_LINK"
47334 EXTRALIBS_MEDIA
="$GST_LIBS"
47335 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47336 if test "$wxUSE_GUI" = "yes"; then
47337 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47339 if test "$wxUSE_OPENGL" = "yes"; then
47340 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47343 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47345 WXCONFIG_LIBS
="$LIBS"
47347 if test "$wxUSE_REGEX" = "builtin" ; then
47348 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47350 if test "$wxUSE_EXPAT" = "builtin" ; then
47351 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47353 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47354 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47356 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47357 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47359 if test "$wxUSE_LIBPNG" = "builtin" ; then
47360 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47362 if test "$wxUSE_ZLIB" = "builtin" ; then
47363 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47366 for i
in $wxconfig_3rdparty ; do
47367 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47371 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47374 case "$wxUNIV_THEMES" in
47376 cat >>confdefs.h
<<\_ACEOF
47377 #define wxUSE_ALL_THEMES 1
47383 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47384 cat >>confdefs.h
<<_ACEOF
47385 #define wxUSE_THEME_$t 1
47401 if test $wxUSE_MONOLITHIC = "yes" ; then
47407 if test $wxUSE_PLUGINS = "yes" ; then
47413 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47419 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47452 TOOLKIT_LOWERCASE
=xxx
47453 if test "$TOOLKIT" = "MAC"; then
47454 TOOLKIT_LOWERCASE
=osx_carbon
47456 if test "$TOOLKIT" = "OSX_CARBON"; then
47457 TOOLKIT_LOWERCASE
=osx_carbon
47459 if test "$TOOLKIT" = "OSX_COCOA"; then
47460 TOOLKIT_LOWERCASE
=osx_cocoa
47462 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47463 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47475 TOOLKIT_DESC
="GTK+"
47476 if test "$WXGTK2" = 1; then
47477 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47478 if test "$wxUSE_GTKPRINT" = "yes" ; then
47479 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47481 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47482 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47484 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47485 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47487 if test "$wxUSE_LIBHILDON" = "yes"; then
47488 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47491 if test "$TOOLKIT_EXTRA" != ""; then
47492 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47498 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47502 TOOLKIT_DESC
="base only"
47506 if test "$wxUSE_WINE" = "yes"; then
47507 BAKEFILE_FORCE_PLATFORM
=win32
47510 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47512 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47513 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47514 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47515 echo $ECHO_N "(cached) $ECHO_C" >&6
47518 echo '#include <stdio.h>
47519 const wchar_t test_var[] = L"awidetest";' > conftest.h
47521 echo '#include "conftest.h"
47524 printf("%ls", test_var);
47528 wx_cv_gcc_pch_bug
="pch not supported"
47530 if $CXX conftest.h
>/dev
/null
2>&1
47534 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47536 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47537 grep awidetest
>/dev
/null
47539 wx_cv_gcc_pch_bug
=no
47541 wx_cv_gcc_pch_bug
=yes
47546 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47549 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47550 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47552 if test "$wx_cv_gcc_pch_bug" = yes; then
47563 if test "x$BAKEFILE_HOST" = "x"; then
47564 if test "x${host}" = "x" ; then
47565 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47566 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47567 { (exit 1); exit 1; }; }
47570 BAKEFILE_HOST
="${host}"
47573 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47575 if test -n "$ac_tool_prefix"; then
47576 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47577 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47580 if test "${ac_cv_prog_RANLIB+set}" = set; then
47581 echo $ECHO_N "(cached) $ECHO_C" >&6
47583 if test -n "$RANLIB"; then
47584 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47587 for as_dir
in $PATH
47590 test -z "$as_dir" && as_dir
=.
47591 for ac_exec_ext
in '' $ac_executable_extensions; do
47592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47593 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47603 RANLIB
=$ac_cv_prog_RANLIB
47604 if test -n "$RANLIB"; then
47605 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47606 echo "${ECHO_T}$RANLIB" >&6; }
47608 { echo "$as_me:$LINENO: result: no" >&5
47609 echo "${ECHO_T}no" >&6; }
47614 if test -z "$ac_cv_prog_RANLIB"; then
47615 ac_ct_RANLIB
=$RANLIB
47616 # Extract the first word of "ranlib", so it can be a program name with args.
47617 set dummy ranlib
; ac_word
=$2
47618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47620 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47621 echo $ECHO_N "(cached) $ECHO_C" >&6
47623 if test -n "$ac_ct_RANLIB"; then
47624 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47627 for as_dir
in $PATH
47630 test -z "$as_dir" && as_dir
=.
47631 for ac_exec_ext
in '' $ac_executable_extensions; do
47632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47633 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47643 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47644 if test -n "$ac_ct_RANLIB"; then
47645 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47646 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47648 { echo "$as_me:$LINENO: result: no" >&5
47649 echo "${ECHO_T}no" >&6; }
47652 if test "x$ac_ct_RANLIB" = x
; then
47655 case $cross_compiling:$ac_tool_warned in
47657 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47658 whose name does not start with the host triplet. If you think this
47659 configuration is useful to you, please write to autoconf@gnu.org." >&5
47660 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47661 whose name does not start with the host triplet. If you think this
47662 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47663 ac_tool_warned
=yes ;;
47665 RANLIB
=$ac_ct_RANLIB
47668 RANLIB
="$ac_cv_prog_RANLIB"
47671 # Find a good install program. We prefer a C program (faster),
47672 # so one script is as good as another. But avoid the broken or
47673 # incompatible versions:
47674 # SysV /etc/install, /usr/sbin/install
47675 # SunOS /usr/etc/install
47676 # IRIX /sbin/install
47678 # AmigaOS /C/install, which installs bootblocks on floppy discs
47679 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47680 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47681 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47682 # OS/2's system install, which has a completely different semantic
47683 # ./install, which can be erroneously created by make from ./install.sh.
47684 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47685 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47686 if test -z "$INSTALL"; then
47687 if test "${ac_cv_path_install+set}" = set; then
47688 echo $ECHO_N "(cached) $ECHO_C" >&6
47690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47691 for as_dir
in $PATH
47694 test -z "$as_dir" && as_dir
=.
47695 # Account for people who put trailing slashes in PATH elements.
47697 .
/ | .
// | /cC
/* | \
47698 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47699 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47702 # OSF1 and SCO ODT 3.0 have their own names for install.
47703 # Don't use installbsd from OSF since it installs stuff as root
47705 for ac_prog
in ginstall scoinst
install; do
47706 for ac_exec_ext
in '' $ac_executable_extensions; do
47707 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47708 if test $ac_prog = install &&
47709 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47710 # AIX install. It has an incompatible calling convention.
47712 elif test $ac_prog = install &&
47713 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47714 # program-specific install script used by HP pwplus--don't use.
47717 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47730 if test "${ac_cv_path_install+set}" = set; then
47731 INSTALL
=$ac_cv_path_install
47733 # As a last resort, use the slow shell script. Don't cache a
47734 # value for INSTALL within a source directory, because that will
47735 # break other packages using the cache if that directory is
47736 # removed, or if the value is a relative name.
47737 INSTALL
=$ac_install_sh
47740 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47741 echo "${ECHO_T}$INSTALL" >&6; }
47743 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47744 # It thinks the first close brace ends the variable substitution.
47745 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47747 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47749 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47751 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47752 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47754 if test "$LN_S" = "ln -s"; then
47755 { echo "$as_me:$LINENO: result: yes" >&5
47756 echo "${ECHO_T}yes" >&6; }
47758 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47759 echo "${ECHO_T}no, using $LN_S" >&6; }
47763 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47764 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47765 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47766 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47767 echo $ECHO_N "(cached) $ECHO_C" >&6
47769 cat >conftest.
make <<\_ACEOF
47772 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47774 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47775 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47776 *@@@
%%%=?
*=@@@
%%%*)
47777 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47779 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47781 rm -f conftest.
make
47783 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47784 { echo "$as_me:$LINENO: result: yes" >&5
47785 echo "${ECHO_T}yes" >&6; }
47788 { echo "$as_me:$LINENO: result: no" >&5
47789 echo "${ECHO_T}no" >&6; }
47790 SET_MAKE
="MAKE=${MAKE-make}"
47795 if test "x$SUNCXX" = "xyes"; then
47797 AROPTIONS
="-xar -o"
47799 elif test "x$SGICC" = "xyes"; then
47804 if test -n "$ac_tool_prefix"; then
47805 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47806 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47809 if test "${ac_cv_prog_AR+set}" = set; then
47810 echo $ECHO_N "(cached) $ECHO_C" >&6
47812 if test -n "$AR"; then
47813 ac_cv_prog_AR
="$AR" # Let the user override the test.
47815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47816 for as_dir
in $PATH
47819 test -z "$as_dir" && as_dir
=.
47820 for ac_exec_ext
in '' $ac_executable_extensions; do
47821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47822 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47833 if test -n "$AR"; then
47834 { echo "$as_me:$LINENO: result: $AR" >&5
47835 echo "${ECHO_T}$AR" >&6; }
47837 { echo "$as_me:$LINENO: result: no" >&5
47838 echo "${ECHO_T}no" >&6; }
47843 if test -z "$ac_cv_prog_AR"; then
47845 # Extract the first word of "ar", so it can be a program name with args.
47846 set dummy
ar; ac_word
=$2
47847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47849 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47850 echo $ECHO_N "(cached) $ECHO_C" >&6
47852 if test -n "$ac_ct_AR"; then
47853 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47856 for as_dir
in $PATH
47859 test -z "$as_dir" && as_dir
=.
47860 for ac_exec_ext
in '' $ac_executable_extensions; do
47861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47862 ac_cv_prog_ac_ct_AR
="ar"
47863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47872 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47873 if test -n "$ac_ct_AR"; then
47874 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47875 echo "${ECHO_T}$ac_ct_AR" >&6; }
47877 { echo "$as_me:$LINENO: result: no" >&5
47878 echo "${ECHO_T}no" >&6; }
47881 if test "x$ac_ct_AR" = x
; then
47884 case $cross_compiling:$ac_tool_warned in
47886 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47887 whose name does not start with the host triplet. If you think this
47888 configuration is useful to you, please write to autoconf@gnu.org." >&5
47889 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47890 whose name does not start with the host triplet. If you think this
47891 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47892 ac_tool_warned
=yes ;;
47897 AR
="$ac_cv_prog_AR"
47904 if test -n "$ac_tool_prefix"; then
47905 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47906 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47909 if test "${ac_cv_prog_STRIP+set}" = set; then
47910 echo $ECHO_N "(cached) $ECHO_C" >&6
47912 if test -n "$STRIP"; then
47913 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47916 for as_dir
in $PATH
47919 test -z "$as_dir" && as_dir
=.
47920 for ac_exec_ext
in '' $ac_executable_extensions; do
47921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47922 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47932 STRIP
=$ac_cv_prog_STRIP
47933 if test -n "$STRIP"; then
47934 { echo "$as_me:$LINENO: result: $STRIP" >&5
47935 echo "${ECHO_T}$STRIP" >&6; }
47937 { echo "$as_me:$LINENO: result: no" >&5
47938 echo "${ECHO_T}no" >&6; }
47943 if test -z "$ac_cv_prog_STRIP"; then
47945 # Extract the first word of "strip", so it can be a program name with args.
47946 set dummy strip
; ac_word
=$2
47947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47949 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47950 echo $ECHO_N "(cached) $ECHO_C" >&6
47952 if test -n "$ac_ct_STRIP"; then
47953 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47956 for as_dir
in $PATH
47959 test -z "$as_dir" && as_dir
=.
47960 for ac_exec_ext
in '' $ac_executable_extensions; do
47961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47962 ac_cv_prog_ac_ct_STRIP
="strip"
47963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47972 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47973 if test -n "$ac_ct_STRIP"; then
47974 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47975 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47977 { echo "$as_me:$LINENO: result: no" >&5
47978 echo "${ECHO_T}no" >&6; }
47981 if test "x$ac_ct_STRIP" = x
; then
47984 case $cross_compiling:$ac_tool_warned in
47986 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47987 whose name does not start with the host triplet. If you think this
47988 configuration is useful to you, please write to autoconf@gnu.org." >&5
47989 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47990 whose name does not start with the host triplet. If you think this
47991 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47992 ac_tool_warned
=yes ;;
47997 STRIP
="$ac_cv_prog_STRIP"
48000 if test -n "$ac_tool_prefix"; then
48001 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48002 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
48003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48005 if test "${ac_cv_prog_NM+set}" = set; then
48006 echo $ECHO_N "(cached) $ECHO_C" >&6
48008 if test -n "$NM"; then
48009 ac_cv_prog_NM
="$NM" # Let the user override the test.
48011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48012 for as_dir
in $PATH
48015 test -z "$as_dir" && as_dir
=.
48016 for ac_exec_ext
in '' $ac_executable_extensions; do
48017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48018 ac_cv_prog_NM
="${ac_tool_prefix}nm"
48019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48029 if test -n "$NM"; then
48030 { echo "$as_me:$LINENO: result: $NM" >&5
48031 echo "${ECHO_T}$NM" >&6; }
48033 { echo "$as_me:$LINENO: result: no" >&5
48034 echo "${ECHO_T}no" >&6; }
48039 if test -z "$ac_cv_prog_NM"; then
48041 # Extract the first word of "nm", so it can be a program name with args.
48042 set dummy nm
; ac_word
=$2
48043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48045 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48046 echo $ECHO_N "(cached) $ECHO_C" >&6
48048 if test -n "$ac_ct_NM"; then
48049 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48052 for as_dir
in $PATH
48055 test -z "$as_dir" && as_dir
=.
48056 for ac_exec_ext
in '' $ac_executable_extensions; do
48057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48058 ac_cv_prog_ac_ct_NM
="nm"
48059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48068 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48069 if test -n "$ac_ct_NM"; then
48070 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48071 echo "${ECHO_T}$ac_ct_NM" >&6; }
48073 { echo "$as_me:$LINENO: result: no" >&5
48074 echo "${ECHO_T}no" >&6; }
48077 if test "x$ac_ct_NM" = x
; then
48080 case $cross_compiling:$ac_tool_warned in
48082 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48083 whose name does not start with the host triplet. If you think this
48084 configuration is useful to you, please write to autoconf@gnu.org." >&5
48085 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48086 whose name does not start with the host triplet. If you think this
48087 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48088 ac_tool_warned
=yes ;;
48093 NM
="$ac_cv_prog_NM"
48097 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48098 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48099 INSTALL_TEST_DIR
=acbftest$$
48100 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
48101 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
48102 rmdir $INSTALL_TEST_DIR
48103 INSTALL_DIR
='$(INSTALL) -d'
48104 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48105 echo "${ECHO_T}$INSTALL -d" >&6; }
48107 INSTALL_DIR
="mkdir -p"
48108 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48109 echo "${ECHO_T}mkdir -p" >&6; }
48114 case ${BAKEFILE_HOST} in
48115 *-*-cygwin* | *-*-mingw32* )
48116 LDFLAGS_GUI
="-mwindows"
48122 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48123 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48124 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48125 echo $ECHO_N "(cached) $ECHO_C" >&6
48128 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48129 egrep -s GNU
> /dev
/null
); then
48130 bakefile_cv_prog_makeisgnu
="yes"
48132 bakefile_cv_prog_makeisgnu
="no"
48136 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48137 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48139 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48156 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48157 case "${BAKEFILE_HOST}" in
48164 *-pc-os2_emx | *-pc-os2-emx )
48174 powerpc
-apple-macos* )
48183 case "$BAKEFILE_FORCE_PLATFORM" in
48218 # Check whether --enable-omf was given.
48219 if test "${enable_omf+set}" = set; then
48220 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
48224 case "${BAKEFILE_HOST}" in
48226 if test "x$GCC" = "xyes"; then
48227 CFLAGS
="$CFLAGS -fno-common"
48228 CXXFLAGS
="$CXXFLAGS -fno-common"
48230 if test "x$XLCC" = "xyes"; then
48231 CFLAGS
="$CFLAGS -qnocommon"
48232 CXXFLAGS
="$CXXFLAGS -qnocommon"
48236 *-pc-os2_emx | *-pc-os2-emx )
48237 if test "x$bk_os2_use_omf" = "xyes" ; then
48240 LDFLAGS
="-Zomf $LDFLAGS"
48241 CFLAGS
="-Zomf $CFLAGS"
48242 CXXFLAGS
="-Zomf $CXXFLAGS"
48250 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48256 SO_SUFFIX_MODULE
="so"
48261 DLLPREFIX_MODULE
=""
48265 case "${BAKEFILE_HOST}" in
48270 SO_SUFFIX_MODULE
="sl"
48274 SO_SUFFIX_MODULE
="a"
48278 SO_SUFFIX_MODULE
="dll"
48279 DLLIMP_SUFFIX
="dll.a"
48286 SO_SUFFIX_MODULE
="dll"
48287 DLLIMP_SUFFIX
="dll.a"
48297 *-pc-os2_emx | *-pc-os2-emx )
48299 SO_SUFFIX_MODULE
="dll"
48300 DLLIMP_SUFFIX
=$OS2_LIBEXT
48304 LIBEXT
=".$OS2_LIBEXT"
48309 SO_SUFFIX_MODULE
="bundle"
48313 if test "x$DLLIMP_SUFFIX" = "x" ; then
48314 DLLIMP_SUFFIX
="$SO_SUFFIX"
48329 if test "x$GCC" = "xyes"; then
48333 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48334 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48337 case "${BAKEFILE_HOST}" in
48339 if test "x$GCC" != "xyes"; then
48340 LDFLAGS
="$LDFLAGS -L/usr/lib"
48342 SHARED_LD_CC
="${CC} -b -o"
48343 SHARED_LD_CXX
="${CXX} -b -o"
48349 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48351 elif test "x$SUNCXX" = "xyes"; then
48352 SHARED_LD_CC
="${CC} -G -o"
48353 SHARED_LD_CXX
="${CXX} -G -o"
48359 if test "x$SUNCXX" = xyes
; then
48360 SHARED_LD_CC
="${CC} -G -o"
48361 SHARED_LD_CXX
="${CXX} -G -o"
48369 cat <<EOF >shared-ld-sh
48371 #-----------------------------------------------------------------------------
48372 #-- Name: distrib/mac/shared-ld-sh
48373 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48374 #-- Author: Gilles Depeyrot
48375 #-- Copyright: (c) 2002 Gilles Depeyrot
48376 #-- Licence: any use permitted
48377 #-----------------------------------------------------------------------------
48382 linking_flag="-dynamiclib"
48383 ldargs="-r -keep_private_externs -nostdlib"
48385 if test "x${D}CXX" = "x"; then
48389 while test ${D}# -gt 0; do
48396 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48397 # collect these options and values
48398 args="${D}{args} ${D}1 ${D}2"
48403 # collect these options and values
48404 ldargs="${D}{ldargs} ${D}1 ${D}2"
48409 # collect these load args
48410 ldargs="${D}{ldargs} ${D}1"
48413 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48414 # collect these options
48415 args="${D}{args} ${D}1"
48418 -dynamiclib|-bundle)
48419 linking_flag="${D}1"
48423 echo "shared-ld: unhandled option '${D}1'"
48427 *.o | *.a | *.dylib)
48428 # collect object files
48429 objects="${D}{objects} ${D}1"
48433 echo "shared-ld: unhandled argument '${D}1'"
48444 # Link one module containing all the others
48446 if test ${D}{verbose} = 1; then
48447 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48449 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48453 # Link the shared library from the single module created, but only if the
48454 # previous command didn't fail:
48456 if test ${D}{status} = 0; then
48457 if test ${D}{verbose} = 1; then
48458 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48460 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48465 # Remove intermediate module
48467 rm -f master.${D}${D}.o
48472 chmod +x shared
-ld-sh
48474 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48475 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48478 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48479 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48480 if test "${bakefile_cv_gcc31+set}" = set; then
48481 echo $ECHO_N "(cached) $ECHO_C" >&6
48484 cat >conftest.
$ac_ext <<_ACEOF
48487 cat confdefs.h
>>conftest.
$ac_ext
48488 cat >>conftest.
$ac_ext <<_ACEOF
48489 /* end confdefs.h. */
48495 #if (__GNUC__ < 3) || \
48496 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48504 rm -f conftest.
$ac_objext
48505 if { (ac_try
="$ac_compile"
48506 case "(($ac_try" in
48507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48508 *) ac_try_echo=$ac_try;;
48510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48511 (eval "$ac_compile") 2>conftest.er1
48513 grep -v '^ *+' conftest.er1 >conftest.err
48515 cat conftest.err >&5
48516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48517 (exit $ac_status); } && {
48518 test -z "$ac_c_werror_flag" ||
48519 test ! -s conftest.err
48520 } && test -s conftest.$ac_objext; then
48522 bakefile_cv_gcc31=yes
48525 echo "$as_me: failed program was:" >&5
48526 sed 's/^/| /' conftest.$ac_ext >&5
48529 bakefile_cv_gcc31=no
48534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48537 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48538 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48539 if test "$bakefile_cv_gcc31" = "no"; then
48540 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48541 SHARED_LD_CXX="$SHARED_LD_CC"
48543 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48544 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48547 if test "x$GCC" == "xyes"; then
48548 PIC_FLAG="-dynamic -fPIC"
48550 if test "x$XLCC" = "xyes"; then
48551 PIC_FLAG="-dynamic -DPIC"
48556 if test "x$GCC" = "xyes"; then
48559 case "${BAKEFILE_HOST}" in
48561 LD_EXPFULL="-Wl,-bexpfull"
48565 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48566 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48568 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48569 set dummy makeC++SharedLib; ac_word=$2
48570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48572 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48573 echo $ECHO_N "(cached) $ECHO_C" >&6
48575 if test -n "$AIX_CXX_LD"; then
48576 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48579 for as_dir in $PATH
48582 test -z "$as_dir" && as_dir=.
48583 for ac_exec_ext in '' $ac_executable_extensions; do
48584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48585 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48593 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48596 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48597 if test -n "$AIX_CXX_LD"; then
48598 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48599 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48601 { echo "$as_me:$LINENO: result: no" >&5
48602 echo "${ECHO_T}no" >&6; }
48606 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48607 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48612 SHARED_LD_CC="${LD} -nostart -o"
48613 SHARED_LD_CXX="${LD} -nostart -o"
48617 if test "x$GCC" != "xyes"; then
48622 *-*-cygwin* | *-*-mingw32* )
48624 SHARED_LD_CC="\$(CC) -shared -o"
48625 SHARED_LD_CXX="\$(CXX) -shared -o"
48629 *-pc-os2_emx | *-pc-os2-emx )
48630 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48631 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48635 cat <<EOF >dllar.sh
48638 # dllar - a tool to build both a .dll and an .a file
48639 # from a set of object (.o) files for EMX/OS2.
48641 # Written by Andrew Zabolotny, bit@freya.etu.ru
48642 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48644 # This script will accept a set of files on the command line.
48645 # All the public symbols from the .o files will be exported into
48646 # a .DEF file, then linker will be run (through gcc) against them to
48647 # build a shared library consisting of all given .o files. All libraries
48648 # (.a) will be first decompressed into component .o files then act as
48649 # described above. You can optionally give a description (-d "description")
48650 # which will be put into .DLL. To see the list of accepted options (as well
48651 # as command-line format) simply run this program without options. The .DLL
48652 # is built to be imported by name (there is no guarantee that new versions
48653 # of the library you build will have same ordinals for same symbols).
48655 # dllar is free software; you can redistribute it and/or modify
48656 # it under the terms of the GNU General Public License as published by
48657 # the Free Software Foundation; either version 2, or (at your option)
48658 # any later version.
48660 # dllar is distributed in the hope that it will be useful,
48661 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48662 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48663 # GNU General Public License for more details.
48665 # You should have received a copy of the GNU General Public License
48666 # along with dllar; see the file COPYING. If not, write to the Free
48667 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48670 # To successfuly run this program you will need:
48671 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48672 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48674 # (used to build the .dll)
48676 # (used to create .def file from .o files)
48678 # (used to create .a file from .def file)
48679 # - GNU text utilites (cat, sort, uniq)
48680 # used to process emxexp output
48681 # - GNU file utilities (mv, rm)
48683 # - lxlite (optional, see flag below)
48684 # (used for general .dll cleanup)
48691 # basnam, variant of basename, which does _not_ remove the path, _iff_
48692 # second argument (suffix to remove) is given
48696 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48699 echo ${D}1 | sed 's/'${D}2'${D}//'
48702 echo "error in basnam ${D}*"
48708 # Cleanup temporary files and output
48711 for i in ${D}inputFiles ; do
48714 rm -rf \`basnam
${D}i
!\
`
48721 # Kill result in case of failure as there is just to many stupid make/nmake
48722 # things out there which doesn't do this.
48723 if [ ${D}# -eq 0 ]; then
48724 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48728 # Print usage and exit script with rc=1.
48730 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48731 echo ' [-name-mangler-script script.sh]'
48732 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48733 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48734 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48735 echo ' [*.o] [*.a]'
48736 echo '*> "output_file" should have no extension.'
48737 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48738 echo ' The import library name is derived from this and is set to "name".a,'
48739 echo ' unless overridden by -import'
48740 echo '*> "importlib_name" should have no extension.'
48741 echo ' If it has the .o, or .a extension, it is automatically removed.'
48742 echo ' This name is used as the import library name and may be longer and'
48743 echo ' more descriptive than the DLL name which has to follow the old '
48744 echo ' 8.3 convention of FAT.'
48745 echo '*> "script.sh may be given to override the output_file name by a'
48746 echo ' different name. It is mainly useful if the regular make process'
48747 echo ' of some package does not take into account OS/2 restriction of'
48748 echo ' DLL name lengths. It takes the importlib name as input and is'
48749 echo ' supposed to procude a shorter name as output. The script should'
48750 echo ' expect to get importlib_name without extension and should produce'
48751 echo ' a (max.) 8 letter name without extension.'
48752 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48753 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48754 echo ' These flags will be put at the start of GCC command line.'
48755 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48756 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48757 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48758 echo ' If the last character of a symbol is "*", all symbols beginning'
48759 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48760 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48761 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48762 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48763 echo ' C runtime DLLs.'
48764 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48765 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48766 echo ' unchanged to GCC at the end of command line.'
48767 echo '*> If you create a DLL from a library and you do not specify -o,'
48768 echo ' the basename for DLL and import library will be set to library name,'
48769 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48770 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48771 echo ' library will be renamed into gcc_s.a.'
48774 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48775 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48780 # Execute a command.
48781 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48782 # @Uses Whatever CleanUp() uses.
48788 if [ ${D}rcCmd -ne 0 ]; then
48789 echo "command failed, exit code="${D}rcCmd
48804 CFLAGS="-s -Zcrtdll"
48806 EXPORT_BY_ORDINALS=0
48811 case ${D}curDirS in
48815 curDirS=${D}{curDirS}"/"
48818 # Parse commandline
48821 while [ ${D}1 ]; do
48824 EXPORT_BY_ORDINALS=1;
48834 -name-mangler-script)
48855 exclude_symbols=${D}{exclude_symbols}${D}1" "
48859 library_flags=${D}{library_flags}${D}1" "
48878 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48881 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48882 if [ ${D}omfLinking -eq 1 ]; then
48883 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48885 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48890 if [ ${D}libsToLink -ne 0 ]; then
48891 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48893 for file in ${D}1 ; do
48894 if [ -f ${D}file ]; then
48895 inputFiles="${D}{inputFiles} ${D}file"
48899 if [ ${D}found -eq 0 ]; then
48900 echo "ERROR: No file(s) found: "${D}1
48907 done # iterate cmdline words
48910 if [ -z "${D}inputFiles" ]; then
48911 echo "dllar: no input files"
48915 # Now extract all .o files from .a files
48917 for file in ${D}inputFiles ; do
48928 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48933 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48935 if [ ${D}? -ne 0 ]; then
48936 echo "Failed to create subdirectory ./${D}dirname"
48940 # Append '!' to indicate archive
48941 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48942 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48945 for subfile in ${D}dirname/*.o* ; do
48946 if [ -f ${D}subfile ]; then
48948 if [ -s ${D}subfile ]; then
48949 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48950 newInputFiles="${D}newInputFiles ${D}subfile"
48954 if [ ${D}found -eq 0 ]; then
48955 echo "WARNING: there are no files in archive \\'${D}file\\'"
48959 newInputFiles="${D}{newInputFiles} ${D}file"
48963 inputFiles="${D}newInputFiles"
48965 # Output filename(s).
48967 if [ -z ${D}outFile ]; then
48969 set outFile ${D}inputFiles; outFile=${D}2
48972 # If it is an archive, remove the '!' and the '_%' suffixes
48973 case ${D}outFile in
48975 outFile=\`basnam
${D}outFile _
%!\
`
48980 case ${D}outFile in
48982 outFile=\`basnam
${D}outFile .dll\
`
48985 outFile=\`basnam
${D}outFile .DLL\
`
48988 outFile=\`basnam
${D}outFile .o\
`
48991 outFile=\`basnam
${D}outFile .obj\
`
48994 outFile=\`basnam
${D}outFile .a\
`
48997 outFile=\`basnam
${D}outFile .lib\
`
49002 case ${D}outimpFile in
49004 outimpFile=\`basnam
${D}outimpFile .a\
`
49007 outimpFile=\`basnam
${D}outimpFile .lib\
`
49012 if [ -z ${D}outimpFile ]; then
49013 outimpFile=${D}outFile
49015 defFile="${D}{outFile}.def"
49016 arcFile="${D}{outimpFile}.a"
49017 arcFile2="${D}{outimpFile}.lib"
49019 #create ${D}dllFile as something matching 8.3 restrictions,
49020 if [ -z ${D}renameScript ] ; then
49021 dllFile="${D}outFile"
49023 dllFile=\`${D}renameScript
${D}outimpFile\
`
49026 if [ ${D}do_backup -ne 0 ] ; then
49027 if [ -f ${D}arcFile ] ; then
49028 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49030 if [ -f ${D}arcFile2 ] ; then
49031 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49035 # Extract public symbols from all the object files.
49036 tmpdefFile=${D}{defFile}_%
49037 rm -f ${D}tmpdefFile
49038 for file in ${D}inputFiles ; do
49043 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49048 # Create the def file.
49050 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
49051 dllFile="${D}{dllFile}.dll"
49052 if [ ! -z ${D}description ]; then
49053 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49055 echo "EXPORTS" >> ${D}defFile
49057 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49058 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49060 # Checks if the export is ok or not.
49061 for word in ${D}exclude_symbols; do
49062 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49063 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49067 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49068 sed "=" < ${D}tmpdefFile | \\
49072 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49074 ' > ${D}{tmpdefFile}%
49075 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49077 rm -f ${D}{tmpdefFile}%
49079 cat ${D}tmpdefFile >> ${D}defFile
49080 rm -f ${D}tmpdefFile
49082 # Do linking, create implib, and apply lxlite.
49084 for file in ${D}inputFiles ; do
49089 gccCmdl="${D}gccCmdl ${D}file"
49093 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49094 touch "${D}{outFile}.dll"
49096 doCommand "emximp -o ${D}arcFile ${D}defFile"
49097 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49099 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49102 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49104 doCommand "emxomf -s -l ${D}arcFile"
49114 powerpc-apple-macos* | \
49115 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49125 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49126 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49127 { (exit 1); exit 1; }; }
49130 if test "x$PIC_FLAG" != "x" ; then
49131 PIC_FLAG="$PIC_FLAG -DPIC"
49134 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49135 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49137 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49138 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49157 case "${BAKEFILE_HOST}" in
49158 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49159 *-*-k*bsd*-gnu | *-*-mirbsd* )
49160 if test "x$SUNCXX" = "xyes"; then
49163 SONAME_FLAG="-Wl,-soname,"
49198 # Check whether --enable-dependency-tracking was given.
49199 if test "${enable_dependency_tracking+set}" = set; then
49200 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49204 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49205 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49208 if test "x$bk_use_trackdeps" = "xno" ; then
49210 { echo "$as_me:$LINENO: result: disabled" >&5
49211 echo "${ECHO_T}disabled" >&6; }
49215 if test "x$GCC" = "xyes"; then
49217 case "${BAKEFILE_HOST}" in
49219 DEPSFLAG="-no-cpp-precomp -MMD"
49225 { echo "$as_me:$LINENO: result: gcc" >&5
49226 echo "${ECHO_T}gcc" >&6; }
49227 elif test "x$MWCC" = "xyes"; then
49230 { echo "$as_me:$LINENO: result: mwcc" >&5
49231 echo "${ECHO_T}mwcc" >&6; }
49232 elif test "x$SUNCC" = "xyes"; then
49235 { echo "$as_me:$LINENO: result: Sun cc" >&5
49236 echo "${ECHO_T}Sun cc" >&6; }
49237 elif test "x$SGICC" = "xyes"; then
49240 { echo "$as_me:$LINENO: result: SGI cc" >&5
49241 echo "${ECHO_T}SGI cc" >&6; }
49242 elif test "x$HPCC" = "xyes"; then
49245 { echo "$as_me:$LINENO: result: HP cc" >&5
49246 echo "${ECHO_T}HP cc" >&6; }
49247 elif test "x$COMPAQCC" = "xyes"; then
49250 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49251 echo "${ECHO_T}Compaq cc" >&6; }
49254 { echo "$as_me:$LINENO: result: none" >&5
49255 echo "${ECHO_T}none" >&6; }
49258 if test $DEPS_TRACKING = 1 ; then
49264 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49265 # script. It is used to track C/C++ files dependencies in portable way.
49267 # Permission is given to use this file in any way.
49269 DEPSMODE=${DEPSMODE}
49270 DEPSFLAG="${DEPSFLAG}"
49273 if test ${D}DEPSMODE = gcc ; then
49274 ${D}* ${D}{DEPSFLAG}
49277 # determine location of created files:
49278 while test ${D}# -gt 0; do
49292 objfilebase=\`basename ${D}objfile\
`
49293 builddir=\`dirname ${D}objfile\
`
49294 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49295 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49296 depsdir=${D}builddir/${D}DEPSDIRBASE
49297 mkdir -p ${D}depsdir
49299 # if the compiler failed, we're done:
49300 if test ${D}{status} != 0 ; then
49305 # move created file to the location we want it in:
49306 if test -f ${D}depfile ; then
49307 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49310 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49311 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49312 if test ! -f ${D}depfile ; then
49313 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49314 depfile="${D}objfile.d"
49316 if test -f ${D}depfile ; then
49317 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49323 elif test ${D}DEPSMODE = mwcc ; then
49324 ${D}* || exit ${D}?
49325 # Run mwcc again with -MM and redirect into the dep file we want
49326 # NOTE: We can't use shift here because we need ${D}* to be valid
49328 for arg in ${D}* ; do
49329 if test "${D}prevarg" = "-o"; then
49343 objfilebase=\`basename ${D}objfile\
`
49344 builddir=\`dirname ${D}objfile\
`
49345 depsdir=${D}builddir/${D}DEPSDIRBASE
49346 mkdir -p ${D}depsdir
49348 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49351 elif test ${D}DEPSMODE = unixcc; then
49352 ${D}* || exit ${D}?
49353 # Run compiler again with deps flag and redirect into the dep file.
49354 # It doesn't work if the '-o FILE' option is used, but without it the
49355 # dependency file will contain the wrong name for the object. So it is
49356 # removed from the command line, and the dep file is fixed with sed.
49358 while test ${D}# -gt 0; do
49365 eval arg${D}#=\\${D}1
49366 cmd="${D}cmd \\${D}arg${D}#"
49372 objfilebase=\`basename ${D}objfile\
`
49373 builddir=\`dirname ${D}objfile\
`
49374 depsdir=${D}builddir/${D}DEPSDIRBASE
49375 mkdir -p ${D}depsdir
49377 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49387 BK_DEPS="`pwd`/bk-deps"
49395 case ${BAKEFILE_HOST} in
49396 *-*-cygwin* | *-*-mingw32* )
49397 if test -n "$ac_tool_prefix"; then
49398 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49399 set dummy ${ac_tool_prefix}windres; ac_word=$2
49400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49402 if test "${ac_cv_prog_WINDRES+set}" = set; then
49403 echo $ECHO_N "(cached) $ECHO_C" >&6
49405 if test -n "$WINDRES"; then
49406 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49409 for as_dir in $PATH
49412 test -z "$as_dir" && as_dir=.
49413 for ac_exec_ext in '' $ac_executable_extensions; do
49414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49415 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49425 WINDRES=$ac_cv_prog_WINDRES
49426 if test -n "$WINDRES"; then
49427 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49428 echo "${ECHO_T}$WINDRES" >&6; }
49430 { echo "$as_me:$LINENO: result: no" >&5
49431 echo "${ECHO_T}no" >&6; }
49436 if test -z "$ac_cv_prog_WINDRES"; then
49437 ac_ct_WINDRES=$WINDRES
49438 # Extract the first word of "windres", so it can be a program name with args.
49439 set dummy windres; ac_word=$2
49440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49442 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49443 echo $ECHO_N "(cached) $ECHO_C" >&6
49445 if test -n "$ac_ct_WINDRES"; then
49446 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49449 for as_dir in $PATH
49452 test -z "$as_dir" && as_dir=.
49453 for ac_exec_ext in '' $ac_executable_extensions; do
49454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49455 ac_cv_prog_ac_ct_WINDRES="windres"
49456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49465 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49466 if test -n "$ac_ct_WINDRES"; then
49467 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49468 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49470 { echo "$as_me:$LINENO: result: no" >&5
49471 echo "${ECHO_T}no" >&6; }
49474 if test "x$ac_ct_WINDRES" = x; then
49477 case $cross_compiling:$ac_tool_warned in
49479 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49480 whose name does not start with the host triplet. If you think this
49481 configuration is useful to you, please write to autoconf@gnu.org." >&5
49482 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49483 whose name does not start with the host triplet. If you think this
49484 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49485 ac_tool_warned=yes ;;
49487 WINDRES=$ac_ct_WINDRES
49490 WINDRES="$ac_cv_prog_WINDRES"
49495 *-*-darwin* | powerpc-apple-macos* )
49496 # Extract the first word of "Rez", so it can be a program name with args.
49497 set dummy Rez; ac_word=$2
49498 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49500 if test "${ac_cv_prog_REZ+set}" = set; then
49501 echo $ECHO_N "(cached) $ECHO_C" >&6
49503 if test -n "$REZ"; then
49504 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49507 for as_dir in $PATH
49510 test -z "$as_dir" && as_dir=.
49511 for ac_exec_ext in '' $ac_executable_extensions; do
49512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49513 ac_cv_prog_REZ="Rez"
49514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49521 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49524 REZ=$ac_cv_prog_REZ
49525 if test -n "$REZ"; then
49526 { echo "$as_me:$LINENO: result: $REZ" >&5
49527 echo "${ECHO_T}$REZ" >&6; }
49529 { echo "$as_me:$LINENO: result: no" >&5
49530 echo "${ECHO_T}no" >&6; }
49534 # Extract the first word of "SetFile", so it can be a program name with args.
49535 set dummy SetFile; ac_word=$2
49536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49538 if test "${ac_cv_prog_SETFILE+set}" = set; then
49539 echo $ECHO_N "(cached) $ECHO_C" >&6
49541 if test -n "$SETFILE"; then
49542 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49545 for as_dir in $PATH
49548 test -z "$as_dir" && as_dir=.
49549 for ac_exec_ext in '' $ac_executable_extensions; do
49550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49551 ac_cv_prog_SETFILE="SetFile"
49552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49559 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49562 SETFILE=$ac_cv_prog_SETFILE
49563 if test -n "$SETFILE"; then
49564 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49565 echo "${ECHO_T}$SETFILE" >&6; }
49567 { echo "$as_me:$LINENO: result: no" >&5
49568 echo "${ECHO_T}no" >&6; }
49583 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49586 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49590 # Check whether --enable-precomp-headers was given.
49591 if test "${enable_precomp_headers+set}" = set; then
49592 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49601 case ${BAKEFILE_HOST} in
49607 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49608 if test "x$GCC" = "xyes"; then
49609 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49610 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49611 cat >conftest.$ac_ext <<_ACEOF
49614 cat confdefs.h >>conftest.$ac_ext
49615 cat >>conftest.$ac_ext <<_ACEOF
49616 /* end confdefs.h. */
49622 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49623 There is no PCH support
49626 There is no PCH support
49628 #if (__GNUC__ == 3) && \
49629 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49630 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49631 ( defined(__INTEL_COMPILER) )
49632 There is no PCH support
49639 rm -f conftest.$ac_objext
49640 if { (ac_try="$ac_compile"
49641 case "(($ac_try" in
49642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49643 *) ac_try_echo
=$ac_try;;
49645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49646 (eval "$ac_compile") 2>conftest.er1
49648 grep -v '^ *+' conftest.er1
>conftest.err
49650 cat conftest.err
>&5
49651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49652 (exit $ac_status); } && {
49653 test -z "$ac_c_werror_flag" ||
49654 test ! -s conftest.err
49655 } && test -s conftest.
$ac_objext; then
49657 { echo "$as_me:$LINENO: result: yes" >&5
49658 echo "${ECHO_T}yes" >&6; }
49662 echo "$as_me: failed program was:" >&5
49663 sed 's/^/| /' conftest.
$ac_ext >&5
49666 if test "$INTELCXX8" = "yes"; then
49667 { echo "$as_me:$LINENO: result: yes" >&5
49668 echo "${ECHO_T}yes" >&6; }
49670 if test "$INTELCXX10" = "yes"; then
49671 ICC_PCH_CREATE_SWITCH
="-pch-create"
49672 ICC_PCH_USE_SWITCH
="-pch-use"
49674 ICC_PCH_CREATE_SWITCH
="-create-pch"
49675 ICC_PCH_USE_SWITCH
="-use-pch"
49678 { echo "$as_me:$LINENO: result: no" >&5
49679 echo "${ECHO_T}no" >&6; }
49684 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49685 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49689 cat <<EOF >bk-make-pch
49692 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49693 # script. It is used to generated precompiled headers.
49695 # Permission is given to use this file in any way.
49702 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49707 while test ${D}{#} -gt 0; do
49711 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49712 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49713 headerfile="${D}{incdir}/${D}{header}"
49716 -use-pch|-use_pch|-pch-use )
49721 if test ${D}add_to_cmdline = 1 ; then
49722 compiler="${D}{compiler} ${D}{1}"
49727 if test "x${D}{headerfile}" = "x" ; then
49728 echo "error: can't find header ${D}{header} in include paths" >&2
49730 if test -f ${D}{outfile} ; then
49731 rm -f ${D}{outfile}
49733 mkdir -p \`dirname ${D}{outfile}\`
49735 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49736 mkdir -p ${D}{builddir}/.deps
49737 if test "x${GCC_PCH}" = "x1" ; then
49738 # can do this because gcc is >= 3.4:
49739 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49740 elif test "x${ICC_PCH}" = "x1" ; then
49741 filename=pch_gen-${D}${D}
49742 file=${D}{filename}.c
49743 dfile=${D}{filename}.d
49744 cat > ${D}file <<EOT
49745 #include "${D}header"
49747 # using -MF icc complains about differing command lines in creation/use
49748 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49749 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49750 rm -f ${D}file ${D}dfile ${D}{filename}.o
49756 chmod +x bk
-make-pch
49757 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49768 COND_BUILD_DEBUG
="#"
49769 if test "x$BUILD" = "xdebug" ; then
49770 COND_BUILD_DEBUG
=""
49773 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49774 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49775 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49778 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49779 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49780 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49783 COND_BUILD_DEBUG_UNICODE_0
="#"
49784 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49785 COND_BUILD_DEBUG_UNICODE_0
=""
49788 COND_BUILD_DEBUG_UNICODE_1
="#"
49789 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49790 COND_BUILD_DEBUG_UNICODE_1
=""
49793 COND_BUILD_RELEASE
="#"
49794 if test "x$BUILD" = "xrelease" ; then
49795 COND_BUILD_RELEASE
=""
49798 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49799 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49800 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49803 COND_BUILD_RELEASE_UNICODE_0
="#"
49804 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49805 COND_BUILD_RELEASE_UNICODE_0
=""
49808 COND_BUILD_RELEASE_UNICODE_1
="#"
49809 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49810 COND_BUILD_RELEASE_UNICODE_1
=""
49813 COND_BUILD_debug
="#"
49814 if test "x$BUILD" = "xdebug" ; then
49815 COND_BUILD_debug
=""
49818 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49819 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49820 COND_BUILD_debug_DEBUG_FLAG_default
=""
49823 COND_BUILD_debug_DEBUG_INFO_default
="#"
49824 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49825 COND_BUILD_debug_DEBUG_INFO_default
=""
49828 COND_BUILD_debug_UNICODE_0
="#"
49829 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49830 COND_BUILD_debug_UNICODE_0
=""
49833 COND_BUILD_debug_UNICODE_1
="#"
49834 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49835 COND_BUILD_debug_UNICODE_1
=""
49838 COND_BUILD_release
="#"
49839 if test "x$BUILD" = "xrelease" ; then
49840 COND_BUILD_release
=""
49843 COND_BUILD_release_DEBUG_INFO_default
="#"
49844 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49845 COND_BUILD_release_DEBUG_INFO_default
=""
49848 COND_BUILD_release_UNICODE_0
="#"
49849 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49850 COND_BUILD_release_UNICODE_0
=""
49853 COND_BUILD_release_UNICODE_1
="#"
49854 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49855 COND_BUILD_release_UNICODE_1
=""
49858 COND_DEBUG_FLAG_1
="#"
49859 if test "x$DEBUG_FLAG" = "x1" ; then
49860 COND_DEBUG_FLAG_1
=""
49863 COND_DEBUG_INFO_0
="#"
49864 if test "x$DEBUG_INFO" = "x0" ; then
49865 COND_DEBUG_INFO_0
=""
49868 COND_DEBUG_INFO_1
="#"
49869 if test "x$DEBUG_INFO" = "x1" ; then
49870 COND_DEBUG_INFO_1
=""
49873 COND_DEPS_TRACKING_0
="#"
49874 if test "x$DEPS_TRACKING" = "x0" ; then
49875 COND_DEPS_TRACKING_0
=""
49878 COND_DEPS_TRACKING_1
="#"
49879 if test "x$DEPS_TRACKING" = "x1" ; then
49880 COND_DEPS_TRACKING_1
=""
49884 if test "x$GCC_PCH" = "x1" ; then
49889 if test "x$ICC_PCH" = "x1" ; then
49893 COND_MONOLITHIC_0
="#"
49894 if test "x$MONOLITHIC" = "x0" ; then
49895 COND_MONOLITHIC_0
=""
49898 COND_MONOLITHIC_0_SHARED_0
="#"
49899 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49900 COND_MONOLITHIC_0_SHARED_0
=""
49903 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49904 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49905 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49908 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49909 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49910 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49913 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49914 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49915 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49918 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49919 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49920 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49923 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49924 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49925 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49928 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49929 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49930 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49933 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49934 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49935 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49938 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49939 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49940 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49943 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49944 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49945 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49948 COND_MONOLITHIC_0_SHARED_1
="#"
49949 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49950 COND_MONOLITHIC_0_SHARED_1
=""
49953 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49954 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49955 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49958 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49959 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49960 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49963 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49964 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49965 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49968 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49969 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49970 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49973 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49974 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49975 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49978 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49979 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49980 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49983 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49984 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49985 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49988 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49989 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49990 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49993 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49994 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49995 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49998 COND_MONOLITHIC_0_USE_AUI_1
="#"
49999 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50000 COND_MONOLITHIC_0_USE_AUI_1
=""
50003 COND_MONOLITHIC_0_USE_GUI_1
="#"
50004 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50005 COND_MONOLITHIC_0_USE_GUI_1
=""
50008 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
50009 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50010 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
50013 COND_MONOLITHIC_0_USE_HTML_1
="#"
50014 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50015 COND_MONOLITHIC_0_USE_HTML_1
=""
50018 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
50019 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50020 COND_MONOLITHIC_0_USE_MEDIA_1
=""
50023 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
50024 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50025 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
50028 COND_MONOLITHIC_0_USE_QA_1
="#"
50029 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50030 COND_MONOLITHIC_0_USE_QA_1
=""
50033 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
50034 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50035 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
50038 COND_MONOLITHIC_0_USE_STC_1
="#"
50039 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50040 COND_MONOLITHIC_0_USE_STC_1
=""
50043 COND_MONOLITHIC_0_USE_XRC_1
="#"
50044 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50045 COND_MONOLITHIC_0_USE_XRC_1
=""
50048 COND_MONOLITHIC_1
="#"
50049 if test "x$MONOLITHIC" = "x1" ; then
50050 COND_MONOLITHIC_1
=""
50053 COND_MONOLITHIC_1_SHARED_0
="#"
50054 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50055 COND_MONOLITHIC_1_SHARED_0
=""
50058 COND_MONOLITHIC_1_SHARED_1
="#"
50059 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50060 COND_MONOLITHIC_1_SHARED_1
=""
50063 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50064 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50065 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50068 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50069 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50070 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50073 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50074 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50075 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50078 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50079 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50080 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50083 COND_PLATFORM_MACOSX_1
="#"
50084 if test "x$PLATFORM_MACOSX" = "x1" ; then
50085 COND_PLATFORM_MACOSX_1
=""
50088 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
50089 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50090 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
50093 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50094 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50095 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50098 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50099 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50100 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50103 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50104 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50105 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50108 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50109 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50110 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50113 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50114 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50115 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50118 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
50119 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50120 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
50123 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50124 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50125 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50128 COND_PLATFORM_MACOS_1
="#"
50129 if test "x$PLATFORM_MACOS" = "x1" ; then
50130 COND_PLATFORM_MACOS_1
=""
50133 COND_PLATFORM_MAC_0
="#"
50134 if test "x$PLATFORM_MAC" = "x0" ; then
50135 COND_PLATFORM_MAC_0
=""
50138 COND_PLATFORM_MAC_1
="#"
50139 if test "x$PLATFORM_MAC" = "x1" ; then
50140 COND_PLATFORM_MAC_1
=""
50143 COND_PLATFORM_MSDOS_0
="#"
50144 if test "x$PLATFORM_MSDOS" = "x0" ; then
50145 COND_PLATFORM_MSDOS_0
=""
50148 COND_PLATFORM_MSDOS_1
="#"
50149 if test "x$PLATFORM_MSDOS" = "x1" ; then
50150 COND_PLATFORM_MSDOS_1
=""
50153 COND_PLATFORM_OS2_1
="#"
50154 if test "x$PLATFORM_OS2" = "x1" ; then
50155 COND_PLATFORM_OS2_1
=""
50158 COND_PLATFORM_UNIX_0
="#"
50159 if test "x$PLATFORM_UNIX" = "x0" ; then
50160 COND_PLATFORM_UNIX_0
=""
50163 COND_PLATFORM_UNIX_1
="#"
50164 if test "x$PLATFORM_UNIX" = "x1" ; then
50165 COND_PLATFORM_UNIX_1
=""
50168 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50169 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50170 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50173 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50174 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50175 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50178 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50179 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50180 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50183 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50184 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50185 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50188 COND_PLATFORM_WIN32_0
="#"
50189 if test "x$PLATFORM_WIN32" = "x0" ; then
50190 COND_PLATFORM_WIN32_0
=""
50193 COND_PLATFORM_WIN32_1
="#"
50194 if test "x$PLATFORM_WIN32" = "x1" ; then
50195 COND_PLATFORM_WIN32_1
=""
50199 if test "x$SHARED" = "x0" ; then
50203 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50204 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50205 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50208 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50209 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50210 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50213 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50214 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50215 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50218 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50219 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50220 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50223 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50224 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50225 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50228 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50229 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50230 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50233 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50234 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50235 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50238 COND_SHARED_0_USE_STC_1
="#"
50239 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50240 COND_SHARED_0_USE_STC_1
=""
50243 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50244 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50245 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50248 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50249 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50250 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50253 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50254 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50255 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50259 if test "x$SHARED" = "x1" ; then
50263 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50264 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50265 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50269 if test "x$TOOLKIT" = "x" ; then
50273 COND_TOOLKIT_COCOA
="#"
50274 if test "x$TOOLKIT" = "xCOCOA" ; then
50275 COND_TOOLKIT_COCOA
=""
50278 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50279 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50280 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50283 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50284 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50285 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50288 COND_TOOLKIT_DFB
="#"
50289 if test "x$TOOLKIT" = "xDFB" ; then
50290 COND_TOOLKIT_DFB
=""
50293 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50294 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50295 COND_TOOLKIT_DFB_USE_GUI_1
=""
50298 COND_TOOLKIT_GTK
="#"
50299 if test "x$TOOLKIT" = "xGTK" ; then
50300 COND_TOOLKIT_GTK
=""
50303 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50304 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50305 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50308 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50309 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50310 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50313 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50314 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50315 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50318 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50319 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50320 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50323 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50324 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50325 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50328 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50329 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50330 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50333 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50334 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50335 COND_TOOLKIT_GTK_USE_GUI_1
=""
50338 COND_TOOLKIT_MAC
="#"
50339 if test "x$TOOLKIT" = "xMAC" ; then
50340 COND_TOOLKIT_MAC
=""
50343 COND_TOOLKIT_MGL
="#"
50344 if test "x$TOOLKIT" = "xMGL" ; then
50345 COND_TOOLKIT_MGL
=""
50348 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50349 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50350 COND_TOOLKIT_MGL_USE_GUI_1
=""
50353 COND_TOOLKIT_MOTIF
="#"
50354 if test "x$TOOLKIT" = "xMOTIF" ; then
50355 COND_TOOLKIT_MOTIF
=""
50358 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50359 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50360 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50363 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50364 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50365 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50368 COND_TOOLKIT_MSW
="#"
50369 if test "x$TOOLKIT" = "xMSW" ; then
50370 COND_TOOLKIT_MSW
=""
50373 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50374 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50375 COND_TOOLKIT_MSW_USE_GUI_1
=""
50378 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50379 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50380 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50383 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50384 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50385 COND_TOOLKIT_MSW_WXUNIV_0
=""
50388 COND_TOOLKIT_OSX_CARBON
="#"
50389 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50390 COND_TOOLKIT_OSX_CARBON
=""
50393 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50394 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50395 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50398 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50399 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50400 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50403 COND_TOOLKIT_OSX_COCOA
="#"
50404 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50405 COND_TOOLKIT_OSX_COCOA
=""
50408 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50409 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50410 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50413 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50414 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50415 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50418 COND_TOOLKIT_OSX_IPHONE
="#"
50419 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50420 COND_TOOLKIT_OSX_IPHONE
=""
50423 COND_TOOLKIT_PM
="#"
50424 if test "x$TOOLKIT" = "xPM" ; then
50428 COND_TOOLKIT_PM_USE_GUI_1
="#"
50429 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50430 COND_TOOLKIT_PM_USE_GUI_1
=""
50433 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50434 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50435 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50438 COND_TOOLKIT_WINCE
="#"
50439 if test "x$TOOLKIT" = "xWINCE" ; then
50440 COND_TOOLKIT_WINCE
=""
50443 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50444 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50445 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50448 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50449 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50450 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50453 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50454 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50455 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50458 COND_TOOLKIT_X11
="#"
50459 if test "x$TOOLKIT" = "xX11" ; then
50460 COND_TOOLKIT_X11
=""
50463 COND_TOOLKIT_X11_USE_GUI_1
="#"
50464 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50465 COND_TOOLKIT_X11_USE_GUI_1
=""
50469 if test "x$UNICODE" = "x1" ; then
50473 COND_USE_EXCEPTIONS_0
="#"
50474 if test "x$USE_EXCEPTIONS" = "x0" ; then
50475 COND_USE_EXCEPTIONS_0
=""
50478 COND_USE_EXCEPTIONS_1
="#"
50479 if test "x$USE_EXCEPTIONS" = "x1" ; then
50480 COND_USE_EXCEPTIONS_1
=""
50484 if test "x$USE_GUI" = "x0" ; then
50489 if test "x$USE_GUI" = "x1" ; then
50493 COND_USE_GUI_1_USE_OPENGL_1
="#"
50494 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50495 COND_USE_GUI_1_USE_OPENGL_1
=""
50498 COND_USE_GUI_1_WXUNIV_0
="#"
50499 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50500 COND_USE_GUI_1_WXUNIV_0
=""
50503 COND_USE_GUI_1_WXUNIV_1
="#"
50504 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50505 COND_USE_GUI_1_WXUNIV_1
=""
50508 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50509 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50510 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50513 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50514 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50515 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50518 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50519 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50520 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50523 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50524 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50525 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50528 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50529 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50530 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50533 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50534 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50535 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50538 COND_USE_OPENGL_1
="#"
50539 if test "x$USE_OPENGL" = "x1" ; then
50540 COND_USE_OPENGL_1
=""
50544 if test "x$USE_PCH" = "x1" ; then
50548 COND_USE_PLUGINS_0
="#"
50549 if test "x$USE_PLUGINS" = "x0" ; then
50550 COND_USE_PLUGINS_0
=""
50553 COND_USE_RTTI_0
="#"
50554 if test "x$USE_RTTI" = "x0" ; then
50558 COND_USE_RTTI_1
="#"
50559 if test "x$USE_RTTI" = "x1" ; then
50563 COND_USE_SOSYMLINKS_1
="#"
50564 if test "x$USE_SOSYMLINKS" = "x1" ; then
50565 COND_USE_SOSYMLINKS_1
=""
50568 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50569 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50570 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50573 COND_USE_SOVERLINUX_1
="#"
50574 if test "x$USE_SOVERLINUX" = "x1" ; then
50575 COND_USE_SOVERLINUX_1
=""
50578 COND_USE_SOVERSION_0
="#"
50579 if test "x$USE_SOVERSION" = "x0" ; then
50580 COND_USE_SOVERSION_0
=""
50583 COND_USE_SOVERSOLARIS_1
="#"
50584 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50585 COND_USE_SOVERSOLARIS_1
=""
50589 if test "x$USE_STC" = "x1" ; then
50593 COND_USE_THREADS_0
="#"
50594 if test "x$USE_THREADS" = "x0" ; then
50595 COND_USE_THREADS_0
=""
50598 COND_USE_THREADS_1
="#"
50599 if test "x$USE_THREADS" = "x1" ; then
50600 COND_USE_THREADS_1
=""
50604 if test "x$USE_XRC" = "x1" ; then
50608 COND_WINDOWS_IMPLIB_1
="#"
50609 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50610 COND_WINDOWS_IMPLIB_1
=""
50613 COND_WITH_PLUGIN_SDL_1
="#"
50614 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50615 COND_WITH_PLUGIN_SDL_1
=""
50619 if test "x$WXUNIV" = "x0" ; then
50624 if test "x$WXUNIV" = "x1" ; then
50628 COND_WXUSE_EXPAT_BUILTIN
="#"
50629 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50630 COND_WXUSE_EXPAT_BUILTIN
=""
50633 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50634 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50635 COND_WXUSE_LIBJPEG_BUILTIN
=""
50638 COND_WXUSE_LIBPNG_BUILTIN
="#"
50639 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50640 COND_WXUSE_LIBPNG_BUILTIN
=""
50643 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50644 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50645 COND_WXUSE_LIBTIFF_BUILTIN
=""
50648 COND_WXUSE_REGEX_BUILTIN
="#"
50649 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50650 COND_WXUSE_REGEX_BUILTIN
=""
50653 COND_WXUSE_ZLIB_BUILTIN
="#"
50654 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50655 COND_WXUSE_ZLIB_BUILTIN
=""
50658 COND_wxUSE_EXPAT_builtin
="#"
50659 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50660 COND_wxUSE_EXPAT_builtin
=""
50663 COND_wxUSE_LIBJPEG_builtin
="#"
50664 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50665 COND_wxUSE_LIBJPEG_builtin
=""
50668 COND_wxUSE_LIBPNG_builtin
="#"
50669 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50670 COND_wxUSE_LIBPNG_builtin
=""
50673 COND_wxUSE_LIBTIFF_builtin
="#"
50674 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50675 COND_wxUSE_LIBTIFF_builtin
=""
50678 COND_wxUSE_REGEX_builtin
="#"
50679 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50680 COND_wxUSE_REGEX_builtin
=""
50683 COND_wxUSE_ZLIB_builtin
="#"
50684 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50685 COND_wxUSE_ZLIB_builtin
=""
50690 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50691 { { 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
50692 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;}
50693 { (exit 1); exit 1; }; }
50696 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50697 { { 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
50698 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;}
50699 { (exit 1); exit 1; }; }
50706 ?
:* ) # Drive letter, considered as absolute.
50709 INSTALL
=`pwd`/${INSTALL} ;;
50712 if test "$wxUSE_GUI" = "yes"; then
50714 if test "$wxUSE_MSW" = 1 ; then
50715 if test "x$WINDRES" = "x"; then
50716 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50717 echo "$as_me: error: Required windres program not found" >&2;}
50718 { (exit 1); exit 1; }; }
50724 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50725 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50726 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50728 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50730 # Extract the first word of "DeRez", so it can be a program name with args.
50731 set dummy DeRez
; ac_word
=$2
50732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50734 if test "${ac_cv_prog_DEREZ+set}" = set; then
50735 echo $ECHO_N "(cached) $ECHO_C" >&6
50737 if test -n "$DEREZ"; then
50738 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50741 for as_dir
in $PATH
50744 test -z "$as_dir" && as_dir
=.
50745 for ac_exec_ext
in '' $ac_executable_extensions; do
50746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50747 ac_cv_prog_DEREZ
="DeRez"
50748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50755 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50758 DEREZ
=$ac_cv_prog_DEREZ
50759 if test -n "$DEREZ"; then
50760 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50761 echo "${ECHO_T}$DEREZ" >&6; }
50763 { echo "$as_me:$LINENO: result: no" >&5
50764 echo "${ECHO_T}no" >&6; }
50769 MACSETFILE
="\$(SETFILE)"
50771 if test "$wxUSE_OSX_CARBON" = 1; then
50772 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50774 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50776 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50777 RESCOMP
="cat /dev/null \| $REZ"
50778 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50784 if test "$wxUSE_PM" = 1; then
50786 WXCONFIG_RESFLAGS
="-ep"
50788 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50790 POSTLINK_COMMAND
="@true"
50797 if test $GCC_PCH = 1
50799 if test "$wx_cv_gcc_pch_bug" = yes; then
50800 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50801 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50802 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50803 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50804 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50805 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50808 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50809 # the headers that benefit from precompilation are mostly C++ headers.
50810 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50811 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50812 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50816 if test "$wxUSE_MAC" = 1 ; then
50817 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50818 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50824 if test "$wxUSE_SHARED" = "yes"; then
50826 *-pc-os2_emx | *-pc-os2-emx )
50827 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50828 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50829 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50830 cp -p ${srcdir}/src
/os
2/dllar.sh .
50834 if test "$wxUSE_OMF" = "yes"; then
50836 *-pc-os2_emx | *-pc-os2-emx )
50837 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50838 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50839 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50844 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50849 if test "$GCC" = yes; then
50850 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50851 LIBS
=`echo $LIBS | sed 's/-mt//'`
50852 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50857 if test "x$SUNCXX" = xyes
; then
50858 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50859 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50860 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50865 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50866 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50867 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50868 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50870 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50931 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50932 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50933 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50934 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50935 echo $ECHO_N "(cached) $ECHO_C" >&6
50937 cat >conftest.
make <<\_ACEOF
50940 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50942 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50943 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50944 *@@@
%%%=?
*=@@@
%%%*)
50945 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50947 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50949 rm -f conftest.
make
50951 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50952 { echo "$as_me:$LINENO: result: yes" >&5
50953 echo "${ECHO_T}yes" >&6; }
50956 { echo "$as_me:$LINENO: result: no" >&5
50957 echo "${ECHO_T}no" >&6; }
50958 SET_MAKE
="MAKE=${MAKE-make}"
50963 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50966 if test "$USE_WIN32" = 1; then
50967 ac_config_commands
="$ac_config_commands
50973 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50976 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50979 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50982 if test "$wx_cv_version_script" = "yes"; then
50983 ac_config_files
="$ac_config_files version-script"
50986 ac_config_files
="$ac_config_files Makefile"
50989 ac_config_commands
="$ac_config_commands wx-config"
50993 if test "$wxWITH_SUBDIRS" != "no"; then
50994 if test "$wxUSE_GUI" = "yes"; then
50995 SUBDIRS
="samples demos utils"
50997 SUBDIRS
="samples utils"
51002 # Check whether --with-cppunit-prefix was given.
51003 if test "${with_cppunit_prefix+set}" = set; then
51004 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
51006 cppunit_config_prefix
=""
51010 # Check whether --with-cppunit-exec-prefix was given.
51011 if test "${with_cppunit_exec_prefix+set}" = set; then
51012 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
51014 cppunit_config_exec_prefix
=""
51018 if test x
$cppunit_config_exec_prefix != x
; then
51019 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51020 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51021 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
51024 if test x
$cppunit_config_prefix != x
; then
51025 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
51026 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51027 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
51031 # Extract the first word of "cppunit-config", so it can be a program name with args.
51032 set dummy cppunit
-config; ac_word
=$2
51033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51035 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51036 echo $ECHO_N "(cached) $ECHO_C" >&6
51038 case $CPPUNIT_CONFIG in
51040 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51044 for as_dir
in $PATH
51047 test -z "$as_dir" && as_dir
=.
51048 for ac_exec_ext
in '' $ac_executable_extensions; do
51049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51050 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
51051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51058 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
51062 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
51063 if test -n "$CPPUNIT_CONFIG"; then
51064 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51065 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51067 { echo "$as_me:$LINENO: result: no" >&5
51068 echo "${ECHO_T}no" >&6; }
51072 cppunit_version_min
=1.8.0
51074 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51075 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51077 if test "$CPPUNIT_CONFIG" = "no" ; then
51078 { echo "$as_me:$LINENO: result: no" >&5
51079 echo "${ECHO_T}no" >&6; }
51082 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
51083 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
51084 cppunit_version
=`$CPPUNIT_CONFIG --version`
51086 cppunit_major_version
=`echo $cppunit_version | \
51087 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51088 cppunit_minor_version
=`echo $cppunit_version | \
51089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51090 cppunit_micro_version
=`echo $cppunit_version | \
51091 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51093 cppunit_major_min
=`echo $cppunit_version_min | \
51094 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51095 cppunit_minor_min
=`echo $cppunit_version_min | \
51096 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51097 cppunit_micro_min
=`echo $cppunit_version_min | \
51098 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51100 cppunit_version_proper
=`expr \
51101 $cppunit_major_version \> $cppunit_major_min \| \
51102 $cppunit_major_version \= $cppunit_major_min \& \
51103 $cppunit_minor_version \> $cppunit_minor_min \| \
51104 $cppunit_major_version \= $cppunit_major_min \& \
51105 $cppunit_minor_version \= $cppunit_minor_min \& \
51106 $cppunit_micro_version \>= $cppunit_micro_min `
51108 if test "$cppunit_version_proper" = "1" ; then
51109 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51110 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51112 { echo "$as_me:$LINENO: result: no" >&5
51113 echo "${ECHO_T}no" >&6; }
51118 if test "x$no_cppunit" = x
; then
51119 SUBDIRS
="$SUBDIRS tests"
51130 for subdir
in $SUBDIRS; do
51131 if test -d ${srcdir}/${subdir} ; then
51132 if test "$wxUSE_GUI" = "yes"; then
51133 if test ${subdir} = "samples"; then
51134 makefiles
="samples/Makefile.in $makefiles"
51135 for sample
in $SAMPLES_SUBDIRS; do
51136 if test -d $srcdir/samples
/$sample; then
51137 makefiles
="samples/$sample/Makefile.in $makefiles"
51141 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
51142 eval "disabled=\$$disabled_var"
51143 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51144 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51147 if test ${subdir} = "samples"; then
51148 makefiles
="samples/Makefile.in $makefiles"
51149 for sample
in `echo $SAMPLES_SUBDIRS`; do
51150 if test -d $srcdir/samples
/$sample; then
51151 makefiles
="samples/$sample/Makefile.in $makefiles"
51154 elif test ${subdir} = "utils"; then
51156 for util
in ifacecheck
; do
51157 if test -d $srcdir/utils
/$util ; then
51158 makefiles
="utils/$util/src/Makefile.in \
51163 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51167 for mkin
in $makefiles ; do
51168 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51169 ac_config_files
="$ac_config_files $mk"
51175 cat >confcache
<<\_ACEOF
51176 # This file is a shell script that caches the results of configure
51177 # tests run on this system so they can be shared between configure
51178 # scripts and configure runs, see configure's option --config-cache.
51179 # It is not useful on other systems. If it contains results you don't
51180 # want to keep, you may remove or edit it.
51182 # config.status only pays attention to the cache file if you give it
51183 # the --recheck option to rerun configure.
51185 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51186 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51187 # following values.
51191 # The following way of writing the cache mishandles newlines in values,
51192 # but we know of no workaround that is simple, portable, and efficient.
51193 # So, we kill variables containing newlines.
51194 # Ultrix sh set writes to stderr and can't be redirected directly,
51195 # and sets the high bit in the cache file unless we assign to the vars.
51197 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51198 eval ac_val
=\$
$ac_var
51202 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51203 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51206 _
| IFS
| as_nl
) ;; #(
51207 *) $as_unset $ac_var ;;
51213 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51214 *${as_nl}ac_space
=\
*)
51215 # `set' does not quote correctly, so add quotes (double-quote
51216 # substitution turns \\\\ into \\, and sed turns \\ into \).
51219 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51222 # `set' quotes correctly as required by POSIX, so do not add quotes.
51223 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51232 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51234 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51236 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51237 if test -w "$cache_file"; then
51238 test "x$cache_file" != "x/dev/null" &&
51239 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51240 echo "$as_me: updating cache $cache_file" >&6;}
51241 cat confcache
>$cache_file
51243 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51244 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51249 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51250 # Let make expand exec_prefix.
51251 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51253 DEFS
=-DHAVE_CONFIG_H
51257 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51258 # 1. Remove the extension, and $U if already installed.
51259 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51260 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51261 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51262 # will be set to the directory where LIBOBJS objects are built.
51263 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51264 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51266 LIBOBJS
=$ac_libobjs
51268 LTLIBOBJS
=$ac_ltlibobjs
51272 : ${CONFIG_STATUS=./config.status}
51273 ac_clean_files_save
=$ac_clean_files
51274 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51275 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51276 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51277 cat >$CONFIG_STATUS <<_ACEOF
51279 # Generated by $as_me.
51280 # Run this file to recreate the current configuration.
51281 # Compiler output produced by configure, useful for debugging
51282 # configure, is in config.log if it exists.
51285 ac_cs_recheck=false
51287 SHELL=\${CONFIG_SHELL-$SHELL}
51290 cat >>$CONFIG_STATUS <<\_ACEOF
51291 ## --------------------- ##
51292 ## M4sh Initialization. ##
51293 ## --------------------- ##
51295 # Be more Bourne compatible
51296 DUALCASE
=1; export DUALCASE
# for MKS sh
51297 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51300 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51301 # is contrary to our usage. Disable this feature.
51302 alias -g '${1+"$@"}'='"$@"'
51303 setopt NO_GLOB_SUBST
51305 case `(set -o) 2>/dev/null` in
51306 *posix
*) set -o posix
;;
51315 # Avoid depending upon Character Ranges.
51316 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51317 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51318 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51319 as_cr_digits
='0123456789'
51320 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51322 # The user is always right.
51323 if test "${PATH_SEPARATOR+set}" != set; then
51324 echo "#! /bin/sh" >conf$$.sh
51325 echo "exit 0" >>conf$$.sh
51327 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51335 # Support unset when possible.
51336 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51344 # We need space, tab and new line, in precisely that order. Quoting is
51345 # there to prevent editors from complaining about space-tab.
51346 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51347 # splitting by setting IFS to empty value.)
51352 # Find who we are. Look in the path if we contain no directory separator.
51354 *[\\/]* ) as_myself
=$0 ;;
51355 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51356 for as_dir
in $PATH
51359 test -z "$as_dir" && as_dir
=.
51360 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51366 # We did not find ourselves, most probably we were run as `sh COMMAND'
51367 # in which case we are not to be found in the path.
51368 if test "x$as_myself" = x
; then
51371 if test ! -f "$as_myself"; then
51372 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51373 { (exit 1); exit 1; }
51376 # Work around bugs in pre-3.0 UWIN ksh.
51377 for as_var
in ENV MAIL MAILPATH
51378 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51386 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51387 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51388 LC_TELEPHONE LC_TIME
51390 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51391 eval $as_var=C
; export $as_var
51393 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51397 # Required to use basename.
51398 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51399 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51405 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51406 as_basename
=basename
51412 # Name of the executable.
51413 as_me
=`$as_basename -- "$0" ||
51414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51415 X"$0" : 'X\(//\)$' \| \
51416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51418 sed '/^.*\/\([^/][^/]*\)\/*$/{
51437 as_lineno_1
=$LINENO
51438 as_lineno_2
=$LINENO
51439 test "x$as_lineno_1" != "x$as_lineno_2" &&
51440 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51442 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51443 # uniformly replaced by the line number. The first 'sed' inserts a
51444 # line-number line after each line using $LINENO; the second 'sed'
51445 # does the real work. The second script uses 'N' to pair each
51446 # line-number line with the line containing $LINENO, and appends
51447 # trailing '-' during substitution so that $LINENO is not a special
51448 # case at line end.
51449 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51450 # scripts with optimization help from Paolo Bonzini. Blame Lee
51451 # E. McMahon (1931-1989) for sed's syntax. :-)
51463 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51466 ' >$as_me.lineno
&&
51467 chmod +x
"$as_me.lineno" ||
51468 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51469 { (exit 1); exit 1; }; }
51471 # Don't try to exec as it changes $[0], causing all sort of problems
51472 # (the dirname of $[0] is not the place where we might find the
51473 # original and so on. Autoconf is especially sensitive to this).
51474 .
"./$as_me.lineno"
51475 # Exit status is that of the last command.
51480 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51486 ECHO_C
= ECHO_N
= ECHO_T
=
51487 case `echo -n x` in
51489 case `echo 'x\c'` in
51490 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51497 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51498 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51504 rm -f conf$$ conf$$.exe conf$$.
file
51505 if test -d conf$$.dir
; then
51506 rm -f conf$$.dir
/conf$$.
file
51512 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51514 # ... but there are two gotchas:
51515 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51516 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51517 # In both cases, we have to default to `cp -p'.
51518 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51520 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51525 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51526 rmdir conf$$.dir
2>/dev
/null
51528 if mkdir -p .
2>/dev
/null
; then
51531 test -d .
/-p && rmdir .
/-p
51535 if test -x / >/dev
/null
2>&1; then
51536 as_test_x
='test -x'
51538 if ls -dL / >/dev
/null
2>&1; then
51545 if test -d "$1"; then
51551 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51552 ???[sx]*):;;*)false;;esac;fi
51556 as_executable_p
=$as_test_x
51558 # Sed expression to map a string onto a valid CPP name.
51559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51561 # Sed expression to map a string onto a valid variable name.
51562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51567 # Save the log message, to keep $[0] and so on meaningful, and to
51568 # report actual input values of CONFIG_FILES etc. instead of their
51569 # values after options handling.
51571 This file was extended by wxWidgets $as_me 2.9.0, which was
51572 generated by GNU Autoconf 2.61. Invocation command line was
51574 CONFIG_FILES = $CONFIG_FILES
51575 CONFIG_HEADERS = $CONFIG_HEADERS
51576 CONFIG_LINKS = $CONFIG_LINKS
51577 CONFIG_COMMANDS = $CONFIG_COMMANDS
51580 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51585 cat >>$CONFIG_STATUS <<_ACEOF
51586 # Files that config.status was made for.
51587 config_files="$ac_config_files"
51588 config_headers="$ac_config_headers"
51589 config_commands="$ac_config_commands"
51593 cat >>$CONFIG_STATUS <<\_ACEOF
51595 \`$as_me' instantiates files from templates according to the
51596 current configuration.
51598 Usage: $0 [OPTIONS] [FILE]...
51600 -h, --help print this help, then exit
51601 -V, --version print version number and configuration settings, then exit
51602 -q, --quiet do not print progress messages
51603 -d, --debug don't remove temporary files
51604 --recheck update $as_me by reconfiguring in the same conditions
51605 --file=FILE[:TEMPLATE]
51606 instantiate the configuration file FILE
51607 --header=FILE[:TEMPLATE]
51608 instantiate the configuration header FILE
51610 Configuration files:
51613 Configuration headers:
51616 Configuration commands:
51619 Report bugs to <bug-autoconf@gnu.org>."
51622 cat >>$CONFIG_STATUS <<_ACEOF
51624 wxWidgets config.status 2.9.0
51625 configured by $0, generated by GNU Autoconf 2.61,
51626 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51628 Copyright (C) 2006 Free Software Foundation, Inc.
51629 This config.status script is free software; the Free Software Foundation
51630 gives unlimited permission to copy, distribute and modify it."
51637 cat >>$CONFIG_STATUS <<\_ACEOF
51638 # If no file are specified by the user, then we need to provide default
51639 # value. By we need to know if files were specified by the user.
51645 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51646 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51657 # Handling of the options.
51658 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51660 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51661 echo "$ac_cs_version"; exit ;;
51662 --debug | --debu | --deb | --de | --d | -d )
51664 --file | --fil | --fi | --f )
51666 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51667 ac_need_defaults
=false
;;
51668 --header | --heade | --head | --hea )
51670 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51671 ac_need_defaults
=false
;;
51673 # Conflict between --help and --header
51674 { echo "$as_me: error: ambiguous option: $1
51675 Try \`$0 --help' for more information." >&2
51676 { (exit 1); exit 1; }; };;
51677 --help | --hel | -h )
51678 echo "$ac_cs_usage"; exit ;;
51679 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51680 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51683 # This is an error.
51684 -*) { echo "$as_me: error: unrecognized option: $1
51685 Try \`$0 --help' for more information." >&2
51686 { (exit 1); exit 1; }; } ;;
51688 *) ac_config_targets
="$ac_config_targets $1"
51689 ac_need_defaults
=false
;;
51695 ac_configure_extra_args
=
51697 if $ac_cs_silent; then
51699 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51703 cat >>$CONFIG_STATUS <<_ACEOF
51704 if \$ac_cs_recheck; then
51705 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51706 CONFIG_SHELL=$SHELL
51707 export CONFIG_SHELL
51708 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51712 cat >>$CONFIG_STATUS <<\_ACEOF
51716 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51717 ## Running $as_me. ##
51723 cat >>$CONFIG_STATUS <<_ACEOF
51729 infile="$srcdir/include/wx/msw/genrcdefs.h"
51730 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51733 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51734 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51735 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51741 cat >>$CONFIG_STATUS <<\_ACEOF
51743 # Handling of arguments.
51744 for ac_config_target
in $ac_config_targets
51746 case $ac_config_target in
51747 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51748 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51749 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51750 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51751 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51752 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51753 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51754 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51755 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51757 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51758 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51759 { (exit 1); exit 1; }; };;
51764 # If the user did not use the arguments to specify the items to instantiate,
51765 # then the envvar interface is used. Set only those that are not.
51766 # We use the long form for the default assignment because of an extremely
51767 # bizarre bug on SunOS 4.1.3.
51768 if $ac_need_defaults; then
51769 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51770 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51771 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51774 # Have a temporary directory for convenience. Make it in the build tree
51775 # simply because there is no reason against having it here, and in addition,
51776 # creating and moving files from /tmp can sometimes cause problems.
51777 # Hook for its removal unless debugging.
51778 # Note that there is a small window in which the directory will not be cleaned:
51779 # after its creation but before its name has been assigned to `$tmp'.
51783 trap 'exit_status=$?
51784 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51786 trap '{ (exit 1); exit 1; }' 1 2 13 15
51788 # Create a (secure) tmp directory for tmp files.
51791 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51792 test -n "$tmp" && test -d "$tmp"
51795 tmp
=.
/conf$$
-$RANDOM
51796 (umask 077 && mkdir "$tmp")
51799 echo "$me: cannot create a temporary directory in ." >&2
51800 { (exit 1); exit 1; }
51804 # Set up the sed scripts for CONFIG_FILES section.
51807 # No need to generate the scripts if there are no CONFIG_FILES.
51808 # This happens for instance when ./config.status config.h
51809 if test -n "$CONFIG_FILES"; then
51816 for ac_last_try
in false false false false false
:; do
51817 cat >conf$
$subs.
sed <<_ACEOF
51818 SHELL!$SHELL$ac_delim
51819 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51820 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51821 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51822 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51823 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51824 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51825 exec_prefix!$exec_prefix$ac_delim
51826 prefix!$prefix$ac_delim
51827 program_transform_name!$program_transform_name$ac_delim
51828 bindir!$bindir$ac_delim
51829 sbindir!$sbindir$ac_delim
51830 libexecdir!$libexecdir$ac_delim
51831 datarootdir!$datarootdir$ac_delim
51832 datadir!$datadir$ac_delim
51833 sysconfdir!$sysconfdir$ac_delim
51834 sharedstatedir!$sharedstatedir$ac_delim
51835 localstatedir!$localstatedir$ac_delim
51836 includedir!$includedir$ac_delim
51837 oldincludedir!$oldincludedir$ac_delim
51838 docdir!$docdir$ac_delim
51839 infodir!$infodir$ac_delim
51840 htmldir!$htmldir$ac_delim
51841 dvidir!$dvidir$ac_delim
51842 pdfdir!$pdfdir$ac_delim
51843 psdir!$psdir$ac_delim
51844 libdir!$libdir$ac_delim
51845 localedir!$localedir$ac_delim
51846 mandir!$mandir$ac_delim
51847 DEFS!$DEFS$ac_delim
51848 ECHO_C!$ECHO_C$ac_delim
51849 ECHO_N!$ECHO_N$ac_delim
51850 ECHO_T!$ECHO_T$ac_delim
51851 LIBS!$LIBS$ac_delim
51852 build_alias!$build_alias$ac_delim
51853 host_alias!$host_alias$ac_delim
51854 target_alias!$target_alias$ac_delim
51855 build!$build$ac_delim
51856 build_cpu!$build_cpu$ac_delim
51857 build_vendor!$build_vendor$ac_delim
51858 build_os!$build_os$ac_delim
51859 host!$host$ac_delim
51860 host_cpu!$host_cpu$ac_delim
51861 host_vendor!$host_vendor$ac_delim
51862 host_os!$host_os$ac_delim
51863 target!$target$ac_delim
51864 target_cpu!$target_cpu$ac_delim
51865 target_vendor!$target_vendor$ac_delim
51866 target_os!$target_os$ac_delim
51867 wx_top_builddir!$wx_top_builddir$ac_delim
51869 CFLAGS!$CFLAGS$ac_delim
51870 LDFLAGS!$LDFLAGS$ac_delim
51871 CPPFLAGS!$CPPFLAGS$ac_delim
51872 ac_ct_CC!$ac_ct_CC$ac_delim
51873 EXEEXT!$EXEEXT$ac_delim
51874 OBJEXT!$OBJEXT$ac_delim
51876 GREP!$GREP$ac_delim
51877 EGREP!$EGREP$ac_delim
51879 CXXFLAGS!$CXXFLAGS$ac_delim
51880 ac_ct_CXX!$ac_ct_CXX$ac_delim
51882 subdirs!$subdirs$ac_delim
51883 PKG_CONFIG!$PKG_CONFIG$ac_delim
51884 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51885 GTK_LIBS!$GTK_LIBS$ac_delim
51886 GTK_CONFIG!$GTK_CONFIG$ac_delim
51887 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51888 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51889 XMKMF!$XMKMF$ac_delim
51890 X_CFLAGS!$X_CFLAGS$ac_delim
51891 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51892 X_LIBS!$X_LIBS$ac_delim
51893 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51894 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51895 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51896 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51897 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51898 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51899 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51900 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51901 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51902 LIBICONV!$LIBICONV$ac_delim
51903 GXX_VERSION!$GXX_VERSION$ac_delim
51904 SDL_CONFIG!$SDL_CONFIG$ac_delim
51905 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51906 SDL_LIBS!$SDL_LIBS$ac_delim
51907 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51908 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51909 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51910 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51911 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51912 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51913 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51914 HILDON_LIBS!$HILDON_LIBS$ac_delim
51917 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51919 elif $ac_last_try; then
51920 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51921 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51922 { (exit 1); exit 1; }; }
51924 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51928 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51929 if test -n "$ac_eof"; then
51930 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51931 ac_eof
=`expr $ac_eof + 1`
51934 cat >>$CONFIG_STATUS <<_ACEOF
51935 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51936 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51939 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51940 s/^/s,@/; s/!/@,|#_!!_#|/
51943 s/'"$ac_delim"'$/,g/; t
51945 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51946 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51947 rm -f conf$
$subs.
sed
51948 cat >>$CONFIG_STATUS <<_ACEOF
51954 for ac_last_try
in false false false false false
:; do
51955 cat >conf$
$subs.
sed <<_ACEOF
51956 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51957 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51958 GST_CFLAGS!$GST_CFLAGS$ac_delim
51959 GST_LIBS!$GST_LIBS$ac_delim
51960 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51961 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51962 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51963 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51964 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51965 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51966 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51967 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51968 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51969 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51970 VENDOR!$VENDOR$ac_delim
51971 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51972 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51973 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51974 WXUNIV!$WXUNIV$ac_delim
51975 MONOLITHIC!$MONOLITHIC$ac_delim
51976 USE_PLUGINS!$USE_PLUGINS$ac_delim
51977 CXXWARNINGS!$CXXWARNINGS$ac_delim
51978 EXTRALIBS!$EXTRALIBS$ac_delim
51979 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51980 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51981 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51982 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51983 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51984 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51985 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51986 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51987 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51988 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51989 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51990 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51991 UNICODE!$UNICODE$ac_delim
51992 BUILD!$BUILD$ac_delim
51993 DEBUG_INFO!$DEBUG_INFO$ac_delim
51994 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51995 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51996 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51997 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51998 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51999 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52000 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52001 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52002 RANLIB!$RANLIB$ac_delim
52003 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52004 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52005 INSTALL_DATA!$INSTALL_DATA$ac_delim
52006 LN_S!$LN_S$ac_delim
52007 SET_MAKE!$SET_MAKE$ac_delim
52008 MAKE_SET!$MAKE_SET$ac_delim
52009 AROPTIONS!$AROPTIONS$ac_delim
52010 STRIP!$STRIP$ac_delim
52012 INSTALL_DIR!$INSTALL_DIR$ac_delim
52013 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52014 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52015 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52016 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52017 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52018 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52019 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52020 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52021 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52022 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52023 SO_SUFFIX!$SO_SUFFIX$ac_delim
52024 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52025 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52026 LIBPREFIX!$LIBPREFIX$ac_delim
52027 LIBEXT!$LIBEXT$ac_delim
52028 DLLPREFIX!$DLLPREFIX$ac_delim
52029 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52030 dlldir!$dlldir$ac_delim
52031 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52032 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52033 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52034 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52035 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52036 PIC_FLAG!$PIC_FLAG$ac_delim
52037 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52038 USE_SOVERSION!$USE_SOVERSION$ac_delim
52039 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52040 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52041 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52042 USE_MACVERSION!$USE_MACVERSION$ac_delim
52043 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52044 SONAME_FLAG!$SONAME_FLAG$ac_delim
52045 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52046 BK_DEPS!$BK_DEPS$ac_delim
52047 WINDRES!$WINDRES$ac_delim
52049 SETFILE!$SETFILE$ac_delim
52050 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52051 GCC_PCH!$GCC_PCH$ac_delim
52052 ICC_PCH!$ICC_PCH$ac_delim
52055 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52057 elif $ac_last_try; then
52058 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52059 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52060 { (exit 1); exit 1; }; }
52062 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52066 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52067 if test -n "$ac_eof"; then
52068 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52069 ac_eof
=`expr $ac_eof + 1`
52072 cat >>$CONFIG_STATUS <<_ACEOF
52073 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52074 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52077 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52078 s/^/s,@/; s/!/@,|#_!!_#|/
52081 s/'"$ac_delim"'$/,g/; t
52083 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52084 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52085 rm -f conf$
$subs.
sed
52086 cat >>$CONFIG_STATUS <<_ACEOF
52092 for ac_last_try
in false false false false false
:; do
52093 cat >conf$
$subs.
sed <<_ACEOF
52094 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52095 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52096 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52097 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52098 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52099 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52100 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52101 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52102 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52103 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52104 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52105 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52106 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52107 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52108 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52109 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52110 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52111 COND_BUILD_release!$COND_BUILD_release$ac_delim
52112 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52113 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52114 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52115 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52116 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52117 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52118 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52119 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52120 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52121 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52122 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52123 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52124 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52125 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52126 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52127 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52128 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52129 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52130 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52131 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52132 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52133 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52134 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52135 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52136 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52137 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52138 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52139 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52140 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52141 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52142 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52143 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52144 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52145 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52146 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52147 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52148 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52149 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52150 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52151 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52152 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52153 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52154 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52155 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52156 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52157 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52158 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52159 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52160 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52161 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52162 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52163 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52164 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52165 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52166 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52167 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52168 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52169 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52170 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52171 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52172 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52173 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52174 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52175 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52176 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52177 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52178 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52179 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52180 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52181 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52182 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52183 COND_SHARED_0!$COND_SHARED_0$ac_delim
52184 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52185 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52186 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52187 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52188 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52189 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52190 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52193 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52195 elif $ac_last_try; then
52196 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52197 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52198 { (exit 1); exit 1; }; }
52200 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52204 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52205 if test -n "$ac_eof"; then
52206 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52207 ac_eof
=`expr $ac_eof + 1`
52210 cat >>$CONFIG_STATUS <<_ACEOF
52211 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52212 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52215 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52216 s/^/s,@/; s/!/@,|#_!!_#|/
52219 s/'"$ac_delim"'$/,g/; t
52221 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52222 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52223 rm -f conf$
$subs.
sed
52224 cat >>$CONFIG_STATUS <<_ACEOF
52230 for ac_last_try
in false false false false false
:; do
52231 cat >conf$
$subs.
sed <<_ACEOF
52232 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52233 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52234 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52235 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52236 COND_SHARED_1!$COND_SHARED_1$ac_delim
52237 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52238 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52239 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52240 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52241 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52242 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52243 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52244 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52245 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52246 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52247 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52248 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52249 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52250 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52251 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52252 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52253 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52254 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52255 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52256 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52257 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52258 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52259 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52260 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52261 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52262 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52263 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52264 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52265 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52266 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52267 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52268 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52269 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52270 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52271 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52272 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52273 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52274 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52275 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52276 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52277 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52278 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52279 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52280 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52281 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52282 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52283 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52284 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52285 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52286 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52287 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52288 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52289 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52290 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52291 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52292 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52293 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52294 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52295 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52296 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52297 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52298 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52299 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52300 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52301 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52302 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52303 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52304 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52305 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52306 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52307 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52308 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52309 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52310 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52311 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52312 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52313 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52314 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52315 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52316 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52317 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52318 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52319 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52320 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52321 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52322 DEREZ!$DEREZ$ac_delim
52323 SHARED!$SHARED$ac_delim
52324 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52325 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52326 USE_GUI!$USE_GUI$ac_delim
52327 AFMINSTALL!$AFMINSTALL$ac_delim
52328 WIN32INSTALL!$WIN32INSTALL$ac_delim
52331 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52333 elif $ac_last_try; then
52334 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52335 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52336 { (exit 1); exit 1; }; }
52338 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52342 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52343 if test -n "$ac_eof"; then
52344 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52345 ac_eof
=`expr $ac_eof + 1`
52348 cat >>$CONFIG_STATUS <<_ACEOF
52349 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52350 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52353 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52354 s/^/s,@/; s/!/@,|#_!!_#|/
52357 s/'"$ac_delim"'$/,g/; t
52359 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52360 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52361 rm -f conf$
$subs.
sed
52362 cat >>$CONFIG_STATUS <<_ACEOF
52368 for ac_last_try
in false false false false false
:; do
52369 cat >conf$
$subs.
sed <<_ACEOF
52370 TOOLKIT!$TOOLKIT$ac_delim
52371 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52372 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52373 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52374 cross_compiling!$cross_compiling$ac_delim
52375 WIDGET_SET!$WIDGET_SET$ac_delim
52376 WX_RELEASE!$WX_RELEASE$ac_delim
52377 WX_VERSION!$WX_VERSION$ac_delim
52378 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52379 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52380 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52381 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52382 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52383 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52384 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52385 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52386 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52387 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52388 GUIDIST!$GUIDIST$ac_delim
52389 DISTDIR!$DISTDIR$ac_delim
52390 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52391 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52392 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52393 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52394 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52395 RESCOMP!$RESCOMP$ac_delim
52396 RESFLAGS!$RESFLAGS$ac_delim
52397 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52398 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52399 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52400 LIBWXMACRES!$LIBWXMACRES$ac_delim
52401 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52402 MACSETFILE!$MACSETFILE$ac_delim
52404 DLLTOOL!$DLLTOOL$ac_delim
52405 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52406 LIBOBJS!$LIBOBJS$ac_delim
52407 LTLIBOBJS!$LTLIBOBJS$ac_delim
52410 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then
52412 elif $ac_last_try; then
52413 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52414 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52415 { (exit 1); exit 1; }; }
52417 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52421 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52422 if test -n "$ac_eof"; then
52423 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52424 ac_eof
=`expr $ac_eof + 1`
52427 cat >>$CONFIG_STATUS <<_ACEOF
52428 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52429 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52432 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52433 s/^/s,@/; s/!/@,|#_!!_#|/
52436 s/'"$ac_delim"'$/,g/; t
52438 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52439 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52440 rm -f conf$
$subs.
sed
52441 cat >>$CONFIG_STATUS <<_ACEOF
52448 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52449 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52450 # trailing colons and then remove the whole line if VPATH becomes empty
52451 # (actually we leave an empty line to preserve line numbers).
52452 if test "x$srcdir" = x.
; then
52453 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52454 s/:*\$(srcdir):*/:/
52455 s/:*\${srcdir}:*/:/
52457 s/^\([^=]*=[ ]*\):*/\1/
52463 cat >>$CONFIG_STATUS <<\_ACEOF
52464 fi # test -n "$CONFIG_FILES"
52467 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52470 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52472 case $ac_mode$ac_tag in
52474 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52475 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52476 { (exit 1); exit 1; }; };;
52477 :[FH
]-) ac_tag
=-:-;;
52478 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52495 -) ac_f
="$tmp/stdin";;
52496 *) # Look for the file first in the build tree, then in the source tree
52497 # (if the path is not absolute). The absolute path cannot be DOS-style,
52498 # because $ac_f cannot contain `:'.
52502 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52504 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52505 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52506 { (exit 1); exit 1; }; };;
52508 ac_file_inputs
="$ac_file_inputs $ac_f"
52511 # Let's still pretend it is `configure' which instantiates (i.e., don't
52512 # use $as_me), people would be surprised to read:
52513 # /* config.h. Generated by config.status. */
52514 configure_input
="Generated from "`IFS=:
52515 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52516 if test x
"$ac_file" != x
-; then
52517 configure_input
="$ac_file. $configure_input"
52518 { echo "$as_me:$LINENO: creating $ac_file" >&5
52519 echo "$as_me: creating $ac_file" >&6;}
52523 *:-:* | *:-) cat >"$tmp/stdin";;
52528 ac_dir
=`$as_dirname -- "$ac_file" ||
52529 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52530 X"$ac_file" : 'X\(//\)[^/]' \| \
52531 X"$ac_file" : 'X\(//\)$' \| \
52532 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52538 /^X\(\/\/\)[^/].*/{
52553 -*) as_dir
=.
/$as_dir;;
52555 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52559 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52560 *) as_qdir
=$as_dir;;
52562 as_dirs
="'$as_qdir' $as_dirs"
52563 as_dir
=`$as_dirname -- "$as_dir" ||
52564 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52565 X"$as_dir" : 'X\(//\)[^/]' \| \
52566 X"$as_dir" : 'X\(//\)$' \| \
52567 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52573 /^X\(\/\/\)[^/].*/{
52586 test -d "$as_dir" && break
52588 test -z "$as_dirs" || eval "mkdir $as_dirs"
52589 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52590 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52591 { (exit 1); exit 1; }; }; }
52595 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52597 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52598 # A ".." for each directory in $ac_dir_suffix.
52599 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52600 case $ac_top_builddir_sub in
52601 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52602 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52605 ac_abs_top_builddir
=$ac_pwd
52606 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52607 # for backward compatibility:
52608 ac_top_builddir
=$ac_top_build_prefix
52611 .
) # We are building in place.
52613 ac_top_srcdir
=$ac_top_builddir_sub
52614 ac_abs_top_srcdir
=$ac_pwd ;;
52615 [\\/]* | ?
:[\\/]* ) # Absolute name.
52616 ac_srcdir
=$srcdir$ac_dir_suffix;
52617 ac_top_srcdir
=$srcdir
52618 ac_abs_top_srcdir
=$srcdir ;;
52619 *) # Relative name.
52620 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52621 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52622 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52624 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52634 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52635 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52639 cat >>$CONFIG_STATUS <<\_ACEOF
52640 # If the template does not know about datarootdir, expand it.
52641 # FIXME: This hack should be removed a few years after 2.60.
52642 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52644 case `sed -n '/datarootdir/ {
52653 ' $ac_file_inputs` in
52654 *datarootdir
*) ac_datarootdir_seen
=yes;;
52655 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52656 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52657 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52659 cat >>$CONFIG_STATUS <<_ACEOF
52660 ac_datarootdir_hack='
52661 s&@datadir@&$datadir&g
52662 s&@docdir@&$docdir&g
52663 s&@infodir@&$infodir&g
52664 s&@localedir@&$localedir&g
52665 s&@mandir@&$mandir&g
52666 s&\\\${datarootdir}&$datarootdir&g' ;;
52670 # Neutralize VPATH when `$srcdir' = `.'.
52671 # Shell code in configure.ac might set extrasub.
52672 # FIXME: do we really want to maintain this feature?
52673 cat >>$CONFIG_STATUS <<_ACEOF
52677 cat >>$CONFIG_STATUS <<\_ACEOF
52679 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52680 s
&@configure_input@
&$configure_input&;t t
52681 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52682 s
&@srcdir@
&$ac_srcdir&;t t
52683 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52684 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52685 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52686 s
&@builddir@
&$ac_builddir&;t t
52687 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52688 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52689 s
&@INSTALL@
&$ac_INSTALL&;t t
52690 $ac_datarootdir_hack
52691 " $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
52693 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52694 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52695 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52696 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52697 which seems to be undefined. Please make sure it is defined." >&5
52698 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52699 which seems to be undefined. Please make sure it is defined." >&2;}
52703 -) cat "$tmp/out"; rm -f "$tmp/out";;
52704 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52713 # Transform confdefs.h into a sed script `conftest.defines', that
52714 # substitutes the proper values into config.h.in to produce config.h.
52715 rm -f conftest.defines conftest.
tail
52716 # First, append a space to every undef/define line, to ease matching.
52717 echo 's/$/ /' >conftest.defines
52718 # Then, protect against being on the right side of a sed subst, or in
52719 # an unquoted here document, in config.status. If some macros were
52720 # called several times there might be several #defines for the same
52721 # symbol, which is useless. But do not sort them, since the last
52722 # AC_DEFINE must be honored.
52723 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52724 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52725 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52726 # PARAMS is the parameter list in the macro definition--in most cases, it's
52727 # just an empty string.
52728 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52729 ac_dB
='\\)[ (].*,\\1define\\2'
52737 s/^[ ]*#[ ]*define[ ][ ]*//
52742 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52743 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52744 ' >>conftest.defines
52746 # Remove the space that was appended to ease matching.
52747 # Then replace #undef with comments. This is necessary, for
52748 # example, in the case of _POSIX_SOURCE, which is predefined and required
52749 # on some systems where configure will not decide to define it.
52750 # (The regexp can be short, since the line contains either #define or #undef.)
52752 s,^[ #]*u.*,/* & */,' >>conftest.defines
52754 # Break up conftest.defines:
52755 ac_max_sed_lines
=50
52757 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52758 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52759 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52761 ac_in
='$ac_file_inputs'
52762 ac_out
='"$tmp/out1"'
52763 ac_nxt
='"$tmp/out2"'
52767 # Write a here document:
52768 cat >>$CONFIG_STATUS <<_ACEOF
52769 # First, check the format of the line:
52770 cat >"\$tmp/defines.sed" <<\\CEOF
52771 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52772 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52776 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52778 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52779 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52780 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52781 grep . conftest.
tail >/dev
/null
|| break
52782 rm -f conftest.defines
52783 mv conftest.
tail conftest.defines
52785 rm -f conftest.defines conftest.
tail
52787 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52788 cat >>$CONFIG_STATUS <<\_ACEOF
52789 if test x
"$ac_file" != x
-; then
52790 echo "/* $configure_input */" >"$tmp/config.h"
52791 cat "$ac_result" >>"$tmp/config.h"
52792 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52793 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52794 echo "$as_me: $ac_file is unchanged" >&6;}
52797 mv "$tmp/config.h" $ac_file
52800 echo "/* $configure_input */"
52806 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52807 echo "$as_me: executing $ac_file commands" >&6;}
52812 case $ac_file$ac_mode in
52814 mkdir -p $outdir &&
52815 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52817 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52818 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52819 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52820 "wx-config":C
) rm -f wx
-config
52821 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52828 { (exit 0); exit 0; }
52830 chmod +x
$CONFIG_STATUS
52831 ac_clean_files
=$ac_clean_files_save
52834 # configure is writing to config.log, and then calls config.status.
52835 # config.status does its own redirection, appending to config.log.
52836 # Unfortunately, on DOS this fails, as config.log is still kept open
52837 # by configure, so config.status won't be able to write to it; its
52838 # output is simply discarded. So we exec the FD to /dev/null,
52839 # effectively closing config.log, so it can be properly (re)opened and
52840 # appended to by config.status. When coming back to configure, we
52841 # need to make the FD available again.
52842 if test "$no_create" != yes; then
52844 ac_config_status_args
=
52845 test "$silent" = yes &&
52846 ac_config_status_args
="$ac_config_status_args --quiet"
52848 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52850 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52851 # would make configure fail if this is the last instruction.
52852 $ac_cs_success || { (exit 1); exit 1; }
52856 # CONFIG_SUBDIRS section.
52858 if test "$no_recursion" != yes; then
52860 # Remove --cache-file and --srcdir arguments so they do not pile up.
52861 ac_sub_configure_args
=
52863 eval "set x $ac_configure_args"
52867 if test -n "$ac_prev"; then
52872 -cache-file | --cache-file | --cache-fil | --cache-fi \
52873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52874 ac_prev
=cache_file
;;
52875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52879 --config-cache | -C)
52881 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52883 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52885 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52887 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52891 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52893 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52897 # Always prepend --prefix to ensure using the same prefix
52898 # in subdir configurations.
52899 ac_arg
="--prefix=$prefix"
52901 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52903 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52906 if test "$silent" = yes; then
52907 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52911 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52913 # Do not complain, so a configure script can configure whichever
52914 # parts of a large source tree are present.
52915 test -d "$srcdir/$ac_dir" || continue
52917 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52918 echo "$as_me:$LINENO: $ac_msg" >&5
52922 -*) as_dir
=.
/$as_dir;;
52924 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52928 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52929 *) as_qdir
=$as_dir;;
52931 as_dirs
="'$as_qdir' $as_dirs"
52932 as_dir
=`$as_dirname -- "$as_dir" ||
52933 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52934 X"$as_dir" : 'X\(//\)[^/]' \| \
52935 X"$as_dir" : 'X\(//\)$' \| \
52936 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52942 /^X\(\/\/\)[^/].*/{
52955 test -d "$as_dir" && break
52957 test -z "$as_dirs" || eval "mkdir $as_dirs"
52958 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52959 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52960 { (exit 1); exit 1; }; }; }
52964 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52966 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52967 # A ".." for each directory in $ac_dir_suffix.
52968 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52969 case $ac_top_builddir_sub in
52970 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52971 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52974 ac_abs_top_builddir
=$ac_pwd
52975 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52976 # for backward compatibility:
52977 ac_top_builddir
=$ac_top_build_prefix
52980 .
) # We are building in place.
52982 ac_top_srcdir
=$ac_top_builddir_sub
52983 ac_abs_top_srcdir
=$ac_pwd ;;
52984 [\\/]* | ?
:[\\/]* ) # Absolute name.
52985 ac_srcdir
=$srcdir$ac_dir_suffix;
52986 ac_top_srcdir
=$srcdir
52987 ac_abs_top_srcdir
=$srcdir ;;
52988 *) # Relative name.
52989 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52990 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52991 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52993 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52998 # Check for guested configure; otherwise get Cygnus style configure.
52999 if test -f "$ac_srcdir/configure.gnu"; then
53000 ac_sub_configure
=$ac_srcdir/configure.gnu
53001 elif test -f "$ac_srcdir/configure"; then
53002 ac_sub_configure
=$ac_srcdir/configure
53003 elif test -f "$ac_srcdir/configure.in"; then
53004 # This should be Cygnus configure.
53005 ac_sub_configure
=$ac_aux_dir/configure
53007 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53008 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53012 # The recursion is here.
53013 if test -n "$ac_sub_configure"; then
53014 # Make the cache file name correct relative to the subdirectory.
53015 case $cache_file in
53016 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53017 *) # Relative name.
53018 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53021 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53022 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53023 # The eval makes quoting arguments work.
53024 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53025 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53026 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53027 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53028 { (exit 1); exit 1; }; }
53037 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53039 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53040 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53042 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53043 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53044 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53045 if test "$wxUSE_UNICODE" = "yes"; then
53046 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53047 echo " (using UTF-8)"
53049 echo " (using wchar_t)"
53055 echo " What level of wxWidgets compatibility should be enabled?"
53056 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53057 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53059 echo " Which libraries should wxWidgets use?"
53060 echo " STL ${wxUSE_STL}"
53061 echo " jpeg ${wxUSE_LIBJPEG-none}"
53062 echo " png ${wxUSE_LIBPNG-none}"
53063 echo " regex ${wxUSE_REGEX}"
53064 echo " tiff ${wxUSE_LIBTIFF-none}"
53065 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53066 echo " xpm ${wxUSE_LIBXPM-none}"
53068 echo " zlib ${wxUSE_ZLIB}"
53069 echo " expat ${wxUSE_EXPAT}"
53070 echo " libmspack ${wxUSE_LIBMSPACK}"
53071 echo " sdl ${wxUSE_LIBSDL}"