2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
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.1'
579 PACKAGE_STRING
='wxWidgets 2.9.1'
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
706 LIBGNOMEPRINTUI_CFLAGS
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_COCOA
943 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
944 COND_TOOLKIT_OSX_IPHONE
946 COND_TOOLKIT_PM_USE_GUI_1
947 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
949 COND_TOOLKIT_WINCE_USE_GUI_1
950 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_WINCE_WXUNIV_0
953 COND_TOOLKIT_X11_USE_GUI_1
955 COND_USE_EXCEPTIONS_0
956 COND_USE_EXCEPTIONS_1
959 COND_USE_GUI_1_USE_OPENGL_1
960 COND_USE_GUI_1_WXUNIV_0
961 COND_USE_GUI_1_WXUNIV_1
962 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
964 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
965 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
966 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
967 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
973 COND_USE_SOSYMLINKS_1
974 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
975 COND_USE_SOVERLINUX_1
977 COND_USE_SOVERSOLARIS_1
982 COND_WINDOWS_IMPLIB_1
983 COND_WITH_PLUGIN_SDL_1
986 COND_WXUSE_EXPAT_BUILTIN
987 COND_WXUSE_LIBJPEG_BUILTIN
988 COND_WXUSE_LIBPNG_BUILTIN
989 COND_WXUSE_LIBTIFF_BUILTIN
990 COND_WXUSE_REGEX_BUILTIN
991 COND_WXUSE_ZLIB_BUILTIN
992 COND_wxUSE_EXPAT_builtin
993 COND_wxUSE_LIBJPEG_builtin
994 COND_wxUSE_LIBPNG_builtin
995 COND_wxUSE_LIBTIFF_builtin
996 COND_wxUSE_REGEX_builtin
997 COND_wxUSE_ZLIB_builtin
1000 WX_LIBRARY_BASENAME_NOGUI
1001 WX_LIBRARY_BASENAME_GUI
1021 WXCONFIG_LDFLAGS_GUI
1033 WX_RESOURCES_MACOSX_ASCII
1034 WX_RESOURCES_MACOSX_DATA
1044 ac_precious_vars
='build_alias
1068 LIBGNOMEPRINTUI_CFLAGS
1069 LIBGNOMEPRINTUI_LIBS
1078 ac_subdirs_all
='src/tiff
1081 # Initialize some variables set by options.
1083 ac_init_version
=false
1084 # The variables have the same names as the options, with
1085 # dashes changed to underlines.
1086 cache_file
=/dev
/null
1093 program_transform_name
=s
,x
,x
,
1101 # Installation directory options.
1102 # These are left unexpanded so users can "make install exec_prefix=/foo"
1103 # and all the variables that are supposed to be based on exec_prefix
1104 # by default will actually change.
1105 # Use braces instead of parens because sh, perl, etc. also accept them.
1106 # (The list follows the same order as the GNU Coding Standards.)
1107 bindir
='${exec_prefix}/bin'
1108 sbindir
='${exec_prefix}/sbin'
1109 libexecdir
='${exec_prefix}/libexec'
1110 datarootdir
='${prefix}/share'
1111 datadir
='${datarootdir}'
1112 sysconfdir
='${prefix}/etc'
1113 sharedstatedir
='${prefix}/com'
1114 localstatedir
='${prefix}/var'
1115 includedir
='${prefix}/include'
1116 oldincludedir
='/usr/include'
1117 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1118 infodir
='${datarootdir}/info'
1123 libdir
='${exec_prefix}/lib'
1124 localedir
='${datarootdir}/locale'
1125 mandir
='${datarootdir}/man'
1131 # If the previous option needs an argument, assign it.
1132 if test -n "$ac_prev"; then
1133 eval $ac_prev=\
$ac_option
1139 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1143 # Accept the important Cygnus configure options, so we can diagnose typos.
1145 case $ac_dashdash$ac_option in
1149 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1151 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1152 bindir
=$ac_optarg ;;
1154 -build | --build | --buil | --bui | --bu)
1155 ac_prev
=build_alias
;;
1156 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1157 build_alias
=$ac_optarg ;;
1159 -cache-file | --cache-file | --cache-fil | --cache-fi \
1160 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1161 ac_prev
=cache_file
;;
1162 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1163 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1164 cache_file
=$ac_optarg ;;
1166 --config-cache | -C)
1167 cache_file
=config.cache
;;
1169 -datadir | --datadir | --datadi | --datad)
1171 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1172 datadir
=$ac_optarg ;;
1174 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1175 | --dataroo | --dataro | --datar)
1176 ac_prev
=datarootdir
;;
1177 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1178 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1179 datarootdir
=$ac_optarg ;;
1181 -disable-* | --disable-*)
1182 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1185 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1186 { (exit 1); exit 1; }; }
1187 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1188 eval enable_
$ac_feature=no
;;
1190 -docdir | --docdir | --docdi | --doc | --do)
1192 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1193 docdir
=$ac_optarg ;;
1195 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1197 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1198 dvidir
=$ac_optarg ;;
1200 -enable-* | --enable-*)
1201 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1204 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1205 { (exit 1); exit 1; }; }
1206 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1207 eval enable_
$ac_feature=\
$ac_optarg ;;
1209 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1210 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1211 | --exec | --exe | --ex)
1212 ac_prev
=exec_prefix
;;
1213 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1214 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1215 | --exec=* | --exe=* | --ex=*)
1216 exec_prefix
=$ac_optarg ;;
1218 -gas | --gas | --ga | --g)
1219 # Obsolete; use --with-gas.
1222 -help | --help | --hel | --he | -h)
1223 ac_init_help
=long
;;
1224 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1225 ac_init_help
=recursive
;;
1226 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1227 ac_init_help
=short
;;
1229 -host | --host | --hos | --ho)
1230 ac_prev
=host_alias
;;
1231 -host=* | --host=* | --hos=* | --ho=*)
1232 host_alias
=$ac_optarg ;;
1234 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1236 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1238 htmldir
=$ac_optarg ;;
1240 -includedir | --includedir | --includedi | --included | --include \
1241 | --includ | --inclu | --incl | --inc)
1242 ac_prev
=includedir
;;
1243 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1244 | --includ=* | --inclu=* | --incl=* | --inc=*)
1245 includedir
=$ac_optarg ;;
1247 -infodir | --infodir | --infodi | --infod | --info | --inf)
1249 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1250 infodir
=$ac_optarg ;;
1252 -libdir | --libdir | --libdi | --libd)
1254 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1255 libdir
=$ac_optarg ;;
1257 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1258 | --libexe | --libex | --libe)
1259 ac_prev
=libexecdir
;;
1260 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1261 | --libexe=* | --libex=* | --libe=*)
1262 libexecdir
=$ac_optarg ;;
1264 -localedir | --localedir | --localedi | --localed | --locale)
1265 ac_prev
=localedir
;;
1266 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1267 localedir
=$ac_optarg ;;
1269 -localstatedir | --localstatedir | --localstatedi | --localstated \
1270 | --localstate | --localstat | --localsta | --localst | --locals)
1271 ac_prev
=localstatedir
;;
1272 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1273 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1274 localstatedir
=$ac_optarg ;;
1276 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1278 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1279 mandir
=$ac_optarg ;;
1281 -nfp | --nfp | --nf)
1282 # Obsolete; use --without-fp.
1285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1286 | --no-cr | --no-c | -n)
1289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1293 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1294 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1295 | --oldin | --oldi | --old | --ol | --o)
1296 ac_prev
=oldincludedir
;;
1297 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1298 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1299 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1300 oldincludedir
=$ac_optarg ;;
1302 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1304 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1305 prefix
=$ac_optarg ;;
1307 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1308 | --program-pre | --program-pr | --program-p)
1309 ac_prev
=program_prefix
;;
1310 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1311 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1312 program_prefix
=$ac_optarg ;;
1314 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1315 | --program-suf | --program-su | --program-s)
1316 ac_prev
=program_suffix
;;
1317 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1318 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1319 program_suffix
=$ac_optarg ;;
1321 -program-transform-name | --program-transform-name \
1322 | --program-transform-nam | --program-transform-na \
1323 | --program-transform-n | --program-transform- \
1324 | --program-transform | --program-transfor \
1325 | --program-transfo | --program-transf \
1326 | --program-trans | --program-tran \
1327 | --progr-tra | --program-tr | --program-t)
1328 ac_prev
=program_transform_name
;;
1329 -program-transform-name=* | --program-transform-name=* \
1330 | --program-transform-nam=* | --program-transform-na=* \
1331 | --program-transform-n=* | --program-transform-=* \
1332 | --program-transform=* | --program-transfor=* \
1333 | --program-transfo=* | --program-transf=* \
1334 | --program-trans=* | --program-tran=* \
1335 | --progr-tra=* | --program-tr=* | --program-t=*)
1336 program_transform_name
=$ac_optarg ;;
1338 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1340 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1341 pdfdir
=$ac_optarg ;;
1343 -psdir | --psdir | --psdi | --psd | --ps)
1345 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1349 | -silent | --silent | --silen | --sile | --sil)
1352 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1354 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1356 sbindir
=$ac_optarg ;;
1358 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1359 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1360 | --sharedst | --shareds | --shared | --share | --shar \
1362 ac_prev
=sharedstatedir
;;
1363 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1364 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1365 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1367 sharedstatedir
=$ac_optarg ;;
1369 -site | --site | --sit)
1371 -site=* | --site=* | --sit=*)
1374 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1376 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1377 srcdir
=$ac_optarg ;;
1379 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1380 | --syscon | --sysco | --sysc | --sys | --sy)
1381 ac_prev
=sysconfdir
;;
1382 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1383 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1384 sysconfdir
=$ac_optarg ;;
1386 -target | --target | --targe | --targ | --tar | --ta | --t)
1387 ac_prev
=target_alias
;;
1388 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1389 target_alias
=$ac_optarg ;;
1391 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1394 -version | --version | --versio | --versi | --vers | -V)
1395 ac_init_version
=: ;;
1398 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1399 # Reject names that are not valid shell variable names.
1400 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1401 { echo "$as_me: error: invalid package name: $ac_package" >&2
1402 { (exit 1); exit 1; }; }
1403 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1404 eval with_
$ac_package=\
$ac_optarg ;;
1406 -without-* | --without-*)
1407 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1410 { echo "$as_me: error: invalid package name: $ac_package" >&2
1411 { (exit 1); exit 1; }; }
1412 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1413 eval with_
$ac_package=no
;;
1416 # Obsolete; use --with-x.
1419 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1420 | --x-incl | --x-inc | --x-in | --x-i)
1421 ac_prev
=x_includes
;;
1422 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1423 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1424 x_includes
=$ac_optarg ;;
1426 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1427 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1428 ac_prev
=x_libraries
;;
1429 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1430 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1431 x_libraries
=$ac_optarg ;;
1433 -*) { echo "$as_me: error: unrecognized option: $ac_option
1434 Try \`$0 --help' for more information." >&2
1435 { (exit 1); exit 1; }; }
1439 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1440 # Reject names that are not valid shell variable names.
1441 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1442 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1443 { (exit 1); exit 1; }; }
1444 eval $ac_envvar=\
$ac_optarg
1445 export $ac_envvar ;;
1448 # FIXME: should be removed in autoconf 3.0.
1449 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1450 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1451 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1452 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1458 if test -n "$ac_prev"; then
1459 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1460 { echo "$as_me: error: missing argument to $ac_option" >&2
1461 { (exit 1); exit 1; }; }
1464 # Be sure to have absolute directory names.
1465 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1466 datadir sysconfdir sharedstatedir localstatedir includedir \
1467 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1468 libdir localedir mandir
1470 eval ac_val
=\$
$ac_var
1472 [\\/$
]* | ?
:[\\/]* ) continue;;
1473 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1475 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1476 { (exit 1); exit 1; }; }
1479 # There might be people who depend on the old broken behavior: `$host'
1480 # used to hold the argument of --host etc.
1481 # FIXME: To remove some day.
1484 target
=$target_alias
1486 # FIXME: To remove some day.
1487 if test "x$host_alias" != x
; then
1488 if test "x$build_alias" = x
; then
1489 cross_compiling
=maybe
1490 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1491 If a cross compiler is detected then cross compile mode will be used." >&2
1492 elif test "x$build_alias" != "x$host_alias"; then
1498 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1500 test "$silent" = yes && exec 6>/dev
/null
1503 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1504 ac_ls_di
=`ls -di .` &&
1505 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1506 { echo "$as_me: error: Working directory cannot be determined" >&2
1507 { (exit 1); exit 1; }; }
1508 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1509 { echo "$as_me: error: pwd does not report name of working directory" >&2
1510 { (exit 1); exit 1; }; }
1513 # Find the source files, if location was not specified.
1514 if test -z "$srcdir"; then
1515 ac_srcdir_defaulted
=yes
1516 # Try the directory containing this script, then the parent directory.
1517 ac_confdir
=`$as_dirname -- "$0" ||
1518 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1519 X"$0" : 'X\(//\)[^/]' \| \
1520 X"$0" : 'X\(//\)$' \| \
1521 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1541 if test ! -r "$srcdir/$ac_unique_file"; then
1545 ac_srcdir_defaulted
=no
1547 if test ! -r "$srcdir/$ac_unique_file"; then
1548 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1549 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1550 { (exit 1); exit 1; }; }
1552 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1554 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1555 { (exit 1); exit 1; }; }
1557 # When building in place, set srcdir=.
1558 if test "$ac_abs_confdir" = "$ac_pwd"; then
1561 # Remove unnecessary trailing slashes from srcdir.
1562 # Double slashes in file names in object file debugging info
1563 # mess up M-x gdb in Emacs.
1565 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1567 for ac_var
in $ac_precious_vars; do
1568 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1569 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1570 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1571 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1575 # Report the --help message.
1577 if test "$ac_init_help" = "long"; then
1578 # Omit some internal or obsolete options to make the list less imposing.
1579 # This message is too long to be a string in the A/UX 3.1 sh.
1581 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1583 Usage: $0 [OPTION]... [VAR=VALUE]...
1585 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1586 VAR=VALUE. See below for descriptions of some of the useful variables.
1588 Defaults for the options are specified in brackets.
1591 -h, --help display this help and exit
1592 --help=short display options specific to this package
1593 --help=recursive display the short help of all the included packages
1594 -V, --version display version information and exit
1595 -q, --quiet, --silent do not print \`checking...' messages
1596 --cache-file=FILE cache test results in FILE [disabled]
1597 -C, --config-cache alias for \`--cache-file=config.cache'
1598 -n, --no-create do not create output files
1599 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1601 Installation directories:
1602 --prefix=PREFIX install architecture-independent files in PREFIX
1603 [$ac_default_prefix]
1604 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1607 By default, \`make install' will install all the files in
1608 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1609 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1610 for instance \`--prefix=\$HOME'.
1612 For better control, use the options below.
1614 Fine tuning of the installation directories:
1615 --bindir=DIR user executables [EPREFIX/bin]
1616 --sbindir=DIR system admin executables [EPREFIX/sbin]
1617 --libexecdir=DIR program executables [EPREFIX/libexec]
1618 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1619 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1620 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1621 --libdir=DIR object code libraries [EPREFIX/lib]
1622 --includedir=DIR C header files [PREFIX/include]
1623 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1624 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1625 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1626 --infodir=DIR info documentation [DATAROOTDIR/info]
1627 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1628 --mandir=DIR man documentation [DATAROOTDIR/man]
1629 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1630 --htmldir=DIR html documentation [DOCDIR]
1631 --dvidir=DIR dvi documentation [DOCDIR]
1632 --pdfdir=DIR pdf documentation [DOCDIR]
1633 --psdir=DIR ps documentation [DOCDIR]
1639 --x-includes=DIR X include files are
in DIR
1640 --x-libraries=DIR X library files are
in DIR
1643 --build=BUILD configure
for building on BUILD
[guessed
]
1644 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1648 if test -n "$ac_init_help"; then
1649 case $ac_init_help in
1650 short
| recursive
) echo "Configuration of wxWidgets 2.9.1:";;
1655 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1656 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1657 --disable-gui don
't build GUI parts of the library
1658 --enable-monolithic build wxWidgets as single library
1659 --enable-plugins build parts of wxWidgets as loadable components
1660 --enable-official_build official build of wxWidgets (win32 DLL only)
1661 --enable-vendor=VENDOR vendor name (win32 DLL only)
1662 --disable-all-features disable all optional features to build minimal library
1663 --enable-universal use wxWidgets GUI controls instead of native ones
1664 --enable-nanox use NanoX
1665 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1666 --enable-gpe use GNOME PDA Environment features if possible
1667 --disable-shared create static library instead of shared
1668 --enable-debug same as debug_flag and debug_info
1669 --enable-stl use STL for containers
1670 --enable-std_iostreams use standard C++ stream classes
1671 --enable-std_string use standard C++ string classes
1672 --disable-unicode compile without Unicode support
1673 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1674 --enable-utf8 use UTF-8 representation for strings (Unix only)
1675 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1676 --enable-extended_rtti use extended RTTI (XTI)
1677 --enable-omf use OMF object format
1678 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1679 --enable-debug_info create code with debugging information
1680 --disable-optimise compile without optimisations
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt use wxDebugContext
1683 --enable-mem_tracing create code with memory tracing
1684 --enable-profile create code with profiling information
1685 --enable-no_rtti create code without RTTI information
1686 --enable-no_exceptions create code without C++ exceptions handling
1687 --enable-permissive compile code disregarding strict ANSI
1688 --enable-no_deps create code without dependency information
1689 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1690 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1691 --enable-compat26 enable wxWidgets
2.6 compatibility
1692 --disable-compat28 disable wxWidgets
2.8 compatibility
1693 --disable-rpath disable use of rpath
for uninstalled builds
1694 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1695 --disable-visibility disable use of ELF symbols visibility even
if supported
1696 --disable-tls disable use of compiler TLS support
1697 --enable-intl use internationalization system
1698 --enable-xlocale use x
-locale support
(requires wxLocale
)
1699 --enable-config use wxConfig
(and derived
) classes
1700 --enable-protocols use wxProtocol and derived classes
1701 --enable-ftp use wxFTP
(requires wxProtocol
1702 --enable-http use wxHTTP
(requires wxProtocol
1703 --enable-fileproto use wxFileProto class
(requires wxProtocol
1704 --enable-sockets use socket
/network classes
1705 --enable-ipv6 enable IPv6 support
in wxSocket
1706 --enable-ole use OLE classes
(Win32 only
)
1707 --enable-dataobj use data object classes
1708 --enable-ipc use interprocess communication
(wxSocket etc.
)
1709 --enable-baseevtloop use event loop
in console programs too
1710 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1711 --enable-selectloop use wxSelectDispatcher class
1712 --enable-apple_ieee use the Apple IEEE codec
1713 --enable-arcstream use wxArchive streams
1714 --enable-base64 use base64 encoding
/decoding functions
1715 --enable-backtrace use wxStackWalker class
for getting backtraces
1716 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1717 --enable-cmdline use wxCmdLineParser class
1718 --enable-datetime use wxDateTime class
1719 --enable-debugreport use wxDebugReport class
1720 --enable-dialupman use dialup network classes
1721 --enable-dynlib use wxLibrary class
for DLL loading
1722 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1723 --enable-exceptions build exception
-safe library
1724 --enable-ffile use wxFFile class
1725 --enable-file use wxFile class
1726 --enable-filesystem use virtual
file systems classes
1727 --enable-fontenum use wxFontEnumerator class
1728 --enable-fontmap use font encodings conversion classes
1729 --enable-fs_archive use virtual archive filesystems
1730 --enable-fs_inet use virtual HTTP
/FTP filesystems
1731 --enable-fs_zip now replaced by fs_archive
1732 --enable-geometry use geometry class
1733 --enable-log use logging system
1734 --enable-longlong use wxLongLong class
1735 --enable-mimetype use wxMimeTypesManager
1736 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1737 --enable-snglinst use wxSingleInstanceChecker class
1738 --enable-sound use wxSound class
1739 --enable-stdpaths use wxStandardPaths class
1740 --enable-stopwatch use wxStopWatch class
1741 --enable-streams use wxStream etc classes
1742 --enable-sysoptions use wxSystemOptions
1743 --enable-tarstream use wxTar streams
1744 --enable-textbuf use wxTextBuffer class
1745 --enable-textfile use wxTextFile class
1746 --enable-timer use wxTimer class
1747 --enable-variant use wxVariant class
1748 --enable-zipstream use wxZip streams
1749 --enable-url use wxURL class
1750 --enable-protocol use wxProtocol class
1751 --enable-protocol-http HTTP support
in wxProtocol
1752 --enable-protocol-ftp FTP support
in wxProtocol
1753 --enable-protocol-file FILE support
in wxProtocol
1754 --enable-threads use threads
1755 --enable-iniconf use wxIniConfig
(Win32 only
)
1756 --enable-regkey use wxRegKey class
(Win32 only
)
1757 --enable-docview use document view architecture
1758 --enable-help use
help subsystem
1759 --enable-mshtmlhelp use MS HTML Help
(win32
)
1760 --enable-html use wxHTML sub
-library
1761 --enable-htmlhelp use wxHTML
-based help
1762 --enable-xrc use XRC resources sub
-library
1763 --enable-aui use AUI docking library
1764 --enable-propgrid use wxPropertyGrid library
1765 --enable-stc use wxStyledTextCtrl library
1766 --enable-constraints use layout
-constraints system
1767 --enable-loggui use standard GUI logger
1768 --enable-logwin use wxLogWindow
1769 --enable-logdialog use wxLogDialog
1770 --enable-mdi use multiple document interface architecture
1771 --enable-mdidoc use docview architecture with MDI
1772 --enable-mediactrl use wxMediaCtrl class
1773 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1774 --enable-webkit use wxWebKitCtrl
(Mac
)
1775 --enable-richtext use wxRichTextCtrl
1776 --enable-graphics_ctx use graphics context
2D drawing API
1777 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1778 --enable-printarch use printing architecture
1779 --enable-svg use wxSVGFileDC device context
1780 --enable-clipboard use wxClipboard class
1781 --enable-dnd use Drag
'n'Drop classes
1782 --enable-metafile use win32 metafiles
1783 --disable-controls disable compilation of all standard controls
1784 --enable-accel use accelerators
1785 --enable-animatectrl use wxAnimationCtrl class
1786 --enable-bmpbutton use wxBitmapButton class
1787 --enable-bmpcombobox use wxBitmapComboBox class
1788 --enable-button use wxButton class
1789 --enable-calendar use wxCalendarCtrl class
1790 --enable-caret use wxCaret class
1791 --enable-checkbox use wxCheckBox class
1792 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1793 --enable-choice use wxChoice class
1794 --enable-choicebook use wxChoicebook class
1795 --enable-collpane use wxCollapsiblePane class
1796 --enable-colourpicker use wxColourPickerCtrl class
1797 --enable-combobox use wxComboBox class
1798 --enable-comboctrl use wxComboCtrl class
1799 --enable-dataviewctrl use wxDataViewCtrl class
1800 --enable-datepick use wxDatePickerCtrl class
1801 --enable-detect_sm use code to detect X11 session manager
1802 --enable-dirpicker use wxDirPickerCtrl class
1803 --enable-display use wxDisplay class
1804 --enable-editablebox use wxEditableListBox class
1805 --enable-filectrl use wxFileCtrl class
1806 --enable-filepicker use wxFilePickerCtrl class
1807 --enable-fontpicker use wxFontPickerCtrl class
1808 --enable-gauge use wxGauge class
1809 --enable-grid use wxGrid class
1810 --enable-headerctrl use wxHeaderCtrl class
1811 --enable-hyperlink use wxHyperlinkCtrl class
1812 --enable-imaglist use wxImageList class
1813 --enable-listbook use wxListbook class
1814 --enable-listbox use wxListBox class
1815 --enable-listctrl use wxListCtrl class
1816 --enable-notebook use wxNotebook class
1817 --enable-notifmsg use wxNotificationMessage class
1818 --enable-odcombobox use wxOwnerDrawnComboBox class
1819 --enable-popupwin use wxPopUpWindow class
1820 --enable-radiobox use wxRadioBox class
1821 --enable-radiobtn use wxRadioButton class
1822 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1823 --enable-sash use wxSashWindow class
1824 --enable-scrollbar use wxScrollBar class and scrollable windows
1825 --enable-searchctrl use wxSearchCtrl class
1826 --enable-slider use wxSlider class
1827 --enable-spinbtn use wxSpinButton class
1828 --enable-spinctrl use wxSpinCtrl class
1829 --enable-splitter use wxSplitterWindow class
1830 --enable-statbmp use wxStaticBitmap class
1831 --enable-statbox use wxStaticBox class
1832 --enable-statline use wxStaticLine class
1833 --enable-stattext use wxStaticText class
1834 --enable-statusbar use wxStatusBar class
1835 --enable-taskbaricon use wxTaskBarIcon class
1836 --enable-tbarnative use native wxToolBar class
1837 --enable-textctrl use wxTextCtrl class
1838 --enable-tipwindow use wxTipWindow class
1839 --enable-togglebtn use wxToggleButton class
1840 --enable-toolbar use wxToolBar class
1841 --enable-toolbook use wxToolbook class
1842 --enable-treebook use wxTreebook class
1843 --enable-treectrl use wxTreeCtrl class
1844 --enable-commondlg use all common dialogs
1845 --enable-aboutdlg use wxAboutBox
1846 --enable-choicedlg use wxChoiceDialog
1847 --enable-coldlg use wxColourDialog
1848 --enable-filedlg use wxFileDialog
1849 --enable-finddlg use wxFindReplaceDialog
1850 --enable-fontdlg use wxFontDialog
1851 --enable-dirdlg use wxDirDialog
1852 --enable-msgdlg use wxMessageDialog
1853 --enable-numberdlg use wxNumberEntryDialog
1854 --enable-splash use wxSplashScreen
1855 --enable-textdlg use wxTextDialog
1856 --enable-tipdlg use startup tips
1857 --enable-progressdlg use wxProgressDialog
1858 --enable-wizarddlg use wxWizard
1859 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1860 --enable-miniframe use wxMiniFrame class
1861 --enable-tooltips use wxToolTip class
1862 --enable-splines use spline drawing code
1863 --enable-mousewheel use mousewheel
1864 --enable-validators use wxValidator and derived classes
1865 --enable-busyinfo use wxBusyInfo
1866 --enable-joystick use wxJoystick
1867 --enable-metafiles use wxMetaFile
(Win32 only
)
1868 --enable-dragimage use wxDragImage
1869 --enable-accessibility enable accessibility support
1870 --enable-palette use wxPalette class
1871 --enable-image use wxImage class
1872 --enable-gif use gif images
(GIF
file format
)
1873 --enable-pcx use pcx images
(PCX
file format
)
1874 --enable-tga use tga images
(TGA
file format
)
1875 --enable-iff use iff images
(IFF
file format
)
1876 --enable-pnm use pnm images
(PNM
file format
)
1877 --enable-xpm use xpm images
(XPM
file format
)
1878 --enable-ico_cur use Windows ICO and CUR formats
1879 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1880 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1881 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1882 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1883 --enable-wxdib use wxDIB class
(Win32 only
)
1884 --enable-autoidman use automatic ids management
1885 --disable-largefile omit support
for large files
1886 --disable-gtktest do not try to compile and run a
test GTK
+ program
1887 --disable-gtktest Do not try to compile and run a
test GTK program
1888 --disable-sdltest Do not try to compile and run a
test SDL program
1889 --enable-omf use OMF object format
(OS
/2)
1890 --disable-dependency-tracking
1891 don
't use dependency tracking even if the compiler
1893 --disable-precomp-headers
1894 don't use precompiled headers even
if compiler can
1897 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1898 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1899 --without-subdirs don
't generate makefiles for samples/demos/...
1900 --with-flavour=NAME specify a name to identify this build
1901 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1902 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1903 --with-motif use Motif/Lesstif
1904 --with-osx_carbon use Mac OS X (Carbon)
1905 --with-osx_cocoa use Mac OS X (Cocoa)
1906 --with-mac use Mac OS X (Default)
1907 --with-cocoa use Cocoa
1908 --with-wine use Wine
1909 --with-msw use MS-Windows
1910 --with-pm use OS/2 Presentation Manager
1911 --with-mgl use SciTech MGL
1912 --with-directfb use DirectFB
1913 --with-microwin use MicroWindows
1915 --with-libpng use libpng (PNG image format)
1916 --with-libjpeg use libjpeg (JPEG file format)
1917 --with-libtiff use libtiff (TIFF file format)
1918 --with-libxpm use libxpm (XPM file format)
1919 --with-libiconv use libiconv (character conversion)
1920 --with-libmspack use libmspack (CHM help files loading)
1921 --without-gtkprint don't use GTK printing support
1922 --without-gnomeprint don
't use GNOME printing libraries
1923 --with-gnomevfs use GNOME VFS for associating MIME types
1924 --with-hildon use Hildon framework for Nokia 770
1925 --with-opengl use OpenGL (or Mesa)
1926 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1927 --with-sdl use SDL for audio on Unix
1928 --with-regex enable support for wxRegEx class
1929 --with-zlib use zlib for LZW compression
1930 --with-expat enable XML support using expat parser
1931 --with-macosx-sdk=PATH use an OS X SDK at PATH
1932 --with-macosx-version-min=VER build binaries which require at least this OS X version
1933 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1934 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1935 --with-x use the X Window System
1936 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1937 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1938 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1939 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1940 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1942 Some influential environment variables:
1943 CC C compiler command
1944 CFLAGS C compiler flags
1945 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1946 nonstandard directory <lib dir>
1947 LIBS libraries to pass to the linker, e.g. -l<library>
1948 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1949 you have headers in a nonstandard directory <include dir>
1951 CXX C++ compiler command
1952 CXXFLAGS C++ compiler flags
1953 PKG_CONFIG path to pkg-config utility
1955 C compiler flags for DIRECTFB, overriding pkg-config
1957 linker flags for DIRECTFB, overriding pkg-config
1958 XMKMF Path to xmkmf, Makefile generator for X Window System
1960 C compiler flags for PANGOX, overriding pkg-config
1961 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1963 C compiler flags for PANGOFT2, overriding pkg-config
1965 linker flags for PANGOFT2, overriding pkg-config
1967 C compiler flags for PANGOXFT, overriding pkg-config
1969 linker flags for PANGOXFT, overriding pkg-config
1971 C compiler flags for GTKPRINT, overriding pkg-config
1973 linker flags for GTKPRINT, overriding pkg-config
1974 LIBGNOMEPRINTUI_CFLAGS
1975 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1976 LIBGNOMEPRINTUI_LIBS
1977 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1979 C compiler flags for GNOMEVFS, overriding pkg-config
1981 linker flags for GNOMEVFS, overriding pkg-config
1983 C compiler flags for HILDON, overriding pkg-config
1984 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1986 C compiler flags for CAIRO, overriding pkg-config
1987 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1988 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1989 GST_LIBS linker flags for GST, overriding pkg-config
1991 Use these variables to override the choices made by `configure' or to
help
1992 it to
find libraries and programs with nonstandard names
/locations.
1994 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1999 if test "$ac_init_help" = "recursive"; then
2000 # If there are subdirs, report their specific --help.
2001 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2002 test -d "$ac_dir" || continue
2006 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2008 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2009 # A ".." for each directory in $ac_dir_suffix.
2010 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2011 case $ac_top_builddir_sub in
2012 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2013 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2016 ac_abs_top_builddir
=$ac_pwd
2017 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2018 # for backward compatibility:
2019 ac_top_builddir
=$ac_top_build_prefix
2022 .
) # We are building in place.
2024 ac_top_srcdir
=$ac_top_builddir_sub
2025 ac_abs_top_srcdir
=$ac_pwd ;;
2026 [\\/]* | ?
:[\\/]* ) # Absolute name.
2027 ac_srcdir
=$srcdir$ac_dir_suffix;
2028 ac_top_srcdir
=$srcdir
2029 ac_abs_top_srcdir
=$srcdir ;;
2031 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2032 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2033 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2035 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2037 cd "$ac_dir" || { ac_status
=$?
; continue; }
2038 # Check for guested configure.
2039 if test -f "$ac_srcdir/configure.gnu"; then
2041 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2042 elif test -f "$ac_srcdir/configure"; then
2044 $SHELL "$ac_srcdir/configure" --help=recursive
2046 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2048 cd "$ac_pwd" || { ac_status
=$?
; break; }
2052 test -n "$ac_init_help" && exit $ac_status
2053 if $ac_init_version; then
2055 wxWidgets configure
2.9.1
2056 generated by GNU Autoconf
2.61
2058 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2059 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2060 This configure
script is free software
; the Free Software Foundation
2061 gives unlimited permission to copy
, distribute and modify it.
2065 cat >config.log
<<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2069 It was created by wxWidgets $as_me 2.9.1, which was
2070 generated by GNU Autoconf 2.61. Invocation command line was
2082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2091 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2092 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2095 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2096 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2097 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir
=.
2106 echo "PATH: $as_dir"
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2130 ac_must_keep_next
=false
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2141 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2144 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2146 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2147 if test $ac_must_keep_next = true
; then
2148 ac_must_keep_next
=false
# Got value, back to normal.
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2159 -* ) ac_must_keep_next
=true
;;
2162 ac_configure_args
="$ac_configure_args '$ac_arg'"
2167 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2168 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2181 ## ---------------- ##
2182 ## Cache variables. ##
2183 ## ---------------- ##
2186 # The following way of writing the cache mishandles newlines in values,
2188 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2189 eval ac_val=\$$ac_var
2193 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2194 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2197 _ | IFS | as_nl) ;; #(
2198 *) $as_unset $ac_var ;;
2203 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2204 *${as_nl}ac_space=\ *)
2206 "s/'\''/'\''\\\\'\'''\''/g;
2207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2218 ## ----------------- ##
2219 ## Output variables. ##
2220 ## ----------------- ##
2223 for ac_var in $ac_subst_vars
2225 eval ac_val=\$$ac_var
2227 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2229 echo "$ac_var='\''$ac_val'\''"
2233 if test -n "$ac_subst_files"; then
2235 ## ------------------- ##
2236 ## File substitutions. ##
2237 ## ------------------- ##
2240 for ac_var
in $ac_subst_files
2242 eval ac_val
=\$
$ac_var
2244 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2246 echo "$ac_var='\''$ac_val'\''"
2251 if test -s confdefs.h; then
2261 test "$ac_signal" != 0 &&
2262 echo "$as_me: caught signal $ac_signal"
2263 echo "$as_me: exit $exit_status"
2265 rm -f core *.core core.conftest.* &&
2266 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2269 for ac_signal
in 1 2 13 15; do
2270 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2274 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2275 rm -f -r conftest
* confdefs.h
2277 # Predefined preprocessor variables.
2279 cat >>confdefs.h
<<_ACEOF
2280 #define PACKAGE_NAME "$PACKAGE_NAME"
2284 cat >>confdefs.h
<<_ACEOF
2285 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2289 cat >>confdefs.h
<<_ACEOF
2290 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2294 cat >>confdefs.h
<<_ACEOF
2295 #define PACKAGE_STRING "$PACKAGE_STRING"
2299 cat >>confdefs.h
<<_ACEOF
2300 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2304 # Let the site file select an alternate cache file if it wants to.
2305 # Prefer explicitly selected file to automatically selected ones.
2306 if test -n "$CONFIG_SITE"; then
2307 set x
"$CONFIG_SITE"
2308 elif test "x$prefix" != xNONE
; then
2309 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2311 set x
"$ac_default_prefix/share/config.site" \
2312 "$ac_default_prefix/etc/config.site"
2317 if test -r "$ac_site_file"; then
2318 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2319 echo "$as_me: loading site script $ac_site_file" >&6;}
2320 sed 's/^/| /' "$ac_site_file" >&5
2325 if test -r "$cache_file"; then
2326 # Some versions of bash will fail to source /dev/null (special
2327 # files actually), so we avoid doing that.
2328 if test -f "$cache_file"; then
2329 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2330 echo "$as_me: loading cache $cache_file" >&6;}
2332 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2333 *) .
"./$cache_file";;
2337 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2338 echo "$as_me: creating cache $cache_file" >&6;}
2342 # Check that the precious variables saved in the cache have kept the same
2344 ac_cache_corrupted
=false
2345 for ac_var
in $ac_precious_vars; do
2346 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2347 eval ac_new_set
=\
$ac_env_${ac_var}_set
2348 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2349 eval ac_new_val
=\
$ac_env_${ac_var}_value
2350 case $ac_old_set,$ac_new_set in
2352 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2353 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2354 ac_cache_corrupted
=: ;;
2356 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2357 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2358 ac_cache_corrupted
=: ;;
2361 if test "x$ac_old_val" != "x$ac_new_val"; then
2362 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2363 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2364 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2365 echo "$as_me: former value: $ac_old_val" >&2;}
2366 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2367 echo "$as_me: current value: $ac_new_val" >&2;}
2368 ac_cache_corrupted
=:
2371 # Pass precious variables to config.status.
2372 if test "$ac_new_set" = set; then
2374 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2375 *) ac_arg
=$ac_var=$ac_new_val ;;
2377 case " $ac_configure_args " in
2378 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2379 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2383 if $ac_cache_corrupted; then
2384 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2385 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2386 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2387 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2388 { (exit 1); exit 1; }; }
2416 ac_cpp
='$CPP $CPPFLAGS'
2417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2426 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2427 if test -f "$ac_dir/install-sh"; then
2429 ac_install_sh
="$ac_aux_dir/install-sh -c"
2431 elif test -f "$ac_dir/install.sh"; then
2433 ac_install_sh
="$ac_aux_dir/install.sh -c"
2435 elif test -f "$ac_dir/shtool"; then
2437 ac_install_sh
="$ac_aux_dir/shtool install -c"
2441 if test -z "$ac_aux_dir"; then
2442 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2443 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2444 { (exit 1); exit 1; }; }
2447 # These three variables are undocumented and unsupported,
2448 # and are intended to be withdrawn in a future Autoconf release.
2449 # They can cause serious problems if a builder's source tree is in a directory
2450 # whose full name contains unusual characters.
2451 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2452 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2453 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2456 # Make sure we can run config.sub.
2457 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2458 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2459 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2460 { (exit 1); exit 1; }; }
2462 { echo "$as_me:$LINENO: checking build system type" >&5
2463 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2464 if test "${ac_cv_build+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 ac_build_alias
=$build_alias
2468 test "x$ac_build_alias" = x
&&
2469 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2470 test "x$ac_build_alias" = x
&&
2471 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2472 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2473 { (exit 1); exit 1; }; }
2474 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2480 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2481 echo "${ECHO_T}$ac_cv_build" >&6; }
2482 case $ac_cv_build in
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2485 echo "$as_me: error: invalid value of canonical build" >&2;}
2486 { (exit 1); exit 1; }; };;
2489 ac_save_IFS
=$IFS; IFS
='-'
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2499 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2502 { echo "$as_me:$LINENO: checking host system type" >&5
2503 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_host+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 if test "x$host_alias" = x
; then
2508 ac_cv_host
=$ac_cv_build
2510 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2517 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2518 echo "${ECHO_T}$ac_cv_host" >&6; }
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2522 echo "$as_me: error: invalid value of canonical host" >&2;}
2523 { (exit 1); exit 1; }; };;
2526 ac_save_IFS
=$IFS; IFS
='-'
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2536 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2540 if test "$cross_compiling" != "no"; then
2541 HOST_PREFIX
="${host_alias}-"
2542 HOST_SUFFIX
="-$host_alias"
2549 wx_major_version_number
=2
2550 wx_minor_version_number
=9
2552 wx_subrelease_number
=0
2554 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2555 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2556 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2558 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2561 wx_top_builddir
="`pwd`"
2574 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2580 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2586 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2588 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2590 DEFAULT_wxUSE_COCOA
=0
2592 DEFAULT_wxUSE_OSX_CARBON
=0
2593 DEFAULT_wxUSE_OSX_COCOA
=0
2595 DEFAULT_wxUSE_MICROWIN
=0
2596 DEFAULT_wxUSE_MOTIF
=0
2602 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2603 DEFAULT_DEFAULT_wxUSE_GTK
=0
2604 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2605 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2606 DEFAULT_DEFAULT_wxUSE_MGL
=0
2607 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2608 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2609 DEFAULT_DEFAULT_wxUSE_MSW
=0
2610 DEFAULT_DEFAULT_wxUSE_PM
=0
2611 DEFAULT_DEFAULT_wxUSE_X11
=0
2612 DEFAULT_DEFAULT_wxUSE_DFB
=0
2616 DYLIB_RPATH_INSTALL
=
2617 DYLIB_RPATH_POSTLINK
=
2619 DEFAULT_STD_FLAG
=yes
2624 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2625 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2626 cat >>confdefs.h
<<\_ACEOF
2631 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2635 cat >>confdefs.h
<<\_ACEOF
2640 if test "x$TMP" = "xalpha"; then
2642 cat >>confdefs.h
<<\_ACEOF
2647 DEFAULT_DEFAULT_wxUSE_GTK
=1
2649 *-*-gnu* | *-*-k*bsd
*-gnu )
2652 if test "x$TMP" = "xalpha"; then
2654 cat >>confdefs.h
<<\_ACEOF
2659 DEFAULT_DEFAULT_wxUSE_GTK
=1
2661 *-*-irix5* | *-*-irix6* )
2664 cat >>confdefs.h
<<\_ACEOF
2668 cat >>confdefs.h
<<\_ACEOF
2672 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2678 cat >>confdefs.h
<<\_ACEOF
2682 cat >>confdefs.h
<<\_ACEOF
2683 #define __SOLARIS__ 1
2686 cat >>confdefs.h
<<\_ACEOF
2690 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2691 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2697 cat >>confdefs.h
<<\_ACEOF
2701 cat >>confdefs.h
<<\_ACEOF
2705 cat >>confdefs.h
<<\_ACEOF
2709 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2714 cat >>confdefs.h
<<\_ACEOF
2715 #define __FREEBSD__ 1
2718 cat >>confdefs.h
<<\_ACEOF
2722 DEFAULT_DEFAULT_wxUSE_GTK
=1
2724 *-*-openbsd*|*-*-mirbsd*)
2727 cat >>confdefs.h
<<\_ACEOF
2728 #define __OPENBSD__ 1
2731 cat >>confdefs.h
<<\_ACEOF
2735 DEFAULT_DEFAULT_wxUSE_GTK
=1
2740 cat >>confdefs.h
<<\_ACEOF
2741 #define __NETBSD__ 1
2744 cat >>confdefs.h
<<\_ACEOF
2748 DEFAULT_DEFAULT_wxUSE_GTK
=1
2749 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2751 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2756 cat >>confdefs.h
<<\_ACEOF
2760 cat >>confdefs.h
<<\_ACEOF
2764 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2765 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2770 cat >>confdefs.h
<<\_ACEOF
2774 cat >>confdefs.h
<<\_ACEOF
2778 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2783 cat >>confdefs.h
<<\_ACEOF
2787 cat >>confdefs.h
<<\_ACEOF
2791 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2797 cat >>confdefs.h
<<\_ACEOF
2801 cat >>confdefs.h
<<\_ACEOF
2805 cat >>confdefs.h
<<\_ACEOF
2809 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2816 cat >>confdefs.h
<<\_ACEOF
2817 #define __UNIXWARE__ 1
2822 *-*-cygwin* | *-*-mingw32* )
2824 DEFAULT_DEFAULT_wxUSE_MSW
=1
2830 cat >>confdefs.h
<<\_ACEOF
2835 DEFAULT_DEFAULT_wxUSE_MGL
=1
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h
<<\_ACEOF
2844 cat >>confdefs.h
<<\_ACEOF
2849 DEFAULT_DEFAULT_wxUSE_PM
=1
2851 LDFLAGS
="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions
=".exe"
2853 export ac_executable_extensions
2857 for ac_dir
in $PATH; do
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH
="$ac_dir"
2862 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2865 export PATH
="$ac_TEMP_PATH"
2873 cat >>confdefs.h
<<\_ACEOF
2877 cat >>confdefs.h
<<\_ACEOF
2878 #define __DARWIN__ 1
2881 cat >>confdefs.h
<<\_ACEOF
2882 #define TARGET_CARBON 1
2885 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2890 cat >>confdefs.h
<<\_ACEOF
2897 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2898 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2899 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2900 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2902 DEFAULT_DEFAULT_wxUSE_X11
=1
2903 DEFAULT_wxUSE_SHARED
=no
2908 DEFAULT_wxUSE_ALL_FEATURES
=yes
2910 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2911 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2913 DEFAULT_wxUSE_DMALLOC
=no
2914 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2915 DEFAULT_wxUSE_LIBHILDON
=no
2916 DEFAULT_wxUSE_LIBMSPACK
=no
2917 DEFAULT_wxUSE_LIBSDL
=no
2919 DEFAULT_wxUSE_ACCESSIBILITY
=no
2920 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2921 DEFAULT_wxUSE_IPV6
=no
2922 DEFAULT_wxUSE_GSTREAMER8
=no
2924 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2925 DEFAULT_wxUSE_OPENGL
=auto
2926 DEFAULT_wxUSE_MEDIACTRL
=auto
2927 DEFAULT_wxUSE_COMPILER_TLS
=auto
2929 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2931 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2933 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2935 DEFAULT_wxUSE_GTK2
=yes
2937 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2943 enablestring
=disable
2945 if test -z "$defaultval"; then
2946 if test x
"$enablestring" = xdisable
; then
2953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2954 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2955 # Check whether --enable-gui was given.
2956 if test "${enable_gui+set}" = set; then
2957 enableval
=$enable_gui;
2958 if test "$enableval" = yes; then
2959 wx_cv_use_gui
='wxUSE_GUI=yes'
2961 wx_cv_use_gui
='wxUSE_GUI=no'
2966 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2971 eval "$wx_cv_use_gui"
2973 if test x"$enablestring" = xdisable; then
2974 if test $wxUSE_GUI = no; then
2983 { echo "$as_me:$LINENO: result: $result" >&5
2984 echo "${ECHO_T}$result" >&6; }
2989 if test -z "$defaultval"; then
2990 if test x"$enablestring" = xdisable; then
2997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2998 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
2999 # Check whether --enable-monolithic was given.
3000 if test "${enable_monolithic+set}" = set; then
3001 enableval=$enable_monolithic;
3002 if test "$enableval" = yes; then
3003 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3005 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3010 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3015 eval "$wx_cv_use_monolithic"
3017 if test x"$enablestring" = xdisable; then
3018 if test $wxUSE_MONOLITHIC = no; then
3024 result=$wxUSE_MONOLITHIC
3027 { echo "$as_me:$LINENO: result
: $result" >&5
3028 echo "${ECHO_T}$result" >&6; }
3033 if test -z "$defaultval"; then
3034 if test x"$enablestring" = xdisable; then
3041 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3042 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3043 # Check whether --enable-plugins was given.
3044 if test "${enable_plugins+set}" = set; then
3045 enableval=$enable_plugins;
3046 if test "$enableval" = yes; then
3047 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3049 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3054 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3059 eval "$wx_cv_use_plugins"
3061 if test x
"$enablestring" = xdisable
; then
3062 if test $wxUSE_PLUGINS = no
; then
3068 result
=$wxUSE_PLUGINS
3071 { echo "$as_me:$LINENO: result: $result" >&5
3072 echo "${ECHO_T}$result" >&6; }
3076 defaultval
=$wxUSE_ALL_FEATURES
3077 if test -z "$defaultval"; then
3078 if test x
"$withstring" = xwithout
; then
3084 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3085 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3087 # Check whether --with-subdirs was given.
3088 if test "${with_subdirs+set}" = set; then
3089 withval
=$with_subdirs;
3090 if test "$withval" = yes; then
3091 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3093 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3098 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3103 eval "$wx_cv_use_subdirs"
3105 if test x"$withstring" = xwithout; then
3106 if test $wxWITH_SUBDIRS = yes; then
3112 result=$wxWITH_SUBDIRS
3115 { echo "$as_me:$LINENO: result: $result" >&5
3116 echo "${ECHO_T}$result" >&6; }
3119 # Check whether --with-flavour was given.
3120 if test "${with_flavour+set}" = set; then
3121 withval=$with_flavour; WX_FLAVOUR="$withval"
3127 if test -z "$defaultval"; then
3128 if test x"$enablestring" = xdisable; then
3135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3136 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3137 # Check whether --enable-official_build was given.
3138 if test "${enable_official_build+set}" = set; then
3139 enableval=$enable_official_build;
3140 if test "$enableval" = yes; then
3141 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3143 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3148 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3153 eval "$wx_cv_use_official_build"
3155 if test x"$enablestring" = xdisable; then
3156 if test $wxUSE_OFFICIAL_BUILD = no; then
3162 result=$wxUSE_OFFICIAL_BUILD
3165 { echo "$as_me:$LINENO: result
: $result" >&5
3166 echo "${ECHO_T}$result" >&6; }
3168 # Check whether --enable-vendor was given.
3169 if test "${enable_vendor+set}" = set; then
3170 enableval=$enable_vendor; VENDOR="$enableval"
3173 if test "x
$VENDOR" = "x
"; then
3178 enablestring=disable
3180 if test -z "$defaultval"; then
3181 if test x"$enablestring" = xdisable; then
3188 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3189 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3190 # Check whether --enable-all-features was given.
3191 if test "${enable_all_features+set}" = set; then
3192 enableval=$enable_all_features;
3193 if test "$enableval" = yes; then
3194 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3196 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3201 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3206 eval "$wx_cv_use_all_features"
3208 if test x
"$enablestring" = xdisable
; then
3209 if test $wxUSE_ALL_FEATURES = no
; then
3215 result
=$wxUSE_ALL_FEATURES
3218 { echo "$as_me:$LINENO: result: $result" >&5
3219 echo "${ECHO_T}$result" >&6; }
3222 if test "$wxUSE_ALL_FEATURES" = "no"; then
3223 DEFAULT_wxUSE_MEDIACTRL
=no
3227 if test "$wxUSE_GUI" = "yes"; then
3232 if test -z "$defaultval"; then
3233 if test x
"$enablestring" = xdisable
; then
3240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3241 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3242 # Check whether --enable-universal was given.
3243 if test "${enable_universal+set}" = set; then
3244 enableval
=$enable_universal;
3245 if test "$enableval" = yes; then
3246 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3248 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3253 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3258 eval "$wx_cv_use_universal"
3260 if test x"$enablestring" = xdisable; then
3261 if test $wxUSE_UNIVERSAL = no; then
3267 result=$wxUSE_UNIVERSAL
3270 { echo "$as_me:$LINENO: result: $result" >&5
3271 echo "${ECHO_T}$result" >&6; }
3273 if test "$wxUSE_UNIVERSAL" = "yes"; then
3275 # Check whether --with-themes was given.
3276 if test "${with_themes+set}" = set; then
3277 withval=$with_themes; wxUNIV_THEMES="$withval"
3283 # Check whether --with-gtk was given.
3284 if test "${with_gtk+set}" = set; then
3285 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3289 # Check whether --with-motif was given.
3290 if test "${with_motif+set}" = set; then
3291 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3295 # Check whether --with-osx_carbon was given.
3296 if test "${with_osx_carbon+set}" = set; then
3297 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3301 # Check whether --with-osx_cocoa was given.
3302 if test "${with_osx_cocoa+set}" = set; then
3303 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3307 # Check whether --with-mac was given.
3308 if test "${with_mac+set}" = set; then
3309 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3313 # Check whether --with-cocoa was given.
3314 if test "${with_cocoa+set}" = set; then
3315 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3319 # Check whether --with-wine was given.
3320 if test "${with_wine+set}" = set; then
3321 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3325 # Check whether --with-msw was given.
3326 if test "${with_msw+set}" = set; then
3327 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3331 # Check whether --with-pm was given.
3332 if test "${with_pm+set}" = set; then
3333 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3337 # Check whether --with-mgl was given.
3338 if test "${with_mgl+set}" = set; then
3339 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3343 # Check whether --with-directfb was given.
3344 if test "${with_directfb+set}" = set; then
3345 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3349 # Check whether --with-microwin was given.
3350 if test "${with_microwin+set}" = set; then
3351 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3355 # Check whether --with-x11 was given.
3356 if test "${with_x11+set}" = set; then
3357 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3363 if test -z "$defaultval"; then
3364 if test x"$enablestring" = xdisable; then
3371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3372 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3373 # Check whether --enable-nanox was given.
3374 if test "${enable_nanox+set}" = set; then
3375 enableval=$enable_nanox;
3376 if test "$enableval" = yes; then
3377 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3379 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3384 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3389 eval "$wx_cv_use_nanox"
3391 if test x"$enablestring" = xdisable; then
3392 if test $wxUSE_NANOX = no; then
3401 { echo "$as_me:$LINENO: result
: $result" >&5
3402 echo "${ECHO_T}$result" >&6; }
3405 # Check whether --enable-gtk2 was given.
3406 if test "${enable_gtk2+set}" = set; then
3407 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3413 if test -z "$defaultval"; then
3414 if test x"$enablestring" = xdisable; then
3421 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3422 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3423 # Check whether --enable-gpe was given.
3424 if test "${enable_gpe+set}" = set; then
3425 enableval=$enable_gpe;
3426 if test "$enableval" = yes; then
3427 wx_cv_use_gpe='wxUSE_GPE=yes'
3429 wx_cv_use_gpe='wxUSE_GPE=no'
3434 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3439 eval "$wx_cv_use_gpe"
3441 if test x
"$enablestring" = xdisable
; then
3442 if test $wxUSE_GPE = no
; then
3451 { echo "$as_me:$LINENO: result: $result" >&5
3452 echo "${ECHO_T}$result" >&6; }
3456 { echo "$as_me:$LINENO: checking for toolkit" >&5
3457 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3461 # In Wine, we need to default to MSW, not GTK or MOTIF
3462 if test "$wxUSE_WINE" = "yes"; then
3463 DEFAULT_DEFAULT_wxUSE_GTK
=0
3464 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3465 DEFAULT_DEFAULT_wxUSE_MSW
=1
3472 if test "$wxUSE_GUI" = "yes"; then
3474 if test "$USE_BEOS" = 1; then
3475 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3476 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3477 { (exit 1); exit 1; }; }
3480 if test "$TOOLKIT_GIVEN" = 1; then
3481 for toolkit
in $ALL_TOOLKITS; do
3483 eval "value=\$${var}"
3484 if test "x$value" = "xno"; then
3486 elif test "x$value" != "x"; then
3490 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3491 eval "wx${toolkit}_VERSION=$value"
3495 for toolkit
in $ALL_TOOLKITS; do
3496 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3497 eval "wxUSE_$toolkit=\$${var}"
3501 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3502 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3503 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3506 *-pc-os2_emx | *-pc-os2-emx )
3507 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3510 case "$NUM_TOOLKITS" in
3514 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3515 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3516 { (exit 1); exit 1; }; }
3519 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3520 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3521 { (exit 1); exit 1; }; }
3524 # to be removed when --disable-gtk2 isn't needed
3525 if test "x$wxUSE_GTK2" = "xyes"; then
3527 elif test "x$wxUSE_GTK2" = "xno"; then
3531 for toolkit
in $ALL_TOOLKITS; do
3533 eval "value=\$${var}"
3534 if test "$value" = 1; then
3535 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3536 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3537 echo "${ECHO_T}$toolkit_echo" >&6; }
3541 if test "x$host_alias" != "x"; then
3542 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3543 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3545 { echo "$as_me:$LINENO: result: base only" >&5
3546 echo "${ECHO_T}base only" >&6; }
3551 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3557 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3558 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3560 # Check whether --with-libpng was given.
3561 if test "${with_libpng+set}" = set; then
3562 withval
=$with_libpng;
3563 if test "$withval" = yes; then
3564 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3565 elif test "$withval" = no
; then
3566 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3567 elif test "$withval" = sys
; then
3568 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3569 elif test "$withval" = builtin; then
3570 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3572 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3573 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3574 { (exit 1); exit 1; }; }
3579 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3584 eval "$wx_cv_use_libpng"
3586 if test "$wxUSE_LIBPNG" = yes; then
3587 { echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6; }
3589 elif test "$wxUSE_LIBPNG" = no; then
3590 { echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6; }
3592 elif test "$wxUSE_LIBPNG" = sys; then
3593 { echo "$as_me:$LINENO: result: system version" >&5
3594 echo "${ECHO_T}system version" >&6; }
3595 elif test "$wxUSE_LIBPNG" = builtin; then
3596 { echo "$as_me:$LINENO: result: builtin version" >&5
3597 echo "${ECHO_T}builtin version" >&6; }
3599 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3600 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3601 { (exit 1); exit 1; }; }
3605 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3606 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3608 # Check whether --with-libjpeg was given.
3609 if test "${with_libjpeg+set}" = set; then
3610 withval=$with_libjpeg;
3611 if test "$withval" = yes; then
3612 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3613 elif test "$withval" = no; then
3614 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3615 elif test "$withval" = sys; then
3616 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3617 elif test "$withval" = builtin; then
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3620 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3621 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3622 { (exit 1); exit 1; }; }
3627 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3632 eval "$wx_cv_use_libjpeg"
3634 if test "$wxUSE_LIBJPEG" = yes; then
3635 { echo "$as_me:$LINENO: result
: yes" >&5
3636 echo "${ECHO_T}yes" >&6; }
3637 elif test "$wxUSE_LIBJPEG" = no; then
3638 { echo "$as_me:$LINENO: result
: no
" >&5
3639 echo "${ECHO_T}no
" >&6; }
3640 elif test "$wxUSE_LIBJPEG" = sys; then
3641 { echo "$as_me:$LINENO: result
: system version
" >&5
3642 echo "${ECHO_T}system version
" >&6; }
3643 elif test "$wxUSE_LIBJPEG" = builtin; then
3644 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3645 echo "${ECHO_T}builtin version
" >&6; }
3647 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3648 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3649 { (exit 1); exit 1; }; }
3653 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3654 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3656 # Check whether --with-libtiff was given.
3657 if test "${with_libtiff+set}" = set; then
3658 withval=$with_libtiff;
3659 if test "$withval" = yes; then
3660 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3661 elif test "$withval" = no; then
3662 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3663 elif test "$withval" = sys; then
3664 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3665 elif test "$withval" = builtin; then
3666 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3668 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3669 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3670 { (exit 1); exit 1; }; }
3675 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3680 eval "$wx_cv_use_libtiff"
3682 if test "$wxUSE_LIBTIFF" = yes; then
3683 { echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6; }
3685 elif test "$wxUSE_LIBTIFF" = no
; then
3686 { echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6; }
3688 elif test "$wxUSE_LIBTIFF" = sys
; then
3689 { echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6; }
3691 elif test "$wxUSE_LIBTIFF" = builtin; then
3692 { echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6; }
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3701 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3702 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3704 # Check whether --with-libxpm was given.
3705 if test "${with_libxpm+set}" = set; then
3706 withval
=$with_libxpm;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3709 elif test "$withval" = no
; then
3710 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3711 elif test "$withval" = sys
; then
3712 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3723 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3728 eval "$wx_cv_use_libxpm"
3730 if test "$wxUSE_LIBXPM" = yes; then
3731 { echo "$as_me:$LINENO: result: yes" >&5
3732 echo "${ECHO_T}yes" >&6; }
3733 elif test "$wxUSE_LIBXPM" = no; then
3734 { echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6; }
3736 elif test "$wxUSE_LIBXPM" = sys; then
3737 { echo "$as_me:$LINENO: result: system version" >&5
3738 echo "${ECHO_T}system version" >&6; }
3739 elif test "$wxUSE_LIBXPM" = builtin; then
3740 { echo "$as_me:$LINENO: result: builtin version" >&5
3741 echo "${ECHO_T}builtin version" >&6; }
3743 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3744 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3745 { (exit 1); exit 1; }; }
3750 defaultval=$wxUSE_ALL_FEATURES
3751 if test -z "$defaultval"; then
3752 if test x"$withstring" = xwithout; then
3758 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3759 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3761 # Check whether --with-libiconv was given.
3762 if test "${with_libiconv+set}" = set; then
3763 withval=$with_libiconv;
3764 if test "$withval" = yes; then
3765 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3767 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3772 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3777 eval "$wx_cv_use_libiconv"
3779 if test x"$withstring" = xwithout; then
3780 if test $wxUSE_LIBICONV = yes; then
3786 result=$wxUSE_LIBICONV
3789 { echo "$as_me:$LINENO: result
: $result" >&5
3790 echo "${ECHO_T}$result" >&6; }
3794 defaultval=$wxUSE_ALL_FEATURES
3795 if test -z "$defaultval"; then
3796 if test x"$withstring" = xwithout; then
3802 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3803 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3805 # Check whether --with-libmspack was given.
3806 if test "${with_libmspack+set}" = set; then
3807 withval=$with_libmspack;
3808 if test "$withval" = yes; then
3809 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3811 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3816 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3821 eval "$wx_cv_use_libmspack"
3823 if test x
"$withstring" = xwithout
; then
3824 if test $wxUSE_LIBMSPACK = yes; then
3830 result
=$wxUSE_LIBMSPACK
3833 { echo "$as_me:$LINENO: result: $result" >&5
3834 echo "${ECHO_T}$result" >&6; }
3838 defaultval
=$wxUSE_ALL_FEATURES
3839 if test -z "$defaultval"; then
3840 if test x
"$withstring" = xwithout
; then
3846 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3847 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3849 # Check whether --with-gtkprint was given.
3850 if test "${with_gtkprint+set}" = set; then
3851 withval
=$with_gtkprint;
3852 if test "$withval" = yes; then
3853 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3855 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3860 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3865 eval "$wx_cv_use_gtkprint"
3867 if test x"$withstring" = xwithout; then
3868 if test $wxUSE_GTKPRINT = yes; then
3874 result=$wxUSE_GTKPRINT
3877 { echo "$as_me:$LINENO: result: $result" >&5
3878 echo "${ECHO_T}$result" >&6; }
3882 defaultval=$wxUSE_ALL_FEATURES
3883 if test -z "$defaultval"; then
3884 if test x"$withstring" = xwithout; then
3890 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3891 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3893 # Check whether --with-gnomeprint was given.
3894 if test "${with_gnomeprint+set}" = set; then
3895 withval=$with_gnomeprint;
3896 if test "$withval" = yes; then
3897 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3899 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3904 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3909 eval "$wx_cv_use_gnomeprint"
3911 if test x"$withstring" = xwithout; then
3912 if test $wxUSE_LIBGNOMEPRINT = yes; then
3918 result=$wxUSE_LIBGNOMEPRINT
3921 { echo "$as_me:$LINENO: result
: $result" >&5
3922 echo "${ECHO_T}$result" >&6; }
3926 defaultval=$wxUSE_ALL_FEATURES
3927 if test -z "$defaultval"; then
3928 if test x"$withstring" = xwithout; then
3934 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3935 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3937 # Check whether --with-gnomevfs was given.
3938 if test "${with_gnomevfs+set}" = set; then
3939 withval=$with_gnomevfs;
3940 if test "$withval" = yes; then
3941 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3943 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3948 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3953 eval "$wx_cv_use_gnomevfs"
3955 if test x
"$withstring" = xwithout
; then
3956 if test $wxUSE_LIBGNOMEVFS = yes; then
3962 result
=$wxUSE_LIBGNOMEVFS
3965 { echo "$as_me:$LINENO: result: $result" >&5
3966 echo "${ECHO_T}$result" >&6; }
3970 defaultval
=$wxUSE_ALL_FEATURES
3971 if test -z "$defaultval"; then
3972 if test x
"$withstring" = xwithout
; then
3978 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3979 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3981 # Check whether --with-hildon was given.
3982 if test "${with_hildon+set}" = set; then
3983 withval
=$with_hildon;
3984 if test "$withval" = yes; then
3985 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3987 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
3992 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3997 eval "$wx_cv_use_hildon"
3999 if test x"$withstring" = xwithout; then
4000 if test $wxUSE_LIBHILDON = yes; then
4006 result=$wxUSE_LIBHILDON
4009 { echo "$as_me:$LINENO: result: $result" >&5
4010 echo "${ECHO_T}$result" >&6; }
4014 defaultval=$wxUSE_ALL_FEATURES
4015 if test -z "$defaultval"; then
4016 if test x"$withstring" = xwithout; then
4022 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4023 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4025 # Check whether --with-opengl was given.
4026 if test "${with_opengl+set}" = set; then
4027 withval=$with_opengl;
4028 if test "$withval" = yes; then
4029 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4031 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4036 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4041 eval "$wx_cv_use_opengl"
4043 if test x"$withstring" = xwithout; then
4044 if test $wxUSE_OPENGL = yes; then
4050 result=$wxUSE_OPENGL
4053 { echo "$as_me:$LINENO: result
: $result" >&5
4054 echo "${ECHO_T}$result" >&6; }
4061 defaultval=$wxUSE_ALL_FEATURES
4062 if test -z "$defaultval"; then
4063 if test x"$withstring" = xwithout; then
4069 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4070 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4072 # Check whether --with-dmalloc was given.
4073 if test "${with_dmalloc+set}" = set; then
4074 withval=$with_dmalloc;
4075 if test "$withval" = yes; then
4076 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4078 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4083 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4088 eval "$wx_cv_use_dmalloc"
4090 if test x
"$withstring" = xwithout
; then
4091 if test $wxUSE_DMALLOC = yes; then
4097 result
=$wxUSE_DMALLOC
4100 { echo "$as_me:$LINENO: result: $result" >&5
4101 echo "${ECHO_T}$result" >&6; }
4105 defaultval
=$wxUSE_ALL_FEATURES
4106 if test -z "$defaultval"; then
4107 if test x
"$withstring" = xwithout
; then
4113 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4114 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4116 # Check whether --with-sdl was given.
4117 if test "${with_sdl+set}" = set; then
4119 if test "$withval" = yes; then
4120 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4122 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4127 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4132 eval "$wx_cv_use_sdl"
4134 if test x"$withstring" = xwithout; then
4135 if test $wxUSE_LIBSDL = yes; then
4141 result=$wxUSE_LIBSDL
4144 { echo "$as_me:$LINENO: result: $result" >&5
4145 echo "${ECHO_T}$result" >&6; }
4148 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4149 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4151 # Check whether --with-regex was given.
4152 if test "${with_regex+set}" = set; then
4153 withval=$with_regex;
4154 if test "$withval" = yes; then
4155 wx_cv_use_regex='wxUSE_REGEX
=yes'
4156 elif test "$withval" = no; then
4157 wx_cv_use_regex='wxUSE_REGEX
=no
'
4158 elif test "$withval" = sys; then
4159 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4160 elif test "$withval" = builtin; then
4161 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4163 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4164 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4165 { (exit 1); exit 1; }; }
4170 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4175 eval "$wx_cv_use_regex"
4177 if test "$wxUSE_REGEX" = yes; then
4178 { echo "$as_me:$LINENO: result
: yes" >&5
4179 echo "${ECHO_T}yes" >&6; }
4180 elif test "$wxUSE_REGEX" = no; then
4181 { echo "$as_me:$LINENO: result
: no
" >&5
4182 echo "${ECHO_T}no
" >&6; }
4183 elif test "$wxUSE_REGEX" = sys; then
4184 { echo "$as_me:$LINENO: result
: system version
" >&5
4185 echo "${ECHO_T}system version
" >&6; }
4186 elif test "$wxUSE_REGEX" = builtin; then
4187 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4188 echo "${ECHO_T}builtin version
" >&6; }
4190 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4191 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4192 { (exit 1); exit 1; }; }
4196 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4197 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4199 # Check whether --with-zlib was given.
4200 if test "${with_zlib+set}" = set; then
4202 if test "$withval" = yes; then
4203 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4204 elif test "$withval" = no; then
4205 wx_cv_use_zlib='wxUSE_ZLIB=no'
4206 elif test "$withval" = sys; then
4207 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4208 elif test "$withval" = builtin; then
4209 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4211 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4212 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4213 { (exit 1); exit 1; }; }
4218 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4223 eval "$wx_cv_use_zlib"
4225 if test "$wxUSE_ZLIB" = yes; then
4226 { echo "$as_me:$LINENO: result: yes" >&5
4227 echo "${ECHO_T}yes" >&6; }
4228 elif test "$wxUSE_ZLIB" = no
; then
4229 { echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6; }
4231 elif test "$wxUSE_ZLIB" = sys
; then
4232 { echo "$as_me:$LINENO: result: system version" >&5
4233 echo "${ECHO_T}system version" >&6; }
4234 elif test "$wxUSE_ZLIB" = builtin; then
4235 { echo "$as_me:$LINENO: result: builtin version" >&5
4236 echo "${ECHO_T}builtin version" >&6; }
4238 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4239 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4240 { (exit 1); exit 1; }; }
4244 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4245 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4247 # Check whether --with-expat was given.
4248 if test "${with_expat+set}" = set; then
4249 withval
=$with_expat;
4250 if test "$withval" = yes; then
4251 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4252 elif test "$withval" = no
; then
4253 wx_cv_use_expat
='wxUSE_EXPAT=no'
4254 elif test "$withval" = sys
; then
4255 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4256 elif test "$withval" = builtin; then
4257 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4259 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4260 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4261 { (exit 1); exit 1; }; }
4266 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4271 eval "$wx_cv_use_expat"
4273 if test "$wxUSE_EXPAT" = yes; then
4274 { echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6; }
4276 elif test "$wxUSE_EXPAT" = no; then
4277 { echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6; }
4279 elif test "$wxUSE_EXPAT" = sys; then
4280 { echo "$as_me:$LINENO: result: system version" >&5
4281 echo "${ECHO_T}system version" >&6; }
4282 elif test "$wxUSE_EXPAT" = builtin; then
4283 { echo "$as_me:$LINENO: result: builtin version" >&5
4284 echo "${ECHO_T}builtin version" >&6; }
4286 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4287 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4288 { (exit 1); exit 1; }; }
4292 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4293 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4295 # Check whether --with-macosx-sdk was given.
4296 if test "${with_macosx_sdk+set}" = set; then
4297 withval=$with_macosx_sdk;
4298 wxUSE_MACOSX_SDK=$withval
4299 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4303 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4304 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4306 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4307 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4309 # Check whether --with-macosx-version-min was given.
4310 if test "${with_macosx_version_min+set}" = set; then
4311 withval=$with_macosx_version_min;
4312 wxUSE_MACOSX_VERSION_MIN=$withval
4313 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4317 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4318 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4322 enablestring=disable
4324 if test -z "$defaultval"; then
4325 if test x"$enablestring" = xdisable; then
4332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4334 # Check whether --enable-shared was given.
4335 if test "${enable_shared+set}" = set; then
4336 enableval=$enable_shared;
4337 if test "$enableval" = yes; then
4338 wx_cv_use_shared='wxUSE_SHARED
=yes'
4340 wx_cv_use_shared='wxUSE_SHARED
=no
'
4345 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4350 eval "$wx_cv_use_shared"
4352 if test x"$enablestring" = xdisable; then
4353 if test $wxUSE_SHARED = no; then
4359 result=$wxUSE_SHARED
4362 { echo "$as_me:$LINENO: result
: $result" >&5
4363 echo "${ECHO_T}$result" >&6; }
4368 if test -z "$defaultval"; then
4369 if test x"$enablestring" = xdisable; then
4376 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4377 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4378 # Check whether --enable-debug was given.
4379 if test "${enable_debug+set}" = set; then
4380 enableval=$enable_debug;
4381 if test "$enableval" = yes; then
4382 wx_cv_use_debug='wxUSE_DEBUG=yes'
4384 wx_cv_use_debug='wxUSE_DEBUG=no'
4389 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4394 eval "$wx_cv_use_debug"
4396 if test x
"$enablestring" = xdisable
; then
4397 if test $wxUSE_DEBUG = no
; then
4406 { echo "$as_me:$LINENO: result: $result" >&5
4407 echo "${ECHO_T}$result" >&6; }
4412 if test -z "$defaultval"; then
4413 if test x
"$enablestring" = xdisable
; then
4420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4421 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4422 # Check whether --enable-stl was given.
4423 if test "${enable_stl+set}" = set; then
4424 enableval
=$enable_stl;
4425 if test "$enableval" = yes; then
4426 wx_cv_use_stl
='wxUSE_STL=yes'
4428 wx_cv_use_stl
='wxUSE_STL=no'
4433 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4438 eval "$wx_cv_use_stl"
4440 if test x"$enablestring" = xdisable; then
4441 if test $wxUSE_STL = no; then
4450 { echo "$as_me:$LINENO: result: $result" >&5
4451 echo "${ECHO_T}$result" >&6; }
4456 if test -z "$defaultval"; then
4457 if test x"$enablestring" = xdisable; then
4464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4465 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4466 # Check whether --enable-std_iostreams was given.
4467 if test "${enable_std_iostreams+set}" = set; then
4468 enableval=$enable_std_iostreams;
4469 if test "$enableval" = yes; then
4470 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4472 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4477 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4482 eval "$wx_cv_use_std_iostreams"
4484 if test x"$enablestring" = xdisable; then
4485 if test $wxUSE_STD_IOSTREAM = no; then
4491 result=$wxUSE_STD_IOSTREAM
4494 { echo "$as_me:$LINENO: result
: $result" >&5
4495 echo "${ECHO_T}$result" >&6; }
4500 if test -z "$defaultval"; then
4501 if test x"$enablestring" = xdisable; then
4508 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4509 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4510 # Check whether --enable-std_string was given.
4511 if test "${enable_std_string+set}" = set; then
4512 enableval=$enable_std_string;
4513 if test "$enableval" = yes; then
4514 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4516 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4521 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4526 eval "$wx_cv_use_std_string"
4528 if test x
"$enablestring" = xdisable
; then
4529 if test $wxUSE_STD_STRING = no
; then
4535 result
=$wxUSE_STD_STRING
4538 { echo "$as_me:$LINENO: result: $result" >&5
4539 echo "${ECHO_T}$result" >&6; }
4542 enablestring
=disable
4544 if test -z "$defaultval"; then
4545 if test x
"$enablestring" = xdisable
; then
4552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4553 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4554 # Check whether --enable-unicode was given.
4555 if test "${enable_unicode+set}" = set; then
4556 enableval
=$enable_unicode;
4557 if test "$enableval" = yes; then
4558 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4560 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4565 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4570 eval "$wx_cv_use_unicode"
4572 if test x"$enablestring" = xdisable; then
4573 if test $wxUSE_UNICODE = no; then
4579 result=$wxUSE_UNICODE
4582 { echo "$as_me:$LINENO: result: $result" >&5
4583 echo "${ECHO_T}$result" >&6; }
4588 if test -z "$defaultval"; then
4589 if test x"$enablestring" = xdisable; then
4596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4598 # Check whether --enable-mslu was given.
4599 if test "${enable_mslu+set}" = set; then
4600 enableval=$enable_mslu;
4601 if test "$enableval" = yes; then
4602 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4604 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4609 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4614 eval "$wx_cv_use_mslu"
4616 if test x"$enablestring" = xdisable; then
4617 if test $wxUSE_UNICODE_MSLU = no; then
4623 result=$wxUSE_UNICODE_MSLU
4626 { echo "$as_me:$LINENO: result
: $result" >&5
4627 echo "${ECHO_T}$result" >&6; }
4631 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4632 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4633 # Check whether --enable-utf8 was given.
4634 if test "${enable_utf8+set}" = set; then
4635 enableval=$enable_utf8;
4636 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4640 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4645 eval "$wx_cv_use_utf8"
4647 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4648 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4653 if test -z "$defaultval"; then
4654 if test x"$enablestring" = xdisable; then
4661 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4662 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4663 # Check whether --enable-utf8only was given.
4664 if test "${enable_utf8only+set}" = set; then
4665 enableval=$enable_utf8only;
4666 if test "$enableval" = yes; then
4667 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4669 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4674 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4679 eval "$wx_cv_use_utf8only"
4681 if test x
"$enablestring" = xdisable
; then
4682 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
4688 result
=$wxUSE_UNICODE_UTF8_LOCALE
4691 { echo "$as_me:$LINENO: result: $result" >&5
4692 echo "${ECHO_T}$result" >&6; }
4697 if test -z "$defaultval"; then
4698 if test x
"$enablestring" = xdisable
; then
4705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4706 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4707 # Check whether --enable-extended_rtti was given.
4708 if test "${enable_extended_rtti+set}" = set; then
4709 enableval
=$enable_extended_rtti;
4710 if test "$enableval" = yes; then
4711 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4713 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4718 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4723 eval "$wx_cv_use_extended_rtti"
4725 if test x"$enablestring" = xdisable; then
4726 if test $wxUSE_EXTENDED_RTTI = no; then
4732 result=$wxUSE_EXTENDED_RTTI
4735 { echo "$as_me:$LINENO: result: $result" >&5
4736 echo "${ECHO_T}$result" >&6; }
4738 if test "$USE_OS2" = 1; then
4739 DEFAULT_wxUSE_OMF=no
4743 if test -z "$defaultval"; then
4744 if test x"$enablestring" = xdisable; then
4751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4752 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4753 # Check whether --enable-omf was given.
4754 if test "${enable_omf+set}" = set; then
4755 enableval=$enable_omf;
4756 if test "$enableval" = yes; then
4757 wx_cv_use_omf='wxUSE_OMF
=yes'
4759 wx_cv_use_omf='wxUSE_OMF
=no
'
4764 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4769 eval "$wx_cv_use_omf"
4771 if test x"$enablestring" = xdisable; then
4772 if test $wxUSE_OMF = no; then
4781 { echo "$as_me:$LINENO: result
: $result" >&5
4782 echo "${ECHO_T}$result" >&6; }
4786 if test "$wxUSE_DEBUG" = "yes"; then
4787 DEFAULT_wxUSE_DEBUG_FLAG=yes
4788 DEFAULT_wxUSE_DEBUG_INFO=yes
4790 elif test "$wxUSE_DEBUG" = "no
"; then
4791 DEFAULT_wxUSE_DEBUG_FLAG=no
4792 DEFAULT_wxUSE_DEBUG_INFO=no
4799 if test -z "$defaultval"; then
4800 if test x"$enablestring" = xdisable; then
4807 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4808 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4809 # Check whether --enable-debug_flag was given.
4810 if test "${enable_debug_flag+set}" = set; then
4811 enableval=$enable_debug_flag;
4812 if test "$enableval" = yes; then
4813 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4815 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4820 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4825 eval "$wx_cv_use_debug_flag"
4827 if test x
"$enablestring" = xdisable
; then
4828 if test $wxUSE_DEBUG_FLAG = no
; then
4834 result
=$wxUSE_DEBUG_FLAG
4837 { echo "$as_me:$LINENO: result: $result" >&5
4838 echo "${ECHO_T}$result" >&6; }
4843 if test -z "$defaultval"; then
4844 if test x
"$enablestring" = xdisable
; then
4851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4852 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4853 # Check whether --enable-debug_info was given.
4854 if test "${enable_debug_info+set}" = set; then
4855 enableval
=$enable_debug_info;
4856 if test "$enableval" = yes; then
4857 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4859 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4864 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4869 eval "$wx_cv_use_debug_info"
4871 if test x"$enablestring" = xdisable; then
4872 if test $wxUSE_DEBUG_INFO = no; then
4878 result=$wxUSE_DEBUG_INFO
4881 { echo "$as_me:$LINENO: result: $result" >&5
4882 echo "${ECHO_T}$result" >&6; }
4885 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4890 if test "$wxUSE_DEBUG" = "yes"; then
4891 DEFAULT_wxUSE_OPTIMISE=no
4895 enablestring=disable
4897 if test -z "$defaultval"; then
4898 if test x"$enablestring" = xdisable; then
4905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4906 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4907 # Check whether --enable-optimise was given.
4908 if test "${enable_optimise+set}" = set; then
4909 enableval=$enable_optimise;
4910 if test "$enableval" = yes; then
4911 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4913 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4918 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4923 eval "$wx_cv_use_optimise"
4925 if test x"$enablestring" = xdisable; then
4926 if test $wxUSE_OPTIMISE = no; then
4932 result=$wxUSE_OPTIMISE
4935 { echo "$as_me:$LINENO: result
: $result" >&5
4936 echo "${ECHO_T}$result" >&6; }
4942 if test -z "$defaultval"; then
4943 if test x"$enablestring" = xdisable; then
4950 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4951 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4952 # Check whether --enable-debug_gdb was given.
4953 if test "${enable_debug_gdb+set}" = set; then
4954 enableval=$enable_debug_gdb;
4955 if test "$enableval" = yes; then
4956 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4958 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4963 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4968 eval "$wx_cv_use_debug_gdb"
4970 if test x
"$enablestring" = xdisable
; then
4971 if test $wxUSE_DEBUG_GDB = no
; then
4977 result
=$wxUSE_DEBUG_GDB
4980 { echo "$as_me:$LINENO: result: $result" >&5
4981 echo "${ECHO_T}$result" >&6; }
4986 if test -z "$defaultval"; then
4987 if test x
"$enablestring" = xdisable
; then
4994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4995 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4996 # Check whether --enable-debug_cntxt was given.
4997 if test "${enable_debug_cntxt+set}" = set; then
4998 enableval
=$enable_debug_cntxt;
4999 if test "$enableval" = yes; then
5000 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
5002 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5007 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5012 eval "$wx_cv_use_debug_cntxt"
5014 if test x"$enablestring" = xdisable; then
5015 if test $wxUSE_DEBUG_CONTEXT = no; then
5021 result=$wxUSE_DEBUG_CONTEXT
5024 { echo "$as_me:$LINENO: result: $result" >&5
5025 echo "${ECHO_T}$result" >&6; }
5030 if test -z "$defaultval"; then
5031 if test x"$enablestring" = xdisable; then
5038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5039 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5040 # Check whether --enable-mem_tracing was given.
5041 if test "${enable_mem_tracing+set}" = set; then
5042 enableval=$enable_mem_tracing;
5043 if test "$enableval" = yes; then
5044 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5046 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5051 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5056 eval "$wx_cv_use_mem_tracing"
5058 if test x"$enablestring" = xdisable; then
5059 if test $wxUSE_MEM_TRACING = no; then
5065 result=$wxUSE_MEM_TRACING
5068 { echo "$as_me:$LINENO: result
: $result" >&5
5069 echo "${ECHO_T}$result" >&6; }
5074 if test -z "$defaultval"; then
5075 if test x"$enablestring" = xdisable; then
5082 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5083 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5084 # Check whether --enable-profile was given.
5085 if test "${enable_profile+set}" = set; then
5086 enableval=$enable_profile;
5087 if test "$enableval" = yes; then
5088 wx_cv_use_profile='wxUSE_PROFILE=yes'
5090 wx_cv_use_profile='wxUSE_PROFILE=no'
5095 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5100 eval "$wx_cv_use_profile"
5102 if test x
"$enablestring" = xdisable
; then
5103 if test $wxUSE_PROFILE = no
; then
5109 result
=$wxUSE_PROFILE
5112 { echo "$as_me:$LINENO: result: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5118 if test -z "$defaultval"; then
5119 if test x
"$enablestring" = xdisable
; then
5126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5128 # Check whether --enable-no_rtti was given.
5129 if test "${enable_no_rtti+set}" = set; then
5130 enableval
=$enable_no_rtti;
5131 if test "$enableval" = yes; then
5132 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5134 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5139 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5144 eval "$wx_cv_use_no_rtti"
5146 if test x"$enablestring" = xdisable; then
5147 if test $wxUSE_NO_RTTI = no; then
5153 result=$wxUSE_NO_RTTI
5156 { echo "$as_me:$LINENO: result: $result" >&5
5157 echo "${ECHO_T}$result" >&6; }
5162 if test -z "$defaultval"; then
5163 if test x"$enablestring" = xdisable; then
5170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5172 # Check whether --enable-no_exceptions was given.
5173 if test "${enable_no_exceptions+set}" = set; then
5174 enableval=$enable_no_exceptions;
5175 if test "$enableval" = yes; then
5176 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5178 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5183 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5188 eval "$wx_cv_use_no_exceptions"
5190 if test x"$enablestring" = xdisable; then
5191 if test $wxUSE_NO_EXCEPTIONS = no; then
5197 result=$wxUSE_NO_EXCEPTIONS
5200 { echo "$as_me:$LINENO: result
: $result" >&5
5201 echo "${ECHO_T}$result" >&6; }
5206 if test -z "$defaultval"; then
5207 if test x"$enablestring" = xdisable; then
5214 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5215 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5216 # Check whether --enable-permissive was given.
5217 if test "${enable_permissive+set}" = set; then
5218 enableval=$enable_permissive;
5219 if test "$enableval" = yes; then
5220 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5222 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5227 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5232 eval "$wx_cv_use_permissive"
5234 if test x
"$enablestring" = xdisable
; then
5235 if test $wxUSE_PERMISSIVE = no
; then
5241 result
=$wxUSE_PERMISSIVE
5244 { echo "$as_me:$LINENO: result: $result" >&5
5245 echo "${ECHO_T}$result" >&6; }
5250 if test -z "$defaultval"; then
5251 if test x
"$enablestring" = xdisable
; then
5258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5259 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5260 # Check whether --enable-no_deps was given.
5261 if test "${enable_no_deps+set}" = set; then
5262 enableval
=$enable_no_deps;
5263 if test "$enableval" = yes; then
5264 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5266 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5271 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5276 eval "$wx_cv_use_no_deps"
5278 if test x"$enablestring" = xdisable; then
5279 if test $wxUSE_NO_DEPS = no; then
5285 result=$wxUSE_NO_DEPS
5288 { echo "$as_me:$LINENO: result: $result" >&5
5289 echo "${ECHO_T}$result" >&6; }
5292 enablestring=disable
5294 if test -z "$defaultval"; then
5295 if test x"$enablestring" = xdisable; then
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5304 # Check whether --enable-vararg_macros was given.
5305 if test "${enable_vararg_macros+set}" = set; then
5306 enableval=$enable_vararg_macros;
5307 if test "$enableval" = yes; then
5308 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5310 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5315 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5320 eval "$wx_cv_use_vararg_macros"
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_VARARG_MACROS = no; then
5329 result=$wxUSE_VARARG_MACROS
5332 { echo "$as_me:$LINENO: result
: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5337 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5338 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5339 # Check whether --enable-universal_binary was given.
5340 if test "${enable_universal_binary+set}" = set; then
5341 enableval=$enable_universal_binary;
5342 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5346 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5351 eval "$wx_cv_use_universal_binary"
5353 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5354 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5360 if test -z "$defaultval"; then
5361 if test x"$enablestring" = xdisable; then
5368 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5369 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5370 # Check whether --enable-compat26 was given.
5371 if test "${enable_compat26+set}" = set; then
5372 enableval=$enable_compat26;
5373 if test "$enableval" = yes; then
5374 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5376 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5381 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5386 eval "$wx_cv_use_compat26"
5388 if test x
"$enablestring" = xdisable
; then
5389 if test $WXWIN_COMPATIBILITY_2_6 = no
; then
5395 result
=$WXWIN_COMPATIBILITY_2_6
5398 { echo "$as_me:$LINENO: result: $result" >&5
5399 echo "${ECHO_T}$result" >&6; }
5402 enablestring
=disable
5404 if test -z "$defaultval"; then
5405 if test x
"$enablestring" = xdisable
; then
5412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5413 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5414 # Check whether --enable-compat28 was given.
5415 if test "${enable_compat28+set}" = set; then
5416 enableval
=$enable_compat28;
5417 if test "$enableval" = yes; then
5418 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5420 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5425 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5430 eval "$wx_cv_use_compat28"
5432 if test x"$enablestring" = xdisable; then
5433 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5439 result=$WXWIN_COMPATIBILITY_2_8
5442 { echo "$as_me:$LINENO: result: $result" >&5
5443 echo "${ECHO_T}$result" >&6; }
5447 enablestring=disable
5449 if test -z "$defaultval"; then
5450 if test x"$enablestring" = xdisable; then
5457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5459 # Check whether --enable-rpath was given.
5460 if test "${enable_rpath+set}" = set; then
5461 enableval=$enable_rpath;
5462 if test "$enableval" = yes; then
5463 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5465 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5470 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5475 eval "$wx_cv_use_rpath"
5477 if test x"$enablestring" = xdisable; then
5478 if test $wxUSE_RPATH = no; then
5487 { echo "$as_me:$LINENO: result
: $result" >&5
5488 echo "${ECHO_T}$result" >&6; }
5494 if test -z "$defaultval"; then
5495 if test x"$enablestring" = xdisable; then
5502 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5503 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5504 # Check whether --enable-objc_uniquifying was given.
5505 if test "${enable_objc_uniquifying+set}" = set; then
5506 enableval=$enable_objc_uniquifying;
5507 if test "$enableval" = yes; then
5508 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5510 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5515 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5520 eval "$wx_cv_use_objc_uniquifying"
5522 if test x
"$enablestring" = xdisable
; then
5523 if test $wxUSE_OBJC_UNIQUIFYING = no
; then
5529 result
=$wxUSE_OBJC_UNIQUIFYING
5532 { echo "$as_me:$LINENO: result: $result" >&5
5533 echo "${ECHO_T}$result" >&6; }
5537 enablestring
=disable
5539 if test -z "$defaultval"; then
5540 if test x
"$enablestring" = xdisable
; then
5547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5548 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5549 # Check whether --enable-visibility was given.
5550 if test "${enable_visibility+set}" = set; then
5551 enableval
=$enable_visibility;
5552 if test "$enableval" = yes; then
5553 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5555 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5560 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5565 eval "$wx_cv_use_visibility"
5567 if test x"$enablestring" = xdisable; then
5568 if test $wxUSE_VISIBILITY = no; then
5574 result=$wxUSE_VISIBILITY
5577 { echo "$as_me:$LINENO: result: $result" >&5
5578 echo "${ECHO_T}$result" >&6; }
5581 enablestring=disable
5583 if test -z "$defaultval"; then
5584 if test x"$enablestring" = xdisable; then
5591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5592 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5593 # Check whether --enable-tls was given.
5594 if test "${enable_tls+set}" = set; then
5595 enableval=$enable_tls;
5596 if test "$enableval" = yes; then
5597 wx_cv_use_tls='wxUSE_COMPILER_TLS
=yes'
5599 wx_cv_use_tls='wxUSE_COMPILER_TLS
=no
'
5604 wx_cv_use_tls='wxUSE_COMPILER_TLS
=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5609 eval "$wx_cv_use_tls"
5611 if test x"$enablestring" = xdisable; then
5612 if test $wxUSE_COMPILER_TLS = no; then
5618 result=$wxUSE_COMPILER_TLS
5621 { echo "$as_me:$LINENO: result
: $result" >&5
5622 echo "${ECHO_T}$result" >&6; }
5628 defaultval=$wxUSE_ALL_FEATURES
5629 if test -z "$defaultval"; then
5630 if test x"$enablestring" = xdisable; then
5637 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-intl" >&5
5638 echo $ECHO_N "checking
for --${enablestring:-enable}-intl...
$ECHO_C" >&6; }
5639 # Check whether --enable-intl was given.
5640 if test "${enable_intl+set}" = set; then
5641 enableval=$enable_intl;
5642 if test "$enableval" = yes; then
5643 wx_cv_use_intl='wxUSE_INTL=yes'
5645 wx_cv_use_intl='wxUSE_INTL=no'
5650 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5655 eval "$wx_cv_use_intl"
5657 if test x
"$enablestring" = xdisable
; then
5658 if test $wxUSE_INTL = no
; then
5667 { echo "$as_me:$LINENO: result: $result" >&5
5668 echo "${ECHO_T}$result" >&6; }
5672 defaultval
=$wxUSE_ALL_FEATURES
5673 if test -z "$defaultval"; then
5674 if test x
"$enablestring" = xdisable
; then
5681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5683 # Check whether --enable-xlocale was given.
5684 if test "${enable_xlocale+set}" = set; then
5685 enableval
=$enable_xlocale;
5686 if test "$enableval" = yes; then
5687 wx_cv_use_xlocale
='wxUSE_XLOCALE=yes'
5689 wx_cv_use_xlocale
='wxUSE_XLOCALE=no'
5694 wx_cv_use_xlocale
='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5699 eval "$wx_cv_use_xlocale"
5701 if test x"$enablestring" = xdisable; then
5702 if test $wxUSE_XLOCALE = no; then
5708 result=$wxUSE_XLOCALE
5711 { echo "$as_me:$LINENO: result: $result" >&5
5712 echo "${ECHO_T}$result" >&6; }
5716 defaultval=$wxUSE_ALL_FEATURES
5717 if test -z "$defaultval"; then
5718 if test x"$enablestring" = xdisable; then
5725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5726 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5727 # Check whether --enable-config was given.
5728 if test "${enable_config+set}" = set; then
5729 enableval=$enable_config;
5730 if test "$enableval" = yes; then
5731 wx_cv_use_config='wxUSE_CONFIG
=yes'
5733 wx_cv_use_config='wxUSE_CONFIG
=no
'
5738 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5743 eval "$wx_cv_use_config"
5745 if test x"$enablestring" = xdisable; then
5746 if test $wxUSE_CONFIG = no; then
5752 result=$wxUSE_CONFIG
5755 { echo "$as_me:$LINENO: result
: $result" >&5
5756 echo "${ECHO_T}$result" >&6; }
5761 defaultval=$wxUSE_ALL_FEATURES
5762 if test -z "$defaultval"; then
5763 if test x"$enablestring" = xdisable; then
5770 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
5771 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
5772 # Check whether --enable-protocols was given.
5773 if test "${enable_protocols+set}" = set; then
5774 enableval=$enable_protocols;
5775 if test "$enableval" = yes; then
5776 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5778 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5783 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5788 eval "$wx_cv_use_protocols"
5790 if test x
"$enablestring" = xdisable
; then
5791 if test $wxUSE_PROTOCOL = no
; then
5797 result
=$wxUSE_PROTOCOL
5800 { echo "$as_me:$LINENO: result: $result" >&5
5801 echo "${ECHO_T}$result" >&6; }
5805 defaultval
=$wxUSE_ALL_FEATURES
5806 if test -z "$defaultval"; then
5807 if test x
"$enablestring" = xdisable
; then
5814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5815 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5816 # Check whether --enable-ftp was given.
5817 if test "${enable_ftp+set}" = set; then
5818 enableval
=$enable_ftp;
5819 if test "$enableval" = yes; then
5820 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
5822 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
5827 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5832 eval "$wx_cv_use_ftp"
5834 if test x"$enablestring" = xdisable; then
5835 if test $wxUSE_PROTOCOL_FTP = no; then
5841 result=$wxUSE_PROTOCOL_FTP
5844 { echo "$as_me:$LINENO: result: $result" >&5
5845 echo "${ECHO_T}$result" >&6; }
5849 defaultval=$wxUSE_ALL_FEATURES
5850 if test -z "$defaultval"; then
5851 if test x"$enablestring" = xdisable; then
5858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5859 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5860 # Check whether --enable-http was given.
5861 if test "${enable_http+set}" = set; then
5862 enableval=$enable_http;
5863 if test "$enableval" = yes; then
5864 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
5866 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
5871 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5876 eval "$wx_cv_use_http"
5878 if test x"$enablestring" = xdisable; then
5879 if test $wxUSE_PROTOCOL_HTTP = no; then
5885 result=$wxUSE_PROTOCOL_HTTP
5888 { echo "$as_me:$LINENO: result
: $result" >&5
5889 echo "${ECHO_T}$result" >&6; }
5893 defaultval=$wxUSE_ALL_FEATURES
5894 if test -z "$defaultval"; then
5895 if test x"$enablestring" = xdisable; then
5902 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
5903 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
5904 # Check whether --enable-fileproto was given.
5905 if test "${enable_fileproto+set}" = set; then
5906 enableval=$enable_fileproto;
5907 if test "$enableval" = yes; then
5908 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5910 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5915 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5920 eval "$wx_cv_use_fileproto"
5922 if test x
"$enablestring" = xdisable
; then
5923 if test $wxUSE_PROTOCOL_FILE = no
; then
5929 result
=$wxUSE_PROTOCOL_FILE
5932 { echo "$as_me:$LINENO: result: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5937 defaultval
=$wxUSE_ALL_FEATURES
5938 if test -z "$defaultval"; then
5939 if test x
"$enablestring" = xdisable
; then
5946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5947 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5948 # Check whether --enable-sockets was given.
5949 if test "${enable_sockets+set}" = set; then
5950 enableval
=$enable_sockets;
5951 if test "$enableval" = yes; then
5952 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
5954 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
5959 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5964 eval "$wx_cv_use_sockets"
5966 if test x"$enablestring" = xdisable; then
5967 if test $wxUSE_SOCKETS = no; then
5973 result=$wxUSE_SOCKETS
5976 { echo "$as_me:$LINENO: result: $result" >&5
5977 echo "${ECHO_T}$result" >&6; }
5981 defaultval=$wxUSE_ALL_FEATURES
5982 if test -z "$defaultval"; then
5983 if test x"$enablestring" = xdisable; then
5990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5992 # Check whether --enable-ipv6 was given.
5993 if test "${enable_ipv6+set}" = set; then
5994 enableval=$enable_ipv6;
5995 if test "$enableval" = yes; then
5996 wx_cv_use_ipv6='wxUSE_IPV6
=yes'
5998 wx_cv_use_ipv6='wxUSE_IPV6
=no
'
6003 wx_cv_use_ipv6='wxUSE_IPV6
=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6008 eval "$wx_cv_use_ipv6"
6010 if test x"$enablestring" = xdisable; then
6011 if test $wxUSE_IPV6 = no; then
6020 { echo "$as_me:$LINENO: result
: $result" >&5
6021 echo "${ECHO_T}$result" >&6; }
6025 defaultval=$wxUSE_ALL_FEATURES
6026 if test -z "$defaultval"; then
6027 if test x"$enablestring" = xdisable; then
6034 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ole" >&5
6035 echo $ECHO_N "checking
for --${enablestring:-enable}-ole...
$ECHO_C" >&6; }
6036 # Check whether --enable-ole was given.
6037 if test "${enable_ole+set}" = set; then
6038 enableval=$enable_ole;
6039 if test "$enableval" = yes; then
6040 wx_cv_use_ole='wxUSE_OLE=yes'
6042 wx_cv_use_ole='wxUSE_OLE=no'
6047 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6052 eval "$wx_cv_use_ole"
6054 if test x
"$enablestring" = xdisable
; then
6055 if test $wxUSE_OLE = no
; then
6064 { echo "$as_me:$LINENO: result: $result" >&5
6065 echo "${ECHO_T}$result" >&6; }
6069 defaultval
=$wxUSE_ALL_FEATURES
6070 if test -z "$defaultval"; then
6071 if test x
"$enablestring" = xdisable
; then
6078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6079 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6080 # Check whether --enable-dataobj was given.
6081 if test "${enable_dataobj+set}" = set; then
6082 enableval
=$enable_dataobj;
6083 if test "$enableval" = yes; then
6084 wx_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
6086 wx_cv_use_dataobj
='wxUSE_DATAOBJ=no'
6091 wx_cv_use_dataobj
='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6096 eval "$wx_cv_use_dataobj"
6098 if test x"$enablestring" = xdisable; then
6099 if test $wxUSE_DATAOBJ = no; then
6105 result=$wxUSE_DATAOBJ
6108 { echo "$as_me:$LINENO: result: $result" >&5
6109 echo "${ECHO_T}$result" >&6; }
6114 defaultval=$wxUSE_ALL_FEATURES
6115 if test -z "$defaultval"; then
6116 if test x"$enablestring" = xdisable; then
6123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6124 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6125 # Check whether --enable-ipc was given.
6126 if test "${enable_ipc+set}" = set; then
6127 enableval=$enable_ipc;
6128 if test "$enableval" = yes; then
6129 wx_cv_use_ipc='wxUSE_IPC
=yes'
6131 wx_cv_use_ipc='wxUSE_IPC
=no
'
6136 wx_cv_use_ipc='wxUSE_IPC
=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6141 eval "$wx_cv_use_ipc"
6143 if test x"$enablestring" = xdisable; then
6144 if test $wxUSE_IPC = no; then
6153 { echo "$as_me:$LINENO: result
: $result" >&5
6154 echo "${ECHO_T}$result" >&6; }
6159 defaultval=$wxUSE_ALL_FEATURES
6160 if test -z "$defaultval"; then
6161 if test x"$enablestring" = xdisable; then
6168 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-baseevtloop" >&5
6169 echo $ECHO_N "checking
for --${enablestring:-enable}-baseevtloop...
$ECHO_C" >&6; }
6170 # Check whether --enable-baseevtloop was given.
6171 if test "${enable_baseevtloop+set}" = set; then
6172 enableval=$enable_baseevtloop;
6173 if test "$enableval" = yes; then
6174 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6176 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6181 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6186 eval "$wx_cv_use_baseevtloop"
6188 if test x
"$enablestring" = xdisable
; then
6189 if test $wxUSE_CONSOLE_EVENTLOOP = no
; then
6195 result
=$wxUSE_CONSOLE_EVENTLOOP
6198 { echo "$as_me:$LINENO: result: $result" >&5
6199 echo "${ECHO_T}$result" >&6; }
6203 defaultval
=$wxUSE_ALL_FEATURES
6204 if test -z "$defaultval"; then
6205 if test x
"$enablestring" = xdisable
; then
6212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6213 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6214 # Check whether --enable-epollloop was given.
6215 if test "${enable_epollloop+set}" = set; then
6216 enableval
=$enable_epollloop;
6217 if test "$enableval" = yes; then
6218 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=yes'
6220 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=no'
6225 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6230 eval "$wx_cv_use_epollloop"
6232 if test x"$enablestring" = xdisable; then
6233 if test $wxUSE_EPOLL_DISPATCHER = no; then
6239 result=$wxUSE_EPOLL_DISPATCHER
6242 { echo "$as_me:$LINENO: result: $result" >&5
6243 echo "${ECHO_T}$result" >&6; }
6247 defaultval=$wxUSE_ALL_FEATURES
6248 if test -z "$defaultval"; then
6249 if test x"$enablestring" = xdisable; then
6256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6257 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6258 # Check whether --enable-selectloop was given.
6259 if test "${enable_selectloop+set}" = set; then
6260 enableval=$enable_selectloop;
6261 if test "$enableval" = yes; then
6262 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=yes'
6264 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=no
'
6269 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6274 eval "$wx_cv_use_selectloop"
6276 if test x"$enablestring" = xdisable; then
6277 if test $wxUSE_SELECT_DISPATCHER = no; then
6283 result=$wxUSE_SELECT_DISPATCHER
6286 { echo "$as_me:$LINENO: result
: $result" >&5
6287 echo "${ECHO_T}$result" >&6; }
6292 defaultval=$wxUSE_ALL_FEATURES
6293 if test -z "$defaultval"; then
6294 if test x"$enablestring" = xdisable; then
6301 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6302 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6303 # Check whether --enable-apple_ieee was given.
6304 if test "${enable_apple_ieee+set}" = set; then
6305 enableval=$enable_apple_ieee;
6306 if test "$enableval" = yes; then
6307 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6309 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6314 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6319 eval "$wx_cv_use_apple_ieee"
6321 if test x
"$enablestring" = xdisable
; then
6322 if test $wxUSE_APPLE_IEEE = no
; then
6328 result
=$wxUSE_APPLE_IEEE
6331 { echo "$as_me:$LINENO: result: $result" >&5
6332 echo "${ECHO_T}$result" >&6; }
6336 defaultval
=$wxUSE_ALL_FEATURES
6337 if test -z "$defaultval"; then
6338 if test x
"$enablestring" = xdisable
; then
6345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6347 # Check whether --enable-arcstream was given.
6348 if test "${enable_arcstream+set}" = set; then
6349 enableval
=$enable_arcstream;
6350 if test "$enableval" = yes; then
6351 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6353 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6358 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6363 eval "$wx_cv_use_arcstream"
6365 if test x"$enablestring" = xdisable; then
6366 if test $wxUSE_ARCHIVE_STREAMS = no; then
6372 result=$wxUSE_ARCHIVE_STREAMS
6375 { echo "$as_me:$LINENO: result: $result" >&5
6376 echo "${ECHO_T}$result" >&6; }
6380 defaultval=$wxUSE_ALL_FEATURES
6381 if test -z "$defaultval"; then
6382 if test x"$enablestring" = xdisable; then
6389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6391 # Check whether --enable-base64 was given.
6392 if test "${enable_base64+set}" = set; then
6393 enableval=$enable_base64;
6394 if test "$enableval" = yes; then
6395 wx_cv_use_base64='wxUSE_BASE64
=yes'
6397 wx_cv_use_base64='wxUSE_BASE64
=no
'
6402 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6407 eval "$wx_cv_use_base64"
6409 if test x"$enablestring" = xdisable; then
6410 if test $wxUSE_BASE64 = no; then
6416 result=$wxUSE_BASE64
6419 { echo "$as_me:$LINENO: result
: $result" >&5
6420 echo "${ECHO_T}$result" >&6; }
6424 defaultval=$wxUSE_ALL_FEATURES
6425 if test -z "$defaultval"; then
6426 if test x"$enablestring" = xdisable; then
6433 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6434 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6435 # Check whether --enable-backtrace was given.
6436 if test "${enable_backtrace+set}" = set; then
6437 enableval=$enable_backtrace;
6438 if test "$enableval" = yes; then
6439 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6441 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6446 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6451 eval "$wx_cv_use_backtrace"
6453 if test x
"$enablestring" = xdisable
; then
6454 if test $wxUSE_STACKWALKER = no
; then
6460 result
=$wxUSE_STACKWALKER
6463 { echo "$as_me:$LINENO: result: $result" >&5
6464 echo "${ECHO_T}$result" >&6; }
6468 defaultval
=$wxUSE_ALL_FEATURES
6469 if test -z "$defaultval"; then
6470 if test x
"$enablestring" = xdisable
; then
6477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6478 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6479 # Check whether --enable-catch_segvs was given.
6480 if test "${enable_catch_segvs+set}" = set; then
6481 enableval
=$enable_catch_segvs;
6482 if test "$enableval" = yes; then
6483 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6485 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6490 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6495 eval "$wx_cv_use_catch_segvs"
6497 if test x"$enablestring" = xdisable; then
6498 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6504 result=$wxUSE_ON_FATAL_EXCEPTION
6507 { echo "$as_me:$LINENO: result: $result" >&5
6508 echo "${ECHO_T}$result" >&6; }
6512 defaultval=$wxUSE_ALL_FEATURES
6513 if test -z "$defaultval"; then
6514 if test x"$enablestring" = xdisable; then
6521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6522 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6523 # Check whether --enable-cmdline was given.
6524 if test "${enable_cmdline+set}" = set; then
6525 enableval=$enable_cmdline;
6526 if test "$enableval" = yes; then
6527 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6529 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6534 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6539 eval "$wx_cv_use_cmdline"
6541 if test x"$enablestring" = xdisable; then
6542 if test $wxUSE_CMDLINE_PARSER = no; then
6548 result=$wxUSE_CMDLINE_PARSER
6551 { echo "$as_me:$LINENO: result
: $result" >&5
6552 echo "${ECHO_T}$result" >&6; }
6556 defaultval=$wxUSE_ALL_FEATURES
6557 if test -z "$defaultval"; then
6558 if test x"$enablestring" = xdisable; then
6565 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6566 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6567 # Check whether --enable-datetime was given.
6568 if test "${enable_datetime+set}" = set; then
6569 enableval=$enable_datetime;
6570 if test "$enableval" = yes; then
6571 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6573 wx_cv_use_datetime='wxUSE_DATETIME=no'
6578 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6583 eval "$wx_cv_use_datetime"
6585 if test x
"$enablestring" = xdisable
; then
6586 if test $wxUSE_DATETIME = no
; then
6592 result
=$wxUSE_DATETIME
6595 { echo "$as_me:$LINENO: result: $result" >&5
6596 echo "${ECHO_T}$result" >&6; }
6600 defaultval
=$wxUSE_ALL_FEATURES
6601 if test -z "$defaultval"; then
6602 if test x
"$enablestring" = xdisable
; then
6609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6610 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6611 # Check whether --enable-debugreport was given.
6612 if test "${enable_debugreport+set}" = set; then
6613 enableval
=$enable_debugreport;
6614 if test "$enableval" = yes; then
6615 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6617 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6622 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6627 eval "$wx_cv_use_debugreport"
6629 if test x"$enablestring" = xdisable; then
6630 if test $wxUSE_DEBUGREPORT = no; then
6636 result=$wxUSE_DEBUGREPORT
6639 { echo "$as_me:$LINENO: result: $result" >&5
6640 echo "${ECHO_T}$result" >&6; }
6644 defaultval=$wxUSE_ALL_FEATURES
6645 if test -z "$defaultval"; then
6646 if test x"$enablestring" = xdisable; then
6653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6654 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6655 # Check whether --enable-dialupman was given.
6656 if test "${enable_dialupman+set}" = set; then
6657 enableval=$enable_dialupman;
6658 if test "$enableval" = yes; then
6659 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6661 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6666 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6671 eval "$wx_cv_use_dialupman"
6673 if test x"$enablestring" = xdisable; then
6674 if test $wxUSE_DIALUP_MANAGER = no; then
6680 result=$wxUSE_DIALUP_MANAGER
6683 { echo "$as_me:$LINENO: result
: $result" >&5
6684 echo "${ECHO_T}$result" >&6; }
6688 defaultval=$wxUSE_ALL_FEATURES
6689 if test -z "$defaultval"; then
6690 if test x"$enablestring" = xdisable; then
6697 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6698 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6699 # Check whether --enable-dynlib was given.
6700 if test "${enable_dynlib+set}" = set; then
6701 enableval=$enable_dynlib;
6702 if test "$enableval" = yes; then
6703 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6705 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6710 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6715 eval "$wx_cv_use_dynlib"
6717 if test x
"$enablestring" = xdisable
; then
6718 if test $wxUSE_DYNLIB_CLASS = no
; then
6724 result
=$wxUSE_DYNLIB_CLASS
6727 { echo "$as_me:$LINENO: result: $result" >&5
6728 echo "${ECHO_T}$result" >&6; }
6732 defaultval
=$wxUSE_ALL_FEATURES
6733 if test -z "$defaultval"; then
6734 if test x
"$enablestring" = xdisable
; then
6741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6742 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6743 # Check whether --enable-dynamicloader was given.
6744 if test "${enable_dynamicloader+set}" = set; then
6745 enableval
=$enable_dynamicloader;
6746 if test "$enableval" = yes; then
6747 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6749 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6754 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6759 eval "$wx_cv_use_dynamicloader"
6761 if test x"$enablestring" = xdisable; then
6762 if test $wxUSE_DYNAMIC_LOADER = no; then
6768 result=$wxUSE_DYNAMIC_LOADER
6771 { echo "$as_me:$LINENO: result: $result" >&5
6772 echo "${ECHO_T}$result" >&6; }
6776 defaultval=$wxUSE_ALL_FEATURES
6777 if test -z "$defaultval"; then
6778 if test x"$enablestring" = xdisable; then
6785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6786 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6787 # Check whether --enable-exceptions was given.
6788 if test "${enable_exceptions+set}" = set; then
6789 enableval=$enable_exceptions;
6790 if test "$enableval" = yes; then
6791 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6793 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6798 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6803 eval "$wx_cv_use_exceptions"
6805 if test x"$enablestring" = xdisable; then
6806 if test $wxUSE_EXCEPTIONS = no; then
6812 result=$wxUSE_EXCEPTIONS
6815 { echo "$as_me:$LINENO: result
: $result" >&5
6816 echo "${ECHO_T}$result" >&6; }
6820 defaultval=$wxUSE_ALL_FEATURES
6821 if test -z "$defaultval"; then
6822 if test x"$enablestring" = xdisable; then
6829 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6830 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6831 # Check whether --enable-ffile was given.
6832 if test "${enable_ffile+set}" = set; then
6833 enableval=$enable_ffile;
6834 if test "$enableval" = yes; then
6835 wx_cv_use_ffile='wxUSE_FFILE=yes'
6837 wx_cv_use_ffile='wxUSE_FFILE=no'
6842 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6847 eval "$wx_cv_use_ffile"
6849 if test x
"$enablestring" = xdisable
; then
6850 if test $wxUSE_FFILE = no
; then
6859 { echo "$as_me:$LINENO: result: $result" >&5
6860 echo "${ECHO_T}$result" >&6; }
6864 defaultval
=$wxUSE_ALL_FEATURES
6865 if test -z "$defaultval"; then
6866 if test x
"$enablestring" = xdisable
; then
6873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6875 # Check whether --enable-file was given.
6876 if test "${enable_file+set}" = set; then
6877 enableval
=$enable_file;
6878 if test "$enableval" = yes; then
6879 wx_cv_use_file
='wxUSE_FILE=yes'
6881 wx_cv_use_file
='wxUSE_FILE=no'
6886 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6891 eval "$wx_cv_use_file"
6893 if test x"$enablestring" = xdisable; then
6894 if test $wxUSE_FILE = no; then
6903 { echo "$as_me:$LINENO: result: $result" >&5
6904 echo "${ECHO_T}$result" >&6; }
6908 defaultval=$wxUSE_ALL_FEATURES
6909 if test -z "$defaultval"; then
6910 if test x"$enablestring" = xdisable; then
6917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6919 # Check whether --enable-filesystem was given.
6920 if test "${enable_filesystem+set}" = set; then
6921 enableval=$enable_filesystem;
6922 if test "$enableval" = yes; then
6923 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
6925 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
6930 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6935 eval "$wx_cv_use_filesystem"
6937 if test x"$enablestring" = xdisable; then
6938 if test $wxUSE_FILESYSTEM = no; then
6944 result=$wxUSE_FILESYSTEM
6947 { echo "$as_me:$LINENO: result
: $result" >&5
6948 echo "${ECHO_T}$result" >&6; }
6952 defaultval=$wxUSE_ALL_FEATURES
6953 if test -z "$defaultval"; then
6954 if test x"$enablestring" = xdisable; then
6961 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
6962 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
6963 # Check whether --enable-fontenum was given.
6964 if test "${enable_fontenum+set}" = set; then
6965 enableval=$enable_fontenum;
6966 if test "$enableval" = yes; then
6967 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6969 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6974 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6979 eval "$wx_cv_use_fontenum"
6981 if test x
"$enablestring" = xdisable
; then
6982 if test $wxUSE_FONTENUM = no
; then
6988 result
=$wxUSE_FONTENUM
6991 { echo "$as_me:$LINENO: result: $result" >&5
6992 echo "${ECHO_T}$result" >&6; }
6996 defaultval
=$wxUSE_ALL_FEATURES
6997 if test -z "$defaultval"; then
6998 if test x
"$enablestring" = xdisable
; then
7005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7007 # Check whether --enable-fontmap was given.
7008 if test "${enable_fontmap+set}" = set; then
7009 enableval
=$enable_fontmap;
7010 if test "$enableval" = yes; then
7011 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7013 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7018 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7023 eval "$wx_cv_use_fontmap"
7025 if test x"$enablestring" = xdisable; then
7026 if test $wxUSE_FONTMAP = no; then
7032 result=$wxUSE_FONTMAP
7035 { echo "$as_me:$LINENO: result: $result" >&5
7036 echo "${ECHO_T}$result" >&6; }
7040 defaultval=$wxUSE_ALL_FEATURES
7041 if test -z "$defaultval"; then
7042 if test x"$enablestring" = xdisable; then
7049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7050 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7051 # Check whether --enable-fs_archive was given.
7052 if test "${enable_fs_archive+set}" = set; then
7053 enableval=$enable_fs_archive;
7054 if test "$enableval" = yes; then
7055 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7057 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7062 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7067 eval "$wx_cv_use_fs_archive"
7069 if test x"$enablestring" = xdisable; then
7070 if test $wxUSE_FS_ARCHIVE = no; then
7076 result=$wxUSE_FS_ARCHIVE
7079 { echo "$as_me:$LINENO: result
: $result" >&5
7080 echo "${ECHO_T}$result" >&6; }
7084 defaultval=$wxUSE_ALL_FEATURES
7085 if test -z "$defaultval"; then
7086 if test x"$enablestring" = xdisable; then
7093 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7094 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7095 # Check whether --enable-fs_inet was given.
7096 if test "${enable_fs_inet+set}" = set; then
7097 enableval=$enable_fs_inet;
7098 if test "$enableval" = yes; then
7099 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7101 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7106 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7111 eval "$wx_cv_use_fs_inet"
7113 if test x
"$enablestring" = xdisable
; then
7114 if test $wxUSE_FS_INET = no
; then
7120 result
=$wxUSE_FS_INET
7123 { echo "$as_me:$LINENO: result: $result" >&5
7124 echo "${ECHO_T}$result" >&6; }
7128 defaultval
=$wxUSE_ALL_FEATURES
7129 if test -z "$defaultval"; then
7130 if test x
"$enablestring" = xdisable
; then
7137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7138 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7139 # Check whether --enable-fs_zip was given.
7140 if test "${enable_fs_zip+set}" = set; then
7141 enableval
=$enable_fs_zip;
7142 if test "$enableval" = yes; then
7143 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7145 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7150 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7155 eval "$wx_cv_use_fs_zip"
7157 if test x"$enablestring" = xdisable; then
7158 if test $wxUSE_FS_ZIP = no; then
7164 result=$wxUSE_FS_ZIP
7167 { echo "$as_me:$LINENO: result: $result" >&5
7168 echo "${ECHO_T}$result" >&6; }
7172 defaultval=$wxUSE_ALL_FEATURES
7173 if test -z "$defaultval"; then
7174 if test x"$enablestring" = xdisable; then
7181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7182 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7183 # Check whether --enable-geometry was given.
7184 if test "${enable_geometry+set}" = set; then
7185 enableval=$enable_geometry;
7186 if test "$enableval" = yes; then
7187 wx_cv_use_geometry='wxUSE_GEOMETRY
=yes'
7189 wx_cv_use_geometry='wxUSE_GEOMETRY
=no
'
7194 wx_cv_use_geometry='wxUSE_GEOMETRY
=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7199 eval "$wx_cv_use_geometry"
7201 if test x"$enablestring" = xdisable; then
7202 if test $wxUSE_GEOMETRY = no; then
7208 result=$wxUSE_GEOMETRY
7211 { echo "$as_me:$LINENO: result
: $result" >&5
7212 echo "${ECHO_T}$result" >&6; }
7216 defaultval=$wxUSE_ALL_FEATURES
7217 if test -z "$defaultval"; then
7218 if test x"$enablestring" = xdisable; then
7225 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-log" >&5
7226 echo $ECHO_N "checking
for --${enablestring:-enable}-log...
$ECHO_C" >&6; }
7227 # Check whether --enable-log was given.
7228 if test "${enable_log+set}" = set; then
7229 enableval=$enable_log;
7230 if test "$enableval" = yes; then
7231 wx_cv_use_log='wxUSE_LOG=yes'
7233 wx_cv_use_log='wxUSE_LOG=no'
7238 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7243 eval "$wx_cv_use_log"
7245 if test x
"$enablestring" = xdisable
; then
7246 if test $wxUSE_LOG = no
; then
7255 { echo "$as_me:$LINENO: result: $result" >&5
7256 echo "${ECHO_T}$result" >&6; }
7260 defaultval
=$wxUSE_ALL_FEATURES
7261 if test -z "$defaultval"; then
7262 if test x
"$enablestring" = xdisable
; then
7269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7271 # Check whether --enable-longlong was given.
7272 if test "${enable_longlong+set}" = set; then
7273 enableval
=$enable_longlong;
7274 if test "$enableval" = yes; then
7275 wx_cv_use_longlong
='wxUSE_LONGLONG=yes'
7277 wx_cv_use_longlong
='wxUSE_LONGLONG=no'
7282 wx_cv_use_longlong
='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7287 eval "$wx_cv_use_longlong"
7289 if test x"$enablestring" = xdisable; then
7290 if test $wxUSE_LONGLONG = no; then
7296 result=$wxUSE_LONGLONG
7299 { echo "$as_me:$LINENO: result: $result" >&5
7300 echo "${ECHO_T}$result" >&6; }
7304 defaultval=$wxUSE_ALL_FEATURES
7305 if test -z "$defaultval"; then
7306 if test x"$enablestring" = xdisable; then
7313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7315 # Check whether --enable-mimetype was given.
7316 if test "${enable_mimetype+set}" = set; then
7317 enableval=$enable_mimetype;
7318 if test "$enableval" = yes; then
7319 wx_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
7321 wx_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
7326 wx_cv_use_mimetype='wxUSE_MIMETYPE
=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7331 eval "$wx_cv_use_mimetype"
7333 if test x"$enablestring" = xdisable; then
7334 if test $wxUSE_MIMETYPE = no; then
7340 result=$wxUSE_MIMETYPE
7343 { echo "$as_me:$LINENO: result
: $result" >&5
7344 echo "${ECHO_T}$result" >&6; }
7348 defaultval=$wxUSE_ALL_FEATURES
7349 if test -z "$defaultval"; then
7350 if test x"$enablestring" = xdisable; then
7357 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printfposparam" >&5
7358 echo $ECHO_N "checking
for --${enablestring:-enable}-printfposparam...
$ECHO_C" >&6; }
7359 # Check whether --enable-printfposparam was given.
7360 if test "${enable_printfposparam+set}" = set; then
7361 enableval=$enable_printfposparam;
7362 if test "$enableval" = yes; then
7363 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7365 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7370 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7375 eval "$wx_cv_use_printfposparam"
7377 if test x
"$enablestring" = xdisable
; then
7378 if test $wxUSE_PRINTF_POS_PARAMS = no
; then
7384 result
=$wxUSE_PRINTF_POS_PARAMS
7387 { echo "$as_me:$LINENO: result: $result" >&5
7388 echo "${ECHO_T}$result" >&6; }
7392 defaultval
=$wxUSE_ALL_FEATURES
7393 if test -z "$defaultval"; then
7394 if test x
"$enablestring" = xdisable
; then
7401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7402 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7403 # Check whether --enable-snglinst was given.
7404 if test "${enable_snglinst+set}" = set; then
7405 enableval
=$enable_snglinst;
7406 if test "$enableval" = yes; then
7407 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
7409 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
7414 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7419 eval "$wx_cv_use_snglinst"
7421 if test x"$enablestring" = xdisable; then
7422 if test $wxUSE_SNGLINST_CHECKER = no; then
7428 result=$wxUSE_SNGLINST_CHECKER
7431 { echo "$as_me:$LINENO: result: $result" >&5
7432 echo "${ECHO_T}$result" >&6; }
7436 defaultval=$wxUSE_ALL_FEATURES
7437 if test -z "$defaultval"; then
7438 if test x"$enablestring" = xdisable; then
7445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7446 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7447 # Check whether --enable-sound was given.
7448 if test "${enable_sound+set}" = set; then
7449 enableval=$enable_sound;
7450 if test "$enableval" = yes; then
7451 wx_cv_use_sound='wxUSE_SOUND
=yes'
7453 wx_cv_use_sound='wxUSE_SOUND
=no
'
7458 wx_cv_use_sound='wxUSE_SOUND
=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7463 eval "$wx_cv_use_sound"
7465 if test x"$enablestring" = xdisable; then
7466 if test $wxUSE_SOUND = no; then
7475 { echo "$as_me:$LINENO: result
: $result" >&5
7476 echo "${ECHO_T}$result" >&6; }
7480 defaultval=$wxUSE_ALL_FEATURES
7481 if test -z "$defaultval"; then
7482 if test x"$enablestring" = xdisable; then
7489 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stdpaths" >&5
7490 echo $ECHO_N "checking
for --${enablestring:-enable}-stdpaths...
$ECHO_C" >&6; }
7491 # Check whether --enable-stdpaths was given.
7492 if test "${enable_stdpaths+set}" = set; then
7493 enableval=$enable_stdpaths;
7494 if test "$enableval" = yes; then
7495 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7497 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7502 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7507 eval "$wx_cv_use_stdpaths"
7509 if test x
"$enablestring" = xdisable
; then
7510 if test $wxUSE_STDPATHS = no
; then
7516 result
=$wxUSE_STDPATHS
7519 { echo "$as_me:$LINENO: result: $result" >&5
7520 echo "${ECHO_T}$result" >&6; }
7524 defaultval
=$wxUSE_ALL_FEATURES
7525 if test -z "$defaultval"; then
7526 if test x
"$enablestring" = xdisable
; then
7533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7534 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7535 # Check whether --enable-stopwatch was given.
7536 if test "${enable_stopwatch+set}" = set; then
7537 enableval
=$enable_stopwatch;
7538 if test "$enableval" = yes; then
7539 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
7541 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
7546 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7551 eval "$wx_cv_use_stopwatch"
7553 if test x"$enablestring" = xdisable; then
7554 if test $wxUSE_STOPWATCH = no; then
7560 result=$wxUSE_STOPWATCH
7563 { echo "$as_me:$LINENO: result: $result" >&5
7564 echo "${ECHO_T}$result" >&6; }
7568 defaultval=$wxUSE_ALL_FEATURES
7569 if test -z "$defaultval"; then
7570 if test x"$enablestring" = xdisable; then
7577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7579 # Check whether --enable-streams was given.
7580 if test "${enable_streams+set}" = set; then
7581 enableval=$enable_streams;
7582 if test "$enableval" = yes; then
7583 wx_cv_use_streams='wxUSE_STREAMS
=yes'
7585 wx_cv_use_streams='wxUSE_STREAMS
=no
'
7590 wx_cv_use_streams='wxUSE_STREAMS
=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7595 eval "$wx_cv_use_streams"
7597 if test x"$enablestring" = xdisable; then
7598 if test $wxUSE_STREAMS = no; then
7604 result=$wxUSE_STREAMS
7607 { echo "$as_me:$LINENO: result
: $result" >&5
7608 echo "${ECHO_T}$result" >&6; }
7612 defaultval=$wxUSE_ALL_FEATURES
7613 if test -z "$defaultval"; then
7614 if test x"$enablestring" = xdisable; then
7621 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-system_options" >&5
7622 echo $ECHO_N "checking
for --${enablestring:-enable}-system_options...
$ECHO_C" >&6; }
7623 # Check whether --enable-system_options was given.
7624 if test "${enable_system_options+set}" = set; then
7625 enableval=$enable_system_options;
7626 if test "$enableval" = yes; then
7627 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7629 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7634 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7639 eval "$wx_cv_use_system_options"
7641 if test x
"$enablestring" = xdisable
; then
7642 if test $wxUSE_SYSTEM_OPTIONS = no
; then
7648 result
=$wxUSE_SYSTEM_OPTIONS
7651 { echo "$as_me:$LINENO: result: $result" >&5
7652 echo "${ECHO_T}$result" >&6; }
7656 defaultval
=$wxUSE_ALL_FEATURES
7657 if test -z "$defaultval"; then
7658 if test x
"$enablestring" = xdisable
; then
7665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7666 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7667 # Check whether --enable-tarstream was given.
7668 if test "${enable_tarstream+set}" = set; then
7669 enableval
=$enable_tarstream;
7670 if test "$enableval" = yes; then
7671 wx_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
7673 wx_cv_use_tarstream
='wxUSE_TARSTREAM=no'
7678 wx_cv_use_tarstream
='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7683 eval "$wx_cv_use_tarstream"
7685 if test x"$enablestring" = xdisable; then
7686 if test $wxUSE_TARSTREAM = no; then
7692 result=$wxUSE_TARSTREAM
7695 { echo "$as_me:$LINENO: result: $result" >&5
7696 echo "${ECHO_T}$result" >&6; }
7700 defaultval=$wxUSE_ALL_FEATURES
7701 if test -z "$defaultval"; then
7702 if test x"$enablestring" = xdisable; then
7709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7711 # Check whether --enable-textbuf was given.
7712 if test "${enable_textbuf+set}" = set; then
7713 enableval=$enable_textbuf;
7714 if test "$enableval" = yes; then
7715 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
7717 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
7722 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7727 eval "$wx_cv_use_textbuf"
7729 if test x"$enablestring" = xdisable; then
7730 if test $wxUSE_TEXTBUFFER = no; then
7736 result=$wxUSE_TEXTBUFFER
7739 { echo "$as_me:$LINENO: result
: $result" >&5
7740 echo "${ECHO_T}$result" >&6; }
7744 defaultval=$wxUSE_ALL_FEATURES
7745 if test -z "$defaultval"; then
7746 if test x"$enablestring" = xdisable; then
7753 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textfile" >&5
7754 echo $ECHO_N "checking
for --${enablestring:-enable}-textfile...
$ECHO_C" >&6; }
7755 # Check whether --enable-textfile was given.
7756 if test "${enable_textfile+set}" = set; then
7757 enableval=$enable_textfile;
7758 if test "$enableval" = yes; then
7759 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7761 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7766 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7771 eval "$wx_cv_use_textfile"
7773 if test x
"$enablestring" = xdisable
; then
7774 if test $wxUSE_TEXTFILE = no
; then
7780 result
=$wxUSE_TEXTFILE
7783 { echo "$as_me:$LINENO: result: $result" >&5
7784 echo "${ECHO_T}$result" >&6; }
7788 defaultval
=$wxUSE_ALL_FEATURES
7789 if test -z "$defaultval"; then
7790 if test x
"$enablestring" = xdisable
; then
7797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7799 # Check whether --enable-timer was given.
7800 if test "${enable_timer+set}" = set; then
7801 enableval
=$enable_timer;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_timer
='wxUSE_TIMER=yes'
7805 wx_cv_use_timer
='wxUSE_TIMER=no'
7810 wx_cv_use_timer
='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7815 eval "$wx_cv_use_timer"
7817 if test x"$enablestring" = xdisable; then
7818 if test $wxUSE_TIMER = no; then
7827 { echo "$as_me:$LINENO: result: $result" >&5
7828 echo "${ECHO_T}$result" >&6; }
7832 defaultval=$wxUSE_ALL_FEATURES
7833 if test -z "$defaultval"; then
7834 if test x"$enablestring" = xdisable; then
7841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7843 # Check whether --enable-variant was given.
7844 if test "${enable_variant+set}" = set; then
7845 enableval=$enable_variant;
7846 if test "$enableval" = yes; then
7847 wx_cv_use_variant='wxUSE_VARIANT
=yes'
7849 wx_cv_use_variant='wxUSE_VARIANT
=no
'
7854 wx_cv_use_variant='wxUSE_VARIANT
=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7859 eval "$wx_cv_use_variant"
7861 if test x"$enablestring" = xdisable; then
7862 if test $wxUSE_VARIANT = no; then
7868 result=$wxUSE_VARIANT
7871 { echo "$as_me:$LINENO: result
: $result" >&5
7872 echo "${ECHO_T}$result" >&6; }
7876 defaultval=$wxUSE_ALL_FEATURES
7877 if test -z "$defaultval"; then
7878 if test x"$enablestring" = xdisable; then
7885 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-zipstream" >&5
7886 echo $ECHO_N "checking
for --${enablestring:-enable}-zipstream...
$ECHO_C" >&6; }
7887 # Check whether --enable-zipstream was given.
7888 if test "${enable_zipstream+set}" = set; then
7889 enableval=$enable_zipstream;
7890 if test "$enableval" = yes; then
7891 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7893 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7898 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7903 eval "$wx_cv_use_zipstream"
7905 if test x
"$enablestring" = xdisable
; then
7906 if test $wxUSE_ZIPSTREAM = no
; then
7912 result
=$wxUSE_ZIPSTREAM
7915 { echo "$as_me:$LINENO: result: $result" >&5
7916 echo "${ECHO_T}$result" >&6; }
7921 defaultval
=$wxUSE_ALL_FEATURES
7922 if test -z "$defaultval"; then
7923 if test x
"$enablestring" = xdisable
; then
7930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7931 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7932 # Check whether --enable-url was given.
7933 if test "${enable_url+set}" = set; then
7934 enableval
=$enable_url;
7935 if test "$enableval" = yes; then
7936 wx_cv_use_url
='wxUSE_URL=yes'
7938 wx_cv_use_url
='wxUSE_URL=no'
7943 wx_cv_use_url
='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7948 eval "$wx_cv_use_url"
7950 if test x"$enablestring" = xdisable; then
7951 if test $wxUSE_URL = no; then
7960 { echo "$as_me:$LINENO: result: $result" >&5
7961 echo "${ECHO_T}$result" >&6; }
7965 defaultval=$wxUSE_ALL_FEATURES
7966 if test -z "$defaultval"; then
7967 if test x"$enablestring" = xdisable; then
7974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7976 # Check whether --enable-protocol was given.
7977 if test "${enable_protocol+set}" = set; then
7978 enableval=$enable_protocol;
7979 if test "$enableval" = yes; then
7980 wx_cv_use_protocol='wxUSE_PROTOCOL
=yes'
7982 wx_cv_use_protocol='wxUSE_PROTOCOL
=no
'
7987 wx_cv_use_protocol='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7992 eval "$wx_cv_use_protocol"
7994 if test x"$enablestring" = xdisable; then
7995 if test $wxUSE_PROTOCOL = no; then
8001 result=$wxUSE_PROTOCOL
8004 { echo "$as_me:$LINENO: result
: $result" >&5
8005 echo "${ECHO_T}$result" >&6; }
8009 defaultval=$wxUSE_ALL_FEATURES
8010 if test -z "$defaultval"; then
8011 if test x"$enablestring" = xdisable; then
8018 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_http" >&5
8019 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_http...
$ECHO_C" >&6; }
8020 # Check whether --enable-protocol_http was given.
8021 if test "${enable_protocol_http+set}" = set; then
8022 enableval=$enable_protocol_http;
8023 if test "$enableval" = yes; then
8024 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8026 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8031 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8036 eval "$wx_cv_use_protocol_http"
8038 if test x
"$enablestring" = xdisable
; then
8039 if test $wxUSE_PROTOCOL_HTTP = no
; then
8045 result
=$wxUSE_PROTOCOL_HTTP
8048 { echo "$as_me:$LINENO: result: $result" >&5
8049 echo "${ECHO_T}$result" >&6; }
8053 defaultval
=$wxUSE_ALL_FEATURES
8054 if test -z "$defaultval"; then
8055 if test x
"$enablestring" = xdisable
; then
8062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8063 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8064 # Check whether --enable-protocol_ftp was given.
8065 if test "${enable_protocol_ftp+set}" = set; then
8066 enableval
=$enable_protocol_ftp;
8067 if test "$enableval" = yes; then
8068 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
8070 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
8075 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8080 eval "$wx_cv_use_protocol_ftp"
8082 if test x"$enablestring" = xdisable; then
8083 if test $wxUSE_PROTOCOL_FTP = no; then
8089 result=$wxUSE_PROTOCOL_FTP
8092 { echo "$as_me:$LINENO: result: $result" >&5
8093 echo "${ECHO_T}$result" >&6; }
8097 defaultval=$wxUSE_ALL_FEATURES
8098 if test -z "$defaultval"; then
8099 if test x"$enablestring" = xdisable; then
8106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8107 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8108 # Check whether --enable-protocol_file was given.
8109 if test "${enable_protocol_file+set}" = set; then
8110 enableval=$enable_protocol_file;
8111 if test "$enableval" = yes; then
8112 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
8114 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
8119 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8124 eval "$wx_cv_use_protocol_file"
8126 if test x"$enablestring" = xdisable; then
8127 if test $wxUSE_PROTOCOL_FILE = no; then
8133 result=$wxUSE_PROTOCOL_FILE
8136 { echo "$as_me:$LINENO: result
: $result" >&5
8137 echo "${ECHO_T}$result" >&6; }
8142 defaultval=$wxUSE_ALL_FEATURES
8143 if test -z "$defaultval"; then
8144 if test x"$enablestring" = xdisable; then
8151 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-threads" >&5
8152 echo $ECHO_N "checking
for --${enablestring:-enable}-threads...
$ECHO_C" >&6; }
8153 # Check whether --enable-threads was given.
8154 if test "${enable_threads+set}" = set; then
8155 enableval=$enable_threads;
8156 if test "$enableval" = yes; then
8157 wx_cv_use_threads='wxUSE_THREADS=yes'
8159 wx_cv_use_threads='wxUSE_THREADS=no'
8164 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8169 eval "$wx_cv_use_threads"
8171 if test x
"$enablestring" = xdisable
; then
8172 if test $wxUSE_THREADS = no
; then
8178 result
=$wxUSE_THREADS
8181 { echo "$as_me:$LINENO: result: $result" >&5
8182 echo "${ECHO_T}$result" >&6; }
8188 if test -z "$defaultval"; then
8189 if test x
"$enablestring" = xdisable
; then
8196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8197 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8198 # Check whether --enable-iniconf was given.
8199 if test "${enable_iniconf+set}" = set; then
8200 enableval
=$enable_iniconf;
8201 if test "$enableval" = yes; then
8202 wx_cv_use_iniconf
='wxUSE_INICONF=yes'
8204 wx_cv_use_iniconf
='wxUSE_INICONF=no'
8209 wx_cv_use_iniconf
='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8214 eval "$wx_cv_use_iniconf"
8216 if test x"$enablestring" = xdisable; then
8217 if test $wxUSE_INICONF = no; then
8223 result=$wxUSE_INICONF
8226 { echo "$as_me:$LINENO: result: $result" >&5
8227 echo "${ECHO_T}$result" >&6; }
8231 defaultval=$wxUSE_ALL_FEATURES
8232 if test -z "$defaultval"; then
8233 if test x"$enablestring" = xdisable; then
8240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8242 # Check whether --enable-regkey was given.
8243 if test "${enable_regkey+set}" = set; then
8244 enableval=$enable_regkey;
8245 if test "$enableval" = yes; then
8246 wx_cv_use_regkey='wxUSE_REGKEY
=yes'
8248 wx_cv_use_regkey='wxUSE_REGKEY
=no
'
8253 wx_cv_use_regkey='wxUSE_REGKEY
=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8258 eval "$wx_cv_use_regkey"
8260 if test x"$enablestring" = xdisable; then
8261 if test $wxUSE_REGKEY = no; then
8267 result=$wxUSE_REGKEY
8270 { echo "$as_me:$LINENO: result
: $result" >&5
8271 echo "${ECHO_T}$result" >&6; }
8274 if test "$wxUSE_GUI" = "yes"; then
8279 defaultval=$wxUSE_ALL_FEATURES
8280 if test -z "$defaultval"; then
8281 if test x"$enablestring" = xdisable; then
8288 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-docview" >&5
8289 echo $ECHO_N "checking
for --${enablestring:-enable}-docview...
$ECHO_C" >&6; }
8290 # Check whether --enable-docview was given.
8291 if test "${enable_docview+set}" = set; then
8292 enableval=$enable_docview;
8293 if test "$enableval" = yes; then
8294 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8296 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8301 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8306 eval "$wx_cv_use_docview"
8308 if test x
"$enablestring" = xdisable
; then
8309 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no
; then
8315 result
=$wxUSE_DOC_VIEW_ARCHITECTURE
8318 { echo "$as_me:$LINENO: result: $result" >&5
8319 echo "${ECHO_T}$result" >&6; }
8323 defaultval
=$wxUSE_ALL_FEATURES
8324 if test -z "$defaultval"; then
8325 if test x
"$enablestring" = xdisable
; then
8332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8333 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8334 # Check whether --enable-help was given.
8335 if test "${enable_help+set}" = set; then
8336 enableval
=$enable_help;
8337 if test "$enableval" = yes; then
8338 wx_cv_use_help
='wxUSE_HELP=yes'
8340 wx_cv_use_help
='wxUSE_HELP=no'
8345 wx_cv_use_help
='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8350 eval "$wx_cv_use_help"
8352 if test x"$enablestring" = xdisable; then
8353 if test $wxUSE_HELP = no; then
8362 { echo "$as_me:$LINENO: result: $result" >&5
8363 echo "${ECHO_T}$result" >&6; }
8367 defaultval=$wxUSE_ALL_FEATURES
8368 if test -z "$defaultval"; then
8369 if test x"$enablestring" = xdisable; then
8376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8378 # Check whether --enable-mshtmlhelp was given.
8379 if test "${enable_mshtmlhelp+set}" = set; then
8380 enableval=$enable_mshtmlhelp;
8381 if test "$enableval" = yes; then
8382 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
8384 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
8389 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8394 eval "$wx_cv_use_mshtmlhelp"
8396 if test x"$enablestring" = xdisable; then
8397 if test $wxUSE_MS_HTML_HELP = no; then
8403 result=$wxUSE_MS_HTML_HELP
8406 { echo "$as_me:$LINENO: result
: $result" >&5
8407 echo "${ECHO_T}$result" >&6; }
8411 defaultval=$wxUSE_ALL_FEATURES
8412 if test -z "$defaultval"; then
8413 if test x"$enablestring" = xdisable; then
8420 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-html" >&5
8421 echo $ECHO_N "checking
for --${enablestring:-enable}-html...
$ECHO_C" >&6; }
8422 # Check whether --enable-html was given.
8423 if test "${enable_html+set}" = set; then
8424 enableval=$enable_html;
8425 if test "$enableval" = yes; then
8426 wx_cv_use_html='wxUSE_HTML=yes'
8428 wx_cv_use_html='wxUSE_HTML=no'
8433 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8438 eval "$wx_cv_use_html"
8440 if test x
"$enablestring" = xdisable
; then
8441 if test $wxUSE_HTML = no
; then
8450 { echo "$as_me:$LINENO: result: $result" >&5
8451 echo "${ECHO_T}$result" >&6; }
8455 defaultval
=$wxUSE_ALL_FEATURES
8456 if test -z "$defaultval"; then
8457 if test x
"$enablestring" = xdisable
; then
8464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8465 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8466 # Check whether --enable-htmlhelp was given.
8467 if test "${enable_htmlhelp+set}" = set; then
8468 enableval
=$enable_htmlhelp;
8469 if test "$enableval" = yes; then
8470 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
8472 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
8477 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8482 eval "$wx_cv_use_htmlhelp"
8484 if test x"$enablestring" = xdisable; then
8485 if test $wxUSE_WXHTML_HELP = no; then
8491 result=$wxUSE_WXHTML_HELP
8494 { echo "$as_me:$LINENO: result: $result" >&5
8495 echo "${ECHO_T}$result" >&6; }
8499 defaultval=$wxUSE_ALL_FEATURES
8500 if test -z "$defaultval"; then
8501 if test x"$enablestring" = xdisable; then
8508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8510 # Check whether --enable-xrc was given.
8511 if test "${enable_xrc+set}" = set; then
8512 enableval=$enable_xrc;
8513 if test "$enableval" = yes; then
8514 wx_cv_use_xrc='wxUSE_XRC
=yes'
8516 wx_cv_use_xrc='wxUSE_XRC
=no
'
8521 wx_cv_use_xrc='wxUSE_XRC
=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8526 eval "$wx_cv_use_xrc"
8528 if test x"$enablestring" = xdisable; then
8529 if test $wxUSE_XRC = no; then
8538 { echo "$as_me:$LINENO: result
: $result" >&5
8539 echo "${ECHO_T}$result" >&6; }
8543 defaultval=$wxUSE_ALL_FEATURES
8544 if test -z "$defaultval"; then
8545 if test x"$enablestring" = xdisable; then
8552 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aui" >&5
8553 echo $ECHO_N "checking
for --${enablestring:-enable}-aui...
$ECHO_C" >&6; }
8554 # Check whether --enable-aui was given.
8555 if test "${enable_aui+set}" = set; then
8556 enableval=$enable_aui;
8557 if test "$enableval" = yes; then
8558 wx_cv_use_aui='wxUSE_AUI=yes'
8560 wx_cv_use_aui='wxUSE_AUI=no'
8565 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8570 eval "$wx_cv_use_aui"
8572 if test x
"$enablestring" = xdisable
; then
8573 if test $wxUSE_AUI = no
; then
8582 { echo "$as_me:$LINENO: result: $result" >&5
8583 echo "${ECHO_T}$result" >&6; }
8587 defaultval
=$wxUSE_ALL_FEATURES
8588 if test -z "$defaultval"; then
8589 if test x
"$enablestring" = xdisable
; then
8596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8597 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8598 # Check whether --enable-propgrid was given.
8599 if test "${enable_propgrid+set}" = set; then
8600 enableval
=$enable_propgrid;
8601 if test "$enableval" = yes; then
8602 wx_cv_use_propgrid
='wxUSE_PROPGRID=yes'
8604 wx_cv_use_propgrid
='wxUSE_PROPGRID=no'
8609 wx_cv_use_propgrid
='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8614 eval "$wx_cv_use_propgrid"
8616 if test x"$enablestring" = xdisable; then
8617 if test $wxUSE_PROPGRID = no; then
8623 result=$wxUSE_PROPGRID
8626 { echo "$as_me:$LINENO: result: $result" >&5
8627 echo "${ECHO_T}$result" >&6; }
8631 defaultval=$wxUSE_ALL_FEATURES
8632 if test -z "$defaultval"; then
8633 if test x"$enablestring" = xdisable; then
8640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8641 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8642 # Check whether --enable-stc was given.
8643 if test "${enable_stc+set}" = set; then
8644 enableval=$enable_stc;
8645 if test "$enableval" = yes; then
8646 wx_cv_use_stc='wxUSE_STC
=yes'
8648 wx_cv_use_stc='wxUSE_STC
=no
'
8653 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
8658 eval "$wx_cv_use_stc"
8660 if test x"$enablestring" = xdisable; then
8661 if test $wxUSE_STC = no; then
8670 { echo "$as_me:$LINENO: result
: $result" >&5
8671 echo "${ECHO_T}$result" >&6; }
8675 defaultval=$wxUSE_ALL_FEATURES
8676 if test -z "$defaultval"; then
8677 if test x"$enablestring" = xdisable; then
8684 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
8685 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
8686 # Check whether --enable-constraints was given.
8687 if test "${enable_constraints+set}" = set; then
8688 enableval=$enable_constraints;
8689 if test "$enableval" = yes; then
8690 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8692 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8697 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8702 eval "$wx_cv_use_constraints"
8704 if test x
"$enablestring" = xdisable
; then
8705 if test $wxUSE_CONSTRAINTS = no
; then
8711 result
=$wxUSE_CONSTRAINTS
8714 { echo "$as_me:$LINENO: result: $result" >&5
8715 echo "${ECHO_T}$result" >&6; }
8719 defaultval
=$wxUSE_ALL_FEATURES
8720 if test -z "$defaultval"; then
8721 if test x
"$enablestring" = xdisable
; then
8728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8729 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8730 # Check whether --enable-loggui was given.
8731 if test "${enable_loggui+set}" = set; then
8732 enableval
=$enable_loggui;
8733 if test "$enableval" = yes; then
8734 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
8736 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
8741 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8746 eval "$wx_cv_use_loggui"
8748 if test x"$enablestring" = xdisable; then
8749 if test $wxUSE_LOGGUI = no; then
8755 result=$wxUSE_LOGGUI
8758 { echo "$as_me:$LINENO: result: $result" >&5
8759 echo "${ECHO_T}$result" >&6; }
8763 defaultval=$wxUSE_ALL_FEATURES
8764 if test -z "$defaultval"; then
8765 if test x"$enablestring" = xdisable; then
8772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8773 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8774 # Check whether --enable-logwin was given.
8775 if test "${enable_logwin+set}" = set; then
8776 enableval=$enable_logwin;
8777 if test "$enableval" = yes; then
8778 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
8780 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
8785 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8790 eval "$wx_cv_use_logwin"
8792 if test x"$enablestring" = xdisable; then
8793 if test $wxUSE_LOGWINDOW = no; then
8799 result=$wxUSE_LOGWINDOW
8802 { echo "$as_me:$LINENO: result
: $result" >&5
8803 echo "${ECHO_T}$result" >&6; }
8807 defaultval=$wxUSE_ALL_FEATURES
8808 if test -z "$defaultval"; then
8809 if test x"$enablestring" = xdisable; then
8816 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
8817 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
8818 # Check whether --enable-logdialog was given.
8819 if test "${enable_logdialog+set}" = set; then
8820 enableval=$enable_logdialog;
8821 if test "$enableval" = yes; then
8822 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8824 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8829 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8834 eval "$wx_cv_use_logdialog"
8836 if test x
"$enablestring" = xdisable
; then
8837 if test $wxUSE_LOGDIALOG = no
; then
8843 result
=$wxUSE_LOGDIALOG
8846 { echo "$as_me:$LINENO: result: $result" >&5
8847 echo "${ECHO_T}$result" >&6; }
8851 defaultval
=$wxUSE_ALL_FEATURES
8852 if test -z "$defaultval"; then
8853 if test x
"$enablestring" = xdisable
; then
8860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8862 # Check whether --enable-mdi was given.
8863 if test "${enable_mdi+set}" = set; then
8864 enableval
=$enable_mdi;
8865 if test "$enableval" = yes; then
8866 wx_cv_use_mdi
='wxUSE_MDI=yes'
8868 wx_cv_use_mdi
='wxUSE_MDI=no'
8873 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8878 eval "$wx_cv_use_mdi"
8880 if test x"$enablestring" = xdisable; then
8881 if test $wxUSE_MDI = no; then
8890 { echo "$as_me:$LINENO: result: $result" >&5
8891 echo "${ECHO_T}$result" >&6; }
8895 defaultval=$wxUSE_ALL_FEATURES
8896 if test -z "$defaultval"; then
8897 if test x"$enablestring" = xdisable; then
8904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8905 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8906 # Check whether --enable-mdidoc was given.
8907 if test "${enable_mdidoc+set}" = set; then
8908 enableval=$enable_mdidoc;
8909 if test "$enableval" = yes; then
8910 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
8912 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
8917 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8922 eval "$wx_cv_use_mdidoc"
8924 if test x"$enablestring" = xdisable; then
8925 if test $wxUSE_MDI_ARCHITECTURE = no; then
8931 result=$wxUSE_MDI_ARCHITECTURE
8934 { echo "$as_me:$LINENO: result
: $result" >&5
8935 echo "${ECHO_T}$result" >&6; }
8939 defaultval=$wxUSE_ALL_FEATURES
8940 if test -z "$defaultval"; then
8941 if test x"$enablestring" = xdisable; then
8948 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
8949 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
8950 # Check whether --enable-mediactrl was given.
8951 if test "${enable_mediactrl+set}" = set; then
8952 enableval=$enable_mediactrl;
8953 if test "$enableval" = yes; then
8954 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8956 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8961 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8966 eval "$wx_cv_use_mediactrl"
8968 if test x
"$enablestring" = xdisable
; then
8969 if test $wxUSE_MEDIACTRL = no
; then
8975 result
=$wxUSE_MEDIACTRL
8978 { echo "$as_me:$LINENO: result: $result" >&5
8979 echo "${ECHO_T}$result" >&6; }
8983 defaultval
=$wxUSE_ALL_FEATURES
8984 if test -z "$defaultval"; then
8985 if test x
"$enablestring" = xdisable
; then
8992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8993 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8994 # Check whether --enable-gstreamer8 was given.
8995 if test "${enable_gstreamer8+set}" = set; then
8996 enableval
=$enable_gstreamer8;
8997 if test "$enableval" = yes; then
8998 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
9000 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
9005 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9010 eval "$wx_cv_use_gstreamer8"
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_GSTREAMER8 = no; then
9019 result=$wxUSE_GSTREAMER8
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9038 # Check whether --enable-webkit was given.
9039 if test "${enable_webkit+set}" = set; then
9040 enableval=$enable_webkit;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9044 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9049 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9054 eval "$wx_cv_use_webkit"
9056 if test x"$enablestring" = xdisable; then
9057 if test $wxUSE_WEBKIT = no; then
9063 result=$wxUSE_WEBKIT
9066 { echo "$as_me:$LINENO: result
: $result" >&5
9067 echo "${ECHO_T}$result" >&6; }
9071 defaultval=$wxUSE_ALL_FEATURES
9072 if test -z "$defaultval"; then
9073 if test x"$enablestring" = xdisable; then
9080 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
9081 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
9082 # Check whether --enable-richtext was given.
9083 if test "${enable_richtext+set}" = set; then
9084 enableval=$enable_richtext;
9085 if test "$enableval" = yes; then
9086 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9088 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9093 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9098 eval "$wx_cv_use_richtext"
9100 if test x
"$enablestring" = xdisable
; then
9101 if test $wxUSE_RICHTEXT = no
; then
9107 result
=$wxUSE_RICHTEXT
9110 { echo "$as_me:$LINENO: result: $result" >&5
9111 echo "${ECHO_T}$result" >&6; }
9115 defaultval
=$wxUSE_ALL_FEATURES
9116 if test -z "$defaultval"; then
9117 if test x
"$enablestring" = xdisable
; then
9124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9125 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9126 # Check whether --enable-graphics_ctx was given.
9127 if test "${enable_graphics_ctx+set}" = set; then
9128 enableval
=$enable_graphics_ctx;
9129 if test "$enableval" = yes; then
9130 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9132 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9137 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9142 eval "$wx_cv_use_graphics_ctx"
9144 if test x"$enablestring" = xdisable; then
9145 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9151 result=$wxUSE_GRAPHICS_CONTEXT
9154 { echo "$as_me:$LINENO: result: $result" >&5
9155 echo "${ECHO_T}$result" >&6; }
9159 defaultval=$wxUSE_ALL_FEATURES
9160 if test -z "$defaultval"; then
9161 if test x"$enablestring" = xdisable; then
9168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9170 # Check whether --enable-postscript was given.
9171 if test "${enable_postscript+set}" = set; then
9172 enableval=$enable_postscript;
9173 if test "$enableval" = yes; then
9174 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
9176 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
9181 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9186 eval "$wx_cv_use_postscript"
9188 if test x"$enablestring" = xdisable; then
9189 if test $wxUSE_POSTSCRIPT = no; then
9195 result=$wxUSE_POSTSCRIPT
9198 { echo "$as_me:$LINENO: result
: $result" >&5
9199 echo "${ECHO_T}$result" >&6; }
9203 defaultval=$wxUSE_ALL_FEATURES
9204 if test -z "$defaultval"; then
9205 if test x"$enablestring" = xdisable; then
9212 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printarch" >&5
9213 echo $ECHO_N "checking
for --${enablestring:-enable}-printarch...
$ECHO_C" >&6; }
9214 # Check whether --enable-printarch was given.
9215 if test "${enable_printarch+set}" = set; then
9216 enableval=$enable_printarch;
9217 if test "$enableval" = yes; then
9218 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9220 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9225 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9230 eval "$wx_cv_use_printarch"
9232 if test x
"$enablestring" = xdisable
; then
9233 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
9239 result
=$wxUSE_PRINTING_ARCHITECTURE
9242 { echo "$as_me:$LINENO: result: $result" >&5
9243 echo "${ECHO_T}$result" >&6; }
9247 defaultval
=$wxUSE_ALL_FEATURES
9248 if test -z "$defaultval"; then
9249 if test x
"$enablestring" = xdisable
; then
9256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9257 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9258 # Check whether --enable-svg was given.
9259 if test "${enable_svg+set}" = set; then
9260 enableval
=$enable_svg;
9261 if test "$enableval" = yes; then
9262 wx_cv_use_svg
='wxUSE_SVG=yes'
9264 wx_cv_use_svg
='wxUSE_SVG=no'
9269 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9274 eval "$wx_cv_use_svg"
9276 if test x"$enablestring" = xdisable; then
9277 if test $wxUSE_SVG = no; then
9286 { echo "$as_me:$LINENO: result: $result" >&5
9287 echo "${ECHO_T}$result" >&6; }
9293 defaultval=$wxUSE_ALL_FEATURES
9294 if test -z "$defaultval"; then
9295 if test x"$enablestring" = xdisable; then
9302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9303 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9304 # Check whether --enable-clipboard was given.
9305 if test "${enable_clipboard+set}" = set; then
9306 enableval=$enable_clipboard;
9307 if test "$enableval" = yes; then
9308 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9310 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9315 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9320 eval "$wx_cv_use_clipboard"
9322 if test x"$enablestring" = xdisable; then
9323 if test $wxUSE_CLIPBOARD = no; then
9329 result=$wxUSE_CLIPBOARD
9332 { echo "$as_me:$LINENO: result
: $result" >&5
9333 echo "${ECHO_T}$result" >&6; }
9337 defaultval=$wxUSE_ALL_FEATURES
9338 if test -z "$defaultval"; then
9339 if test x"$enablestring" = xdisable; then
9346 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9347 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9348 # Check whether --enable-dnd was given.
9349 if test "${enable_dnd+set}" = set; then
9350 enableval=$enable_dnd;
9351 if test "$enableval" = yes; then
9352 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9354 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9359 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9364 eval "$wx_cv_use_dnd"
9366 if test x
"$enablestring" = xdisable
; then
9367 if test $wxUSE_DRAG_AND_DROP = no
; then
9373 result
=$wxUSE_DRAG_AND_DROP
9376 { echo "$as_me:$LINENO: result: $result" >&5
9377 echo "${ECHO_T}$result" >&6; }
9381 defaultval
=$wxUSE_ALL_FEATURES
9382 if test -z "$defaultval"; then
9383 if test x
"$enablestring" = xdisable
; then
9390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9392 # Check whether --enable-metafile was given.
9393 if test "${enable_metafile+set}" = set; then
9394 enableval
=$enable_metafile;
9395 if test "$enableval" = yes; then
9396 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
9398 wx_cv_use_metafile
='wxUSE_METAFILE=no'
9403 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9408 eval "$wx_cv_use_metafile"
9410 if test x"$enablestring" = xdisable; then
9411 if test $wxUSE_METAFILE = no; then
9417 result=$wxUSE_METAFILE
9420 { echo "$as_me:$LINENO: result: $result" >&5
9421 echo "${ECHO_T}$result" >&6; }
9425 DEFAULT_wxUSE_CONTROLS=none
9427 enablestring=disable
9429 if test -z "$defaultval"; then
9430 if test x"$enablestring" = xdisable; then
9437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9439 # Check whether --enable-controls was given.
9440 if test "${enable_controls+set}" = set; then
9441 enableval=$enable_controls;
9442 if test "$enableval" = yes; then
9443 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
9445 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
9450 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9455 eval "$wx_cv_use_controls"
9457 if test x"$enablestring" = xdisable; then
9458 if test $wxUSE_CONTROLS = no; then
9464 result=$wxUSE_CONTROLS
9467 { echo "$as_me:$LINENO: result
: $result" >&5
9468 echo "${ECHO_T}$result" >&6; }
9471 if test "$wxUSE_CONTROLS" = "no
"; then
9472 DEFAULT_wxUSE_ACCEL=no
9473 DEFAULT_wxUSE_ANIMATIONCTRL=no
9474 DEFAULT_wxUSE_BMPBUTTON=no
9475 DEFAULT_wxUSE_BUTTON=no
9476 DEFAULT_wxUSE_CALCTRL=no
9477 DEFAULT_wxUSE_CARET=no
9478 DEFAULT_wxUSE_CHECKBOX=no
9479 DEFAULT_wxUSE_CHECKLISTBOX=no
9480 DEFAULT_wxUSE_CHOICE=no
9481 DEFAULT_wxUSE_CHOICEBOOK=no
9482 DEFAULT_wxUSE_COLLPANE=no
9483 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9484 DEFAULT_wxUSE_COMBOBOX=no
9485 DEFAULT_wxUSE_COMBOBOX=no
9486 DEFAULT_wxUSE_DATAVIEWCTRL=no
9487 DEFAULT_wxUSE_DATEPICKCTRL=no
9488 DEFAULT_wxUSE_DETECT_SM=no
9489 DEFAULT_wxUSE_DIRPICKERCTRL=no
9490 DEFAULT_wxUSE_DISPLAY=no
9491 DEFAULT_wxUSE_FILECTRL=no
9492 DEFAULT_wxUSE_FILEPICKERCTRL=no
9493 DEFAULT_wxUSE_FONTPICKERCTRL=no
9494 DEFAULT_wxUSE_GAUGE=no
9495 DEFAULT_wxUSE_GRID=no
9496 DEFAULT_wxUSE_HEADERCTRL=no
9497 DEFAULT_wxUSE_HYPERLINKCTRL=no
9498 DEFAULT_wxUSE_IMAGLIST=no
9499 DEFAULT_wxUSE_LISTBOOK=no
9500 DEFAULT_wxUSE_LISTBOX=no
9501 DEFAULT_wxUSE_LISTCTRL=no
9502 DEFAULT_wxUSE_NOTEBOOK=no
9503 DEFAULT_wxUSE_POPUPWIN=no
9504 DEFAULT_wxUSE_RADIOBOX=no
9505 DEFAULT_wxUSE_RADIOBTN=no
9506 DEFAULT_wxUSE_REARRANGECTRL=no
9507 DEFAULT_wxUSE_SASH=no
9508 DEFAULT_wxUSE_SCROLLBAR=no
9509 DEFAULT_wxUSE_SEARCHCTRL=no
9510 DEFAULT_wxUSE_SLIDER=no
9511 DEFAULT_wxUSE_SPINBTN=no
9512 DEFAULT_wxUSE_SPINCTRL=no
9513 DEFAULT_wxUSE_SPLITTER=no
9514 DEFAULT_wxUSE_STATBMP=no
9515 DEFAULT_wxUSE_STATBOX=no
9516 DEFAULT_wxUSE_STATLINE=no
9517 DEFAULT_wxUSE_STATUSBAR=no
9518 DEFAULT_wxUSE_TIPWINDOW=no
9519 DEFAULT_wxUSE_TOGGLEBTN=no
9520 DEFAULT_wxUSE_TOOLBAR=no
9521 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9522 DEFAULT_wxUSE_TOOLBOOK=no
9523 DEFAULT_wxUSE_TOOLTIPS=no
9524 DEFAULT_wxUSE_TREEBOOK=no
9525 DEFAULT_wxUSE_TREECTRL=no
9530 defaultval=$wxUSE_ALL_FEATURES
9531 if test -z "$defaultval"; then
9532 if test x"$enablestring" = xdisable; then
9539 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9540 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9541 # Check whether --enable-accel was given.
9542 if test "${enable_accel+set}" = set; then
9543 enableval=$enable_accel;
9544 if test "$enableval" = yes; then
9545 wx_cv_use_accel='wxUSE_ACCEL=yes'
9547 wx_cv_use_accel='wxUSE_ACCEL=no'
9552 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9557 eval "$wx_cv_use_accel"
9559 if test x
"$enablestring" = xdisable
; then
9560 if test $wxUSE_ACCEL = no
; then
9569 { echo "$as_me:$LINENO: result: $result" >&5
9570 echo "${ECHO_T}$result" >&6; }
9574 defaultval
=$wxUSE_ALL_FEATURES
9575 if test -z "$defaultval"; then
9576 if test x
"$enablestring" = xdisable
; then
9583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9584 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9585 # Check whether --enable-animatectrl was given.
9586 if test "${enable_animatectrl+set}" = set; then
9587 enableval
=$enable_animatectrl;
9588 if test "$enableval" = yes; then
9589 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
9591 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
9596 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9601 eval "$wx_cv_use_animatectrl"
9603 if test x"$enablestring" = xdisable; then
9604 if test $wxUSE_ANIMATIONCTRL = no; then
9610 result=$wxUSE_ANIMATIONCTRL
9613 { echo "$as_me:$LINENO: result: $result" >&5
9614 echo "${ECHO_T}$result" >&6; }
9618 defaultval=$wxUSE_ALL_FEATURES
9619 if test -z "$defaultval"; then
9620 if test x"$enablestring" = xdisable; then
9627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9628 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9629 # Check whether --enable-bmpbutton was given.
9630 if test "${enable_bmpbutton+set}" = set; then
9631 enableval=$enable_bmpbutton;
9632 if test "$enableval" = yes; then
9633 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9635 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9640 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9645 eval "$wx_cv_use_bmpbutton"
9647 if test x"$enablestring" = xdisable; then
9648 if test $wxUSE_BMPBUTTON = no; then
9654 result=$wxUSE_BMPBUTTON
9657 { echo "$as_me:$LINENO: result
: $result" >&5
9658 echo "${ECHO_T}$result" >&6; }
9662 defaultval=$wxUSE_ALL_FEATURES
9663 if test -z "$defaultval"; then
9664 if test x"$enablestring" = xdisable; then
9671 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9672 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9673 # Check whether --enable-bmpcombobox was given.
9674 if test "${enable_bmpcombobox+set}" = set; then
9675 enableval=$enable_bmpcombobox;
9676 if test "$enableval" = yes; then
9677 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9679 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9684 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9689 eval "$wx_cv_use_bmpcombobox"
9691 if test x
"$enablestring" = xdisable
; then
9692 if test $wxUSE_BITMAPCOMBOBOX = no
; then
9698 result
=$wxUSE_BITMAPCOMBOBOX
9701 { echo "$as_me:$LINENO: result: $result" >&5
9702 echo "${ECHO_T}$result" >&6; }
9706 defaultval
=$wxUSE_ALL_FEATURES
9707 if test -z "$defaultval"; then
9708 if test x
"$enablestring" = xdisable
; then
9715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9716 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9717 # Check whether --enable-button was given.
9718 if test "${enable_button+set}" = set; then
9719 enableval
=$enable_button;
9720 if test "$enableval" = yes; then
9721 wx_cv_use_button
='wxUSE_BUTTON=yes'
9723 wx_cv_use_button
='wxUSE_BUTTON=no'
9728 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9733 eval "$wx_cv_use_button"
9735 if test x"$enablestring" = xdisable; then
9736 if test $wxUSE_BUTTON = no; then
9742 result=$wxUSE_BUTTON
9745 { echo "$as_me:$LINENO: result: $result" >&5
9746 echo "${ECHO_T}$result" >&6; }
9750 defaultval=$wxUSE_ALL_FEATURES
9751 if test -z "$defaultval"; then
9752 if test x"$enablestring" = xdisable; then
9759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9761 # Check whether --enable-calendar was given.
9762 if test "${enable_calendar+set}" = set; then
9763 enableval=$enable_calendar;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
9767 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
9772 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9777 eval "$wx_cv_use_calendar"
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_CALCTRL = no; then
9786 result=$wxUSE_CALCTRL
9789 { echo "$as_me:$LINENO: result
: $result" >&5
9790 echo "${ECHO_T}$result" >&6; }
9794 defaultval=$wxUSE_ALL_FEATURES
9795 if test -z "$defaultval"; then
9796 if test x"$enablestring" = xdisable; then
9803 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
9804 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
9805 # Check whether --enable-caret was given.
9806 if test "${enable_caret+set}" = set; then
9807 enableval=$enable_caret;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_caret='wxUSE_CARET=yes'
9811 wx_cv_use_caret='wxUSE_CARET=no'
9816 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9821 eval "$wx_cv_use_caret"
9823 if test x
"$enablestring" = xdisable
; then
9824 if test $wxUSE_CARET = no
; then
9833 { echo "$as_me:$LINENO: result: $result" >&5
9834 echo "${ECHO_T}$result" >&6; }
9838 defaultval
=$wxUSE_ALL_FEATURES
9839 if test -z "$defaultval"; then
9840 if test x
"$enablestring" = xdisable
; then
9847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9849 # Check whether --enable-checkbox was given.
9850 if test "${enable_checkbox+set}" = set; then
9851 enableval
=$enable_checkbox;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
9855 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
9860 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9865 eval "$wx_cv_use_checkbox"
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_CHECKBOX = no; then
9874 result=$wxUSE_CHECKBOX
9877 { echo "$as_me:$LINENO: result: $result" >&5
9878 echo "${ECHO_T}$result" >&6; }
9882 defaultval=$wxUSE_ALL_FEATURES
9883 if test -z "$defaultval"; then
9884 if test x"$enablestring" = xdisable; then
9891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9893 # Check whether --enable-checklst was given.
9894 if test "${enable_checklst+set}" = set; then
9895 enableval=$enable_checklst;
9896 if test "$enableval" = yes; then
9897 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
9899 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
9904 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9909 eval "$wx_cv_use_checklst"
9911 if test x"$enablestring" = xdisable; then
9912 if test $wxUSE_CHECKLST = no; then
9918 result=$wxUSE_CHECKLST
9921 { echo "$as_me:$LINENO: result
: $result" >&5
9922 echo "${ECHO_T}$result" >&6; }
9926 defaultval=$wxUSE_ALL_FEATURES
9927 if test -z "$defaultval"; then
9928 if test x"$enablestring" = xdisable; then
9935 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
9936 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
9937 # Check whether --enable-choice was given.
9938 if test "${enable_choice+set}" = set; then
9939 enableval=$enable_choice;
9940 if test "$enableval" = yes; then
9941 wx_cv_use_choice='wxUSE_CHOICE=yes'
9943 wx_cv_use_choice='wxUSE_CHOICE=no'
9948 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9953 eval "$wx_cv_use_choice"
9955 if test x
"$enablestring" = xdisable
; then
9956 if test $wxUSE_CHOICE = no
; then
9962 result
=$wxUSE_CHOICE
9965 { echo "$as_me:$LINENO: result: $result" >&5
9966 echo "${ECHO_T}$result" >&6; }
9970 defaultval
=$wxUSE_ALL_FEATURES
9971 if test -z "$defaultval"; then
9972 if test x
"$enablestring" = xdisable
; then
9979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9980 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9981 # Check whether --enable-choicebook was given.
9982 if test "${enable_choicebook+set}" = set; then
9983 enableval
=$enable_choicebook;
9984 if test "$enableval" = yes; then
9985 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
9987 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
9992 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9997 eval "$wx_cv_use_choicebook"
9999 if test x"$enablestring" = xdisable; then
10000 if test $wxUSE_CHOICEBOOK = no; then
10006 result=$wxUSE_CHOICEBOOK
10009 { echo "$as_me:$LINENO: result: $result" >&5
10010 echo "${ECHO_T}$result" >&6; }
10014 defaultval=$wxUSE_ALL_FEATURES
10015 if test -z "$defaultval"; then
10016 if test x"$enablestring" = xdisable; then
10023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10024 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10025 # Check whether --enable-collpane was given.
10026 if test "${enable_collpane+set}" = set; then
10027 enableval=$enable_collpane;
10028 if test "$enableval" = yes; then
10029 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10031 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10036 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10041 eval "$wx_cv_use_collpane"
10043 if test x"$enablestring" = xdisable; then
10044 if test $wxUSE_COLLPANE = no; then
10050 result=$wxUSE_COLLPANE
10053 { echo "$as_me:$LINENO: result
: $result" >&5
10054 echo "${ECHO_T}$result" >&6; }
10058 defaultval=$wxUSE_ALL_FEATURES
10059 if test -z "$defaultval"; then
10060 if test x"$enablestring" = xdisable; then
10067 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10068 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10069 # Check whether --enable-colourpicker was given.
10070 if test "${enable_colourpicker+set}" = set; then
10071 enableval=$enable_colourpicker;
10072 if test "$enableval" = yes; then
10073 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10075 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10080 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10085 eval "$wx_cv_use_colourpicker"
10087 if test x
"$enablestring" = xdisable
; then
10088 if test $wxUSE_COLOURPICKERCTRL = no
; then
10094 result
=$wxUSE_COLOURPICKERCTRL
10097 { echo "$as_me:$LINENO: result: $result" >&5
10098 echo "${ECHO_T}$result" >&6; }
10102 defaultval
=$wxUSE_ALL_FEATURES
10103 if test -z "$defaultval"; then
10104 if test x
"$enablestring" = xdisable
; then
10111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10113 # Check whether --enable-combobox was given.
10114 if test "${enable_combobox+set}" = set; then
10115 enableval
=$enable_combobox;
10116 if test "$enableval" = yes; then
10117 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10119 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10124 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10129 eval "$wx_cv_use_combobox"
10131 if test x"$enablestring" = xdisable; then
10132 if test $wxUSE_COMBOBOX = no; then
10138 result=$wxUSE_COMBOBOX
10141 { echo "$as_me:$LINENO: result: $result" >&5
10142 echo "${ECHO_T}$result" >&6; }
10146 defaultval=$wxUSE_ALL_FEATURES
10147 if test -z "$defaultval"; then
10148 if test x"$enablestring" = xdisable; then
10155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10157 # Check whether --enable-comboctrl was given.
10158 if test "${enable_comboctrl+set}" = set; then
10159 enableval=$enable_comboctrl;
10160 if test "$enableval" = yes; then
10161 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10163 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10168 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10173 eval "$wx_cv_use_comboctrl"
10175 if test x"$enablestring" = xdisable; then
10176 if test $wxUSE_COMBOCTRL = no; then
10182 result=$wxUSE_COMBOCTRL
10185 { echo "$as_me:$LINENO: result
: $result" >&5
10186 echo "${ECHO_T}$result" >&6; }
10190 defaultval=$wxUSE_ALL_FEATURES
10191 if test -z "$defaultval"; then
10192 if test x"$enablestring" = xdisable; then
10199 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10200 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10201 # Check whether --enable-dataviewctrl was given.
10202 if test "${enable_dataviewctrl+set}" = set; then
10203 enableval=$enable_dataviewctrl;
10204 if test "$enableval" = yes; then
10205 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10207 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10212 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10217 eval "$wx_cv_use_dataviewctrl"
10219 if test x
"$enablestring" = xdisable
; then
10220 if test $wxUSE_DATAVIEWCTRL = no
; then
10226 result
=$wxUSE_DATAVIEWCTRL
10229 { echo "$as_me:$LINENO: result: $result" >&5
10230 echo "${ECHO_T}$result" >&6; }
10234 defaultval
=$wxUSE_ALL_FEATURES
10235 if test -z "$defaultval"; then
10236 if test x
"$enablestring" = xdisable
; then
10243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10245 # Check whether --enable-datepick was given.
10246 if test "${enable_datepick+set}" = set; then
10247 enableval
=$enable_datepick;
10248 if test "$enableval" = yes; then
10249 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10251 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10256 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10261 eval "$wx_cv_use_datepick"
10263 if test x"$enablestring" = xdisable; then
10264 if test $wxUSE_DATEPICKCTRL = no; then
10270 result=$wxUSE_DATEPICKCTRL
10273 { echo "$as_me:$LINENO: result: $result" >&5
10274 echo "${ECHO_T}$result" >&6; }
10278 defaultval=$wxUSE_ALL_FEATURES
10279 if test -z "$defaultval"; then
10280 if test x"$enablestring" = xdisable; then
10287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10289 # Check whether --enable-detect_sm was given.
10290 if test "${enable_detect_sm+set}" = set; then
10291 enableval=$enable_detect_sm;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10295 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10300 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10305 eval "$wx_cv_use_detect_sm"
10307 if test x"$enablestring" = xdisable; then
10308 if test $wxUSE_DETECT_SM = no; then
10314 result=$wxUSE_DETECT_SM
10317 { echo "$as_me:$LINENO: result
: $result" >&5
10318 echo "${ECHO_T}$result" >&6; }
10322 defaultval=$wxUSE_ALL_FEATURES
10323 if test -z "$defaultval"; then
10324 if test x"$enablestring" = xdisable; then
10331 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10332 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10333 # Check whether --enable-dirpicker was given.
10334 if test "${enable_dirpicker+set}" = set; then
10335 enableval=$enable_dirpicker;
10336 if test "$enableval" = yes; then
10337 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10339 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10344 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10349 eval "$wx_cv_use_dirpicker"
10351 if test x
"$enablestring" = xdisable
; then
10352 if test $wxUSE_DIRPICKERCTRL = no
; then
10358 result
=$wxUSE_DIRPICKERCTRL
10361 { echo "$as_me:$LINENO: result: $result" >&5
10362 echo "${ECHO_T}$result" >&6; }
10366 defaultval
=$wxUSE_ALL_FEATURES
10367 if test -z "$defaultval"; then
10368 if test x
"$enablestring" = xdisable
; then
10375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10376 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10377 # Check whether --enable-display was given.
10378 if test "${enable_display+set}" = set; then
10379 enableval
=$enable_display;
10380 if test "$enableval" = yes; then
10381 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10383 wx_cv_use_display
='wxUSE_DISPLAY=no'
10388 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10393 eval "$wx_cv_use_display"
10395 if test x"$enablestring" = xdisable; then
10396 if test $wxUSE_DISPLAY = no; then
10402 result=$wxUSE_DISPLAY
10405 { echo "$as_me:$LINENO: result: $result" >&5
10406 echo "${ECHO_T}$result" >&6; }
10410 defaultval=$wxUSE_ALL_FEATURES
10411 if test -z "$defaultval"; then
10412 if test x"$enablestring" = xdisable; then
10419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10420 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10421 # Check whether --enable-editablebox was given.
10422 if test "${enable_editablebox+set}" = set; then
10423 enableval=$enable_editablebox;
10424 if test "$enableval" = yes; then
10425 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10427 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10432 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10437 eval "$wx_cv_use_editablebox"
10439 if test x"$enablestring" = xdisable; then
10440 if test $wxUSE_EDITABLELISTBOX = no; then
10446 result=$wxUSE_EDITABLELISTBOX
10449 { echo "$as_me:$LINENO: result
: $result" >&5
10450 echo "${ECHO_T}$result" >&6; }
10454 defaultval=$wxUSE_ALL_FEATURES
10455 if test -z "$defaultval"; then
10456 if test x"$enablestring" = xdisable; then
10463 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filectrl" >&5
10464 echo $ECHO_N "checking
for --${enablestring:-enable}-filectrl...
$ECHO_C" >&6; }
10465 # Check whether --enable-filectrl was given.
10466 if test "${enable_filectrl+set}" = set; then
10467 enableval=$enable_filectrl;
10468 if test "$enableval" = yes; then
10469 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10471 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10476 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10481 eval "$wx_cv_use_filectrl"
10483 if test x
"$enablestring" = xdisable
; then
10484 if test $wxUSE_FILECTRL = no
; then
10490 result
=$wxUSE_FILECTRL
10493 { echo "$as_me:$LINENO: result: $result" >&5
10494 echo "${ECHO_T}$result" >&6; }
10498 defaultval
=$wxUSE_ALL_FEATURES
10499 if test -z "$defaultval"; then
10500 if test x
"$enablestring" = xdisable
; then
10507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10508 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10509 # Check whether --enable-filepicker was given.
10510 if test "${enable_filepicker+set}" = set; then
10511 enableval
=$enable_filepicker;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10515 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10520 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10525 eval "$wx_cv_use_filepicker"
10527 if test x"$enablestring" = xdisable; then
10528 if test $wxUSE_FILEPICKERCTRL = no; then
10534 result=$wxUSE_FILEPICKERCTRL
10537 { echo "$as_me:$LINENO: result: $result" >&5
10538 echo "${ECHO_T}$result" >&6; }
10542 defaultval=$wxUSE_ALL_FEATURES
10543 if test -z "$defaultval"; then
10544 if test x"$enablestring" = xdisable; then
10551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10553 # Check whether --enable-fontpicker was given.
10554 if test "${enable_fontpicker+set}" = set; then
10555 enableval=$enable_fontpicker;
10556 if test "$enableval" = yes; then
10557 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
10559 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
10564 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10569 eval "$wx_cv_use_fontpicker"
10571 if test x"$enablestring" = xdisable; then
10572 if test $wxUSE_FONTPICKERCTRL = no; then
10578 result=$wxUSE_FONTPICKERCTRL
10581 { echo "$as_me:$LINENO: result
: $result" >&5
10582 echo "${ECHO_T}$result" >&6; }
10586 defaultval=$wxUSE_ALL_FEATURES
10587 if test -z "$defaultval"; then
10588 if test x"$enablestring" = xdisable; then
10595 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
10596 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
10597 # Check whether --enable-gauge was given.
10598 if test "${enable_gauge+set}" = set; then
10599 enableval=$enable_gauge;
10600 if test "$enableval" = yes; then
10601 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10603 wx_cv_use_gauge='wxUSE_GAUGE=no'
10608 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10613 eval "$wx_cv_use_gauge"
10615 if test x
"$enablestring" = xdisable
; then
10616 if test $wxUSE_GAUGE = no
; then
10622 result
=$wxUSE_GAUGE
10625 { echo "$as_me:$LINENO: result: $result" >&5
10626 echo "${ECHO_T}$result" >&6; }
10630 defaultval
=$wxUSE_ALL_FEATURES
10631 if test -z "$defaultval"; then
10632 if test x
"$enablestring" = xdisable
; then
10639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10641 # Check whether --enable-grid was given.
10642 if test "${enable_grid+set}" = set; then
10643 enableval
=$enable_grid;
10644 if test "$enableval" = yes; then
10645 wx_cv_use_grid
='wxUSE_GRID=yes'
10647 wx_cv_use_grid
='wxUSE_GRID=no'
10652 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10657 eval "$wx_cv_use_grid"
10659 if test x"$enablestring" = xdisable; then
10660 if test $wxUSE_GRID = no; then
10669 { echo "$as_me:$LINENO: result: $result" >&5
10670 echo "${ECHO_T}$result" >&6; }
10674 defaultval=$wxUSE_ALL_FEATURES
10675 if test -z "$defaultval"; then
10676 if test x"$enablestring" = xdisable; then
10683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10684 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10685 # Check whether --enable-headerctrl was given.
10686 if test "${enable_headerctrl+set}" = set; then
10687 enableval=$enable_headerctrl;
10688 if test "$enableval" = yes; then
10689 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=yes'
10691 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=no
'
10696 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10701 eval "$wx_cv_use_headerctrl"
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_HEADERCTRL = no; then
10710 result=$wxUSE_HEADERCTRL
10713 { echo "$as_me:$LINENO: result
: $result" >&5
10714 echo "${ECHO_T}$result" >&6; }
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10727 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
10728 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
10729 # Check whether --enable-hyperlink was given.
10730 if test "${enable_hyperlink+set}" = set; then
10731 enableval=$enable_hyperlink;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10735 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10740 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10745 eval "$wx_cv_use_hyperlink"
10747 if test x
"$enablestring" = xdisable
; then
10748 if test $wxUSE_HYPERLINKCTRL = no
; then
10754 result
=$wxUSE_HYPERLINKCTRL
10757 { echo "$as_me:$LINENO: result: $result" >&5
10758 echo "${ECHO_T}$result" >&6; }
10762 defaultval
=$wxUSE_ALL_FEATURES
10763 if test -z "$defaultval"; then
10764 if test x
"$enablestring" = xdisable
; then
10771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10772 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10773 # Check whether --enable-imaglist was given.
10774 if test "${enable_imaglist+set}" = set; then
10775 enableval
=$enable_imaglist;
10776 if test "$enableval" = yes; then
10777 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
10779 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
10784 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10789 eval "$wx_cv_use_imaglist"
10791 if test x"$enablestring" = xdisable; then
10792 if test $wxUSE_IMAGLIST = no; then
10798 result=$wxUSE_IMAGLIST
10801 { echo "$as_me:$LINENO: result: $result" >&5
10802 echo "${ECHO_T}$result" >&6; }
10806 defaultval=$wxUSE_ALL_FEATURES
10807 if test -z "$defaultval"; then
10808 if test x"$enablestring" = xdisable; then
10815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10816 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10817 # Check whether --enable-listbook was given.
10818 if test "${enable_listbook+set}" = set; then
10819 enableval=$enable_listbook;
10820 if test "$enableval" = yes; then
10821 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
10823 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
10828 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10833 eval "$wx_cv_use_listbook"
10835 if test x"$enablestring" = xdisable; then
10836 if test $wxUSE_LISTBOOK = no; then
10842 result=$wxUSE_LISTBOOK
10845 { echo "$as_me:$LINENO: result
: $result" >&5
10846 echo "${ECHO_T}$result" >&6; }
10850 defaultval=$wxUSE_ALL_FEATURES
10851 if test -z "$defaultval"; then
10852 if test x"$enablestring" = xdisable; then
10859 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
10860 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
10861 # Check whether --enable-listbox was given.
10862 if test "${enable_listbox+set}" = set; then
10863 enableval=$enable_listbox;
10864 if test "$enableval" = yes; then
10865 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10867 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10872 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10877 eval "$wx_cv_use_listbox"
10879 if test x
"$enablestring" = xdisable
; then
10880 if test $wxUSE_LISTBOX = no
; then
10886 result
=$wxUSE_LISTBOX
10889 { echo "$as_me:$LINENO: result: $result" >&5
10890 echo "${ECHO_T}$result" >&6; }
10894 defaultval
=$wxUSE_ALL_FEATURES
10895 if test -z "$defaultval"; then
10896 if test x
"$enablestring" = xdisable
; then
10903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10904 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10905 # Check whether --enable-listctrl was given.
10906 if test "${enable_listctrl+set}" = set; then
10907 enableval
=$enable_listctrl;
10908 if test "$enableval" = yes; then
10909 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
10911 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
10916 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10921 eval "$wx_cv_use_listctrl"
10923 if test x"$enablestring" = xdisable; then
10924 if test $wxUSE_LISTCTRL = no; then
10930 result=$wxUSE_LISTCTRL
10933 { echo "$as_me:$LINENO: result: $result" >&5
10934 echo "${ECHO_T}$result" >&6; }
10938 defaultval=$wxUSE_ALL_FEATURES
10939 if test -z "$defaultval"; then
10940 if test x"$enablestring" = xdisable; then
10947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10949 # Check whether --enable-notebook was given.
10950 if test "${enable_notebook+set}" = set; then
10951 enableval=$enable_notebook;
10952 if test "$enableval" = yes; then
10953 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
10955 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
10960 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10965 eval "$wx_cv_use_notebook"
10967 if test x"$enablestring" = xdisable; then
10968 if test $wxUSE_NOTEBOOK = no; then
10974 result=$wxUSE_NOTEBOOK
10977 { echo "$as_me:$LINENO: result
: $result" >&5
10978 echo "${ECHO_T}$result" >&6; }
10982 defaultval=$wxUSE_ALL_FEATURES
10983 if test -z "$defaultval"; then
10984 if test x"$enablestring" = xdisable; then
10991 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notifmsg" >&5
10992 echo $ECHO_N "checking
for --${enablestring:-enable}-notifmsg...
$ECHO_C" >&6; }
10993 # Check whether --enable-notifmsg was given.
10994 if test "${enable_notifmsg+set}" = set; then
10995 enableval=$enable_notifmsg;
10996 if test "$enableval" = yes; then
10997 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10999 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11004 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11009 eval "$wx_cv_use_notifmsg"
11011 if test x
"$enablestring" = xdisable
; then
11012 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
11018 result
=$wxUSE_NOTIFICATION_MESSAGE
11021 { echo "$as_me:$LINENO: result: $result" >&5
11022 echo "${ECHO_T}$result" >&6; }
11026 defaultval
=$wxUSE_ALL_FEATURES
11027 if test -z "$defaultval"; then
11028 if test x
"$enablestring" = xdisable
; then
11035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11036 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11037 # Check whether --enable-odcombobox was given.
11038 if test "${enable_odcombobox+set}" = set; then
11039 enableval
=$enable_odcombobox;
11040 if test "$enableval" = yes; then
11041 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
11043 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
11048 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11053 eval "$wx_cv_use_odcombobox"
11055 if test x"$enablestring" = xdisable; then
11056 if test $wxUSE_ODCOMBOBOX = no; then
11062 result=$wxUSE_ODCOMBOBOX
11065 { echo "$as_me:$LINENO: result: $result" >&5
11066 echo "${ECHO_T}$result" >&6; }
11070 defaultval=$wxUSE_ALL_FEATURES
11071 if test -z "$defaultval"; then
11072 if test x"$enablestring" = xdisable; then
11079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11080 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11081 # Check whether --enable-popupwin was given.
11082 if test "${enable_popupwin+set}" = set; then
11083 enableval=$enable_popupwin;
11084 if test "$enableval" = yes; then
11085 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
11087 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
11092 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11097 eval "$wx_cv_use_popupwin"
11099 if test x"$enablestring" = xdisable; then
11100 if test $wxUSE_POPUPWIN = no; then
11106 result=$wxUSE_POPUPWIN
11109 { echo "$as_me:$LINENO: result
: $result" >&5
11110 echo "${ECHO_T}$result" >&6; }
11114 defaultval=$wxUSE_ALL_FEATURES
11115 if test -z "$defaultval"; then
11116 if test x"$enablestring" = xdisable; then
11123 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11124 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11125 # Check whether --enable-radiobox was given.
11126 if test "${enable_radiobox+set}" = set; then
11127 enableval=$enable_radiobox;
11128 if test "$enableval" = yes; then
11129 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11131 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11136 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11141 eval "$wx_cv_use_radiobox"
11143 if test x
"$enablestring" = xdisable
; then
11144 if test $wxUSE_RADIOBOX = no
; then
11150 result
=$wxUSE_RADIOBOX
11153 { echo "$as_me:$LINENO: result: $result" >&5
11154 echo "${ECHO_T}$result" >&6; }
11158 defaultval
=$wxUSE_ALL_FEATURES
11159 if test -z "$defaultval"; then
11160 if test x
"$enablestring" = xdisable
; then
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11169 # Check whether --enable-radiobtn was given.
11170 if test "${enable_radiobtn+set}" = set; then
11171 enableval
=$enable_radiobtn;
11172 if test "$enableval" = yes; then
11173 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11175 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11180 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11185 eval "$wx_cv_use_radiobtn"
11187 if test x"$enablestring" = xdisable; then
11188 if test $wxUSE_RADIOBTN = no; then
11194 result=$wxUSE_RADIOBTN
11197 { echo "$as_me:$LINENO: result: $result" >&5
11198 echo "${ECHO_T}$result" >&6; }
11202 defaultval=$wxUSE_ALL_FEATURES
11203 if test -z "$defaultval"; then
11204 if test x"$enablestring" = xdisable; then
11211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11212 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11213 # Check whether --enable-rearrangectrl was given.
11214 if test "${enable_rearrangectrl+set}" = set; then
11215 enableval=$enable_rearrangectrl;
11216 if test "$enableval" = yes; then
11217 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11219 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11224 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11229 eval "$wx_cv_use_rearrangectrl"
11231 if test x"$enablestring" = xdisable; then
11232 if test $wxUSE_REARRANGECTRL = no; then
11238 result=$wxUSE_REARRANGECTRL
11241 { echo "$as_me:$LINENO: result
: $result" >&5
11242 echo "${ECHO_T}$result" >&6; }
11246 defaultval=$wxUSE_ALL_FEATURES
11247 if test -z "$defaultval"; then
11248 if test x"$enablestring" = xdisable; then
11255 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11256 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11257 # Check whether --enable-sash was given.
11258 if test "${enable_sash+set}" = set; then
11259 enableval=$enable_sash;
11260 if test "$enableval" = yes; then
11261 wx_cv_use_sash='wxUSE_SASH=yes'
11263 wx_cv_use_sash='wxUSE_SASH=no'
11268 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11273 eval "$wx_cv_use_sash"
11275 if test x
"$enablestring" = xdisable
; then
11276 if test $wxUSE_SASH = no
; then
11285 { echo "$as_me:$LINENO: result: $result" >&5
11286 echo "${ECHO_T}$result" >&6; }
11290 defaultval
=$wxUSE_ALL_FEATURES
11291 if test -z "$defaultval"; then
11292 if test x
"$enablestring" = xdisable
; then
11299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11300 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11301 # Check whether --enable-scrollbar was given.
11302 if test "${enable_scrollbar+set}" = set; then
11303 enableval
=$enable_scrollbar;
11304 if test "$enableval" = yes; then
11305 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11307 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11312 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11317 eval "$wx_cv_use_scrollbar"
11319 if test x"$enablestring" = xdisable; then
11320 if test $wxUSE_SCROLLBAR = no; then
11326 result=$wxUSE_SCROLLBAR
11329 { echo "$as_me:$LINENO: result: $result" >&5
11330 echo "${ECHO_T}$result" >&6; }
11334 defaultval=$wxUSE_ALL_FEATURES
11335 if test -z "$defaultval"; then
11336 if test x"$enablestring" = xdisable; then
11343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11344 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11345 # Check whether --enable-searchctrl was given.
11346 if test "${enable_searchctrl+set}" = set; then
11347 enableval=$enable_searchctrl;
11348 if test "$enableval" = yes; then
11349 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11351 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11356 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11361 eval "$wx_cv_use_searchctrl"
11363 if test x"$enablestring" = xdisable; then
11364 if test $wxUSE_SEARCHCTRL = no; then
11370 result=$wxUSE_SEARCHCTRL
11373 { echo "$as_me:$LINENO: result
: $result" >&5
11374 echo "${ECHO_T}$result" >&6; }
11378 defaultval=$wxUSE_ALL_FEATURES
11379 if test -z "$defaultval"; then
11380 if test x"$enablestring" = xdisable; then
11387 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
11388 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11389 # Check whether --enable-slider was given.
11390 if test "${enable_slider+set}" = set; then
11391 enableval=$enable_slider;
11392 if test "$enableval" = yes; then
11393 wx_cv_use_slider='wxUSE_SLIDER=yes'
11395 wx_cv_use_slider='wxUSE_SLIDER=no'
11400 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11405 eval "$wx_cv_use_slider"
11407 if test x
"$enablestring" = xdisable
; then
11408 if test $wxUSE_SLIDER = no
; then
11414 result
=$wxUSE_SLIDER
11417 { echo "$as_me:$LINENO: result: $result" >&5
11418 echo "${ECHO_T}$result" >&6; }
11422 defaultval
=$wxUSE_ALL_FEATURES
11423 if test -z "$defaultval"; then
11424 if test x
"$enablestring" = xdisable
; then
11431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11432 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11433 # Check whether --enable-spinbtn was given.
11434 if test "${enable_spinbtn+set}" = set; then
11435 enableval
=$enable_spinbtn;
11436 if test "$enableval" = yes; then
11437 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11439 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11444 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11449 eval "$wx_cv_use_spinbtn"
11451 if test x"$enablestring" = xdisable; then
11452 if test $wxUSE_SPINBTN = no; then
11458 result=$wxUSE_SPINBTN
11461 { echo "$as_me:$LINENO: result: $result" >&5
11462 echo "${ECHO_T}$result" >&6; }
11466 defaultval=$wxUSE_ALL_FEATURES
11467 if test -z "$defaultval"; then
11468 if test x"$enablestring" = xdisable; then
11475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11476 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11477 # Check whether --enable-spinctrl was given.
11478 if test "${enable_spinctrl+set}" = set; then
11479 enableval=$enable_spinctrl;
11480 if test "$enableval" = yes; then
11481 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
11483 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
11488 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11493 eval "$wx_cv_use_spinctrl"
11495 if test x"$enablestring" = xdisable; then
11496 if test $wxUSE_SPINCTRL = no; then
11502 result=$wxUSE_SPINCTRL
11505 { echo "$as_me:$LINENO: result
: $result" >&5
11506 echo "${ECHO_T}$result" >&6; }
11510 defaultval=$wxUSE_ALL_FEATURES
11511 if test -z "$defaultval"; then
11512 if test x"$enablestring" = xdisable; then
11519 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
11520 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
11521 # Check whether --enable-splitter was given.
11522 if test "${enable_splitter+set}" = set; then
11523 enableval=$enable_splitter;
11524 if test "$enableval" = yes; then
11525 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11527 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11532 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11537 eval "$wx_cv_use_splitter"
11539 if test x
"$enablestring" = xdisable
; then
11540 if test $wxUSE_SPLITTER = no
; then
11546 result
=$wxUSE_SPLITTER
11549 { echo "$as_me:$LINENO: result: $result" >&5
11550 echo "${ECHO_T}$result" >&6; }
11554 defaultval
=$wxUSE_ALL_FEATURES
11555 if test -z "$defaultval"; then
11556 if test x
"$enablestring" = xdisable
; then
11563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11564 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11565 # Check whether --enable-statbmp was given.
11566 if test "${enable_statbmp+set}" = set; then
11567 enableval
=$enable_statbmp;
11568 if test "$enableval" = yes; then
11569 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
11571 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
11576 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11581 eval "$wx_cv_use_statbmp"
11583 if test x"$enablestring" = xdisable; then
11584 if test $wxUSE_STATBMP = no; then
11590 result=$wxUSE_STATBMP
11593 { echo "$as_me:$LINENO: result: $result" >&5
11594 echo "${ECHO_T}$result" >&6; }
11598 defaultval=$wxUSE_ALL_FEATURES
11599 if test -z "$defaultval"; then
11600 if test x"$enablestring" = xdisable; then
11607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11608 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11609 # Check whether --enable-statbox was given.
11610 if test "${enable_statbox+set}" = set; then
11611 enableval=$enable_statbox;
11612 if test "$enableval" = yes; then
11613 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
11615 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
11620 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11625 eval "$wx_cv_use_statbox"
11627 if test x"$enablestring" = xdisable; then
11628 if test $wxUSE_STATBOX = no; then
11634 result=$wxUSE_STATBOX
11637 { echo "$as_me:$LINENO: result
: $result" >&5
11638 echo "${ECHO_T}$result" >&6; }
11642 defaultval=$wxUSE_ALL_FEATURES
11643 if test -z "$defaultval"; then
11644 if test x"$enablestring" = xdisable; then
11651 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
11652 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
11653 # Check whether --enable-statline was given.
11654 if test "${enable_statline+set}" = set; then
11655 enableval=$enable_statline;
11656 if test "$enableval" = yes; then
11657 wx_cv_use_statline='wxUSE_STATLINE=yes'
11659 wx_cv_use_statline='wxUSE_STATLINE=no'
11664 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11669 eval "$wx_cv_use_statline"
11671 if test x
"$enablestring" = xdisable
; then
11672 if test $wxUSE_STATLINE = no
; then
11678 result
=$wxUSE_STATLINE
11681 { echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6; }
11686 defaultval
=$wxUSE_ALL_FEATURES
11687 if test -z "$defaultval"; then
11688 if test x
"$enablestring" = xdisable
; then
11695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11697 # Check whether --enable-stattext was given.
11698 if test "${enable_stattext+set}" = set; then
11699 enableval
=$enable_stattext;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
11703 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
11708 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11713 eval "$wx_cv_use_stattext"
11715 if test x"$enablestring" = xdisable; then
11716 if test $wxUSE_STATTEXT = no; then
11722 result=$wxUSE_STATTEXT
11725 { echo "$as_me:$LINENO: result: $result" >&5
11726 echo "${ECHO_T}$result" >&6; }
11730 defaultval=$wxUSE_ALL_FEATURES
11731 if test -z "$defaultval"; then
11732 if test x"$enablestring" = xdisable; then
11739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11740 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11741 # Check whether --enable-statusbar was given.
11742 if test "${enable_statusbar+set}" = set; then
11743 enableval=$enable_statusbar;
11744 if test "$enableval" = yes; then
11745 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
11747 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
11752 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11757 eval "$wx_cv_use_statusbar"
11759 if test x"$enablestring" = xdisable; then
11760 if test $wxUSE_STATUSBAR = no; then
11766 result=$wxUSE_STATUSBAR
11769 { echo "$as_me:$LINENO: result
: $result" >&5
11770 echo "${ECHO_T}$result" >&6; }
11774 defaultval=$wxUSE_ALL_FEATURES
11775 if test -z "$defaultval"; then
11776 if test x"$enablestring" = xdisable; then
11783 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
11784 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11785 # Check whether --enable-taskbaricon was given.
11786 if test "${enable_taskbaricon+set}" = set; then
11787 enableval=$enable_taskbaricon;
11788 if test "$enableval" = yes; then
11789 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11791 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11796 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11801 eval "$wx_cv_use_taskbaricon"
11803 if test x
"$enablestring" = xdisable
; then
11804 if test $wxUSE_TASKBARICON = no
; then
11810 result
=$wxUSE_TASKBARICON
11813 { echo "$as_me:$LINENO: result: $result" >&5
11814 echo "${ECHO_T}$result" >&6; }
11818 defaultval
=$wxUSE_ALL_FEATURES
11819 if test -z "$defaultval"; then
11820 if test x
"$enablestring" = xdisable
; then
11827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11828 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11829 # Check whether --enable-tbarnative was given.
11830 if test "${enable_tbarnative+set}" = set; then
11831 enableval
=$enable_tbarnative;
11832 if test "$enableval" = yes; then
11833 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
11835 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
11840 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11845 eval "$wx_cv_use_tbarnative"
11847 if test x"$enablestring" = xdisable; then
11848 if test $wxUSE_TOOLBAR_NATIVE = no; then
11854 result=$wxUSE_TOOLBAR_NATIVE
11857 { echo "$as_me:$LINENO: result: $result" >&5
11858 echo "${ECHO_T}$result" >&6; }
11862 defaultval=$wxUSE_ALL_FEATURES
11863 if test -z "$defaultval"; then
11864 if test x"$enablestring" = xdisable; then
11871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11872 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11873 # Check whether --enable-textctrl was given.
11874 if test "${enable_textctrl+set}" = set; then
11875 enableval=$enable_textctrl;
11876 if test "$enableval" = yes; then
11877 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
11879 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
11884 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11889 eval "$wx_cv_use_textctrl"
11891 if test x"$enablestring" = xdisable; then
11892 if test $wxUSE_TEXTCTRL = no; then
11898 result=$wxUSE_TEXTCTRL
11901 { echo "$as_me:$LINENO: result
: $result" >&5
11902 echo "${ECHO_T}$result" >&6; }
11906 defaultval=$wxUSE_ALL_FEATURES
11907 if test -z "$defaultval"; then
11908 if test x"$enablestring" = xdisable; then
11915 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
11916 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
11917 # Check whether --enable-tipwindow was given.
11918 if test "${enable_tipwindow+set}" = set; then
11919 enableval=$enable_tipwindow;
11920 if test "$enableval" = yes; then
11921 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11923 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11928 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11933 eval "$wx_cv_use_tipwindow"
11935 if test x
"$enablestring" = xdisable
; then
11936 if test $wxUSE_TIPWINDOW = no
; then
11942 result
=$wxUSE_TIPWINDOW
11945 { echo "$as_me:$LINENO: result: $result" >&5
11946 echo "${ECHO_T}$result" >&6; }
11950 defaultval
=$wxUSE_ALL_FEATURES
11951 if test -z "$defaultval"; then
11952 if test x
"$enablestring" = xdisable
; then
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11961 # Check whether --enable-togglebtn was given.
11962 if test "${enable_togglebtn+set}" = set; then
11963 enableval
=$enable_togglebtn;
11964 if test "$enableval" = yes; then
11965 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
11967 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
11972 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11977 eval "$wx_cv_use_togglebtn"
11979 if test x"$enablestring" = xdisable; then
11980 if test $wxUSE_TOGGLEBTN = no; then
11986 result=$wxUSE_TOGGLEBTN
11989 { echo "$as_me:$LINENO: result: $result" >&5
11990 echo "${ECHO_T}$result" >&6; }
11994 defaultval=$wxUSE_ALL_FEATURES
11995 if test -z "$defaultval"; then
11996 if test x"$enablestring" = xdisable; then
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12005 # Check whether --enable-toolbar was given.
12006 if test "${enable_toolbar+set}" = set; then
12007 enableval=$enable_toolbar;
12008 if test "$enableval" = yes; then
12009 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12011 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12016 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12021 eval "$wx_cv_use_toolbar"
12023 if test x"$enablestring" = xdisable; then
12024 if test $wxUSE_TOOLBAR = no; then
12030 result=$wxUSE_TOOLBAR
12033 { echo "$as_me:$LINENO: result
: $result" >&5
12034 echo "${ECHO_T}$result" >&6; }
12038 defaultval=$wxUSE_ALL_FEATURES
12039 if test -z "$defaultval"; then
12040 if test x"$enablestring" = xdisable; then
12047 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12048 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12049 # Check whether --enable-toolbook was given.
12050 if test "${enable_toolbook+set}" = set; then
12051 enableval=$enable_toolbook;
12052 if test "$enableval" = yes; then
12053 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12055 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12060 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12065 eval "$wx_cv_use_toolbook"
12067 if test x
"$enablestring" = xdisable
; then
12068 if test $wxUSE_TOOLBOOK = no
; then
12074 result
=$wxUSE_TOOLBOOK
12077 { echo "$as_me:$LINENO: result: $result" >&5
12078 echo "${ECHO_T}$result" >&6; }
12082 defaultval
=$wxUSE_ALL_FEATURES
12083 if test -z "$defaultval"; then
12084 if test x
"$enablestring" = xdisable
; then
12091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12092 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12093 # Check whether --enable-treebook was given.
12094 if test "${enable_treebook+set}" = set; then
12095 enableval
=$enable_treebook;
12096 if test "$enableval" = yes; then
12097 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12099 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12104 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12109 eval "$wx_cv_use_treebook"
12111 if test x"$enablestring" = xdisable; then
12112 if test $wxUSE_TREEBOOK = no; then
12118 result=$wxUSE_TREEBOOK
12121 { echo "$as_me:$LINENO: result: $result" >&5
12122 echo "${ECHO_T}$result" >&6; }
12126 defaultval=$wxUSE_ALL_FEATURES
12127 if test -z "$defaultval"; then
12128 if test x"$enablestring" = xdisable; then
12135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12136 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12137 # Check whether --enable-treectrl was given.
12138 if test "${enable_treectrl+set}" = set; then
12139 enableval=$enable_treectrl;
12140 if test "$enableval" = yes; then
12141 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12143 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12148 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12153 eval "$wx_cv_use_treectrl"
12155 if test x"$enablestring" = xdisable; then
12156 if test $wxUSE_TREECTRL = no; then
12162 result=$wxUSE_TREECTRL
12165 { echo "$as_me:$LINENO: result
: $result" >&5
12166 echo "${ECHO_T}$result" >&6; }
12172 defaultval=$wxUSE_ALL_FEATURES
12173 if test -z "$defaultval"; then
12174 if test x"$enablestring" = xdisable; then
12181 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12182 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12183 # Check whether --enable-commondlg was given.
12184 if test "${enable_commondlg+set}" = set; then
12185 enableval=$enable_commondlg;
12186 if test "$enableval" = yes; then
12187 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12189 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12194 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12199 eval "$wx_cv_use_commondlg"
12201 if test x
"$enablestring" = xdisable
; then
12202 if test $wxUSE_COMMONDLGS = no
; then
12208 result
=$wxUSE_COMMONDLGS
12211 { echo "$as_me:$LINENO: result: $result" >&5
12212 echo "${ECHO_T}$result" >&6; }
12216 defaultval
=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x
"$enablestring" = xdisable
; then
12225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12226 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12227 # Check whether --enable-aboutdlg was given.
12228 if test "${enable_aboutdlg+set}" = set; then
12229 enableval
=$enable_aboutdlg;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12233 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12238 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12243 eval "$wx_cv_use_aboutdlg"
12245 if test x"$enablestring" = xdisable; then
12246 if test $wxUSE_ABOUTDLG = no; then
12252 result=$wxUSE_ABOUTDLG
12255 { echo "$as_me:$LINENO: result: $result" >&5
12256 echo "${ECHO_T}$result" >&6; }
12260 defaultval=$wxUSE_ALL_FEATURES
12261 if test -z "$defaultval"; then
12262 if test x"$enablestring" = xdisable; then
12269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12270 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12271 # Check whether --enable-choicedlg was given.
12272 if test "${enable_choicedlg+set}" = set; then
12273 enableval=$enable_choicedlg;
12274 if test "$enableval" = yes; then
12275 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12277 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12282 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12287 eval "$wx_cv_use_choicedlg"
12289 if test x"$enablestring" = xdisable; then
12290 if test $wxUSE_CHOICEDLG = no; then
12296 result=$wxUSE_CHOICEDLG
12299 { echo "$as_me:$LINENO: result
: $result" >&5
12300 echo "${ECHO_T}$result" >&6; }
12304 defaultval=$wxUSE_ALL_FEATURES
12305 if test -z "$defaultval"; then
12306 if test x"$enablestring" = xdisable; then
12313 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12314 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12315 # Check whether --enable-coldlg was given.
12316 if test "${enable_coldlg+set}" = set; then
12317 enableval=$enable_coldlg;
12318 if test "$enableval" = yes; then
12319 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12321 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12326 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12331 eval "$wx_cv_use_coldlg"
12333 if test x
"$enablestring" = xdisable
; then
12334 if test $wxUSE_COLOURDLG = no
; then
12340 result
=$wxUSE_COLOURDLG
12343 { echo "$as_me:$LINENO: result: $result" >&5
12344 echo "${ECHO_T}$result" >&6; }
12348 defaultval
=$wxUSE_ALL_FEATURES
12349 if test -z "$defaultval"; then
12350 if test x
"$enablestring" = xdisable
; then
12357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12358 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12359 # Check whether --enable-filedlg was given.
12360 if test "${enable_filedlg+set}" = set; then
12361 enableval
=$enable_filedlg;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12365 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12370 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12375 eval "$wx_cv_use_filedlg"
12377 if test x"$enablestring" = xdisable; then
12378 if test $wxUSE_FILEDLG = no; then
12384 result=$wxUSE_FILEDLG
12387 { echo "$as_me:$LINENO: result: $result" >&5
12388 echo "${ECHO_T}$result" >&6; }
12392 defaultval=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x"$enablestring" = xdisable; then
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12403 # Check whether --enable-finddlg was given.
12404 if test "${enable_finddlg+set}" = set; then
12405 enableval=$enable_finddlg;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12409 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12414 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12419 eval "$wx_cv_use_finddlg"
12421 if test x"$enablestring" = xdisable; then
12422 if test $wxUSE_FINDREPLDLG = no; then
12428 result=$wxUSE_FINDREPLDLG
12431 { echo "$as_me:$LINENO: result
: $result" >&5
12432 echo "${ECHO_T}$result" >&6; }
12436 defaultval=$wxUSE_ALL_FEATURES
12437 if test -z "$defaultval"; then
12438 if test x"$enablestring" = xdisable; then
12445 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12446 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12447 # Check whether --enable-fontdlg was given.
12448 if test "${enable_fontdlg+set}" = set; then
12449 enableval=$enable_fontdlg;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12453 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12458 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12463 eval "$wx_cv_use_fontdlg"
12465 if test x
"$enablestring" = xdisable
; then
12466 if test $wxUSE_FONTDLG = no
; then
12472 result
=$wxUSE_FONTDLG
12475 { echo "$as_me:$LINENO: result: $result" >&5
12476 echo "${ECHO_T}$result" >&6; }
12480 defaultval
=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x
"$enablestring" = xdisable
; then
12489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12490 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12491 # Check whether --enable-dirdlg was given.
12492 if test "${enable_dirdlg+set}" = set; then
12493 enableval
=$enable_dirdlg;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12497 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12502 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12507 eval "$wx_cv_use_dirdlg"
12509 if test x"$enablestring" = xdisable; then
12510 if test $wxUSE_DIRDLG = no; then
12516 result=$wxUSE_DIRDLG
12519 { echo "$as_me:$LINENO: result: $result" >&5
12520 echo "${ECHO_T}$result" >&6; }
12524 defaultval=$wxUSE_ALL_FEATURES
12525 if test -z "$defaultval"; then
12526 if test x"$enablestring" = xdisable; then
12533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12534 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12535 # Check whether --enable-msgdlg was given.
12536 if test "${enable_msgdlg+set}" = set; then
12537 enableval=$enable_msgdlg;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12541 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12546 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12551 eval "$wx_cv_use_msgdlg"
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_MSGDLG = no; then
12560 result=$wxUSE_MSGDLG
12563 { echo "$as_me:$LINENO: result
: $result" >&5
12564 echo "${ECHO_T}$result" >&6; }
12568 defaultval=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x"$enablestring" = xdisable; then
12577 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12578 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12579 # Check whether --enable-numberdlg was given.
12580 if test "${enable_numberdlg+set}" = set; then
12581 enableval=$enable_numberdlg;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12585 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12590 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12595 eval "$wx_cv_use_numberdlg"
12597 if test x
"$enablestring" = xdisable
; then
12598 if test $wxUSE_NUMBERDLG = no
; then
12604 result
=$wxUSE_NUMBERDLG
12607 { echo "$as_me:$LINENO: result: $result" >&5
12608 echo "${ECHO_T}$result" >&6; }
12612 defaultval
=$wxUSE_ALL_FEATURES
12613 if test -z "$defaultval"; then
12614 if test x
"$enablestring" = xdisable
; then
12621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12622 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12623 # Check whether --enable-splash was given.
12624 if test "${enable_splash+set}" = set; then
12625 enableval
=$enable_splash;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12629 wx_cv_use_splash
='wxUSE_SPLASH=no'
12634 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12639 eval "$wx_cv_use_splash"
12641 if test x"$enablestring" = xdisable; then
12642 if test $wxUSE_SPLASH = no; then
12648 result=$wxUSE_SPLASH
12651 { echo "$as_me:$LINENO: result: $result" >&5
12652 echo "${ECHO_T}$result" >&6; }
12656 defaultval=$wxUSE_ALL_FEATURES
12657 if test -z "$defaultval"; then
12658 if test x"$enablestring" = xdisable; then
12665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12666 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12667 # Check whether --enable-textdlg was given.
12668 if test "${enable_textdlg+set}" = set; then
12669 enableval=$enable_textdlg;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12673 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12678 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12683 eval "$wx_cv_use_textdlg"
12685 if test x"$enablestring" = xdisable; then
12686 if test $wxUSE_TEXTDLG = no; then
12692 result=$wxUSE_TEXTDLG
12695 { echo "$as_me:$LINENO: result
: $result" >&5
12696 echo "${ECHO_T}$result" >&6; }
12700 defaultval=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x"$enablestring" = xdisable; then
12709 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12710 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12711 # Check whether --enable-tipdlg was given.
12712 if test "${enable_tipdlg+set}" = set; then
12713 enableval=$enable_tipdlg;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12717 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12722 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12727 eval "$wx_cv_use_tipdlg"
12729 if test x
"$enablestring" = xdisable
; then
12730 if test $wxUSE_STARTUP_TIPS = no
; then
12736 result
=$wxUSE_STARTUP_TIPS
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12744 defaultval
=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x
"$enablestring" = xdisable
; then
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12755 # Check whether --enable-progressdlg was given.
12756 if test "${enable_progressdlg+set}" = set; then
12757 enableval
=$enable_progressdlg;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
12761 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
12766 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12771 eval "$wx_cv_use_progressdlg"
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_PROGRESSDLG = no; then
12780 result=$wxUSE_PROGRESSDLG
12783 { echo "$as_me:$LINENO: result: $result" >&5
12784 echo "${ECHO_T}$result" >&6; }
12788 defaultval=$wxUSE_ALL_FEATURES
12789 if test -z "$defaultval"; then
12790 if test x"$enablestring" = xdisable; then
12797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12798 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12799 # Check whether --enable-wizarddlg was given.
12800 if test "${enable_wizarddlg+set}" = set; then
12801 enableval=$enable_wizarddlg;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
12805 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
12810 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12815 eval "$wx_cv_use_wizarddlg"
12817 if test x"$enablestring" = xdisable; then
12818 if test $wxUSE_WIZARDDLG = no; then
12824 result=$wxUSE_WIZARDDLG
12827 { echo "$as_me:$LINENO: result
: $result" >&5
12828 echo "${ECHO_T}$result" >&6; }
12834 defaultval=$wxUSE_ALL_FEATURES
12835 if test -z "$defaultval"; then
12836 if test x"$enablestring" = xdisable; then
12843 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
12844 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
12845 # Check whether --enable-menus was given.
12846 if test "${enable_menus+set}" = set; then
12847 enableval=$enable_menus;
12848 if test "$enableval" = yes; then
12849 wx_cv_use_menus='wxUSE_MENUS=yes'
12851 wx_cv_use_menus='wxUSE_MENUS=no'
12856 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12861 eval "$wx_cv_use_menus"
12863 if test x
"$enablestring" = xdisable
; then
12864 if test $wxUSE_MENUS = no
; then
12870 result
=$wxUSE_MENUS
12873 { echo "$as_me:$LINENO: result: $result" >&5
12874 echo "${ECHO_T}$result" >&6; }
12878 defaultval
=$wxUSE_ALL_FEATURES
12879 if test -z "$defaultval"; then
12880 if test x
"$enablestring" = xdisable
; then
12887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12888 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12889 # Check whether --enable-miniframe was given.
12890 if test "${enable_miniframe+set}" = set; then
12891 enableval
=$enable_miniframe;
12892 if test "$enableval" = yes; then
12893 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
12895 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
12900 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12905 eval "$wx_cv_use_miniframe"
12907 if test x"$enablestring" = xdisable; then
12908 if test $wxUSE_MINIFRAME = no; then
12914 result=$wxUSE_MINIFRAME
12917 { echo "$as_me:$LINENO: result: $result" >&5
12918 echo "${ECHO_T}$result" >&6; }
12922 defaultval=$wxUSE_ALL_FEATURES
12923 if test -z "$defaultval"; then
12924 if test x"$enablestring" = xdisable; then
12931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12932 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12933 # Check whether --enable-tooltips was given.
12934 if test "${enable_tooltips+set}" = set; then
12935 enableval=$enable_tooltips;
12936 if test "$enableval" = yes; then
12937 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
12939 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
12944 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12949 eval "$wx_cv_use_tooltips"
12951 if test x"$enablestring" = xdisable; then
12952 if test $wxUSE_TOOLTIPS = no; then
12958 result=$wxUSE_TOOLTIPS
12961 { echo "$as_me:$LINENO: result
: $result" >&5
12962 echo "${ECHO_T}$result" >&6; }
12966 defaultval=$wxUSE_ALL_FEATURES
12967 if test -z "$defaultval"; then
12968 if test x"$enablestring" = xdisable; then
12975 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
12976 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
12977 # Check whether --enable-splines was given.
12978 if test "${enable_splines+set}" = set; then
12979 enableval=$enable_splines;
12980 if test "$enableval" = yes; then
12981 wx_cv_use_splines='wxUSE_SPLINES=yes'
12983 wx_cv_use_splines='wxUSE_SPLINES=no'
12988 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12993 eval "$wx_cv_use_splines"
12995 if test x
"$enablestring" = xdisable
; then
12996 if test $wxUSE_SPLINES = no
; then
13002 result
=$wxUSE_SPLINES
13005 { echo "$as_me:$LINENO: result: $result" >&5
13006 echo "${ECHO_T}$result" >&6; }
13010 defaultval
=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x
"$enablestring" = xdisable
; then
13019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13020 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13021 # Check whether --enable-mousewheel was given.
13022 if test "${enable_mousewheel+set}" = set; then
13023 enableval
=$enable_mousewheel;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13027 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13032 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13037 eval "$wx_cv_use_mousewheel"
13039 if test x"$enablestring" = xdisable; then
13040 if test $wxUSE_MOUSEWHEEL = no; then
13046 result=$wxUSE_MOUSEWHEEL
13049 { echo "$as_me:$LINENO: result: $result" >&5
13050 echo "${ECHO_T}$result" >&6; }
13054 defaultval=$wxUSE_ALL_FEATURES
13055 if test -z "$defaultval"; then
13056 if test x"$enablestring" = xdisable; then
13063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13064 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13065 # Check whether --enable-validators was given.
13066 if test "${enable_validators+set}" = set; then
13067 enableval=$enable_validators;
13068 if test "$enableval" = yes; then
13069 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13071 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13076 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13081 eval "$wx_cv_use_validators"
13083 if test x"$enablestring" = xdisable; then
13084 if test $wxUSE_VALIDATORS = no; then
13090 result=$wxUSE_VALIDATORS
13093 { echo "$as_me:$LINENO: result
: $result" >&5
13094 echo "${ECHO_T}$result" >&6; }
13098 defaultval=$wxUSE_ALL_FEATURES
13099 if test -z "$defaultval"; then
13100 if test x"$enablestring" = xdisable; then
13107 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13108 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13109 # Check whether --enable-busyinfo was given.
13110 if test "${enable_busyinfo+set}" = set; then
13111 enableval=$enable_busyinfo;
13112 if test "$enableval" = yes; then
13113 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13115 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13120 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13125 eval "$wx_cv_use_busyinfo"
13127 if test x
"$enablestring" = xdisable
; then
13128 if test $wxUSE_BUSYINFO = no
; then
13134 result
=$wxUSE_BUSYINFO
13137 { echo "$as_me:$LINENO: result: $result" >&5
13138 echo "${ECHO_T}$result" >&6; }
13142 defaultval
=$wxUSE_ALL_FEATURES
13143 if test -z "$defaultval"; then
13144 if test x
"$enablestring" = xdisable
; then
13151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13152 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13153 # Check whether --enable-joystick was given.
13154 if test "${enable_joystick+set}" = set; then
13155 enableval
=$enable_joystick;
13156 if test "$enableval" = yes; then
13157 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13159 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13164 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13169 eval "$wx_cv_use_joystick"
13171 if test x"$enablestring" = xdisable; then
13172 if test $wxUSE_JOYSTICK = no; then
13178 result=$wxUSE_JOYSTICK
13181 { echo "$as_me:$LINENO: result: $result" >&5
13182 echo "${ECHO_T}$result" >&6; }
13186 defaultval=$wxUSE_ALL_FEATURES
13187 if test -z "$defaultval"; then
13188 if test x"$enablestring" = xdisable; then
13195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13196 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13197 # Check whether --enable-metafile was given.
13198 if test "${enable_metafile+set}" = set; then
13199 enableval=$enable_metafile;
13200 if test "$enableval" = yes; then
13201 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13203 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13208 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13213 eval "$wx_cv_use_metafile"
13215 if test x"$enablestring" = xdisable; then
13216 if test $wxUSE_METAFILE = no; then
13222 result=$wxUSE_METAFILE
13225 { echo "$as_me:$LINENO: result
: $result" >&5
13226 echo "${ECHO_T}$result" >&6; }
13230 defaultval=$wxUSE_ALL_FEATURES
13231 if test -z "$defaultval"; then
13232 if test x"$enablestring" = xdisable; then
13239 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13240 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13241 # Check whether --enable-dragimage was given.
13242 if test "${enable_dragimage+set}" = set; then
13243 enableval=$enable_dragimage;
13244 if test "$enableval" = yes; then
13245 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13247 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13252 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13257 eval "$wx_cv_use_dragimage"
13259 if test x
"$enablestring" = xdisable
; then
13260 if test $wxUSE_DRAGIMAGE = no
; then
13266 result
=$wxUSE_DRAGIMAGE
13269 { echo "$as_me:$LINENO: result: $result" >&5
13270 echo "${ECHO_T}$result" >&6; }
13274 defaultval
=$wxUSE_ALL_FEATURES
13275 if test -z "$defaultval"; then
13276 if test x
"$enablestring" = xdisable
; then
13283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13284 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13285 # Check whether --enable-accessibility was given.
13286 if test "${enable_accessibility+set}" = set; then
13287 enableval
=$enable_accessibility;
13288 if test "$enableval" = yes; then
13289 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13291 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13296 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13301 eval "$wx_cv_use_accessibility"
13303 if test x"$enablestring" = xdisable; then
13304 if test $wxUSE_ACCESSIBILITY = no; then
13310 result=$wxUSE_ACCESSIBILITY
13313 { echo "$as_me:$LINENO: result: $result" >&5
13314 echo "${ECHO_T}$result" >&6; }
13320 defaultval=$wxUSE_ALL_FEATURES
13321 if test -z "$defaultval"; then
13322 if test x"$enablestring" = xdisable; then
13329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13330 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13331 # Check whether --enable-palette was given.
13332 if test "${enable_palette+set}" = set; then
13333 enableval=$enable_palette;
13334 if test "$enableval" = yes; then
13335 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13337 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13342 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13347 eval "$wx_cv_use_palette"
13349 if test x"$enablestring" = xdisable; then
13350 if test $wxUSE_PALETTE = no; then
13356 result=$wxUSE_PALETTE
13359 { echo "$as_me:$LINENO: result
: $result" >&5
13360 echo "${ECHO_T}$result" >&6; }
13364 defaultval=$wxUSE_ALL_FEATURES
13365 if test -z "$defaultval"; then
13366 if test x"$enablestring" = xdisable; then
13373 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
13374 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13375 # Check whether --enable-image was given.
13376 if test "${enable_image+set}" = set; then
13377 enableval=$enable_image;
13378 if test "$enableval" = yes; then
13379 wx_cv_use_image='wxUSE_IMAGE=yes'
13381 wx_cv_use_image='wxUSE_IMAGE=no'
13386 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13391 eval "$wx_cv_use_image"
13393 if test x
"$enablestring" = xdisable
; then
13394 if test $wxUSE_IMAGE = no
; then
13400 result
=$wxUSE_IMAGE
13403 { echo "$as_me:$LINENO: result: $result" >&5
13404 echo "${ECHO_T}$result" >&6; }
13408 defaultval
=$wxUSE_ALL_FEATURES
13409 if test -z "$defaultval"; then
13410 if test x
"$enablestring" = xdisable
; then
13417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13418 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13419 # Check whether --enable-gif was given.
13420 if test "${enable_gif+set}" = set; then
13421 enableval
=$enable_gif;
13422 if test "$enableval" = yes; then
13423 wx_cv_use_gif
='wxUSE_GIF=yes'
13425 wx_cv_use_gif
='wxUSE_GIF=no'
13430 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13435 eval "$wx_cv_use_gif"
13437 if test x"$enablestring" = xdisable; then
13438 if test $wxUSE_GIF = no; then
13447 { echo "$as_me:$LINENO: result: $result" >&5
13448 echo "${ECHO_T}$result" >&6; }
13452 defaultval=$wxUSE_ALL_FEATURES
13453 if test -z "$defaultval"; then
13454 if test x"$enablestring" = xdisable; then
13461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13462 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13463 # Check whether --enable-pcx was given.
13464 if test "${enable_pcx+set}" = set; then
13465 enableval=$enable_pcx;
13466 if test "$enableval" = yes; then
13467 wx_cv_use_pcx='wxUSE_PCX
=yes'
13469 wx_cv_use_pcx='wxUSE_PCX
=no
'
13474 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13479 eval "$wx_cv_use_pcx"
13481 if test x"$enablestring" = xdisable; then
13482 if test $wxUSE_PCX = no; then
13491 { echo "$as_me:$LINENO: result
: $result" >&5
13492 echo "${ECHO_T}$result" >&6; }
13496 defaultval=$wxUSE_ALL_FEATURES
13497 if test -z "$defaultval"; then
13498 if test x"$enablestring" = xdisable; then
13505 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
13506 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13507 # Check whether --enable-tga was given.
13508 if test "${enable_tga+set}" = set; then
13509 enableval=$enable_tga;
13510 if test "$enableval" = yes; then
13511 wx_cv_use_tga='wxUSE_TGA=yes'
13513 wx_cv_use_tga='wxUSE_TGA=no'
13518 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13523 eval "$wx_cv_use_tga"
13525 if test x
"$enablestring" = xdisable
; then
13526 if test $wxUSE_TGA = no
; then
13535 { echo "$as_me:$LINENO: result: $result" >&5
13536 echo "${ECHO_T}$result" >&6; }
13540 defaultval
=$wxUSE_ALL_FEATURES
13541 if test -z "$defaultval"; then
13542 if test x
"$enablestring" = xdisable
; then
13549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13550 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13551 # Check whether --enable-iff was given.
13552 if test "${enable_iff+set}" = set; then
13553 enableval
=$enable_iff;
13554 if test "$enableval" = yes; then
13555 wx_cv_use_iff
='wxUSE_IFF=yes'
13557 wx_cv_use_iff
='wxUSE_IFF=no'
13562 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13567 eval "$wx_cv_use_iff"
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_IFF = no; then
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13595 # Check whether --enable-pnm was given.
13596 if test "${enable_pnm+set}" = set; then
13597 enableval=$enable_pnm;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_pnm='wxUSE_PNM
=yes'
13601 wx_cv_use_pnm='wxUSE_PNM
=no
'
13606 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13611 eval "$wx_cv_use_pnm"
13613 if test x"$enablestring" = xdisable; then
13614 if test $wxUSE_PNM = no; then
13623 { echo "$as_me:$LINENO: result
: $result" >&5
13624 echo "${ECHO_T}$result" >&6; }
13628 defaultval=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x"$enablestring" = xdisable; then
13637 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13638 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13639 # Check whether --enable-xpm was given.
13640 if test "${enable_xpm+set}" = set; then
13641 enableval=$enable_xpm;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_xpm='wxUSE_XPM=yes'
13645 wx_cv_use_xpm='wxUSE_XPM=no'
13650 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13655 eval "$wx_cv_use_xpm"
13657 if test x
"$enablestring" = xdisable
; then
13658 if test $wxUSE_XPM = no
; then
13667 { echo "$as_me:$LINENO: result: $result" >&5
13668 echo "${ECHO_T}$result" >&6; }
13672 defaultval
=$wxUSE_ALL_FEATURES
13673 if test -z "$defaultval"; then
13674 if test x
"$enablestring" = xdisable
; then
13681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13682 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13683 # Check whether --enable-ico_cur was given.
13684 if test "${enable_ico_cur+set}" = set; then
13685 enableval
=$enable_ico_cur;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13689 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13694 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13699 eval "$wx_cv_use_ico_cur"
13701 if test x"$enablestring" = xdisable; then
13702 if test $wxUSE_ICO_CUR = no; then
13708 result=$wxUSE_ICO_CUR
13711 { echo "$as_me:$LINENO: result: $result" >&5
13712 echo "${ECHO_T}$result" >&6; }
13718 defaultval=$wxUSE_ALL_FEATURES
13719 if test -z "$defaultval"; then
13720 if test x"$enablestring" = xdisable; then
13727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13728 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13729 # Check whether --enable-dccache was given.
13730 if test "${enable_dccache+set}" = set; then
13731 enableval=$enable_dccache;
13732 if test "$enableval" = yes; then
13733 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13735 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13740 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13745 eval "$wx_cv_use_dccache"
13747 if test x"$enablestring" = xdisable; then
13748 if test $wxUSE_DC_CACHEING = no; then
13754 result=$wxUSE_DC_CACHEING
13757 { echo "$as_me:$LINENO: result
: $result" >&5
13758 echo "${ECHO_T}$result" >&6; }
13762 defaultval=$wxUSE_ALL_FEATURES
13763 if test -z "$defaultval"; then
13764 if test x"$enablestring" = xdisable; then
13771 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
13772 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
13773 # Check whether --enable-ps-in-msw was given.
13774 if test "${enable_ps_in_msw+set}" = set; then
13775 enableval=$enable_ps_in_msw;
13776 if test "$enableval" = yes; then
13777 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13779 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13784 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13789 eval "$wx_cv_use_ps_in_msw"
13791 if test x
"$enablestring" = xdisable
; then
13792 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
13798 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13801 { echo "$as_me:$LINENO: result: $result" >&5
13802 echo "${ECHO_T}$result" >&6; }
13806 defaultval
=$wxUSE_ALL_FEATURES
13807 if test -z "$defaultval"; then
13808 if test x
"$enablestring" = xdisable
; then
13815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13816 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13817 # Check whether --enable-ownerdrawn was given.
13818 if test "${enable_ownerdrawn+set}" = set; then
13819 enableval
=$enable_ownerdrawn;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
13823 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
13828 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13833 eval "$wx_cv_use_ownerdrawn"
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_OWNER_DRAWN = no; then
13842 result=$wxUSE_OWNER_DRAWN
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13850 defaultval=$wxUSE_ALL_FEATURES
13851 if test -z "$defaultval"; then
13852 if test x"$enablestring" = xdisable; then
13859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13860 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13861 # Check whether --enable-uxtheme was given.
13862 if test "${enable_uxtheme+set}" = set; then
13863 enableval=$enable_uxtheme;
13864 if test "$enableval" = yes; then
13865 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
13867 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
13872 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13877 eval "$wx_cv_use_uxtheme"
13879 if test x"$enablestring" = xdisable; then
13880 if test $wxUSE_UXTHEME = no; then
13886 result=$wxUSE_UXTHEME
13889 { echo "$as_me:$LINENO: result
: $result" >&5
13890 echo "${ECHO_T}$result" >&6; }
13894 defaultval=$wxUSE_ALL_FEATURES
13895 if test -z "$defaultval"; then
13896 if test x"$enablestring" = xdisable; then
13903 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
13904 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
13905 # Check whether --enable-wxdib was given.
13906 if test "${enable_wxdib+set}" = set; then
13907 enableval=$enable_wxdib;
13908 if test "$enableval" = yes; then
13909 wx_cv_use_wxdib='wxUSE_DIB=yes'
13911 wx_cv_use_wxdib='wxUSE_DIB=no'
13916 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13921 eval "$wx_cv_use_wxdib"
13923 if test x
"$enablestring" = xdisable
; then
13924 if test $wxUSE_DIB = no
; then
13933 { echo "$as_me:$LINENO: result: $result" >&5
13934 echo "${ECHO_T}$result" >&6; }
13937 if test "$wxUSE_MSW" != 1; then
13938 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
13943 defaultval
=$wxUSE_ALL_FEATURES
13944 if test -z "$defaultval"; then
13945 if test x
"$enablestring" = xdisable
; then
13952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13953 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13954 # Check whether --enable-autoidman was given.
13955 if test "${enable_autoidman+set}" = set; then
13956 enableval
=$enable_autoidman;
13957 if test "$enableval" = yes; then
13958 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
13960 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
13965 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13970 eval "$wx_cv_use_autoidman"
13972 if test x"$enablestring" = xdisable; then
13973 if test $wxUSE_AUTOID_MANAGEMENT = no; then
13979 result=$wxUSE_AUTOID_MANAGEMENT
13982 { echo "$as_me:$LINENO: result: $result" >&5
13983 echo "${ECHO_T}$result" >&6; }
13989 cat >confcache <<\_ACEOF
13990 # This file is a shell script that caches the results of configure
13991 # tests run on this system so they can be shared between configure
13992 # scripts and configure runs, see configure's option
--config-cache.
13993 # It is not useful on other systems. If it contains results you don't
13994 # want to keep, you may remove or edit it.
13996 # config.status only pays attention to the cache file if you give it
13997 # the --recheck option to rerun configure.
13999 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14000 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14001 # following values.
14005 # The following way of writing the cache mishandles newlines in values,
14006 # but we know of no workaround that is simple, portable, and efficient.
14007 # So, we kill variables containing newlines.
14008 # Ultrix sh set writes to stderr and can't be redirected directly,
14009 # and sets the high bit in the cache file unless we assign to the vars.
14011 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14012 eval ac_val
=\$
$ac_var
14016 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14017 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14020 _
| IFS
| as_nl
) ;; #(
14021 *) $as_unset $ac_var ;;
14027 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14028 *${as_nl}ac_space
=\
*)
14029 # `set' does not quote correctly, so add quotes (double-quote
14030 # substitution turns \\\\ into \\, and sed turns \\ into \).
14033 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14036 # `set' quotes correctly as required by POSIX, so do not add quotes.
14037 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14046 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14048 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14050 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14051 if test -w "$cache_file"; then
14052 test "x$cache_file" != "x/dev/null" &&
14053 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14054 echo "$as_me: updating cache $cache_file" >&6;}
14055 cat confcache
>$cache_file
14057 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14058 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14068 ac_cpp
='$CPP $CPPFLAGS'
14069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14072 if test -n "$ac_tool_prefix"; then
14073 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14074 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14077 if test "${ac_cv_prog_CC+set}" = set; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14080 if test -n "$CC"; then
14081 ac_cv_prog_CC
="$CC" # Let the user override the test.
14083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14084 for as_dir
in $PATH
14087 test -z "$as_dir" && as_dir
=.
14088 for ac_exec_ext
in '' $ac_executable_extensions; do
14089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14090 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14101 if test -n "$CC"; then
14102 { echo "$as_me:$LINENO: result: $CC" >&5
14103 echo "${ECHO_T}$CC" >&6; }
14105 { echo "$as_me:$LINENO: result: no" >&5
14106 echo "${ECHO_T}no" >&6; }
14111 if test -z "$ac_cv_prog_CC"; then
14113 # Extract the first word of "gcc", so it can be a program name with args.
14114 set dummy gcc
; ac_word
=$2
14115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14117 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 if test -n "$ac_ct_CC"; then
14121 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14124 for as_dir
in $PATH
14127 test -z "$as_dir" && as_dir
=.
14128 for ac_exec_ext
in '' $ac_executable_extensions; do
14129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14130 ac_cv_prog_ac_ct_CC
="gcc"
14131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14140 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14141 if test -n "$ac_ct_CC"; then
14142 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14143 echo "${ECHO_T}$ac_ct_CC" >&6; }
14145 { echo "$as_me:$LINENO: result: no" >&5
14146 echo "${ECHO_T}no" >&6; }
14149 if test "x$ac_ct_CC" = x
; then
14152 case $cross_compiling:$ac_tool_warned in
14154 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14155 whose name does not start with the host triplet. If you think this
14156 configuration is useful to you, please write to autoconf@gnu.org." >&5
14157 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14158 whose name does not start with the host triplet. If you think this
14159 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14160 ac_tool_warned
=yes ;;
14165 CC
="$ac_cv_prog_CC"
14168 if test -z "$CC"; then
14169 if test -n "$ac_tool_prefix"; then
14170 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14171 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14174 if test "${ac_cv_prog_CC+set}" = set; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 if test -n "$CC"; then
14178 ac_cv_prog_CC
="$CC" # Let the user override the test.
14180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14181 for as_dir
in $PATH
14184 test -z "$as_dir" && as_dir
=.
14185 for ac_exec_ext
in '' $ac_executable_extensions; do
14186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14187 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14198 if test -n "$CC"; then
14199 { echo "$as_me:$LINENO: result: $CC" >&5
14200 echo "${ECHO_T}$CC" >&6; }
14202 { echo "$as_me:$LINENO: result: no" >&5
14203 echo "${ECHO_T}no" >&6; }
14209 if test -z "$CC"; then
14210 # Extract the first word of "cc", so it can be a program name with args.
14211 set dummy cc
; ac_word
=$2
14212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14214 if test "${ac_cv_prog_CC+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 if test -n "$CC"; then
14218 ac_cv_prog_CC
="$CC" # Let the user override the test.
14220 ac_prog_rejected
=no
14221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14222 for as_dir
in $PATH
14225 test -z "$as_dir" && as_dir
=.
14226 for ac_exec_ext
in '' $ac_executable_extensions; do
14227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14228 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14229 ac_prog_rejected
=yes
14233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14240 if test $ac_prog_rejected = yes; then
14241 # We found a bogon in the path, so make sure we never use it.
14242 set dummy
$ac_cv_prog_CC
14244 if test $# != 0; then
14245 # We chose a different compiler from the bogus one.
14246 # However, it has the same basename, so the bogon will be chosen
14247 # first if we set CC to just the basename; use the full file name.
14249 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14255 if test -n "$CC"; then
14256 { echo "$as_me:$LINENO: result: $CC" >&5
14257 echo "${ECHO_T}$CC" >&6; }
14259 { echo "$as_me:$LINENO: result: no" >&5
14260 echo "${ECHO_T}no" >&6; }
14265 if test -z "$CC"; then
14266 if test -n "$ac_tool_prefix"; then
14267 for ac_prog
in cl.exe
14269 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14270 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14273 if test "${ac_cv_prog_CC+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 if test -n "$CC"; then
14277 ac_cv_prog_CC
="$CC" # Let the user override the test.
14279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14280 for as_dir
in $PATH
14283 test -z "$as_dir" && as_dir
=.
14284 for ac_exec_ext
in '' $ac_executable_extensions; do
14285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14286 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14297 if test -n "$CC"; then
14298 { echo "$as_me:$LINENO: result: $CC" >&5
14299 echo "${ECHO_T}$CC" >&6; }
14301 { echo "$as_me:$LINENO: result: no" >&5
14302 echo "${ECHO_T}no" >&6; }
14306 test -n "$CC" && break
14309 if test -z "$CC"; then
14311 for ac_prog
in cl.exe
14313 # Extract the first word of "$ac_prog", so it can be a program name with args.
14314 set dummy
$ac_prog; ac_word
=$2
14315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14318 echo $ECHO_N "(cached) $ECHO_C" >&6
14320 if test -n "$ac_ct_CC"; then
14321 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14324 for as_dir
in $PATH
14327 test -z "$as_dir" && as_dir
=.
14328 for ac_exec_ext
in '' $ac_executable_extensions; do
14329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14330 ac_cv_prog_ac_ct_CC
="$ac_prog"
14331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14340 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14341 if test -n "$ac_ct_CC"; then
14342 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14343 echo "${ECHO_T}$ac_ct_CC" >&6; }
14345 { echo "$as_me:$LINENO: result: no" >&5
14346 echo "${ECHO_T}no" >&6; }
14350 test -n "$ac_ct_CC" && break
14353 if test "x$ac_ct_CC" = x
; then
14356 case $cross_compiling:$ac_tool_warned in
14358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14359 whose name does not start with the host triplet. If you think this
14360 configuration is useful to you, please write to autoconf@gnu.org." >&5
14361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14362 whose name does not start with the host triplet. If you think this
14363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14364 ac_tool_warned
=yes ;;
14373 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14374 See \`config.log' for more details." >&5
14375 echo "$as_me: error: no acceptable C compiler found in \$PATH
14376 See \`config.log' for more details." >&2;}
14377 { (exit 1); exit 1; }; }
14379 # Provide some information about the compiler.
14380 echo "$as_me:$LINENO: checking for C compiler version" >&5
14381 ac_compiler
=`set X $ac_compile; echo $2`
14382 { (ac_try
="$ac_compiler --version >&5"
14383 case "(($ac_try" in
14384 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14385 *) ac_try_echo=$ac_try;;
14387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14388 (eval "$ac_compiler --version >&5") 2>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }
14392 { (ac_try="$ac_compiler -v >&5"
14393 case "(($ac_try" in
14394 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14395 *) ac_try_echo
=$ac_try;;
14397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14398 (eval "$ac_compiler -v >&5") 2>&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }
14402 { (ac_try
="$ac_compiler -V >&5"
14403 case "(($ac_try" in
14404 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14405 *) ac_try_echo=$ac_try;;
14407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14408 (eval "$ac_compiler -V >&5") 2>&5
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); }
14413 cat >conftest.$ac_ext <<_ACEOF
14416 cat confdefs.h >>conftest.$ac_ext
14417 cat >>conftest.$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14428 ac_clean_files_save=$ac_clean_files
14429 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14430 # Try to create an executable without -o first, disregard a.out.
14431 # It will help us diagnose broken compilers, and finding out an intuition
14433 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14434 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14435 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14437 # List of possible output files, starting from the most likely.
14438 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14439 # only as a last resort. b.out is created by i960 compilers.
14440 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14442 # The IRIX 6 linker writes into existing files which may not be
14443 # executable, retaining their permissions. Remove them first so a
14444 # subsequent execution test works.
14446 for ac_file in $ac_files
14449 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14450 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14455 if { (ac_try="$ac_link_default"
14456 case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_link_default") 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; then
14465 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14466 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14467 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14468 # so that the user can short-circuit this test for compilers unknown to
14470 for ac_file
in $ac_files ''
14472 test -f "$ac_file" || continue
14474 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14477 # We found the default executable, but exeext='' is most
14481 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14483 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14485 # We set ac_cv_exeext here because the later test for it is not
14486 # safe: cross compilers may not add the suffix if given an `-o'
14487 # argument, so we may need to know it at that point already.
14488 # Even if this section looks crufty: it has the advantage of
14489 # actually working.
14495 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14501 { echo "$as_me:$LINENO: result: $ac_file" >&5
14502 echo "${ECHO_T}$ac_file" >&6; }
14503 if test -z "$ac_file"; then
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.
$ac_ext >&5
14507 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14508 See \`config.log' for more details." >&5
14509 echo "$as_me: error: C compiler cannot create executables
14510 See \`config.log' for more details." >&2;}
14511 { (exit 77); exit 77; }; }
14514 ac_exeext
=$ac_cv_exeext
14516 # Check that the compiler produces executables we can run. If not, either
14517 # the compiler is broken, or we cross compile.
14518 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14519 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14520 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14521 # If not cross compiling, check that we can run a simple program.
14522 if test "$cross_compiling" != yes; then
14523 if { ac_try
='./$ac_file'
14524 { (case "(($ac_try" in
14525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14526 *) ac_try_echo=$ac_try;;
14528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14529 (eval "$ac_try") 2>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; }; then
14535 if test "$cross_compiling" = maybe; then
14536 cross_compiling=yes
14538 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14539 If you meant to cross compile, use \`--host'.
14540 See \`config.log' for more details.
" >&5
14541 echo "$as_me: error
: cannot run C compiled programs.
14542 If you meant to cross compile
, use \
`--host'.
14543 See \`config.log
' for more details." >&2;}
14544 { (exit 1); exit 1; }; }
14548 { echo "$as_me:$LINENO: result: yes" >&5
14549 echo "${ECHO_T}yes" >&6; }
14551 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14552 ac_clean_files=$ac_clean_files_save
14553 # Check that the compiler produces executables we can run. If not, either
14554 # the compiler is broken, or we cross compile.
14555 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14556 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14557 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14558 echo "${ECHO_T}$cross_compiling" >&6; }
14560 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14561 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14562 if { (ac_try="$ac_link"
14563 case "(($ac_try" in
14564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14565 *) ac_try_echo=$ac_try;;
14567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14568 (eval "$ac_link") 2>&5
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; then
14572 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14573 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14574 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14576 for ac_file
in conftest.exe conftest conftest.
*; do
14577 test -f "$ac_file" || continue
14579 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14580 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14586 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14587 See \`config.log' for more details." >&5
14588 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14589 See \`config.log' for more details." >&2;}
14590 { (exit 1); exit 1; }; }
14593 rm -f conftest
$ac_cv_exeext
14594 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14595 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14597 rm -f conftest.
$ac_ext
14598 EXEEXT
=$ac_cv_exeext
14600 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14601 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14602 if test "${ac_cv_objext+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 cat >conftest.
$ac_ext <<_ACEOF
14608 cat confdefs.h
>>conftest.
$ac_ext
14609 cat >>conftest.
$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14620 rm -f conftest.o conftest.obj
14621 if { (ac_try
="$ac_compile"
14622 case "(($ac_try" in
14623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14624 *) ac_try_echo=$ac_try;;
14626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14627 (eval "$ac_compile") 2>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; then
14631 for ac_file in conftest.o conftest.obj conftest.*; do
14632 test -f "$ac_file" || continue;
14634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14635 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.$ac_ext >&5
14643 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14644 See \`config.log
' for more details." >&5
14645 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14646 See \`config.log' for more details.
" >&2;}
14647 { (exit 1); exit 1; }; }
14650 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14652 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14653 echo "${ECHO_T}$ac_cv_objext" >&6; }
14654 OBJEXT=$ac_cv_objext
14656 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14657 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14658 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14659 echo $ECHO_N "(cached
) $ECHO_C" >&6
14661 cat >conftest.$ac_ext <<_ACEOF
14664 cat confdefs.h >>conftest.$ac_ext
14665 cat >>conftest.$ac_ext <<_ACEOF
14666 /* end confdefs.h. */
14679 rm -f conftest.$ac_objext
14680 if { (ac_try="$ac_compile"
14681 case "(($ac_try" in
14682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14683 *) ac_try_echo=$ac_try;;
14685 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14686 (eval "$ac_compile") 2>conftest.er1
14688 grep -v '^ *+' conftest.er1 >conftest.err
14690 cat conftest.err >&5
14691 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14692 (exit $ac_status); } && {
14693 test -z "$ac_c_werror_flag" ||
14694 test ! -s conftest.err
14695 } && test -s conftest.$ac_objext; then
14696 ac_compiler_gnu=yes
14698 echo "$as_me: failed program was
:" >&5
14699 sed 's/^/| /' conftest.$ac_ext >&5
14704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14708 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14709 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14710 GCC=`test $ac_compiler_gnu = yes && echo yes`
14711 ac_test_CFLAGS=${CFLAGS+set}
14712 ac_save_CFLAGS=$CFLAGS
14713 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14714 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14715 if test "${ac_cv_prog_cc_g+set}" = set; then
14716 echo $ECHO_N "(cached
) $ECHO_C" >&6
14718 ac_save_c_werror_flag=$ac_c_werror_flag
14719 ac_c_werror_flag=yes
14722 cat >conftest.$ac_ext <<_ACEOF
14725 cat confdefs.h >>conftest.$ac_ext
14726 cat >>conftest.$ac_ext <<_ACEOF
14727 /* end confdefs.h. */
14737 rm -f conftest.$ac_objext
14738 if { (ac_try="$ac_compile"
14739 case "(($ac_try" in
14740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14743 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_compile") 2>conftest.er1
14746 grep -v '^ *+' conftest.er1 >conftest.err
14748 cat conftest.err >&5
14749 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14750 (exit $ac_status); } && {
14751 test -z "$ac_c_werror_flag" ||
14752 test ! -s conftest.err
14753 } && test -s conftest.$ac_objext; then
14754 ac_cv_prog_cc_g=yes
14756 echo "$as_me: failed program was
:" >&5
14757 sed 's/^/| /' conftest.$ac_ext >&5
14760 cat >conftest.$ac_ext <<_ACEOF
14763 cat confdefs.h >>conftest.$ac_ext
14764 cat >>conftest.$ac_ext <<_ACEOF
14765 /* end confdefs.h. */
14775 rm -f conftest.$ac_objext
14776 if { (ac_try="$ac_compile"
14777 case "(($ac_try" in
14778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14779 *) ac_try_echo=$ac_try;;
14781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14782 (eval "$ac_compile") 2>conftest.er1
14784 grep -v '^ *+' conftest.er1 >conftest.err
14786 cat conftest.err >&5
14787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14788 (exit $ac_status); } && {
14789 test -z "$ac_c_werror_flag" ||
14790 test ! -s conftest.err
14791 } && test -s conftest.$ac_objext; then
14794 echo "$as_me: failed program was
:" >&5
14795 sed 's/^/| /' conftest.$ac_ext >&5
14797 ac_c_werror_flag=$ac_save_c_werror_flag
14799 cat >conftest.$ac_ext <<_ACEOF
14802 cat confdefs.h >>conftest.$ac_ext
14803 cat >>conftest.$ac_ext <<_ACEOF
14804 /* end confdefs.h. */
14814 rm -f conftest.$ac_objext
14815 if { (ac_try="$ac_compile"
14816 case "(($ac_try" in
14817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14818 *) ac_try_echo=$ac_try;;
14820 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14821 (eval "$ac_compile") 2>conftest.er1
14823 grep -v '^ *+' conftest.er1 >conftest.err
14825 cat conftest.err >&5
14826 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14827 (exit $ac_status); } && {
14828 test -z "$ac_c_werror_flag" ||
14829 test ! -s conftest.err
14830 } && test -s conftest.$ac_objext; then
14831 ac_cv_prog_cc_g=yes
14833 echo "$as_me: failed program was
:" >&5
14834 sed 's/^/| /' conftest.$ac_ext >&5
14839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14846 ac_c_werror_flag=$ac_save_c_werror_flag
14848 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14849 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14850 if test "$ac_test_CFLAGS" = set; then
14851 CFLAGS=$ac_save_CFLAGS
14852 elif test $ac_cv_prog_cc_g = yes; then
14853 if test "$GCC" = yes; then
14859 if test "$GCC" = yes; then
14865 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14866 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14867 if test "${ac_cv_prog_cc_c89+set}" = set; then
14868 echo $ECHO_N "(cached
) $ECHO_C" >&6
14870 ac_cv_prog_cc_c89=no
14872 cat >conftest.$ac_ext <<_ACEOF
14875 cat confdefs.h >>conftest.$ac_ext
14876 cat >>conftest.$ac_ext <<_ACEOF
14877 /* end confdefs.h. */
14878 #include <stdarg.h>
14880 #include <sys/types.h>
14881 #include <sys/stat.h>
14882 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14883 struct buf { int x; };
14884 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14885 static char *e (p, i)
14891 static char *f (char * (*g) (char **, int), char **p, ...)
14896 s = g (p, va_arg (v,int));
14901 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14902 function prototypes and stuff, but not '\xHH' hex character constants.
14903 These don't provoke an error unfortunately, instead are silently treated
14904 as 'x'. The following induces an error, until -std is added to get
14905 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14906 array size at least. It's necessary to write '\x00'==0 to get something
14907 that's true only with -std. */
14908 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14910 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14911 inside strings and character constants. */
14913 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14915 int test (int i, double x);
14916 struct s1 {int (*f) (int a);};
14917 struct s2 {int (*f) (double a);};
14918 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14924 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14929 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14930 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14932 CC="$ac_save_CC $ac_arg"
14933 rm -f conftest.$ac_objext
14934 if { (ac_try="$ac_compile"
14935 case "(($ac_try" in
14936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14937 *) ac_try_echo=$ac_try;;
14939 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14940 (eval "$ac_compile") 2>conftest.er1
14942 grep -v '^ *+' conftest.er1 >conftest.err
14944 cat conftest.err >&5
14945 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14946 (exit $ac_status); } && {
14947 test -z "$ac_c_werror_flag" ||
14948 test ! -s conftest.err
14949 } && test -s conftest.$ac_objext; then
14950 ac_cv_prog_cc_c89=$ac_arg
14952 echo "$as_me: failed program was
:" >&5
14953 sed 's/^/| /' conftest.$ac_ext >&5
14958 rm -f core conftest.err conftest.$ac_objext
14959 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14961 rm -f conftest.$ac_ext
14966 case "x
$ac_cv_prog_cc_c89" in
14968 { echo "$as_me:$LINENO: result
: none needed
" >&5
14969 echo "${ECHO_T}none needed
" >&6; } ;;
14971 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14972 echo "${ECHO_T}unsupported
" >&6; } ;;
14974 CC="$CC $ac_cv_prog_cc_c89"
14975 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14976 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14981 ac_cpp='$CPP $CPPFLAGS'
14982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14990 ac_cpp='$CPP $CPPFLAGS'
14991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14995 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14996 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14997 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14998 echo $ECHO_N "(cached
) $ECHO_C" >&6
15000 cat >conftest.$ac_ext <<_ACEOF
15003 cat confdefs.h >>conftest.$ac_ext
15004 cat >>conftest.$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15011 #ifndef __INTEL_COMPILER
15019 rm -f conftest.$ac_objext
15020 if { (ac_try="$ac_compile"
15021 case "(($ac_try" in
15022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023 *) ac_try_echo=$ac_try;;
15025 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15026 (eval "$ac_compile") 2>conftest.er1
15028 grep -v '^ *+' conftest.er1 >conftest.err
15030 cat conftest.err >&5
15031 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15032 (exit $ac_status); } && {
15033 test -z "$ac_c_werror_flag" ||
15034 test ! -s conftest.err
15035 } && test -s conftest.$ac_objext; then
15036 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15038 echo "$as_me: failed program was
:" >&5
15039 sed 's/^/| /' conftest.$ac_ext >&5
15041 bakefile_cv_c_compiler___INTEL_COMPILER=no
15045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15049 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15050 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15051 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15057 ac_cpp='$CPP $CPPFLAGS'
15058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15065 if test "$INTELCC" = "yes"; then
15069 ac_cpp='$CPP $CPPFLAGS'
15070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15074 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15075 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15076 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15077 echo $ECHO_N "(cached
) $ECHO_C" >&6
15079 cat >conftest.$ac_ext <<_ACEOF
15082 cat confdefs.h >>conftest.$ac_ext
15083 cat >>conftest.$ac_ext <<_ACEOF
15084 /* end confdefs.h. */
15090 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15098 rm -f conftest.$ac_objext
15099 if { (ac_try="$ac_compile"
15100 case "(($ac_try" in
15101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15102 *) ac_try_echo=$ac_try;;
15104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15105 (eval "$ac_compile") 2>conftest.er1
15107 grep -v '^ *+' conftest.er1 >conftest.err
15109 cat conftest.err >&5
15110 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15111 (exit $ac_status); } && {
15112 test -z "$ac_c_werror_flag" ||
15113 test ! -s conftest.err
15114 } && test -s conftest.$ac_objext; then
15115 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15117 echo "$as_me: failed program was
:" >&5
15118 sed 's/^/| /' conftest.$ac_ext >&5
15120 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15128 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15129 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15130 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15136 ac_cpp='$CPP $CPPFLAGS'
15137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15146 ac_cpp='$CPP $CPPFLAGS'
15147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15151 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15152 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15153 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15154 echo $ECHO_N "(cached
) $ECHO_C" >&6
15156 cat >conftest.$ac_ext <<_ACEOF
15159 cat confdefs.h >>conftest.$ac_ext
15160 cat >>conftest.$ac_ext <<_ACEOF
15161 /* end confdefs.h. */
15167 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15175 rm -f conftest.$ac_objext
15176 if { (ac_try="$ac_compile"
15177 case "(($ac_try" in
15178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15179 *) ac_try_echo=$ac_try;;
15181 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15182 (eval "$ac_compile") 2>conftest.er1
15184 grep -v '^ *+' conftest.er1 >conftest.err
15186 cat conftest.err >&5
15187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15188 (exit $ac_status); } && {
15189 test -z "$ac_c_werror_flag" ||
15190 test ! -s conftest.err
15191 } && test -s conftest.$ac_objext; then
15192 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15194 echo "$as_me: failed program was
:" >&5
15195 sed 's/^/| /' conftest.$ac_ext >&5
15197 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15205 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15206 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15207 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15213 ac_cpp='$CPP $CPPFLAGS'
15214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15222 if test "x
$GCC" != "xyes
"; then
15223 if test "xCC
" = "xC
"; then
15224 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15225 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15226 if test "${bakefile_cv_c_exto+set}" = set; then
15227 echo $ECHO_N "(cached
) $ECHO_C" >&6
15229 cat >conftest.$ac_ext <<_ACEOF
15232 cat confdefs.h >>conftest.$ac_ext
15233 cat >>conftest.$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15244 rm -f conftest.$ac_objext conftest.$ac_ext.o
15245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15246 (eval $ac_compile) 2>&5
15248 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15249 (exit $ac_status); }; then
15250 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15252 conftest.$ac_ext.o)
15253 bakefile_cv_c_exto="-ext o
"
15260 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15261 See \
`config.log' for more details." >&5
15262 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15263 See \`config.log
' for more details." >&2;}
15264 { (exit 1); exit 1; }; }
15268 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15271 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15272 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15273 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15274 if test "c" = "c"; then
15275 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15277 if test "c" = "cxx"; then
15278 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15282 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15283 unset ac_cv_prog_cc_g
15284 ac_test_CFLAGS=${CFLAGS+set}
15285 ac_save_CFLAGS=$CFLAGS
15286 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15287 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15288 if test "${ac_cv_prog_cc_g+set}" = set; then
15289 echo $ECHO_N "(cached) $ECHO_C" >&6
15291 ac_save_c_werror_flag=$ac_c_werror_flag
15292 ac_c_werror_flag=yes
15295 cat >conftest.$ac_ext <<_ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15310 rm -f conftest.$ac_objext
15311 if { (ac_try="$ac_compile"
15312 case "(($ac_try" in
15313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15314 *) ac_try_echo=$ac_try;;
15316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15317 (eval "$ac_compile") 2>conftest.er1
15319 grep -v '^
*+' conftest.er1 >conftest.err
15321 cat conftest.err >&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } && {
15324 test -z "$ac_c_werror_flag" ||
15325 test ! -s conftest.err
15326 } && test -s conftest.$ac_objext; then
15327 ac_cv_prog_cc_g=yes
15329 echo "$as_me: failed program was:" >&5
15330 sed 's
/^
/| /' conftest.$ac_ext >&5
15333 cat >conftest.$ac_ext <<_ACEOF
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15348 rm -f conftest.$ac_objext
15349 if { (ac_try="$ac_compile"
15350 case "(($ac_try" in
15351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15352 *) ac_try_echo=$ac_try;;
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_compile") 2>conftest.er1
15357 grep -v '^
*+' conftest.er1 >conftest.err
15359 cat conftest.err >&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } && {
15362 test -z "$ac_c_werror_flag" ||
15363 test ! -s conftest.err
15364 } && test -s conftest.$ac_objext; then
15367 echo "$as_me: failed program was:" >&5
15368 sed 's
/^
/| /' conftest.$ac_ext >&5
15370 ac_c_werror_flag=$ac_save_c_werror_flag
15372 cat >conftest.$ac_ext <<_ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15387 rm -f conftest.$ac_objext
15388 if { (ac_try="$ac_compile"
15389 case "(($ac_try" in
15390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15391 *) ac_try_echo=$ac_try;;
15393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15394 (eval "$ac_compile") 2>conftest.er1
15396 grep -v '^
*+' conftest.er1 >conftest.err
15398 cat conftest.err >&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); } && {
15401 test -z "$ac_c_werror_flag" ||
15402 test ! -s conftest.err
15403 } && test -s conftest.$ac_objext; then
15404 ac_cv_prog_cc_g=yes
15406 echo "$as_me: failed program was:" >&5
15407 sed 's
/^
/| /' conftest.$ac_ext >&5
15412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15419 ac_c_werror_flag=$ac_save_c_werror_flag
15421 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15422 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15423 if test "$ac_test_CFLAGS" = set; then
15424 CFLAGS=$ac_save_CFLAGS
15425 elif test $ac_cv_prog_cc_g = yes; then
15426 if test "$GCC" = yes; then
15432 if test "$GCC" = yes; then
15446 ac_cpp='$CPP $CPPFLAGS'
15447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15448 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15451 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15452 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15453 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15454 echo $ECHO_N "(cached) $ECHO_C" >&6
15456 cat >conftest.$ac_ext <<_ACEOF
15459 cat confdefs.h >>conftest.$ac_ext
15460 cat >>conftest.$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15475 rm -f conftest.$ac_objext
15476 if { (ac_try="$ac_compile"
15477 case "(($ac_try" in
15478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15479 *) ac_try_echo=$ac_try;;
15481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15482 (eval "$ac_compile") 2>conftest.er1
15484 grep -v '^
*+' conftest.er1 >conftest.err
15486 cat conftest.err >&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } && {
15489 test -z "$ac_c_werror_flag" ||
15490 test ! -s conftest.err
15491 } && test -s conftest.$ac_objext; then
15492 bakefile_cv_c_compiler___xlC__=yes
15494 echo "$as_me: failed program was:" >&5
15495 sed 's
/^
/| /' conftest.$ac_ext >&5
15497 bakefile_cv_c_compiler___xlC__=no
15501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15505 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15506 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15507 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15513 ac_cpp='$CPP $CPPFLAGS'
15514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15515 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15526 ac_cpp='$CPP $CPPFLAGS'
15527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15528 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15531 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15532 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15533 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15534 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 cat >conftest.$ac_ext <<_ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15555 rm -f conftest.$ac_objext
15556 if { (ac_try="$ac_compile"
15557 case "(($ac_try" in
15558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15559 *) ac_try_echo=$ac_try;;
15561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15562 (eval "$ac_compile") 2>conftest.er1
15564 grep -v '^
*+' conftest.er1 >conftest.err
15566 cat conftest.err >&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } && {
15569 test -z "$ac_c_werror_flag" ||
15570 test ! -s conftest.err
15571 } && test -s conftest.$ac_objext; then
15572 bakefile_cv_c_compiler___MWERKS__=yes
15574 echo "$as_me: failed program was:" >&5
15575 sed 's
/^
/| /' conftest.$ac_ext >&5
15577 bakefile_cv_c_compiler___MWERKS__=no
15581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15585 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15586 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15587 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15593 ac_cpp='$CPP $CPPFLAGS'
15594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15595 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15600 if test "$MWCC" != "yes"; then
15604 ac_cpp='$CPP $CPPFLAGS'
15605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15606 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15609 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15610 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15611 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 cat >conftest.$ac_ext <<_ACEOF
15617 cat confdefs.h >>conftest.$ac_ext
15618 cat >>conftest.$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15633 rm -f conftest.$ac_objext
15634 if { (ac_try="$ac_compile"
15635 case "(($ac_try" in
15636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15637 *) ac_try_echo=$ac_try;;
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_compile") 2>conftest.er1
15642 grep -v '^
*+' conftest.er1 >conftest.err
15644 cat conftest.err >&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); } && {
15647 test -z "$ac_c_werror_flag" ||
15648 test ! -s conftest.err
15649 } && test -s conftest.$ac_objext; then
15650 bakefile_cv_c_compiler___xlC__=yes
15652 echo "$as_me: failed program was:" >&5
15653 sed 's
/^
/| /' conftest.$ac_ext >&5
15655 bakefile_cv_c_compiler___xlC__=no
15659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15663 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15664 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15665 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15671 ac_cpp='$CPP $CPPFLAGS'
15672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15673 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15685 ac_cpp='$CPP $CPPFLAGS'
15686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15687 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15691 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15692 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15693 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 cat >conftest.$ac_ext <<_ACEOF
15698 cat confdefs.h >>conftest.$ac_ext
15699 cat >>conftest.$ac_ext <<_ACEOF
15700 /* end confdefs.h. */
15706 #ifndef _SGI_COMPILER_VERSION
15714 rm -f conftest.$ac_objext
15715 if { (ac_try="$ac_compile"
15716 case "(($ac_try" in
15717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15718 *) ac_try_echo=$ac_try;;
15720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15721 (eval "$ac_compile") 2>conftest.er1
15723 grep -v '^
*+' conftest.er1 >conftest.err
15725 cat conftest.err >&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } && {
15728 test -z "$ac_c_werror_flag" ||
15729 test ! -s conftest.err
15730 } && test -s conftest.$ac_objext; then
15731 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15733 echo "$as_me: failed program was:" >&5
15734 sed 's
/^
/| /' conftest.$ac_ext >&5
15736 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15744 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15745 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15746 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15752 ac_cpp='$CPP $CPPFLAGS'
15753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15754 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15762 if test "$INTELCC" != "yes"; then
15766 ac_cpp='$CPP $CPPFLAGS'
15767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15768 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15771 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15772 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15773 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15776 cat >conftest.$ac_ext <<_ACEOF
15779 cat confdefs.h >>conftest.$ac_ext
15780 cat >>conftest.$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15795 rm -f conftest.$ac_objext
15796 if { (ac_try="$ac_compile"
15797 case "(($ac_try" in
15798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15799 *) ac_try_echo=$ac_try;;
15801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15802 (eval "$ac_compile") 2>conftest.er1
15804 grep -v '^
*+' conftest.er1 >conftest.err
15806 cat conftest.err >&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } && {
15809 test -z "$ac_c_werror_flag" ||
15810 test ! -s conftest.err
15811 } && test -s conftest.$ac_objext; then
15812 bakefile_cv_c_compiler___SUNPRO_C=yes
15814 echo "$as_me: failed program was:" >&5
15815 sed 's
/^
/| /' conftest.$ac_ext >&5
15817 bakefile_cv_c_compiler___SUNPRO_C=no
15821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15825 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15826 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15827 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15833 ac_cpp='$CPP $CPPFLAGS'
15834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15835 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15847 ac_cpp='$CPP $CPPFLAGS'
15848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15849 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15852 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15853 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15854 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15857 cat >conftest.$ac_ext <<_ACEOF
15860 cat confdefs.h >>conftest.$ac_ext
15861 cat >>conftest.$ac_ext <<_ACEOF
15862 /* end confdefs.h. */
15876 rm -f conftest.$ac_objext
15877 if { (ac_try="$ac_compile"
15878 case "(($ac_try" in
15879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15880 *) ac_try_echo=$ac_try;;
15882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15883 (eval "$ac_compile") 2>conftest.er1
15885 grep -v '^
*+' conftest.er1 >conftest.err
15887 cat conftest.err >&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); } && {
15890 test -z "$ac_c_werror_flag" ||
15891 test ! -s conftest.err
15892 } && test -s conftest.$ac_objext; then
15893 bakefile_cv_c_compiler___HP_cc=yes
15895 echo "$as_me: failed program was:" >&5
15896 sed 's
/^
/| /' conftest.$ac_ext >&5
15898 bakefile_cv_c_compiler___HP_cc=no
15902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15906 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15907 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15908 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15914 ac_cpp='$CPP $CPPFLAGS'
15915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15916 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15927 ac_cpp='$CPP $CPPFLAGS'
15928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15929 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15932 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15933 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15934 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15935 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 cat >conftest.$ac_ext <<_ACEOF
15940 cat confdefs.h >>conftest.$ac_ext
15941 cat >>conftest.$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15956 rm -f conftest.$ac_objext
15957 if { (ac_try="$ac_compile"
15958 case "(($ac_try" in
15959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15960 *) ac_try_echo=$ac_try;;
15962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15963 (eval "$ac_compile") 2>conftest.er1
15965 grep -v '^
*+' conftest.er1 >conftest.err
15967 cat conftest.err >&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); } && {
15970 test -z "$ac_c_werror_flag" ||
15971 test ! -s conftest.err
15972 } && test -s conftest.$ac_objext; then
15973 bakefile_cv_c_compiler___DECC=yes
15975 echo "$as_me: failed program was:" >&5
15976 sed 's
/^
/| /' conftest.$ac_ext >&5
15978 bakefile_cv_c_compiler___DECC=no
15982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15986 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15987 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15988 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15994 ac_cpp='$CPP $CPPFLAGS'
15995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15996 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16007 ac_cpp='$CPP $CPPFLAGS'
16008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16009 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16012 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16013 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16014 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16015 echo $ECHO_N "(cached) $ECHO_C" >&6
16017 cat >conftest.$ac_ext <<_ACEOF
16020 cat confdefs.h >>conftest.$ac_ext
16021 cat >>conftest.$ac_ext <<_ACEOF
16022 /* end confdefs.h. */
16036 rm -f conftest.$ac_objext
16037 if { (ac_try="$ac_compile"
16038 case "(($ac_try" in
16039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16040 *) ac_try_echo=$ac_try;;
16042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16043 (eval "$ac_compile") 2>conftest.er1
16045 grep -v '^
*+' conftest.er1 >conftest.err
16047 cat conftest.err >&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); } && {
16050 test -z "$ac_c_werror_flag" ||
16051 test ! -s conftest.err
16052 } && test -s conftest.$ac_objext; then
16053 bakefile_cv_c_compiler___SUNPRO_C=yes
16055 echo "$as_me: failed program was:" >&5
16056 sed 's
/^
/| /' conftest.$ac_ext >&5
16058 bakefile_cv_c_compiler___SUNPRO_C=no
16062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16066 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16067 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16068 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16074 ac_cpp='$CPP $CPPFLAGS'
16075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16076 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16088 ac_cpp='$CPP $CPPFLAGS'
16089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16090 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16092 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16093 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16094 # On Suns, sometimes $CPP names a directory.
16095 if test -n "$CPP" && test -d "$CPP"; then
16098 if test -z "$CPP"; then
16099 if test "${ac_cv_prog_CPP+set}" = set; then
16100 echo $ECHO_N "(cached) $ECHO_C" >&6
16102 # Double quotes because CPP needs to be expanded
16103 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16105 ac_preproc_ok=false
16106 for ac_c_preproc_warn_flag in '' yes
16108 # Use a header file that comes with gcc, so configuring glibc
16109 # with a fresh cross-compiler works.
16110 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16111 # <limits.h> exists even on freestanding compilers.
16112 # On the NeXT, cc -E runs the code through the compiler's parser
,
16113 # not just through cpp. "Syntax error" is here to catch this case.
16114 cat >conftest.
$ac_ext <<_ACEOF
16117 cat confdefs.h
>>conftest.
$ac_ext
16118 cat >>conftest.
$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16121 # include <limits.h>
16123 # include <assert.h>
16127 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16128 case "(($ac_try" in
16129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16135 grep -v '^ *+' conftest.er1 >conftest.err
16137 cat conftest.err >&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } >/dev/null && {
16140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16141 test ! -s conftest.err
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.$ac_ext >&5
16148 # Broken: fails on valid input.
16152 rm -f conftest.err conftest.$ac_ext
16154 # OK, works on sane cases. Now check whether nonexistent headers
16155 # can be detected and how.
16156 cat >conftest.$ac_ext <<_ACEOF
16159 cat confdefs.h >>conftest.$ac_ext
16160 cat >>conftest.$ac_ext <<_ACEOF
16161 /* end confdefs.h. */
16162 #include <ac_nonexistent.h>
16164 if { (ac_try="$ac_cpp conftest.$ac_ext"
16165 case "(($ac_try" in
16166 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16167 *) ac_try_echo
=$ac_try;;
16169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16172 grep -v '^ *+' conftest.er1
>conftest.err
16174 cat conftest.err
>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } >/dev
/null
&& {
16177 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16178 test ! -s conftest.err
16180 # Broken: success on invalid input.
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.
$ac_ext >&5
16186 # Passes both tests.
16191 rm -f conftest.err conftest.
$ac_ext
16194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16195 rm -f conftest.err conftest.
$ac_ext
16196 if $ac_preproc_ok; then
16201 ac_cv_prog_CPP
=$CPP
16204 CPP
=$ac_cv_prog_CPP
16206 ac_cv_prog_CPP
=$CPP
16208 { echo "$as_me:$LINENO: result: $CPP" >&5
16209 echo "${ECHO_T}$CPP" >&6; }
16210 ac_preproc_ok
=false
16211 for ac_c_preproc_warn_flag
in '' yes
16213 # Use a header file that comes with gcc, so configuring glibc
16214 # with a fresh cross-compiler works.
16215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16216 # <limits.h> exists even on freestanding compilers.
16217 # On the NeXT, cc -E runs the code through the compiler's parser,
16218 # not just through cpp. "Syntax error" is here to catch this case.
16219 cat >conftest.
$ac_ext <<_ACEOF
16222 cat confdefs.h
>>conftest.
$ac_ext
16223 cat >>conftest.
$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16226 # include <limits.h>
16228 # include <assert.h>
16232 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16233 case "(($ac_try" in
16234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16240 grep -v '^ *+' conftest.er1 >conftest.err
16242 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } >/dev/null && {
16245 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16246 test ! -s conftest.err
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16253 # Broken: fails on valid input.
16257 rm -f conftest.err conftest.$ac_ext
16259 # OK, works on sane cases. Now check whether nonexistent headers
16260 # can be detected and how.
16261 cat >conftest.$ac_ext <<_ACEOF
16264 cat confdefs.h >>conftest.$ac_ext
16265 cat >>conftest.$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16267 #include <ac_nonexistent.h>
16269 if { (ac_try="$ac_cpp conftest.$ac_ext"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16272 *) ac_try_echo
=$ac_try;;
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16277 grep -v '^ *+' conftest.er1
>conftest.err
16279 cat conftest.err
>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } >/dev
/null
&& {
16282 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16283 test ! -s conftest.err
16285 # Broken: success on invalid input.
16288 echo "$as_me: failed program was:" >&5
16289 sed 's/^/| /' conftest.
$ac_ext >&5
16291 # Passes both tests.
16296 rm -f conftest.err conftest.
$ac_ext
16299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16300 rm -f conftest.err conftest.
$ac_ext
16301 if $ac_preproc_ok; then
16304 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16305 See \`config.log' for more details." >&5
16306 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16307 See \`config.log' for more details." >&2;}
16308 { (exit 1); exit 1; }; }
16312 ac_cpp
='$CPP $CPPFLAGS'
16313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16318 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16319 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16320 if test "${ac_cv_path_GREP+set}" = set; then
16321 echo $ECHO_N "(cached) $ECHO_C" >&6
16323 # Extract the first word of "grep ggrep" to use in msg output
16324 if test -z "$GREP"; then
16325 set dummy
grep ggrep
; ac_prog_name
=$2
16326 if test "${ac_cv_path_GREP+set}" = set; then
16327 echo $ECHO_N "(cached) $ECHO_C" >&6
16329 ac_path_GREP_found
=false
16330 # Loop through the user's path and test for each of PROGNAME-LIST
16331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16332 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16335 test -z "$as_dir" && as_dir
=.
16336 for ac_prog
in grep ggrep
; do
16337 for ac_exec_ext
in '' $ac_executable_extensions; do
16338 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16339 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16340 # Check for GNU ac_path_GREP and select it if it is found.
16341 # Check for GNU $ac_path_GREP
16342 case `"$ac_path_GREP" --version 2>&1` in
16344 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16347 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16350 cat "conftest.in" "conftest.in" >"conftest.tmp"
16351 mv "conftest.tmp" "conftest.in"
16352 cp "conftest.in" "conftest.nl"
16353 echo 'GREP' >> "conftest.nl"
16354 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16355 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16356 ac_count
=`expr $ac_count + 1`
16357 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16358 # Best one so far, save it but keep looking for a better one
16359 ac_cv_path_GREP
="$ac_path_GREP"
16360 ac_path_GREP_max
=$ac_count
16362 # 10*(2^10) chars as input seems more than enough
16363 test $ac_count -gt 10 && break
16365 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16369 $ac_path_GREP_found && break 3
16379 GREP
="$ac_cv_path_GREP"
16380 if test -z "$GREP"; then
16381 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16382 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16383 { (exit 1); exit 1; }; }
16387 ac_cv_path_GREP
=$GREP
16392 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16393 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16394 GREP
="$ac_cv_path_GREP"
16397 { echo "$as_me:$LINENO: checking for egrep" >&5
16398 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16399 if test "${ac_cv_path_EGREP+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16402 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16403 then ac_cv_path_EGREP
="$GREP -E"
16405 # Extract the first word of "egrep" to use in msg output
16406 if test -z "$EGREP"; then
16407 set dummy
egrep; ac_prog_name
=$2
16408 if test "${ac_cv_path_EGREP+set}" = set; then
16409 echo $ECHO_N "(cached) $ECHO_C" >&6
16411 ac_path_EGREP_found
=false
16412 # Loop through the user's path and test for each of PROGNAME-LIST
16413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16414 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16417 test -z "$as_dir" && as_dir
=.
16418 for ac_prog
in egrep; do
16419 for ac_exec_ext
in '' $ac_executable_extensions; do
16420 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16421 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16422 # Check for GNU ac_path_EGREP and select it if it is found.
16423 # Check for GNU $ac_path_EGREP
16424 case `"$ac_path_EGREP" --version 2>&1` in
16426 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16429 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16432 cat "conftest.in" "conftest.in" >"conftest.tmp"
16433 mv "conftest.tmp" "conftest.in"
16434 cp "conftest.in" "conftest.nl"
16435 echo 'EGREP' >> "conftest.nl"
16436 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16437 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16438 ac_count
=`expr $ac_count + 1`
16439 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16440 # Best one so far, save it but keep looking for a better one
16441 ac_cv_path_EGREP
="$ac_path_EGREP"
16442 ac_path_EGREP_max
=$ac_count
16444 # 10*(2^10) chars as input seems more than enough
16445 test $ac_count -gt 10 && break
16447 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16451 $ac_path_EGREP_found && break 3
16461 EGREP
="$ac_cv_path_EGREP"
16462 if test -z "$EGREP"; then
16463 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16464 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16465 { (exit 1); exit 1; }; }
16469 ac_cv_path_EGREP
=$EGREP
16475 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16476 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16477 EGREP
="$ac_cv_path_EGREP"
16480 if test $ac_cv_c_compiler_gnu = yes; then
16481 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16482 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16483 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16484 echo $ECHO_N "(cached) $ECHO_C" >&6
16486 ac_pattern
="Autoconf.*'x'"
16487 cat >conftest.
$ac_ext <<_ACEOF
16490 cat confdefs.h
>>conftest.
$ac_ext
16491 cat >>conftest.
$ac_ext <<_ACEOF
16492 /* end confdefs.h. */
16496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16497 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16498 ac_cv_prog_gcc_traditional
=yes
16500 ac_cv_prog_gcc_traditional
=no
16505 if test $ac_cv_prog_gcc_traditional = no
; then
16506 cat >conftest.
$ac_ext <<_ACEOF
16509 cat confdefs.h
>>conftest.
$ac_ext
16510 cat >>conftest.
$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16512 #include <termio.h>
16515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16516 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16517 ac_cv_prog_gcc_traditional
=yes
16523 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16524 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16525 if test $ac_cv_prog_gcc_traditional = yes; then
16526 CC
="$CC -traditional"
16531 CXXFLAGS
=${CXXFLAGS:=}
16536 ac_cpp
='$CXXCPP $CPPFLAGS'
16537 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16538 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16539 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16540 if test -z "$CXX"; then
16541 if test -n "$CCC"; then
16544 if test -n "$ac_tool_prefix"; then
16545 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16547 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16548 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16551 if test "${ac_cv_prog_CXX+set}" = set; then
16552 echo $ECHO_N "(cached) $ECHO_C" >&6
16554 if test -n "$CXX"; then
16555 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16558 for as_dir
in $PATH
16561 test -z "$as_dir" && as_dir
=.
16562 for ac_exec_ext
in '' $ac_executable_extensions; do
16563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16564 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16574 CXX
=$ac_cv_prog_CXX
16575 if test -n "$CXX"; then
16576 { echo "$as_me:$LINENO: result: $CXX" >&5
16577 echo "${ECHO_T}$CXX" >&6; }
16579 { echo "$as_me:$LINENO: result: no" >&5
16580 echo "${ECHO_T}no" >&6; }
16584 test -n "$CXX" && break
16587 if test -z "$CXX"; then
16589 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16591 # Extract the first word of "$ac_prog", so it can be a program name with args.
16592 set dummy
$ac_prog; ac_word
=$2
16593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16595 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 if test -n "$ac_ct_CXX"; then
16599 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16602 for as_dir
in $PATH
16605 test -z "$as_dir" && as_dir
=.
16606 for ac_exec_ext
in '' $ac_executable_extensions; do
16607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16608 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16618 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16619 if test -n "$ac_ct_CXX"; then
16620 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16621 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16623 { echo "$as_me:$LINENO: result: no" >&5
16624 echo "${ECHO_T}no" >&6; }
16628 test -n "$ac_ct_CXX" && break
16631 if test "x$ac_ct_CXX" = x
; then
16634 case $cross_compiling:$ac_tool_warned in
16636 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16637 whose name does not start with the host triplet. If you think this
16638 configuration is useful to you, please write to autoconf@gnu.org." >&5
16639 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16640 whose name does not start with the host triplet. If you think this
16641 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16642 ac_tool_warned
=yes ;;
16650 # Provide some information about the compiler.
16651 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16652 ac_compiler
=`set X $ac_compile; echo $2`
16653 { (ac_try
="$ac_compiler --version >&5"
16654 case "(($ac_try" in
16655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16656 *) ac_try_echo=$ac_try;;
16658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16659 (eval "$ac_compiler --version >&5") 2>&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }
16663 { (ac_try="$ac_compiler -v >&5"
16664 case "(($ac_try" in
16665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16666 *) ac_try_echo
=$ac_try;;
16668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16669 (eval "$ac_compiler -v >&5") 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }
16673 { (ac_try
="$ac_compiler -V >&5"
16674 case "(($ac_try" in
16675 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16676 *) ac_try_echo=$ac_try;;
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679 (eval "$ac_compiler -V >&5") 2>&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }
16684 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16685 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16686 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16687 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 cat >conftest.$ac_ext <<_ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16707 rm -f conftest.$ac_objext
16708 if { (ac_try="$ac_compile"
16709 case "(($ac_try" in
16710 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16711 *) ac_try_echo
=$ac_try;;
16713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16714 (eval "$ac_compile") 2>conftest.er1
16716 grep -v '^ *+' conftest.er1
>conftest.err
16718 cat conftest.err
>&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } && {
16721 test -z "$ac_cxx_werror_flag" ||
16722 test ! -s conftest.err
16723 } && test -s conftest.
$ac_objext; then
16724 ac_compiler_gnu
=yes
16726 echo "$as_me: failed program was:" >&5
16727 sed 's/^/| /' conftest.
$ac_ext >&5
16732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16733 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16736 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16737 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16738 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16739 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16740 ac_save_CXXFLAGS
=$CXXFLAGS
16741 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16742 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16743 if test "${ac_cv_prog_cxx_g+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16747 ac_cxx_werror_flag
=yes
16748 ac_cv_prog_cxx_g
=no
16750 cat >conftest.
$ac_ext <<_ACEOF
16753 cat confdefs.h
>>conftest.
$ac_ext
16754 cat >>conftest.
$ac_ext <<_ACEOF
16755 /* end confdefs.h. */
16765 rm -f conftest.
$ac_objext
16766 if { (ac_try
="$ac_compile"
16767 case "(($ac_try" in
16768 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16769 *) ac_try_echo=$ac_try;;
16771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16772 (eval "$ac_compile") 2>conftest.er1
16774 grep -v '^ *+' conftest.er1 >conftest.err
16776 cat conftest.err >&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } && {
16779 test -z "$ac_cxx_werror_flag" ||
16780 test ! -s conftest.err
16781 } && test -s conftest.$ac_objext; then
16782 ac_cv_prog_cxx_g=yes
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.$ac_ext >&5
16788 cat >conftest.$ac_ext <<_ACEOF
16791 cat confdefs.h >>conftest.$ac_ext
16792 cat >>conftest.$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16803 rm -f conftest.$ac_objext
16804 if { (ac_try="$ac_compile"
16805 case "(($ac_try" in
16806 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16807 *) ac_try_echo
=$ac_try;;
16809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16810 (eval "$ac_compile") 2>conftest.er1
16812 grep -v '^ *+' conftest.er1
>conftest.err
16814 cat conftest.err
>&5
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); } && {
16817 test -z "$ac_cxx_werror_flag" ||
16818 test ! -s conftest.err
16819 } && test -s conftest.
$ac_objext; then
16822 echo "$as_me: failed program was:" >&5
16823 sed 's/^/| /' conftest.
$ac_ext >&5
16825 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16827 cat >conftest.
$ac_ext <<_ACEOF
16830 cat confdefs.h
>>conftest.
$ac_ext
16831 cat >>conftest.
$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16842 rm -f conftest.
$ac_objext
16843 if { (ac_try
="$ac_compile"
16844 case "(($ac_try" in
16845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16846 *) ac_try_echo=$ac_try;;
16848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16849 (eval "$ac_compile") 2>conftest.er1
16851 grep -v '^ *+' conftest.er1 >conftest.err
16853 cat conftest.err >&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } && {
16856 test -z "$ac_cxx_werror_flag" ||
16857 test ! -s conftest.err
16858 } && test -s conftest.$ac_objext; then
16859 ac_cv_prog_cxx_g=yes
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16876 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16877 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16878 if test "$ac_test_CXXFLAGS" = set; then
16879 CXXFLAGS=$ac_save_CXXFLAGS
16880 elif test $ac_cv_prog_cxx_g = yes; then
16881 if test "$GXX" = yes; then
16887 if test "$GXX" = yes; then
16894 ac_cpp='$CPP $CPPFLAGS'
16895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16903 ac_cpp='$CXXCPP $CPPFLAGS'
16904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16908 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16909 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16910 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16913 cat >conftest.$ac_ext <<_ACEOF
16916 cat confdefs.h >>conftest.$ac_ext
16917 cat >>conftest.$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16924 #ifndef __INTEL_COMPILER
16932 rm -f conftest.$ac_objext
16933 if { (ac_try="$ac_compile"
16934 case "(($ac_try" in
16935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16936 *) ac_try_echo
=$ac_try;;
16938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16939 (eval "$ac_compile") 2>conftest.er1
16941 grep -v '^ *+' conftest.er1
>conftest.err
16943 cat conftest.err
>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } && {
16946 test -z "$ac_cxx_werror_flag" ||
16947 test ! -s conftest.err
16948 } && test -s conftest.
$ac_objext; then
16949 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.
$ac_ext >&5
16954 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16962 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16963 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16964 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16970 ac_cpp
='$CPP $CPPFLAGS'
16971 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16972 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16973 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16978 if test "$INTELCXX" = "yes"; then
16982 ac_cpp
='$CXXCPP $CPPFLAGS'
16983 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16984 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16985 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16987 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16988 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16989 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 cat >conftest.
$ac_ext <<_ACEOF
16995 cat confdefs.h
>>conftest.
$ac_ext
16996 cat >>conftest.
$ac_ext <<_ACEOF
16997 /* end confdefs.h. */
17003 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17011 rm -f conftest.
$ac_objext
17012 if { (ac_try
="$ac_compile"
17013 case "(($ac_try" in
17014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17015 *) ac_try_echo=$ac_try;;
17017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17018 (eval "$ac_compile") 2>conftest.er1
17020 grep -v '^ *+' conftest.er1 >conftest.err
17022 cat conftest.err >&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); } && {
17025 test -z "$ac_cxx_werror_flag" ||
17026 test ! -s conftest.err
17027 } && test -s conftest.$ac_objext; then
17028 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17030 echo "$as_me: failed program was:" >&5
17031 sed 's/^/| /' conftest.$ac_ext >&5
17033 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17041 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17042 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17043 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17049 ac_cpp='$CPP $CPPFLAGS'
17050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17059 ac_cpp='$CXXCPP $CPPFLAGS'
17060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17064 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17065 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17066 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 cat >conftest.$ac_ext <<_ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17080 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17088 rm -f conftest.$ac_objext
17089 if { (ac_try="$ac_compile"
17090 case "(($ac_try" in
17091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17092 *) ac_try_echo
=$ac_try;;
17094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17095 (eval "$ac_compile") 2>conftest.er1
17097 grep -v '^ *+' conftest.er1
>conftest.err
17099 cat conftest.err
>&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } && {
17102 test -z "$ac_cxx_werror_flag" ||
17103 test ! -s conftest.err
17104 } && test -s conftest.
$ac_objext; then
17105 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.
$ac_ext >&5
17110 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17118 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17119 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17120 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17126 ac_cpp
='$CPP $CPPFLAGS'
17127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17135 if test "x$GCXX" != "xyes"; then
17136 if test "xCXX" = "xC"; then
17137 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17138 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17139 if test "${bakefile_cv_c_exto+set}" = set; then
17140 echo $ECHO_N "(cached) $ECHO_C" >&6
17142 cat >conftest.
$ac_ext <<_ACEOF
17145 cat confdefs.h
>>conftest.
$ac_ext
17146 cat >>conftest.
$ac_ext <<_ACEOF
17147 /* end confdefs.h. */
17157 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17159 (eval $ac_compile) 2>&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); }; then
17163 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17165 conftest.
$ac_ext.o
)
17166 bakefile_cv_c_exto
="-ext o"
17173 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17174 See \`config.log' for more details." >&5
17175 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17176 See \`config.log' for more details." >&2;}
17177 { (exit 1); exit 1; }; }
17181 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17184 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17185 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17186 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17187 if test "c" = "c"; then
17188 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17190 if test "c" = "cxx"; then
17191 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17195 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17196 unset ac_cv_prog_cc_g
17197 ac_test_CFLAGS
=${CFLAGS+set}
17198 ac_save_CFLAGS
=$CFLAGS
17199 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17200 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17201 if test "${ac_cv_prog_cc_g+set}" = set; then
17202 echo $ECHO_N "(cached) $ECHO_C" >&6
17204 ac_save_c_werror_flag
=$ac_c_werror_flag
17205 ac_c_werror_flag
=yes
17208 cat >conftest.
$ac_ext <<_ACEOF
17211 cat confdefs.h
>>conftest.
$ac_ext
17212 cat >>conftest.
$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17223 rm -f conftest.
$ac_objext
17224 if { (ac_try
="$ac_compile"
17225 case "(($ac_try" in
17226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17227 *) ac_try_echo=$ac_try;;
17229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17230 (eval "$ac_compile") 2>conftest.er1
17232 grep -v '^ *+' conftest.er1 >conftest.err
17234 cat conftest.err >&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } && {
17237 test -z "$ac_c_werror_flag" ||
17238 test ! -s conftest.err
17239 } && test -s conftest.$ac_objext; then
17240 ac_cv_prog_cc_g=yes
17242 echo "$as_me: failed program was:" >&5
17243 sed 's/^/| /' conftest.$ac_ext >&5
17246 cat >conftest.$ac_ext <<_ACEOF
17249 cat confdefs.h >>conftest.$ac_ext
17250 cat >>conftest.$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17261 rm -f conftest.$ac_objext
17262 if { (ac_try="$ac_compile"
17263 case "(($ac_try" in
17264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17265 *) ac_try_echo
=$ac_try;;
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_compile") 2>conftest.er1
17270 grep -v '^ *+' conftest.er1
>conftest.err
17272 cat conftest.err
>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } && {
17275 test -z "$ac_c_werror_flag" ||
17276 test ! -s conftest.err
17277 } && test -s conftest.
$ac_objext; then
17280 echo "$as_me: failed program was:" >&5
17281 sed 's/^/| /' conftest.
$ac_ext >&5
17283 ac_c_werror_flag
=$ac_save_c_werror_flag
17285 cat >conftest.
$ac_ext <<_ACEOF
17288 cat confdefs.h
>>conftest.
$ac_ext
17289 cat >>conftest.
$ac_ext <<_ACEOF
17290 /* end confdefs.h. */
17300 rm -f conftest.
$ac_objext
17301 if { (ac_try
="$ac_compile"
17302 case "(($ac_try" in
17303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17304 *) ac_try_echo=$ac_try;;
17306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17307 (eval "$ac_compile") 2>conftest.er1
17309 grep -v '^ *+' conftest.er1 >conftest.err
17311 cat conftest.err >&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); } && {
17314 test -z "$ac_c_werror_flag" ||
17315 test ! -s conftest.err
17316 } && test -s conftest.$ac_objext; then
17317 ac_cv_prog_cc_g=yes
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.$ac_ext >&5
17325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17332 ac_c_werror_flag=$ac_save_c_werror_flag
17334 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17335 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17336 if test "$ac_test_CFLAGS" = set; then
17337 CFLAGS=$ac_save_CFLAGS
17338 elif test $ac_cv_prog_cc_g = yes; then
17339 if test "$GCC" = yes; then
17345 if test "$GCC" = yes; then
17359 ac_cpp='$CXXCPP $CPPFLAGS'
17360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17364 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17365 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17366 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17369 cat >conftest.$ac_ext <<_ACEOF
17372 cat confdefs.h >>conftest.$ac_ext
17373 cat >>conftest.$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17388 rm -f conftest.$ac_objext
17389 if { (ac_try="$ac_compile"
17390 case "(($ac_try" in
17391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17392 *) ac_try_echo
=$ac_try;;
17394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17395 (eval "$ac_compile") 2>conftest.er1
17397 grep -v '^ *+' conftest.er1
>conftest.err
17399 cat conftest.err
>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); } && {
17402 test -z "$ac_cxx_werror_flag" ||
17403 test ! -s conftest.err
17404 } && test -s conftest.
$ac_objext; then
17405 bakefile_cv_cxx_compiler___xlC__
=yes
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.
$ac_ext >&5
17410 bakefile_cv_cxx_compiler___xlC__
=no
17414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17418 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17419 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17420 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17426 ac_cpp
='$CPP $CPPFLAGS'
17427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17439 ac_cpp
='$CXXCPP $CPPFLAGS'
17440 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17441 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17442 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17444 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17445 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17446 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17447 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 cat >conftest.
$ac_ext <<_ACEOF
17452 cat confdefs.h
>>conftest.
$ac_ext
17453 cat >>conftest.
$ac_ext <<_ACEOF
17454 /* end confdefs.h. */
17468 rm -f conftest.
$ac_objext
17469 if { (ac_try
="$ac_compile"
17470 case "(($ac_try" in
17471 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17472 *) ac_try_echo=$ac_try;;
17474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17475 (eval "$ac_compile") 2>conftest.er1
17477 grep -v '^ *+' conftest.er1 >conftest.err
17479 cat conftest.err >&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); } && {
17482 test -z "$ac_cxx_werror_flag" ||
17483 test ! -s conftest.err
17484 } && test -s conftest.$ac_objext; then
17485 bakefile_cv_cxx_compiler___MWERKS__=yes
17487 echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.$ac_ext >&5
17490 bakefile_cv_cxx_compiler___MWERKS__=no
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17498 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17499 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17500 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17506 ac_cpp='$CPP $CPPFLAGS'
17507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17513 if test "$MWCXX" != "yes"; then
17517 ac_cpp='$CXXCPP $CPPFLAGS'
17518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17522 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17523 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17524 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17525 echo $ECHO_N "(cached) $ECHO_C" >&6
17527 cat >conftest.$ac_ext <<_ACEOF
17530 cat confdefs.h >>conftest.$ac_ext
17531 cat >>conftest.$ac_ext <<_ACEOF
17532 /* end confdefs.h. */
17546 rm -f conftest.$ac_objext
17547 if { (ac_try="$ac_compile"
17548 case "(($ac_try" in
17549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17550 *) ac_try_echo
=$ac_try;;
17552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17553 (eval "$ac_compile") 2>conftest.er1
17555 grep -v '^ *+' conftest.er1
>conftest.err
17557 cat conftest.err
>&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } && {
17560 test -z "$ac_cxx_werror_flag" ||
17561 test ! -s conftest.err
17562 } && test -s conftest.
$ac_objext; then
17563 bakefile_cv_cxx_compiler___xlC__
=yes
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.
$ac_ext >&5
17568 bakefile_cv_cxx_compiler___xlC__
=no
17572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17576 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17577 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17578 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17584 ac_cpp
='$CPP $CPPFLAGS'
17585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17598 ac_cpp
='$CXXCPP $CPPFLAGS'
17599 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17600 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17601 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17603 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17604 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17605 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17606 echo $ECHO_N "(cached) $ECHO_C" >&6
17608 cat >conftest.
$ac_ext <<_ACEOF
17611 cat confdefs.h
>>conftest.
$ac_ext
17612 cat >>conftest.
$ac_ext <<_ACEOF
17613 /* end confdefs.h. */
17619 #ifndef _SGI_COMPILER_VERSION
17627 rm -f conftest.
$ac_objext
17628 if { (ac_try
="$ac_compile"
17629 case "(($ac_try" in
17630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17631 *) ac_try_echo=$ac_try;;
17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17634 (eval "$ac_compile") 2>conftest.er1
17636 grep -v '^ *+' conftest.er1 >conftest.err
17638 cat conftest.err >&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } && {
17641 test -z "$ac_cxx_werror_flag" ||
17642 test ! -s conftest.err
17643 } && test -s conftest.$ac_objext; then
17644 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.$ac_ext >&5
17649 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17657 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17658 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17659 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17665 ac_cpp='$CPP $CPPFLAGS'
17666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17675 if test "$INTELCXX" != "yes"; then
17679 ac_cpp='$CXXCPP $CPPFLAGS'
17680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17684 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17685 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17686 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17689 cat >conftest.$ac_ext <<_ACEOF
17692 cat confdefs.h >>conftest.$ac_ext
17693 cat >>conftest.$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17700 #ifndef __SUNPRO_CC
17708 rm -f conftest.$ac_objext
17709 if { (ac_try="$ac_compile"
17710 case "(($ac_try" in
17711 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17712 *) ac_try_echo
=$ac_try;;
17714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17715 (eval "$ac_compile") 2>conftest.er1
17717 grep -v '^ *+' conftest.er1
>conftest.err
17719 cat conftest.err
>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } && {
17722 test -z "$ac_cxx_werror_flag" ||
17723 test ! -s conftest.err
17724 } && test -s conftest.
$ac_objext; then
17725 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.
$ac_ext >&5
17730 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17738 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17739 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17740 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17746 ac_cpp
='$CPP $CPPFLAGS'
17747 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17748 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17749 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17760 ac_cpp
='$CXXCPP $CPPFLAGS'
17761 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17762 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17763 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17765 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17766 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17767 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17768 echo $ECHO_N "(cached) $ECHO_C" >&6
17770 cat >conftest.
$ac_ext <<_ACEOF
17773 cat confdefs.h
>>conftest.
$ac_ext
17774 cat >>conftest.
$ac_ext <<_ACEOF
17775 /* end confdefs.h. */
17789 rm -f conftest.
$ac_objext
17790 if { (ac_try
="$ac_compile"
17791 case "(($ac_try" in
17792 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17793 *) ac_try_echo=$ac_try;;
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_compile") 2>conftest.er1
17798 grep -v '^ *+' conftest.er1 >conftest.err
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && {
17803 test -z "$ac_cxx_werror_flag" ||
17804 test ! -s conftest.err
17805 } && test -s conftest.$ac_objext; then
17806 bakefile_cv_cxx_compiler___HP_aCC=yes
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17811 bakefile_cv_cxx_compiler___HP_aCC=no
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17819 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17820 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17821 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17827 ac_cpp='$CPP $CPPFLAGS'
17828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17840 ac_cpp='$CXXCPP $CPPFLAGS'
17841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17845 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17846 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17847 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17848 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 cat >conftest.$ac_ext <<_ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17869 rm -f conftest.$ac_objext
17870 if { (ac_try="$ac_compile"
17871 case "(($ac_try" in
17872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17873 *) ac_try_echo
=$ac_try;;
17875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17876 (eval "$ac_compile") 2>conftest.er1
17878 grep -v '^ *+' conftest.er1
>conftest.err
17880 cat conftest.err
>&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } && {
17883 test -z "$ac_cxx_werror_flag" ||
17884 test ! -s conftest.err
17885 } && test -s conftest.
$ac_objext; then
17886 bakefile_cv_cxx_compiler___DECCXX
=yes
17888 echo "$as_me: failed program was:" >&5
17889 sed 's/^/| /' conftest.
$ac_ext >&5
17891 bakefile_cv_cxx_compiler___DECCXX
=no
17895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17899 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17900 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17901 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17907 ac_cpp
='$CPP $CPPFLAGS'
17908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17920 ac_cpp
='$CXXCPP $CPPFLAGS'
17921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17925 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17926 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17927 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17928 echo $ECHO_N "(cached) $ECHO_C" >&6
17930 cat >conftest.
$ac_ext <<_ACEOF
17933 cat confdefs.h
>>conftest.
$ac_ext
17934 cat >>conftest.
$ac_ext <<_ACEOF
17935 /* end confdefs.h. */
17941 #ifndef __SUNPRO_CC
17949 rm -f conftest.
$ac_objext
17950 if { (ac_try
="$ac_compile"
17951 case "(($ac_try" in
17952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17953 *) ac_try_echo=$ac_try;;
17955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17956 (eval "$ac_compile") 2>conftest.er1
17958 grep -v '^ *+' conftest.er1 >conftest.err
17960 cat conftest.err >&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } && {
17963 test -z "$ac_cxx_werror_flag" ||
17964 test ! -s conftest.err
17965 } && test -s conftest.$ac_objext; then
17966 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.$ac_ext >&5
17971 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17979 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17980 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17981 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17987 ac_cpp='$CPP $CPPFLAGS'
17988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18000 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18001 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18002 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18003 { (exit 1); exit 1; }; }
18006 if test "x$SUNCXX" != xyes; then
18007 if test -n "$ac_tool_prefix"; then
18008 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18009 set dummy ${ac_tool_prefix}ar; ac_word=$2
18010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18012 if test "${ac_cv_prog_AR+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18015 if test -n "$AR"; then
18016 ac_cv_prog_AR="$AR" # Let the user override the test.
18018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18019 for as_dir in $PATH
18022 test -z "$as_dir" && as_dir=.
18023 for ac_exec_ext in '' $ac_executable_extensions; do
18024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18025 ac_cv_prog_AR="${ac_tool_prefix}ar"
18026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18036 if test -n "$AR"; then
18037 { echo "$as_me:$LINENO: result: $AR" >&5
18038 echo "${ECHO_T}$AR" >&6; }
18040 { echo "$as_me:$LINENO: result: no" >&5
18041 echo "${ECHO_T}no" >&6; }
18046 if test -z "$ac_cv_prog_AR"; then
18048 # Extract the first word of "ar", so it can be a program name with args.
18049 set dummy ar; ac_word=$2
18050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18052 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18053 echo $ECHO_N "(cached) $ECHO_C" >&6
18055 if test -n "$ac_ct_AR"; then
18056 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18059 for as_dir in $PATH
18062 test -z "$as_dir" && as_dir=.
18063 for ac_exec_ext in '' $ac_executable_extensions; do
18064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18065 ac_cv_prog_ac_ct_AR="ar"
18066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18075 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18076 if test -n "$ac_ct_AR"; then
18077 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18078 echo "${ECHO_T}$ac_ct_AR" >&6; }
18080 { echo "$as_me:$LINENO: result: no" >&5
18081 echo "${ECHO_T}no" >&6; }
18084 if test "x$ac_ct_AR" = x; then
18087 case $cross_compiling:$ac_tool_warned in
18089 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18090 whose name does not start with the host triplet. If you think this
18091 configuration is useful to you, please write to autoconf@gnu.org." >&5
18092 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18093 whose name does not start with the host triplet. If you think this
18094 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18095 ac_tool_warned=yes ;;
18100 AR="$ac_cv_prog_AR"
18103 if test "x$AR" = "x" ; then
18104 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18105 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18106 { (exit 1); exit 1; }; }
18111 if test "$wxUSE_MAC" = 1; then
18113 retest_macosx_linking=no
18115 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18116 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18117 # Implicitly turn on the new --with-macosx-sdk using the default
18118 # SDK which provides the behavior this option has always had.
18119 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18120 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18121 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18122 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18123 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18124 wxUSE_MACOSX_SDK=yes
18127 # Complain to user if he specified an argument to --enable-universal_binary
18128 # and also 1) specified --with-macosx-sdk using the default (yes) or
18129 # 2) specified --with-macosx-sdk using a path or 3) specified
18130 # --without-macosx-sdk (no).
18131 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18132 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18133 See \`config.log
' for more details." >&5
18134 echo "$as_me: 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.
" >&2;}
18136 { (exit 1); exit 1; }; }
18138 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18139 # special-case the empty string because the below test simply
18140 # converts "no
" to the empty string anyway.
18141 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18142 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18143 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18146 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18147 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18148 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18149 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18150 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18151 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18152 retest_macosx_linking=yes
18154 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18155 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18159 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18161 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18162 # TODO: Search for most recent SDK and use it.
18163 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18167 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18168 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18169 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18170 if ! test -d "$wxUSE_MACOSX_SDK"; then
18171 { { echo "$as_me:$LINENO: error
: not found
18172 See \
`config.log' for more details." >&5
18173 echo "$as_me: error: not found
18174 See \`config.log
' for more details." >&2;}
18175 { (exit 1); exit 1; }; }
18177 { echo "$as_me:$LINENO: result: exists" >&5
18178 echo "${ECHO_T}exists" >&6; }
18180 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18181 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18182 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18183 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18184 retest_macosx_linking=yes
18187 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18188 wxUSE_MACOSX_VERSION_MIN=
18189 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18190 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18191 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18192 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18194 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/'`
18196 # If that failed, try again with the new key
18197 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18199 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/'`
18203 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18204 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18205 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18206 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18208 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18209 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18210 wxUSE_MACOSX_VERSION_MIN=
18213 wxUSE_MACOSX_VERSION_MIN=
18215 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18216 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18217 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18218 # otherwise configure stops on leopard for universal_binary
18219 wxUSE_MACOSX_VERSION_MIN=10.4
18221 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18222 wxUSE_MACOSX_VERSION_MIN=10.5
18227 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18231 if test "$wxUSE_OSX_CARBON" = 1; then
18235 if test "x$NEEDS_GCC40" == "xyes"; then
18236 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18237 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18238 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18239 if test "x$CC" = "xgcc"; then
18240 CCVERSION=`$CC --version | grep 4.[2-9].`
18241 if test "x$CCVERSION" != "x"; then
18242 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18243 CC="/usr/bin/gcc-4.0"
18247 if test "x$CXX" = "xg++"; then
18248 CCVERSION=`$CXX --version | grep 4.[2-9].`
18249 if test "x$CCVERSION" != "x"; then
18250 CXX="/usr/bin/g++-4.0"
18255 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18256 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18257 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18258 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18259 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18260 retest_macosx_linking=yes
18263 if test "x$retest_macosx_linking" = "xyes"; then
18265 ac_cpp='$CPP $CPPFLAGS'
18266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18267 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18270 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18271 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18272 cat >conftest.$ac_ext <<_ACEOF
18275 cat confdefs.h >>conftest.$ac_ext
18276 cat >>conftest.$ac_ext <<_ACEOF
18277 /* end confdefs.h. */
18287 rm -f conftest.$ac_objext conftest$ac_exeext
18288 if { (ac_try="$ac_link"
18289 case "(($ac_try" in
18290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18291 *) ac_try_echo=$ac_try;;
18293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18294 (eval "$ac_link") 2>conftest.er1
18296 grep -v '^
*+' conftest.er1 >conftest.err
18298 cat conftest.err >&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); } && {
18301 test -z "$ac_c_werror_flag" ||
18302 test ! -s conftest.err
18303 } && test -s conftest$ac_exeext &&
18304 $as_test_x conftest$ac_exeext; then
18305 { echo "$as_me:$LINENO: result: yes" >&5
18306 echo "${ECHO_T}yes" >&6; }
18308 echo "$as_me: failed program was:" >&5
18309 sed 's
/^
/| /' conftest.$ac_ext >&5
18311 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18312 See \`config.log' for more details.
" >&5
18313 echo "$as_me: error
: no. Try a different SDK
18314 See \
`config.log' for more details." >&2;}
18315 { (exit 1); exit 1; }; }; exit 1
18318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18319 conftest$ac_exeext conftest.$ac_ext
18321 ac_cpp='$CPP $CPPFLAGS'
18322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18328 ac_cpp='$CXXCPP $CPPFLAGS'
18329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18333 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18334 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18335 cat >conftest.$ac_ext <<_ACEOF
18338 cat confdefs.h >>conftest.$ac_ext
18339 cat >>conftest.$ac_ext <<_ACEOF
18340 /* end confdefs.h. */
18350 rm -f conftest.$ac_objext conftest$ac_exeext
18351 if { (ac_try="$ac_link"
18352 case "(($ac_try" in
18353 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18354 *) ac_try_echo
=$ac_try;;
18356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18357 (eval "$ac_link") 2>conftest.er1
18359 grep -v '^ *+' conftest.er1
>conftest.err
18361 cat conftest.err
>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); } && {
18364 test -z "$ac_cxx_werror_flag" ||
18365 test ! -s conftest.err
18366 } && test -s conftest
$ac_exeext &&
18367 $as_test_x conftest
$ac_exeext; then
18368 { echo "$as_me:$LINENO: result: yes" >&5
18369 echo "${ECHO_T}yes" >&6; }
18371 echo "$as_me: failed program was:" >&5
18372 sed 's/^/| /' conftest.
$ac_ext >&5
18374 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18375 See \`config.log' for more details." >&5
18376 echo "$as_me: error: no. Try a different SDK
18377 See \`config.log' for more details." >&2;}
18378 { (exit 1); exit 1; }; }; exit 1
18381 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18382 conftest
$ac_exeext conftest.
$ac_ext
18384 ac_cpp
='$CPP $CPPFLAGS'
18385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18395 INSTALL_PROGRAM
="cp -fp"
18396 INSTALL_DATA
="cp -fp"
18403 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18404 CXXFLAGS
="-qunique $CXXFLAGS"
18408 powerpc
-*-darwin* )
18409 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18410 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18411 cat >conftest.
$ac_ext <<_ACEOF
18414 cat confdefs.h
>>conftest.
$ac_ext
18415 cat >>conftest.
$ac_ext <<_ACEOF
18416 /* end confdefs.h. */
18421 #ifndef __POWERPC__
18422 choke me for lack of PowerPC
18429 rm -f conftest.
$ac_objext
18430 if { (ac_try
="$ac_compile"
18431 case "(($ac_try" in
18432 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18433 *) ac_try_echo=$ac_try;;
18435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18436 (eval "$ac_compile") 2>conftest.er1
18438 grep -v '^ *+' conftest.er1 >conftest.err
18440 cat conftest.err >&5
18441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442 (exit $ac_status); } && {
18443 test -z "$ac_c_werror_flag" ||
18444 test ! -s conftest.err
18445 } && test -s conftest.$ac_objext; then
18446 { echo "$as_me:$LINENO: result: yes" >&5
18447 echo "${ECHO_T}yes" >&6; }
18449 echo "$as_me: failed program was:" >&5
18450 sed 's/^/| /' conftest.$ac_ext >&5
18452 { echo "$as_me:$LINENO: result: no" >&5
18453 echo "${ECHO_T}no" >&6; }
18454 cat >>confdefs.h <<\_ACEOF
18455 #define __POWERPC__ 1
18461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18467 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18468 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18469 cat >conftest.$ac_ext <<_ACEOF
18472 cat confdefs.h >>conftest.$ac_ext
18473 cat >>conftest.$ac_ext <<_ACEOF
18474 /* end confdefs.h. */
18475 #include <CoreFoundation/CFBase.h>
18485 rm -f conftest.$ac_objext
18486 if { (ac_try="$ac_compile"
18487 case "(($ac_try" in
18488 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18489 *) ac_try_echo
=$ac_try;;
18491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18492 (eval "$ac_compile") 2>conftest.er1
18494 grep -v '^ *+' conftest.er1
>conftest.err
18496 cat conftest.err
>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); } && {
18499 test -z "$ac_c_werror_flag" ||
18500 test ! -s conftest.err
18501 } && test -s conftest.
$ac_objext; then
18502 { echo "$as_me:$LINENO: result: yes" >&5
18503 echo "${ECHO_T}yes" >&6; }
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.
$ac_ext >&5
18508 { echo "$as_me:$LINENO: result: no" >&5
18509 echo "${ECHO_T}no" >&6; }
18510 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18511 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18512 cat >conftest.
$ac_ext <<_ACEOF
18515 cat confdefs.h
>>conftest.
$ac_ext
18516 cat >>conftest.
$ac_ext <<_ACEOF
18517 /* end confdefs.h. */
18518 #define __CF_USE_FRAMEWORK_INCLUDES__
18519 #include <CoreFoundation/CFBase.h>
18529 rm -f conftest.
$ac_objext
18530 if { (ac_try
="$ac_compile"
18531 case "(($ac_try" in
18532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18533 *) ac_try_echo=$ac_try;;
18535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18536 (eval "$ac_compile") 2>conftest.er1
18538 grep -v '^ *+' conftest.er1 >conftest.err
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } && {
18543 test -z "$ac_c_werror_flag" ||
18544 test ! -s conftest.err
18545 } && test -s conftest.$ac_objext; then
18546 { echo "$as_me:$LINENO: result: yes" >&5
18547 echo "${ECHO_T}yes" >&6; }
18548 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18550 echo "$as_me: failed program was:" >&5
18551 sed 's/^/| /' conftest.$ac_ext >&5
18553 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18554 See \`config.log
' for more details." >&5
18555 echo "$as_me: error: no. CoreFoundation not available.
18556 See \`config.log' for more details.
" >&2;}
18557 { (exit 1); exit 1; }; }
18561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18571 doesnt_want_win32=0
18574 if test "$wxUSE_MSW" = 1 ; then
18577 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18578 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18579 if test "${wx_cv_nocygwin+set}" = set; then
18580 echo $ECHO_N "(cached
) $ECHO_C" >&6
18583 cat >conftest.$ac_ext <<_ACEOF
18586 cat confdefs.h >>conftest.$ac_ext
18587 cat >>conftest.$ac_ext <<_ACEOF
18588 /* end confdefs.h. */
18602 rm -f conftest.$ac_objext
18603 if { (ac_try="$ac_compile"
18604 case "(($ac_try" in
18605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18606 *) ac_try_echo=$ac_try;;
18608 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18609 (eval "$ac_compile") 2>conftest.er1
18611 grep -v '^ *+' conftest.er1 >conftest.err
18613 cat conftest.err >&5
18614 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18615 (exit $ac_status); } && {
18616 test -z "$ac_c_werror_flag" ||
18617 test ! -s conftest.err
18618 } && test -s conftest.$ac_objext; then
18621 echo "$as_me: failed program was
:" >&5
18622 sed 's/^/| /' conftest.$ac_ext >&5
18628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18632 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18633 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18635 if test "$wx_cv_nocygwin" = "yes"; then
18638 doesnt_want_win32=1
18641 if test "$wants_win32" = 1 ; then
18642 BAKEFILE_FORCE_PLATFORM=win32
18650 if test "$wxUSE_WINE" = "yes"; then
18652 LDFLAGS_GUI="-mwindows"
18655 if test "$wants_win32" = 1 ; then
18658 cat >>confdefs.h <<\_ACEOF
18659 #define __WIN32__ 1
18662 cat >>confdefs.h <<\_ACEOF
18663 #define __WIN95__ 1
18666 cat >>confdefs.h <<\_ACEOF
18667 #define __WINDOWS__ 1
18670 cat >>confdefs.h <<\_ACEOF
18671 #define __GNUWIN32__ 1
18674 cat >>confdefs.h <<\_ACEOF
18679 if test "$doesnt_want_win32" = 1 ; then
18684 if test "$USE_UNIX" = 1 ; then
18686 cat >>confdefs.h <<\_ACEOF
18693 *-pc-os2_emx | *-pc-os2-emx )
18694 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18695 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18696 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18697 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18698 echo $ECHO_N "(cached
) $ECHO_C" >&6
18700 ac_check_lib_save_LIBS=$LIBS
18701 LIBS="-lcExt $LIBS"
18702 cat >conftest.$ac_ext <<_ACEOF
18705 cat confdefs.h >>conftest.$ac_ext
18706 cat >>conftest.$ac_ext <<_ACEOF
18707 /* end confdefs.h. */
18709 /* Override any GCC internal prototype to avoid an error.
18710 Use char because int might match the return type of a GCC
18711 builtin and then its argument prototype would still apply. */
18724 rm -f conftest.$ac_objext conftest$ac_exeext
18725 if { (ac_try="$ac_link"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18730 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_link") 2>conftest.er1
18733 grep -v '^ *+' conftest.er1 >conftest.err
18735 cat conftest.err >&5
18736 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18737 (exit $ac_status); } && {
18738 test -z "$ac_c_werror_flag" ||
18739 test ! -s conftest.err
18740 } && test -s conftest$ac_exeext &&
18741 $as_test_x conftest$ac_exeext; then
18742 ac_cv_lib_cExt_drand48=yes
18744 echo "$as_me: failed program was
:" >&5
18745 sed 's/^/| /' conftest.$ac_ext >&5
18747 ac_cv_lib_cExt_drand48=no
18750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18751 conftest$ac_exeext conftest.$ac_ext
18752 LIBS=$ac_check_lib_save_LIBS
18754 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18755 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18756 if test $ac_cv_lib_cExt_drand48 = yes; then
18757 LIBS="$LIBS -lcExt"
18761 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18763 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18764 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18765 if test "${wx_cv_gccversion+set}" = set; then
18766 echo $ECHO_N "(cached
) $ECHO_C" >&6
18769 if test "$cross_compiling" = yes; then
18770 wx_cv_gccversion="EMX2
"
18773 cat >conftest.$ac_ext <<_ACEOF
18776 cat confdefs.h >>conftest.$ac_ext
18777 cat >>conftest.$ac_ext <<_ACEOF
18778 /* end confdefs.h. */
18784 FILE *f=fopen("conftestval
", "w
");
18789 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18791 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18801 rm -f conftest$ac_exeext
18802 if { (ac_try="$ac_link"
18803 case "(($ac_try" in
18804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18805 *) ac_try_echo=$ac_try;;
18807 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18808 (eval "$ac_link") 2>&5
18810 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18811 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18812 { (case "(($ac_try" in
18813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18814 *) ac_try_echo=$ac_try;;
18816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18817 (eval "$ac_try") 2>&5
18819 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18820 (exit $ac_status); }; }; then
18821 wx_cv_gccversion=`cat conftestval`
18823 echo "$as_me: program exited with status
$ac_status" >&5
18824 echo "$as_me: failed program was
:" >&5
18825 sed 's/^/| /' conftest.$ac_ext >&5
18827 ( exit $ac_status )
18828 wx_cv_gccversion="EMX2
"
18830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18836 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18837 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18838 if test "$wx_cv_gccversion" = "EMX2
"; then
18839 LIBS="$LIBS -lstdcpp"
18840 LDFLAGS="$LDFLAGS -Zsysv-signals"
18842 if test "$wx_cv_gccversion" = "EMX3
"; then
18843 LIBS="$LIBS -lstdcxx -lgcc"
18844 LDFLAGS="$LDFLAGS -Zsysv-signals"
18846 LIBS="$LIBS -lstdc++"
18849 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18850 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18851 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18858 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18859 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18860 if test "${ac_cv_string_strcasecmp+set}" = set; then
18861 echo $ECHO_N "(cached
) $ECHO_C" >&6
18864 cat >conftest.$ac_ext <<_ACEOF
18867 cat confdefs.h >>conftest.$ac_ext
18868 cat >>conftest.$ac_ext <<_ACEOF
18869 /* end confdefs.h. */
18871 #include <string.h>
18877 strcasecmp("foo
", "bar
");
18883 rm -f conftest.$ac_objext conftest$ac_exeext
18884 if { (ac_try="$ac_link"
18885 case "(($ac_try" in
18886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18887 *) ac_try_echo=$ac_try;;
18889 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18890 (eval "$ac_link") 2>conftest.er1
18892 grep -v '^ *+' conftest.er1 >conftest.err
18894 cat conftest.err >&5
18895 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18896 (exit $ac_status); } && {
18897 test -z "$ac_c_werror_flag" ||
18898 test ! -s conftest.err
18899 } && test -s conftest$ac_exeext &&
18900 $as_test_x conftest$ac_exeext; then
18901 ac_cv_string_strcasecmp=yes
18903 echo "$as_me: failed program was
:" >&5
18904 sed 's/^/| /' conftest.$ac_ext >&5
18906 ac_cv_string_strcasecmp=no
18910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18911 conftest$ac_exeext conftest.$ac_ext
18914 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18915 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18917 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18918 cat >>confdefs.h <<\_ACEOF
18919 #define HAVE_STRCASECMP_IN_STRING_H 1
18923 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18924 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18925 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18926 echo $ECHO_N "(cached
) $ECHO_C" >&6
18929 cat >conftest.$ac_ext <<_ACEOF
18932 cat confdefs.h >>conftest.$ac_ext
18933 cat >>conftest.$ac_ext <<_ACEOF
18934 /* end confdefs.h. */
18936 #include <strings.h>
18942 strcasecmp("foo
", "bar
");
18948 rm -f conftest.$ac_objext conftest$ac_exeext
18949 if { (ac_try="$ac_link"
18950 case "(($ac_try" in
18951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18952 *) ac_try_echo=$ac_try;;
18954 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18955 (eval "$ac_link") 2>conftest.er1
18957 grep -v '^ *+' conftest.er1 >conftest.err
18959 cat conftest.err >&5
18960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18961 (exit $ac_status); } && {
18962 test -z "$ac_c_werror_flag" ||
18963 test ! -s conftest.err
18964 } && test -s conftest$ac_exeext &&
18965 $as_test_x conftest$ac_exeext; then
18966 ac_cv_strings_strcasecmp=yes
18968 echo "$as_me: failed program was
:" >&5
18969 sed 's/^/| /' conftest.$ac_ext >&5
18971 ac_cv_strings_strcasecmp=no
18975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18976 conftest$ac_exeext conftest.$ac_ext
18979 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18980 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18982 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18983 cat >>confdefs.h <<\_ACEOF
18984 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18988 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18989 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18990 { (exit 1); exit 1; }; }
18998 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18999 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19000 if test "${ac_cv_header_stdc+set}" = set; then
19001 echo $ECHO_N "(cached
) $ECHO_C" >&6
19003 cat >conftest.$ac_ext <<_ACEOF
19006 cat confdefs.h >>conftest.$ac_ext
19007 cat >>conftest.$ac_ext <<_ACEOF
19008 /* end confdefs.h. */
19009 #include <stdlib.h>
19010 #include <stdarg.h>
19011 #include <string.h>
19022 rm -f conftest.$ac_objext
19023 if { (ac_try="$ac_compile"
19024 case "(($ac_try" in
19025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19026 *) ac_try_echo=$ac_try;;
19028 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19029 (eval "$ac_compile") 2>conftest.er1
19031 grep -v '^ *+' conftest.er1 >conftest.err
19033 cat conftest.err >&5
19034 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19035 (exit $ac_status); } && {
19036 test -z "$ac_c_werror_flag" ||
19037 test ! -s conftest.err
19038 } && test -s conftest.$ac_objext; then
19039 ac_cv_header_stdc=yes
19041 echo "$as_me: failed program was
:" >&5
19042 sed 's/^/| /' conftest.$ac_ext >&5
19044 ac_cv_header_stdc=no
19047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19049 if test $ac_cv_header_stdc = yes; then
19050 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19051 cat >conftest.$ac_ext <<_ACEOF
19054 cat confdefs.h >>conftest.$ac_ext
19055 cat >>conftest.$ac_ext <<_ACEOF
19056 /* end confdefs.h. */
19057 #include <string.h>
19060 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19061 $EGREP "memchr
" >/dev/null 2>&1; then
19064 ac_cv_header_stdc=no
19070 if test $ac_cv_header_stdc = yes; then
19071 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19072 cat >conftest.$ac_ext <<_ACEOF
19075 cat confdefs.h >>conftest.$ac_ext
19076 cat >>conftest.$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19078 #include <stdlib.h>
19081 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19082 $EGREP "free
" >/dev/null 2>&1; then
19085 ac_cv_header_stdc=no
19091 if test $ac_cv_header_stdc = yes; then
19092 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19093 if test "$cross_compiling" = yes; then
19096 cat >conftest.$ac_ext <<_ACEOF
19099 cat confdefs.h >>conftest.$ac_ext
19100 cat >>conftest.$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19103 #include <stdlib.h>
19104 #if ((' ' & 0x0FF) == 0x020)
19105 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19106 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19108 # define ISLOWER(c) \
19109 (('a' <= (c) && (c) <= 'i') \
19110 || ('j' <= (c) && (c) <= 'r') \
19111 || ('s' <= (c) && (c) <= 'z'))
19112 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19115 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19120 for (i = 0; i < 256; i++)
19121 if (XOR (islower (i), ISLOWER (i))
19122 || toupper (i) != TOUPPER (i))
19127 rm -f conftest$ac_exeext
19128 if { (ac_try="$ac_link"
19129 case "(($ac_try" in
19130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19133 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19134 (eval "$ac_link") 2>&5
19136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19138 { (case "(($ac_try" in
19139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19140 *) ac_try_echo=$ac_try;;
19142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19143 (eval "$ac_try") 2>&5
19145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19146 (exit $ac_status); }; }; then
19149 echo "$as_me: program exited with status
$ac_status" >&5
19150 echo "$as_me: failed program was
:" >&5
19151 sed 's/^/| /' conftest.$ac_ext >&5
19153 ( exit $ac_status )
19154 ac_cv_header_stdc=no
19156 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19162 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19163 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19164 if test $ac_cv_header_stdc = yes; then
19166 cat >>confdefs.h <<\_ACEOF
19167 #define STDC_HEADERS 1
19172 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19182 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19183 inttypes.h stdint.h unistd.h
19185 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19186 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19187 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19188 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19189 echo $ECHO_N "(cached
) $ECHO_C" >&6
19191 cat >conftest.$ac_ext <<_ACEOF
19194 cat confdefs.h >>conftest.$ac_ext
19195 cat >>conftest.$ac_ext <<_ACEOF
19196 /* end confdefs.h. */
19197 $ac_includes_default
19199 #include <$ac_header>
19201 rm -f conftest.$ac_objext
19202 if { (ac_try="$ac_compile"
19203 case "(($ac_try" in
19204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19205 *) ac_try_echo=$ac_try;;
19207 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19208 (eval "$ac_compile") 2>conftest.er1
19210 grep -v '^ *+' conftest.er1 >conftest.err
19212 cat conftest.err >&5
19213 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19214 (exit $ac_status); } && {
19215 test -z "$ac_c_werror_flag" ||
19216 test ! -s conftest.err
19217 } && test -s conftest.$ac_objext; then
19218 eval "$as_ac_Header=yes"
19220 echo "$as_me: failed program was
:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19223 eval "$as_ac_Header=no
"
19226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19228 ac_res=`eval echo '${'$as_ac_Header'}'`
19229 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19230 echo "${ECHO_T}$ac_res" >&6; }
19231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19232 cat >>confdefs.h <<_ACEOF
19233 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19243 for ac_header in langinfo.h wchar.h
19245 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19246 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19247 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19248 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19249 echo $ECHO_N "(cached
) $ECHO_C" >&6
19251 cat >conftest.$ac_ext <<_ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 $ac_includes_default
19259 #include <$ac_header>
19261 rm -f conftest.$ac_objext
19262 if { (ac_try="$ac_compile"
19263 case "(($ac_try" in
19264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19265 *) ac_try_echo=$ac_try;;
19267 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19268 (eval "$ac_compile") 2>conftest.er1
19270 grep -v '^ *+' conftest.er1 >conftest.err
19272 cat conftest.err >&5
19273 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19274 (exit $ac_status); } && {
19275 test -z "$ac_c_werror_flag" ||
19276 test ! -s conftest.err
19277 } && test -s conftest.$ac_objext; then
19278 eval "$as_ac_Header=yes"
19280 echo "$as_me: failed program was
:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19283 eval "$as_ac_Header=no
"
19286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19288 ac_res=`eval echo '${'$as_ac_Header'}'`
19289 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19290 echo "${ECHO_T}$ac_res" >&6; }
19291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19292 cat >>confdefs.h <<_ACEOF
19293 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19301 if test "$ac_cv_header_wchar_h" != "yes"; then
19303 for ac_header in wcstr.h
19305 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19306 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19307 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19308 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19309 echo $ECHO_N "(cached
) $ECHO_C" >&6
19311 cat >conftest.$ac_ext <<_ACEOF
19314 cat confdefs.h >>conftest.$ac_ext
19315 cat >>conftest.$ac_ext <<_ACEOF
19316 /* end confdefs.h. */
19317 $ac_includes_default
19319 #include <$ac_header>
19321 rm -f conftest.$ac_objext
19322 if { (ac_try="$ac_compile"
19323 case "(($ac_try" in
19324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19325 *) ac_try_echo=$ac_try;;
19327 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19328 (eval "$ac_compile") 2>conftest.er1
19330 grep -v '^ *+' conftest.er1 >conftest.err
19332 cat conftest.err >&5
19333 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19334 (exit $ac_status); } && {
19335 test -z "$ac_c_werror_flag" ||
19336 test ! -s conftest.err
19337 } && test -s conftest.$ac_objext; then
19338 eval "$as_ac_Header=yes"
19340 echo "$as_me: failed program was
:" >&5
19341 sed 's/^/| /' conftest.$ac_ext >&5
19343 eval "$as_ac_Header=no
"
19346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19348 ac_res=`eval echo '${'$as_ac_Header'}'`
19349 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19350 echo "${ECHO_T}$ac_res" >&6; }
19351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19352 cat >>confdefs.h <<_ACEOF
19353 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19363 *-pc-os2_emx | *-pc-os2-emx )
19364 if test $ac_cv_header_langinfo_h = "yes" \
19365 -a \( "$wx_cv_gccversion" = "EMX2
" \
19366 -o "$wx_cv_gccversion" = "EMX3
" \
19367 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19368 LIBS="$LIBS -lintl"
19373 if test "$USE_UNIX" = 1 ; then
19375 for ac_header in sys/select.h
19377 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19378 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19379 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19380 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19381 echo $ECHO_N "(cached
) $ECHO_C" >&6
19383 cat >conftest.$ac_ext <<_ACEOF
19386 cat confdefs.h >>conftest.$ac_ext
19387 cat >>conftest.$ac_ext <<_ACEOF
19388 /* end confdefs.h. */
19389 $ac_includes_default
19391 #include <$ac_header>
19393 rm -f conftest.$ac_objext
19394 if { (ac_try="$ac_compile"
19395 case "(($ac_try" in
19396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19397 *) ac_try_echo=$ac_try;;
19399 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19400 (eval "$ac_compile") 2>conftest.er1
19402 grep -v '^ *+' conftest.er1 >conftest.err
19404 cat conftest.err >&5
19405 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19406 (exit $ac_status); } && {
19407 test -z "$ac_c_werror_flag" ||
19408 test ! -s conftest.err
19409 } && test -s conftest.$ac_objext; then
19410 eval "$as_ac_Header=yes"
19412 echo "$as_me: failed program was
:" >&5
19413 sed 's/^/| /' conftest.$ac_ext >&5
19415 eval "$as_ac_Header=no
"
19418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19420 ac_res=`eval echo '${'$as_ac_Header'}'`
19421 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19422 echo "${ECHO_T}$ac_res" >&6; }
19423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19424 cat >>confdefs.h <<_ACEOF
19425 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19435 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19436 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19437 if test "${ac_cv_c_const+set}" = set; then
19438 echo $ECHO_N "(cached
) $ECHO_C" >&6
19440 cat >conftest.$ac_ext <<_ACEOF
19443 cat confdefs.h >>conftest.$ac_ext
19444 cat >>conftest.$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19450 /* FIXME: Include the comments suggested by Paul. */
19451 #ifndef __cplusplus
19452 /* Ultrix mips cc rejects this. */
19453 typedef int charset[2];
19455 /* SunOS 4.1.1 cc rejects this. */
19456 char const *const *pcpcc;
19458 /* NEC SVR4.0.2 mips cc rejects this. */
19459 struct point {int x, y;};
19460 static struct point const zero = {0,0};
19461 /* AIX XL C 1.02.0.0 rejects this.
19462 It does not let you subtract one const X* pointer from another in
19463 an arm of an if-expression whose if-part is not a constant
19465 const char *g = "string
";
19466 pcpcc = &g + (g ? g-g : 0);
19467 /* HPUX 7.0 cc rejects these. */
19469 ppc = (char**) pcpcc;
19470 pcpcc = (char const *const *) ppc;
19471 { /* SCO 3.2v4 cc rejects this. */
19473 char const *s = 0 ? (char *) 0 : (char const *) 0;
19478 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19479 int x[] = {25, 17};
19480 const int *foo = &x[0];
19483 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19484 typedef const int *iptr;
19488 { /* AIX XL C 1.02.0.0 rejects this saying
19489 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19490 struct s { int j; const int *ap[3]; };
19491 struct s *b; b->j = 5;
19493 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19494 const int foo = 10;
19495 if (!foo) return 0;
19497 return !cs[0] && !zero.x;
19504 rm -f conftest.$ac_objext
19505 if { (ac_try="$ac_compile"
19506 case "(($ac_try" in
19507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19508 *) ac_try_echo=$ac_try;;
19510 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19511 (eval "$ac_compile") 2>conftest.er1
19513 grep -v '^ *+' conftest.er1 >conftest.err
19515 cat conftest.err >&5
19516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19517 (exit $ac_status); } && {
19518 test -z "$ac_c_werror_flag" ||
19519 test ! -s conftest.err
19520 } && test -s conftest.$ac_objext; then
19523 echo "$as_me: failed program was
:" >&5
19524 sed 's/^/| /' conftest.$ac_ext >&5
19529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19531 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19532 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19533 if test $ac_cv_c_const = no; then
19535 cat >>confdefs.h <<\_ACEOF
19541 { echo "$as_me:$LINENO: checking
for inline
" >&5
19542 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19543 if test "${ac_cv_c_inline+set}" = set; then
19544 echo $ECHO_N "(cached
) $ECHO_C" >&6
19547 for ac_kw in inline __inline__ __inline; do
19548 cat >conftest.$ac_ext <<_ACEOF
19551 cat confdefs.h >>conftest.$ac_ext
19552 cat >>conftest.$ac_ext <<_ACEOF
19553 /* end confdefs.h. */
19554 #ifndef __cplusplus
19556 static $ac_kw foo_t static_foo () {return 0; }
19557 $ac_kw foo_t foo () {return 0; }
19561 rm -f conftest.$ac_objext
19562 if { (ac_try="$ac_compile"
19563 case "(($ac_try" in
19564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19565 *) ac_try_echo=$ac_try;;
19567 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19568 (eval "$ac_compile") 2>conftest.er1
19570 grep -v '^ *+' conftest.er1 >conftest.err
19572 cat conftest.err >&5
19573 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19574 (exit $ac_status); } && {
19575 test -z "$ac_c_werror_flag" ||
19576 test ! -s conftest.err
19577 } && test -s conftest.$ac_objext; then
19578 ac_cv_c_inline=$ac_kw
19580 echo "$as_me: failed program was
:" >&5
19581 sed 's/^/| /' conftest.$ac_ext >&5
19586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19587 test "$ac_cv_c_inline" != no && break
19591 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19592 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19595 case $ac_cv_c_inline in
19598 case $ac_cv_c_inline in
19600 *) ac_val=$ac_cv_c_inline;;
19602 cat >>confdefs.h <<_ACEOF
19603 #ifndef __cplusplus
19604 #define inline $ac_val
19611 { echo "$as_me:$LINENO: checking
for short
" >&5
19612 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19613 if test "${ac_cv_type_short+set}" = set; then
19614 echo $ECHO_N "(cached
) $ECHO_C" >&6
19616 cat >conftest.$ac_ext <<_ACEOF
19619 cat confdefs.h >>conftest.$ac_ext
19620 cat >>conftest.$ac_ext <<_ACEOF
19621 /* end confdefs.h. */
19622 $ac_includes_default
19623 typedef short ac__type_new_;
19627 if ((ac__type_new_ *) 0)
19629 if (sizeof (ac__type_new_))
19635 rm -f conftest.$ac_objext
19636 if { (ac_try="$ac_compile"
19637 case "(($ac_try" in
19638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19639 *) ac_try_echo=$ac_try;;
19641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19642 (eval "$ac_compile") 2>conftest.er1
19644 grep -v '^ *+' conftest.er1 >conftest.err
19646 cat conftest.err >&5
19647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19648 (exit $ac_status); } && {
19649 test -z "$ac_c_werror_flag" ||
19650 test ! -s conftest.err
19651 } && test -s conftest.$ac_objext; then
19652 ac_cv_type_short=yes
19654 echo "$as_me: failed program was
:" >&5
19655 sed 's/^/| /' conftest.$ac_ext >&5
19657 ac_cv_type_short=no
19660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19662 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19663 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19665 # The cast to long int works around a bug in the HP C Compiler
19666 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19667 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19668 # This bug is HP SR number 8606223364.
19669 { echo "$as_me:$LINENO: checking size of short
" >&5
19670 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19671 if test "${ac_cv_sizeof_short+set}" = set; then
19672 echo $ECHO_N "(cached
) $ECHO_C" >&6
19674 if test "$cross_compiling" = yes; then
19675 # Depending upon the size, compute the lo and hi bounds.
19676 cat >conftest.$ac_ext <<_ACEOF
19679 cat confdefs.h >>conftest.$ac_ext
19680 cat >>conftest.$ac_ext <<_ACEOF
19681 /* end confdefs.h. */
19682 $ac_includes_default
19683 typedef short ac__type_sizeof_;
19687 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19694 rm -f conftest.$ac_objext
19695 if { (ac_try="$ac_compile"
19696 case "(($ac_try" in
19697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19698 *) ac_try_echo=$ac_try;;
19700 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19701 (eval "$ac_compile") 2>conftest.er1
19703 grep -v '^ *+' conftest.er1 >conftest.err
19705 cat conftest.err >&5
19706 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19707 (exit $ac_status); } && {
19708 test -z "$ac_c_werror_flag" ||
19709 test ! -s conftest.err
19710 } && test -s conftest.$ac_objext; then
19713 cat >conftest.$ac_ext <<_ACEOF
19716 cat confdefs.h >>conftest.$ac_ext
19717 cat >>conftest.$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 $ac_includes_default
19720 typedef short ac__type_sizeof_;
19724 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19731 rm -f conftest.$ac_objext
19732 if { (ac_try="$ac_compile"
19733 case "(($ac_try" in
19734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19735 *) ac_try_echo=$ac_try;;
19737 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_compile") 2>conftest.er1
19740 grep -v '^ *+' conftest.er1 >conftest.err
19742 cat conftest.err >&5
19743 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19744 (exit $ac_status); } && {
19745 test -z "$ac_c_werror_flag" ||
19746 test ! -s conftest.err
19747 } && test -s conftest.$ac_objext; then
19748 ac_hi=$ac_mid; break
19750 echo "$as_me: failed program was
:" >&5
19751 sed 's/^/| /' conftest.$ac_ext >&5
19753 ac_lo=`expr $ac_mid + 1`
19754 if test $ac_lo -le $ac_mid; then
19758 ac_mid=`expr 2 '*' $ac_mid + 1`
19761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19764 echo "$as_me: failed program was
:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19767 cat >conftest.$ac_ext <<_ACEOF
19770 cat confdefs.h >>conftest.$ac_ext
19771 cat >>conftest.$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19773 $ac_includes_default
19774 typedef short ac__type_sizeof_;
19778 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19785 rm -f conftest.$ac_objext
19786 if { (ac_try="$ac_compile"
19787 case "(($ac_try" in
19788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19789 *) ac_try_echo=$ac_try;;
19791 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19792 (eval "$ac_compile") 2>conftest.er1
19794 grep -v '^ *+' conftest.er1 >conftest.err
19796 cat conftest.err >&5
19797 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19798 (exit $ac_status); } && {
19799 test -z "$ac_c_werror_flag" ||
19800 test ! -s conftest.err
19801 } && test -s conftest.$ac_objext; then
19804 cat >conftest.$ac_ext <<_ACEOF
19807 cat confdefs.h >>conftest.$ac_ext
19808 cat >>conftest.$ac_ext <<_ACEOF
19809 /* end confdefs.h. */
19810 $ac_includes_default
19811 typedef short ac__type_sizeof_;
19815 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19822 rm -f conftest.$ac_objext
19823 if { (ac_try="$ac_compile"
19824 case "(($ac_try" in
19825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19826 *) ac_try_echo=$ac_try;;
19828 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19829 (eval "$ac_compile") 2>conftest.er1
19831 grep -v '^ *+' conftest.er1 >conftest.err
19833 cat conftest.err >&5
19834 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19835 (exit $ac_status); } && {
19836 test -z "$ac_c_werror_flag" ||
19837 test ! -s conftest.err
19838 } && test -s conftest.$ac_objext; then
19839 ac_lo=$ac_mid; break
19841 echo "$as_me: failed program was
:" >&5
19842 sed 's/^/| /' conftest.$ac_ext >&5
19844 ac_hi=`expr '(' $ac_mid ')' - 1`
19845 if test $ac_mid -le $ac_hi; then
19849 ac_mid=`expr 2 '*' $ac_mid`
19852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19855 echo "$as_me: failed program was
:" >&5
19856 sed 's/^/| /' conftest.$ac_ext >&5
19861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19865 # Binary search between lo and hi bounds.
19866 while test "x
$ac_lo" != "x
$ac_hi"; do
19867 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19868 cat >conftest.$ac_ext <<_ACEOF
19871 cat confdefs.h >>conftest.$ac_ext
19872 cat >>conftest.$ac_ext <<_ACEOF
19873 /* end confdefs.h. */
19874 $ac_includes_default
19875 typedef short ac__type_sizeof_;
19879 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19886 rm -f conftest.$ac_objext
19887 if { (ac_try="$ac_compile"
19888 case "(($ac_try" in
19889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19890 *) ac_try_echo=$ac_try;;
19892 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19893 (eval "$ac_compile") 2>conftest.er1
19895 grep -v '^ *+' conftest.er1 >conftest.err
19897 cat conftest.err >&5
19898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19899 (exit $ac_status); } && {
19900 test -z "$ac_c_werror_flag" ||
19901 test ! -s conftest.err
19902 } && test -s conftest.$ac_objext; then
19905 echo "$as_me: failed program was
:" >&5
19906 sed 's/^/| /' conftest.$ac_ext >&5
19908 ac_lo=`expr '(' $ac_mid ')' + 1`
19911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19914 ?*) ac_cv_sizeof_short=$ac_lo;;
19915 '') if test "$ac_cv_type_short" = yes; then
19916 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19917 See \
`config.log' for more details." >&5
19918 echo "$as_me: error: cannot compute sizeof (short)
19919 See \`config.log
' for more details." >&2;}
19920 { (exit 77); exit 77; }; }
19922 ac_cv_sizeof_short=0
19926 cat >conftest.$ac_ext <<_ACEOF
19929 cat confdefs.h >>conftest.$ac_ext
19930 cat >>conftest.$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19932 $ac_includes_default
19933 typedef short ac__type_sizeof_;
19934 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19935 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19937 #include <stdlib.h>
19942 FILE *f = fopen ("conftest.val", "w");
19945 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19947 long int i = longval ();
19948 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19950 fprintf (f, "%ld\n", i);
19954 unsigned long int i = ulongval ();
19955 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19957 fprintf (f, "%lu\n", i);
19959 return ferror (f) || fclose (f) != 0;
19965 rm -f conftest$ac_exeext
19966 if { (ac_try="$ac_link"
19967 case "(($ac_try" in
19968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19969 *) ac_try_echo=$ac_try;;
19971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19972 (eval "$ac_link") 2>&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19976 { (case "(($ac_try" in
19977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19978 *) ac_try_echo=$ac_try;;
19980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19981 (eval "$ac_try") 2>&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; }; then
19985 ac_cv_sizeof_short=`cat conftest.val`
19987 echo "$as_me: program exited with status $ac_status" >&5
19988 echo "$as_me: failed program was:" >&5
19989 sed 's
/^
/| /' conftest.$ac_ext >&5
19991 ( exit $ac_status )
19992 if test "$ac_cv_type_short" = yes; then
19993 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19994 See \`config.log' for more details.
" >&5
19995 echo "$as_me: error
: cannot compute sizeof
(short
)
19996 See \
`config.log' for more details." >&2;}
19997 { (exit 77); exit 77; }; }
19999 ac_cv_sizeof_short=0
20002 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20006 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20007 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20011 cat >>confdefs.h <<_ACEOF
20012 #define SIZEOF_SHORT $ac_cv_sizeof_short
20016 { echo "$as_me:$LINENO: checking for void *" >&5
20017 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20018 if test "${ac_cv_type_void_p+set}" = set; then
20019 echo $ECHO_N "(cached) $ECHO_C" >&6
20021 cat >conftest.$ac_ext <<_ACEOF
20024 cat confdefs.h >>conftest.$ac_ext
20025 cat >>conftest.$ac_ext <<_ACEOF
20026 /* end confdefs.h. */
20027 $ac_includes_default
20028 typedef void * ac__type_new_;
20032 if ((ac__type_new_ *) 0)
20034 if (sizeof (ac__type_new_))
20040 rm -f conftest.$ac_objext
20041 if { (ac_try="$ac_compile"
20042 case "(($ac_try" in
20043 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20044 *) ac_try_echo
=$ac_try;;
20046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20047 (eval "$ac_compile") 2>conftest.er1
20049 grep -v '^ *+' conftest.er1
>conftest.err
20051 cat conftest.err
>&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); } && {
20054 test -z "$ac_c_werror_flag" ||
20055 test ! -s conftest.err
20056 } && test -s conftest.
$ac_objext; then
20057 ac_cv_type_void_p
=yes
20059 echo "$as_me: failed program was:" >&5
20060 sed 's/^/| /' conftest.
$ac_ext >&5
20062 ac_cv_type_void_p
=no
20065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20067 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20068 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20070 # The cast to long int works around a bug in the HP C Compiler
20071 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20072 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20073 # This bug is HP SR number 8606223364.
20074 { echo "$as_me:$LINENO: checking size of void *" >&5
20075 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20076 if test "${ac_cv_sizeof_void_p+set}" = set; then
20077 echo $ECHO_N "(cached) $ECHO_C" >&6
20079 if test "$cross_compiling" = yes; then
20080 # Depending upon the size, compute the lo and hi bounds.
20081 cat >conftest.
$ac_ext <<_ACEOF
20084 cat confdefs.h
>>conftest.
$ac_ext
20085 cat >>conftest.
$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087 $ac_includes_default
20088 typedef void * ac__type_sizeof_;
20092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20099 rm -f conftest.
$ac_objext
20100 if { (ac_try
="$ac_compile"
20101 case "(($ac_try" in
20102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20103 *) ac_try_echo=$ac_try;;
20105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20106 (eval "$ac_compile") 2>conftest.er1
20108 grep -v '^ *+' conftest.er1 >conftest.err
20110 cat conftest.err >&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } && {
20113 test -z "$ac_c_werror_flag" ||
20114 test ! -s conftest.err
20115 } && test -s conftest.$ac_objext; then
20118 cat >conftest.$ac_ext <<_ACEOF
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124 $ac_includes_default
20125 typedef void * ac__type_sizeof_;
20129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20136 rm -f conftest.$ac_objext
20137 if { (ac_try="$ac_compile"
20138 case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20140 *) ac_try_echo
=$ac_try;;
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_compile") 2>conftest.er1
20145 grep -v '^ *+' conftest.er1
>conftest.err
20147 cat conftest.err
>&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && {
20150 test -z "$ac_c_werror_flag" ||
20151 test ! -s conftest.err
20152 } && test -s conftest.
$ac_objext; then
20153 ac_hi
=$ac_mid; break
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.
$ac_ext >&5
20158 ac_lo
=`expr $ac_mid + 1`
20159 if test $ac_lo -le $ac_mid; then
20163 ac_mid
=`expr 2 '*' $ac_mid + 1`
20166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.
$ac_ext >&5
20172 cat >conftest.
$ac_ext <<_ACEOF
20175 cat confdefs.h
>>conftest.
$ac_ext
20176 cat >>conftest.
$ac_ext <<_ACEOF
20177 /* end confdefs.h. */
20178 $ac_includes_default
20179 typedef void * ac__type_sizeof_;
20183 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20190 rm -f conftest.
$ac_objext
20191 if { (ac_try
="$ac_compile"
20192 case "(($ac_try" in
20193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20194 *) ac_try_echo=$ac_try;;
20196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20197 (eval "$ac_compile") 2>conftest.er1
20199 grep -v '^ *+' conftest.er1 >conftest.err
20201 cat conftest.err >&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } && {
20204 test -z "$ac_c_werror_flag" ||
20205 test ! -s conftest.err
20206 } && test -s conftest.$ac_objext; then
20209 cat >conftest.$ac_ext <<_ACEOF
20212 cat confdefs.h >>conftest.$ac_ext
20213 cat >>conftest.$ac_ext <<_ACEOF
20214 /* end confdefs.h. */
20215 $ac_includes_default
20216 typedef void * ac__type_sizeof_;
20220 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20227 rm -f conftest.$ac_objext
20228 if { (ac_try="$ac_compile"
20229 case "(($ac_try" in
20230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20231 *) ac_try_echo
=$ac_try;;
20233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20234 (eval "$ac_compile") 2>conftest.er1
20236 grep -v '^ *+' conftest.er1
>conftest.err
20238 cat conftest.err
>&5
20239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20240 (exit $ac_status); } && {
20241 test -z "$ac_c_werror_flag" ||
20242 test ! -s conftest.err
20243 } && test -s conftest.
$ac_objext; then
20244 ac_lo
=$ac_mid; break
20246 echo "$as_me: failed program was:" >&5
20247 sed 's/^/| /' conftest.
$ac_ext >&5
20249 ac_hi
=`expr '(' $ac_mid ')' - 1`
20250 if test $ac_mid -le $ac_hi; then
20254 ac_mid
=`expr 2 '*' $ac_mid`
20257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20260 echo "$as_me: failed program was:" >&5
20261 sed 's/^/| /' conftest.
$ac_ext >&5
20266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20270 # Binary search between lo and hi bounds.
20271 while test "x$ac_lo" != "x$ac_hi"; do
20272 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20273 cat >conftest.
$ac_ext <<_ACEOF
20276 cat confdefs.h
>>conftest.
$ac_ext
20277 cat >>conftest.
$ac_ext <<_ACEOF
20278 /* end confdefs.h. */
20279 $ac_includes_default
20280 typedef void * ac__type_sizeof_;
20284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20291 rm -f conftest.
$ac_objext
20292 if { (ac_try
="$ac_compile"
20293 case "(($ac_try" in
20294 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20295 *) ac_try_echo=$ac_try;;
20297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20298 (eval "$ac_compile") 2>conftest.er1
20300 grep -v '^ *+' conftest.er1 >conftest.err
20302 cat conftest.err >&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } && {
20305 test -z "$ac_c_werror_flag" ||
20306 test ! -s conftest.err
20307 } && test -s conftest.$ac_objext; then
20310 echo "$as_me: failed program was:" >&5
20311 sed 's/^/| /' conftest.$ac_ext >&5
20313 ac_lo=`expr '(' $ac_mid ')' + 1`
20316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20319 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20320 '') if test "$ac_cv_type_void_p" = yes; then
20321 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20322 See \`config.log
' for more details." >&5
20323 echo "$as_me: error: cannot compute sizeof (void *)
20324 See \`config.log' for more details.
" >&2;}
20325 { (exit 77); exit 77; }; }
20327 ac_cv_sizeof_void_p=0
20331 cat >conftest.$ac_ext <<_ACEOF
20334 cat confdefs.h >>conftest.$ac_ext
20335 cat >>conftest.$ac_ext <<_ACEOF
20336 /* end confdefs.h. */
20337 $ac_includes_default
20338 typedef void * ac__type_sizeof_;
20339 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20340 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20342 #include <stdlib.h>
20347 FILE *f = fopen ("conftest.val
", "w
");
20350 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20352 long int i = longval ();
20353 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20355 fprintf (f, "%ld
\n", i);
20359 unsigned long int i = ulongval ();
20360 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20362 fprintf (f, "%lu
\n", i);
20364 return ferror (f) || fclose (f) != 0;
20370 rm -f conftest$ac_exeext
20371 if { (ac_try="$ac_link"
20372 case "(($ac_try" in
20373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20374 *) ac_try_echo=$ac_try;;
20376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20377 (eval "$ac_link") 2>&5
20379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20381 { (case "(($ac_try" in
20382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20383 *) ac_try_echo=$ac_try;;
20385 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20386 (eval "$ac_try") 2>&5
20388 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20389 (exit $ac_status); }; }; then
20390 ac_cv_sizeof_void_p=`cat conftest.val`
20392 echo "$as_me: program exited with status
$ac_status" >&5
20393 echo "$as_me: failed program was
:" >&5
20394 sed 's/^/| /' conftest.$ac_ext >&5
20396 ( exit $ac_status )
20397 if test "$ac_cv_type_void_p" = yes; then
20398 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20399 See \
`config.log' for more details." >&5
20400 echo "$as_me: error: cannot compute sizeof (void *)
20401 See \`config.log
' for more details." >&2;}
20402 { (exit 77); exit 77; }; }
20404 ac_cv_sizeof_void_p=0
20407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20411 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20412 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20416 cat >>confdefs.h <<_ACEOF
20417 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20421 { echo "$as_me:$LINENO: checking for int" >&5
20422 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20423 if test "${ac_cv_type_int+set}" = set; then
20424 echo $ECHO_N "(cached) $ECHO_C" >&6
20426 cat >conftest.$ac_ext <<_ACEOF
20429 cat confdefs.h >>conftest.$ac_ext
20430 cat >>conftest.$ac_ext <<_ACEOF
20431 /* end confdefs.h. */
20432 $ac_includes_default
20433 typedef int ac__type_new_;
20437 if ((ac__type_new_ *) 0)
20439 if (sizeof (ac__type_new_))
20445 rm -f conftest.$ac_objext
20446 if { (ac_try="$ac_compile"
20447 case "(($ac_try" in
20448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20449 *) ac_try_echo=$ac_try;;
20451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20452 (eval "$ac_compile") 2>conftest.er1
20454 grep -v '^
*+' conftest.er1 >conftest.err
20456 cat conftest.err >&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); } && {
20459 test -z "$ac_c_werror_flag" ||
20460 test ! -s conftest.err
20461 } && test -s conftest.$ac_objext; then
20464 echo "$as_me: failed program was:" >&5
20465 sed 's
/^
/| /' conftest.$ac_ext >&5
20470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20472 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20473 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20475 # The cast to long int works around a bug in the HP C Compiler
20476 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20477 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20478 # This bug is HP SR number 8606223364.
20479 { echo "$as_me:$LINENO: checking size of int" >&5
20480 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20481 if test "${ac_cv_sizeof_int+set}" = set; then
20482 echo $ECHO_N "(cached) $ECHO_C" >&6
20484 if test "$cross_compiling" = yes; then
20485 # Depending upon the size, compute the lo and hi bounds.
20486 cat >conftest.
$ac_ext <<_ACEOF
20489 cat confdefs.h
>>conftest.
$ac_ext
20490 cat >>conftest.
$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 $ac_includes_default
20493 typedef int ac__type_sizeof_;
20497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20504 rm -f conftest.
$ac_objext
20505 if { (ac_try
="$ac_compile"
20506 case "(($ac_try" in
20507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20508 *) ac_try_echo=$ac_try;;
20510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20511 (eval "$ac_compile") 2>conftest.er1
20513 grep -v '^ *+' conftest.er1 >conftest.err
20515 cat conftest.err >&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); } && {
20518 test -z "$ac_c_werror_flag" ||
20519 test ! -s conftest.err
20520 } && test -s conftest.$ac_objext; then
20523 cat >conftest.$ac_ext <<_ACEOF
20526 cat confdefs.h >>conftest.$ac_ext
20527 cat >>conftest.$ac_ext <<_ACEOF
20528 /* end confdefs.h. */
20529 $ac_includes_default
20530 typedef int ac__type_sizeof_;
20534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20541 rm -f conftest.$ac_objext
20542 if { (ac_try="$ac_compile"
20543 case "(($ac_try" in
20544 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20545 *) ac_try_echo
=$ac_try;;
20547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20548 (eval "$ac_compile") 2>conftest.er1
20550 grep -v '^ *+' conftest.er1
>conftest.err
20552 cat conftest.err
>&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } && {
20555 test -z "$ac_c_werror_flag" ||
20556 test ! -s conftest.err
20557 } && test -s conftest.
$ac_objext; then
20558 ac_hi
=$ac_mid; break
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.
$ac_ext >&5
20563 ac_lo
=`expr $ac_mid + 1`
20564 if test $ac_lo -le $ac_mid; then
20568 ac_mid
=`expr 2 '*' $ac_mid + 1`
20571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.
$ac_ext >&5
20577 cat >conftest.
$ac_ext <<_ACEOF
20580 cat confdefs.h
>>conftest.
$ac_ext
20581 cat >>conftest.
$ac_ext <<_ACEOF
20582 /* end confdefs.h. */
20583 $ac_includes_default
20584 typedef int ac__type_sizeof_;
20588 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20595 rm -f conftest.
$ac_objext
20596 if { (ac_try
="$ac_compile"
20597 case "(($ac_try" in
20598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20599 *) ac_try_echo=$ac_try;;
20601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20602 (eval "$ac_compile") 2>conftest.er1
20604 grep -v '^ *+' conftest.er1 >conftest.err
20606 cat conftest.err >&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); } && {
20609 test -z "$ac_c_werror_flag" ||
20610 test ! -s conftest.err
20611 } && test -s conftest.$ac_objext; then
20614 cat >conftest.$ac_ext <<_ACEOF
20617 cat confdefs.h >>conftest.$ac_ext
20618 cat >>conftest.$ac_ext <<_ACEOF
20619 /* end confdefs.h. */
20620 $ac_includes_default
20621 typedef int ac__type_sizeof_;
20625 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20632 rm -f conftest.$ac_objext
20633 if { (ac_try="$ac_compile"
20634 case "(($ac_try" in
20635 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20636 *) ac_try_echo
=$ac_try;;
20638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20639 (eval "$ac_compile") 2>conftest.er1
20641 grep -v '^ *+' conftest.er1
>conftest.err
20643 cat conftest.err
>&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } && {
20646 test -z "$ac_c_werror_flag" ||
20647 test ! -s conftest.err
20648 } && test -s conftest.
$ac_objext; then
20649 ac_lo
=$ac_mid; break
20651 echo "$as_me: failed program was:" >&5
20652 sed 's/^/| /' conftest.
$ac_ext >&5
20654 ac_hi
=`expr '(' $ac_mid ')' - 1`
20655 if test $ac_mid -le $ac_hi; then
20659 ac_mid
=`expr 2 '*' $ac_mid`
20662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20665 echo "$as_me: failed program was:" >&5
20666 sed 's/^/| /' conftest.
$ac_ext >&5
20671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20675 # Binary search between lo and hi bounds.
20676 while test "x$ac_lo" != "x$ac_hi"; do
20677 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20678 cat >conftest.
$ac_ext <<_ACEOF
20681 cat confdefs.h
>>conftest.
$ac_ext
20682 cat >>conftest.
$ac_ext <<_ACEOF
20683 /* end confdefs.h. */
20684 $ac_includes_default
20685 typedef int ac__type_sizeof_;
20689 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20696 rm -f conftest.
$ac_objext
20697 if { (ac_try
="$ac_compile"
20698 case "(($ac_try" in
20699 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20700 *) ac_try_echo=$ac_try;;
20702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20703 (eval "$ac_compile") 2>conftest.er1
20705 grep -v '^ *+' conftest.er1 >conftest.err
20707 cat conftest.err >&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); } && {
20710 test -z "$ac_c_werror_flag" ||
20711 test ! -s conftest.err
20712 } && test -s conftest.$ac_objext; then
20715 echo "$as_me: failed program was:" >&5
20716 sed 's/^/| /' conftest.$ac_ext >&5
20718 ac_lo=`expr '(' $ac_mid ')' + 1`
20721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20724 ?*) ac_cv_sizeof_int=$ac_lo;;
20725 '') if test "$ac_cv_type_int" = yes; then
20726 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20727 See \`config.log
' for more details." >&5
20728 echo "$as_me: error: cannot compute sizeof (int)
20729 See \`config.log' for more details.
" >&2;}
20730 { (exit 77); exit 77; }; }
20736 cat >conftest.$ac_ext <<_ACEOF
20739 cat confdefs.h >>conftest.$ac_ext
20740 cat >>conftest.$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20742 $ac_includes_default
20743 typedef int ac__type_sizeof_;
20744 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20745 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20747 #include <stdlib.h>
20752 FILE *f = fopen ("conftest.val
", "w
");
20755 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20757 long int i = longval ();
20758 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20760 fprintf (f, "%ld
\n", i);
20764 unsigned long int i = ulongval ();
20765 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20767 fprintf (f, "%lu
\n", i);
20769 return ferror (f) || fclose (f) != 0;
20775 rm -f conftest$ac_exeext
20776 if { (ac_try="$ac_link"
20777 case "(($ac_try" in
20778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20779 *) ac_try_echo=$ac_try;;
20781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20782 (eval "$ac_link") 2>&5
20784 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20785 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20786 { (case "(($ac_try" in
20787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20788 *) ac_try_echo=$ac_try;;
20790 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20791 (eval "$ac_try") 2>&5
20793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20794 (exit $ac_status); }; }; then
20795 ac_cv_sizeof_int=`cat conftest.val`
20797 echo "$as_me: program exited with status
$ac_status" >&5
20798 echo "$as_me: failed program was
:" >&5
20799 sed 's/^/| /' conftest.$ac_ext >&5
20801 ( exit $ac_status )
20802 if test "$ac_cv_type_int" = yes; then
20803 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20804 See \
`config.log' for more details." >&5
20805 echo "$as_me: error: cannot compute sizeof (int)
20806 See \`config.log
' for more details." >&2;}
20807 { (exit 77); exit 77; }; }
20812 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20816 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20817 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20821 cat >>confdefs.h <<_ACEOF
20822 #define SIZEOF_INT $ac_cv_sizeof_int
20826 { echo "$as_me:$LINENO: checking for long" >&5
20827 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20828 if test "${ac_cv_type_long+set}" = set; then
20829 echo $ECHO_N "(cached) $ECHO_C" >&6
20831 cat >conftest.$ac_ext <<_ACEOF
20834 cat confdefs.h >>conftest.$ac_ext
20835 cat >>conftest.$ac_ext <<_ACEOF
20836 /* end confdefs.h. */
20837 $ac_includes_default
20838 typedef long ac__type_new_;
20842 if ((ac__type_new_ *) 0)
20844 if (sizeof (ac__type_new_))
20850 rm -f conftest.$ac_objext
20851 if { (ac_try="$ac_compile"
20852 case "(($ac_try" in
20853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20854 *) ac_try_echo=$ac_try;;
20856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20857 (eval "$ac_compile") 2>conftest.er1
20859 grep -v '^
*+' conftest.er1 >conftest.err
20861 cat conftest.err >&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); } && {
20864 test -z "$ac_c_werror_flag" ||
20865 test ! -s conftest.err
20866 } && test -s conftest.$ac_objext; then
20867 ac_cv_type_long=yes
20869 echo "$as_me: failed program was:" >&5
20870 sed 's
/^
/| /' conftest.$ac_ext >&5
20875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20877 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20878 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20880 # The cast to long int works around a bug in the HP C Compiler
20881 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20882 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20883 # This bug is HP SR number 8606223364.
20884 { echo "$as_me:$LINENO: checking size of long" >&5
20885 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20886 if test "${ac_cv_sizeof_long+set}" = set; then
20887 echo $ECHO_N "(cached) $ECHO_C" >&6
20889 if test "$cross_compiling" = yes; then
20890 # Depending upon the size, compute the lo and hi bounds.
20891 cat >conftest.
$ac_ext <<_ACEOF
20894 cat confdefs.h
>>conftest.
$ac_ext
20895 cat >>conftest.
$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 $ac_includes_default
20898 typedef long ac__type_sizeof_;
20902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20909 rm -f conftest.
$ac_objext
20910 if { (ac_try
="$ac_compile"
20911 case "(($ac_try" in
20912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20913 *) ac_try_echo=$ac_try;;
20915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20916 (eval "$ac_compile") 2>conftest.er1
20918 grep -v '^ *+' conftest.er1 >conftest.err
20920 cat conftest.err >&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } && {
20923 test -z "$ac_c_werror_flag" ||
20924 test ! -s conftest.err
20925 } && test -s conftest.$ac_objext; then
20928 cat >conftest.$ac_ext <<_ACEOF
20931 cat confdefs.h >>conftest.$ac_ext
20932 cat >>conftest.$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 $ac_includes_default
20935 typedef long ac__type_sizeof_;
20939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20946 rm -f conftest.$ac_objext
20947 if { (ac_try="$ac_compile"
20948 case "(($ac_try" in
20949 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20950 *) ac_try_echo
=$ac_try;;
20952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20953 (eval "$ac_compile") 2>conftest.er1
20955 grep -v '^ *+' conftest.er1
>conftest.err
20957 cat conftest.err
>&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } && {
20960 test -z "$ac_c_werror_flag" ||
20961 test ! -s conftest.err
20962 } && test -s conftest.
$ac_objext; then
20963 ac_hi
=$ac_mid; break
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.
$ac_ext >&5
20968 ac_lo
=`expr $ac_mid + 1`
20969 if test $ac_lo -le $ac_mid; then
20973 ac_mid
=`expr 2 '*' $ac_mid + 1`
20976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.
$ac_ext >&5
20982 cat >conftest.
$ac_ext <<_ACEOF
20985 cat confdefs.h
>>conftest.
$ac_ext
20986 cat >>conftest.
$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20988 $ac_includes_default
20989 typedef long ac__type_sizeof_;
20993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21000 rm -f conftest.
$ac_objext
21001 if { (ac_try
="$ac_compile"
21002 case "(($ac_try" in
21003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21004 *) ac_try_echo=$ac_try;;
21006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21007 (eval "$ac_compile") 2>conftest.er1
21009 grep -v '^ *+' conftest.er1 >conftest.err
21011 cat conftest.err >&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); } && {
21014 test -z "$ac_c_werror_flag" ||
21015 test ! -s conftest.err
21016 } && test -s conftest.$ac_objext; then
21019 cat >conftest.$ac_ext <<_ACEOF
21022 cat confdefs.h >>conftest.$ac_ext
21023 cat >>conftest.$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21025 $ac_includes_default
21026 typedef long ac__type_sizeof_;
21030 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21037 rm -f conftest.$ac_objext
21038 if { (ac_try="$ac_compile"
21039 case "(($ac_try" in
21040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21041 *) ac_try_echo
=$ac_try;;
21043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21044 (eval "$ac_compile") 2>conftest.er1
21046 grep -v '^ *+' conftest.er1
>conftest.err
21048 cat conftest.err
>&5
21049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21050 (exit $ac_status); } && {
21051 test -z "$ac_c_werror_flag" ||
21052 test ! -s conftest.err
21053 } && test -s conftest.
$ac_objext; then
21054 ac_lo
=$ac_mid; break
21056 echo "$as_me: failed program was:" >&5
21057 sed 's/^/| /' conftest.
$ac_ext >&5
21059 ac_hi
=`expr '(' $ac_mid ')' - 1`
21060 if test $ac_mid -le $ac_hi; then
21064 ac_mid
=`expr 2 '*' $ac_mid`
21067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21070 echo "$as_me: failed program was:" >&5
21071 sed 's/^/| /' conftest.
$ac_ext >&5
21076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21080 # Binary search between lo and hi bounds.
21081 while test "x$ac_lo" != "x$ac_hi"; do
21082 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21083 cat >conftest.
$ac_ext <<_ACEOF
21086 cat confdefs.h
>>conftest.
$ac_ext
21087 cat >>conftest.
$ac_ext <<_ACEOF
21088 /* end confdefs.h. */
21089 $ac_includes_default
21090 typedef long ac__type_sizeof_;
21094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21101 rm -f conftest.
$ac_objext
21102 if { (ac_try
="$ac_compile"
21103 case "(($ac_try" in
21104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21105 *) ac_try_echo=$ac_try;;
21107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21108 (eval "$ac_compile") 2>conftest.er1
21110 grep -v '^ *+' conftest.er1 >conftest.err
21112 cat conftest.err >&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); } && {
21115 test -z "$ac_c_werror_flag" ||
21116 test ! -s conftest.err
21117 } && test -s conftest.$ac_objext; then
21120 echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.$ac_ext >&5
21123 ac_lo=`expr '(' $ac_mid ')' + 1`
21126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21129 ?*) ac_cv_sizeof_long=$ac_lo;;
21130 '') if test "$ac_cv_type_long" = yes; then
21131 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21132 See \`config.log
' for more details." >&5
21133 echo "$as_me: error: cannot compute sizeof (long)
21134 See \`config.log' for more details.
" >&2;}
21135 { (exit 77); exit 77; }; }
21137 ac_cv_sizeof_long=0
21141 cat >conftest.$ac_ext <<_ACEOF
21144 cat confdefs.h >>conftest.$ac_ext
21145 cat >>conftest.$ac_ext <<_ACEOF
21146 /* end confdefs.h. */
21147 $ac_includes_default
21148 typedef long ac__type_sizeof_;
21149 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21150 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21152 #include <stdlib.h>
21157 FILE *f = fopen ("conftest.val
", "w
");
21160 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21162 long int i = longval ();
21163 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21165 fprintf (f, "%ld
\n", i);
21169 unsigned long int i = ulongval ();
21170 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21172 fprintf (f, "%lu
\n", i);
21174 return ferror (f) || fclose (f) != 0;
21180 rm -f conftest$ac_exeext
21181 if { (ac_try="$ac_link"
21182 case "(($ac_try" in
21183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21184 *) ac_try_echo=$ac_try;;
21186 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21187 (eval "$ac_link") 2>&5
21189 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21191 { (case "(($ac_try" in
21192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21193 *) ac_try_echo=$ac_try;;
21195 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21196 (eval "$ac_try") 2>&5
21198 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21199 (exit $ac_status); }; }; then
21200 ac_cv_sizeof_long=`cat conftest.val`
21202 echo "$as_me: program exited with status
$ac_status" >&5
21203 echo "$as_me: failed program was
:" >&5
21204 sed 's/^/| /' conftest.$ac_ext >&5
21206 ( exit $ac_status )
21207 if test "$ac_cv_type_long" = yes; then
21208 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21209 See \
`config.log' for more details." >&5
21210 echo "$as_me: error: cannot compute sizeof (long)
21211 See \`config.log
' for more details." >&2;}
21212 { (exit 77); exit 77; }; }
21214 ac_cv_sizeof_long=0
21217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21221 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21222 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21226 cat >>confdefs.h <<_ACEOF
21227 #define SIZEOF_LONG $ac_cv_sizeof_long
21231 { echo "$as_me:$LINENO: checking for size_t" >&5
21232 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21233 if test "${ac_cv_type_size_t+set}" = set; then
21234 echo $ECHO_N "(cached) $ECHO_C" >&6
21236 cat >conftest.$ac_ext <<_ACEOF
21239 cat confdefs.h >>conftest.$ac_ext
21240 cat >>conftest.$ac_ext <<_ACEOF
21241 /* end confdefs.h. */
21242 $ac_includes_default
21243 typedef size_t ac__type_new_;
21247 if ((ac__type_new_ *) 0)
21249 if (sizeof (ac__type_new_))
21255 rm -f conftest.$ac_objext
21256 if { (ac_try="$ac_compile"
21257 case "(($ac_try" in
21258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21259 *) ac_try_echo=$ac_try;;
21261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21262 (eval "$ac_compile") 2>conftest.er1
21264 grep -v '^
*+' conftest.er1 >conftest.err
21266 cat conftest.err >&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } && {
21269 test -z "$ac_c_werror_flag" ||
21270 test ! -s conftest.err
21271 } && test -s conftest.$ac_objext; then
21272 ac_cv_type_size_t=yes
21274 echo "$as_me: failed program was:" >&5
21275 sed 's
/^
/| /' conftest.$ac_ext >&5
21277 ac_cv_type_size_t=no
21280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21282 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21283 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21285 # The cast to long int works around a bug in the HP C Compiler
21286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21288 # This bug is HP SR number 8606223364.
21289 { echo "$as_me:$LINENO: checking size of size_t" >&5
21290 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21291 if test "${ac_cv_sizeof_size_t+set}" = set; then
21292 echo $ECHO_N "(cached) $ECHO_C" >&6
21294 if test "$cross_compiling" = yes; then
21295 # Depending upon the size, compute the lo and hi bounds.
21296 cat >conftest.
$ac_ext <<_ACEOF
21299 cat confdefs.h
>>conftest.
$ac_ext
21300 cat >>conftest.
$ac_ext <<_ACEOF
21301 /* end confdefs.h. */
21302 $ac_includes_default
21303 typedef size_t ac__type_sizeof_;
21307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21314 rm -f conftest.
$ac_objext
21315 if { (ac_try
="$ac_compile"
21316 case "(($ac_try" in
21317 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21318 *) ac_try_echo=$ac_try;;
21320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21321 (eval "$ac_compile") 2>conftest.er1
21323 grep -v '^ *+' conftest.er1 >conftest.err
21325 cat conftest.err >&5
21326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21327 (exit $ac_status); } && {
21328 test -z "$ac_c_werror_flag" ||
21329 test ! -s conftest.err
21330 } && test -s conftest.$ac_objext; then
21333 cat >conftest.$ac_ext <<_ACEOF
21336 cat confdefs.h >>conftest.$ac_ext
21337 cat >>conftest.$ac_ext <<_ACEOF
21338 /* end confdefs.h. */
21339 $ac_includes_default
21340 typedef size_t ac__type_sizeof_;
21344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21351 rm -f conftest.$ac_objext
21352 if { (ac_try="$ac_compile"
21353 case "(($ac_try" in
21354 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21355 *) ac_try_echo
=$ac_try;;
21357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21358 (eval "$ac_compile") 2>conftest.er1
21360 grep -v '^ *+' conftest.er1
>conftest.err
21362 cat conftest.err
>&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); } && {
21365 test -z "$ac_c_werror_flag" ||
21366 test ! -s conftest.err
21367 } && test -s conftest.
$ac_objext; then
21368 ac_hi
=$ac_mid; break
21370 echo "$as_me: failed program was:" >&5
21371 sed 's/^/| /' conftest.
$ac_ext >&5
21373 ac_lo
=`expr $ac_mid + 1`
21374 if test $ac_lo -le $ac_mid; then
21378 ac_mid
=`expr 2 '*' $ac_mid + 1`
21381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21384 echo "$as_me: failed program was:" >&5
21385 sed 's/^/| /' conftest.
$ac_ext >&5
21387 cat >conftest.
$ac_ext <<_ACEOF
21390 cat confdefs.h
>>conftest.
$ac_ext
21391 cat >>conftest.
$ac_ext <<_ACEOF
21392 /* end confdefs.h. */
21393 $ac_includes_default
21394 typedef size_t ac__type_sizeof_;
21398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21405 rm -f conftest.
$ac_objext
21406 if { (ac_try
="$ac_compile"
21407 case "(($ac_try" in
21408 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21409 *) ac_try_echo=$ac_try;;
21411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21412 (eval "$ac_compile") 2>conftest.er1
21414 grep -v '^ *+' conftest.er1 >conftest.err
21416 cat conftest.err >&5
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); } && {
21419 test -z "$ac_c_werror_flag" ||
21420 test ! -s conftest.err
21421 } && test -s conftest.$ac_objext; then
21424 cat >conftest.$ac_ext <<_ACEOF
21427 cat confdefs.h >>conftest.$ac_ext
21428 cat >>conftest.$ac_ext <<_ACEOF
21429 /* end confdefs.h. */
21430 $ac_includes_default
21431 typedef size_t ac__type_sizeof_;
21435 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21442 rm -f conftest.$ac_objext
21443 if { (ac_try="$ac_compile"
21444 case "(($ac_try" in
21445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21446 *) ac_try_echo
=$ac_try;;
21448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21449 (eval "$ac_compile") 2>conftest.er1
21451 grep -v '^ *+' conftest.er1
>conftest.err
21453 cat conftest.err
>&5
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); } && {
21456 test -z "$ac_c_werror_flag" ||
21457 test ! -s conftest.err
21458 } && test -s conftest.
$ac_objext; then
21459 ac_lo
=$ac_mid; break
21461 echo "$as_me: failed program was:" >&5
21462 sed 's/^/| /' conftest.
$ac_ext >&5
21464 ac_hi
=`expr '(' $ac_mid ')' - 1`
21465 if test $ac_mid -le $ac_hi; then
21469 ac_mid
=`expr 2 '*' $ac_mid`
21472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21475 echo "$as_me: failed program was:" >&5
21476 sed 's/^/| /' conftest.
$ac_ext >&5
21481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21485 # Binary search between lo and hi bounds.
21486 while test "x$ac_lo" != "x$ac_hi"; do
21487 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21488 cat >conftest.
$ac_ext <<_ACEOF
21491 cat confdefs.h
>>conftest.
$ac_ext
21492 cat >>conftest.
$ac_ext <<_ACEOF
21493 /* end confdefs.h. */
21494 $ac_includes_default
21495 typedef size_t ac__type_sizeof_;
21499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21506 rm -f conftest.
$ac_objext
21507 if { (ac_try
="$ac_compile"
21508 case "(($ac_try" in
21509 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21510 *) ac_try_echo=$ac_try;;
21512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21513 (eval "$ac_compile") 2>conftest.er1
21515 grep -v '^ *+' conftest.er1 >conftest.err
21517 cat conftest.err >&5
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); } && {
21520 test -z "$ac_c_werror_flag" ||
21521 test ! -s conftest.err
21522 } && test -s conftest.$ac_objext; then
21525 echo "$as_me: failed program was:" >&5
21526 sed 's/^/| /' conftest.$ac_ext >&5
21528 ac_lo=`expr '(' $ac_mid ')' + 1`
21531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21534 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21535 '') if test "$ac_cv_type_size_t" = yes; then
21536 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21537 See \`config.log
' for more details." >&5
21538 echo "$as_me: error: cannot compute sizeof (size_t)
21539 See \`config.log' for more details.
" >&2;}
21540 { (exit 77); exit 77; }; }
21542 ac_cv_sizeof_size_t=0
21546 cat >conftest.$ac_ext <<_ACEOF
21549 cat confdefs.h >>conftest.$ac_ext
21550 cat >>conftest.$ac_ext <<_ACEOF
21551 /* end confdefs.h. */
21552 $ac_includes_default
21553 typedef size_t ac__type_sizeof_;
21554 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21555 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21557 #include <stdlib.h>
21562 FILE *f = fopen ("conftest.val
", "w
");
21565 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21567 long int i = longval ();
21568 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21570 fprintf (f, "%ld
\n", i);
21574 unsigned long int i = ulongval ();
21575 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21577 fprintf (f, "%lu
\n", i);
21579 return ferror (f) || fclose (f) != 0;
21585 rm -f conftest$ac_exeext
21586 if { (ac_try="$ac_link"
21587 case "(($ac_try" in
21588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21589 *) ac_try_echo=$ac_try;;
21591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21592 (eval "$ac_link") 2>&5
21594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21596 { (case "(($ac_try" in
21597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21598 *) ac_try_echo=$ac_try;;
21600 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21601 (eval "$ac_try") 2>&5
21603 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21604 (exit $ac_status); }; }; then
21605 ac_cv_sizeof_size_t=`cat conftest.val`
21607 echo "$as_me: program exited with status
$ac_status" >&5
21608 echo "$as_me: failed program was
:" >&5
21609 sed 's/^/| /' conftest.$ac_ext >&5
21611 ( exit $ac_status )
21612 if test "$ac_cv_type_size_t" = yes; then
21613 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21614 See \
`config.log' for more details." >&5
21615 echo "$as_me: error: cannot compute sizeof (size_t)
21616 See \`config.log
' for more details." >&2;}
21617 { (exit 77); exit 77; }; }
21619 ac_cv_sizeof_size_t=0
21622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21626 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21627 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21631 cat >>confdefs.h <<_ACEOF
21632 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21639 { echo "$as_me:$LINENO: checking for long long" >&5
21640 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21641 if test "${ac_cv_type_long_long+set}" = set; then
21642 echo $ECHO_N "(cached) $ECHO_C" >&6
21644 cat >conftest.$ac_ext <<_ACEOF
21647 cat confdefs.h >>conftest.$ac_ext
21648 cat >>conftest.$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650 $ac_includes_default
21651 typedef long long ac__type_new_;
21655 if ((ac__type_new_ *) 0)
21657 if (sizeof (ac__type_new_))
21663 rm -f conftest.$ac_objext
21664 if { (ac_try="$ac_compile"
21665 case "(($ac_try" in
21666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21667 *) ac_try_echo=$ac_try;;
21669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21670 (eval "$ac_compile") 2>conftest.er1
21672 grep -v '^
*+' conftest.er1 >conftest.err
21674 cat conftest.err >&5
21675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21676 (exit $ac_status); } && {
21677 test -z "$ac_c_werror_flag" ||
21678 test ! -s conftest.err
21679 } && test -s conftest.$ac_objext; then
21680 ac_cv_type_long_long=yes
21682 echo "$as_me: failed program was:" >&5
21683 sed 's
/^
/| /' conftest.$ac_ext >&5
21685 ac_cv_type_long_long=no
21688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21690 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21691 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21693 # The cast to long int works around a bug in the HP C Compiler
21694 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21695 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21696 # This bug is HP SR number 8606223364.
21697 { echo "$as_me:$LINENO: checking size of long long" >&5
21698 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21699 if test "${ac_cv_sizeof_long_long+set}" = set; then
21700 echo $ECHO_N "(cached) $ECHO_C" >&6
21702 if test "$cross_compiling" = yes; then
21703 # Depending upon the size, compute the lo and hi bounds.
21704 cat >conftest.
$ac_ext <<_ACEOF
21707 cat confdefs.h
>>conftest.
$ac_ext
21708 cat >>conftest.
$ac_ext <<_ACEOF
21709 /* end confdefs.h. */
21710 $ac_includes_default
21711 typedef long long ac__type_sizeof_;
21715 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21722 rm -f conftest.
$ac_objext
21723 if { (ac_try
="$ac_compile"
21724 case "(($ac_try" in
21725 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21726 *) ac_try_echo=$ac_try;;
21728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21729 (eval "$ac_compile") 2>conftest.er1
21731 grep -v '^ *+' conftest.er1 >conftest.err
21733 cat conftest.err >&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); } && {
21736 test -z "$ac_c_werror_flag" ||
21737 test ! -s conftest.err
21738 } && test -s conftest.$ac_objext; then
21741 cat >conftest.$ac_ext <<_ACEOF
21744 cat confdefs.h >>conftest.$ac_ext
21745 cat >>conftest.$ac_ext <<_ACEOF
21746 /* end confdefs.h. */
21747 $ac_includes_default
21748 typedef long long ac__type_sizeof_;
21752 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21759 rm -f conftest.$ac_objext
21760 if { (ac_try="$ac_compile"
21761 case "(($ac_try" in
21762 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21763 *) ac_try_echo
=$ac_try;;
21765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21766 (eval "$ac_compile") 2>conftest.er1
21768 grep -v '^ *+' conftest.er1
>conftest.err
21770 cat conftest.err
>&5
21771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772 (exit $ac_status); } && {
21773 test -z "$ac_c_werror_flag" ||
21774 test ! -s conftest.err
21775 } && test -s conftest.
$ac_objext; then
21776 ac_hi
=$ac_mid; break
21778 echo "$as_me: failed program was:" >&5
21779 sed 's/^/| /' conftest.
$ac_ext >&5
21781 ac_lo
=`expr $ac_mid + 1`
21782 if test $ac_lo -le $ac_mid; then
21786 ac_mid
=`expr 2 '*' $ac_mid + 1`
21789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.
$ac_ext >&5
21795 cat >conftest.
$ac_ext <<_ACEOF
21798 cat confdefs.h
>>conftest.
$ac_ext
21799 cat >>conftest.
$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21801 $ac_includes_default
21802 typedef long long ac__type_sizeof_;
21806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21813 rm -f conftest.
$ac_objext
21814 if { (ac_try
="$ac_compile"
21815 case "(($ac_try" in
21816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21817 *) ac_try_echo=$ac_try;;
21819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21820 (eval "$ac_compile") 2>conftest.er1
21822 grep -v '^ *+' conftest.er1 >conftest.err
21824 cat conftest.err >&5
21825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21826 (exit $ac_status); } && {
21827 test -z "$ac_c_werror_flag" ||
21828 test ! -s conftest.err
21829 } && test -s conftest.$ac_objext; then
21832 cat >conftest.$ac_ext <<_ACEOF
21835 cat confdefs.h >>conftest.$ac_ext
21836 cat >>conftest.$ac_ext <<_ACEOF
21837 /* end confdefs.h. */
21838 $ac_includes_default
21839 typedef long long ac__type_sizeof_;
21843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21850 rm -f conftest.$ac_objext
21851 if { (ac_try="$ac_compile"
21852 case "(($ac_try" in
21853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21854 *) ac_try_echo
=$ac_try;;
21856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21857 (eval "$ac_compile") 2>conftest.er1
21859 grep -v '^ *+' conftest.er1
>conftest.err
21861 cat conftest.err
>&5
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } && {
21864 test -z "$ac_c_werror_flag" ||
21865 test ! -s conftest.err
21866 } && test -s conftest.
$ac_objext; then
21867 ac_lo
=$ac_mid; break
21869 echo "$as_me: failed program was:" >&5
21870 sed 's/^/| /' conftest.
$ac_ext >&5
21872 ac_hi
=`expr '(' $ac_mid ')' - 1`
21873 if test $ac_mid -le $ac_hi; then
21877 ac_mid
=`expr 2 '*' $ac_mid`
21880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21883 echo "$as_me: failed program was:" >&5
21884 sed 's/^/| /' conftest.
$ac_ext >&5
21889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21893 # Binary search between lo and hi bounds.
21894 while test "x$ac_lo" != "x$ac_hi"; do
21895 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21896 cat >conftest.
$ac_ext <<_ACEOF
21899 cat confdefs.h
>>conftest.
$ac_ext
21900 cat >>conftest.
$ac_ext <<_ACEOF
21901 /* end confdefs.h. */
21902 $ac_includes_default
21903 typedef long long ac__type_sizeof_;
21907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21914 rm -f conftest.
$ac_objext
21915 if { (ac_try
="$ac_compile"
21916 case "(($ac_try" in
21917 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21918 *) ac_try_echo=$ac_try;;
21920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921 (eval "$ac_compile") 2>conftest.er1
21923 grep -v '^ *+' conftest.er1 >conftest.err
21925 cat conftest.err >&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); } && {
21928 test -z "$ac_c_werror_flag" ||
21929 test ! -s conftest.err
21930 } && test -s conftest.$ac_objext; then
21933 echo "$as_me: failed program was:" >&5
21934 sed 's/^/| /' conftest.$ac_ext >&5
21936 ac_lo=`expr '(' $ac_mid ')' + 1`
21939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21942 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21943 '') if test "$ac_cv_type_long_long" = yes; then
21944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21945 See \`config.log
' for more details." >&5
21946 echo "$as_me: error: cannot compute sizeof (long long)
21947 See \`config.log' for more details.
" >&2;}
21948 { (exit 77); exit 77; }; }
21950 ac_cv_sizeof_long_long=0
21954 cat >conftest.$ac_ext <<_ACEOF
21957 cat confdefs.h >>conftest.$ac_ext
21958 cat >>conftest.$ac_ext <<_ACEOF
21959 /* end confdefs.h. */
21960 $ac_includes_default
21961 typedef long long ac__type_sizeof_;
21962 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21963 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21965 #include <stdlib.h>
21970 FILE *f = fopen ("conftest.val
", "w
");
21973 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21975 long int i = longval ();
21976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21978 fprintf (f, "%ld
\n", i);
21982 unsigned long int i = ulongval ();
21983 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21985 fprintf (f, "%lu
\n", i);
21987 return ferror (f) || fclose (f) != 0;
21993 rm -f conftest$ac_exeext
21994 if { (ac_try="$ac_link"
21995 case "(($ac_try" in
21996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21997 *) ac_try_echo=$ac_try;;
21999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22000 (eval "$ac_link") 2>&5
22002 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22004 { (case "(($ac_try" in
22005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22006 *) ac_try_echo=$ac_try;;
22008 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22009 (eval "$ac_try") 2>&5
22011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22012 (exit $ac_status); }; }; then
22013 ac_cv_sizeof_long_long=`cat conftest.val`
22015 echo "$as_me: program exited with status
$ac_status" >&5
22016 echo "$as_me: failed program was
:" >&5
22017 sed 's/^/| /' conftest.$ac_ext >&5
22019 ( exit $ac_status )
22020 if test "$ac_cv_type_long_long" = yes; then
22021 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22022 See \
`config.log' for more details." >&5
22023 echo "$as_me: error: cannot compute sizeof (long long)
22024 See \`config.log
' for more details." >&2;}
22025 { (exit 77); exit 77; }; }
22027 ac_cv_sizeof_long_long=0
22030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22034 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22035 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22039 cat >>confdefs.h <<_ACEOF
22040 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22046 { echo "$as_me:$LINENO: checking for long long" >&5
22047 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22048 if test "${ac_cv_type_long_long+set}" = set; then
22049 echo $ECHO_N "(cached) $ECHO_C" >&6
22051 cat >conftest.$ac_ext <<_ACEOF
22054 cat confdefs.h >>conftest.$ac_ext
22055 cat >>conftest.$ac_ext <<_ACEOF
22056 /* end confdefs.h. */
22057 $ac_includes_default
22058 typedef long long ac__type_new_;
22062 if ((ac__type_new_ *) 0)
22064 if (sizeof (ac__type_new_))
22070 rm -f conftest.$ac_objext
22071 if { (ac_try="$ac_compile"
22072 case "(($ac_try" in
22073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22074 *) ac_try_echo=$ac_try;;
22076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22077 (eval "$ac_compile") 2>conftest.er1
22079 grep -v '^
*+' conftest.er1 >conftest.err
22081 cat conftest.err >&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } && {
22084 test -z "$ac_c_werror_flag" ||
22085 test ! -s conftest.err
22086 } && test -s conftest.$ac_objext; then
22087 ac_cv_type_long_long=yes
22089 echo "$as_me: failed program was:" >&5
22090 sed 's
/^
/| /' conftest.$ac_ext >&5
22092 ac_cv_type_long_long=no
22095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22097 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22098 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22100 # The cast to long int works around a bug in the HP C Compiler
22101 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22102 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22103 # This bug is HP SR number 8606223364.
22104 { echo "$as_me:$LINENO: checking size of long long" >&5
22105 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22106 if test "${ac_cv_sizeof_long_long+set}" = set; then
22107 echo $ECHO_N "(cached) $ECHO_C" >&6
22109 if test "$cross_compiling" = yes; then
22110 # Depending upon the size, compute the lo and hi bounds.
22111 cat >conftest.
$ac_ext <<_ACEOF
22114 cat confdefs.h
>>conftest.
$ac_ext
22115 cat >>conftest.
$ac_ext <<_ACEOF
22116 /* end confdefs.h. */
22117 $ac_includes_default
22118 typedef long long ac__type_sizeof_;
22122 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22129 rm -f conftest.
$ac_objext
22130 if { (ac_try
="$ac_compile"
22131 case "(($ac_try" in
22132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22133 *) ac_try_echo=$ac_try;;
22135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22136 (eval "$ac_compile") 2>conftest.er1
22138 grep -v '^ *+' conftest.er1 >conftest.err
22140 cat conftest.err >&5
22141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142 (exit $ac_status); } && {
22143 test -z "$ac_c_werror_flag" ||
22144 test ! -s conftest.err
22145 } && test -s conftest.$ac_objext; then
22148 cat >conftest.$ac_ext <<_ACEOF
22151 cat confdefs.h >>conftest.$ac_ext
22152 cat >>conftest.$ac_ext <<_ACEOF
22153 /* end confdefs.h. */
22154 $ac_includes_default
22155 typedef long long ac__type_sizeof_;
22159 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22166 rm -f conftest.$ac_objext
22167 if { (ac_try="$ac_compile"
22168 case "(($ac_try" in
22169 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22170 *) ac_try_echo
=$ac_try;;
22172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22173 (eval "$ac_compile") 2>conftest.er1
22175 grep -v '^ *+' conftest.er1
>conftest.err
22177 cat conftest.err
>&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); } && {
22180 test -z "$ac_c_werror_flag" ||
22181 test ! -s conftest.err
22182 } && test -s conftest.
$ac_objext; then
22183 ac_hi
=$ac_mid; break
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.
$ac_ext >&5
22188 ac_lo
=`expr $ac_mid + 1`
22189 if test $ac_lo -le $ac_mid; then
22193 ac_mid
=`expr 2 '*' $ac_mid + 1`
22196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.
$ac_ext >&5
22202 cat >conftest.
$ac_ext <<_ACEOF
22205 cat confdefs.h
>>conftest.
$ac_ext
22206 cat >>conftest.
$ac_ext <<_ACEOF
22207 /* end confdefs.h. */
22208 $ac_includes_default
22209 typedef long long ac__type_sizeof_;
22213 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22220 rm -f conftest.
$ac_objext
22221 if { (ac_try
="$ac_compile"
22222 case "(($ac_try" in
22223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22224 *) ac_try_echo=$ac_try;;
22226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22227 (eval "$ac_compile") 2>conftest.er1
22229 grep -v '^ *+' conftest.er1 >conftest.err
22231 cat conftest.err >&5
22232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233 (exit $ac_status); } && {
22234 test -z "$ac_c_werror_flag" ||
22235 test ! -s conftest.err
22236 } && test -s conftest.$ac_objext; then
22239 cat >conftest.$ac_ext <<_ACEOF
22242 cat confdefs.h >>conftest.$ac_ext
22243 cat >>conftest.$ac_ext <<_ACEOF
22244 /* end confdefs.h. */
22245 $ac_includes_default
22246 typedef long long ac__type_sizeof_;
22250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22257 rm -f conftest.$ac_objext
22258 if { (ac_try="$ac_compile"
22259 case "(($ac_try" in
22260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22261 *) ac_try_echo
=$ac_try;;
22263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22264 (eval "$ac_compile") 2>conftest.er1
22266 grep -v '^ *+' conftest.er1
>conftest.err
22268 cat conftest.err
>&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } && {
22271 test -z "$ac_c_werror_flag" ||
22272 test ! -s conftest.err
22273 } && test -s conftest.
$ac_objext; then
22274 ac_lo
=$ac_mid; break
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.
$ac_ext >&5
22279 ac_hi
=`expr '(' $ac_mid ')' - 1`
22280 if test $ac_mid -le $ac_hi; then
22284 ac_mid
=`expr 2 '*' $ac_mid`
22287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22290 echo "$as_me: failed program was:" >&5
22291 sed 's/^/| /' conftest.
$ac_ext >&5
22296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22300 # Binary search between lo and hi bounds.
22301 while test "x$ac_lo" != "x$ac_hi"; do
22302 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22303 cat >conftest.
$ac_ext <<_ACEOF
22306 cat confdefs.h
>>conftest.
$ac_ext
22307 cat >>conftest.
$ac_ext <<_ACEOF
22308 /* end confdefs.h. */
22309 $ac_includes_default
22310 typedef long long ac__type_sizeof_;
22314 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22321 rm -f conftest.
$ac_objext
22322 if { (ac_try
="$ac_compile"
22323 case "(($ac_try" in
22324 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22325 *) ac_try_echo=$ac_try;;
22327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22328 (eval "$ac_compile") 2>conftest.er1
22330 grep -v '^ *+' conftest.er1 >conftest.err
22332 cat conftest.err >&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); } && {
22335 test -z "$ac_c_werror_flag" ||
22336 test ! -s conftest.err
22337 } && test -s conftest.$ac_objext; then
22340 echo "$as_me: failed program was:" >&5
22341 sed 's/^/| /' conftest.$ac_ext >&5
22343 ac_lo=`expr '(' $ac_mid ')' + 1`
22346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22349 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22350 '') if test "$ac_cv_type_long_long" = yes; then
22351 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22352 See \`config.log
' for more details." >&5
22353 echo "$as_me: error: cannot compute sizeof (long long)
22354 See \`config.log' for more details.
" >&2;}
22355 { (exit 77); exit 77; }; }
22357 ac_cv_sizeof_long_long=0
22361 cat >conftest.$ac_ext <<_ACEOF
22364 cat confdefs.h >>conftest.$ac_ext
22365 cat >>conftest.$ac_ext <<_ACEOF
22366 /* end confdefs.h. */
22367 $ac_includes_default
22368 typedef long long ac__type_sizeof_;
22369 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22370 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22372 #include <stdlib.h>
22377 FILE *f = fopen ("conftest.val
", "w
");
22380 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22382 long int i = longval ();
22383 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22385 fprintf (f, "%ld
\n", i);
22389 unsigned long int i = ulongval ();
22390 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22392 fprintf (f, "%lu
\n", i);
22394 return ferror (f) || fclose (f) != 0;
22400 rm -f conftest$ac_exeext
22401 if { (ac_try="$ac_link"
22402 case "(($ac_try" in
22403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22404 *) ac_try_echo=$ac_try;;
22406 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22407 (eval "$ac_link") 2>&5
22409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22411 { (case "(($ac_try" in
22412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22413 *) ac_try_echo=$ac_try;;
22415 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22416 (eval "$ac_try") 2>&5
22418 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22419 (exit $ac_status); }; }; then
22420 ac_cv_sizeof_long_long=`cat conftest.val`
22422 echo "$as_me: program exited with status
$ac_status" >&5
22423 echo "$as_me: failed program was
:" >&5
22424 sed 's/^/| /' conftest.$ac_ext >&5
22426 ( exit $ac_status )
22427 if test "$ac_cv_type_long_long" = yes; then
22428 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22429 See \
`config.log' for more details." >&5
22430 echo "$as_me: error: cannot compute sizeof (long long)
22431 See \`config.log
' for more details." >&2;}
22432 { (exit 77); exit 77; }; }
22434 ac_cv_sizeof_long_long=0
22437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22441 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22442 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22446 cat >>confdefs.h <<_ACEOF
22447 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22451 if test "$ac_cv_sizeof_long_long" != 0; then
22452 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22456 { echo "$as_me:$LINENO: checking for long long" >&5
22457 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22458 if test "${ac_cv_type_long_long+set}" = set; then
22459 echo $ECHO_N "(cached) $ECHO_C" >&6
22461 cat >conftest.$ac_ext <<_ACEOF
22464 cat confdefs.h >>conftest.$ac_ext
22465 cat >>conftest.$ac_ext <<_ACEOF
22466 /* end confdefs.h. */
22467 $ac_includes_default
22468 typedef long long ac__type_new_;
22472 if ((ac__type_new_ *) 0)
22474 if (sizeof (ac__type_new_))
22480 rm -f conftest.$ac_objext
22481 if { (ac_try="$ac_compile"
22482 case "(($ac_try" in
22483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22484 *) ac_try_echo=$ac_try;;
22486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22487 (eval "$ac_compile") 2>conftest.er1
22489 grep -v '^
*+' conftest.er1 >conftest.err
22491 cat conftest.err >&5
22492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493 (exit $ac_status); } && {
22494 test -z "$ac_c_werror_flag" ||
22495 test ! -s conftest.err
22496 } && test -s conftest.$ac_objext; then
22497 ac_cv_type_long_long=yes
22499 echo "$as_me: failed program was:" >&5
22500 sed 's
/^
/| /' conftest.$ac_ext >&5
22502 ac_cv_type_long_long=no
22505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22507 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22508 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22510 # The cast to long int works around a bug in the HP C Compiler
22511 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22512 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22513 # This bug is HP SR number 8606223364.
22514 { echo "$as_me:$LINENO: checking size of long long" >&5
22515 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22516 if test "${ac_cv_sizeof_long_long+set}" = set; then
22517 echo $ECHO_N "(cached) $ECHO_C" >&6
22519 if test "$cross_compiling" = yes; then
22520 # Depending upon the size, compute the lo and hi bounds.
22521 cat >conftest.
$ac_ext <<_ACEOF
22524 cat confdefs.h
>>conftest.
$ac_ext
22525 cat >>conftest.
$ac_ext <<_ACEOF
22526 /* end confdefs.h. */
22527 $ac_includes_default
22528 typedef long long ac__type_sizeof_;
22532 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22539 rm -f conftest.
$ac_objext
22540 if { (ac_try
="$ac_compile"
22541 case "(($ac_try" in
22542 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22543 *) ac_try_echo=$ac_try;;
22545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22546 (eval "$ac_compile") 2>conftest.er1
22548 grep -v '^ *+' conftest.er1 >conftest.err
22550 cat conftest.err >&5
22551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552 (exit $ac_status); } && {
22553 test -z "$ac_c_werror_flag" ||
22554 test ! -s conftest.err
22555 } && test -s conftest.$ac_objext; then
22558 cat >conftest.$ac_ext <<_ACEOF
22561 cat confdefs.h >>conftest.$ac_ext
22562 cat >>conftest.$ac_ext <<_ACEOF
22563 /* end confdefs.h. */
22564 $ac_includes_default
22565 typedef long long ac__type_sizeof_;
22569 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22576 rm -f conftest.$ac_objext
22577 if { (ac_try="$ac_compile"
22578 case "(($ac_try" in
22579 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22580 *) ac_try_echo
=$ac_try;;
22582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22583 (eval "$ac_compile") 2>conftest.er1
22585 grep -v '^ *+' conftest.er1
>conftest.err
22587 cat conftest.err
>&5
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); } && {
22590 test -z "$ac_c_werror_flag" ||
22591 test ! -s conftest.err
22592 } && test -s conftest.
$ac_objext; then
22593 ac_hi
=$ac_mid; break
22595 echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.
$ac_ext >&5
22598 ac_lo
=`expr $ac_mid + 1`
22599 if test $ac_lo -le $ac_mid; then
22603 ac_mid
=`expr 2 '*' $ac_mid + 1`
22606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22609 echo "$as_me: failed program was:" >&5
22610 sed 's/^/| /' conftest.
$ac_ext >&5
22612 cat >conftest.
$ac_ext <<_ACEOF
22615 cat confdefs.h
>>conftest.
$ac_ext
22616 cat >>conftest.
$ac_ext <<_ACEOF
22617 /* end confdefs.h. */
22618 $ac_includes_default
22619 typedef long long ac__type_sizeof_;
22623 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22630 rm -f conftest.
$ac_objext
22631 if { (ac_try
="$ac_compile"
22632 case "(($ac_try" in
22633 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22634 *) ac_try_echo=$ac_try;;
22636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22637 (eval "$ac_compile") 2>conftest.er1
22639 grep -v '^ *+' conftest.er1 >conftest.err
22641 cat conftest.err >&5
22642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22643 (exit $ac_status); } && {
22644 test -z "$ac_c_werror_flag" ||
22645 test ! -s conftest.err
22646 } && test -s conftest.$ac_objext; then
22649 cat >conftest.$ac_ext <<_ACEOF
22652 cat confdefs.h >>conftest.$ac_ext
22653 cat >>conftest.$ac_ext <<_ACEOF
22654 /* end confdefs.h. */
22655 $ac_includes_default
22656 typedef long long ac__type_sizeof_;
22660 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22667 rm -f conftest.$ac_objext
22668 if { (ac_try="$ac_compile"
22669 case "(($ac_try" in
22670 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22671 *) ac_try_echo
=$ac_try;;
22673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22674 (eval "$ac_compile") 2>conftest.er1
22676 grep -v '^ *+' conftest.er1
>conftest.err
22678 cat conftest.err
>&5
22679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680 (exit $ac_status); } && {
22681 test -z "$ac_c_werror_flag" ||
22682 test ! -s conftest.err
22683 } && test -s conftest.
$ac_objext; then
22684 ac_lo
=$ac_mid; break
22686 echo "$as_me: failed program was:" >&5
22687 sed 's/^/| /' conftest.
$ac_ext >&5
22689 ac_hi
=`expr '(' $ac_mid ')' - 1`
22690 if test $ac_mid -le $ac_hi; then
22694 ac_mid
=`expr 2 '*' $ac_mid`
22697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22700 echo "$as_me: failed program was:" >&5
22701 sed 's/^/| /' conftest.
$ac_ext >&5
22706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22710 # Binary search between lo and hi bounds.
22711 while test "x$ac_lo" != "x$ac_hi"; do
22712 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22713 cat >conftest.
$ac_ext <<_ACEOF
22716 cat confdefs.h
>>conftest.
$ac_ext
22717 cat >>conftest.
$ac_ext <<_ACEOF
22718 /* end confdefs.h. */
22719 $ac_includes_default
22720 typedef long long ac__type_sizeof_;
22724 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22731 rm -f conftest.
$ac_objext
22732 if { (ac_try
="$ac_compile"
22733 case "(($ac_try" in
22734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22735 *) ac_try_echo=$ac_try;;
22737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22738 (eval "$ac_compile") 2>conftest.er1
22740 grep -v '^ *+' conftest.er1 >conftest.err
22742 cat conftest.err >&5
22743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744 (exit $ac_status); } && {
22745 test -z "$ac_c_werror_flag" ||
22746 test ! -s conftest.err
22747 } && test -s conftest.$ac_objext; then
22750 echo "$as_me: failed program was:" >&5
22751 sed 's/^/| /' conftest.$ac_ext >&5
22753 ac_lo=`expr '(' $ac_mid ')' + 1`
22756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22759 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22760 '') if test "$ac_cv_type_long_long" = yes; then
22761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22762 See \`config.log
' for more details." >&5
22763 echo "$as_me: error: cannot compute sizeof (long long)
22764 See \`config.log' for more details.
" >&2;}
22765 { (exit 77); exit 77; }; }
22767 ac_cv_sizeof_long_long=0
22771 cat >conftest.$ac_ext <<_ACEOF
22774 cat confdefs.h >>conftest.$ac_ext
22775 cat >>conftest.$ac_ext <<_ACEOF
22776 /* end confdefs.h. */
22777 $ac_includes_default
22778 typedef long long ac__type_sizeof_;
22779 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22780 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22782 #include <stdlib.h>
22787 FILE *f = fopen ("conftest.val
", "w
");
22790 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22792 long int i = longval ();
22793 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22795 fprintf (f, "%ld
\n", i);
22799 unsigned long int i = ulongval ();
22800 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22802 fprintf (f, "%lu
\n", i);
22804 return ferror (f) || fclose (f) != 0;
22810 rm -f conftest$ac_exeext
22811 if { (ac_try="$ac_link"
22812 case "(($ac_try" in
22813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22814 *) ac_try_echo=$ac_try;;
22816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22817 (eval "$ac_link") 2>&5
22819 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22820 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22821 { (case "(($ac_try" in
22822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22823 *) ac_try_echo=$ac_try;;
22825 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22826 (eval "$ac_try") 2>&5
22828 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22829 (exit $ac_status); }; }; then
22830 ac_cv_sizeof_long_long=`cat conftest.val`
22832 echo "$as_me: program exited with status
$ac_status" >&5
22833 echo "$as_me: failed program was
:" >&5
22834 sed 's/^/| /' conftest.$ac_ext >&5
22836 ( exit $ac_status )
22837 if test "$ac_cv_type_long_long" = yes; then
22838 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22839 See \
`config.log' for more details." >&5
22840 echo "$as_me: error: cannot compute sizeof (long long)
22841 See \`config.log
' for more details." >&2;}
22842 { (exit 77); exit 77; }; }
22844 ac_cv_sizeof_long_long=0
22847 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22851 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22852 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22856 cat >>confdefs.h <<_ACEOF
22857 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22863 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22864 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22865 if test "${ac_cv_type_wchar_t+set}" = set; then
22866 echo $ECHO_N "(cached) $ECHO_C" >&6
22868 cat >conftest.$ac_ext <<_ACEOF
22871 cat confdefs.h >>conftest.$ac_ext
22872 cat >>conftest.$ac_ext <<_ACEOF
22873 /* end confdefs.h. */
22875 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22876 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22877 # error "fake wchar_t"
22879 #ifdef HAVE_WCHAR_H
22881 # include <stddef.h>
22883 # include <wchar.h>
22885 #ifdef HAVE_STDLIB_H
22886 # include <stdlib.h>
22892 typedef wchar_t ac__type_new_
;
22896 if ((ac__type_new_
*) 0)
22898 if (sizeof
(ac__type_new_
))
22904 rm -f conftest.
$ac_objext
22905 if { (ac_try
="$ac_compile"
22906 case "(($ac_try" in
22907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22908 *) ac_try_echo=$ac_try;;
22910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_compile") 2>conftest.er1
22913 grep -v '^ *+' conftest.er1 >conftest.err
22915 cat conftest.err >&5
22916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22917 (exit $ac_status); } && {
22918 test -z "$ac_c_werror_flag" ||
22919 test ! -s conftest.err
22920 } && test -s conftest.$ac_objext; then
22921 ac_cv_type_wchar_t=yes
22923 echo "$as_me: failed program was:" >&5
22924 sed 's/^/| /' conftest.$ac_ext >&5
22926 ac_cv_type_wchar_t=no
22929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22931 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22932 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22934 # The cast to long int works around a bug in the HP C Compiler
22935 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22936 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22937 # This bug is HP SR number 8606223364.
22938 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22939 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22940 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22941 echo $ECHO_N "(cached) $ECHO_C" >&6
22943 if test "$cross_compiling" = yes; then
22944 # Depending upon the size, compute the lo and hi bounds.
22945 cat >conftest.$ac_ext <<_ACEOF
22948 cat confdefs.h >>conftest.$ac_ext
22949 cat >>conftest.$ac_ext <<_ACEOF
22950 /* end confdefs.h. */
22952 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22953 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22954 # error "fake wchar_t"
22956 #ifdef HAVE_WCHAR_H
22958 # include <stddef.h>
22960 # include <wchar.h>
22962 #ifdef HAVE_STDLIB_H
22963 # include <stdlib.h>
22969 typedef wchar_t ac__type_sizeof_
;
22973 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22980 rm -f conftest.
$ac_objext
22981 if { (ac_try
="$ac_compile"
22982 case "(($ac_try" in
22983 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22984 *) ac_try_echo=$ac_try;;
22986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22987 (eval "$ac_compile") 2>conftest.er1
22989 grep -v '^ *+' conftest.er1 >conftest.err
22991 cat conftest.err >&5
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); } && {
22994 test -z "$ac_c_werror_flag" ||
22995 test ! -s conftest.err
22996 } && test -s conftest.$ac_objext; then
22999 cat >conftest.$ac_ext <<_ACEOF
23002 cat confdefs.h >>conftest.$ac_ext
23003 cat >>conftest.$ac_ext <<_ACEOF
23004 /* end confdefs.h. */
23006 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23007 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23008 # error "fake wchar_t"
23010 #ifdef HAVE_WCHAR_H
23012 # include <stddef.h>
23014 # include <wchar.h>
23016 #ifdef HAVE_STDLIB_H
23017 # include <stdlib.h>
23023 typedef wchar_t ac__type_sizeof_;
23027 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23034 rm -f conftest.$ac_objext
23035 if { (ac_try="$ac_compile"
23036 case "(($ac_try" in
23037 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23038 *) ac_try_echo
=$ac_try;;
23040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23041 (eval "$ac_compile") 2>conftest.er1
23043 grep -v '^ *+' conftest.er1
>conftest.err
23045 cat conftest.err
>&5
23046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23047 (exit $ac_status); } && {
23048 test -z "$ac_c_werror_flag" ||
23049 test ! -s conftest.err
23050 } && test -s conftest.
$ac_objext; then
23051 ac_hi
=$ac_mid; break
23053 echo "$as_me: failed program was:" >&5
23054 sed 's/^/| /' conftest.
$ac_ext >&5
23056 ac_lo
=`expr $ac_mid + 1`
23057 if test $ac_lo -le $ac_mid; then
23061 ac_mid
=`expr 2 '*' $ac_mid + 1`
23064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23067 echo "$as_me: failed program was:" >&5
23068 sed 's/^/| /' conftest.
$ac_ext >&5
23070 cat >conftest.
$ac_ext <<_ACEOF
23073 cat confdefs.h
>>conftest.
$ac_ext
23074 cat >>conftest.
$ac_ext <<_ACEOF
23075 /* end confdefs.h. */
23077 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23078 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23079 # error "fake wchar_t"
23081 #ifdef HAVE_WCHAR_H
23083 # include <stddef.h>
23085 # include <wchar.h>
23087 #ifdef HAVE_STDLIB_H
23088 # include <stdlib.h>
23094 typedef wchar_t ac__type_sizeof_;
23098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23105 rm -f conftest.
$ac_objext
23106 if { (ac_try
="$ac_compile"
23107 case "(($ac_try" in
23108 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23109 *) ac_try_echo=$ac_try;;
23111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23112 (eval "$ac_compile") 2>conftest.er1
23114 grep -v '^ *+' conftest.er1 >conftest.err
23116 cat conftest.err >&5
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); } && {
23119 test -z "$ac_c_werror_flag" ||
23120 test ! -s conftest.err
23121 } && test -s conftest.$ac_objext; then
23124 cat >conftest.$ac_ext <<_ACEOF
23127 cat confdefs.h >>conftest.$ac_ext
23128 cat >>conftest.$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23131 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23132 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23133 # error "fake wchar_t"
23135 #ifdef HAVE_WCHAR_H
23137 # include <stddef.h>
23139 # include <wchar.h>
23141 #ifdef HAVE_STDLIB_H
23142 # include <stdlib.h>
23148 typedef wchar_t ac__type_sizeof_;
23152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23159 rm -f conftest.$ac_objext
23160 if { (ac_try="$ac_compile"
23161 case "(($ac_try" in
23162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23163 *) ac_try_echo
=$ac_try;;
23165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23166 (eval "$ac_compile") 2>conftest.er1
23168 grep -v '^ *+' conftest.er1
>conftest.err
23170 cat conftest.err
>&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); } && {
23173 test -z "$ac_c_werror_flag" ||
23174 test ! -s conftest.err
23175 } && test -s conftest.
$ac_objext; then
23176 ac_lo
=$ac_mid; break
23178 echo "$as_me: failed program was:" >&5
23179 sed 's/^/| /' conftest.
$ac_ext >&5
23181 ac_hi
=`expr '(' $ac_mid ')' - 1`
23182 if test $ac_mid -le $ac_hi; then
23186 ac_mid
=`expr 2 '*' $ac_mid`
23189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23192 echo "$as_me: failed program was:" >&5
23193 sed 's/^/| /' conftest.
$ac_ext >&5
23198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23202 # Binary search between lo and hi bounds.
23203 while test "x$ac_lo" != "x$ac_hi"; do
23204 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23205 cat >conftest.
$ac_ext <<_ACEOF
23208 cat confdefs.h
>>conftest.
$ac_ext
23209 cat >>conftest.
$ac_ext <<_ACEOF
23210 /* end confdefs.h. */
23212 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23213 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23214 # error "fake wchar_t"
23216 #ifdef HAVE_WCHAR_H
23218 # include <stddef.h>
23220 # include <wchar.h>
23222 #ifdef HAVE_STDLIB_H
23223 # include <stdlib.h>
23229 typedef wchar_t ac__type_sizeof_;
23233 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23240 rm -f conftest.
$ac_objext
23241 if { (ac_try
="$ac_compile"
23242 case "(($ac_try" in
23243 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23244 *) ac_try_echo=$ac_try;;
23246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23247 (eval "$ac_compile") 2>conftest.er1
23249 grep -v '^ *+' conftest.er1 >conftest.err
23251 cat conftest.err >&5
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); } && {
23254 test -z "$ac_c_werror_flag" ||
23255 test ! -s conftest.err
23256 } && test -s conftest.$ac_objext; then
23259 echo "$as_me: failed program was:" >&5
23260 sed 's/^/| /' conftest.$ac_ext >&5
23262 ac_lo=`expr '(' $ac_mid ')' + 1`
23265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23268 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23269 '') if test "$ac_cv_type_wchar_t" = yes; then
23270 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23271 See \`config.log
' for more details." >&5
23272 echo "$as_me: error: cannot compute sizeof (wchar_t)
23273 See \`config.log' for more details.
" >&2;}
23274 { (exit 77); exit 77; }; }
23276 ac_cv_sizeof_wchar_t=0
23280 cat >conftest.$ac_ext <<_ACEOF
23283 cat confdefs.h >>conftest.$ac_ext
23284 cat >>conftest.$ac_ext <<_ACEOF
23285 /* end confdefs.h. */
23287 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23288 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23289 # error "fake wchar_t
"
23291 #ifdef HAVE_WCHAR_H
23293 # include <stddef.h>
23295 # include <wchar.h>
23297 #ifdef HAVE_STDLIB_H
23298 # include <stdlib.h>
23304 typedef wchar_t ac__type_sizeof_;
23305 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23306 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23308 #include <stdlib.h>
23313 FILE *f = fopen ("conftest.val
", "w
");
23316 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23318 long int i = longval ();
23319 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23321 fprintf (f, "%ld
\n", i);
23325 unsigned long int i = ulongval ();
23326 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23328 fprintf (f, "%lu
\n", i);
23330 return ferror (f) || fclose (f) != 0;
23336 rm -f conftest$ac_exeext
23337 if { (ac_try="$ac_link"
23338 case "(($ac_try" in
23339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23340 *) ac_try_echo=$ac_try;;
23342 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23343 (eval "$ac_link") 2>&5
23345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23347 { (case "(($ac_try" in
23348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23349 *) ac_try_echo=$ac_try;;
23351 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23352 (eval "$ac_try") 2>&5
23354 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23355 (exit $ac_status); }; }; then
23356 ac_cv_sizeof_wchar_t=`cat conftest.val`
23358 echo "$as_me: program exited with status
$ac_status" >&5
23359 echo "$as_me: failed program was
:" >&5
23360 sed 's/^/| /' conftest.$ac_ext >&5
23362 ( exit $ac_status )
23363 if test "$ac_cv_type_wchar_t" = yes; then
23364 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23365 See \
`config.log' for more details." >&5
23366 echo "$as_me: error: cannot compute sizeof (wchar_t)
23367 See \`config.log
' for more details." >&2;}
23368 { (exit 77); exit 77; }; }
23370 ac_cv_sizeof_wchar_t=0
23373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23377 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23378 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23382 cat >>confdefs.h <<_ACEOF
23383 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23387 if test "$ac_cv_sizeof_wchar_t" != 0; then
23393 { echo "$as_me:$LINENO: checking for va_copy" >&5
23394 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23395 if test "${wx_cv_func_va_copy+set}" = set; then
23396 echo $ECHO_N "(cached) $ECHO_C" >&6
23400 ac_cpp='$CXXCPP $CPPFLAGS'
23401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23402 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23405 cat >conftest.$ac_ext <<_ACEOF
23407 #include <stdarg.h>
23408 void foo(char *f, ...)
23422 rm -f conftest.$ac_objext conftest$ac_exeext
23423 if { (ac_try="$ac_link"
23424 case "(($ac_try" in
23425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23426 *) ac_try_echo=$ac_try;;
23428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23429 (eval "$ac_link") 2>conftest.er1
23431 grep -v '^
*+' conftest.er1 >conftest.err
23433 cat conftest.err >&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); } && {
23436 test -z "$ac_cxx_werror_flag" ||
23437 test ! -s conftest.err
23438 } && test -s conftest$ac_exeext &&
23439 $as_test_x conftest$ac_exeext; then
23440 wx_cv_func_va_copy=yes
23442 echo "$as_me: failed program was:" >&5
23443 sed 's
/^
/| /' conftest.$ac_ext >&5
23445 wx_cv_func_va_copy=no
23449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23450 conftest$ac_exeext conftest.$ac_ext
23452 ac_cpp='$CPP $CPPFLAGS'
23453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23454 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23460 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23461 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23463 if test $wx_cv_func_va_copy = "yes"; then
23464 cat >>confdefs.h <<\_ACEOF
23465 #define HAVE_VA_COPY 1
23469 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23470 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23471 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23472 echo $ECHO_N "(cached) $ECHO_C" >&6
23475 if test "$cross_compiling" = yes; then
23476 wx_cv_type_va_list_lvalue=yes
23479 cat >conftest.$ac_ext <<_ACEOF
23481 #include <stdarg.h>
23482 int foo(char *f, ...)
23487 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23495 return foo("hi", 17);
23498 rm -f conftest$ac_exeext
23499 if { (ac_try="$ac_link"
23500 case "(($ac_try" in
23501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23502 *) ac_try_echo=$ac_try;;
23504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23505 (eval "$ac_link") 2>&5
23507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23508 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23509 { (case "(($ac_try" in
23510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23511 *) ac_try_echo=$ac_try;;
23513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23514 (eval "$ac_try") 2>&5
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; }; then
23518 wx_cv_type_va_list_lvalue=yes
23520 echo "$as_me: program exited with status $ac_status" >&5
23521 echo "$as_me: failed program was:" >&5
23522 sed 's
/^
/| /' conftest.$ac_ext >&5
23524 ( exit $ac_status )
23525 wx_cv_type_va_list_lvalue=no
23527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23534 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23535 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23537 if test $wx_cv_type_va_list_lvalue != "yes"; then
23538 cat >>confdefs.h <<\_ACEOF
23539 #define VA_LIST_IS_ARRAY 1
23545 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23547 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23548 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23549 if test "${wx_cv_have_variadic_macros+set}" = set; then
23550 echo $ECHO_N "(cached) $ECHO_C" >&6
23554 ac_cpp='$CXXCPP $CPPFLAGS'
23555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23556 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23559 cat >conftest.$ac_ext <<_ACEOF
23562 cat confdefs.h >>conftest.$ac_ext
23563 cat >>conftest.$ac_ext <<_ACEOF
23564 /* end confdefs.h. */
23567 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23573 test("%s %d %p", "test", 1, 0);
23580 rm -f conftest.$ac_objext
23581 if { (ac_try="$ac_compile"
23582 case "(($ac_try" in
23583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23584 *) ac_try_echo=$ac_try;;
23586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23587 (eval "$ac_compile") 2>conftest.er1
23589 grep -v '^
*+' conftest.er1 >conftest.err
23591 cat conftest.err >&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); } && {
23594 test -z "$ac_cxx_werror_flag" ||
23595 test ! -s conftest.err
23596 } && test -s conftest.$ac_objext; then
23597 wx_cv_have_variadic_macros=yes
23599 echo "$as_me: failed program was:" >&5
23600 sed 's
/^
/| /' conftest.$ac_ext >&5
23602 wx_cv_have_variadic_macros=no
23606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23608 ac_cpp='$CPP $CPPFLAGS'
23609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23610 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23616 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23617 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23619 if test $wx_cv_have_variadic_macros = "yes"; then
23620 cat >>confdefs.h <<\_ACEOF
23621 #define HAVE_VARIADIC_MACROS 1
23628 LARGEFILE_CPPFLAGS=
23629 # Check whether --enable-largefile was given.
23630 if test "${enable_largefile+set}" = set; then
23631 enableval=$enable_largefile;
23634 if test "$enable_largefile" != no; then
23637 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23638 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23639 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23640 echo $ECHO_N "(cached) $ECHO_C" >&6
23643 cat >conftest.$ac_ext <<_ACEOF
23646 cat confdefs.h >>conftest.$ac_ext
23647 cat >>conftest.$ac_ext <<_ACEOF
23648 /* end confdefs.h. */
23649 #define _FILE_OFFSET_BITS 64
23650 #include <sys/types.h>
23655 unsigned int field: sizeof(off_t) == 8;
23662 rm -f conftest.$ac_objext
23663 if { (ac_try="$ac_compile"
23664 case "(($ac_try" in
23665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23666 *) ac_try_echo=$ac_try;;
23668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23669 (eval "$ac_compile") 2>conftest.er1
23671 grep -v '^
*+' conftest.er1 >conftest.err
23673 cat conftest.err >&5
23674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23675 (exit $ac_status); } && {
23676 test -z "$ac_c_werror_flag" ||
23677 test ! -s conftest.err
23678 } && test -s conftest.$ac_objext; then
23679 ac_cv_sys_file_offset_bits=64
23681 echo "$as_me: failed program was:" >&5
23682 sed 's
/^
/| /' conftest.$ac_ext >&5
23684 ac_cv_sys_file_offset_bits=no
23687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23691 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23692 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23694 if test "$ac_cv_sys_file_offset_bits" != no; then
23696 cat >>confdefs.h <<_ACEOF
23697 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23702 if test "x$wx_largefile" != "xyes"; then
23704 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23705 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23706 if test "${ac_cv_sys_large_files+set}" = set; then
23707 echo $ECHO_N "(cached) $ECHO_C" >&6
23710 cat >conftest.$ac_ext <<_ACEOF
23713 cat confdefs.h >>conftest.$ac_ext
23714 cat >>conftest.$ac_ext <<_ACEOF
23715 /* end confdefs.h. */
23716 #define _LARGE_FILES 1
23717 #include <sys/types.h>
23722 unsigned int field: sizeof(off_t) == 8;
23729 rm -f conftest.$ac_objext
23730 if { (ac_try="$ac_compile"
23731 case "(($ac_try" in
23732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23733 *) ac_try_echo=$ac_try;;
23735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23736 (eval "$ac_compile") 2>conftest.er1
23738 grep -v '^
*+' conftest.er1 >conftest.err
23740 cat conftest.err >&5
23741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742 (exit $ac_status); } && {
23743 test -z "$ac_c_werror_flag" ||
23744 test ! -s conftest.err
23745 } && test -s conftest.$ac_objext; then
23746 ac_cv_sys_large_files=1
23748 echo "$as_me: failed program was:" >&5
23749 sed 's
/^
/| /' conftest.$ac_ext >&5
23751 ac_cv_sys_large_files=no
23754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23758 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23759 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23761 if test "$ac_cv_sys_large_files" != no; then
23763 cat >>confdefs.h <<_ACEOF
23764 #define _LARGE_FILES $ac_cv_sys_large_files
23771 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23772 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23773 if test "x$wx_largefile" = "xyes"; then
23774 cat >>confdefs.h <<\_ACEOF
23775 #define HAVE_LARGEFILE_SUPPORT 1
23779 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23780 echo "${ECHO_T}$wx_largefile" >&6; }
23783 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23784 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23785 elif test "$ac_cv_sys_large_files" = 1; then
23786 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23789 if test -n "$LARGEFILE_CPPFLAGS"; then
23790 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23792 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23793 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23794 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23795 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23796 echo $ECHO_N "(cached) $ECHO_C" >&6
23800 ac_cpp='$CXXCPP $CPPFLAGS'
23801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23802 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23805 cat >conftest.$ac_ext <<_ACEOF
23808 cat confdefs.h >>conftest.$ac_ext
23809 cat >>conftest.$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23816 #ifndef __STDC_EXT__
23824 rm -f conftest.$ac_objext
23825 if { (ac_try="$ac_compile"
23826 case "(($ac_try" in
23827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23828 *) ac_try_echo=$ac_try;;
23830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23831 (eval "$ac_compile") 2>conftest.er1
23833 grep -v '^
*+' conftest.er1 >conftest.err
23835 cat conftest.err >&5
23836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23837 (exit $ac_status); } && {
23838 test -z "$ac_cxx_werror_flag" ||
23839 test ! -s conftest.err
23840 } && test -s conftest.$ac_objext; then
23841 wx_cv_STDC_EXT_required=no
23843 echo "$as_me: failed program was:" >&5
23844 sed 's
/^
/| /' conftest.$ac_ext >&5
23846 wx_cv_STDC_EXT_required=yes
23850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23852 ac_cpp='$CPP $CPPFLAGS'
23853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23854 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23860 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23861 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23862 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23863 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23869 ac_cpp='$CXXCPP $CPPFLAGS'
23870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23871 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23874 old_CPPFLAGS="$CPPFLAGS"
23875 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23876 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23877 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23878 if test "${ac_cv_sys_largefile_source+set}" = set; then
23879 echo $ECHO_N "(cached) $ECHO_C" >&6
23882 cat >conftest.$ac_ext <<_ACEOF
23885 cat confdefs.h >>conftest.$ac_ext
23886 cat >>conftest.$ac_ext <<_ACEOF
23887 /* end confdefs.h. */
23888 #include <sys/types.h> /* for off_t */
23893 int (*fp) (FILE *, off_t, int) = fseeko;
23894 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23899 rm -f conftest.$ac_objext conftest$ac_exeext
23900 if { (ac_try="$ac_link"
23901 case "(($ac_try" in
23902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23903 *) ac_try_echo=$ac_try;;
23905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23906 (eval "$ac_link") 2>conftest.er1
23908 grep -v '^
*+' conftest.er1 >conftest.err
23910 cat conftest.err >&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); } && {
23913 test -z "$ac_cxx_werror_flag" ||
23914 test ! -s conftest.err
23915 } && test -s conftest$ac_exeext &&
23916 $as_test_x conftest$ac_exeext; then
23917 ac_cv_sys_largefile_source=no; break
23919 echo "$as_me: failed program was:" >&5
23920 sed 's
/^
/| /' conftest.$ac_ext >&5
23925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23926 conftest$ac_exeext conftest.$ac_ext
23927 cat >conftest.$ac_ext <<_ACEOF
23930 cat confdefs.h >>conftest.$ac_ext
23931 cat >>conftest.$ac_ext <<_ACEOF
23932 /* end confdefs.h. */
23933 #define _LARGEFILE_SOURCE 1
23934 #include <sys/types.h> /* for off_t */
23939 int (*fp) (FILE *, off_t, int) = fseeko;
23940 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23945 rm -f conftest.$ac_objext conftest$ac_exeext
23946 if { (ac_try="$ac_link"
23947 case "(($ac_try" in
23948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23949 *) ac_try_echo=$ac_try;;
23951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23952 (eval "$ac_link") 2>conftest.er1
23954 grep -v '^
*+' conftest.er1 >conftest.err
23956 cat conftest.err >&5
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); } && {
23959 test -z "$ac_cxx_werror_flag" ||
23960 test ! -s conftest.err
23961 } && test -s conftest$ac_exeext &&
23962 $as_test_x conftest$ac_exeext; then
23963 ac_cv_sys_largefile_source=1; break
23965 echo "$as_me: failed program was:" >&5
23966 sed 's
/^
/| /' conftest.$ac_ext >&5
23971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23972 conftest$ac_exeext conftest.$ac_ext
23973 ac_cv_sys_largefile_source=unknown
23977 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23978 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23979 case $ac_cv_sys_largefile_source in #(
23982 cat >>confdefs.h <<_ACEOF
23983 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23989 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23990 # in glibc 2.1.3, but that breaks too many other things.
23991 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23992 if test $ac_cv_sys_largefile_source != unknown; then
23994 cat >>confdefs.h <<\_ACEOF
23995 #define HAVE_FSEEKO 1
24000 CPPFLAGS="$old_CPPFLAGS"
24002 ac_cpp='$CPP $CPPFLAGS'
24003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24004 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24007 if test "$ac_cv_sys_largefile_source" != no; then
24008 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24011 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24012 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24013 if test "${ac_cv_c_bigendian+set}" = set; then
24014 echo $ECHO_N "(cached) $ECHO_C" >&6
24016 ac_cv_c_bigendian=unknown
24017 # See if sys/param.h defines the BYTE_ORDER macro.
24018 cat >conftest.$ac_ext <<_ACEOF
24021 cat confdefs.h >>conftest.$ac_ext
24022 cat >>conftest.$ac_ext <<_ACEOF
24023 /* end confdefs.h. */
24024 #include <sys/types.h>
24025 #include <sys/param.h>
24030 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24031 bogus endian macros
24037 rm -f conftest.$ac_objext
24038 if { (ac_try="$ac_compile"
24039 case "(($ac_try" in
24040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24041 *) ac_try_echo=$ac_try;;
24043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24044 (eval "$ac_compile") 2>conftest.er1
24046 grep -v '^
*+' conftest.er1 >conftest.err
24048 cat conftest.err >&5
24049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24050 (exit $ac_status); } && {
24051 test -z "$ac_c_werror_flag" ||
24052 test ! -s conftest.err
24053 } && test -s conftest.$ac_objext; then
24054 # It does; now see whether it defined to BIG_ENDIAN or not.
24055 cat >conftest.$ac_ext <<_ACEOF
24058 cat confdefs.h >>conftest.$ac_ext
24059 cat >>conftest.$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24061 #include <sys/types.h>
24062 #include <sys/param.h>
24067 #if BYTE_ORDER != BIG_ENDIAN
24074 rm -f conftest.$ac_objext
24075 if { (ac_try="$ac_compile"
24076 case "(($ac_try" in
24077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24078 *) ac_try_echo=$ac_try;;
24080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24081 (eval "$ac_compile") 2>conftest.er1
24083 grep -v '^
*+' conftest.er1 >conftest.err
24085 cat conftest.err >&5
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); } && {
24088 test -z "$ac_c_werror_flag" ||
24089 test ! -s conftest.err
24090 } && test -s conftest.$ac_objext; then
24091 ac_cv_c_bigendian=yes
24093 echo "$as_me: failed program was:" >&5
24094 sed 's
/^
/| /' conftest.$ac_ext >&5
24096 ac_cv_c_bigendian=no
24099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24101 echo "$as_me: failed program was:" >&5
24102 sed 's
/^
/| /' conftest.$ac_ext >&5
24107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24108 if test $ac_cv_c_bigendian = unknown; then
24109 if test "$cross_compiling" = yes; then
24110 ac_cv_c_bigendian=unknown
24112 cat >conftest.$ac_ext <<_ACEOF
24115 cat confdefs.h >>conftest.$ac_ext
24116 cat >>conftest.$ac_ext <<_ACEOF
24117 /* end confdefs.h. */
24119 /* Are we little or big endian? From Harbison&Steele. */
24123 char c[sizeof (long)];
24126 exit (u.c[sizeof (long) - 1] == 1);
24129 rm -f conftest$ac_exeext
24130 if { (ac_try="$ac_link"
24131 case "(($ac_try" in
24132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24133 *) ac_try_echo=$ac_try;;
24135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24136 (eval "$ac_link") 2>&5
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24140 { (case "(($ac_try" in
24141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24142 *) ac_try_echo=$ac_try;;
24144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24145 (eval "$ac_try") 2>&5
24147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24148 (exit $ac_status); }; }; then
24149 ac_cv_c_bigendian=no
24151 echo "$as_me: program exited with status $ac_status" >&5
24152 echo "$as_me: failed program was:" >&5
24153 sed 's
/^
/| /' conftest.$ac_ext >&5
24155 ( exit $ac_status )
24156 ac_cv_c_bigendian=yes
24158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24164 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24165 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24166 if test $ac_cv_c_bigendian = unknown; then
24167 { 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
24168 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;}
24170 if test $ac_cv_c_bigendian = yes; then
24171 cat >>confdefs.h <<\_ACEOF
24172 #define WORDS_BIGENDIAN 1
24181 ac_cpp='$CXXCPP $CPPFLAGS'
24182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24183 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24188 for ac_header in iostream
24190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24191 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24194 echo $ECHO_N "(cached) $ECHO_C" >&6
24196 cat >conftest.$ac_ext <<_ACEOF
24199 cat confdefs.h >>conftest.$ac_ext
24200 cat >>conftest.$ac_ext <<_ACEOF
24201 /* end confdefs.h. */
24204 #include <$ac_header>
24206 rm -f conftest.$ac_objext
24207 if { (ac_try="$ac_compile"
24208 case "(($ac_try" in
24209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24210 *) ac_try_echo=$ac_try;;
24212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24213 (eval "$ac_compile") 2>conftest.er1
24215 grep -v '^
*+' conftest.er1 >conftest.err
24217 cat conftest.err >&5
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); } && {
24220 test -z "$ac_cxx_werror_flag" ||
24221 test ! -s conftest.err
24222 } && test -s conftest.$ac_objext; then
24223 eval "$as_ac_Header=yes"
24225 echo "$as_me: failed program was:" >&5
24226 sed 's
/^
/| /' conftest.$ac_ext >&5
24228 eval "$as_ac_Header=no"
24231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24233 ac_res=`eval echo '${'$as_ac_Header'}'`
24234 { echo "$as_me:$LINENO: result: $ac_res" >&5
24235 echo "${ECHO_T}$ac_res" >&6; }
24236 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24237 cat >>confdefs.h <<_ACEOF
24238 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24246 if test "$ac_cv_header_iostream" = "yes" ; then
24249 cat >>confdefs.h <<\_ACEOF
24250 #define wxUSE_IOSTREAMH 1
24256 ac_cpp='$CPP $CPPFLAGS'
24257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24258 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24264 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24265 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24266 if test "${wx_cv_explicit+set}" = set; then
24267 echo $ECHO_N "(cached) $ECHO_C" >&6
24272 ac_cpp='$CXXCPP $CPPFLAGS'
24273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24274 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24278 cat >conftest.$ac_ext <<_ACEOF
24281 cat confdefs.h >>conftest.$ac_ext
24282 cat >>conftest.$ac_ext <<_ACEOF
24283 /* end confdefs.h. */
24285 class Foo { public: explicit Foo(int) {} };
24297 rm -f conftest.$ac_objext
24298 if { (ac_try="$ac_compile"
24299 case "(($ac_try" in
24300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24301 *) ac_try_echo=$ac_try;;
24303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24304 (eval "$ac_compile") 2>conftest.er1
24306 grep -v '^
*+' conftest.er1 >conftest.err
24308 cat conftest.err >&5
24309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24310 (exit $ac_status); } && {
24311 test -z "$ac_cxx_werror_flag" ||
24312 test ! -s conftest.err
24313 } && test -s conftest.$ac_objext; then
24315 cat >conftest.$ac_ext <<_ACEOF
24318 cat confdefs.h >>conftest.$ac_ext
24319 cat >>conftest.$ac_ext <<_ACEOF
24320 /* end confdefs.h. */
24322 class Foo { public: explicit Foo(int) {} };
24323 static void TakeFoo(const Foo& foo) { }
24336 rm -f conftest.$ac_objext
24337 if { (ac_try="$ac_compile"
24338 case "(($ac_try" in
24339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24340 *) ac_try_echo=$ac_try;;
24342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24343 (eval "$ac_compile") 2>conftest.er1
24345 grep -v '^
*+' conftest.er1 >conftest.err
24347 cat conftest.err >&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } && {
24350 test -z "$ac_cxx_werror_flag" ||
24351 test ! -s conftest.err
24352 } && test -s conftest.$ac_objext; then
24355 echo "$as_me: failed program was:" >&5
24356 sed 's
/^
/| /' conftest.$ac_ext >&5
24362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24365 echo "$as_me: failed program was:" >&5
24366 sed 's
/^
/| /' conftest.$ac_ext >&5
24372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24375 ac_cpp='$CPP $CPPFLAGS'
24376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24377 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24382 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24383 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24385 if test "$wx_cv_explicit" = "yes"; then
24386 cat >>confdefs.h <<\_ACEOF
24387 #define HAVE_EXPLICIT 1
24393 if test "x$SUNCXX" = xyes; then
24394 CXXFLAGS="-features=tmplife $CXXFLAGS"
24397 if test "x$SUNCC" = xyes; then
24398 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24401 if test "x$SGICC" = "xyes"; then
24402 CFLAGS="-woff 3970 $CFLAGS"
24404 if test "x$SGICXX" = "xyes"; then
24405 CXXFLAGS="-woff 3970 $CXXFLAGS"
24408 if test "x$HPCC" = "xyes"; then
24409 CFLAGS="+W 2011,2450 $CFLAGS"
24411 if test "x$HPCXX" = "xyes"; then
24412 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24415 if test "x$COMPAQCXX" = "xyes"; then
24416 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24420 ac_cpp='$CXXCPP $CPPFLAGS'
24421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24422 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24426 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24427 if test "$wxUSE_UNICODE" = "yes"; then
24428 std_string="std::wstring"
24429 char_type="wchar_t"
24431 std_string="std::string"
24435 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24436 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24437 if test "${wx_cv_class_stdstring+set}" = set; then
24438 echo $ECHO_N "(cached) $ECHO_C" >&6
24441 cat >conftest.$ac_ext <<_ACEOF
24444 cat confdefs.h >>conftest.$ac_ext
24445 cat >>conftest.$ac_ext <<_ACEOF
24446 /* end confdefs.h. */
24456 rm -f conftest.$ac_objext
24457 if { (ac_try="$ac_compile"
24458 case "(($ac_try" in
24459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24460 *) ac_try_echo=$ac_try;;
24462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24463 (eval "$ac_compile") 2>conftest.er1
24465 grep -v '^
*+' conftest.er1 >conftest.err
24467 cat conftest.err >&5
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); } && {
24470 test -z "$ac_cxx_werror_flag" ||
24471 test ! -s conftest.err
24472 } && test -s conftest.$ac_objext; then
24473 wx_cv_class_stdstring=yes
24475 echo "$as_me: failed program was:" >&5
24476 sed 's
/^
/| /' conftest.$ac_ext >&5
24478 wx_cv_class_stdstring=no
24482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24486 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24487 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24489 if test "$wx_cv_class_stdstring" = yes; then
24490 if test "$wxUSE_UNICODE" = "yes"; then
24491 cat >>confdefs.h <<\_ACEOF
24492 #define HAVE_STD_WSTRING 1
24497 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24498 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24499 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24500 echo $ECHO_N "(cached) $ECHO_C" >&6
24503 cat >conftest.$ac_ext <<_ACEOF
24506 cat confdefs.h >>conftest.$ac_ext
24507 cat >>conftest.$ac_ext <<_ACEOF
24508 /* end confdefs.h. */
24510 #ifdef HAVE_WCHAR_H
24512 # include <stddef.h>
24514 # include <wchar.h>
24516 #ifdef HAVE_STDLIB_H
24517 # include <stdlib.h>
24525 std::basic_string<$char_type> foo;
24526 const $char_type* dummy = foo.c_str();
24531 rm -f conftest.$ac_objext
24532 if { (ac_try="$ac_compile"
24533 case "(($ac_try" in
24534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24535 *) ac_try_echo=$ac_try;;
24537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24538 (eval "$ac_compile") 2>conftest.er1
24540 grep -v '^
*+' conftest.er1 >conftest.err
24542 cat conftest.err >&5
24543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } && {
24545 test -z "$ac_cxx_werror_flag" ||
24546 test ! -s conftest.err
24547 } && test -s conftest.$ac_objext; then
24548 wx_cv_class_stdbasicstring=yes
24550 echo "$as_me: failed program was:" >&5
24551 sed 's
/^
/| /' conftest.$ac_ext >&5
24553 wx_cv_class_stdbasicstring=no
24557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24561 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24562 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24564 if test "$wx_cv_class_stdbasicstring" != yes; then
24565 if test "$wxUSE_STL" = "yes"; then
24566 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24567 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24568 { (exit 1); exit 1; }; }
24569 elif test "$wxUSE_STD_STRING" = "yes"; then
24570 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24571 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24572 { (exit 1); exit 1; }; }
24574 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24575 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24576 wxUSE_STD_STRING=no
24582 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24583 { echo "$as_me:$LINENO: checking for std::istream" >&5
24584 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24585 if test "${ac_cv_type_std__istream+set}" = set; then
24586 echo $ECHO_N "(cached) $ECHO_C" >&6
24588 cat >conftest.$ac_ext <<_ACEOF
24591 cat confdefs.h >>conftest.$ac_ext
24592 cat >>conftest.$ac_ext <<_ACEOF
24593 /* end confdefs.h. */
24594 #include <iostream>
24596 typedef std::istream ac__type_new_;
24600 if ((ac__type_new_ *) 0)
24602 if (sizeof (ac__type_new_))
24608 rm -f conftest.$ac_objext
24609 if { (ac_try="$ac_compile"
24610 case "(($ac_try" in
24611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24612 *) ac_try_echo=$ac_try;;
24614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24615 (eval "$ac_compile") 2>conftest.er1
24617 grep -v '^
*+' conftest.er1 >conftest.err
24619 cat conftest.err >&5
24620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24621 (exit $ac_status); } && {
24622 test -z "$ac_cxx_werror_flag" ||
24623 test ! -s conftest.err
24624 } && test -s conftest.$ac_objext; then
24625 ac_cv_type_std__istream=yes
24627 echo "$as_me: failed program was:" >&5
24628 sed 's
/^
/| /' conftest.$ac_ext >&5
24630 ac_cv_type_std__istream=no
24633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24635 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24636 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24637 if test $ac_cv_type_std__istream = yes; then
24639 cat >>confdefs.h <<_ACEOF
24640 #define HAVE_STD__ISTREAM 1
24645 wxUSE_STD_IOSTREAM=no
24647 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24648 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24649 if test "${ac_cv_type_std__ostream+set}" = set; then
24650 echo $ECHO_N "(cached) $ECHO_C" >&6
24652 cat >conftest.$ac_ext <<_ACEOF
24655 cat confdefs.h >>conftest.$ac_ext
24656 cat >>conftest.$ac_ext <<_ACEOF
24657 /* end confdefs.h. */
24658 #include <iostream>
24660 typedef std::ostream ac__type_new_;
24664 if ((ac__type_new_ *) 0)
24666 if (sizeof (ac__type_new_))
24672 rm -f conftest.$ac_objext
24673 if { (ac_try="$ac_compile"
24674 case "(($ac_try" in
24675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24676 *) ac_try_echo=$ac_try;;
24678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24679 (eval "$ac_compile") 2>conftest.er1
24681 grep -v '^
*+' conftest.er1 >conftest.err
24683 cat conftest.err >&5
24684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24685 (exit $ac_status); } && {
24686 test -z "$ac_cxx_werror_flag" ||
24687 test ! -s conftest.err
24688 } && test -s conftest.$ac_objext; then
24689 ac_cv_type_std__ostream=yes
24691 echo "$as_me: failed program was:" >&5
24692 sed 's
/^
/| /' conftest.$ac_ext >&5
24694 ac_cv_type_std__ostream=no
24697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24699 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24700 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24701 if test $ac_cv_type_std__ostream = yes; then
24703 cat >>confdefs.h <<_ACEOF
24704 #define HAVE_STD__OSTREAM 1
24709 wxUSE_STD_IOSTREAM=no
24713 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24714 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24715 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24716 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24717 { (exit 1); exit 1; }; }
24719 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24720 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24725 if test "$wxUSE_STL" = "yes"; then
24726 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24727 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24728 if test "${wx_cv_lib_stl+set}" = set; then
24729 echo $ECHO_N "(cached) $ECHO_C" >&6
24731 cat >conftest.$ac_ext <<_ACEOF
24734 cat confdefs.h >>conftest.$ac_ext
24735 cat >>conftest.$ac_ext <<_ACEOF
24736 /* end confdefs.h. */
24738 #include <functional>
24739 #include <algorithm>
24745 std::vector<int> moo;
24746 std::list<int> foo;
24747 std::vector<int>::iterator it =
24748 std::find_if(moo.begin(), moo.end(),
24749 std::bind2nd(std::less<int>(), 3));
24754 rm -f conftest.$ac_objext
24755 if { (ac_try="$ac_compile"
24756 case "(($ac_try" in
24757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24758 *) ac_try_echo=$ac_try;;
24760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24761 (eval "$ac_compile") 2>conftest.er1
24763 grep -v '^
*+' conftest.er1 >conftest.err
24765 cat conftest.err >&5
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); } && {
24768 test -z "$ac_cxx_werror_flag" ||
24769 test ! -s conftest.err
24770 } && test -s conftest.$ac_objext; then
24773 echo "$as_me: failed program was:" >&5
24774 sed 's
/^
/| /' conftest.$ac_ext >&5
24780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24783 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24784 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24786 if test "$wx_cv_lib_stl" != yes; then
24787 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24788 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24789 { (exit 1); exit 1; }; }
24792 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24793 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24794 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24795 echo $ECHO_N "(cached) $ECHO_C" >&6
24797 cat >conftest.$ac_ext <<_ACEOF
24800 cat confdefs.h >>conftest.$ac_ext
24801 cat >>conftest.$ac_ext <<_ACEOF
24802 /* end confdefs.h. */
24807 std::string foo, bar;
24809 foo.compare(1, 1, bar);
24810 foo.compare(1, 1, bar, 1, 1);
24812 foo.compare(1, 1, "");
24813 foo.compare(1, 1, "", 2);
24818 rm -f conftest.$ac_objext
24819 if { (ac_try="$ac_compile"
24820 case "(($ac_try" in
24821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24822 *) ac_try_echo=$ac_try;;
24824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24825 (eval "$ac_compile") 2>conftest.er1
24827 grep -v '^
*+' conftest.er1 >conftest.err
24829 cat conftest.err >&5
24830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24831 (exit $ac_status); } && {
24832 test -z "$ac_cxx_werror_flag" ||
24833 test ! -s conftest.err
24834 } && test -s conftest.$ac_objext; then
24835 wx_cv_func_stdstring_compare=yes
24837 echo "$as_me: failed program was:" >&5
24838 sed 's
/^
/| /' conftest.$ac_ext >&5
24840 wx_cv_func_stdstring_compare=no
24844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24847 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24848 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24850 if test "$wx_cv_func_stdstring_compare" = yes; then
24851 cat >>confdefs.h <<\_ACEOF
24852 #define HAVE_STD_STRING_COMPARE 1
24857 if test "$wx_cv_class_gnuhashmapset" = yes; then
24858 cat >>confdefs.h <<\_ACEOF
24859 #define HAVE_EXT_HASH_MAP 1
24862 cat >>confdefs.h <<\_ACEOF
24863 #define HAVE_GNU_CXX_HASH_MAP 1
24868 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24869 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24870 if test "${ac_cv_header_unordered_map+set}" = set; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24873 cat >conftest.$ac_ext <<_ACEOF
24876 cat confdefs.h >>conftest.$ac_ext
24877 cat >>conftest.$ac_ext <<_ACEOF
24878 /* end confdefs.h. */
24882 #include <unordered_map>
24884 rm -f conftest.$ac_objext
24885 if { (ac_try="$ac_compile"
24886 case "(($ac_try" in
24887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24888 *) ac_try_echo=$ac_try;;
24890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24891 (eval "$ac_compile") 2>conftest.er1
24893 grep -v '^
*+' conftest.er1 >conftest.err
24895 cat conftest.err >&5
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); } && {
24898 test -z "$ac_cxx_werror_flag" ||
24899 test ! -s conftest.err
24900 } && test -s conftest.$ac_objext; then
24901 ac_cv_header_unordered_map=yes
24903 echo "$as_me: failed program was:" >&5
24904 sed 's
/^
/| /' conftest.$ac_ext >&5
24906 ac_cv_header_unordered_map=no
24909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24911 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24912 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24913 if test $ac_cv_header_unordered_map = yes; then
24914 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24915 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24916 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24917 echo $ECHO_N "(cached) $ECHO_C" >&6
24919 cat >conftest.$ac_ext <<_ACEOF
24922 cat confdefs.h >>conftest.$ac_ext
24923 cat >>conftest.$ac_ext <<_ACEOF
24924 /* end confdefs.h. */
24925 #include <unordered_map>
24926 #include <unordered_set>
24930 std::unordered_map<double*, char*> test1;
24931 std::unordered_set<char*> test2;
24936 rm -f conftest.$ac_objext
24937 if { (ac_try="$ac_compile"
24938 case "(($ac_try" in
24939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24940 *) ac_try_echo=$ac_try;;
24942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24943 (eval "$ac_compile") 2>conftest.er1
24945 grep -v '^
*+' conftest.er1 >conftest.err
24947 cat conftest.err >&5
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); } && {
24950 test -z "$ac_cxx_werror_flag" ||
24951 test ! -s conftest.err
24952 } && test -s conftest.$ac_objext; then
24953 wx_cv_class_stdunorderedmapset=yes
24955 echo "$as_me: failed program was:" >&5
24956 sed 's
/^
/| /' conftest.$ac_ext >&5
24958 wx_cv_class_stdunorderedmapset=no
24961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24965 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24966 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24971 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24972 cat >>confdefs.h <<\_ACEOF
24973 #define HAVE_STD_UNORDERED_MAP 1
24976 cat >>confdefs.h <<\_ACEOF
24977 #define HAVE_STD_UNORDERED_SET 1
24981 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24982 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24983 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24984 echo $ECHO_N "(cached) $ECHO_C" >&6
24986 cat >conftest.$ac_ext <<_ACEOF
24989 cat confdefs.h >>conftest.$ac_ext
24990 cat >>conftest.$ac_ext <<_ACEOF
24991 /* end confdefs.h. */
24995 #include <tr1/unordered_map>
24997 rm -f conftest.$ac_objext
24998 if { (ac_try="$ac_compile"
24999 case "(($ac_try" in
25000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25001 *) ac_try_echo=$ac_try;;
25003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25004 (eval "$ac_compile") 2>conftest.er1
25006 grep -v '^
*+' conftest.er1 >conftest.err
25008 cat conftest.err >&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); } && {
25011 test -z "$ac_cxx_werror_flag" ||
25012 test ! -s conftest.err
25013 } && test -s conftest.$ac_objext; then
25014 ac_cv_header_tr1_unordered_map=yes
25016 echo "$as_me: failed program was:" >&5
25017 sed 's
/^
/| /' conftest.$ac_ext >&5
25019 ac_cv_header_tr1_unordered_map=no
25022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25024 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25025 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25026 if test $ac_cv_header_tr1_unordered_map = yes; then
25027 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25028 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25029 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25030 echo $ECHO_N "(cached) $ECHO_C" >&6
25032 cat >conftest.$ac_ext <<_ACEOF
25035 cat confdefs.h >>conftest.$ac_ext
25036 cat >>conftest.$ac_ext <<_ACEOF
25037 /* end confdefs.h. */
25038 #include <tr1/unordered_map>
25039 #include <tr1/unordered_set>
25043 std::tr1::unordered_map<double*, char*> test1;
25044 std::tr1::unordered_set<char*> test2;
25045 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25046 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25052 rm -f conftest.
$ac_objext
25053 if { (ac_try
="$ac_compile"
25054 case "(($ac_try" in
25055 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25056 *) ac_try_echo=$ac_try;;
25058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25059 (eval "$ac_compile") 2>conftest.er1
25061 grep -v '^ *+' conftest.er1 >conftest.err
25063 cat conftest.err >&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); } && {
25066 test -z "$ac_cxx_werror_flag" ||
25067 test ! -s conftest.err
25068 } && test -s conftest.$ac_objext; then
25069 wx_cv_class_tr1unorderedmapset=yes
25071 echo "$as_me: failed program was:" >&5
25072 sed 's/^/| /' conftest.$ac_ext >&5
25074 wx_cv_class_tr1unorderedmapset=no
25077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25081 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25082 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25087 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25088 cat >>confdefs.h <<\_ACEOF
25089 #define HAVE_TR1_UNORDERED_MAP 1
25092 cat >>confdefs.h <<\_ACEOF
25093 #define HAVE_TR1_UNORDERED_SET 1
25097 { echo "$as_me:$LINENO: checking for hash_map" >&5
25098 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25099 if test "${ac_cv_header_hash_map+set}" = set; then
25100 echo $ECHO_N "(cached) $ECHO_C" >&6
25102 cat >conftest.$ac_ext <<_ACEOF
25105 cat confdefs.h >>conftest.$ac_ext
25106 cat >>conftest.$ac_ext <<_ACEOF
25107 /* end confdefs.h. */
25111 #include <hash_map>
25113 rm -f conftest.$ac_objext
25114 if { (ac_try="$ac_compile"
25115 case "(($ac_try" in
25116 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25117 *) ac_try_echo
=$ac_try;;
25119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25120 (eval "$ac_compile") 2>conftest.er1
25122 grep -v '^ *+' conftest.er1
>conftest.err
25124 cat conftest.err
>&5
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); } && {
25127 test -z "$ac_cxx_werror_flag" ||
25128 test ! -s conftest.err
25129 } && test -s conftest.
$ac_objext; then
25130 ac_cv_header_hash_map
=yes
25132 echo "$as_me: failed program was:" >&5
25133 sed 's/^/| /' conftest.
$ac_ext >&5
25135 ac_cv_header_hash_map
=no
25138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25140 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25141 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25142 if test $ac_cv_header_hash_map = yes; then
25143 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25144 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25145 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25146 echo $ECHO_N "(cached) $ECHO_C" >&6
25148 cat >conftest.
$ac_ext <<_ACEOF
25151 cat confdefs.h
>>conftest.
$ac_ext
25152 cat >>conftest.
$ac_ext <<_ACEOF
25153 /* end confdefs.h. */
25154 #include <hash_map>
25155 #include <hash_set>
25159 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25160 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25165 rm -f conftest.
$ac_objext
25166 if { (ac_try
="$ac_compile"
25167 case "(($ac_try" in
25168 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25169 *) ac_try_echo=$ac_try;;
25171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25172 (eval "$ac_compile") 2>conftest.er1
25174 grep -v '^ *+' conftest.er1 >conftest.err
25176 cat conftest.err >&5
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); } && {
25179 test -z "$ac_cxx_werror_flag" ||
25180 test ! -s conftest.err
25181 } && test -s conftest.$ac_objext; then
25182 wx_cv_class_stdhashmapset=yes
25184 echo "$as_me: failed program was:" >&5
25185 sed 's/^/| /' conftest.$ac_ext >&5
25187 wx_cv_class_stdhashmapset=no
25190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25194 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25195 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25200 if test "$wx_cv_class_stdhashmapset" = yes; then
25201 cat >>confdefs.h <<\_ACEOF
25202 #define HAVE_HASH_MAP 1
25205 cat >>confdefs.h <<\_ACEOF
25206 #define HAVE_STD_HASH_MAP 1
25211 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25212 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25213 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25214 echo $ECHO_N "(cached) $ECHO_C" >&6
25216 cat >conftest.$ac_ext <<_ACEOF
25219 cat confdefs.h >>conftest.$ac_ext
25220 cat >>conftest.$ac_ext <<_ACEOF
25221 /* end confdefs.h. */
25225 #include <ext/hash_map>
25227 rm -f conftest.$ac_objext
25228 if { (ac_try="$ac_compile"
25229 case "(($ac_try" in
25230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25231 *) ac_try_echo
=$ac_try;;
25233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25234 (eval "$ac_compile") 2>conftest.er1
25236 grep -v '^ *+' conftest.er1
>conftest.err
25238 cat conftest.err
>&5
25239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240 (exit $ac_status); } && {
25241 test -z "$ac_cxx_werror_flag" ||
25242 test ! -s conftest.err
25243 } && test -s conftest.
$ac_objext; then
25244 ac_cv_header_ext_hash_map
=yes
25246 echo "$as_me: failed program was:" >&5
25247 sed 's/^/| /' conftest.
$ac_ext >&5
25249 ac_cv_header_ext_hash_map
=no
25252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25254 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25255 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25256 if test $ac_cv_header_ext_hash_map = yes; then
25257 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25258 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25259 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25260 echo $ECHO_N "(cached) $ECHO_C" >&6
25262 cat >conftest.
$ac_ext <<_ACEOF
25265 cat confdefs.h
>>conftest.
$ac_ext
25266 cat >>conftest.
$ac_ext <<_ACEOF
25267 /* end confdefs.h. */
25268 #include <ext/hash_map>
25269 #include <ext/hash_set>
25273 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25274 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25279 rm -f conftest.
$ac_objext
25280 if { (ac_try
="$ac_compile"
25281 case "(($ac_try" in
25282 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25283 *) ac_try_echo=$ac_try;;
25285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25286 (eval "$ac_compile") 2>conftest.er1
25288 grep -v '^ *+' conftest.er1 >conftest.err
25290 cat conftest.err >&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } && {
25293 test -z "$ac_cxx_werror_flag" ||
25294 test ! -s conftest.err
25295 } && test -s conftest.$ac_objext; then
25296 wx_cv_class_gnuhashmapset=yes
25298 echo "$as_me: failed program was:" >&5
25299 sed 's/^/| /' conftest.$ac_ext >&5
25301 wx_cv_class_gnuhashmapset=no
25304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25308 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25309 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25320 if test -n "$GCC"; then
25321 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25322 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25323 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25324 echo $ECHO_N "(cached) $ECHO_C" >&6
25327 cat >conftest.$ac_ext <<_ACEOF
25330 cat confdefs.h >>conftest.$ac_ext
25331 cat >>conftest.$ac_ext <<_ACEOF
25332 /* end confdefs.h. */
25338 unsigned int value=0;
25339 /* wxAtomicInc doesn't use return value here */
25340 __sync_fetch_and_add(&value, 2);
25341 __sync_sub_and_fetch(&value, 1);
25342 /* but wxAtomicDec does, so mimic that: */
25343 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25349 rm -f conftest.$ac_objext conftest$ac_exeext
25350 if { (ac_try="$ac_link"
25351 case "(($ac_try" in
25352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25353 *) ac_try_echo
=$ac_try;;
25355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25356 (eval "$ac_link") 2>conftest.er1
25358 grep -v '^ *+' conftest.er1
>conftest.err
25360 cat conftest.err
>&5
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); } && {
25363 test -z "$ac_cxx_werror_flag" ||
25364 test ! -s conftest.err
25365 } && test -s conftest
$ac_exeext &&
25366 $as_test_x conftest
$ac_exeext; then
25367 wx_cv_cc_gcc_atomic_builtins
=yes
25369 echo "$as_me: failed program was:" >&5
25370 sed 's/^/| /' conftest.
$ac_ext >&5
25372 wx_cv_cc_gcc_atomic_builtins
=no
25375 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25376 conftest
$ac_exeext conftest.
$ac_ext
25380 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25381 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25382 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25383 cat >>confdefs.h
<<\_ACEOF
25384 #define HAVE_GCC_ATOMIC_BUILTINS 1
25392 ac_cpp
='$CPP $CPPFLAGS'
25393 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25394 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25395 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25400 /usr/local/include \
25401 /usr/local/X11/include \
25402 /usr/local/include/X11 \
25403 /usr/local/X11R7/include \
25404 /usr/local/X11R6/include \
25405 /usr/local/include/X11R7 \
25406 /usr/local/include/X11R6 \
25408 /usr/Motif-2.1/include \
25409 /usr/Motif-1.2/include \
25410 /usr/include/Motif1.2 \
25413 /usr/openwin/include \
25417 /usr/X11R7/include \
25418 /usr/X11R6/include \
25419 /usr/X11R6.4/include \
25421 /usr/include/X11R7 \
25422 /usr/include/X11R6 \
25427 /usr/XFree86/include/X11 \
25430 /usr/local/X1R5/include \
25431 /usr/local/include/X11R5 \
25432 /usr/X11R5/include \
25433 /usr/include/X11R5 \
25435 /usr/local/X11R4/include \
25436 /usr/local/include/X11R4 \
25437 /usr/X11R4/include \
25438 /usr/include/X11R4 \
25440 /usr/openwin/share/include"
25442 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25443 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25447 if test "${wx_cv_std_libpath+set}" = set; then
25448 echo $ECHO_N "(cached) $ECHO_C" >&6
25451 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25452 for e
in a so sl dylib dll.a
; do
25454 if test -f $libc; then
25457 cat >conftest.
$ac_ext <<_ACEOF
25458 int main() { return 0; }
25460 rm -f conftest.
$ac_objext conftest
$ac_exeext
25461 if { (ac_try
="$ac_link"
25462 case "(($ac_try" in
25463 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25464 *) ac_try_echo=$ac_try;;
25466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25467 (eval "$ac_link") 2>conftest.er1
25469 grep -v '^ *+' conftest.er1 >conftest.err
25471 cat conftest.err >&5
25472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25473 (exit $ac_status); } && {
25474 test -z "$ac_c_werror_flag" ||
25475 test ! -s conftest.err
25476 } && test -s conftest$ac_exeext &&
25477 $as_test_x conftest$ac_exeext; then
25478 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25480 echo "$as_me: failed program was:" >&5
25481 sed 's/^/| /' conftest.$ac_ext >&5
25486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25487 conftest$ac_exeext conftest.$ac_ext
25489 if test "x$wx_cv_std_libpath" != "x"; then
25495 if test "x$wx_cv_std_libpath" = "x"; then
25496 wx_cv_std_libpath="lib"
25505 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25506 wx_cv_std_libpath="lib/64"
25508 wx_cv_std_libpath="lib"
25513 if test "$ac_cv_sizeof_void_p" = 8 -a \
25514 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25515 wx_cv_std_libpath="lib64"
25517 wx_cv_std_libpath="lib"
25522 wx_cv_std_libpath="lib";
25526 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25527 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25529 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25531 if test "$build" != "$host" -a "$GCC" = yes; then
25532 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25533 cross_root=`dirname $cross_root`
25534 cross_root=`dirname $cross_root`
25536 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25537 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25538 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25540 if test -z "$PKG_CONFIG_PATH"; then
25541 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25542 export PKG_CONFIG_PATH
25545 if test -z "$x_includes" -o "$x_includes" = NONE; then
25548 for ac_dir in $SEARCH_INCLUDE /usr/include;
25550 if test -f "$ac_dir/X11/Intrinsic.h"; then
25551 ac_find_includes=$ac_dir
25556 x_includes=$ac_find_includes
25558 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25561 for ac_dir in $SEARCH_LIB;
25563 for ac_extension in a so sl dylib dll.a; do
25564 if test -f "$ac_dir/libXt.$ac_extension"; then
25565 ac_find_libraries=$ac_dir
25571 x_libraries=$ac_find_libraries
25577 cat >confcache <<\_ACEOF
25578 # This file is a shell script that caches the results of configure
25579 # tests run on this system so they can be shared between configure
25580 # scripts and configure runs, see configure's option --config-cache.
25581 # It is not useful on other systems. If it contains results you don't
25582 # want to keep, you may remove or edit it.
25584 # config.status only pays attention to the cache file if you give it
25585 # the --recheck option to rerun configure.
25587 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25589 # following values.
25593 # The following way of writing the cache mishandles newlines in values,
25594 # but we know of no workaround that is simple, portable, and efficient.
25595 # So, we kill variables containing newlines.
25596 # Ultrix sh set writes to stderr and can't be redirected directly,
25597 # and sets the high bit in the cache file unless we assign to the vars.
25599 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25600 eval ac_val
=\$
$ac_var
25604 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25605 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25608 _
| IFS
| as_nl
) ;; #(
25609 *) $as_unset $ac_var ;;
25615 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25616 *${as_nl}ac_space
=\
*)
25617 # `set' does not quote correctly, so add quotes (double-quote
25618 # substitution turns \\\\ into \\, and sed turns \\ into \).
25621 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25624 # `set' quotes correctly as required by POSIX, so do not add quotes.
25625 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25634 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25636 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25638 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25639 if test -w "$cache_file"; then
25640 test "x$cache_file" != "x/dev/null" &&
25641 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25642 echo "$as_me: updating cache $cache_file" >&6;}
25643 cat confcache
>$cache_file
25645 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25646 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25651 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25652 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25653 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25654 if test "${wx_cv_lib_glibc21+set}" = set; then
25655 echo $ECHO_N "(cached) $ECHO_C" >&6
25658 cat >conftest.
$ac_ext <<_ACEOF
25661 cat confdefs.h
>>conftest.
$ac_ext
25662 cat >>conftest.
$ac_ext <<_ACEOF
25663 /* end confdefs.h. */
25664 #include <features.h>
25669 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25677 rm -f conftest.
$ac_objext
25678 if { (ac_try
="$ac_compile"
25679 case "(($ac_try" in
25680 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25681 *) ac_try_echo=$ac_try;;
25683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25684 (eval "$ac_compile") 2>conftest.er1
25686 grep -v '^ *+' conftest.er1 >conftest.err
25688 cat conftest.err >&5
25689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25690 (exit $ac_status); } && {
25691 test -z "$ac_c_werror_flag" ||
25692 test ! -s conftest.err
25693 } && test -s conftest.$ac_objext; then
25695 wx_cv_lib_glibc21=yes
25698 echo "$as_me: failed program was:" >&5
25699 sed 's/^/| /' conftest.$ac_ext >&5
25702 wx_cv_lib_glibc21=no
25707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25710 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25711 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25712 if test "$wx_cv_lib_glibc21" = "yes"; then
25713 cat >>confdefs.h <<\_ACEOF
25714 #define wxHAVE_GLIBC2 1
25720 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25721 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25722 cat >>confdefs.h <<\_ACEOF
25723 #define _GNU_SOURCE 1
25734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25735 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25737 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25738 echo $ECHO_N "(cached) $ECHO_C" >&6
25740 cat >conftest.$ac_ext <<_ACEOF
25743 cat confdefs.h >>conftest.$ac_ext
25744 cat >>conftest.$ac_ext <<_ACEOF
25745 /* end confdefs.h. */
25746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25748 #define $ac_func innocuous_$ac_func
25750 /* System header to define __stub macros and hopefully few prototypes,
25751 which can conflict with char $ac_func (); below.
25752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25753 <limits.h> exists even on freestanding compilers. */
25756 # include <limits.h>
25758 # include <assert.h>
25763 /* Override any GCC internal prototype to avoid an error.
25764 Use char because int might match the return type of a GCC
25765 builtin and then its argument prototype would still apply. */
25770 /* The GNU C library defines this for functions which it implements
25771 to always fail with ENOSYS. Some functions are actually named
25772 something starting with __ and the normal name is an alias. */
25773 #if defined __stub_$ac_func || defined __stub___$ac_func
25780 return $ac_func ();
25785 rm -f conftest.$ac_objext conftest$ac_exeext
25786 if { (ac_try="$ac_link"
25787 case "(($ac_try" in
25788 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25789 *) ac_try_echo
=$ac_try;;
25791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25792 (eval "$ac_link") 2>conftest.er1
25794 grep -v '^ *+' conftest.er1
>conftest.err
25796 cat conftest.err
>&5
25797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25798 (exit $ac_status); } && {
25799 test -z "$ac_c_werror_flag" ||
25800 test ! -s conftest.err
25801 } && test -s conftest
$ac_exeext &&
25802 $as_test_x conftest
$ac_exeext; then
25803 eval "$as_ac_var=yes"
25805 echo "$as_me: failed program was:" >&5
25806 sed 's/^/| /' conftest.
$ac_ext >&5
25808 eval "$as_ac_var=no"
25811 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25812 conftest
$ac_exeext conftest.
$ac_ext
25814 ac_res
=`eval echo '${'$as_ac_var'}'`
25815 { echo "$as_me:$LINENO: result: $ac_res" >&5
25816 echo "${ECHO_T}$ac_res" >&6; }
25817 if test `eval echo '${'$as_ac_var'}'` = yes; then
25818 cat >>confdefs.h
<<_ACEOF
25819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25826 for ac_func
in floor
25828 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25829 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25831 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25832 echo $ECHO_N "(cached) $ECHO_C" >&6
25834 cat >conftest.
$ac_ext <<_ACEOF
25837 cat confdefs.h
>>conftest.
$ac_ext
25838 cat >>conftest.
$ac_ext <<_ACEOF
25839 /* end confdefs.h. */
25840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25842 #define $ac_func innocuous_$ac_func
25844 /* System header to define __stub macros and hopefully few prototypes,
25845 which can conflict with char $ac_func (); below.
25846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25847 <limits.h> exists even on freestanding compilers. */
25850 # include <limits.h>
25852 # include <assert.h>
25857 /* Override any GCC internal prototype to avoid an error.
25858 Use char because int might match the return type of a GCC
25859 builtin and then its argument prototype would still apply. */
25864 /* The GNU C library defines this for functions which it implements
25865 to always fail with ENOSYS. Some functions are actually named
25866 something starting with __ and the normal name is an alias. */
25867 #if defined __stub_$ac_func || defined __stub___$ac_func
25874 return $ac_func ();
25879 rm -f conftest.
$ac_objext conftest
$ac_exeext
25880 if { (ac_try
="$ac_link"
25881 case "(($ac_try" in
25882 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25883 *) ac_try_echo=$ac_try;;
25885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25886 (eval "$ac_link") 2>conftest.er1
25888 grep -v '^ *+' conftest.er1 >conftest.err
25890 cat conftest.err >&5
25891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25892 (exit $ac_status); } && {
25893 test -z "$ac_c_werror_flag" ||
25894 test ! -s conftest.err
25895 } && test -s conftest$ac_exeext &&
25896 $as_test_x conftest$ac_exeext; then
25897 eval "$as_ac_var=yes"
25899 echo "$as_me: failed program was:" >&5
25900 sed 's/^/| /' conftest.$ac_ext >&5
25902 eval "$as_ac_var=no"
25905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25906 conftest$ac_exeext conftest.$ac_ext
25908 ac_res=`eval echo '${'$as_ac_var'}'`
25909 { echo "$as_me:$LINENO: result: $ac_res" >&5
25910 echo "${ECHO_T}$ac_res" >&6; }
25911 if test `eval echo '${'$as_ac_var'}'` = yes; then
25912 cat >>confdefs.h <<_ACEOF
25913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25919 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25920 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25921 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25922 { echo "$as_me:$LINENO: result: yes" >&5
25923 echo "${ECHO_T}yes" >&6; }
25925 { echo "$as_me:$LINENO: result: no" >&5
25926 echo "${ECHO_T}no" >&6; }
25928 # use different functions to avoid configure caching
25934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25935 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25938 echo $ECHO_N "(cached) $ECHO_C" >&6
25940 cat >conftest.$ac_ext <<_ACEOF
25943 cat confdefs.h >>conftest.$ac_ext
25944 cat >>conftest.$ac_ext <<_ACEOF
25945 /* end confdefs.h. */
25946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25948 #define $ac_func innocuous_$ac_func
25950 /* System header to define __stub macros and hopefully few prototypes,
25951 which can conflict with char $ac_func (); below.
25952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25953 <limits.h> exists even on freestanding compilers. */
25956 # include <limits.h>
25958 # include <assert.h>
25963 /* Override any GCC internal prototype to avoid an error.
25964 Use char because int might match the return type of a GCC
25965 builtin and then its argument prototype would still apply. */
25970 /* The GNU C library defines this for functions which it implements
25971 to always fail with ENOSYS. Some functions are actually named
25972 something starting with __ and the normal name is an alias. */
25973 #if defined __stub_$ac_func || defined __stub___$ac_func
25980 return $ac_func ();
25985 rm -f conftest.$ac_objext conftest$ac_exeext
25986 if { (ac_try="$ac_link"
25987 case "(($ac_try" in
25988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25989 *) ac_try_echo
=$ac_try;;
25991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25992 (eval "$ac_link") 2>conftest.er1
25994 grep -v '^ *+' conftest.er1
>conftest.err
25996 cat conftest.err
>&5
25997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25998 (exit $ac_status); } && {
25999 test -z "$ac_c_werror_flag" ||
26000 test ! -s conftest.err
26001 } && test -s conftest
$ac_exeext &&
26002 $as_test_x conftest
$ac_exeext; then
26003 eval "$as_ac_var=yes"
26005 echo "$as_me: failed program was:" >&5
26006 sed 's/^/| /' conftest.
$ac_ext >&5
26008 eval "$as_ac_var=no"
26011 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26012 conftest
$ac_exeext conftest.
$ac_ext
26014 ac_res
=`eval echo '${'$as_ac_var'}'`
26015 { echo "$as_me:$LINENO: result: $ac_res" >&5
26016 echo "${ECHO_T}$ac_res" >&6; }
26017 if test `eval echo '${'$as_ac_var'}'` = yes; then
26018 cat >>confdefs.h
<<_ACEOF
26019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26026 for ac_func
in ceil
26028 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26029 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26031 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26032 echo $ECHO_N "(cached) $ECHO_C" >&6
26034 cat >conftest.
$ac_ext <<_ACEOF
26037 cat confdefs.h
>>conftest.
$ac_ext
26038 cat >>conftest.
$ac_ext <<_ACEOF
26039 /* end confdefs.h. */
26040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26042 #define $ac_func innocuous_$ac_func
26044 /* System header to define __stub macros and hopefully few prototypes,
26045 which can conflict with char $ac_func (); below.
26046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26047 <limits.h> exists even on freestanding compilers. */
26050 # include <limits.h>
26052 # include <assert.h>
26057 /* Override any GCC internal prototype to avoid an error.
26058 Use char because int might match the return type of a GCC
26059 builtin and then its argument prototype would still apply. */
26064 /* The GNU C library defines this for functions which it implements
26065 to always fail with ENOSYS. Some functions are actually named
26066 something starting with __ and the normal name is an alias. */
26067 #if defined __stub_$ac_func || defined __stub___$ac_func
26074 return $ac_func ();
26079 rm -f conftest.
$ac_objext conftest
$ac_exeext
26080 if { (ac_try
="$ac_link"
26081 case "(($ac_try" in
26082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26083 *) ac_try_echo=$ac_try;;
26085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26086 (eval "$ac_link") 2>conftest.er1
26088 grep -v '^ *+' conftest.er1 >conftest.err
26090 cat conftest.err >&5
26091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26092 (exit $ac_status); } && {
26093 test -z "$ac_c_werror_flag" ||
26094 test ! -s conftest.err
26095 } && test -s conftest$ac_exeext &&
26096 $as_test_x conftest$ac_exeext; then
26097 eval "$as_ac_var=yes"
26099 echo "$as_me: failed program was:" >&5
26100 sed 's/^/| /' conftest.$ac_ext >&5
26102 eval "$as_ac_var=no"
26105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26106 conftest$ac_exeext conftest.$ac_ext
26108 ac_res=`eval echo '${'$as_ac_var'}'`
26109 { echo "$as_me:$LINENO: result: $ac_res" >&5
26110 echo "${ECHO_T}$ac_res" >&6; }
26111 if test `eval echo '${'$as_ac_var'}'` = yes; then
26112 cat >>confdefs.h <<_ACEOF
26113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26119 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26120 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26121 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26122 { echo "$as_me:$LINENO: result: yes" >&5
26123 echo "${ECHO_T}yes" >&6; }
26125 { echo "$as_me:$LINENO: result: no" >&5
26126 echo "${ECHO_T}no" >&6; }
26127 # not sure we should warn the user, crash, etc.
26132 ac_cpp='$CXXCPP $CPPFLAGS'
26133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26137 if test "wxUSE_UNICODE" = "yes"; then
26139 for wx_func in wcstoull
26141 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26142 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26143 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26144 echo $ECHO_N "(cached) $ECHO_C" >&6
26147 cat >conftest.$ac_ext <<_ACEOF
26151 cat confdefs.h >>conftest.$ac_ext
26152 cat >>conftest.$ac_ext <<_ACEOF
26153 /* end confdefs.h. */
26156 $ac_includes_default
26172 rm -f conftest.$ac_objext conftest$ac_exeext
26173 if { (ac_try="$ac_link"
26174 case "(($ac_try" in
26175 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26176 *) ac_try_echo
=$ac_try;;
26178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26179 (eval "$ac_link") 2>conftest.er1
26181 grep -v '^ *+' conftest.er1
>conftest.err
26183 cat conftest.err
>&5
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); } && {
26186 test -z "$ac_cxx_werror_flag" ||
26187 test ! -s conftest.err
26188 } && test -s conftest
$ac_exeext &&
26189 $as_test_x conftest
$ac_exeext; then
26190 eval wx_cv_func_
$wx_func=yes
26192 echo "$as_me: failed program was:" >&5
26193 sed 's/^/| /' conftest.
$ac_ext >&5
26195 eval wx_cv_func_
$wx_func=no
26198 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26199 conftest
$ac_exeext conftest.
$ac_ext
26202 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26203 { echo "$as_me:$LINENO: result: $ac_res" >&5
26204 echo "${ECHO_T}$ac_res" >&6; }
26206 if eval test \
$wx_cv_func_$wx_func = yes
26208 cat >>confdefs.h
<<_ACEOF
26209 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26221 for wx_func
in strtoull
26223 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26224 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26225 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26226 echo $ECHO_N "(cached) $ECHO_C" >&6
26229 cat >conftest.
$ac_ext <<_ACEOF
26233 cat confdefs.h
>>conftest.
$ac_ext
26234 cat >>conftest.
$ac_ext <<_ACEOF
26235 /* end confdefs.h. */
26238 $ac_includes_default
26254 rm -f conftest.
$ac_objext conftest
$ac_exeext
26255 if { (ac_try
="$ac_link"
26256 case "(($ac_try" in
26257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26258 *) ac_try_echo=$ac_try;;
26260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26261 (eval "$ac_link") 2>conftest.er1
26263 grep -v '^ *+' conftest.er1 >conftest.err
26265 cat conftest.err >&5
26266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26267 (exit $ac_status); } && {
26268 test -z "$ac_cxx_werror_flag" ||
26269 test ! -s conftest.err
26270 } && test -s conftest$ac_exeext &&
26271 $as_test_x conftest$ac_exeext; then
26272 eval wx_cv_func_$wx_func=yes
26274 echo "$as_me: failed program was:" >&5
26275 sed 's/^/| /' conftest.$ac_ext >&5
26277 eval wx_cv_func_$wx_func=no
26280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26281 conftest$ac_exeext conftest.$ac_ext
26284 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26285 { echo "$as_me:$LINENO: result: $ac_res" >&5
26286 echo "${ECHO_T}$ac_res" >&6; }
26288 if eval test \$wx_cv_func_$wx_func = yes
26290 cat >>confdefs.h <<_ACEOF
26291 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26303 ac_cpp='$CPP $CPPFLAGS'
26304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26311 if test "$wxUSE_REGEX" != "no"; then
26312 cat >>confdefs.h <<\_ACEOF
26313 #define wxUSE_REGEX 1
26317 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26318 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26319 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26320 wxUSE_REGEX=builtin
26323 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26324 { echo "$as_me:$LINENO: checking for regex.h" >&5
26325 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26326 if test "${ac_cv_header_regex_h+set}" = set; then
26327 echo $ECHO_N "(cached) $ECHO_C" >&6
26329 cat >conftest.$ac_ext <<_ACEOF
26332 cat confdefs.h >>conftest.$ac_ext
26333 cat >>conftest.$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26339 rm -f conftest.$ac_objext
26340 if { (ac_try="$ac_compile"
26341 case "(($ac_try" in
26342 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26343 *) ac_try_echo
=$ac_try;;
26345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26346 (eval "$ac_compile") 2>conftest.er1
26348 grep -v '^ *+' conftest.er1
>conftest.err
26350 cat conftest.err
>&5
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); } && {
26353 test -z "$ac_c_werror_flag" ||
26354 test ! -s conftest.err
26355 } && test -s conftest.
$ac_objext; then
26356 ac_cv_header_regex_h
=yes
26358 echo "$as_me: failed program was:" >&5
26359 sed 's/^/| /' conftest.
$ac_ext >&5
26361 ac_cv_header_regex_h
=no
26364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26366 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26367 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26368 if test $ac_cv_header_regex_h = yes; then
26371 for ac_func
in regcomp re_search
26373 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26374 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26376 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26377 echo $ECHO_N "(cached) $ECHO_C" >&6
26379 cat >conftest.
$ac_ext <<_ACEOF
26382 cat confdefs.h
>>conftest.
$ac_ext
26383 cat >>conftest.
$ac_ext <<_ACEOF
26384 /* end confdefs.h. */
26385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26387 #define $ac_func innocuous_$ac_func
26389 /* System header to define __stub macros and hopefully few prototypes,
26390 which can conflict with char $ac_func (); below.
26391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26392 <limits.h> exists even on freestanding compilers. */
26395 # include <limits.h>
26397 # include <assert.h>
26402 /* Override any GCC internal prototype to avoid an error.
26403 Use char because int might match the return type of a GCC
26404 builtin and then its argument prototype would still apply. */
26409 /* The GNU C library defines this for functions which it implements
26410 to always fail with ENOSYS. Some functions are actually named
26411 something starting with __ and the normal name is an alias. */
26412 #if defined __stub_$ac_func || defined __stub___$ac_func
26419 return $ac_func ();
26424 rm -f conftest.
$ac_objext conftest
$ac_exeext
26425 if { (ac_try
="$ac_link"
26426 case "(($ac_try" in
26427 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26428 *) ac_try_echo=$ac_try;;
26430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26431 (eval "$ac_link") 2>conftest.er1
26433 grep -v '^ *+' conftest.er1 >conftest.err
26435 cat conftest.err >&5
26436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26437 (exit $ac_status); } && {
26438 test -z "$ac_c_werror_flag" ||
26439 test ! -s conftest.err
26440 } && test -s conftest$ac_exeext &&
26441 $as_test_x conftest$ac_exeext; then
26442 eval "$as_ac_var=yes"
26444 echo "$as_me: failed program was:" >&5
26445 sed 's/^/| /' conftest.$ac_ext >&5
26447 eval "$as_ac_var=no"
26450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26451 conftest$ac_exeext conftest.$ac_ext
26453 ac_res=`eval echo '${'$as_ac_var'}'`
26454 { echo "$as_me:$LINENO: result: $ac_res" >&5
26455 echo "${ECHO_T}$ac_res" >&6; }
26456 if test `eval echo '${'$as_ac_var'}'` = yes; then
26457 cat >>confdefs.h <<_ACEOF
26458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26468 if test "x$ac_cv_func_regcomp" != "xyes"; then
26469 if test "$wxUSE_REGEX" = "sys" ; then
26470 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26471 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26472 { (exit 1); exit 1; }; }
26474 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26475 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26476 wxUSE_REGEX=builtin
26480 cat >>confdefs.h <<\_ACEOF
26481 #define WX_NO_REGEX_ADVANCED 1
26490 if test "$wxUSE_ZLIB" != "no" ; then
26491 cat >>confdefs.h <<\_ACEOF
26492 #define wxUSE_ZLIB 1
26496 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26497 if test "$USE_DARWIN" = 1; then
26498 system_zlib_h_ok="yes"
26500 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26501 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26502 if test "${ac_cv_header_zlib_h+set}" = set; then
26503 echo $ECHO_N "(cached) $ECHO_C" >&6
26505 if test "$cross_compiling" = yes; then
26506 unset ac_cv_header_zlib_h
26509 cat >conftest.$ac_ext <<_ACEOF
26512 cat confdefs.h >>conftest.$ac_ext
26513 cat >>conftest.$ac_ext <<_ACEOF
26514 /* end confdefs.h. */
26521 FILE *f=fopen("conftestval", "w");
26524 ZLIB_VERSION[0] == '1' &&
26525 (ZLIB_VERSION[2] > '1' ||
26526 (ZLIB_VERSION[2] == '1' &&
26527 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26532 rm -f conftest$ac_exeext
26533 if { (ac_try="$ac_link"
26534 case "(($ac_try" in
26535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26536 *) ac_try_echo
=$ac_try;;
26538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26539 (eval "$ac_link") 2>&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26543 { (case "(($ac_try" in
26544 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26545 *) ac_try_echo=$ac_try;;
26547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26548 (eval "$ac_try") 2>&5
26550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551 (exit $ac_status); }; }; then
26552 ac_cv_header_zlib_h=`cat conftestval
`
26554 echo "$as_me: program exited with status $ac_status" >&5
26555 echo "$as_me: failed program was:" >&5
26556 sed 's/^/| /' conftest.$ac_ext >&5
26558 ( exit $ac_status )
26559 ac_cv_header_zlib_h=no
26561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26567 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26568 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26569 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26570 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26571 if test "${ac_cv_header_zlib_h+set}" = set; then
26572 echo $ECHO_N "(cached) $ECHO_C" >&6
26574 cat >conftest.$ac_ext <<_ACEOF
26577 cat confdefs.h >>conftest.$ac_ext
26578 cat >>conftest.$ac_ext <<_ACEOF
26579 /* end confdefs.h. */
26584 rm -f conftest.$ac_objext
26585 if { (ac_try="$ac_compile"
26586 case "(($ac_try" in
26587 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26588 *) ac_try_echo
=$ac_try;;
26590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26591 (eval "$ac_compile") 2>conftest.er1
26593 grep -v '^ *+' conftest.er1
>conftest.err
26595 cat conftest.err
>&5
26596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597 (exit $ac_status); } && {
26598 test -z "$ac_c_werror_flag" ||
26599 test ! -s conftest.err
26600 } && test -s conftest.
$ac_objext; then
26601 ac_cv_header_zlib_h
=yes
26603 echo "$as_me: failed program was:" >&5
26604 sed 's/^/| /' conftest.
$ac_ext >&5
26606 ac_cv_header_zlib_h
=no
26609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26611 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26612 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26616 system_zlib_h_ok
=$ac_cv_header_zlib_h
26619 if test "$system_zlib_h_ok" = "yes"; then
26620 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26621 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26622 if test "${ac_cv_lib_z_deflate+set}" = set; then
26623 echo $ECHO_N "(cached) $ECHO_C" >&6
26625 ac_check_lib_save_LIBS
=$LIBS
26627 cat >conftest.
$ac_ext <<_ACEOF
26630 cat confdefs.h
>>conftest.
$ac_ext
26631 cat >>conftest.
$ac_ext <<_ACEOF
26632 /* end confdefs.h. */
26634 /* Override any GCC internal prototype to avoid an error.
26635 Use char because int might match the return type of a GCC
26636 builtin and then its argument prototype would still apply. */
26649 rm -f conftest.
$ac_objext conftest
$ac_exeext
26650 if { (ac_try
="$ac_link"
26651 case "(($ac_try" in
26652 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26653 *) ac_try_echo=$ac_try;;
26655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26656 (eval "$ac_link") 2>conftest.er1
26658 grep -v '^ *+' conftest.er1 >conftest.err
26660 cat conftest.err >&5
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); } && {
26663 test -z "$ac_c_werror_flag" ||
26664 test ! -s conftest.err
26665 } && test -s conftest$ac_exeext &&
26666 $as_test_x conftest$ac_exeext; then
26667 ac_cv_lib_z_deflate=yes
26669 echo "$as_me: failed program was:" >&5
26670 sed 's/^/| /' conftest.$ac_ext >&5
26672 ac_cv_lib_z_deflate=no
26675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26676 conftest$ac_exeext conftest.$ac_ext
26677 LIBS=$ac_check_lib_save_LIBS
26679 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26680 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26681 if test $ac_cv_lib_z_deflate = yes; then
26687 if test "x$ZLIB_LINK" = "x" ; then
26688 if test "$wxUSE_ZLIB" = "sys" ; then
26689 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26690 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26691 { (exit 1); exit 1; }; }
26693 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26694 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26705 if test "$wxUSE_LIBPNG" != "no" ; then
26706 cat >>confdefs.h <<\_ACEOF
26707 #define wxUSE_LIBPNG 1
26711 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26712 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26713 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26717 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26718 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26719 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26720 wxUSE_LIBPNG=builtin
26723 if test "$wxUSE_MGL" != 1 ; then
26724 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26725 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26726 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26727 if test "${ac_cv_header_png_h+set}" = set; then
26728 echo $ECHO_N "(cached) $ECHO_C" >&6
26730 if test "$cross_compiling" = yes; then
26731 unset ac_cv_header_png_h
26734 cat >conftest.$ac_ext <<_ACEOF
26737 cat confdefs.h >>conftest.$ac_ext
26738 cat >>conftest.$ac_ext <<_ACEOF
26739 /* end confdefs.h. */
26746 FILE *f=fopen("conftestval", "w");
26749 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26754 rm -f conftest$ac_exeext
26755 if { (ac_try="$ac_link"
26756 case "(($ac_try" in
26757 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26758 *) ac_try_echo
=$ac_try;;
26760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26761 (eval "$ac_link") 2>&5
26763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26764 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26765 { (case "(($ac_try" in
26766 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26767 *) ac_try_echo=$ac_try;;
26769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26770 (eval "$ac_try") 2>&5
26772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26773 (exit $ac_status); }; }; then
26774 ac_cv_header_png_h=`cat conftestval
`
26776 echo "$as_me: program exited with status $ac_status" >&5
26777 echo "$as_me: failed program was:" >&5
26778 sed 's/^/| /' conftest.$ac_ext >&5
26780 ( exit $ac_status )
26781 ac_cv_header_png_h=no
26783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26789 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26790 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26791 { echo "$as_me:$LINENO: checking for png.h" >&5
26792 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26793 if test "${ac_cv_header_png_h+set}" = set; then
26794 echo $ECHO_N "(cached) $ECHO_C" >&6
26796 cat >conftest.$ac_ext <<_ACEOF
26799 cat confdefs.h >>conftest.$ac_ext
26800 cat >>conftest.$ac_ext <<_ACEOF
26801 /* end confdefs.h. */
26806 rm -f conftest.$ac_objext
26807 if { (ac_try="$ac_compile"
26808 case "(($ac_try" in
26809 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26810 *) ac_try_echo
=$ac_try;;
26812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26813 (eval "$ac_compile") 2>conftest.er1
26815 grep -v '^ *+' conftest.er1
>conftest.err
26817 cat conftest.err
>&5
26818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26819 (exit $ac_status); } && {
26820 test -z "$ac_c_werror_flag" ||
26821 test ! -s conftest.err
26822 } && test -s conftest.
$ac_objext; then
26823 ac_cv_header_png_h
=yes
26825 echo "$as_me: failed program was:" >&5
26826 sed 's/^/| /' conftest.
$ac_ext >&5
26828 ac_cv_header_png_h
=no
26831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26833 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26834 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26838 if test "$ac_cv_header_png_h" = "yes"; then
26839 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26840 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26841 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26842 echo $ECHO_N "(cached) $ECHO_C" >&6
26844 ac_check_lib_save_LIBS
=$LIBS
26845 LIBS
="-lpng -lz -lm $LIBS"
26846 cat >conftest.
$ac_ext <<_ACEOF
26849 cat confdefs.h
>>conftest.
$ac_ext
26850 cat >>conftest.
$ac_ext <<_ACEOF
26851 /* end confdefs.h. */
26853 /* Override any GCC internal prototype to avoid an error.
26854 Use char because int might match the return type of a GCC
26855 builtin and then its argument prototype would still apply. */
26859 char png_check_sig ();
26863 return png_check_sig ();
26868 rm -f conftest.
$ac_objext conftest
$ac_exeext
26869 if { (ac_try
="$ac_link"
26870 case "(($ac_try" in
26871 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26872 *) ac_try_echo=$ac_try;;
26874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26875 (eval "$ac_link") 2>conftest.er1
26877 grep -v '^ *+' conftest.er1 >conftest.err
26879 cat conftest.err >&5
26880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26881 (exit $ac_status); } && {
26882 test -z "$ac_c_werror_flag" ||
26883 test ! -s conftest.err
26884 } && test -s conftest$ac_exeext &&
26885 $as_test_x conftest$ac_exeext; then
26886 ac_cv_lib_png_png_check_sig=yes
26888 echo "$as_me: failed program was:" >&5
26889 sed 's/^/| /' conftest.$ac_ext >&5
26891 ac_cv_lib_png_png_check_sig=no
26894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26895 conftest$ac_exeext conftest.$ac_ext
26896 LIBS=$ac_check_lib_save_LIBS
26898 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26899 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26900 if test $ac_cv_lib_png_png_check_sig = yes; then
26901 PNG_LINK=" -lpng -lz"
26906 if test "x$PNG_LINK" = "x" ; then
26907 if test "$wxUSE_LIBPNG" = "sys" ; then
26908 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26909 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26910 { (exit 1); exit 1; }; }
26912 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26913 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26914 wxUSE_LIBPNG=builtin
26925 if test "$wxUSE_LIBJPEG" != "no" ; then
26926 cat >>confdefs.h <<\_ACEOF
26927 #define wxUSE_LIBJPEG 1
26931 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26932 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26933 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26937 if test "$wxUSE_MGL" != 1 ; then
26938 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26939 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26940 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26941 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26942 echo $ECHO_N "(cached) $ECHO_C" >&6
26944 cat >conftest.$ac_ext <<_ACEOF
26947 cat confdefs.h >>conftest.$ac_ext
26948 cat >>conftest.$ac_ext <<_ACEOF
26949 /* end confdefs.h. */
26951 #undef HAVE_STDLIB_H
26953 #include <jpeglib.h>
26964 rm -f conftest.$ac_objext
26965 if { (ac_try="$ac_compile"
26966 case "(($ac_try" in
26967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26968 *) ac_try_echo
=$ac_try;;
26970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26971 (eval "$ac_compile") 2>conftest.er1
26973 grep -v '^ *+' conftest.er1
>conftest.err
26975 cat conftest.err
>&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } && {
26978 test -z "$ac_c_werror_flag" ||
26979 test ! -s conftest.err
26980 } && test -s conftest.
$ac_objext; then
26981 ac_cv_header_jpeglib_h
=yes
26983 echo "$as_me: failed program was:" >&5
26984 sed 's/^/| /' conftest.
$ac_ext >&5
26986 ac_cv_header_jpeglib_h
=no
26990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26994 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26995 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26997 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26998 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26999 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27000 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27001 echo $ECHO_N "(cached) $ECHO_C" >&6
27003 ac_check_lib_save_LIBS
=$LIBS
27004 LIBS
="-ljpeg $LIBS"
27005 cat >conftest.
$ac_ext <<_ACEOF
27008 cat confdefs.h
>>conftest.
$ac_ext
27009 cat >>conftest.
$ac_ext <<_ACEOF
27010 /* end confdefs.h. */
27012 /* Override any GCC internal prototype to avoid an error.
27013 Use char because int might match the return type of a GCC
27014 builtin and then its argument prototype would still apply. */
27018 char jpeg_read_header ();
27022 return jpeg_read_header ();
27027 rm -f conftest.
$ac_objext conftest
$ac_exeext
27028 if { (ac_try
="$ac_link"
27029 case "(($ac_try" in
27030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27031 *) ac_try_echo=$ac_try;;
27033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27034 (eval "$ac_link") 2>conftest.er1
27036 grep -v '^ *+' conftest.er1 >conftest.err
27038 cat conftest.err >&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } && {
27041 test -z "$ac_c_werror_flag" ||
27042 test ! -s conftest.err
27043 } && test -s conftest$ac_exeext &&
27044 $as_test_x conftest$ac_exeext; then
27045 ac_cv_lib_jpeg_jpeg_read_header=yes
27047 echo "$as_me: failed program was:" >&5
27048 sed 's/^/| /' conftest.$ac_ext >&5
27050 ac_cv_lib_jpeg_jpeg_read_header=no
27053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27054 conftest$ac_exeext conftest.$ac_ext
27055 LIBS=$ac_check_lib_save_LIBS
27057 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27058 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27059 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27060 JPEG_LINK=" -ljpeg"
27065 if test "x$JPEG_LINK" = "x" ; then
27066 if test "$wxUSE_LIBJPEG" = "sys" ; then
27067 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27068 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27069 { (exit 1); exit 1; }; }
27071 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27072 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27073 wxUSE_LIBJPEG=builtin
27078 if test "$wxUSE_MSW" = 1; then
27079 { echo "$as_me:$LINENO: checking for boolean" >&5
27080 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27081 if test "${ac_cv_type_boolean+set}" = set; then
27082 echo $ECHO_N "(cached) $ECHO_C" >&6
27084 cat >conftest.$ac_ext <<_ACEOF
27087 cat confdefs.h >>conftest.$ac_ext
27088 cat >>conftest.$ac_ext <<_ACEOF
27089 /* end confdefs.h. */
27090 #include <windows.h>
27092 typedef boolean ac__type_new_;
27096 if ((ac__type_new_ *) 0)
27098 if (sizeof (ac__type_new_))
27104 rm -f conftest.$ac_objext
27105 if { (ac_try="$ac_compile"
27106 case "(($ac_try" in
27107 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27108 *) ac_try_echo
=$ac_try;;
27110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27111 (eval "$ac_compile") 2>conftest.er1
27113 grep -v '^ *+' conftest.er1
>conftest.err
27115 cat conftest.err
>&5
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); } && {
27118 test -z "$ac_c_werror_flag" ||
27119 test ! -s conftest.err
27120 } && test -s conftest.
$ac_objext; then
27121 ac_cv_type_boolean
=yes
27123 echo "$as_me: failed program was:" >&5
27124 sed 's/^/| /' conftest.
$ac_ext >&5
27126 ac_cv_type_boolean
=no
27129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27131 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27132 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27133 if test $ac_cv_type_boolean = yes; then
27135 cat >>confdefs.h
<<_ACEOF
27136 #define HAVE_BOOLEAN 1
27140 { echo "$as_me:$LINENO: checking for boolean" >&5
27141 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27142 if test "${ac_cv_type_boolean+set}" = set; then
27143 echo $ECHO_N "(cached) $ECHO_C" >&6
27145 cat >conftest.
$ac_ext <<_ACEOF
27148 cat confdefs.h
>>conftest.
$ac_ext
27149 cat >>conftest.
$ac_ext <<_ACEOF
27150 /* end confdefs.h. */
27152 #undef HAVE_BOOLEAN
27154 #include <jpeglib.h>
27157 typedef boolean ac__type_new_;
27161 if ((ac__type_new_ *) 0)
27163 if (sizeof (ac__type_new_))
27169 rm -f conftest.
$ac_objext
27170 if { (ac_try
="$ac_compile"
27171 case "(($ac_try" in
27172 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27173 *) ac_try_echo=$ac_try;;
27175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27176 (eval "$ac_compile") 2>conftest.er1
27178 grep -v '^ *+' conftest.er1 >conftest.err
27180 cat conftest.err >&5
27181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27182 (exit $ac_status); } && {
27183 test -z "$ac_c_werror_flag" ||
27184 test ! -s conftest.err
27185 } && test -s conftest.$ac_objext; then
27186 ac_cv_type_boolean=yes
27188 echo "$as_me: failed program was:" >&5
27189 sed 's/^/| /' conftest.$ac_ext >&5
27191 ac_cv_type_boolean=no
27194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27196 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27197 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27199 # The cast to long int works around a bug in the HP C Compiler
27200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27201 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27202 # This bug is HP SR number 8606223364.
27203 { echo "$as_me:$LINENO: checking size of boolean" >&5
27204 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27205 if test "${ac_cv_sizeof_boolean+set}" = set; then
27206 echo $ECHO_N "(cached) $ECHO_C" >&6
27208 if test "$cross_compiling" = yes; then
27209 # Depending upon the size, compute the lo and hi bounds.
27210 cat >conftest.$ac_ext <<_ACEOF
27213 cat confdefs.h >>conftest.$ac_ext
27214 cat >>conftest.$ac_ext <<_ACEOF
27215 /* end confdefs.h. */
27217 #undef HAVE_BOOLEAN
27219 #include <jpeglib.h>
27222 typedef boolean ac__type_sizeof_;
27226 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27233 rm -f conftest.$ac_objext
27234 if { (ac_try="$ac_compile"
27235 case "(($ac_try" in
27236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27237 *) ac_try_echo=$ac_try;;
27239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27240 (eval "$ac_compile") 2>conftest.er1
27242 grep -v '^
*+' conftest.er1 >conftest.err
27244 cat conftest.err >&5
27245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27246 (exit $ac_status); } && {
27247 test -z "$ac_c_werror_flag" ||
27248 test ! -s conftest.err
27249 } && test -s conftest.$ac_objext; then
27252 cat >conftest.$ac_ext <<_ACEOF
27255 cat confdefs.h >>conftest.$ac_ext
27256 cat >>conftest.$ac_ext <<_ACEOF
27257 /* end confdefs.h. */
27259 #undef HAVE_BOOLEAN
27261 #include <jpeglib.h>
27264 typedef boolean ac__type_sizeof_;
27268 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27275 rm -f conftest.$ac_objext
27276 if { (ac_try="$ac_compile"
27277 case "(($ac_try" in
27278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27279 *) ac_try_echo=$ac_try;;
27281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27282 (eval "$ac_compile") 2>conftest.er1
27284 grep -v '^
*+' conftest.er1 >conftest.err
27286 cat conftest.err >&5
27287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288 (exit $ac_status); } && {
27289 test -z "$ac_c_werror_flag" ||
27290 test ! -s conftest.err
27291 } && test -s conftest.$ac_objext; then
27292 ac_hi=$ac_mid; break
27294 echo "$as_me: failed program was:" >&5
27295 sed 's
/^
/| /' conftest.$ac_ext >&5
27297 ac_lo=`expr $ac_mid + 1`
27298 if test $ac_lo -le $ac_mid; then
27302 ac_mid=`expr 2 '*' $ac_mid + 1`
27305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27308 echo "$as_me: failed program was:" >&5
27309 sed 's
/^
/| /' conftest.$ac_ext >&5
27311 cat >conftest.$ac_ext <<_ACEOF
27314 cat confdefs.h >>conftest.$ac_ext
27315 cat >>conftest.$ac_ext <<_ACEOF
27316 /* end confdefs.h. */
27318 #undef HAVE_BOOLEAN
27320 #include <jpeglib.h>
27323 typedef boolean ac__type_sizeof_;
27327 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27334 rm -f conftest.$ac_objext
27335 if { (ac_try="$ac_compile"
27336 case "(($ac_try" in
27337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27338 *) ac_try_echo=$ac_try;;
27340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27341 (eval "$ac_compile") 2>conftest.er1
27343 grep -v '^
*+' conftest.er1 >conftest.err
27345 cat conftest.err >&5
27346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27347 (exit $ac_status); } && {
27348 test -z "$ac_c_werror_flag" ||
27349 test ! -s conftest.err
27350 } && test -s conftest.$ac_objext; then
27353 cat >conftest.$ac_ext <<_ACEOF
27356 cat confdefs.h >>conftest.$ac_ext
27357 cat >>conftest.$ac_ext <<_ACEOF
27358 /* end confdefs.h. */
27360 #undef HAVE_BOOLEAN
27362 #include <jpeglib.h>
27365 typedef boolean ac__type_sizeof_;
27369 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27376 rm -f conftest.$ac_objext
27377 if { (ac_try="$ac_compile"
27378 case "(($ac_try" in
27379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27380 *) ac_try_echo=$ac_try;;
27382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27383 (eval "$ac_compile") 2>conftest.er1
27385 grep -v '^
*+' conftest.er1 >conftest.err
27387 cat conftest.err >&5
27388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27389 (exit $ac_status); } && {
27390 test -z "$ac_c_werror_flag" ||
27391 test ! -s conftest.err
27392 } && test -s conftest.$ac_objext; then
27393 ac_lo=$ac_mid; break
27395 echo "$as_me: failed program was:" >&5
27396 sed 's
/^
/| /' conftest.$ac_ext >&5
27398 ac_hi=`expr '(' $ac_mid ')' - 1`
27399 if test $ac_mid -le $ac_hi; then
27403 ac_mid=`expr 2 '*' $ac_mid`
27406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27409 echo "$as_me: failed program was:" >&5
27410 sed 's
/^
/| /' conftest.$ac_ext >&5
27415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27419 # Binary search between lo and hi bounds.
27420 while test "x$ac_lo" != "x$ac_hi"; do
27421 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27422 cat >conftest.$ac_ext <<_ACEOF
27425 cat confdefs.h >>conftest.$ac_ext
27426 cat >>conftest.$ac_ext <<_ACEOF
27427 /* end confdefs.h. */
27429 #undef HAVE_BOOLEAN
27431 #include <jpeglib.h>
27434 typedef boolean ac__type_sizeof_;
27438 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27445 rm -f conftest.$ac_objext
27446 if { (ac_try="$ac_compile"
27447 case "(($ac_try" in
27448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27449 *) ac_try_echo=$ac_try;;
27451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27452 (eval "$ac_compile") 2>conftest.er1
27454 grep -v '^
*+' conftest.er1 >conftest.err
27456 cat conftest.err >&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } && {
27459 test -z "$ac_c_werror_flag" ||
27460 test ! -s conftest.err
27461 } && test -s conftest.$ac_objext; then
27464 echo "$as_me: failed program was:" >&5
27465 sed 's
/^
/| /' conftest.$ac_ext >&5
27467 ac_lo=`expr '(' $ac_mid ')' + 1`
27470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27473 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27474 '') if test "$ac_cv_type_boolean" = yes; then
27475 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27476 See \`config.log' for more details.
" >&5
27477 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27478 See \
`config.log' for more details." >&2;}
27479 { (exit 77); exit 77; }; }
27481 ac_cv_sizeof_boolean=0
27485 cat >conftest.$ac_ext <<_ACEOF
27488 cat confdefs.h >>conftest.$ac_ext
27489 cat >>conftest.$ac_ext <<_ACEOF
27490 /* end confdefs.h. */
27492 #undef HAVE_BOOLEAN
27494 #include <jpeglib.h>
27497 typedef boolean ac__type_sizeof_;
27498 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27499 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27501 #include <stdlib.h>
27506 FILE *f = fopen ("conftest.val", "w");
27509 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27511 long int i = longval ();
27512 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27514 fprintf (f, "%ld\n", i);
27518 unsigned long int i = ulongval ();
27519 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27521 fprintf (f, "%lu\n", i);
27523 return ferror (f) || fclose (f) != 0;
27529 rm -f conftest$ac_exeext
27530 if { (ac_try="$ac_link"
27531 case "(($ac_try" in
27532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27533 *) ac_try_echo
=$ac_try;;
27535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27536 (eval "$ac_link") 2>&5
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27540 { (case "(($ac_try" in
27541 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27542 *) ac_try_echo=$ac_try;;
27544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27545 (eval "$ac_try") 2>&5
27547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27548 (exit $ac_status); }; }; then
27549 ac_cv_sizeof_boolean=`cat conftest.val
`
27551 echo "$as_me: program exited with status $ac_status" >&5
27552 echo "$as_me: failed program was:" >&5
27553 sed 's/^/| /' conftest.$ac_ext >&5
27555 ( exit $ac_status )
27556 if test "$ac_cv_type_boolean" = yes; then
27557 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27558 See \`config.log
' for more details." >&5
27559 echo "$as_me: error: cannot compute sizeof (boolean)
27560 See \`config.log' for more details.
" >&2;}
27561 { (exit 77); exit 77; }; }
27563 ac_cv_sizeof_boolean=0
27566 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27570 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27571 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27575 cat >>confdefs.h <<_ACEOF
27576 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27580 cat >>confdefs.h <<_ACEOF
27581 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27595 TIFF_PREREQ_LINKS=-lm
27596 if test "$wxUSE_LIBTIFF" != "no
" ; then
27597 cat >>confdefs.h <<\_ACEOF
27598 #define wxUSE_LIBTIFF 1
27602 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27603 if test "$wxUSE_LIBJPEG" = "sys
"; then
27604 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27606 if test "$wxUSE_ZLIB" = "sys
"; then
27607 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27609 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27610 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27611 if test "${ac_cv_header_tiffio_h+set}" = set; then
27612 echo $ECHO_N "(cached
) $ECHO_C" >&6
27614 cat >conftest.$ac_ext <<_ACEOF
27617 cat confdefs.h >>conftest.$ac_ext
27618 cat >>conftest.$ac_ext <<_ACEOF
27619 /* end confdefs.h. */
27623 #include <tiffio.h>
27625 rm -f conftest.$ac_objext
27626 if { (ac_try="$ac_compile"
27627 case "(($ac_try" in
27628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27629 *) ac_try_echo=$ac_try;;
27631 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27632 (eval "$ac_compile") 2>conftest.er1
27634 grep -v '^ *+' conftest.er1 >conftest.err
27636 cat conftest.err >&5
27637 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27638 (exit $ac_status); } && {
27639 test -z "$ac_c_werror_flag" ||
27640 test ! -s conftest.err
27641 } && test -s conftest.$ac_objext; then
27642 ac_cv_header_tiffio_h=yes
27644 echo "$as_me: failed program was
:" >&5
27645 sed 's/^/| /' conftest.$ac_ext >&5
27647 ac_cv_header_tiffio_h=no
27650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27652 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27653 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27654 if test $ac_cv_header_tiffio_h = yes; then
27656 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27657 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27658 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27659 echo $ECHO_N "(cached
) $ECHO_C" >&6
27661 ac_check_lib_save_LIBS=$LIBS
27662 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27663 cat >conftest.$ac_ext <<_ACEOF
27666 cat confdefs.h >>conftest.$ac_ext
27667 cat >>conftest.$ac_ext <<_ACEOF
27668 /* end confdefs.h. */
27670 /* Override any GCC internal prototype to avoid an error.
27671 Use char because int might match the return type of a GCC
27672 builtin and then its argument prototype would still apply. */
27680 return TIFFError ();
27685 rm -f conftest.$ac_objext conftest$ac_exeext
27686 if { (ac_try="$ac_link"
27687 case "(($ac_try" in
27688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27689 *) ac_try_echo=$ac_try;;
27691 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27692 (eval "$ac_link") 2>conftest.er1
27694 grep -v '^ *+' conftest.er1 >conftest.err
27696 cat conftest.err >&5
27697 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27698 (exit $ac_status); } && {
27699 test -z "$ac_c_werror_flag" ||
27700 test ! -s conftest.err
27701 } && test -s conftest$ac_exeext &&
27702 $as_test_x conftest$ac_exeext; then
27703 ac_cv_lib_tiff_TIFFError=yes
27705 echo "$as_me: failed program was
:" >&5
27706 sed 's/^/| /' conftest.$ac_ext >&5
27708 ac_cv_lib_tiff_TIFFError=no
27711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27712 conftest$ac_exeext conftest.$ac_ext
27713 LIBS=$ac_check_lib_save_LIBS
27715 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27716 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27717 if test $ac_cv_lib_tiff_TIFFError = yes; then
27718 TIFF_LINK=" -ltiff"
27726 if test "x
$TIFF_LINK" = "x
" ; then
27727 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27728 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27729 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27730 { (exit 1); exit 1; }; }
27732 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27733 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27734 wxUSE_LIBTIFF=builtin
27740 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27741 if test "$wxUSE_LIBJPEG" = "no
"; then
27742 ac_configure_args="$ac_configure_args --disable-jpeg"
27744 subdirs="$subdirs src
/tiff
"
27750 if test "$wxUSE_WCHAR_T" != "yes"; then
27751 if test "$wxUSE_EXPAT" != "no
"; then
27752 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27753 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27756 if test "$wxUSE_XML" != "no
"; then
27757 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27758 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27763 if test "$wxUSE_EXPAT" != "no
"; then
27765 cat >>confdefs.h <<\_ACEOF
27766 #define wxUSE_EXPAT 1
27769 cat >>confdefs.h <<\_ACEOF
27770 #define wxUSE_XML 1
27774 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27775 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27776 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27777 if test "${ac_cv_header_expat_h+set}" = set; then
27778 echo $ECHO_N "(cached
) $ECHO_C" >&6
27780 cat >conftest.$ac_ext <<_ACEOF
27783 cat confdefs.h >>conftest.$ac_ext
27784 cat >>conftest.$ac_ext <<_ACEOF
27785 /* end confdefs.h. */
27790 rm -f conftest.$ac_objext
27791 if { (ac_try="$ac_compile"
27792 case "(($ac_try" in
27793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27794 *) ac_try_echo=$ac_try;;
27796 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27797 (eval "$ac_compile") 2>conftest.er1
27799 grep -v '^ *+' conftest.er1 >conftest.err
27801 cat conftest.err >&5
27802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27803 (exit $ac_status); } && {
27804 test -z "$ac_c_werror_flag" ||
27805 test ! -s conftest.err
27806 } && test -s conftest.$ac_objext; then
27807 ac_cv_header_expat_h=yes
27809 echo "$as_me: failed program was
:" >&5
27810 sed 's/^/| /' conftest.$ac_ext >&5
27812 ac_cv_header_expat_h=no
27815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27817 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27818 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27819 if test $ac_cv_header_expat_h = yes; then
27824 if test "x
$found_expat_h" = "x1
"; then
27825 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27826 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27827 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27828 echo $ECHO_N "(cached
) $ECHO_C" >&6
27832 ac_cpp='$CXXCPP $CPPFLAGS'
27833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27837 cat >conftest.$ac_ext <<_ACEOF
27840 cat confdefs.h >>conftest.$ac_ext
27841 cat >>conftest.$ac_ext <<_ACEOF
27842 /* end confdefs.h. */
27852 rm -f conftest.$ac_objext
27853 if { (ac_try="$ac_compile"
27854 case "(($ac_try" in
27855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27856 *) ac_try_echo=$ac_try;;
27858 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27859 (eval "$ac_compile") 2>conftest.er1
27861 grep -v '^ *+' conftest.er1 >conftest.err
27863 cat conftest.err >&5
27864 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27865 (exit $ac_status); } && {
27866 test -z "$ac_cxx_werror_flag" ||
27867 test ! -s conftest.err
27868 } && test -s conftest.$ac_objext; then
27869 wx_cv_expat_is_not_broken=yes
27871 echo "$as_me: failed program was
:" >&5
27872 sed 's/^/| /' conftest.$ac_ext >&5
27874 wx_cv_expat_is_not_broken=no
27878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27880 ac_cpp='$CPP $CPPFLAGS'
27881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27888 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27889 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27890 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27891 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27892 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27893 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27894 echo $ECHO_N "(cached
) $ECHO_C" >&6
27896 ac_check_lib_save_LIBS=$LIBS
27897 LIBS="-lexpat $LIBS"
27898 cat >conftest.$ac_ext <<_ACEOF
27901 cat confdefs.h >>conftest.$ac_ext
27902 cat >>conftest.$ac_ext <<_ACEOF
27903 /* end confdefs.h. */
27905 /* Override any GCC internal prototype to avoid an error.
27906 Use char because int might match the return type of a GCC
27907 builtin and then its argument prototype would still apply. */
27911 char XML_ParserCreate ();
27915 return XML_ParserCreate ();
27920 rm -f conftest.$ac_objext conftest$ac_exeext
27921 if { (ac_try="$ac_link"
27922 case "(($ac_try" in
27923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27924 *) ac_try_echo=$ac_try;;
27926 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27927 (eval "$ac_link") 2>conftest.er1
27929 grep -v '^ *+' conftest.er1 >conftest.err
27931 cat conftest.err >&5
27932 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27933 (exit $ac_status); } && {
27934 test -z "$ac_c_werror_flag" ||
27935 test ! -s conftest.err
27936 } && test -s conftest$ac_exeext &&
27937 $as_test_x conftest$ac_exeext; then
27938 ac_cv_lib_expat_XML_ParserCreate=yes
27940 echo "$as_me: failed program was
:" >&5
27941 sed 's/^/| /' conftest.$ac_ext >&5
27943 ac_cv_lib_expat_XML_ParserCreate=no
27946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27947 conftest$ac_exeext conftest.$ac_ext
27948 LIBS=$ac_check_lib_save_LIBS
27950 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27951 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27952 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27953 EXPAT_LINK=" -lexpat"
27958 if test "x
$EXPAT_LINK" = "x
" ; then
27959 if test "$wxUSE_EXPAT" = "sys
" ; then
27960 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27961 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27962 { (exit 1); exit 1; }; }
27964 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27965 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27966 wxUSE_EXPAT=builtin
27972 if test "$wxUSE_EXPAT" = "builtin" ; then
27973 subdirs="$subdirs src
/expat
"
27980 if test "$wxUSE_LIBMSPACK" != "no
"; then
27981 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27982 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27983 if test "${ac_cv_header_mspack_h+set}" = set; then
27984 echo $ECHO_N "(cached
) $ECHO_C" >&6
27986 cat >conftest.$ac_ext <<_ACEOF
27989 cat confdefs.h >>conftest.$ac_ext
27990 cat >>conftest.$ac_ext <<_ACEOF
27991 /* end confdefs.h. */
27994 #include <mspack.h>
27996 rm -f conftest.$ac_objext
27997 if { (ac_try="$ac_compile"
27998 case "(($ac_try" in
27999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28000 *) ac_try_echo=$ac_try;;
28002 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28003 (eval "$ac_compile") 2>conftest.er1
28005 grep -v '^ *+' conftest.er1 >conftest.err
28007 cat conftest.err >&5
28008 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28009 (exit $ac_status); } && {
28010 test -z "$ac_c_werror_flag" ||
28011 test ! -s conftest.err
28012 } && test -s conftest.$ac_objext; then
28013 ac_cv_header_mspack_h=yes
28015 echo "$as_me: failed program was
:" >&5
28016 sed 's/^/| /' conftest.$ac_ext >&5
28018 ac_cv_header_mspack_h=no
28021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28023 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
28024 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28025 if test $ac_cv_header_mspack_h = yes; then
28030 if test "x
$found_mspack_h" = "x1
"; then
28031 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
28032 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
28033 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28034 echo $ECHO_N "(cached
) $ECHO_C" >&6
28036 ac_check_lib_save_LIBS=$LIBS
28037 LIBS="-lmspack $LIBS"
28038 cat >conftest.$ac_ext <<_ACEOF
28041 cat confdefs.h >>conftest.$ac_ext
28042 cat >>conftest.$ac_ext <<_ACEOF
28043 /* end confdefs.h. */
28045 /* Override any GCC internal prototype to avoid an error.
28046 Use char because int might match the return type of a GCC
28047 builtin and then its argument prototype would still apply. */
28051 char mspack_create_chm_decompressor ();
28055 return mspack_create_chm_decompressor ();
28060 rm -f conftest.$ac_objext conftest$ac_exeext
28061 if { (ac_try="$ac_link"
28062 case "(($ac_try" in
28063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28064 *) ac_try_echo=$ac_try;;
28066 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28067 (eval "$ac_link") 2>conftest.er1
28069 grep -v '^ *+' conftest.er1 >conftest.err
28071 cat conftest.err >&5
28072 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28073 (exit $ac_status); } && {
28074 test -z "$ac_c_werror_flag" ||
28075 test ! -s conftest.err
28076 } && test -s conftest$ac_exeext &&
28077 $as_test_x conftest$ac_exeext; then
28078 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28080 echo "$as_me: failed program was
:" >&5
28081 sed 's/^/| /' conftest.$ac_ext >&5
28083 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28087 conftest$ac_exeext conftest.$ac_ext
28088 LIBS=$ac_check_lib_save_LIBS
28090 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28091 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28092 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28093 MSPACK_LINK=" -lmspack"
28097 if test "x
$MSPACK_LINK" = "x
" ; then
28102 if test "$wxUSE_LIBMSPACK" != "no
"; then
28103 cat >>confdefs.h <<\_ACEOF
28104 #define wxUSE_LIBMSPACK 1
28118 if test "$USE_WIN32" = 1 ; then
28120 for ac_header in w32api.h
28122 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28123 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28124 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28125 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28126 echo $ECHO_N "(cached
) $ECHO_C" >&6
28128 cat >conftest.$ac_ext <<_ACEOF
28131 cat confdefs.h >>conftest.$ac_ext
28132 cat >>conftest.$ac_ext <<_ACEOF
28133 /* end confdefs.h. */
28136 #include <$ac_header>
28138 rm -f conftest.$ac_objext
28139 if { (ac_try="$ac_compile"
28140 case "(($ac_try" in
28141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28142 *) ac_try_echo=$ac_try;;
28144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28145 (eval "$ac_compile") 2>conftest.er1
28147 grep -v '^ *+' conftest.er1 >conftest.err
28149 cat conftest.err >&5
28150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28151 (exit $ac_status); } && {
28152 test -z "$ac_c_werror_flag" ||
28153 test ! -s conftest.err
28154 } && test -s conftest.$ac_objext; then
28155 eval "$as_ac_Header=yes"
28157 echo "$as_me: failed program was
:" >&5
28158 sed 's/^/| /' conftest.$ac_ext >&5
28160 eval "$as_ac_Header=no
"
28163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28165 ac_res=`eval echo '${'$as_ac_Header'}'`
28166 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28167 echo "${ECHO_T}$ac_res" >&6; }
28168 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28169 cat >>confdefs.h <<_ACEOF
28170 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28177 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28178 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28179 if test "${ac_cv_header_windows_h+set}" = set; then
28180 echo $ECHO_N "(cached
) $ECHO_C" >&6
28182 cat >conftest.$ac_ext <<_ACEOF
28185 cat confdefs.h >>conftest.$ac_ext
28186 cat >>conftest.$ac_ext <<_ACEOF
28187 /* end confdefs.h. */
28190 #include <windows.h>
28192 rm -f conftest.$ac_objext
28193 if { (ac_try="$ac_compile"
28194 case "(($ac_try" in
28195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28196 *) ac_try_echo=$ac_try;;
28198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28199 (eval "$ac_compile") 2>conftest.er1
28201 grep -v '^ *+' conftest.er1 >conftest.err
28203 cat conftest.err >&5
28204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28205 (exit $ac_status); } && {
28206 test -z "$ac_c_werror_flag" ||
28207 test ! -s conftest.err
28208 } && test -s conftest.$ac_objext; then
28209 ac_cv_header_windows_h=yes
28211 echo "$as_me: failed program was
:" >&5
28212 sed 's/^/| /' conftest.$ac_ext >&5
28214 ac_cv_header_windows_h=no
28217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28219 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28220 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28221 if test $ac_cv_header_windows_h = yes; then
28225 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28226 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28227 { (exit 1); exit 1; }; }
28234 x86_64-*-mingw32* )
28235 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28238 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28241 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28242 LIBS="$LIBS -loleacc"
28247 LIBS="$LIBS -lkernel32 -luser32"
28250 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28251 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28253 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28255 WIN32INSTALL=win32install
28257 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28258 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28259 if test "${ac_cv_header_pbt_h+set}" = set; then
28260 echo $ECHO_N "(cached
) $ECHO_C" >&6
28262 cat >conftest.$ac_ext <<_ACEOF
28265 cat confdefs.h >>conftest.$ac_ext
28266 cat >>conftest.$ac_ext <<_ACEOF
28267 /* end confdefs.h. */
28272 rm -f conftest.$ac_objext
28273 if { (ac_try="$ac_compile"
28274 case "(($ac_try" in
28275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28276 *) ac_try_echo=$ac_try;;
28278 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28279 (eval "$ac_compile") 2>conftest.er1
28281 grep -v '^ *+' conftest.er1 >conftest.err
28283 cat conftest.err >&5
28284 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28285 (exit $ac_status); } && {
28286 test -z "$ac_c_werror_flag" ||
28287 test ! -s conftest.err
28288 } && test -s conftest.$ac_objext; then
28289 ac_cv_header_pbt_h=yes
28291 echo "$as_me: failed program was
:" >&5
28292 sed 's/^/| /' conftest.$ac_ext >&5
28294 ac_cv_header_pbt_h=no
28297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28299 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28300 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28301 if test $ac_cv_header_pbt_h = yes; then
28304 cat >>confdefs.h <<\_ACEOF
28305 #define NEED_PBT_H 1
28313 if test "$wxUSE_GUI" = "yes"; then
28323 if test "$wxUSE_COCOA" = 1 ; then
28324 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28325 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28326 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28327 wxUSE_PRINTING_ARCHITECTURE=no
28329 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28330 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28331 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28332 wxUSE_DRAG_AND_DROP=no
28334 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28335 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28336 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28341 if test "$wxUSE_MSW" = 1 ; then
28347 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28351 if test "$wxUSE_GTK" = 1; then
28352 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28353 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28355 gtk_version_cached=1
28356 if test "${wx_cv_lib_gtk+set}" = set; then
28357 echo $ECHO_N "(cached
) $ECHO_C" >&6
28360 gtk_version_cached=0
28361 { echo "$as_me:$LINENO: result
: " >&5
28362 echo "${ECHO_T}" >&6; }
28365 if test "$wxUSE_THREADS" = "yes"; then
28366 GTK_MODULES=gthread
28370 if test "x
$wxGTK_VERSION" != "x1
"
28374 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28379 # Check whether --enable-gtktest was given.
28380 if test "${enable_gtktest+set}" = set; then
28381 enableval=$enable_gtktest;
28387 pkg_config_args=gtk+-2.0
28388 for module in . $GTK_MODULES
28392 pkg_config_args="$pkg_config_args gthread
-2.0
"
28399 # Extract the first word of "pkg
-config", so it can be a program name with args.
28400 set dummy pkg-config; ac_word=$2
28401 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28402 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28403 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28404 echo $ECHO_N "(cached
) $ECHO_C" >&6
28406 case $PKG_CONFIG in
28408 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28412 for as_dir in $PATH
28415 test -z "$as_dir" && as_dir=.
28416 for ac_exec_ext in '' $ac_executable_extensions; do
28417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28418 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28419 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28426 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28430 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28431 if test -n "$PKG_CONFIG"; then
28432 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28433 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28435 { echo "$as_me:$LINENO: result
: no
" >&5
28436 echo "${ECHO_T}no
" >&6; }
28441 if test x$PKG_CONFIG != xno ; then
28442 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28445 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28453 min_gtk_version=2.4.0
28454 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28455 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28457 if test x$PKG_CONFIG != xno ; then
28458 ## don't try to run the test against uninstalled libtool libs
28459 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28460 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28464 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28471 if test x"$no_gtk" = x ; then
28472 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28473 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28474 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28475 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28476 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28477 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28478 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28479 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28480 if test "x
$enable_gtktest" = "xyes
" ; then
28481 ac_save_CFLAGS="$CFLAGS"
28482 ac_save_LIBS="$LIBS"
28483 CFLAGS="$CFLAGS $GTK_CFLAGS"
28484 LIBS="$GTK_LIBS $LIBS"
28486 if test "$cross_compiling" = yes; then
28487 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28489 cat >conftest.$ac_ext <<_ACEOF
28492 cat confdefs.h >>conftest.$ac_ext
28493 cat >>conftest.$ac_ext <<_ACEOF
28494 /* end confdefs.h. */
28496 #include <gtk/gtk.h>
28498 #include <stdlib.h>
28503 int major, minor, micro;
28506 system ("touch conf.gtktest
");
28508 /* HP/UX 9 (%@#!) writes to sscanf strings */
28509 tmp_version = g_strdup("$min_gtk_version");
28510 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28511 printf("%s
, bad version string
\n", "$min_gtk_version");
28515 if ((gtk_major_version != $gtk_config_major_version) ||
28516 (gtk_minor_version != $gtk_config_minor_version) ||
28517 (gtk_micro_version != $gtk_config_micro_version))
28519 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28520 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28521 gtk_major_version, gtk_minor_version, gtk_micro_version);
28522 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28523 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28524 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28525 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28526 printf("*** required on your system.
\n");
28527 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28528 printf("*** to point to the correct configuration files
\n");
28530 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28531 (gtk_minor_version != GTK_MINOR_VERSION) ||
28532 (gtk_micro_version != GTK_MICRO_VERSION))
28534 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28535 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28536 printf("*** library
(version
%d.
%d.
%d
)\n",
28537 gtk_major_version, gtk_minor_version, gtk_micro_version);
28541 if ((gtk_major_version > major) ||
28542 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28543 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28549 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28550 gtk_major_version, gtk_minor_version, gtk_micro_version);
28551 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28552 major, minor, micro);
28553 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28555 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28556 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28557 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28558 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28559 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28560 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28561 printf("*** so that the correct libraries are found
at run
-time))\n");
28568 rm -f conftest$ac_exeext
28569 if { (ac_try="$ac_link"
28570 case "(($ac_try" in
28571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28572 *) ac_try_echo=$ac_try;;
28574 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28575 (eval "$ac_link") 2>&5
28577 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28578 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28579 { (case "(($ac_try" in
28580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28581 *) ac_try_echo=$ac_try;;
28583 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28584 (eval "$ac_try") 2>&5
28586 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28587 (exit $ac_status); }; }; then
28590 echo "$as_me: program exited with status
$ac_status" >&5
28591 echo "$as_me: failed program was
:" >&5
28592 sed 's/^/| /' conftest.$ac_ext >&5
28594 ( exit $ac_status )
28597 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28601 CFLAGS="$ac_save_CFLAGS"
28602 LIBS="$ac_save_LIBS"
28605 if test "x
$no_gtk" = x ; then
28606 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28607 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28610 { echo "$as_me:$LINENO: result
: no
" >&5
28611 echo "${ECHO_T}no
" >&6; }
28612 if test "$PKG_CONFIG" = "no
" ; then
28613 echo "*** A new enough version of pkg
-config was not found.
"
28614 echo "*** See http
://pkgconfig.sourceforge.net
"
28616 if test -f conf.gtktest ; then
28619 echo "*** Could not run GTK
+ test program
, checking why...
"
28620 ac_save_CFLAGS="$CFLAGS"
28621 ac_save_LIBS="$LIBS"
28622 CFLAGS="$CFLAGS $GTK_CFLAGS"
28623 LIBS="$LIBS $GTK_LIBS"
28624 cat >conftest.$ac_ext <<_ACEOF
28627 cat confdefs.h >>conftest.$ac_ext
28628 cat >>conftest.$ac_ext <<_ACEOF
28629 /* end confdefs.h. */
28631 #include <gtk/gtk.h>
28637 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28642 rm -f conftest.$ac_objext conftest$ac_exeext
28643 if { (ac_try="$ac_link"
28644 case "(($ac_try" in
28645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28646 *) ac_try_echo=$ac_try;;
28648 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28649 (eval "$ac_link") 2>conftest.er1
28651 grep -v '^ *+' conftest.er1 >conftest.err
28653 cat conftest.err >&5
28654 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28655 (exit $ac_status); } && {
28656 test -z "$ac_c_werror_flag" ||
28657 test ! -s conftest.err
28658 } && test -s conftest$ac_exeext &&
28659 $as_test_x conftest$ac_exeext; then
28660 echo "*** The
test program compiled
, but did not run. This usually means
"
28661 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28662 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28663 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28664 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28665 echo "*** is required on your system"
28667 echo "*** If you have an old version installed, it is best to remove it, although"
28668 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28670 echo "$as_me: failed program was:" >&5
28671 sed 's
/^
/| /' conftest.$ac_ext >&5
28673 echo "*** The test program failed to compile or link. See the file config.log for the"
28674 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28678 conftest$ac_exeext conftest.$ac_ext
28679 CFLAGS="$ac_save_CFLAGS"
28680 LIBS="$ac_save_LIBS"
28694 if test "$wxUSE_SHARED" != "yes"; then
28695 GTK_LIBS="$GTK_LIBS -lX11"
28700 if test -z "$wx_cv_lib_gtk"; then
28701 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28703 # Check whether --with-gtk-prefix was given.
28704 if test "${with_gtk_prefix+set}" = set; then
28705 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28707 gtk_config_prefix=""
28711 # Check whether --with-gtk-exec-prefix was given.
28712 if test "${with_gtk_exec_prefix+set}" = set; then
28713 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28715 gtk_config_exec_prefix=""
28718 # Check whether --enable-gtktest was given.
28719 if test "${enable_gtktest+set}" = set; then
28720 enableval=$enable_gtktest;
28726 for module in . $GTK_MODULES
28730 gtk_config_args="$gtk_config_args gthread"
28735 if test x$gtk_config_exec_prefix != x ; then
28736 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28737 if test x${GTK_CONFIG+set} != xset ; then
28738 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28741 if test x$gtk_config_prefix != x ; then
28742 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28743 if test x${GTK_CONFIG+set} != xset ; then
28744 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28748 # Extract the first word of "gtk-config", so it can be a program name with args.
28749 set dummy gtk-config; ac_word=$2
28750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28752 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28753 echo $ECHO_N "(cached) $ECHO_C" >&6
28755 case $GTK_CONFIG in
28757 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28761 for as_dir in $PATH
28764 test -z "$as_dir" && as_dir=.
28765 for ac_exec_ext in '' $ac_executable_extensions; do
28766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28767 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28775 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28779 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28780 if test -n "$GTK_CONFIG"; then
28781 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28782 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28784 { echo "$as_me:$LINENO: result: no" >&5
28785 echo "${ECHO_T}no" >&6; }
28789 min_gtk_version=1.2.7
28790 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28791 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28793 if test "$GTK_CONFIG" = "no" ; then
28796 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28797 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28798 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28799 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28800 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28801 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28802 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28803 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28804 if test "x$enable_gtktest" = "xyes" ; then
28805 ac_save_CFLAGS="$CFLAGS"
28806 ac_save_LIBS="$LIBS"
28807 CFLAGS="$CFLAGS $GTK_CFLAGS"
28808 LIBS="$GTK_LIBS $LIBS"
28810 if test "$cross_compiling" = yes; then
28811 echo $ac_n "cross compiling; assumed OK... $ac_c"
28813 cat >conftest.$ac_ext <<_ACEOF
28816 cat confdefs.h >>conftest.$ac_ext
28817 cat >>conftest.$ac_ext <<_ACEOF
28818 /* end confdefs.h. */
28820 #include <gtk/gtk.h>
28822 #include <stdlib.h>
28827 int major, minor, micro;
28830 system ("touch conf.gtktest");
28832 /* HP/UX 9 (%@#!) writes to sscanf strings */
28833 tmp_version = g_strdup("$min_gtk_version");
28834 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28835 printf("%s, bad version string\n", "$min_gtk_version");
28839 if ((gtk_major_version != $gtk_config_major_version) ||
28840 (gtk_minor_version != $gtk_config_minor_version) ||
28841 (gtk_micro_version != $gtk_config_micro_version))
28843 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28844 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28845 gtk_major_version, gtk_minor_version, gtk_micro_version);
28846 printf ("*** was found! If gtk-config was correct, then it is best\n");
28847 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28848 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28849 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28850 printf("*** required on your system.\n");
28851 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28852 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28853 printf("*** before re-running configure\n");
28855 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28856 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28857 (gtk_minor_version != GTK_MINOR_VERSION) ||
28858 (gtk_micro_version != GTK_MICRO_VERSION))
28860 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28861 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28862 printf("*** library (version %d.%d.%d)\n",
28863 gtk_major_version, gtk_minor_version, gtk_micro_version);
28865 #endif /* defined (GTK_MAJOR_VERSION) ... */
28868 if ((gtk_major_version > major) ||
28869 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28870 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28876 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28877 gtk_major_version, gtk_minor_version, gtk_micro_version);
28878 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28879 major, minor, micro);
28880 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28882 printf("*** If you have already installed a sufficiently new version, this error\n");
28883 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28884 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28885 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28886 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28887 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28888 printf("*** so that the correct libraries are found at run-time))\n");
28895 rm -f conftest$ac_exeext
28896 if { (ac_try="$ac_link"
28897 case "(($ac_try" in
28898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28899 *) ac_try_echo=$ac_try;;
28901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28902 (eval "$ac_link") 2>&5
28904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28906 { (case "(($ac_try" in
28907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28908 *) ac_try_echo=$ac_try;;
28910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28911 (eval "$ac_try") 2>&5
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); }; }; then
28917 echo "$as_me: program exited with status $ac_status" >&5
28918 echo "$as_me: failed program was:" >&5
28919 sed 's
/^
/| /' conftest.$ac_ext >&5
28921 ( exit $ac_status )
28924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28928 CFLAGS="$ac_save_CFLAGS"
28929 LIBS="$ac_save_LIBS"
28932 if test "x$no_gtk" = x ; then
28933 { echo "$as_me:$LINENO: result: yes" >&5
28934 echo "${ECHO_T}yes" >&6; }
28935 wx_cv_lib_gtk=1.2.7
28937 { echo "$as_me:$LINENO: result: no" >&5
28938 echo "${ECHO_T}no" >&6; }
28939 if test "$GTK_CONFIG" = "no" ; then
28940 echo "*** The gtk-config script installed by GTK could not be found"
28941 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28942 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28943 echo "*** full path to gtk-config."
28945 if test -f conf.gtktest ; then
28948 echo "*** Could not run GTK test program, checking why..."
28949 CFLAGS="$CFLAGS $GTK_CFLAGS"
28950 LIBS="$LIBS $GTK_LIBS"
28951 cat >conftest.$ac_ext <<_ACEOF
28954 cat confdefs.h >>conftest.$ac_ext
28955 cat >>conftest.$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28958 #include <gtk/gtk.h>
28964 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28969 rm -f conftest.$ac_objext conftest$ac_exeext
28970 if { (ac_try="$ac_link"
28971 case "(($ac_try" in
28972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28973 *) ac_try_echo=$ac_try;;
28975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28976 (eval "$ac_link") 2>conftest.er1
28978 grep -v '^
*+' conftest.er1 >conftest.err
28980 cat conftest.err >&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); } && {
28983 test -z "$ac_c_werror_flag" ||
28984 test ! -s conftest.err
28985 } && test -s conftest$ac_exeext &&
28986 $as_test_x conftest$ac_exeext; then
28987 echo "*** The test program compiled, but did not run. This usually means"
28988 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28989 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28990 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28991 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28992 echo "*** is required on your system
"
28994 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28995 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28997 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28998 echo "*** came with the system with the
command"
29000 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
29002 echo "$as_me: failed program was
:" >&5
29003 sed 's/^/| /' conftest.$ac_ext >&5
29005 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
29006 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
29007 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
29008 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
29011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29012 conftest$ac_exeext conftest.$ac_ext
29013 CFLAGS="$ac_save_CFLAGS"
29014 LIBS="$ac_save_LIBS"
29026 if test -z "$wx_cv_lib_gtk"; then
29028 # Check whether --with-gtk-prefix was given.
29029 if test "${with_gtk_prefix+set}" = set; then
29030 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29032 gtk_config_prefix=""
29036 # Check whether --with-gtk-exec-prefix was given.
29037 if test "${with_gtk_exec_prefix+set}" = set; then
29038 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29040 gtk_config_exec_prefix=""
29043 # Check whether --enable-gtktest was given.
29044 if test "${enable_gtktest+set}" = set; then
29045 enableval=$enable_gtktest;
29051 for module in . $GTK_MODULES
29055 gtk_config_args="$gtk_config_args gthread
"
29060 if test x$gtk_config_exec_prefix != x ; then
29061 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29062 if test x${GTK_CONFIG+set} != xset ; then
29063 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29066 if test x$gtk_config_prefix != x ; then
29067 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29068 if test x${GTK_CONFIG+set} != xset ; then
29069 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29073 # Extract the first word of "gtk
-config", so it can be a program name with args.
29074 set dummy gtk-config; ac_word=$2
29075 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29076 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29077 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29078 echo $ECHO_N "(cached
) $ECHO_C" >&6
29080 case $GTK_CONFIG in
29082 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29086 for as_dir in $PATH
29089 test -z "$as_dir" && as_dir=.
29090 for ac_exec_ext in '' $ac_executable_extensions; do
29091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29092 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29093 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29100 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29104 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29105 if test -n "$GTK_CONFIG"; then
29106 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29107 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29109 { echo "$as_me:$LINENO: result
: no
" >&5
29110 echo "${ECHO_T}no
" >&6; }
29114 min_gtk_version=1.2.3
29115 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29116 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29118 if test "$GTK_CONFIG" = "no
" ; then
29121 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29122 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29123 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29125 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29127 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29129 if test "x
$enable_gtktest" = "xyes
" ; then
29130 ac_save_CFLAGS="$CFLAGS"
29131 ac_save_LIBS="$LIBS"
29132 CFLAGS="$CFLAGS $GTK_CFLAGS"
29133 LIBS="$GTK_LIBS $LIBS"
29135 if test "$cross_compiling" = yes; then
29136 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29138 cat >conftest.$ac_ext <<_ACEOF
29141 cat confdefs.h >>conftest.$ac_ext
29142 cat >>conftest.$ac_ext <<_ACEOF
29143 /* end confdefs.h. */
29145 #include <gtk/gtk.h>
29147 #include <stdlib.h>
29152 int major, minor, micro;
29155 system ("touch conf.gtktest
");
29157 /* HP/UX 9 (%@#!) writes to sscanf strings */
29158 tmp_version = g_strdup("$min_gtk_version");
29159 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29160 printf("%s
, bad version string
\n", "$min_gtk_version");
29164 if ((gtk_major_version != $gtk_config_major_version) ||
29165 (gtk_minor_version != $gtk_config_minor_version) ||
29166 (gtk_micro_version != $gtk_config_micro_version))
29168 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29169 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29170 gtk_major_version, gtk_minor_version, gtk_micro_version);
29171 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29172 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29173 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29174 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29175 printf("*** required on your system.
\n");
29176 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29177 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29178 printf("*** before re
-running configure
\n");
29180 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29181 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29182 (gtk_minor_version != GTK_MINOR_VERSION) ||
29183 (gtk_micro_version != GTK_MICRO_VERSION))
29185 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29186 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29187 printf("*** library
(version
%d.
%d.
%d
)\n",
29188 gtk_major_version, gtk_minor_version, gtk_micro_version);
29190 #endif /* defined (GTK_MAJOR_VERSION) ... */
29193 if ((gtk_major_version > major) ||
29194 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29195 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29201 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29202 gtk_major_version, gtk_minor_version, gtk_micro_version);
29203 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29204 major, minor, micro);
29205 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29207 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29208 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29209 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29210 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29211 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29212 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29213 printf("*** so that the correct libraries are found
at run
-time))\n");
29220 rm -f conftest$ac_exeext
29221 if { (ac_try="$ac_link"
29222 case "(($ac_try" in
29223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29224 *) ac_try_echo=$ac_try;;
29226 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29227 (eval "$ac_link") 2>&5
29229 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29230 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29231 { (case "(($ac_try" in
29232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29233 *) ac_try_echo=$ac_try;;
29235 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29236 (eval "$ac_try") 2>&5
29238 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29239 (exit $ac_status); }; }; then
29242 echo "$as_me: program exited with status
$ac_status" >&5
29243 echo "$as_me: failed program was
:" >&5
29244 sed 's/^/| /' conftest.$ac_ext >&5
29246 ( exit $ac_status )
29249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29253 CFLAGS="$ac_save_CFLAGS"
29254 LIBS="$ac_save_LIBS"
29257 if test "x
$no_gtk" = x ; then
29258 { echo "$as_me:$LINENO: result
: yes" >&5
29259 echo "${ECHO_T}yes" >&6; }
29260 wx_cv_lib_gtk=1.2.3
29262 { echo "$as_me:$LINENO: result
: no
" >&5
29263 echo "${ECHO_T}no
" >&6; }
29264 if test "$GTK_CONFIG" = "no
" ; then
29265 echo "*** The gtk
-config script installed by GTK could not be found
"
29266 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29267 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29268 echo "*** full path to gtk
-config.
"
29270 if test -f conf.gtktest ; then
29273 echo "*** Could not run GTK
test program
, checking why...
"
29274 CFLAGS="$CFLAGS $GTK_CFLAGS"
29275 LIBS="$LIBS $GTK_LIBS"
29276 cat >conftest.$ac_ext <<_ACEOF
29279 cat confdefs.h >>conftest.$ac_ext
29280 cat >>conftest.$ac_ext <<_ACEOF
29281 /* end confdefs.h. */
29283 #include <gtk/gtk.h>
29289 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29294 rm -f conftest.$ac_objext conftest$ac_exeext
29295 if { (ac_try="$ac_link"
29296 case "(($ac_try" in
29297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29298 *) ac_try_echo=$ac_try;;
29300 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29301 (eval "$ac_link") 2>conftest.er1
29303 grep -v '^ *+' conftest.er1 >conftest.err
29305 cat conftest.err >&5
29306 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29307 (exit $ac_status); } && {
29308 test -z "$ac_c_werror_flag" ||
29309 test ! -s conftest.err
29310 } && test -s conftest$ac_exeext &&
29311 $as_test_x conftest$ac_exeext; then
29312 echo "*** The
test program compiled
, but did not run. This usually means
"
29313 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29314 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29315 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29316 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29317 echo "*** is required on your system"
29319 echo "*** If you have an old version installed, it is best to remove it, although"
29320 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29322 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29323 echo "*** came with the system with the command"
29325 echo "*** rpm --erase --nodeps gtk gtk-devel"
29327 echo "$as_me: failed program was:" >&5
29328 sed 's
/^
/| /' conftest.$ac_ext >&5
29330 echo "*** The test program failed to compile or link. See the file config.log for the"
29331 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29332 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29333 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29337 conftest$ac_exeext conftest.$ac_ext
29338 CFLAGS="$ac_save_CFLAGS"
29339 LIBS="$ac_save_LIBS"
29354 if test -z "$wx_cv_lib_gtk"; then
29357 wx_cv_cflags_gtk=$GTK_CFLAGS
29358 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29365 if test "$gtk_version_cached" = 1; then
29366 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29367 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29370 case "$wx_cv_lib_gtk" in
29379 *) { { echo "$as_me:$LINENO: error:
29380 The development files for GTK+ were not found. For GTK+ 2, please
29381 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29382 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29383 and that the version is 1.2.3 or above. Also check that the
29384 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29385 --libs' are in the LD_LIBRARY_PATH or equivalent.
29387 echo "$as_me: error:
29388 The development files for GTK+ were not found. For GTK+ 2, please
29389 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29390 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29391 and that the version is 1.2.3 or above. Also check that the
29392 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29393 --libs' are in the LD_LIBRARY_PATH or equivalent.
29395 { (exit 1); exit 1; }; }
29399 if test "$WXGTK2" = 1; then
29400 save_CFLAGS="$CFLAGS"
29402 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29403 LIBS="$LIBS $wx_cv_libs_gtk"
29405 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29406 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29407 cat >conftest.$ac_ext <<_ACEOF
29410 cat confdefs.h >>conftest.$ac_ext
29411 cat >>conftest.$ac_ext <<_ACEOF
29412 /* end confdefs.h. */
29414 #include <gtk/gtk.h>
29420 #if !GTK_CHECK_VERSION(2,10,0)
29428 rm -f conftest.$ac_objext
29429 if { (ac_try="$ac_compile"
29430 case "(($ac_try" in
29431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29432 *) ac_try_echo=$ac_try;;
29434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29435 (eval "$ac_compile") 2>conftest.er1
29437 grep -v '^
*+' conftest.er1 >conftest.err
29439 cat conftest.err >&5
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); } && {
29442 test -z "$ac_c_werror_flag" ||
29443 test ! -s conftest.err
29444 } && test -s conftest.$ac_objext; then
29446 cat >>confdefs.h <<\_ACEOF
29447 #define __WXGTK210__ 1
29450 cat >>confdefs.h <<\_ACEOF
29451 #define __WXGTK26__ 1
29454 { echo "$as_me:$LINENO: result: yes" >&5
29455 echo "${ECHO_T}yes" >&6; }
29459 echo "$as_me: failed program was:" >&5
29460 sed 's
/^
/| /' conftest.$ac_ext >&5
29463 { echo "$as_me:$LINENO: result: no" >&5
29464 echo "${ECHO_T}no" >&6; }
29469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29471 if test "$ac_wxgtk210" = 0; then
29472 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29473 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29474 cat >conftest.$ac_ext <<_ACEOF
29477 cat confdefs.h >>conftest.$ac_ext
29478 cat >>conftest.$ac_ext <<_ACEOF
29479 /* end confdefs.h. */
29481 #include <gtk/gtk.h>
29487 #if !GTK_CHECK_VERSION(2,6,0)
29495 rm -f conftest.$ac_objext
29496 if { (ac_try="$ac_compile"
29497 case "(($ac_try" in
29498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29499 *) ac_try_echo=$ac_try;;
29501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29502 (eval "$ac_compile") 2>conftest.er1
29504 grep -v '^
*+' conftest.er1 >conftest.err
29506 cat conftest.err >&5
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); } && {
29509 test -z "$ac_c_werror_flag" ||
29510 test ! -s conftest.err
29511 } && test -s conftest.$ac_objext; then
29513 cat >>confdefs.h <<\_ACEOF
29514 #define __WXGTK26__ 1
29517 { echo "$as_me:$LINENO: result: yes" >&5
29518 echo "${ECHO_T}yes" >&6; }
29522 echo "$as_me: failed program was:" >&5
29523 sed 's
/^
/| /' conftest.$ac_ext >&5
29526 { echo "$as_me:$LINENO: result: no" >&5
29527 echo "${ECHO_T}no" >&6; }
29532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29535 CFLAGS="$save_CFLAGS"
29538 if test "$wxUSE_UNICODE" = "yes"; then
29539 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29540 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29544 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29545 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29546 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29547 echo $ECHO_N "(cached) $ECHO_C" >&6
29549 ac_check_lib_save_LIBS=$LIBS
29551 cat >conftest.$ac_ext <<_ACEOF
29554 cat confdefs.h >>conftest.$ac_ext
29555 cat >>conftest.$ac_ext <<_ACEOF
29556 /* end confdefs.h. */
29558 /* Override any GCC internal prototype to avoid an error.
29559 Use char because int might match the return type of a GCC
29560 builtin and then its argument prototype would still apply. */
29564 char gdk_im_open ();
29568 return gdk_im_open ();
29573 rm -f conftest.$ac_objext conftest$ac_exeext
29574 if { (ac_try="$ac_link"
29575 case "(($ac_try" in
29576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29577 *) ac_try_echo=$ac_try;;
29579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29580 (eval "$ac_link") 2>conftest.er1
29582 grep -v '^
*+' conftest.er1 >conftest.err
29584 cat conftest.err >&5
29585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29586 (exit $ac_status); } && {
29587 test -z "$ac_c_werror_flag" ||
29588 test ! -s conftest.err
29589 } && test -s conftest$ac_exeext &&
29590 $as_test_x conftest$ac_exeext; then
29591 ac_cv_lib_gdk_gdk_im_open=yes
29593 echo "$as_me: failed program was:" >&5
29594 sed 's
/^
/| /' conftest.$ac_ext >&5
29596 ac_cv_lib_gdk_gdk_im_open=no
29599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29600 conftest$ac_exeext conftest.$ac_ext
29601 LIBS=$ac_check_lib_save_LIBS
29603 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29604 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29605 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29606 cat >>confdefs.h <<\_ACEOF
29613 if test "$USE_DARWIN" != 1; then
29615 for ac_func in poll
29617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29618 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29620 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29621 echo $ECHO_N "(cached) $ECHO_C" >&6
29623 cat >conftest.$ac_ext <<_ACEOF
29626 cat confdefs.h >>conftest.$ac_ext
29627 cat >>conftest.$ac_ext <<_ACEOF
29628 /* end confdefs.h. */
29629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29631 #define $ac_func innocuous_$ac_func
29633 /* System header to define __stub macros and hopefully few prototypes,
29634 which can conflict with char $ac_func (); below.
29635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29636 <limits.h> exists even on freestanding compilers. */
29639 # include <limits.h>
29641 # include <assert.h>
29646 /* Override any GCC internal prototype to avoid an error.
29647 Use char because int might match the return type of a GCC
29648 builtin and then its argument prototype would still apply. */
29653 /* The GNU C library defines this for functions which it implements
29654 to always fail with ENOSYS. Some functions are actually named
29655 something starting with __ and the normal name is an alias. */
29656 #if defined __stub_$ac_func || defined __stub___$ac_func
29663 return $ac_func ();
29668 rm -f conftest.$ac_objext conftest$ac_exeext
29669 if { (ac_try="$ac_link"
29670 case "(($ac_try" in
29671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29672 *) ac_try_echo=$ac_try;;
29674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29675 (eval "$ac_link") 2>conftest.er1
29677 grep -v '^
*+' conftest.er1 >conftest.err
29679 cat conftest.err >&5
29680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29681 (exit $ac_status); } && {
29682 test -z "$ac_c_werror_flag" ||
29683 test ! -s conftest.err
29684 } && test -s conftest$ac_exeext &&
29685 $as_test_x conftest$ac_exeext; then
29686 eval "$as_ac_var=yes"
29688 echo "$as_me: failed program was:" >&5
29689 sed 's
/^
/| /' conftest.$ac_ext >&5
29691 eval "$as_ac_var=no"
29694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29695 conftest$ac_exeext conftest.$ac_ext
29697 ac_res=`eval echo '${'$as_ac_var'}'`
29698 { echo "$as_me:$LINENO: result: $ac_res" >&5
29699 echo "${ECHO_T}$ac_res" >&6; }
29700 if test `eval echo '${'$as_ac_var'}'` = yes; then
29701 cat >>confdefs.h <<_ACEOF
29702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29711 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29712 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29714 AFMINSTALL=afminstall
29718 if test "$wxUSE_GPE" = "yes"; then
29719 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29720 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29723 for ac_dir in $SEARCH_LIB;
29725 for ac_extension in a so sl dylib dll.a; do
29726 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29727 ac_find_libraries=$ac_dir
29733 if test "$ac_find_libraries" != "" ; then
29735 if test "$ac_find_libraries" = "default location"; then
29738 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29740 if test $result = 0; then
29743 ac_path_to_link=" -L$ac_find_libraries"
29747 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29749 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29750 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29752 { echo "$as_me:$LINENO: result: not found" >&5
29753 echo "${ECHO_T}not found" >&6; }
29759 if test "$wxUSE_MGL" = 1; then
29760 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29761 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29762 if test "x$MGL_ROOT" = x ; then
29763 { echo "$as_me:$LINENO: result: not found" >&5
29764 echo "${ECHO_T}not found" >&6; }
29765 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29766 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29767 { (exit 1); exit 1; }; }
29769 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29770 echo "${ECHO_T}$MGL_ROOT" >&6; }
29773 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29774 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29777 if test "x$wxUSE_SHARED" = xyes ; then
29778 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29780 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29784 mgl_os_candidates="dos32/dj2"
29787 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29788 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29789 { (exit 1); exit 1; }; }
29795 for mgl_os_i in $mgl_os_candidates ; do
29796 if test "x$mgl_os" = x ; then
29797 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29798 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29799 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29804 if test "x$mgl_lib_type" = x ; then
29805 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29806 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29807 mgl_lib_type=release
29814 if test "x$mgl_os" = x ; then
29815 { echo "$as_me:$LINENO: result: not found" >&5
29816 echo "${ECHO_T}not found" >&6; }
29817 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29818 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29819 { (exit 1); exit 1; }; }
29821 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29822 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29824 wxUSE_UNIVERSAL="yes"
29826 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29827 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29829 AFMINSTALL=afminstall
29834 if test "$wxUSE_DFB" = 1; then
29837 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29838 if test -n "$ac_tool_prefix"; then
29839 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29840 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29843 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29844 echo $ECHO_N "(cached) $ECHO_C" >&6
29846 case $PKG_CONFIG in
29848 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29852 for as_dir in $PATH
29855 test -z "$as_dir" && as_dir=.
29856 for ac_exec_ext in '' $ac_executable_extensions; do
29857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29858 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29869 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29870 if test -n "$PKG_CONFIG"; then
29871 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29872 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29874 { echo "$as_me:$LINENO: result: no" >&5
29875 echo "${ECHO_T}no" >&6; }
29880 if test -z "$ac_cv_path_PKG_CONFIG"; then
29881 ac_pt_PKG_CONFIG=$PKG_CONFIG
29882 # Extract the first word of "pkg-config", so it can be a program name with args.
29883 set dummy pkg-config; ac_word=$2
29884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29886 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29887 echo $ECHO_N "(cached) $ECHO_C" >&6
29889 case $ac_pt_PKG_CONFIG in
29891 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29895 for as_dir in $PATH
29898 test -z "$as_dir" && as_dir=.
29899 for ac_exec_ext in '' $ac_executable_extensions; do
29900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29901 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29912 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29913 if test -n "$ac_pt_PKG_CONFIG"; then
29914 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29915 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29917 { echo "$as_me:$LINENO: result: no" >&5
29918 echo "${ECHO_T}no" >&6; }
29921 if test "x$ac_pt_PKG_CONFIG" = x; then
29924 case $cross_compiling:$ac_tool_warned in
29926 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29927 whose name does not start with the host triplet. If you think this
29928 configuration is useful to you, please write to autoconf@gnu.org." >&5
29929 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29930 whose name does not start with the host triplet. If you think this
29931 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29932 ac_tool_warned=yes ;;
29934 PKG_CONFIG=$ac_pt_PKG_CONFIG
29937 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29941 if test -n "$PKG_CONFIG"; then
29942 _pkg_min_version=0.9.0
29943 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29944 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29945 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29946 { echo "$as_me:$LINENO: result: yes" >&5
29947 echo "${ECHO_T}yes" >&6; }
29949 { echo "$as_me:$LINENO: result: no" >&5
29950 echo "${ECHO_T}no" >&6; }
29958 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29959 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29961 if test -n "$PKG_CONFIG"; then
29962 if test -n "$DIRECTFB_CFLAGS"; then
29963 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29965 if test -n "$PKG_CONFIG" && \
29966 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29967 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); }; then
29971 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29979 if test -n "$PKG_CONFIG"; then
29980 if test -n "$DIRECTFB_LIBS"; then
29981 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29983 if test -n "$PKG_CONFIG" && \
29984 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29985 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); }; then
29989 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30000 if test $pkg_failed = yes; then
30002 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30003 _pkg_short_errors_supported=yes
30005 _pkg_short_errors_supported=no
30007 if test $_pkg_short_errors_supported = yes; then
30008 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30010 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30012 # Put the nasty error message in config.log where it belongs
30013 echo "$DIRECTFB_PKG_ERRORS" >&5
30016 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30017 echo "$as_me: error: DirectFB not found." >&2;}
30018 { (exit 1); exit 1; }; }
30021 elif test $pkg_failed = untried; then
30023 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30024 echo "$as_me: error: DirectFB not found." >&2;}
30025 { (exit 1); exit 1; }; }
30029 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30030 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30031 { echo "$as_me:$LINENO: result: yes" >&5
30032 echo "${ECHO_T}yes" >&6; }
30034 wxUSE_UNIVERSAL="yes"
30035 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30036 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30043 if test "$wxUSE_MICROWIN" = 1; then
30044 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30045 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30046 if test "x$MICROWINDOWS" = x ; then
30047 { echo "$as_me:$LINENO: result: not found" >&5
30048 echo "${ECHO_T}not found" >&6; }
30049 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30050 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30051 { (exit 1); exit 1; }; }
30053 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30054 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30057 if test -f $MICROWINDOWS/lib/libmwin.a; then
30058 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30059 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30061 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30062 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30063 { (exit 1); exit 1; }; }
30066 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30067 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30069 wxUSE_UNIVERSAL="yes"
30071 AFMINSTALL=afminstall
30073 GUIDIST=MICROWIN_DIST
30075 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30078 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30079 { echo "$as_me:$LINENO: checking for X" >&5
30080 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30083 # Check whether --with-x was given.
30084 if test "${with_x+set}" = set; then
30088 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30089 if test "x$with_x" = xno; then
30090 # The user explicitly disabled X.
30093 case $x_includes,$x_libraries in #(
30094 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30095 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30096 { (exit 1); exit 1; }; };; #(
30097 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30098 echo $ECHO_N "(cached) $ECHO_C" >&6
30100 # One or both of the vars are not set, and there is no cached value.
30101 ac_x_includes=no ac_x_libraries=no
30102 rm -f -r conftest.dir
30103 if mkdir conftest.dir; then
30105 cat >Imakefile <<'_ACEOF'
30107 @echo incroot='${INCROOT}'
30109 @echo usrlibdir='${USRLIBDIR}'
30111 @echo libdir='${LIBDIR}'
30113 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30114 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30115 for ac_var in incroot usrlibdir libdir; do
30116 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30118 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30119 for ac_extension in a so sl; do
30120 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30121 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30122 ac_im_usrlibdir=$ac_im_libdir; break
30125 # Screen out bogus values from the imake configuration. They are
30126 # bogus both because they are the default anyway, and because
30127 # using them would break gcc on systems where it needs fixed includes.
30128 case $ac_im_incroot in
30129 /usr/include) ac_x_includes= ;;
30130 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30132 case $ac_im_usrlibdir in
30133 /usr/lib | /lib) ;;
30134 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30138 rm -f -r conftest.dir
30141 # Standard set of common directories for X headers.
30142 # Check X11 before X11Rn because it is often a symlink to the current release.
30154 /usr
/local
/X
11/include
30155 /usr
/local
/X
11R
6/include
30156 /usr
/local
/X
11R
5/include
30157 /usr
/local
/X
11R
4/include
30159 /usr
/local
/include
/X11
30160 /usr
/local
/include
/X11R6
30161 /usr
/local
/include
/X11R5
30162 /usr
/local
/include
/X11R4
30166 /usr
/XFree
86/include
/X11
30170 /usr
/unsupported
/include
30171 /usr
/athena
/include
30172 /usr
/local
/x
11r
5/include
30173 /usr
/lpp
/Xamples
/include
30175 /usr
/openwin
/include
30176 /usr
/openwin
/share
/include
'
30178 if test "$ac_x_includes" = no; then
30179 # Guess where to find include files, by looking for Xlib.h.
30180 # First, try using that file with no special directory specified.
30181 cat >conftest.$ac_ext <<_ACEOF
30184 cat confdefs.h >>conftest.$ac_ext
30185 cat >>conftest.$ac_ext <<_ACEOF
30186 /* end confdefs.h. */
30187 #include <X11/Xlib.h>
30189 if { (ac_try="$ac_cpp conftest.$ac_ext"
30190 case "(($ac_try" in
30191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30192 *) ac_try_echo=$ac_try;;
30194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30197 grep -v '^
*+' conftest.er1 >conftest.err
30199 cat conftest.err >&5
30200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30201 (exit $ac_status); } >/dev/null && {
30202 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30203 test ! -s conftest.err
30205 # We can compile using X headers with no special include directory.
30208 echo "$as_me: failed program was:" >&5
30209 sed 's
/^
/| /' conftest.$ac_ext >&5
30211 for ac_dir in $ac_x_header_dirs; do
30212 if test -r "$ac_dir/X11/Xlib.h"; then
30213 ac_x_includes=$ac_dir
30219 rm -f conftest.err conftest.$ac_ext
30220 fi # $ac_x_includes = no
30222 if test "$ac_x_libraries" = no; then
30223 # Check for the libraries.
30224 # See if we find them without any special options.
30225 # Don't add to
$LIBS permanently.
30228 cat >conftest.
$ac_ext <<_ACEOF
30231 cat confdefs.h
>>conftest.
$ac_ext
30232 cat >>conftest.
$ac_ext <<_ACEOF
30233 /* end confdefs.h. */
30234 #include <X11/Xlib.h>
30243 rm -f conftest.
$ac_objext conftest
$ac_exeext
30244 if { (ac_try
="$ac_link"
30245 case "(($ac_try" in
30246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30247 *) ac_try_echo=$ac_try;;
30249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30250 (eval "$ac_link") 2>conftest.er1
30252 grep -v '^ *+' conftest.er1 >conftest.err
30254 cat conftest.err >&5
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); } && {
30257 test -z "$ac_c_werror_flag" ||
30258 test ! -s conftest.err
30259 } && test -s conftest$ac_exeext &&
30260 $as_test_x conftest$ac_exeext; then
30262 # We can link X programs with no special library path.
30265 echo "$as_me: failed program was:" >&5
30266 sed 's/^/| /' conftest.$ac_ext >&5
30269 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30271 # Don't even attempt the hair of trying to link an X program!
30272 for ac_extension in a so sl; do
30273 if test -r "$ac_dir/libX11.$ac_extension"; then
30274 ac_x_libraries=$ac_dir
30281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30282 conftest$ac_exeext conftest.$ac_ext
30283 fi # $ac_x_libraries = no
30285 case $ac_x_includes,$ac_x_libraries in #(
30286 no,* | *,no | *\'*)
30287 # Didn't find X, or a directory has "'" in its name.
30288 ac_cv_have_x="have_x=no";; #(
30290 # Record where we found X for the cache.
30291 ac_cv_have_x="have_x=yes\
30292 ac_x_includes='$ac_x_includes'\
30293 ac_x_libraries='$ac_x_libraries'"
30299 eval "$ac_cv_have_x"
30302 if test "$have_x" != yes; then
30303 { echo "$as_me:$LINENO: result: $have_x" >&5
30304 echo "${ECHO_T}$have_x" >&6; }
30307 # If each of the values was on the command line, it overrides each guess.
30308 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30309 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30310 # Update the cache value to reflect the command line values.
30311 ac_cv_have_x="have_x=yes\
30312 ac_x_includes='$x_includes'\
30313 ac_x_libraries='$x_libraries'"
30314 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30315 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30318 if test "$no_x" = yes; then
30319 # Not all programs may use this symbol, but it does not hurt to define it.
30321 cat >>confdefs.h <<\_ACEOF
30322 #define X_DISPLAY_MISSING 1
30325 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30327 if test -n "$x_includes"; then
30328 X_CFLAGS="$X_CFLAGS -I$x_includes"
30331 # It would also be nice to do this for all -L options, not just this one.
30332 if test -n "$x_libraries"; then
30333 X_LIBS="$X_LIBS -L$x_libraries"
30334 # For Solaris; some versions of Sun CC require a space after -R and
30335 # others require no space. Words are not sufficient . . . .
30336 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30337 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30338 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30339 ac_xsave_c_werror_flag=$ac_c_werror_flag
30340 ac_c_werror_flag=yes
30341 cat >conftest.$ac_ext <<_ACEOF
30344 cat confdefs.h >>conftest.$ac_ext
30345 cat >>conftest.$ac_ext <<_ACEOF
30346 /* end confdefs.h. */
30356 rm -f conftest.$ac_objext conftest$ac_exeext
30357 if { (ac_try="$ac_link"
30358 case "(($ac_try" in
30359 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30360 *) ac_try_echo
=$ac_try;;
30362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30363 (eval "$ac_link") 2>conftest.er1
30365 grep -v '^ *+' conftest.er1
>conftest.err
30367 cat conftest.err
>&5
30368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30369 (exit $ac_status); } && {
30370 test -z "$ac_c_werror_flag" ||
30371 test ! -s conftest.err
30372 } && test -s conftest
$ac_exeext &&
30373 $as_test_x conftest
$ac_exeext; then
30374 { echo "$as_me:$LINENO: result: no" >&5
30375 echo "${ECHO_T}no" >&6; }
30376 X_LIBS
="$X_LIBS -R$x_libraries"
30378 echo "$as_me: failed program was:" >&5
30379 sed 's/^/| /' conftest.
$ac_ext >&5
30381 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30382 cat >conftest.
$ac_ext <<_ACEOF
30385 cat confdefs.h
>>conftest.
$ac_ext
30386 cat >>conftest.
$ac_ext <<_ACEOF
30387 /* end confdefs.h. */
30397 rm -f conftest.
$ac_objext conftest
$ac_exeext
30398 if { (ac_try
="$ac_link"
30399 case "(($ac_try" in
30400 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30401 *) ac_try_echo=$ac_try;;
30403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30404 (eval "$ac_link") 2>conftest.er1
30406 grep -v '^ *+' conftest.er1 >conftest.err
30408 cat conftest.err >&5
30409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30410 (exit $ac_status); } && {
30411 test -z "$ac_c_werror_flag" ||
30412 test ! -s conftest.err
30413 } && test -s conftest$ac_exeext &&
30414 $as_test_x conftest$ac_exeext; then
30415 { echo "$as_me:$LINENO: result: yes" >&5
30416 echo "${ECHO_T}yes" >&6; }
30417 X_LIBS="$X_LIBS -R $x_libraries"
30419 echo "$as_me: failed program was:" >&5
30420 sed 's/^/| /' conftest.$ac_ext >&5
30422 { echo "$as_me:$LINENO: result: neither works" >&5
30423 echo "${ECHO_T}neither works" >&6; }
30426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30427 conftest$ac_exeext conftest.$ac_ext
30430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30431 conftest$ac_exeext conftest.$ac_ext
30432 ac_c_werror_flag=$ac_xsave_c_werror_flag
30433 LIBS=$ac_xsave_LIBS
30436 # Check for system-dependent libraries X programs must link with.
30437 # Do this before checking for the system-independent R6 libraries
30438 # (-lICE), since we may need -lsocket or whatever for X linking.
30440 if test "$ISC" = yes; then
30441 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30443 # Martyn Johnson says this is needed for Ultrix, if the X
30444 # libraries were built with DECnet support. And Karl Berry says
30445 # the Alpha needs dnet_stub (dnet does not exist).
30446 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30447 cat >conftest.$ac_ext <<_ACEOF
30450 cat confdefs.h >>conftest.$ac_ext
30451 cat >>conftest.$ac_ext <<_ACEOF
30452 /* end confdefs.h. */
30454 /* Override any GCC internal prototype to avoid an error.
30455 Use char because int might match the return type of a GCC
30456 builtin and then its argument prototype would still apply. */
30460 char XOpenDisplay ();
30464 return XOpenDisplay ();
30469 rm -f conftest.$ac_objext conftest$ac_exeext
30470 if { (ac_try="$ac_link"
30471 case "(($ac_try" in
30472 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30473 *) ac_try_echo
=$ac_try;;
30475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30476 (eval "$ac_link") 2>conftest.er1
30478 grep -v '^ *+' conftest.er1
>conftest.err
30480 cat conftest.err
>&5
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); } && {
30483 test -z "$ac_c_werror_flag" ||
30484 test ! -s conftest.err
30485 } && test -s conftest
$ac_exeext &&
30486 $as_test_x conftest
$ac_exeext; then
30489 echo "$as_me: failed program was:" >&5
30490 sed 's/^/| /' conftest.
$ac_ext >&5
30492 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30493 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30494 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30495 echo $ECHO_N "(cached) $ECHO_C" >&6
30497 ac_check_lib_save_LIBS
=$LIBS
30498 LIBS
="-ldnet $LIBS"
30499 cat >conftest.
$ac_ext <<_ACEOF
30502 cat confdefs.h
>>conftest.
$ac_ext
30503 cat >>conftest.
$ac_ext <<_ACEOF
30504 /* end confdefs.h. */
30506 /* Override any GCC internal prototype to avoid an error.
30507 Use char because int might match the return type of a GCC
30508 builtin and then its argument prototype would still apply. */
30516 return dnet_ntoa ();
30521 rm -f conftest.
$ac_objext conftest
$ac_exeext
30522 if { (ac_try
="$ac_link"
30523 case "(($ac_try" in
30524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30525 *) ac_try_echo=$ac_try;;
30527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30528 (eval "$ac_link") 2>conftest.er1
30530 grep -v '^ *+' conftest.er1 >conftest.err
30532 cat conftest.err >&5
30533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30534 (exit $ac_status); } && {
30535 test -z "$ac_c_werror_flag" ||
30536 test ! -s conftest.err
30537 } && test -s conftest$ac_exeext &&
30538 $as_test_x conftest$ac_exeext; then
30539 ac_cv_lib_dnet_dnet_ntoa=yes
30541 echo "$as_me: failed program was:" >&5
30542 sed 's/^/| /' conftest.$ac_ext >&5
30544 ac_cv_lib_dnet_dnet_ntoa=no
30547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30548 conftest$ac_exeext conftest.$ac_ext
30549 LIBS=$ac_check_lib_save_LIBS
30551 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30552 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30553 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30554 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30557 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30558 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30559 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30560 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30561 echo $ECHO_N "(cached) $ECHO_C" >&6
30563 ac_check_lib_save_LIBS=$LIBS
30564 LIBS="-ldnet_stub $LIBS"
30565 cat >conftest.$ac_ext <<_ACEOF
30568 cat confdefs.h >>conftest.$ac_ext
30569 cat >>conftest.$ac_ext <<_ACEOF
30570 /* end confdefs.h. */
30572 /* Override any GCC internal prototype to avoid an error.
30573 Use char because int might match the return type of a GCC
30574 builtin and then its argument prototype would still apply. */
30582 return dnet_ntoa ();
30587 rm -f conftest.$ac_objext conftest$ac_exeext
30588 if { (ac_try="$ac_link"
30589 case "(($ac_try" in
30590 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30591 *) ac_try_echo
=$ac_try;;
30593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30594 (eval "$ac_link") 2>conftest.er1
30596 grep -v '^ *+' conftest.er1
>conftest.err
30598 cat conftest.err
>&5
30599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30600 (exit $ac_status); } && {
30601 test -z "$ac_c_werror_flag" ||
30602 test ! -s conftest.err
30603 } && test -s conftest
$ac_exeext &&
30604 $as_test_x conftest
$ac_exeext; then
30605 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30607 echo "$as_me: failed program was:" >&5
30608 sed 's/^/| /' conftest.
$ac_ext >&5
30610 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30613 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30614 conftest
$ac_exeext conftest.
$ac_ext
30615 LIBS
=$ac_check_lib_save_LIBS
30617 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30618 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30619 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30620 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30626 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30627 conftest
$ac_exeext conftest.
$ac_ext
30628 LIBS
="$ac_xsave_LIBS"
30630 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30631 # to get the SysV transport functions.
30632 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30634 # The nsl library prevents programs from opening the X display
30635 # on Irix 5.2, according to T.E. Dickey.
30636 # The functions gethostbyname, getservbyname, and inet_addr are
30637 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30638 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30639 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30640 if test "${ac_cv_func_gethostbyname+set}" = set; then
30641 echo $ECHO_N "(cached) $ECHO_C" >&6
30643 cat >conftest.
$ac_ext <<_ACEOF
30646 cat confdefs.h
>>conftest.
$ac_ext
30647 cat >>conftest.
$ac_ext <<_ACEOF
30648 /* end confdefs.h. */
30649 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30651 #define gethostbyname innocuous_gethostbyname
30653 /* System header to define __stub macros and hopefully few prototypes,
30654 which can conflict with char gethostbyname (); below.
30655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30656 <limits.h> exists even on freestanding compilers. */
30659 # include <limits.h>
30661 # include <assert.h>
30664 #undef gethostbyname
30666 /* Override any GCC internal prototype to avoid an error.
30667 Use char because int might match the return type of a GCC
30668 builtin and then its argument prototype would still apply. */
30672 char gethostbyname ();
30673 /* The GNU C library defines this for functions which it implements
30674 to always fail with ENOSYS. Some functions are actually named
30675 something starting with __ and the normal name is an alias. */
30676 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30683 return gethostbyname ();
30688 rm -f conftest.
$ac_objext conftest
$ac_exeext
30689 if { (ac_try
="$ac_link"
30690 case "(($ac_try" in
30691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30692 *) ac_try_echo=$ac_try;;
30694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30695 (eval "$ac_link") 2>conftest.er1
30697 grep -v '^ *+' conftest.er1 >conftest.err
30699 cat conftest.err >&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); } && {
30702 test -z "$ac_c_werror_flag" ||
30703 test ! -s conftest.err
30704 } && test -s conftest$ac_exeext &&
30705 $as_test_x conftest$ac_exeext; then
30706 ac_cv_func_gethostbyname=yes
30708 echo "$as_me: failed program was:" >&5
30709 sed 's/^/| /' conftest.$ac_ext >&5
30711 ac_cv_func_gethostbyname=no
30714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30715 conftest$ac_exeext conftest.$ac_ext
30717 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30718 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30720 if test $ac_cv_func_gethostbyname = no; then
30721 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30722 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30723 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30724 echo $ECHO_N "(cached) $ECHO_C" >&6
30726 ac_check_lib_save_LIBS=$LIBS
30728 cat >conftest.$ac_ext <<_ACEOF
30731 cat confdefs.h >>conftest.$ac_ext
30732 cat >>conftest.$ac_ext <<_ACEOF
30733 /* end confdefs.h. */
30735 /* Override any GCC internal prototype to avoid an error.
30736 Use char because int might match the return type of a GCC
30737 builtin and then its argument prototype would still apply. */
30741 char gethostbyname ();
30745 return gethostbyname ();
30750 rm -f conftest.$ac_objext conftest$ac_exeext
30751 if { (ac_try="$ac_link"
30752 case "(($ac_try" in
30753 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30754 *) ac_try_echo
=$ac_try;;
30756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30757 (eval "$ac_link") 2>conftest.er1
30759 grep -v '^ *+' conftest.er1
>conftest.err
30761 cat conftest.err
>&5
30762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30763 (exit $ac_status); } && {
30764 test -z "$ac_c_werror_flag" ||
30765 test ! -s conftest.err
30766 } && test -s conftest
$ac_exeext &&
30767 $as_test_x conftest
$ac_exeext; then
30768 ac_cv_lib_nsl_gethostbyname
=yes
30770 echo "$as_me: failed program was:" >&5
30771 sed 's/^/| /' conftest.
$ac_ext >&5
30773 ac_cv_lib_nsl_gethostbyname
=no
30776 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30777 conftest
$ac_exeext conftest.
$ac_ext
30778 LIBS
=$ac_check_lib_save_LIBS
30780 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30781 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30782 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30783 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30786 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30787 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30788 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30789 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30790 echo $ECHO_N "(cached) $ECHO_C" >&6
30792 ac_check_lib_save_LIBS
=$LIBS
30794 cat >conftest.
$ac_ext <<_ACEOF
30797 cat confdefs.h
>>conftest.
$ac_ext
30798 cat >>conftest.
$ac_ext <<_ACEOF
30799 /* end confdefs.h. */
30801 /* Override any GCC internal prototype to avoid an error.
30802 Use char because int might match the return type of a GCC
30803 builtin and then its argument prototype would still apply. */
30807 char gethostbyname ();
30811 return gethostbyname ();
30816 rm -f conftest.
$ac_objext conftest
$ac_exeext
30817 if { (ac_try
="$ac_link"
30818 case "(($ac_try" in
30819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30820 *) ac_try_echo=$ac_try;;
30822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30823 (eval "$ac_link") 2>conftest.er1
30825 grep -v '^ *+' conftest.er1 >conftest.err
30827 cat conftest.err >&5
30828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30829 (exit $ac_status); } && {
30830 test -z "$ac_c_werror_flag" ||
30831 test ! -s conftest.err
30832 } && test -s conftest$ac_exeext &&
30833 $as_test_x conftest$ac_exeext; then
30834 ac_cv_lib_bsd_gethostbyname=yes
30836 echo "$as_me: failed program was:" >&5
30837 sed 's/^/| /' conftest.$ac_ext >&5
30839 ac_cv_lib_bsd_gethostbyname=no
30842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30843 conftest$ac_exeext conftest.$ac_ext
30844 LIBS=$ac_check_lib_save_LIBS
30846 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30847 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30848 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30849 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30855 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30856 # socket/setsockopt and other routines are undefined under SCO ODT
30857 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30858 # on later versions), says Simon Leinen: it contains gethostby*
30859 # variants that don't use the name server (or something). -lsocket
30860 # must be given before -lnsl if both are needed. We assume that
30861 # if connect needs -lnsl, so does gethostbyname.
30862 { echo "$as_me:$LINENO: checking for connect" >&5
30863 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30864 if test "${ac_cv_func_connect+set}" = set; then
30865 echo $ECHO_N "(cached) $ECHO_C" >&6
30867 cat >conftest.$ac_ext <<_ACEOF
30870 cat confdefs.h >>conftest.$ac_ext
30871 cat >>conftest.$ac_ext <<_ACEOF
30872 /* end confdefs.h. */
30873 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30875 #define connect innocuous_connect
30877 /* System header to define __stub macros and hopefully few prototypes,
30878 which can conflict with char connect (); below.
30879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30880 <limits.h> exists even on freestanding compilers. */
30883 # include <limits.h>
30885 # include <assert.h>
30890 /* Override any GCC internal prototype to avoid an error.
30891 Use char because int might match the return type of a GCC
30892 builtin and then its argument prototype would still apply. */
30897 /* The GNU C library defines this for functions which it implements
30898 to always fail with ENOSYS. Some functions are actually named
30899 something starting with __ and the normal name is an alias. */
30900 #if defined __stub_connect || defined __stub___connect
30912 rm -f conftest.$ac_objext conftest$ac_exeext
30913 if { (ac_try="$ac_link"
30914 case "(($ac_try" in
30915 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30916 *) ac_try_echo
=$ac_try;;
30918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30919 (eval "$ac_link") 2>conftest.er1
30921 grep -v '^ *+' conftest.er1
>conftest.err
30923 cat conftest.err
>&5
30924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30925 (exit $ac_status); } && {
30926 test -z "$ac_c_werror_flag" ||
30927 test ! -s conftest.err
30928 } && test -s conftest
$ac_exeext &&
30929 $as_test_x conftest
$ac_exeext; then
30930 ac_cv_func_connect
=yes
30932 echo "$as_me: failed program was:" >&5
30933 sed 's/^/| /' conftest.
$ac_ext >&5
30935 ac_cv_func_connect
=no
30938 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30939 conftest
$ac_exeext conftest.
$ac_ext
30941 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30942 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30944 if test $ac_cv_func_connect = no
; then
30945 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30946 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30947 if test "${ac_cv_lib_socket_connect+set}" = set; then
30948 echo $ECHO_N "(cached) $ECHO_C" >&6
30950 ac_check_lib_save_LIBS
=$LIBS
30951 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30952 cat >conftest.
$ac_ext <<_ACEOF
30955 cat confdefs.h
>>conftest.
$ac_ext
30956 cat >>conftest.
$ac_ext <<_ACEOF
30957 /* end confdefs.h. */
30959 /* Override any GCC internal prototype to avoid an error.
30960 Use char because int might match the return type of a GCC
30961 builtin and then its argument prototype would still apply. */
30974 rm -f conftest.
$ac_objext conftest
$ac_exeext
30975 if { (ac_try
="$ac_link"
30976 case "(($ac_try" in
30977 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30978 *) ac_try_echo=$ac_try;;
30980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30981 (eval "$ac_link") 2>conftest.er1
30983 grep -v '^ *+' conftest.er1 >conftest.err
30985 cat conftest.err >&5
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); } && {
30988 test -z "$ac_c_werror_flag" ||
30989 test ! -s conftest.err
30990 } && test -s conftest$ac_exeext &&
30991 $as_test_x conftest$ac_exeext; then
30992 ac_cv_lib_socket_connect=yes
30994 echo "$as_me: failed program was:" >&5
30995 sed 's/^/| /' conftest.$ac_ext >&5
30997 ac_cv_lib_socket_connect=no
31000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31001 conftest$ac_exeext conftest.$ac_ext
31002 LIBS=$ac_check_lib_save_LIBS
31004 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31005 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31006 if test $ac_cv_lib_socket_connect = yes; then
31007 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31012 # Guillermo Gomez says -lposix is necessary on A/UX.
31013 { echo "$as_me:$LINENO: checking for remove" >&5
31014 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31015 if test "${ac_cv_func_remove+set}" = set; then
31016 echo $ECHO_N "(cached) $ECHO_C" >&6
31018 cat >conftest.$ac_ext <<_ACEOF
31021 cat confdefs.h >>conftest.$ac_ext
31022 cat >>conftest.$ac_ext <<_ACEOF
31023 /* end confdefs.h. */
31024 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31026 #define remove innocuous_remove
31028 /* System header to define __stub macros and hopefully few prototypes,
31029 which can conflict with char remove (); below.
31030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31031 <limits.h> exists even on freestanding compilers. */
31034 # include <limits.h>
31036 # include <assert.h>
31041 /* Override any GCC internal prototype to avoid an error.
31042 Use char because int might match the return type of a GCC
31043 builtin and then its argument prototype would still apply. */
31048 /* The GNU C library defines this for functions which it implements
31049 to always fail with ENOSYS. Some functions are actually named
31050 something starting with __ and the normal name is an alias. */
31051 #if defined __stub_remove || defined __stub___remove
31063 rm -f conftest.$ac_objext conftest$ac_exeext
31064 if { (ac_try="$ac_link"
31065 case "(($ac_try" in
31066 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31067 *) ac_try_echo
=$ac_try;;
31069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31070 (eval "$ac_link") 2>conftest.er1
31072 grep -v '^ *+' conftest.er1
>conftest.err
31074 cat conftest.err
>&5
31075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076 (exit $ac_status); } && {
31077 test -z "$ac_c_werror_flag" ||
31078 test ! -s conftest.err
31079 } && test -s conftest
$ac_exeext &&
31080 $as_test_x conftest
$ac_exeext; then
31081 ac_cv_func_remove
=yes
31083 echo "$as_me: failed program was:" >&5
31084 sed 's/^/| /' conftest.
$ac_ext >&5
31086 ac_cv_func_remove
=no
31089 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31090 conftest
$ac_exeext conftest.
$ac_ext
31092 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31093 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31095 if test $ac_cv_func_remove = no
; then
31096 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31097 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31098 if test "${ac_cv_lib_posix_remove+set}" = set; then
31099 echo $ECHO_N "(cached) $ECHO_C" >&6
31101 ac_check_lib_save_LIBS
=$LIBS
31102 LIBS
="-lposix $LIBS"
31103 cat >conftest.
$ac_ext <<_ACEOF
31106 cat confdefs.h
>>conftest.
$ac_ext
31107 cat >>conftest.
$ac_ext <<_ACEOF
31108 /* end confdefs.h. */
31110 /* Override any GCC internal prototype to avoid an error.
31111 Use char because int might match the return type of a GCC
31112 builtin and then its argument prototype would still apply. */
31125 rm -f conftest.
$ac_objext conftest
$ac_exeext
31126 if { (ac_try
="$ac_link"
31127 case "(($ac_try" in
31128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31129 *) ac_try_echo=$ac_try;;
31131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31132 (eval "$ac_link") 2>conftest.er1
31134 grep -v '^ *+' conftest.er1 >conftest.err
31136 cat conftest.err >&5
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); } && {
31139 test -z "$ac_c_werror_flag" ||
31140 test ! -s conftest.err
31141 } && test -s conftest$ac_exeext &&
31142 $as_test_x conftest$ac_exeext; then
31143 ac_cv_lib_posix_remove=yes
31145 echo "$as_me: failed program was:" >&5
31146 sed 's/^/| /' conftest.$ac_ext >&5
31148 ac_cv_lib_posix_remove=no
31151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31152 conftest$ac_exeext conftest.$ac_ext
31153 LIBS=$ac_check_lib_save_LIBS
31155 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31156 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31157 if test $ac_cv_lib_posix_remove = yes; then
31158 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31163 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31164 { echo "$as_me:$LINENO: checking for shmat" >&5
31165 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31166 if test "${ac_cv_func_shmat+set}" = set; then
31167 echo $ECHO_N "(cached) $ECHO_C" >&6
31169 cat >conftest.$ac_ext <<_ACEOF
31172 cat confdefs.h >>conftest.$ac_ext
31173 cat >>conftest.$ac_ext <<_ACEOF
31174 /* end confdefs.h. */
31175 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31177 #define shmat innocuous_shmat
31179 /* System header to define __stub macros and hopefully few prototypes,
31180 which can conflict with char shmat (); below.
31181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31182 <limits.h> exists even on freestanding compilers. */
31185 # include <limits.h>
31187 # include <assert.h>
31192 /* Override any GCC internal prototype to avoid an error.
31193 Use char because int might match the return type of a GCC
31194 builtin and then its argument prototype would still apply. */
31199 /* The GNU C library defines this for functions which it implements
31200 to always fail with ENOSYS. Some functions are actually named
31201 something starting with __ and the normal name is an alias. */
31202 #if defined __stub_shmat || defined __stub___shmat
31214 rm -f conftest.$ac_objext conftest$ac_exeext
31215 if { (ac_try="$ac_link"
31216 case "(($ac_try" in
31217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31218 *) ac_try_echo
=$ac_try;;
31220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31221 (eval "$ac_link") 2>conftest.er1
31223 grep -v '^ *+' conftest.er1
>conftest.err
31225 cat conftest.err
>&5
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); } && {
31228 test -z "$ac_c_werror_flag" ||
31229 test ! -s conftest.err
31230 } && test -s conftest
$ac_exeext &&
31231 $as_test_x conftest
$ac_exeext; then
31232 ac_cv_func_shmat
=yes
31234 echo "$as_me: failed program was:" >&5
31235 sed 's/^/| /' conftest.
$ac_ext >&5
31237 ac_cv_func_shmat
=no
31240 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31241 conftest
$ac_exeext conftest.
$ac_ext
31243 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31244 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31246 if test $ac_cv_func_shmat = no
; then
31247 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31248 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31249 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31250 echo $ECHO_N "(cached) $ECHO_C" >&6
31252 ac_check_lib_save_LIBS
=$LIBS
31254 cat >conftest.
$ac_ext <<_ACEOF
31257 cat confdefs.h
>>conftest.
$ac_ext
31258 cat >>conftest.
$ac_ext <<_ACEOF
31259 /* end confdefs.h. */
31261 /* Override any GCC internal prototype to avoid an error.
31262 Use char because int might match the return type of a GCC
31263 builtin and then its argument prototype would still apply. */
31276 rm -f conftest.
$ac_objext conftest
$ac_exeext
31277 if { (ac_try
="$ac_link"
31278 case "(($ac_try" in
31279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31280 *) ac_try_echo=$ac_try;;
31282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31283 (eval "$ac_link") 2>conftest.er1
31285 grep -v '^ *+' conftest.er1 >conftest.err
31287 cat conftest.err >&5
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); } && {
31290 test -z "$ac_c_werror_flag" ||
31291 test ! -s conftest.err
31292 } && test -s conftest$ac_exeext &&
31293 $as_test_x conftest$ac_exeext; then
31294 ac_cv_lib_ipc_shmat=yes
31296 echo "$as_me: failed program was:" >&5
31297 sed 's/^/| /' conftest.$ac_ext >&5
31299 ac_cv_lib_ipc_shmat=no
31302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31303 conftest$ac_exeext conftest.$ac_ext
31304 LIBS=$ac_check_lib_save_LIBS
31306 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31307 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31308 if test $ac_cv_lib_ipc_shmat = yes; then
31309 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31315 # Check for libraries that X11R6 Xt/Xaw programs need.
31316 ac_save_LDFLAGS=$LDFLAGS
31317 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31318 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31319 # check for ICE first), but we must link in the order -lSM -lICE or
31320 # we get undefined symbols. So assume we have SM if we have ICE.
31321 # These have to be linked with before -lX11, unlike the other
31322 # libraries we check for below, so use a different variable.
31323 # John Interrante, Karl Berry
31324 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31325 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31326 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31327 echo $ECHO_N "(cached) $ECHO_C" >&6
31329 ac_check_lib_save_LIBS=$LIBS
31330 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31331 cat >conftest.$ac_ext <<_ACEOF
31334 cat confdefs.h >>conftest.$ac_ext
31335 cat >>conftest.$ac_ext <<_ACEOF
31336 /* end confdefs.h. */
31338 /* Override any GCC internal prototype to avoid an error.
31339 Use char because int might match the return type of a GCC
31340 builtin and then its argument prototype would still apply. */
31344 char IceConnectionNumber ();
31348 return IceConnectionNumber ();
31353 rm -f conftest.$ac_objext conftest$ac_exeext
31354 if { (ac_try="$ac_link"
31355 case "(($ac_try" in
31356 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31357 *) ac_try_echo
=$ac_try;;
31359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31360 (eval "$ac_link") 2>conftest.er1
31362 grep -v '^ *+' conftest.er1
>conftest.err
31364 cat conftest.err
>&5
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); } && {
31367 test -z "$ac_c_werror_flag" ||
31368 test ! -s conftest.err
31369 } && test -s conftest
$ac_exeext &&
31370 $as_test_x conftest
$ac_exeext; then
31371 ac_cv_lib_ICE_IceConnectionNumber
=yes
31373 echo "$as_me: failed program was:" >&5
31374 sed 's/^/| /' conftest.
$ac_ext >&5
31376 ac_cv_lib_ICE_IceConnectionNumber
=no
31379 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31380 conftest
$ac_exeext conftest.
$ac_ext
31381 LIBS
=$ac_check_lib_save_LIBS
31383 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31384 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31385 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31386 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31389 LDFLAGS
=$ac_save_LDFLAGS
31394 if test "$no_x" = "yes"; then
31395 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31396 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31397 { (exit 1); exit 1; }; }
31400 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31401 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31402 AFMINSTALL
=afminstall
31403 COMPILED_X_PROGRAM
=0
31407 if test "$wxUSE_X11" = 1; then
31408 if test "$wxUSE_NANOX" = "yes"; then
31409 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31410 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31411 if test "x$MICROWIN" = x
; then
31412 { echo "$as_me:$LINENO: result: not found" >&5
31413 echo "${ECHO_T}not found" >&6; }
31414 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31415 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31416 { (exit 1); exit 1; }; }
31418 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31419 echo "${ECHO_T}$MICROWIN" >&6; }
31420 cat >>confdefs.h
<<\_ACEOF
31421 #define wxUSE_NANOX 1
31427 if test "$wxUSE_UNICODE" = "yes"; then
31430 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31431 if test -n "$ac_tool_prefix"; then
31432 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31433 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31436 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31437 echo $ECHO_N "(cached) $ECHO_C" >&6
31439 case $PKG_CONFIG in
31441 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31445 for as_dir
in $PATH
31448 test -z "$as_dir" && as_dir
=.
31449 for ac_exec_ext
in '' $ac_executable_extensions; do
31450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31451 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31462 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31463 if test -n "$PKG_CONFIG"; then
31464 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31465 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31467 { echo "$as_me:$LINENO: result: no" >&5
31468 echo "${ECHO_T}no" >&6; }
31473 if test -z "$ac_cv_path_PKG_CONFIG"; then
31474 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31475 # Extract the first word of "pkg-config", so it can be a program name with args.
31476 set dummy pkg
-config; ac_word
=$2
31477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31479 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31480 echo $ECHO_N "(cached) $ECHO_C" >&6
31482 case $ac_pt_PKG_CONFIG in
31484 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31488 for as_dir
in $PATH
31491 test -z "$as_dir" && as_dir
=.
31492 for ac_exec_ext
in '' $ac_executable_extensions; do
31493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31494 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31505 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31506 if test -n "$ac_pt_PKG_CONFIG"; then
31507 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31508 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31510 { echo "$as_me:$LINENO: result: no" >&5
31511 echo "${ECHO_T}no" >&6; }
31514 if test "x$ac_pt_PKG_CONFIG" = x
; then
31517 case $cross_compiling:$ac_tool_warned in
31519 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31520 whose name does not start with the host triplet. If you think this
31521 configuration is useful to you, please write to autoconf@gnu.org." >&5
31522 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31523 whose name does not start with the host triplet. If you think this
31524 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31525 ac_tool_warned
=yes ;;
31527 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31530 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31534 if test -n "$PKG_CONFIG"; then
31535 _pkg_min_version
=0.9.0
31536 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31537 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31538 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31539 { echo "$as_me:$LINENO: result: yes" >&5
31540 echo "${ECHO_T}yes" >&6; }
31542 { echo "$as_me:$LINENO: result: no" >&5
31543 echo "${ECHO_T}no" >&6; }
31551 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31552 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31554 if test -n "$PKG_CONFIG"; then
31555 if test -n "$PANGOX_CFLAGS"; then
31556 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31558 if test -n "$PKG_CONFIG" && \
31559 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31560 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31563 (exit $ac_status); }; then
31564 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31572 if test -n "$PKG_CONFIG"; then
31573 if test -n "$PANGOX_LIBS"; then
31574 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31576 if test -n "$PKG_CONFIG" && \
31577 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31578 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); }; then
31582 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31593 if test $pkg_failed = yes; then
31595 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31596 _pkg_short_errors_supported
=yes
31598 _pkg_short_errors_supported
=no
31600 if test $_pkg_short_errors_supported = yes; then
31601 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31603 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31605 # Put the nasty error message in config.log where it belongs
31606 echo "$PANGOX_PKG_ERRORS" >&5
31609 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31610 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31611 { (exit 1); exit 1; }; }
31614 elif test $pkg_failed = untried
; then
31616 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31617 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31618 { (exit 1); exit 1; }; }
31622 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31623 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31624 { echo "$as_me:$LINENO: result: yes" >&5
31625 echo "${ECHO_T}yes" >&6; }
31627 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31628 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31629 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31634 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31635 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31637 if test -n "$PKG_CONFIG"; then
31638 if test -n "$PANGOFT2_CFLAGS"; then
31639 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31641 if test -n "$PKG_CONFIG" && \
31642 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31643 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); }; then
31647 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31655 if test -n "$PKG_CONFIG"; then
31656 if test -n "$PANGOFT2_LIBS"; then
31657 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31659 if test -n "$PKG_CONFIG" && \
31660 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31661 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31664 (exit $ac_status); }; then
31665 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31676 if test $pkg_failed = yes; then
31678 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31679 _pkg_short_errors_supported
=yes
31681 _pkg_short_errors_supported
=no
31683 if test $_pkg_short_errors_supported = yes; then
31684 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31686 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31688 # Put the nasty error message in config.log where it belongs
31689 echo "$PANGOFT2_PKG_ERRORS" >&5
31692 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31693 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31694 wxUSE_PRINTING_ARCHITECTURE
="no"
31697 elif test $pkg_failed = untried
; then
31699 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31700 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31701 wxUSE_PRINTING_ARCHITECTURE
="no"
31705 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31706 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31707 { echo "$as_me:$LINENO: result: yes" >&5
31708 echo "${ECHO_T}yes" >&6; }
31710 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31711 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31712 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31717 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31718 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31720 if test -n "$PKG_CONFIG"; then
31721 if test -n "$PANGOXFT_CFLAGS"; then
31722 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31724 if test -n "$PKG_CONFIG" && \
31725 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31726 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31729 (exit $ac_status); }; then
31730 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31738 if test -n "$PKG_CONFIG"; then
31739 if test -n "$PANGOXFT_LIBS"; then
31740 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31742 if test -n "$PKG_CONFIG" && \
31743 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31744 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747 (exit $ac_status); }; then
31748 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31759 if test $pkg_failed = yes; then
31761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31762 _pkg_short_errors_supported
=yes
31764 _pkg_short_errors_supported
=no
31766 if test $_pkg_short_errors_supported = yes; then
31767 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31769 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31771 # Put the nasty error message in config.log where it belongs
31772 echo "$PANGOXFT_PKG_ERRORS" >&5
31775 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31776 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31779 elif test $pkg_failed = untried
; then
31781 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31782 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31786 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31787 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31788 { echo "$as_me:$LINENO: result: yes" >&5
31789 echo "${ECHO_T}yes" >&6; }
31791 cat >>confdefs.h
<<\_ACEOF
31792 #define HAVE_PANGO_XFT 1
31795 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31796 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31797 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31801 LIBS
="$LIBS $PANGOX_LIBS"
31803 for ac_func
in pango_font_family_is_monospace
31805 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31806 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31808 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31809 echo $ECHO_N "(cached) $ECHO_C" >&6
31811 cat >conftest.
$ac_ext <<_ACEOF
31814 cat confdefs.h
>>conftest.
$ac_ext
31815 cat >>conftest.
$ac_ext <<_ACEOF
31816 /* end confdefs.h. */
31817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31819 #define $ac_func innocuous_$ac_func
31821 /* System header to define __stub macros and hopefully few prototypes,
31822 which can conflict with char $ac_func (); below.
31823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31824 <limits.h> exists even on freestanding compilers. */
31827 # include <limits.h>
31829 # include <assert.h>
31834 /* Override any GCC internal prototype to avoid an error.
31835 Use char because int might match the return type of a GCC
31836 builtin and then its argument prototype would still apply. */
31841 /* The GNU C library defines this for functions which it implements
31842 to always fail with ENOSYS. Some functions are actually named
31843 something starting with __ and the normal name is an alias. */
31844 #if defined __stub_$ac_func || defined __stub___$ac_func
31851 return $ac_func ();
31856 rm -f conftest.
$ac_objext conftest
$ac_exeext
31857 if { (ac_try
="$ac_link"
31858 case "(($ac_try" in
31859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31860 *) ac_try_echo=$ac_try;;
31862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31863 (eval "$ac_link") 2>conftest.er1
31865 grep -v '^ *+' conftest.er1 >conftest.err
31867 cat conftest.err >&5
31868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869 (exit $ac_status); } && {
31870 test -z "$ac_c_werror_flag" ||
31871 test ! -s conftest.err
31872 } && test -s conftest$ac_exeext &&
31873 $as_test_x conftest$ac_exeext; then
31874 eval "$as_ac_var=yes"
31876 echo "$as_me: failed program was:" >&5
31877 sed 's/^/| /' conftest.$ac_ext >&5
31879 eval "$as_ac_var=no"
31882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31883 conftest$ac_exeext conftest.$ac_ext
31885 ac_res=`eval echo '${'$as_ac_var'}'`
31886 { echo "$as_me:$LINENO: result: $ac_res" >&5
31887 echo "${ECHO_T}$ac_res" >&6; }
31888 if test `eval echo '${'$as_ac_var'}'` = yes; then
31889 cat >>confdefs.h <<_ACEOF
31890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31899 wxUSE_UNIVERSAL="yes"
31901 if test "$wxUSE_NANOX" = "yes"; then
31902 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31903 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"
31904 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31906 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31913 if test "$wxUSE_MOTIF" = 1; then
31914 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31915 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31918 for ac_dir in $SEARCH_INCLUDE /usr/include;
31920 if test -f "$ac_dir/Xm/Xm.h"; then
31921 ac_find_includes=$ac_dir
31926 if test "$ac_find_includes" != "" ; then
31927 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31928 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31930 if test "x$ac_find_includes" = "x/usr/include"; then
31931 ac_path_to_include=""
31933 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31935 if test $result = 0; then
31936 ac_path_to_include=""
31938 ac_path_to_include=" -I$ac_find_includes"
31942 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31944 save_CFLAGS=$CFLAGS
31945 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31947 cat >conftest.$ac_ext <<_ACEOF
31950 cat confdefs.h >>conftest.$ac_ext
31951 cat >>conftest.$ac_ext <<_ACEOF
31952 /* end confdefs.h. */
31961 version = xmUseVersion;
31967 rm -f conftest.$ac_objext
31968 if { (ac_try="$ac_compile"
31969 case "(($ac_try" in
31970 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31971 *) ac_try_echo
=$ac_try;;
31973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31974 (eval "$ac_compile") 2>conftest.er1
31976 grep -v '^ *+' conftest.er1
>conftest.err
31978 cat conftest.err
>&5
31979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980 (exit $ac_status); } && {
31981 test -z "$ac_c_werror_flag" ||
31982 test ! -s conftest.err
31983 } && test -s conftest.
$ac_objext; then
31985 { echo "$as_me:$LINENO: result: found in default search path" >&5
31986 echo "${ECHO_T}found in default search path" >&6; }
31987 COMPILED_X_PROGRAM
=1
31990 echo "$as_me: failed program was:" >&5
31991 sed 's/^/| /' conftest.
$ac_ext >&5
31994 { echo "$as_me:$LINENO: result: no" >&5
31995 echo "${ECHO_T}no" >&6; }
31996 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31997 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31998 { (exit 1); exit 1; }; }
32003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32005 CFLAGS
=$save_CFLAGS
32009 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32010 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32013 for ac_dir
in $SEARCH_LIB;
32015 for ac_extension
in a so sl dylib dll.a
; do
32016 if test -f "$ac_dir/libXm.$ac_extension"; then
32017 ac_find_libraries
=$ac_dir
32024 if test "x$ac_find_libraries" != "x" ; then
32025 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32026 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32029 if test "$ac_find_libraries" = "default location"; then
32032 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32034 if test $result = 0; then
32037 ac_path_to_link
=" -L$ac_find_libraries"
32041 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32043 save_CFLAGS
=$CFLAGS
32044 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32046 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32048 cat >conftest.
$ac_ext <<_ACEOF
32051 cat confdefs.h
>>conftest.
$ac_ext
32052 cat >>conftest.
$ac_ext <<_ACEOF
32053 /* end confdefs.h. */
32062 version = xmUseVersion;
32068 rm -f conftest.
$ac_objext conftest
$ac_exeext
32069 if { (ac_try
="$ac_link"
32070 case "(($ac_try" in
32071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32072 *) ac_try_echo=$ac_try;;
32074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32075 (eval "$ac_link") 2>conftest.er1
32077 grep -v '^ *+' conftest.er1 >conftest.err
32079 cat conftest.err >&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); } && {
32082 test -z "$ac_c_werror_flag" ||
32083 test ! -s conftest.err
32084 } && test -s conftest$ac_exeext &&
32085 $as_test_x conftest$ac_exeext; then
32087 { echo "$as_me:$LINENO: result: found in default search path" >&5
32088 echo "${ECHO_T}found in default search path" >&6; }
32089 COMPILED_X_PROGRAM=1
32092 echo "$as_me: failed program was:" >&5
32093 sed 's/^/| /' conftest.$ac_ext >&5
32096 { echo "$as_me:$LINENO: result: no" >&5
32097 echo "${ECHO_T}no" >&6; }
32098 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32099 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32100 { (exit 1); exit 1; }; }
32105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32106 conftest$ac_exeext conftest.$ac_ext
32108 CFLAGS=$save_CFLAGS
32112 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32113 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32117 for libp in "" " -lXp"; do
32118 if test "$libs_found" = 0; then
32119 for libsm_ice in "" " -lSM -lICE"; do
32120 if test "$libs_found" = 0; then
32122 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32123 save_CFLAGS=$CFLAGS
32124 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32126 cat >conftest.$ac_ext <<_ACEOF
32129 cat confdefs.h >>conftest.$ac_ext
32130 cat >>conftest.$ac_ext <<_ACEOF
32131 /* end confdefs.h. */
32134 #include <Xm/List.h>
32140 XmString string = NULL;
32143 XmListAddItem(w, string, position);
32149 rm -f conftest.$ac_objext conftest$ac_exeext
32150 if { (ac_try="$ac_link"
32151 case "(($ac_try" in
32152 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32153 *) ac_try_echo
=$ac_try;;
32155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32156 (eval "$ac_link") 2>conftest.er1
32158 grep -v '^ *+' conftest.er1
>conftest.err
32160 cat conftest.err
>&5
32161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32162 (exit $ac_status); } && {
32163 test -z "$ac_c_werror_flag" ||
32164 test ! -s conftest.err
32165 } && test -s conftest
$ac_exeext &&
32166 $as_test_x conftest
$ac_exeext; then
32169 libsm_ice_link
="$libsm_ice"
32170 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32171 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32175 echo "$as_me: failed program was:" >&5
32176 sed 's/^/| /' conftest.
$ac_ext >&5
32182 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32183 conftest
$ac_exeext conftest.
$ac_ext
32186 CFLAGS
=$save_CFLAGS
32192 if test "$libs_found" = 0; then
32193 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32194 echo "${ECHO_T}can't find the right libraries" >&6; }
32195 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32196 echo "$as_me: error: can't link a simple motif program" >&2;}
32197 { (exit 1); exit 1; }; }
32200 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32201 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32202 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32203 echo $ECHO_N "(cached) $ECHO_C" >&6
32205 ac_check_lib_save_LIBS
=$LIBS
32207 cat >conftest.
$ac_ext <<_ACEOF
32210 cat confdefs.h
>>conftest.
$ac_ext
32211 cat >>conftest.
$ac_ext <<_ACEOF
32212 /* end confdefs.h. */
32214 /* Override any GCC internal prototype to avoid an error.
32215 Use char because int might match the return type of a GCC
32216 builtin and then its argument prototype would still apply. */
32220 char SgCreateList ();
32224 return SgCreateList ();
32229 rm -f conftest.
$ac_objext conftest
$ac_exeext
32230 if { (ac_try
="$ac_link"
32231 case "(($ac_try" in
32232 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32233 *) ac_try_echo=$ac_try;;
32235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32236 (eval "$ac_link") 2>conftest.er1
32238 grep -v '^ *+' conftest.er1 >conftest.err
32240 cat conftest.err >&5
32241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32242 (exit $ac_status); } && {
32243 test -z "$ac_c_werror_flag" ||
32244 test ! -s conftest.err
32245 } && test -s conftest$ac_exeext &&
32246 $as_test_x conftest$ac_exeext; then
32247 ac_cv_lib_Sgm_SgCreateList=yes
32249 echo "$as_me: failed program was:" >&5
32250 sed 's/^/| /' conftest.$ac_ext >&5
32252 ac_cv_lib_Sgm_SgCreateList=no
32255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32256 conftest$ac_exeext conftest.$ac_ext
32257 LIBS=$ac_check_lib_save_LIBS
32259 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32260 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32261 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32262 libsgm_link=" -lSgm"
32266 save_CFLAGS=$CFLAGS
32267 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32269 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32270 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32271 if test "${wx_cv_lib_motif2+set}" = set; then
32272 echo $ECHO_N "(cached) $ECHO_C" >&6
32274 cat >conftest.$ac_ext <<_ACEOF
32277 cat confdefs.h >>conftest.$ac_ext
32278 cat >>conftest.$ac_ext <<_ACEOF
32279 /* end confdefs.h. */
32287 #if XmVersion < 2000
32295 rm -f conftest.$ac_objext
32296 if { (ac_try="$ac_compile"
32297 case "(($ac_try" in
32298 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32299 *) ac_try_echo
=$ac_try;;
32301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32302 (eval "$ac_compile") 2>conftest.er1
32304 grep -v '^ *+' conftest.er1
>conftest.err
32306 cat conftest.err
>&5
32307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32308 (exit $ac_status); } && {
32309 test -z "$ac_c_werror_flag" ||
32310 test ! -s conftest.err
32311 } && test -s conftest.
$ac_objext; then
32312 wx_cv_lib_motif2
="yes"
32314 echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.
$ac_ext >&5
32317 wx_cv_lib_motif2
="no"
32320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32322 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32323 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32324 if test "$wx_cv_lib_motif2" = "yes"; then
32325 cat >>confdefs.h
<<\_ACEOF
32326 #define __WXMOTIF20__ 1
32330 cat >>confdefs.h
<<\_ACEOF
32331 #define __WXMOTIF20__ 0
32336 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32337 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32338 if test "${wx_cv_lib_lesstif+set}" = set; then
32339 echo $ECHO_N "(cached) $ECHO_C" >&6
32341 cat >conftest.
$ac_ext <<_ACEOF
32344 cat confdefs.h
>>conftest.
$ac_ext
32345 cat >>conftest.
$ac_ext <<_ACEOF
32346 /* end confdefs.h. */
32354 #if !defined(LesstifVersion) || LesstifVersion <= 0
32362 rm -f conftest.
$ac_objext
32363 if { (ac_try
="$ac_compile"
32364 case "(($ac_try" in
32365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32366 *) ac_try_echo=$ac_try;;
32368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32369 (eval "$ac_compile") 2>conftest.er1
32371 grep -v '^ *+' conftest.er1 >conftest.err
32373 cat conftest.err >&5
32374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32375 (exit $ac_status); } && {
32376 test -z "$ac_c_werror_flag" ||
32377 test ! -s conftest.err
32378 } && test -s conftest.$ac_objext; then
32379 wx_cv_lib_lesstif="yes"
32381 echo "$as_me: failed program was:" >&5
32382 sed 's/^/| /' conftest.$ac_ext >&5
32384 wx_cv_lib_lesstif="no"
32387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32390 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32391 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32392 if test "$wx_cv_lib_lesstif" = "yes"; then
32393 cat >>confdefs.h <<\_ACEOF
32394 #define __WXLESSTIF__ 1
32398 cat >>confdefs.h <<\_ACEOF
32399 #define __WXLESSTIF__ 0
32404 CFLAGS=$save_CFLAGS
32406 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32411 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32412 if test "$wxUSE_LIBXPM" = "sys"; then
32413 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32414 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32417 for ac_dir in $SEARCH_LIB;
32419 for ac_extension in a so sl dylib dll.a; do
32420 if test -f "$ac_dir/libXpm.$ac_extension"; then
32421 ac_find_libraries=$ac_dir
32427 if test "$ac_find_libraries" != "" ; then
32429 if test "$ac_find_libraries" = "default location"; then
32432 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32434 if test $result = 0; then
32437 ac_path_to_link=" -L$ac_find_libraries"
32441 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32442 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32443 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32445 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32446 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32447 if test "${wx_cv_x11_xpm_h+set}" = set; then
32448 echo $ECHO_N "(cached) $ECHO_C" >&6
32451 save_CFLAGS=$CFLAGS
32452 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32454 cat >conftest.$ac_ext <<_ACEOF
32457 cat confdefs.h >>conftest.$ac_ext
32458 cat >>conftest.$ac_ext <<_ACEOF
32459 /* end confdefs.h. */
32461 #include <X11/xpm.h>
32468 version = XpmLibraryVersion();
32474 rm -f conftest.$ac_objext
32475 if { (ac_try="$ac_compile"
32476 case "(($ac_try" in
32477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32478 *) ac_try_echo
=$ac_try;;
32480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32481 (eval "$ac_compile") 2>conftest.er1
32483 grep -v '^ *+' conftest.er1
>conftest.err
32485 cat conftest.err
>&5
32486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32487 (exit $ac_status); } && {
32488 test -z "$ac_c_werror_flag" ||
32489 test ! -s conftest.err
32490 } && test -s conftest.
$ac_objext; then
32491 wx_cv_x11_xpm_h
=yes
32493 echo "$as_me: failed program was:" >&5
32494 sed 's/^/| /' conftest.
$ac_ext >&5
32500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32502 CFLAGS
=$save_CFLAGS
32506 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32507 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32509 if test $wx_cv_x11_xpm_h = "yes"; then
32510 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32511 cat >>confdefs.h
<<\_ACEOF
32512 #define wxHAVE_LIB_XPM 1
32516 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32517 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32523 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32524 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32525 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32526 echo $ECHO_N "(cached) $ECHO_C" >&6
32528 ac_check_lib_save_LIBS
=$LIBS
32529 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32530 cat >conftest.
$ac_ext <<_ACEOF
32533 cat confdefs.h
>>conftest.
$ac_ext
32534 cat >>conftest.
$ac_ext <<_ACEOF
32535 /* end confdefs.h. */
32537 /* Override any GCC internal prototype to avoid an error.
32538 Use char because int might match the return type of a GCC
32539 builtin and then its argument prototype would still apply. */
32543 char XShapeQueryExtension ();
32547 return XShapeQueryExtension ();
32552 rm -f conftest.
$ac_objext conftest
$ac_exeext
32553 if { (ac_try
="$ac_link"
32554 case "(($ac_try" in
32555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32556 *) ac_try_echo=$ac_try;;
32558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32559 (eval "$ac_link") 2>conftest.er1
32561 grep -v '^ *+' conftest.er1 >conftest.err
32563 cat conftest.err >&5
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); } && {
32566 test -z "$ac_c_werror_flag" ||
32567 test ! -s conftest.err
32568 } && test -s conftest$ac_exeext &&
32569 $as_test_x conftest$ac_exeext; then
32570 ac_cv_lib_Xext_XShapeQueryExtension=yes
32572 echo "$as_me: failed program was:" >&5
32573 sed 's/^/| /' conftest.$ac_ext >&5
32575 ac_cv_lib_Xext_XShapeQueryExtension=no
32578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32579 conftest$ac_exeext conftest.$ac_ext
32580 LIBS=$ac_check_lib_save_LIBS
32582 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32583 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32584 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32586 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32592 if test "$wxHAVE_XEXT_LIB" = 1; then
32593 save_CFLAGS="$CFLAGS"
32594 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32596 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32597 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32598 cat >conftest.$ac_ext <<_ACEOF
32601 cat confdefs.h >>conftest.$ac_ext
32602 cat >>conftest.$ac_ext <<_ACEOF
32603 /* end confdefs.h. */
32605 #include <X11/Xlib.h>
32606 #include <X11/extensions/shape.h>
32612 int dummy1, dummy2;
32613 XShapeQueryExtension((Display*)NULL,
32614 (int*)NULL, (int*)NULL);
32620 rm -f conftest.$ac_objext
32621 if { (ac_try="$ac_compile"
32622 case "(($ac_try" in
32623 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32624 *) ac_try_echo
=$ac_try;;
32626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32627 (eval "$ac_compile") 2>conftest.er1
32629 grep -v '^ *+' conftest.er1
>conftest.err
32631 cat conftest.err
>&5
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); } && {
32634 test -z "$ac_c_werror_flag" ||
32635 test ! -s conftest.err
32636 } && test -s conftest.
$ac_objext; then
32638 cat >>confdefs.h
<<\_ACEOF
32639 #define HAVE_XSHAPE 1
32642 { echo "$as_me:$LINENO: result: found" >&5
32643 echo "${ECHO_T}found" >&6; }
32646 echo "$as_me: failed program was:" >&5
32647 sed 's/^/| /' conftest.
$ac_ext >&5
32650 { echo "$as_me:$LINENO: result: not found" >&5
32651 echo "${ECHO_T}not found" >&6; }
32655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32656 CFLAGS
="$save_CFLAGS"
32661 if test "$wxUSE_OSX_CARBON" = 1; then
32662 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32663 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32664 if test "$GCC" = yes; then
32665 { echo "$as_me:$LINENO: result: gcc" >&5
32666 echo "${ECHO_T}gcc" >&6; }
32667 CPPFLAGS_PASCAL
="-fpascal-strings"
32668 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32669 { echo "$as_me:$LINENO: result: xlc" >&5
32670 echo "${ECHO_T}xlc" >&6; }
32671 CPPFLAGS_PASCAL
="-qmacpstr"
32673 { echo "$as_me:$LINENO: result: none" >&5
32674 echo "${ECHO_T}none" >&6; }
32677 if test "x$wxUSE_UNIX" = "xyes"; then
32678 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32680 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32684 GUIDIST
=OSX_CARBON_DIST
32685 WXBASEPORT
="_carbon"
32688 if test "$wxUSE_OSX_COCOA" = 1; then
32690 GUIDIST
=OSX_COCOA_DIST
32693 if test "$wxUSE_COCOA" = 1; then
32698 if test "$wxUSE_PM" = 1; then
32701 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32702 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32703 if test "${wx_cv_spbcdata+set}" = set; then
32704 echo $ECHO_N "(cached) $ECHO_C" >&6
32707 cat >conftest.
$ac_ext <<_ACEOF
32710 cat confdefs.h
>>conftest.
$ac_ext
32711 cat >>conftest.
$ac_ext <<_ACEOF
32712 /* end confdefs.h. */
32727 rm -f conftest.
$ac_objext
32728 if { (ac_try
="$ac_compile"
32729 case "(($ac_try" in
32730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32731 *) ac_try_echo=$ac_try;;
32733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32734 (eval "$ac_compile") 2>conftest.er1
32736 grep -v '^ *+' conftest.er1 >conftest.err
32738 cat conftest.err >&5
32739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32740 (exit $ac_status); } && {
32741 test -z "$ac_c_werror_flag" ||
32742 test ! -s conftest.err
32743 } && test -s conftest.$ac_objext; then
32746 echo "$as_me: failed program was:" >&5
32747 sed 's/^/| /' conftest.$ac_ext >&5
32753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32757 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32758 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32760 if test $wx_cv_spbcdata = "yes"; then
32761 cat >>confdefs.h <<\_ACEOF
32762 #define HAVE_SPBCDATA 1
32768 if test "$TOOLKIT" = "PM" ; then
32771 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32774 if test "$wxUSE_UNIVERSAL" = "yes"; then
32775 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32779 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32780 DISTDIR="wx\$(TOOLKIT)"
32786 if test "$USE_WIN32" = 1 ; then
32790 GUIDIST="BASE_DIST"
32796 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32797 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32798 wxUSE_UNICODE_UTF8=yes
32799 elif test "$USE_OS2" = 1 ; then
32800 wxUSE_UNICODE_UTF8=yes
32802 wxUSE_UNICODE_UTF8=no
32807 if test "$wxUSE_GUI" = "yes"; then
32808 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32810 for ac_header in X11/Xlib.h
32812 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32813 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32815 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32816 echo $ECHO_N "(cached) $ECHO_C" >&6
32818 cat >conftest.$ac_ext <<_ACEOF
32821 cat confdefs.h >>conftest.$ac_ext
32822 cat >>conftest.$ac_ext <<_ACEOF
32823 /* end confdefs.h. */
32826 #include <$ac_header>
32828 rm -f conftest.$ac_objext
32829 if { (ac_try="$ac_compile"
32830 case "(($ac_try" in
32831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32832 *) ac_try_echo
=$ac_try;;
32834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32835 (eval "$ac_compile") 2>conftest.er1
32837 grep -v '^ *+' conftest.er1
>conftest.err
32839 cat conftest.err
>&5
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); } && {
32842 test -z "$ac_c_werror_flag" ||
32843 test ! -s conftest.err
32844 } && test -s conftest.
$ac_objext; then
32845 eval "$as_ac_Header=yes"
32847 echo "$as_me: failed program was:" >&5
32848 sed 's/^/| /' conftest.
$ac_ext >&5
32850 eval "$as_ac_Header=no"
32853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32855 ac_res
=`eval echo '${'$as_ac_Header'}'`
32856 { echo "$as_me:$LINENO: result: $ac_res" >&5
32857 echo "${ECHO_T}$ac_res" >&6; }
32858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32859 cat >>confdefs.h
<<_ACEOF
32860 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32868 for ac_header
in X
11/XKBlib.h
32870 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32871 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32873 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32874 echo $ECHO_N "(cached) $ECHO_C" >&6
32876 cat >conftest.
$ac_ext <<_ACEOF
32879 cat confdefs.h
>>conftest.
$ac_ext
32880 cat >>conftest.
$ac_ext <<_ACEOF
32881 /* end confdefs.h. */
32883 #if HAVE_X11_XLIB_H
32884 #include <X11/Xlib.h>
32888 #include <$ac_header>
32890 rm -f conftest.
$ac_objext
32891 if { (ac_try
="$ac_compile"
32892 case "(($ac_try" in
32893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32894 *) ac_try_echo=$ac_try;;
32896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32897 (eval "$ac_compile") 2>conftest.er1
32899 grep -v '^ *+' conftest.er1 >conftest.err
32901 cat conftest.err >&5
32902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903 (exit $ac_status); } && {
32904 test -z "$ac_c_werror_flag" ||
32905 test ! -s conftest.err
32906 } && test -s conftest.$ac_objext; then
32907 eval "$as_ac_Header=yes"
32909 echo "$as_me: failed program was:" >&5
32910 sed 's/^/| /' conftest.$ac_ext >&5
32912 eval "$as_ac_Header=no"
32915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32917 ac_res=`eval echo '${'$as_ac_Header'}'`
32918 { echo "$as_me:$LINENO: result: $ac_res" >&5
32919 echo "${ECHO_T}$ac_res" >&6; }
32920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32921 cat >>confdefs.h <<_ACEOF
32922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32934 if test "$wxUSE_DISPLAY" = "yes"; then
32935 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32936 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32937 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32940 for ac_dir in $SEARCH_LIB;
32942 for ac_extension in a so sl dylib dll.a; do
32943 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32944 ac_find_libraries=$ac_dir
32950 if test "$ac_find_libraries" != "" ; then
32952 if test "$ac_find_libraries" = "default location"; then
32955 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32957 if test $result = 0; then
32960 ac_path_to_link=" -L$ac_find_libraries"
32964 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32965 LDFLAGS="$LDFLAGS $ac_path_to_link"
32967 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32968 { echo "$as_me:$LINENO: result: yes" >&5
32969 echo "${ECHO_T}yes" >&6; }
32971 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32972 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32975 for ac_dir in $SEARCH_LIB;
32977 for ac_extension in a so sl dylib dll.a; do
32978 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32979 ac_find_libraries=$ac_dir
32985 if test "$ac_find_libraries" != "" ; then
32986 { echo "$as_me:$LINENO: result: yes" >&5
32987 echo "${ECHO_T}yes" >&6; }
32989 for ac_header in X11/extensions/xf86vmode.h
32991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32992 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32994 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32995 echo $ECHO_N "(cached) $ECHO_C" >&6
32997 cat >conftest.$ac_ext <<_ACEOF
33000 cat confdefs.h >>conftest.$ac_ext
33001 cat >>conftest.$ac_ext <<_ACEOF
33002 /* end confdefs.h. */
33004 #if HAVE_X11_XLIB_H
33005 #include <X11/Xlib.h>
33009 #include <$ac_header>
33011 rm -f conftest.$ac_objext
33012 if { (ac_try="$ac_compile"
33013 case "(($ac_try" in
33014 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33015 *) ac_try_echo
=$ac_try;;
33017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33018 (eval "$ac_compile") 2>conftest.er1
33020 grep -v '^ *+' conftest.er1
>conftest.err
33022 cat conftest.err
>&5
33023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024 (exit $ac_status); } && {
33025 test -z "$ac_c_werror_flag" ||
33026 test ! -s conftest.err
33027 } && test -s conftest.
$ac_objext; then
33028 eval "$as_ac_Header=yes"
33030 echo "$as_me: failed program was:" >&5
33031 sed 's/^/| /' conftest.
$ac_ext >&5
33033 eval "$as_ac_Header=no"
33036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33038 ac_res
=`eval echo '${'$as_ac_Header'}'`
33039 { echo "$as_me:$LINENO: result: $ac_res" >&5
33040 echo "${ECHO_T}$ac_res" >&6; }
33041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33042 cat >>confdefs.h
<<_ACEOF
33043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33046 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33053 { echo "$as_me:$LINENO: result: no" >&5
33054 echo "${ECHO_T}no" >&6; }
33058 { echo "$as_me:$LINENO: result: no" >&5
33059 echo "${ECHO_T}no" >&6; }
33060 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33061 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33064 elif test "$wxUSE_MSW" = 1; then
33065 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33066 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33067 if test "${ac_cv_header_ddraw_h+set}" = set; then
33068 echo $ECHO_N "(cached) $ECHO_C" >&6
33070 cat >conftest.
$ac_ext <<_ACEOF
33073 cat confdefs.h
>>conftest.
$ac_ext
33074 cat >>conftest.
$ac_ext <<_ACEOF
33075 /* end confdefs.h. */
33076 #include <windows.h>
33080 rm -f conftest.
$ac_objext
33081 if { (ac_try
="$ac_compile"
33082 case "(($ac_try" in
33083 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33084 *) ac_try_echo=$ac_try;;
33086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33087 (eval "$ac_compile") 2>conftest.er1
33089 grep -v '^ *+' conftest.er1 >conftest.err
33091 cat conftest.err >&5
33092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33093 (exit $ac_status); } && {
33094 test -z "$ac_c_werror_flag" ||
33095 test ! -s conftest.err
33096 } && test -s conftest.$ac_objext; then
33097 ac_cv_header_ddraw_h=yes
33099 echo "$as_me: failed program was:" >&5
33100 sed 's/^/| /' conftest.$ac_ext >&5
33102 ac_cv_header_ddraw_h=no
33105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33107 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33108 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33114 if test "$wxUSE_DETECT_SM" = "yes"; then
33115 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33116 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33117 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33120 for ac_dir in $SEARCH_LIB;
33122 for ac_extension in a so sl dylib dll.a; do
33123 if test -f "$ac_dir/libSM.$ac_extension"; then
33124 ac_find_libraries=$ac_dir
33130 if test "$ac_find_libraries" != "" ; then
33132 if test "$ac_find_libraries" = "default location"; then
33135 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33137 if test $result = 0; then
33140 ac_path_to_link=" -L$ac_find_libraries"
33144 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33145 LDFLAGS="$LDFLAGS $ac_path_to_link"
33147 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33148 { echo "$as_me:$LINENO: result: yes" >&5
33149 echo "${ECHO_T}yes" >&6; }
33151 { echo "$as_me:$LINENO: result: no" >&5
33152 echo "${ECHO_T}no" >&6; }
33153 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33154 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33155 wxUSE_DETECT_SM="no"
33158 wxUSE_DETECT_SM="no"
33165 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33168 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33169 OPENGL_LIBS="-framework OpenGL -framework AGL"
33170 elif test "$wxUSE_MSW" = 1; then
33171 OPENGL_LIBS="-lopengl32 -lglu32"
33172 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33174 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33175 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33178 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33180 if test -f "$ac_dir/GL/gl.h"; then
33181 ac_find_includes=$ac_dir
33186 if test "$ac_find_includes" != "" ; then
33187 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33188 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33190 if test "x$ac_find_includes" = "x/usr/include"; then
33191 ac_path_to_include=""
33193 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33195 if test $result = 0; then
33196 ac_path_to_include=""
33198 ac_path_to_include=" -I$ac_find_includes"
33202 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33204 { echo "$as_me:$LINENO: result: not found" >&5
33205 echo "${ECHO_T}not found" >&6; }
33208 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33209 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33210 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33211 echo $ECHO_N "(cached) $ECHO_C" >&6
33213 cat >conftest.$ac_ext <<_ACEOF
33216 cat confdefs.h >>conftest.$ac_ext
33217 cat >>conftest.$ac_ext <<_ACEOF
33218 /* end confdefs.h. */
33223 rm -f conftest.$ac_objext
33224 if { (ac_try="$ac_compile"
33225 case "(($ac_try" in
33226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33227 *) ac_try_echo
=$ac_try;;
33229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33230 (eval "$ac_compile") 2>conftest.er1
33232 grep -v '^ *+' conftest.er1
>conftest.err
33234 cat conftest.err
>&5
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); } && {
33237 test -z "$ac_c_werror_flag" ||
33238 test ! -s conftest.err
33239 } && test -s conftest.
$ac_objext; then
33240 ac_cv_header_GL_gl_h
=yes
33242 echo "$as_me: failed program was:" >&5
33243 sed 's/^/| /' conftest.
$ac_ext >&5
33245 ac_cv_header_GL_gl_h
=no
33248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33250 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33251 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33252 if test $ac_cv_header_GL_gl_h = yes; then
33254 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33255 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33256 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33257 echo $ECHO_N "(cached) $ECHO_C" >&6
33259 cat >conftest.
$ac_ext <<_ACEOF
33262 cat confdefs.h
>>conftest.
$ac_ext
33263 cat >>conftest.
$ac_ext <<_ACEOF
33264 /* end confdefs.h. */
33267 #include <GL/glu.h>
33269 rm -f conftest.
$ac_objext
33270 if { (ac_try
="$ac_compile"
33271 case "(($ac_try" in
33272 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33273 *) ac_try_echo=$ac_try;;
33275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33276 (eval "$ac_compile") 2>conftest.er1
33278 grep -v '^ *+' conftest.er1 >conftest.err
33280 cat conftest.err >&5
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); } && {
33283 test -z "$ac_c_werror_flag" ||
33284 test ! -s conftest.err
33285 } && test -s conftest.$ac_objext; then
33286 ac_cv_header_GL_glu_h=yes
33288 echo "$as_me: failed program was:" >&5
33289 sed 's/^/| /' conftest.$ac_ext >&5
33291 ac_cv_header_GL_glu_h=no
33294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33296 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33297 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33298 if test $ac_cv_header_GL_glu_h = yes; then
33302 { echo "$as_me:$LINENO: checking for -lGL" >&5
33303 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33306 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33308 for ac_extension in a so sl dylib dll.a; do
33309 if test -f "$ac_dir/libGL.$ac_extension"; then
33310 ac_find_libraries=$ac_dir
33316 if test "$ac_find_libraries" != "" ; then
33317 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33318 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33321 if test "$ac_find_libraries" = "default location"; then
33324 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33326 if test $result = 0; then
33329 ac_path_to_link=" -L$ac_find_libraries"
33333 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33334 LDFLAGS_GL="$ac_path_to_link"
33337 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33338 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33341 for ac_dir in $SEARCH_LIB;
33343 for ac_extension in a so sl dylib dll.a; do
33344 if test -f "$ac_dir/libGLU.$ac_extension"; then
33345 ac_find_libraries=$ac_dir
33351 if test "$ac_find_libraries" != "" ; then
33353 if test "$ac_find_libraries" = "default location"; then
33356 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33358 if test $result = 0; then
33361 ac_path_to_link=" -L$ac_find_libraries"
33365 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33366 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33367 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33371 OPENGL_LIBS="-lGL -lGLU"
33372 { echo "$as_me:$LINENO: result: yes" >&5
33373 echo "${ECHO_T}yes" >&6; }
33375 { echo "$as_me:$LINENO: result: no" >&5
33376 echo "${ECHO_T}no" >&6; }
33379 { echo "$as_me:$LINENO: result: no" >&5
33380 echo "${ECHO_T}no" >&6; }
33383 if test "$found_gl" != 1; then
33384 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33385 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33388 for ac_dir in $SEARCH_LIB;
33390 for ac_extension in a so sl dylib dll.a; do
33391 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33392 ac_find_libraries=$ac_dir
33398 if test "$ac_find_libraries" != "" ; then
33400 if test "$ac_find_libraries" = "default location"; then
33403 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33405 if test $result = 0; then
33408 ac_path_to_link=" -L$ac_find_libraries"
33412 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33413 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33414 { echo "$as_me:$LINENO: result: yes" >&5
33415 echo "${ECHO_T}yes" >&6; }
33417 { echo "$as_me:$LINENO: result: no" >&5
33418 echo "${ECHO_T}no" >&6; }
33430 if test "x$OPENGL_LIBS" = "x"; then
33431 if test "$wxUSE_OPENGL" = "yes"; then
33432 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33433 echo "$as_me: error: OpenGL libraries not available" >&2;}
33434 { (exit 1); exit 1; }; }
33436 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33437 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33443 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33444 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33448 if test "$wxUSE_OPENGL" = "auto"; then
33452 if test "$wxUSE_OPENGL" = "yes"; then
33454 cat >>confdefs.h <<\_ACEOF
33455 #define wxUSE_OPENGL 1
33458 cat >>confdefs.h <<\_ACEOF
33459 #define wxUSE_GLCANVAS 1
33462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33467 if test -n "$TOOLKIT" ; then
33468 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33473 if test "$wxUSE_SHARED" = "yes"; then
33477 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33478 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33483 if test "$wxUSE_SHARED" = "yes"; then
33487 *-*-cygwin* | *-*-mingw* )
33488 wx_cv_version_script=no
33492 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33493 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33494 if test "${wx_cv_version_script+set}" = set; then
33495 echo $ECHO_N "(cached) $ECHO_C" >&6
33498 echo "VER_1 { *; };" >conftest.sym
33499 echo "int main() { return 0; }" >conftest.cpp
33502 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33503 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33505 (eval $ac_try) 2>&5
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); }; } ; then
33509 if test -s conftest.stderr ; then
33510 wx_cv_version_script=no
33512 wx_cv_version_script=yes
33515 wx_cv_version_script=no
33518 if test $wx_cv_version_script = yes
33520 echo "struct B { virtual ~B() { } }; \
33521 struct D : public B { }; \
33522 void F() { D d; }" > conftest.cpp
33525 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33526 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33528 (eval $ac_try) 2>&5
33530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33531 (exit $ac_status); }; } &&
33533 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33534 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33536 (eval $ac_try) 2>&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); }; }
33542 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33543 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33545 (eval $ac_try) 2>&5
33547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33548 (exit $ac_status); }; }
33550 wx_cv_version_script=yes
33552 wx_cv_version_script=no
33557 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33558 rm -f conftest1.output conftest2.output conftest3.output
33561 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33562 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33564 if test $wx_cv_version_script = yes ; then
33565 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33571 if test "$wxUSE_VISIBILITY" != "no"; then
33574 if test -n "$GCC"; then
33575 CFLAGS_VISIBILITY="-fvisibility=hidden"
33576 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33577 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33578 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33579 if test "${wx_cv_cc_visibility+set}" = set; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33583 wx_save_CXXFLAGS="$CXXFLAGS"
33584 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33586 ac_cpp='$CXXCPP $CPPFLAGS'
33587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33591 cat >conftest.$ac_ext <<_ACEOF
33594 cat confdefs.h >>conftest.$ac_ext
33595 cat >>conftest.$ac_ext <<_ACEOF
33596 /* end confdefs.h. */
33598 /* we need gcc >= 4.0, older versions with visibility support
33599 didn't have class visibility: */
33600 #if defined(__GNUC__) && __GNUC__ < 4
33601 error this gcc is too old;
33604 /* visibility only makes sense for ELF shared libs: */
33605 #if !defined(__ELF__) && !defined(__APPLE__)
33606 error this platform has no visibility;
33609 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33610 extern __attribute__((__visibility__("default"))) int exportedvar;
33611 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33612 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33613 class __attribute__((__visibility__("default"))) Foo {
33625 rm -f conftest.$ac_objext
33626 if { (ac_try="$ac_compile"
33627 case "(($ac_try" in
33628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33629 *) ac_try_echo
=$ac_try;;
33631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33632 (eval "$ac_compile") 2>conftest.er1
33634 grep -v '^ *+' conftest.er1
>conftest.err
33636 cat conftest.err
>&5
33637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33638 (exit $ac_status); } && {
33639 test -z "$ac_cxx_werror_flag" ||
33640 test ! -s conftest.err
33641 } && test -s conftest.
$ac_objext; then
33642 wx_cv_cc_visibility
=yes
33644 echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.
$ac_ext >&5
33647 wx_cv_cc_visibility
=no
33650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33652 ac_cpp
='$CPP $CPPFLAGS'
33653 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33654 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33655 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33657 CXXFLAGS
="$wx_save_CXXFLAGS"
33660 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33661 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33662 if test $wx_cv_cc_visibility = yes; then
33663 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33664 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33665 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33666 echo $ECHO_N "(cached) $ECHO_C" >&6
33669 wx_save_CXXFLAGS
="$CXXFLAGS"
33670 wx_save_LDFLAGS
="$LDFLAGS"
33671 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33672 LDFLAGS
="$LDFLAGS -shared -fPIC"
33674 ac_cpp
='$CXXCPP $CPPFLAGS'
33675 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33676 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33677 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33679 cat >conftest.
$ac_ext <<_ACEOF
33682 cat confdefs.h
>>conftest.
$ac_ext
33683 cat >>conftest.
$ac_ext <<_ACEOF
33684 /* end confdefs.h. */
33692 std::string s("hello");
33699 rm -f conftest.
$ac_objext conftest
$ac_exeext
33700 if { (ac_try
="$ac_link"
33701 case "(($ac_try" in
33702 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33703 *) ac_try_echo=$ac_try;;
33705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33706 (eval "$ac_link") 2>conftest.er1
33708 grep -v '^ *+' conftest.er1 >conftest.err
33710 cat conftest.err >&5
33711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33712 (exit $ac_status); } && {
33713 test -z "$ac_cxx_werror_flag" ||
33714 test ! -s conftest.err
33715 } && test -s conftest$ac_exeext &&
33716 $as_test_x conftest$ac_exeext; then
33717 wx_cv_cc_broken_libstdcxx_visibility=no
33719 echo "$as_me: failed program was:" >&5
33720 sed 's/^/| /' conftest.$ac_ext >&5
33722 wx_cv_cc_broken_libstdcxx_visibility=yes
33725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33726 conftest$ac_exeext conftest.$ac_ext
33728 ac_cpp='$CPP $CPPFLAGS'
33729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33733 CXXFLAGS="$wx_save_CXXFLAGS"
33734 LDFLAGS="$wx_save_LDFLAGS"
33737 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33738 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33740 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33741 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33742 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33743 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33744 echo $ECHO_N "(cached) $ECHO_C" >&6
33748 ac_cpp='$CXXCPP $CPPFLAGS'
33749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33753 cat >conftest.$ac_ext <<_ACEOF
33756 cat confdefs.h >>conftest.$ac_ext
33757 cat >>conftest.$ac_ext <<_ACEOF
33758 /* end confdefs.h. */
33760 #pragma GCC visibility push(default)
33762 #pragma GCC visibility pop
33768 std::string s("hello");
33775 rm -f conftest.$ac_objext conftest$ac_exeext
33776 if { (ac_try="$ac_link"
33777 case "(($ac_try" in
33778 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33779 *) ac_try_echo
=$ac_try;;
33781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33782 (eval "$ac_link") 2>conftest.er1
33784 grep -v '^ *+' conftest.er1
>conftest.err
33786 cat conftest.err
>&5
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); } && {
33789 test -z "$ac_cxx_werror_flag" ||
33790 test ! -s conftest.err
33791 } && test -s conftest
$ac_exeext &&
33792 $as_test_x conftest
$ac_exeext; then
33793 wx_cv_cc_visibility_workaround
=no
33795 echo "$as_me: failed program was:" >&5
33796 sed 's/^/| /' conftest.
$ac_ext >&5
33798 wx_cv_cc_visibility_workaround
=yes
33801 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33802 conftest
$ac_exeext conftest.
$ac_ext
33804 ac_cpp
='$CPP $CPPFLAGS'
33805 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33806 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33807 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33812 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33813 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33815 if test $wx_cv_cc_visibility_workaround = no
; then
33816 wx_cv_cc_visibility
=no
33821 if test $wx_cv_cc_visibility = yes; then
33822 cat >>confdefs.h
<<\_ACEOF
33823 #define HAVE_VISIBILITY 1
33826 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33827 cat >>confdefs.h
<<\_ACEOF
33828 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33833 CFLAGS_VISIBILITY
=""
33834 CXXFLAGS_VISIBILITY
=""
33842 if test "x$SUNCXX" = xyes
; then
33843 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33844 WXCONFIG_RPATH
="-R\$libdir"
33847 *-*-linux* | *-*-gnu* )
33848 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33849 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33854 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33856 saveLdflags
="$LDFLAGS"
33857 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33858 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33859 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33860 cat >conftest.
$ac_ext <<_ACEOF
33863 cat confdefs.h
>>conftest.
$ac_ext
33864 cat >>conftest.
$ac_ext <<_ACEOF
33865 /* end confdefs.h. */
33875 rm -f conftest.
$ac_objext conftest
$ac_exeext
33876 if { (ac_try
="$ac_link"
33877 case "(($ac_try" in
33878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33879 *) ac_try_echo=$ac_try;;
33881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33882 (eval "$ac_link") 2>conftest.er1
33884 grep -v '^ *+' conftest.er1 >conftest.err
33886 cat conftest.err >&5
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); } && {
33889 test -z "$ac_c_werror_flag" ||
33890 test ! -s conftest.err
33891 } && test -s conftest$ac_exeext &&
33892 $as_test_x conftest$ac_exeext; then
33894 { echo "$as_me:$LINENO: result: yes" >&5
33895 echo "${ECHO_T}yes" >&6; }
33896 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33897 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33900 echo "$as_me: failed program was:" >&5
33901 sed 's/^/| /' conftest.$ac_ext >&5
33904 { echo "$as_me:$LINENO: result: no" >&5
33905 echo "${ECHO_T}no" >&6; }
33906 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33907 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33908 LDFLAGS="$saveLdflags -Wl,-R,/"
33909 cat >conftest.$ac_ext <<_ACEOF
33912 cat confdefs.h >>conftest.$ac_ext
33913 cat >>conftest.$ac_ext <<_ACEOF
33914 /* end confdefs.h. */
33924 rm -f conftest.$ac_objext conftest$ac_exeext
33925 if { (ac_try="$ac_link"
33926 case "(($ac_try" in
33927 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33928 *) ac_try_echo
=$ac_try;;
33930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33931 (eval "$ac_link") 2>conftest.er1
33933 grep -v '^ *+' conftest.er1
>conftest.err
33935 cat conftest.err
>&5
33936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33937 (exit $ac_status); } && {
33938 test -z "$ac_c_werror_flag" ||
33939 test ! -s conftest.err
33940 } && test -s conftest
$ac_exeext &&
33941 $as_test_x conftest
$ac_exeext; then
33943 { echo "$as_me:$LINENO: result: yes" >&5
33944 echo "${ECHO_T}yes" >&6; }
33945 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33946 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33949 echo "$as_me: failed program was:" >&5
33950 sed 's/^/| /' conftest.
$ac_ext >&5
33953 { echo "$as_me:$LINENO: result: no" >&5
33954 echo "${ECHO_T}no" >&6; }
33958 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33959 conftest
$ac_exeext conftest.
$ac_ext
33963 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33964 conftest
$ac_exeext conftest.
$ac_ext
33965 LDFLAGS
="$saveLdflags"
33969 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
33970 if test "$install_name_tool" -a -x "$install_name_tool"; then
33971 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
33972 cat <<EOF >change-install-names
33974 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33975 for i in \${libnames} ; do
33976 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
33977 for dep in \${libnames} ; do
33978 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
33982 chmod +x change
-install-names
33983 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
33986 HEADER_PAD_OPTION
="-headerpad_max_install_names"
33989 *-*-cygwin* | *-*-mingw32* )
33993 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33994 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34000 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34002 if test $wxUSE_RPATH = "no"; then
34003 SAMPLES_RPATH_FLAG
=''
34004 DYLIB_PATH_POSTLINK
=''
34012 config_linkage_component
="-static"
34019 lib_unicode_suffix
=
34021 if test "$wxUSE_UNICODE" = "yes"; then
34022 lib_unicode_suffix
=u
34023 WX_CHARTYPE
="unicode"
34028 WX_DEBUGTYPE
="release"
34030 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34032 WX_DEBUGTYPE
="debug"
34036 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34037 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34040 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34044 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34046 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34048 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34051 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34052 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34054 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34056 if test "${TOOLKIT_DIR}" = "os2"; then
34057 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34059 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34064 if test "$wxUSE_COCOA" = 1; then
34067 ac_cpp
='$CPP $CPPFLAGS'
34068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34074 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34075 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34076 cat >conftest.
$ac_ext <<_ACEOF
34079 cat confdefs.h
>>conftest.
$ac_ext
34080 cat >>conftest.
$ac_ext <<_ACEOF
34081 /* end confdefs.h. */
34082 #include <AppKit/NSEvent.h>
34083 #include <CoreFoundation/CoreFoundation.h>
34093 rm -f conftest.
$ac_objext
34094 if { (ac_try
="$ac_compile"
34095 case "(($ac_try" in
34096 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34097 *) ac_try_echo=$ac_try;;
34099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34100 (eval "$ac_compile") 2>conftest.er1
34102 grep -v '^ *+' conftest.er1 >conftest.err
34104 cat conftest.err >&5
34105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106 (exit $ac_status); } && {
34107 test -z "$ac_c_werror_flag" ||
34108 test ! -s conftest.err
34109 } && test -s conftest.$ac_objext; then
34110 { echo "$as_me:$LINENO: result: no" >&5
34111 echo "${ECHO_T}no" >&6; }
34113 echo "$as_me: failed program was:" >&5
34114 sed 's/^/| /' conftest.$ac_ext >&5
34116 { echo "$as_me:$LINENO: result: yes" >&5
34117 echo "${ECHO_T}yes" >&6; }
34118 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34119 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34120 cat >conftest.$ac_ext <<_ACEOF
34123 cat confdefs.h >>conftest.$ac_ext
34124 cat >>conftest.$ac_ext <<_ACEOF
34125 /* end confdefs.h. */
34126 #define __Point__ 1
34127 #include <AppKit/NSEvent.h>
34128 #include <CoreFoundation/CoreFoundation.h>
34138 rm -f conftest.$ac_objext
34139 if { (ac_try="$ac_compile"
34140 case "(($ac_try" in
34141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34142 *) ac_try_echo
=$ac_try;;
34144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34145 (eval "$ac_compile") 2>conftest.er1
34147 grep -v '^ *+' conftest.er1
>conftest.err
34149 cat conftest.err
>&5
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); } && {
34152 test -z "$ac_c_werror_flag" ||
34153 test ! -s conftest.err
34154 } && test -s conftest.
$ac_objext; then
34155 { echo "$as_me:$LINENO: result: yes" >&5
34156 echo "${ECHO_T}yes" >&6; }
34157 cat >>confdefs.h
<<\_ACEOF
34158 #define __Point__ 1
34163 echo "$as_me: failed program was:" >&5
34164 sed 's/^/| /' conftest.
$ac_ext >&5
34166 { { echo "$as_me:$LINENO: error: no
34167 See \`config.log' for more details." >&5
34168 echo "$as_me: error: no
34169 See \`config.log' for more details." >&2;}
34170 { (exit 1); exit 1; }; }
34174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34180 ac_cpp
='$CPP $CPPFLAGS'
34181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34188 { echo "$as_me:$LINENO: checking for mode_t" >&5
34189 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34190 if test "${ac_cv_type_mode_t+set}" = set; then
34191 echo $ECHO_N "(cached) $ECHO_C" >&6
34193 cat >conftest.
$ac_ext <<_ACEOF
34196 cat confdefs.h
>>conftest.
$ac_ext
34197 cat >>conftest.
$ac_ext <<_ACEOF
34198 /* end confdefs.h. */
34199 $ac_includes_default
34200 typedef mode_t ac__type_new_;
34204 if ((ac__type_new_ *) 0)
34206 if (sizeof (ac__type_new_))
34212 rm -f conftest.
$ac_objext
34213 if { (ac_try
="$ac_compile"
34214 case "(($ac_try" in
34215 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34216 *) ac_try_echo=$ac_try;;
34218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34219 (eval "$ac_compile") 2>conftest.er1
34221 grep -v '^ *+' conftest.er1 >conftest.err
34223 cat conftest.err >&5
34224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34225 (exit $ac_status); } && {
34226 test -z "$ac_c_werror_flag" ||
34227 test ! -s conftest.err
34228 } && test -s conftest.$ac_objext; then
34229 ac_cv_type_mode_t=yes
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.$ac_ext >&5
34234 ac_cv_type_mode_t=no
34237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34239 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34240 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34241 if test $ac_cv_type_mode_t = yes; then
34245 cat >>confdefs.h <<_ACEOF
34251 { echo "$as_me:$LINENO: checking for off_t" >&5
34252 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34253 if test "${ac_cv_type_off_t+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34256 cat >conftest.$ac_ext <<_ACEOF
34259 cat confdefs.h >>conftest.$ac_ext
34260 cat >>conftest.$ac_ext <<_ACEOF
34261 /* end confdefs.h. */
34262 $ac_includes_default
34263 typedef off_t ac__type_new_;
34267 if ((ac__type_new_ *) 0)
34269 if (sizeof (ac__type_new_))
34275 rm -f conftest.$ac_objext
34276 if { (ac_try="$ac_compile"
34277 case "(($ac_try" in
34278 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34279 *) ac_try_echo
=$ac_try;;
34281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34282 (eval "$ac_compile") 2>conftest.er1
34284 grep -v '^ *+' conftest.er1
>conftest.err
34286 cat conftest.err
>&5
34287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288 (exit $ac_status); } && {
34289 test -z "$ac_c_werror_flag" ||
34290 test ! -s conftest.err
34291 } && test -s conftest.
$ac_objext; then
34292 ac_cv_type_off_t
=yes
34294 echo "$as_me: failed program was:" >&5
34295 sed 's/^/| /' conftest.
$ac_ext >&5
34297 ac_cv_type_off_t
=no
34300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34302 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34303 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34304 if test $ac_cv_type_off_t = yes; then
34308 cat >>confdefs.h
<<_ACEOF
34309 #define off_t long int
34314 { echo "$as_me:$LINENO: checking for pid_t" >&5
34315 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34316 if test "${ac_cv_type_pid_t+set}" = set; then
34317 echo $ECHO_N "(cached) $ECHO_C" >&6
34319 cat >conftest.
$ac_ext <<_ACEOF
34322 cat confdefs.h
>>conftest.
$ac_ext
34323 cat >>conftest.
$ac_ext <<_ACEOF
34324 /* end confdefs.h. */
34325 $ac_includes_default
34326 typedef pid_t ac__type_new_;
34330 if ((ac__type_new_ *) 0)
34332 if (sizeof (ac__type_new_))
34338 rm -f conftest.
$ac_objext
34339 if { (ac_try
="$ac_compile"
34340 case "(($ac_try" in
34341 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34342 *) ac_try_echo=$ac_try;;
34344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34345 (eval "$ac_compile") 2>conftest.er1
34347 grep -v '^ *+' conftest.er1 >conftest.err
34349 cat conftest.err >&5
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); } && {
34352 test -z "$ac_c_werror_flag" ||
34353 test ! -s conftest.err
34354 } && test -s conftest.$ac_objext; then
34355 ac_cv_type_pid_t=yes
34357 echo "$as_me: failed program was:" >&5
34358 sed 's/^/| /' conftest.$ac_ext >&5
34360 ac_cv_type_pid_t=no
34363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34365 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34366 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34367 if test $ac_cv_type_pid_t = yes; then
34371 cat >>confdefs.h <<_ACEOF
34377 { echo "$as_me:$LINENO: checking for size_t" >&5
34378 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34379 if test "${ac_cv_type_size_t+set}" = set; then
34380 echo $ECHO_N "(cached) $ECHO_C" >&6
34382 cat >conftest.$ac_ext <<_ACEOF
34385 cat confdefs.h >>conftest.$ac_ext
34386 cat >>conftest.$ac_ext <<_ACEOF
34387 /* end confdefs.h. */
34388 $ac_includes_default
34389 typedef size_t ac__type_new_;
34393 if ((ac__type_new_ *) 0)
34395 if (sizeof (ac__type_new_))
34401 rm -f conftest.$ac_objext
34402 if { (ac_try="$ac_compile"
34403 case "(($ac_try" in
34404 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34405 *) ac_try_echo
=$ac_try;;
34407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34408 (eval "$ac_compile") 2>conftest.er1
34410 grep -v '^ *+' conftest.er1
>conftest.err
34412 cat conftest.err
>&5
34413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34414 (exit $ac_status); } && {
34415 test -z "$ac_c_werror_flag" ||
34416 test ! -s conftest.err
34417 } && test -s conftest.
$ac_objext; then
34418 ac_cv_type_size_t
=yes
34420 echo "$as_me: failed program was:" >&5
34421 sed 's/^/| /' conftest.
$ac_ext >&5
34423 ac_cv_type_size_t
=no
34426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34428 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34429 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34430 if test $ac_cv_type_size_t = yes; then
34434 cat >>confdefs.h
<<_ACEOF
34435 #define size_t unsigned int
34441 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34442 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34443 if test "${ac_cv_type_ssize_t+set}" = set; then
34444 echo $ECHO_N "(cached) $ECHO_C" >&6
34446 cat >conftest.
$ac_ext <<_ACEOF
34449 cat confdefs.h
>>conftest.
$ac_ext
34450 cat >>conftest.
$ac_ext <<_ACEOF
34451 /* end confdefs.h. */
34452 $ac_includes_default
34453 typedef ssize_t ac__type_new_;
34457 if ((ac__type_new_ *) 0)
34459 if (sizeof (ac__type_new_))
34465 rm -f conftest.
$ac_objext
34466 if { (ac_try
="$ac_compile"
34467 case "(($ac_try" in
34468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34469 *) ac_try_echo=$ac_try;;
34471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34472 (eval "$ac_compile") 2>conftest.er1
34474 grep -v '^ *+' conftest.er1 >conftest.err
34476 cat conftest.err >&5
34477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34478 (exit $ac_status); } && {
34479 test -z "$ac_c_werror_flag" ||
34480 test ! -s conftest.err
34481 } && test -s conftest.$ac_objext; then
34482 ac_cv_type_ssize_t=yes
34484 echo "$as_me: failed program was:" >&5
34485 sed 's/^/| /' conftest.$ac_ext >&5
34487 ac_cv_type_ssize_t=no
34490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34492 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34493 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34494 if test $ac_cv_type_ssize_t = yes; then
34496 cat >>confdefs.h <<_ACEOF
34497 #define HAVE_SSIZE_T 1
34505 ac_cpp='$CXXCPP $CPPFLAGS'
34506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34509 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34510 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34511 if test "${wx_cv_size_t_is_uint+set}" = set; then
34512 echo $ECHO_N "(cached) $ECHO_C" >&6
34515 cat >conftest.$ac_ext <<_ACEOF
34518 cat confdefs.h >>conftest.$ac_ext
34519 cat >>conftest.$ac_ext <<_ACEOF
34520 /* end confdefs.h. */
34521 #include <stddef.h>
34528 struct Foo { void foo(size_t); void foo(unsigned int); };
34536 rm -f conftest.$ac_objext
34537 if { (ac_try="$ac_compile"
34538 case "(($ac_try" in
34539 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34540 *) ac_try_echo
=$ac_try;;
34542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34543 (eval "$ac_compile") 2>conftest.er1
34545 grep -v '^ *+' conftest.er1
>conftest.err
34547 cat conftest.err
>&5
34548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34549 (exit $ac_status); } && {
34550 test -z "$ac_cxx_werror_flag" ||
34551 test ! -s conftest.err
34552 } && test -s conftest.
$ac_objext; then
34553 wx_cv_size_t_is_uint
=no
34555 echo "$as_me: failed program was:" >&5
34556 sed 's/^/| /' conftest.
$ac_ext >&5
34558 wx_cv_size_t_is_uint
=yes
34562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34566 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34567 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34569 if test "$wx_cv_size_t_is_uint" = "yes"; then
34570 cat >>confdefs.h
<<\_ACEOF
34571 #define wxSIZE_T_IS_UINT 1
34575 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34576 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34577 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34578 echo $ECHO_N "(cached) $ECHO_C" >&6
34580 cat >conftest.
$ac_ext <<_ACEOF
34583 cat confdefs.h
>>conftest.
$ac_ext
34584 cat >>conftest.
$ac_ext <<_ACEOF
34585 /* end confdefs.h. */
34586 #include <stddef.h>
34593 struct Foo { void foo(size_t); void foo(unsigned long); };
34601 rm -f conftest.
$ac_objext
34602 if { (ac_try
="$ac_compile"
34603 case "(($ac_try" in
34604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34605 *) ac_try_echo=$ac_try;;
34607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34608 (eval "$ac_compile") 2>conftest.er1
34610 grep -v '^ *+' conftest.er1 >conftest.err
34612 cat conftest.err >&5
34613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34614 (exit $ac_status); } && {
34615 test -z "$ac_cxx_werror_flag" ||
34616 test ! -s conftest.err
34617 } && test -s conftest.$ac_objext; then
34618 wx_cv_size_t_is_ulong=no
34620 echo "$as_me: failed program was:" >&5
34621 sed 's/^/| /' conftest.$ac_ext >&5
34623 wx_cv_size_t_is_ulong=yes
34627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34630 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34631 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34633 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34634 cat >>confdefs.h <<\_ACEOF
34635 #define wxSIZE_T_IS_ULONG 1
34641 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34642 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34643 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34644 echo $ECHO_N "(cached) $ECHO_C" >&6
34646 cat >conftest.$ac_ext <<_ACEOF
34649 cat confdefs.h >>conftest.$ac_ext
34650 cat >>conftest.$ac_ext <<_ACEOF
34651 /* end confdefs.h. */
34659 struct Foo { void foo(wchar_t);
34660 void foo(unsigned short);
34661 void foo(unsigned int);
34662 void foo(unsigned long); };
34670 rm -f conftest.$ac_objext
34671 if { (ac_try="$ac_compile"
34672 case "(($ac_try" in
34673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34674 *) ac_try_echo
=$ac_try;;
34676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34677 (eval "$ac_compile") 2>conftest.er1
34679 grep -v '^ *+' conftest.er1
>conftest.err
34681 cat conftest.err
>&5
34682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34683 (exit $ac_status); } && {
34684 test -z "$ac_cxx_werror_flag" ||
34685 test ! -s conftest.err
34686 } && test -s conftest.
$ac_objext; then
34687 wx_cv_wchar_t_is_separate_type
=yes
34689 echo "$as_me: failed program was:" >&5
34690 sed 's/^/| /' conftest.
$ac_ext >&5
34692 wx_cv_wchar_t_is_separate_type
=no
34696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34699 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34700 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34702 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34703 cat >>confdefs.h
<<\_ACEOF
34704 #define wxWCHAR_T_IS_REAL_TYPE 1
34708 cat >>confdefs.h
<<\_ACEOF
34709 #define wxWCHAR_T_IS_REAL_TYPE 0
34715 ac_cpp
='$CPP $CPPFLAGS'
34716 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34717 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34718 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34721 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34722 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34723 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34724 echo $ECHO_N "(cached) $ECHO_C" >&6
34727 cat >conftest.
$ac_ext <<_ACEOF
34730 cat confdefs.h
>>conftest.
$ac_ext
34731 cat >>conftest.
$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34746 rm -f conftest.
$ac_objext
34747 if { (ac_try
="$ac_compile"
34748 case "(($ac_try" in
34749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34750 *) ac_try_echo=$ac_try;;
34752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34753 (eval "$ac_compile") 2>conftest.er1
34755 grep -v '^ *+' conftest.er1 >conftest.err
34757 cat conftest.err >&5
34758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34759 (exit $ac_status); } && {
34760 test -z "$ac_c_werror_flag" ||
34761 test ! -s conftest.err
34762 } && test -s conftest.$ac_objext; then
34764 wx_cv_struct_pw_gecos=yes
34767 echo "$as_me: failed program was:" >&5
34768 sed 's/^/| /' conftest.$ac_ext >&5
34771 wx_cv_struct_pw_gecos=no
34776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34780 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34781 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34783 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34784 cat >>confdefs.h <<\_ACEOF
34785 #define HAVE_PW_GECOS 1
34791 if test "$wxUSE_WCHAR_T" = "yes"; then
34792 cat >>confdefs.h <<\_ACEOF
34793 #define wxUSE_WCHAR_T 1
34800 for ac_func in wcslen
34802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34803 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34805 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34806 echo $ECHO_N "(cached) $ECHO_C" >&6
34808 cat >conftest.$ac_ext <<_ACEOF
34811 cat confdefs.h >>conftest.$ac_ext
34812 cat >>conftest.$ac_ext <<_ACEOF
34813 /* end confdefs.h. */
34814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34816 #define $ac_func innocuous_$ac_func
34818 /* System header to define __stub macros and hopefully few prototypes,
34819 which can conflict with char $ac_func (); below.
34820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34821 <limits.h> exists even on freestanding compilers. */
34824 # include <limits.h>
34826 # include <assert.h>
34831 /* Override any GCC internal prototype to avoid an error.
34832 Use char because int might match the return type of a GCC
34833 builtin and then its argument prototype would still apply. */
34838 /* The GNU C library defines this for functions which it implements
34839 to always fail with ENOSYS. Some functions are actually named
34840 something starting with __ and the normal name is an alias. */
34841 #if defined __stub_$ac_func || defined __stub___$ac_func
34848 return $ac_func ();
34853 rm -f conftest.$ac_objext conftest$ac_exeext
34854 if { (ac_try="$ac_link"
34855 case "(($ac_try" in
34856 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34857 *) ac_try_echo
=$ac_try;;
34859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34860 (eval "$ac_link") 2>conftest.er1
34862 grep -v '^ *+' conftest.er1
>conftest.err
34864 cat conftest.err
>&5
34865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34866 (exit $ac_status); } && {
34867 test -z "$ac_c_werror_flag" ||
34868 test ! -s conftest.err
34869 } && test -s conftest
$ac_exeext &&
34870 $as_test_x conftest
$ac_exeext; then
34871 eval "$as_ac_var=yes"
34873 echo "$as_me: failed program was:" >&5
34874 sed 's/^/| /' conftest.
$ac_ext >&5
34876 eval "$as_ac_var=no"
34879 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34880 conftest
$ac_exeext conftest.
$ac_ext
34882 ac_res
=`eval echo '${'$as_ac_var'}'`
34883 { echo "$as_me:$LINENO: result: $ac_res" >&5
34884 echo "${ECHO_T}$ac_res" >&6; }
34885 if test `eval echo '${'$as_ac_var'}'` = yes; then
34886 cat >>confdefs.h
<<_ACEOF
34887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34894 if test "$WCSLEN_FOUND" = 0; then
34895 if test "$TOOLKIT" = "MSW"; then
34896 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34897 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34898 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34899 echo $ECHO_N "(cached) $ECHO_C" >&6
34901 ac_check_lib_save_LIBS
=$LIBS
34902 LIBS
="-lmsvcrt $LIBS"
34903 cat >conftest.
$ac_ext <<_ACEOF
34906 cat confdefs.h
>>conftest.
$ac_ext
34907 cat >>conftest.
$ac_ext <<_ACEOF
34908 /* end confdefs.h. */
34910 /* Override any GCC internal prototype to avoid an error.
34911 Use char because int might match the return type of a GCC
34912 builtin and then its argument prototype would still apply. */
34925 rm -f conftest.
$ac_objext conftest
$ac_exeext
34926 if { (ac_try
="$ac_link"
34927 case "(($ac_try" in
34928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34929 *) ac_try_echo=$ac_try;;
34931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34932 (eval "$ac_link") 2>conftest.er1
34934 grep -v '^ *+' conftest.er1 >conftest.err
34936 cat conftest.err >&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); } && {
34939 test -z "$ac_c_werror_flag" ||
34940 test ! -s conftest.err
34941 } && test -s conftest$ac_exeext &&
34942 $as_test_x conftest$ac_exeext; then
34943 ac_cv_lib_msvcrt_wcslen=yes
34945 echo "$as_me: failed program was:" >&5
34946 sed 's/^/| /' conftest.$ac_ext >&5
34948 ac_cv_lib_msvcrt_wcslen=no
34951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34952 conftest$ac_exeext conftest.$ac_ext
34953 LIBS=$ac_check_lib_save_LIBS
34955 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34956 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34957 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34962 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34963 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34964 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34967 ac_check_lib_save_LIBS=$LIBS
34969 cat >conftest.$ac_ext <<_ACEOF
34972 cat confdefs.h >>conftest.$ac_ext
34973 cat >>conftest.$ac_ext <<_ACEOF
34974 /* end confdefs.h. */
34976 /* Override any GCC internal prototype to avoid an error.
34977 Use char because int might match the return type of a GCC
34978 builtin and then its argument prototype would still apply. */
34991 rm -f conftest.$ac_objext conftest$ac_exeext
34992 if { (ac_try="$ac_link"
34993 case "(($ac_try" in
34994 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34995 *) ac_try_echo
=$ac_try;;
34997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34998 (eval "$ac_link") 2>conftest.er1
35000 grep -v '^ *+' conftest.er1
>conftest.err
35002 cat conftest.err
>&5
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); } && {
35005 test -z "$ac_c_werror_flag" ||
35006 test ! -s conftest.err
35007 } && test -s conftest
$ac_exeext &&
35008 $as_test_x conftest
$ac_exeext; then
35009 ac_cv_lib_w_wcslen
=yes
35011 echo "$as_me: failed program was:" >&5
35012 sed 's/^/| /' conftest.
$ac_ext >&5
35014 ac_cv_lib_w_wcslen
=no
35017 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35018 conftest
$ac_exeext conftest.
$ac_ext
35019 LIBS
=$ac_check_lib_save_LIBS
35021 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35022 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35023 if test $ac_cv_lib_w_wcslen = yes; then
35033 if test "$WCSLEN_FOUND" = 1; then
35034 cat >>confdefs.h
<<\_ACEOF
35035 #define HAVE_WCSLEN 1
35045 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35047 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35048 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35050 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35051 echo $ECHO_N "(cached) $ECHO_C" >&6
35053 cat >conftest.
$ac_ext <<_ACEOF
35056 cat confdefs.h
>>conftest.
$ac_ext
35057 cat >>conftest.
$ac_ext <<_ACEOF
35058 /* end confdefs.h. */
35059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35061 #define $ac_func innocuous_$ac_func
35063 /* System header to define __stub macros and hopefully few prototypes,
35064 which can conflict with char $ac_func (); below.
35065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35066 <limits.h> exists even on freestanding compilers. */
35069 # include <limits.h>
35071 # include <assert.h>
35076 /* Override any GCC internal prototype to avoid an error.
35077 Use char because int might match the return type of a GCC
35078 builtin and then its argument prototype would still apply. */
35083 /* The GNU C library defines this for functions which it implements
35084 to always fail with ENOSYS. Some functions are actually named
35085 something starting with __ and the normal name is an alias. */
35086 #if defined __stub_$ac_func || defined __stub___$ac_func
35093 return $ac_func ();
35098 rm -f conftest.
$ac_objext conftest
$ac_exeext
35099 if { (ac_try
="$ac_link"
35100 case "(($ac_try" in
35101 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35102 *) ac_try_echo=$ac_try;;
35104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35105 (eval "$ac_link") 2>conftest.er1
35107 grep -v '^ *+' conftest.er1 >conftest.err
35109 cat conftest.err >&5
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); } && {
35112 test -z "$ac_c_werror_flag" ||
35113 test ! -s conftest.err
35114 } && test -s conftest$ac_exeext &&
35115 $as_test_x conftest$ac_exeext; then
35116 eval "$as_ac_var=yes"
35118 echo "$as_me: failed program was:" >&5
35119 sed 's/^/| /' conftest.$ac_ext >&5
35121 eval "$as_ac_var=no"
35124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35125 conftest$ac_exeext conftest.$ac_ext
35127 ac_res=`eval echo '${'$as_ac_var'}'`
35128 { echo "$as_me:$LINENO: result: $ac_res" >&5
35129 echo "${ECHO_T}$ac_res" >&6; }
35130 if test `eval echo '${'$as_ac_var'}'` = yes; then
35131 cat >>confdefs.h <<_ACEOF
35132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35139 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35140 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35143 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35144 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35145 if test "${ac_cv_type_mbstate_t+set}" = set; then
35146 echo $ECHO_N "(cached) $ECHO_C" >&6
35148 cat >conftest.$ac_ext <<_ACEOF
35151 cat confdefs.h >>conftest.$ac_ext
35152 cat >>conftest.$ac_ext <<_ACEOF
35153 /* end confdefs.h. */
35156 typedef mbstate_t ac__type_new_;
35160 if ((ac__type_new_ *) 0)
35162 if (sizeof (ac__type_new_))
35168 rm -f conftest.$ac_objext
35169 if { (ac_try="$ac_compile"
35170 case "(($ac_try" in
35171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35172 *) ac_try_echo
=$ac_try;;
35174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35175 (eval "$ac_compile") 2>conftest.er1
35177 grep -v '^ *+' conftest.er1
>conftest.err
35179 cat conftest.err
>&5
35180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181 (exit $ac_status); } && {
35182 test -z "$ac_c_werror_flag" ||
35183 test ! -s conftest.err
35184 } && test -s conftest.
$ac_objext; then
35185 ac_cv_type_mbstate_t
=yes
35187 echo "$as_me: failed program was:" >&5
35188 sed 's/^/| /' conftest.
$ac_ext >&5
35190 ac_cv_type_mbstate_t
=no
35193 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35195 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35196 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35197 if test $ac_cv_type_mbstate_t = yes; then
35199 cat >>confdefs.h
<<_ACEOF
35200 #define HAVE_MBSTATE_T 1
35204 for ac_func
in wcsrtombs
35206 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35207 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35209 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35212 cat >conftest.
$ac_ext <<_ACEOF
35215 cat confdefs.h
>>conftest.
$ac_ext
35216 cat >>conftest.
$ac_ext <<_ACEOF
35217 /* end confdefs.h. */
35218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35220 #define $ac_func innocuous_$ac_func
35222 /* System header to define __stub macros and hopefully few prototypes,
35223 which can conflict with char $ac_func (); below.
35224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35225 <limits.h> exists even on freestanding compilers. */
35228 # include <limits.h>
35230 # include <assert.h>
35235 /* Override any GCC internal prototype to avoid an error.
35236 Use char because int might match the return type of a GCC
35237 builtin and then its argument prototype would still apply. */
35242 /* The GNU C library defines this for functions which it implements
35243 to always fail with ENOSYS. Some functions are actually named
35244 something starting with __ and the normal name is an alias. */
35245 #if defined __stub_$ac_func || defined __stub___$ac_func
35252 return $ac_func ();
35257 rm -f conftest.
$ac_objext conftest
$ac_exeext
35258 if { (ac_try
="$ac_link"
35259 case "(($ac_try" in
35260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35261 *) ac_try_echo=$ac_try;;
35263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35264 (eval "$ac_link") 2>conftest.er1
35266 grep -v '^ *+' conftest.er1 >conftest.err
35268 cat conftest.err >&5
35269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35270 (exit $ac_status); } && {
35271 test -z "$ac_c_werror_flag" ||
35272 test ! -s conftest.err
35273 } && test -s conftest$ac_exeext &&
35274 $as_test_x conftest$ac_exeext; then
35275 eval "$as_ac_var=yes"
35277 echo "$as_me: failed program was:" >&5
35278 sed 's/^/| /' conftest.$ac_ext >&5
35280 eval "$as_ac_var=no"
35283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35284 conftest$ac_exeext conftest.$ac_ext
35286 ac_res=`eval echo '${'$as_ac_var'}'`
35287 { echo "$as_me:$LINENO: result: $ac_res" >&5
35288 echo "${ECHO_T}$ac_res" >&6; }
35289 if test `eval echo '${'$as_ac_var'}'` = yes; then
35290 cat >>confdefs.h <<_ACEOF
35291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35300 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35301 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35307 for ac_func in snprintf vsnprintf vsscanf
35309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35310 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35312 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35313 echo $ECHO_N "(cached) $ECHO_C" >&6
35315 cat >conftest.$ac_ext <<_ACEOF
35318 cat confdefs.h >>conftest.$ac_ext
35319 cat >>conftest.$ac_ext <<_ACEOF
35320 /* end confdefs.h. */
35321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35323 #define $ac_func innocuous_$ac_func
35325 /* System header to define __stub macros and hopefully few prototypes,
35326 which can conflict with char $ac_func (); below.
35327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35328 <limits.h> exists even on freestanding compilers. */
35331 # include <limits.h>
35333 # include <assert.h>
35338 /* Override any GCC internal prototype to avoid an error.
35339 Use char because int might match the return type of a GCC
35340 builtin and then its argument prototype would still apply. */
35345 /* The GNU C library defines this for functions which it implements
35346 to always fail with ENOSYS. Some functions are actually named
35347 something starting with __ and the normal name is an alias. */
35348 #if defined __stub_$ac_func || defined __stub___$ac_func
35355 return $ac_func ();
35360 rm -f conftest.$ac_objext conftest$ac_exeext
35361 if { (ac_try="$ac_link"
35362 case "(($ac_try" in
35363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35364 *) ac_try_echo
=$ac_try;;
35366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35367 (eval "$ac_link") 2>conftest.er1
35369 grep -v '^ *+' conftest.er1
>conftest.err
35371 cat conftest.err
>&5
35372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 (exit $ac_status); } && {
35374 test -z "$ac_c_werror_flag" ||
35375 test ! -s conftest.err
35376 } && test -s conftest
$ac_exeext &&
35377 $as_test_x conftest
$ac_exeext; then
35378 eval "$as_ac_var=yes"
35380 echo "$as_me: failed program was:" >&5
35381 sed 's/^/| /' conftest.
$ac_ext >&5
35383 eval "$as_ac_var=no"
35386 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35387 conftest
$ac_exeext conftest.
$ac_ext
35389 ac_res
=`eval echo '${'$as_ac_var'}'`
35390 { echo "$as_me:$LINENO: result: $ac_res" >&5
35391 echo "${ECHO_T}$ac_res" >&6; }
35392 if test `eval echo '${'$as_ac_var'}'` = yes; then
35393 cat >>confdefs.h
<<_ACEOF
35394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35402 ac_cpp
='$CXXCPP $CPPFLAGS'
35403 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35404 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35405 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35407 if test "$ac_cv_func_vsnprintf" = "yes"; then
35408 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35409 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35410 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35411 echo $ECHO_N "(cached) $ECHO_C" >&6
35414 cat >conftest.
$ac_ext <<_ACEOF
35417 cat confdefs.h
>>conftest.
$ac_ext
35418 cat >>conftest.
$ac_ext <<_ACEOF
35419 /* end confdefs.h. */
35422 #include <stdarg.h>
35424 #if __MSL__ >= 0x6000
35426 using namespace std;
35436 vsnprintf(buf, 10u, "%s", ap);
35442 rm -f conftest.
$ac_objext
35443 if { (ac_try
="$ac_compile"
35444 case "(($ac_try" in
35445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35446 *) ac_try_echo=$ac_try;;
35448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35449 (eval "$ac_compile") 2>conftest.er1
35451 grep -v '^ *+' conftest.er1 >conftest.err
35453 cat conftest.err >&5
35454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35455 (exit $ac_status); } && {
35456 test -z "$ac_cxx_werror_flag" ||
35457 test ! -s conftest.err
35458 } && test -s conftest.$ac_objext; then
35459 wx_cv_func_vsnprintf_decl=yes
35461 echo "$as_me: failed program was:" >&5
35462 sed 's/^/| /' conftest.$ac_ext >&5
35464 wx_cv_func_vsnprintf_decl=no
35468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35472 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35473 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35475 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35476 cat >>confdefs.h <<\_ACEOF
35477 #define HAVE_VSNPRINTF_DECL 1
35481 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35482 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35483 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35484 echo $ECHO_N "(cached) $ECHO_C" >&6
35487 cat >conftest.$ac_ext <<_ACEOF
35490 cat confdefs.h >>conftest.$ac_ext
35491 cat >>conftest.$ac_ext <<_ACEOF
35492 /* end confdefs.h. */
35495 #include <stdarg.h>
35497 #if __MSL__ >= 0x6000
35499 using namespace std;
35509 const char *fmt = "%s";
35510 vsnprintf(buf, 10u, fmt, ap);
35516 rm -f conftest.$ac_objext
35517 if { (ac_try="$ac_compile"
35518 case "(($ac_try" in
35519 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35520 *) ac_try_echo
=$ac_try;;
35522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35523 (eval "$ac_compile") 2>conftest.er1
35525 grep -v '^ *+' conftest.er1
>conftest.err
35527 cat conftest.err
>&5
35528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529 (exit $ac_status); } && {
35530 test -z "$ac_cxx_werror_flag" ||
35531 test ! -s conftest.err
35532 } && test -s conftest.
$ac_objext; then
35533 wx_cv_func_broken_vsnprintf_decl
=no
35535 echo "$as_me: failed program was:" >&5
35536 sed 's/^/| /' conftest.
$ac_ext >&5
35538 wx_cv_func_broken_vsnprintf_decl
=yes
35542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35546 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35547 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35549 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35550 cat >>confdefs.h
<<\_ACEOF
35551 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35558 if test "$ac_cv_func_snprintf" = "yes"; then
35559 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35560 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35561 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35562 echo $ECHO_N "(cached) $ECHO_C" >&6
35565 cat >conftest.
$ac_ext <<_ACEOF
35568 cat confdefs.h
>>conftest.
$ac_ext
35569 cat >>conftest.
$ac_ext <<_ACEOF
35570 /* end confdefs.h. */
35573 #include <stdarg.h>
35575 #if __MSL__ >= 0x6000
35577 using namespace std;
35586 snprintf(buf, 10u, "%s", "wx");
35592 rm -f conftest.
$ac_objext
35593 if { (ac_try
="$ac_compile"
35594 case "(($ac_try" in
35595 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35596 *) ac_try_echo=$ac_try;;
35598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35599 (eval "$ac_compile") 2>conftest.er1
35601 grep -v '^ *+' conftest.er1 >conftest.err
35603 cat conftest.err >&5
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); } && {
35606 test -z "$ac_cxx_werror_flag" ||
35607 test ! -s conftest.err
35608 } && test -s conftest.$ac_objext; then
35609 wx_cv_func_snprintf_decl=yes
35611 echo "$as_me: failed program was:" >&5
35612 sed 's/^/| /' conftest.$ac_ext >&5
35614 wx_cv_func_snprintf_decl=no
35618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35622 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35623 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35625 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35626 cat >>confdefs.h <<\_ACEOF
35627 #define HAVE_SNPRINTF_DECL 1
35632 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35634 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35635 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35636 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35637 echo $ECHO_N "(cached) $ECHO_C" >&6
35640 if test "$cross_compiling" = yes; then
35642 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35643 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35644 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35645 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35646 wx_cv_func_snprintf_pos_params=no
35650 cat >conftest.$ac_ext <<_ACEOF
35653 cat confdefs.h >>conftest.$ac_ext
35654 cat >>conftest.$ac_ext <<_ACEOF
35655 /* end confdefs.h. */
35662 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35663 if (strcmp ("2 3 1", buffer) == 0)
35669 rm -f conftest$ac_exeext
35670 if { (ac_try="$ac_link"
35671 case "(($ac_try" in
35672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35673 *) ac_try_echo
=$ac_try;;
35675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35676 (eval "$ac_link") 2>&5
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35680 { (case "(($ac_try" in
35681 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35682 *) ac_try_echo=$ac_try;;
35684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35685 (eval "$ac_try") 2>&5
35687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35688 (exit $ac_status); }; }; then
35689 wx_cv_func_snprintf_pos_params=no
35691 echo "$as_me: program exited with status $ac_status" >&5
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.$ac_ext >&5
35695 ( exit $ac_status )
35696 wx_cv_func_snprintf_pos_params=yes
35698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35705 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35706 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35708 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35709 cat >>confdefs.h <<\_ACEOF
35710 #define HAVE_UNIX98_PRINTF 1
35717 if test "$ac_cv_func_vsscanf" = "yes"; then
35718 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35719 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35720 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35721 echo $ECHO_N "(cached) $ECHO_C" >&6
35724 cat >conftest.$ac_ext <<_ACEOF
35727 cat confdefs.h >>conftest.$ac_ext
35728 cat >>conftest.$ac_ext <<_ACEOF
35729 /* end confdefs.h. */
35732 #include <stdarg.h>
35734 #if __MSL__ >= 0x6000
35736 using namespace std;
35746 vsscanf(buf, "%s", args);
35752 rm -f conftest.$ac_objext
35753 if { (ac_try="$ac_compile"
35754 case "(($ac_try" in
35755 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35756 *) ac_try_echo
=$ac_try;;
35758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35759 (eval "$ac_compile") 2>conftest.er1
35761 grep -v '^ *+' conftest.er1
>conftest.err
35763 cat conftest.err
>&5
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); } && {
35766 test -z "$ac_cxx_werror_flag" ||
35767 test ! -s conftest.err
35768 } && test -s conftest.
$ac_objext; then
35769 wx_cv_func_vsscanf_decl
=yes
35771 echo "$as_me: failed program was:" >&5
35772 sed 's/^/| /' conftest.
$ac_ext >&5
35774 wx_cv_func_vsscanf_decl
=no
35778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35782 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35783 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35785 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35786 cat >>confdefs.h
<<\_ACEOF
35787 #define HAVE_VSSCANF_DECL 1
35793 ac_cpp
='$CPP $CPPFLAGS'
35794 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35795 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35796 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35799 if test "$wxUSE_UNICODE" = yes; then
35801 wchar_headers
="#include <stdio.h>
35802 #include <wchar.h>"
35806 for ac_header
in widec.h
35808 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35809 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35811 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35812 echo $ECHO_N "(cached) $ECHO_C" >&6
35814 cat >conftest.
$ac_ext <<_ACEOF
35817 cat confdefs.h
>>conftest.
$ac_ext
35818 cat >>conftest.
$ac_ext <<_ACEOF
35819 /* end confdefs.h. */
35820 $ac_includes_default
35822 #include <$ac_header>
35824 rm -f conftest.
$ac_objext
35825 if { (ac_try
="$ac_compile"
35826 case "(($ac_try" in
35827 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35828 *) ac_try_echo=$ac_try;;
35830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35831 (eval "$ac_compile") 2>conftest.er1
35833 grep -v '^ *+' conftest.er1 >conftest.err
35835 cat conftest.err >&5
35836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837 (exit $ac_status); } && {
35838 test -z "$ac_c_werror_flag" ||
35839 test ! -s conftest.err
35840 } && test -s conftest.$ac_objext; then
35841 eval "$as_ac_Header=yes"
35843 echo "$as_me: failed program was:" >&5
35844 sed 's/^/| /' conftest.$ac_ext >&5
35846 eval "$as_ac_Header=no"
35849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35851 ac_res=`eval echo '${'$as_ac_Header'}'`
35852 { echo "$as_me:$LINENO: result: $ac_res" >&5
35853 echo "${ECHO_T}$ac_res" >&6; }
35854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35855 cat >>confdefs.h <<_ACEOF
35856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35863 if test "$ac_cv_header_widec_h" = "yes"; then
35864 wchar_headers="$wchar_headers
35865 #include <widec.h>"
35870 for wx_func in putws fputws wprintf vswprintf vswscanf
35872 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35873 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35874 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35875 echo $ECHO_N "(cached) $ECHO_C" >&6
35878 cat >conftest.$ac_ext <<_ACEOF
35882 cat confdefs.h >>conftest.$ac_ext
35883 cat >>conftest.$ac_ext <<_ACEOF
35884 /* end confdefs.h. */
35887 $ac_includes_default
35903 rm -f conftest.$ac_objext conftest$ac_exeext
35904 if { (ac_try="$ac_link"
35905 case "(($ac_try" in
35906 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35907 *) ac_try_echo
=$ac_try;;
35909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35910 (eval "$ac_link") 2>conftest.er1
35912 grep -v '^ *+' conftest.er1
>conftest.err
35914 cat conftest.err
>&5
35915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35916 (exit $ac_status); } && {
35917 test -z "$ac_c_werror_flag" ||
35918 test ! -s conftest.err
35919 } && test -s conftest
$ac_exeext &&
35920 $as_test_x conftest
$ac_exeext; then
35921 eval wx_cv_func_
$wx_func=yes
35923 echo "$as_me: failed program was:" >&5
35924 sed 's/^/| /' conftest.
$ac_ext >&5
35926 eval wx_cv_func_
$wx_func=no
35929 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35930 conftest
$ac_exeext conftest.
$ac_ext
35933 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35934 { echo "$as_me:$LINENO: result: $ac_res" >&5
35935 echo "${ECHO_T}$ac_res" >&6; }
35937 if eval test \
$wx_cv_func_$wx_func = yes
35939 cat >>confdefs.h
<<_ACEOF
35940 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35951 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35952 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35953 cat >conftest.
$ac_ext <<_ACEOF
35956 cat confdefs.h
>>conftest.
$ac_ext
35957 cat >>conftest.
$ac_ext <<_ACEOF
35958 /* end confdefs.h. */
35968 rm -f conftest.
$ac_objext
35969 if { (ac_try
="$ac_compile"
35970 case "(($ac_try" in
35971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35972 *) ac_try_echo=$ac_try;;
35974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35975 (eval "$ac_compile") 2>conftest.er1
35977 grep -v '^ *+' conftest.er1 >conftest.err
35979 cat conftest.err >&5
35980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35981 (exit $ac_status); } && {
35982 test -z "$ac_c_werror_flag" ||
35983 test ! -s conftest.err
35984 } && test -s conftest.$ac_objext; then
35985 { echo "$as_me:$LINENO: result: yes" >&5
35986 echo "${ECHO_T}yes" >&6; }
35987 cat >>confdefs.h <<\_ACEOF
35988 #define HAVE__VSNWPRINTF 1
35992 echo "$as_me: failed program was:" >&5
35993 sed 's/^/| /' conftest.$ac_ext >&5
35995 { echo "$as_me:$LINENO: result: no" >&5
35996 echo "${ECHO_T}no" >&6; }
35999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36002 if test "$wxUSE_FILE" = "yes"; then
36004 for wx_func in fsync
36006 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36007 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36008 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36009 echo $ECHO_N "(cached) $ECHO_C" >&6
36012 cat >conftest.$ac_ext <<_ACEOF
36016 cat confdefs.h >>conftest.$ac_ext
36017 cat >>conftest.$ac_ext <<_ACEOF
36018 /* end confdefs.h. */
36021 $ac_includes_default
36037 rm -f conftest.$ac_objext conftest$ac_exeext
36038 if { (ac_try="$ac_link"
36039 case "(($ac_try" in
36040 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36041 *) ac_try_echo
=$ac_try;;
36043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36044 (eval "$ac_link") 2>conftest.er1
36046 grep -v '^ *+' conftest.er1
>conftest.err
36048 cat conftest.err
>&5
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); } && {
36051 test -z "$ac_c_werror_flag" ||
36052 test ! -s conftest.err
36053 } && test -s conftest
$ac_exeext &&
36054 $as_test_x conftest
$ac_exeext; then
36055 eval wx_cv_func_
$wx_func=yes
36057 echo "$as_me: failed program was:" >&5
36058 sed 's/^/| /' conftest.
$ac_ext >&5
36060 eval wx_cv_func_
$wx_func=no
36063 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36064 conftest
$ac_exeext conftest.
$ac_ext
36067 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36068 { echo "$as_me:$LINENO: result: $ac_res" >&5
36069 echo "${ECHO_T}$ac_res" >&6; }
36071 if eval test \
$wx_cv_func_$wx_func = yes
36073 cat >>confdefs.h
<<_ACEOF
36074 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36087 ac_cpp
='$CXXCPP $CPPFLAGS'
36088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36093 for wx_func
in round
36095 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36096 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36097 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36098 echo $ECHO_N "(cached) $ECHO_C" >&6
36101 cat >conftest.
$ac_ext <<_ACEOF
36105 cat confdefs.h
>>conftest.
$ac_ext
36106 cat >>conftest.
$ac_ext <<_ACEOF
36107 /* end confdefs.h. */
36110 $ac_includes_default
36126 rm -f conftest.
$ac_objext conftest
$ac_exeext
36127 if { (ac_try
="$ac_link"
36128 case "(($ac_try" in
36129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36130 *) ac_try_echo=$ac_try;;
36132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36133 (eval "$ac_link") 2>conftest.er1
36135 grep -v '^ *+' conftest.er1 >conftest.err
36137 cat conftest.err >&5
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); } && {
36140 test -z "$ac_cxx_werror_flag" ||
36141 test ! -s conftest.err
36142 } && test -s conftest$ac_exeext &&
36143 $as_test_x conftest$ac_exeext; then
36144 eval wx_cv_func_$wx_func=yes
36146 echo "$as_me: failed program was:" >&5
36147 sed 's/^/| /' conftest.$ac_ext >&5
36149 eval wx_cv_func_$wx_func=no
36152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36153 conftest$ac_exeext conftest.$ac_ext
36156 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36157 { echo "$as_me:$LINENO: result: $ac_res" >&5
36158 echo "${ECHO_T}$ac_res" >&6; }
36160 if eval test \$wx_cv_func_$wx_func = yes
36162 cat >>confdefs.h <<_ACEOF
36163 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36174 ac_cpp='$CPP $CPPFLAGS'
36175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36180 if test "$TOOLKIT" != "MSW"; then
36182 if test "$wxUSE_LIBICONV" != "no" ; then
36186 # Check whether --with-libiconv-prefix was given.
36187 if test "${with_libiconv_prefix+set}" = set; then
36188 withval=$with_libiconv_prefix;
36189 for dir in `echo "$withval" | tr : ' '`; do
36190 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36191 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36197 { echo "$as_me:$LINENO: checking for iconv" >&5
36198 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36199 if test "${am_cv_func_iconv+set}" = set; then
36200 echo $ECHO_N "(cached) $ECHO_C" >&6
36203 am_cv_func_iconv="no, consider installing GNU libiconv"
36205 cat >conftest.$ac_ext <<_ACEOF
36208 cat confdefs.h >>conftest.$ac_ext
36209 cat >>conftest.$ac_ext <<_ACEOF
36210 /* end confdefs.h. */
36211 #include <stdlib.h>
36216 iconv_t cd = iconv_open("","");
36217 iconv(cd,NULL,NULL,NULL,NULL);
36223 rm -f conftest.$ac_objext conftest$ac_exeext
36224 if { (ac_try="$ac_link"
36225 case "(($ac_try" in
36226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36227 *) ac_try_echo
=$ac_try;;
36229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36230 (eval "$ac_link") 2>conftest.er1
36232 grep -v '^ *+' conftest.er1
>conftest.err
36234 cat conftest.err
>&5
36235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36236 (exit $ac_status); } && {
36237 test -z "$ac_c_werror_flag" ||
36238 test ! -s conftest.err
36239 } && test -s conftest
$ac_exeext &&
36240 $as_test_x conftest
$ac_exeext; then
36241 am_cv_func_iconv
=yes
36243 echo "$as_me: failed program was:" >&5
36244 sed 's/^/| /' conftest.
$ac_ext >&5
36249 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36250 conftest
$ac_exeext conftest.
$ac_ext
36251 if test "$am_cv_func_iconv" != yes; then
36252 am_save_LIBS
="$LIBS"
36253 LIBS
="$LIBS -liconv"
36254 cat >conftest.
$ac_ext <<_ACEOF
36257 cat confdefs.h
>>conftest.
$ac_ext
36258 cat >>conftest.
$ac_ext <<_ACEOF
36259 /* end confdefs.h. */
36260 #include <stdlib.h>
36265 iconv_t cd = iconv_open("","");
36266 iconv(cd,NULL,NULL,NULL,NULL);
36272 rm -f conftest.
$ac_objext conftest
$ac_exeext
36273 if { (ac_try
="$ac_link"
36274 case "(($ac_try" in
36275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36276 *) ac_try_echo=$ac_try;;
36278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36279 (eval "$ac_link") 2>conftest.er1
36281 grep -v '^ *+' conftest.er1 >conftest.err
36283 cat conftest.err >&5
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); } && {
36286 test -z "$ac_c_werror_flag" ||
36287 test ! -s conftest.err
36288 } && test -s conftest$ac_exeext &&
36289 $as_test_x conftest$ac_exeext; then
36290 am_cv_lib_iconv=yes
36291 am_cv_func_iconv=yes
36293 echo "$as_me: failed program was:" >&5
36294 sed 's/^/| /' conftest.$ac_ext >&5
36299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36300 conftest$ac_exeext conftest.$ac_ext
36301 LIBS="$am_save_LIBS"
36305 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36306 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36307 if test "$am_cv_func_iconv" = yes; then
36309 cat >>confdefs.h <<\_ACEOF
36310 #define HAVE_ICONV 1
36313 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36314 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36315 if test "${wx_cv_func_iconv_const+set}" = set; then
36316 echo $ECHO_N "(cached) $ECHO_C" >&6
36318 cat >conftest.$ac_ext <<_ACEOF
36321 cat confdefs.h >>conftest.$ac_ext
36322 cat >>conftest.$ac_ext <<_ACEOF
36323 /* end confdefs.h. */
36325 #include <stdlib.h>
36331 #if defined(__STDC__) || defined(__cplusplus)
36332 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36345 rm -f conftest.$ac_objext
36346 if { (ac_try="$ac_compile"
36347 case "(($ac_try" in
36348 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36349 *) ac_try_echo
=$ac_try;;
36351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36352 (eval "$ac_compile") 2>conftest.er1
36354 grep -v '^ *+' conftest.er1
>conftest.err
36356 cat conftest.err
>&5
36357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358 (exit $ac_status); } && {
36359 test -z "$ac_c_werror_flag" ||
36360 test ! -s conftest.err
36361 } && test -s conftest.
$ac_objext; then
36362 wx_cv_func_iconv_const
="no"
36364 echo "$as_me: failed program was:" >&5
36365 sed 's/^/| /' conftest.
$ac_ext >&5
36367 wx_cv_func_iconv_const
="yes"
36371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36374 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36375 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36378 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36379 iconv_const
="const"
36383 cat >>confdefs.h
<<_ACEOF
36384 #define ICONV_CONST $iconv_const
36389 if test "$am_cv_lib_iconv" = yes; then
36394 LIBS
="$LIBICONV $LIBS"
36397 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36399 for ac_func
in sigaction
36401 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36402 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36404 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36405 echo $ECHO_N "(cached) $ECHO_C" >&6
36407 cat >conftest.
$ac_ext <<_ACEOF
36410 cat confdefs.h
>>conftest.
$ac_ext
36411 cat >>conftest.
$ac_ext <<_ACEOF
36412 /* end confdefs.h. */
36413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36415 #define $ac_func innocuous_$ac_func
36417 /* System header to define __stub macros and hopefully few prototypes,
36418 which can conflict with char $ac_func (); below.
36419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36420 <limits.h> exists even on freestanding compilers. */
36423 # include <limits.h>
36425 # include <assert.h>
36430 /* Override any GCC internal prototype to avoid an error.
36431 Use char because int might match the return type of a GCC
36432 builtin and then its argument prototype would still apply. */
36437 /* The GNU C library defines this for functions which it implements
36438 to always fail with ENOSYS. Some functions are actually named
36439 something starting with __ and the normal name is an alias. */
36440 #if defined __stub_$ac_func || defined __stub___$ac_func
36447 return $ac_func ();
36452 rm -f conftest.
$ac_objext conftest
$ac_exeext
36453 if { (ac_try
="$ac_link"
36454 case "(($ac_try" in
36455 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36456 *) ac_try_echo=$ac_try;;
36458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36459 (eval "$ac_link") 2>conftest.er1
36461 grep -v '^ *+' conftest.er1 >conftest.err
36463 cat conftest.err >&5
36464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36465 (exit $ac_status); } && {
36466 test -z "$ac_c_werror_flag" ||
36467 test ! -s conftest.err
36468 } && test -s conftest$ac_exeext &&
36469 $as_test_x conftest$ac_exeext; then
36470 eval "$as_ac_var=yes"
36472 echo "$as_me: failed program was:" >&5
36473 sed 's/^/| /' conftest.$ac_ext >&5
36475 eval "$as_ac_var=no"
36478 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36479 conftest$ac_exeext conftest.$ac_ext
36481 ac_res=`eval echo '${'$as_ac_var'}'`
36482 { echo "$as_me:$LINENO: result: $ac_res" >&5
36483 echo "${ECHO_T}$ac_res" >&6; }
36484 if test `eval echo '${'$as_ac_var'}'` = yes; then
36485 cat >>confdefs.h <<_ACEOF
36486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36493 if test "$ac_cv_func_sigaction" = "no"; then
36494 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36495 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36496 wxUSE_ON_FATAL_EXCEPTION=no
36499 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36500 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36501 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36502 if test "${wx_cv_type_sa_handler+set}" = set; then
36503 echo $ECHO_N "(cached) $ECHO_C" >&6
36507 ac_cpp='$CXXCPP $CPPFLAGS'
36508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36512 cat >conftest.$ac_ext <<_ACEOF
36515 cat confdefs.h >>conftest.$ac_ext
36516 cat >>conftest.$ac_ext <<_ACEOF
36517 /* end confdefs.h. */
36518 #include <signal.h>
36523 extern void testSigHandler(int);
36525 struct sigaction sa;
36526 sa.sa_handler = testSigHandler;
36532 rm -f conftest.$ac_objext
36533 if { (ac_try="$ac_compile"
36534 case "(($ac_try" in
36535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36536 *) ac_try_echo
=$ac_try;;
36538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36539 (eval "$ac_compile") 2>conftest.er1
36541 grep -v '^ *+' conftest.er1
>conftest.err
36543 cat conftest.err
>&5
36544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36545 (exit $ac_status); } && {
36546 test -z "$ac_cxx_werror_flag" ||
36547 test ! -s conftest.err
36548 } && test -s conftest.
$ac_objext; then
36550 wx_cv_type_sa_handler
=int
36553 echo "$as_me: failed program was:" >&5
36554 sed 's/^/| /' conftest.
$ac_ext >&5
36557 wx_cv_type_sa_handler
=void
36561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36563 ac_cpp
='$CPP $CPPFLAGS'
36564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36570 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36571 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36573 cat >>confdefs.h
<<_ACEOF
36574 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36580 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36581 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36582 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36583 if test "${wx_cv_func_backtrace+set}" = set; then
36584 echo $ECHO_N "(cached) $ECHO_C" >&6
36588 ac_cpp
='$CXXCPP $CPPFLAGS'
36589 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36590 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36591 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36593 cat >conftest.
$ac_ext <<_ACEOF
36596 cat confdefs.h
>>conftest.
$ac_ext
36597 cat >>conftest.
$ac_ext <<_ACEOF
36598 /* end confdefs.h. */
36599 #include <execinfo.h>
36607 backtrace(trace, 1);
36608 messages = backtrace_symbols(trace, 1);
36614 rm -f conftest.
$ac_objext
36615 if { (ac_try
="$ac_compile"
36616 case "(($ac_try" in
36617 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36618 *) ac_try_echo=$ac_try;;
36620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36621 (eval "$ac_compile") 2>conftest.er1
36623 grep -v '^ *+' conftest.er1 >conftest.err
36625 cat conftest.err >&5
36626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36627 (exit $ac_status); } && {
36628 test -z "$ac_cxx_werror_flag" ||
36629 test ! -s conftest.err
36630 } && test -s conftest.$ac_objext; then
36631 wx_cv_func_backtrace=yes
36633 echo "$as_me: failed program was:" >&5
36634 sed 's/^/| /' conftest.$ac_ext >&5
36636 wx_cv_func_backtrace=no
36640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36642 ac_cpp='$CPP $CPPFLAGS'
36643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36650 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36651 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36654 if test "$wx_cv_func_backtrace" = "no"; then
36655 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36656 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36657 wxUSE_STACKWALKER=no
36659 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36660 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36661 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36662 echo $ECHO_N "(cached) $ECHO_C" >&6
36666 ac_cpp='$CXXCPP $CPPFLAGS'
36667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36671 cat >conftest.$ac_ext <<_ACEOF
36674 cat confdefs.h >>conftest.$ac_ext
36675 cat >>conftest.$ac_ext <<_ACEOF
36676 /* end confdefs.h. */
36677 #include <cxxabi.h>
36683 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36689 rm -f conftest.$ac_objext conftest$ac_exeext
36690 if { (ac_try="$ac_link"
36691 case "(($ac_try" in
36692 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36693 *) ac_try_echo
=$ac_try;;
36695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36696 (eval "$ac_link") 2>conftest.er1
36698 grep -v '^ *+' conftest.er1
>conftest.err
36700 cat conftest.err
>&5
36701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36702 (exit $ac_status); } && {
36703 test -z "$ac_cxx_werror_flag" ||
36704 test ! -s conftest.err
36705 } && test -s conftest
$ac_exeext &&
36706 $as_test_x conftest
$ac_exeext; then
36707 wx_cv_func_cxa_demangle
=yes
36709 echo "$as_me: failed program was:" >&5
36710 sed 's/^/| /' conftest.
$ac_ext >&5
36712 wx_cv_func_cxa_demangle
=no
36716 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36717 conftest
$ac_exeext conftest.
$ac_ext
36719 ac_cpp
='$CPP $CPPFLAGS'
36720 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36721 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36722 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36727 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36728 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36730 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36731 cat >>confdefs.h
<<\_ACEOF
36732 #define HAVE_CXA_DEMANGLE 1
36739 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36740 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36741 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36742 wxUSE_STACKWALKER
=no
36748 for ac_func
in mkstemp mktemp
36750 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36751 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36753 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36754 echo $ECHO_N "(cached) $ECHO_C" >&6
36756 cat >conftest.
$ac_ext <<_ACEOF
36759 cat confdefs.h
>>conftest.
$ac_ext
36760 cat >>conftest.
$ac_ext <<_ACEOF
36761 /* end confdefs.h. */
36762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36764 #define $ac_func innocuous_$ac_func
36766 /* System header to define __stub macros and hopefully few prototypes,
36767 which can conflict with char $ac_func (); below.
36768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36769 <limits.h> exists even on freestanding compilers. */
36772 # include <limits.h>
36774 # include <assert.h>
36779 /* Override any GCC internal prototype to avoid an error.
36780 Use char because int might match the return type of a GCC
36781 builtin and then its argument prototype would still apply. */
36786 /* The GNU C library defines this for functions which it implements
36787 to always fail with ENOSYS. Some functions are actually named
36788 something starting with __ and the normal name is an alias. */
36789 #if defined __stub_$ac_func || defined __stub___$ac_func
36796 return $ac_func ();
36801 rm -f conftest.
$ac_objext conftest
$ac_exeext
36802 if { (ac_try
="$ac_link"
36803 case "(($ac_try" in
36804 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36805 *) ac_try_echo=$ac_try;;
36807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36808 (eval "$ac_link") 2>conftest.er1
36810 grep -v '^ *+' conftest.er1 >conftest.err
36812 cat conftest.err >&5
36813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36814 (exit $ac_status); } && {
36815 test -z "$ac_c_werror_flag" ||
36816 test ! -s conftest.err
36817 } && test -s conftest$ac_exeext &&
36818 $as_test_x conftest$ac_exeext; then
36819 eval "$as_ac_var=yes"
36821 echo "$as_me: failed program was:" >&5
36822 sed 's/^/| /' conftest.$ac_ext >&5
36824 eval "$as_ac_var=no"
36827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36828 conftest$ac_exeext conftest.$ac_ext
36830 ac_res=`eval echo '${'$as_ac_var'}'`
36831 { echo "$as_me:$LINENO: result: $ac_res" >&5
36832 echo "${ECHO_T}$ac_res" >&6; }
36833 if test `eval echo '${'$as_ac_var'}'` = yes; then
36834 cat >>confdefs.h <<_ACEOF
36835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36842 { echo "$as_me:$LINENO: checking for statfs" >&5
36843 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36844 if test "${wx_cv_func_statfs+set}" = set; then
36845 echo $ECHO_N "(cached) $ECHO_C" >&6
36847 cat >conftest.$ac_ext <<_ACEOF
36850 cat confdefs.h >>conftest.$ac_ext
36851 cat >>conftest.$ac_ext <<_ACEOF
36852 /* end confdefs.h. */
36854 #if defined(__BSD__)
36855 #include <sys/param.h>
36856 #include <sys/mount.h>
36858 #include <sys/vfs.h>
36876 rm -f conftest.$ac_objext
36877 if { (ac_try="$ac_compile"
36878 case "(($ac_try" in
36879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36880 *) ac_try_echo
=$ac_try;;
36882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36883 (eval "$ac_compile") 2>conftest.er1
36885 grep -v '^ *+' conftest.er1
>conftest.err
36887 cat conftest.err
>&5
36888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36889 (exit $ac_status); } && {
36890 test -z "$ac_c_werror_flag" ||
36891 test ! -s conftest.err
36892 } && test -s conftest.
$ac_objext; then
36893 wx_cv_func_statfs
=yes
36895 echo "$as_me: failed program was:" >&5
36896 sed 's/^/| /' conftest.
$ac_ext >&5
36898 wx_cv_func_statfs
=no
36902 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36905 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36906 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36908 if test "$wx_cv_func_statfs" = "yes"; then
36909 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36910 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36911 if test "${wx_cv_func_statfs_decl+set}" = set; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36915 ac_cpp
='$CXXCPP $CPPFLAGS'
36916 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36917 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36918 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36920 cat >conftest.
$ac_ext <<_ACEOF
36923 cat confdefs.h
>>conftest.
$ac_ext
36924 cat >>conftest.
$ac_ext <<_ACEOF
36925 /* end confdefs.h. */
36927 #if defined(__BSD__)
36928 #include <sys/param.h>
36929 #include <sys/mount.h>
36931 #include <sys/vfs.h>
36945 rm -f conftest.
$ac_objext
36946 if { (ac_try
="$ac_compile"
36947 case "(($ac_try" in
36948 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36949 *) ac_try_echo=$ac_try;;
36951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36952 (eval "$ac_compile") 2>conftest.er1
36954 grep -v '^ *+' conftest.er1 >conftest.err
36956 cat conftest.err >&5
36957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36958 (exit $ac_status); } && {
36959 test -z "$ac_cxx_werror_flag" ||
36960 test ! -s conftest.err
36961 } && test -s conftest.$ac_objext; then
36962 wx_cv_func_statfs_decl=yes
36964 echo "$as_me: failed program was:" >&5
36965 sed 's/^/| /' conftest.$ac_ext >&5
36967 wx_cv_func_statfs_decl=no
36971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36973 ac_cpp='$CPP $CPPFLAGS'
36974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36980 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36981 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36983 if test "$wx_cv_func_statfs_decl" = "yes"; then
36984 cat >>confdefs.h <<\_ACEOF
36985 #define HAVE_STATFS_DECL 1
36990 wx_cv_type_statvfs_t="struct statfs"
36991 cat >>confdefs.h <<\_ACEOF
36992 #define HAVE_STATFS 1
36996 { echo "$as_me:$LINENO: checking for statvfs" >&5
36997 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36998 if test "${wx_cv_func_statvfs+set}" = set; then
36999 echo $ECHO_N "(cached) $ECHO_C" >&6
37001 cat >conftest.$ac_ext <<_ACEOF
37004 cat confdefs.h >>conftest.$ac_ext
37005 cat >>conftest.$ac_ext <<_ACEOF
37006 /* end confdefs.h. */
37008 #include <stddef.h>
37009 #include <sys/statvfs.h>
37015 statvfs("/", NULL);
37021 rm -f conftest.$ac_objext
37022 if { (ac_try="$ac_compile"
37023 case "(($ac_try" in
37024 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37025 *) ac_try_echo
=$ac_try;;
37027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37028 (eval "$ac_compile") 2>conftest.er1
37030 grep -v '^ *+' conftest.er1
>conftest.err
37032 cat conftest.err
>&5
37033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37034 (exit $ac_status); } && {
37035 test -z "$ac_c_werror_flag" ||
37036 test ! -s conftest.err
37037 } && test -s conftest.
$ac_objext; then
37038 wx_cv_func_statvfs
=yes
37040 echo "$as_me: failed program was:" >&5
37041 sed 's/^/| /' conftest.
$ac_ext >&5
37043 wx_cv_func_statvfs
=no
37047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37050 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37051 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37053 if test "$wx_cv_func_statvfs" = "yes"; then
37054 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37055 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37056 if test "${wx_cv_type_statvfs_t+set}" = set; then
37057 echo $ECHO_N "(cached) $ECHO_C" >&6
37060 ac_cpp
='$CXXCPP $CPPFLAGS'
37061 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37062 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37063 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37065 cat >conftest.
$ac_ext <<_ACEOF
37068 cat confdefs.h
>>conftest.
$ac_ext
37069 cat >>conftest.
$ac_ext <<_ACEOF
37070 /* end confdefs.h. */
37072 #include <sys/statvfs.h>
37089 rm -f conftest.
$ac_objext
37090 if { (ac_try
="$ac_compile"
37091 case "(($ac_try" in
37092 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37093 *) ac_try_echo=$ac_try;;
37095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37096 (eval "$ac_compile") 2>conftest.er1
37098 grep -v '^ *+' conftest.er1 >conftest.err
37100 cat conftest.err >&5
37101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37102 (exit $ac_status); } && {
37103 test -z "$ac_cxx_werror_flag" ||
37104 test ! -s conftest.err
37105 } && test -s conftest.$ac_objext; then
37106 wx_cv_type_statvfs_t=statvfs_t
37108 echo "$as_me: failed program was:" >&5
37109 sed 's/^/| /' conftest.$ac_ext >&5
37112 cat >conftest.$ac_ext <<_ACEOF
37115 cat confdefs.h >>conftest.$ac_ext
37116 cat >>conftest.$ac_ext <<_ACEOF
37117 /* end confdefs.h. */
37119 #include <sys/statvfs.h>
37136 rm -f conftest.$ac_objext
37137 if { (ac_try="$ac_compile"
37138 case "(($ac_try" in
37139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37140 *) ac_try_echo
=$ac_try;;
37142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37143 (eval "$ac_compile") 2>conftest.er1
37145 grep -v '^ *+' conftest.er1
>conftest.err
37147 cat conftest.err
>&5
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); } && {
37150 test -z "$ac_cxx_werror_flag" ||
37151 test ! -s conftest.err
37152 } && test -s conftest.
$ac_objext; then
37153 wx_cv_type_statvfs_t
="struct statvfs"
37155 echo "$as_me: failed program was:" >&5
37156 sed 's/^/| /' conftest.
$ac_ext >&5
37158 wx_cv_type_statvfs_t
="unknown"
37162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37169 ac_cpp
='$CPP $CPPFLAGS'
37170 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37171 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37172 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37176 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37177 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37179 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37180 cat >>confdefs.h
<<\_ACEOF
37181 #define HAVE_STATVFS 1
37186 wx_cv_type_statvfs_t
="unknown"
37190 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37191 cat >>confdefs.h
<<_ACEOF
37192 #define WX_STATFS_T $wx_cv_type_statvfs_t
37196 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37197 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37200 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37203 for ac_func
in fcntl flock
37205 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37206 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37208 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37209 echo $ECHO_N "(cached) $ECHO_C" >&6
37211 cat >conftest.
$ac_ext <<_ACEOF
37214 cat confdefs.h
>>conftest.
$ac_ext
37215 cat >>conftest.
$ac_ext <<_ACEOF
37216 /* end confdefs.h. */
37217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37219 #define $ac_func innocuous_$ac_func
37221 /* System header to define __stub macros and hopefully few prototypes,
37222 which can conflict with char $ac_func (); below.
37223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37224 <limits.h> exists even on freestanding compilers. */
37227 # include <limits.h>
37229 # include <assert.h>
37234 /* Override any GCC internal prototype to avoid an error.
37235 Use char because int might match the return type of a GCC
37236 builtin and then its argument prototype would still apply. */
37241 /* The GNU C library defines this for functions which it implements
37242 to always fail with ENOSYS. Some functions are actually named
37243 something starting with __ and the normal name is an alias. */
37244 #if defined __stub_$ac_func || defined __stub___$ac_func
37251 return $ac_func ();
37256 rm -f conftest.
$ac_objext conftest
$ac_exeext
37257 if { (ac_try
="$ac_link"
37258 case "(($ac_try" in
37259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37260 *) ac_try_echo=$ac_try;;
37262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37263 (eval "$ac_link") 2>conftest.er1
37265 grep -v '^ *+' conftest.er1 >conftest.err
37267 cat conftest.err >&5
37268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37269 (exit $ac_status); } && {
37270 test -z "$ac_c_werror_flag" ||
37271 test ! -s conftest.err
37272 } && test -s conftest$ac_exeext &&
37273 $as_test_x conftest$ac_exeext; then
37274 eval "$as_ac_var=yes"
37276 echo "$as_me: failed program was:" >&5
37277 sed 's/^/| /' conftest.$ac_ext >&5
37279 eval "$as_ac_var=no"
37282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37283 conftest$ac_exeext conftest.$ac_ext
37285 ac_res=`eval echo '${'$as_ac_var'}'`
37286 { echo "$as_me:$LINENO: result: $ac_res" >&5
37287 echo "${ECHO_T}$ac_res" >&6; }
37288 if test `eval echo '${'$as_ac_var'}'` = yes; then
37289 cat >>confdefs.h <<_ACEOF
37290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37297 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37298 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37299 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37300 wxUSE_SNGLINST_CHECKER=no
37306 for ac_func in setenv putenv
37308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37309 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37311 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37312 echo $ECHO_N "(cached) $ECHO_C" >&6
37314 cat >conftest.$ac_ext <<_ACEOF
37317 cat confdefs.h >>conftest.$ac_ext
37318 cat >>conftest.$ac_ext <<_ACEOF
37319 /* end confdefs.h. */
37320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37322 #define $ac_func innocuous_$ac_func
37324 /* System header to define __stub macros and hopefully few prototypes,
37325 which can conflict with char $ac_func (); below.
37326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37327 <limits.h> exists even on freestanding compilers. */
37330 # include <limits.h>
37332 # include <assert.h>
37337 /* Override any GCC internal prototype to avoid an error.
37338 Use char because int might match the return type of a GCC
37339 builtin and then its argument prototype would still apply. */
37344 /* The GNU C library defines this for functions which it implements
37345 to always fail with ENOSYS. Some functions are actually named
37346 something starting with __ and the normal name is an alias. */
37347 #if defined __stub_$ac_func || defined __stub___$ac_func
37354 return $ac_func ();
37359 rm -f conftest.$ac_objext conftest$ac_exeext
37360 if { (ac_try="$ac_link"
37361 case "(($ac_try" in
37362 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37363 *) ac_try_echo
=$ac_try;;
37365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37366 (eval "$ac_link") 2>conftest.er1
37368 grep -v '^ *+' conftest.er1
>conftest.err
37370 cat conftest.err
>&5
37371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372 (exit $ac_status); } && {
37373 test -z "$ac_c_werror_flag" ||
37374 test ! -s conftest.err
37375 } && test -s conftest
$ac_exeext &&
37376 $as_test_x conftest
$ac_exeext; then
37377 eval "$as_ac_var=yes"
37379 echo "$as_me: failed program was:" >&5
37380 sed 's/^/| /' conftest.
$ac_ext >&5
37382 eval "$as_ac_var=no"
37385 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37386 conftest
$ac_exeext conftest.
$ac_ext
37388 ac_res
=`eval echo '${'$as_ac_var'}'`
37389 { echo "$as_me:$LINENO: result: $ac_res" >&5
37390 echo "${ECHO_T}$ac_res" >&6; }
37391 if test `eval echo '${'$as_ac_var'}'` = yes; then
37392 cat >>confdefs.h
<<_ACEOF
37393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37399 if test "$ac_cv_func_setenv" = "yes"; then
37401 for ac_func
in unsetenv
37403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37404 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37406 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37407 echo $ECHO_N "(cached) $ECHO_C" >&6
37409 cat >conftest.
$ac_ext <<_ACEOF
37412 cat confdefs.h
>>conftest.
$ac_ext
37413 cat >>conftest.
$ac_ext <<_ACEOF
37414 /* end confdefs.h. */
37415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37417 #define $ac_func innocuous_$ac_func
37419 /* System header to define __stub macros and hopefully few prototypes,
37420 which can conflict with char $ac_func (); below.
37421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37422 <limits.h> exists even on freestanding compilers. */
37425 # include <limits.h>
37427 # include <assert.h>
37432 /* Override any GCC internal prototype to avoid an error.
37433 Use char because int might match the return type of a GCC
37434 builtin and then its argument prototype would still apply. */
37439 /* The GNU C library defines this for functions which it implements
37440 to always fail with ENOSYS. Some functions are actually named
37441 something starting with __ and the normal name is an alias. */
37442 #if defined __stub_$ac_func || defined __stub___$ac_func
37449 return $ac_func ();
37454 rm -f conftest.
$ac_objext conftest
$ac_exeext
37455 if { (ac_try
="$ac_link"
37456 case "(($ac_try" in
37457 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37458 *) ac_try_echo=$ac_try;;
37460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37461 (eval "$ac_link") 2>conftest.er1
37463 grep -v '^ *+' conftest.er1 >conftest.err
37465 cat conftest.err >&5
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); } && {
37468 test -z "$ac_c_werror_flag" ||
37469 test ! -s conftest.err
37470 } && test -s conftest$ac_exeext &&
37471 $as_test_x conftest$ac_exeext; then
37472 eval "$as_ac_var=yes"
37474 echo "$as_me: failed program was:" >&5
37475 sed 's/^/| /' conftest.$ac_ext >&5
37477 eval "$as_ac_var=no"
37480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37481 conftest$ac_exeext conftest.$ac_ext
37483 ac_res=`eval echo '${'$as_ac_var'}'`
37484 { echo "$as_me:$LINENO: result: $ac_res" >&5
37485 echo "${ECHO_T}$ac_res" >&6; }
37486 if test `eval echo '${'$as_ac_var'}'` = yes; then
37487 cat >>confdefs.h <<_ACEOF
37488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37496 HAVE_SOME_SLEEP_FUNC=0
37497 if test "$USE_BEOS" = 1; then
37498 cat >>confdefs.h <<\_ACEOF
37499 #define HAVE_SLEEP 1
37502 HAVE_SOME_SLEEP_FUNC=1
37505 if test "$USE_DARWIN" = 1; then
37506 cat >>confdefs.h <<\_ACEOF
37507 #define HAVE_USLEEP 1
37510 HAVE_SOME_SLEEP_FUNC=1
37513 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37516 for ac_func in nanosleep
37518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37519 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37521 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37522 echo $ECHO_N "(cached) $ECHO_C" >&6
37524 cat >conftest.$ac_ext <<_ACEOF
37527 cat confdefs.h >>conftest.$ac_ext
37528 cat >>conftest.$ac_ext <<_ACEOF
37529 /* end confdefs.h. */
37530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37532 #define $ac_func innocuous_$ac_func
37534 /* System header to define __stub macros and hopefully few prototypes,
37535 which can conflict with char $ac_func (); below.
37536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37537 <limits.h> exists even on freestanding compilers. */
37540 # include <limits.h>
37542 # include <assert.h>
37547 /* Override any GCC internal prototype to avoid an error.
37548 Use char because int might match the return type of a GCC
37549 builtin and then its argument prototype would still apply. */
37554 /* The GNU C library defines this for functions which it implements
37555 to always fail with ENOSYS. Some functions are actually named
37556 something starting with __ and the normal name is an alias. */
37557 #if defined __stub_$ac_func || defined __stub___$ac_func
37564 return $ac_func ();
37569 rm -f conftest.$ac_objext conftest$ac_exeext
37570 if { (ac_try="$ac_link"
37571 case "(($ac_try" in
37572 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37573 *) ac_try_echo
=$ac_try;;
37575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37576 (eval "$ac_link") 2>conftest.er1
37578 grep -v '^ *+' conftest.er1
>conftest.err
37580 cat conftest.err
>&5
37581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582 (exit $ac_status); } && {
37583 test -z "$ac_c_werror_flag" ||
37584 test ! -s conftest.err
37585 } && test -s conftest
$ac_exeext &&
37586 $as_test_x conftest
$ac_exeext; then
37587 eval "$as_ac_var=yes"
37589 echo "$as_me: failed program was:" >&5
37590 sed 's/^/| /' conftest.
$ac_ext >&5
37592 eval "$as_ac_var=no"
37595 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37596 conftest
$ac_exeext conftest.
$ac_ext
37598 ac_res
=`eval echo '${'$as_ac_var'}'`
37599 { echo "$as_me:$LINENO: result: $ac_res" >&5
37600 echo "${ECHO_T}$ac_res" >&6; }
37601 if test `eval echo '${'$as_ac_var'}'` = yes; then
37602 cat >>confdefs.h
<<_ACEOF
37603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37605 cat >>confdefs.h
<<\_ACEOF
37606 #define HAVE_NANOSLEEP 1
37611 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37612 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37613 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37614 echo $ECHO_N "(cached) $ECHO_C" >&6
37616 ac_check_lib_save_LIBS
=$LIBS
37617 LIBS
="-lposix4 $LIBS"
37618 cat >conftest.
$ac_ext <<_ACEOF
37621 cat confdefs.h
>>conftest.
$ac_ext
37622 cat >>conftest.
$ac_ext <<_ACEOF
37623 /* end confdefs.h. */
37625 /* Override any GCC internal prototype to avoid an error.
37626 Use char because int might match the return type of a GCC
37627 builtin and then its argument prototype would still apply. */
37635 return nanosleep ();
37640 rm -f conftest.
$ac_objext conftest
$ac_exeext
37641 if { (ac_try
="$ac_link"
37642 case "(($ac_try" in
37643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37644 *) ac_try_echo=$ac_try;;
37646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37647 (eval "$ac_link") 2>conftest.er1
37649 grep -v '^ *+' conftest.er1 >conftest.err
37651 cat conftest.err >&5
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); } && {
37654 test -z "$ac_c_werror_flag" ||
37655 test ! -s conftest.err
37656 } && test -s conftest$ac_exeext &&
37657 $as_test_x conftest$ac_exeext; then
37658 ac_cv_lib_posix4_nanosleep=yes
37660 echo "$as_me: failed program was:" >&5
37661 sed 's/^/| /' conftest.$ac_ext >&5
37663 ac_cv_lib_posix4_nanosleep=no
37666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37667 conftest$ac_exeext conftest.$ac_ext
37668 LIBS=$ac_check_lib_save_LIBS
37670 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37671 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37672 if test $ac_cv_lib_posix4_nanosleep = yes; then
37674 cat >>confdefs.h <<\_ACEOF
37675 #define HAVE_NANOSLEEP 1
37678 POSIX4_LINK=" -lposix4"
37683 for wx_func in usleep
37685 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37686 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37687 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37688 echo $ECHO_N "(cached) $ECHO_C" >&6
37691 cat >conftest.$ac_ext <<_ACEOF
37695 cat confdefs.h >>conftest.$ac_ext
37696 cat >>conftest.$ac_ext <<_ACEOF
37697 /* end confdefs.h. */
37700 $ac_includes_default
37716 rm -f conftest.$ac_objext conftest$ac_exeext
37717 if { (ac_try="$ac_link"
37718 case "(($ac_try" in
37719 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37720 *) ac_try_echo
=$ac_try;;
37722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37723 (eval "$ac_link") 2>conftest.er1
37725 grep -v '^ *+' conftest.er1
>conftest.err
37727 cat conftest.err
>&5
37728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729 (exit $ac_status); } && {
37730 test -z "$ac_c_werror_flag" ||
37731 test ! -s conftest.err
37732 } && test -s conftest
$ac_exeext &&
37733 $as_test_x conftest
$ac_exeext; then
37734 eval wx_cv_func_
$wx_func=yes
37736 echo "$as_me: failed program was:" >&5
37737 sed 's/^/| /' conftest.
$ac_ext >&5
37739 eval wx_cv_func_
$wx_func=no
37742 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37743 conftest
$ac_exeext conftest.
$ac_ext
37746 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37747 { echo "$as_me:$LINENO: result: $ac_res" >&5
37748 echo "${ECHO_T}$ac_res" >&6; }
37750 if eval test \
$wx_cv_func_$wx_func = yes
37752 cat >>confdefs.h
<<_ACEOF
37753 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37759 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37760 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37777 for wx_func
in uname
37779 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37780 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37781 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37782 echo $ECHO_N "(cached) $ECHO_C" >&6
37785 cat >conftest.
$ac_ext <<_ACEOF
37789 cat confdefs.h
>>conftest.
$ac_ext
37790 cat >>conftest.
$ac_ext <<_ACEOF
37791 /* end confdefs.h. */
37793 #include <sys/utsname.h>
37794 $ac_includes_default
37810 rm -f conftest.
$ac_objext conftest
$ac_exeext
37811 if { (ac_try
="$ac_link"
37812 case "(($ac_try" in
37813 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37814 *) ac_try_echo=$ac_try;;
37816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37817 (eval "$ac_link") 2>conftest.er1
37819 grep -v '^ *+' conftest.er1 >conftest.err
37821 cat conftest.err >&5
37822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37823 (exit $ac_status); } && {
37824 test -z "$ac_c_werror_flag" ||
37825 test ! -s conftest.err
37826 } && test -s conftest$ac_exeext &&
37827 $as_test_x conftest$ac_exeext; then
37828 eval wx_cv_func_$wx_func=yes
37830 echo "$as_me: failed program was:" >&5
37831 sed 's/^/| /' conftest.$ac_ext >&5
37833 eval wx_cv_func_$wx_func=no
37836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37837 conftest$ac_exeext conftest.$ac_ext
37840 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37841 { echo "$as_me:$LINENO: result: $ac_res" >&5
37842 echo "${ECHO_T}$ac_res" >&6; }
37844 if eval test \$wx_cv_func_$wx_func = yes
37846 cat >>confdefs.h <<_ACEOF
37847 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37857 if test "$wx_cv_func_uname" != yes; then
37859 for wx_func in gethostname
37861 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37862 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37863 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37864 echo $ECHO_N "(cached) $ECHO_C" >&6
37867 cat >conftest.$ac_ext <<_ACEOF
37871 cat confdefs.h >>conftest.$ac_ext
37872 cat >>conftest.$ac_ext <<_ACEOF
37873 /* end confdefs.h. */
37876 $ac_includes_default
37892 rm -f conftest.$ac_objext conftest$ac_exeext
37893 if { (ac_try="$ac_link"
37894 case "(($ac_try" in
37895 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37896 *) ac_try_echo
=$ac_try;;
37898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37899 (eval "$ac_link") 2>conftest.er1
37901 grep -v '^ *+' conftest.er1
>conftest.err
37903 cat conftest.err
>&5
37904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37905 (exit $ac_status); } && {
37906 test -z "$ac_c_werror_flag" ||
37907 test ! -s conftest.err
37908 } && test -s conftest
$ac_exeext &&
37909 $as_test_x conftest
$ac_exeext; then
37910 eval wx_cv_func_
$wx_func=yes
37912 echo "$as_me: failed program was:" >&5
37913 sed 's/^/| /' conftest.
$ac_ext >&5
37915 eval wx_cv_func_
$wx_func=no
37918 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37919 conftest
$ac_exeext conftest.
$ac_ext
37922 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37923 { echo "$as_me:$LINENO: result: $ac_res" >&5
37924 echo "${ECHO_T}$ac_res" >&6; }
37926 if eval test \
$wx_cv_func_$wx_func = yes
37928 cat >>confdefs.h
<<_ACEOF
37929 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37942 for wx_func
in strtok_r
37944 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37945 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37946 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37947 echo $ECHO_N "(cached) $ECHO_C" >&6
37950 cat >conftest.
$ac_ext <<_ACEOF
37954 cat confdefs.h
>>conftest.
$ac_ext
37955 cat >>conftest.
$ac_ext <<_ACEOF
37956 /* end confdefs.h. */
37959 $ac_includes_default
37975 rm -f conftest.
$ac_objext conftest
$ac_exeext
37976 if { (ac_try
="$ac_link"
37977 case "(($ac_try" in
37978 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37979 *) ac_try_echo=$ac_try;;
37981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37982 (eval "$ac_link") 2>conftest.er1
37984 grep -v '^ *+' conftest.er1 >conftest.err
37986 cat conftest.err >&5
37987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37988 (exit $ac_status); } && {
37989 test -z "$ac_c_werror_flag" ||
37990 test ! -s conftest.err
37991 } && test -s conftest$ac_exeext &&
37992 $as_test_x conftest$ac_exeext; then
37993 eval wx_cv_func_$wx_func=yes
37995 echo "$as_me: failed program was:" >&5
37996 sed 's/^/| /' conftest.$ac_ext >&5
37998 eval wx_cv_func_$wx_func=no
38001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38002 conftest$ac_exeext conftest.$ac_ext
38005 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38006 { echo "$as_me:$LINENO: result: $ac_res" >&5
38007 echo "${ECHO_T}$ac_res" >&6; }
38009 if eval test \$wx_cv_func_$wx_func = yes
38011 cat >>confdefs.h <<_ACEOF
38012 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38025 for ac_func in inet_addr
38027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38028 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38030 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38031 echo $ECHO_N "(cached) $ECHO_C" >&6
38033 cat >conftest.$ac_ext <<_ACEOF
38036 cat confdefs.h >>conftest.$ac_ext
38037 cat >>conftest.$ac_ext <<_ACEOF
38038 /* end confdefs.h. */
38039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38041 #define $ac_func innocuous_$ac_func
38043 /* System header to define __stub macros and hopefully few prototypes,
38044 which can conflict with char $ac_func (); below.
38045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38046 <limits.h> exists even on freestanding compilers. */
38049 # include <limits.h>
38051 # include <assert.h>
38056 /* Override any GCC internal prototype to avoid an error.
38057 Use char because int might match the return type of a GCC
38058 builtin and then its argument prototype would still apply. */
38063 /* The GNU C library defines this for functions which it implements
38064 to always fail with ENOSYS. Some functions are actually named
38065 something starting with __ and the normal name is an alias. */
38066 #if defined __stub_$ac_func || defined __stub___$ac_func
38073 return $ac_func ();
38078 rm -f conftest.$ac_objext conftest$ac_exeext
38079 if { (ac_try="$ac_link"
38080 case "(($ac_try" in
38081 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38082 *) ac_try_echo
=$ac_try;;
38084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38085 (eval "$ac_link") 2>conftest.er1
38087 grep -v '^ *+' conftest.er1
>conftest.err
38089 cat conftest.err
>&5
38090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38091 (exit $ac_status); } && {
38092 test -z "$ac_c_werror_flag" ||
38093 test ! -s conftest.err
38094 } && test -s conftest
$ac_exeext &&
38095 $as_test_x conftest
$ac_exeext; then
38096 eval "$as_ac_var=yes"
38098 echo "$as_me: failed program was:" >&5
38099 sed 's/^/| /' conftest.
$ac_ext >&5
38101 eval "$as_ac_var=no"
38104 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38105 conftest
$ac_exeext conftest.
$ac_ext
38107 ac_res
=`eval echo '${'$as_ac_var'}'`
38108 { echo "$as_me:$LINENO: result: $ac_res" >&5
38109 echo "${ECHO_T}$ac_res" >&6; }
38110 if test `eval echo '${'$as_ac_var'}'` = yes; then
38111 cat >>confdefs.h
<<_ACEOF
38112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38114 cat >>confdefs.h
<<\_ACEOF
38115 #define HAVE_INET_ADDR 1
38120 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38121 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38122 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38123 echo $ECHO_N "(cached) $ECHO_C" >&6
38125 ac_check_lib_save_LIBS
=$LIBS
38127 cat >conftest.
$ac_ext <<_ACEOF
38130 cat confdefs.h
>>conftest.
$ac_ext
38131 cat >>conftest.
$ac_ext <<_ACEOF
38132 /* end confdefs.h. */
38134 /* Override any GCC internal prototype to avoid an error.
38135 Use char because int might match the return type of a GCC
38136 builtin and then its argument prototype would still apply. */
38144 return inet_addr ();
38149 rm -f conftest.
$ac_objext conftest
$ac_exeext
38150 if { (ac_try
="$ac_link"
38151 case "(($ac_try" in
38152 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38153 *) ac_try_echo=$ac_try;;
38155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38156 (eval "$ac_link") 2>conftest.er1
38158 grep -v '^ *+' conftest.er1 >conftest.err
38160 cat conftest.err >&5
38161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38162 (exit $ac_status); } && {
38163 test -z "$ac_c_werror_flag" ||
38164 test ! -s conftest.err
38165 } && test -s conftest$ac_exeext &&
38166 $as_test_x conftest$ac_exeext; then
38167 ac_cv_lib_nsl_inet_addr=yes
38169 echo "$as_me: failed program was:" >&5
38170 sed 's/^/| /' conftest.$ac_ext >&5
38172 ac_cv_lib_nsl_inet_addr=no
38175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38176 conftest$ac_exeext conftest.$ac_ext
38177 LIBS=$ac_check_lib_save_LIBS
38179 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38180 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38181 if test $ac_cv_lib_nsl_inet_addr = yes; then
38185 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38186 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38187 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38188 echo $ECHO_N "(cached) $ECHO_C" >&6
38190 ac_check_lib_save_LIBS=$LIBS
38191 LIBS="-lresolv $LIBS"
38192 cat >conftest.$ac_ext <<_ACEOF
38195 cat confdefs.h >>conftest.$ac_ext
38196 cat >>conftest.$ac_ext <<_ACEOF
38197 /* end confdefs.h. */
38199 /* Override any GCC internal prototype to avoid an error.
38200 Use char because int might match the return type of a GCC
38201 builtin and then its argument prototype would still apply. */
38209 return inet_addr ();
38214 rm -f conftest.$ac_objext conftest$ac_exeext
38215 if { (ac_try="$ac_link"
38216 case "(($ac_try" in
38217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38218 *) ac_try_echo
=$ac_try;;
38220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38221 (eval "$ac_link") 2>conftest.er1
38223 grep -v '^ *+' conftest.er1
>conftest.err
38225 cat conftest.err
>&5
38226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38227 (exit $ac_status); } && {
38228 test -z "$ac_c_werror_flag" ||
38229 test ! -s conftest.err
38230 } && test -s conftest
$ac_exeext &&
38231 $as_test_x conftest
$ac_exeext; then
38232 ac_cv_lib_resolv_inet_addr
=yes
38234 echo "$as_me: failed program was:" >&5
38235 sed 's/^/| /' conftest.
$ac_ext >&5
38237 ac_cv_lib_resolv_inet_addr
=no
38240 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38241 conftest
$ac_exeext conftest.
$ac_ext
38242 LIBS
=$ac_check_lib_save_LIBS
38244 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38245 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38246 if test $ac_cv_lib_resolv_inet_addr = yes; then
38250 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38251 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38252 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38253 echo $ECHO_N "(cached) $ECHO_C" >&6
38255 ac_check_lib_save_LIBS
=$LIBS
38256 LIBS
="-lsocket $LIBS"
38257 cat >conftest.
$ac_ext <<_ACEOF
38260 cat confdefs.h
>>conftest.
$ac_ext
38261 cat >>conftest.
$ac_ext <<_ACEOF
38262 /* end confdefs.h. */
38264 /* Override any GCC internal prototype to avoid an error.
38265 Use char because int might match the return type of a GCC
38266 builtin and then its argument prototype would still apply. */
38274 return inet_addr ();
38279 rm -f conftest.
$ac_objext conftest
$ac_exeext
38280 if { (ac_try
="$ac_link"
38281 case "(($ac_try" in
38282 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38283 *) ac_try_echo=$ac_try;;
38285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38286 (eval "$ac_link") 2>conftest.er1
38288 grep -v '^ *+' conftest.er1 >conftest.err
38290 cat conftest.err >&5
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); } && {
38293 test -z "$ac_c_werror_flag" ||
38294 test ! -s conftest.err
38295 } && test -s conftest$ac_exeext &&
38296 $as_test_x conftest$ac_exeext; then
38297 ac_cv_lib_socket_inet_addr=yes
38299 echo "$as_me: failed program was:" >&5
38300 sed 's/^/| /' conftest.$ac_ext >&5
38302 ac_cv_lib_socket_inet_addr=no
38305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38306 conftest$ac_exeext conftest.$ac_ext
38307 LIBS=$ac_check_lib_save_LIBS
38309 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38310 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38311 if test $ac_cv_lib_socket_inet_addr = yes; then
38331 for ac_func in inet_aton
38333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38334 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38336 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38337 echo $ECHO_N "(cached) $ECHO_C" >&6
38339 cat >conftest.$ac_ext <<_ACEOF
38342 cat confdefs.h >>conftest.$ac_ext
38343 cat >>conftest.$ac_ext <<_ACEOF
38344 /* end confdefs.h. */
38345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38347 #define $ac_func innocuous_$ac_func
38349 /* System header to define __stub macros and hopefully few prototypes,
38350 which can conflict with char $ac_func (); below.
38351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38352 <limits.h> exists even on freestanding compilers. */
38355 # include <limits.h>
38357 # include <assert.h>
38362 /* Override any GCC internal prototype to avoid an error.
38363 Use char because int might match the return type of a GCC
38364 builtin and then its argument prototype would still apply. */
38369 /* The GNU C library defines this for functions which it implements
38370 to always fail with ENOSYS. Some functions are actually named
38371 something starting with __ and the normal name is an alias. */
38372 #if defined __stub_$ac_func || defined __stub___$ac_func
38379 return $ac_func ();
38384 rm -f conftest.$ac_objext conftest$ac_exeext
38385 if { (ac_try="$ac_link"
38386 case "(($ac_try" in
38387 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38388 *) ac_try_echo
=$ac_try;;
38390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38391 (eval "$ac_link") 2>conftest.er1
38393 grep -v '^ *+' conftest.er1
>conftest.err
38395 cat conftest.err
>&5
38396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38397 (exit $ac_status); } && {
38398 test -z "$ac_c_werror_flag" ||
38399 test ! -s conftest.err
38400 } && test -s conftest
$ac_exeext &&
38401 $as_test_x conftest
$ac_exeext; then
38402 eval "$as_ac_var=yes"
38404 echo "$as_me: failed program was:" >&5
38405 sed 's/^/| /' conftest.
$ac_ext >&5
38407 eval "$as_ac_var=no"
38410 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38411 conftest
$ac_exeext conftest.
$ac_ext
38413 ac_res
=`eval echo '${'$as_ac_var'}'`
38414 { echo "$as_me:$LINENO: result: $ac_res" >&5
38415 echo "${ECHO_T}$ac_res" >&6; }
38416 if test `eval echo '${'$as_ac_var'}'` = yes; then
38417 cat >>confdefs.h
<<_ACEOF
38418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38420 cat >>confdefs.h
<<\_ACEOF
38421 #define HAVE_INET_ATON 1
38426 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38427 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38428 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38429 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38430 echo $ECHO_N "(cached) $ECHO_C" >&6
38432 ac_check_lib_save_LIBS
=$LIBS
38433 LIBS
="-l$INET_LINK $LIBS"
38434 cat >conftest.
$ac_ext <<_ACEOF
38437 cat confdefs.h
>>conftest.
$ac_ext
38438 cat >>conftest.
$ac_ext <<_ACEOF
38439 /* end confdefs.h. */
38441 /* Override any GCC internal prototype to avoid an error.
38442 Use char because int might match the return type of a GCC
38443 builtin and then its argument prototype would still apply. */
38451 return inet_aton ();
38456 rm -f conftest.
$ac_objext conftest
$ac_exeext
38457 if { (ac_try
="$ac_link"
38458 case "(($ac_try" in
38459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38460 *) ac_try_echo=$ac_try;;
38462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38463 (eval "$ac_link") 2>conftest.er1
38465 grep -v '^ *+' conftest.er1 >conftest.err
38467 cat conftest.err >&5
38468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38469 (exit $ac_status); } && {
38470 test -z "$ac_c_werror_flag" ||
38471 test ! -s conftest.err
38472 } && test -s conftest$ac_exeext &&
38473 $as_test_x conftest$ac_exeext; then
38474 eval "$as_ac_Lib=yes"
38476 echo "$as_me: failed program was:" >&5
38477 sed 's/^/| /' conftest.$ac_ext >&5
38479 eval "$as_ac_Lib=no"
38482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38483 conftest$ac_exeext conftest.$ac_ext
38484 LIBS=$ac_check_lib_save_LIBS
38486 ac_res=`eval echo '${'$as_ac_Lib'}'`
38487 { echo "$as_me:$LINENO: result: $ac_res" >&5
38488 echo "${ECHO_T}$ac_res" >&6; }
38489 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38490 cat >>confdefs.h <<\_ACEOF
38491 #define HAVE_INET_ATON 1
38501 if test "x$INET_LINK" != "x"; then
38502 cat >>confdefs.h <<\_ACEOF
38503 #define HAVE_INET_ADDR 1
38506 INET_LINK=" -l$INET_LINK"
38510 for wx_func in fdopen
38512 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38513 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38514 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38515 echo $ECHO_N "(cached) $ECHO_C" >&6
38518 cat >conftest.$ac_ext <<_ACEOF
38522 cat confdefs.h >>conftest.$ac_ext
38523 cat >>conftest.$ac_ext <<_ACEOF
38524 /* end confdefs.h. */
38527 $ac_includes_default
38543 rm -f conftest.$ac_objext conftest$ac_exeext
38544 if { (ac_try="$ac_link"
38545 case "(($ac_try" in
38546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38547 *) ac_try_echo
=$ac_try;;
38549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38550 (eval "$ac_link") 2>conftest.er1
38552 grep -v '^ *+' conftest.er1
>conftest.err
38554 cat conftest.err
>&5
38555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38556 (exit $ac_status); } && {
38557 test -z "$ac_c_werror_flag" ||
38558 test ! -s conftest.err
38559 } && test -s conftest
$ac_exeext &&
38560 $as_test_x conftest
$ac_exeext; then
38561 eval wx_cv_func_
$wx_func=yes
38563 echo "$as_me: failed program was:" >&5
38564 sed 's/^/| /' conftest.
$ac_ext >&5
38566 eval wx_cv_func_
$wx_func=no
38569 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38570 conftest
$ac_exeext conftest.
$ac_ext
38573 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38574 { echo "$as_me:$LINENO: result: $ac_res" >&5
38575 echo "${ECHO_T}$ac_res" >&6; }
38577 if eval test \
$wx_cv_func_$wx_func = yes
38579 cat >>confdefs.h
<<_ACEOF
38580 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38591 if test "$wxUSE_TARSTREAM" = "yes"; then
38593 for wx_func
in sysconf
38595 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38596 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38597 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38598 echo $ECHO_N "(cached) $ECHO_C" >&6
38601 cat >conftest.
$ac_ext <<_ACEOF
38605 cat confdefs.h
>>conftest.
$ac_ext
38606 cat >>conftest.
$ac_ext <<_ACEOF
38607 /* end confdefs.h. */
38610 $ac_includes_default
38626 rm -f conftest.
$ac_objext conftest
$ac_exeext
38627 if { (ac_try
="$ac_link"
38628 case "(($ac_try" in
38629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38630 *) ac_try_echo=$ac_try;;
38632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38633 (eval "$ac_link") 2>conftest.er1
38635 grep -v '^ *+' conftest.er1 >conftest.err
38637 cat conftest.err >&5
38638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38639 (exit $ac_status); } && {
38640 test -z "$ac_c_werror_flag" ||
38641 test ! -s conftest.err
38642 } && test -s conftest$ac_exeext &&
38643 $as_test_x conftest$ac_exeext; then
38644 eval wx_cv_func_$wx_func=yes
38646 echo "$as_me: failed program was:" >&5
38647 sed 's/^/| /' conftest.$ac_ext >&5
38649 eval wx_cv_func_$wx_func=no
38652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38653 conftest$ac_exeext conftest.$ac_ext
38656 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38657 { echo "$as_me:$LINENO: result: $ac_res" >&5
38658 echo "${ECHO_T}$ac_res" >&6; }
38660 if eval test \$wx_cv_func_$wx_func = yes
38662 cat >>confdefs.h <<_ACEOF
38663 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38675 for wx_func in getpwuid_r
38677 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38678 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38679 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38680 echo $ECHO_N "(cached) $ECHO_C" >&6
38683 cat >conftest.$ac_ext <<_ACEOF
38687 cat confdefs.h >>conftest.$ac_ext
38688 cat >>conftest.$ac_ext <<_ACEOF
38689 /* end confdefs.h. */
38695 $ac_includes_default
38705 struct passwd pw, *ppw;
38707 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38715 rm -f conftest.$ac_objext conftest$ac_exeext
38716 if { (ac_try="$ac_link"
38717 case "(($ac_try" in
38718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38719 *) ac_try_echo
=$ac_try;;
38721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38722 (eval "$ac_link") 2>conftest.er1
38724 grep -v '^ *+' conftest.er1
>conftest.err
38726 cat conftest.err
>&5
38727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728 (exit $ac_status); } && {
38729 test -z "$ac_c_werror_flag" ||
38730 test ! -s conftest.err
38731 } && test -s conftest
$ac_exeext &&
38732 $as_test_x conftest
$ac_exeext; then
38733 eval wx_cv_func_
$wx_func=yes
38735 echo "$as_me: failed program was:" >&5
38736 sed 's/^/| /' conftest.
$ac_ext >&5
38738 eval wx_cv_func_
$wx_func=no
38741 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38742 conftest
$ac_exeext conftest.
$ac_ext
38745 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38746 { echo "$as_me:$LINENO: result: $ac_res" >&5
38747 echo "${ECHO_T}$ac_res" >&6; }
38749 if eval test \
$wx_cv_func_$wx_func = yes
38751 cat >>confdefs.h
<<_ACEOF
38752 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38764 for wx_func
in getgrgid_r
38766 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38767 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38768 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38769 echo $ECHO_N "(cached) $ECHO_C" >&6
38772 cat >conftest.
$ac_ext <<_ACEOF
38776 cat confdefs.h
>>conftest.
$ac_ext
38777 cat >>conftest.
$ac_ext <<_ACEOF
38778 /* end confdefs.h. */
38784 $ac_includes_default
38794 struct group grp, *pgrp;
38796 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38804 rm -f conftest.
$ac_objext conftest
$ac_exeext
38805 if { (ac_try
="$ac_link"
38806 case "(($ac_try" in
38807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38808 *) ac_try_echo=$ac_try;;
38810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38811 (eval "$ac_link") 2>conftest.er1
38813 grep -v '^ *+' conftest.er1 >conftest.err
38815 cat conftest.err >&5
38816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817 (exit $ac_status); } && {
38818 test -z "$ac_c_werror_flag" ||
38819 test ! -s conftest.err
38820 } && test -s conftest$ac_exeext &&
38821 $as_test_x conftest$ac_exeext; then
38822 eval wx_cv_func_$wx_func=yes
38824 echo "$as_me: failed program was:" >&5
38825 sed 's/^/| /' conftest.$ac_ext >&5
38827 eval wx_cv_func_$wx_func=no
38830 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38831 conftest$ac_exeext conftest.$ac_ext
38834 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38835 { echo "$as_me:$LINENO: result: $ac_res" >&5
38836 echo "${ECHO_T}$ac_res" >&6; }
38838 if eval test \$wx_cv_func_$wx_func = yes
38840 cat >>confdefs.h <<_ACEOF
38841 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38857 cat >confcache <<\_ACEOF
38858 # This file is a shell script that caches the results of configure
38859 # tests run on this system so they can be shared between configure
38860 # scripts and configure runs, see configure's option --config-cache.
38861 # It is not useful on other systems. If it contains results you don't
38862 # want to keep, you may remove or edit it.
38864 # config.status only pays attention to the cache file if you give it
38865 # the --recheck option to rerun configure.
38867 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38869 # following values.
38873 # The following way of writing the cache mishandles newlines in values,
38874 # but we know of no workaround that is simple, portable, and efficient.
38875 # So, we kill variables containing newlines.
38876 # Ultrix sh set writes to stderr and can't be redirected directly,
38877 # and sets the high bit in the cache file unless we assign to the vars.
38879 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38880 eval ac_val
=\$
$ac_var
38884 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38885 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38888 _
| IFS
| as_nl
) ;; #(
38889 *) $as_unset $ac_var ;;
38895 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38896 *${as_nl}ac_space
=\
*)
38897 # `set' does not quote correctly, so add quotes (double-quote
38898 # substitution turns \\\\ into \\, and sed turns \\ into \).
38901 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38904 # `set' quotes correctly as required by POSIX, so do not add quotes.
38905 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38914 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38916 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38918 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38919 if test -w "$cache_file"; then
38920 test "x$cache_file" != "x/dev/null" &&
38921 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38922 echo "$as_me: updating cache $cache_file" >&6;}
38923 cat confcache
>$cache_file
38925 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38926 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38932 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38938 if test "$wxUSE_THREADS" = "yes" ; then
38939 if test "$USE_BEOS" = 1; then
38940 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38941 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38946 if test "$wxUSE_THREADS" = "yes" ; then
38949 THREAD_OPTS
="-pthread"
38950 if test "x$SUNCXX" = xyes
; then
38951 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38955 *-*-solaris2* | *-*-sunos4* )
38956 if test "x$GCC" = "xyes"; then
38957 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38961 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38963 *-*-darwin* | *-*-cygwin* )
38967 THREAD_OPTS
="pthreads"
38970 if test "x$GCC" = "xyes"; then
38971 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38979 if test "x$GCC" = "xyes"; then
38985 if test "x$GCC" != "xyes"; then
38986 THREAD_OPTS
="-Ethread"
38991 THREAD_OPTS
="$THREAD_OPTS pthread none"
38994 for flag
in $THREAD_OPTS; do
38997 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38998 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39002 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39003 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39004 THREADS_CFLAGS
="$flag"
39008 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39009 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39010 THREADS_LINK
="-l$flag"
39015 save_CFLAGS
="$CFLAGS"
39016 LIBS
="$THREADS_LINK $LIBS"
39017 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39019 cat >conftest.
$ac_ext <<_ACEOF
39022 cat confdefs.h
>>conftest.
$ac_ext
39023 cat >>conftest.
$ac_ext <<_ACEOF
39024 /* end confdefs.h. */
39025 #include <pthread.h>
39029 pthread_create(0,0,0,0);
39034 rm -f conftest.
$ac_objext conftest
$ac_exeext
39035 if { (ac_try
="$ac_link"
39036 case "(($ac_try" in
39037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39038 *) ac_try_echo=$ac_try;;
39040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39041 (eval "$ac_link") 2>conftest.er1
39043 grep -v '^ *+' conftest.er1 >conftest.err
39045 cat conftest.err >&5
39046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39047 (exit $ac_status); } && {
39048 test -z "$ac_c_werror_flag" ||
39049 test ! -s conftest.err
39050 } && test -s conftest$ac_exeext &&
39051 $as_test_x conftest$ac_exeext; then
39054 echo "$as_me: failed program was:" >&5
39055 sed 's/^/| /' conftest.$ac_ext >&5
39060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39061 conftest$ac_exeext conftest.$ac_ext
39064 CFLAGS="$save_CFLAGS"
39066 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39067 echo "${ECHO_T}$THREADS_OK" >&6; }
39068 if test "x$THREADS_OK" = "xyes"; then
39076 if test "x$THREADS_OK" != "xyes"; then
39078 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39079 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39081 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39082 LIBS="$THREADS_LINK $LIBS"
39084 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39085 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39089 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39090 flag="-D_THREAD_SAFE"
39093 flag="-D_THREAD_SAFE"
39096 flag="-D_REENTRANT"
39097 if test "x$GCC" != "xyes"; then
39098 flag="$flag -D_RWSTD_MULTI_THREAD"
39101 *solaris* | alpha*-osf*)
39102 flag="-D_REENTRANT"
39105 { echo "$as_me:$LINENO: result: ${flag}" >&5
39106 echo "${ECHO_T}${flag}" >&6; }
39107 if test "x$flag" != xno; then
39108 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39111 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39115 if test "$wxUSE_THREADS" = "yes" ; then
39117 for ac_func in thr_setconcurrency
39119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39120 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39122 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39123 echo $ECHO_N "(cached) $ECHO_C" >&6
39125 cat >conftest.$ac_ext <<_ACEOF
39128 cat confdefs.h >>conftest.$ac_ext
39129 cat >>conftest.$ac_ext <<_ACEOF
39130 /* end confdefs.h. */
39131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39133 #define $ac_func innocuous_$ac_func
39135 /* System header to define __stub macros and hopefully few prototypes,
39136 which can conflict with char $ac_func (); below.
39137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39138 <limits.h> exists even on freestanding compilers. */
39141 # include <limits.h>
39143 # include <assert.h>
39148 /* Override any GCC internal prototype to avoid an error.
39149 Use char because int might match the return type of a GCC
39150 builtin and then its argument prototype would still apply. */
39155 /* The GNU C library defines this for functions which it implements
39156 to always fail with ENOSYS. Some functions are actually named
39157 something starting with __ and the normal name is an alias. */
39158 #if defined __stub_$ac_func || defined __stub___$ac_func
39165 return $ac_func ();
39170 rm -f conftest.$ac_objext conftest$ac_exeext
39171 if { (ac_try="$ac_link"
39172 case "(($ac_try" in
39173 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39174 *) ac_try_echo
=$ac_try;;
39176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39177 (eval "$ac_link") 2>conftest.er1
39179 grep -v '^ *+' conftest.er1
>conftest.err
39181 cat conftest.err
>&5
39182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39183 (exit $ac_status); } && {
39184 test -z "$ac_c_werror_flag" ||
39185 test ! -s conftest.err
39186 } && test -s conftest
$ac_exeext &&
39187 $as_test_x conftest
$ac_exeext; then
39188 eval "$as_ac_var=yes"
39190 echo "$as_me: failed program was:" >&5
39191 sed 's/^/| /' conftest.
$ac_ext >&5
39193 eval "$as_ac_var=no"
39196 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39197 conftest
$ac_exeext conftest.
$ac_ext
39199 ac_res
=`eval echo '${'$as_ac_var'}'`
39200 { echo "$as_me:$LINENO: result: $ac_res" >&5
39201 echo "${ECHO_T}$ac_res" >&6; }
39202 if test `eval echo '${'$as_ac_var'}'` = yes; then
39203 cat >>confdefs.h
<<_ACEOF
39204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39211 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39212 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39213 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39214 echo $ECHO_N "(cached) $ECHO_C" >&6
39218 ac_cpp
='$CXXCPP $CPPFLAGS'
39219 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39220 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39221 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39223 cat >conftest.
$ac_ext <<_ACEOF
39226 cat confdefs.h
>>conftest.
$ac_ext
39227 cat >>conftest.
$ac_ext <<_ACEOF
39228 /* end confdefs.h. */
39229 #include <pthread.h>
39230 void ThreadCleanupFunc(void *p);
39237 pthread_cleanup_push(ThreadCleanupFunc, p);
39238 pthread_cleanup_pop(0);
39244 rm -f conftest.
$ac_objext
39245 if { (ac_try
="$ac_compile"
39246 case "(($ac_try" in
39247 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39248 *) ac_try_echo=$ac_try;;
39250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39251 (eval "$ac_compile") 2>conftest.er1
39253 grep -v '^ *+' conftest.er1 >conftest.err
39255 cat conftest.err >&5
39256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39257 (exit $ac_status); } && {
39258 test -z "$ac_cxx_werror_flag" ||
39259 test ! -s conftest.err
39260 } && test -s conftest.$ac_objext; then
39262 wx_cv_func_pthread_cleanup=yes
39265 echo "$as_me: failed program was:" >&5
39266 sed 's/^/| /' conftest.$ac_ext >&5
39269 wx_cv_func_pthread_cleanup=no
39274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39276 ac_cpp='$CPP $CPPFLAGS'
39277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39283 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39284 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39285 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39286 cat >>confdefs.h <<\_ACEOF
39287 #define wxHAVE_PTHREAD_CLEANUP 1
39293 for ac_header in sched.h
39295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39296 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39298 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39299 echo $ECHO_N "(cached) $ECHO_C" >&6
39301 cat >conftest.$ac_ext <<_ACEOF
39304 cat confdefs.h >>conftest.$ac_ext
39305 cat >>conftest.$ac_ext <<_ACEOF
39306 /* end confdefs.h. */
39307 $ac_includes_default
39309 #include <$ac_header>
39311 rm -f conftest.$ac_objext
39312 if { (ac_try="$ac_compile"
39313 case "(($ac_try" in
39314 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39315 *) ac_try_echo
=$ac_try;;
39317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39318 (eval "$ac_compile") 2>conftest.er1
39320 grep -v '^ *+' conftest.er1
>conftest.err
39322 cat conftest.err
>&5
39323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39324 (exit $ac_status); } && {
39325 test -z "$ac_c_werror_flag" ||
39326 test ! -s conftest.err
39327 } && test -s conftest.
$ac_objext; then
39328 eval "$as_ac_Header=yes"
39330 echo "$as_me: failed program was:" >&5
39331 sed 's/^/| /' conftest.
$ac_ext >&5
39333 eval "$as_ac_Header=no"
39336 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39338 ac_res
=`eval echo '${'$as_ac_Header'}'`
39339 { echo "$as_me:$LINENO: result: $ac_res" >&5
39340 echo "${ECHO_T}$ac_res" >&6; }
39341 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39342 cat >>confdefs.h
<<_ACEOF
39343 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39350 if test "$ac_cv_header_sched_h" = "yes"; then
39351 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39352 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39353 if test "${ac_cv_func_sched_yield+set}" = set; then
39354 echo $ECHO_N "(cached) $ECHO_C" >&6
39356 cat >conftest.
$ac_ext <<_ACEOF
39359 cat confdefs.h
>>conftest.
$ac_ext
39360 cat >>conftest.
$ac_ext <<_ACEOF
39361 /* end confdefs.h. */
39362 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39364 #define sched_yield innocuous_sched_yield
39366 /* System header to define __stub macros and hopefully few prototypes,
39367 which can conflict with char sched_yield (); below.
39368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39369 <limits.h> exists even on freestanding compilers. */
39372 # include <limits.h>
39374 # include <assert.h>
39379 /* Override any GCC internal prototype to avoid an error.
39380 Use char because int might match the return type of a GCC
39381 builtin and then its argument prototype would still apply. */
39385 char sched_yield ();
39386 /* The GNU C library defines this for functions which it implements
39387 to always fail with ENOSYS. Some functions are actually named
39388 something starting with __ and the normal name is an alias. */
39389 #if defined __stub_sched_yield || defined __stub___sched_yield
39396 return sched_yield ();
39401 rm -f conftest.
$ac_objext conftest
$ac_exeext
39402 if { (ac_try
="$ac_link"
39403 case "(($ac_try" in
39404 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39405 *) ac_try_echo=$ac_try;;
39407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39408 (eval "$ac_link") 2>conftest.er1
39410 grep -v '^ *+' conftest.er1 >conftest.err
39412 cat conftest.err >&5
39413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39414 (exit $ac_status); } && {
39415 test -z "$ac_c_werror_flag" ||
39416 test ! -s conftest.err
39417 } && test -s conftest$ac_exeext &&
39418 $as_test_x conftest$ac_exeext; then
39419 ac_cv_func_sched_yield=yes
39421 echo "$as_me: failed program was:" >&5
39422 sed 's/^/| /' conftest.$ac_ext >&5
39424 ac_cv_func_sched_yield=no
39427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39428 conftest$ac_exeext conftest.$ac_ext
39430 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39431 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39432 if test $ac_cv_func_sched_yield = yes; then
39433 cat >>confdefs.h <<\_ACEOF
39434 #define HAVE_SCHED_YIELD 1
39439 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39440 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39441 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39442 echo $ECHO_N "(cached) $ECHO_C" >&6
39444 ac_check_lib_save_LIBS=$LIBS
39445 LIBS="-lposix4 $LIBS"
39446 cat >conftest.$ac_ext <<_ACEOF
39449 cat confdefs.h >>conftest.$ac_ext
39450 cat >>conftest.$ac_ext <<_ACEOF
39451 /* end confdefs.h. */
39453 /* Override any GCC internal prototype to avoid an error.
39454 Use char because int might match the return type of a GCC
39455 builtin and then its argument prototype would still apply. */
39459 char sched_yield ();
39463 return sched_yield ();
39468 rm -f conftest.$ac_objext conftest$ac_exeext
39469 if { (ac_try="$ac_link"
39470 case "(($ac_try" in
39471 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39472 *) ac_try_echo
=$ac_try;;
39474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39475 (eval "$ac_link") 2>conftest.er1
39477 grep -v '^ *+' conftest.er1
>conftest.err
39479 cat conftest.err
>&5
39480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39481 (exit $ac_status); } && {
39482 test -z "$ac_c_werror_flag" ||
39483 test ! -s conftest.err
39484 } && test -s conftest
$ac_exeext &&
39485 $as_test_x conftest
$ac_exeext; then
39486 ac_cv_lib_posix4_sched_yield
=yes
39488 echo "$as_me: failed program was:" >&5
39489 sed 's/^/| /' conftest.
$ac_ext >&5
39491 ac_cv_lib_posix4_sched_yield
=no
39494 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39495 conftest
$ac_exeext conftest.
$ac_ext
39496 LIBS
=$ac_check_lib_save_LIBS
39498 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39499 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39500 if test $ac_cv_lib_posix4_sched_yield = yes; then
39501 cat >>confdefs.h
<<\_ACEOF
39502 #define HAVE_SCHED_YIELD 1
39504 POSIX4_LINK
=" -lposix4"
39506 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39507 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39518 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39519 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39520 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39521 echo $ECHO_N "(cached) $ECHO_C" >&6
39523 cat >conftest.
$ac_ext <<_ACEOF
39526 cat confdefs.h
>>conftest.
$ac_ext
39527 cat >>conftest.
$ac_ext <<_ACEOF
39528 /* end confdefs.h. */
39529 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39531 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39533 /* System header to define __stub macros and hopefully few prototypes,
39534 which can conflict with char pthread_attr_getschedpolicy (); below.
39535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39536 <limits.h> exists even on freestanding compilers. */
39539 # include <limits.h>
39541 # include <assert.h>
39544 #undef pthread_attr_getschedpolicy
39546 /* Override any GCC internal prototype to avoid an error.
39547 Use char because int might match the return type of a GCC
39548 builtin and then its argument prototype would still apply. */
39552 char pthread_attr_getschedpolicy ();
39553 /* The GNU C library defines this for functions which it implements
39554 to always fail with ENOSYS. Some functions are actually named
39555 something starting with __ and the normal name is an alias. */
39556 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39563 return pthread_attr_getschedpolicy ();
39568 rm -f conftest.
$ac_objext conftest
$ac_exeext
39569 if { (ac_try
="$ac_link"
39570 case "(($ac_try" in
39571 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39572 *) ac_try_echo=$ac_try;;
39574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39575 (eval "$ac_link") 2>conftest.er1
39577 grep -v '^ *+' conftest.er1 >conftest.err
39579 cat conftest.err >&5
39580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39581 (exit $ac_status); } && {
39582 test -z "$ac_c_werror_flag" ||
39583 test ! -s conftest.err
39584 } && test -s conftest$ac_exeext &&
39585 $as_test_x conftest$ac_exeext; then
39586 ac_cv_func_pthread_attr_getschedpolicy=yes
39588 echo "$as_me: failed program was:" >&5
39589 sed 's/^/| /' conftest.$ac_ext >&5
39591 ac_cv_func_pthread_attr_getschedpolicy=no
39594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39595 conftest$ac_exeext conftest.$ac_ext
39597 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39598 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39599 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39600 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39601 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39602 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39603 echo $ECHO_N "(cached) $ECHO_C" >&6
39605 cat >conftest.$ac_ext <<_ACEOF
39608 cat confdefs.h >>conftest.$ac_ext
39609 cat >>conftest.$ac_ext <<_ACEOF
39610 /* end confdefs.h. */
39611 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39613 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39615 /* System header to define __stub macros and hopefully few prototypes,
39616 which can conflict with char pthread_attr_setschedparam (); below.
39617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39618 <limits.h> exists even on freestanding compilers. */
39621 # include <limits.h>
39623 # include <assert.h>
39626 #undef pthread_attr_setschedparam
39628 /* Override any GCC internal prototype to avoid an error.
39629 Use char because int might match the return type of a GCC
39630 builtin and then its argument prototype would still apply. */
39634 char pthread_attr_setschedparam ();
39635 /* The GNU C library defines this for functions which it implements
39636 to always fail with ENOSYS. Some functions are actually named
39637 something starting with __ and the normal name is an alias. */
39638 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39645 return pthread_attr_setschedparam ();
39650 rm -f conftest.$ac_objext conftest$ac_exeext
39651 if { (ac_try="$ac_link"
39652 case "(($ac_try" in
39653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39654 *) ac_try_echo
=$ac_try;;
39656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39657 (eval "$ac_link") 2>conftest.er1
39659 grep -v '^ *+' conftest.er1
>conftest.err
39661 cat conftest.err
>&5
39662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39663 (exit $ac_status); } && {
39664 test -z "$ac_c_werror_flag" ||
39665 test ! -s conftest.err
39666 } && test -s conftest
$ac_exeext &&
39667 $as_test_x conftest
$ac_exeext; then
39668 ac_cv_func_pthread_attr_setschedparam
=yes
39670 echo "$as_me: failed program was:" >&5
39671 sed 's/^/| /' conftest.
$ac_ext >&5
39673 ac_cv_func_pthread_attr_setschedparam
=no
39676 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39677 conftest
$ac_exeext conftest.
$ac_ext
39679 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39680 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39681 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39682 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39683 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39684 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39685 echo $ECHO_N "(cached) $ECHO_C" >&6
39687 cat >conftest.
$ac_ext <<_ACEOF
39690 cat confdefs.h
>>conftest.
$ac_ext
39691 cat >>conftest.
$ac_ext <<_ACEOF
39692 /* end confdefs.h. */
39693 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39695 #define sched_get_priority_max innocuous_sched_get_priority_max
39697 /* System header to define __stub macros and hopefully few prototypes,
39698 which can conflict with char sched_get_priority_max (); below.
39699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39700 <limits.h> exists even on freestanding compilers. */
39703 # include <limits.h>
39705 # include <assert.h>
39708 #undef sched_get_priority_max
39710 /* Override any GCC internal prototype to avoid an error.
39711 Use char because int might match the return type of a GCC
39712 builtin and then its argument prototype would still apply. */
39716 char sched_get_priority_max ();
39717 /* The GNU C library defines this for functions which it implements
39718 to always fail with ENOSYS. Some functions are actually named
39719 something starting with __ and the normal name is an alias. */
39720 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39727 return sched_get_priority_max ();
39732 rm -f conftest.
$ac_objext conftest
$ac_exeext
39733 if { (ac_try
="$ac_link"
39734 case "(($ac_try" in
39735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39736 *) ac_try_echo=$ac_try;;
39738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39739 (eval "$ac_link") 2>conftest.er1
39741 grep -v '^ *+' conftest.er1 >conftest.err
39743 cat conftest.err >&5
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); } && {
39746 test -z "$ac_c_werror_flag" ||
39747 test ! -s conftest.err
39748 } && test -s conftest$ac_exeext &&
39749 $as_test_x conftest$ac_exeext; then
39750 ac_cv_func_sched_get_priority_max=yes
39752 echo "$as_me: failed program was:" >&5
39753 sed 's/^/| /' conftest.$ac_ext >&5
39755 ac_cv_func_sched_get_priority_max=no
39758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39759 conftest$ac_exeext conftest.$ac_ext
39761 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39762 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39763 if test $ac_cv_func_sched_get_priority_max = yes; then
39766 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39767 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39768 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39769 echo $ECHO_N "(cached) $ECHO_C" >&6
39771 ac_check_lib_save_LIBS=$LIBS
39772 LIBS="-lposix4 $LIBS"
39773 cat >conftest.$ac_ext <<_ACEOF
39776 cat confdefs.h >>conftest.$ac_ext
39777 cat >>conftest.$ac_ext <<_ACEOF
39778 /* end confdefs.h. */
39780 /* Override any GCC internal prototype to avoid an error.
39781 Use char because int might match the return type of a GCC
39782 builtin and then its argument prototype would still apply. */
39786 char sched_get_priority_max ();
39790 return sched_get_priority_max ();
39795 rm -f conftest.$ac_objext conftest$ac_exeext
39796 if { (ac_try="$ac_link"
39797 case "(($ac_try" in
39798 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39799 *) ac_try_echo
=$ac_try;;
39801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39802 (eval "$ac_link") 2>conftest.er1
39804 grep -v '^ *+' conftest.er1
>conftest.err
39806 cat conftest.err
>&5
39807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39808 (exit $ac_status); } && {
39809 test -z "$ac_c_werror_flag" ||
39810 test ! -s conftest.err
39811 } && test -s conftest
$ac_exeext &&
39812 $as_test_x conftest
$ac_exeext; then
39813 ac_cv_lib_posix4_sched_get_priority_max
=yes
39815 echo "$as_me: failed program was:" >&5
39816 sed 's/^/| /' conftest.
$ac_ext >&5
39818 ac_cv_lib_posix4_sched_get_priority_max
=no
39821 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39822 conftest
$ac_exeext conftest.
$ac_ext
39823 LIBS
=$ac_check_lib_save_LIBS
39825 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39826 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39827 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39830 POSIX4_LINK
=" -lposix4"
39844 if test "$HAVE_PRIOR_FUNCS" = 1; then
39845 cat >>confdefs.h
<<\_ACEOF
39846 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39850 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39851 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39854 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39855 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39856 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39857 echo $ECHO_N "(cached) $ECHO_C" >&6
39859 cat >conftest.
$ac_ext <<_ACEOF
39862 cat confdefs.h
>>conftest.
$ac_ext
39863 cat >>conftest.
$ac_ext <<_ACEOF
39864 /* end confdefs.h. */
39865 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39867 #define pthread_cancel innocuous_pthread_cancel
39869 /* System header to define __stub macros and hopefully few prototypes,
39870 which can conflict with char pthread_cancel (); below.
39871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39872 <limits.h> exists even on freestanding compilers. */
39875 # include <limits.h>
39877 # include <assert.h>
39880 #undef pthread_cancel
39882 /* Override any GCC internal prototype to avoid an error.
39883 Use char because int might match the return type of a GCC
39884 builtin and then its argument prototype would still apply. */
39888 char pthread_cancel ();
39889 /* The GNU C library defines this for functions which it implements
39890 to always fail with ENOSYS. Some functions are actually named
39891 something starting with __ and the normal name is an alias. */
39892 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39899 return pthread_cancel ();
39904 rm -f conftest.
$ac_objext conftest
$ac_exeext
39905 if { (ac_try
="$ac_link"
39906 case "(($ac_try" in
39907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39908 *) ac_try_echo=$ac_try;;
39910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39911 (eval "$ac_link") 2>conftest.er1
39913 grep -v '^ *+' conftest.er1 >conftest.err
39915 cat conftest.err >&5
39916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39917 (exit $ac_status); } && {
39918 test -z "$ac_c_werror_flag" ||
39919 test ! -s conftest.err
39920 } && test -s conftest$ac_exeext &&
39921 $as_test_x conftest$ac_exeext; then
39922 ac_cv_func_pthread_cancel=yes
39924 echo "$as_me: failed program was:" >&5
39925 sed 's/^/| /' conftest.$ac_ext >&5
39927 ac_cv_func_pthread_cancel=no
39930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39931 conftest$ac_exeext conftest.$ac_ext
39933 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39934 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39935 if test $ac_cv_func_pthread_cancel = yes; then
39936 cat >>confdefs.h <<\_ACEOF
39937 #define HAVE_PTHREAD_CANCEL 1
39941 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39942 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39946 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39947 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39948 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39949 echo $ECHO_N "(cached) $ECHO_C" >&6
39951 cat >conftest.$ac_ext <<_ACEOF
39954 cat confdefs.h >>conftest.$ac_ext
39955 cat >>conftest.$ac_ext <<_ACEOF
39956 /* end confdefs.h. */
39957 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39959 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39961 /* System header to define __stub macros and hopefully few prototypes,
39962 which can conflict with char pthread_mutex_timedlock (); below.
39963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39964 <limits.h> exists even on freestanding compilers. */
39967 # include <limits.h>
39969 # include <assert.h>
39972 #undef pthread_mutex_timedlock
39974 /* Override any GCC internal prototype to avoid an error.
39975 Use char because int might match the return type of a GCC
39976 builtin and then its argument prototype would still apply. */
39980 char pthread_mutex_timedlock ();
39981 /* The GNU C library defines this for functions which it implements
39982 to always fail with ENOSYS. Some functions are actually named
39983 something starting with __ and the normal name is an alias. */
39984 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39991 return pthread_mutex_timedlock ();
39996 rm -f conftest.$ac_objext conftest$ac_exeext
39997 if { (ac_try="$ac_link"
39998 case "(($ac_try" in
39999 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40000 *) ac_try_echo
=$ac_try;;
40002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40003 (eval "$ac_link") 2>conftest.er1
40005 grep -v '^ *+' conftest.er1
>conftest.err
40007 cat conftest.err
>&5
40008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009 (exit $ac_status); } && {
40010 test -z "$ac_c_werror_flag" ||
40011 test ! -s conftest.err
40012 } && test -s conftest
$ac_exeext &&
40013 $as_test_x conftest
$ac_exeext; then
40014 ac_cv_func_pthread_mutex_timedlock
=yes
40016 echo "$as_me: failed program was:" >&5
40017 sed 's/^/| /' conftest.
$ac_ext >&5
40019 ac_cv_func_pthread_mutex_timedlock
=no
40022 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40023 conftest
$ac_exeext conftest.
$ac_ext
40025 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40026 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40027 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40028 cat >>confdefs.h
<<\_ACEOF
40029 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40033 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40034 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40038 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40039 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40040 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40041 echo $ECHO_N "(cached) $ECHO_C" >&6
40043 cat >conftest.
$ac_ext <<_ACEOF
40046 cat confdefs.h
>>conftest.
$ac_ext
40047 cat >>conftest.
$ac_ext <<_ACEOF
40048 /* end confdefs.h. */
40049 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40051 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40053 /* System header to define __stub macros and hopefully few prototypes,
40054 which can conflict with char pthread_attr_setstacksize (); below.
40055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40056 <limits.h> exists even on freestanding compilers. */
40059 # include <limits.h>
40061 # include <assert.h>
40064 #undef pthread_attr_setstacksize
40066 /* Override any GCC internal prototype to avoid an error.
40067 Use char because int might match the return type of a GCC
40068 builtin and then its argument prototype would still apply. */
40072 char pthread_attr_setstacksize ();
40073 /* The GNU C library defines this for functions which it implements
40074 to always fail with ENOSYS. Some functions are actually named
40075 something starting with __ and the normal name is an alias. */
40076 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40083 return pthread_attr_setstacksize ();
40088 rm -f conftest.
$ac_objext conftest
$ac_exeext
40089 if { (ac_try
="$ac_link"
40090 case "(($ac_try" in
40091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40092 *) ac_try_echo=$ac_try;;
40094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40095 (eval "$ac_link") 2>conftest.er1
40097 grep -v '^ *+' conftest.er1 >conftest.err
40099 cat conftest.err >&5
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); } && {
40102 test -z "$ac_c_werror_flag" ||
40103 test ! -s conftest.err
40104 } && test -s conftest$ac_exeext &&
40105 $as_test_x conftest$ac_exeext; then
40106 ac_cv_func_pthread_attr_setstacksize=yes
40108 echo "$as_me: failed program was:" >&5
40109 sed 's/^/| /' conftest.$ac_ext >&5
40111 ac_cv_func_pthread_attr_setstacksize=no
40114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40115 conftest$ac_exeext conftest.$ac_ext
40117 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40118 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40119 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40120 cat >>confdefs.h <<\_ACEOF
40121 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40128 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40129 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40130 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40131 echo $ECHO_N "(cached) $ECHO_C" >&6
40134 cat >conftest.$ac_ext <<_ACEOF
40137 cat confdefs.h >>conftest.$ac_ext
40138 cat >>conftest.$ac_ext <<_ACEOF
40139 /* end confdefs.h. */
40140 #include <pthread.h>
40145 pthread_mutexattr_t attr;
40146 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40152 rm -f conftest.$ac_objext
40153 if { (ac_try="$ac_compile"
40154 case "(($ac_try" in
40155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40156 *) ac_try_echo
=$ac_try;;
40158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40159 (eval "$ac_compile") 2>conftest.er1
40161 grep -v '^ *+' conftest.er1
>conftest.err
40163 cat conftest.err
>&5
40164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40165 (exit $ac_status); } && {
40166 test -z "$ac_c_werror_flag" ||
40167 test ! -s conftest.err
40168 } && test -s conftest.
$ac_objext; then
40169 wx_cv_type_pthread_mutexattr_t
=yes
40171 echo "$as_me: failed program was:" >&5
40172 sed 's/^/| /' conftest.
$ac_ext >&5
40174 wx_cv_type_pthread_mutexattr_t
=no
40178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40181 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40182 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40184 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40185 cat >>confdefs.h
<<\_ACEOF
40186 #define HAVE_PTHREAD_MUTEXATTR_T 1
40190 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40191 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40192 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40193 echo $ECHO_N "(cached) $ECHO_C" >&6
40196 cat >conftest.
$ac_ext <<_ACEOF
40199 cat confdefs.h
>>conftest.
$ac_ext
40200 cat >>conftest.
$ac_ext <<_ACEOF
40201 /* end confdefs.h. */
40202 #include <pthread.h>
40207 pthread_mutexattr_t attr;
40208 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40214 rm -f conftest.
$ac_objext
40215 if { (ac_try
="$ac_compile"
40216 case "(($ac_try" in
40217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40218 *) ac_try_echo=$ac_try;;
40220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40221 (eval "$ac_compile") 2>conftest.er1
40223 grep -v '^ *+' conftest.er1 >conftest.err
40225 cat conftest.err >&5
40226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40227 (exit $ac_status); } && {
40228 test -z "$ac_c_werror_flag" ||
40229 test ! -s conftest.err
40230 } && test -s conftest.$ac_objext; then
40231 wx_cv_func_pthread_mutexattr_settype_decl=yes
40233 echo "$as_me: failed program was:" >&5
40234 sed 's/^/| /' conftest.$ac_ext >&5
40236 wx_cv_func_pthread_mutexattr_settype_decl=no
40240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40243 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40244 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40245 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40246 cat >>confdefs.h <<\_ACEOF
40247 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40252 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40253 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40254 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40255 echo $ECHO_N "(cached) $ECHO_C" >&6
40258 cat >conftest.$ac_ext <<_ACEOF
40261 cat confdefs.h >>conftest.$ac_ext
40262 cat >>conftest.$ac_ext <<_ACEOF
40263 /* end confdefs.h. */
40264 #include <pthread.h>
40269 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40275 rm -f conftest.$ac_objext
40276 if { (ac_try="$ac_compile"
40277 case "(($ac_try" in
40278 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40279 *) ac_try_echo
=$ac_try;;
40281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40282 (eval "$ac_compile") 2>conftest.er1
40284 grep -v '^ *+' conftest.er1
>conftest.err
40286 cat conftest.err
>&5
40287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40288 (exit $ac_status); } && {
40289 test -z "$ac_c_werror_flag" ||
40290 test ! -s conftest.err
40291 } && test -s conftest.
$ac_objext; then
40293 wx_cv_type_pthread_rec_mutex_init
=yes
40296 echo "$as_me: failed program was:" >&5
40297 sed 's/^/| /' conftest.
$ac_ext >&5
40300 wx_cv_type_pthread_rec_mutex_init
=no
40305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40308 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40309 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40310 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40311 cat >>confdefs.h
<<\_ACEOF
40312 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40316 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40317 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40321 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40322 if test "$USE_NETBSD" = 1; then
40323 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40324 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40325 wxUSE_COMPILER_TLS
=no
40327 wxUSE_COMPILER_TLS
=yes
40331 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40332 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40333 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40334 if test "${wx_cv_cc___thread+set}" = set; then
40335 echo $ECHO_N "(cached) $ECHO_C" >&6
40338 cat >conftest.
$ac_ext <<_ACEOF
40341 cat confdefs.h
>>conftest.
$ac_ext
40342 cat >>conftest.
$ac_ext <<_ACEOF
40343 /* end confdefs.h. */
40344 #include <pthread.h>
40349 static __thread int n = 0;
40350 static __thread int *p = 0;
40356 rm -f conftest.
$ac_objext
40357 if { (ac_try
="$ac_compile"
40358 case "(($ac_try" in
40359 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40360 *) ac_try_echo=$ac_try;;
40362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40363 (eval "$ac_compile") 2>conftest.er1
40365 grep -v '^ *+' conftest.er1 >conftest.err
40367 cat conftest.err >&5
40368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40369 (exit $ac_status); } && {
40370 test -z "$ac_c_werror_flag" ||
40371 test ! -s conftest.err
40372 } && test -s conftest.$ac_objext; then
40373 wx_cv_cc___thread=yes
40375 echo "$as_me: failed program was:" >&5
40376 sed 's/^/| /' conftest.$ac_ext >&5
40378 wx_cv_cc___thread=no
40382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40386 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40387 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40389 if test "$wx_cv_cc___thread" = "yes"; then
40395 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40396 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40398 if test "x$GCC" = "xyes" ; then
40400 if test -z "" ; then
40402 ax_gcc_option_test="int main()
40409 ax_gcc_option_test=""
40414 # Dump the test program to file
40415 cat <<EOF > conftest.c
40416 $ax_gcc_option_test
40419 # Dump back the file to the log, useful for debugging purposes
40420 { ac_try='cat conftest.c 1>&5'
40421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40422 (eval $ac_try) 2>&5
40424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40425 (exit $ac_status); }; }
40427 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40429 (eval $ac_try) 2>&5
40431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40432 (exit $ac_status); }; } ; then
40434 { echo "$as_me:$LINENO: result: yes" >&5
40435 echo "${ECHO_T}yes" >&6; }
40437 ax_gcc_version_option=yes
40442 { echo "$as_me:$LINENO: result: no" >&5
40443 echo "${ECHO_T}no" >&6; }
40445 ax_gcc_version_option=no
40453 { echo "$as_me:$LINENO: result: no gcc available" >&5
40454 echo "${ECHO_T}no gcc available" >&6; }
40459 if test "x$GXX" = "xyes"; then
40461 if test "x$ax_gxx_version_option" != "no"; then
40463 { echo "$as_me:$LINENO: checking gxx version" >&5
40464 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40465 if test "${ax_cv_gxx_version+set}" = set; then
40466 echo $ECHO_N "(cached) $ECHO_C" >&6
40469 ax_cv_gxx_version="`$CXX -dumpversion`"
40470 if test "x$ax_cv_gxx_version" = "x"; then
40472 ax_cv_gxx_version=""
40478 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40479 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40480 GXX_VERSION=$ax_cv_gxx_version
40489 if test -n "$ax_cv_gxx_version"; then
40490 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40491 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40492 case "$ax_cv_gxx_version" in
40494 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40495 echo "${ECHO_T}no, it's broken" >&6; }
40496 wx_cv_cc___thread=no
40499 { echo "$as_me:$LINENO: result: yes, it works" >&5
40500 echo "${ECHO_T}yes, it works" >&6; }
40506 if test "$wx_cv_cc___thread" = "yes"; then
40507 cat >>confdefs.h <<\_ACEOF
40508 #define HAVE___THREAD_KEYWORD 1
40516 if test "$wxUSE_THREADS" = "yes" ; then
40518 x86_64-*-mingw32* )
40521 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40522 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40523 if test "${wx_cv_cflags_mthread+set}" = set; then
40524 echo $ECHO_N "(cached) $ECHO_C" >&6
40527 CFLAGS_OLD="$CFLAGS"
40528 CFLAGS="-mthreads $CFLAGS"
40529 cat >conftest.$ac_ext <<_ACEOF
40532 cat confdefs.h >>conftest.$ac_ext
40533 cat >>conftest.$ac_ext <<_ACEOF
40534 /* end confdefs.h. */
40544 rm -f conftest.$ac_objext
40545 if { (ac_try="$ac_compile"
40546 case "(($ac_try" in
40547 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40548 *) ac_try_echo
=$ac_try;;
40550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40551 (eval "$ac_compile") 2>conftest.er1
40553 grep -v '^ *+' conftest.er1
>conftest.err
40555 cat conftest.err
>&5
40556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40557 (exit $ac_status); } && {
40558 test -z "$ac_c_werror_flag" ||
40559 test ! -s conftest.err
40560 } && test -s conftest.
$ac_objext; then
40561 wx_cv_cflags_mthread
=yes
40563 echo "$as_me: failed program was:" >&5
40564 sed 's/^/| /' conftest.
$ac_ext >&5
40566 wx_cv_cflags_mthread
=no
40570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40574 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40575 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40577 if test "$wx_cv_cflags_mthread" = "yes"; then
40578 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40579 LDFLAGS
="$LDFLAGS -mthreads"
40581 CFLAGS
="$CFLAGS_OLD"
40585 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40586 LDFLAGS
="$LDFLAGS -Zmt"
40592 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40593 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40594 if test "${ac_cv_func_localtime_r+set}" = set; then
40595 echo $ECHO_N "(cached) $ECHO_C" >&6
40597 cat >conftest.
$ac_ext <<_ACEOF
40600 cat confdefs.h
>>conftest.
$ac_ext
40601 cat >>conftest.
$ac_ext <<_ACEOF
40602 /* end confdefs.h. */
40603 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40605 #define localtime_r innocuous_localtime_r
40607 /* System header to define __stub macros and hopefully few prototypes,
40608 which can conflict with char localtime_r (); below.
40609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40610 <limits.h> exists even on freestanding compilers. */
40613 # include <limits.h>
40615 # include <assert.h>
40620 /* Override any GCC internal prototype to avoid an error.
40621 Use char because int might match the return type of a GCC
40622 builtin and then its argument prototype would still apply. */
40626 char localtime_r ();
40627 /* The GNU C library defines this for functions which it implements
40628 to always fail with ENOSYS. Some functions are actually named
40629 something starting with __ and the normal name is an alias. */
40630 #if defined __stub_localtime_r || defined __stub___localtime_r
40637 return localtime_r ();
40642 rm -f conftest.
$ac_objext conftest
$ac_exeext
40643 if { (ac_try
="$ac_link"
40644 case "(($ac_try" in
40645 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40646 *) ac_try_echo=$ac_try;;
40648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40649 (eval "$ac_link") 2>conftest.er1
40651 grep -v '^ *+' conftest.er1 >conftest.err
40653 cat conftest.err >&5
40654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40655 (exit $ac_status); } && {
40656 test -z "$ac_c_werror_flag" ||
40657 test ! -s conftest.err
40658 } && test -s conftest$ac_exeext &&
40659 $as_test_x conftest$ac_exeext; then
40660 ac_cv_func_localtime_r=yes
40662 echo "$as_me: failed program was:" >&5
40663 sed 's/^/| /' conftest.$ac_ext >&5
40665 ac_cv_func_localtime_r=no
40668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40669 conftest$ac_exeext conftest.$ac_ext
40671 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40672 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40673 if test $ac_cv_func_localtime_r = yes; then
40674 cat >>confdefs.h <<\_ACEOF
40675 #define HAVE_LOCALTIME_R 1
40680 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40681 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40682 if test "${ac_cv_func_gmtime_r+set}" = set; then
40683 echo $ECHO_N "(cached) $ECHO_C" >&6
40685 cat >conftest.$ac_ext <<_ACEOF
40688 cat confdefs.h >>conftest.$ac_ext
40689 cat >>conftest.$ac_ext <<_ACEOF
40690 /* end confdefs.h. */
40691 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40693 #define gmtime_r innocuous_gmtime_r
40695 /* System header to define __stub macros and hopefully few prototypes,
40696 which can conflict with char gmtime_r (); below.
40697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40698 <limits.h> exists even on freestanding compilers. */
40701 # include <limits.h>
40703 # include <assert.h>
40708 /* Override any GCC internal prototype to avoid an error.
40709 Use char because int might match the return type of a GCC
40710 builtin and then its argument prototype would still apply. */
40715 /* The GNU C library defines this for functions which it implements
40716 to always fail with ENOSYS. Some functions are actually named
40717 something starting with __ and the normal name is an alias. */
40718 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40725 return gmtime_r ();
40730 rm -f conftest.$ac_objext conftest$ac_exeext
40731 if { (ac_try="$ac_link"
40732 case "(($ac_try" in
40733 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40734 *) ac_try_echo
=$ac_try;;
40736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40737 (eval "$ac_link") 2>conftest.er1
40739 grep -v '^ *+' conftest.er1
>conftest.err
40741 cat conftest.err
>&5
40742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40743 (exit $ac_status); } && {
40744 test -z "$ac_c_werror_flag" ||
40745 test ! -s conftest.err
40746 } && test -s conftest
$ac_exeext &&
40747 $as_test_x conftest
$ac_exeext; then
40748 ac_cv_func_gmtime_r
=yes
40750 echo "$as_me: failed program was:" >&5
40751 sed 's/^/| /' conftest.
$ac_ext >&5
40753 ac_cv_func_gmtime_r
=no
40756 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40757 conftest
$ac_exeext conftest.
$ac_ext
40759 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40760 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40761 if test $ac_cv_func_gmtime_r = yes; then
40762 cat >>confdefs.h
<<\_ACEOF
40763 #define HAVE_GMTIME_R 1
40772 ac_cpp
='$CPP $CPPFLAGS'
40773 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40774 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40775 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40777 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40778 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40780 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40781 echo $ECHO_N "(cached) $ECHO_C" >&6
40785 ################################################################
40787 ac_cv_func_which_gethostbyname_r
=unknown
40790 # ONE ARGUMENT (sanity check)
40793 # This should fail, as there is no variant of gethostbyname_r() that takes
40794 # a single argument. If it actually compiles, then we can assume that
40795 # netdb.h is not declaring the function, and the compiler is thereby
40796 # assuming an implicit prototype. In which case, we're out of luck.
40798 cat >conftest.
$ac_ext <<_ACEOF
40801 cat confdefs.h
>>conftest.
$ac_ext
40802 cat >>conftest.
$ac_ext <<_ACEOF
40803 /* end confdefs.h. */
40809 char *name = "www.gnu.org";
40810 (void)gethostbyname_r(name) /* ; */
40816 rm -f conftest.
$ac_objext
40817 if { (ac_try
="$ac_compile"
40818 case "(($ac_try" in
40819 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40820 *) ac_try_echo=$ac_try;;
40822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40823 (eval "$ac_compile") 2>conftest.er1
40825 grep -v '^ *+' conftest.er1 >conftest.err
40827 cat conftest.err >&5
40828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40829 (exit $ac_status); } && {
40830 test -z "$ac_c_werror_flag" ||
40831 test ! -s conftest.err
40832 } && test -s conftest.$ac_objext; then
40833 ac_cv_func_which_gethostbyname_r=no
40835 echo "$as_me: failed program was:" >&5
40836 sed 's/^/| /' conftest.$ac_ext >&5
40841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40848 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40850 cat >conftest.$ac_ext <<_ACEOF
40853 cat confdefs.h >>conftest.$ac_ext
40854 cat >>conftest.$ac_ext <<_ACEOF
40855 /* end confdefs.h. */
40861 char *name = "www.gnu.org";
40862 struct hostent ret, *retp;
40866 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40872 rm -f conftest.$ac_objext
40873 if { (ac_try="$ac_compile"
40874 case "(($ac_try" in
40875 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40876 *) ac_try_echo
=$ac_try;;
40878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40879 (eval "$ac_compile") 2>conftest.er1
40881 grep -v '^ *+' conftest.er1
>conftest.err
40883 cat conftest.err
>&5
40884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40885 (exit $ac_status); } && {
40886 test -z "$ac_c_werror_flag" ||
40887 test ! -s conftest.err
40888 } && test -s conftest.
$ac_objext; then
40889 ac_cv_func_which_gethostbyname_r
=six
40891 echo "$as_me: failed program was:" >&5
40892 sed 's/^/| /' conftest.
$ac_ext >&5
40897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40906 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40908 cat >conftest.
$ac_ext <<_ACEOF
40911 cat confdefs.h
>>conftest.
$ac_ext
40912 cat >>conftest.
$ac_ext <<_ACEOF
40913 /* end confdefs.h. */
40919 char *name = "www.gnu.org";
40920 struct hostent ret;
40924 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40930 rm -f conftest.
$ac_objext
40931 if { (ac_try
="$ac_compile"
40932 case "(($ac_try" in
40933 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40934 *) ac_try_echo=$ac_try;;
40936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40937 (eval "$ac_compile") 2>conftest.er1
40939 grep -v '^ *+' conftest.er1 >conftest.err
40941 cat conftest.err >&5
40942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40943 (exit $ac_status); } && {
40944 test -z "$ac_c_werror_flag" ||
40945 test ! -s conftest.err
40946 } && test -s conftest.$ac_objext; then
40947 ac_cv_func_which_gethostbyname_r=five
40949 echo "$as_me: failed program was:" >&5
40950 sed 's/^/| /' conftest.$ac_ext >&5
40955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40961 # (e.g. AIX, HP-UX, Tru64)
40964 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40966 cat >conftest.$ac_ext <<_ACEOF
40969 cat confdefs.h >>conftest.$ac_ext
40970 cat >>conftest.$ac_ext <<_ACEOF
40971 /* end confdefs.h. */
40977 char *name = "www.gnu.org";
40978 struct hostent ret;
40979 struct hostent_data data;
40980 (void)gethostbyname_r(name, &ret, &data) /* ; */
40986 rm -f conftest.$ac_objext
40987 if { (ac_try="$ac_compile"
40988 case "(($ac_try" in
40989 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40990 *) ac_try_echo
=$ac_try;;
40992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40993 (eval "$ac_compile") 2>conftest.er1
40995 grep -v '^ *+' conftest.er1
>conftest.err
40997 cat conftest.err
>&5
40998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40999 (exit $ac_status); } && {
41000 test -z "$ac_c_werror_flag" ||
41001 test ! -s conftest.err
41002 } && test -s conftest.
$ac_objext; then
41003 ac_cv_func_which_gethostbyname_r
=three
41005 echo "$as_me: failed program was:" >&5
41006 sed 's/^/| /' conftest.
$ac_ext >&5
41011 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41015 ################################################################
41020 case "$ac_cv_func_which_gethostbyname_r" in
41022 { echo "$as_me:$LINENO: result: three" >&5
41023 echo "${ECHO_T}three" >&6; }
41024 cat >>confdefs.h
<<\_ACEOF
41025 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41031 { echo "$as_me:$LINENO: result: five" >&5
41032 echo "${ECHO_T}five" >&6; }
41033 cat >>confdefs.h
<<\_ACEOF
41034 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41040 { echo "$as_me:$LINENO: result: six" >&5
41041 echo "${ECHO_T}six" >&6; }
41042 cat >>confdefs.h
<<\_ACEOF
41043 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41049 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41050 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41054 { echo "$as_me:$LINENO: result: can't tell" >&5
41055 echo "${ECHO_T}can't tell" >&6; }
41059 { { echo "$as_me:$LINENO: error: internal error" >&5
41060 echo "$as_me: error: internal error" >&2;}
41061 { (exit 1); exit 1; }; }
41066 ac_cpp
='$CPP $CPPFLAGS'
41067 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41068 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41069 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41073 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41074 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41075 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41076 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41077 if test "${ac_cv_func_gethostbyname+set}" = set; then
41078 echo $ECHO_N "(cached) $ECHO_C" >&6
41080 cat >conftest.
$ac_ext <<_ACEOF
41083 cat confdefs.h
>>conftest.
$ac_ext
41084 cat >>conftest.
$ac_ext <<_ACEOF
41085 /* end confdefs.h. */
41086 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41088 #define gethostbyname innocuous_gethostbyname
41090 /* System header to define __stub macros and hopefully few prototypes,
41091 which can conflict with char gethostbyname (); below.
41092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41093 <limits.h> exists even on freestanding compilers. */
41096 # include <limits.h>
41098 # include <assert.h>
41101 #undef gethostbyname
41103 /* Override any GCC internal prototype to avoid an error.
41104 Use char because int might match the return type of a GCC
41105 builtin and then its argument prototype would still apply. */
41109 char gethostbyname ();
41110 /* The GNU C library defines this for functions which it implements
41111 to always fail with ENOSYS. Some functions are actually named
41112 something starting with __ and the normal name is an alias. */
41113 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41120 return gethostbyname ();
41125 rm -f conftest.
$ac_objext conftest
$ac_exeext
41126 if { (ac_try
="$ac_link"
41127 case "(($ac_try" in
41128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41129 *) ac_try_echo=$ac_try;;
41131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41132 (eval "$ac_link") 2>conftest.er1
41134 grep -v '^ *+' conftest.er1 >conftest.err
41136 cat conftest.err >&5
41137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41138 (exit $ac_status); } && {
41139 test -z "$ac_c_werror_flag" ||
41140 test ! -s conftest.err
41141 } && test -s conftest$ac_exeext &&
41142 $as_test_x conftest$ac_exeext; then
41143 ac_cv_func_gethostbyname=yes
41145 echo "$as_me: failed program was:" >&5
41146 sed 's/^/| /' conftest.$ac_ext >&5
41148 ac_cv_func_gethostbyname=no
41151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41152 conftest$ac_exeext conftest.$ac_ext
41154 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41155 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41156 if test $ac_cv_func_gethostbyname = yes; then
41157 cat >>confdefs.h <<\_ACEOF
41158 #define HAVE_GETHOSTBYNAME 1
41165 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41166 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41167 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41168 echo $ECHO_N "(cached) $ECHO_C" >&6
41172 ac_cpp='$CXXCPP $CPPFLAGS'
41173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41178 cat >conftest.$ac_ext <<_ACEOF
41181 cat confdefs.h >>conftest.$ac_ext
41182 cat >>conftest.$ac_ext <<_ACEOF
41183 /* end confdefs.h. */
41191 struct servent *se, *res;
41194 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41200 rm -f conftest.$ac_objext
41201 if { (ac_try="$ac_compile"
41202 case "(($ac_try" in
41203 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41204 *) ac_try_echo
=$ac_try;;
41206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41207 (eval "$ac_compile") 2>conftest.er1
41209 grep -v '^ *+' conftest.er1
>conftest.err
41211 cat conftest.err
>&5
41212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41213 (exit $ac_status); } && {
41214 test -z "$ac_cxx_werror_flag" ||
41215 test ! -s conftest.err
41216 } && test -s conftest.
$ac_objext; then
41217 ac_cv_func_which_getservbyname_r
=six
41219 echo "$as_me: failed program was:" >&5
41220 sed 's/^/| /' conftest.
$ac_ext >&5
41223 cat >conftest.
$ac_ext <<_ACEOF
41226 cat confdefs.h
>>conftest.
$ac_ext
41227 cat >>conftest.
$ac_ext <<_ACEOF
41228 /* end confdefs.h. */
41236 struct servent *se;
41239 (void) getservbyname_r(name, proto, se, buffer, buflen)
41245 rm -f conftest.
$ac_objext
41246 if { (ac_try
="$ac_compile"
41247 case "(($ac_try" in
41248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41249 *) ac_try_echo=$ac_try;;
41251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41252 (eval "$ac_compile") 2>conftest.er1
41254 grep -v '^ *+' conftest.er1 >conftest.err
41256 cat conftest.err >&5
41257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41258 (exit $ac_status); } && {
41259 test -z "$ac_cxx_werror_flag" ||
41260 test ! -s conftest.err
41261 } && test -s conftest.$ac_objext; then
41262 ac_cv_func_which_getservbyname_r=five
41264 echo "$as_me: failed program was:" >&5
41265 sed 's/^/| /' conftest.$ac_ext >&5
41268 cat >conftest.$ac_ext <<_ACEOF
41271 cat confdefs.h >>conftest.$ac_ext
41272 cat >>conftest.$ac_ext <<_ACEOF
41273 /* end confdefs.h. */
41281 struct servent *se;
41282 struct servent_data data;
41283 (void) getservbyname_r(name, proto, se, &data);
41289 rm -f conftest.$ac_objext
41290 if { (ac_try="$ac_compile"
41291 case "(($ac_try" in
41292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41293 *) ac_try_echo
=$ac_try;;
41295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41296 (eval "$ac_compile") 2>conftest.er1
41298 grep -v '^ *+' conftest.er1
>conftest.err
41300 cat conftest.err
>&5
41301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41302 (exit $ac_status); } && {
41303 test -z "$ac_cxx_werror_flag" ||
41304 test ! -s conftest.err
41305 } && test -s conftest.
$ac_objext; then
41306 ac_cv_func_which_getservbyname_r
=four
41308 echo "$as_me: failed program was:" >&5
41309 sed 's/^/| /' conftest.
$ac_ext >&5
41311 ac_cv_func_which_getservbyname_r
=no
41315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41320 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41327 ac_cpp
='$CPP $CPPFLAGS'
41328 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41329 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41330 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41335 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41336 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41338 if test $ac_cv_func_which_getservbyname_r = six
; then
41339 cat >>confdefs.h
<<\_ACEOF
41340 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41343 elif test $ac_cv_func_which_getservbyname_r = five
; then
41344 cat >>confdefs.h
<<\_ACEOF
41345 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41348 elif test $ac_cv_func_which_getservbyname_r = four
; then
41349 cat >>confdefs.h
<<\_ACEOF
41350 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41356 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41357 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41359 for ac_func
in getservbyname
41361 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41362 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41364 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41365 echo $ECHO_N "(cached) $ECHO_C" >&6
41367 cat >conftest.
$ac_ext <<_ACEOF
41370 cat confdefs.h
>>conftest.
$ac_ext
41371 cat >>conftest.
$ac_ext <<_ACEOF
41372 /* end confdefs.h. */
41373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41375 #define $ac_func innocuous_$ac_func
41377 /* System header to define __stub macros and hopefully few prototypes,
41378 which can conflict with char $ac_func (); below.
41379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41380 <limits.h> exists even on freestanding compilers. */
41383 # include <limits.h>
41385 # include <assert.h>
41390 /* Override any GCC internal prototype to avoid an error.
41391 Use char because int might match the return type of a GCC
41392 builtin and then its argument prototype would still apply. */
41397 /* The GNU C library defines this for functions which it implements
41398 to always fail with ENOSYS. Some functions are actually named
41399 something starting with __ and the normal name is an alias. */
41400 #if defined __stub_$ac_func || defined __stub___$ac_func
41407 return $ac_func ();
41412 rm -f conftest.
$ac_objext conftest
$ac_exeext
41413 if { (ac_try
="$ac_link"
41414 case "(($ac_try" in
41415 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41416 *) ac_try_echo=$ac_try;;
41418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41419 (eval "$ac_link") 2>conftest.er1
41421 grep -v '^ *+' conftest.er1 >conftest.err
41423 cat conftest.err >&5
41424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41425 (exit $ac_status); } && {
41426 test -z "$ac_c_werror_flag" ||
41427 test ! -s conftest.err
41428 } && test -s conftest$ac_exeext &&
41429 $as_test_x conftest$ac_exeext; then
41430 eval "$as_ac_var=yes"
41432 echo "$as_me: failed program was:" >&5
41433 sed 's/^/| /' conftest.$ac_ext >&5
41435 eval "$as_ac_var=no"
41438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41439 conftest$ac_exeext conftest.$ac_ext
41441 ac_res=`eval echo '${'$as_ac_var'}'`
41442 { echo "$as_me:$LINENO: result: $ac_res" >&5
41443 echo "${ECHO_T}$ac_res" >&6; }
41444 if test `eval echo '${'$as_ac_var'}'` = yes; then
41445 cat >>confdefs.h <<_ACEOF
41446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41448 cat >>confdefs.h <<\_ACEOF
41449 #define HAVE_GETSERVBYNAME 1
41457 if test "$wxUSE_THREADS" = "yes"; then
41458 cat >>confdefs.h <<\_ACEOF
41459 #define wxUSE_THREADS 1
41463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41465 if test "$wx_cv_func_strtok_r" = "yes"; then
41466 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41467 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41468 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41469 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41470 { echo "$as_me:$LINENO: result: yes" >&5
41471 echo "${ECHO_T}yes" >&6; }
41473 { echo "$as_me:$LINENO: result: no" >&5
41474 echo "${ECHO_T}no" >&6; }
41479 if test "$WXGTK2" = 1 ; then
41480 cat >>confdefs.h <<_ACEOF
41481 #define __WXGTK20__ $WXGTK2
41487 if test "$WXGTK12" = 1 ; then
41488 cat >>confdefs.h <<_ACEOF
41489 #define __WXGTK12__ $WXGTK12
41494 if test "$WXGTK127" = 1 ; then
41495 cat >>confdefs.h <<_ACEOF
41496 #define __WXGTK127__ $WXGTK127
41501 if test "$WXGPE" = 1 ; then
41502 cat >>confdefs.h <<_ACEOF
41503 #define __WXGPE__ $WXGPE
41509 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
41510 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41511 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41512 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41516 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41517 wxUSE_DEBUG_INFO=yes
41518 if test "$GCC" = yes; then
41519 DEBUG_CFLAGS="-ggdb"
41523 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41524 cat >>confdefs.h <<\_ACEOF
41528 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41530 if test "$wxUSE_GTK" = 1 ; then
41531 if test "x$wxGTK_VERSION" = "x1" ; then
41532 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41537 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41538 cat >>confdefs.h <<\_ACEOF
41539 #define wxUSE_MEMORY_TRACING 1
41542 cat >>confdefs.h <<\_ACEOF
41543 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41546 cat >>confdefs.h <<\_ACEOF
41547 #define wxUSE_DEBUG_NEW_ALWAYS 1
41550 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41553 if test "$wxUSE_DMALLOC" = "yes" ; then
41554 DMALLOC_LIBS="-ldmallocthcxx"
41558 if test "$wxUSE_PROFILE" = "yes" ; then
41559 PROFILE_FLAGS=" -pg"
41562 if test "$GCC" = "yes" ; then
41563 if test "$wxUSE_NO_RTTI" = "yes" ; then
41564 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41566 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41567 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41569 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41570 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41575 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41578 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41584 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
41585 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41586 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41588 if test "$wxUSE_OPTIMISE" = "no" ; then
41589 if test "$GCC" = yes ; then
41590 OPTIMISE_CFLAGS="-O0"
41593 if test "$GCC" = yes ; then
41595 *-pc-os2_emx | *-pc-os2-emx )
41596 OPTIMISE_CFLAGS="-O2"
41599 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41603 OPTIMISE_CFLAGS="-O"
41609 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41610 cat >>confdefs.h <<\_ACEOF
41611 #define WXWIN_COMPATIBILITY_2_6 1
41615 WXWIN_COMPATIBILITY_2_8="yes"
41618 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41619 cat >>confdefs.h <<\_ACEOF
41620 #define WXWIN_COMPATIBILITY_2_8 1
41626 if test "$wxUSE_GUI" = "yes"; then
41627 cat >>confdefs.h <<\_ACEOF
41628 #define wxUSE_GUI 1
41635 if test "$wxUSE_UNIX" = "yes"; then
41636 cat >>confdefs.h <<\_ACEOF
41637 #define wxUSE_UNIX 1
41643 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41647 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41648 if test "$USE_DOS" = 1; then
41652 for ac_func in dlopen
41654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41655 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41657 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41658 echo $ECHO_N "(cached) $ECHO_C" >&6
41660 cat >conftest.$ac_ext <<_ACEOF
41663 cat confdefs.h >>conftest.$ac_ext
41664 cat >>conftest.$ac_ext <<_ACEOF
41665 /* end confdefs.h. */
41666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41668 #define $ac_func innocuous_$ac_func
41670 /* System header to define __stub macros and hopefully few prototypes,
41671 which can conflict with char $ac_func (); below.
41672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41673 <limits.h> exists even on freestanding compilers. */
41676 # include <limits.h>
41678 # include <assert.h>
41683 /* Override any GCC internal prototype to avoid an error.
41684 Use char because int might match the return type of a GCC
41685 builtin and then its argument prototype would still apply. */
41690 /* The GNU C library defines this for functions which it implements
41691 to always fail with ENOSYS. Some functions are actually named
41692 something starting with __ and the normal name is an alias. */
41693 #if defined __stub_$ac_func || defined __stub___$ac_func
41700 return $ac_func ();
41705 rm -f conftest.$ac_objext conftest$ac_exeext
41706 if { (ac_try="$ac_link"
41707 case "(($ac_try" in
41708 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41709 *) ac_try_echo
=$ac_try;;
41711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41712 (eval "$ac_link") 2>conftest.er1
41714 grep -v '^ *+' conftest.er1
>conftest.err
41716 cat conftest.err
>&5
41717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41718 (exit $ac_status); } && {
41719 test -z "$ac_c_werror_flag" ||
41720 test ! -s conftest.err
41721 } && test -s conftest
$ac_exeext &&
41722 $as_test_x conftest
$ac_exeext; then
41723 eval "$as_ac_var=yes"
41725 echo "$as_me: failed program was:" >&5
41726 sed 's/^/| /' conftest.
$ac_ext >&5
41728 eval "$as_ac_var=no"
41731 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41732 conftest
$ac_exeext conftest.
$ac_ext
41734 ac_res
=`eval echo '${'$as_ac_var'}'`
41735 { echo "$as_me:$LINENO: result: $ac_res" >&5
41736 echo "${ECHO_T}$ac_res" >&6; }
41737 if test `eval echo '${'$as_ac_var'}'` = yes; then
41738 cat >>confdefs.h
<<_ACEOF
41739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41742 cat >>confdefs.h
<<\_ACEOF
41743 #define HAVE_DLOPEN 1
41750 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41751 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41752 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41753 echo $ECHO_N "(cached) $ECHO_C" >&6
41755 ac_check_lib_save_LIBS
=$LIBS
41757 cat >conftest.
$ac_ext <<_ACEOF
41760 cat confdefs.h
>>conftest.
$ac_ext
41761 cat >>conftest.
$ac_ext <<_ACEOF
41762 /* end confdefs.h. */
41764 /* Override any GCC internal prototype to avoid an error.
41765 Use char because int might match the return type of a GCC
41766 builtin and then its argument prototype would still apply. */
41779 rm -f conftest.
$ac_objext conftest
$ac_exeext
41780 if { (ac_try
="$ac_link"
41781 case "(($ac_try" in
41782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41783 *) ac_try_echo=$ac_try;;
41785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41786 (eval "$ac_link") 2>conftest.er1
41788 grep -v '^ *+' conftest.er1 >conftest.err
41790 cat conftest.err >&5
41791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41792 (exit $ac_status); } && {
41793 test -z "$ac_c_werror_flag" ||
41794 test ! -s conftest.err
41795 } && test -s conftest$ac_exeext &&
41796 $as_test_x conftest$ac_exeext; then
41797 ac_cv_lib_dl_dlopen=yes
41799 echo "$as_me: failed program was:" >&5
41800 sed 's/^/| /' conftest.$ac_ext >&5
41802 ac_cv_lib_dl_dlopen=no
41805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41806 conftest$ac_exeext conftest.$ac_ext
41807 LIBS=$ac_check_lib_save_LIBS
41809 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41810 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41811 if test $ac_cv_lib_dl_dlopen = yes; then
41813 cat >>confdefs.h <<\_ACEOF
41814 #define HAVE_DLOPEN 1
41818 DL_LINK=" -ldl$DL_LINK"
41823 for ac_func in shl_load
41825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41826 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41828 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41829 echo $ECHO_N "(cached) $ECHO_C" >&6
41831 cat >conftest.$ac_ext <<_ACEOF
41834 cat confdefs.h >>conftest.$ac_ext
41835 cat >>conftest.$ac_ext <<_ACEOF
41836 /* end confdefs.h. */
41837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41839 #define $ac_func innocuous_$ac_func
41841 /* System header to define __stub macros and hopefully few prototypes,
41842 which can conflict with char $ac_func (); below.
41843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41844 <limits.h> exists even on freestanding compilers. */
41847 # include <limits.h>
41849 # include <assert.h>
41854 /* Override any GCC internal prototype to avoid an error.
41855 Use char because int might match the return type of a GCC
41856 builtin and then its argument prototype would still apply. */
41861 /* The GNU C library defines this for functions which it implements
41862 to always fail with ENOSYS. Some functions are actually named
41863 something starting with __ and the normal name is an alias. */
41864 #if defined __stub_$ac_func || defined __stub___$ac_func
41871 return $ac_func ();
41876 rm -f conftest.$ac_objext conftest$ac_exeext
41877 if { (ac_try="$ac_link"
41878 case "(($ac_try" in
41879 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41880 *) ac_try_echo
=$ac_try;;
41882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41883 (eval "$ac_link") 2>conftest.er1
41885 grep -v '^ *+' conftest.er1
>conftest.err
41887 cat conftest.err
>&5
41888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41889 (exit $ac_status); } && {
41890 test -z "$ac_c_werror_flag" ||
41891 test ! -s conftest.err
41892 } && test -s conftest
$ac_exeext &&
41893 $as_test_x conftest
$ac_exeext; then
41894 eval "$as_ac_var=yes"
41896 echo "$as_me: failed program was:" >&5
41897 sed 's/^/| /' conftest.
$ac_ext >&5
41899 eval "$as_ac_var=no"
41902 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41903 conftest
$ac_exeext conftest.
$ac_ext
41905 ac_res
=`eval echo '${'$as_ac_var'}'`
41906 { echo "$as_me:$LINENO: result: $ac_res" >&5
41907 echo "${ECHO_T}$ac_res" >&6; }
41908 if test `eval echo '${'$as_ac_var'}'` = yes; then
41909 cat >>confdefs.h
<<_ACEOF
41910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41913 cat >>confdefs.h
<<\_ACEOF
41914 #define HAVE_SHL_LOAD 1
41921 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41922 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41923 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41924 echo $ECHO_N "(cached) $ECHO_C" >&6
41926 ac_check_lib_save_LIBS
=$LIBS
41927 LIBS
="-lshl_load $LIBS"
41928 cat >conftest.
$ac_ext <<_ACEOF
41931 cat confdefs.h
>>conftest.
$ac_ext
41932 cat >>conftest.
$ac_ext <<_ACEOF
41933 /* end confdefs.h. */
41935 /* Override any GCC internal prototype to avoid an error.
41936 Use char because int might match the return type of a GCC
41937 builtin and then its argument prototype would still apply. */
41950 rm -f conftest.
$ac_objext conftest
$ac_exeext
41951 if { (ac_try
="$ac_link"
41952 case "(($ac_try" in
41953 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41954 *) ac_try_echo=$ac_try;;
41956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41957 (eval "$ac_link") 2>conftest.er1
41959 grep -v '^ *+' conftest.er1 >conftest.err
41961 cat conftest.err >&5
41962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41963 (exit $ac_status); } && {
41964 test -z "$ac_c_werror_flag" ||
41965 test ! -s conftest.err
41966 } && test -s conftest$ac_exeext &&
41967 $as_test_x conftest$ac_exeext; then
41968 ac_cv_lib_shl_load_dld=yes
41970 echo "$as_me: failed program was:" >&5
41971 sed 's/^/| /' conftest.$ac_ext >&5
41973 ac_cv_lib_shl_load_dld=no
41976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41977 conftest$ac_exeext conftest.$ac_ext
41978 LIBS=$ac_check_lib_save_LIBS
41980 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41981 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41982 if test $ac_cv_lib_shl_load_dld = yes; then
41985 DL_LINK=" -ldld$DL_LINK"
42001 if test "$HAVE_DL_FUNCS" = 1; then
42003 for ac_func in dlerror
42005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42006 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42008 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42009 echo $ECHO_N "(cached) $ECHO_C" >&6
42011 cat >conftest.$ac_ext <<_ACEOF
42014 cat confdefs.h >>conftest.$ac_ext
42015 cat >>conftest.$ac_ext <<_ACEOF
42016 /* end confdefs.h. */
42017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42019 #define $ac_func innocuous_$ac_func
42021 /* System header to define __stub macros and hopefully few prototypes,
42022 which can conflict with char $ac_func (); below.
42023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42024 <limits.h> exists even on freestanding compilers. */
42027 # include <limits.h>
42029 # include <assert.h>
42034 /* Override any GCC internal prototype to avoid an error.
42035 Use char because int might match the return type of a GCC
42036 builtin and then its argument prototype would still apply. */
42041 /* The GNU C library defines this for functions which it implements
42042 to always fail with ENOSYS. Some functions are actually named
42043 something starting with __ and the normal name is an alias. */
42044 #if defined __stub_$ac_func || defined __stub___$ac_func
42051 return $ac_func ();
42056 rm -f conftest.$ac_objext conftest$ac_exeext
42057 if { (ac_try="$ac_link"
42058 case "(($ac_try" in
42059 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42060 *) ac_try_echo
=$ac_try;;
42062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42063 (eval "$ac_link") 2>conftest.er1
42065 grep -v '^ *+' conftest.er1
>conftest.err
42067 cat conftest.err
>&5
42068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42069 (exit $ac_status); } && {
42070 test -z "$ac_c_werror_flag" ||
42071 test ! -s conftest.err
42072 } && test -s conftest
$ac_exeext &&
42073 $as_test_x conftest
$ac_exeext; then
42074 eval "$as_ac_var=yes"
42076 echo "$as_me: failed program was:" >&5
42077 sed 's/^/| /' conftest.
$ac_ext >&5
42079 eval "$as_ac_var=no"
42082 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42083 conftest
$ac_exeext conftest.
$ac_ext
42085 ac_res
=`eval echo '${'$as_ac_var'}'`
42086 { echo "$as_me:$LINENO: result: $ac_res" >&5
42087 echo "${ECHO_T}$ac_res" >&6; }
42088 if test `eval echo '${'$as_ac_var'}'` = yes; then
42089 cat >>confdefs.h
<<_ACEOF
42090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42092 cat >>confdefs.h
<<\_ACEOF
42093 #define HAVE_DLERROR 1
42098 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42099 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42100 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42101 echo $ECHO_N "(cached) $ECHO_C" >&6
42103 ac_check_lib_save_LIBS
=$LIBS
42105 cat >conftest.
$ac_ext <<_ACEOF
42108 cat confdefs.h
>>conftest.
$ac_ext
42109 cat >>conftest.
$ac_ext <<_ACEOF
42110 /* end confdefs.h. */
42112 /* Override any GCC internal prototype to avoid an error.
42113 Use char because int might match the return type of a GCC
42114 builtin and then its argument prototype would still apply. */
42127 rm -f conftest.
$ac_objext conftest
$ac_exeext
42128 if { (ac_try
="$ac_link"
42129 case "(($ac_try" in
42130 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42131 *) ac_try_echo=$ac_try;;
42133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42134 (eval "$ac_link") 2>conftest.er1
42136 grep -v '^ *+' conftest.er1 >conftest.err
42138 cat conftest.err >&5
42139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42140 (exit $ac_status); } && {
42141 test -z "$ac_c_werror_flag" ||
42142 test ! -s conftest.err
42143 } && test -s conftest$ac_exeext &&
42144 $as_test_x conftest$ac_exeext; then
42145 ac_cv_lib_dl_dlerror=yes
42147 echo "$as_me: failed program was:" >&5
42148 sed 's/^/| /' conftest.$ac_ext >&5
42150 ac_cv_lib_dl_dlerror=no
42153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42154 conftest$ac_exeext conftest.$ac_ext
42155 LIBS=$ac_check_lib_save_LIBS
42157 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42158 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42159 if test $ac_cv_lib_dl_dlerror = yes; then
42160 cat >>confdefs.h <<\_ACEOF
42161 #define HAVE_DLERROR 1
42174 if test "$USE_DARWIN" = 1; then
42178 if test "$HAVE_DL_FUNCS" = 0; then
42179 if test "$HAVE_SHL_FUNCS" = 0; then
42180 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42181 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42182 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42183 wxUSE_DYNAMIC_LOADER=no
42184 wxUSE_DYNLIB_CLASS=no
42186 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42187 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42194 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42195 cat >>confdefs.h <<\_ACEOF
42196 #define wxUSE_DYNAMIC_LOADER 1
42200 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42201 cat >>confdefs.h <<\_ACEOF
42202 #define wxUSE_DYNLIB_CLASS 1
42209 if test "$wxUSE_PLUGINS" = "yes" ; then
42210 if test "$wxUSE_SHARED" = "no" ; then
42211 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42212 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42215 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42216 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42217 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42220 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42221 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42222 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42225 if test "$wxUSE_PLUGINS" = "yes" ; then
42226 cat >>confdefs.h <<\_ACEOF
42227 #define wxUSE_PLUGINS 1
42234 if test "$wxUSE_STL" = "yes"; then
42235 cat >>confdefs.h <<\_ACEOF
42236 #define wxUSE_STL 1
42241 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42242 cat >>confdefs.h <<\_ACEOF
42243 #define wxUSE_EXTENDED_RTTI 1
42248 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42249 cat >>confdefs.h <<\_ACEOF
42250 #define wxUSE_APPLE_IEEE 1
42255 if test "$wxUSE_TIMER" = "yes"; then
42256 cat >>confdefs.h <<\_ACEOF
42257 #define wxUSE_TIMER 1
42262 if test "$USE_UNIX" = 1 ; then
42263 if test "$wxUSE_MGL" != 1; then
42264 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42265 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42266 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42267 echo $ECHO_N "(cached) $ECHO_C" >&6
42270 cat >conftest.$ac_ext <<_ACEOF
42273 cat confdefs.h >>conftest.$ac_ext
42274 cat >>conftest.$ac_ext <<_ACEOF
42275 /* end confdefs.h. */
42277 #include <sys/ioctl.h>
42278 #include <sys/soundcard.h>
42284 ioctl(0, SNDCTL_DSP_SPEED, 0);
42290 rm -f conftest.$ac_objext conftest$ac_exeext
42291 if { (ac_try="$ac_link"
42292 case "(($ac_try" in
42293 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42294 *) ac_try_echo
=$ac_try;;
42296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42297 (eval "$ac_link") 2>conftest.er1
42299 grep -v '^ *+' conftest.er1
>conftest.err
42301 cat conftest.err
>&5
42302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42303 (exit $ac_status); } && {
42304 test -z "$ac_c_werror_flag" ||
42305 test ! -s conftest.err
42306 } && test -s conftest
$ac_exeext &&
42307 $as_test_x conftest
$ac_exeext; then
42308 ac_cv_header_sys_soundcard
=yes
42310 echo "$as_me: failed program was:" >&5
42311 sed 's/^/| /' conftest.
$ac_ext >&5
42315 LIBS
="$saveLibs -lossaudio"
42316 cat >conftest.
$ac_ext <<_ACEOF
42319 cat confdefs.h
>>conftest.
$ac_ext
42320 cat >>conftest.
$ac_ext <<_ACEOF
42321 /* end confdefs.h. */
42323 #include <sys/ioctl.h>
42324 #include <sys/soundcard.h>
42330 ioctl(0, SNDCTL_DSP_SPEED, 0);
42336 rm -f conftest.
$ac_objext conftest
$ac_exeext
42337 if { (ac_try
="$ac_link"
42338 case "(($ac_try" in
42339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42340 *) ac_try_echo=$ac_try;;
42342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42343 (eval "$ac_link") 2>conftest.er1
42345 grep -v '^ *+' conftest.er1 >conftest.err
42347 cat conftest.err >&5
42348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42349 (exit $ac_status); } && {
42350 test -z "$ac_c_werror_flag" ||
42351 test ! -s conftest.err
42352 } && test -s conftest$ac_exeext &&
42353 $as_test_x conftest$ac_exeext; then
42354 ac_cv_header_sys_soundcard=yes
42356 echo "$as_me: failed program was:" >&5
42357 sed 's/^/| /' conftest.$ac_ext >&5
42361 ac_cv_header_sys_soundcard=no
42366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42367 conftest$ac_exeext conftest.$ac_ext
42372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42373 conftest$ac_exeext conftest.$ac_ext
42376 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42377 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42380 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42381 cat >>confdefs.h <<\_ACEOF
42382 #define HAVE_SYS_SOUNDCARD_H 1
42389 if test "$wxUSE_SOUND" = "yes"; then
42390 if test "$USE_UNIX" = 1 ; then
42391 if test "$wxUSE_LIBSDL" != "no"; then
42393 # Check whether --with-sdl-prefix was given.
42394 if test "${with_sdl_prefix+set}" = set; then
42395 withval=$with_sdl_prefix; sdl_prefix="$withval"
42401 # Check whether --with-sdl-exec-prefix was given.
42402 if test "${with_sdl_exec_prefix+set}" = set; then
42403 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42408 # Check whether --enable-sdltest was given.
42409 if test "${enable_sdltest+set}" = set; then
42410 enableval=$enable_sdltest;
42416 if test x$sdl_exec_prefix != x ; then
42417 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42418 if test x${SDL_CONFIG+set} != xset ; then
42419 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42422 if test x$sdl_prefix != x ; then
42423 sdl_args="$sdl_args --prefix=$sdl_prefix"
42424 if test x${SDL_CONFIG+set} != xset ; then
42425 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42429 if test "x$prefix" != xNONE; then
42430 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42432 # Extract the first word of "sdl-config", so it can be a program name with args.
42433 set dummy sdl-config; ac_word=$2
42434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42436 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42437 echo $ECHO_N "(cached) $ECHO_C" >&6
42439 case $SDL_CONFIG in
42441 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42445 for as_dir in $PATH
42448 test -z "$as_dir" && as_dir=.
42449 for ac_exec_ext in '' $ac_executable_extensions; do
42450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42451 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42459 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42463 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42464 if test -n "$SDL_CONFIG"; then
42465 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42466 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42468 { echo "$as_me:$LINENO: result: no" >&5
42469 echo "${ECHO_T}no" >&6; }
42473 min_sdl_version=1.2.0
42474 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42475 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42477 if test "$SDL_CONFIG" = "no" ; then
42480 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42481 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42483 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42484 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42485 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42486 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42487 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42488 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42489 if test "x$enable_sdltest" = "xyes" ; then
42490 ac_save_CFLAGS="$CFLAGS"
42491 ac_save_CXXFLAGS="$CXXFLAGS"
42492 ac_save_LIBS="$LIBS"
42493 CFLAGS="$CFLAGS $SDL_CFLAGS"
42494 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42495 LIBS="$LIBS $SDL_LIBS"
42497 if test "$cross_compiling" = yes; then
42498 echo $ac_n "cross compiling; assumed OK... $ac_c"
42500 cat >conftest.$ac_ext <<_ACEOF
42503 cat confdefs.h >>conftest.$ac_ext
42504 cat >>conftest.$ac_ext <<_ACEOF
42505 /* end confdefs.h. */
42508 #include <stdlib.h>
42509 #include <string.h>
42513 my_strdup (char *str)
42519 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42520 strcpy (new_str, str);
42528 int main (int argc, char *argv[])
42530 int major, minor, micro;
42533 /* This hangs on some systems (?)
42534 system ("touch conf.sdltest");
42536 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42538 /* HP/UX 9 (%@#!) writes to sscanf strings */
42539 tmp_version = my_strdup("$min_sdl_version");
42540 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42541 printf("%s, bad version string\n", "$min_sdl_version");
42545 if (($sdl_major_version > major) ||
42546 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42547 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42553 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42554 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42555 printf("*** best to upgrade to the required version.\n");
42556 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42557 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42558 printf("*** config.cache before re-running configure\n");
42565 rm -f conftest$ac_exeext
42566 if { (ac_try="$ac_link"
42567 case "(($ac_try" in
42568 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42569 *) ac_try_echo
=$ac_try;;
42571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42572 (eval "$ac_link") 2>&5
42574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42575 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42576 { (case "(($ac_try" in
42577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42578 *) ac_try_echo=$ac_try;;
42580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42581 (eval "$ac_try") 2>&5
42583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42584 (exit $ac_status); }; }; then
42587 echo "$as_me: program exited with status $ac_status" >&5
42588 echo "$as_me: failed program was:" >&5
42589 sed 's/^/| /' conftest.$ac_ext >&5
42591 ( exit $ac_status )
42594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42598 CFLAGS="$ac_save_CFLAGS"
42599 CXXFLAGS="$ac_save_CXXFLAGS"
42600 LIBS="$ac_save_LIBS"
42603 if test "x$no_sdl" = x ; then
42604 { echo "$as_me:$LINENO: result: yes" >&5
42605 echo "${ECHO_T}yes" >&6; }
42607 EXTRALIBS_SDL="$SDL_LIBS"
42608 CFLAGS="$SDL_CFLAGS $CFLAGS"
42609 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42610 cat >>confdefs.h <<\_ACEOF
42611 #define wxUSE_LIBSDL 1
42616 { echo "$as_me:$LINENO: result: no" >&5
42617 echo "${ECHO_T}no" >&6; }
42618 if test "$SDL_CONFIG" = "no" ; then
42619 echo "*** The sdl-config script installed by SDL could not be found"
42620 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42621 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42622 echo "*** full path to sdl-config."
42624 if test -f conf.sdltest ; then
42627 echo "*** Could not run SDL test program, checking why..."
42628 CFLAGS="$CFLAGS $SDL_CFLAGS"
42629 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42630 LIBS="$LIBS $SDL_LIBS"
42631 cat >conftest.$ac_ext <<_ACEOF
42634 cat confdefs.h >>conftest.$ac_ext
42635 cat >>conftest.$ac_ext <<_ACEOF
42636 /* end confdefs.h. */
42641 int main(int argc, char *argv[])
42644 #define main K_and_R_C_main
42654 rm -f conftest.$ac_objext conftest$ac_exeext
42655 if { (ac_try="$ac_link"
42656 case "(($ac_try" in
42657 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42658 *) ac_try_echo
=$ac_try;;
42660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42661 (eval "$ac_link") 2>conftest.er1
42663 grep -v '^ *+' conftest.er1
>conftest.err
42665 cat conftest.err
>&5
42666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42667 (exit $ac_status); } && {
42668 test -z "$ac_c_werror_flag" ||
42669 test ! -s conftest.err
42670 } && test -s conftest
$ac_exeext &&
42671 $as_test_x conftest
$ac_exeext; then
42672 echo "*** The test program compiled, but did not run. This usually means"
42673 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42674 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42675 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42676 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42677 echo "*** is required on your system"
42679 echo "*** If you have an old version installed, it is best to remove it, although"
42680 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42682 echo "$as_me: failed program was:" >&5
42683 sed 's/^/| /' conftest.
$ac_ext >&5
42685 echo "*** The test program failed to compile or link. See the file config.log for the"
42686 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42687 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42688 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42691 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42692 conftest
$ac_exeext conftest.
$ac_ext
42693 CFLAGS
="$ac_save_CFLAGS"
42694 CXXFLAGS
="$ac_save_CXXFLAGS"
42695 LIBS
="$ac_save_LIBS"
42706 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42711 if test "$wxUSE_MGL" = 1; then
42712 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42713 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42719 if test "$wxUSE_SOUND" = "yes"; then
42720 cat >>confdefs.h
<<\_ACEOF
42721 #define wxUSE_SOUND 1
42724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42727 if test "$WXGTK2" = 1; then
42730 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42731 if test -n "$ac_tool_prefix"; then
42732 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42733 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42736 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42737 echo $ECHO_N "(cached) $ECHO_C" >&6
42739 case $PKG_CONFIG in
42741 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42745 for as_dir
in $PATH
42748 test -z "$as_dir" && as_dir
=.
42749 for ac_exec_ext
in '' $ac_executable_extensions; do
42750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42751 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42762 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42763 if test -n "$PKG_CONFIG"; then
42764 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42765 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42767 { echo "$as_me:$LINENO: result: no" >&5
42768 echo "${ECHO_T}no" >&6; }
42773 if test -z "$ac_cv_path_PKG_CONFIG"; then
42774 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42775 # Extract the first word of "pkg-config", so it can be a program name with args.
42776 set dummy pkg
-config; ac_word
=$2
42777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42779 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42780 echo $ECHO_N "(cached) $ECHO_C" >&6
42782 case $ac_pt_PKG_CONFIG in
42784 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42788 for as_dir
in $PATH
42791 test -z "$as_dir" && as_dir
=.
42792 for ac_exec_ext
in '' $ac_executable_extensions; do
42793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42794 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42805 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42806 if test -n "$ac_pt_PKG_CONFIG"; then
42807 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42808 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42810 { echo "$as_me:$LINENO: result: no" >&5
42811 echo "${ECHO_T}no" >&6; }
42814 if test "x$ac_pt_PKG_CONFIG" = x
; then
42817 case $cross_compiling:$ac_tool_warned in
42819 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42820 whose name does not start with the host triplet. If you think this
42821 configuration is useful to you, please write to autoconf@gnu.org." >&5
42822 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42823 whose name does not start with the host triplet. If you think this
42824 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42825 ac_tool_warned
=yes ;;
42827 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42830 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42834 if test -n "$PKG_CONFIG"; then
42835 _pkg_min_version
=0.9.0
42836 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42837 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42838 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42839 { echo "$as_me:$LINENO: result: yes" >&5
42840 echo "${ECHO_T}yes" >&6; }
42842 { echo "$as_me:$LINENO: result: no" >&5
42843 echo "${ECHO_T}no" >&6; }
42849 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42851 if test "$wxUSE_GTKPRINT" = "yes" ; then
42855 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42856 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42858 if test -n "$PKG_CONFIG"; then
42859 if test -n "$GTKPRINT_CFLAGS"; then
42860 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42862 if test -n "$PKG_CONFIG" && \
42863 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42864 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42867 (exit $ac_status); }; then
42868 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42876 if test -n "$PKG_CONFIG"; then
42877 if test -n "$GTKPRINT_LIBS"; then
42878 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42880 if test -n "$PKG_CONFIG" && \
42881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42882 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42885 (exit $ac_status); }; then
42886 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42897 if test $pkg_failed = yes; then
42899 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42900 _pkg_short_errors_supported
=yes
42902 _pkg_short_errors_supported
=no
42904 if test $_pkg_short_errors_supported = yes; then
42905 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42907 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42909 # Put the nasty error message in config.log where it belongs
42910 echo "$GTKPRINT_PKG_ERRORS" >&5
42913 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42914 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42915 wxUSE_GTKPRINT
="no"
42918 elif test $pkg_failed = untried
; then
42920 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42921 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42922 wxUSE_GTKPRINT
="no"
42926 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42927 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42928 { echo "$as_me:$LINENO: result: yes" >&5
42929 echo "${ECHO_T}yes" >&6; }
42931 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42932 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42933 cat >>confdefs.h
<<\_ACEOF
42934 #define wxUSE_GTKPRINT 1
42941 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42945 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42946 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42948 if test -n "$PKG_CONFIG"; then
42949 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42950 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42952 if test -n "$PKG_CONFIG" && \
42953 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42954 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42957 (exit $ac_status); }; then
42958 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42966 if test -n "$PKG_CONFIG"; then
42967 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42968 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42970 if test -n "$PKG_CONFIG" && \
42971 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42972 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42975 (exit $ac_status); }; then
42976 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42987 if test $pkg_failed = yes; then
42989 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42990 _pkg_short_errors_supported
=yes
42992 _pkg_short_errors_supported
=no
42994 if test $_pkg_short_errors_supported = yes; then
42995 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42997 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42999 # Put the nasty error message in config.log where it belongs
43000 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43003 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43004 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43005 wxUSE_LIBGNOMEPRINT
="no"
43008 elif test $pkg_failed = untried
; then
43010 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43011 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43012 wxUSE_LIBGNOMEPRINT
="no"
43016 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43017 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43018 { echo "$as_me:$LINENO: result: yes" >&5
43019 echo "${ECHO_T}yes" >&6; }
43021 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43022 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43023 cat >>confdefs.h
<<\_ACEOF
43024 #define wxUSE_LIBGNOMEPRINT 1
43032 if test "$wxUSE_MIMETYPE" = "yes" ; then
43033 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43037 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43038 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43040 if test -n "$PKG_CONFIG"; then
43041 if test -n "$GNOMEVFS_CFLAGS"; then
43042 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43044 if test -n "$PKG_CONFIG" && \
43045 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43046 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43049 (exit $ac_status); }; then
43050 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43058 if test -n "$PKG_CONFIG"; then
43059 if test -n "$GNOMEVFS_LIBS"; then
43060 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43062 if test -n "$PKG_CONFIG" && \
43063 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43064 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43067 (exit $ac_status); }; then
43068 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43079 if test $pkg_failed = yes; then
43081 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43082 _pkg_short_errors_supported
=yes
43084 _pkg_short_errors_supported
=no
43086 if test $_pkg_short_errors_supported = yes; then
43087 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43089 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43091 # Put the nasty error message in config.log where it belongs
43092 echo "$GNOMEVFS_PKG_ERRORS" >&5
43095 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43096 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43097 wxUSE_LIBGNOMEVFS
="no"
43100 elif test $pkg_failed = untried
; then
43102 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43103 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43104 wxUSE_LIBGNOMEVFS
="no"
43108 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43109 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43110 { echo "$as_me:$LINENO: result: yes" >&5
43111 echo "${ECHO_T}yes" >&6; }
43113 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43114 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43115 cat >>confdefs.h
<<\_ACEOF
43116 #define wxUSE_LIBGNOMEVFS 1
43124 if test "$wxUSE_LIBHILDON" = "yes" ; then
43127 { echo "$as_me:$LINENO: checking for HILDON" >&5
43128 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43130 if test -n "$PKG_CONFIG"; then
43131 if test -n "$HILDON_CFLAGS"; then
43132 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43134 if test -n "$PKG_CONFIG" && \
43135 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43136 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43139 (exit $ac_status); }; then
43140 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43148 if test -n "$PKG_CONFIG"; then
43149 if test -n "$HILDON_LIBS"; then
43150 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43152 if test -n "$PKG_CONFIG" && \
43153 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43154 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43157 (exit $ac_status); }; then
43158 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43169 if test $pkg_failed = yes; then
43171 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43172 _pkg_short_errors_supported
=yes
43174 _pkg_short_errors_supported
=no
43176 if test $_pkg_short_errors_supported = yes; then
43177 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43179 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43181 # Put the nasty error message in config.log where it belongs
43182 echo "$HILDON_PKG_ERRORS" >&5
43185 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43186 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43187 wxUSE_LIBHILDON
="no"
43190 elif test $pkg_failed = untried
; then
43192 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43193 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43194 wxUSE_LIBHILDON
="no"
43198 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43199 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43200 { echo "$as_me:$LINENO: result: yes" >&5
43201 echo "${ECHO_T}yes" >&6; }
43203 EXTRALIBS_HILDON
="$HILDON_LIBS"
43204 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43205 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43206 cat >>confdefs.h
<<\_ACEOF
43207 #define wxUSE_LIBHILDON 1
43215 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43216 cat >>confdefs.h
<<\_ACEOF
43217 #define wxUSE_CMDLINE_PARSER 1
43222 if test "$wxUSE_STOPWATCH" = "yes"; then
43223 cat >>confdefs.h
<<\_ACEOF
43224 #define wxUSE_STOPWATCH 1
43229 if test "$wxUSE_DATETIME" = "yes"; then
43230 cat >>confdefs.h
<<\_ACEOF
43231 #define wxUSE_DATETIME 1
43236 if test "$wxUSE_FILE" = "yes"; then
43237 cat >>confdefs.h
<<\_ACEOF
43238 #define wxUSE_FILE 1
43243 if test "$wxUSE_FFILE" = "yes"; then
43244 cat >>confdefs.h
<<\_ACEOF
43245 #define wxUSE_FFILE 1
43250 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43251 if test "$wxUSE_STREAMS" != yes; then
43252 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43253 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43254 wxUSE_ARCHIVE_STREAMS
=no
43256 cat >>confdefs.h
<<\_ACEOF
43257 #define wxUSE_ARCHIVE_STREAMS 1
43263 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43264 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43265 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43266 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43267 elif test "$wxUSE_ZLIB" = "no"; then
43268 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43269 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43271 cat >>confdefs.h
<<\_ACEOF
43272 #define wxUSE_ZIPSTREAM 1
43278 if test "$wxUSE_TARSTREAM" = "yes"; then
43279 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43280 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43281 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43283 cat >>confdefs.h
<<\_ACEOF
43284 #define wxUSE_TARSTREAM 1
43290 if test "$wxUSE_FILESYSTEM" = "yes"; then
43291 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43292 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43293 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43294 wxUSE_FILESYSTEM
=no
43296 cat >>confdefs.h
<<\_ACEOF
43297 #define wxUSE_FILESYSTEM 1
43303 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43304 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43305 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43306 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43308 cat >>confdefs.h
<<\_ACEOF
43309 #define wxUSE_FS_ARCHIVE 1
43315 if test "$wxUSE_FS_ZIP" = "yes"; then
43316 if test "$wxUSE_FS_ARCHIVE" != yes; then
43317 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43318 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43320 cat >>confdefs.h
<<\_ACEOF
43321 #define wxUSE_FS_ZIP 1
43327 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43328 if test "$USE_UNIX" != 1; then
43329 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43330 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43331 wxUSE_ON_FATAL_EXCEPTION
=no
43333 cat >>confdefs.h
<<\_ACEOF
43334 #define wxUSE_ON_FATAL_EXCEPTION 1
43340 if test "$wxUSE_STACKWALKER" = "yes"; then
43341 cat >>confdefs.h
<<\_ACEOF
43342 #define wxUSE_STACKWALKER 1
43347 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43348 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43349 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43350 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43351 wxUSE_DEBUGREPORT
=no
43353 cat >>confdefs.h
<<\_ACEOF
43354 #define wxUSE_DEBUGREPORT 1
43357 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43358 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43363 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43364 cat >>confdefs.h
<<\_ACEOF
43365 #define wxUSE_SNGLINST_CHECKER 1
43370 if test "$wxUSE_BUSYINFO" = "yes"; then
43371 cat >>confdefs.h
<<\_ACEOF
43372 #define wxUSE_BUSYINFO 1
43377 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43378 cat >>confdefs.h
<<\_ACEOF
43379 #define wxUSE_STD_IOSTREAM 1
43384 if test "$wxUSE_STD_STRING" = "yes"; then
43385 cat >>confdefs.h
<<\_ACEOF
43386 #define wxUSE_STD_STRING 1
43391 if test "$wxUSE_STDPATHS" = "yes"; then
43392 cat >>confdefs.h
<<\_ACEOF
43393 #define wxUSE_STDPATHS 1
43398 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43399 cat >>confdefs.h
<<\_ACEOF
43400 #define wxUSE_TEXTBUFFER 1
43405 if test "$wxUSE_TEXTFILE" = "yes"; then
43406 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43407 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43408 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43410 cat >>confdefs.h
<<\_ACEOF
43411 #define wxUSE_TEXTFILE 1
43417 if test "$wxUSE_CONFIG" = "yes" ; then
43418 if test "$wxUSE_TEXTFILE" != "yes"; then
43419 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43420 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43422 cat >>confdefs.h
<<\_ACEOF
43423 #define wxUSE_CONFIG 1
43426 cat >>confdefs.h
<<\_ACEOF
43427 #define wxUSE_CONFIG_NATIVE 1
43430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43434 if test "$wxUSE_INTL" = "yes" ; then
43435 if test "$wxUSE_FILE" != "yes"; then
43436 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43437 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43439 cat >>confdefs.h
<<\_ACEOF
43440 #define wxUSE_INTL 1
43443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43444 GUIDIST
="$GUIDIST INTL_DIST"
43448 if test "$wxUSE_XLOCALE" = "yes" ; then
43449 cat >>confdefs.h
<<\_ACEOF
43450 #define wxUSE_XLOCALE 1
43453 { echo "$as_me:$LINENO: checking for locale_t" >&5
43454 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43455 if test "${ac_cv_type_locale_t+set}" = set; then
43456 echo $ECHO_N "(cached) $ECHO_C" >&6
43458 cat >conftest.
$ac_ext <<_ACEOF
43461 cat confdefs.h
>>conftest.
$ac_ext
43462 cat >>conftest.
$ac_ext <<_ACEOF
43463 /* end confdefs.h. */
43464 #include <xlocale.h>
43465 #include <locale.h>
43467 typedef locale_t ac__type_new_;
43471 if ((ac__type_new_ *) 0)
43473 if (sizeof (ac__type_new_))
43479 rm -f conftest.
$ac_objext
43480 if { (ac_try
="$ac_compile"
43481 case "(($ac_try" in
43482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43483 *) ac_try_echo=$ac_try;;
43485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43486 (eval "$ac_compile") 2>conftest.er1
43488 grep -v '^ *+' conftest.er1 >conftest.err
43490 cat conftest.err >&5
43491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43492 (exit $ac_status); } && {
43493 test -z "$ac_c_werror_flag" ||
43494 test ! -s conftest.err
43495 } && test -s conftest.$ac_objext; then
43496 ac_cv_type_locale_t=yes
43498 echo "$as_me: failed program was:" >&5
43499 sed 's/^/| /' conftest.$ac_ext >&5
43501 ac_cv_type_locale_t=no
43504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43506 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43507 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43508 if test $ac_cv_type_locale_t = yes; then
43510 cat >>confdefs.h <<_ACEOF
43511 #define HAVE_LOCALE_T 1
43519 if test "$wxUSE_LOG" = "yes"; then
43520 cat >>confdefs.h <<\_ACEOF
43521 #define wxUSE_LOG 1
43525 if test "$wxUSE_LOGGUI" = "yes"; then
43526 cat >>confdefs.h <<\_ACEOF
43527 #define wxUSE_LOGGUI 1
43532 if test "$wxUSE_LOGWINDOW" = "yes"; then
43533 cat >>confdefs.h <<\_ACEOF
43534 #define wxUSE_LOGWINDOW 1
43539 if test "$wxUSE_LOGDIALOG" = "yes"; then
43540 cat >>confdefs.h <<\_ACEOF
43541 #define wxUSE_LOG_DIALOG 1
43546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43549 if test "$wxUSE_LONGLONG" = "yes"; then
43550 cat >>confdefs.h <<\_ACEOF
43551 #define wxUSE_LONGLONG 1
43556 if test "$wxUSE_GEOMETRY" = "yes"; then
43557 cat >>confdefs.h <<\_ACEOF
43558 #define wxUSE_GEOMETRY 1
43563 if test "$wxUSE_BASE64" = "yes"; then
43564 cat >>confdefs.h <<\_ACEOF
43565 #define wxUSE_BASE64 1
43570 if test "$wxUSE_STREAMS" = "yes" ; then
43571 cat >>confdefs.h <<\_ACEOF
43572 #define wxUSE_STREAMS 1
43577 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43578 cat >>confdefs.h <<\_ACEOF
43579 #define wxUSE_PRINTF_POS_PARAMS 1
43584 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43585 cat >>confdefs.h <<\_ACEOF
43586 #define wxUSE_OBJC_UNIQUIFYING 1
43592 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43593 cat >>confdefs.h <<\_ACEOF
43594 #define wxUSE_CONSOLE_EVENTLOOP 1
43598 if test "$wxUSE_UNIX" = "yes"; then
43599 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43600 cat >>confdefs.h <<\_ACEOF
43601 #define wxUSE_SELECT_DISPATCHER 1
43606 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43608 for ac_header in sys/epoll.h
43610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43614 echo $ECHO_N "(cached) $ECHO_C" >&6
43616 cat >conftest.$ac_ext <<_ACEOF
43619 cat confdefs.h >>conftest.$ac_ext
43620 cat >>conftest.$ac_ext <<_ACEOF
43621 /* end confdefs.h. */
43622 $ac_includes_default
43624 #include <$ac_header>
43626 rm -f conftest.$ac_objext
43627 if { (ac_try="$ac_compile"
43628 case "(($ac_try" in
43629 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43630 *) ac_try_echo
=$ac_try;;
43632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43633 (eval "$ac_compile") 2>conftest.er1
43635 grep -v '^ *+' conftest.er1
>conftest.err
43637 cat conftest.err
>&5
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); } && {
43640 test -z "$ac_c_werror_flag" ||
43641 test ! -s conftest.err
43642 } && test -s conftest.
$ac_objext; then
43643 eval "$as_ac_Header=yes"
43645 echo "$as_me: failed program was:" >&5
43646 sed 's/^/| /' conftest.
$ac_ext >&5
43648 eval "$as_ac_Header=no"
43651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43653 ac_res
=`eval echo '${'$as_ac_Header'}'`
43654 { echo "$as_me:$LINENO: result: $ac_res" >&5
43655 echo "${ECHO_T}$ac_res" >&6; }
43656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43657 cat >>confdefs.h
<<_ACEOF
43658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43665 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43666 cat >>confdefs.h
<<\_ACEOF
43667 #define wxUSE_EPOLL_DISPATCHER 1
43671 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43672 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43681 for ac_func
in gettimeofday ftime
43683 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43684 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43686 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43687 echo $ECHO_N "(cached) $ECHO_C" >&6
43689 cat >conftest.
$ac_ext <<_ACEOF
43692 cat confdefs.h
>>conftest.
$ac_ext
43693 cat >>conftest.
$ac_ext <<_ACEOF
43694 /* end confdefs.h. */
43695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43697 #define $ac_func innocuous_$ac_func
43699 /* System header to define __stub macros and hopefully few prototypes,
43700 which can conflict with char $ac_func (); below.
43701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43702 <limits.h> exists even on freestanding compilers. */
43705 # include <limits.h>
43707 # include <assert.h>
43712 /* Override any GCC internal prototype to avoid an error.
43713 Use char because int might match the return type of a GCC
43714 builtin and then its argument prototype would still apply. */
43719 /* The GNU C library defines this for functions which it implements
43720 to always fail with ENOSYS. Some functions are actually named
43721 something starting with __ and the normal name is an alias. */
43722 #if defined __stub_$ac_func || defined __stub___$ac_func
43729 return $ac_func ();
43734 rm -f conftest.
$ac_objext conftest
$ac_exeext
43735 if { (ac_try
="$ac_link"
43736 case "(($ac_try" in
43737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43738 *) ac_try_echo=$ac_try;;
43740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43741 (eval "$ac_link") 2>conftest.er1
43743 grep -v '^ *+' conftest.er1 >conftest.err
43745 cat conftest.err >&5
43746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43747 (exit $ac_status); } && {
43748 test -z "$ac_c_werror_flag" ||
43749 test ! -s conftest.err
43750 } && test -s conftest$ac_exeext &&
43751 $as_test_x conftest$ac_exeext; then
43752 eval "$as_ac_var=yes"
43754 echo "$as_me: failed program was:" >&5
43755 sed 's/^/| /' conftest.$ac_ext >&5
43757 eval "$as_ac_var=no"
43760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43761 conftest$ac_exeext conftest.$ac_ext
43763 ac_res=`eval echo '${'$as_ac_var'}'`
43764 { echo "$as_me:$LINENO: result: $ac_res" >&5
43765 echo "${ECHO_T}$ac_res" >&6; }
43766 if test `eval echo '${'$as_ac_var'}'` = yes; then
43767 cat >>confdefs.h <<_ACEOF
43768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43775 if test "$ac_cv_func_gettimeofday" = "yes"; then
43776 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43777 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43778 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43779 echo $ECHO_N "(cached) $ECHO_C" >&6
43782 cat >conftest.$ac_ext <<_ACEOF
43785 cat confdefs.h >>conftest.$ac_ext
43786 cat >>conftest.$ac_ext <<_ACEOF
43787 /* end confdefs.h. */
43789 #include <sys/time.h>
43790 #include <unistd.h>
43797 gettimeofday(&tv, NULL);
43803 rm -f conftest.$ac_objext
43804 if { (ac_try="$ac_compile"
43805 case "(($ac_try" in
43806 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43807 *) ac_try_echo
=$ac_try;;
43809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43810 (eval "$ac_compile") 2>conftest.er1
43812 grep -v '^ *+' conftest.er1
>conftest.err
43814 cat conftest.err
>&5
43815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43816 (exit $ac_status); } && {
43817 test -z "$ac_c_werror_flag" ||
43818 test ! -s conftest.err
43819 } && test -s conftest.
$ac_objext; then
43820 wx_cv_func_gettimeofday_has_2_args
=yes
43822 echo "$as_me: failed program was:" >&5
43823 sed 's/^/| /' conftest.
$ac_ext >&5
43825 cat >conftest.
$ac_ext <<_ACEOF
43828 cat confdefs.h
>>conftest.
$ac_ext
43829 cat >>conftest.
$ac_ext <<_ACEOF
43830 /* end confdefs.h. */
43832 #include <sys/time.h>
43833 #include <unistd.h>
43846 rm -f conftest.
$ac_objext
43847 if { (ac_try
="$ac_compile"
43848 case "(($ac_try" in
43849 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43850 *) ac_try_echo=$ac_try;;
43852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43853 (eval "$ac_compile") 2>conftest.er1
43855 grep -v '^ *+' conftest.er1 >conftest.err
43857 cat conftest.err >&5
43858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43859 (exit $ac_status); } && {
43860 test -z "$ac_c_werror_flag" ||
43861 test ! -s conftest.err
43862 } && test -s conftest.$ac_objext; then
43863 wx_cv_func_gettimeofday_has_2_args=no
43865 echo "$as_me: failed program was:" >&5
43866 sed 's/^/| /' conftest.$ac_ext >&5
43869 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43870 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43871 wx_cv_func_gettimeofday_has_2_args=unknown
43876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43883 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43884 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43886 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43887 cat >>confdefs.h <<\_ACEOF
43888 #define WX_GETTIMEOFDAY_NO_TZ 1
43894 if test "$wxUSE_DATETIME" = "yes"; then
43895 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43896 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43897 if test "${wx_cv_var_timezone+set}" = set; then
43898 echo $ECHO_N "(cached) $ECHO_C" >&6
43902 ac_cpp='$CXXCPP $CPPFLAGS'
43903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43907 cat >conftest.$ac_ext <<_ACEOF
43910 cat confdefs.h >>conftest.$ac_ext
43911 cat >>conftest.$ac_ext <<_ACEOF
43912 /* end confdefs.h. */
43927 rm -f conftest.$ac_objext
43928 if { (ac_try="$ac_compile"
43929 case "(($ac_try" in
43930 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43931 *) ac_try_echo
=$ac_try;;
43933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43934 (eval "$ac_compile") 2>conftest.er1
43936 grep -v '^ *+' conftest.er1
>conftest.err
43938 cat conftest.err
>&5
43939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43940 (exit $ac_status); } && {
43941 test -z "$ac_cxx_werror_flag" ||
43942 test ! -s conftest.err
43943 } && test -s conftest.
$ac_objext; then
43945 wx_cv_var_timezone
=timezone
43948 echo "$as_me: failed program was:" >&5
43949 sed 's/^/| /' conftest.
$ac_ext >&5
43952 cat >conftest.
$ac_ext <<_ACEOF
43955 cat confdefs.h
>>conftest.
$ac_ext
43956 cat >>conftest.
$ac_ext <<_ACEOF
43957 /* end confdefs.h. */
43972 rm -f conftest.
$ac_objext
43973 if { (ac_try
="$ac_compile"
43974 case "(($ac_try" in
43975 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43976 *) ac_try_echo=$ac_try;;
43978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43979 (eval "$ac_compile") 2>conftest.er1
43981 grep -v '^ *+' conftest.er1 >conftest.err
43983 cat conftest.err >&5
43984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43985 (exit $ac_status); } && {
43986 test -z "$ac_cxx_werror_flag" ||
43987 test ! -s conftest.err
43988 } && test -s conftest.$ac_objext; then
43990 wx_cv_var_timezone=_timezone
43993 echo "$as_me: failed program was:" >&5
43994 sed 's/^/| /' conftest.$ac_ext >&5
43997 cat >conftest.$ac_ext <<_ACEOF
44000 cat confdefs.h >>conftest.$ac_ext
44001 cat >>conftest.$ac_ext <<_ACEOF
44002 /* end confdefs.h. */
44017 rm -f conftest.$ac_objext
44018 if { (ac_try="$ac_compile"
44019 case "(($ac_try" in
44020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44021 *) ac_try_echo
=$ac_try;;
44023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44024 (eval "$ac_compile") 2>conftest.er1
44026 grep -v '^ *+' conftest.er1
>conftest.err
44028 cat conftest.err
>&5
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); } && {
44031 test -z "$ac_cxx_werror_flag" ||
44032 test ! -s conftest.err
44033 } && test -s conftest.
$ac_objext; then
44035 wx_cv_var_timezone
=__timezone
44038 echo "$as_me: failed program was:" >&5
44039 sed 's/^/| /' conftest.
$ac_ext >&5
44042 if test "$USE_DOS" = 0 ; then
44043 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44044 echo "$as_me: WARNING: no timezone variable" >&2;}
44050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44062 ac_cpp
='$CPP $CPPFLAGS'
44063 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44064 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44070 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44071 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44073 if test "x$wx_cv_var_timezone" != x
; then
44074 cat >>confdefs.h
<<_ACEOF
44075 #define WX_TIMEZONE $wx_cv_var_timezone
44081 for ac_func
in localtime
44083 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44084 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44086 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44087 echo $ECHO_N "(cached) $ECHO_C" >&6
44089 cat >conftest.
$ac_ext <<_ACEOF
44092 cat confdefs.h
>>conftest.
$ac_ext
44093 cat >>conftest.
$ac_ext <<_ACEOF
44094 /* end confdefs.h. */
44095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44097 #define $ac_func innocuous_$ac_func
44099 /* System header to define __stub macros and hopefully few prototypes,
44100 which can conflict with char $ac_func (); below.
44101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44102 <limits.h> exists even on freestanding compilers. */
44105 # include <limits.h>
44107 # include <assert.h>
44112 /* Override any GCC internal prototype to avoid an error.
44113 Use char because int might match the return type of a GCC
44114 builtin and then its argument prototype would still apply. */
44119 /* The GNU C library defines this for functions which it implements
44120 to always fail with ENOSYS. Some functions are actually named
44121 something starting with __ and the normal name is an alias. */
44122 #if defined __stub_$ac_func || defined __stub___$ac_func
44129 return $ac_func ();
44134 rm -f conftest.
$ac_objext conftest
$ac_exeext
44135 if { (ac_try
="$ac_link"
44136 case "(($ac_try" in
44137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44138 *) ac_try_echo=$ac_try;;
44140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44141 (eval "$ac_link") 2>conftest.er1
44143 grep -v '^ *+' conftest.er1 >conftest.err
44145 cat conftest.err >&5
44146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44147 (exit $ac_status); } && {
44148 test -z "$ac_c_werror_flag" ||
44149 test ! -s conftest.err
44150 } && test -s conftest$ac_exeext &&
44151 $as_test_x conftest$ac_exeext; then
44152 eval "$as_ac_var=yes"
44154 echo "$as_me: failed program was:" >&5
44155 sed 's/^/| /' conftest.$ac_ext >&5
44157 eval "$as_ac_var=no"
44160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44161 conftest$ac_exeext conftest.$ac_ext
44163 ac_res=`eval echo '${'$as_ac_var'}'`
44164 { echo "$as_me:$LINENO: result: $ac_res" >&5
44165 echo "${ECHO_T}$ac_res" >&6; }
44166 if test `eval echo '${'$as_ac_var'}'` = yes; then
44167 cat >>confdefs.h <<_ACEOF
44168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44175 if test "$ac_cv_func_localtime" = "yes"; then
44176 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44177 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44178 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44179 echo $ECHO_N "(cached) $ECHO_C" >&6
44182 cat >conftest.$ac_ext <<_ACEOF
44185 cat confdefs.h >>conftest.$ac_ext
44186 cat >>conftest.$ac_ext <<_ACEOF
44187 /* end confdefs.h. */
44202 rm -f conftest.$ac_objext
44203 if { (ac_try="$ac_compile"
44204 case "(($ac_try" in
44205 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44206 *) ac_try_echo
=$ac_try;;
44208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44209 (eval "$ac_compile") 2>conftest.er1
44211 grep -v '^ *+' conftest.er1
>conftest.err
44213 cat conftest.err
>&5
44214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44215 (exit $ac_status); } && {
44216 test -z "$ac_c_werror_flag" ||
44217 test ! -s conftest.err
44218 } && test -s conftest.
$ac_objext; then
44220 wx_cv_struct_tm_has_gmtoff
=yes
44223 echo "$as_me: failed program was:" >&5
44224 sed 's/^/| /' conftest.
$ac_ext >&5
44226 wx_cv_struct_tm_has_gmtoff
=no
44230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44233 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44234 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44237 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44238 cat >>confdefs.h
<<\_ACEOF
44239 #define WX_GMTOFF_IN_TM 1
44244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44248 if test "$wxUSE_SOCKETS" = "yes"; then
44249 if test "$wxUSE_MGL" = 1; then
44250 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44251 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44256 if test "$wxUSE_SOCKETS" = "yes"; then
44257 if test "$TOOLKIT" != "MSW"; then
44258 { echo "$as_me:$LINENO: checking for socket" >&5
44259 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44260 if test "${ac_cv_func_socket+set}" = set; then
44261 echo $ECHO_N "(cached) $ECHO_C" >&6
44263 cat >conftest.
$ac_ext <<_ACEOF
44266 cat confdefs.h
>>conftest.
$ac_ext
44267 cat >>conftest.
$ac_ext <<_ACEOF
44268 /* end confdefs.h. */
44269 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44271 #define socket innocuous_socket
44273 /* System header to define __stub macros and hopefully few prototypes,
44274 which can conflict with char socket (); below.
44275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44276 <limits.h> exists even on freestanding compilers. */
44279 # include <limits.h>
44281 # include <assert.h>
44286 /* Override any GCC internal prototype to avoid an error.
44287 Use char because int might match the return type of a GCC
44288 builtin and then its argument prototype would still apply. */
44293 /* The GNU C library defines this for functions which it implements
44294 to always fail with ENOSYS. Some functions are actually named
44295 something starting with __ and the normal name is an alias. */
44296 #if defined __stub_socket || defined __stub___socket
44308 rm -f conftest.
$ac_objext conftest
$ac_exeext
44309 if { (ac_try
="$ac_link"
44310 case "(($ac_try" in
44311 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44312 *) ac_try_echo=$ac_try;;
44314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44315 (eval "$ac_link") 2>conftest.er1
44317 grep -v '^ *+' conftest.er1 >conftest.err
44319 cat conftest.err >&5
44320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44321 (exit $ac_status); } && {
44322 test -z "$ac_c_werror_flag" ||
44323 test ! -s conftest.err
44324 } && test -s conftest$ac_exeext &&
44325 $as_test_x conftest$ac_exeext; then
44326 ac_cv_func_socket=yes
44328 echo "$as_me: failed program was:" >&5
44329 sed 's/^/| /' conftest.$ac_ext >&5
44331 ac_cv_func_socket=no
44334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44335 conftest$ac_exeext conftest.$ac_ext
44337 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44338 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44339 if test $ac_cv_func_socket = yes; then
44343 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44344 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44345 if test "${ac_cv_lib_socket_socket+set}" = set; then
44346 echo $ECHO_N "(cached) $ECHO_C" >&6
44348 ac_check_lib_save_LIBS=$LIBS
44349 LIBS="-lsocket $LIBS"
44350 cat >conftest.$ac_ext <<_ACEOF
44353 cat confdefs.h >>conftest.$ac_ext
44354 cat >>conftest.$ac_ext <<_ACEOF
44355 /* end confdefs.h. */
44357 /* Override any GCC internal prototype to avoid an error.
44358 Use char because int might match the return type of a GCC
44359 builtin and then its argument prototype would still apply. */
44372 rm -f conftest.$ac_objext conftest$ac_exeext
44373 if { (ac_try="$ac_link"
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_link") 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_exeext &&
44389 $as_test_x conftest
$ac_exeext; then
44390 ac_cv_lib_socket_socket
=yes
44392 echo "$as_me: failed program was:" >&5
44393 sed 's/^/| /' conftest.
$ac_ext >&5
44395 ac_cv_lib_socket_socket
=no
44398 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44399 conftest
$ac_exeext conftest.
$ac_ext
44400 LIBS
=$ac_check_lib_save_LIBS
44402 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44403 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44404 if test $ac_cv_lib_socket_socket = yes; then
44405 if test "$INET_LINK" != " -lsocket"; then
44406 INET_LINK
="$INET_LINK -lsocket"
44410 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44411 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44424 if test "$wxUSE_SOCKETS" = "yes" ; then
44425 if test "$TOOLKIT" != "MSW"; then
44426 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44427 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44428 if test "${wx_cv_type_getsockname3+set}" = set; then
44429 echo $ECHO_N "(cached) $ECHO_C" >&6
44433 ac_cpp
='$CXXCPP $CPPFLAGS'
44434 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44435 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44436 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44438 cat >conftest.
$ac_ext <<_ACEOF
44441 cat confdefs.h
>>conftest.
$ac_ext
44442 cat >>conftest.
$ac_ext <<_ACEOF
44443 /* end confdefs.h. */
44445 #include <sys/types.h>
44446 #include <sys/socket.h>
44453 getsockname(0, 0, &len);
44459 rm -f conftest.
$ac_objext
44460 if { (ac_try
="$ac_compile"
44461 case "(($ac_try" in
44462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44463 *) ac_try_echo=$ac_try;;
44465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44466 (eval "$ac_compile") 2>conftest.er1
44468 grep -v '^ *+' conftest.er1 >conftest.err
44470 cat conftest.err >&5
44471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44472 (exit $ac_status); } && {
44473 test -z "$ac_cxx_werror_flag" ||
44474 test ! -s conftest.err
44475 } && test -s conftest.$ac_objext; then
44476 wx_cv_type_getsockname3=socklen_t
44478 echo "$as_me: failed program was:" >&5
44479 sed 's/^/| /' conftest.$ac_ext >&5
44482 CFLAGS_OLD="$CFLAGS"
44483 if test "$GCC" = yes ; then
44484 CFLAGS="-Werror $CFLAGS"
44487 cat >conftest.$ac_ext <<_ACEOF
44490 cat confdefs.h >>conftest.$ac_ext
44491 cat >>conftest.$ac_ext <<_ACEOF
44492 /* end confdefs.h. */
44494 #include <sys/types.h>
44495 #include <sys/socket.h>
44502 getsockname(0, 0, &len);
44508 rm -f conftest.$ac_objext
44509 if { (ac_try="$ac_compile"
44510 case "(($ac_try" in
44511 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44512 *) ac_try_echo
=$ac_try;;
44514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44515 (eval "$ac_compile") 2>conftest.er1
44517 grep -v '^ *+' conftest.er1
>conftest.err
44519 cat conftest.err
>&5
44520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44521 (exit $ac_status); } && {
44522 test -z "$ac_cxx_werror_flag" ||
44523 test ! -s conftest.err
44524 } && test -s conftest.
$ac_objext; then
44525 wx_cv_type_getsockname3
=size_t
44527 echo "$as_me: failed program was:" >&5
44528 sed 's/^/| /' conftest.
$ac_ext >&5
44530 cat >conftest.
$ac_ext <<_ACEOF
44533 cat confdefs.h
>>conftest.
$ac_ext
44534 cat >>conftest.
$ac_ext <<_ACEOF
44535 /* end confdefs.h. */
44537 #include <sys/types.h>
44538 #include <sys/socket.h>
44545 getsockname(0, 0, &len);
44551 rm -f conftest.
$ac_objext
44552 if { (ac_try
="$ac_compile"
44553 case "(($ac_try" in
44554 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44555 *) ac_try_echo=$ac_try;;
44557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44558 (eval "$ac_compile") 2>conftest.er1
44560 grep -v '^ *+' conftest.er1 >conftest.err
44562 cat conftest.err >&5
44563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44564 (exit $ac_status); } && {
44565 test -z "$ac_cxx_werror_flag" ||
44566 test ! -s conftest.err
44567 } && test -s conftest.$ac_objext; then
44568 wx_cv_type_getsockname3=int
44570 echo "$as_me: failed program was:" >&5
44571 sed 's/^/| /' conftest.$ac_ext >&5
44573 wx_cv_type_getsockname3=unknown
44577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44583 CFLAGS="$CFLAGS_OLD"
44588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44590 ac_cpp='$CPP $CPPFLAGS'
44591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44597 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44598 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44600 if test "$wx_cv_type_getsockname3" = "unknown"; then
44602 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44603 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44605 cat >>confdefs.h <<_ACEOF
44606 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44610 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44611 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44612 if test "${wx_cv_type_getsockopt5+set}" = set; then
44613 echo $ECHO_N "(cached) $ECHO_C" >&6
44617 ac_cpp='$CXXCPP $CPPFLAGS'
44618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44622 cat >conftest.$ac_ext <<_ACEOF
44625 cat confdefs.h >>conftest.$ac_ext
44626 cat >>conftest.$ac_ext <<_ACEOF
44627 /* end confdefs.h. */
44629 #include <sys/types.h>
44630 #include <sys/socket.h>
44637 getsockopt(0, 0, 0, 0, &len);
44643 rm -f conftest.$ac_objext
44644 if { (ac_try="$ac_compile"
44645 case "(($ac_try" in
44646 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44647 *) ac_try_echo
=$ac_try;;
44649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44650 (eval "$ac_compile") 2>conftest.er1
44652 grep -v '^ *+' conftest.er1
>conftest.err
44654 cat conftest.err
>&5
44655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44656 (exit $ac_status); } && {
44657 test -z "$ac_cxx_werror_flag" ||
44658 test ! -s conftest.err
44659 } && test -s conftest.
$ac_objext; then
44660 wx_cv_type_getsockopt5
=socklen_t
44662 echo "$as_me: failed program was:" >&5
44663 sed 's/^/| /' conftest.
$ac_ext >&5
44666 cat >conftest.
$ac_ext <<_ACEOF
44669 cat confdefs.h
>>conftest.
$ac_ext
44670 cat >>conftest.
$ac_ext <<_ACEOF
44671 /* end confdefs.h. */
44673 #include <sys/types.h>
44674 #include <sys/socket.h>
44681 getsockopt(0, 0, 0, 0, &len);
44687 rm -f conftest.
$ac_objext
44688 if { (ac_try
="$ac_compile"
44689 case "(($ac_try" in
44690 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44691 *) ac_try_echo=$ac_try;;
44693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44694 (eval "$ac_compile") 2>conftest.er1
44696 grep -v '^ *+' conftest.er1 >conftest.err
44698 cat conftest.err >&5
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); } && {
44701 test -z "$ac_cxx_werror_flag" ||
44702 test ! -s conftest.err
44703 } && test -s conftest.$ac_objext; then
44704 wx_cv_type_getsockopt5=size_t
44706 echo "$as_me: failed program was:" >&5
44707 sed 's/^/| /' conftest.$ac_ext >&5
44709 cat >conftest.$ac_ext <<_ACEOF
44712 cat confdefs.h >>conftest.$ac_ext
44713 cat >>conftest.$ac_ext <<_ACEOF
44714 /* end confdefs.h. */
44716 #include <sys/types.h>
44717 #include <sys/socket.h>
44724 getsockopt(0, 0, 0, 0, &len);
44730 rm -f conftest.$ac_objext
44731 if { (ac_try="$ac_compile"
44732 case "(($ac_try" in
44733 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44734 *) ac_try_echo
=$ac_try;;
44736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44737 (eval "$ac_compile") 2>conftest.er1
44739 grep -v '^ *+' conftest.er1
>conftest.err
44741 cat conftest.err
>&5
44742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44743 (exit $ac_status); } && {
44744 test -z "$ac_cxx_werror_flag" ||
44745 test ! -s conftest.err
44746 } && test -s conftest.
$ac_objext; then
44747 wx_cv_type_getsockopt5
=int
44749 echo "$as_me: failed program was:" >&5
44750 sed 's/^/| /' conftest.
$ac_ext >&5
44752 wx_cv_type_getsockopt5
=unknown
44756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44767 ac_cpp
='$CPP $CPPFLAGS'
44768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44774 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44775 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44777 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44779 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44780 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44782 cat >>confdefs.h
<<_ACEOF
44783 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44790 if test "$wxUSE_SOCKETS" = "yes" ; then
44791 if test "$wxUSE_IPV6" = "yes"; then
44792 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44793 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44794 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44795 echo $ECHO_N "(cached) $ECHO_C" >&6
44798 cat >conftest.
$ac_ext <<_ACEOF
44801 cat confdefs.h
>>conftest.
$ac_ext
44802 cat >>conftest.
$ac_ext <<_ACEOF
44803 /* end confdefs.h. */
44805 #include <sys/types.h>
44806 #include <sys/socket.h>
44807 #include <netinet/in.h>
44813 struct sockaddr_in6 sa6;
44819 rm -f conftest.
$ac_objext
44820 if { (ac_try
="$ac_compile"
44821 case "(($ac_try" in
44822 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44823 *) ac_try_echo=$ac_try;;
44825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44826 (eval "$ac_compile") 2>conftest.er1
44828 grep -v '^ *+' conftest.er1 >conftest.err
44830 cat conftest.err >&5
44831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44832 (exit $ac_status); } && {
44833 test -z "$ac_c_werror_flag" ||
44834 test ! -s conftest.err
44835 } && test -s conftest.$ac_objext; then
44836 wx_cv_type_sockaddr_in6=yes
44838 echo "$as_me: failed program was:" >&5
44839 sed 's/^/| /' conftest.$ac_ext >&5
44841 wx_cv_type_sockaddr_in6=no
44845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44849 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44850 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44852 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44853 cat >>confdefs.h <<\_ACEOF
44854 #define wxUSE_IPV6 1
44858 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44859 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44863 cat >>confdefs.h <<\_ACEOF
44864 #define wxUSE_SOCKETS 1
44867 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44870 if test "$wxUSE_PROTOCOL" = "yes"; then
44871 if test "$wxUSE_SOCKETS" != "yes"; then
44872 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44873 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44878 if test "$wxUSE_PROTOCOL" = "yes"; then
44879 cat >>confdefs.h <<\_ACEOF
44880 #define wxUSE_PROTOCOL 1
44884 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44885 cat >>confdefs.h <<\_ACEOF
44886 #define wxUSE_PROTOCOL_HTTP 1
44890 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44891 cat >>confdefs.h <<\_ACEOF
44892 #define wxUSE_PROTOCOL_FTP 1
44896 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44897 cat >>confdefs.h <<\_ACEOF
44898 #define wxUSE_PROTOCOL_FILE 1
44903 if test "$wxUSE_FS_INET" = "yes"; then
44904 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44905 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44910 if test "$wxUSE_URL" = "yes"; then
44911 if test "$wxUSE_PROTOCOL" != "yes"; then
44912 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44913 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44916 if test "$wxUSE_URL" = "yes"; then
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_URL 1
44924 if test "$wxUSE_VARIANT" = "yes"; then
44925 cat >>confdefs.h <<\_ACEOF
44926 #define wxUSE_VARIANT 1
44931 if test "$wxUSE_FS_INET" = "yes"; then
44932 cat >>confdefs.h <<\_ACEOF
44933 #define wxUSE_FS_INET 1
44939 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44942 if test "$TOOLKIT" = "MSW"; then
44945 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44946 if test "$USE_DARWIN" = 1; then
44947 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44948 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44950 ac_cpp='$CXXCPP $CPPFLAGS'
44951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44955 cat >conftest.$ac_ext <<_ACEOF
44958 cat confdefs.h >>conftest.$ac_ext
44959 cat >>conftest.$ac_ext <<_ACEOF
44960 /* end confdefs.h. */
44961 #include <IOKit/hid/IOHIDLib.h>
44965 IOHIDQueueInterface *qi = NULL;
44966 IOHIDCallbackFunction cb = NULL;
44967 qi->setEventCallout(NULL, cb, NULL, NULL);
44972 rm -f conftest.$ac_objext
44973 if { (ac_try="$ac_compile"
44974 case "(($ac_try" in
44975 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44976 *) ac_try_echo
=$ac_try;;
44978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44979 (eval "$ac_compile") 2>conftest.er1
44981 grep -v '^ *+' conftest.er1
>conftest.err
44983 cat conftest.err
>&5
44984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44985 (exit $ac_status); } && {
44986 test -z "$ac_cxx_werror_flag" ||
44987 test ! -s conftest.err
44988 } && test -s conftest.
$ac_objext; then
44992 echo "$as_me: failed program was:" >&5
44993 sed 's/^/| /' conftest.
$ac_ext >&5
44998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45000 ac_cpp
='$CPP $CPPFLAGS'
45001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45005 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45006 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45010 if test "$wxUSE_MGL" != 1; then
45012 for ac_header
in linux
/joystick.h
45014 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45015 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45017 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45018 echo $ECHO_N "(cached) $ECHO_C" >&6
45020 cat >conftest.
$ac_ext <<_ACEOF
45023 cat confdefs.h
>>conftest.
$ac_ext
45024 cat >>conftest.
$ac_ext <<_ACEOF
45025 /* end confdefs.h. */
45026 $ac_includes_default
45028 #include <$ac_header>
45030 rm -f conftest.
$ac_objext
45031 if { (ac_try
="$ac_compile"
45032 case "(($ac_try" in
45033 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45034 *) ac_try_echo=$ac_try;;
45036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45037 (eval "$ac_compile") 2>conftest.er1
45039 grep -v '^ *+' conftest.er1 >conftest.err
45041 cat conftest.err >&5
45042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45043 (exit $ac_status); } && {
45044 test -z "$ac_c_werror_flag" ||
45045 test ! -s conftest.err
45046 } && test -s conftest.$ac_objext; then
45047 eval "$as_ac_Header=yes"
45049 echo "$as_me: failed program was:" >&5
45050 sed 's/^/| /' conftest.$ac_ext >&5
45052 eval "$as_ac_Header=no"
45055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45057 ac_res=`eval echo '${'$as_ac_Header'}'`
45058 { echo "$as_me:$LINENO: result: $ac_res" >&5
45059 echo "${ECHO_T}$ac_res" >&6; }
45060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45061 cat >>confdefs.h <<_ACEOF
45062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45072 if test "$wxUSE_JOYSTICK" = "yes"; then
45073 cat >>confdefs.h <<\_ACEOF
45074 #define wxUSE_JOYSTICK 1
45077 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45079 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45080 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45086 if test "$wxUSE_FONTENUM" = "yes" ; then
45087 cat >>confdefs.h <<\_ACEOF
45088 #define wxUSE_FONTENUM 1
45093 if test "$wxUSE_FONTMAP" = "yes" ; then
45094 cat >>confdefs.h <<\_ACEOF
45095 #define wxUSE_FONTMAP 1
45100 if test "$wxUSE_UNICODE" = "yes" ; then
45101 cat >>confdefs.h <<\_ACEOF
45102 #define wxUSE_UNICODE 1
45106 if test "$USE_WIN32" != 1; then
45107 wxUSE_UNICODE_MSLU=no
45110 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45111 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45112 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45113 if test "${ac_cv_lib_unicows_main+set}" = set; then
45114 echo $ECHO_N "(cached) $ECHO_C" >&6
45116 ac_check_lib_save_LIBS=$LIBS
45117 LIBS="-lunicows $LIBS"
45118 cat >conftest.$ac_ext <<_ACEOF
45121 cat confdefs.h >>conftest.$ac_ext
45122 cat >>conftest.$ac_ext <<_ACEOF
45123 /* end confdefs.h. */
45134 rm -f conftest.$ac_objext conftest$ac_exeext
45135 if { (ac_try="$ac_link"
45136 case "(($ac_try" in
45137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45138 *) ac_try_echo
=$ac_try;;
45140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45141 (eval "$ac_link") 2>conftest.er1
45143 grep -v '^ *+' conftest.er1
>conftest.err
45145 cat conftest.err
>&5
45146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45147 (exit $ac_status); } && {
45148 test -z "$ac_c_werror_flag" ||
45149 test ! -s conftest.err
45150 } && test -s conftest
$ac_exeext &&
45151 $as_test_x conftest
$ac_exeext; then
45152 ac_cv_lib_unicows_main
=yes
45154 echo "$as_me: failed program was:" >&5
45155 sed 's/^/| /' conftest.
$ac_ext >&5
45157 ac_cv_lib_unicows_main
=no
45160 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45161 conftest
$ac_exeext conftest.
$ac_ext
45162 LIBS
=$ac_check_lib_save_LIBS
45164 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45165 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45166 if test $ac_cv_lib_unicows_main = yes; then
45168 cat >>confdefs.h
<<\_ACEOF
45169 #define wxUSE_UNICODE_MSLU 1
45175 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45176 Applications will only run on Windows NT/2000/XP!" >&5
45177 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45178 Applications will only run on Windows NT/2000/XP!" >&2;}
45179 wxUSE_UNICODE_MSLU
=no
45186 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45187 cat >>confdefs.h
<<\_ACEOF
45188 #define wxUSE_UNICODE_UTF8 1
45192 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45193 cat >>confdefs.h
<<\_ACEOF
45194 #define wxUSE_UTF8_LOCALE_ONLY 1
45201 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45202 cat >>confdefs.h
<<\_ACEOF
45203 #define wxUSE_CONSTRAINTS 1
45206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45209 if test "$wxUSE_MDI" = "yes"; then
45210 cat >>confdefs.h
<<\_ACEOF
45211 #define wxUSE_MDI 1
45215 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45216 cat >>confdefs.h
<<\_ACEOF
45217 #define wxUSE_MDI_ARCHITECTURE 1
45220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45224 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45225 cat >>confdefs.h
<<\_ACEOF
45226 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45229 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45232 if test "$wxUSE_HELP" = "yes"; then
45233 cat >>confdefs.h
<<\_ACEOF
45234 #define wxUSE_HELP 1
45237 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45239 if test "$wxUSE_MSW" = 1; then
45240 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45241 cat >>confdefs.h
<<\_ACEOF
45242 #define wxUSE_MS_HTML_HELP 1
45248 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45249 if test "$wxUSE_HTML" = "yes"; then
45250 cat >>confdefs.h
<<\_ACEOF
45251 #define wxUSE_WXHTML_HELP 1
45255 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45256 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45257 wxUSE_WXHTML_HELP
=no
45262 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45263 cat >>confdefs.h
<<\_ACEOF
45264 #define wxUSE_PRINTING_ARCHITECTURE 1
45267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45270 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45271 cat >>confdefs.h
<<\_ACEOF
45272 #define wxUSE_POSTSCRIPT 1
45277 cat >>confdefs.h
<<\_ACEOF
45278 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45282 if test "$wxUSE_SVG" = "yes"; then
45283 cat >>confdefs.h
<<\_ACEOF
45284 #define wxUSE_SVG 1
45290 if test "$wxUSE_METAFILE" = "yes"; then
45291 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45292 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45293 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45299 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45300 -o "$wxUSE_CLIPBOARD" = "yes" \
45301 -o "$wxUSE_OLE" = "yes" \
45302 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45303 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45304 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45305 if test "${ac_cv_header_ole2_h+set}" = set; then
45306 echo $ECHO_N "(cached) $ECHO_C" >&6
45308 cat >conftest.
$ac_ext <<_ACEOF
45311 cat confdefs.h
>>conftest.
$ac_ext
45312 cat >>conftest.
$ac_ext <<_ACEOF
45313 /* end confdefs.h. */
45318 rm -f conftest.
$ac_objext
45319 if { (ac_try
="$ac_compile"
45320 case "(($ac_try" in
45321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45322 *) ac_try_echo=$ac_try;;
45324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45325 (eval "$ac_compile") 2>conftest.er1
45327 grep -v '^ *+' conftest.er1 >conftest.err
45329 cat conftest.err >&5
45330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45331 (exit $ac_status); } && {
45332 test -z "$ac_c_werror_flag" ||
45333 test ! -s conftest.err
45334 } && test -s conftest.$ac_objext; then
45335 ac_cv_header_ole2_h=yes
45337 echo "$as_me: failed program was:" >&5
45338 sed 's/^/| /' conftest.$ac_ext >&5
45340 ac_cv_header_ole2_h=no
45343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45345 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45346 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45350 if test "$ac_cv_header_ole2_h" = "yes" ; then
45351 if test "$GCC" = yes ; then
45352 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45353 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45354 cat >conftest.$ac_ext <<_ACEOF
45357 cat confdefs.h >>conftest.$ac_ext
45358 cat >>conftest.$ac_ext <<_ACEOF
45359 /* end confdefs.h. */
45360 #include <windows.h>
45370 rm -f conftest.$ac_objext
45371 if { (ac_try="$ac_compile"
45372 case "(($ac_try" in
45373 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45374 *) ac_try_echo
=$ac_try;;
45376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45377 (eval "$ac_compile") 2>conftest.er1
45379 grep -v '^ *+' conftest.er1
>conftest.err
45381 cat conftest.err
>&5
45382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45383 (exit $ac_status); } && {
45384 test -z "$ac_c_werror_flag" ||
45385 test ! -s conftest.err
45386 } && test -s conftest.
$ac_objext; then
45387 { echo "$as_me:$LINENO: result: no" >&5
45388 echo "${ECHO_T}no" >&6; }
45390 echo "$as_me: failed program was:" >&5
45391 sed 's/^/| /' conftest.
$ac_ext >&5
45393 { echo "$as_me:$LINENO: result: yes" >&5
45394 echo "${ECHO_T}yes" >&6; }
45395 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45398 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45399 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45400 if test "$wxUSE_OLE" = "yes" ; then
45401 cat >>confdefs.h
<<\_ACEOF
45402 #define wxUSE_OLE 1
45405 cat >>confdefs.h
<<\_ACEOF
45406 #define wxUSE_OLE_AUTOMATION 1
45409 cat >>confdefs.h
<<\_ACEOF
45410 #define wxUSE_ACTIVEX 1
45413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45417 if test "$wxUSE_DATAOBJ" = "yes" ; then
45418 cat >>confdefs.h
<<\_ACEOF
45419 #define wxUSE_DATAOBJ 1
45424 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45425 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45428 wxUSE_DRAG_AND_DROP
=no
45433 if test "$wxUSE_METAFILE" = "yes"; then
45434 cat >>confdefs.h
<<\_ACEOF
45435 #define wxUSE_METAFILE 1
45439 cat >>confdefs.h
<<\_ACEOF
45440 #define wxUSE_ENH_METAFILE 1
45446 if test "$wxUSE_IPC" = "yes"; then
45447 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45448 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45449 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45453 if test "$wxUSE_IPC" = "yes"; then
45454 cat >>confdefs.h
<<\_ACEOF
45455 #define wxUSE_IPC 1
45458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45462 if test "$wxUSE_DATAOBJ" = "yes"; then
45463 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45464 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45465 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45468 cat >>confdefs.h
<<\_ACEOF
45469 #define wxUSE_DATAOBJ 1
45474 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45475 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45477 wxUSE_DRAG_AND_DROP
=no
45480 if test "$wxUSE_CLIPBOARD" = "yes"; then
45481 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45482 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45483 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45487 if test "$wxUSE_CLIPBOARD" = "yes"; then
45488 cat >>confdefs.h
<<\_ACEOF
45489 #define wxUSE_CLIPBOARD 1
45495 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45496 if test "$wxUSE_GTK" = 1; then
45497 if test "$WXGTK12" != 1; then
45498 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45499 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45500 wxUSE_DRAG_AND_DROP
=no
45504 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45505 "$wxUSE_DFB" = 1; then
45506 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45507 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45508 wxUSE_DRAG_AND_DROP
=no
45511 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45512 cat >>confdefs.h
<<\_ACEOF
45513 #define wxUSE_DRAG_AND_DROP 1
45520 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45524 if test "$wxUSE_CLIPBOARD" = "yes"; then
45525 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
45528 if test "$wxUSE_SPLINES" = "yes" ; then
45529 cat >>confdefs.h
<<\_ACEOF
45530 #define wxUSE_SPLINES 1
45535 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45536 cat >>confdefs.h
<<\_ACEOF
45537 #define wxUSE_MOUSEWHEEL 1
45544 if test "$wxUSE_CONTROLS" = "yes"; then
45548 if test "$wxUSE_ACCEL" = "yes"; then
45549 cat >>confdefs.h
<<\_ACEOF
45550 #define wxUSE_ACCEL 1
45556 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45557 cat >>confdefs.h
<<\_ACEOF
45558 #define wxUSE_ANIMATIONCTRL 1
45562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45565 if test "$wxUSE_BUTTON" = "yes"; then
45566 cat >>confdefs.h
<<\_ACEOF
45567 #define wxUSE_BUTTON 1
45573 if test "$wxUSE_BMPBUTTON" = "yes"; then
45574 cat >>confdefs.h
<<\_ACEOF
45575 #define wxUSE_BMPBUTTON 1
45581 if test "$wxUSE_CALCTRL" = "yes"; then
45582 cat >>confdefs.h
<<\_ACEOF
45583 #define wxUSE_CALENDARCTRL 1
45587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45590 if test "$wxUSE_CARET" = "yes"; then
45591 cat >>confdefs.h
<<\_ACEOF
45592 #define wxUSE_CARET 1
45596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45599 if test "$wxUSE_COLLPANE" = "yes"; then
45600 cat >>confdefs.h
<<\_ACEOF
45601 #define wxUSE_COLLPANE 1
45605 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45608 if test "$wxUSE_COMBOBOX" = "yes"; then
45609 cat >>confdefs.h
<<\_ACEOF
45610 #define wxUSE_COMBOBOX 1
45616 if test "$wxUSE_COMBOCTRL" = "yes"; then
45617 cat >>confdefs.h
<<\_ACEOF
45618 #define wxUSE_COMBOCTRL 1
45624 if test "$wxUSE_CHOICE" = "yes"; then
45625 cat >>confdefs.h
<<\_ACEOF
45626 #define wxUSE_CHOICE 1
45632 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45633 cat >>confdefs.h
<<\_ACEOF
45634 #define wxUSE_CHOICEBOOK 1
45640 if test "$wxUSE_CHECKBOX" = "yes"; then
45641 cat >>confdefs.h
<<\_ACEOF
45642 #define wxUSE_CHECKBOX 1
45648 if test "$wxUSE_CHECKLST" = "yes"; then
45649 cat >>confdefs.h
<<\_ACEOF
45650 #define wxUSE_CHECKLISTBOX 1
45656 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45657 cat >>confdefs.h
<<\_ACEOF
45658 #define wxUSE_COLOURPICKERCTRL 1
45664 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45665 cat >>confdefs.h
<<\_ACEOF
45666 #define wxUSE_DATEPICKCTRL 1
45672 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45673 cat >>confdefs.h
<<\_ACEOF
45674 #define wxUSE_DIRPICKERCTRL 1
45680 if test "$wxUSE_FILECTRL" = "yes"; then
45681 cat >>confdefs.h
<<\_ACEOF
45682 #define wxUSE_FILECTRL 1
45688 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45689 cat >>confdefs.h
<<\_ACEOF
45690 #define wxUSE_FILEPICKERCTRL 1
45696 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45697 cat >>confdefs.h
<<\_ACEOF
45698 #define wxUSE_FONTPICKERCTRL 1
45704 if test "$wxUSE_DISPLAY" = "yes"; then
45705 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45706 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45707 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45710 cat >>confdefs.h
<<\_ACEOF
45711 #define wxUSE_DISPLAY 1
45714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45718 if test "$wxUSE_DETECT_SM" = "yes"; then
45719 cat >>confdefs.h
<<\_ACEOF
45720 #define wxUSE_DETECT_SM 1
45725 if test "$wxUSE_GAUGE" = "yes"; then
45726 cat >>confdefs.h
<<\_ACEOF
45727 #define wxUSE_GAUGE 1
45733 if test "$wxUSE_GRID" = "yes"; then
45734 cat >>confdefs.h
<<\_ACEOF
45735 #define wxUSE_GRID 1
45739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45742 if test "$wxUSE_HEADERCTRL" = "yes"; then
45743 cat >>confdefs.h
<<\_ACEOF
45744 #define wxUSE_HEADERCTRL 1
45750 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45751 cat >>confdefs.h
<<\_ACEOF
45752 #define wxUSE_HYPERLINKCTRL 1
45758 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45759 cat >>confdefs.h
<<\_ACEOF
45760 #define wxUSE_BITMAPCOMBOBOX 1
45766 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45767 cat >>confdefs.h
<<\_ACEOF
45768 #define wxUSE_DATAVIEWCTRL 1
45772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45775 if test "$wxUSE_IMAGLIST" = "yes"; then
45776 cat >>confdefs.h
<<\_ACEOF
45777 #define wxUSE_IMAGLIST 1
45782 if test "$wxUSE_LISTBOOK" = "yes"; then
45783 cat >>confdefs.h
<<\_ACEOF
45784 #define wxUSE_LISTBOOK 1
45790 if test "$wxUSE_LISTBOX" = "yes"; then
45791 cat >>confdefs.h
<<\_ACEOF
45792 #define wxUSE_LISTBOX 1
45798 if test "$wxUSE_LISTCTRL" = "yes"; then
45799 if test "$wxUSE_IMAGLIST" = "yes"; then
45800 cat >>confdefs.h
<<\_ACEOF
45801 #define wxUSE_LISTCTRL 1
45805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45807 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45808 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45812 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45813 cat >>confdefs.h
<<\_ACEOF
45814 #define wxUSE_EDITABLELISTBOX 1
45820 if test "$wxUSE_NOTEBOOK" = "yes"; then
45821 cat >>confdefs.h
<<\_ACEOF
45822 #define wxUSE_NOTEBOOK 1
45826 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45829 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45830 cat >>confdefs.h
<<\_ACEOF
45831 #define wxUSE_NOTIFICATION_MESSAGE 1
45836 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45837 cat >>confdefs.h
<<\_ACEOF
45838 #define wxUSE_ODCOMBOBOX 1
45842 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45845 if test "$wxUSE_RADIOBOX" = "yes"; then
45846 cat >>confdefs.h
<<\_ACEOF
45847 #define wxUSE_RADIOBOX 1
45853 if test "$wxUSE_RADIOBTN" = "yes"; then
45854 cat >>confdefs.h
<<\_ACEOF
45855 #define wxUSE_RADIOBTN 1
45861 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45862 cat >>confdefs.h
<<\_ACEOF
45863 #define wxUSE_REARRANGECTRL 1
45868 if test "$wxUSE_SASH" = "yes"; then
45869 cat >>confdefs.h
<<\_ACEOF
45870 #define wxUSE_SASH 1
45873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45876 if test "$wxUSE_SCROLLBAR" = "yes"; then
45877 cat >>confdefs.h
<<\_ACEOF
45878 #define wxUSE_SCROLLBAR 1
45882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
45885 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45886 cat >>confdefs.h
<<\_ACEOF
45887 #define wxUSE_SEARCHCTRL 1
45893 if test "$wxUSE_SLIDER" = "yes"; then
45894 cat >>confdefs.h
<<\_ACEOF
45895 #define wxUSE_SLIDER 1
45901 if test "$wxUSE_SPINBTN" = "yes"; then
45902 cat >>confdefs.h
<<\_ACEOF
45903 #define wxUSE_SPINBTN 1
45909 if test "$wxUSE_SPINCTRL" = "yes"; then
45910 cat >>confdefs.h
<<\_ACEOF
45911 #define wxUSE_SPINCTRL 1
45917 if test "$wxUSE_SPLITTER" = "yes"; then
45918 cat >>confdefs.h
<<\_ACEOF
45919 #define wxUSE_SPLITTER 1
45922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45925 if test "$wxUSE_STATBMP" = "yes"; then
45926 cat >>confdefs.h
<<\_ACEOF
45927 #define wxUSE_STATBMP 1
45933 if test "$wxUSE_STATBOX" = "yes"; then
45934 cat >>confdefs.h
<<\_ACEOF
45935 #define wxUSE_STATBOX 1
45941 if test "$wxUSE_STATTEXT" = "yes"; then
45942 cat >>confdefs.h
<<\_ACEOF
45943 #define wxUSE_STATTEXT 1
45949 if test "$wxUSE_STATLINE" = "yes"; then
45950 cat >>confdefs.h
<<\_ACEOF
45951 #define wxUSE_STATLINE 1
45957 if test "$wxUSE_STATUSBAR" = "yes"; then
45958 cat >>confdefs.h
<<\_ACEOF
45959 #define wxUSE_NATIVE_STATUSBAR 1
45962 cat >>confdefs.h
<<\_ACEOF
45963 #define wxUSE_STATUSBAR 1
45968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45971 if test "$wxUSE_TEXTCTRL" = "yes"; then
45972 cat >>confdefs.h
<<\_ACEOF
45973 #define wxUSE_TEXTCTRL 1
45977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45979 cat >>confdefs.h
<<\_ACEOF
45980 #define wxUSE_RICHEDIT 1
45983 cat >>confdefs.h
<<\_ACEOF
45984 #define wxUSE_RICHEDIT2 1
45989 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45990 if test "$wxUSE_COCOA" = 1 ; then
45991 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45992 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45996 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45997 cat >>confdefs.h
<<\_ACEOF
45998 #define wxUSE_TOGGLEBTN 1
46005 if test "$wxUSE_TOOLBAR" = "yes"; then
46006 cat >>confdefs.h
<<\_ACEOF
46007 #define wxUSE_TOOLBAR 1
46012 if test "$wxUSE_UNIVERSAL" = "yes"; then
46013 wxUSE_TOOLBAR_NATIVE
="no"
46015 wxUSE_TOOLBAR_NATIVE
="yes"
46016 cat >>confdefs.h
<<\_ACEOF
46017 #define wxUSE_TOOLBAR_NATIVE 1
46022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46025 if test "$wxUSE_TOOLTIPS" = "yes"; then
46026 if test "$wxUSE_MOTIF" = 1; then
46027 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46028 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46030 if test "$wxUSE_UNIVERSAL" = "yes"; then
46031 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46032 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46034 cat >>confdefs.h
<<\_ACEOF
46035 #define wxUSE_TOOLTIPS 1
46042 if test "$wxUSE_TREEBOOK" = "yes"; then
46043 cat >>confdefs.h
<<\_ACEOF
46044 #define wxUSE_TREEBOOK 1
46050 if test "$wxUSE_TOOLBOOK" = "yes"; then
46051 cat >>confdefs.h
<<\_ACEOF
46052 #define wxUSE_TOOLBOOK 1
46058 if test "$wxUSE_TREECTRL" = "yes"; then
46059 if test "$wxUSE_IMAGLIST" = "yes"; then
46060 cat >>confdefs.h
<<\_ACEOF
46061 #define wxUSE_TREECTRL 1
46065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46067 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46068 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46072 if test "$wxUSE_POPUPWIN" = "yes"; then
46073 if test "$wxUSE_COCOA" = 1 ; then
46074 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46075 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46077 if test "$wxUSE_PM" = 1; then
46078 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46079 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46081 cat >>confdefs.h
<<\_ACEOF
46082 #define wxUSE_POPUPWIN 1
46085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46092 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46093 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46094 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46095 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46097 cat >>confdefs.h
<<\_ACEOF
46098 #define wxUSE_DIALUP_MANAGER 1
46101 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46105 if test "$wxUSE_TIPWINDOW" = "yes"; then
46106 if test "$wxUSE_PM" = 1; then
46107 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46108 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46110 cat >>confdefs.h
<<\_ACEOF
46111 #define wxUSE_TIPWINDOW 1
46117 if test "$USES_CONTROLS" = 1; then
46118 cat >>confdefs.h
<<\_ACEOF
46119 #define wxUSE_CONTROLS 1
46125 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46126 cat >>confdefs.h
<<\_ACEOF
46127 #define wxUSE_ACCESSIBILITY 1
46130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46133 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46134 cat >>confdefs.h
<<\_ACEOF
46135 #define wxUSE_DRAGIMAGE 1
46138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46141 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46142 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46143 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46144 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46146 cat >>confdefs.h
<<\_ACEOF
46147 #define wxUSE_EXCEPTIONS 1
46150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46155 if test "$wxUSE_HTML" = "yes"; then
46156 cat >>confdefs.h
<<\_ACEOF
46157 #define wxUSE_HTML 1
46161 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46163 if test "$wxUSE_WEBKIT" = "yes"; then
46164 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46165 old_CPPFLAGS
="$CPPFLAGS"
46166 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46167 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46168 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46169 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46170 echo $ECHO_N "(cached) $ECHO_C" >&6
46172 cat >conftest.
$ac_ext <<_ACEOF
46175 cat confdefs.h
>>conftest.
$ac_ext
46176 cat >>conftest.
$ac_ext <<_ACEOF
46177 /* end confdefs.h. */
46179 #include <Carbon/Carbon.h>
46180 #include <WebKit/WebKit.h>
46183 #include <WebKit/HIWebView.h>
46185 rm -f conftest.
$ac_objext
46186 if { (ac_try
="$ac_compile"
46187 case "(($ac_try" in
46188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46189 *) ac_try_echo=$ac_try;;
46191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46192 (eval "$ac_compile") 2>conftest.er1
46194 grep -v '^ *+' conftest.er1 >conftest.err
46196 cat conftest.err >&5
46197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46198 (exit $ac_status); } && {
46199 test -z "$ac_c_werror_flag" ||
46200 test ! -s conftest.err
46201 } && test -s conftest.$ac_objext; then
46202 ac_cv_header_WebKit_HIWebView_h=yes
46204 echo "$as_me: failed program was:" >&5
46205 sed 's/^/| /' conftest.$ac_ext >&5
46207 ac_cv_header_WebKit_HIWebView_h=no
46210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46212 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46213 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46214 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46216 cat >>confdefs.h <<\_ACEOF
46217 #define wxUSE_WEBKIT 1
46220 WEBKIT_LINK="-framework WebKit"
46224 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46225 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46231 CPPFLAGS="$old_CPPFLAGS"
46232 elif test "$wxUSE_COCOA" = 1; then
46233 cat >>confdefs.h <<\_ACEOF
46234 #define wxUSE_WEBKIT 1
46240 if test "$wxUSE_WEBKIT" = "yes"; then
46241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46246 if test "$wxUSE_XRC" = "yes"; then
46247 if test "$wxUSE_XML" != "yes"; then
46248 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46249 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46252 cat >>confdefs.h <<\_ACEOF
46253 #define wxUSE_XRC 1
46257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46262 if test "$wxUSE_AUI" = "yes"; then
46263 cat >>confdefs.h <<\_ACEOF
46264 #define wxUSE_AUI 1
46268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46272 if test "$wxUSE_PROPGRID" = "yes"; then
46273 cat >>confdefs.h <<\_ACEOF
46274 #define wxUSE_PROPGRID 1
46278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46282 if test "$wxUSE_STC" = "yes"; then
46283 cat >>confdefs.h <<\_ACEOF
46284 #define wxUSE_STC 1
46288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46290 # Extract the first word of "python", so it can be a program name with args.
46291 set dummy python; ac_word=$2
46292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46294 if test "${ac_cv_path_PYTHON+set}" = set; then
46295 echo $ECHO_N "(cached) $ECHO_C" >&6
46299 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46303 for as_dir in $PATH
46306 test -z "$as_dir" && as_dir=.
46307 for ac_exec_ext in '' $ac_executable_extensions; do
46308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46309 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46320 PYTHON=$ac_cv_path_PYTHON
46321 if test -n "$PYTHON"; then
46322 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46323 echo "${ECHO_T}$PYTHON" >&6; }
46325 { echo "$as_me:$LINENO: result: no" >&5
46326 echo "${ECHO_T}no" >&6; }
46330 if test "x$PYTHON" = "x"; then
46336 if test "$wxUSE_MENUS" = "yes"; then
46337 cat >>confdefs.h <<\_ACEOF
46338 #define wxUSE_MENUS 1
46341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46344 if test "$wxUSE_METAFILE" = "yes"; then
46345 cat >>confdefs.h <<\_ACEOF
46346 #define wxUSE_METAFILE 1
46351 if test "$wxUSE_MIMETYPE" = "yes"; then
46352 cat >>confdefs.h <<\_ACEOF
46353 #define wxUSE_MIMETYPE 1
46358 if test "$wxUSE_MINIFRAME" = "yes"; then
46359 cat >>confdefs.h <<\_ACEOF
46360 #define wxUSE_MINIFRAME 1
46365 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46366 cat >>confdefs.h <<\_ACEOF
46367 #define wxUSE_SYSTEM_OPTIONS 1
46372 if test "$wxUSE_TASKBARICON" = "yes"; then
46373 cat >>confdefs.h <<\_ACEOF
46374 #define wxUSE_TASKBARICON 1
46377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46381 if test "$wxUSE_VALIDATORS" = "yes"; then
46382 cat >>confdefs.h <<\_ACEOF
46383 #define wxUSE_VALIDATORS 1
46386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46389 if test "$wxUSE_PALETTE" = "yes" ; then
46390 if test "$wxUSE_DFB" = 1; then
46391 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46392 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46395 cat >>confdefs.h <<\_ACEOF
46396 #define wxUSE_PALETTE 1
46402 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46403 LIBS=" -lunicows $LIBS"
46407 if test "$wxUSE_RICHTEXT" = "yes"; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_RICHTEXT 1
46413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46417 if test "$wxUSE_IMAGE" = "yes" ; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_IMAGE 1
46423 if test "$wxUSE_GIF" = "yes" ; then
46424 cat >>confdefs.h <<\_ACEOF
46425 #define wxUSE_GIF 1
46430 if test "$wxUSE_PCX" = "yes" ; then
46431 cat >>confdefs.h <<\_ACEOF
46432 #define wxUSE_PCX 1
46437 if test "$wxUSE_TGA" = "yes" ; then
46438 cat >>confdefs.h <<\_ACEOF
46439 #define wxUSE_TGA 1
46444 if test "$wxUSE_IFF" = "yes" ; then
46445 cat >>confdefs.h <<\_ACEOF
46446 #define wxUSE_IFF 1
46451 if test "$wxUSE_PNM" = "yes" ; then
46452 cat >>confdefs.h <<\_ACEOF
46453 #define wxUSE_PNM 1
46458 if test "$wxUSE_XPM" = "yes" ; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_XPM 1
46465 if test "$wxUSE_ICO_CUR" = "yes" ; then
46466 cat >>confdefs.h <<\_ACEOF
46467 #define wxUSE_ICO_CUR 1
46474 if test "$wxUSE_ABOUTDLG" = "yes"; then
46475 cat >>confdefs.h <<\_ACEOF
46476 #define wxUSE_ABOUTDLG 1
46481 if test "$wxUSE_CHOICEDLG" = "yes"; then
46482 cat >>confdefs.h <<\_ACEOF
46483 #define wxUSE_CHOICEDLG 1
46488 if test "$wxUSE_COLOURDLG" = "yes"; then
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_COLOURDLG 1
46495 if test "$wxUSE_FILEDLG" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_FILEDLG 1
46502 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46503 cat >>confdefs.h <<\_ACEOF
46504 #define wxUSE_FINDREPLDLG 1
46509 if test "$wxUSE_FONTDLG" = "yes"; then
46510 cat >>confdefs.h <<\_ACEOF
46511 #define wxUSE_FONTDLG 1
46516 if test "$wxUSE_DIRDLG" = "yes"; then
46517 if test "$wxUSE_TREECTRL" != "yes"; then
46518 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46519 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_DIRDLG 1
46528 if test "$wxUSE_MSGDLG" = "yes"; then
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_MSGDLG 1
46535 if test "$wxUSE_NUMBERDLG" = "yes"; then
46536 cat >>confdefs.h <<\_ACEOF
46537 #define wxUSE_NUMBERDLG 1
46542 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_PROGRESSDLG 1
46549 if test "$wxUSE_SPLASH" = "yes"; then
46550 cat >>confdefs.h <<\_ACEOF
46551 #define wxUSE_SPLASH 1
46554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46557 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46558 cat >>confdefs.h <<\_ACEOF
46559 #define wxUSE_STARTUP_TIPS 1
46564 if test "$wxUSE_TEXTDLG" = "yes"; then
46565 cat >>confdefs.h <<\_ACEOF
46566 #define wxUSE_TEXTDLG 1
46571 if test "$wxUSE_WIZARDDLG" = "yes"; then
46572 cat >>confdefs.h <<\_ACEOF
46573 #define wxUSE_WIZARDDLG 1
46576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46580 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46581 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46582 cat >>confdefs.h <<\_ACEOF
46583 #define wxUSE_OWNER_DRAWN 1
46590 if test "$wxUSE_MSW" = 1 ; then
46592 if test "$wxUSE_DC_CACHEING" = "yes"; then
46593 cat >>confdefs.h <<\_ACEOF
46594 #define wxUSE_DC_CACHEING 1
46599 if test "$wxUSE_DIB" = "yes"; then
46600 cat >>confdefs.h <<\_ACEOF
46601 #define wxUSE_WXDIB 1
46606 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46607 cat >>confdefs.h <<\_ACEOF
46608 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46613 if test "$wxUSE_UXTHEME" = "yes"; then
46614 cat >>confdefs.h <<\_ACEOF
46615 #define wxUSE_UXTHEME 1
46622 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46623 cat >>confdefs.h <<\_ACEOF
46624 #define wxUSE_AUTOID_MANAGEMENT 1
46629 if test "$USE_WIN32" = 1 ; then
46630 if test "$wxUSE_INICONF" = "yes"; then
46631 cat >>confdefs.h <<\_ACEOF
46632 #define wxUSE_INICONF 1
46637 if test "$wxUSE_REGKEY" = "yes"; then
46638 cat >>confdefs.h <<\_ACEOF
46639 #define wxUSE_REGKEY 1
46646 if test "$wxUSE_MAC" = 1; then
46647 wxUSE_GRAPHICS_CONTEXT="yes"
46650 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46651 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46652 cat >>confdefs.h <<\_ACEOF
46653 #define wxUSE_GRAPHICS_CONTEXT 1
46656 elif test "$wxUSE_GTK" != 1; then
46657 cat >>confdefs.h <<\_ACEOF
46658 #define wxUSE_GRAPHICS_CONTEXT 1
46664 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46665 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46667 if test -n "$PKG_CONFIG"; then
46668 if test -n "$CAIRO_CFLAGS"; then
46669 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46671 if test -n "$PKG_CONFIG" && \
46672 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46673 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46676 (exit $ac_status); }; then
46677 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46685 if test -n "$PKG_CONFIG"; then
46686 if test -n "$CAIRO_LIBS"; then
46687 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46689 if test -n "$PKG_CONFIG" && \
46690 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46691 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46694 (exit $ac_status); }; then
46695 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46706 if test $pkg_failed = yes; then
46708 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46709 _pkg_short_errors_supported=yes
46711 _pkg_short_errors_supported=no
46713 if test $_pkg_short_errors_supported = yes; then
46714 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46716 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46718 # Put the nasty error message in config.log where it belongs
46719 echo "$CAIRO_PKG_ERRORS" >&5
46721 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46722 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46724 elif test $pkg_failed = untried; then
46725 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46726 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46729 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46730 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46731 { echo "$as_me:$LINENO: result: yes" >&5
46732 echo "${ECHO_T}yes" >&6; }
46733 cat >>confdefs.h <<\_ACEOF
46734 #define wxUSE_GRAPHICS_CONTEXT 1
46744 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46747 if test "$wxUSE_GTK" = 1; then
46748 wxUSE_GSTREAMER="no"
46750 GST_VERSION_MAJOR=0
46751 GST_VERSION_MINOR=10
46752 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46754 if test "$wxUSE_GSTREAMER8" = "no"; then
46757 { echo "$as_me:$LINENO: checking for GST" >&5
46758 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46760 if test -n "$PKG_CONFIG"; then
46761 if test -n "$GST_CFLAGS"; then
46762 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46764 if test -n "$PKG_CONFIG" && \
46765 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46766 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46769 (exit $ac_status); }; then
46770 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46778 if test -n "$PKG_CONFIG"; then
46779 if test -n "$GST_LIBS"; then
46780 pkg_cv_GST_LIBS="$GST_LIBS"
46782 if test -n "$PKG_CONFIG" && \
46783 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46784 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46787 (exit $ac_status); }; then
46788 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46799 if test $pkg_failed = yes; then
46801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46802 _pkg_short_errors_supported=yes
46804 _pkg_short_errors_supported=no
46806 if test $_pkg_short_errors_supported = yes; then
46807 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46809 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46811 # Put the nasty error message in config.log where it belongs
46812 echo "$GST_PKG_ERRORS" >&5
46815 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46816 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46817 GST_VERSION_MINOR=8
46820 elif test $pkg_failed = untried; then
46822 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46823 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46824 GST_VERSION_MINOR=8
46828 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46829 GST_LIBS=$pkg_cv_GST_LIBS
46830 { echo "$as_me:$LINENO: result: yes" >&5
46831 echo "${ECHO_T}yes" >&6; }
46833 wxUSE_GSTREAMER="yes"
46834 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46838 GST_VERSION_MINOR=8
46841 if test $GST_VERSION_MINOR = "8"; then
46842 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46845 { echo "$as_me:$LINENO: checking for GST" >&5
46846 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46848 if test -n "$PKG_CONFIG"; then
46849 if test -n "$GST_CFLAGS"; then
46850 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46852 if test -n "$PKG_CONFIG" && \
46853 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46854 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46857 (exit $ac_status); }; then
46858 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46866 if test -n "$PKG_CONFIG"; then
46867 if test -n "$GST_LIBS"; then
46868 pkg_cv_GST_LIBS="$GST_LIBS"
46870 if test -n "$PKG_CONFIG" && \
46871 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46872 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46875 (exit $ac_status); }; then
46876 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46887 if test $pkg_failed = yes; then
46889 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46890 _pkg_short_errors_supported=yes
46892 _pkg_short_errors_supported=no
46894 if test $_pkg_short_errors_supported = yes; then
46895 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46897 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46899 # Put the nasty error message in config.log where it belongs
46900 echo "$GST_PKG_ERRORS" >&5
46903 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46904 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46906 elif test $pkg_failed = untried; then
46908 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46909 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46912 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46913 GST_LIBS=$pkg_cv_GST_LIBS
46914 { echo "$as_me:$LINENO: result: yes" >&5
46915 echo "${ECHO_T}yes" >&6; }
46916 wxUSE_GSTREAMER="yes"
46921 if test "$wxUSE_GSTREAMER" = "yes"; then
46922 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46923 EXTRALIBS_MEDIA="$GST_LIBS"
46925 cat >>confdefs.h <<\_ACEOF
46926 #define wxUSE_GSTREAMER 1
46934 if test $USE_MEDIA = 1; then
46935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46936 cat >>confdefs.h <<\_ACEOF
46937 #define wxUSE_MEDIACTRL 1
46941 if test "$wxUSE_MEDIACTRL" = "yes"; then
46942 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
46943 echo "$as_me: error: GStreamer not available" >&2;}
46944 { (exit 1); exit 1; }; }
46946 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
46947 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
46953 if test "$cross_compiling" != "no"; then
46956 OSINFO=`uname
-s -r -m`
46957 OSINFO="\"$OSINFO\""
46960 cat >>confdefs.h <<_ACEOF
46961 #define WXWIN_OS_DESCRIPTION $OSINFO
46966 if test "x$prefix" != "xNONE"; then
46969 wxPREFIX=$ac_default_prefix
46972 cat >>confdefs.h <<_ACEOF
46973 #define wxINSTALL_PREFIX "$wxPREFIX"
46979 STD_BASE_LIBS="base"
46981 BUILT_WX_LIBS="base"
46982 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46984 if test "$wxUSE_SOCKETS" = "yes" ; then
46985 STD_BASE_LIBS="net $STD_BASE_LIBS"
46986 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46988 if test "$wxUSE_XML" = "yes" ; then
46989 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46990 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46993 if test "$wxUSE_GUI" = "yes"; then
46994 STD_GUI_LIBS="adv core"
46995 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46997 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46998 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46999 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47001 if test "$wxUSE_HTML" = "yes" ; then
47002 STD_GUI_LIBS="html $STD_GUI_LIBS"
47003 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47005 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47006 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47008 if test "$wxUSE_OPENGL" = "yes" ; then
47009 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47011 if test "$wxUSE_AUI" = "yes" ; then
47012 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47014 if test "$wxUSE_PROPGRID" = "yes" ; then
47015 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47017 if test "$wxUSE_RICHTEXT" = "yes" ; then
47018 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47020 if test "$wxUSE_STC" = "yes" ; then
47021 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47023 if test "$wxUSE_XRC" = "yes" ; then
47024 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47025 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47036 if test "$wxUSE_MAC" = 1 ; then
47037 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47038 if test "$USE_DARWIN" = 1; then
47039 LDFLAGS="$LDFLAGS -framework QuickTime"
47042 if test "$USE_DARWIN" = 1; then
47043 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47046 if test "$wxUSE_COCOA" = 1 ; then
47047 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47048 if test "$wxUSE_MEDIACTRL" = "yes"; then
47049 LDFLAGS="$LDFLAGS -framework QuickTime"
47052 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47053 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47056 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47058 if test "$wxUSE_GUI" = "yes"; then
47061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47062 erase event exec font image minimal render \
47063 shaped svg taborder vscroll widgets wrapsizer"
47065 if test "$wxUSE_MONOLITHIC" != "yes"; then
47066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47068 if test "$TOOLKIT" = "MSW"; then
47069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47070 if test "$wxUSE_UNIVERSAL" != "yes"; then
47071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47074 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47075 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47078 SAMPLES_SUBDIRS="console"
47079 if test "$wxUSE_SOCKETS" = "yes" ; then
47080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47082 if test "$wxUSE_IPC" = "yes" ; then
47083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47088 if test "x$INTELCC" = "xyes" ; then
47089 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47090 elif test "$GCC" = yes ; then
47091 CWARNINGS="-Wall -Wundef"
47094 if test "x$INTELCXX" = "xyes" ; then
47095 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47096 elif test "$GXX" = yes ; then
47097 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47098 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47099 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47100 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47101 echo $ECHO_N "(cached) $ECHO_C" >&6
47103 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47106 ac_cpp='$CXXCPP $CPPFLAGS'
47107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47111 ac_save_CXXFLAGS="$CXXFLAGS"
47112 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47113 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47114 cat >conftest.$ac_ext <<_ACEOF
47117 cat confdefs.h >>conftest.$ac_ext
47118 cat >>conftest.$ac_ext <<_ACEOF
47119 /* end confdefs.h. */
47129 rm -f conftest.$ac_objext
47130 if { (ac_try="$ac_compile"
47131 case "(($ac_try" in
47132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47133 *) ac_try_echo
=$ac_try;;
47135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47136 (eval "$ac_compile") 2>conftest.er1
47138 grep -v '^ *+' conftest.er1
>conftest.err
47140 cat conftest.err
>&5
47141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47142 (exit $ac_status); } && {
47143 test -z "$ac_cxx_werror_flag" ||
47144 test ! -s conftest.err
47145 } && test -s conftest.
$ac_objext; then
47146 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47148 echo "$as_me: failed program was:" >&5
47149 sed 's/^/| /' conftest.
$ac_ext >&5
47154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47156 CXXFLAGS
="$ac_save_CXXFLAGS"
47158 ac_cpp
='$CPP $CPPFLAGS'
47159 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47160 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47161 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47165 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47166 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47167 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47171 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47172 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47173 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47176 (exit $ac_status); }
47177 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47178 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47181 (exit $ac_status); }
47182 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47188 if test "$wxUSE_MAC" = 1 ; then
47189 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
47194 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47195 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47198 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47199 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47200 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47203 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47204 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47205 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47206 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47207 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47209 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47212 if test "x$MWCC" = "xyes"; then
47214 CC
="$CC -cwd source -I-"
47215 CXX
="$CXX -cwd source -I-"
47220 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47221 EXTRALIBS_XML
="$EXPAT_LINK"
47222 EXTRALIBS_HTML
="$MSPACK_LINK"
47223 EXTRALIBS_MEDIA
="$GST_LIBS"
47224 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47225 if test "$wxUSE_GUI" = "yes"; then
47226 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47228 if test "$wxUSE_OPENGL" = "yes"; then
47229 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47232 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47234 WXCONFIG_LIBS
="$LIBS"
47236 if test "$wxUSE_REGEX" = "builtin" ; then
47237 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47239 if test "$wxUSE_EXPAT" = "builtin" ; then
47240 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47242 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47243 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47245 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47246 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47248 if test "$wxUSE_LIBPNG" = "builtin" ; then
47249 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47251 if test "$wxUSE_ZLIB" = "builtin" ; then
47252 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47255 for i
in $wxconfig_3rdparty ; do
47256 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47260 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47263 case "$wxUNIV_THEMES" in
47265 cat >>confdefs.h
<<\_ACEOF
47266 #define wxUSE_ALL_THEMES 1
47272 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47273 cat >>confdefs.h
<<_ACEOF
47274 #define wxUSE_THEME_$t 1
47290 if test $wxUSE_MONOLITHIC = "yes" ; then
47296 if test $wxUSE_PLUGINS = "yes" ; then
47302 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47308 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47341 TOOLKIT_LOWERCASE
=xxx
47342 if test "$TOOLKIT" = "MAC"; then
47343 TOOLKIT_LOWERCASE
=osx_carbon
47345 if test "$TOOLKIT" = "OSX_CARBON"; then
47346 TOOLKIT_LOWERCASE
=osx_carbon
47348 if test "$TOOLKIT" = "OSX_COCOA"; then
47349 TOOLKIT_LOWERCASE
=osx_cocoa
47351 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47352 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47366 TOOLKIT_DESC
="GTK+"
47367 if test "$WXGTK2" = 1; then
47368 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47369 if test "$wxUSE_GTKPRINT" = "yes" ; then
47370 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47372 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47373 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47375 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47376 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47378 if test "$wxUSE_LIBHILDON" = "yes"; then
47379 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47382 if test "$TOOLKIT_EXTRA" != ""; then
47383 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47389 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47393 TOOLKIT_DESC
="base only"
47397 if test "$wxUSE_WINE" = "yes"; then
47398 BAKEFILE_FORCE_PLATFORM
=win32
47401 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47403 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47404 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47405 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47406 echo $ECHO_N "(cached) $ECHO_C" >&6
47409 echo '#include <stdio.h>
47410 const wchar_t test_var[] = L"awidetest";' > conftest.h
47412 echo '#include "conftest.h"
47415 printf("%ls", test_var);
47419 wx_cv_gcc_pch_bug
="pch not supported"
47421 if $CXX conftest.h
>/dev
/null
2>&1
47425 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47427 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47428 grep awidetest
>/dev
/null
47430 wx_cv_gcc_pch_bug
=no
47432 wx_cv_gcc_pch_bug
=yes
47437 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47440 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47441 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47443 if test "$wx_cv_gcc_pch_bug" = yes; then
47454 if test "x$BAKEFILE_HOST" = "x"; then
47455 if test "x${host}" = "x" ; then
47456 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47457 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47458 { (exit 1); exit 1; }; }
47461 BAKEFILE_HOST
="${host}"
47464 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47466 if test -n "$ac_tool_prefix"; then
47467 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47468 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47471 if test "${ac_cv_prog_RANLIB+set}" = set; then
47472 echo $ECHO_N "(cached) $ECHO_C" >&6
47474 if test -n "$RANLIB"; then
47475 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47478 for as_dir
in $PATH
47481 test -z "$as_dir" && as_dir
=.
47482 for ac_exec_ext
in '' $ac_executable_extensions; do
47483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47484 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47494 RANLIB
=$ac_cv_prog_RANLIB
47495 if test -n "$RANLIB"; then
47496 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47497 echo "${ECHO_T}$RANLIB" >&6; }
47499 { echo "$as_me:$LINENO: result: no" >&5
47500 echo "${ECHO_T}no" >&6; }
47505 if test -z "$ac_cv_prog_RANLIB"; then
47506 ac_ct_RANLIB
=$RANLIB
47507 # Extract the first word of "ranlib", so it can be a program name with args.
47508 set dummy ranlib
; ac_word
=$2
47509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47511 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47512 echo $ECHO_N "(cached) $ECHO_C" >&6
47514 if test -n "$ac_ct_RANLIB"; then
47515 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47518 for as_dir
in $PATH
47521 test -z "$as_dir" && as_dir
=.
47522 for ac_exec_ext
in '' $ac_executable_extensions; do
47523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47524 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47534 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47535 if test -n "$ac_ct_RANLIB"; then
47536 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47537 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47539 { echo "$as_me:$LINENO: result: no" >&5
47540 echo "${ECHO_T}no" >&6; }
47543 if test "x$ac_ct_RANLIB" = x
; then
47546 case $cross_compiling:$ac_tool_warned in
47548 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47549 whose name does not start with the host triplet. If you think this
47550 configuration is useful to you, please write to autoconf@gnu.org." >&5
47551 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47552 whose name does not start with the host triplet. If you think this
47553 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47554 ac_tool_warned
=yes ;;
47556 RANLIB
=$ac_ct_RANLIB
47559 RANLIB
="$ac_cv_prog_RANLIB"
47562 # Find a good install program. We prefer a C program (faster),
47563 # so one script is as good as another. But avoid the broken or
47564 # incompatible versions:
47565 # SysV /etc/install, /usr/sbin/install
47566 # SunOS /usr/etc/install
47567 # IRIX /sbin/install
47569 # AmigaOS /C/install, which installs bootblocks on floppy discs
47570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47573 # OS/2's system install, which has a completely different semantic
47574 # ./install, which can be erroneously created by make from ./install.sh.
47575 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47577 if test -z "$INSTALL"; then
47578 if test "${ac_cv_path_install+set}" = set; then
47579 echo $ECHO_N "(cached) $ECHO_C" >&6
47581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47582 for as_dir
in $PATH
47585 test -z "$as_dir" && as_dir
=.
47586 # Account for people who put trailing slashes in PATH elements.
47588 .
/ | .
// | /cC
/* | \
47589 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47590 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47593 # OSF1 and SCO ODT 3.0 have their own names for install.
47594 # Don't use installbsd from OSF since it installs stuff as root
47596 for ac_prog
in ginstall scoinst
install; do
47597 for ac_exec_ext
in '' $ac_executable_extensions; do
47598 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47599 if test $ac_prog = install &&
47600 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47601 # AIX install. It has an incompatible calling convention.
47603 elif test $ac_prog = install &&
47604 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47605 # program-specific install script used by HP pwplus--don't use.
47608 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47621 if test "${ac_cv_path_install+set}" = set; then
47622 INSTALL
=$ac_cv_path_install
47624 # As a last resort, use the slow shell script. Don't cache a
47625 # value for INSTALL within a source directory, because that will
47626 # break other packages using the cache if that directory is
47627 # removed, or if the value is a relative name.
47628 INSTALL
=$ac_install_sh
47631 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47632 echo "${ECHO_T}$INSTALL" >&6; }
47634 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47635 # It thinks the first close brace ends the variable substitution.
47636 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47638 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47640 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47642 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47643 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47645 if test "$LN_S" = "ln -s"; then
47646 { echo "$as_me:$LINENO: result: yes" >&5
47647 echo "${ECHO_T}yes" >&6; }
47649 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47650 echo "${ECHO_T}no, using $LN_S" >&6; }
47654 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47655 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47656 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47657 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47658 echo $ECHO_N "(cached) $ECHO_C" >&6
47660 cat >conftest.
make <<\_ACEOF
47663 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47665 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47666 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47667 *@@@
%%%=?
*=@@@
%%%*)
47668 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47670 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47672 rm -f conftest.
make
47674 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47675 { echo "$as_me:$LINENO: result: yes" >&5
47676 echo "${ECHO_T}yes" >&6; }
47679 { echo "$as_me:$LINENO: result: no" >&5
47680 echo "${ECHO_T}no" >&6; }
47681 SET_MAKE
="MAKE=${MAKE-make}"
47686 if test "x$SUNCXX" = "xyes"; then
47688 AROPTIONS
="-xar -o"
47690 elif test "x$SGICC" = "xyes"; then
47695 if test -n "$ac_tool_prefix"; then
47696 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47697 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47700 if test "${ac_cv_prog_AR+set}" = set; then
47701 echo $ECHO_N "(cached) $ECHO_C" >&6
47703 if test -n "$AR"; then
47704 ac_cv_prog_AR
="$AR" # Let the user override the test.
47706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47707 for as_dir
in $PATH
47710 test -z "$as_dir" && as_dir
=.
47711 for ac_exec_ext
in '' $ac_executable_extensions; do
47712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47713 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47724 if test -n "$AR"; then
47725 { echo "$as_me:$LINENO: result: $AR" >&5
47726 echo "${ECHO_T}$AR" >&6; }
47728 { echo "$as_me:$LINENO: result: no" >&5
47729 echo "${ECHO_T}no" >&6; }
47734 if test -z "$ac_cv_prog_AR"; then
47736 # Extract the first word of "ar", so it can be a program name with args.
47737 set dummy
ar; ac_word
=$2
47738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47740 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47741 echo $ECHO_N "(cached) $ECHO_C" >&6
47743 if test -n "$ac_ct_AR"; then
47744 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47747 for as_dir
in $PATH
47750 test -z "$as_dir" && as_dir
=.
47751 for ac_exec_ext
in '' $ac_executable_extensions; do
47752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47753 ac_cv_prog_ac_ct_AR
="ar"
47754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47763 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47764 if test -n "$ac_ct_AR"; then
47765 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47766 echo "${ECHO_T}$ac_ct_AR" >&6; }
47768 { echo "$as_me:$LINENO: result: no" >&5
47769 echo "${ECHO_T}no" >&6; }
47772 if test "x$ac_ct_AR" = x
; then
47775 case $cross_compiling:$ac_tool_warned in
47777 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47778 whose name does not start with the host triplet. If you think this
47779 configuration is useful to you, please write to autoconf@gnu.org." >&5
47780 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47781 whose name does not start with the host triplet. If you think this
47782 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47783 ac_tool_warned
=yes ;;
47788 AR
="$ac_cv_prog_AR"
47795 if test -n "$ac_tool_prefix"; then
47796 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47797 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47800 if test "${ac_cv_prog_STRIP+set}" = set; then
47801 echo $ECHO_N "(cached) $ECHO_C" >&6
47803 if test -n "$STRIP"; then
47804 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47807 for as_dir
in $PATH
47810 test -z "$as_dir" && as_dir
=.
47811 for ac_exec_ext
in '' $ac_executable_extensions; do
47812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47813 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47823 STRIP
=$ac_cv_prog_STRIP
47824 if test -n "$STRIP"; then
47825 { echo "$as_me:$LINENO: result: $STRIP" >&5
47826 echo "${ECHO_T}$STRIP" >&6; }
47828 { echo "$as_me:$LINENO: result: no" >&5
47829 echo "${ECHO_T}no" >&6; }
47834 if test -z "$ac_cv_prog_STRIP"; then
47836 # Extract the first word of "strip", so it can be a program name with args.
47837 set dummy strip
; ac_word
=$2
47838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47840 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47841 echo $ECHO_N "(cached) $ECHO_C" >&6
47843 if test -n "$ac_ct_STRIP"; then
47844 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47847 for as_dir
in $PATH
47850 test -z "$as_dir" && as_dir
=.
47851 for ac_exec_ext
in '' $ac_executable_extensions; do
47852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47853 ac_cv_prog_ac_ct_STRIP
="strip"
47854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47863 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47864 if test -n "$ac_ct_STRIP"; then
47865 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47866 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47868 { echo "$as_me:$LINENO: result: no" >&5
47869 echo "${ECHO_T}no" >&6; }
47872 if test "x$ac_ct_STRIP" = x
; then
47875 case $cross_compiling:$ac_tool_warned in
47877 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47878 whose name does not start with the host triplet. If you think this
47879 configuration is useful to you, please write to autoconf@gnu.org." >&5
47880 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47881 whose name does not start with the host triplet. If you think this
47882 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47883 ac_tool_warned
=yes ;;
47888 STRIP
="$ac_cv_prog_STRIP"
47891 if test -n "$ac_tool_prefix"; then
47892 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47893 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47896 if test "${ac_cv_prog_NM+set}" = set; then
47897 echo $ECHO_N "(cached) $ECHO_C" >&6
47899 if test -n "$NM"; then
47900 ac_cv_prog_NM
="$NM" # Let the user override the test.
47902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47903 for as_dir
in $PATH
47906 test -z "$as_dir" && as_dir
=.
47907 for ac_exec_ext
in '' $ac_executable_extensions; do
47908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47909 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47920 if test -n "$NM"; then
47921 { echo "$as_me:$LINENO: result: $NM" >&5
47922 echo "${ECHO_T}$NM" >&6; }
47924 { echo "$as_me:$LINENO: result: no" >&5
47925 echo "${ECHO_T}no" >&6; }
47930 if test -z "$ac_cv_prog_NM"; then
47932 # Extract the first word of "nm", so it can be a program name with args.
47933 set dummy nm
; ac_word
=$2
47934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47936 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47937 echo $ECHO_N "(cached) $ECHO_C" >&6
47939 if test -n "$ac_ct_NM"; then
47940 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47943 for as_dir
in $PATH
47946 test -z "$as_dir" && as_dir
=.
47947 for ac_exec_ext
in '' $ac_executable_extensions; do
47948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47949 ac_cv_prog_ac_ct_NM
="nm"
47950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47959 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47960 if test -n "$ac_ct_NM"; then
47961 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47962 echo "${ECHO_T}$ac_ct_NM" >&6; }
47964 { echo "$as_me:$LINENO: result: no" >&5
47965 echo "${ECHO_T}no" >&6; }
47968 if test "x$ac_ct_NM" = x
; then
47971 case $cross_compiling:$ac_tool_warned in
47973 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47974 whose name does not start with the host triplet. If you think this
47975 configuration is useful to you, please write to autoconf@gnu.org." >&5
47976 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47977 whose name does not start with the host triplet. If you think this
47978 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47979 ac_tool_warned
=yes ;;
47984 NM
="$ac_cv_prog_NM"
47988 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47989 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47990 INSTALL_TEST_DIR
=acbftest$$
47991 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
47992 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
47993 rmdir $INSTALL_TEST_DIR
47994 INSTALL_DIR
='$(INSTALL) -d'
47995 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47996 echo "${ECHO_T}$INSTALL -d" >&6; }
47998 INSTALL_DIR
="mkdir -p"
47999 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48000 echo "${ECHO_T}mkdir -p" >&6; }
48005 case ${BAKEFILE_HOST} in
48006 *-*-cygwin* | *-*-mingw32* )
48007 LDFLAGS_GUI
="-mwindows"
48013 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48014 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48015 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48016 echo $ECHO_N "(cached) $ECHO_C" >&6
48019 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48020 egrep -s GNU
> /dev
/null
); then
48021 bakefile_cv_prog_makeisgnu
="yes"
48023 bakefile_cv_prog_makeisgnu
="no"
48027 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48028 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48030 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48047 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48048 case "${BAKEFILE_HOST}" in
48055 *-pc-os2_emx | *-pc-os2-emx )
48065 powerpc
-apple-macos* )
48074 case "$BAKEFILE_FORCE_PLATFORM" in
48109 # Check whether --enable-omf was given.
48110 if test "${enable_omf+set}" = set; then
48111 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
48115 case "${BAKEFILE_HOST}" in
48117 if test "x$GCC" = "xyes"; then
48118 CFLAGS
="$CFLAGS -fno-common"
48119 CXXFLAGS
="$CXXFLAGS -fno-common"
48121 if test "x$XLCC" = "xyes"; then
48122 CFLAGS
="$CFLAGS -qnocommon"
48123 CXXFLAGS
="$CXXFLAGS -qnocommon"
48127 *-pc-os2_emx | *-pc-os2-emx )
48128 if test "x$bk_os2_use_omf" = "xyes" ; then
48131 LDFLAGS
="-Zomf $LDFLAGS"
48132 CFLAGS
="-Zomf $CFLAGS"
48133 CXXFLAGS
="-Zomf $CXXFLAGS"
48141 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48147 SO_SUFFIX_MODULE
="so"
48152 DLLPREFIX_MODULE
=""
48156 case "${BAKEFILE_HOST}" in
48161 SO_SUFFIX_MODULE
="sl"
48165 SO_SUFFIX_MODULE
="a"
48169 SO_SUFFIX_MODULE
="dll"
48170 DLLIMP_SUFFIX
="dll.a"
48177 SO_SUFFIX_MODULE
="dll"
48178 DLLIMP_SUFFIX
="dll.a"
48188 *-pc-os2_emx | *-pc-os2-emx )
48190 SO_SUFFIX_MODULE
="dll"
48191 DLLIMP_SUFFIX
=$OS2_LIBEXT
48195 LIBEXT
=".$OS2_LIBEXT"
48200 SO_SUFFIX_MODULE
="bundle"
48204 if test "x$DLLIMP_SUFFIX" = "x" ; then
48205 DLLIMP_SUFFIX
="$SO_SUFFIX"
48220 if test "x$GCC" = "xyes"; then
48224 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48225 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48228 case "${BAKEFILE_HOST}" in
48230 if test "x$GCC" != "xyes"; then
48231 LDFLAGS
="$LDFLAGS -L/usr/lib"
48233 SHARED_LD_CC
="${CC} -b -o"
48234 SHARED_LD_CXX
="${CXX} -b -o"
48240 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48242 elif test "x$SUNCXX" = "xyes"; then
48243 SHARED_LD_CC
="${CC} -G -o"
48244 SHARED_LD_CXX
="${CXX} -G -o"
48250 if test "x$SUNCXX" = xyes
; then
48251 SHARED_LD_CC
="${CC} -G -o"
48252 SHARED_LD_CXX
="${CXX} -G -o"
48260 cat <<EOF >shared-ld-sh
48262 #-----------------------------------------------------------------------------
48263 #-- Name: distrib/mac/shared-ld-sh
48264 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48265 #-- Author: Gilles Depeyrot
48266 #-- Copyright: (c) 2002 Gilles Depeyrot
48267 #-- Licence: any use permitted
48268 #-----------------------------------------------------------------------------
48273 linking_flag="-dynamiclib"
48274 ldargs="-r -keep_private_externs -nostdlib"
48276 if test "x${D}CXX" = "x"; then
48280 while test ${D}# -gt 0; do
48287 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48288 # collect these options and values
48289 args="${D}{args} ${D}1 ${D}2"
48294 # collect these options and values
48295 ldargs="${D}{ldargs} ${D}1 ${D}2"
48300 # collect these load args
48301 ldargs="${D}{ldargs} ${D}1"
48304 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48305 # collect these options
48306 args="${D}{args} ${D}1"
48309 -dynamiclib|-bundle)
48310 linking_flag="${D}1"
48314 echo "shared-ld: unhandled option '${D}1'"
48318 *.o | *.a | *.dylib)
48319 # collect object files
48320 objects="${D}{objects} ${D}1"
48324 echo "shared-ld: unhandled argument '${D}1'"
48335 # Link one module containing all the others
48337 if test ${D}{verbose} = 1; then
48338 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48340 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48344 # Link the shared library from the single module created, but only if the
48345 # previous command didn't fail:
48347 if test ${D}{status} = 0; then
48348 if test ${D}{verbose} = 1; then
48349 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48351 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48356 # Remove intermediate module
48358 rm -f master.${D}${D}.o
48363 chmod +x shared
-ld-sh
48365 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48366 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48369 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48370 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48371 if test "${bakefile_cv_gcc31+set}" = set; then
48372 echo $ECHO_N "(cached) $ECHO_C" >&6
48375 cat >conftest.
$ac_ext <<_ACEOF
48378 cat confdefs.h
>>conftest.
$ac_ext
48379 cat >>conftest.
$ac_ext <<_ACEOF
48380 /* end confdefs.h. */
48386 #if (__GNUC__ < 3) || \
48387 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48395 rm -f conftest.
$ac_objext
48396 if { (ac_try
="$ac_compile"
48397 case "(($ac_try" in
48398 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48399 *) ac_try_echo=$ac_try;;
48401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48402 (eval "$ac_compile") 2>conftest.er1
48404 grep -v '^ *+' conftest.er1 >conftest.err
48406 cat conftest.err >&5
48407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48408 (exit $ac_status); } && {
48409 test -z "$ac_c_werror_flag" ||
48410 test ! -s conftest.err
48411 } && test -s conftest.$ac_objext; then
48413 bakefile_cv_gcc31=yes
48416 echo "$as_me: failed program was:" >&5
48417 sed 's/^/| /' conftest.$ac_ext >&5
48420 bakefile_cv_gcc31=no
48425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48428 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48429 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48430 if test "$bakefile_cv_gcc31" = "no"; then
48431 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48432 SHARED_LD_CXX="$SHARED_LD_CC"
48434 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48435 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48438 if test "x$GCC" == "xyes"; then
48439 PIC_FLAG="-dynamic -fPIC"
48441 if test "x$XLCC" = "xyes"; then
48442 PIC_FLAG="-dynamic -DPIC"
48447 if test "x$GCC" = "xyes"; then
48450 case "${BAKEFILE_HOST}" in
48452 LD_EXPFULL="-Wl,-bexpfull"
48456 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48457 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48459 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48460 set dummy makeC++SharedLib; ac_word=$2
48461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48463 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48464 echo $ECHO_N "(cached) $ECHO_C" >&6
48466 if test -n "$AIX_CXX_LD"; then
48467 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48470 for as_dir in $PATH
48473 test -z "$as_dir" && as_dir=.
48474 for ac_exec_ext in '' $ac_executable_extensions; do
48475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48476 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48484 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48487 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48488 if test -n "$AIX_CXX_LD"; then
48489 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48490 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48492 { echo "$as_me:$LINENO: result: no" >&5
48493 echo "${ECHO_T}no" >&6; }
48497 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48498 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48503 SHARED_LD_CC="${LD} -nostart -o"
48504 SHARED_LD_CXX="${LD} -nostart -o"
48508 if test "x$GCC" != "xyes"; then
48513 *-*-cygwin* | *-*-mingw32* )
48515 SHARED_LD_CC="\$(CC) -shared -o"
48516 SHARED_LD_CXX="\$(CXX) -shared -o"
48520 *-pc-os2_emx | *-pc-os2-emx )
48521 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48522 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48526 cat <<EOF >dllar.sh
48529 # dllar - a tool to build both a .dll and an .a file
48530 # from a set of object (.o) files for EMX/OS2.
48532 # Written by Andrew Zabolotny, bit@freya.etu.ru
48533 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48535 # This script will accept a set of files on the command line.
48536 # All the public symbols from the .o files will be exported into
48537 # a .DEF file, then linker will be run (through gcc) against them to
48538 # build a shared library consisting of all given .o files. All libraries
48539 # (.a) will be first decompressed into component .o files then act as
48540 # described above. You can optionally give a description (-d "description")
48541 # which will be put into .DLL. To see the list of accepted options (as well
48542 # as command-line format) simply run this program without options. The .DLL
48543 # is built to be imported by name (there is no guarantee that new versions
48544 # of the library you build will have same ordinals for same symbols).
48546 # dllar is free software; you can redistribute it and/or modify
48547 # it under the terms of the GNU General Public License as published by
48548 # the Free Software Foundation; either version 2, or (at your option)
48549 # any later version.
48551 # dllar is distributed in the hope that it will be useful,
48552 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48553 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48554 # GNU General Public License for more details.
48556 # You should have received a copy of the GNU General Public License
48557 # along with dllar; see the file COPYING. If not, write to the Free
48558 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48561 # To successfuly run this program you will need:
48562 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48563 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48565 # (used to build the .dll)
48567 # (used to create .def file from .o files)
48569 # (used to create .a file from .def file)
48570 # - GNU text utilites (cat, sort, uniq)
48571 # used to process emxexp output
48572 # - GNU file utilities (mv, rm)
48574 # - lxlite (optional, see flag below)
48575 # (used for general .dll cleanup)
48582 # basnam, variant of basename, which does _not_ remove the path, _iff_
48583 # second argument (suffix to remove) is given
48587 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48590 echo ${D}1 | sed 's/'${D}2'${D}//'
48593 echo "error in basnam ${D}*"
48599 # Cleanup temporary files and output
48602 for i in ${D}inputFiles ; do
48605 rm -rf \`basnam
${D}i
!\
`
48612 # Kill result in case of failure as there is just to many stupid make/nmake
48613 # things out there which doesn't do this.
48614 if [ ${D}# -eq 0 ]; then
48615 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48619 # Print usage and exit script with rc=1.
48621 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48622 echo ' [-name-mangler-script script.sh]'
48623 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48624 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48625 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48626 echo ' [*.o] [*.a]'
48627 echo '*> "output_file" should have no extension.'
48628 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48629 echo ' The import library name is derived from this and is set to "name".a,'
48630 echo ' unless overridden by -import'
48631 echo '*> "importlib_name" should have no extension.'
48632 echo ' If it has the .o, or .a extension, it is automatically removed.'
48633 echo ' This name is used as the import library name and may be longer and'
48634 echo ' more descriptive than the DLL name which has to follow the old '
48635 echo ' 8.3 convention of FAT.'
48636 echo '*> "script.sh may be given to override the output_file name by a'
48637 echo ' different name. It is mainly useful if the regular make process'
48638 echo ' of some package does not take into account OS/2 restriction of'
48639 echo ' DLL name lengths. It takes the importlib name as input and is'
48640 echo ' supposed to procude a shorter name as output. The script should'
48641 echo ' expect to get importlib_name without extension and should produce'
48642 echo ' a (max.) 8 letter name without extension.'
48643 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48644 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48645 echo ' These flags will be put at the start of GCC command line.'
48646 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48647 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48648 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48649 echo ' If the last character of a symbol is "*", all symbols beginning'
48650 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48651 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48652 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48653 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48654 echo ' C runtime DLLs.'
48655 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48656 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48657 echo ' unchanged to GCC at the end of command line.'
48658 echo '*> If you create a DLL from a library and you do not specify -o,'
48659 echo ' the basename for DLL and import library will be set to library name,'
48660 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48661 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48662 echo ' library will be renamed into gcc_s.a.'
48665 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48666 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48671 # Execute a command.
48672 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48673 # @Uses Whatever CleanUp() uses.
48679 if [ ${D}rcCmd -ne 0 ]; then
48680 echo "command failed, exit code="${D}rcCmd
48695 CFLAGS="-s -Zcrtdll"
48697 EXPORT_BY_ORDINALS=0
48702 case ${D}curDirS in
48706 curDirS=${D}{curDirS}"/"
48709 # Parse commandline
48712 while [ ${D}1 ]; do
48715 EXPORT_BY_ORDINALS=1;
48725 -name-mangler-script)
48746 exclude_symbols=${D}{exclude_symbols}${D}1" "
48750 library_flags=${D}{library_flags}${D}1" "
48769 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48772 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48773 if [ ${D}omfLinking -eq 1 ]; then
48774 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48776 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48781 if [ ${D}libsToLink -ne 0 ]; then
48782 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48784 for file in ${D}1 ; do
48785 if [ -f ${D}file ]; then
48786 inputFiles="${D}{inputFiles} ${D}file"
48790 if [ ${D}found -eq 0 ]; then
48791 echo "ERROR: No file(s) found: "${D}1
48798 done # iterate cmdline words
48801 if [ -z "${D}inputFiles" ]; then
48802 echo "dllar: no input files"
48806 # Now extract all .o files from .a files
48808 for file in ${D}inputFiles ; do
48819 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48824 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48826 if [ ${D}? -ne 0 ]; then
48827 echo "Failed to create subdirectory ./${D}dirname"
48831 # Append '!' to indicate archive
48832 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48833 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48836 for subfile in ${D}dirname/*.o* ; do
48837 if [ -f ${D}subfile ]; then
48839 if [ -s ${D}subfile ]; then
48840 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48841 newInputFiles="${D}newInputFiles ${D}subfile"
48845 if [ ${D}found -eq 0 ]; then
48846 echo "WARNING: there are no files in archive \\'${D}file\\'"
48850 newInputFiles="${D}{newInputFiles} ${D}file"
48854 inputFiles="${D}newInputFiles"
48856 # Output filename(s).
48858 if [ -z ${D}outFile ]; then
48860 set outFile ${D}inputFiles; outFile=${D}2
48863 # If it is an archive, remove the '!' and the '_%' suffixes
48864 case ${D}outFile in
48866 outFile=\`basnam
${D}outFile _
%!\
`
48871 case ${D}outFile in
48873 outFile=\`basnam
${D}outFile .dll\
`
48876 outFile=\`basnam
${D}outFile .DLL\
`
48879 outFile=\`basnam
${D}outFile .o\
`
48882 outFile=\`basnam
${D}outFile .obj\
`
48885 outFile=\`basnam
${D}outFile .a\
`
48888 outFile=\`basnam
${D}outFile .lib\
`
48893 case ${D}outimpFile in
48895 outimpFile=\`basnam
${D}outimpFile .a\
`
48898 outimpFile=\`basnam
${D}outimpFile .lib\
`
48903 if [ -z ${D}outimpFile ]; then
48904 outimpFile=${D}outFile
48906 defFile="${D}{outFile}.def"
48907 arcFile="${D}{outimpFile}.a"
48908 arcFile2="${D}{outimpFile}.lib"
48910 #create ${D}dllFile as something matching 8.3 restrictions,
48911 if [ -z ${D}renameScript ] ; then
48912 dllFile="${D}outFile"
48914 dllFile=\`${D}renameScript
${D}outimpFile\
`
48917 if [ ${D}do_backup -ne 0 ] ; then
48918 if [ -f ${D}arcFile ] ; then
48919 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48921 if [ -f ${D}arcFile2 ] ; then
48922 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48926 # Extract public symbols from all the object files.
48927 tmpdefFile=${D}{defFile}_%
48928 rm -f ${D}tmpdefFile
48929 for file in ${D}inputFiles ; do
48934 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48939 # Create the def file.
48941 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
48942 dllFile="${D}{dllFile}.dll"
48943 if [ ! -z ${D}description ]; then
48944 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48946 echo "EXPORTS" >> ${D}defFile
48948 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48949 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48951 # Checks if the export is ok or not.
48952 for word in ${D}exclude_symbols; do
48953 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48954 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48958 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48959 sed "=" < ${D}tmpdefFile | \\
48963 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48965 ' > ${D}{tmpdefFile}%
48966 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48968 rm -f ${D}{tmpdefFile}%
48970 cat ${D}tmpdefFile >> ${D}defFile
48971 rm -f ${D}tmpdefFile
48973 # Do linking, create implib, and apply lxlite.
48975 for file in ${D}inputFiles ; do
48980 gccCmdl="${D}gccCmdl ${D}file"
48984 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48985 touch "${D}{outFile}.dll"
48987 doCommand "emximp -o ${D}arcFile ${D}defFile"
48988 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48990 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48993 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48995 doCommand "emxomf -s -l ${D}arcFile"
49005 powerpc-apple-macos* | \
49006 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49016 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49017 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49018 { (exit 1); exit 1; }; }
49021 if test "x$PIC_FLAG" != "x" ; then
49022 PIC_FLAG="$PIC_FLAG -DPIC"
49025 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49026 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49028 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49029 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49048 case "${BAKEFILE_HOST}" in
49049 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49050 *-*-k*bsd*-gnu | *-*-mirbsd* )
49051 if test "x$SUNCXX" = "xyes"; then
49054 SONAME_FLAG="-Wl,-soname,"
49089 # Check whether --enable-dependency-tracking was given.
49090 if test "${enable_dependency_tracking+set}" = set; then
49091 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49095 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49096 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49099 if test "x$bk_use_trackdeps" = "xno" ; then
49101 { echo "$as_me:$LINENO: result: disabled" >&5
49102 echo "${ECHO_T}disabled" >&6; }
49106 if test "x$GCC" = "xyes"; then
49108 case "${BAKEFILE_HOST}" in
49110 DEPSFLAG="-no-cpp-precomp -MMD"
49116 { echo "$as_me:$LINENO: result: gcc" >&5
49117 echo "${ECHO_T}gcc" >&6; }
49118 elif test "x$MWCC" = "xyes"; then
49121 { echo "$as_me:$LINENO: result: mwcc" >&5
49122 echo "${ECHO_T}mwcc" >&6; }
49123 elif test "x$SUNCC" = "xyes"; then
49126 { echo "$as_me:$LINENO: result: Sun cc" >&5
49127 echo "${ECHO_T}Sun cc" >&6; }
49128 elif test "x$SGICC" = "xyes"; then
49131 { echo "$as_me:$LINENO: result: SGI cc" >&5
49132 echo "${ECHO_T}SGI cc" >&6; }
49133 elif test "x$HPCC" = "xyes"; then
49136 { echo "$as_me:$LINENO: result: HP cc" >&5
49137 echo "${ECHO_T}HP cc" >&6; }
49138 elif test "x$COMPAQCC" = "xyes"; then
49141 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49142 echo "${ECHO_T}Compaq cc" >&6; }
49145 { echo "$as_me:$LINENO: result: none" >&5
49146 echo "${ECHO_T}none" >&6; }
49149 if test $DEPS_TRACKING = 1 ; then
49155 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49156 # script. It is used to track C/C++ files dependencies in portable way.
49158 # Permission is given to use this file in any way.
49160 DEPSMODE=${DEPSMODE}
49161 DEPSFLAG="${DEPSFLAG}"
49164 if test ${D}DEPSMODE = gcc ; then
49165 ${D}* ${D}{DEPSFLAG}
49168 # determine location of created files:
49169 while test ${D}# -gt 0; do
49183 objfilebase=\`basename ${D}objfile\
`
49184 builddir=\`dirname ${D}objfile\
`
49185 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49186 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49187 depsdir=${D}builddir/${D}DEPSDIRBASE
49188 mkdir -p ${D}depsdir
49190 # if the compiler failed, we're done:
49191 if test ${D}{status} != 0 ; then
49196 # move created file to the location we want it in:
49197 if test -f ${D}depfile ; then
49198 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49201 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49202 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49203 if test ! -f ${D}depfile ; then
49204 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49205 depfile="${D}objfile.d"
49207 if test -f ${D}depfile ; then
49208 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49214 elif test ${D}DEPSMODE = mwcc ; then
49215 ${D}* || exit ${D}?
49216 # Run mwcc again with -MM and redirect into the dep file we want
49217 # NOTE: We can't use shift here because we need ${D}* to be valid
49219 for arg in ${D}* ; do
49220 if test "${D}prevarg" = "-o"; then
49234 objfilebase=\`basename ${D}objfile\
`
49235 builddir=\`dirname ${D}objfile\
`
49236 depsdir=${D}builddir/${D}DEPSDIRBASE
49237 mkdir -p ${D}depsdir
49239 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49242 elif test ${D}DEPSMODE = unixcc; then
49243 ${D}* || exit ${D}?
49244 # Run compiler again with deps flag and redirect into the dep file.
49245 # It doesn't work if the '-o FILE' option is used, but without it the
49246 # dependency file will contain the wrong name for the object. So it is
49247 # removed from the command line, and the dep file is fixed with sed.
49249 while test ${D}# -gt 0; do
49256 eval arg${D}#=\\${D}1
49257 cmd="${D}cmd \\${D}arg${D}#"
49263 objfilebase=\`basename ${D}objfile\
`
49264 builddir=\`dirname ${D}objfile\
`
49265 depsdir=${D}builddir/${D}DEPSDIRBASE
49266 mkdir -p ${D}depsdir
49268 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49278 BK_DEPS="`pwd`/bk-deps"
49286 case ${BAKEFILE_HOST} in
49287 *-*-cygwin* | *-*-mingw32* )
49288 if test -n "$ac_tool_prefix"; then
49289 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49290 set dummy ${ac_tool_prefix}windres; ac_word=$2
49291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49293 if test "${ac_cv_prog_WINDRES+set}" = set; then
49294 echo $ECHO_N "(cached) $ECHO_C" >&6
49296 if test -n "$WINDRES"; then
49297 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49300 for as_dir in $PATH
49303 test -z "$as_dir" && as_dir=.
49304 for ac_exec_ext in '' $ac_executable_extensions; do
49305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49306 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49316 WINDRES=$ac_cv_prog_WINDRES
49317 if test -n "$WINDRES"; then
49318 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49319 echo "${ECHO_T}$WINDRES" >&6; }
49321 { echo "$as_me:$LINENO: result: no" >&5
49322 echo "${ECHO_T}no" >&6; }
49327 if test -z "$ac_cv_prog_WINDRES"; then
49328 ac_ct_WINDRES=$WINDRES
49329 # Extract the first word of "windres", so it can be a program name with args.
49330 set dummy windres; ac_word=$2
49331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49333 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49334 echo $ECHO_N "(cached) $ECHO_C" >&6
49336 if test -n "$ac_ct_WINDRES"; then
49337 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49340 for as_dir in $PATH
49343 test -z "$as_dir" && as_dir=.
49344 for ac_exec_ext in '' $ac_executable_extensions; do
49345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49346 ac_cv_prog_ac_ct_WINDRES="windres"
49347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49356 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49357 if test -n "$ac_ct_WINDRES"; then
49358 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49359 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49361 { echo "$as_me:$LINENO: result: no" >&5
49362 echo "${ECHO_T}no" >&6; }
49365 if test "x$ac_ct_WINDRES" = x; then
49368 case $cross_compiling:$ac_tool_warned in
49370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49371 whose name does not start with the host triplet. If you think this
49372 configuration is useful to you, please write to autoconf@gnu.org." >&5
49373 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49374 whose name does not start with the host triplet. If you think this
49375 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49376 ac_tool_warned=yes ;;
49378 WINDRES=$ac_ct_WINDRES
49381 WINDRES="$ac_cv_prog_WINDRES"
49386 *-*-darwin* | powerpc-apple-macos* )
49387 # Extract the first word of "Rez", so it can be a program name with args.
49388 set dummy Rez; ac_word=$2
49389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49391 if test "${ac_cv_prog_REZ+set}" = set; then
49392 echo $ECHO_N "(cached) $ECHO_C" >&6
49394 if test -n "$REZ"; then
49395 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49398 for as_dir in $PATH
49401 test -z "$as_dir" && as_dir=.
49402 for ac_exec_ext in '' $ac_executable_extensions; do
49403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49404 ac_cv_prog_REZ="Rez"
49405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49412 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49415 REZ=$ac_cv_prog_REZ
49416 if test -n "$REZ"; then
49417 { echo "$as_me:$LINENO: result: $REZ" >&5
49418 echo "${ECHO_T}$REZ" >&6; }
49420 { echo "$as_me:$LINENO: result: no" >&5
49421 echo "${ECHO_T}no" >&6; }
49425 # Extract the first word of "SetFile", so it can be a program name with args.
49426 set dummy SetFile; ac_word=$2
49427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49429 if test "${ac_cv_prog_SETFILE+set}" = set; then
49430 echo $ECHO_N "(cached) $ECHO_C" >&6
49432 if test -n "$SETFILE"; then
49433 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49436 for as_dir in $PATH
49439 test -z "$as_dir" && as_dir=.
49440 for ac_exec_ext in '' $ac_executable_extensions; do
49441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49442 ac_cv_prog_SETFILE="SetFile"
49443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49450 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49453 SETFILE=$ac_cv_prog_SETFILE
49454 if test -n "$SETFILE"; then
49455 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49456 echo "${ECHO_T}$SETFILE" >&6; }
49458 { echo "$as_me:$LINENO: result: no" >&5
49459 echo "${ECHO_T}no" >&6; }
49474 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49477 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49481 # Check whether --enable-precomp-headers was given.
49482 if test "${enable_precomp_headers+set}" = set; then
49483 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49492 case ${BAKEFILE_HOST} in
49498 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49499 if test "x$GCC" = "xyes"; then
49500 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49501 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49502 cat >conftest.$ac_ext <<_ACEOF
49505 cat confdefs.h >>conftest.$ac_ext
49506 cat >>conftest.$ac_ext <<_ACEOF
49507 /* end confdefs.h. */
49513 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49514 There is no PCH support
49517 There is no PCH support
49519 #if (__GNUC__ == 3) && \
49520 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49521 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49522 ( defined(__INTEL_COMPILER) )
49523 There is no PCH support
49530 rm -f conftest.$ac_objext
49531 if { (ac_try="$ac_compile"
49532 case "(($ac_try" in
49533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49534 *) ac_try_echo
=$ac_try;;
49536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49537 (eval "$ac_compile") 2>conftest.er1
49539 grep -v '^ *+' conftest.er1
>conftest.err
49541 cat conftest.err
>&5
49542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49543 (exit $ac_status); } && {
49544 test -z "$ac_c_werror_flag" ||
49545 test ! -s conftest.err
49546 } && test -s conftest.
$ac_objext; then
49548 { echo "$as_me:$LINENO: result: yes" >&5
49549 echo "${ECHO_T}yes" >&6; }
49553 echo "$as_me: failed program was:" >&5
49554 sed 's/^/| /' conftest.
$ac_ext >&5
49557 if test "$INTELCXX8" = "yes"; then
49558 { echo "$as_me:$LINENO: result: yes" >&5
49559 echo "${ECHO_T}yes" >&6; }
49561 if test "$INTELCXX10" = "yes"; then
49562 ICC_PCH_CREATE_SWITCH
="-pch-create"
49563 ICC_PCH_USE_SWITCH
="-pch-use"
49565 ICC_PCH_CREATE_SWITCH
="-create-pch"
49566 ICC_PCH_USE_SWITCH
="-use-pch"
49569 { echo "$as_me:$LINENO: result: no" >&5
49570 echo "${ECHO_T}no" >&6; }
49575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49576 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49580 cat <<EOF >bk-make-pch
49583 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49584 # script. It is used to generated precompiled headers.
49586 # Permission is given to use this file in any way.
49593 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49598 while test ${D}{#} -gt 0; do
49602 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49603 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49604 headerfile="${D}{incdir}/${D}{header}"
49607 -use-pch|-use_pch|-pch-use )
49612 if test ${D}add_to_cmdline = 1 ; then
49613 compiler="${D}{compiler} ${D}{1}"
49618 if test "x${D}{headerfile}" = "x" ; then
49619 echo "error: can't find header ${D}{header} in include paths" >&2
49621 if test -f ${D}{outfile} ; then
49622 rm -f ${D}{outfile}
49624 mkdir -p \`dirname ${D}{outfile}\`
49626 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49627 mkdir -p ${D}{builddir}/.deps
49628 if test "x${GCC_PCH}" = "x1" ; then
49629 # can do this because gcc is >= 3.4:
49630 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49631 elif test "x${ICC_PCH}" = "x1" ; then
49632 filename=pch_gen-${D}${D}
49633 file=${D}{filename}.c
49634 dfile=${D}{filename}.d
49635 cat > ${D}file <<EOT
49636 #include "${D}header"
49638 # using -MF icc complains about differing command lines in creation/use
49639 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49640 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49641 rm -f ${D}file ${D}dfile ${D}{filename}.o
49647 chmod +x bk
-make-pch
49648 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49659 COND_BUILD_DEBUG
="#"
49660 if test "x$BUILD" = "xdebug" ; then
49661 COND_BUILD_DEBUG
=""
49664 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49665 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49666 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49669 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49670 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49671 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49674 COND_BUILD_DEBUG_UNICODE_0
="#"
49675 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49676 COND_BUILD_DEBUG_UNICODE_0
=""
49679 COND_BUILD_DEBUG_UNICODE_1
="#"
49680 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49681 COND_BUILD_DEBUG_UNICODE_1
=""
49684 COND_BUILD_RELEASE
="#"
49685 if test "x$BUILD" = "xrelease" ; then
49686 COND_BUILD_RELEASE
=""
49689 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49690 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49691 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49694 COND_BUILD_RELEASE_UNICODE_0
="#"
49695 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49696 COND_BUILD_RELEASE_UNICODE_0
=""
49699 COND_BUILD_RELEASE_UNICODE_1
="#"
49700 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49701 COND_BUILD_RELEASE_UNICODE_1
=""
49704 COND_BUILD_debug
="#"
49705 if test "x$BUILD" = "xdebug" ; then
49706 COND_BUILD_debug
=""
49709 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49710 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49711 COND_BUILD_debug_DEBUG_FLAG_default
=""
49714 COND_BUILD_debug_DEBUG_INFO_default
="#"
49715 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49716 COND_BUILD_debug_DEBUG_INFO_default
=""
49719 COND_BUILD_debug_UNICODE_0
="#"
49720 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49721 COND_BUILD_debug_UNICODE_0
=""
49724 COND_BUILD_debug_UNICODE_1
="#"
49725 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49726 COND_BUILD_debug_UNICODE_1
=""
49729 COND_BUILD_release
="#"
49730 if test "x$BUILD" = "xrelease" ; then
49731 COND_BUILD_release
=""
49734 COND_BUILD_release_DEBUG_INFO_default
="#"
49735 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49736 COND_BUILD_release_DEBUG_INFO_default
=""
49739 COND_BUILD_release_UNICODE_0
="#"
49740 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49741 COND_BUILD_release_UNICODE_0
=""
49744 COND_BUILD_release_UNICODE_1
="#"
49745 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49746 COND_BUILD_release_UNICODE_1
=""
49749 COND_DEBUG_FLAG_1
="#"
49750 if test "x$DEBUG_FLAG" = "x1" ; then
49751 COND_DEBUG_FLAG_1
=""
49754 COND_DEBUG_INFO_0
="#"
49755 if test "x$DEBUG_INFO" = "x0" ; then
49756 COND_DEBUG_INFO_0
=""
49759 COND_DEBUG_INFO_1
="#"
49760 if test "x$DEBUG_INFO" = "x1" ; then
49761 COND_DEBUG_INFO_1
=""
49764 COND_DEPS_TRACKING_0
="#"
49765 if test "x$DEPS_TRACKING" = "x0" ; then
49766 COND_DEPS_TRACKING_0
=""
49769 COND_DEPS_TRACKING_1
="#"
49770 if test "x$DEPS_TRACKING" = "x1" ; then
49771 COND_DEPS_TRACKING_1
=""
49775 if test "x$GCC_PCH" = "x1" ; then
49780 if test "x$ICC_PCH" = "x1" ; then
49784 COND_MONOLITHIC_0
="#"
49785 if test "x$MONOLITHIC" = "x0" ; then
49786 COND_MONOLITHIC_0
=""
49789 COND_MONOLITHIC_0_SHARED_0
="#"
49790 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49791 COND_MONOLITHIC_0_SHARED_0
=""
49794 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49795 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49796 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49799 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49800 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49801 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49804 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49806 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49809 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49811 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49814 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49816 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49819 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49821 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49824 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49826 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49829 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49831 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49834 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49839 COND_MONOLITHIC_0_SHARED_1
="#"
49840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49841 COND_MONOLITHIC_0_SHARED_1
=""
49844 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49846 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49849 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49864 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49866 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49869 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49871 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49874 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49876 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49879 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49881 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49884 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49886 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49889 COND_MONOLITHIC_0_USE_AUI_1
="#"
49890 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49891 COND_MONOLITHIC_0_USE_AUI_1
=""
49894 COND_MONOLITHIC_0_USE_GUI_1
="#"
49895 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49896 COND_MONOLITHIC_0_USE_GUI_1
=""
49899 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49900 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49901 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49904 COND_MONOLITHIC_0_USE_HTML_1
="#"
49905 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49906 COND_MONOLITHIC_0_USE_HTML_1
=""
49909 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49910 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49911 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49914 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
49915 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49916 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
49919 COND_MONOLITHIC_0_USE_QA_1
="#"
49920 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49921 COND_MONOLITHIC_0_USE_QA_1
=""
49924 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49925 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49926 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49929 COND_MONOLITHIC_0_USE_STC_1
="#"
49930 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49931 COND_MONOLITHIC_0_USE_STC_1
=""
49934 COND_MONOLITHIC_0_USE_XRC_1
="#"
49935 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49936 COND_MONOLITHIC_0_USE_XRC_1
=""
49939 COND_MONOLITHIC_1
="#"
49940 if test "x$MONOLITHIC" = "x1" ; then
49941 COND_MONOLITHIC_1
=""
49944 COND_MONOLITHIC_1_SHARED_0
="#"
49945 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49946 COND_MONOLITHIC_1_SHARED_0
=""
49949 COND_MONOLITHIC_1_SHARED_1
="#"
49950 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49951 COND_MONOLITHIC_1_SHARED_1
=""
49954 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49955 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49956 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49959 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49960 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49961 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49964 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49965 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49966 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49969 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49970 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49971 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49974 COND_PLATFORM_MACOSX_1
="#"
49975 if test "x$PLATFORM_MACOSX" = "x1" ; then
49976 COND_PLATFORM_MACOSX_1
=""
49979 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
49980 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49981 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
49984 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
49985 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49986 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
49989 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
49990 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49991 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
49994 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
49995 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49996 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
49999 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50000 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50001 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50004 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50005 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50006 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50009 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
50010 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50011 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
50014 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50015 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50016 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50019 COND_PLATFORM_MACOS_1
="#"
50020 if test "x$PLATFORM_MACOS" = "x1" ; then
50021 COND_PLATFORM_MACOS_1
=""
50024 COND_PLATFORM_MAC_0
="#"
50025 if test "x$PLATFORM_MAC" = "x0" ; then
50026 COND_PLATFORM_MAC_0
=""
50029 COND_PLATFORM_MAC_1
="#"
50030 if test "x$PLATFORM_MAC" = "x1" ; then
50031 COND_PLATFORM_MAC_1
=""
50034 COND_PLATFORM_MSDOS_0
="#"
50035 if test "x$PLATFORM_MSDOS" = "x0" ; then
50036 COND_PLATFORM_MSDOS_0
=""
50039 COND_PLATFORM_MSDOS_1
="#"
50040 if test "x$PLATFORM_MSDOS" = "x1" ; then
50041 COND_PLATFORM_MSDOS_1
=""
50044 COND_PLATFORM_OS2_1
="#"
50045 if test "x$PLATFORM_OS2" = "x1" ; then
50046 COND_PLATFORM_OS2_1
=""
50049 COND_PLATFORM_UNIX_0
="#"
50050 if test "x$PLATFORM_UNIX" = "x0" ; then
50051 COND_PLATFORM_UNIX_0
=""
50054 COND_PLATFORM_UNIX_1
="#"
50055 if test "x$PLATFORM_UNIX" = "x1" ; then
50056 COND_PLATFORM_UNIX_1
=""
50059 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50060 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50061 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50064 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50065 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50066 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50069 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50070 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50071 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50074 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50075 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50076 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50079 COND_PLATFORM_WIN32_0
="#"
50080 if test "x$PLATFORM_WIN32" = "x0" ; then
50081 COND_PLATFORM_WIN32_0
=""
50084 COND_PLATFORM_WIN32_1
="#"
50085 if test "x$PLATFORM_WIN32" = "x1" ; then
50086 COND_PLATFORM_WIN32_1
=""
50090 if test "x$SHARED" = "x0" ; then
50094 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50095 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50096 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50099 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50100 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50101 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50104 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50105 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50106 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50109 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50110 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50111 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50114 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50115 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50116 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50119 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50120 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50121 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50124 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50125 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50126 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50129 COND_SHARED_0_USE_STC_1
="#"
50130 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50131 COND_SHARED_0_USE_STC_1
=""
50134 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50135 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50136 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50139 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50140 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50141 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50144 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50145 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50146 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50150 if test "x$SHARED" = "x1" ; then
50154 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50155 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50156 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50160 if test "x$TOOLKIT" = "x" ; then
50164 COND_TOOLKIT_COCOA
="#"
50165 if test "x$TOOLKIT" = "xCOCOA" ; then
50166 COND_TOOLKIT_COCOA
=""
50169 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50170 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50171 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50174 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50175 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50176 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50179 COND_TOOLKIT_DFB
="#"
50180 if test "x$TOOLKIT" = "xDFB" ; then
50181 COND_TOOLKIT_DFB
=""
50184 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50185 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50186 COND_TOOLKIT_DFB_USE_GUI_1
=""
50189 COND_TOOLKIT_GTK
="#"
50190 if test "x$TOOLKIT" = "xGTK" ; then
50191 COND_TOOLKIT_GTK
=""
50194 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50195 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50196 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50199 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50200 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50201 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50204 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50205 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50206 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50209 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50210 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50211 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50214 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50215 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50216 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50219 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50220 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50221 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50224 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50225 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50226 COND_TOOLKIT_GTK_USE_GUI_1
=""
50229 COND_TOOLKIT_MAC
="#"
50230 if test "x$TOOLKIT" = "xMAC" ; then
50231 COND_TOOLKIT_MAC
=""
50234 COND_TOOLKIT_MGL
="#"
50235 if test "x$TOOLKIT" = "xMGL" ; then
50236 COND_TOOLKIT_MGL
=""
50239 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50240 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50241 COND_TOOLKIT_MGL_USE_GUI_1
=""
50244 COND_TOOLKIT_MOTIF
="#"
50245 if test "x$TOOLKIT" = "xMOTIF" ; then
50246 COND_TOOLKIT_MOTIF
=""
50249 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50250 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50251 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50254 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50255 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50256 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50259 COND_TOOLKIT_MSW
="#"
50260 if test "x$TOOLKIT" = "xMSW" ; then
50261 COND_TOOLKIT_MSW
=""
50264 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50265 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50266 COND_TOOLKIT_MSW_USE_GUI_1
=""
50269 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50270 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50271 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50274 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50275 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50276 COND_TOOLKIT_MSW_WXUNIV_0
=""
50279 COND_TOOLKIT_OSX_CARBON
="#"
50280 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50281 COND_TOOLKIT_OSX_CARBON
=""
50284 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50285 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50286 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50289 COND_TOOLKIT_OSX_COCOA
="#"
50290 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50291 COND_TOOLKIT_OSX_COCOA
=""
50294 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50295 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50296 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50299 COND_TOOLKIT_OSX_IPHONE
="#"
50300 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50301 COND_TOOLKIT_OSX_IPHONE
=""
50304 COND_TOOLKIT_PM
="#"
50305 if test "x$TOOLKIT" = "xPM" ; then
50309 COND_TOOLKIT_PM_USE_GUI_1
="#"
50310 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50311 COND_TOOLKIT_PM_USE_GUI_1
=""
50314 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50315 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50316 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50319 COND_TOOLKIT_WINCE
="#"
50320 if test "x$TOOLKIT" = "xWINCE" ; then
50321 COND_TOOLKIT_WINCE
=""
50324 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50325 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50326 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50329 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50330 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50331 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50334 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50335 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50336 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50339 COND_TOOLKIT_X11
="#"
50340 if test "x$TOOLKIT" = "xX11" ; then
50341 COND_TOOLKIT_X11
=""
50344 COND_TOOLKIT_X11_USE_GUI_1
="#"
50345 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50346 COND_TOOLKIT_X11_USE_GUI_1
=""
50350 if test "x$UNICODE" = "x1" ; then
50354 COND_USE_EXCEPTIONS_0
="#"
50355 if test "x$USE_EXCEPTIONS" = "x0" ; then
50356 COND_USE_EXCEPTIONS_0
=""
50359 COND_USE_EXCEPTIONS_1
="#"
50360 if test "x$USE_EXCEPTIONS" = "x1" ; then
50361 COND_USE_EXCEPTIONS_1
=""
50365 if test "x$USE_GUI" = "x0" ; then
50370 if test "x$USE_GUI" = "x1" ; then
50374 COND_USE_GUI_1_USE_OPENGL_1
="#"
50375 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50376 COND_USE_GUI_1_USE_OPENGL_1
=""
50379 COND_USE_GUI_1_WXUNIV_0
="#"
50380 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50381 COND_USE_GUI_1_WXUNIV_0
=""
50384 COND_USE_GUI_1_WXUNIV_1
="#"
50385 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50386 COND_USE_GUI_1_WXUNIV_1
=""
50389 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50390 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50391 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50394 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50395 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50396 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50399 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50400 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50401 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50404 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50405 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50406 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50409 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50410 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50411 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50414 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50415 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50416 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50419 COND_USE_OPENGL_1
="#"
50420 if test "x$USE_OPENGL" = "x1" ; then
50421 COND_USE_OPENGL_1
=""
50425 if test "x$USE_PCH" = "x1" ; then
50429 COND_USE_PLUGINS_0
="#"
50430 if test "x$USE_PLUGINS" = "x0" ; then
50431 COND_USE_PLUGINS_0
=""
50434 COND_USE_RTTI_0
="#"
50435 if test "x$USE_RTTI" = "x0" ; then
50439 COND_USE_RTTI_1
="#"
50440 if test "x$USE_RTTI" = "x1" ; then
50444 COND_USE_SOSYMLINKS_1
="#"
50445 if test "x$USE_SOSYMLINKS" = "x1" ; then
50446 COND_USE_SOSYMLINKS_1
=""
50449 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50450 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50451 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50454 COND_USE_SOVERLINUX_1
="#"
50455 if test "x$USE_SOVERLINUX" = "x1" ; then
50456 COND_USE_SOVERLINUX_1
=""
50459 COND_USE_SOVERSION_0
="#"
50460 if test "x$USE_SOVERSION" = "x0" ; then
50461 COND_USE_SOVERSION_0
=""
50464 COND_USE_SOVERSOLARIS_1
="#"
50465 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50466 COND_USE_SOVERSOLARIS_1
=""
50470 if test "x$USE_STC" = "x1" ; then
50474 COND_USE_THREADS_0
="#"
50475 if test "x$USE_THREADS" = "x0" ; then
50476 COND_USE_THREADS_0
=""
50479 COND_USE_THREADS_1
="#"
50480 if test "x$USE_THREADS" = "x1" ; then
50481 COND_USE_THREADS_1
=""
50485 if test "x$USE_XRC" = "x1" ; then
50489 COND_WINDOWS_IMPLIB_1
="#"
50490 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50491 COND_WINDOWS_IMPLIB_1
=""
50494 COND_WITH_PLUGIN_SDL_1
="#"
50495 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50496 COND_WITH_PLUGIN_SDL_1
=""
50500 if test "x$WXUNIV" = "x0" ; then
50505 if test "x$WXUNIV" = "x1" ; then
50509 COND_WXUSE_EXPAT_BUILTIN
="#"
50510 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50511 COND_WXUSE_EXPAT_BUILTIN
=""
50514 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50515 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50516 COND_WXUSE_LIBJPEG_BUILTIN
=""
50519 COND_WXUSE_LIBPNG_BUILTIN
="#"
50520 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50521 COND_WXUSE_LIBPNG_BUILTIN
=""
50524 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50525 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50526 COND_WXUSE_LIBTIFF_BUILTIN
=""
50529 COND_WXUSE_REGEX_BUILTIN
="#"
50530 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50531 COND_WXUSE_REGEX_BUILTIN
=""
50534 COND_WXUSE_ZLIB_BUILTIN
="#"
50535 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50536 COND_WXUSE_ZLIB_BUILTIN
=""
50539 COND_wxUSE_EXPAT_builtin
="#"
50540 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50541 COND_wxUSE_EXPAT_builtin
=""
50544 COND_wxUSE_LIBJPEG_builtin
="#"
50545 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50546 COND_wxUSE_LIBJPEG_builtin
=""
50549 COND_wxUSE_LIBPNG_builtin
="#"
50550 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50551 COND_wxUSE_LIBPNG_builtin
=""
50554 COND_wxUSE_LIBTIFF_builtin
="#"
50555 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50556 COND_wxUSE_LIBTIFF_builtin
=""
50559 COND_wxUSE_REGEX_builtin
="#"
50560 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50561 COND_wxUSE_REGEX_builtin
=""
50564 COND_wxUSE_ZLIB_builtin
="#"
50565 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50566 COND_wxUSE_ZLIB_builtin
=""
50571 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50572 { { 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
50573 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;}
50574 { (exit 1); exit 1; }; }
50577 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50578 { { 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
50579 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;}
50580 { (exit 1); exit 1; }; }
50587 ?
:* ) # Drive letter, considered as absolute.
50590 INSTALL
=`pwd`/${INSTALL} ;;
50593 if test "$wxUSE_GUI" = "yes"; then
50595 if test "$wxUSE_MSW" = 1 ; then
50596 if test "x$WINDRES" = "x"; then
50597 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50598 echo "$as_me: error: Required windres program not found" >&2;}
50599 { (exit 1); exit 1; }; }
50605 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50606 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50607 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50609 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50611 # Extract the first word of "DeRez", so it can be a program name with args.
50612 set dummy DeRez
; ac_word
=$2
50613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50615 if test "${ac_cv_prog_DEREZ+set}" = set; then
50616 echo $ECHO_N "(cached) $ECHO_C" >&6
50618 if test -n "$DEREZ"; then
50619 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50622 for as_dir
in $PATH
50625 test -z "$as_dir" && as_dir
=.
50626 for ac_exec_ext
in '' $ac_executable_extensions; do
50627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50628 ac_cv_prog_DEREZ
="DeRez"
50629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50636 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50639 DEREZ
=$ac_cv_prog_DEREZ
50640 if test -n "$DEREZ"; then
50641 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50642 echo "${ECHO_T}$DEREZ" >&6; }
50644 { echo "$as_me:$LINENO: result: no" >&5
50645 echo "${ECHO_T}no" >&6; }
50650 MACSETFILE
="\$(SETFILE)"
50652 if test "$wxUSE_OSX_CARBON" = 1; then
50653 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50655 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50657 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50658 RESCOMP
="cat /dev/null \| $REZ"
50659 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50665 if test "$wxUSE_PM" = 1; then
50667 WXCONFIG_RESFLAGS
="-ep"
50669 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50671 POSTLINK_COMMAND
="@true"
50678 if test $GCC_PCH = 1
50680 if test "$wx_cv_gcc_pch_bug" = yes; then
50681 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50682 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50683 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50684 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50685 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50686 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50689 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50690 # the headers that benefit from precompilation are mostly C++ headers.
50691 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50692 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50693 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50697 if test "$wxUSE_MAC" = 1 ; then
50698 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50699 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50705 if test "$wxUSE_SHARED" = "yes"; then
50707 *-pc-os2_emx | *-pc-os2-emx )
50708 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50709 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50710 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50711 cp -p ${srcdir}/src
/os
2/dllar.sh .
50715 if test "$wxUSE_OMF" = "yes"; then
50717 *-pc-os2_emx | *-pc-os2-emx )
50718 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50719 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50720 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50725 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50730 if test "$GCC" = yes; then
50731 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50732 LIBS
=`echo $LIBS | sed 's/-mt//'`
50733 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50738 if test "x$SUNCXX" = xyes
; then
50739 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50740 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50741 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50746 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50747 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50748 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50749 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50751 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50812 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50813 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50814 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50815 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50816 echo $ECHO_N "(cached) $ECHO_C" >&6
50818 cat >conftest.
make <<\_ACEOF
50821 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50823 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50824 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50825 *@@@
%%%=?
*=@@@
%%%*)
50826 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50828 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50830 rm -f conftest.
make
50832 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50833 { echo "$as_me:$LINENO: result: yes" >&5
50834 echo "${ECHO_T}yes" >&6; }
50837 { echo "$as_me:$LINENO: result: no" >&5
50838 echo "${ECHO_T}no" >&6; }
50839 SET_MAKE
="MAKE=${MAKE-make}"
50844 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50847 if test "$USE_WIN32" = 1; then
50848 ac_config_commands
="$ac_config_commands rcdefs.h"
50852 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50855 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50858 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50861 if test "$wx_cv_version_script" = "yes"; then
50862 ac_config_files
="$ac_config_files version-script"
50865 ac_config_files
="$ac_config_files Makefile"
50868 ac_config_commands
="$ac_config_commands wx-config"
50872 if test "$wxWITH_SUBDIRS" != "no"; then
50873 if test "$wxUSE_GUI" = "yes"; then
50874 SUBDIRS
="samples demos utils"
50876 SUBDIRS
="samples utils"
50881 # Check whether --with-cppunit-prefix was given.
50882 if test "${with_cppunit_prefix+set}" = set; then
50883 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50885 cppunit_config_prefix
=""
50889 # Check whether --with-cppunit-exec-prefix was given.
50890 if test "${with_cppunit_exec_prefix+set}" = set; then
50891 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50893 cppunit_config_exec_prefix
=""
50897 if test x
$cppunit_config_exec_prefix != x
; then
50898 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50899 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50900 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50903 if test x
$cppunit_config_prefix != x
; then
50904 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50905 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50906 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50910 # Extract the first word of "cppunit-config", so it can be a program name with args.
50911 set dummy cppunit
-config; ac_word
=$2
50912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50914 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50915 echo $ECHO_N "(cached) $ECHO_C" >&6
50917 case $CPPUNIT_CONFIG in
50919 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50923 for as_dir
in $PATH
50926 test -z "$as_dir" && as_dir
=.
50927 for ac_exec_ext
in '' $ac_executable_extensions; do
50928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50929 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50937 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50941 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50942 if test -n "$CPPUNIT_CONFIG"; then
50943 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50944 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50946 { echo "$as_me:$LINENO: result: no" >&5
50947 echo "${ECHO_T}no" >&6; }
50951 cppunit_version_min
=1.8.0
50953 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50954 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50956 if test "$CPPUNIT_CONFIG" = "no" ; then
50957 { echo "$as_me:$LINENO: result: no" >&5
50958 echo "${ECHO_T}no" >&6; }
50961 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50962 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50963 cppunit_version
=`$CPPUNIT_CONFIG --version`
50965 cppunit_major_version
=`echo $cppunit_version | \
50966 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50967 cppunit_minor_version
=`echo $cppunit_version | \
50968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50969 cppunit_micro_version
=`echo $cppunit_version | \
50970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50972 cppunit_major_min
=`echo $cppunit_version_min | \
50973 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50974 cppunit_minor_min
=`echo $cppunit_version_min | \
50975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50976 cppunit_micro_min
=`echo $cppunit_version_min | \
50977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50979 cppunit_version_proper
=`expr \
50980 $cppunit_major_version \> $cppunit_major_min \| \
50981 $cppunit_major_version \= $cppunit_major_min \& \
50982 $cppunit_minor_version \> $cppunit_minor_min \| \
50983 $cppunit_major_version \= $cppunit_major_min \& \
50984 $cppunit_minor_version \= $cppunit_minor_min \& \
50985 $cppunit_micro_version \>= $cppunit_micro_min `
50987 if test "$cppunit_version_proper" = "1" ; then
50988 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50989 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50991 { echo "$as_me:$LINENO: result: no" >&5
50992 echo "${ECHO_T}no" >&6; }
50997 if test "x$no_cppunit" = x
; then
50998 SUBDIRS
="$SUBDIRS tests"
51009 for subdir
in $SUBDIRS; do
51010 if test -d ${srcdir}/${subdir} ; then
51011 if test "$wxUSE_GUI" = "yes"; then
51012 if test ${subdir} = "samples"; then
51013 makefiles
="samples/Makefile.in $makefiles"
51014 for sample
in $SAMPLES_SUBDIRS; do
51015 if test -d $srcdir/samples
/$sample; then
51016 makefiles
="samples/$sample/Makefile.in $makefiles"
51020 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
51021 eval "disabled=\$$disabled_var"
51022 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51023 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51026 if test ${subdir} = "samples"; then
51027 makefiles
="samples/Makefile.in $makefiles"
51028 for sample
in `echo $SAMPLES_SUBDIRS`; do
51029 if test -d $srcdir/samples
/$sample; then
51030 makefiles
="samples/$sample/Makefile.in $makefiles"
51033 elif test ${subdir} = "utils"; then
51035 for util
in ifacecheck
; do
51036 if test -d $srcdir/utils
/$util ; then
51037 makefiles
="utils/$util/src/Makefile.in \
51042 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51046 for mkin
in $makefiles ; do
51047 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51048 ac_config_files
="$ac_config_files $mk"
51054 cat >confcache
<<\_ACEOF
51055 # This file is a shell script that caches the results of configure
51056 # tests run on this system so they can be shared between configure
51057 # scripts and configure runs, see configure's option --config-cache.
51058 # It is not useful on other systems. If it contains results you don't
51059 # want to keep, you may remove or edit it.
51061 # config.status only pays attention to the cache file if you give it
51062 # the --recheck option to rerun configure.
51064 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51065 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51066 # following values.
51070 # The following way of writing the cache mishandles newlines in values,
51071 # but we know of no workaround that is simple, portable, and efficient.
51072 # So, we kill variables containing newlines.
51073 # Ultrix sh set writes to stderr and can't be redirected directly,
51074 # and sets the high bit in the cache file unless we assign to the vars.
51076 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51077 eval ac_val
=\$
$ac_var
51081 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51082 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51085 _
| IFS
| as_nl
) ;; #(
51086 *) $as_unset $ac_var ;;
51092 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51093 *${as_nl}ac_space
=\
*)
51094 # `set' does not quote correctly, so add quotes (double-quote
51095 # substitution turns \\\\ into \\, and sed turns \\ into \).
51098 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51101 # `set' quotes correctly as required by POSIX, so do not add quotes.
51102 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51111 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51113 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51115 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51116 if test -w "$cache_file"; then
51117 test "x$cache_file" != "x/dev/null" &&
51118 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51119 echo "$as_me: updating cache $cache_file" >&6;}
51120 cat confcache
>$cache_file
51122 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51123 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51128 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51129 # Let make expand exec_prefix.
51130 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51132 DEFS
=-DHAVE_CONFIG_H
51136 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51137 # 1. Remove the extension, and $U if already installed.
51138 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51139 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51140 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51141 # will be set to the directory where LIBOBJS objects are built.
51142 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51143 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51145 LIBOBJS
=$ac_libobjs
51147 LTLIBOBJS
=$ac_ltlibobjs
51151 : ${CONFIG_STATUS=./config.status}
51152 ac_clean_files_save
=$ac_clean_files
51153 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51154 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51155 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51156 cat >$CONFIG_STATUS <<_ACEOF
51158 # Generated by $as_me.
51159 # Run this file to recreate the current configuration.
51160 # Compiler output produced by configure, useful for debugging
51161 # configure, is in config.log if it exists.
51164 ac_cs_recheck=false
51166 SHELL=\${CONFIG_SHELL-$SHELL}
51169 cat >>$CONFIG_STATUS <<\_ACEOF
51170 ## --------------------- ##
51171 ## M4sh Initialization. ##
51172 ## --------------------- ##
51174 # Be more Bourne compatible
51175 DUALCASE
=1; export DUALCASE
# for MKS sh
51176 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51179 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51180 # is contrary to our usage. Disable this feature.
51181 alias -g '${1+"$@"}'='"$@"'
51182 setopt NO_GLOB_SUBST
51184 case `(set -o) 2>/dev/null` in
51185 *posix
*) set -o posix
;;
51194 # Avoid depending upon Character Ranges.
51195 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51196 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51197 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51198 as_cr_digits
='0123456789'
51199 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51201 # The user is always right.
51202 if test "${PATH_SEPARATOR+set}" != set; then
51203 echo "#! /bin/sh" >conf$$.sh
51204 echo "exit 0" >>conf$$.sh
51206 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51214 # Support unset when possible.
51215 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51223 # We need space, tab and new line, in precisely that order. Quoting is
51224 # there to prevent editors from complaining about space-tab.
51225 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51226 # splitting by setting IFS to empty value.)
51231 # Find who we are. Look in the path if we contain no directory separator.
51233 *[\\/]* ) as_myself
=$0 ;;
51234 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51235 for as_dir
in $PATH
51238 test -z "$as_dir" && as_dir
=.
51239 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51245 # We did not find ourselves, most probably we were run as `sh COMMAND'
51246 # in which case we are not to be found in the path.
51247 if test "x$as_myself" = x
; then
51250 if test ! -f "$as_myself"; then
51251 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51252 { (exit 1); exit 1; }
51255 # Work around bugs in pre-3.0 UWIN ksh.
51256 for as_var
in ENV MAIL MAILPATH
51257 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51265 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51266 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51267 LC_TELEPHONE LC_TIME
51269 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51270 eval $as_var=C
; export $as_var
51272 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51276 # Required to use basename.
51277 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51278 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51284 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51285 as_basename
=basename
51291 # Name of the executable.
51292 as_me
=`$as_basename -- "$0" ||
51293 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51294 X"$0" : 'X\(//\)$' \| \
51295 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51297 sed '/^.*\/\([^/][^/]*\)\/*$/{
51316 as_lineno_1
=$LINENO
51317 as_lineno_2
=$LINENO
51318 test "x$as_lineno_1" != "x$as_lineno_2" &&
51319 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51321 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51322 # uniformly replaced by the line number. The first 'sed' inserts a
51323 # line-number line after each line using $LINENO; the second 'sed'
51324 # does the real work. The second script uses 'N' to pair each
51325 # line-number line with the line containing $LINENO, and appends
51326 # trailing '-' during substitution so that $LINENO is not a special
51327 # case at line end.
51328 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51329 # scripts with optimization help from Paolo Bonzini. Blame Lee
51330 # E. McMahon (1931-1989) for sed's syntax. :-)
51342 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51345 ' >$as_me.lineno
&&
51346 chmod +x
"$as_me.lineno" ||
51347 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51348 { (exit 1); exit 1; }; }
51350 # Don't try to exec as it changes $[0], causing all sort of problems
51351 # (the dirname of $[0] is not the place where we might find the
51352 # original and so on. Autoconf is especially sensitive to this).
51353 .
"./$as_me.lineno"
51354 # Exit status is that of the last command.
51359 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51365 ECHO_C
= ECHO_N
= ECHO_T
=
51366 case `echo -n x` in
51368 case `echo 'x\c'` in
51369 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51376 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51377 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51383 rm -f conf$$ conf$$.exe conf$$.
file
51384 if test -d conf$$.dir
; then
51385 rm -f conf$$.dir
/conf$$.
file
51391 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51393 # ... but there are two gotchas:
51394 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51395 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51396 # In both cases, we have to default to `cp -p'.
51397 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51399 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51404 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51405 rmdir conf$$.dir
2>/dev
/null
51407 if mkdir -p .
2>/dev
/null
; then
51410 test -d .
/-p && rmdir .
/-p
51414 if test -x / >/dev
/null
2>&1; then
51415 as_test_x
='test -x'
51417 if ls -dL / >/dev
/null
2>&1; then
51424 if test -d "$1"; then
51430 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51431 ???[sx]*):;;*)false;;esac;fi
51435 as_executable_p
=$as_test_x
51437 # Sed expression to map a string onto a valid CPP name.
51438 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51440 # Sed expression to map a string onto a valid variable name.
51441 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51446 # Save the log message, to keep $[0] and so on meaningful, and to
51447 # report actual input values of CONFIG_FILES etc. instead of their
51448 # values after options handling.
51450 This file was extended by wxWidgets $as_me 2.9.1, which was
51451 generated by GNU Autoconf 2.61. Invocation command line was
51453 CONFIG_FILES = $CONFIG_FILES
51454 CONFIG_HEADERS = $CONFIG_HEADERS
51455 CONFIG_LINKS = $CONFIG_LINKS
51456 CONFIG_COMMANDS = $CONFIG_COMMANDS
51459 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51464 cat >>$CONFIG_STATUS <<_ACEOF
51465 # Files that config.status was made for.
51466 config_files="$ac_config_files"
51467 config_headers="$ac_config_headers"
51468 config_commands="$ac_config_commands"
51472 cat >>$CONFIG_STATUS <<\_ACEOF
51474 \`$as_me' instantiates files from templates according to the
51475 current configuration.
51477 Usage: $0 [OPTIONS] [FILE]...
51479 -h, --help print this help, then exit
51480 -V, --version print version number and configuration settings, then exit
51481 -q, --quiet do not print progress messages
51482 -d, --debug don't remove temporary files
51483 --recheck update $as_me by reconfiguring in the same conditions
51484 --file=FILE[:TEMPLATE]
51485 instantiate the configuration file FILE
51486 --header=FILE[:TEMPLATE]
51487 instantiate the configuration header FILE
51489 Configuration files:
51492 Configuration headers:
51495 Configuration commands:
51498 Report bugs to <bug-autoconf@gnu.org>."
51501 cat >>$CONFIG_STATUS <<_ACEOF
51503 wxWidgets config.status 2.9.1
51504 configured by $0, generated by GNU Autoconf 2.61,
51505 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51507 Copyright (C) 2006 Free Software Foundation, Inc.
51508 This config.status script is free software; the Free Software Foundation
51509 gives unlimited permission to copy, distribute and modify it."
51516 cat >>$CONFIG_STATUS <<\_ACEOF
51517 # If no file are specified by the user, then we need to provide default
51518 # value. By we need to know if files were specified by the user.
51524 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51525 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51536 # Handling of the options.
51537 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51539 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51540 echo "$ac_cs_version"; exit ;;
51541 --debug | --debu | --deb | --de | --d | -d )
51543 --file | --fil | --fi | --f )
51545 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51546 ac_need_defaults
=false
;;
51547 --header | --heade | --head | --hea )
51549 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51550 ac_need_defaults
=false
;;
51552 # Conflict between --help and --header
51553 { echo "$as_me: error: ambiguous option: $1
51554 Try \`$0 --help' for more information." >&2
51555 { (exit 1); exit 1; }; };;
51556 --help | --hel | -h )
51557 echo "$ac_cs_usage"; exit ;;
51558 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51559 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51562 # This is an error.
51563 -*) { echo "$as_me: error: unrecognized option: $1
51564 Try \`$0 --help' for more information." >&2
51565 { (exit 1); exit 1; }; } ;;
51567 *) ac_config_targets
="$ac_config_targets $1"
51568 ac_need_defaults
=false
;;
51574 ac_configure_extra_args
=
51576 if $ac_cs_silent; then
51578 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51582 cat >>$CONFIG_STATUS <<_ACEOF
51583 if \$ac_cs_recheck; then
51584 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51585 CONFIG_SHELL=$SHELL
51586 export CONFIG_SHELL
51587 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51591 cat >>$CONFIG_STATUS <<\_ACEOF
51595 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51596 ## Running $as_me. ##
51602 cat >>$CONFIG_STATUS <<_ACEOF
51608 infile="$srcdir/include/wx/msw/genrcdefs.h"
51609 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51612 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51613 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51614 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51620 cat >>$CONFIG_STATUS <<\_ACEOF
51622 # Handling of arguments.
51623 for ac_config_target
in $ac_config_targets
51625 case $ac_config_target in
51626 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51627 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51628 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51629 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51630 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51631 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51632 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51633 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51634 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51636 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51637 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51638 { (exit 1); exit 1; }; };;
51643 # If the user did not use the arguments to specify the items to instantiate,
51644 # then the envvar interface is used. Set only those that are not.
51645 # We use the long form for the default assignment because of an extremely
51646 # bizarre bug on SunOS 4.1.3.
51647 if $ac_need_defaults; then
51648 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51649 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51650 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51653 # Have a temporary directory for convenience. Make it in the build tree
51654 # simply because there is no reason against having it here, and in addition,
51655 # creating and moving files from /tmp can sometimes cause problems.
51656 # Hook for its removal unless debugging.
51657 # Note that there is a small window in which the directory will not be cleaned:
51658 # after its creation but before its name has been assigned to `$tmp'.
51662 trap 'exit_status=$?
51663 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51665 trap '{ (exit 1); exit 1; }' 1 2 13 15
51667 # Create a (secure) tmp directory for tmp files.
51670 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51671 test -n "$tmp" && test -d "$tmp"
51674 tmp
=.
/conf$$
-$RANDOM
51675 (umask 077 && mkdir "$tmp")
51678 echo "$me: cannot create a temporary directory in ." >&2
51679 { (exit 1); exit 1; }
51683 # Set up the sed scripts for CONFIG_FILES section.
51686 # No need to generate the scripts if there are no CONFIG_FILES.
51687 # This happens for instance when ./config.status config.h
51688 if test -n "$CONFIG_FILES"; then
51695 for ac_last_try
in false false false false false
:; do
51696 cat >conf$
$subs.
sed <<_ACEOF
51697 SHELL!$SHELL$ac_delim
51698 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51699 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51700 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51701 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51702 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51703 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51704 exec_prefix!$exec_prefix$ac_delim
51705 prefix!$prefix$ac_delim
51706 program_transform_name!$program_transform_name$ac_delim
51707 bindir!$bindir$ac_delim
51708 sbindir!$sbindir$ac_delim
51709 libexecdir!$libexecdir$ac_delim
51710 datarootdir!$datarootdir$ac_delim
51711 datadir!$datadir$ac_delim
51712 sysconfdir!$sysconfdir$ac_delim
51713 sharedstatedir!$sharedstatedir$ac_delim
51714 localstatedir!$localstatedir$ac_delim
51715 includedir!$includedir$ac_delim
51716 oldincludedir!$oldincludedir$ac_delim
51717 docdir!$docdir$ac_delim
51718 infodir!$infodir$ac_delim
51719 htmldir!$htmldir$ac_delim
51720 dvidir!$dvidir$ac_delim
51721 pdfdir!$pdfdir$ac_delim
51722 psdir!$psdir$ac_delim
51723 libdir!$libdir$ac_delim
51724 localedir!$localedir$ac_delim
51725 mandir!$mandir$ac_delim
51726 DEFS!$DEFS$ac_delim
51727 ECHO_C!$ECHO_C$ac_delim
51728 ECHO_N!$ECHO_N$ac_delim
51729 ECHO_T!$ECHO_T$ac_delim
51730 LIBS!$LIBS$ac_delim
51731 build_alias!$build_alias$ac_delim
51732 host_alias!$host_alias$ac_delim
51733 target_alias!$target_alias$ac_delim
51734 build!$build$ac_delim
51735 build_cpu!$build_cpu$ac_delim
51736 build_vendor!$build_vendor$ac_delim
51737 build_os!$build_os$ac_delim
51738 host!$host$ac_delim
51739 host_cpu!$host_cpu$ac_delim
51740 host_vendor!$host_vendor$ac_delim
51741 host_os!$host_os$ac_delim
51742 wx_top_builddir!$wx_top_builddir$ac_delim
51744 CFLAGS!$CFLAGS$ac_delim
51745 LDFLAGS!$LDFLAGS$ac_delim
51746 CPPFLAGS!$CPPFLAGS$ac_delim
51747 ac_ct_CC!$ac_ct_CC$ac_delim
51748 EXEEXT!$EXEEXT$ac_delim
51749 OBJEXT!$OBJEXT$ac_delim
51751 GREP!$GREP$ac_delim
51752 EGREP!$EGREP$ac_delim
51754 CXXFLAGS!$CXXFLAGS$ac_delim
51755 ac_ct_CXX!$ac_ct_CXX$ac_delim
51757 subdirs!$subdirs$ac_delim
51758 PKG_CONFIG!$PKG_CONFIG$ac_delim
51759 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51760 GTK_LIBS!$GTK_LIBS$ac_delim
51761 GTK_CONFIG!$GTK_CONFIG$ac_delim
51762 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51763 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51764 XMKMF!$XMKMF$ac_delim
51765 X_CFLAGS!$X_CFLAGS$ac_delim
51766 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51767 X_LIBS!$X_LIBS$ac_delim
51768 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51769 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51770 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51771 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51772 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51773 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51774 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51775 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51776 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51777 LIBICONV!$LIBICONV$ac_delim
51778 GXX_VERSION!$GXX_VERSION$ac_delim
51779 SDL_CONFIG!$SDL_CONFIG$ac_delim
51780 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51781 SDL_LIBS!$SDL_LIBS$ac_delim
51782 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51783 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51784 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51785 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51786 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51787 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51788 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51789 HILDON_LIBS!$HILDON_LIBS$ac_delim
51790 PYTHON!$PYTHON$ac_delim
51791 COND_PYTHON!$COND_PYTHON$ac_delim
51792 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51793 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51796 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51798 elif $ac_last_try; then
51799 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51800 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51801 { (exit 1); exit 1; }; }
51803 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51807 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51808 if test -n "$ac_eof"; then
51809 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51810 ac_eof
=`expr $ac_eof + 1`
51813 cat >>$CONFIG_STATUS <<_ACEOF
51814 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51815 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51818 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51819 s/^/s,@/; s/!/@,|#_!!_#|/
51822 s/'"$ac_delim"'$/,g/; t
51824 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51825 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51826 rm -f conf$
$subs.
sed
51827 cat >>$CONFIG_STATUS <<_ACEOF
51833 for ac_last_try
in false false false false false
:; do
51834 cat >conf$
$subs.
sed <<_ACEOF
51835 GST_CFLAGS!$GST_CFLAGS$ac_delim
51836 GST_LIBS!$GST_LIBS$ac_delim
51837 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51838 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51839 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51840 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51841 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51842 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51843 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51844 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51845 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51846 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51847 VENDOR!$VENDOR$ac_delim
51848 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51849 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51850 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51851 WXUNIV!$WXUNIV$ac_delim
51852 MONOLITHIC!$MONOLITHIC$ac_delim
51853 USE_PLUGINS!$USE_PLUGINS$ac_delim
51854 CXXWARNINGS!$CXXWARNINGS$ac_delim
51855 EXTRALIBS!$EXTRALIBS$ac_delim
51856 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51857 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51858 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51859 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51860 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51861 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51862 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51863 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51864 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51865 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51866 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51867 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51868 UNICODE!$UNICODE$ac_delim
51869 BUILD!$BUILD$ac_delim
51870 DEBUG_INFO!$DEBUG_INFO$ac_delim
51871 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51872 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51873 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51874 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51875 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51876 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51877 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51878 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51879 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51880 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51881 RANLIB!$RANLIB$ac_delim
51882 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51883 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51884 INSTALL_DATA!$INSTALL_DATA$ac_delim
51885 LN_S!$LN_S$ac_delim
51886 SET_MAKE!$SET_MAKE$ac_delim
51887 MAKE_SET!$MAKE_SET$ac_delim
51888 AROPTIONS!$AROPTIONS$ac_delim
51889 STRIP!$STRIP$ac_delim
51891 INSTALL_DIR!$INSTALL_DIR$ac_delim
51892 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51893 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51894 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51895 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51896 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51897 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51898 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51899 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51900 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51901 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51902 SO_SUFFIX!$SO_SUFFIX$ac_delim
51903 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51904 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51905 LIBPREFIX!$LIBPREFIX$ac_delim
51906 LIBEXT!$LIBEXT$ac_delim
51907 DLLPREFIX!$DLLPREFIX$ac_delim
51908 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51909 dlldir!$dlldir$ac_delim
51910 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51911 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51912 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51913 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51914 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51915 PIC_FLAG!$PIC_FLAG$ac_delim
51916 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51917 USE_SOVERSION!$USE_SOVERSION$ac_delim
51918 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51919 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51920 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51921 USE_MACVERSION!$USE_MACVERSION$ac_delim
51922 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51923 SONAME_FLAG!$SONAME_FLAG$ac_delim
51924 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51925 BK_DEPS!$BK_DEPS$ac_delim
51926 WINDRES!$WINDRES$ac_delim
51928 SETFILE!$SETFILE$ac_delim
51929 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51930 GCC_PCH!$GCC_PCH$ac_delim
51931 ICC_PCH!$ICC_PCH$ac_delim
51934 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51936 elif $ac_last_try; then
51937 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51938 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51939 { (exit 1); exit 1; }; }
51941 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51945 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51946 if test -n "$ac_eof"; then
51947 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51948 ac_eof
=`expr $ac_eof + 1`
51951 cat >>$CONFIG_STATUS <<_ACEOF
51952 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51953 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51956 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51957 s/^/s,@/; s/!/@,|#_!!_#|/
51960 s/'"$ac_delim"'$/,g/; t
51962 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51963 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51964 rm -f conf$
$subs.
sed
51965 cat >>$CONFIG_STATUS <<_ACEOF
51971 for ac_last_try
in false false false false false
:; do
51972 cat >conf$
$subs.
sed <<_ACEOF
51973 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51974 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
51975 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51976 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51977 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51978 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51979 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51980 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51981 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51982 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51983 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51984 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51985 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51986 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51987 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51988 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51989 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51990 COND_BUILD_release!$COND_BUILD_release$ac_delim
51991 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51992 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51993 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51994 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51995 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51996 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51997 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51998 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51999 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52000 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52001 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52002 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52003 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52004 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52006 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52007 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52008 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52009 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52010 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52011 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52012 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52013 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52014 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52015 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52016 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52017 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52018 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52019 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52020 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52021 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52022 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52023 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52024 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52025 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52026 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52027 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52028 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52029 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52030 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52031 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52032 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52033 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52034 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52035 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52036 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52037 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52038 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52039 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52040 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52041 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52042 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
52043 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52044 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
52045 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52046 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52047 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52048 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52049 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52050 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52051 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52052 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52053 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52054 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52055 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52056 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52057 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52058 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52059 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52060 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52061 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52062 COND_SHARED_0!$COND_SHARED_0$ac_delim
52063 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52064 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52065 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52066 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52067 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52068 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52069 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52072 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52074 elif $ac_last_try; then
52075 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52076 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52077 { (exit 1); exit 1; }; }
52079 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52083 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52084 if test -n "$ac_eof"; then
52085 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52086 ac_eof
=`expr $ac_eof + 1`
52089 cat >>$CONFIG_STATUS <<_ACEOF
52090 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52091 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52094 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52095 s/^/s,@/; s/!/@,|#_!!_#|/
52098 s/'"$ac_delim"'$/,g/; t
52100 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52101 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52102 rm -f conf$
$subs.
sed
52103 cat >>$CONFIG_STATUS <<_ACEOF
52109 for ac_last_try
in false false false false false
:; do
52110 cat >conf$
$subs.
sed <<_ACEOF
52111 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52112 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52113 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52114 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52115 COND_SHARED_1!$COND_SHARED_1$ac_delim
52116 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52117 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52118 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52119 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52120 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52121 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52122 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52123 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52124 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52125 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52126 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52127 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52128 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52129 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52130 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52131 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52132 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52133 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52134 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52135 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52136 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52137 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52138 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52139 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52140 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52141 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52142 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52143 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52144 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52145 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52146 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52147 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52148 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52149 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52150 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52151 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52152 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52153 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52154 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52155 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52156 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52157 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52158 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52159 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52160 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52161 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52162 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52163 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52164 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52165 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52166 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52167 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52168 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52169 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52170 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52171 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52172 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52173 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52174 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52175 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52176 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52177 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52178 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52179 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52180 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52181 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52182 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52183 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52184 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52185 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52186 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52187 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52188 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52189 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52190 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52191 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52192 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52193 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52194 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52195 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52196 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52197 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52198 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52199 DEREZ!$DEREZ$ac_delim
52200 SHARED!$SHARED$ac_delim
52201 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52202 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52203 USE_GUI!$USE_GUI$ac_delim
52204 AFMINSTALL!$AFMINSTALL$ac_delim
52205 WIN32INSTALL!$WIN32INSTALL$ac_delim
52206 TOOLKIT!$TOOLKIT$ac_delim
52207 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52210 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52212 elif $ac_last_try; then
52213 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52214 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52215 { (exit 1); exit 1; }; }
52217 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52221 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52222 if test -n "$ac_eof"; then
52223 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52224 ac_eof
=`expr $ac_eof + 1`
52227 cat >>$CONFIG_STATUS <<_ACEOF
52228 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52229 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52232 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52233 s/^/s,@/; s/!/@,|#_!!_#|/
52236 s/'"$ac_delim"'$/,g/; t
52238 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52239 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52240 rm -f conf$
$subs.
sed
52241 cat >>$CONFIG_STATUS <<_ACEOF
52247 for ac_last_try
in false false false false false
:; do
52248 cat >conf$
$subs.
sed <<_ACEOF
52249 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52250 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52251 cross_compiling!$cross_compiling$ac_delim
52252 WIDGET_SET!$WIDGET_SET$ac_delim
52253 WX_RELEASE!$WX_RELEASE$ac_delim
52254 WX_VERSION!$WX_VERSION$ac_delim
52255 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52256 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52257 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52258 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52259 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52260 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52261 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52262 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52263 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52264 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52265 GUIDIST!$GUIDIST$ac_delim
52266 DISTDIR!$DISTDIR$ac_delim
52267 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52268 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52269 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52270 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52271 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52272 RESCOMP!$RESCOMP$ac_delim
52273 RESFLAGS!$RESFLAGS$ac_delim
52274 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52275 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52276 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52277 LIBWXMACRES!$LIBWXMACRES$ac_delim
52278 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52279 MACSETFILE!$MACSETFILE$ac_delim
52281 DLLTOOL!$DLLTOOL$ac_delim
52282 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52283 LIBOBJS!$LIBOBJS$ac_delim
52284 LTLIBOBJS!$LTLIBOBJS$ac_delim
52287 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
52289 elif $ac_last_try; then
52290 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52291 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52292 { (exit 1); exit 1; }; }
52294 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52298 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52299 if test -n "$ac_eof"; then
52300 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52301 ac_eof
=`expr $ac_eof + 1`
52304 cat >>$CONFIG_STATUS <<_ACEOF
52305 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52306 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52309 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52310 s/^/s,@/; s/!/@,|#_!!_#|/
52313 s/'"$ac_delim"'$/,g/; t
52315 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52316 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52317 rm -f conf$
$subs.
sed
52318 cat >>$CONFIG_STATUS <<_ACEOF
52325 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52326 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52327 # trailing colons and then remove the whole line if VPATH becomes empty
52328 # (actually we leave an empty line to preserve line numbers).
52329 if test "x$srcdir" = x.
; then
52330 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52331 s/:*\$(srcdir):*/:/
52332 s/:*\${srcdir}:*/:/
52334 s/^\([^=]*=[ ]*\):*/\1/
52340 cat >>$CONFIG_STATUS <<\_ACEOF
52341 fi # test -n "$CONFIG_FILES"
52344 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52347 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52349 case $ac_mode$ac_tag in
52351 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52352 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52353 { (exit 1); exit 1; }; };;
52354 :[FH
]-) ac_tag
=-:-;;
52355 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52372 -) ac_f
="$tmp/stdin";;
52373 *) # Look for the file first in the build tree, then in the source tree
52374 # (if the path is not absolute). The absolute path cannot be DOS-style,
52375 # because $ac_f cannot contain `:'.
52379 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52381 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52382 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52383 { (exit 1); exit 1; }; };;
52385 ac_file_inputs
="$ac_file_inputs $ac_f"
52388 # Let's still pretend it is `configure' which instantiates (i.e., don't
52389 # use $as_me), people would be surprised to read:
52390 # /* config.h. Generated by config.status. */
52391 configure_input
="Generated from "`IFS=:
52392 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52393 if test x
"$ac_file" != x
-; then
52394 configure_input
="$ac_file. $configure_input"
52395 { echo "$as_me:$LINENO: creating $ac_file" >&5
52396 echo "$as_me: creating $ac_file" >&6;}
52400 *:-:* | *:-) cat >"$tmp/stdin";;
52405 ac_dir
=`$as_dirname -- "$ac_file" ||
52406 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52407 X"$ac_file" : 'X\(//\)[^/]' \| \
52408 X"$ac_file" : 'X\(//\)$' \| \
52409 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52415 /^X\(\/\/\)[^/].*/{
52430 -*) as_dir
=.
/$as_dir;;
52432 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52436 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52437 *) as_qdir
=$as_dir;;
52439 as_dirs
="'$as_qdir' $as_dirs"
52440 as_dir
=`$as_dirname -- "$as_dir" ||
52441 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52442 X"$as_dir" : 'X\(//\)[^/]' \| \
52443 X"$as_dir" : 'X\(//\)$' \| \
52444 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52450 /^X\(\/\/\)[^/].*/{
52463 test -d "$as_dir" && break
52465 test -z "$as_dirs" || eval "mkdir $as_dirs"
52466 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52467 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52468 { (exit 1); exit 1; }; }; }
52472 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52474 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52475 # A ".." for each directory in $ac_dir_suffix.
52476 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52477 case $ac_top_builddir_sub in
52478 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52479 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52482 ac_abs_top_builddir
=$ac_pwd
52483 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52484 # for backward compatibility:
52485 ac_top_builddir
=$ac_top_build_prefix
52488 .
) # We are building in place.
52490 ac_top_srcdir
=$ac_top_builddir_sub
52491 ac_abs_top_srcdir
=$ac_pwd ;;
52492 [\\/]* | ?
:[\\/]* ) # Absolute name.
52493 ac_srcdir
=$srcdir$ac_dir_suffix;
52494 ac_top_srcdir
=$srcdir
52495 ac_abs_top_srcdir
=$srcdir ;;
52496 *) # Relative name.
52497 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52498 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52499 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52501 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52511 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52512 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52516 cat >>$CONFIG_STATUS <<\_ACEOF
52517 # If the template does not know about datarootdir, expand it.
52518 # FIXME: This hack should be removed a few years after 2.60.
52519 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52521 case `sed -n '/datarootdir/ {
52530 ' $ac_file_inputs` in
52531 *datarootdir
*) ac_datarootdir_seen
=yes;;
52532 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52533 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52534 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52536 cat >>$CONFIG_STATUS <<_ACEOF
52537 ac_datarootdir_hack='
52538 s&@datadir@&$datadir&g
52539 s&@docdir@&$docdir&g
52540 s&@infodir@&$infodir&g
52541 s&@localedir@&$localedir&g
52542 s&@mandir@&$mandir&g
52543 s&\\\${datarootdir}&$datarootdir&g' ;;
52547 # Neutralize VPATH when `$srcdir' = `.'.
52548 # Shell code in configure.ac might set extrasub.
52549 # FIXME: do we really want to maintain this feature?
52550 cat >>$CONFIG_STATUS <<_ACEOF
52554 cat >>$CONFIG_STATUS <<\_ACEOF
52556 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52557 s
&@configure_input@
&$configure_input&;t t
52558 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52559 s
&@srcdir@
&$ac_srcdir&;t t
52560 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52561 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52562 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52563 s
&@builddir@
&$ac_builddir&;t t
52564 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52565 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52566 s
&@INSTALL@
&$ac_INSTALL&;t t
52567 $ac_datarootdir_hack
52568 " $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
52570 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52571 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52572 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52573 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52574 which seems to be undefined. Please make sure it is defined." >&5
52575 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52576 which seems to be undefined. Please make sure it is defined." >&2;}
52580 -) cat "$tmp/out"; rm -f "$tmp/out";;
52581 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52590 # Transform confdefs.h into a sed script `conftest.defines', that
52591 # substitutes the proper values into config.h.in to produce config.h.
52592 rm -f conftest.defines conftest.
tail
52593 # First, append a space to every undef/define line, to ease matching.
52594 echo 's/$/ /' >conftest.defines
52595 # Then, protect against being on the right side of a sed subst, or in
52596 # an unquoted here document, in config.status. If some macros were
52597 # called several times there might be several #defines for the same
52598 # symbol, which is useless. But do not sort them, since the last
52599 # AC_DEFINE must be honored.
52600 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52601 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52602 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52603 # PARAMS is the parameter list in the macro definition--in most cases, it's
52604 # just an empty string.
52605 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52606 ac_dB
='\\)[ (].*,\\1define\\2'
52614 s/^[ ]*#[ ]*define[ ][ ]*//
52619 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52620 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52621 ' >>conftest.defines
52623 # Remove the space that was appended to ease matching.
52624 # Then replace #undef with comments. This is necessary, for
52625 # example, in the case of _POSIX_SOURCE, which is predefined and required
52626 # on some systems where configure will not decide to define it.
52627 # (The regexp can be short, since the line contains either #define or #undef.)
52629 s,^[ #]*u.*,/* & */,' >>conftest.defines
52631 # Break up conftest.defines:
52632 ac_max_sed_lines
=50
52634 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52635 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52636 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52638 ac_in
='$ac_file_inputs'
52639 ac_out
='"$tmp/out1"'
52640 ac_nxt
='"$tmp/out2"'
52644 # Write a here document:
52645 cat >>$CONFIG_STATUS <<_ACEOF
52646 # First, check the format of the line:
52647 cat >"\$tmp/defines.sed" <<\\CEOF
52648 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52649 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52653 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52655 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52656 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52657 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52658 grep . conftest.
tail >/dev
/null
|| break
52659 rm -f conftest.defines
52660 mv conftest.
tail conftest.defines
52662 rm -f conftest.defines conftest.
tail
52664 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52665 cat >>$CONFIG_STATUS <<\_ACEOF
52666 if test x
"$ac_file" != x
-; then
52667 echo "/* $configure_input */" >"$tmp/config.h"
52668 cat "$ac_result" >>"$tmp/config.h"
52669 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52670 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52671 echo "$as_me: $ac_file is unchanged" >&6;}
52674 mv "$tmp/config.h" $ac_file
52677 echo "/* $configure_input */"
52683 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52684 echo "$as_me: executing $ac_file commands" >&6;}
52689 case $ac_file$ac_mode in
52691 mkdir -p $outdir &&
52692 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52694 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52695 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52696 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52697 "wx-config":C
) rm -f wx
-config
52698 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52705 { (exit 0); exit 0; }
52707 chmod +x
$CONFIG_STATUS
52708 ac_clean_files
=$ac_clean_files_save
52711 # configure is writing to config.log, and then calls config.status.
52712 # config.status does its own redirection, appending to config.log.
52713 # Unfortunately, on DOS this fails, as config.log is still kept open
52714 # by configure, so config.status won't be able to write to it; its
52715 # output is simply discarded. So we exec the FD to /dev/null,
52716 # effectively closing config.log, so it can be properly (re)opened and
52717 # appended to by config.status. When coming back to configure, we
52718 # need to make the FD available again.
52719 if test "$no_create" != yes; then
52721 ac_config_status_args
=
52722 test "$silent" = yes &&
52723 ac_config_status_args
="$ac_config_status_args --quiet"
52725 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52727 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52728 # would make configure fail if this is the last instruction.
52729 $ac_cs_success || { (exit 1); exit 1; }
52733 # CONFIG_SUBDIRS section.
52735 if test "$no_recursion" != yes; then
52737 # Remove --cache-file and --srcdir arguments so they do not pile up.
52738 ac_sub_configure_args
=
52740 eval "set x $ac_configure_args"
52744 if test -n "$ac_prev"; then
52749 -cache-file | --cache-file | --cache-fil | --cache-fi \
52750 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52751 ac_prev
=cache_file
;;
52752 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52753 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52756 --config-cache | -C)
52758 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52760 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52762 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52764 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52768 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52770 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52774 # Always prepend --prefix to ensure using the same prefix
52775 # in subdir configurations.
52776 ac_arg
="--prefix=$prefix"
52778 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52780 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52783 if test "$silent" = yes; then
52784 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52788 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52790 # Do not complain, so a configure script can configure whichever
52791 # parts of a large source tree are present.
52792 test -d "$srcdir/$ac_dir" || continue
52794 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52795 echo "$as_me:$LINENO: $ac_msg" >&5
52799 -*) as_dir
=.
/$as_dir;;
52801 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52805 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52806 *) as_qdir
=$as_dir;;
52808 as_dirs
="'$as_qdir' $as_dirs"
52809 as_dir
=`$as_dirname -- "$as_dir" ||
52810 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52811 X"$as_dir" : 'X\(//\)[^/]' \| \
52812 X"$as_dir" : 'X\(//\)$' \| \
52813 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52819 /^X\(\/\/\)[^/].*/{
52832 test -d "$as_dir" && break
52834 test -z "$as_dirs" || eval "mkdir $as_dirs"
52835 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52836 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52837 { (exit 1); exit 1; }; }; }
52841 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52843 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52844 # A ".." for each directory in $ac_dir_suffix.
52845 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52846 case $ac_top_builddir_sub in
52847 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52848 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52851 ac_abs_top_builddir
=$ac_pwd
52852 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52853 # for backward compatibility:
52854 ac_top_builddir
=$ac_top_build_prefix
52857 .
) # We are building in place.
52859 ac_top_srcdir
=$ac_top_builddir_sub
52860 ac_abs_top_srcdir
=$ac_pwd ;;
52861 [\\/]* | ?
:[\\/]* ) # Absolute name.
52862 ac_srcdir
=$srcdir$ac_dir_suffix;
52863 ac_top_srcdir
=$srcdir
52864 ac_abs_top_srcdir
=$srcdir ;;
52865 *) # Relative name.
52866 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52867 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52868 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52870 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52875 # Check for guested configure; otherwise get Cygnus style configure.
52876 if test -f "$ac_srcdir/configure.gnu"; then
52877 ac_sub_configure
=$ac_srcdir/configure.gnu
52878 elif test -f "$ac_srcdir/configure"; then
52879 ac_sub_configure
=$ac_srcdir/configure
52880 elif test -f "$ac_srcdir/configure.in"; then
52881 # This should be Cygnus configure.
52882 ac_sub_configure
=$ac_aux_dir/configure
52884 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52885 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52889 # The recursion is here.
52890 if test -n "$ac_sub_configure"; then
52891 # Make the cache file name correct relative to the subdirectory.
52892 case $cache_file in
52893 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52894 *) # Relative name.
52895 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52898 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52899 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52900 # The eval makes quoting arguments work.
52901 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52902 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52903 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52904 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52905 { (exit 1); exit 1; }; }
52914 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52916 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52917 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52919 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52920 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52921 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52922 if test "$wxUSE_UNICODE" = "yes"; then
52923 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52924 echo " (using UTF-8)"
52926 echo " (using wchar_t)"
52932 echo " What level of wxWidgets compatibility should be enabled?"
52933 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52934 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52936 echo " Which libraries should wxWidgets use?"
52937 echo " STL ${wxUSE_STL}"
52938 echo " jpeg ${wxUSE_LIBJPEG-none}"
52939 echo " png ${wxUSE_LIBPNG-none}"
52940 echo " regex ${wxUSE_REGEX}"
52941 echo " tiff ${wxUSE_LIBTIFF-none}"
52942 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52943 echo " xpm ${wxUSE_LIBXPM-none}"
52945 echo " zlib ${wxUSE_ZLIB}"
52946 echo " expat ${wxUSE_EXPAT}"
52947 echo " libmspack ${wxUSE_LIBMSPACK}"
52948 echo " sdl ${wxUSE_LIBSDL}"