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
812 ICC_PCH_CREATE_SWITCH
816 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
817 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
818 COND_BUILD_DEBUG_UNICODE_0
819 COND_BUILD_DEBUG_UNICODE_1
821 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
822 COND_BUILD_RELEASE_UNICODE_0
823 COND_BUILD_RELEASE_UNICODE_1
825 COND_BUILD_debug_DEBUG_FLAG_default
826 COND_BUILD_debug_DEBUG_INFO_default
827 COND_BUILD_debug_UNICODE_0
828 COND_BUILD_debug_UNICODE_1
830 COND_BUILD_release_DEBUG_INFO_default
831 COND_BUILD_release_UNICODE_0
832 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
1020 WXCONFIG_LDFLAGS_GUI
1032 WX_RESOURCES_MACOSX_ASCII
1033 WX_RESOURCES_MACOSX_DATA
1043 ac_precious_vars
='build_alias
1067 LIBGNOMEPRINTUI_CFLAGS
1068 LIBGNOMEPRINTUI_LIBS
1077 ac_subdirs_all
='src/tiff
1080 # Initialize some variables set by options.
1082 ac_init_version
=false
1083 # The variables have the same names as the options, with
1084 # dashes changed to underlines.
1085 cache_file
=/dev
/null
1092 program_transform_name
=s
,x
,x
,
1100 # Installation directory options.
1101 # These are left unexpanded so users can "make install exec_prefix=/foo"
1102 # and all the variables that are supposed to be based on exec_prefix
1103 # by default will actually change.
1104 # Use braces instead of parens because sh, perl, etc. also accept them.
1105 # (The list follows the same order as the GNU Coding Standards.)
1106 bindir
='${exec_prefix}/bin'
1107 sbindir
='${exec_prefix}/sbin'
1108 libexecdir
='${exec_prefix}/libexec'
1109 datarootdir
='${prefix}/share'
1110 datadir
='${datarootdir}'
1111 sysconfdir
='${prefix}/etc'
1112 sharedstatedir
='${prefix}/com'
1113 localstatedir
='${prefix}/var'
1114 includedir
='${prefix}/include'
1115 oldincludedir
='/usr/include'
1116 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1117 infodir
='${datarootdir}/info'
1122 libdir
='${exec_prefix}/lib'
1123 localedir
='${datarootdir}/locale'
1124 mandir
='${datarootdir}/man'
1130 # If the previous option needs an argument, assign it.
1131 if test -n "$ac_prev"; then
1132 eval $ac_prev=\
$ac_option
1138 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1142 # Accept the important Cygnus configure options, so we can diagnose typos.
1144 case $ac_dashdash$ac_option in
1148 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1150 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1151 bindir
=$ac_optarg ;;
1153 -build | --build | --buil | --bui | --bu)
1154 ac_prev
=build_alias
;;
1155 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1156 build_alias
=$ac_optarg ;;
1158 -cache-file | --cache-file | --cache-fil | --cache-fi \
1159 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1160 ac_prev
=cache_file
;;
1161 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1162 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1163 cache_file
=$ac_optarg ;;
1165 --config-cache | -C)
1166 cache_file
=config.cache
;;
1168 -datadir | --datadir | --datadi | --datad)
1170 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1171 datadir
=$ac_optarg ;;
1173 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1174 | --dataroo | --dataro | --datar)
1175 ac_prev
=datarootdir
;;
1176 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1177 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1178 datarootdir
=$ac_optarg ;;
1180 -disable-* | --disable-*)
1181 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1184 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1187 eval enable_
$ac_feature=no
;;
1189 -docdir | --docdir | --docdi | --doc | --do)
1191 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1192 docdir
=$ac_optarg ;;
1194 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1196 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1197 dvidir
=$ac_optarg ;;
1199 -enable-* | --enable-*)
1200 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_
$ac_feature=\
$ac_optarg ;;
1208 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1209 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1210 | --exec | --exe | --ex)
1211 ac_prev
=exec_prefix
;;
1212 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1213 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1214 | --exec=* | --exe=* | --ex=*)
1215 exec_prefix
=$ac_optarg ;;
1217 -gas | --gas | --ga | --g)
1218 # Obsolete; use --with-gas.
1221 -help | --help | --hel | --he | -h)
1222 ac_init_help
=long
;;
1223 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1224 ac_init_help
=recursive
;;
1225 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1226 ac_init_help
=short
;;
1228 -host | --host | --hos | --ho)
1229 ac_prev
=host_alias
;;
1230 -host=* | --host=* | --hos=* | --ho=*)
1231 host_alias
=$ac_optarg ;;
1233 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1235 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1237 htmldir
=$ac_optarg ;;
1239 -includedir | --includedir | --includedi | --included | --include \
1240 | --includ | --inclu | --incl | --inc)
1241 ac_prev
=includedir
;;
1242 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1243 | --includ=* | --inclu=* | --incl=* | --inc=*)
1244 includedir
=$ac_optarg ;;
1246 -infodir | --infodir | --infodi | --infod | --info | --inf)
1248 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1249 infodir
=$ac_optarg ;;
1251 -libdir | --libdir | --libdi | --libd)
1253 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1254 libdir
=$ac_optarg ;;
1256 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1257 | --libexe | --libex | --libe)
1258 ac_prev
=libexecdir
;;
1259 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1260 | --libexe=* | --libex=* | --libe=*)
1261 libexecdir
=$ac_optarg ;;
1263 -localedir | --localedir | --localedi | --localed | --locale)
1264 ac_prev
=localedir
;;
1265 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1266 localedir
=$ac_optarg ;;
1268 -localstatedir | --localstatedir | --localstatedi | --localstated \
1269 | --localstate | --localstat | --localsta | --localst | --locals)
1270 ac_prev
=localstatedir
;;
1271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1272 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1273 localstatedir
=$ac_optarg ;;
1275 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1277 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1278 mandir
=$ac_optarg ;;
1280 -nfp | --nfp | --nf)
1281 # Obsolete; use --without-fp.
1284 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1285 | --no-cr | --no-c | -n)
1288 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1289 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1292 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1293 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1294 | --oldin | --oldi | --old | --ol | --o)
1295 ac_prev
=oldincludedir
;;
1296 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1297 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1298 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1299 oldincludedir
=$ac_optarg ;;
1301 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1303 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1304 prefix
=$ac_optarg ;;
1306 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1307 | --program-pre | --program-pr | --program-p)
1308 ac_prev
=program_prefix
;;
1309 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1310 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1311 program_prefix
=$ac_optarg ;;
1313 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1314 | --program-suf | --program-su | --program-s)
1315 ac_prev
=program_suffix
;;
1316 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1317 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1318 program_suffix
=$ac_optarg ;;
1320 -program-transform-name | --program-transform-name \
1321 | --program-transform-nam | --program-transform-na \
1322 | --program-transform-n | --program-transform- \
1323 | --program-transform | --program-transfor \
1324 | --program-transfo | --program-transf \
1325 | --program-trans | --program-tran \
1326 | --progr-tra | --program-tr | --program-t)
1327 ac_prev
=program_transform_name
;;
1328 -program-transform-name=* | --program-transform-name=* \
1329 | --program-transform-nam=* | --program-transform-na=* \
1330 | --program-transform-n=* | --program-transform-=* \
1331 | --program-transform=* | --program-transfor=* \
1332 | --program-transfo=* | --program-transf=* \
1333 | --program-trans=* | --program-tran=* \
1334 | --progr-tra=* | --program-tr=* | --program-t=*)
1335 program_transform_name
=$ac_optarg ;;
1337 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1339 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1340 pdfdir
=$ac_optarg ;;
1342 -psdir | --psdir | --psdi | --psd | --ps)
1344 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1348 | -silent | --silent | --silen | --sile | --sil)
1351 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1353 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1355 sbindir
=$ac_optarg ;;
1357 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1358 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1359 | --sharedst | --shareds | --shared | --share | --shar \
1361 ac_prev
=sharedstatedir
;;
1362 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1363 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1364 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1366 sharedstatedir
=$ac_optarg ;;
1368 -site | --site | --sit)
1370 -site=* | --site=* | --sit=*)
1373 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1375 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1376 srcdir
=$ac_optarg ;;
1378 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1379 | --syscon | --sysco | --sysc | --sys | --sy)
1380 ac_prev
=sysconfdir
;;
1381 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1382 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1383 sysconfdir
=$ac_optarg ;;
1385 -target | --target | --targe | --targ | --tar | --ta | --t)
1386 ac_prev
=target_alias
;;
1387 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1388 target_alias
=$ac_optarg ;;
1390 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1393 -version | --version | --versio | --versi | --vers | -V)
1394 ac_init_version
=: ;;
1397 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1398 # Reject names that are not valid shell variable names.
1399 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1400 { echo "$as_me: error: invalid package name: $ac_package" >&2
1401 { (exit 1); exit 1; }; }
1402 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1403 eval with_
$ac_package=\
$ac_optarg ;;
1405 -without-* | --without-*)
1406 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1407 # Reject names that are not valid shell variable names.
1408 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1409 { echo "$as_me: error: invalid package name: $ac_package" >&2
1410 { (exit 1); exit 1; }; }
1411 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1412 eval with_
$ac_package=no
;;
1415 # Obsolete; use --with-x.
1418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1419 | --x-incl | --x-inc | --x-in | --x-i)
1420 ac_prev
=x_includes
;;
1421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1423 x_includes
=$ac_optarg ;;
1425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1427 ac_prev
=x_libraries
;;
1428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1430 x_libraries
=$ac_optarg ;;
1432 -*) { echo "$as_me: error: unrecognized option: $ac_option
1433 Try \`$0 --help' for more information." >&2
1434 { (exit 1); exit 1; }; }
1438 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1439 # Reject names that are not valid shell variable names.
1440 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1441 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1442 { (exit 1); exit 1; }; }
1443 eval $ac_envvar=\
$ac_optarg
1444 export $ac_envvar ;;
1447 # FIXME: should be removed in autoconf 3.0.
1448 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1449 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1450 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1451 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1457 if test -n "$ac_prev"; then
1458 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1459 { echo "$as_me: error: missing argument to $ac_option" >&2
1460 { (exit 1); exit 1; }; }
1463 # Be sure to have absolute directory names.
1464 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1465 datadir sysconfdir sharedstatedir localstatedir includedir \
1466 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1467 libdir localedir mandir
1469 eval ac_val
=\$
$ac_var
1471 [\\/$
]* | ?
:[\\/]* ) continue;;
1472 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1474 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1475 { (exit 1); exit 1; }; }
1478 # There might be people who depend on the old broken behavior: `$host'
1479 # used to hold the argument of --host etc.
1480 # FIXME: To remove some day.
1483 target
=$target_alias
1485 # FIXME: To remove some day.
1486 if test "x$host_alias" != x
; then
1487 if test "x$build_alias" = x
; then
1488 cross_compiling
=maybe
1489 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1490 If a cross compiler is detected then cross compile mode will be used." >&2
1491 elif test "x$build_alias" != "x$host_alias"; then
1497 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1499 test "$silent" = yes && exec 6>/dev
/null
1502 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1503 ac_ls_di
=`ls -di .` &&
1504 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1505 { echo "$as_me: error: Working directory cannot be determined" >&2
1506 { (exit 1); exit 1; }; }
1507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508 { echo "$as_me: error: pwd does not report name of working directory" >&2
1509 { (exit 1); exit 1; }; }
1512 # Find the source files, if location was not specified.
1513 if test -z "$srcdir"; then
1514 ac_srcdir_defaulted
=yes
1515 # Try the directory containing this script, then the parent directory.
1516 ac_confdir
=`$as_dirname -- "$0" ||
1517 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1518 X"$0" : 'X\(//\)[^/]' \| \
1519 X"$0" : 'X\(//\)$' \| \
1520 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1540 if test ! -r "$srcdir/$ac_unique_file"; then
1544 ac_srcdir_defaulted
=no
1546 if test ! -r "$srcdir/$ac_unique_file"; then
1547 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1548 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1549 { (exit 1); exit 1; }; }
1551 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1553 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1554 { (exit 1); exit 1; }; }
1556 # When building in place, set srcdir=.
1557 if test "$ac_abs_confdir" = "$ac_pwd"; then
1560 # Remove unnecessary trailing slashes from srcdir.
1561 # Double slashes in file names in object file debugging info
1562 # mess up M-x gdb in Emacs.
1564 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1566 for ac_var
in $ac_precious_vars; do
1567 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1568 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1569 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1570 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1574 # Report the --help message.
1576 if test "$ac_init_help" = "long"; then
1577 # Omit some internal or obsolete options to make the list less imposing.
1578 # This message is too long to be a string in the A/UX 3.1 sh.
1580 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1582 Usage: $0 [OPTION]... [VAR=VALUE]...
1584 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1585 VAR=VALUE. See below for descriptions of some of the useful variables.
1587 Defaults for the options are specified in brackets.
1590 -h, --help display this help and exit
1591 --help=short display options specific to this package
1592 --help=recursive display the short help of all the included packages
1593 -V, --version display version information and exit
1594 -q, --quiet, --silent do not print \`checking...' messages
1595 --cache-file=FILE cache test results in FILE [disabled]
1596 -C, --config-cache alias for \`--cache-file=config.cache'
1597 -n, --no-create do not create output files
1598 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1600 Installation directories:
1601 --prefix=PREFIX install architecture-independent files in PREFIX
1602 [$ac_default_prefix]
1603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1606 By default, \`make install' will install all the files in
1607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1609 for instance \`--prefix=\$HOME'.
1611 For better control, use the options below.
1613 Fine tuning of the installation directories:
1614 --bindir=DIR user executables [EPREFIX/bin]
1615 --sbindir=DIR system admin executables [EPREFIX/sbin]
1616 --libexecdir=DIR program executables [EPREFIX/libexec]
1617 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1618 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1619 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1620 --libdir=DIR object code libraries [EPREFIX/lib]
1621 --includedir=DIR C header files [PREFIX/include]
1622 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1623 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1624 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1625 --infodir=DIR info documentation [DATAROOTDIR/info]
1626 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1627 --mandir=DIR man documentation [DATAROOTDIR/man]
1628 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1629 --htmldir=DIR html documentation [DOCDIR]
1630 --dvidir=DIR dvi documentation [DOCDIR]
1631 --pdfdir=DIR pdf documentation [DOCDIR]
1632 --psdir=DIR ps documentation [DOCDIR]
1638 --x-includes=DIR X include files are
in DIR
1639 --x-libraries=DIR X library files are
in DIR
1642 --build=BUILD configure
for building on BUILD
[guessed
]
1643 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1647 if test -n "$ac_init_help"; then
1648 case $ac_init_help in
1649 short
| recursive
) echo "Configuration of wxWidgets 2.9.1:";;
1654 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1655 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1656 --disable-gui don
't build GUI parts of the library
1657 --enable-monolithic build wxWidgets as single library
1658 --enable-plugins build parts of wxWidgets as loadable components
1659 --enable-official_build official build of wxWidgets (win32 DLL only)
1660 --enable-vendor=VENDOR vendor name (win32 DLL only)
1661 --disable-all-features disable all optional features to build minimal library
1662 --enable-universal use wxWidgets GUI controls instead of native ones
1663 --enable-nanox use NanoX
1664 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1665 --enable-gpe use GNOME PDA Environment features if possible
1666 --enable-debug build library for debugging
1667 --disable-debug_flag disable all debugging support
1668 --enable-debug_info generate debug information
1669 --enable-debug_gdb create code with extra GDB debugging information
1670 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1671 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1672 --disable-shared create static library instead of shared
1673 --enable-stl use STL for containers
1674 --enable-std_iostreams use standard C++ stream classes
1675 --enable-std_string use standard C++ string classes
1676 --disable-unicode compile without Unicode support
1677 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1678 --enable-utf8 use UTF-8 representation for strings (Unix only)
1679 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1680 --enable-extended_rtti use extended RTTI (XTI)
1681 --enable-omf use OMF object format
1682 --disable-optimise compile without optimisations
1683 --enable-profile create code with profiling information
1684 --enable-no_rtti create code without RTTI information
1685 --enable-no_exceptions create code without C++ exceptions handling
1686 --enable-permissive compile code disregarding strict ANSI
1687 --enable-no_deps create code without dependency information
1688 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1689 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1690 --enable-compat26 enable wxWidgets
2.6 compatibility
1691 --disable-compat28 disable wxWidgets
2.8 compatibility
1692 --disable-rpath disable use of rpath
for uninstalled builds
1693 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1694 --disable-visibility disable use of ELF symbols visibility even
if supported
1695 --disable-tls disable use of compiler TLS support
1696 --enable-intl use internationalization system
1697 --enable-xlocale use x
-locale support
(requires wxLocale
)
1698 --enable-config use wxConfig
(and derived
) classes
1699 --enable-protocols use wxProtocol and derived classes
1700 --enable-ftp use wxFTP
(requires wxProtocol
1701 --enable-http use wxHTTP
(requires wxProtocol
1702 --enable-fileproto use wxFileProto class
(requires wxProtocol
1703 --enable-sockets use socket
/network classes
1704 --enable-ipv6 enable IPv6 support
in wxSocket
1705 --enable-ole use OLE classes
(Win32 only
)
1706 --enable-dataobj use data object classes
1707 --enable-ipc use interprocess communication
(wxSocket etc.
)
1708 --enable-baseevtloop use event loop
in console programs too
1709 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1710 --enable-selectloop use wxSelectDispatcher class
1711 --enable-apple_ieee use the Apple IEEE codec
1712 --enable-arcstream use wxArchive streams
1713 --enable-base64 use base64 encoding
/decoding functions
1714 --enable-backtrace use wxStackWalker class
for getting backtraces
1715 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1716 --enable-cmdline use wxCmdLineParser class
1717 --enable-datetime use wxDateTime class
1718 --enable-debugreport use wxDebugReport class
1719 --enable-dialupman use dialup network classes
1720 --enable-dynlib use wxLibrary class
for DLL loading
1721 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1722 --enable-exceptions build exception
-safe library
1723 --enable-ffile use wxFFile class
1724 --enable-file use wxFile class
1725 --enable-filesystem use virtual
file systems classes
1726 --enable-fontenum use wxFontEnumerator class
1727 --enable-fontmap use font encodings conversion classes
1728 --enable-fs_archive use virtual archive filesystems
1729 --enable-fs_inet use virtual HTTP
/FTP filesystems
1730 --enable-fs_zip now replaced by fs_archive
1731 --enable-geometry use geometry class
1732 --enable-log use logging system
1733 --enable-longlong use wxLongLong class
1734 --enable-mimetype use wxMimeTypesManager
1735 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1736 --enable-snglinst use wxSingleInstanceChecker class
1737 --enable-sound use wxSound class
1738 --enable-stdpaths use wxStandardPaths class
1739 --enable-stopwatch use wxStopWatch class
1740 --enable-streams use wxStream etc classes
1741 --enable-sysoptions use wxSystemOptions
1742 --enable-tarstream use wxTar streams
1743 --enable-textbuf use wxTextBuffer class
1744 --enable-textfile use wxTextFile class
1745 --enable-timer use wxTimer class
1746 --enable-variant use wxVariant class
1747 --enable-zipstream use wxZip streams
1748 --enable-url use wxURL class
1749 --enable-protocol use wxProtocol class
1750 --enable-protocol-http HTTP support
in wxProtocol
1751 --enable-protocol-ftp FTP support
in wxProtocol
1752 --enable-protocol-file FILE support
in wxProtocol
1753 --enable-threads use threads
1754 --enable-iniconf use wxIniConfig
(Win32 only
)
1755 --enable-regkey use wxRegKey class
(Win32 only
)
1756 --enable-docview use document view architecture
1757 --enable-help use
help subsystem
1758 --enable-mshtmlhelp use MS HTML Help
(win32
)
1759 --enable-html use wxHTML sub
-library
1760 --enable-htmlhelp use wxHTML
-based help
1761 --enable-xrc use XRC resources sub
-library
1762 --enable-aui use AUI docking library
1763 --enable-propgrid use wxPropertyGrid library
1764 --enable-stc use wxStyledTextCtrl library
1765 --enable-constraints use layout
-constraints system
1766 --enable-loggui use standard GUI logger
1767 --enable-logwin use wxLogWindow
1768 --enable-logdialog use wxLogDialog
1769 --enable-mdi use multiple document interface architecture
1770 --enable-mdidoc use docview architecture with MDI
1771 --enable-mediactrl use wxMediaCtrl class
1772 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1773 --enable-webkit use wxWebKitCtrl
(Mac
)
1774 --enable-richtext use wxRichTextCtrl
1775 --enable-graphics_ctx use graphics context
2D drawing API
1776 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1777 --enable-printarch use printing architecture
1778 --enable-svg use wxSVGFileDC device context
1779 --enable-clipboard use wxClipboard class
1780 --enable-dnd use Drag
'n'Drop classes
1781 --enable-metafile use win32 metafiles
1782 --disable-controls disable compilation of all standard controls
1783 --enable-accel use accelerators
1784 --enable-animatectrl use wxAnimationCtrl class
1785 --enable-bmpbutton use wxBitmapButton class
1786 --enable-bmpcombobox use wxBitmapComboBox class
1787 --enable-button use wxButton class
1788 --enable-calendar use wxCalendarCtrl class
1789 --enable-caret use wxCaret class
1790 --enable-checkbox use wxCheckBox class
1791 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1792 --enable-choice use wxChoice class
1793 --enable-choicebook use wxChoicebook class
1794 --enable-collpane use wxCollapsiblePane class
1795 --enable-colourpicker use wxColourPickerCtrl class
1796 --enable-combobox use wxComboBox class
1797 --enable-comboctrl use wxComboCtrl class
1798 --enable-dataviewctrl use wxDataViewCtrl class
1799 --enable-datepick use wxDatePickerCtrl class
1800 --enable-detect_sm use code to detect X11 session manager
1801 --enable-dirpicker use wxDirPickerCtrl class
1802 --enable-display use wxDisplay class
1803 --enable-editablebox use wxEditableListBox class
1804 --enable-filectrl use wxFileCtrl class
1805 --enable-filepicker use wxFilePickerCtrl class
1806 --enable-fontpicker use wxFontPickerCtrl class
1807 --enable-gauge use wxGauge class
1808 --enable-grid use wxGrid class
1809 --enable-headerctrl use wxHeaderCtrl class
1810 --enable-hyperlink use wxHyperlinkCtrl class
1811 --enable-imaglist use wxImageList class
1812 --enable-listbook use wxListbook class
1813 --enable-listbox use wxListBox class
1814 --enable-listctrl use wxListCtrl class
1815 --enable-notebook use wxNotebook class
1816 --enable-notifmsg use wxNotificationMessage class
1817 --enable-odcombobox use wxOwnerDrawnComboBox class
1818 --enable-popupwin use wxPopUpWindow class
1819 --enable-radiobox use wxRadioBox class
1820 --enable-radiobtn use wxRadioButton class
1821 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1822 --enable-sash use wxSashWindow class
1823 --enable-scrollbar use wxScrollBar class and scrollable windows
1824 --enable-searchctrl use wxSearchCtrl class
1825 --enable-slider use wxSlider class
1826 --enable-spinbtn use wxSpinButton class
1827 --enable-spinctrl use wxSpinCtrl class
1828 --enable-splitter use wxSplitterWindow class
1829 --enable-statbmp use wxStaticBitmap class
1830 --enable-statbox use wxStaticBox class
1831 --enable-statline use wxStaticLine class
1832 --enable-stattext use wxStaticText class
1833 --enable-statusbar use wxStatusBar class
1834 --enable-taskbaricon use wxTaskBarIcon class
1835 --enable-tbarnative use native wxToolBar class
1836 --enable-textctrl use wxTextCtrl class
1837 --enable-tipwindow use wxTipWindow class
1838 --enable-togglebtn use wxToggleButton class
1839 --enable-toolbar use wxToolBar class
1840 --enable-toolbook use wxToolbook class
1841 --enable-treebook use wxTreebook class
1842 --enable-treectrl use wxTreeCtrl class
1843 --enable-commondlg use all common dialogs
1844 --enable-aboutdlg use wxAboutBox
1845 --enable-choicedlg use wxChoiceDialog
1846 --enable-coldlg use wxColourDialog
1847 --enable-filedlg use wxFileDialog
1848 --enable-finddlg use wxFindReplaceDialog
1849 --enable-fontdlg use wxFontDialog
1850 --enable-dirdlg use wxDirDialog
1851 --enable-msgdlg use wxMessageDialog
1852 --enable-numberdlg use wxNumberEntryDialog
1853 --enable-splash use wxSplashScreen
1854 --enable-textdlg use wxTextDialog
1855 --enable-tipdlg use startup tips
1856 --enable-progressdlg use wxProgressDialog
1857 --enable-wizarddlg use wxWizard
1858 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1859 --enable-miniframe use wxMiniFrame class
1860 --enable-tooltips use wxToolTip class
1861 --enable-splines use spline drawing code
1862 --enable-mousewheel use mousewheel
1863 --enable-validators use wxValidator and derived classes
1864 --enable-busyinfo use wxBusyInfo
1865 --enable-joystick use wxJoystick
1866 --enable-metafiles use wxMetaFile
(Win32 only
)
1867 --enable-dragimage use wxDragImage
1868 --enable-accessibility enable accessibility support
1869 --enable-palette use wxPalette class
1870 --enable-image use wxImage class
1871 --enable-gif use gif images
(GIF
file format
)
1872 --enable-pcx use pcx images
(PCX
file format
)
1873 --enable-tga use tga images
(TGA
file format
)
1874 --enable-iff use iff images
(IFF
file format
)
1875 --enable-pnm use pnm images
(PNM
file format
)
1876 --enable-xpm use xpm images
(XPM
file format
)
1877 --enable-ico_cur use Windows ICO and CUR formats
1878 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1879 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1880 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1881 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1882 --enable-wxdib use wxDIB class
(Win32 only
)
1883 --enable-autoidman use automatic ids management
1884 --disable-largefile omit support
for large files
1885 --disable-gtktest do not try to compile and run a
test GTK
+ program
1886 --disable-gtktest Do not try to compile and run a
test GTK program
1887 --disable-sdltest Do not try to compile and run a
test SDL program
1888 --enable-omf use OMF object format
(OS
/2)
1889 --disable-dependency-tracking
1890 don
't use dependency tracking even if the compiler
1892 --disable-precomp-headers
1893 don't use precompiled headers even
if compiler can
1896 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1897 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1898 --without-subdirs don
't generate makefiles for samples/demos/...
1899 --with-flavour=NAME specify a name to identify this build
1900 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1901 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1902 --with-motif use Motif/Lesstif
1903 --with-osx_carbon use Mac OS X (Carbon)
1904 --with-osx_cocoa use Mac OS X (Cocoa)
1905 --with-mac use Mac OS X (Default)
1906 --with-cocoa use Cocoa
1907 --with-wine use Wine
1908 --with-msw use MS-Windows
1909 --with-pm use OS/2 Presentation Manager
1910 --with-mgl use SciTech MGL
1911 --with-directfb use DirectFB
1912 --with-microwin use MicroWindows
1914 --with-libpng use libpng (PNG image format)
1915 --with-libjpeg use libjpeg (JPEG file format)
1916 --with-libtiff use libtiff (TIFF file format)
1917 --with-libxpm use libxpm (XPM file format)
1918 --with-libiconv use libiconv (character conversion)
1919 --with-libmspack use libmspack (CHM help files loading)
1920 --without-gtkprint don't use GTK printing support
1921 --without-gnomeprint don
't use GNOME printing libraries
1922 --with-gnomevfs use GNOME VFS for associating MIME types
1923 --with-hildon use Hildon framework for Nokia 770
1924 --with-opengl use OpenGL (or Mesa)
1925 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1926 --with-sdl use SDL for audio on Unix
1927 --with-regex enable support for wxRegEx class
1928 --with-zlib use zlib for LZW compression
1929 --with-expat enable XML support using expat parser
1930 --with-macosx-sdk=PATH use an OS X SDK at PATH
1931 --with-macosx-version-min=VER build binaries which require at least this OS X version
1932 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1933 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1934 --with-x use the X Window System
1935 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1936 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1937 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1938 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1939 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1941 Some influential environment variables:
1942 CC C compiler command
1943 CFLAGS C compiler flags
1944 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1945 nonstandard directory <lib dir>
1946 LIBS libraries to pass to the linker, e.g. -l<library>
1947 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1948 you have headers in a nonstandard directory <include dir>
1950 CXX C++ compiler command
1951 CXXFLAGS C++ compiler flags
1952 PKG_CONFIG path to pkg-config utility
1954 C compiler flags for DIRECTFB, overriding pkg-config
1956 linker flags for DIRECTFB, overriding pkg-config
1957 XMKMF Path to xmkmf, Makefile generator for X Window System
1959 C compiler flags for PANGOX, overriding pkg-config
1960 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1962 C compiler flags for PANGOFT2, overriding pkg-config
1964 linker flags for PANGOFT2, overriding pkg-config
1966 C compiler flags for PANGOXFT, overriding pkg-config
1968 linker flags for PANGOXFT, overriding pkg-config
1970 C compiler flags for GTKPRINT, overriding pkg-config
1972 linker flags for GTKPRINT, overriding pkg-config
1973 LIBGNOMEPRINTUI_CFLAGS
1974 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1975 LIBGNOMEPRINTUI_LIBS
1976 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1978 C compiler flags for GNOMEVFS, overriding pkg-config
1980 linker flags for GNOMEVFS, overriding pkg-config
1982 C compiler flags for HILDON, overriding pkg-config
1983 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1985 C compiler flags for CAIRO, overriding pkg-config
1986 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1987 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1988 GST_LIBS linker flags for GST, overriding pkg-config
1990 Use these variables to override the choices made by `configure' or to
help
1991 it to
find libraries and programs with nonstandard names
/locations.
1993 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1998 if test "$ac_init_help" = "recursive"; then
1999 # If there are subdirs, report their specific --help.
2000 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2001 test -d "$ac_dir" || continue
2005 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2007 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2008 # A ".." for each directory in $ac_dir_suffix.
2009 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2010 case $ac_top_builddir_sub in
2011 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2012 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2015 ac_abs_top_builddir
=$ac_pwd
2016 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2017 # for backward compatibility:
2018 ac_top_builddir
=$ac_top_build_prefix
2021 .
) # We are building in place.
2023 ac_top_srcdir
=$ac_top_builddir_sub
2024 ac_abs_top_srcdir
=$ac_pwd ;;
2025 [\\/]* | ?
:[\\/]* ) # Absolute name.
2026 ac_srcdir
=$srcdir$ac_dir_suffix;
2027 ac_top_srcdir
=$srcdir
2028 ac_abs_top_srcdir
=$srcdir ;;
2030 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2031 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2032 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2034 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2036 cd "$ac_dir" || { ac_status
=$?
; continue; }
2037 # Check for guested configure.
2038 if test -f "$ac_srcdir/configure.gnu"; then
2040 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2041 elif test -f "$ac_srcdir/configure"; then
2043 $SHELL "$ac_srcdir/configure" --help=recursive
2045 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2047 cd "$ac_pwd" || { ac_status
=$?
; break; }
2051 test -n "$ac_init_help" && exit $ac_status
2052 if $ac_init_version; then
2054 wxWidgets configure
2.9.1
2055 generated by GNU Autoconf
2.61
2057 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2058 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2059 This configure
script is free software
; the Free Software Foundation
2060 gives unlimited permission to copy
, distribute and modify it.
2064 cat >config.log
<<_ACEOF
2065 This file contains any messages produced by compilers while
2066 running configure, to aid debugging if configure makes a mistake.
2068 It was created by wxWidgets $as_me 2.9.1, which was
2069 generated by GNU Autoconf 2.61. Invocation command line was
2081 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2082 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2083 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2084 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2085 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2087 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2088 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2090 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2091 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2092 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2093 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2094 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2095 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2096 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2104 test -z "$as_dir" && as_dir
=.
2105 echo "PATH: $as_dir"
2121 # Keep a trace of the command line.
2122 # Strip out --no-create and --no-recursion so they do not pile up.
2123 # Strip out --silent because we don't want to record it for future runs.
2124 # Also quote any args containing shell meta-characters.
2125 # Make two passes to allow for proper duplicate-argument suppression.
2129 ac_must_keep_next
=false
2135 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2136 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2137 | -silent | --silent | --silen | --sile | --sil)
2140 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2143 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2145 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2146 if test $ac_must_keep_next = true
; then
2147 ac_must_keep_next
=false
# Got value, back to normal.
2150 *=* | --config-cache | -C | -disable-* | --disable-* \
2151 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2152 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2153 | -with-* | --with-* | -without-* | --without-* | --x)
2154 case "$ac_configure_args0 " in
2155 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2158 -* ) ac_must_keep_next
=true
;;
2161 ac_configure_args
="$ac_configure_args '$ac_arg'"
2166 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2167 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2169 # When interrupted or exit'd, cleanup temporary files, and complete
2170 # config.log. We remove comments because anyway the quotes in there
2171 # would cause problems or look ugly.
2172 # WARNING: Use '\'' to represent an apostrophe within the trap.
2173 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2174 trap 'exit_status=$?
2175 # Save into config.log some information that might help in debugging.
2180 ## ---------------- ##
2181 ## Cache variables. ##
2182 ## ---------------- ##
2185 # The following way of writing the cache mishandles newlines in values,
2187 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2188 eval ac_val=\$$ac_var
2192 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2193 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2196 _ | IFS | as_nl) ;; #(
2197 *) $as_unset $ac_var ;;
2202 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2203 *${as_nl}ac_space=\ *)
2205 "s/'\''/'\''\\\\'\'''\''/g;
2206 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2209 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2217 ## ----------------- ##
2218 ## Output variables. ##
2219 ## ----------------- ##
2222 for ac_var in $ac_subst_vars
2224 eval ac_val=\$$ac_var
2226 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2228 echo "$ac_var='\''$ac_val'\''"
2232 if test -n "$ac_subst_files"; then
2234 ## ------------------- ##
2235 ## File substitutions. ##
2236 ## ------------------- ##
2239 for ac_var
in $ac_subst_files
2241 eval ac_val
=\$
$ac_var
2243 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2245 echo "$ac_var='\''$ac_val'\''"
2250 if test -s confdefs.h; then
2260 test "$ac_signal" != 0 &&
2261 echo "$as_me: caught signal $ac_signal"
2262 echo "$as_me: exit $exit_status"
2264 rm -f core *.core core.conftest.* &&
2265 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2268 for ac_signal
in 1 2 13 15; do
2269 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2273 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2274 rm -f -r conftest
* confdefs.h
2276 # Predefined preprocessor variables.
2278 cat >>confdefs.h
<<_ACEOF
2279 #define PACKAGE_NAME "$PACKAGE_NAME"
2283 cat >>confdefs.h
<<_ACEOF
2284 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2288 cat >>confdefs.h
<<_ACEOF
2289 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2293 cat >>confdefs.h
<<_ACEOF
2294 #define PACKAGE_STRING "$PACKAGE_STRING"
2298 cat >>confdefs.h
<<_ACEOF
2299 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2303 # Let the site file select an alternate cache file if it wants to.
2304 # Prefer explicitly selected file to automatically selected ones.
2305 if test -n "$CONFIG_SITE"; then
2306 set x
"$CONFIG_SITE"
2307 elif test "x$prefix" != xNONE
; then
2308 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2310 set x
"$ac_default_prefix/share/config.site" \
2311 "$ac_default_prefix/etc/config.site"
2316 if test -r "$ac_site_file"; then
2317 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2318 echo "$as_me: loading site script $ac_site_file" >&6;}
2319 sed 's/^/| /' "$ac_site_file" >&5
2324 if test -r "$cache_file"; then
2325 # Some versions of bash will fail to source /dev/null (special
2326 # files actually), so we avoid doing that.
2327 if test -f "$cache_file"; then
2328 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2329 echo "$as_me: loading cache $cache_file" >&6;}
2331 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2332 *) .
"./$cache_file";;
2336 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2337 echo "$as_me: creating cache $cache_file" >&6;}
2341 # Check that the precious variables saved in the cache have kept the same
2343 ac_cache_corrupted
=false
2344 for ac_var
in $ac_precious_vars; do
2345 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2346 eval ac_new_set
=\
$ac_env_${ac_var}_set
2347 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2348 eval ac_new_val
=\
$ac_env_${ac_var}_value
2349 case $ac_old_set,$ac_new_set in
2351 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2352 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2353 ac_cache_corrupted
=: ;;
2355 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2356 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2357 ac_cache_corrupted
=: ;;
2360 if test "x$ac_old_val" != "x$ac_new_val"; then
2361 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2362 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2363 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2364 echo "$as_me: former value: $ac_old_val" >&2;}
2365 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2366 echo "$as_me: current value: $ac_new_val" >&2;}
2367 ac_cache_corrupted
=:
2370 # Pass precious variables to config.status.
2371 if test "$ac_new_set" = set; then
2373 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2374 *) ac_arg
=$ac_var=$ac_new_val ;;
2376 case " $ac_configure_args " in
2377 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2378 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2382 if $ac_cache_corrupted; then
2383 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2384 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2385 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2386 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2387 { (exit 1); exit 1; }; }
2415 ac_cpp
='$CPP $CPPFLAGS'
2416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2425 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2426 if test -f "$ac_dir/install-sh"; then
2428 ac_install_sh
="$ac_aux_dir/install-sh -c"
2430 elif test -f "$ac_dir/install.sh"; then
2432 ac_install_sh
="$ac_aux_dir/install.sh -c"
2434 elif test -f "$ac_dir/shtool"; then
2436 ac_install_sh
="$ac_aux_dir/shtool install -c"
2440 if test -z "$ac_aux_dir"; then
2441 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2442 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2443 { (exit 1); exit 1; }; }
2446 # These three variables are undocumented and unsupported,
2447 # and are intended to be withdrawn in a future Autoconf release.
2448 # They can cause serious problems if a builder's source tree is in a directory
2449 # whose full name contains unusual characters.
2450 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2451 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2452 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2455 # Make sure we can run config.sub.
2456 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2457 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2458 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2459 { (exit 1); exit 1; }; }
2461 { echo "$as_me:$LINENO: checking build system type" >&5
2462 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2463 if test "${ac_cv_build+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 ac_build_alias
=$build_alias
2467 test "x$ac_build_alias" = x
&&
2468 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2469 test "x$ac_build_alias" = x
&&
2470 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2472 { (exit 1); exit 1; }; }
2473 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2474 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2475 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2476 { (exit 1); exit 1; }; }
2479 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2480 echo "${ECHO_T}$ac_cv_build" >&6; }
2481 case $ac_cv_build in
2483 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2484 echo "$as_me: error: invalid value of canonical build" >&2;}
2485 { (exit 1); exit 1; }; };;
2488 ac_save_IFS
=$IFS; IFS
='-'
2494 # Remember, the first character of IFS is used to create $*,
2495 # except with old shells:
2498 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2501 { echo "$as_me:$LINENO: checking host system type" >&5
2502 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2503 if test "${ac_cv_host+set}" = set; then
2504 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 if test "x$host_alias" = x
; then
2507 ac_cv_host
=$ac_cv_build
2509 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2510 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2511 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2512 { (exit 1); exit 1; }; }
2516 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2517 echo "${ECHO_T}$ac_cv_host" >&6; }
2520 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2521 echo "$as_me: error: invalid value of canonical host" >&2;}
2522 { (exit 1); exit 1; }; };;
2525 ac_save_IFS
=$IFS; IFS
='-'
2531 # Remember, the first character of IFS is used to create $*,
2532 # except with old shells:
2535 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2539 if test "$cross_compiling" != "no"; then
2540 HOST_PREFIX
="${host_alias}-"
2541 HOST_SUFFIX
="-$host_alias"
2548 wx_major_version_number
=2
2549 wx_minor_version_number
=9
2551 wx_subrelease_number
=0
2553 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2554 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2555 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2557 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2560 wx_top_builddir
="`pwd`"
2573 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2579 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2585 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2587 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2589 DEFAULT_wxUSE_COCOA
=0
2591 DEFAULT_wxUSE_OSX_CARBON
=0
2592 DEFAULT_wxUSE_OSX_COCOA
=0
2594 DEFAULT_wxUSE_MICROWIN
=0
2595 DEFAULT_wxUSE_MOTIF
=0
2601 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2602 DEFAULT_DEFAULT_wxUSE_GTK
=0
2603 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2604 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2605 DEFAULT_DEFAULT_wxUSE_MGL
=0
2606 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2607 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2608 DEFAULT_DEFAULT_wxUSE_MSW
=0
2609 DEFAULT_DEFAULT_wxUSE_PM
=0
2610 DEFAULT_DEFAULT_wxUSE_X11
=0
2611 DEFAULT_DEFAULT_wxUSE_DFB
=0
2615 DYLIB_RPATH_INSTALL
=
2616 DYLIB_RPATH_POSTLINK
=
2618 DEFAULT_STD_FLAG
=yes
2623 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2624 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2625 cat >>confdefs.h
<<\_ACEOF
2630 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2634 cat >>confdefs.h
<<\_ACEOF
2639 if test "x$TMP" = "xalpha"; then
2641 cat >>confdefs.h
<<\_ACEOF
2646 DEFAULT_DEFAULT_wxUSE_GTK
=1
2648 *-*-gnu* | *-*-k*bsd
*-gnu )
2651 if test "x$TMP" = "xalpha"; then
2653 cat >>confdefs.h
<<\_ACEOF
2658 DEFAULT_DEFAULT_wxUSE_GTK
=1
2660 *-*-irix5* | *-*-irix6* )
2663 cat >>confdefs.h
<<\_ACEOF
2667 cat >>confdefs.h
<<\_ACEOF
2671 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2677 cat >>confdefs.h
<<\_ACEOF
2681 cat >>confdefs.h
<<\_ACEOF
2682 #define __SOLARIS__ 1
2685 cat >>confdefs.h
<<\_ACEOF
2689 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2690 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2696 cat >>confdefs.h
<<\_ACEOF
2700 cat >>confdefs.h
<<\_ACEOF
2704 cat >>confdefs.h
<<\_ACEOF
2708 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2713 cat >>confdefs.h
<<\_ACEOF
2714 #define __FREEBSD__ 1
2717 cat >>confdefs.h
<<\_ACEOF
2721 DEFAULT_DEFAULT_wxUSE_GTK
=1
2723 *-*-openbsd*|*-*-mirbsd*)
2726 cat >>confdefs.h
<<\_ACEOF
2727 #define __OPENBSD__ 1
2730 cat >>confdefs.h
<<\_ACEOF
2734 DEFAULT_DEFAULT_wxUSE_GTK
=1
2739 cat >>confdefs.h
<<\_ACEOF
2740 #define __NETBSD__ 1
2743 cat >>confdefs.h
<<\_ACEOF
2747 DEFAULT_DEFAULT_wxUSE_GTK
=1
2748 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2750 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2755 cat >>confdefs.h
<<\_ACEOF
2759 cat >>confdefs.h
<<\_ACEOF
2763 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2764 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2769 cat >>confdefs.h
<<\_ACEOF
2773 cat >>confdefs.h
<<\_ACEOF
2777 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2782 cat >>confdefs.h
<<\_ACEOF
2786 cat >>confdefs.h
<<\_ACEOF
2790 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2796 cat >>confdefs.h
<<\_ACEOF
2800 cat >>confdefs.h
<<\_ACEOF
2804 cat >>confdefs.h
<<\_ACEOF
2808 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2815 cat >>confdefs.h
<<\_ACEOF
2816 #define __UNIXWARE__ 1
2821 *-*-cygwin* | *-*-mingw32* )
2823 DEFAULT_DEFAULT_wxUSE_MSW
=1
2829 cat >>confdefs.h
<<\_ACEOF
2834 DEFAULT_DEFAULT_wxUSE_MGL
=1
2837 *-pc-os2_emx | *-pc-os2-emx )
2838 cat >>confdefs.h
<<\_ACEOF
2843 cat >>confdefs.h
<<\_ACEOF
2848 DEFAULT_DEFAULT_wxUSE_PM
=1
2850 LDFLAGS
="$LDFLAGS -Zcrtdll"
2851 ac_executable_extensions
=".exe"
2852 export ac_executable_extensions
2856 for ac_dir
in $PATH; do
2858 if test -z "$ac_TEMP_PATH"; then
2859 ac_TEMP_PATH
="$ac_dir"
2861 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2864 export PATH
="$ac_TEMP_PATH"
2872 cat >>confdefs.h
<<\_ACEOF
2876 cat >>confdefs.h
<<\_ACEOF
2877 #define __DARWIN__ 1
2880 cat >>confdefs.h
<<\_ACEOF
2881 #define TARGET_CARBON 1
2884 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2889 cat >>confdefs.h
<<\_ACEOF
2896 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2897 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2898 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2899 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2901 DEFAULT_DEFAULT_wxUSE_X11
=1
2902 DEFAULT_wxUSE_SHARED
=no
2907 DEFAULT_wxUSE_ALL_FEATURES
=yes
2909 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2910 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2912 DEFAULT_wxUSE_DMALLOC
=no
2913 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2914 DEFAULT_wxUSE_LIBHILDON
=no
2915 DEFAULT_wxUSE_LIBMSPACK
=no
2916 DEFAULT_wxUSE_LIBSDL
=no
2918 DEFAULT_wxUSE_ACCESSIBILITY
=no
2919 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2920 DEFAULT_wxUSE_IPV6
=no
2921 DEFAULT_wxUSE_GSTREAMER8
=no
2923 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2924 DEFAULT_wxUSE_OPENGL
=auto
2925 DEFAULT_wxUSE_MEDIACTRL
=auto
2926 DEFAULT_wxUSE_COMPILER_TLS
=auto
2928 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2930 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2932 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2934 DEFAULT_wxUSE_GTK2
=yes
2936 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2942 enablestring
=disable
2944 if test -z "$defaultval"; then
2945 if test x
"$enablestring" = xdisable
; then
2952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2953 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2954 # Check whether --enable-gui was given.
2955 if test "${enable_gui+set}" = set; then
2956 enableval
=$enable_gui;
2957 if test "$enableval" = yes; then
2958 wx_cv_use_gui
='wxUSE_GUI=yes'
2960 wx_cv_use_gui
='wxUSE_GUI=no'
2965 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2970 eval "$wx_cv_use_gui"
2972 if test x"$enablestring" = xdisable; then
2973 if test $wxUSE_GUI = no; then
2982 { echo "$as_me:$LINENO: result: $result" >&5
2983 echo "${ECHO_T}$result" >&6; }
2988 if test -z "$defaultval"; then
2989 if test x"$enablestring" = xdisable; then
2996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2997 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
2998 # Check whether --enable-monolithic was given.
2999 if test "${enable_monolithic+set}" = set; then
3000 enableval=$enable_monolithic;
3001 if test "$enableval" = yes; then
3002 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3004 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3009 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3014 eval "$wx_cv_use_monolithic"
3016 if test x"$enablestring" = xdisable; then
3017 if test $wxUSE_MONOLITHIC = no; then
3023 result=$wxUSE_MONOLITHIC
3026 { echo "$as_me:$LINENO: result
: $result" >&5
3027 echo "${ECHO_T}$result" >&6; }
3032 if test -z "$defaultval"; then
3033 if test x"$enablestring" = xdisable; then
3040 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3041 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3042 # Check whether --enable-plugins was given.
3043 if test "${enable_plugins+set}" = set; then
3044 enableval=$enable_plugins;
3045 if test "$enableval" = yes; then
3046 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3048 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3053 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3058 eval "$wx_cv_use_plugins"
3060 if test x
"$enablestring" = xdisable
; then
3061 if test $wxUSE_PLUGINS = no
; then
3067 result
=$wxUSE_PLUGINS
3070 { echo "$as_me:$LINENO: result: $result" >&5
3071 echo "${ECHO_T}$result" >&6; }
3075 defaultval
=$wxUSE_ALL_FEATURES
3076 if test -z "$defaultval"; then
3077 if test x
"$withstring" = xwithout
; then
3083 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3084 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3086 # Check whether --with-subdirs was given.
3087 if test "${with_subdirs+set}" = set; then
3088 withval
=$with_subdirs;
3089 if test "$withval" = yes; then
3090 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3092 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3097 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3102 eval "$wx_cv_use_subdirs"
3104 if test x"$withstring" = xwithout; then
3105 if test $wxWITH_SUBDIRS = yes; then
3111 result=$wxWITH_SUBDIRS
3114 { echo "$as_me:$LINENO: result: $result" >&5
3115 echo "${ECHO_T}$result" >&6; }
3118 # Check whether --with-flavour was given.
3119 if test "${with_flavour+set}" = set; then
3120 withval=$with_flavour; WX_FLAVOUR="$withval"
3126 if test -z "$defaultval"; then
3127 if test x"$enablestring" = xdisable; then
3134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3135 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3136 # Check whether --enable-official_build was given.
3137 if test "${enable_official_build+set}" = set; then
3138 enableval=$enable_official_build;
3139 if test "$enableval" = yes; then
3140 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3142 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3147 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3152 eval "$wx_cv_use_official_build"
3154 if test x"$enablestring" = xdisable; then
3155 if test $wxUSE_OFFICIAL_BUILD = no; then
3161 result=$wxUSE_OFFICIAL_BUILD
3164 { echo "$as_me:$LINENO: result
: $result" >&5
3165 echo "${ECHO_T}$result" >&6; }
3167 # Check whether --enable-vendor was given.
3168 if test "${enable_vendor+set}" = set; then
3169 enableval=$enable_vendor; VENDOR="$enableval"
3172 if test "x
$VENDOR" = "x
"; then
3177 enablestring=disable
3179 if test -z "$defaultval"; then
3180 if test x"$enablestring" = xdisable; then
3187 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3188 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3189 # Check whether --enable-all-features was given.
3190 if test "${enable_all_features+set}" = set; then
3191 enableval=$enable_all_features;
3192 if test "$enableval" = yes; then
3193 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3195 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3200 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3205 eval "$wx_cv_use_all_features"
3207 if test x
"$enablestring" = xdisable
; then
3208 if test $wxUSE_ALL_FEATURES = no
; then
3214 result
=$wxUSE_ALL_FEATURES
3217 { echo "$as_me:$LINENO: result: $result" >&5
3218 echo "${ECHO_T}$result" >&6; }
3221 if test "$wxUSE_ALL_FEATURES" = "no"; then
3222 DEFAULT_wxUSE_MEDIACTRL
=no
3226 if test "$wxUSE_GUI" = "yes"; then
3231 if test -z "$defaultval"; then
3232 if test x
"$enablestring" = xdisable
; then
3239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3240 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3241 # Check whether --enable-universal was given.
3242 if test "${enable_universal+set}" = set; then
3243 enableval
=$enable_universal;
3244 if test "$enableval" = yes; then
3245 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3247 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3252 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3257 eval "$wx_cv_use_universal"
3259 if test x"$enablestring" = xdisable; then
3260 if test $wxUSE_UNIVERSAL = no; then
3266 result=$wxUSE_UNIVERSAL
3269 { echo "$as_me:$LINENO: result: $result" >&5
3270 echo "${ECHO_T}$result" >&6; }
3272 if test "$wxUSE_UNIVERSAL" = "yes"; then
3274 # Check whether --with-themes was given.
3275 if test "${with_themes+set}" = set; then
3276 withval=$with_themes; wxUNIV_THEMES="$withval"
3282 # Check whether --with-gtk was given.
3283 if test "${with_gtk+set}" = set; then
3284 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3288 # Check whether --with-motif was given.
3289 if test "${with_motif+set}" = set; then
3290 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3294 # Check whether --with-osx_carbon was given.
3295 if test "${with_osx_carbon+set}" = set; then
3296 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3300 # Check whether --with-osx_cocoa was given.
3301 if test "${with_osx_cocoa+set}" = set; then
3302 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3306 # Check whether --with-mac was given.
3307 if test "${with_mac+set}" = set; then
3308 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3312 # Check whether --with-cocoa was given.
3313 if test "${with_cocoa+set}" = set; then
3314 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3318 # Check whether --with-wine was given.
3319 if test "${with_wine+set}" = set; then
3320 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3324 # Check whether --with-msw was given.
3325 if test "${with_msw+set}" = set; then
3326 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3330 # Check whether --with-pm was given.
3331 if test "${with_pm+set}" = set; then
3332 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3336 # Check whether --with-mgl was given.
3337 if test "${with_mgl+set}" = set; then
3338 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3342 # Check whether --with-directfb was given.
3343 if test "${with_directfb+set}" = set; then
3344 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3348 # Check whether --with-microwin was given.
3349 if test "${with_microwin+set}" = set; then
3350 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3354 # Check whether --with-x11 was given.
3355 if test "${with_x11+set}" = set; then
3356 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3362 if test -z "$defaultval"; then
3363 if test x"$enablestring" = xdisable; then
3370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3371 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3372 # Check whether --enable-nanox was given.
3373 if test "${enable_nanox+set}" = set; then
3374 enableval=$enable_nanox;
3375 if test "$enableval" = yes; then
3376 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3378 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3383 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3388 eval "$wx_cv_use_nanox"
3390 if test x"$enablestring" = xdisable; then
3391 if test $wxUSE_NANOX = no; then
3400 { echo "$as_me:$LINENO: result
: $result" >&5
3401 echo "${ECHO_T}$result" >&6; }
3404 # Check whether --enable-gtk2 was given.
3405 if test "${enable_gtk2+set}" = set; then
3406 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3412 if test -z "$defaultval"; then
3413 if test x"$enablestring" = xdisable; then
3420 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3421 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3422 # Check whether --enable-gpe was given.
3423 if test "${enable_gpe+set}" = set; then
3424 enableval=$enable_gpe;
3425 if test "$enableval" = yes; then
3426 wx_cv_use_gpe='wxUSE_GPE=yes'
3428 wx_cv_use_gpe='wxUSE_GPE=no'
3433 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3438 eval "$wx_cv_use_gpe"
3440 if test x
"$enablestring" = xdisable
; then
3441 if test $wxUSE_GPE = no
; then
3450 { echo "$as_me:$LINENO: result: $result" >&5
3451 echo "${ECHO_T}$result" >&6; }
3455 { echo "$as_me:$LINENO: checking for toolkit" >&5
3456 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3460 # In Wine, we need to default to MSW, not GTK or MOTIF
3461 if test "$wxUSE_WINE" = "yes"; then
3462 DEFAULT_DEFAULT_wxUSE_GTK
=0
3463 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3464 DEFAULT_DEFAULT_wxUSE_MSW
=1
3471 if test "$wxUSE_GUI" = "yes"; then
3473 if test "$USE_BEOS" = 1; then
3474 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3475 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3476 { (exit 1); exit 1; }; }
3479 if test "$TOOLKIT_GIVEN" = 1; then
3480 for toolkit
in $ALL_TOOLKITS; do
3482 eval "value=\$${var}"
3483 if test "x$value" = "xno"; then
3485 elif test "x$value" != "x"; then
3489 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3490 eval "wx${toolkit}_VERSION=$value"
3494 for toolkit
in $ALL_TOOLKITS; do
3495 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3496 eval "wxUSE_$toolkit=\$${var}"
3500 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3501 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3502 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3505 *-pc-os2_emx | *-pc-os2-emx )
3506 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3509 case "$NUM_TOOLKITS" in
3513 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3514 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3515 { (exit 1); exit 1; }; }
3518 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3519 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3520 { (exit 1); exit 1; }; }
3523 # to be removed when --disable-gtk2 isn't needed
3524 if test "x$wxUSE_GTK2" = "xyes"; then
3526 elif test "x$wxUSE_GTK2" = "xno"; then
3530 for toolkit
in $ALL_TOOLKITS; do
3532 eval "value=\$${var}"
3533 if test "$value" = 1; then
3534 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3535 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3536 echo "${ECHO_T}$toolkit_echo" >&6; }
3540 if test "x$host_alias" != "x"; then
3541 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3542 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3544 { echo "$as_me:$LINENO: result: base only" >&5
3545 echo "${ECHO_T}base only" >&6; }
3550 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3556 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3557 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3559 # Check whether --with-libpng was given.
3560 if test "${with_libpng+set}" = set; then
3561 withval
=$with_libpng;
3562 if test "$withval" = yes; then
3563 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3564 elif test "$withval" = no
; then
3565 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3566 elif test "$withval" = sys
; then
3567 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3568 elif test "$withval" = builtin; then
3569 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3571 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3572 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3573 { (exit 1); exit 1; }; }
3578 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3583 eval "$wx_cv_use_libpng"
3585 if test "$wxUSE_LIBPNG" = yes; then
3586 { echo "$as_me:$LINENO: result: yes" >&5
3587 echo "${ECHO_T}yes" >&6; }
3588 elif test "$wxUSE_LIBPNG" = no; then
3589 { echo "$as_me:$LINENO: result: no" >&5
3590 echo "${ECHO_T}no" >&6; }
3591 elif test "$wxUSE_LIBPNG" = sys; then
3592 { echo "$as_me:$LINENO: result: system version" >&5
3593 echo "${ECHO_T}system version" >&6; }
3594 elif test "$wxUSE_LIBPNG" = builtin; then
3595 { echo "$as_me:$LINENO: result: builtin version" >&5
3596 echo "${ECHO_T}builtin version" >&6; }
3598 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3599 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3600 { (exit 1); exit 1; }; }
3604 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3605 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3607 # Check whether --with-libjpeg was given.
3608 if test "${with_libjpeg+set}" = set; then
3609 withval=$with_libjpeg;
3610 if test "$withval" = yes; then
3611 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3612 elif test "$withval" = no; then
3613 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3614 elif test "$withval" = sys; then
3615 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3616 elif test "$withval" = builtin; then
3617 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3619 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3620 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3621 { (exit 1); exit 1; }; }
3626 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3631 eval "$wx_cv_use_libjpeg"
3633 if test "$wxUSE_LIBJPEG" = yes; then
3634 { echo "$as_me:$LINENO: result
: yes" >&5
3635 echo "${ECHO_T}yes" >&6; }
3636 elif test "$wxUSE_LIBJPEG" = no; then
3637 { echo "$as_me:$LINENO: result
: no
" >&5
3638 echo "${ECHO_T}no
" >&6; }
3639 elif test "$wxUSE_LIBJPEG" = sys; then
3640 { echo "$as_me:$LINENO: result
: system version
" >&5
3641 echo "${ECHO_T}system version
" >&6; }
3642 elif test "$wxUSE_LIBJPEG" = builtin; then
3643 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3644 echo "${ECHO_T}builtin version
" >&6; }
3646 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3647 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3648 { (exit 1); exit 1; }; }
3652 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3653 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3655 # Check whether --with-libtiff was given.
3656 if test "${with_libtiff+set}" = set; then
3657 withval=$with_libtiff;
3658 if test "$withval" = yes; then
3659 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3660 elif test "$withval" = no; then
3661 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3662 elif test "$withval" = sys; then
3663 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3664 elif test "$withval" = builtin; then
3665 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3667 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3668 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3669 { (exit 1); exit 1; }; }
3674 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3679 eval "$wx_cv_use_libtiff"
3681 if test "$wxUSE_LIBTIFF" = yes; then
3682 { echo "$as_me:$LINENO: result: yes" >&5
3683 echo "${ECHO_T}yes" >&6; }
3684 elif test "$wxUSE_LIBTIFF" = no
; then
3685 { echo "$as_me:$LINENO: result: no" >&5
3686 echo "${ECHO_T}no" >&6; }
3687 elif test "$wxUSE_LIBTIFF" = sys
; then
3688 { echo "$as_me:$LINENO: result: system version" >&5
3689 echo "${ECHO_T}system version" >&6; }
3690 elif test "$wxUSE_LIBTIFF" = builtin; then
3691 { echo "$as_me:$LINENO: result: builtin version" >&5
3692 echo "${ECHO_T}builtin version" >&6; }
3694 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3695 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3696 { (exit 1); exit 1; }; }
3700 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3701 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3703 # Check whether --with-libxpm was given.
3704 if test "${with_libxpm+set}" = set; then
3705 withval
=$with_libxpm;
3706 if test "$withval" = yes; then
3707 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3708 elif test "$withval" = no
; then
3709 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3710 elif test "$withval" = sys
; then
3711 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3712 elif test "$withval" = builtin; then
3713 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3715 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3716 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3717 { (exit 1); exit 1; }; }
3722 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3727 eval "$wx_cv_use_libxpm"
3729 if test "$wxUSE_LIBXPM" = yes; then
3730 { echo "$as_me:$LINENO: result: yes" >&5
3731 echo "${ECHO_T}yes" >&6; }
3732 elif test "$wxUSE_LIBXPM" = no; then
3733 { echo "$as_me:$LINENO: result: no" >&5
3734 echo "${ECHO_T}no" >&6; }
3735 elif test "$wxUSE_LIBXPM" = sys; then
3736 { echo "$as_me:$LINENO: result: system version" >&5
3737 echo "${ECHO_T}system version" >&6; }
3738 elif test "$wxUSE_LIBXPM" = builtin; then
3739 { echo "$as_me:$LINENO: result: builtin version" >&5
3740 echo "${ECHO_T}builtin version" >&6; }
3742 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3743 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3744 { (exit 1); exit 1; }; }
3749 defaultval=$wxUSE_ALL_FEATURES
3750 if test -z "$defaultval"; then
3751 if test x"$withstring" = xwithout; then
3757 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3758 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3760 # Check whether --with-libiconv was given.
3761 if test "${with_libiconv+set}" = set; then
3762 withval=$with_libiconv;
3763 if test "$withval" = yes; then
3764 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3766 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3771 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3776 eval "$wx_cv_use_libiconv"
3778 if test x"$withstring" = xwithout; then
3779 if test $wxUSE_LIBICONV = yes; then
3785 result=$wxUSE_LIBICONV
3788 { echo "$as_me:$LINENO: result
: $result" >&5
3789 echo "${ECHO_T}$result" >&6; }
3793 defaultval=$wxUSE_ALL_FEATURES
3794 if test -z "$defaultval"; then
3795 if test x"$withstring" = xwithout; then
3801 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3802 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3804 # Check whether --with-libmspack was given.
3805 if test "${with_libmspack+set}" = set; then
3806 withval=$with_libmspack;
3807 if test "$withval" = yes; then
3808 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3810 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3815 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3820 eval "$wx_cv_use_libmspack"
3822 if test x
"$withstring" = xwithout
; then
3823 if test $wxUSE_LIBMSPACK = yes; then
3829 result
=$wxUSE_LIBMSPACK
3832 { echo "$as_me:$LINENO: result: $result" >&5
3833 echo "${ECHO_T}$result" >&6; }
3837 defaultval
=$wxUSE_ALL_FEATURES
3838 if test -z "$defaultval"; then
3839 if test x
"$withstring" = xwithout
; then
3845 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3846 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3848 # Check whether --with-gtkprint was given.
3849 if test "${with_gtkprint+set}" = set; then
3850 withval
=$with_gtkprint;
3851 if test "$withval" = yes; then
3852 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3854 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3859 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3864 eval "$wx_cv_use_gtkprint"
3866 if test x"$withstring" = xwithout; then
3867 if test $wxUSE_GTKPRINT = yes; then
3873 result=$wxUSE_GTKPRINT
3876 { echo "$as_me:$LINENO: result: $result" >&5
3877 echo "${ECHO_T}$result" >&6; }
3881 defaultval=$wxUSE_ALL_FEATURES
3882 if test -z "$defaultval"; then
3883 if test x"$withstring" = xwithout; then
3889 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3890 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3892 # Check whether --with-gnomeprint was given.
3893 if test "${with_gnomeprint+set}" = set; then
3894 withval=$with_gnomeprint;
3895 if test "$withval" = yes; then
3896 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3898 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3903 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3908 eval "$wx_cv_use_gnomeprint"
3910 if test x"$withstring" = xwithout; then
3911 if test $wxUSE_LIBGNOMEPRINT = yes; then
3917 result=$wxUSE_LIBGNOMEPRINT
3920 { echo "$as_me:$LINENO: result
: $result" >&5
3921 echo "${ECHO_T}$result" >&6; }
3925 defaultval=$wxUSE_ALL_FEATURES
3926 if test -z "$defaultval"; then
3927 if test x"$withstring" = xwithout; then
3933 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3934 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3936 # Check whether --with-gnomevfs was given.
3937 if test "${with_gnomevfs+set}" = set; then
3938 withval=$with_gnomevfs;
3939 if test "$withval" = yes; then
3940 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3942 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3947 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3952 eval "$wx_cv_use_gnomevfs"
3954 if test x
"$withstring" = xwithout
; then
3955 if test $wxUSE_LIBGNOMEVFS = yes; then
3961 result
=$wxUSE_LIBGNOMEVFS
3964 { echo "$as_me:$LINENO: result: $result" >&5
3965 echo "${ECHO_T}$result" >&6; }
3969 defaultval
=$wxUSE_ALL_FEATURES
3970 if test -z "$defaultval"; then
3971 if test x
"$withstring" = xwithout
; then
3977 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3978 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3980 # Check whether --with-hildon was given.
3981 if test "${with_hildon+set}" = set; then
3982 withval
=$with_hildon;
3983 if test "$withval" = yes; then
3984 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3986 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
3991 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3996 eval "$wx_cv_use_hildon"
3998 if test x"$withstring" = xwithout; then
3999 if test $wxUSE_LIBHILDON = yes; then
4005 result=$wxUSE_LIBHILDON
4008 { echo "$as_me:$LINENO: result: $result" >&5
4009 echo "${ECHO_T}$result" >&6; }
4013 defaultval=$wxUSE_ALL_FEATURES
4014 if test -z "$defaultval"; then
4015 if test x"$withstring" = xwithout; then
4021 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4022 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4024 # Check whether --with-opengl was given.
4025 if test "${with_opengl+set}" = set; then
4026 withval=$with_opengl;
4027 if test "$withval" = yes; then
4028 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4030 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4035 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4040 eval "$wx_cv_use_opengl"
4042 if test x"$withstring" = xwithout; then
4043 if test $wxUSE_OPENGL = yes; then
4049 result=$wxUSE_OPENGL
4052 { echo "$as_me:$LINENO: result
: $result" >&5
4053 echo "${ECHO_T}$result" >&6; }
4060 defaultval=$wxUSE_ALL_FEATURES
4061 if test -z "$defaultval"; then
4062 if test x"$withstring" = xwithout; then
4068 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4069 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4071 # Check whether --with-dmalloc was given.
4072 if test "${with_dmalloc+set}" = set; then
4073 withval=$with_dmalloc;
4074 if test "$withval" = yes; then
4075 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4077 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4082 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4087 eval "$wx_cv_use_dmalloc"
4089 if test x
"$withstring" = xwithout
; then
4090 if test $wxUSE_DMALLOC = yes; then
4096 result
=$wxUSE_DMALLOC
4099 { echo "$as_me:$LINENO: result: $result" >&5
4100 echo "${ECHO_T}$result" >&6; }
4104 defaultval
=$wxUSE_ALL_FEATURES
4105 if test -z "$defaultval"; then
4106 if test x
"$withstring" = xwithout
; then
4112 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4113 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4115 # Check whether --with-sdl was given.
4116 if test "${with_sdl+set}" = set; then
4118 if test "$withval" = yes; then
4119 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4121 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4126 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4131 eval "$wx_cv_use_sdl"
4133 if test x"$withstring" = xwithout; then
4134 if test $wxUSE_LIBSDL = yes; then
4140 result=$wxUSE_LIBSDL
4143 { echo "$as_me:$LINENO: result: $result" >&5
4144 echo "${ECHO_T}$result" >&6; }
4147 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4148 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4150 # Check whether --with-regex was given.
4151 if test "${with_regex+set}" = set; then
4152 withval=$with_regex;
4153 if test "$withval" = yes; then
4154 wx_cv_use_regex='wxUSE_REGEX
=yes'
4155 elif test "$withval" = no; then
4156 wx_cv_use_regex='wxUSE_REGEX
=no
'
4157 elif test "$withval" = sys; then
4158 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4159 elif test "$withval" = builtin; then
4160 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4162 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4163 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4164 { (exit 1); exit 1; }; }
4169 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4174 eval "$wx_cv_use_regex"
4176 if test "$wxUSE_REGEX" = yes; then
4177 { echo "$as_me:$LINENO: result
: yes" >&5
4178 echo "${ECHO_T}yes" >&6; }
4179 elif test "$wxUSE_REGEX" = no; then
4180 { echo "$as_me:$LINENO: result
: no
" >&5
4181 echo "${ECHO_T}no
" >&6; }
4182 elif test "$wxUSE_REGEX" = sys; then
4183 { echo "$as_me:$LINENO: result
: system version
" >&5
4184 echo "${ECHO_T}system version
" >&6; }
4185 elif test "$wxUSE_REGEX" = builtin; then
4186 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4187 echo "${ECHO_T}builtin version
" >&6; }
4189 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4190 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4191 { (exit 1); exit 1; }; }
4195 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4196 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4198 # Check whether --with-zlib was given.
4199 if test "${with_zlib+set}" = set; then
4201 if test "$withval" = yes; then
4202 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4203 elif test "$withval" = no; then
4204 wx_cv_use_zlib='wxUSE_ZLIB=no'
4205 elif test "$withval" = sys; then
4206 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4207 elif test "$withval" = builtin; then
4208 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4210 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4211 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4212 { (exit 1); exit 1; }; }
4217 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4222 eval "$wx_cv_use_zlib"
4224 if test "$wxUSE_ZLIB" = yes; then
4225 { echo "$as_me:$LINENO: result: yes" >&5
4226 echo "${ECHO_T}yes" >&6; }
4227 elif test "$wxUSE_ZLIB" = no
; then
4228 { echo "$as_me:$LINENO: result: no" >&5
4229 echo "${ECHO_T}no" >&6; }
4230 elif test "$wxUSE_ZLIB" = sys
; then
4231 { echo "$as_me:$LINENO: result: system version" >&5
4232 echo "${ECHO_T}system version" >&6; }
4233 elif test "$wxUSE_ZLIB" = builtin; then
4234 { echo "$as_me:$LINENO: result: builtin version" >&5
4235 echo "${ECHO_T}builtin version" >&6; }
4237 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4238 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4239 { (exit 1); exit 1; }; }
4243 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4244 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4246 # Check whether --with-expat was given.
4247 if test "${with_expat+set}" = set; then
4248 withval
=$with_expat;
4249 if test "$withval" = yes; then
4250 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4251 elif test "$withval" = no
; then
4252 wx_cv_use_expat
='wxUSE_EXPAT=no'
4253 elif test "$withval" = sys
; then
4254 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4255 elif test "$withval" = builtin; then
4256 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4258 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4259 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4260 { (exit 1); exit 1; }; }
4265 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4270 eval "$wx_cv_use_expat"
4272 if test "$wxUSE_EXPAT" = yes; then
4273 { echo "$as_me:$LINENO: result: yes" >&5
4274 echo "${ECHO_T}yes" >&6; }
4275 elif test "$wxUSE_EXPAT" = no; then
4276 { echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6; }
4278 elif test "$wxUSE_EXPAT" = sys; then
4279 { echo "$as_me:$LINENO: result: system version" >&5
4280 echo "${ECHO_T}system version" >&6; }
4281 elif test "$wxUSE_EXPAT" = builtin; then
4282 { echo "$as_me:$LINENO: result: builtin version" >&5
4283 echo "${ECHO_T}builtin version" >&6; }
4285 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4286 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4287 { (exit 1); exit 1; }; }
4291 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4292 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4294 # Check whether --with-macosx-sdk was given.
4295 if test "${with_macosx_sdk+set}" = set; then
4296 withval=$with_macosx_sdk;
4297 wxUSE_MACOSX_SDK=$withval
4298 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4302 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4303 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4305 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4306 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4308 # Check whether --with-macosx-version-min was given.
4309 if test "${with_macosx_version_min+set}" = set; then
4310 withval=$with_macosx_version_min;
4311 wxUSE_MACOSX_VERSION_MIN=$withval
4312 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4316 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4317 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4320 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4321 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4322 # Check whether --enable-debug was given.
4323 if test "${enable_debug+set}" = set; then
4324 enableval=$enable_debug;
4325 if test "$enableval" = yes; then
4327 elif test "$enableval" = no; then
4329 elif test "$enableval" = max; then
4331 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4333 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4334 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4335 { (exit 1); exit 1; }; }
4345 case "$wxUSE_DEBUG" in
4347 DEFAULT_wxUSE_DEBUG_FLAG=yes
4348 DEFAULT_wxUSE_DEBUG_INFO=yes
4350 DEFAULT_wxUSE_OPTIMISE=no
4354 DEFAULT_wxUSE_DEBUG_FLAG=no
4355 DEFAULT_wxUSE_DEBUG_INFO=no
4359 DEFAULT_wxUSE_DEBUG_FLAG=yes
4360 DEFAULT_wxUSE_DEBUG_INFO=no
4365 enablestring=disable
4367 if test -z "$defaultval"; then
4368 if test x"$enablestring" = xdisable; then
4375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4376 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4377 # Check whether --enable-debug_flag was given.
4378 if test "${enable_debug_flag+set}" = set; then
4379 enableval=$enable_debug_flag;
4380 if test "$enableval" = yes; then
4381 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4383 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4388 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4393 eval "$wx_cv_use_debug_flag"
4395 if test x"$enablestring" = xdisable; then
4396 if test $wxUSE_DEBUG_FLAG = no; then
4402 result=$wxUSE_DEBUG_FLAG
4405 { echo "$as_me:$LINENO: result
: $result" >&5
4406 echo "${ECHO_T}$result" >&6; }
4411 if test -z "$defaultval"; then
4412 if test x"$enablestring" = xdisable; then
4419 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4420 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4421 # Check whether --enable-debug_info was given.
4422 if test "${enable_debug_info+set}" = set; then
4423 enableval=$enable_debug_info;
4424 if test "$enableval" = yes; then
4425 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4427 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4432 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4437 eval "$wx_cv_use_debug_info"
4439 if test x
"$enablestring" = xdisable
; then
4440 if test $wxUSE_DEBUG_INFO = no
; then
4446 result
=$wxUSE_DEBUG_INFO
4449 { echo "$as_me:$LINENO: result: $result" >&5
4450 echo "${ECHO_T}$result" >&6; }
4457 if test -z "$defaultval"; then
4458 if test x
"$enablestring" = xdisable
; then
4465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4466 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4467 # Check whether --enable-debug_gdb was given.
4468 if test "${enable_debug_gdb+set}" = set; then
4469 enableval
=$enable_debug_gdb;
4470 if test "$enableval" = yes; then
4471 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4473 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4478 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4483 eval "$wx_cv_use_debug_gdb"
4485 if test x"$enablestring" = xdisable; then
4486 if test $wxUSE_DEBUG_GDB = no; then
4492 result=$wxUSE_DEBUG_GDB
4495 { echo "$as_me:$LINENO: result: $result" >&5
4496 echo "${ECHO_T}$result" >&6; }
4501 if test -z "$defaultval"; then
4502 if test x"$enablestring" = xdisable; then
4509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4510 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4511 # Check whether --enable-debug_cntxt was given.
4512 if test "${enable_debug_cntxt+set}" = set; then
4513 enableval=$enable_debug_cntxt;
4514 if test "$enableval" = yes; then
4515 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4517 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4522 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4527 eval "$wx_cv_use_debug_cntxt"
4529 if test x"$enablestring" = xdisable; then
4530 if test $wxUSE_DEBUG_CONTEXT = no; then
4536 result=$wxUSE_DEBUG_CONTEXT
4539 { echo "$as_me:$LINENO: result
: $result" >&5
4540 echo "${ECHO_T}$result" >&6; }
4545 if test -z "$defaultval"; then
4546 if test x"$enablestring" = xdisable; then
4553 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4554 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4555 # Check whether --enable-mem_tracing was given.
4556 if test "${enable_mem_tracing+set}" = set; then
4557 enableval=$enable_mem_tracing;
4558 if test "$enableval" = yes; then
4559 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4561 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4566 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4571 eval "$wx_cv_use_mem_tracing"
4573 if test x
"$enablestring" = xdisable
; then
4574 if test $wxUSE_MEM_TRACING = no
; then
4580 result
=$wxUSE_MEM_TRACING
4583 { echo "$as_me:$LINENO: result: $result" >&5
4584 echo "${ECHO_T}$result" >&6; }
4589 enablestring
=disable
4591 if test -z "$defaultval"; then
4592 if test x
"$enablestring" = xdisable
; then
4599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4600 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4601 # Check whether --enable-shared was given.
4602 if test "${enable_shared+set}" = set; then
4603 enableval
=$enable_shared;
4604 if test "$enableval" = yes; then
4605 wx_cv_use_shared
='wxUSE_SHARED=yes'
4607 wx_cv_use_shared
='wxUSE_SHARED=no'
4612 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4617 eval "$wx_cv_use_shared"
4619 if test x"$enablestring" = xdisable; then
4620 if test $wxUSE_SHARED = no; then
4626 result=$wxUSE_SHARED
4629 { echo "$as_me:$LINENO: result: $result" >&5
4630 echo "${ECHO_T}$result" >&6; }
4635 if test -z "$defaultval"; then
4636 if test x"$enablestring" = xdisable; then
4643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4644 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4645 # Check whether --enable-stl was given.
4646 if test "${enable_stl+set}" = set; then
4647 enableval=$enable_stl;
4648 if test "$enableval" = yes; then
4649 wx_cv_use_stl='wxUSE_STL
=yes'
4651 wx_cv_use_stl='wxUSE_STL
=no
'
4656 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4661 eval "$wx_cv_use_stl"
4663 if test x"$enablestring" = xdisable; then
4664 if test $wxUSE_STL = no; then
4673 { echo "$as_me:$LINENO: result
: $result" >&5
4674 echo "${ECHO_T}$result" >&6; }
4679 if test -z "$defaultval"; then
4680 if test x"$enablestring" = xdisable; then
4687 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4688 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4689 # Check whether --enable-std_iostreams was given.
4690 if test "${enable_std_iostreams+set}" = set; then
4691 enableval=$enable_std_iostreams;
4692 if test "$enableval" = yes; then
4693 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4695 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4700 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4705 eval "$wx_cv_use_std_iostreams"
4707 if test x
"$enablestring" = xdisable
; then
4708 if test $wxUSE_STD_IOSTREAM = no
; then
4714 result
=$wxUSE_STD_IOSTREAM
4717 { echo "$as_me:$LINENO: result: $result" >&5
4718 echo "${ECHO_T}$result" >&6; }
4723 if test -z "$defaultval"; then
4724 if test x
"$enablestring" = xdisable
; then
4731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4732 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4733 # Check whether --enable-std_string was given.
4734 if test "${enable_std_string+set}" = set; then
4735 enableval
=$enable_std_string;
4736 if test "$enableval" = yes; then
4737 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4739 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4744 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4749 eval "$wx_cv_use_std_string"
4751 if test x"$enablestring" = xdisable; then
4752 if test $wxUSE_STD_STRING = no; then
4758 result=$wxUSE_STD_STRING
4761 { echo "$as_me:$LINENO: result: $result" >&5
4762 echo "${ECHO_T}$result" >&6; }
4765 enablestring=disable
4767 if test -z "$defaultval"; then
4768 if test x"$enablestring" = xdisable; then
4775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4776 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4777 # Check whether --enable-unicode was given.
4778 if test "${enable_unicode+set}" = set; then
4779 enableval=$enable_unicode;
4780 if test "$enableval" = yes; then
4781 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4783 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4788 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4793 eval "$wx_cv_use_unicode"
4795 if test x"$enablestring" = xdisable; then
4796 if test $wxUSE_UNICODE = no; then
4802 result=$wxUSE_UNICODE
4805 { echo "$as_me:$LINENO: result
: $result" >&5
4806 echo "${ECHO_T}$result" >&6; }
4811 if test -z "$defaultval"; then
4812 if test x"$enablestring" = xdisable; then
4819 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4820 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4821 # Check whether --enable-mslu was given.
4822 if test "${enable_mslu+set}" = set; then
4823 enableval=$enable_mslu;
4824 if test "$enableval" = yes; then
4825 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4827 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4832 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4837 eval "$wx_cv_use_mslu"
4839 if test x
"$enablestring" = xdisable
; then
4840 if test $wxUSE_UNICODE_MSLU = no
; then
4846 result
=$wxUSE_UNICODE_MSLU
4849 { echo "$as_me:$LINENO: result: $result" >&5
4850 echo "${ECHO_T}$result" >&6; }
4854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4855 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4856 # Check whether --enable-utf8 was given.
4857 if test "${enable_utf8+set}" = set; then
4858 enableval
=$enable_utf8;
4859 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4863 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4868 eval "$wx_cv_use_utf8"
4870 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4871 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4876 if test -z "$defaultval"; then
4877 if test x
"$enablestring" = xdisable
; then
4884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4885 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4886 # Check whether --enable-utf8only was given.
4887 if test "${enable_utf8only+set}" = set; then
4888 enableval
=$enable_utf8only;
4889 if test "$enableval" = yes; then
4890 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4892 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4897 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4902 eval "$wx_cv_use_utf8only"
4904 if test x"$enablestring" = xdisable; then
4905 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4911 result=$wxUSE_UNICODE_UTF8_LOCALE
4914 { echo "$as_me:$LINENO: result: $result" >&5
4915 echo "${ECHO_T}$result" >&6; }
4920 if test -z "$defaultval"; then
4921 if test x"$enablestring" = xdisable; then
4928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4929 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4930 # Check whether --enable-extended_rtti was given.
4931 if test "${enable_extended_rtti+set}" = set; then
4932 enableval=$enable_extended_rtti;
4933 if test "$enableval" = yes; then
4934 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
4936 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
4941 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4946 eval "$wx_cv_use_extended_rtti"
4948 if test x"$enablestring" = xdisable; then
4949 if test $wxUSE_EXTENDED_RTTI = no; then
4955 result=$wxUSE_EXTENDED_RTTI
4958 { echo "$as_me:$LINENO: result
: $result" >&5
4959 echo "${ECHO_T}$result" >&6; }
4961 if test "$USE_OS2" = 1; then
4962 DEFAULT_wxUSE_OMF=no
4966 if test -z "$defaultval"; then
4967 if test x"$enablestring" = xdisable; then
4974 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
4975 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
4976 # Check whether --enable-omf was given.
4977 if test "${enable_omf+set}" = set; then
4978 enableval=$enable_omf;
4979 if test "$enableval" = yes; then
4980 wx_cv_use_omf='wxUSE_OMF=yes'
4982 wx_cv_use_omf='wxUSE_OMF=no'
4987 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4992 eval "$wx_cv_use_omf"
4994 if test x
"$enablestring" = xdisable
; then
4995 if test $wxUSE_OMF = no
; then
5004 { echo "$as_me:$LINENO: result: $result" >&5
5005 echo "${ECHO_T}$result" >&6; }
5010 enablestring
=disable
5012 if test -z "$defaultval"; then
5013 if test x
"$enablestring" = xdisable
; then
5020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5021 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5022 # Check whether --enable-optimise was given.
5023 if test "${enable_optimise+set}" = set; then
5024 enableval
=$enable_optimise;
5025 if test "$enableval" = yes; then
5026 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5028 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5033 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5038 eval "$wx_cv_use_optimise"
5040 if test x"$enablestring" = xdisable; then
5041 if test $wxUSE_OPTIMISE = no; then
5047 result=$wxUSE_OPTIMISE
5050 { echo "$as_me:$LINENO: result: $result" >&5
5051 echo "${ECHO_T}$result" >&6; }
5057 if test -z "$defaultval"; then
5058 if test x"$enablestring" = xdisable; then
5065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5067 # Check whether --enable-profile was given.
5068 if test "${enable_profile+set}" = set; then
5069 enableval=$enable_profile;
5070 if test "$enableval" = yes; then
5071 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5073 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5078 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5083 eval "$wx_cv_use_profile"
5085 if test x"$enablestring" = xdisable; then
5086 if test $wxUSE_PROFILE = no; then
5092 result=$wxUSE_PROFILE
5095 { echo "$as_me:$LINENO: result
: $result" >&5
5096 echo "${ECHO_T}$result" >&6; }
5101 if test -z "$defaultval"; then
5102 if test x"$enablestring" = xdisable; then
5109 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5110 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5111 # Check whether --enable-no_rtti was given.
5112 if test "${enable_no_rtti+set}" = set; then
5113 enableval=$enable_no_rtti;
5114 if test "$enableval" = yes; then
5115 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5117 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5122 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5127 eval "$wx_cv_use_no_rtti"
5129 if test x
"$enablestring" = xdisable
; then
5130 if test $wxUSE_NO_RTTI = no
; then
5136 result
=$wxUSE_NO_RTTI
5139 { echo "$as_me:$LINENO: result: $result" >&5
5140 echo "${ECHO_T}$result" >&6; }
5145 if test -z "$defaultval"; then
5146 if test x
"$enablestring" = xdisable
; then
5153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5154 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5155 # Check whether --enable-no_exceptions was given.
5156 if test "${enable_no_exceptions+set}" = set; then
5157 enableval
=$enable_no_exceptions;
5158 if test "$enableval" = yes; then
5159 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5161 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5166 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5171 eval "$wx_cv_use_no_exceptions"
5173 if test x"$enablestring" = xdisable; then
5174 if test $wxUSE_NO_EXCEPTIONS = no; then
5180 result=$wxUSE_NO_EXCEPTIONS
5183 { echo "$as_me:$LINENO: result: $result" >&5
5184 echo "${ECHO_T}$result" >&6; }
5189 if test -z "$defaultval"; then
5190 if test x"$enablestring" = xdisable; then
5197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5198 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5199 # Check whether --enable-permissive was given.
5200 if test "${enable_permissive+set}" = set; then
5201 enableval=$enable_permissive;
5202 if test "$enableval" = yes; then
5203 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5205 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5210 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5215 eval "$wx_cv_use_permissive"
5217 if test x"$enablestring" = xdisable; then
5218 if test $wxUSE_PERMISSIVE = no; then
5224 result=$wxUSE_PERMISSIVE
5227 { echo "$as_me:$LINENO: result
: $result" >&5
5228 echo "${ECHO_T}$result" >&6; }
5233 if test -z "$defaultval"; then
5234 if test x"$enablestring" = xdisable; then
5241 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5242 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5243 # Check whether --enable-no_deps was given.
5244 if test "${enable_no_deps+set}" = set; then
5245 enableval=$enable_no_deps;
5246 if test "$enableval" = yes; then
5247 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5249 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5254 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5259 eval "$wx_cv_use_no_deps"
5261 if test x
"$enablestring" = xdisable
; then
5262 if test $wxUSE_NO_DEPS = no
; then
5268 result
=$wxUSE_NO_DEPS
5271 { echo "$as_me:$LINENO: result: $result" >&5
5272 echo "${ECHO_T}$result" >&6; }
5275 enablestring
=disable
5277 if test -z "$defaultval"; then
5278 if test x
"$enablestring" = xdisable
; then
5285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5286 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5287 # Check whether --enable-vararg_macros was given.
5288 if test "${enable_vararg_macros+set}" = set; then
5289 enableval
=$enable_vararg_macros;
5290 if test "$enableval" = yes; then
5291 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5293 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5298 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5303 eval "$wx_cv_use_vararg_macros"
5305 if test x"$enablestring" = xdisable; then
5306 if test $wxUSE_VARARG_MACROS = no; then
5312 result=$wxUSE_VARARG_MACROS
5315 { echo "$as_me:$LINENO: result: $result" >&5
5316 echo "${ECHO_T}$result" >&6; }
5320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5321 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5322 # Check whether --enable-universal_binary was given.
5323 if test "${enable_universal_binary+set}" = set; then
5324 enableval=$enable_universal_binary;
5325 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5329 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5334 eval "$wx_cv_use_universal_binary"
5336 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5337 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5343 if test -z "$defaultval"; then
5344 if test x"$enablestring" = xdisable; then
5351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5352 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5353 # Check whether --enable-compat26 was given.
5354 if test "${enable_compat26+set}" = set; then
5355 enableval=$enable_compat26;
5356 if test "$enableval" = yes; then
5357 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5359 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5364 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5369 eval "$wx_cv_use_compat26"
5371 if test x"$enablestring" = xdisable; then
5372 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5378 result=$WXWIN_COMPATIBILITY_2_6
5381 { echo "$as_me:$LINENO: result
: $result" >&5
5382 echo "${ECHO_T}$result" >&6; }
5385 enablestring=disable
5387 if test -z "$defaultval"; then
5388 if test x"$enablestring" = xdisable; then
5395 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5396 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5397 # Check whether --enable-compat28 was given.
5398 if test "${enable_compat28+set}" = set; then
5399 enableval=$enable_compat28;
5400 if test "$enableval" = yes; then
5401 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5403 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5408 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5413 eval "$wx_cv_use_compat28"
5415 if test x
"$enablestring" = xdisable
; then
5416 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5422 result
=$WXWIN_COMPATIBILITY_2_8
5425 { echo "$as_me:$LINENO: result: $result" >&5
5426 echo "${ECHO_T}$result" >&6; }
5430 enablestring
=disable
5432 if test -z "$defaultval"; then
5433 if test x
"$enablestring" = xdisable
; then
5440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5441 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5442 # Check whether --enable-rpath was given.
5443 if test "${enable_rpath+set}" = set; then
5444 enableval
=$enable_rpath;
5445 if test "$enableval" = yes; then
5446 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5448 wx_cv_use_rpath
='wxUSE_RPATH=no'
5453 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5458 eval "$wx_cv_use_rpath"
5460 if test x"$enablestring" = xdisable; then
5461 if test $wxUSE_RPATH = no; then
5470 { echo "$as_me:$LINENO: result: $result" >&5
5471 echo "${ECHO_T}$result" >&6; }
5477 if test -z "$defaultval"; then
5478 if test x"$enablestring" = xdisable; then
5485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5486 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5487 # Check whether --enable-objc_uniquifying was given.
5488 if test "${enable_objc_uniquifying+set}" = set; then
5489 enableval=$enable_objc_uniquifying;
5490 if test "$enableval" = yes; then
5491 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5493 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5498 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5503 eval "$wx_cv_use_objc_uniquifying"
5505 if test x"$enablestring" = xdisable; then
5506 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5512 result=$wxUSE_OBJC_UNIQUIFYING
5515 { echo "$as_me:$LINENO: result
: $result" >&5
5516 echo "${ECHO_T}$result" >&6; }
5520 enablestring=disable
5522 if test -z "$defaultval"; then
5523 if test x"$enablestring" = xdisable; then
5530 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5531 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5532 # Check whether --enable-visibility was given.
5533 if test "${enable_visibility+set}" = set; then
5534 enableval=$enable_visibility;
5535 if test "$enableval" = yes; then
5536 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5538 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5543 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5548 eval "$wx_cv_use_visibility"
5550 if test x
"$enablestring" = xdisable
; then
5551 if test $wxUSE_VISIBILITY = no
; then
5557 result
=$wxUSE_VISIBILITY
5560 { echo "$as_me:$LINENO: result: $result" >&5
5561 echo "${ECHO_T}$result" >&6; }
5564 enablestring
=disable
5566 if test -z "$defaultval"; then
5567 if test x
"$enablestring" = xdisable
; then
5574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5575 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5576 # Check whether --enable-tls was given.
5577 if test "${enable_tls+set}" = set; then
5578 enableval
=$enable_tls;
5579 if test "$enableval" = yes; then
5580 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5582 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5587 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5592 eval "$wx_cv_use_tls"
5594 if test x"$enablestring" = xdisable; then
5595 if test $wxUSE_COMPILER_TLS = no; then
5601 result=$wxUSE_COMPILER_TLS
5604 { echo "$as_me:$LINENO: result: $result" >&5
5605 echo "${ECHO_T}$result" >&6; }
5611 defaultval=$wxUSE_ALL_FEATURES
5612 if test -z "$defaultval"; then
5613 if test x"$enablestring" = xdisable; then
5620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5621 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5622 # Check whether --enable-intl was given.
5623 if test "${enable_intl+set}" = set; then
5624 enableval=$enable_intl;
5625 if test "$enableval" = yes; then
5626 wx_cv_use_intl='wxUSE_INTL
=yes'
5628 wx_cv_use_intl='wxUSE_INTL
=no
'
5633 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5638 eval "$wx_cv_use_intl"
5640 if test x"$enablestring" = xdisable; then
5641 if test $wxUSE_INTL = no; then
5650 { echo "$as_me:$LINENO: result
: $result" >&5
5651 echo "${ECHO_T}$result" >&6; }
5655 defaultval=$wxUSE_ALL_FEATURES
5656 if test -z "$defaultval"; then
5657 if test x"$enablestring" = xdisable; then
5664 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5665 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5666 # Check whether --enable-xlocale was given.
5667 if test "${enable_xlocale+set}" = set; then
5668 enableval=$enable_xlocale;
5669 if test "$enableval" = yes; then
5670 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5672 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5677 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5682 eval "$wx_cv_use_xlocale"
5684 if test x
"$enablestring" = xdisable
; then
5685 if test $wxUSE_XLOCALE = no
; then
5691 result
=$wxUSE_XLOCALE
5694 { echo "$as_me:$LINENO: result: $result" >&5
5695 echo "${ECHO_T}$result" >&6; }
5699 defaultval
=$wxUSE_ALL_FEATURES
5700 if test -z "$defaultval"; then
5701 if test x
"$enablestring" = xdisable
; then
5708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5709 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5710 # Check whether --enable-config was given.
5711 if test "${enable_config+set}" = set; then
5712 enableval
=$enable_config;
5713 if test "$enableval" = yes; then
5714 wx_cv_use_config
='wxUSE_CONFIG=yes'
5716 wx_cv_use_config
='wxUSE_CONFIG=no'
5721 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5726 eval "$wx_cv_use_config"
5728 if test x"$enablestring" = xdisable; then
5729 if test $wxUSE_CONFIG = no; then
5735 result=$wxUSE_CONFIG
5738 { echo "$as_me:$LINENO: result: $result" >&5
5739 echo "${ECHO_T}$result" >&6; }
5744 defaultval=$wxUSE_ALL_FEATURES
5745 if test -z "$defaultval"; then
5746 if test x"$enablestring" = xdisable; then
5753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5754 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5755 # Check whether --enable-protocols was given.
5756 if test "${enable_protocols+set}" = set; then
5757 enableval=$enable_protocols;
5758 if test "$enableval" = yes; then
5759 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5761 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5766 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5771 eval "$wx_cv_use_protocols"
5773 if test x"$enablestring" = xdisable; then
5774 if test $wxUSE_PROTOCOL = no; then
5780 result=$wxUSE_PROTOCOL
5783 { echo "$as_me:$LINENO: result
: $result" >&5
5784 echo "${ECHO_T}$result" >&6; }
5788 defaultval=$wxUSE_ALL_FEATURES
5789 if test -z "$defaultval"; then
5790 if test x"$enablestring" = xdisable; then
5797 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5798 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5799 # Check whether --enable-ftp was given.
5800 if test "${enable_ftp+set}" = set; then
5801 enableval=$enable_ftp;
5802 if test "$enableval" = yes; then
5803 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5805 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5810 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5815 eval "$wx_cv_use_ftp"
5817 if test x
"$enablestring" = xdisable
; then
5818 if test $wxUSE_PROTOCOL_FTP = no
; then
5824 result
=$wxUSE_PROTOCOL_FTP
5827 { echo "$as_me:$LINENO: result: $result" >&5
5828 echo "${ECHO_T}$result" >&6; }
5832 defaultval
=$wxUSE_ALL_FEATURES
5833 if test -z "$defaultval"; then
5834 if test x
"$enablestring" = xdisable
; then
5841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5842 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5843 # Check whether --enable-http was given.
5844 if test "${enable_http+set}" = set; then
5845 enableval
=$enable_http;
5846 if test "$enableval" = yes; then
5847 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5849 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5854 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5859 eval "$wx_cv_use_http"
5861 if test x"$enablestring" = xdisable; then
5862 if test $wxUSE_PROTOCOL_HTTP = no; then
5868 result=$wxUSE_PROTOCOL_HTTP
5871 { echo "$as_me:$LINENO: result: $result" >&5
5872 echo "${ECHO_T}$result" >&6; }
5876 defaultval=$wxUSE_ALL_FEATURES
5877 if test -z "$defaultval"; then
5878 if test x"$enablestring" = xdisable; then
5885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5887 # Check whether --enable-fileproto was given.
5888 if test "${enable_fileproto+set}" = set; then
5889 enableval=$enable_fileproto;
5890 if test "$enableval" = yes; then
5891 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5893 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5898 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5903 eval "$wx_cv_use_fileproto"
5905 if test x"$enablestring" = xdisable; then
5906 if test $wxUSE_PROTOCOL_FILE = no; then
5912 result=$wxUSE_PROTOCOL_FILE
5915 { echo "$as_me:$LINENO: result
: $result" >&5
5916 echo "${ECHO_T}$result" >&6; }
5920 defaultval=$wxUSE_ALL_FEATURES
5921 if test -z "$defaultval"; then
5922 if test x"$enablestring" = xdisable; then
5929 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5930 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5931 # Check whether --enable-sockets was given.
5932 if test "${enable_sockets+set}" = set; then
5933 enableval=$enable_sockets;
5934 if test "$enableval" = yes; then
5935 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5937 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5942 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5947 eval "$wx_cv_use_sockets"
5949 if test x
"$enablestring" = xdisable
; then
5950 if test $wxUSE_SOCKETS = no
; then
5956 result
=$wxUSE_SOCKETS
5959 { echo "$as_me:$LINENO: result: $result" >&5
5960 echo "${ECHO_T}$result" >&6; }
5964 defaultval
=$wxUSE_ALL_FEATURES
5965 if test -z "$defaultval"; then
5966 if test x
"$enablestring" = xdisable
; then
5973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5974 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5975 # Check whether --enable-ipv6 was given.
5976 if test "${enable_ipv6+set}" = set; then
5977 enableval
=$enable_ipv6;
5978 if test "$enableval" = yes; then
5979 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5981 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5986 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5991 eval "$wx_cv_use_ipv6"
5993 if test x"$enablestring" = xdisable; then
5994 if test $wxUSE_IPV6 = no; then
6003 { echo "$as_me:$LINENO: result: $result" >&5
6004 echo "${ECHO_T}$result" >&6; }
6008 defaultval=$wxUSE_ALL_FEATURES
6009 if test -z "$defaultval"; then
6010 if test x"$enablestring" = xdisable; then
6017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6018 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6019 # Check whether --enable-ole was given.
6020 if test "${enable_ole+set}" = set; then
6021 enableval=$enable_ole;
6022 if test "$enableval" = yes; then
6023 wx_cv_use_ole='wxUSE_OLE
=yes'
6025 wx_cv_use_ole='wxUSE_OLE
=no
'
6030 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6035 eval "$wx_cv_use_ole"
6037 if test x"$enablestring" = xdisable; then
6038 if test $wxUSE_OLE = no; then
6047 { echo "$as_me:$LINENO: result
: $result" >&5
6048 echo "${ECHO_T}$result" >&6; }
6052 defaultval=$wxUSE_ALL_FEATURES
6053 if test -z "$defaultval"; then
6054 if test x"$enablestring" = xdisable; then
6061 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6062 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6063 # Check whether --enable-dataobj was given.
6064 if test "${enable_dataobj+set}" = set; then
6065 enableval=$enable_dataobj;
6066 if test "$enableval" = yes; then
6067 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6069 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6074 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6079 eval "$wx_cv_use_dataobj"
6081 if test x
"$enablestring" = xdisable
; then
6082 if test $wxUSE_DATAOBJ = no
; then
6088 result
=$wxUSE_DATAOBJ
6091 { echo "$as_me:$LINENO: result: $result" >&5
6092 echo "${ECHO_T}$result" >&6; }
6097 defaultval
=$wxUSE_ALL_FEATURES
6098 if test -z "$defaultval"; then
6099 if test x
"$enablestring" = xdisable
; then
6106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6107 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6108 # Check whether --enable-ipc was given.
6109 if test "${enable_ipc+set}" = set; then
6110 enableval
=$enable_ipc;
6111 if test "$enableval" = yes; then
6112 wx_cv_use_ipc
='wxUSE_IPC=yes'
6114 wx_cv_use_ipc
='wxUSE_IPC=no'
6119 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6124 eval "$wx_cv_use_ipc"
6126 if test x"$enablestring" = xdisable; then
6127 if test $wxUSE_IPC = no; then
6136 { echo "$as_me:$LINENO: result: $result" >&5
6137 echo "${ECHO_T}$result" >&6; }
6142 defaultval=$wxUSE_ALL_FEATURES
6143 if test -z "$defaultval"; then
6144 if test x"$enablestring" = xdisable; then
6151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6152 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6153 # Check whether --enable-baseevtloop was given.
6154 if test "${enable_baseevtloop+set}" = set; then
6155 enableval=$enable_baseevtloop;
6156 if test "$enableval" = yes; then
6157 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6159 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6164 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6169 eval "$wx_cv_use_baseevtloop"
6171 if test x"$enablestring" = xdisable; then
6172 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6178 result=$wxUSE_CONSOLE_EVENTLOOP
6181 { echo "$as_me:$LINENO: result
: $result" >&5
6182 echo "${ECHO_T}$result" >&6; }
6186 defaultval=$wxUSE_ALL_FEATURES
6187 if test -z "$defaultval"; then
6188 if test x"$enablestring" = xdisable; then
6195 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6196 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6197 # Check whether --enable-epollloop was given.
6198 if test "${enable_epollloop+set}" = set; then
6199 enableval=$enable_epollloop;
6200 if test "$enableval" = yes; then
6201 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6203 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6208 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6213 eval "$wx_cv_use_epollloop"
6215 if test x
"$enablestring" = xdisable
; then
6216 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6222 result
=$wxUSE_EPOLL_DISPATCHER
6225 { echo "$as_me:$LINENO: result: $result" >&5
6226 echo "${ECHO_T}$result" >&6; }
6230 defaultval
=$wxUSE_ALL_FEATURES
6231 if test -z "$defaultval"; then
6232 if test x
"$enablestring" = xdisable
; then
6239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6240 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6241 # Check whether --enable-selectloop was given.
6242 if test "${enable_selectloop+set}" = set; then
6243 enableval
=$enable_selectloop;
6244 if test "$enableval" = yes; then
6245 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6247 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6252 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6257 eval "$wx_cv_use_selectloop"
6259 if test x"$enablestring" = xdisable; then
6260 if test $wxUSE_SELECT_DISPATCHER = no; then
6266 result=$wxUSE_SELECT_DISPATCHER
6269 { echo "$as_me:$LINENO: result: $result" >&5
6270 echo "${ECHO_T}$result" >&6; }
6275 defaultval=$wxUSE_ALL_FEATURES
6276 if test -z "$defaultval"; then
6277 if test x"$enablestring" = xdisable; then
6284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6285 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6286 # Check whether --enable-apple_ieee was given.
6287 if test "${enable_apple_ieee+set}" = set; then
6288 enableval=$enable_apple_ieee;
6289 if test "$enableval" = yes; then
6290 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6292 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6297 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6302 eval "$wx_cv_use_apple_ieee"
6304 if test x"$enablestring" = xdisable; then
6305 if test $wxUSE_APPLE_IEEE = no; then
6311 result=$wxUSE_APPLE_IEEE
6314 { echo "$as_me:$LINENO: result
: $result" >&5
6315 echo "${ECHO_T}$result" >&6; }
6319 defaultval=$wxUSE_ALL_FEATURES
6320 if test -z "$defaultval"; then
6321 if test x"$enablestring" = xdisable; then
6328 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6329 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6330 # Check whether --enable-arcstream was given.
6331 if test "${enable_arcstream+set}" = set; then
6332 enableval=$enable_arcstream;
6333 if test "$enableval" = yes; then
6334 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6336 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6341 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6346 eval "$wx_cv_use_arcstream"
6348 if test x
"$enablestring" = xdisable
; then
6349 if test $wxUSE_ARCHIVE_STREAMS = no
; then
6355 result
=$wxUSE_ARCHIVE_STREAMS
6358 { echo "$as_me:$LINENO: result: $result" >&5
6359 echo "${ECHO_T}$result" >&6; }
6363 defaultval
=$wxUSE_ALL_FEATURES
6364 if test -z "$defaultval"; then
6365 if test x
"$enablestring" = xdisable
; then
6372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6373 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6374 # Check whether --enable-base64 was given.
6375 if test "${enable_base64+set}" = set; then
6376 enableval
=$enable_base64;
6377 if test "$enableval" = yes; then
6378 wx_cv_use_base64
='wxUSE_BASE64=yes'
6380 wx_cv_use_base64
='wxUSE_BASE64=no'
6385 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6390 eval "$wx_cv_use_base64"
6392 if test x"$enablestring" = xdisable; then
6393 if test $wxUSE_BASE64 = no; then
6399 result=$wxUSE_BASE64
6402 { echo "$as_me:$LINENO: result: $result" >&5
6403 echo "${ECHO_T}$result" >&6; }
6407 defaultval=$wxUSE_ALL_FEATURES
6408 if test -z "$defaultval"; then
6409 if test x"$enablestring" = xdisable; then
6416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6417 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6418 # Check whether --enable-backtrace was given.
6419 if test "${enable_backtrace+set}" = set; then
6420 enableval=$enable_backtrace;
6421 if test "$enableval" = yes; then
6422 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6424 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6429 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6434 eval "$wx_cv_use_backtrace"
6436 if test x"$enablestring" = xdisable; then
6437 if test $wxUSE_STACKWALKER = no; then
6443 result=$wxUSE_STACKWALKER
6446 { echo "$as_me:$LINENO: result
: $result" >&5
6447 echo "${ECHO_T}$result" >&6; }
6451 defaultval=$wxUSE_ALL_FEATURES
6452 if test -z "$defaultval"; then
6453 if test x"$enablestring" = xdisable; then
6460 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6461 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6462 # Check whether --enable-catch_segvs was given.
6463 if test "${enable_catch_segvs+set}" = set; then
6464 enableval=$enable_catch_segvs;
6465 if test "$enableval" = yes; then
6466 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6468 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6473 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6478 eval "$wx_cv_use_catch_segvs"
6480 if test x
"$enablestring" = xdisable
; then
6481 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
6487 result
=$wxUSE_ON_FATAL_EXCEPTION
6490 { echo "$as_me:$LINENO: result: $result" >&5
6491 echo "${ECHO_T}$result" >&6; }
6495 defaultval
=$wxUSE_ALL_FEATURES
6496 if test -z "$defaultval"; then
6497 if test x
"$enablestring" = xdisable
; then
6504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6506 # Check whether --enable-cmdline was given.
6507 if test "${enable_cmdline+set}" = set; then
6508 enableval
=$enable_cmdline;
6509 if test "$enableval" = yes; then
6510 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6512 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6517 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6522 eval "$wx_cv_use_cmdline"
6524 if test x"$enablestring" = xdisable; then
6525 if test $wxUSE_CMDLINE_PARSER = no; then
6531 result=$wxUSE_CMDLINE_PARSER
6534 { echo "$as_me:$LINENO: result: $result" >&5
6535 echo "${ECHO_T}$result" >&6; }
6539 defaultval=$wxUSE_ALL_FEATURES
6540 if test -z "$defaultval"; then
6541 if test x"$enablestring" = xdisable; then
6548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6549 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6550 # Check whether --enable-datetime was given.
6551 if test "${enable_datetime+set}" = set; then
6552 enableval=$enable_datetime;
6553 if test "$enableval" = yes; then
6554 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6556 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6561 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6566 eval "$wx_cv_use_datetime"
6568 if test x"$enablestring" = xdisable; then
6569 if test $wxUSE_DATETIME = no; then
6575 result=$wxUSE_DATETIME
6578 { echo "$as_me:$LINENO: result
: $result" >&5
6579 echo "${ECHO_T}$result" >&6; }
6583 defaultval=$wxUSE_ALL_FEATURES
6584 if test -z "$defaultval"; then
6585 if test x"$enablestring" = xdisable; then
6592 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6593 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6594 # Check whether --enable-debugreport was given.
6595 if test "${enable_debugreport+set}" = set; then
6596 enableval=$enable_debugreport;
6597 if test "$enableval" = yes; then
6598 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6600 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6605 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6610 eval "$wx_cv_use_debugreport"
6612 if test x
"$enablestring" = xdisable
; then
6613 if test $wxUSE_DEBUGREPORT = no
; then
6619 result
=$wxUSE_DEBUGREPORT
6622 { echo "$as_me:$LINENO: result: $result" >&5
6623 echo "${ECHO_T}$result" >&6; }
6627 defaultval
=$wxUSE_ALL_FEATURES
6628 if test -z "$defaultval"; then
6629 if test x
"$enablestring" = xdisable
; then
6636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6638 # Check whether --enable-dialupman was given.
6639 if test "${enable_dialupman+set}" = set; then
6640 enableval
=$enable_dialupman;
6641 if test "$enableval" = yes; then
6642 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6644 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6649 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6654 eval "$wx_cv_use_dialupman"
6656 if test x"$enablestring" = xdisable; then
6657 if test $wxUSE_DIALUP_MANAGER = no; then
6663 result=$wxUSE_DIALUP_MANAGER
6666 { echo "$as_me:$LINENO: result: $result" >&5
6667 echo "${ECHO_T}$result" >&6; }
6671 defaultval=$wxUSE_ALL_FEATURES
6672 if test -z "$defaultval"; then
6673 if test x"$enablestring" = xdisable; then
6680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6681 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6682 # Check whether --enable-dynlib was given.
6683 if test "${enable_dynlib+set}" = set; then
6684 enableval=$enable_dynlib;
6685 if test "$enableval" = yes; then
6686 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6688 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6693 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6698 eval "$wx_cv_use_dynlib"
6700 if test x"$enablestring" = xdisable; then
6701 if test $wxUSE_DYNLIB_CLASS = no; then
6707 result=$wxUSE_DYNLIB_CLASS
6710 { echo "$as_me:$LINENO: result
: $result" >&5
6711 echo "${ECHO_T}$result" >&6; }
6715 defaultval=$wxUSE_ALL_FEATURES
6716 if test -z "$defaultval"; then
6717 if test x"$enablestring" = xdisable; then
6724 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6725 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6726 # Check whether --enable-dynamicloader was given.
6727 if test "${enable_dynamicloader+set}" = set; then
6728 enableval=$enable_dynamicloader;
6729 if test "$enableval" = yes; then
6730 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6732 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6737 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6742 eval "$wx_cv_use_dynamicloader"
6744 if test x
"$enablestring" = xdisable
; then
6745 if test $wxUSE_DYNAMIC_LOADER = no
; then
6751 result
=$wxUSE_DYNAMIC_LOADER
6754 { echo "$as_me:$LINENO: result: $result" >&5
6755 echo "${ECHO_T}$result" >&6; }
6759 defaultval
=$wxUSE_ALL_FEATURES
6760 if test -z "$defaultval"; then
6761 if test x
"$enablestring" = xdisable
; then
6768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6769 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6770 # Check whether --enable-exceptions was given.
6771 if test "${enable_exceptions+set}" = set; then
6772 enableval
=$enable_exceptions;
6773 if test "$enableval" = yes; then
6774 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6776 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6781 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6786 eval "$wx_cv_use_exceptions"
6788 if test x"$enablestring" = xdisable; then
6789 if test $wxUSE_EXCEPTIONS = no; then
6795 result=$wxUSE_EXCEPTIONS
6798 { echo "$as_me:$LINENO: result: $result" >&5
6799 echo "${ECHO_T}$result" >&6; }
6803 defaultval=$wxUSE_ALL_FEATURES
6804 if test -z "$defaultval"; then
6805 if test x"$enablestring" = xdisable; then
6812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6813 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6814 # Check whether --enable-ffile was given.
6815 if test "${enable_ffile+set}" = set; then
6816 enableval=$enable_ffile;
6817 if test "$enableval" = yes; then
6818 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6820 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6825 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6830 eval "$wx_cv_use_ffile"
6832 if test x"$enablestring" = xdisable; then
6833 if test $wxUSE_FFILE = no; then
6842 { echo "$as_me:$LINENO: result
: $result" >&5
6843 echo "${ECHO_T}$result" >&6; }
6847 defaultval=$wxUSE_ALL_FEATURES
6848 if test -z "$defaultval"; then
6849 if test x"$enablestring" = xdisable; then
6856 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6857 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6858 # Check whether --enable-file was given.
6859 if test "${enable_file+set}" = set; then
6860 enableval=$enable_file;
6861 if test "$enableval" = yes; then
6862 wx_cv_use_file='wxUSE_FILE=yes'
6864 wx_cv_use_file='wxUSE_FILE=no'
6869 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6874 eval "$wx_cv_use_file"
6876 if test x
"$enablestring" = xdisable
; then
6877 if test $wxUSE_FILE = no
; then
6886 { echo "$as_me:$LINENO: result: $result" >&5
6887 echo "${ECHO_T}$result" >&6; }
6891 defaultval
=$wxUSE_ALL_FEATURES
6892 if test -z "$defaultval"; then
6893 if test x
"$enablestring" = xdisable
; then
6900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6902 # Check whether --enable-filesystem was given.
6903 if test "${enable_filesystem+set}" = set; then
6904 enableval
=$enable_filesystem;
6905 if test "$enableval" = yes; then
6906 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6908 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6913 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6918 eval "$wx_cv_use_filesystem"
6920 if test x"$enablestring" = xdisable; then
6921 if test $wxUSE_FILESYSTEM = no; then
6927 result=$wxUSE_FILESYSTEM
6930 { echo "$as_me:$LINENO: result: $result" >&5
6931 echo "${ECHO_T}$result" >&6; }
6935 defaultval=$wxUSE_ALL_FEATURES
6936 if test -z "$defaultval"; then
6937 if test x"$enablestring" = xdisable; then
6944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6945 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6946 # Check whether --enable-fontenum was given.
6947 if test "${enable_fontenum+set}" = set; then
6948 enableval=$enable_fontenum;
6949 if test "$enableval" = yes; then
6950 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6952 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6957 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6962 eval "$wx_cv_use_fontenum"
6964 if test x"$enablestring" = xdisable; then
6965 if test $wxUSE_FONTENUM = no; then
6971 result=$wxUSE_FONTENUM
6974 { echo "$as_me:$LINENO: result
: $result" >&5
6975 echo "${ECHO_T}$result" >&6; }
6979 defaultval=$wxUSE_ALL_FEATURES
6980 if test -z "$defaultval"; then
6981 if test x"$enablestring" = xdisable; then
6988 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
6989 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
6990 # Check whether --enable-fontmap was given.
6991 if test "${enable_fontmap+set}" = set; then
6992 enableval=$enable_fontmap;
6993 if test "$enableval" = yes; then
6994 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6996 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7001 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7006 eval "$wx_cv_use_fontmap"
7008 if test x
"$enablestring" = xdisable
; then
7009 if test $wxUSE_FONTMAP = no
; then
7015 result
=$wxUSE_FONTMAP
7018 { echo "$as_me:$LINENO: result: $result" >&5
7019 echo "${ECHO_T}$result" >&6; }
7023 defaultval
=$wxUSE_ALL_FEATURES
7024 if test -z "$defaultval"; then
7025 if test x
"$enablestring" = xdisable
; then
7032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7033 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7034 # Check whether --enable-fs_archive was given.
7035 if test "${enable_fs_archive+set}" = set; then
7036 enableval
=$enable_fs_archive;
7037 if test "$enableval" = yes; then
7038 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7040 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7045 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7050 eval "$wx_cv_use_fs_archive"
7052 if test x"$enablestring" = xdisable; then
7053 if test $wxUSE_FS_ARCHIVE = no; then
7059 result=$wxUSE_FS_ARCHIVE
7062 { echo "$as_me:$LINENO: result: $result" >&5
7063 echo "${ECHO_T}$result" >&6; }
7067 defaultval=$wxUSE_ALL_FEATURES
7068 if test -z "$defaultval"; then
7069 if test x"$enablestring" = xdisable; then
7076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7077 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7078 # Check whether --enable-fs_inet was given.
7079 if test "${enable_fs_inet+set}" = set; then
7080 enableval=$enable_fs_inet;
7081 if test "$enableval" = yes; then
7082 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7084 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7089 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7094 eval "$wx_cv_use_fs_inet"
7096 if test x"$enablestring" = xdisable; then
7097 if test $wxUSE_FS_INET = no; then
7103 result=$wxUSE_FS_INET
7106 { echo "$as_me:$LINENO: result
: $result" >&5
7107 echo "${ECHO_T}$result" >&6; }
7111 defaultval=$wxUSE_ALL_FEATURES
7112 if test -z "$defaultval"; then
7113 if test x"$enablestring" = xdisable; then
7120 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7121 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7122 # Check whether --enable-fs_zip was given.
7123 if test "${enable_fs_zip+set}" = set; then
7124 enableval=$enable_fs_zip;
7125 if test "$enableval" = yes; then
7126 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7128 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7133 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7138 eval "$wx_cv_use_fs_zip"
7140 if test x
"$enablestring" = xdisable
; then
7141 if test $wxUSE_FS_ZIP = no
; then
7147 result
=$wxUSE_FS_ZIP
7150 { echo "$as_me:$LINENO: result: $result" >&5
7151 echo "${ECHO_T}$result" >&6; }
7155 defaultval
=$wxUSE_ALL_FEATURES
7156 if test -z "$defaultval"; then
7157 if test x
"$enablestring" = xdisable
; then
7164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7165 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7166 # Check whether --enable-geometry was given.
7167 if test "${enable_geometry+set}" = set; then
7168 enableval
=$enable_geometry;
7169 if test "$enableval" = yes; then
7170 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7172 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7177 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7182 eval "$wx_cv_use_geometry"
7184 if test x"$enablestring" = xdisable; then
7185 if test $wxUSE_GEOMETRY = no; then
7191 result=$wxUSE_GEOMETRY
7194 { echo "$as_me:$LINENO: result: $result" >&5
7195 echo "${ECHO_T}$result" >&6; }
7199 defaultval=$wxUSE_ALL_FEATURES
7200 if test -z "$defaultval"; then
7201 if test x"$enablestring" = xdisable; then
7208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7209 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7210 # Check whether --enable-log was given.
7211 if test "${enable_log+set}" = set; then
7212 enableval=$enable_log;
7213 if test "$enableval" = yes; then
7214 wx_cv_use_log='wxUSE_LOG
=yes'
7216 wx_cv_use_log='wxUSE_LOG
=no
'
7221 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7226 eval "$wx_cv_use_log"
7228 if test x"$enablestring" = xdisable; then
7229 if test $wxUSE_LOG = no; then
7238 { echo "$as_me:$LINENO: result
: $result" >&5
7239 echo "${ECHO_T}$result" >&6; }
7243 defaultval=$wxUSE_ALL_FEATURES
7244 if test -z "$defaultval"; then
7245 if test x"$enablestring" = xdisable; then
7252 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7253 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7254 # Check whether --enable-longlong was given.
7255 if test "${enable_longlong+set}" = set; then
7256 enableval=$enable_longlong;
7257 if test "$enableval" = yes; then
7258 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7260 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7265 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7270 eval "$wx_cv_use_longlong"
7272 if test x
"$enablestring" = xdisable
; then
7273 if test $wxUSE_LONGLONG = no
; then
7279 result
=$wxUSE_LONGLONG
7282 { echo "$as_me:$LINENO: result: $result" >&5
7283 echo "${ECHO_T}$result" >&6; }
7287 defaultval
=$wxUSE_ALL_FEATURES
7288 if test -z "$defaultval"; then
7289 if test x
"$enablestring" = xdisable
; then
7296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7298 # Check whether --enable-mimetype was given.
7299 if test "${enable_mimetype+set}" = set; then
7300 enableval
=$enable_mimetype;
7301 if test "$enableval" = yes; then
7302 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7304 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7309 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7314 eval "$wx_cv_use_mimetype"
7316 if test x"$enablestring" = xdisable; then
7317 if test $wxUSE_MIMETYPE = no; then
7323 result=$wxUSE_MIMETYPE
7326 { echo "$as_me:$LINENO: result: $result" >&5
7327 echo "${ECHO_T}$result" >&6; }
7331 defaultval=$wxUSE_ALL_FEATURES
7332 if test -z "$defaultval"; then
7333 if test x"$enablestring" = xdisable; then
7340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7342 # Check whether --enable-printfposparam was given.
7343 if test "${enable_printfposparam+set}" = set; then
7344 enableval=$enable_printfposparam;
7345 if test "$enableval" = yes; then
7346 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7348 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7353 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7358 eval "$wx_cv_use_printfposparam"
7360 if test x"$enablestring" = xdisable; then
7361 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7367 result=$wxUSE_PRINTF_POS_PARAMS
7370 { echo "$as_me:$LINENO: result
: $result" >&5
7371 echo "${ECHO_T}$result" >&6; }
7375 defaultval=$wxUSE_ALL_FEATURES
7376 if test -z "$defaultval"; then
7377 if test x"$enablestring" = xdisable; then
7384 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7385 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7386 # Check whether --enable-snglinst was given.
7387 if test "${enable_snglinst+set}" = set; then
7388 enableval=$enable_snglinst;
7389 if test "$enableval" = yes; then
7390 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7392 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7397 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7402 eval "$wx_cv_use_snglinst"
7404 if test x
"$enablestring" = xdisable
; then
7405 if test $wxUSE_SNGLINST_CHECKER = no
; then
7411 result
=$wxUSE_SNGLINST_CHECKER
7414 { echo "$as_me:$LINENO: result: $result" >&5
7415 echo "${ECHO_T}$result" >&6; }
7419 defaultval
=$wxUSE_ALL_FEATURES
7420 if test -z "$defaultval"; then
7421 if test x
"$enablestring" = xdisable
; then
7428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7429 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7430 # Check whether --enable-sound was given.
7431 if test "${enable_sound+set}" = set; then
7432 enableval
=$enable_sound;
7433 if test "$enableval" = yes; then
7434 wx_cv_use_sound
='wxUSE_SOUND=yes'
7436 wx_cv_use_sound
='wxUSE_SOUND=no'
7441 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7446 eval "$wx_cv_use_sound"
7448 if test x"$enablestring" = xdisable; then
7449 if test $wxUSE_SOUND = no; then
7458 { echo "$as_me:$LINENO: result: $result" >&5
7459 echo "${ECHO_T}$result" >&6; }
7463 defaultval=$wxUSE_ALL_FEATURES
7464 if test -z "$defaultval"; then
7465 if test x"$enablestring" = xdisable; then
7472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7474 # Check whether --enable-stdpaths was given.
7475 if test "${enable_stdpaths+set}" = set; then
7476 enableval=$enable_stdpaths;
7477 if test "$enableval" = yes; then
7478 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7480 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7485 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7490 eval "$wx_cv_use_stdpaths"
7492 if test x"$enablestring" = xdisable; then
7493 if test $wxUSE_STDPATHS = no; then
7499 result=$wxUSE_STDPATHS
7502 { echo "$as_me:$LINENO: result
: $result" >&5
7503 echo "${ECHO_T}$result" >&6; }
7507 defaultval=$wxUSE_ALL_FEATURES
7508 if test -z "$defaultval"; then
7509 if test x"$enablestring" = xdisable; then
7516 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7517 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7518 # Check whether --enable-stopwatch was given.
7519 if test "${enable_stopwatch+set}" = set; then
7520 enableval=$enable_stopwatch;
7521 if test "$enableval" = yes; then
7522 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7524 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7529 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7534 eval "$wx_cv_use_stopwatch"
7536 if test x
"$enablestring" = xdisable
; then
7537 if test $wxUSE_STOPWATCH = no
; then
7543 result
=$wxUSE_STOPWATCH
7546 { echo "$as_me:$LINENO: result: $result" >&5
7547 echo "${ECHO_T}$result" >&6; }
7551 defaultval
=$wxUSE_ALL_FEATURES
7552 if test -z "$defaultval"; then
7553 if test x
"$enablestring" = xdisable
; then
7560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7562 # Check whether --enable-streams was given.
7563 if test "${enable_streams+set}" = set; then
7564 enableval
=$enable_streams;
7565 if test "$enableval" = yes; then
7566 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7568 wx_cv_use_streams
='wxUSE_STREAMS=no'
7573 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7578 eval "$wx_cv_use_streams"
7580 if test x"$enablestring" = xdisable; then
7581 if test $wxUSE_STREAMS = no; then
7587 result=$wxUSE_STREAMS
7590 { echo "$as_me:$LINENO: result: $result" >&5
7591 echo "${ECHO_T}$result" >&6; }
7595 defaultval=$wxUSE_ALL_FEATURES
7596 if test -z "$defaultval"; then
7597 if test x"$enablestring" = xdisable; then
7604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7605 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7606 # Check whether --enable-system_options was given.
7607 if test "${enable_system_options+set}" = set; then
7608 enableval=$enable_system_options;
7609 if test "$enableval" = yes; then
7610 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7612 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7617 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7622 eval "$wx_cv_use_system_options"
7624 if test x"$enablestring" = xdisable; then
7625 if test $wxUSE_SYSTEM_OPTIONS = no; then
7631 result=$wxUSE_SYSTEM_OPTIONS
7634 { echo "$as_me:$LINENO: result
: $result" >&5
7635 echo "${ECHO_T}$result" >&6; }
7639 defaultval=$wxUSE_ALL_FEATURES
7640 if test -z "$defaultval"; then
7641 if test x"$enablestring" = xdisable; then
7648 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7649 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7650 # Check whether --enable-tarstream was given.
7651 if test "${enable_tarstream+set}" = set; then
7652 enableval=$enable_tarstream;
7653 if test "$enableval" = yes; then
7654 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7656 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7661 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7666 eval "$wx_cv_use_tarstream"
7668 if test x
"$enablestring" = xdisable
; then
7669 if test $wxUSE_TARSTREAM = no
; then
7675 result
=$wxUSE_TARSTREAM
7678 { echo "$as_me:$LINENO: result: $result" >&5
7679 echo "${ECHO_T}$result" >&6; }
7683 defaultval
=$wxUSE_ALL_FEATURES
7684 if test -z "$defaultval"; then
7685 if test x
"$enablestring" = xdisable
; then
7692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7693 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7694 # Check whether --enable-textbuf was given.
7695 if test "${enable_textbuf+set}" = set; then
7696 enableval
=$enable_textbuf;
7697 if test "$enableval" = yes; then
7698 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7700 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7705 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7710 eval "$wx_cv_use_textbuf"
7712 if test x"$enablestring" = xdisable; then
7713 if test $wxUSE_TEXTBUFFER = no; then
7719 result=$wxUSE_TEXTBUFFER
7722 { echo "$as_me:$LINENO: result: $result" >&5
7723 echo "${ECHO_T}$result" >&6; }
7727 defaultval=$wxUSE_ALL_FEATURES
7728 if test -z "$defaultval"; then
7729 if test x"$enablestring" = xdisable; then
7736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7737 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7738 # Check whether --enable-textfile was given.
7739 if test "${enable_textfile+set}" = set; then
7740 enableval=$enable_textfile;
7741 if test "$enableval" = yes; then
7742 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7744 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7749 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7754 eval "$wx_cv_use_textfile"
7756 if test x"$enablestring" = xdisable; then
7757 if test $wxUSE_TEXTFILE = no; then
7763 result=$wxUSE_TEXTFILE
7766 { echo "$as_me:$LINENO: result
: $result" >&5
7767 echo "${ECHO_T}$result" >&6; }
7771 defaultval=$wxUSE_ALL_FEATURES
7772 if test -z "$defaultval"; then
7773 if test x"$enablestring" = xdisable; then
7780 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7781 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7782 # Check whether --enable-timer was given.
7783 if test "${enable_timer+set}" = set; then
7784 enableval=$enable_timer;
7785 if test "$enableval" = yes; then
7786 wx_cv_use_timer='wxUSE_TIMER=yes'
7788 wx_cv_use_timer='wxUSE_TIMER=no'
7793 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7798 eval "$wx_cv_use_timer"
7800 if test x
"$enablestring" = xdisable
; then
7801 if test $wxUSE_TIMER = no
; then
7810 { echo "$as_me:$LINENO: result: $result" >&5
7811 echo "${ECHO_T}$result" >&6; }
7815 defaultval
=$wxUSE_ALL_FEATURES
7816 if test -z "$defaultval"; then
7817 if test x
"$enablestring" = xdisable
; then
7824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7825 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7826 # Check whether --enable-variant was given.
7827 if test "${enable_variant+set}" = set; then
7828 enableval
=$enable_variant;
7829 if test "$enableval" = yes; then
7830 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7832 wx_cv_use_variant
='wxUSE_VARIANT=no'
7837 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7842 eval "$wx_cv_use_variant"
7844 if test x"$enablestring" = xdisable; then
7845 if test $wxUSE_VARIANT = no; then
7851 result=$wxUSE_VARIANT
7854 { echo "$as_me:$LINENO: result: $result" >&5
7855 echo "${ECHO_T}$result" >&6; }
7859 defaultval=$wxUSE_ALL_FEATURES
7860 if test -z "$defaultval"; then
7861 if test x"$enablestring" = xdisable; then
7868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7869 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7870 # Check whether --enable-zipstream was given.
7871 if test "${enable_zipstream+set}" = set; then
7872 enableval=$enable_zipstream;
7873 if test "$enableval" = yes; then
7874 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7876 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7881 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7886 eval "$wx_cv_use_zipstream"
7888 if test x"$enablestring" = xdisable; then
7889 if test $wxUSE_ZIPSTREAM = no; then
7895 result=$wxUSE_ZIPSTREAM
7898 { echo "$as_me:$LINENO: result
: $result" >&5
7899 echo "${ECHO_T}$result" >&6; }
7904 defaultval=$wxUSE_ALL_FEATURES
7905 if test -z "$defaultval"; then
7906 if test x"$enablestring" = xdisable; then
7913 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7914 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7915 # Check whether --enable-url was given.
7916 if test "${enable_url+set}" = set; then
7917 enableval=$enable_url;
7918 if test "$enableval" = yes; then
7919 wx_cv_use_url='wxUSE_URL=yes'
7921 wx_cv_use_url='wxUSE_URL=no'
7926 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7931 eval "$wx_cv_use_url"
7933 if test x
"$enablestring" = xdisable
; then
7934 if test $wxUSE_URL = no
; then
7943 { echo "$as_me:$LINENO: result: $result" >&5
7944 echo "${ECHO_T}$result" >&6; }
7948 defaultval
=$wxUSE_ALL_FEATURES
7949 if test -z "$defaultval"; then
7950 if test x
"$enablestring" = xdisable
; then
7957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7958 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7959 # Check whether --enable-protocol was given.
7960 if test "${enable_protocol+set}" = set; then
7961 enableval
=$enable_protocol;
7962 if test "$enableval" = yes; then
7963 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7965 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7970 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7975 eval "$wx_cv_use_protocol"
7977 if test x"$enablestring" = xdisable; then
7978 if test $wxUSE_PROTOCOL = no; then
7984 result=$wxUSE_PROTOCOL
7987 { echo "$as_me:$LINENO: result: $result" >&5
7988 echo "${ECHO_T}$result" >&6; }
7992 defaultval=$wxUSE_ALL_FEATURES
7993 if test -z "$defaultval"; then
7994 if test x"$enablestring" = xdisable; then
8001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8002 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8003 # Check whether --enable-protocol_http was given.
8004 if test "${enable_protocol_http+set}" = set; then
8005 enableval=$enable_protocol_http;
8006 if test "$enableval" = yes; then
8007 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8009 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8014 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8019 eval "$wx_cv_use_protocol_http"
8021 if test x"$enablestring" = xdisable; then
8022 if test $wxUSE_PROTOCOL_HTTP = no; then
8028 result=$wxUSE_PROTOCOL_HTTP
8031 { echo "$as_me:$LINENO: result
: $result" >&5
8032 echo "${ECHO_T}$result" >&6; }
8036 defaultval=$wxUSE_ALL_FEATURES
8037 if test -z "$defaultval"; then
8038 if test x"$enablestring" = xdisable; then
8045 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8046 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8047 # Check whether --enable-protocol_ftp was given.
8048 if test "${enable_protocol_ftp+set}" = set; then
8049 enableval=$enable_protocol_ftp;
8050 if test "$enableval" = yes; then
8051 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8053 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8058 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8063 eval "$wx_cv_use_protocol_ftp"
8065 if test x
"$enablestring" = xdisable
; then
8066 if test $wxUSE_PROTOCOL_FTP = no
; then
8072 result
=$wxUSE_PROTOCOL_FTP
8075 { echo "$as_me:$LINENO: result: $result" >&5
8076 echo "${ECHO_T}$result" >&6; }
8080 defaultval
=$wxUSE_ALL_FEATURES
8081 if test -z "$defaultval"; then
8082 if test x
"$enablestring" = xdisable
; then
8089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8090 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8091 # Check whether --enable-protocol_file was given.
8092 if test "${enable_protocol_file+set}" = set; then
8093 enableval
=$enable_protocol_file;
8094 if test "$enableval" = yes; then
8095 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8097 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8102 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8107 eval "$wx_cv_use_protocol_file"
8109 if test x"$enablestring" = xdisable; then
8110 if test $wxUSE_PROTOCOL_FILE = no; then
8116 result=$wxUSE_PROTOCOL_FILE
8119 { echo "$as_me:$LINENO: result: $result" >&5
8120 echo "${ECHO_T}$result" >&6; }
8125 defaultval=$wxUSE_ALL_FEATURES
8126 if test -z "$defaultval"; then
8127 if test x"$enablestring" = xdisable; then
8134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8135 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8136 # Check whether --enable-threads was given.
8137 if test "${enable_threads+set}" = set; then
8138 enableval=$enable_threads;
8139 if test "$enableval" = yes; then
8140 wx_cv_use_threads='wxUSE_THREADS
=yes'
8142 wx_cv_use_threads='wxUSE_THREADS
=no
'
8147 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8152 eval "$wx_cv_use_threads"
8154 if test x"$enablestring" = xdisable; then
8155 if test $wxUSE_THREADS = no; then
8161 result=$wxUSE_THREADS
8164 { echo "$as_me:$LINENO: result
: $result" >&5
8165 echo "${ECHO_T}$result" >&6; }
8171 if test -z "$defaultval"; then
8172 if test x"$enablestring" = xdisable; then
8179 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8180 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8181 # Check whether --enable-iniconf was given.
8182 if test "${enable_iniconf+set}" = set; then
8183 enableval=$enable_iniconf;
8184 if test "$enableval" = yes; then
8185 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8187 wx_cv_use_iniconf='wxUSE_INICONF=no'
8192 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8197 eval "$wx_cv_use_iniconf"
8199 if test x
"$enablestring" = xdisable
; then
8200 if test $wxUSE_INICONF = no
; then
8206 result
=$wxUSE_INICONF
8209 { echo "$as_me:$LINENO: result: $result" >&5
8210 echo "${ECHO_T}$result" >&6; }
8214 defaultval
=$wxUSE_ALL_FEATURES
8215 if test -z "$defaultval"; then
8216 if test x
"$enablestring" = xdisable
; then
8223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8224 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8225 # Check whether --enable-regkey was given.
8226 if test "${enable_regkey+set}" = set; then
8227 enableval
=$enable_regkey;
8228 if test "$enableval" = yes; then
8229 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8231 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8236 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8241 eval "$wx_cv_use_regkey"
8243 if test x"$enablestring" = xdisable; then
8244 if test $wxUSE_REGKEY = no; then
8250 result=$wxUSE_REGKEY
8253 { echo "$as_me:$LINENO: result: $result" >&5
8254 echo "${ECHO_T}$result" >&6; }
8257 if test "$wxUSE_GUI" = "yes"; then
8262 defaultval=$wxUSE_ALL_FEATURES
8263 if test -z "$defaultval"; then
8264 if test x"$enablestring" = xdisable; then
8271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8272 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8273 # Check whether --enable-docview was given.
8274 if test "${enable_docview+set}" = set; then
8275 enableval=$enable_docview;
8276 if test "$enableval" = yes; then
8277 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8279 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8284 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8289 eval "$wx_cv_use_docview"
8291 if test x"$enablestring" = xdisable; then
8292 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8298 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8301 { echo "$as_me:$LINENO: result
: $result" >&5
8302 echo "${ECHO_T}$result" >&6; }
8306 defaultval=$wxUSE_ALL_FEATURES
8307 if test -z "$defaultval"; then
8308 if test x"$enablestring" = xdisable; then
8315 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8316 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8317 # Check whether --enable-help was given.
8318 if test "${enable_help+set}" = set; then
8319 enableval=$enable_help;
8320 if test "$enableval" = yes; then
8321 wx_cv_use_help='wxUSE_HELP=yes'
8323 wx_cv_use_help='wxUSE_HELP=no'
8328 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8333 eval "$wx_cv_use_help"
8335 if test x
"$enablestring" = xdisable
; then
8336 if test $wxUSE_HELP = no
; then
8345 { echo "$as_me:$LINENO: result: $result" >&5
8346 echo "${ECHO_T}$result" >&6; }
8350 defaultval
=$wxUSE_ALL_FEATURES
8351 if test -z "$defaultval"; then
8352 if test x
"$enablestring" = xdisable
; then
8359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8361 # Check whether --enable-mshtmlhelp was given.
8362 if test "${enable_mshtmlhelp+set}" = set; then
8363 enableval
=$enable_mshtmlhelp;
8364 if test "$enableval" = yes; then
8365 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8367 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8372 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8377 eval "$wx_cv_use_mshtmlhelp"
8379 if test x"$enablestring" = xdisable; then
8380 if test $wxUSE_MS_HTML_HELP = no; then
8386 result=$wxUSE_MS_HTML_HELP
8389 { echo "$as_me:$LINENO: result: $result" >&5
8390 echo "${ECHO_T}$result" >&6; }
8394 defaultval=$wxUSE_ALL_FEATURES
8395 if test -z "$defaultval"; then
8396 if test x"$enablestring" = xdisable; then
8403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8404 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8405 # Check whether --enable-html was given.
8406 if test "${enable_html+set}" = set; then
8407 enableval=$enable_html;
8408 if test "$enableval" = yes; then
8409 wx_cv_use_html='wxUSE_HTML
=yes'
8411 wx_cv_use_html='wxUSE_HTML
=no
'
8416 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8421 eval "$wx_cv_use_html"
8423 if test x"$enablestring" = xdisable; then
8424 if test $wxUSE_HTML = no; then
8433 { echo "$as_me:$LINENO: result
: $result" >&5
8434 echo "${ECHO_T}$result" >&6; }
8438 defaultval=$wxUSE_ALL_FEATURES
8439 if test -z "$defaultval"; then
8440 if test x"$enablestring" = xdisable; then
8447 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8448 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8449 # Check whether --enable-htmlhelp was given.
8450 if test "${enable_htmlhelp+set}" = set; then
8451 enableval=$enable_htmlhelp;
8452 if test "$enableval" = yes; then
8453 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8455 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8460 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8465 eval "$wx_cv_use_htmlhelp"
8467 if test x
"$enablestring" = xdisable
; then
8468 if test $wxUSE_WXHTML_HELP = no
; then
8474 result
=$wxUSE_WXHTML_HELP
8477 { echo "$as_me:$LINENO: result: $result" >&5
8478 echo "${ECHO_T}$result" >&6; }
8482 defaultval
=$wxUSE_ALL_FEATURES
8483 if test -z "$defaultval"; then
8484 if test x
"$enablestring" = xdisable
; then
8491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8492 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8493 # Check whether --enable-xrc was given.
8494 if test "${enable_xrc+set}" = set; then
8495 enableval
=$enable_xrc;
8496 if test "$enableval" = yes; then
8497 wx_cv_use_xrc
='wxUSE_XRC=yes'
8499 wx_cv_use_xrc
='wxUSE_XRC=no'
8504 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8509 eval "$wx_cv_use_xrc"
8511 if test x"$enablestring" = xdisable; then
8512 if test $wxUSE_XRC = no; then
8521 { echo "$as_me:$LINENO: result: $result" >&5
8522 echo "${ECHO_T}$result" >&6; }
8526 defaultval=$wxUSE_ALL_FEATURES
8527 if test -z "$defaultval"; then
8528 if test x"$enablestring" = xdisable; then
8535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8536 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8537 # Check whether --enable-aui was given.
8538 if test "${enable_aui+set}" = set; then
8539 enableval=$enable_aui;
8540 if test "$enableval" = yes; then
8541 wx_cv_use_aui='wxUSE_AUI
=yes'
8543 wx_cv_use_aui='wxUSE_AUI
=no
'
8548 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8553 eval "$wx_cv_use_aui"
8555 if test x"$enablestring" = xdisable; then
8556 if test $wxUSE_AUI = no; then
8565 { echo "$as_me:$LINENO: result
: $result" >&5
8566 echo "${ECHO_T}$result" >&6; }
8570 defaultval=$wxUSE_ALL_FEATURES
8571 if test -z "$defaultval"; then
8572 if test x"$enablestring" = xdisable; then
8579 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8580 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8581 # Check whether --enable-propgrid was given.
8582 if test "${enable_propgrid+set}" = set; then
8583 enableval=$enable_propgrid;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8587 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8592 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8597 eval "$wx_cv_use_propgrid"
8599 if test x
"$enablestring" = xdisable
; then
8600 if test $wxUSE_PROPGRID = no
; then
8606 result
=$wxUSE_PROPGRID
8609 { echo "$as_me:$LINENO: result: $result" >&5
8610 echo "${ECHO_T}$result" >&6; }
8614 defaultval
=$wxUSE_ALL_FEATURES
8615 if test -z "$defaultval"; then
8616 if test x
"$enablestring" = xdisable
; then
8623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8624 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8625 # Check whether --enable-stc was given.
8626 if test "${enable_stc+set}" = set; then
8627 enableval
=$enable_stc;
8628 if test "$enableval" = yes; then
8629 wx_cv_use_stc
='wxUSE_STC=yes'
8631 wx_cv_use_stc
='wxUSE_STC=no'
8636 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8641 eval "$wx_cv_use_stc"
8643 if test x"$enablestring" = xdisable; then
8644 if test $wxUSE_STC = no; then
8653 { echo "$as_me:$LINENO: result: $result" >&5
8654 echo "${ECHO_T}$result" >&6; }
8658 defaultval=$wxUSE_ALL_FEATURES
8659 if test -z "$defaultval"; then
8660 if test x"$enablestring" = xdisable; then
8667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8668 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8669 # Check whether --enable-constraints was given.
8670 if test "${enable_constraints+set}" = set; then
8671 enableval=$enable_constraints;
8672 if test "$enableval" = yes; then
8673 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8675 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8680 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8685 eval "$wx_cv_use_constraints"
8687 if test x"$enablestring" = xdisable; then
8688 if test $wxUSE_CONSTRAINTS = no; then
8694 result=$wxUSE_CONSTRAINTS
8697 { echo "$as_me:$LINENO: result
: $result" >&5
8698 echo "${ECHO_T}$result" >&6; }
8702 defaultval=$wxUSE_ALL_FEATURES
8703 if test -z "$defaultval"; then
8704 if test x"$enablestring" = xdisable; then
8711 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8712 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8713 # Check whether --enable-loggui was given.
8714 if test "${enable_loggui+set}" = set; then
8715 enableval=$enable_loggui;
8716 if test "$enableval" = yes; then
8717 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8719 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8724 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8729 eval "$wx_cv_use_loggui"
8731 if test x
"$enablestring" = xdisable
; then
8732 if test $wxUSE_LOGGUI = no
; then
8738 result
=$wxUSE_LOGGUI
8741 { echo "$as_me:$LINENO: result: $result" >&5
8742 echo "${ECHO_T}$result" >&6; }
8746 defaultval
=$wxUSE_ALL_FEATURES
8747 if test -z "$defaultval"; then
8748 if test x
"$enablestring" = xdisable
; then
8755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8757 # Check whether --enable-logwin was given.
8758 if test "${enable_logwin+set}" = set; then
8759 enableval
=$enable_logwin;
8760 if test "$enableval" = yes; then
8761 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8763 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8768 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8773 eval "$wx_cv_use_logwin"
8775 if test x"$enablestring" = xdisable; then
8776 if test $wxUSE_LOGWINDOW = no; then
8782 result=$wxUSE_LOGWINDOW
8785 { echo "$as_me:$LINENO: result: $result" >&5
8786 echo "${ECHO_T}$result" >&6; }
8790 defaultval=$wxUSE_ALL_FEATURES
8791 if test -z "$defaultval"; then
8792 if test x"$enablestring" = xdisable; then
8799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8800 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8801 # Check whether --enable-logdialog was given.
8802 if test "${enable_logdialog+set}" = set; then
8803 enableval=$enable_logdialog;
8804 if test "$enableval" = yes; then
8805 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8807 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8812 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8817 eval "$wx_cv_use_logdialog"
8819 if test x"$enablestring" = xdisable; then
8820 if test $wxUSE_LOGDIALOG = no; then
8826 result=$wxUSE_LOGDIALOG
8829 { echo "$as_me:$LINENO: result
: $result" >&5
8830 echo "${ECHO_T}$result" >&6; }
8834 defaultval=$wxUSE_ALL_FEATURES
8835 if test -z "$defaultval"; then
8836 if test x"$enablestring" = xdisable; then
8843 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8844 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8845 # Check whether --enable-mdi was given.
8846 if test "${enable_mdi+set}" = set; then
8847 enableval=$enable_mdi;
8848 if test "$enableval" = yes; then
8849 wx_cv_use_mdi='wxUSE_MDI=yes'
8851 wx_cv_use_mdi='wxUSE_MDI=no'
8856 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8861 eval "$wx_cv_use_mdi"
8863 if test x
"$enablestring" = xdisable
; then
8864 if test $wxUSE_MDI = no
; then
8873 { echo "$as_me:$LINENO: result: $result" >&5
8874 echo "${ECHO_T}$result" >&6; }
8878 defaultval
=$wxUSE_ALL_FEATURES
8879 if test -z "$defaultval"; then
8880 if test x
"$enablestring" = xdisable
; then
8887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8888 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8889 # Check whether --enable-mdidoc was given.
8890 if test "${enable_mdidoc+set}" = set; then
8891 enableval
=$enable_mdidoc;
8892 if test "$enableval" = yes; then
8893 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8895 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8900 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8905 eval "$wx_cv_use_mdidoc"
8907 if test x"$enablestring" = xdisable; then
8908 if test $wxUSE_MDI_ARCHITECTURE = no; then
8914 result=$wxUSE_MDI_ARCHITECTURE
8917 { echo "$as_me:$LINENO: result: $result" >&5
8918 echo "${ECHO_T}$result" >&6; }
8922 defaultval=$wxUSE_ALL_FEATURES
8923 if test -z "$defaultval"; then
8924 if test x"$enablestring" = xdisable; then
8931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8932 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8933 # Check whether --enable-mediactrl was given.
8934 if test "${enable_mediactrl+set}" = set; then
8935 enableval=$enable_mediactrl;
8936 if test "$enableval" = yes; then
8937 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
8939 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
8944 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8949 eval "$wx_cv_use_mediactrl"
8951 if test x"$enablestring" = xdisable; then
8952 if test $wxUSE_MEDIACTRL = no; then
8958 result=$wxUSE_MEDIACTRL
8961 { echo "$as_me:$LINENO: result
: $result" >&5
8962 echo "${ECHO_T}$result" >&6; }
8966 defaultval=$wxUSE_ALL_FEATURES
8967 if test -z "$defaultval"; then
8968 if test x"$enablestring" = xdisable; then
8975 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
8976 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
8977 # Check whether --enable-gstreamer8 was given.
8978 if test "${enable_gstreamer8+set}" = set; then
8979 enableval=$enable_gstreamer8;
8980 if test "$enableval" = yes; then
8981 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8983 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8988 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8993 eval "$wx_cv_use_gstreamer8"
8995 if test x
"$enablestring" = xdisable
; then
8996 if test $wxUSE_GSTREAMER8 = no
; then
9002 result
=$wxUSE_GSTREAMER8
9005 { echo "$as_me:$LINENO: result: $result" >&5
9006 echo "${ECHO_T}$result" >&6; }
9010 defaultval
=$wxUSE_ALL_FEATURES
9011 if test -z "$defaultval"; then
9012 if test x
"$enablestring" = xdisable
; then
9019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9021 # Check whether --enable-webkit was given.
9022 if test "${enable_webkit+set}" = set; then
9023 enableval
=$enable_webkit;
9024 if test "$enableval" = yes; then
9025 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9027 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9032 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9037 eval "$wx_cv_use_webkit"
9039 if test x"$enablestring" = xdisable; then
9040 if test $wxUSE_WEBKIT = no; then
9046 result=$wxUSE_WEBKIT
9049 { echo "$as_me:$LINENO: result: $result" >&5
9050 echo "${ECHO_T}$result" >&6; }
9054 defaultval=$wxUSE_ALL_FEATURES
9055 if test -z "$defaultval"; then
9056 if test x"$enablestring" = xdisable; then
9063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9065 # Check whether --enable-richtext was given.
9066 if test "${enable_richtext+set}" = set; then
9067 enableval=$enable_richtext;
9068 if test "$enableval" = yes; then
9069 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9071 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9076 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9081 eval "$wx_cv_use_richtext"
9083 if test x"$enablestring" = xdisable; then
9084 if test $wxUSE_RICHTEXT = no; then
9090 result=$wxUSE_RICHTEXT
9093 { echo "$as_me:$LINENO: result
: $result" >&5
9094 echo "${ECHO_T}$result" >&6; }
9098 defaultval=$wxUSE_ALL_FEATURES
9099 if test -z "$defaultval"; then
9100 if test x"$enablestring" = xdisable; then
9107 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9108 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9109 # Check whether --enable-graphics_ctx was given.
9110 if test "${enable_graphics_ctx+set}" = set; then
9111 enableval=$enable_graphics_ctx;
9112 if test "$enableval" = yes; then
9113 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9115 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9120 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9125 eval "$wx_cv_use_graphics_ctx"
9127 if test x
"$enablestring" = xdisable
; then
9128 if test $wxUSE_GRAPHICS_CONTEXT = no
; then
9134 result
=$wxUSE_GRAPHICS_CONTEXT
9137 { echo "$as_me:$LINENO: result: $result" >&5
9138 echo "${ECHO_T}$result" >&6; }
9142 defaultval
=$wxUSE_ALL_FEATURES
9143 if test -z "$defaultval"; then
9144 if test x
"$enablestring" = xdisable
; then
9151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9153 # Check whether --enable-postscript was given.
9154 if test "${enable_postscript+set}" = set; then
9155 enableval
=$enable_postscript;
9156 if test "$enableval" = yes; then
9157 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9159 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9164 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9169 eval "$wx_cv_use_postscript"
9171 if test x"$enablestring" = xdisable; then
9172 if test $wxUSE_POSTSCRIPT = no; then
9178 result=$wxUSE_POSTSCRIPT
9181 { echo "$as_me:$LINENO: result: $result" >&5
9182 echo "${ECHO_T}$result" >&6; }
9186 defaultval=$wxUSE_ALL_FEATURES
9187 if test -z "$defaultval"; then
9188 if test x"$enablestring" = xdisable; then
9195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9196 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9197 # Check whether --enable-printarch was given.
9198 if test "${enable_printarch+set}" = set; then
9199 enableval=$enable_printarch;
9200 if test "$enableval" = yes; then
9201 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9203 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9208 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9213 eval "$wx_cv_use_printarch"
9215 if test x"$enablestring" = xdisable; then
9216 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9222 result=$wxUSE_PRINTING_ARCHITECTURE
9225 { echo "$as_me:$LINENO: result
: $result" >&5
9226 echo "${ECHO_T}$result" >&6; }
9230 defaultval=$wxUSE_ALL_FEATURES
9231 if test -z "$defaultval"; then
9232 if test x"$enablestring" = xdisable; then
9239 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9240 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9241 # Check whether --enable-svg was given.
9242 if test "${enable_svg+set}" = set; then
9243 enableval=$enable_svg;
9244 if test "$enableval" = yes; then
9245 wx_cv_use_svg='wxUSE_SVG=yes'
9247 wx_cv_use_svg='wxUSE_SVG=no'
9252 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9257 eval "$wx_cv_use_svg"
9259 if test x
"$enablestring" = xdisable
; then
9260 if test $wxUSE_SVG = no
; then
9269 { echo "$as_me:$LINENO: result: $result" >&5
9270 echo "${ECHO_T}$result" >&6; }
9276 defaultval
=$wxUSE_ALL_FEATURES
9277 if test -z "$defaultval"; then
9278 if test x
"$enablestring" = xdisable
; then
9285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9286 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9287 # Check whether --enable-clipboard was given.
9288 if test "${enable_clipboard+set}" = set; then
9289 enableval
=$enable_clipboard;
9290 if test "$enableval" = yes; then
9291 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9293 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9298 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9303 eval "$wx_cv_use_clipboard"
9305 if test x"$enablestring" = xdisable; then
9306 if test $wxUSE_CLIPBOARD = no; then
9312 result=$wxUSE_CLIPBOARD
9315 { echo "$as_me:$LINENO: result: $result" >&5
9316 echo "${ECHO_T}$result" >&6; }
9320 defaultval=$wxUSE_ALL_FEATURES
9321 if test -z "$defaultval"; then
9322 if test x"$enablestring" = xdisable; then
9329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9330 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9331 # Check whether --enable-dnd was given.
9332 if test "${enable_dnd+set}" = set; then
9333 enableval=$enable_dnd;
9334 if test "$enableval" = yes; then
9335 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9337 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9342 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9347 eval "$wx_cv_use_dnd"
9349 if test x"$enablestring" = xdisable; then
9350 if test $wxUSE_DRAG_AND_DROP = no; then
9356 result=$wxUSE_DRAG_AND_DROP
9359 { echo "$as_me:$LINENO: result
: $result" >&5
9360 echo "${ECHO_T}$result" >&6; }
9364 defaultval=$wxUSE_ALL_FEATURES
9365 if test -z "$defaultval"; then
9366 if test x"$enablestring" = xdisable; then
9373 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9374 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9375 # Check whether --enable-metafile was given.
9376 if test "${enable_metafile+set}" = set; then
9377 enableval=$enable_metafile;
9378 if test "$enableval" = yes; then
9379 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9381 wx_cv_use_metafile='wxUSE_METAFILE=no'
9386 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9391 eval "$wx_cv_use_metafile"
9393 if test x
"$enablestring" = xdisable
; then
9394 if test $wxUSE_METAFILE = no
; then
9400 result
=$wxUSE_METAFILE
9403 { echo "$as_me:$LINENO: result: $result" >&5
9404 echo "${ECHO_T}$result" >&6; }
9408 DEFAULT_wxUSE_CONTROLS
=none
9410 enablestring
=disable
9412 if test -z "$defaultval"; then
9413 if test x
"$enablestring" = xdisable
; then
9420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9421 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9422 # Check whether --enable-controls was given.
9423 if test "${enable_controls+set}" = set; then
9424 enableval
=$enable_controls;
9425 if test "$enableval" = yes; then
9426 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9428 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9433 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9438 eval "$wx_cv_use_controls"
9440 if test x"$enablestring" = xdisable; then
9441 if test $wxUSE_CONTROLS = no; then
9447 result=$wxUSE_CONTROLS
9450 { echo "$as_me:$LINENO: result: $result" >&5
9451 echo "${ECHO_T}$result" >&6; }
9454 if test "$wxUSE_CONTROLS" = "no"; then
9455 DEFAULT_wxUSE_ACCEL=no
9456 DEFAULT_wxUSE_ANIMATIONCTRL=no
9457 DEFAULT_wxUSE_BMPBUTTON=no
9458 DEFAULT_wxUSE_BUTTON=no
9459 DEFAULT_wxUSE_CALCTRL=no
9460 DEFAULT_wxUSE_CARET=no
9461 DEFAULT_wxUSE_CHECKBOX=no
9462 DEFAULT_wxUSE_CHECKLISTBOX=no
9463 DEFAULT_wxUSE_CHOICE=no
9464 DEFAULT_wxUSE_CHOICEBOOK=no
9465 DEFAULT_wxUSE_COLLPANE=no
9466 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9467 DEFAULT_wxUSE_COMBOBOX=no
9468 DEFAULT_wxUSE_COMBOBOX=no
9469 DEFAULT_wxUSE_DATAVIEWCTRL=no
9470 DEFAULT_wxUSE_DATEPICKCTRL=no
9471 DEFAULT_wxUSE_DETECT_SM=no
9472 DEFAULT_wxUSE_DIRPICKERCTRL=no
9473 DEFAULT_wxUSE_DISPLAY=no
9474 DEFAULT_wxUSE_FILECTRL=no
9475 DEFAULT_wxUSE_FILEPICKERCTRL=no
9476 DEFAULT_wxUSE_FONTPICKERCTRL=no
9477 DEFAULT_wxUSE_GAUGE=no
9478 DEFAULT_wxUSE_GRID=no
9479 DEFAULT_wxUSE_HEADERCTRL=no
9480 DEFAULT_wxUSE_HYPERLINKCTRL=no
9481 DEFAULT_wxUSE_IMAGLIST=no
9482 DEFAULT_wxUSE_LISTBOOK=no
9483 DEFAULT_wxUSE_LISTBOX=no
9484 DEFAULT_wxUSE_LISTCTRL=no
9485 DEFAULT_wxUSE_NOTEBOOK=no
9486 DEFAULT_wxUSE_POPUPWIN=no
9487 DEFAULT_wxUSE_RADIOBOX=no
9488 DEFAULT_wxUSE_RADIOBTN=no
9489 DEFAULT_wxUSE_REARRANGECTRL=no
9490 DEFAULT_wxUSE_SASH=no
9491 DEFAULT_wxUSE_SCROLLBAR=no
9492 DEFAULT_wxUSE_SEARCHCTRL=no
9493 DEFAULT_wxUSE_SLIDER=no
9494 DEFAULT_wxUSE_SPINBTN=no
9495 DEFAULT_wxUSE_SPINCTRL=no
9496 DEFAULT_wxUSE_SPLITTER=no
9497 DEFAULT_wxUSE_STATBMP=no
9498 DEFAULT_wxUSE_STATBOX=no
9499 DEFAULT_wxUSE_STATLINE=no
9500 DEFAULT_wxUSE_STATUSBAR=no
9501 DEFAULT_wxUSE_TIPWINDOW=no
9502 DEFAULT_wxUSE_TOGGLEBTN=no
9503 DEFAULT_wxUSE_TOOLBAR=no
9504 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9505 DEFAULT_wxUSE_TOOLBOOK=no
9506 DEFAULT_wxUSE_TOOLTIPS=no
9507 DEFAULT_wxUSE_TREEBOOK=no
9508 DEFAULT_wxUSE_TREECTRL=no
9513 defaultval=$wxUSE_ALL_FEATURES
9514 if test -z "$defaultval"; then
9515 if test x"$enablestring" = xdisable; then
9522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9524 # Check whether --enable-accel was given.
9525 if test "${enable_accel+set}" = set; then
9526 enableval=$enable_accel;
9527 if test "$enableval" = yes; then
9528 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9530 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9535 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9540 eval "$wx_cv_use_accel"
9542 if test x"$enablestring" = xdisable; then
9543 if test $wxUSE_ACCEL = no; then
9552 { echo "$as_me:$LINENO: result
: $result" >&5
9553 echo "${ECHO_T}$result" >&6; }
9557 defaultval=$wxUSE_ALL_FEATURES
9558 if test -z "$defaultval"; then
9559 if test x"$enablestring" = xdisable; then
9566 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9567 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9568 # Check whether --enable-animatectrl was given.
9569 if test "${enable_animatectrl+set}" = set; then
9570 enableval=$enable_animatectrl;
9571 if test "$enableval" = yes; then
9572 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9574 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9579 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9584 eval "$wx_cv_use_animatectrl"
9586 if test x
"$enablestring" = xdisable
; then
9587 if test $wxUSE_ANIMATIONCTRL = no
; then
9593 result
=$wxUSE_ANIMATIONCTRL
9596 { echo "$as_me:$LINENO: result: $result" >&5
9597 echo "${ECHO_T}$result" >&6; }
9601 defaultval
=$wxUSE_ALL_FEATURES
9602 if test -z "$defaultval"; then
9603 if test x
"$enablestring" = xdisable
; then
9610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9611 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9612 # Check whether --enable-bmpbutton was given.
9613 if test "${enable_bmpbutton+set}" = set; then
9614 enableval
=$enable_bmpbutton;
9615 if test "$enableval" = yes; then
9616 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9618 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9623 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9628 eval "$wx_cv_use_bmpbutton"
9630 if test x"$enablestring" = xdisable; then
9631 if test $wxUSE_BMPBUTTON = no; then
9637 result=$wxUSE_BMPBUTTON
9640 { echo "$as_me:$LINENO: result: $result" >&5
9641 echo "${ECHO_T}$result" >&6; }
9645 defaultval=$wxUSE_ALL_FEATURES
9646 if test -z "$defaultval"; then
9647 if test x"$enablestring" = xdisable; then
9654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9655 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9656 # Check whether --enable-bmpcombobox was given.
9657 if test "${enable_bmpcombobox+set}" = set; then
9658 enableval=$enable_bmpcombobox;
9659 if test "$enableval" = yes; then
9660 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9662 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9667 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9672 eval "$wx_cv_use_bmpcombobox"
9674 if test x"$enablestring" = xdisable; then
9675 if test $wxUSE_BITMAPCOMBOBOX = no; then
9681 result=$wxUSE_BITMAPCOMBOBOX
9684 { echo "$as_me:$LINENO: result
: $result" >&5
9685 echo "${ECHO_T}$result" >&6; }
9689 defaultval=$wxUSE_ALL_FEATURES
9690 if test -z "$defaultval"; then
9691 if test x"$enablestring" = xdisable; then
9698 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-button" >&5
9699 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9700 # Check whether --enable-button was given.
9701 if test "${enable_button+set}" = set; then
9702 enableval=$enable_button;
9703 if test "$enableval" = yes; then
9704 wx_cv_use_button='wxUSE_BUTTON=yes'
9706 wx_cv_use_button='wxUSE_BUTTON=no'
9711 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9716 eval "$wx_cv_use_button"
9718 if test x
"$enablestring" = xdisable
; then
9719 if test $wxUSE_BUTTON = no
; then
9725 result
=$wxUSE_BUTTON
9728 { echo "$as_me:$LINENO: result: $result" >&5
9729 echo "${ECHO_T}$result" >&6; }
9733 defaultval
=$wxUSE_ALL_FEATURES
9734 if test -z "$defaultval"; then
9735 if test x
"$enablestring" = xdisable
; then
9742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9743 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9744 # Check whether --enable-calendar was given.
9745 if test "${enable_calendar+set}" = set; then
9746 enableval
=$enable_calendar;
9747 if test "$enableval" = yes; then
9748 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9750 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9755 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9760 eval "$wx_cv_use_calendar"
9762 if test x"$enablestring" = xdisable; then
9763 if test $wxUSE_CALCTRL = no; then
9769 result=$wxUSE_CALCTRL
9772 { echo "$as_me:$LINENO: result: $result" >&5
9773 echo "${ECHO_T}$result" >&6; }
9777 defaultval=$wxUSE_ALL_FEATURES
9778 if test -z "$defaultval"; then
9779 if test x"$enablestring" = xdisable; then
9786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9787 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9788 # Check whether --enable-caret was given.
9789 if test "${enable_caret+set}" = set; then
9790 enableval=$enable_caret;
9791 if test "$enableval" = yes; then
9792 wx_cv_use_caret='wxUSE_CARET
=yes'
9794 wx_cv_use_caret='wxUSE_CARET
=no
'
9799 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9804 eval "$wx_cv_use_caret"
9806 if test x"$enablestring" = xdisable; then
9807 if test $wxUSE_CARET = no; then
9816 { echo "$as_me:$LINENO: result
: $result" >&5
9817 echo "${ECHO_T}$result" >&6; }
9821 defaultval=$wxUSE_ALL_FEATURES
9822 if test -z "$defaultval"; then
9823 if test x"$enablestring" = xdisable; then
9830 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9831 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9832 # Check whether --enable-checkbox was given.
9833 if test "${enable_checkbox+set}" = set; then
9834 enableval=$enable_checkbox;
9835 if test "$enableval" = yes; then
9836 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9838 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9843 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9848 eval "$wx_cv_use_checkbox"
9850 if test x
"$enablestring" = xdisable
; then
9851 if test $wxUSE_CHECKBOX = no
; then
9857 result
=$wxUSE_CHECKBOX
9860 { echo "$as_me:$LINENO: result: $result" >&5
9861 echo "${ECHO_T}$result" >&6; }
9865 defaultval
=$wxUSE_ALL_FEATURES
9866 if test -z "$defaultval"; then
9867 if test x
"$enablestring" = xdisable
; then
9874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9875 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9876 # Check whether --enable-checklst was given.
9877 if test "${enable_checklst+set}" = set; then
9878 enableval
=$enable_checklst;
9879 if test "$enableval" = yes; then
9880 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9882 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9887 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9892 eval "$wx_cv_use_checklst"
9894 if test x"$enablestring" = xdisable; then
9895 if test $wxUSE_CHECKLST = no; then
9901 result=$wxUSE_CHECKLST
9904 { echo "$as_me:$LINENO: result: $result" >&5
9905 echo "${ECHO_T}$result" >&6; }
9909 defaultval=$wxUSE_ALL_FEATURES
9910 if test -z "$defaultval"; then
9911 if test x"$enablestring" = xdisable; then
9918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9919 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9920 # Check whether --enable-choice was given.
9921 if test "${enable_choice+set}" = set; then
9922 enableval=$enable_choice;
9923 if test "$enableval" = yes; then
9924 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9926 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9931 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9936 eval "$wx_cv_use_choice"
9938 if test x"$enablestring" = xdisable; then
9939 if test $wxUSE_CHOICE = no; then
9945 result=$wxUSE_CHOICE
9948 { echo "$as_me:$LINENO: result
: $result" >&5
9949 echo "${ECHO_T}$result" >&6; }
9953 defaultval=$wxUSE_ALL_FEATURES
9954 if test -z "$defaultval"; then
9955 if test x"$enablestring" = xdisable; then
9962 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
9963 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
9964 # Check whether --enable-choicebook was given.
9965 if test "${enable_choicebook+set}" = set; then
9966 enableval=$enable_choicebook;
9967 if test "$enableval" = yes; then
9968 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9970 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9975 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9980 eval "$wx_cv_use_choicebook"
9982 if test x
"$enablestring" = xdisable
; then
9983 if test $wxUSE_CHOICEBOOK = no
; then
9989 result
=$wxUSE_CHOICEBOOK
9992 { echo "$as_me:$LINENO: result: $result" >&5
9993 echo "${ECHO_T}$result" >&6; }
9997 defaultval
=$wxUSE_ALL_FEATURES
9998 if test -z "$defaultval"; then
9999 if test x
"$enablestring" = xdisable
; then
10006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10007 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10008 # Check whether --enable-collpane was given.
10009 if test "${enable_collpane+set}" = set; then
10010 enableval
=$enable_collpane;
10011 if test "$enableval" = yes; then
10012 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10014 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10019 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10024 eval "$wx_cv_use_collpane"
10026 if test x"$enablestring" = xdisable; then
10027 if test $wxUSE_COLLPANE = no; then
10033 result=$wxUSE_COLLPANE
10036 { echo "$as_me:$LINENO: result: $result" >&5
10037 echo "${ECHO_T}$result" >&6; }
10041 defaultval=$wxUSE_ALL_FEATURES
10042 if test -z "$defaultval"; then
10043 if test x"$enablestring" = xdisable; then
10050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10051 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10052 # Check whether --enable-colourpicker was given.
10053 if test "${enable_colourpicker+set}" = set; then
10054 enableval=$enable_colourpicker;
10055 if test "$enableval" = yes; then
10056 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10058 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10063 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10068 eval "$wx_cv_use_colourpicker"
10070 if test x"$enablestring" = xdisable; then
10071 if test $wxUSE_COLOURPICKERCTRL = no; then
10077 result=$wxUSE_COLOURPICKERCTRL
10080 { echo "$as_me:$LINENO: result
: $result" >&5
10081 echo "${ECHO_T}$result" >&6; }
10085 defaultval=$wxUSE_ALL_FEATURES
10086 if test -z "$defaultval"; then
10087 if test x"$enablestring" = xdisable; then
10094 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10095 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10096 # Check whether --enable-combobox was given.
10097 if test "${enable_combobox+set}" = set; then
10098 enableval=$enable_combobox;
10099 if test "$enableval" = yes; then
10100 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10102 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10107 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10112 eval "$wx_cv_use_combobox"
10114 if test x
"$enablestring" = xdisable
; then
10115 if test $wxUSE_COMBOBOX = no
; then
10121 result
=$wxUSE_COMBOBOX
10124 { echo "$as_me:$LINENO: result: $result" >&5
10125 echo "${ECHO_T}$result" >&6; }
10129 defaultval
=$wxUSE_ALL_FEATURES
10130 if test -z "$defaultval"; then
10131 if test x
"$enablestring" = xdisable
; then
10138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10139 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10140 # Check whether --enable-comboctrl was given.
10141 if test "${enable_comboctrl+set}" = set; then
10142 enableval
=$enable_comboctrl;
10143 if test "$enableval" = yes; then
10144 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10146 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10151 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10156 eval "$wx_cv_use_comboctrl"
10158 if test x"$enablestring" = xdisable; then
10159 if test $wxUSE_COMBOCTRL = no; then
10165 result=$wxUSE_COMBOCTRL
10168 { echo "$as_me:$LINENO: result: $result" >&5
10169 echo "${ECHO_T}$result" >&6; }
10173 defaultval=$wxUSE_ALL_FEATURES
10174 if test -z "$defaultval"; then
10175 if test x"$enablestring" = xdisable; then
10182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10183 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10184 # Check whether --enable-dataviewctrl was given.
10185 if test "${enable_dataviewctrl+set}" = set; then
10186 enableval=$enable_dataviewctrl;
10187 if test "$enableval" = yes; then
10188 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10190 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10195 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10200 eval "$wx_cv_use_dataviewctrl"
10202 if test x"$enablestring" = xdisable; then
10203 if test $wxUSE_DATAVIEWCTRL = no; then
10209 result=$wxUSE_DATAVIEWCTRL
10212 { echo "$as_me:$LINENO: result
: $result" >&5
10213 echo "${ECHO_T}$result" >&6; }
10217 defaultval=$wxUSE_ALL_FEATURES
10218 if test -z "$defaultval"; then
10219 if test x"$enablestring" = xdisable; then
10226 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datepick" >&5
10227 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
10228 # Check whether --enable-datepick was given.
10229 if test "${enable_datepick+set}" = set; then
10230 enableval=$enable_datepick;
10231 if test "$enableval" = yes; then
10232 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10234 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10239 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10244 eval "$wx_cv_use_datepick"
10246 if test x
"$enablestring" = xdisable
; then
10247 if test $wxUSE_DATEPICKCTRL = no
; then
10253 result
=$wxUSE_DATEPICKCTRL
10256 { echo "$as_me:$LINENO: result: $result" >&5
10257 echo "${ECHO_T}$result" >&6; }
10261 defaultval
=$wxUSE_ALL_FEATURES
10262 if test -z "$defaultval"; then
10263 if test x
"$enablestring" = xdisable
; then
10270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10271 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10272 # Check whether --enable-detect_sm was given.
10273 if test "${enable_detect_sm+set}" = set; then
10274 enableval
=$enable_detect_sm;
10275 if test "$enableval" = yes; then
10276 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10278 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10283 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10288 eval "$wx_cv_use_detect_sm"
10290 if test x"$enablestring" = xdisable; then
10291 if test $wxUSE_DETECT_SM = no; then
10297 result=$wxUSE_DETECT_SM
10300 { echo "$as_me:$LINENO: result: $result" >&5
10301 echo "${ECHO_T}$result" >&6; }
10305 defaultval=$wxUSE_ALL_FEATURES
10306 if test -z "$defaultval"; then
10307 if test x"$enablestring" = xdisable; then
10314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10315 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10316 # Check whether --enable-dirpicker was given.
10317 if test "${enable_dirpicker+set}" = set; then
10318 enableval=$enable_dirpicker;
10319 if test "$enableval" = yes; then
10320 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10322 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10327 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10332 eval "$wx_cv_use_dirpicker"
10334 if test x"$enablestring" = xdisable; then
10335 if test $wxUSE_DIRPICKERCTRL = no; then
10341 result=$wxUSE_DIRPICKERCTRL
10344 { echo "$as_me:$LINENO: result
: $result" >&5
10345 echo "${ECHO_T}$result" >&6; }
10349 defaultval=$wxUSE_ALL_FEATURES
10350 if test -z "$defaultval"; then
10351 if test x"$enablestring" = xdisable; then
10358 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-display" >&5
10359 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10360 # Check whether --enable-display was given.
10361 if test "${enable_display+set}" = set; then
10362 enableval=$enable_display;
10363 if test "$enableval" = yes; then
10364 wx_cv_use_display='wxUSE_DISPLAY=yes'
10366 wx_cv_use_display='wxUSE_DISPLAY=no'
10371 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10376 eval "$wx_cv_use_display"
10378 if test x
"$enablestring" = xdisable
; then
10379 if test $wxUSE_DISPLAY = no
; then
10385 result
=$wxUSE_DISPLAY
10388 { echo "$as_me:$LINENO: result: $result" >&5
10389 echo "${ECHO_T}$result" >&6; }
10393 defaultval
=$wxUSE_ALL_FEATURES
10394 if test -z "$defaultval"; then
10395 if test x
"$enablestring" = xdisable
; then
10402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10403 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10404 # Check whether --enable-editablebox was given.
10405 if test "${enable_editablebox+set}" = set; then
10406 enableval
=$enable_editablebox;
10407 if test "$enableval" = yes; then
10408 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10410 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10415 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10420 eval "$wx_cv_use_editablebox"
10422 if test x"$enablestring" = xdisable; then
10423 if test $wxUSE_EDITABLELISTBOX = no; then
10429 result=$wxUSE_EDITABLELISTBOX
10432 { echo "$as_me:$LINENO: result: $result" >&5
10433 echo "${ECHO_T}$result" >&6; }
10437 defaultval=$wxUSE_ALL_FEATURES
10438 if test -z "$defaultval"; then
10439 if test x"$enablestring" = xdisable; then
10446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10447 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10448 # Check whether --enable-filectrl was given.
10449 if test "${enable_filectrl+set}" = set; then
10450 enableval=$enable_filectrl;
10451 if test "$enableval" = yes; then
10452 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10454 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10459 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10464 eval "$wx_cv_use_filectrl"
10466 if test x"$enablestring" = xdisable; then
10467 if test $wxUSE_FILECTRL = no; then
10473 result=$wxUSE_FILECTRL
10476 { echo "$as_me:$LINENO: result
: $result" >&5
10477 echo "${ECHO_T}$result" >&6; }
10481 defaultval=$wxUSE_ALL_FEATURES
10482 if test -z "$defaultval"; then
10483 if test x"$enablestring" = xdisable; then
10490 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filepicker" >&5
10491 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10492 # Check whether --enable-filepicker was given.
10493 if test "${enable_filepicker+set}" = set; then
10494 enableval=$enable_filepicker;
10495 if test "$enableval" = yes; then
10496 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10498 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10503 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10508 eval "$wx_cv_use_filepicker"
10510 if test x
"$enablestring" = xdisable
; then
10511 if test $wxUSE_FILEPICKERCTRL = no
; then
10517 result
=$wxUSE_FILEPICKERCTRL
10520 { echo "$as_me:$LINENO: result: $result" >&5
10521 echo "${ECHO_T}$result" >&6; }
10525 defaultval
=$wxUSE_ALL_FEATURES
10526 if test -z "$defaultval"; then
10527 if test x
"$enablestring" = xdisable
; then
10534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10535 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10536 # Check whether --enable-fontpicker was given.
10537 if test "${enable_fontpicker+set}" = set; then
10538 enableval
=$enable_fontpicker;
10539 if test "$enableval" = yes; then
10540 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10542 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10547 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10552 eval "$wx_cv_use_fontpicker"
10554 if test x"$enablestring" = xdisable; then
10555 if test $wxUSE_FONTPICKERCTRL = no; then
10561 result=$wxUSE_FONTPICKERCTRL
10564 { echo "$as_me:$LINENO: result: $result" >&5
10565 echo "${ECHO_T}$result" >&6; }
10569 defaultval=$wxUSE_ALL_FEATURES
10570 if test -z "$defaultval"; then
10571 if test x"$enablestring" = xdisable; then
10578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10579 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10580 # Check whether --enable-gauge was given.
10581 if test "${enable_gauge+set}" = set; then
10582 enableval=$enable_gauge;
10583 if test "$enableval" = yes; then
10584 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10586 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10591 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10596 eval "$wx_cv_use_gauge"
10598 if test x"$enablestring" = xdisable; then
10599 if test $wxUSE_GAUGE = no; then
10605 result=$wxUSE_GAUGE
10608 { echo "$as_me:$LINENO: result
: $result" >&5
10609 echo "${ECHO_T}$result" >&6; }
10613 defaultval=$wxUSE_ALL_FEATURES
10614 if test -z "$defaultval"; then
10615 if test x"$enablestring" = xdisable; then
10622 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-grid" >&5
10623 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
10624 # Check whether --enable-grid was given.
10625 if test "${enable_grid+set}" = set; then
10626 enableval=$enable_grid;
10627 if test "$enableval" = yes; then
10628 wx_cv_use_grid='wxUSE_GRID=yes'
10630 wx_cv_use_grid='wxUSE_GRID=no'
10635 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10640 eval "$wx_cv_use_grid"
10642 if test x
"$enablestring" = xdisable
; then
10643 if test $wxUSE_GRID = no
; then
10652 { echo "$as_me:$LINENO: result: $result" >&5
10653 echo "${ECHO_T}$result" >&6; }
10657 defaultval
=$wxUSE_ALL_FEATURES
10658 if test -z "$defaultval"; then
10659 if test x
"$enablestring" = xdisable
; then
10666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10667 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10668 # Check whether --enable-headerctrl was given.
10669 if test "${enable_headerctrl+set}" = set; then
10670 enableval
=$enable_headerctrl;
10671 if test "$enableval" = yes; then
10672 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
10674 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
10679 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10684 eval "$wx_cv_use_headerctrl"
10686 if test x"$enablestring" = xdisable; then
10687 if test $wxUSE_HEADERCTRL = no; then
10693 result=$wxUSE_HEADERCTRL
10696 { echo "$as_me:$LINENO: result: $result" >&5
10697 echo "${ECHO_T}$result" >&6; }
10701 defaultval=$wxUSE_ALL_FEATURES
10702 if test -z "$defaultval"; then
10703 if test x"$enablestring" = xdisable; then
10710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10711 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10712 # Check whether --enable-hyperlink was given.
10713 if test "${enable_hyperlink+set}" = set; then
10714 enableval=$enable_hyperlink;
10715 if test "$enableval" = yes; then
10716 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10718 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10723 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10728 eval "$wx_cv_use_hyperlink"
10730 if test x"$enablestring" = xdisable; then
10731 if test $wxUSE_HYPERLINKCTRL = no; then
10737 result=$wxUSE_HYPERLINKCTRL
10740 { echo "$as_me:$LINENO: result
: $result" >&5
10741 echo "${ECHO_T}$result" >&6; }
10745 defaultval=$wxUSE_ALL_FEATURES
10746 if test -z "$defaultval"; then
10747 if test x"$enablestring" = xdisable; then
10754 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-imaglist" >&5
10755 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
10756 # Check whether --enable-imaglist was given.
10757 if test "${enable_imaglist+set}" = set; then
10758 enableval=$enable_imaglist;
10759 if test "$enableval" = yes; then
10760 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10762 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10767 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10772 eval "$wx_cv_use_imaglist"
10774 if test x
"$enablestring" = xdisable
; then
10775 if test $wxUSE_IMAGLIST = no
; then
10781 result
=$wxUSE_IMAGLIST
10784 { echo "$as_me:$LINENO: result: $result" >&5
10785 echo "${ECHO_T}$result" >&6; }
10789 defaultval
=$wxUSE_ALL_FEATURES
10790 if test -z "$defaultval"; then
10791 if test x
"$enablestring" = xdisable
; then
10798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10799 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10800 # Check whether --enable-listbook was given.
10801 if test "${enable_listbook+set}" = set; then
10802 enableval
=$enable_listbook;
10803 if test "$enableval" = yes; then
10804 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
10806 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
10811 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10816 eval "$wx_cv_use_listbook"
10818 if test x"$enablestring" = xdisable; then
10819 if test $wxUSE_LISTBOOK = no; then
10825 result=$wxUSE_LISTBOOK
10828 { echo "$as_me:$LINENO: result: $result" >&5
10829 echo "${ECHO_T}$result" >&6; }
10833 defaultval=$wxUSE_ALL_FEATURES
10834 if test -z "$defaultval"; then
10835 if test x"$enablestring" = xdisable; then
10842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10843 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10844 # Check whether --enable-listbox was given.
10845 if test "${enable_listbox+set}" = set; then
10846 enableval=$enable_listbox;
10847 if test "$enableval" = yes; then
10848 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
10850 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
10855 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10860 eval "$wx_cv_use_listbox"
10862 if test x"$enablestring" = xdisable; then
10863 if test $wxUSE_LISTBOX = no; then
10869 result=$wxUSE_LISTBOX
10872 { echo "$as_me:$LINENO: result
: $result" >&5
10873 echo "${ECHO_T}$result" >&6; }
10877 defaultval=$wxUSE_ALL_FEATURES
10878 if test -z "$defaultval"; then
10879 if test x"$enablestring" = xdisable; then
10886 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
10887 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
10888 # Check whether --enable-listctrl was given.
10889 if test "${enable_listctrl+set}" = set; then
10890 enableval=$enable_listctrl;
10891 if test "$enableval" = yes; then
10892 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10894 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10899 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10904 eval "$wx_cv_use_listctrl"
10906 if test x
"$enablestring" = xdisable
; then
10907 if test $wxUSE_LISTCTRL = no
; then
10913 result
=$wxUSE_LISTCTRL
10916 { echo "$as_me:$LINENO: result: $result" >&5
10917 echo "${ECHO_T}$result" >&6; }
10921 defaultval
=$wxUSE_ALL_FEATURES
10922 if test -z "$defaultval"; then
10923 if test x
"$enablestring" = xdisable
; then
10930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10931 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10932 # Check whether --enable-notebook was given.
10933 if test "${enable_notebook+set}" = set; then
10934 enableval
=$enable_notebook;
10935 if test "$enableval" = yes; then
10936 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
10938 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
10943 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10948 eval "$wx_cv_use_notebook"
10950 if test x"$enablestring" = xdisable; then
10951 if test $wxUSE_NOTEBOOK = no; then
10957 result=$wxUSE_NOTEBOOK
10960 { echo "$as_me:$LINENO: result: $result" >&5
10961 echo "${ECHO_T}$result" >&6; }
10965 defaultval=$wxUSE_ALL_FEATURES
10966 if test -z "$defaultval"; then
10967 if test x"$enablestring" = xdisable; then
10974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10975 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10976 # Check whether --enable-notifmsg was given.
10977 if test "${enable_notifmsg+set}" = set; then
10978 enableval=$enable_notifmsg;
10979 if test "$enableval" = yes; then
10980 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
10982 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
10987 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10992 eval "$wx_cv_use_notifmsg"
10994 if test x"$enablestring" = xdisable; then
10995 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11001 result=$wxUSE_NOTIFICATION_MESSAGE
11004 { echo "$as_me:$LINENO: result
: $result" >&5
11005 echo "${ECHO_T}$result" >&6; }
11009 defaultval=$wxUSE_ALL_FEATURES
11010 if test -z "$defaultval"; then
11011 if test x"$enablestring" = xdisable; then
11018 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11019 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
11020 # Check whether --enable-odcombobox was given.
11021 if test "${enable_odcombobox+set}" = set; then
11022 enableval=$enable_odcombobox;
11023 if test "$enableval" = yes; then
11024 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11026 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11031 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11036 eval "$wx_cv_use_odcombobox"
11038 if test x
"$enablestring" = xdisable
; then
11039 if test $wxUSE_ODCOMBOBOX = no
; then
11045 result
=$wxUSE_ODCOMBOBOX
11048 { echo "$as_me:$LINENO: result: $result" >&5
11049 echo "${ECHO_T}$result" >&6; }
11053 defaultval
=$wxUSE_ALL_FEATURES
11054 if test -z "$defaultval"; then
11055 if test x
"$enablestring" = xdisable
; then
11062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11063 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11064 # Check whether --enable-popupwin was given.
11065 if test "${enable_popupwin+set}" = set; then
11066 enableval
=$enable_popupwin;
11067 if test "$enableval" = yes; then
11068 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11070 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11075 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11080 eval "$wx_cv_use_popupwin"
11082 if test x"$enablestring" = xdisable; then
11083 if test $wxUSE_POPUPWIN = no; then
11089 result=$wxUSE_POPUPWIN
11092 { echo "$as_me:$LINENO: result: $result" >&5
11093 echo "${ECHO_T}$result" >&6; }
11097 defaultval=$wxUSE_ALL_FEATURES
11098 if test -z "$defaultval"; then
11099 if test x"$enablestring" = xdisable; then
11106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11107 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11108 # Check whether --enable-radiobox was given.
11109 if test "${enable_radiobox+set}" = set; then
11110 enableval=$enable_radiobox;
11111 if test "$enableval" = yes; then
11112 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11114 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11119 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11124 eval "$wx_cv_use_radiobox"
11126 if test x"$enablestring" = xdisable; then
11127 if test $wxUSE_RADIOBOX = no; then
11133 result=$wxUSE_RADIOBOX
11136 { echo "$as_me:$LINENO: result
: $result" >&5
11137 echo "${ECHO_T}$result" >&6; }
11141 defaultval=$wxUSE_ALL_FEATURES
11142 if test -z "$defaultval"; then
11143 if test x"$enablestring" = xdisable; then
11150 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11151 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11152 # Check whether --enable-radiobtn was given.
11153 if test "${enable_radiobtn+set}" = set; then
11154 enableval=$enable_radiobtn;
11155 if test "$enableval" = yes; then
11156 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11158 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11163 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11168 eval "$wx_cv_use_radiobtn"
11170 if test x
"$enablestring" = xdisable
; then
11171 if test $wxUSE_RADIOBTN = no
; then
11177 result
=$wxUSE_RADIOBTN
11180 { echo "$as_me:$LINENO: result: $result" >&5
11181 echo "${ECHO_T}$result" >&6; }
11185 defaultval
=$wxUSE_ALL_FEATURES
11186 if test -z "$defaultval"; then
11187 if test x
"$enablestring" = xdisable
; then
11194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11195 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11196 # Check whether --enable-rearrangectrl was given.
11197 if test "${enable_rearrangectrl+set}" = set; then
11198 enableval
=$enable_rearrangectrl;
11199 if test "$enableval" = yes; then
11200 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=yes'
11202 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=no'
11207 wx_cv_use_rearrangectrl
='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11212 eval "$wx_cv_use_rearrangectrl"
11214 if test x"$enablestring" = xdisable; then
11215 if test $wxUSE_REARRANGECTRL = no; then
11221 result=$wxUSE_REARRANGECTRL
11224 { echo "$as_me:$LINENO: result: $result" >&5
11225 echo "${ECHO_T}$result" >&6; }
11229 defaultval=$wxUSE_ALL_FEATURES
11230 if test -z "$defaultval"; then
11231 if test x"$enablestring" = xdisable; then
11238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11239 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11240 # Check whether --enable-sash was given.
11241 if test "${enable_sash+set}" = set; then
11242 enableval=$enable_sash;
11243 if test "$enableval" = yes; then
11244 wx_cv_use_sash='wxUSE_SASH
=yes'
11246 wx_cv_use_sash='wxUSE_SASH
=no
'
11251 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11256 eval "$wx_cv_use_sash"
11258 if test x"$enablestring" = xdisable; then
11259 if test $wxUSE_SASH = no; then
11268 { echo "$as_me:$LINENO: result
: $result" >&5
11269 echo "${ECHO_T}$result" >&6; }
11273 defaultval=$wxUSE_ALL_FEATURES
11274 if test -z "$defaultval"; then
11275 if test x"$enablestring" = xdisable; then
11282 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11283 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11284 # Check whether --enable-scrollbar was given.
11285 if test "${enable_scrollbar+set}" = set; then
11286 enableval=$enable_scrollbar;
11287 if test "$enableval" = yes; then
11288 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11290 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11295 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11300 eval "$wx_cv_use_scrollbar"
11302 if test x
"$enablestring" = xdisable
; then
11303 if test $wxUSE_SCROLLBAR = no
; then
11309 result
=$wxUSE_SCROLLBAR
11312 { echo "$as_me:$LINENO: result: $result" >&5
11313 echo "${ECHO_T}$result" >&6; }
11317 defaultval
=$wxUSE_ALL_FEATURES
11318 if test -z "$defaultval"; then
11319 if test x
"$enablestring" = xdisable
; then
11326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11327 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11328 # Check whether --enable-searchctrl was given.
11329 if test "${enable_searchctrl+set}" = set; then
11330 enableval
=$enable_searchctrl;
11331 if test "$enableval" = yes; then
11332 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11334 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11339 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11344 eval "$wx_cv_use_searchctrl"
11346 if test x"$enablestring" = xdisable; then
11347 if test $wxUSE_SEARCHCTRL = no; then
11353 result=$wxUSE_SEARCHCTRL
11356 { echo "$as_me:$LINENO: result: $result" >&5
11357 echo "${ECHO_T}$result" >&6; }
11361 defaultval=$wxUSE_ALL_FEATURES
11362 if test -z "$defaultval"; then
11363 if test x"$enablestring" = xdisable; then
11370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11371 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11372 # Check whether --enable-slider was given.
11373 if test "${enable_slider+set}" = set; then
11374 enableval=$enable_slider;
11375 if test "$enableval" = yes; then
11376 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11378 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11383 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11388 eval "$wx_cv_use_slider"
11390 if test x"$enablestring" = xdisable; then
11391 if test $wxUSE_SLIDER = no; then
11397 result=$wxUSE_SLIDER
11400 { echo "$as_me:$LINENO: result
: $result" >&5
11401 echo "${ECHO_T}$result" >&6; }
11405 defaultval=$wxUSE_ALL_FEATURES
11406 if test -z "$defaultval"; then
11407 if test x"$enablestring" = xdisable; then
11414 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11415 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11416 # Check whether --enable-spinbtn was given.
11417 if test "${enable_spinbtn+set}" = set; then
11418 enableval=$enable_spinbtn;
11419 if test "$enableval" = yes; then
11420 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11422 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11427 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11432 eval "$wx_cv_use_spinbtn"
11434 if test x
"$enablestring" = xdisable
; then
11435 if test $wxUSE_SPINBTN = no
; then
11441 result
=$wxUSE_SPINBTN
11444 { echo "$as_me:$LINENO: result: $result" >&5
11445 echo "${ECHO_T}$result" >&6; }
11449 defaultval
=$wxUSE_ALL_FEATURES
11450 if test -z "$defaultval"; then
11451 if test x
"$enablestring" = xdisable
; then
11458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11459 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11460 # Check whether --enable-spinctrl was given.
11461 if test "${enable_spinctrl+set}" = set; then
11462 enableval
=$enable_spinctrl;
11463 if test "$enableval" = yes; then
11464 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11466 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11471 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11476 eval "$wx_cv_use_spinctrl"
11478 if test x"$enablestring" = xdisable; then
11479 if test $wxUSE_SPINCTRL = no; then
11485 result=$wxUSE_SPINCTRL
11488 { echo "$as_me:$LINENO: result: $result" >&5
11489 echo "${ECHO_T}$result" >&6; }
11493 defaultval=$wxUSE_ALL_FEATURES
11494 if test -z "$defaultval"; then
11495 if test x"$enablestring" = xdisable; then
11502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11503 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11504 # Check whether --enable-splitter was given.
11505 if test "${enable_splitter+set}" = set; then
11506 enableval=$enable_splitter;
11507 if test "$enableval" = yes; then
11508 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11510 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11515 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11520 eval "$wx_cv_use_splitter"
11522 if test x"$enablestring" = xdisable; then
11523 if test $wxUSE_SPLITTER = no; then
11529 result=$wxUSE_SPLITTER
11532 { echo "$as_me:$LINENO: result
: $result" >&5
11533 echo "${ECHO_T}$result" >&6; }
11537 defaultval=$wxUSE_ALL_FEATURES
11538 if test -z "$defaultval"; then
11539 if test x"$enablestring" = xdisable; then
11546 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11547 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11548 # Check whether --enable-statbmp was given.
11549 if test "${enable_statbmp+set}" = set; then
11550 enableval=$enable_statbmp;
11551 if test "$enableval" = yes; then
11552 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11554 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11559 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11564 eval "$wx_cv_use_statbmp"
11566 if test x
"$enablestring" = xdisable
; then
11567 if test $wxUSE_STATBMP = no
; then
11573 result
=$wxUSE_STATBMP
11576 { echo "$as_me:$LINENO: result: $result" >&5
11577 echo "${ECHO_T}$result" >&6; }
11581 defaultval
=$wxUSE_ALL_FEATURES
11582 if test -z "$defaultval"; then
11583 if test x
"$enablestring" = xdisable
; then
11590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11591 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11592 # Check whether --enable-statbox was given.
11593 if test "${enable_statbox+set}" = set; then
11594 enableval
=$enable_statbox;
11595 if test "$enableval" = yes; then
11596 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11598 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11603 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11608 eval "$wx_cv_use_statbox"
11610 if test x"$enablestring" = xdisable; then
11611 if test $wxUSE_STATBOX = no; then
11617 result=$wxUSE_STATBOX
11620 { echo "$as_me:$LINENO: result: $result" >&5
11621 echo "${ECHO_T}$result" >&6; }
11625 defaultval=$wxUSE_ALL_FEATURES
11626 if test -z "$defaultval"; then
11627 if test x"$enablestring" = xdisable; then
11634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11635 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11636 # Check whether --enable-statline was given.
11637 if test "${enable_statline+set}" = set; then
11638 enableval=$enable_statline;
11639 if test "$enableval" = yes; then
11640 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11642 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11647 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11652 eval "$wx_cv_use_statline"
11654 if test x"$enablestring" = xdisable; then
11655 if test $wxUSE_STATLINE = no; then
11661 result=$wxUSE_STATLINE
11664 { echo "$as_me:$LINENO: result
: $result" >&5
11665 echo "${ECHO_T}$result" >&6; }
11669 defaultval=$wxUSE_ALL_FEATURES
11670 if test -z "$defaultval"; then
11671 if test x"$enablestring" = xdisable; then
11678 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11679 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11680 # Check whether --enable-stattext was given.
11681 if test "${enable_stattext+set}" = set; then
11682 enableval=$enable_stattext;
11683 if test "$enableval" = yes; then
11684 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11686 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11691 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11696 eval "$wx_cv_use_stattext"
11698 if test x
"$enablestring" = xdisable
; then
11699 if test $wxUSE_STATTEXT = no
; then
11705 result
=$wxUSE_STATTEXT
11708 { echo "$as_me:$LINENO: result: $result" >&5
11709 echo "${ECHO_T}$result" >&6; }
11713 defaultval
=$wxUSE_ALL_FEATURES
11714 if test -z "$defaultval"; then
11715 if test x
"$enablestring" = xdisable
; then
11722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11723 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11724 # Check whether --enable-statusbar was given.
11725 if test "${enable_statusbar+set}" = set; then
11726 enableval
=$enable_statusbar;
11727 if test "$enableval" = yes; then
11728 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11730 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11735 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11740 eval "$wx_cv_use_statusbar"
11742 if test x"$enablestring" = xdisable; then
11743 if test $wxUSE_STATUSBAR = no; then
11749 result=$wxUSE_STATUSBAR
11752 { echo "$as_me:$LINENO: result: $result" >&5
11753 echo "${ECHO_T}$result" >&6; }
11757 defaultval=$wxUSE_ALL_FEATURES
11758 if test -z "$defaultval"; then
11759 if test x"$enablestring" = xdisable; then
11766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11767 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11768 # Check whether --enable-taskbaricon was given.
11769 if test "${enable_taskbaricon+set}" = set; then
11770 enableval=$enable_taskbaricon;
11771 if test "$enableval" = yes; then
11772 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
11774 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
11779 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11784 eval "$wx_cv_use_taskbaricon"
11786 if test x"$enablestring" = xdisable; then
11787 if test $wxUSE_TASKBARICON = no; then
11793 result=$wxUSE_TASKBARICON
11796 { echo "$as_me:$LINENO: result
: $result" >&5
11797 echo "${ECHO_T}$result" >&6; }
11801 defaultval=$wxUSE_ALL_FEATURES
11802 if test -z "$defaultval"; then
11803 if test x"$enablestring" = xdisable; then
11810 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
11811 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
11812 # Check whether --enable-tbarnative was given.
11813 if test "${enable_tbarnative+set}" = set; then
11814 enableval=$enable_tbarnative;
11815 if test "$enableval" = yes; then
11816 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11818 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11823 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11828 eval "$wx_cv_use_tbarnative"
11830 if test x
"$enablestring" = xdisable
; then
11831 if test $wxUSE_TOOLBAR_NATIVE = no
; then
11837 result
=$wxUSE_TOOLBAR_NATIVE
11840 { echo "$as_me:$LINENO: result: $result" >&5
11841 echo "${ECHO_T}$result" >&6; }
11845 defaultval
=$wxUSE_ALL_FEATURES
11846 if test -z "$defaultval"; then
11847 if test x
"$enablestring" = xdisable
; then
11854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11855 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11856 # Check whether --enable-textctrl was given.
11857 if test "${enable_textctrl+set}" = set; then
11858 enableval
=$enable_textctrl;
11859 if test "$enableval" = yes; then
11860 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11862 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11867 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11872 eval "$wx_cv_use_textctrl"
11874 if test x"$enablestring" = xdisable; then
11875 if test $wxUSE_TEXTCTRL = no; then
11881 result=$wxUSE_TEXTCTRL
11884 { echo "$as_me:$LINENO: result: $result" >&5
11885 echo "${ECHO_T}$result" >&6; }
11889 defaultval=$wxUSE_ALL_FEATURES
11890 if test -z "$defaultval"; then
11891 if test x"$enablestring" = xdisable; then
11898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11899 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11900 # Check whether --enable-tipwindow was given.
11901 if test "${enable_tipwindow+set}" = set; then
11902 enableval=$enable_tipwindow;
11903 if test "$enableval" = yes; then
11904 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
11906 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
11911 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11916 eval "$wx_cv_use_tipwindow"
11918 if test x"$enablestring" = xdisable; then
11919 if test $wxUSE_TIPWINDOW = no; then
11925 result=$wxUSE_TIPWINDOW
11928 { echo "$as_me:$LINENO: result
: $result" >&5
11929 echo "${ECHO_T}$result" >&6; }
11933 defaultval=$wxUSE_ALL_FEATURES
11934 if test -z "$defaultval"; then
11935 if test x"$enablestring" = xdisable; then
11942 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
11943 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
11944 # Check whether --enable-togglebtn was given.
11945 if test "${enable_togglebtn+set}" = set; then
11946 enableval=$enable_togglebtn;
11947 if test "$enableval" = yes; then
11948 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11950 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11955 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11960 eval "$wx_cv_use_togglebtn"
11962 if test x
"$enablestring" = xdisable
; then
11963 if test $wxUSE_TOGGLEBTN = no
; then
11969 result
=$wxUSE_TOGGLEBTN
11972 { echo "$as_me:$LINENO: result: $result" >&5
11973 echo "${ECHO_T}$result" >&6; }
11977 defaultval
=$wxUSE_ALL_FEATURES
11978 if test -z "$defaultval"; then
11979 if test x
"$enablestring" = xdisable
; then
11986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11987 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11988 # Check whether --enable-toolbar was given.
11989 if test "${enable_toolbar+set}" = set; then
11990 enableval
=$enable_toolbar;
11991 if test "$enableval" = yes; then
11992 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
11994 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
11999 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12004 eval "$wx_cv_use_toolbar"
12006 if test x"$enablestring" = xdisable; then
12007 if test $wxUSE_TOOLBAR = no; then
12013 result=$wxUSE_TOOLBAR
12016 { echo "$as_me:$LINENO: result: $result" >&5
12017 echo "${ECHO_T}$result" >&6; }
12021 defaultval=$wxUSE_ALL_FEATURES
12022 if test -z "$defaultval"; then
12023 if test x"$enablestring" = xdisable; then
12030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12031 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12032 # Check whether --enable-toolbook was given.
12033 if test "${enable_toolbook+set}" = set; then
12034 enableval=$enable_toolbook;
12035 if test "$enableval" = yes; then
12036 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12038 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12043 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12048 eval "$wx_cv_use_toolbook"
12050 if test x"$enablestring" = xdisable; then
12051 if test $wxUSE_TOOLBOOK = no; then
12057 result=$wxUSE_TOOLBOOK
12060 { echo "$as_me:$LINENO: result
: $result" >&5
12061 echo "${ECHO_T}$result" >&6; }
12065 defaultval=$wxUSE_ALL_FEATURES
12066 if test -z "$defaultval"; then
12067 if test x"$enablestring" = xdisable; then
12074 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12075 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12076 # Check whether --enable-treebook was given.
12077 if test "${enable_treebook+set}" = set; then
12078 enableval=$enable_treebook;
12079 if test "$enableval" = yes; then
12080 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12082 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12087 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12092 eval "$wx_cv_use_treebook"
12094 if test x
"$enablestring" = xdisable
; then
12095 if test $wxUSE_TREEBOOK = no
; then
12101 result
=$wxUSE_TREEBOOK
12104 { echo "$as_me:$LINENO: result: $result" >&5
12105 echo "${ECHO_T}$result" >&6; }
12109 defaultval
=$wxUSE_ALL_FEATURES
12110 if test -z "$defaultval"; then
12111 if test x
"$enablestring" = xdisable
; then
12118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12119 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12120 # Check whether --enable-treectrl was given.
12121 if test "${enable_treectrl+set}" = set; then
12122 enableval
=$enable_treectrl;
12123 if test "$enableval" = yes; then
12124 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12126 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12131 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12136 eval "$wx_cv_use_treectrl"
12138 if test x"$enablestring" = xdisable; then
12139 if test $wxUSE_TREECTRL = no; then
12145 result=$wxUSE_TREECTRL
12148 { echo "$as_me:$LINENO: result: $result" >&5
12149 echo "${ECHO_T}$result" >&6; }
12155 defaultval=$wxUSE_ALL_FEATURES
12156 if test -z "$defaultval"; then
12157 if test x"$enablestring" = xdisable; then
12164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12165 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12166 # Check whether --enable-commondlg was given.
12167 if test "${enable_commondlg+set}" = set; then
12168 enableval=$enable_commondlg;
12169 if test "$enableval" = yes; then
12170 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
12172 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
12177 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12182 eval "$wx_cv_use_commondlg"
12184 if test x"$enablestring" = xdisable; then
12185 if test $wxUSE_COMMONDLGS = no; then
12191 result=$wxUSE_COMMONDLGS
12194 { echo "$as_me:$LINENO: result
: $result" >&5
12195 echo "${ECHO_T}$result" >&6; }
12199 defaultval=$wxUSE_ALL_FEATURES
12200 if test -z "$defaultval"; then
12201 if test x"$enablestring" = xdisable; then
12208 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
12209 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
12210 # Check whether --enable-aboutdlg was given.
12211 if test "${enable_aboutdlg+set}" = set; then
12212 enableval=$enable_aboutdlg;
12213 if test "$enableval" = yes; then
12214 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12216 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12221 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12226 eval "$wx_cv_use_aboutdlg"
12228 if test x
"$enablestring" = xdisable
; then
12229 if test $wxUSE_ABOUTDLG = no
; then
12235 result
=$wxUSE_ABOUTDLG
12238 { echo "$as_me:$LINENO: result: $result" >&5
12239 echo "${ECHO_T}$result" >&6; }
12243 defaultval
=$wxUSE_ALL_FEATURES
12244 if test -z "$defaultval"; then
12245 if test x
"$enablestring" = xdisable
; then
12252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12253 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12254 # Check whether --enable-choicedlg was given.
12255 if test "${enable_choicedlg+set}" = set; then
12256 enableval
=$enable_choicedlg;
12257 if test "$enableval" = yes; then
12258 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
12260 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
12265 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12270 eval "$wx_cv_use_choicedlg"
12272 if test x"$enablestring" = xdisable; then
12273 if test $wxUSE_CHOICEDLG = no; then
12279 result=$wxUSE_CHOICEDLG
12282 { echo "$as_me:$LINENO: result: $result" >&5
12283 echo "${ECHO_T}$result" >&6; }
12287 defaultval=$wxUSE_ALL_FEATURES
12288 if test -z "$defaultval"; then
12289 if test x"$enablestring" = xdisable; then
12296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12297 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12298 # Check whether --enable-coldlg was given.
12299 if test "${enable_coldlg+set}" = set; then
12300 enableval=$enable_coldlg;
12301 if test "$enableval" = yes; then
12302 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
12304 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
12309 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12314 eval "$wx_cv_use_coldlg"
12316 if test x"$enablestring" = xdisable; then
12317 if test $wxUSE_COLOURDLG = no; then
12323 result=$wxUSE_COLOURDLG
12326 { echo "$as_me:$LINENO: result
: $result" >&5
12327 echo "${ECHO_T}$result" >&6; }
12331 defaultval=$wxUSE_ALL_FEATURES
12332 if test -z "$defaultval"; then
12333 if test x"$enablestring" = xdisable; then
12340 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
12341 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
12342 # Check whether --enable-filedlg was given.
12343 if test "${enable_filedlg+set}" = set; then
12344 enableval=$enable_filedlg;
12345 if test "$enableval" = yes; then
12346 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12348 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12353 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12358 eval "$wx_cv_use_filedlg"
12360 if test x
"$enablestring" = xdisable
; then
12361 if test $wxUSE_FILEDLG = no
; then
12367 result
=$wxUSE_FILEDLG
12370 { echo "$as_me:$LINENO: result: $result" >&5
12371 echo "${ECHO_T}$result" >&6; }
12375 defaultval
=$wxUSE_ALL_FEATURES
12376 if test -z "$defaultval"; then
12377 if test x
"$enablestring" = xdisable
; then
12384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12385 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12386 # Check whether --enable-finddlg was given.
12387 if test "${enable_finddlg+set}" = set; then
12388 enableval
=$enable_finddlg;
12389 if test "$enableval" = yes; then
12390 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
12392 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
12397 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12402 eval "$wx_cv_use_finddlg"
12404 if test x"$enablestring" = xdisable; then
12405 if test $wxUSE_FINDREPLDLG = no; then
12411 result=$wxUSE_FINDREPLDLG
12414 { echo "$as_me:$LINENO: result: $result" >&5
12415 echo "${ECHO_T}$result" >&6; }
12419 defaultval=$wxUSE_ALL_FEATURES
12420 if test -z "$defaultval"; then
12421 if test x"$enablestring" = xdisable; then
12428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12429 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12430 # Check whether --enable-fontdlg was given.
12431 if test "${enable_fontdlg+set}" = set; then
12432 enableval=$enable_fontdlg;
12433 if test "$enableval" = yes; then
12434 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
12436 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
12441 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12446 eval "$wx_cv_use_fontdlg"
12448 if test x"$enablestring" = xdisable; then
12449 if test $wxUSE_FONTDLG = no; then
12455 result=$wxUSE_FONTDLG
12458 { echo "$as_me:$LINENO: result
: $result" >&5
12459 echo "${ECHO_T}$result" >&6; }
12463 defaultval=$wxUSE_ALL_FEATURES
12464 if test -z "$defaultval"; then
12465 if test x"$enablestring" = xdisable; then
12472 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
12473 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
12474 # Check whether --enable-dirdlg was given.
12475 if test "${enable_dirdlg+set}" = set; then
12476 enableval=$enable_dirdlg;
12477 if test "$enableval" = yes; then
12478 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12480 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12485 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12490 eval "$wx_cv_use_dirdlg"
12492 if test x
"$enablestring" = xdisable
; then
12493 if test $wxUSE_DIRDLG = no
; then
12499 result
=$wxUSE_DIRDLG
12502 { echo "$as_me:$LINENO: result: $result" >&5
12503 echo "${ECHO_T}$result" >&6; }
12507 defaultval
=$wxUSE_ALL_FEATURES
12508 if test -z "$defaultval"; then
12509 if test x
"$enablestring" = xdisable
; then
12516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12517 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12518 # Check whether --enable-msgdlg was given.
12519 if test "${enable_msgdlg+set}" = set; then
12520 enableval
=$enable_msgdlg;
12521 if test "$enableval" = yes; then
12522 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
12524 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
12529 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12534 eval "$wx_cv_use_msgdlg"
12536 if test x"$enablestring" = xdisable; then
12537 if test $wxUSE_MSGDLG = no; then
12543 result=$wxUSE_MSGDLG
12546 { echo "$as_me:$LINENO: result: $result" >&5
12547 echo "${ECHO_T}$result" >&6; }
12551 defaultval=$wxUSE_ALL_FEATURES
12552 if test -z "$defaultval"; then
12553 if test x"$enablestring" = xdisable; then
12560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12561 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12562 # Check whether --enable-numberdlg was given.
12563 if test "${enable_numberdlg+set}" = set; then
12564 enableval=$enable_numberdlg;
12565 if test "$enableval" = yes; then
12566 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
12568 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
12573 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12578 eval "$wx_cv_use_numberdlg"
12580 if test x"$enablestring" = xdisable; then
12581 if test $wxUSE_NUMBERDLG = no; then
12587 result=$wxUSE_NUMBERDLG
12590 { echo "$as_me:$LINENO: result
: $result" >&5
12591 echo "${ECHO_T}$result" >&6; }
12595 defaultval=$wxUSE_ALL_FEATURES
12596 if test -z "$defaultval"; then
12597 if test x"$enablestring" = xdisable; then
12604 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
12605 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
12606 # Check whether --enable-splash was given.
12607 if test "${enable_splash+set}" = set; then
12608 enableval=$enable_splash;
12609 if test "$enableval" = yes; then
12610 wx_cv_use_splash='wxUSE_SPLASH=yes'
12612 wx_cv_use_splash='wxUSE_SPLASH=no'
12617 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12622 eval "$wx_cv_use_splash"
12624 if test x
"$enablestring" = xdisable
; then
12625 if test $wxUSE_SPLASH = no
; then
12631 result
=$wxUSE_SPLASH
12634 { echo "$as_me:$LINENO: result: $result" >&5
12635 echo "${ECHO_T}$result" >&6; }
12639 defaultval
=$wxUSE_ALL_FEATURES
12640 if test -z "$defaultval"; then
12641 if test x
"$enablestring" = xdisable
; then
12648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12649 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12650 # Check whether --enable-textdlg was given.
12651 if test "${enable_textdlg+set}" = set; then
12652 enableval
=$enable_textdlg;
12653 if test "$enableval" = yes; then
12654 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
12656 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
12661 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12666 eval "$wx_cv_use_textdlg"
12668 if test x"$enablestring" = xdisable; then
12669 if test $wxUSE_TEXTDLG = no; then
12675 result=$wxUSE_TEXTDLG
12678 { echo "$as_me:$LINENO: result: $result" >&5
12679 echo "${ECHO_T}$result" >&6; }
12683 defaultval=$wxUSE_ALL_FEATURES
12684 if test -z "$defaultval"; then
12685 if test x"$enablestring" = xdisable; then
12692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12693 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12694 # Check whether --enable-tipdlg was given.
12695 if test "${enable_tipdlg+set}" = set; then
12696 enableval=$enable_tipdlg;
12697 if test "$enableval" = yes; then
12698 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
12700 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
12705 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12710 eval "$wx_cv_use_tipdlg"
12712 if test x"$enablestring" = xdisable; then
12713 if test $wxUSE_STARTUP_TIPS = no; then
12719 result=$wxUSE_STARTUP_TIPS
12722 { echo "$as_me:$LINENO: result
: $result" >&5
12723 echo "${ECHO_T}$result" >&6; }
12727 defaultval=$wxUSE_ALL_FEATURES
12728 if test -z "$defaultval"; then
12729 if test x"$enablestring" = xdisable; then
12736 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
12737 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
12738 # Check whether --enable-progressdlg was given.
12739 if test "${enable_progressdlg+set}" = set; then
12740 enableval=$enable_progressdlg;
12741 if test "$enableval" = yes; then
12742 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12744 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12749 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12754 eval "$wx_cv_use_progressdlg"
12756 if test x
"$enablestring" = xdisable
; then
12757 if test $wxUSE_PROGRESSDLG = no
; then
12763 result
=$wxUSE_PROGRESSDLG
12766 { echo "$as_me:$LINENO: result: $result" >&5
12767 echo "${ECHO_T}$result" >&6; }
12771 defaultval
=$wxUSE_ALL_FEATURES
12772 if test -z "$defaultval"; then
12773 if test x
"$enablestring" = xdisable
; then
12780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12781 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12782 # Check whether --enable-wizarddlg was given.
12783 if test "${enable_wizarddlg+set}" = set; then
12784 enableval
=$enable_wizarddlg;
12785 if test "$enableval" = yes; then
12786 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
12788 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
12793 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12798 eval "$wx_cv_use_wizarddlg"
12800 if test x"$enablestring" = xdisable; then
12801 if test $wxUSE_WIZARDDLG = no; then
12807 result=$wxUSE_WIZARDDLG
12810 { echo "$as_me:$LINENO: result: $result" >&5
12811 echo "${ECHO_T}$result" >&6; }
12817 defaultval=$wxUSE_ALL_FEATURES
12818 if test -z "$defaultval"; then
12819 if test x"$enablestring" = xdisable; then
12826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12827 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12828 # Check whether --enable-menus was given.
12829 if test "${enable_menus+set}" = set; then
12830 enableval=$enable_menus;
12831 if test "$enableval" = yes; then
12832 wx_cv_use_menus='wxUSE_MENUS
=yes'
12834 wx_cv_use_menus='wxUSE_MENUS
=no
'
12839 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12844 eval "$wx_cv_use_menus"
12846 if test x"$enablestring" = xdisable; then
12847 if test $wxUSE_MENUS = no; then
12853 result=$wxUSE_MENUS
12856 { echo "$as_me:$LINENO: result
: $result" >&5
12857 echo "${ECHO_T}$result" >&6; }
12861 defaultval=$wxUSE_ALL_FEATURES
12862 if test -z "$defaultval"; then
12863 if test x"$enablestring" = xdisable; then
12870 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
12871 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
12872 # Check whether --enable-miniframe was given.
12873 if test "${enable_miniframe+set}" = set; then
12874 enableval=$enable_miniframe;
12875 if test "$enableval" = yes; then
12876 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12878 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12883 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12888 eval "$wx_cv_use_miniframe"
12890 if test x
"$enablestring" = xdisable
; then
12891 if test $wxUSE_MINIFRAME = no
; then
12897 result
=$wxUSE_MINIFRAME
12900 { echo "$as_me:$LINENO: result: $result" >&5
12901 echo "${ECHO_T}$result" >&6; }
12905 defaultval
=$wxUSE_ALL_FEATURES
12906 if test -z "$defaultval"; then
12907 if test x
"$enablestring" = xdisable
; then
12914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12915 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12916 # Check whether --enable-tooltips was given.
12917 if test "${enable_tooltips+set}" = set; then
12918 enableval
=$enable_tooltips;
12919 if test "$enableval" = yes; then
12920 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
12922 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
12927 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12932 eval "$wx_cv_use_tooltips"
12934 if test x"$enablestring" = xdisable; then
12935 if test $wxUSE_TOOLTIPS = no; then
12941 result=$wxUSE_TOOLTIPS
12944 { echo "$as_me:$LINENO: result: $result" >&5
12945 echo "${ECHO_T}$result" >&6; }
12949 defaultval=$wxUSE_ALL_FEATURES
12950 if test -z "$defaultval"; then
12951 if test x"$enablestring" = xdisable; then
12958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12959 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12960 # Check whether --enable-splines was given.
12961 if test "${enable_splines+set}" = set; then
12962 enableval=$enable_splines;
12963 if test "$enableval" = yes; then
12964 wx_cv_use_splines='wxUSE_SPLINES
=yes'
12966 wx_cv_use_splines='wxUSE_SPLINES
=no
'
12971 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12976 eval "$wx_cv_use_splines"
12978 if test x"$enablestring" = xdisable; then
12979 if test $wxUSE_SPLINES = no; then
12985 result=$wxUSE_SPLINES
12988 { echo "$as_me:$LINENO: result
: $result" >&5
12989 echo "${ECHO_T}$result" >&6; }
12993 defaultval=$wxUSE_ALL_FEATURES
12994 if test -z "$defaultval"; then
12995 if test x"$enablestring" = xdisable; then
13002 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
13003 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
13004 # Check whether --enable-mousewheel was given.
13005 if test "${enable_mousewheel+set}" = set; then
13006 enableval=$enable_mousewheel;
13007 if test "$enableval" = yes; then
13008 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13010 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13015 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13020 eval "$wx_cv_use_mousewheel"
13022 if test x
"$enablestring" = xdisable
; then
13023 if test $wxUSE_MOUSEWHEEL = no
; then
13029 result
=$wxUSE_MOUSEWHEEL
13032 { echo "$as_me:$LINENO: result: $result" >&5
13033 echo "${ECHO_T}$result" >&6; }
13037 defaultval
=$wxUSE_ALL_FEATURES
13038 if test -z "$defaultval"; then
13039 if test x
"$enablestring" = xdisable
; then
13046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13047 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13048 # Check whether --enable-validators was given.
13049 if test "${enable_validators+set}" = set; then
13050 enableval
=$enable_validators;
13051 if test "$enableval" = yes; then
13052 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
13054 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
13059 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13064 eval "$wx_cv_use_validators"
13066 if test x"$enablestring" = xdisable; then
13067 if test $wxUSE_VALIDATORS = no; then
13073 result=$wxUSE_VALIDATORS
13076 { echo "$as_me:$LINENO: result: $result" >&5
13077 echo "${ECHO_T}$result" >&6; }
13081 defaultval=$wxUSE_ALL_FEATURES
13082 if test -z "$defaultval"; then
13083 if test x"$enablestring" = xdisable; then
13090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13091 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13092 # Check whether --enable-busyinfo was given.
13093 if test "${enable_busyinfo+set}" = set; then
13094 enableval=$enable_busyinfo;
13095 if test "$enableval" = yes; then
13096 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
13098 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
13103 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13108 eval "$wx_cv_use_busyinfo"
13110 if test x"$enablestring" = xdisable; then
13111 if test $wxUSE_BUSYINFO = no; then
13117 result=$wxUSE_BUSYINFO
13120 { echo "$as_me:$LINENO: result
: $result" >&5
13121 echo "${ECHO_T}$result" >&6; }
13125 defaultval=$wxUSE_ALL_FEATURES
13126 if test -z "$defaultval"; then
13127 if test x"$enablestring" = xdisable; then
13134 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-joystick" >&5
13135 echo $ECHO_N "checking
for --${enablestring:-enable}-joystick...
$ECHO_C" >&6; }
13136 # Check whether --enable-joystick was given.
13137 if test "${enable_joystick+set}" = set; then
13138 enableval=$enable_joystick;
13139 if test "$enableval" = yes; then
13140 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13142 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13147 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13152 eval "$wx_cv_use_joystick"
13154 if test x
"$enablestring" = xdisable
; then
13155 if test $wxUSE_JOYSTICK = no
; then
13161 result
=$wxUSE_JOYSTICK
13164 { echo "$as_me:$LINENO: result: $result" >&5
13165 echo "${ECHO_T}$result" >&6; }
13169 defaultval
=$wxUSE_ALL_FEATURES
13170 if test -z "$defaultval"; then
13171 if test x
"$enablestring" = xdisable
; then
13178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13179 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13180 # Check whether --enable-metafile was given.
13181 if test "${enable_metafile+set}" = set; then
13182 enableval
=$enable_metafile;
13183 if test "$enableval" = yes; then
13184 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
13186 wx_cv_use_metafile
='wxUSE_METAFILE=no'
13191 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13196 eval "$wx_cv_use_metafile"
13198 if test x"$enablestring" = xdisable; then
13199 if test $wxUSE_METAFILE = no; then
13205 result=$wxUSE_METAFILE
13208 { echo "$as_me:$LINENO: result: $result" >&5
13209 echo "${ECHO_T}$result" >&6; }
13213 defaultval=$wxUSE_ALL_FEATURES
13214 if test -z "$defaultval"; then
13215 if test x"$enablestring" = xdisable; then
13222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13223 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13224 # Check whether --enable-dragimage was given.
13225 if test "${enable_dragimage+set}" = set; then
13226 enableval=$enable_dragimage;
13227 if test "$enableval" = yes; then
13228 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=yes'
13230 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=no
'
13235 wx_cv_use_dragimage='wxUSE_DRAGIMAGE
=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13240 eval "$wx_cv_use_dragimage"
13242 if test x"$enablestring" = xdisable; then
13243 if test $wxUSE_DRAGIMAGE = no; then
13249 result=$wxUSE_DRAGIMAGE
13252 { echo "$as_me:$LINENO: result
: $result" >&5
13253 echo "${ECHO_T}$result" >&6; }
13257 defaultval=$wxUSE_ALL_FEATURES
13258 if test -z "$defaultval"; then
13259 if test x"$enablestring" = xdisable; then
13266 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accessibility" >&5
13267 echo $ECHO_N "checking
for --${enablestring:-enable}-accessibility...
$ECHO_C" >&6; }
13268 # Check whether --enable-accessibility was given.
13269 if test "${enable_accessibility+set}" = set; then
13270 enableval=$enable_accessibility;
13271 if test "$enableval" = yes; then
13272 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13274 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13279 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13284 eval "$wx_cv_use_accessibility"
13286 if test x
"$enablestring" = xdisable
; then
13287 if test $wxUSE_ACCESSIBILITY = no
; then
13293 result
=$wxUSE_ACCESSIBILITY
13296 { echo "$as_me:$LINENO: result: $result" >&5
13297 echo "${ECHO_T}$result" >&6; }
13303 defaultval
=$wxUSE_ALL_FEATURES
13304 if test -z "$defaultval"; then
13305 if test x
"$enablestring" = xdisable
; then
13312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13313 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13314 # Check whether --enable-palette was given.
13315 if test "${enable_palette+set}" = set; then
13316 enableval
=$enable_palette;
13317 if test "$enableval" = yes; then
13318 wx_cv_use_palette
='wxUSE_PALETTE=yes'
13320 wx_cv_use_palette
='wxUSE_PALETTE=no'
13325 wx_cv_use_palette
='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13330 eval "$wx_cv_use_palette"
13332 if test x"$enablestring" = xdisable; then
13333 if test $wxUSE_PALETTE = no; then
13339 result=$wxUSE_PALETTE
13342 { echo "$as_me:$LINENO: result: $result" >&5
13343 echo "${ECHO_T}$result" >&6; }
13347 defaultval=$wxUSE_ALL_FEATURES
13348 if test -z "$defaultval"; then
13349 if test x"$enablestring" = xdisable; then
13356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13357 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13358 # Check whether --enable-image was given.
13359 if test "${enable_image+set}" = set; then
13360 enableval=$enable_image;
13361 if test "$enableval" = yes; then
13362 wx_cv_use_image='wxUSE_IMAGE
=yes'
13364 wx_cv_use_image='wxUSE_IMAGE
=no
'
13369 wx_cv_use_image='wxUSE_IMAGE
=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13374 eval "$wx_cv_use_image"
13376 if test x"$enablestring" = xdisable; then
13377 if test $wxUSE_IMAGE = no; then
13383 result=$wxUSE_IMAGE
13386 { echo "$as_me:$LINENO: result
: $result" >&5
13387 echo "${ECHO_T}$result" >&6; }
13391 defaultval=$wxUSE_ALL_FEATURES
13392 if test -z "$defaultval"; then
13393 if test x"$enablestring" = xdisable; then
13400 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gif" >&5
13401 echo $ECHO_N "checking
for --${enablestring:-enable}-gif...
$ECHO_C" >&6; }
13402 # Check whether --enable-gif was given.
13403 if test "${enable_gif+set}" = set; then
13404 enableval=$enable_gif;
13405 if test "$enableval" = yes; then
13406 wx_cv_use_gif='wxUSE_GIF=yes'
13408 wx_cv_use_gif='wxUSE_GIF=no'
13413 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13418 eval "$wx_cv_use_gif"
13420 if test x
"$enablestring" = xdisable
; then
13421 if test $wxUSE_GIF = no
; then
13430 { echo "$as_me:$LINENO: result: $result" >&5
13431 echo "${ECHO_T}$result" >&6; }
13435 defaultval
=$wxUSE_ALL_FEATURES
13436 if test -z "$defaultval"; then
13437 if test x
"$enablestring" = xdisable
; then
13444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13445 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13446 # Check whether --enable-pcx was given.
13447 if test "${enable_pcx+set}" = set; then
13448 enableval
=$enable_pcx;
13449 if test "$enableval" = yes; then
13450 wx_cv_use_pcx
='wxUSE_PCX=yes'
13452 wx_cv_use_pcx
='wxUSE_PCX=no'
13457 wx_cv_use_pcx
='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13462 eval "$wx_cv_use_pcx"
13464 if test x"$enablestring" = xdisable; then
13465 if test $wxUSE_PCX = no; then
13474 { echo "$as_me:$LINENO: result: $result" >&5
13475 echo "${ECHO_T}$result" >&6; }
13479 defaultval=$wxUSE_ALL_FEATURES
13480 if test -z "$defaultval"; then
13481 if test x"$enablestring" = xdisable; then
13488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13489 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13490 # Check whether --enable-tga was given.
13491 if test "${enable_tga+set}" = set; then
13492 enableval=$enable_tga;
13493 if test "$enableval" = yes; then
13494 wx_cv_use_tga='wxUSE_TGA
=yes'
13496 wx_cv_use_tga='wxUSE_TGA
=no
'
13501 wx_cv_use_tga='wxUSE_TGA
=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13506 eval "$wx_cv_use_tga"
13508 if test x"$enablestring" = xdisable; then
13509 if test $wxUSE_TGA = no; then
13518 { echo "$as_me:$LINENO: result
: $result" >&5
13519 echo "${ECHO_T}$result" >&6; }
13523 defaultval=$wxUSE_ALL_FEATURES
13524 if test -z "$defaultval"; then
13525 if test x"$enablestring" = xdisable; then
13532 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iff" >&5
13533 echo $ECHO_N "checking
for --${enablestring:-enable}-iff...
$ECHO_C" >&6; }
13534 # Check whether --enable-iff was given.
13535 if test "${enable_iff+set}" = set; then
13536 enableval=$enable_iff;
13537 if test "$enableval" = yes; then
13538 wx_cv_use_iff='wxUSE_IFF=yes'
13540 wx_cv_use_iff='wxUSE_IFF=no'
13545 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13550 eval "$wx_cv_use_iff"
13552 if test x
"$enablestring" = xdisable
; then
13553 if test $wxUSE_IFF = no
; then
13562 { echo "$as_me:$LINENO: result: $result" >&5
13563 echo "${ECHO_T}$result" >&6; }
13567 defaultval
=$wxUSE_ALL_FEATURES
13568 if test -z "$defaultval"; then
13569 if test x
"$enablestring" = xdisable
; then
13576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13577 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13578 # Check whether --enable-pnm was given.
13579 if test "${enable_pnm+set}" = set; then
13580 enableval
=$enable_pnm;
13581 if test "$enableval" = yes; then
13582 wx_cv_use_pnm
='wxUSE_PNM=yes'
13584 wx_cv_use_pnm
='wxUSE_PNM=no'
13589 wx_cv_use_pnm
='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13594 eval "$wx_cv_use_pnm"
13596 if test x"$enablestring" = xdisable; then
13597 if test $wxUSE_PNM = no; then
13606 { echo "$as_me:$LINENO: result: $result" >&5
13607 echo "${ECHO_T}$result" >&6; }
13611 defaultval=$wxUSE_ALL_FEATURES
13612 if test -z "$defaultval"; then
13613 if test x"$enablestring" = xdisable; then
13620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13621 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13622 # Check whether --enable-xpm was given.
13623 if test "${enable_xpm+set}" = set; then
13624 enableval=$enable_xpm;
13625 if test "$enableval" = yes; then
13626 wx_cv_use_xpm='wxUSE_XPM
=yes'
13628 wx_cv_use_xpm='wxUSE_XPM
=no
'
13633 wx_cv_use_xpm='wxUSE_XPM
=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13638 eval "$wx_cv_use_xpm"
13640 if test x"$enablestring" = xdisable; then
13641 if test $wxUSE_XPM = no; then
13650 { echo "$as_me:$LINENO: result
: $result" >&5
13651 echo "${ECHO_T}$result" >&6; }
13655 defaultval=$wxUSE_ALL_FEATURES
13656 if test -z "$defaultval"; then
13657 if test x"$enablestring" = xdisable; then
13664 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ico_cur" >&5
13665 echo $ECHO_N "checking
for --${enablestring:-enable}-ico_cur...
$ECHO_C" >&6; }
13666 # Check whether --enable-ico_cur was given.
13667 if test "${enable_ico_cur+set}" = set; then
13668 enableval=$enable_ico_cur;
13669 if test "$enableval" = yes; then
13670 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13672 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13677 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13682 eval "$wx_cv_use_ico_cur"
13684 if test x
"$enablestring" = xdisable
; then
13685 if test $wxUSE_ICO_CUR = no
; then
13691 result
=$wxUSE_ICO_CUR
13694 { echo "$as_me:$LINENO: result: $result" >&5
13695 echo "${ECHO_T}$result" >&6; }
13701 defaultval
=$wxUSE_ALL_FEATURES
13702 if test -z "$defaultval"; then
13703 if test x
"$enablestring" = xdisable
; then
13710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13711 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13712 # Check whether --enable-dccache was given.
13713 if test "${enable_dccache+set}" = set; then
13714 enableval
=$enable_dccache;
13715 if test "$enableval" = yes; then
13716 wx_cv_use_dccache
='wxUSE_DC_CACHEING=yes'
13718 wx_cv_use_dccache
='wxUSE_DC_CACHEING=no'
13723 wx_cv_use_dccache
='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13728 eval "$wx_cv_use_dccache"
13730 if test x"$enablestring" = xdisable; then
13731 if test $wxUSE_DC_CACHEING = no; then
13737 result=$wxUSE_DC_CACHEING
13740 { echo "$as_me:$LINENO: result: $result" >&5
13741 echo "${ECHO_T}$result" >&6; }
13745 defaultval=$wxUSE_ALL_FEATURES
13746 if test -z "$defaultval"; then
13747 if test x"$enablestring" = xdisable; then
13754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13755 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13756 # Check whether --enable-ps-in-msw was given.
13757 if test "${enable_ps_in_msw+set}" = set; then
13758 enableval=$enable_ps_in_msw;
13759 if test "$enableval" = yes; then
13760 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=yes'
13762 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=no
'
13767 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13772 eval "$wx_cv_use_ps_in_msw"
13774 if test x"$enablestring" = xdisable; then
13775 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
13781 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13784 { echo "$as_me:$LINENO: result
: $result" >&5
13785 echo "${ECHO_T}$result" >&6; }
13789 defaultval=$wxUSE_ALL_FEATURES
13790 if test -z "$defaultval"; then
13791 if test x"$enablestring" = xdisable; then
13798 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ownerdrawn" >&5
13799 echo $ECHO_N "checking
for --${enablestring:-enable}-ownerdrawn...
$ECHO_C" >&6; }
13800 # Check whether --enable-ownerdrawn was given.
13801 if test "${enable_ownerdrawn+set}" = set; then
13802 enableval=$enable_ownerdrawn;
13803 if test "$enableval" = yes; then
13804 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13806 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13811 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13816 eval "$wx_cv_use_ownerdrawn"
13818 if test x
"$enablestring" = xdisable
; then
13819 if test $wxUSE_OWNER_DRAWN = no
; then
13825 result
=$wxUSE_OWNER_DRAWN
13828 { echo "$as_me:$LINENO: result: $result" >&5
13829 echo "${ECHO_T}$result" >&6; }
13833 defaultval
=$wxUSE_ALL_FEATURES
13834 if test -z "$defaultval"; then
13835 if test x
"$enablestring" = xdisable
; then
13842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13843 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13844 # Check whether --enable-uxtheme was given.
13845 if test "${enable_uxtheme+set}" = set; then
13846 enableval
=$enable_uxtheme;
13847 if test "$enableval" = yes; then
13848 wx_cv_use_uxtheme
='wxUSE_UXTHEME=yes'
13850 wx_cv_use_uxtheme
='wxUSE_UXTHEME=no'
13855 wx_cv_use_uxtheme
='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13860 eval "$wx_cv_use_uxtheme"
13862 if test x"$enablestring" = xdisable; then
13863 if test $wxUSE_UXTHEME = no; then
13869 result=$wxUSE_UXTHEME
13872 { echo "$as_me:$LINENO: result: $result" >&5
13873 echo "${ECHO_T}$result" >&6; }
13877 defaultval=$wxUSE_ALL_FEATURES
13878 if test -z "$defaultval"; then
13879 if test x"$enablestring" = xdisable; then
13886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13887 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13888 # Check whether --enable-wxdib was given.
13889 if test "${enable_wxdib+set}" = set; then
13890 enableval=$enable_wxdib;
13891 if test "$enableval" = yes; then
13892 wx_cv_use_wxdib='wxUSE_DIB
=yes'
13894 wx_cv_use_wxdib='wxUSE_DIB
=no
'
13899 wx_cv_use_wxdib='wxUSE_DIB
=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13904 eval "$wx_cv_use_wxdib"
13906 if test x"$enablestring" = xdisable; then
13907 if test $wxUSE_DIB = no; then
13916 { echo "$as_me:$LINENO: result
: $result" >&5
13917 echo "${ECHO_T}$result" >&6; }
13920 if test "$wxUSE_MSW" != 1; then
13921 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13926 defaultval=$wxUSE_ALL_FEATURES
13927 if test -z "$defaultval"; then
13928 if test x"$enablestring" = xdisable; then
13935 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
13936 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
13937 # Check whether --enable-autoidman was given.
13938 if test "${enable_autoidman+set}" = set; then
13939 enableval=$enable_autoidman;
13940 if test "$enableval" = yes; then
13941 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13943 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13948 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13953 eval "$wx_cv_use_autoidman"
13955 if test x
"$enablestring" = xdisable
; then
13956 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
13962 result
=$wxUSE_AUTOID_MANAGEMENT
13965 { echo "$as_me:$LINENO: result: $result" >&5
13966 echo "${ECHO_T}$result" >&6; }
13972 cat >confcache
<<\_ACEOF
13973 # This file is a shell script that caches the results of configure
13974 # tests run on this system so they can be shared between configure
13975 # scripts and configure runs, see configure's option --config-cache.
13976 # It is not useful on other systems. If it contains results you don't
13977 # want to keep, you may remove or edit it.
13979 # config.status only pays attention to the cache file if you give it
13980 # the --recheck option to rerun configure.
13982 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13983 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13984 # following values.
13988 # The following way of writing the cache mishandles newlines in values,
13989 # but we know of no workaround that is simple, portable, and efficient.
13990 # So, we kill variables containing newlines.
13991 # Ultrix sh set writes to stderr and can't be redirected directly,
13992 # and sets the high bit in the cache file unless we assign to the vars.
13994 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13995 eval ac_val
=\$
$ac_var
13999 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14000 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14003 _
| IFS
| as_nl
) ;; #(
14004 *) $as_unset $ac_var ;;
14010 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14011 *${as_nl}ac_space
=\
*)
14012 # `set' does not quote correctly, so add quotes (double-quote
14013 # substitution turns \\\\ into \\, and sed turns \\ into \).
14016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14019 # `set' quotes correctly as required by POSIX, so do not add quotes.
14020 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14029 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14031 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14033 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14034 if test -w "$cache_file"; then
14035 test "x$cache_file" != "x/dev/null" &&
14036 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14037 echo "$as_me: updating cache $cache_file" >&6;}
14038 cat confcache
>$cache_file
14040 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14041 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14051 ac_cpp
='$CPP $CPPFLAGS'
14052 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14053 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14054 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14055 if test -n "$ac_tool_prefix"; then
14056 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14057 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14060 if test "${ac_cv_prog_CC+set}" = set; then
14061 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 if test -n "$CC"; then
14064 ac_cv_prog_CC
="$CC" # Let the user override the test.
14066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14067 for as_dir
in $PATH
14070 test -z "$as_dir" && as_dir
=.
14071 for ac_exec_ext
in '' $ac_executable_extensions; do
14072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14073 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14084 if test -n "$CC"; then
14085 { echo "$as_me:$LINENO: result: $CC" >&5
14086 echo "${ECHO_T}$CC" >&6; }
14088 { echo "$as_me:$LINENO: result: no" >&5
14089 echo "${ECHO_T}no" >&6; }
14094 if test -z "$ac_cv_prog_CC"; then
14096 # Extract the first word of "gcc", so it can be a program name with args.
14097 set dummy gcc
; ac_word
=$2
14098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14100 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14101 echo $ECHO_N "(cached) $ECHO_C" >&6
14103 if test -n "$ac_ct_CC"; then
14104 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14107 for as_dir
in $PATH
14110 test -z "$as_dir" && as_dir
=.
14111 for ac_exec_ext
in '' $ac_executable_extensions; do
14112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14113 ac_cv_prog_ac_ct_CC
="gcc"
14114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14123 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14124 if test -n "$ac_ct_CC"; then
14125 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14126 echo "${ECHO_T}$ac_ct_CC" >&6; }
14128 { echo "$as_me:$LINENO: result: no" >&5
14129 echo "${ECHO_T}no" >&6; }
14132 if test "x$ac_ct_CC" = x
; then
14135 case $cross_compiling:$ac_tool_warned in
14137 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14138 whose name does not start with the host triplet. If you think this
14139 configuration is useful to you, please write to autoconf@gnu.org." >&5
14140 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14141 whose name does not start with the host triplet. If you think this
14142 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14143 ac_tool_warned
=yes ;;
14148 CC
="$ac_cv_prog_CC"
14151 if test -z "$CC"; then
14152 if test -n "$ac_tool_prefix"; then
14153 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14154 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14157 if test "${ac_cv_prog_CC+set}" = set; then
14158 echo $ECHO_N "(cached) $ECHO_C" >&6
14160 if test -n "$CC"; then
14161 ac_cv_prog_CC
="$CC" # Let the user override the test.
14163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14164 for as_dir
in $PATH
14167 test -z "$as_dir" && as_dir
=.
14168 for ac_exec_ext
in '' $ac_executable_extensions; do
14169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14170 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14181 if test -n "$CC"; then
14182 { echo "$as_me:$LINENO: result: $CC" >&5
14183 echo "${ECHO_T}$CC" >&6; }
14185 { echo "$as_me:$LINENO: result: no" >&5
14186 echo "${ECHO_T}no" >&6; }
14192 if test -z "$CC"; then
14193 # Extract the first word of "cc", so it can be a program name with args.
14194 set dummy cc
; ac_word
=$2
14195 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14197 if test "${ac_cv_prog_CC+set}" = set; then
14198 echo $ECHO_N "(cached) $ECHO_C" >&6
14200 if test -n "$CC"; then
14201 ac_cv_prog_CC
="$CC" # Let the user override the test.
14203 ac_prog_rejected
=no
14204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14205 for as_dir
in $PATH
14208 test -z "$as_dir" && as_dir
=.
14209 for ac_exec_ext
in '' $ac_executable_extensions; do
14210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14211 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14212 ac_prog_rejected
=yes
14216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14223 if test $ac_prog_rejected = yes; then
14224 # We found a bogon in the path, so make sure we never use it.
14225 set dummy
$ac_cv_prog_CC
14227 if test $# != 0; then
14228 # We chose a different compiler from the bogus one.
14229 # However, it has the same basename, so the bogon will be chosen
14230 # first if we set CC to just the basename; use the full file name.
14232 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14238 if test -n "$CC"; then
14239 { echo "$as_me:$LINENO: result: $CC" >&5
14240 echo "${ECHO_T}$CC" >&6; }
14242 { echo "$as_me:$LINENO: result: no" >&5
14243 echo "${ECHO_T}no" >&6; }
14248 if test -z "$CC"; then
14249 if test -n "$ac_tool_prefix"; then
14250 for ac_prog
in cl.exe
14252 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14253 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14254 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14256 if test "${ac_cv_prog_CC+set}" = set; then
14257 echo $ECHO_N "(cached) $ECHO_C" >&6
14259 if test -n "$CC"; then
14260 ac_cv_prog_CC
="$CC" # Let the user override the test.
14262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14263 for as_dir
in $PATH
14266 test -z "$as_dir" && as_dir
=.
14267 for ac_exec_ext
in '' $ac_executable_extensions; do
14268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14269 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14280 if test -n "$CC"; then
14281 { echo "$as_me:$LINENO: result: $CC" >&5
14282 echo "${ECHO_T}$CC" >&6; }
14284 { echo "$as_me:$LINENO: result: no" >&5
14285 echo "${ECHO_T}no" >&6; }
14289 test -n "$CC" && break
14292 if test -z "$CC"; then
14294 for ac_prog
in cl.exe
14296 # Extract the first word of "$ac_prog", so it can be a program name with args.
14297 set dummy
$ac_prog; ac_word
=$2
14298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14300 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14301 echo $ECHO_N "(cached) $ECHO_C" >&6
14303 if test -n "$ac_ct_CC"; then
14304 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14307 for as_dir
in $PATH
14310 test -z "$as_dir" && as_dir
=.
14311 for ac_exec_ext
in '' $ac_executable_extensions; do
14312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14313 ac_cv_prog_ac_ct_CC
="$ac_prog"
14314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14323 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14324 if test -n "$ac_ct_CC"; then
14325 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14326 echo "${ECHO_T}$ac_ct_CC" >&6; }
14328 { echo "$as_me:$LINENO: result: no" >&5
14329 echo "${ECHO_T}no" >&6; }
14333 test -n "$ac_ct_CC" && break
14336 if test "x$ac_ct_CC" = x
; then
14339 case $cross_compiling:$ac_tool_warned in
14341 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14342 whose name does not start with the host triplet. If you think this
14343 configuration is useful to you, please write to autoconf@gnu.org." >&5
14344 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14345 whose name does not start with the host triplet. If you think this
14346 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14347 ac_tool_warned
=yes ;;
14356 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14357 See \`config.log' for more details." >&5
14358 echo "$as_me: error: no acceptable C compiler found in \$PATH
14359 See \`config.log' for more details." >&2;}
14360 { (exit 1); exit 1; }; }
14362 # Provide some information about the compiler.
14363 echo "$as_me:$LINENO: checking for C compiler version" >&5
14364 ac_compiler
=`set X $ac_compile; echo $2`
14365 { (ac_try
="$ac_compiler --version >&5"
14366 case "(($ac_try" in
14367 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14368 *) ac_try_echo=$ac_try;;
14370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14371 (eval "$ac_compiler --version >&5") 2>&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); }
14375 { (ac_try="$ac_compiler -v >&5"
14376 case "(($ac_try" in
14377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14378 *) ac_try_echo
=$ac_try;;
14380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14381 (eval "$ac_compiler -v >&5") 2>&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); }
14385 { (ac_try
="$ac_compiler -V >&5"
14386 case "(($ac_try" in
14387 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14388 *) ac_try_echo=$ac_try;;
14390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14391 (eval "$ac_compiler -V >&5") 2>&5
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }
14396 cat >conftest.$ac_ext <<_ACEOF
14399 cat confdefs.h >>conftest.$ac_ext
14400 cat >>conftest.$ac_ext <<_ACEOF
14401 /* end confdefs.h. */
14411 ac_clean_files_save=$ac_clean_files
14412 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14413 # Try to create an executable without -o first, disregard a.out.
14414 # It will help us diagnose broken compilers, and finding out an intuition
14416 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14417 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14418 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14420 # List of possible output files, starting from the most likely.
14421 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14422 # only as a last resort. b.out is created by i960 compilers.
14423 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14425 # The IRIX 6 linker writes into existing files which may not be
14426 # executable, retaining their permissions. Remove them first so a
14427 # subsequent execution test works.
14429 for ac_file in $ac_files
14432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14433 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14438 if { (ac_try="$ac_link_default"
14439 case "(($ac_try" in
14440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14441 *) ac_try_echo=$ac_try;;
14443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14444 (eval "$ac_link_default") 2>&5
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); }; then
14448 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14449 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14450 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14451 # so that the user can short-circuit this test for compilers unknown to
14453 for ac_file
in $ac_files ''
14455 test -f "$ac_file" || continue
14457 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14460 # We found the default executable, but exeext='' is most
14464 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14466 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14468 # We set ac_cv_exeext here because the later test for it is not
14469 # safe: cross compilers may not add the suffix if given an `-o'
14470 # argument, so we may need to know it at that point already.
14471 # Even if this section looks crufty: it has the advantage of
14472 # actually working.
14478 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14484 { echo "$as_me:$LINENO: result: $ac_file" >&5
14485 echo "${ECHO_T}$ac_file" >&6; }
14486 if test -z "$ac_file"; then
14487 echo "$as_me: failed program was:" >&5
14488 sed 's/^/| /' conftest.
$ac_ext >&5
14490 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14491 See \`config.log' for more details." >&5
14492 echo "$as_me: error: C compiler cannot create executables
14493 See \`config.log' for more details." >&2;}
14494 { (exit 77); exit 77; }; }
14497 ac_exeext
=$ac_cv_exeext
14499 # Check that the compiler produces executables we can run. If not, either
14500 # the compiler is broken, or we cross compile.
14501 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14502 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14503 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14504 # If not cross compiling, check that we can run a simple program.
14505 if test "$cross_compiling" != yes; then
14506 if { ac_try
='./$ac_file'
14507 { (case "(($ac_try" in
14508 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14509 *) ac_try_echo=$ac_try;;
14511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14512 (eval "$ac_try") 2>&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); }; }; then
14518 if test "$cross_compiling" = maybe; then
14519 cross_compiling=yes
14521 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14522 If you meant to cross compile, use \`--host'.
14523 See \`config.log' for more details.
" >&5
14524 echo "$as_me: error
: cannot run C compiled programs.
14525 If you meant to cross compile
, use \
`--host'.
14526 See \`config.log
' for more details." >&2;}
14527 { (exit 1); exit 1; }; }
14531 { echo "$as_me:$LINENO: result: yes" >&5
14532 echo "${ECHO_T}yes" >&6; }
14534 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14535 ac_clean_files=$ac_clean_files_save
14536 # Check that the compiler produces executables we can run. If not, either
14537 # the compiler is broken, or we cross compile.
14538 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14539 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14540 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14541 echo "${ECHO_T}$cross_compiling" >&6; }
14543 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14544 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14545 if { (ac_try="$ac_link"
14546 case "(($ac_try" in
14547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14548 *) ac_try_echo=$ac_try;;
14550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14551 (eval "$ac_link") 2>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); }; then
14555 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14556 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14557 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14559 for ac_file
in conftest.exe conftest conftest.
*; do
14560 test -f "$ac_file" || continue
14562 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14563 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14569 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14570 See \`config.log' for more details." >&5
14571 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14572 See \`config.log' for more details." >&2;}
14573 { (exit 1); exit 1; }; }
14576 rm -f conftest
$ac_cv_exeext
14577 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14578 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14580 rm -f conftest.
$ac_ext
14581 EXEEXT
=$ac_cv_exeext
14583 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14584 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14585 if test "${ac_cv_objext+set}" = set; then
14586 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 cat >conftest.
$ac_ext <<_ACEOF
14591 cat confdefs.h
>>conftest.
$ac_ext
14592 cat >>conftest.
$ac_ext <<_ACEOF
14593 /* end confdefs.h. */
14603 rm -f conftest.o conftest.obj
14604 if { (ac_try
="$ac_compile"
14605 case "(($ac_try" in
14606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14607 *) ac_try_echo=$ac_try;;
14609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14610 (eval "$ac_compile") 2>&5
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); }; then
14614 for ac_file in conftest.o conftest.obj conftest.*; do
14615 test -f "$ac_file" || continue;
14617 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14618 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14623 echo "$as_me: failed program was:" >&5
14624 sed 's/^/| /' conftest.$ac_ext >&5
14626 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14627 See \`config.log
' for more details." >&5
14628 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14629 See \`config.log' for more details.
" >&2;}
14630 { (exit 1); exit 1; }; }
14633 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14635 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14636 echo "${ECHO_T}$ac_cv_objext" >&6; }
14637 OBJEXT=$ac_cv_objext
14639 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14640 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14641 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14642 echo $ECHO_N "(cached
) $ECHO_C" >&6
14644 cat >conftest.$ac_ext <<_ACEOF
14647 cat confdefs.h >>conftest.$ac_ext
14648 cat >>conftest.$ac_ext <<_ACEOF
14649 /* end confdefs.h. */
14662 rm -f conftest.$ac_objext
14663 if { (ac_try="$ac_compile"
14664 case "(($ac_try" in
14665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14666 *) ac_try_echo=$ac_try;;
14668 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14669 (eval "$ac_compile") 2>conftest.er1
14671 grep -v '^ *+' conftest.er1 >conftest.err
14673 cat conftest.err >&5
14674 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14675 (exit $ac_status); } && {
14676 test -z "$ac_c_werror_flag" ||
14677 test ! -s conftest.err
14678 } && test -s conftest.$ac_objext; then
14679 ac_compiler_gnu=yes
14681 echo "$as_me: failed program was
:" >&5
14682 sed 's/^/| /' conftest.$ac_ext >&5
14687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14688 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14691 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14692 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14693 GCC=`test $ac_compiler_gnu = yes && echo yes`
14694 ac_test_CFLAGS=${CFLAGS+set}
14695 ac_save_CFLAGS=$CFLAGS
14696 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14697 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14698 if test "${ac_cv_prog_cc_g+set}" = set; then
14699 echo $ECHO_N "(cached
) $ECHO_C" >&6
14701 ac_save_c_werror_flag=$ac_c_werror_flag
14702 ac_c_werror_flag=yes
14705 cat >conftest.$ac_ext <<_ACEOF
14708 cat confdefs.h >>conftest.$ac_ext
14709 cat >>conftest.$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14720 rm -f conftest.$ac_objext
14721 if { (ac_try="$ac_compile"
14722 case "(($ac_try" in
14723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14724 *) ac_try_echo=$ac_try;;
14726 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14727 (eval "$ac_compile") 2>conftest.er1
14729 grep -v '^ *+' conftest.er1 >conftest.err
14731 cat conftest.err >&5
14732 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14733 (exit $ac_status); } && {
14734 test -z "$ac_c_werror_flag" ||
14735 test ! -s conftest.err
14736 } && test -s conftest.$ac_objext; then
14737 ac_cv_prog_cc_g=yes
14739 echo "$as_me: failed program was
:" >&5
14740 sed 's/^/| /' conftest.$ac_ext >&5
14743 cat >conftest.$ac_ext <<_ACEOF
14746 cat confdefs.h >>conftest.$ac_ext
14747 cat >>conftest.$ac_ext <<_ACEOF
14748 /* end confdefs.h. */
14758 rm -f conftest.$ac_objext
14759 if { (ac_try="$ac_compile"
14760 case "(($ac_try" in
14761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14762 *) ac_try_echo=$ac_try;;
14764 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14765 (eval "$ac_compile") 2>conftest.er1
14767 grep -v '^ *+' conftest.er1 >conftest.err
14769 cat conftest.err >&5
14770 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14771 (exit $ac_status); } && {
14772 test -z "$ac_c_werror_flag" ||
14773 test ! -s conftest.err
14774 } && test -s conftest.$ac_objext; then
14777 echo "$as_me: failed program was
:" >&5
14778 sed 's/^/| /' conftest.$ac_ext >&5
14780 ac_c_werror_flag=$ac_save_c_werror_flag
14782 cat >conftest.$ac_ext <<_ACEOF
14785 cat confdefs.h >>conftest.$ac_ext
14786 cat >>conftest.$ac_ext <<_ACEOF
14787 /* end confdefs.h. */
14797 rm -f conftest.$ac_objext
14798 if { (ac_try="$ac_compile"
14799 case "(($ac_try" in
14800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14801 *) ac_try_echo=$ac_try;;
14803 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14804 (eval "$ac_compile") 2>conftest.er1
14806 grep -v '^ *+' conftest.er1 >conftest.err
14808 cat conftest.err >&5
14809 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14810 (exit $ac_status); } && {
14811 test -z "$ac_c_werror_flag" ||
14812 test ! -s conftest.err
14813 } && test -s conftest.$ac_objext; then
14814 ac_cv_prog_cc_g=yes
14816 echo "$as_me: failed program was
:" >&5
14817 sed 's/^/| /' conftest.$ac_ext >&5
14822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14829 ac_c_werror_flag=$ac_save_c_werror_flag
14831 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14832 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14833 if test "$ac_test_CFLAGS" = set; then
14834 CFLAGS=$ac_save_CFLAGS
14835 elif test $ac_cv_prog_cc_g = yes; then
14836 if test "$GCC" = yes; then
14842 if test "$GCC" = yes; then
14848 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14849 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14850 if test "${ac_cv_prog_cc_c89+set}" = set; then
14851 echo $ECHO_N "(cached
) $ECHO_C" >&6
14853 ac_cv_prog_cc_c89=no
14855 cat >conftest.$ac_ext <<_ACEOF
14858 cat confdefs.h >>conftest.$ac_ext
14859 cat >>conftest.$ac_ext <<_ACEOF
14860 /* end confdefs.h. */
14861 #include <stdarg.h>
14863 #include <sys/types.h>
14864 #include <sys/stat.h>
14865 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14866 struct buf { int x; };
14867 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14868 static char *e (p, i)
14874 static char *f (char * (*g) (char **, int), char **p, ...)
14879 s = g (p, va_arg (v,int));
14884 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14885 function prototypes and stuff, but not '\xHH' hex character constants.
14886 These don't provoke an error unfortunately, instead are silently treated
14887 as 'x'. The following induces an error, until -std is added to get
14888 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14889 array size at least. It's necessary to write '\x00'==0 to get something
14890 that's true only with -std. */
14891 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14893 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14894 inside strings and character constants. */
14896 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14898 int test (int i, double x);
14899 struct s1 {int (*f) (int a);};
14900 struct s2 {int (*f) (double a);};
14901 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14907 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14912 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14913 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14915 CC="$ac_save_CC $ac_arg"
14916 rm -f conftest.$ac_objext
14917 if { (ac_try="$ac_compile"
14918 case "(($ac_try" in
14919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14920 *) ac_try_echo=$ac_try;;
14922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14923 (eval "$ac_compile") 2>conftest.er1
14925 grep -v '^ *+' conftest.er1 >conftest.err
14927 cat conftest.err >&5
14928 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14929 (exit $ac_status); } && {
14930 test -z "$ac_c_werror_flag" ||
14931 test ! -s conftest.err
14932 } && test -s conftest.$ac_objext; then
14933 ac_cv_prog_cc_c89=$ac_arg
14935 echo "$as_me: failed program was
:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14941 rm -f core conftest.err conftest.$ac_objext
14942 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14944 rm -f conftest.$ac_ext
14949 case "x
$ac_cv_prog_cc_c89" in
14951 { echo "$as_me:$LINENO: result
: none needed
" >&5
14952 echo "${ECHO_T}none needed
" >&6; } ;;
14954 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14955 echo "${ECHO_T}unsupported
" >&6; } ;;
14957 CC="$CC $ac_cv_prog_cc_c89"
14958 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14959 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14964 ac_cpp='$CPP $CPPFLAGS'
14965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14973 ac_cpp='$CPP $CPPFLAGS'
14974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14978 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14979 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14980 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14981 echo $ECHO_N "(cached
) $ECHO_C" >&6
14983 cat >conftest.$ac_ext <<_ACEOF
14986 cat confdefs.h >>conftest.$ac_ext
14987 cat >>conftest.$ac_ext <<_ACEOF
14988 /* end confdefs.h. */
14994 #ifndef __INTEL_COMPILER
15002 rm -f conftest.$ac_objext
15003 if { (ac_try="$ac_compile"
15004 case "(($ac_try" in
15005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15006 *) ac_try_echo=$ac_try;;
15008 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15009 (eval "$ac_compile") 2>conftest.er1
15011 grep -v '^ *+' conftest.er1 >conftest.err
15013 cat conftest.err >&5
15014 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15015 (exit $ac_status); } && {
15016 test -z "$ac_c_werror_flag" ||
15017 test ! -s conftest.err
15018 } && test -s conftest.$ac_objext; then
15019 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15021 echo "$as_me: failed program was
:" >&5
15022 sed 's/^/| /' conftest.$ac_ext >&5
15024 bakefile_cv_c_compiler___INTEL_COMPILER=no
15028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15032 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15033 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15034 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15040 ac_cpp='$CPP $CPPFLAGS'
15041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15048 if test "$INTELCC" = "yes"; then
15052 ac_cpp='$CPP $CPPFLAGS'
15053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15057 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15058 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15059 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15060 echo $ECHO_N "(cached
) $ECHO_C" >&6
15062 cat >conftest.$ac_ext <<_ACEOF
15065 cat confdefs.h >>conftest.$ac_ext
15066 cat >>conftest.$ac_ext <<_ACEOF
15067 /* end confdefs.h. */
15073 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15081 rm -f conftest.$ac_objext
15082 if { (ac_try="$ac_compile"
15083 case "(($ac_try" in
15084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15085 *) ac_try_echo=$ac_try;;
15087 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15088 (eval "$ac_compile") 2>conftest.er1
15090 grep -v '^ *+' conftest.er1 >conftest.err
15092 cat conftest.err >&5
15093 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15094 (exit $ac_status); } && {
15095 test -z "$ac_c_werror_flag" ||
15096 test ! -s conftest.err
15097 } && test -s conftest.$ac_objext; then
15098 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15100 echo "$as_me: failed program was
:" >&5
15101 sed 's/^/| /' conftest.$ac_ext >&5
15103 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15111 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15112 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15113 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15119 ac_cpp='$CPP $CPPFLAGS'
15120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15129 ac_cpp='$CPP $CPPFLAGS'
15130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15134 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15135 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15136 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15137 echo $ECHO_N "(cached
) $ECHO_C" >&6
15139 cat >conftest.$ac_ext <<_ACEOF
15142 cat confdefs.h >>conftest.$ac_ext
15143 cat >>conftest.$ac_ext <<_ACEOF
15144 /* end confdefs.h. */
15150 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15158 rm -f conftest.$ac_objext
15159 if { (ac_try="$ac_compile"
15160 case "(($ac_try" in
15161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15162 *) ac_try_echo=$ac_try;;
15164 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15165 (eval "$ac_compile") 2>conftest.er1
15167 grep -v '^ *+' conftest.er1 >conftest.err
15169 cat conftest.err >&5
15170 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15171 (exit $ac_status); } && {
15172 test -z "$ac_c_werror_flag" ||
15173 test ! -s conftest.err
15174 } && test -s conftest.$ac_objext; then
15175 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15177 echo "$as_me: failed program was
:" >&5
15178 sed 's/^/| /' conftest.$ac_ext >&5
15180 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15188 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15189 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15190 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15196 ac_cpp='$CPP $CPPFLAGS'
15197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15205 if test "x
$GCC" != "xyes
"; then
15206 if test "xCC
" = "xC
"; then
15207 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15208 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15209 if test "${bakefile_cv_c_exto+set}" = set; then
15210 echo $ECHO_N "(cached
) $ECHO_C" >&6
15212 cat >conftest.$ac_ext <<_ACEOF
15215 cat confdefs.h >>conftest.$ac_ext
15216 cat >>conftest.$ac_ext <<_ACEOF
15217 /* end confdefs.h. */
15227 rm -f conftest.$ac_objext conftest.$ac_ext.o
15228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15229 (eval $ac_compile) 2>&5
15231 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15232 (exit $ac_status); }; then
15233 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15235 conftest.$ac_ext.o)
15236 bakefile_cv_c_exto="-ext o
"
15243 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15244 See \
`config.log' for more details." >&5
15245 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15246 See \`config.log
' for more details." >&2;}
15247 { (exit 1); exit 1; }; }
15251 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15254 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15255 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15256 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15257 if test "c" = "c"; then
15258 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15260 if test "c" = "cxx"; then
15261 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15265 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15266 unset ac_cv_prog_cc_g
15267 ac_test_CFLAGS=${CFLAGS+set}
15268 ac_save_CFLAGS=$CFLAGS
15269 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15270 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15271 if test "${ac_cv_prog_cc_g+set}" = set; then
15272 echo $ECHO_N "(cached) $ECHO_C" >&6
15274 ac_save_c_werror_flag=$ac_c_werror_flag
15275 ac_c_werror_flag=yes
15278 cat >conftest.$ac_ext <<_ACEOF
15281 cat confdefs.h >>conftest.$ac_ext
15282 cat >>conftest.$ac_ext <<_ACEOF
15283 /* end confdefs.h. */
15293 rm -f conftest.$ac_objext
15294 if { (ac_try="$ac_compile"
15295 case "(($ac_try" in
15296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15297 *) ac_try_echo=$ac_try;;
15299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15300 (eval "$ac_compile") 2>conftest.er1
15302 grep -v '^
*+' conftest.er1 >conftest.err
15304 cat conftest.err >&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } && {
15307 test -z "$ac_c_werror_flag" ||
15308 test ! -s conftest.err
15309 } && test -s conftest.$ac_objext; then
15310 ac_cv_prog_cc_g=yes
15312 echo "$as_me: failed program was:" >&5
15313 sed 's
/^
/| /' conftest.$ac_ext >&5
15316 cat >conftest.$ac_ext <<_ACEOF
15319 cat confdefs.h >>conftest.$ac_ext
15320 cat >>conftest.$ac_ext <<_ACEOF
15321 /* end confdefs.h. */
15331 rm -f conftest.$ac_objext
15332 if { (ac_try="$ac_compile"
15333 case "(($ac_try" in
15334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15335 *) ac_try_echo=$ac_try;;
15337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15338 (eval "$ac_compile") 2>conftest.er1
15340 grep -v '^
*+' conftest.er1 >conftest.err
15342 cat conftest.err >&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); } && {
15345 test -z "$ac_c_werror_flag" ||
15346 test ! -s conftest.err
15347 } && test -s conftest.$ac_objext; then
15350 echo "$as_me: failed program was:" >&5
15351 sed 's
/^
/| /' conftest.$ac_ext >&5
15353 ac_c_werror_flag=$ac_save_c_werror_flag
15355 cat >conftest.$ac_ext <<_ACEOF
15358 cat confdefs.h >>conftest.$ac_ext
15359 cat >>conftest.$ac_ext <<_ACEOF
15360 /* end confdefs.h. */
15370 rm -f conftest.$ac_objext
15371 if { (ac_try="$ac_compile"
15372 case "(($ac_try" in
15373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15374 *) ac_try_echo=$ac_try;;
15376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15377 (eval "$ac_compile") 2>conftest.er1
15379 grep -v '^
*+' conftest.er1 >conftest.err
15381 cat conftest.err >&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } && {
15384 test -z "$ac_c_werror_flag" ||
15385 test ! -s conftest.err
15386 } && test -s conftest.$ac_objext; then
15387 ac_cv_prog_cc_g=yes
15389 echo "$as_me: failed program was:" >&5
15390 sed 's
/^
/| /' conftest.$ac_ext >&5
15395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15402 ac_c_werror_flag=$ac_save_c_werror_flag
15404 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15405 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15406 if test "$ac_test_CFLAGS" = set; then
15407 CFLAGS=$ac_save_CFLAGS
15408 elif test $ac_cv_prog_cc_g = yes; then
15409 if test "$GCC" = yes; then
15415 if test "$GCC" = yes; then
15429 ac_cpp='$CPP $CPPFLAGS'
15430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15431 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15434 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15435 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15436 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15437 echo $ECHO_N "(cached) $ECHO_C" >&6
15439 cat >conftest.$ac_ext <<_ACEOF
15442 cat confdefs.h >>conftest.$ac_ext
15443 cat >>conftest.$ac_ext <<_ACEOF
15444 /* end confdefs.h. */
15458 rm -f conftest.$ac_objext
15459 if { (ac_try="$ac_compile"
15460 case "(($ac_try" in
15461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15462 *) ac_try_echo=$ac_try;;
15464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15465 (eval "$ac_compile") 2>conftest.er1
15467 grep -v '^
*+' conftest.er1 >conftest.err
15469 cat conftest.err >&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); } && {
15472 test -z "$ac_c_werror_flag" ||
15473 test ! -s conftest.err
15474 } && test -s conftest.$ac_objext; then
15475 bakefile_cv_c_compiler___xlC__=yes
15477 echo "$as_me: failed program was:" >&5
15478 sed 's
/^
/| /' conftest.$ac_ext >&5
15480 bakefile_cv_c_compiler___xlC__=no
15484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15488 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15489 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15490 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15496 ac_cpp='$CPP $CPPFLAGS'
15497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15498 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15509 ac_cpp='$CPP $CPPFLAGS'
15510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15511 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15514 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15515 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15516 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15517 echo $ECHO_N "(cached) $ECHO_C" >&6
15519 cat >conftest.$ac_ext <<_ACEOF
15522 cat confdefs.h >>conftest.$ac_ext
15523 cat >>conftest.$ac_ext <<_ACEOF
15524 /* end confdefs.h. */
15538 rm -f conftest.$ac_objext
15539 if { (ac_try="$ac_compile"
15540 case "(($ac_try" in
15541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15542 *) ac_try_echo=$ac_try;;
15544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15545 (eval "$ac_compile") 2>conftest.er1
15547 grep -v '^
*+' conftest.er1 >conftest.err
15549 cat conftest.err >&5
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); } && {
15552 test -z "$ac_c_werror_flag" ||
15553 test ! -s conftest.err
15554 } && test -s conftest.$ac_objext; then
15555 bakefile_cv_c_compiler___MWERKS__=yes
15557 echo "$as_me: failed program was:" >&5
15558 sed 's
/^
/| /' conftest.$ac_ext >&5
15560 bakefile_cv_c_compiler___MWERKS__=no
15564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15568 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15569 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15570 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15576 ac_cpp='$CPP $CPPFLAGS'
15577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15578 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15583 if test "$MWCC" != "yes"; then
15587 ac_cpp='$CPP $CPPFLAGS'
15588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15589 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15592 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15593 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15594 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15595 echo $ECHO_N "(cached) $ECHO_C" >&6
15597 cat >conftest.$ac_ext <<_ACEOF
15600 cat confdefs.h >>conftest.$ac_ext
15601 cat >>conftest.$ac_ext <<_ACEOF
15602 /* end confdefs.h. */
15616 rm -f conftest.$ac_objext
15617 if { (ac_try="$ac_compile"
15618 case "(($ac_try" in
15619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15620 *) ac_try_echo=$ac_try;;
15622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15623 (eval "$ac_compile") 2>conftest.er1
15625 grep -v '^
*+' conftest.er1 >conftest.err
15627 cat conftest.err >&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); } && {
15630 test -z "$ac_c_werror_flag" ||
15631 test ! -s conftest.err
15632 } && test -s conftest.$ac_objext; then
15633 bakefile_cv_c_compiler___xlC__=yes
15635 echo "$as_me: failed program was:" >&5
15636 sed 's
/^
/| /' conftest.$ac_ext >&5
15638 bakefile_cv_c_compiler___xlC__=no
15642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15646 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15647 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15648 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15654 ac_cpp='$CPP $CPPFLAGS'
15655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15656 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15668 ac_cpp='$CPP $CPPFLAGS'
15669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15670 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15673 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15674 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15675 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15676 echo $ECHO_N "(cached) $ECHO_C" >&6
15678 cat >conftest.$ac_ext <<_ACEOF
15681 cat confdefs.h >>conftest.$ac_ext
15682 cat >>conftest.$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15689 #ifndef _SGI_COMPILER_VERSION
15697 rm -f conftest.$ac_objext
15698 if { (ac_try="$ac_compile"
15699 case "(($ac_try" in
15700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15701 *) ac_try_echo=$ac_try;;
15703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15704 (eval "$ac_compile") 2>conftest.er1
15706 grep -v '^
*+' conftest.er1 >conftest.err
15708 cat conftest.err >&5
15709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15710 (exit $ac_status); } && {
15711 test -z "$ac_c_werror_flag" ||
15712 test ! -s conftest.err
15713 } && test -s conftest.$ac_objext; then
15714 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15716 echo "$as_me: failed program was:" >&5
15717 sed 's
/^
/| /' conftest.$ac_ext >&5
15719 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15727 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15728 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15729 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15735 ac_cpp='$CPP $CPPFLAGS'
15736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15737 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15745 if test "$INTELCC" != "yes"; then
15749 ac_cpp='$CPP $CPPFLAGS'
15750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15751 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15754 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15755 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15756 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15757 echo $ECHO_N "(cached) $ECHO_C" >&6
15759 cat >conftest.$ac_ext <<_ACEOF
15762 cat confdefs.h >>conftest.$ac_ext
15763 cat >>conftest.$ac_ext <<_ACEOF
15764 /* end confdefs.h. */
15778 rm -f conftest.$ac_objext
15779 if { (ac_try="$ac_compile"
15780 case "(($ac_try" in
15781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15782 *) ac_try_echo=$ac_try;;
15784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15785 (eval "$ac_compile") 2>conftest.er1
15787 grep -v '^
*+' conftest.er1 >conftest.err
15789 cat conftest.err >&5
15790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15791 (exit $ac_status); } && {
15792 test -z "$ac_c_werror_flag" ||
15793 test ! -s conftest.err
15794 } && test -s conftest.$ac_objext; then
15795 bakefile_cv_c_compiler___SUNPRO_C=yes
15797 echo "$as_me: failed program was:" >&5
15798 sed 's
/^
/| /' conftest.$ac_ext >&5
15800 bakefile_cv_c_compiler___SUNPRO_C=no
15804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15808 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15809 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15810 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15816 ac_cpp='$CPP $CPPFLAGS'
15817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15818 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15830 ac_cpp='$CPP $CPPFLAGS'
15831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15832 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15835 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15836 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15837 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15838 echo $ECHO_N "(cached) $ECHO_C" >&6
15840 cat >conftest.$ac_ext <<_ACEOF
15843 cat confdefs.h >>conftest.$ac_ext
15844 cat >>conftest.$ac_ext <<_ACEOF
15845 /* end confdefs.h. */
15859 rm -f conftest.$ac_objext
15860 if { (ac_try="$ac_compile"
15861 case "(($ac_try" in
15862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15863 *) ac_try_echo=$ac_try;;
15865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15866 (eval "$ac_compile") 2>conftest.er1
15868 grep -v '^
*+' conftest.er1 >conftest.err
15870 cat conftest.err >&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); } && {
15873 test -z "$ac_c_werror_flag" ||
15874 test ! -s conftest.err
15875 } && test -s conftest.$ac_objext; then
15876 bakefile_cv_c_compiler___HP_cc=yes
15878 echo "$as_me: failed program was:" >&5
15879 sed 's
/^
/| /' conftest.$ac_ext >&5
15881 bakefile_cv_c_compiler___HP_cc=no
15885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15889 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15890 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15891 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15897 ac_cpp='$CPP $CPPFLAGS'
15898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15899 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15910 ac_cpp='$CPP $CPPFLAGS'
15911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15912 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15915 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15916 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15917 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15918 echo $ECHO_N "(cached) $ECHO_C" >&6
15920 cat >conftest.$ac_ext <<_ACEOF
15923 cat confdefs.h >>conftest.$ac_ext
15924 cat >>conftest.$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15939 rm -f conftest.$ac_objext
15940 if { (ac_try="$ac_compile"
15941 case "(($ac_try" in
15942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15943 *) ac_try_echo=$ac_try;;
15945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15946 (eval "$ac_compile") 2>conftest.er1
15948 grep -v '^
*+' conftest.er1 >conftest.err
15950 cat conftest.err >&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); } && {
15953 test -z "$ac_c_werror_flag" ||
15954 test ! -s conftest.err
15955 } && test -s conftest.$ac_objext; then
15956 bakefile_cv_c_compiler___DECC=yes
15958 echo "$as_me: failed program was:" >&5
15959 sed 's
/^
/| /' conftest.$ac_ext >&5
15961 bakefile_cv_c_compiler___DECC=no
15965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15969 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15970 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15971 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15977 ac_cpp='$CPP $CPPFLAGS'
15978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15979 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15990 ac_cpp='$CPP $CPPFLAGS'
15991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15992 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15995 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15996 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15997 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15998 echo $ECHO_N "(cached) $ECHO_C" >&6
16000 cat >conftest.$ac_ext <<_ACEOF
16003 cat confdefs.h >>conftest.$ac_ext
16004 cat >>conftest.$ac_ext <<_ACEOF
16005 /* end confdefs.h. */
16019 rm -f conftest.$ac_objext
16020 if { (ac_try="$ac_compile"
16021 case "(($ac_try" in
16022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16023 *) ac_try_echo=$ac_try;;
16025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16026 (eval "$ac_compile") 2>conftest.er1
16028 grep -v '^
*+' conftest.er1 >conftest.err
16030 cat conftest.err >&5
16031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16032 (exit $ac_status); } && {
16033 test -z "$ac_c_werror_flag" ||
16034 test ! -s conftest.err
16035 } && test -s conftest.$ac_objext; then
16036 bakefile_cv_c_compiler___SUNPRO_C=yes
16038 echo "$as_me: failed program was:" >&5
16039 sed 's
/^
/| /' conftest.$ac_ext >&5
16041 bakefile_cv_c_compiler___SUNPRO_C=no
16045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16049 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16050 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16051 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16057 ac_cpp='$CPP $CPPFLAGS'
16058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16059 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16071 ac_cpp='$CPP $CPPFLAGS'
16072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16073 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16075 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16076 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16077 # On Suns, sometimes $CPP names a directory.
16078 if test -n "$CPP" && test -d "$CPP"; then
16081 if test -z "$CPP"; then
16082 if test "${ac_cv_prog_CPP+set}" = set; then
16083 echo $ECHO_N "(cached) $ECHO_C" >&6
16085 # Double quotes because CPP needs to be expanded
16086 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16088 ac_preproc_ok=false
16089 for ac_c_preproc_warn_flag in '' yes
16091 # Use a header file that comes with gcc, so configuring glibc
16092 # with a fresh cross-compiler works.
16093 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16094 # <limits.h> exists even on freestanding compilers.
16095 # On the NeXT, cc -E runs the code through the compiler's parser
,
16096 # not just through cpp. "Syntax error" is here to catch this case.
16097 cat >conftest.
$ac_ext <<_ACEOF
16100 cat confdefs.h
>>conftest.
$ac_ext
16101 cat >>conftest.
$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16104 # include <limits.h>
16106 # include <assert.h>
16110 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16111 case "(($ac_try" in
16112 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16113 *) ac_try_echo=$ac_try;;
16115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16116 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16118 grep -v '^ *+' conftest.er1 >conftest.err
16120 cat conftest.err >&5
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); } >/dev/null && {
16123 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16124 test ! -s conftest.err
16128 echo "$as_me: failed program was:" >&5
16129 sed 's/^/| /' conftest.$ac_ext >&5
16131 # Broken: fails on valid input.
16135 rm -f conftest.err conftest.$ac_ext
16137 # OK, works on sane cases. Now check whether nonexistent headers
16138 # can be detected and how.
16139 cat >conftest.$ac_ext <<_ACEOF
16142 cat confdefs.h >>conftest.$ac_ext
16143 cat >>conftest.$ac_ext <<_ACEOF
16144 /* end confdefs.h. */
16145 #include <ac_nonexistent.h>
16147 if { (ac_try="$ac_cpp conftest.$ac_ext"
16148 case "(($ac_try" in
16149 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16150 *) ac_try_echo
=$ac_try;;
16152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16155 grep -v '^ *+' conftest.er1
>conftest.err
16157 cat conftest.err
>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); } >/dev
/null
&& {
16160 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16161 test ! -s conftest.err
16163 # Broken: success on invalid input.
16166 echo "$as_me: failed program was:" >&5
16167 sed 's/^/| /' conftest.
$ac_ext >&5
16169 # Passes both tests.
16174 rm -f conftest.err conftest.
$ac_ext
16177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16178 rm -f conftest.err conftest.
$ac_ext
16179 if $ac_preproc_ok; then
16184 ac_cv_prog_CPP
=$CPP
16187 CPP
=$ac_cv_prog_CPP
16189 ac_cv_prog_CPP
=$CPP
16191 { echo "$as_me:$LINENO: result: $CPP" >&5
16192 echo "${ECHO_T}$CPP" >&6; }
16193 ac_preproc_ok
=false
16194 for ac_c_preproc_warn_flag
in '' yes
16196 # Use a header file that comes with gcc, so configuring glibc
16197 # with a fresh cross-compiler works.
16198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16199 # <limits.h> exists even on freestanding compilers.
16200 # On the NeXT, cc -E runs the code through the compiler's parser,
16201 # not just through cpp. "Syntax error" is here to catch this case.
16202 cat >conftest.
$ac_ext <<_ACEOF
16205 cat confdefs.h
>>conftest.
$ac_ext
16206 cat >>conftest.
$ac_ext <<_ACEOF
16207 /* end confdefs.h. */
16209 # include <limits.h>
16211 # include <assert.h>
16215 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16216 case "(($ac_try" in
16217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16218 *) ac_try_echo=$ac_try;;
16220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16221 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16223 grep -v '^ *+' conftest.er1 >conftest.err
16225 cat conftest.err >&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); } >/dev/null && {
16228 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16229 test ! -s conftest.err
16233 echo "$as_me: failed program was:" >&5
16234 sed 's/^/| /' conftest.$ac_ext >&5
16236 # Broken: fails on valid input.
16240 rm -f conftest.err conftest.$ac_ext
16242 # OK, works on sane cases. Now check whether nonexistent headers
16243 # can be detected and how.
16244 cat >conftest.$ac_ext <<_ACEOF
16247 cat confdefs.h >>conftest.$ac_ext
16248 cat >>conftest.$ac_ext <<_ACEOF
16249 /* end confdefs.h. */
16250 #include <ac_nonexistent.h>
16252 if { (ac_try="$ac_cpp conftest.$ac_ext"
16253 case "(($ac_try" in
16254 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16255 *) ac_try_echo
=$ac_try;;
16257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16258 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16260 grep -v '^ *+' conftest.er1
>conftest.err
16262 cat conftest.err
>&5
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); } >/dev
/null
&& {
16265 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16266 test ! -s conftest.err
16268 # Broken: success on invalid input.
16271 echo "$as_me: failed program was:" >&5
16272 sed 's/^/| /' conftest.
$ac_ext >&5
16274 # Passes both tests.
16279 rm -f conftest.err conftest.
$ac_ext
16282 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16283 rm -f conftest.err conftest.
$ac_ext
16284 if $ac_preproc_ok; then
16287 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16288 See \`config.log' for more details." >&5
16289 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16290 See \`config.log' for more details." >&2;}
16291 { (exit 1); exit 1; }; }
16295 ac_cpp
='$CPP $CPPFLAGS'
16296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16301 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16302 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16303 if test "${ac_cv_path_GREP+set}" = set; then
16304 echo $ECHO_N "(cached) $ECHO_C" >&6
16306 # Extract the first word of "grep ggrep" to use in msg output
16307 if test -z "$GREP"; then
16308 set dummy
grep ggrep
; ac_prog_name
=$2
16309 if test "${ac_cv_path_GREP+set}" = set; then
16310 echo $ECHO_N "(cached) $ECHO_C" >&6
16312 ac_path_GREP_found
=false
16313 # Loop through the user's path and test for each of PROGNAME-LIST
16314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16315 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16318 test -z "$as_dir" && as_dir
=.
16319 for ac_prog
in grep ggrep
; do
16320 for ac_exec_ext
in '' $ac_executable_extensions; do
16321 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16322 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16323 # Check for GNU ac_path_GREP and select it if it is found.
16324 # Check for GNU $ac_path_GREP
16325 case `"$ac_path_GREP" --version 2>&1` in
16327 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16330 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16333 cat "conftest.in" "conftest.in" >"conftest.tmp"
16334 mv "conftest.tmp" "conftest.in"
16335 cp "conftest.in" "conftest.nl"
16336 echo 'GREP' >> "conftest.nl"
16337 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16338 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16339 ac_count
=`expr $ac_count + 1`
16340 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16341 # Best one so far, save it but keep looking for a better one
16342 ac_cv_path_GREP
="$ac_path_GREP"
16343 ac_path_GREP_max
=$ac_count
16345 # 10*(2^10) chars as input seems more than enough
16346 test $ac_count -gt 10 && break
16348 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16352 $ac_path_GREP_found && break 3
16362 GREP
="$ac_cv_path_GREP"
16363 if test -z "$GREP"; then
16364 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16365 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16366 { (exit 1); exit 1; }; }
16370 ac_cv_path_GREP
=$GREP
16375 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16376 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16377 GREP
="$ac_cv_path_GREP"
16380 { echo "$as_me:$LINENO: checking for egrep" >&5
16381 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16382 if test "${ac_cv_path_EGREP+set}" = set; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16385 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16386 then ac_cv_path_EGREP
="$GREP -E"
16388 # Extract the first word of "egrep" to use in msg output
16389 if test -z "$EGREP"; then
16390 set dummy
egrep; ac_prog_name
=$2
16391 if test "${ac_cv_path_EGREP+set}" = set; then
16392 echo $ECHO_N "(cached) $ECHO_C" >&6
16394 ac_path_EGREP_found
=false
16395 # Loop through the user's path and test for each of PROGNAME-LIST
16396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16397 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16400 test -z "$as_dir" && as_dir
=.
16401 for ac_prog
in egrep; do
16402 for ac_exec_ext
in '' $ac_executable_extensions; do
16403 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16404 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16405 # Check for GNU ac_path_EGREP and select it if it is found.
16406 # Check for GNU $ac_path_EGREP
16407 case `"$ac_path_EGREP" --version 2>&1` in
16409 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16412 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16415 cat "conftest.in" "conftest.in" >"conftest.tmp"
16416 mv "conftest.tmp" "conftest.in"
16417 cp "conftest.in" "conftest.nl"
16418 echo 'EGREP' >> "conftest.nl"
16419 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16420 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16421 ac_count
=`expr $ac_count + 1`
16422 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16423 # Best one so far, save it but keep looking for a better one
16424 ac_cv_path_EGREP
="$ac_path_EGREP"
16425 ac_path_EGREP_max
=$ac_count
16427 # 10*(2^10) chars as input seems more than enough
16428 test $ac_count -gt 10 && break
16430 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16434 $ac_path_EGREP_found && break 3
16444 EGREP
="$ac_cv_path_EGREP"
16445 if test -z "$EGREP"; then
16446 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16447 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16448 { (exit 1); exit 1; }; }
16452 ac_cv_path_EGREP
=$EGREP
16458 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16459 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16460 EGREP
="$ac_cv_path_EGREP"
16463 if test $ac_cv_c_compiler_gnu = yes; then
16464 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16465 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16466 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16467 echo $ECHO_N "(cached) $ECHO_C" >&6
16469 ac_pattern
="Autoconf.*'x'"
16470 cat >conftest.
$ac_ext <<_ACEOF
16473 cat confdefs.h
>>conftest.
$ac_ext
16474 cat >>conftest.
$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16480 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16481 ac_cv_prog_gcc_traditional
=yes
16483 ac_cv_prog_gcc_traditional
=no
16488 if test $ac_cv_prog_gcc_traditional = no
; then
16489 cat >conftest.
$ac_ext <<_ACEOF
16492 cat confdefs.h
>>conftest.
$ac_ext
16493 cat >>conftest.
$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 #include <termio.h>
16498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16499 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16500 ac_cv_prog_gcc_traditional
=yes
16506 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16507 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16508 if test $ac_cv_prog_gcc_traditional = yes; then
16509 CC
="$CC -traditional"
16514 CXXFLAGS
=${CXXFLAGS:=}
16519 ac_cpp
='$CXXCPP $CPPFLAGS'
16520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16523 if test -z "$CXX"; then
16524 if test -n "$CCC"; then
16527 if test -n "$ac_tool_prefix"; then
16528 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16530 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16531 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16534 if test "${ac_cv_prog_CXX+set}" = set; then
16535 echo $ECHO_N "(cached) $ECHO_C" >&6
16537 if test -n "$CXX"; then
16538 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16541 for as_dir
in $PATH
16544 test -z "$as_dir" && as_dir
=.
16545 for ac_exec_ext
in '' $ac_executable_extensions; do
16546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16547 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16557 CXX
=$ac_cv_prog_CXX
16558 if test -n "$CXX"; then
16559 { echo "$as_me:$LINENO: result: $CXX" >&5
16560 echo "${ECHO_T}$CXX" >&6; }
16562 { echo "$as_me:$LINENO: result: no" >&5
16563 echo "${ECHO_T}no" >&6; }
16567 test -n "$CXX" && break
16570 if test -z "$CXX"; then
16572 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16574 # Extract the first word of "$ac_prog", so it can be a program name with args.
16575 set dummy
$ac_prog; ac_word
=$2
16576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16578 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16579 echo $ECHO_N "(cached) $ECHO_C" >&6
16581 if test -n "$ac_ct_CXX"; then
16582 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16585 for as_dir
in $PATH
16588 test -z "$as_dir" && as_dir
=.
16589 for ac_exec_ext
in '' $ac_executable_extensions; do
16590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16591 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16601 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16602 if test -n "$ac_ct_CXX"; then
16603 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16604 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16606 { echo "$as_me:$LINENO: result: no" >&5
16607 echo "${ECHO_T}no" >&6; }
16611 test -n "$ac_ct_CXX" && break
16614 if test "x$ac_ct_CXX" = x
; then
16617 case $cross_compiling:$ac_tool_warned in
16619 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16620 whose name does not start with the host triplet. If you think this
16621 configuration is useful to you, please write to autoconf@gnu.org." >&5
16622 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16623 whose name does not start with the host triplet. If you think this
16624 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16625 ac_tool_warned
=yes ;;
16633 # Provide some information about the compiler.
16634 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16635 ac_compiler
=`set X $ac_compile; echo $2`
16636 { (ac_try
="$ac_compiler --version >&5"
16637 case "(($ac_try" in
16638 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16639 *) ac_try_echo=$ac_try;;
16641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16642 (eval "$ac_compiler --version >&5") 2>&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); }
16646 { (ac_try="$ac_compiler -v >&5"
16647 case "(($ac_try" in
16648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16649 *) ac_try_echo
=$ac_try;;
16651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16652 (eval "$ac_compiler -v >&5") 2>&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }
16656 { (ac_try
="$ac_compiler -V >&5"
16657 case "(($ac_try" in
16658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16659 *) ac_try_echo=$ac_try;;
16661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16662 (eval "$ac_compiler -V >&5") 2>&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); }
16667 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16668 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16669 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16670 echo $ECHO_N "(cached) $ECHO_C" >&6
16672 cat >conftest.$ac_ext <<_ACEOF
16675 cat confdefs.h >>conftest.$ac_ext
16676 cat >>conftest.$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16690 rm -f conftest.$ac_objext
16691 if { (ac_try="$ac_compile"
16692 case "(($ac_try" in
16693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16694 *) ac_try_echo
=$ac_try;;
16696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16697 (eval "$ac_compile") 2>conftest.er1
16699 grep -v '^ *+' conftest.er1
>conftest.err
16701 cat conftest.err
>&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); } && {
16704 test -z "$ac_cxx_werror_flag" ||
16705 test ! -s conftest.err
16706 } && test -s conftest.
$ac_objext; then
16707 ac_compiler_gnu
=yes
16709 echo "$as_me: failed program was:" >&5
16710 sed 's/^/| /' conftest.
$ac_ext >&5
16715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16716 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16719 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16720 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16721 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16722 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16723 ac_save_CXXFLAGS
=$CXXFLAGS
16724 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16725 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16726 if test "${ac_cv_prog_cxx_g+set}" = set; then
16727 echo $ECHO_N "(cached) $ECHO_C" >&6
16729 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16730 ac_cxx_werror_flag
=yes
16731 ac_cv_prog_cxx_g
=no
16733 cat >conftest.
$ac_ext <<_ACEOF
16736 cat confdefs.h
>>conftest.
$ac_ext
16737 cat >>conftest.
$ac_ext <<_ACEOF
16738 /* end confdefs.h. */
16748 rm -f conftest.
$ac_objext
16749 if { (ac_try
="$ac_compile"
16750 case "(($ac_try" in
16751 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16752 *) ac_try_echo=$ac_try;;
16754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16755 (eval "$ac_compile") 2>conftest.er1
16757 grep -v '^ *+' conftest.er1 >conftest.err
16759 cat conftest.err >&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); } && {
16762 test -z "$ac_cxx_werror_flag" ||
16763 test ! -s conftest.err
16764 } && test -s conftest.$ac_objext; then
16765 ac_cv_prog_cxx_g=yes
16767 echo "$as_me: failed program was:" >&5
16768 sed 's/^/| /' conftest.$ac_ext >&5
16771 cat >conftest.$ac_ext <<_ACEOF
16774 cat confdefs.h >>conftest.$ac_ext
16775 cat >>conftest.$ac_ext <<_ACEOF
16776 /* end confdefs.h. */
16786 rm -f conftest.$ac_objext
16787 if { (ac_try="$ac_compile"
16788 case "(($ac_try" in
16789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16790 *) ac_try_echo
=$ac_try;;
16792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16793 (eval "$ac_compile") 2>conftest.er1
16795 grep -v '^ *+' conftest.er1
>conftest.err
16797 cat conftest.err
>&5
16798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16799 (exit $ac_status); } && {
16800 test -z "$ac_cxx_werror_flag" ||
16801 test ! -s conftest.err
16802 } && test -s conftest.
$ac_objext; then
16805 echo "$as_me: failed program was:" >&5
16806 sed 's/^/| /' conftest.
$ac_ext >&5
16808 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16810 cat >conftest.
$ac_ext <<_ACEOF
16813 cat confdefs.h
>>conftest.
$ac_ext
16814 cat >>conftest.
$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16825 rm -f conftest.
$ac_objext
16826 if { (ac_try
="$ac_compile"
16827 case "(($ac_try" in
16828 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16829 *) ac_try_echo=$ac_try;;
16831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16832 (eval "$ac_compile") 2>conftest.er1
16834 grep -v '^ *+' conftest.er1 >conftest.err
16836 cat conftest.err >&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); } && {
16839 test -z "$ac_cxx_werror_flag" ||
16840 test ! -s conftest.err
16841 } && test -s conftest.$ac_objext; then
16842 ac_cv_prog_cxx_g=yes
16844 echo "$as_me: failed program was:" >&5
16845 sed 's/^/| /' conftest.$ac_ext >&5
16850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16857 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16859 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16860 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16861 if test "$ac_test_CXXFLAGS" = set; then
16862 CXXFLAGS=$ac_save_CXXFLAGS
16863 elif test $ac_cv_prog_cxx_g = yes; then
16864 if test "$GXX" = yes; then
16870 if test "$GXX" = yes; then
16877 ac_cpp='$CPP $CPPFLAGS'
16878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16886 ac_cpp='$CXXCPP $CPPFLAGS'
16887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16891 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16892 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16893 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16896 cat >conftest.$ac_ext <<_ACEOF
16899 cat confdefs.h >>conftest.$ac_ext
16900 cat >>conftest.$ac_ext <<_ACEOF
16901 /* end confdefs.h. */
16907 #ifndef __INTEL_COMPILER
16915 rm -f conftest.$ac_objext
16916 if { (ac_try="$ac_compile"
16917 case "(($ac_try" in
16918 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16919 *) ac_try_echo
=$ac_try;;
16921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16922 (eval "$ac_compile") 2>conftest.er1
16924 grep -v '^ *+' conftest.er1
>conftest.err
16926 cat conftest.err
>&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); } && {
16929 test -z "$ac_cxx_werror_flag" ||
16930 test ! -s conftest.err
16931 } && test -s conftest.
$ac_objext; then
16932 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16934 echo "$as_me: failed program was:" >&5
16935 sed 's/^/| /' conftest.
$ac_ext >&5
16937 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16945 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16946 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16947 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16953 ac_cpp
='$CPP $CPPFLAGS'
16954 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16955 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16956 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16961 if test "$INTELCXX" = "yes"; then
16965 ac_cpp
='$CXXCPP $CPPFLAGS'
16966 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16967 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16968 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16970 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16971 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16972 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16973 echo $ECHO_N "(cached) $ECHO_C" >&6
16975 cat >conftest.
$ac_ext <<_ACEOF
16978 cat confdefs.h
>>conftest.
$ac_ext
16979 cat >>conftest.
$ac_ext <<_ACEOF
16980 /* end confdefs.h. */
16986 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16994 rm -f conftest.
$ac_objext
16995 if { (ac_try
="$ac_compile"
16996 case "(($ac_try" in
16997 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16998 *) ac_try_echo=$ac_try;;
17000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17001 (eval "$ac_compile") 2>conftest.er1
17003 grep -v '^ *+' conftest.er1 >conftest.err
17005 cat conftest.err >&5
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); } && {
17008 test -z "$ac_cxx_werror_flag" ||
17009 test ! -s conftest.err
17010 } && test -s conftest.$ac_objext; then
17011 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17013 echo "$as_me: failed program was:" >&5
17014 sed 's/^/| /' conftest.$ac_ext >&5
17016 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17024 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17025 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17026 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17032 ac_cpp='$CPP $CPPFLAGS'
17033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17042 ac_cpp='$CXXCPP $CPPFLAGS'
17043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17047 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17048 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17049 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17050 echo $ECHO_N "(cached) $ECHO_C" >&6
17052 cat >conftest.$ac_ext <<_ACEOF
17055 cat confdefs.h >>conftest.$ac_ext
17056 cat >>conftest.$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17063 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17071 rm -f conftest.$ac_objext
17072 if { (ac_try="$ac_compile"
17073 case "(($ac_try" in
17074 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17075 *) ac_try_echo
=$ac_try;;
17077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17078 (eval "$ac_compile") 2>conftest.er1
17080 grep -v '^ *+' conftest.er1
>conftest.err
17082 cat conftest.err
>&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); } && {
17085 test -z "$ac_cxx_werror_flag" ||
17086 test ! -s conftest.err
17087 } && test -s conftest.
$ac_objext; then
17088 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17090 echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.
$ac_ext >&5
17093 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17101 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17102 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17103 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17109 ac_cpp
='$CPP $CPPFLAGS'
17110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17118 if test "x$GCXX" != "xyes"; then
17119 if test "xCXX" = "xC"; then
17120 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17121 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17122 if test "${bakefile_cv_c_exto+set}" = set; then
17123 echo $ECHO_N "(cached) $ECHO_C" >&6
17125 cat >conftest.
$ac_ext <<_ACEOF
17128 cat confdefs.h
>>conftest.
$ac_ext
17129 cat >>conftest.
$ac_ext <<_ACEOF
17130 /* end confdefs.h. */
17140 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17142 (eval $ac_compile) 2>&5
17144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17145 (exit $ac_status); }; then
17146 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17148 conftest.
$ac_ext.o
)
17149 bakefile_cv_c_exto
="-ext o"
17156 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17157 See \`config.log' for more details." >&5
17158 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17159 See \`config.log' for more details." >&2;}
17160 { (exit 1); exit 1; }; }
17164 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17167 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17168 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17169 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17170 if test "c" = "c"; then
17171 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17173 if test "c" = "cxx"; then
17174 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17178 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17179 unset ac_cv_prog_cc_g
17180 ac_test_CFLAGS
=${CFLAGS+set}
17181 ac_save_CFLAGS
=$CFLAGS
17182 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17183 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17184 if test "${ac_cv_prog_cc_g+set}" = set; then
17185 echo $ECHO_N "(cached) $ECHO_C" >&6
17187 ac_save_c_werror_flag
=$ac_c_werror_flag
17188 ac_c_werror_flag
=yes
17191 cat >conftest.
$ac_ext <<_ACEOF
17194 cat confdefs.h
>>conftest.
$ac_ext
17195 cat >>conftest.
$ac_ext <<_ACEOF
17196 /* end confdefs.h. */
17206 rm -f conftest.
$ac_objext
17207 if { (ac_try
="$ac_compile"
17208 case "(($ac_try" in
17209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17210 *) ac_try_echo=$ac_try;;
17212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17213 (eval "$ac_compile") 2>conftest.er1
17215 grep -v '^ *+' conftest.er1 >conftest.err
17217 cat conftest.err >&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); } && {
17220 test -z "$ac_c_werror_flag" ||
17221 test ! -s conftest.err
17222 } && test -s conftest.$ac_objext; then
17223 ac_cv_prog_cc_g=yes
17225 echo "$as_me: failed program was:" >&5
17226 sed 's/^/| /' conftest.$ac_ext >&5
17229 cat >conftest.$ac_ext <<_ACEOF
17232 cat confdefs.h >>conftest.$ac_ext
17233 cat >>conftest.$ac_ext <<_ACEOF
17234 /* end confdefs.h. */
17244 rm -f conftest.$ac_objext
17245 if { (ac_try="$ac_compile"
17246 case "(($ac_try" in
17247 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17248 *) ac_try_echo
=$ac_try;;
17250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17251 (eval "$ac_compile") 2>conftest.er1
17253 grep -v '^ *+' conftest.er1
>conftest.err
17255 cat conftest.err
>&5
17256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17257 (exit $ac_status); } && {
17258 test -z "$ac_c_werror_flag" ||
17259 test ! -s conftest.err
17260 } && test -s conftest.
$ac_objext; then
17263 echo "$as_me: failed program was:" >&5
17264 sed 's/^/| /' conftest.
$ac_ext >&5
17266 ac_c_werror_flag
=$ac_save_c_werror_flag
17268 cat >conftest.
$ac_ext <<_ACEOF
17271 cat confdefs.h
>>conftest.
$ac_ext
17272 cat >>conftest.
$ac_ext <<_ACEOF
17273 /* end confdefs.h. */
17283 rm -f conftest.
$ac_objext
17284 if { (ac_try
="$ac_compile"
17285 case "(($ac_try" in
17286 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17287 *) ac_try_echo=$ac_try;;
17289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17290 (eval "$ac_compile") 2>conftest.er1
17292 grep -v '^ *+' conftest.er1 >conftest.err
17294 cat conftest.err >&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } && {
17297 test -z "$ac_c_werror_flag" ||
17298 test ! -s conftest.err
17299 } && test -s conftest.$ac_objext; then
17300 ac_cv_prog_cc_g=yes
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17315 ac_c_werror_flag=$ac_save_c_werror_flag
17317 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17318 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17319 if test "$ac_test_CFLAGS" = set; then
17320 CFLAGS=$ac_save_CFLAGS
17321 elif test $ac_cv_prog_cc_g = yes; then
17322 if test "$GCC" = yes; then
17328 if test "$GCC" = yes; then
17342 ac_cpp='$CXXCPP $CPPFLAGS'
17343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17347 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17348 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17349 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17352 cat >conftest.$ac_ext <<_ACEOF
17355 cat confdefs.h >>conftest.$ac_ext
17356 cat >>conftest.$ac_ext <<_ACEOF
17357 /* end confdefs.h. */
17371 rm -f conftest.$ac_objext
17372 if { (ac_try="$ac_compile"
17373 case "(($ac_try" in
17374 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17375 *) ac_try_echo
=$ac_try;;
17377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17378 (eval "$ac_compile") 2>conftest.er1
17380 grep -v '^ *+' conftest.er1
>conftest.err
17382 cat conftest.err
>&5
17383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17384 (exit $ac_status); } && {
17385 test -z "$ac_cxx_werror_flag" ||
17386 test ! -s conftest.err
17387 } && test -s conftest.
$ac_objext; then
17388 bakefile_cv_cxx_compiler___xlC__
=yes
17390 echo "$as_me: failed program was:" >&5
17391 sed 's/^/| /' conftest.
$ac_ext >&5
17393 bakefile_cv_cxx_compiler___xlC__
=no
17397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17401 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17402 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17403 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17409 ac_cpp
='$CPP $CPPFLAGS'
17410 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17411 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17412 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17422 ac_cpp
='$CXXCPP $CPPFLAGS'
17423 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17424 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17425 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17427 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17428 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17429 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17430 echo $ECHO_N "(cached) $ECHO_C" >&6
17432 cat >conftest.
$ac_ext <<_ACEOF
17435 cat confdefs.h
>>conftest.
$ac_ext
17436 cat >>conftest.
$ac_ext <<_ACEOF
17437 /* end confdefs.h. */
17451 rm -f conftest.
$ac_objext
17452 if { (ac_try
="$ac_compile"
17453 case "(($ac_try" in
17454 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17455 *) ac_try_echo=$ac_try;;
17457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17458 (eval "$ac_compile") 2>conftest.er1
17460 grep -v '^ *+' conftest.er1 >conftest.err
17462 cat conftest.err >&5
17463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17464 (exit $ac_status); } && {
17465 test -z "$ac_cxx_werror_flag" ||
17466 test ! -s conftest.err
17467 } && test -s conftest.$ac_objext; then
17468 bakefile_cv_cxx_compiler___MWERKS__=yes
17470 echo "$as_me: failed program was:" >&5
17471 sed 's/^/| /' conftest.$ac_ext >&5
17473 bakefile_cv_cxx_compiler___MWERKS__=no
17477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17481 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17482 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17483 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17489 ac_cpp='$CPP $CPPFLAGS'
17490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17496 if test "$MWCXX" != "yes"; then
17500 ac_cpp='$CXXCPP $CPPFLAGS'
17501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17505 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17506 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17507 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17508 echo $ECHO_N "(cached) $ECHO_C" >&6
17510 cat >conftest.$ac_ext <<_ACEOF
17513 cat confdefs.h >>conftest.$ac_ext
17514 cat >>conftest.$ac_ext <<_ACEOF
17515 /* end confdefs.h. */
17529 rm -f conftest.$ac_objext
17530 if { (ac_try="$ac_compile"
17531 case "(($ac_try" in
17532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17533 *) ac_try_echo
=$ac_try;;
17535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17536 (eval "$ac_compile") 2>conftest.er1
17538 grep -v '^ *+' conftest.er1
>conftest.err
17540 cat conftest.err
>&5
17541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17542 (exit $ac_status); } && {
17543 test -z "$ac_cxx_werror_flag" ||
17544 test ! -s conftest.err
17545 } && test -s conftest.
$ac_objext; then
17546 bakefile_cv_cxx_compiler___xlC__
=yes
17548 echo "$as_me: failed program was:" >&5
17549 sed 's/^/| /' conftest.
$ac_ext >&5
17551 bakefile_cv_cxx_compiler___xlC__
=no
17555 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17559 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17560 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17561 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17567 ac_cpp
='$CPP $CPPFLAGS'
17568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17581 ac_cpp
='$CXXCPP $CPPFLAGS'
17582 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17583 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17584 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17586 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17587 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17588 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17589 echo $ECHO_N "(cached) $ECHO_C" >&6
17591 cat >conftest.
$ac_ext <<_ACEOF
17594 cat confdefs.h
>>conftest.
$ac_ext
17595 cat >>conftest.
$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17602 #ifndef _SGI_COMPILER_VERSION
17610 rm -f conftest.
$ac_objext
17611 if { (ac_try
="$ac_compile"
17612 case "(($ac_try" in
17613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17614 *) ac_try_echo=$ac_try;;
17616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17617 (eval "$ac_compile") 2>conftest.er1
17619 grep -v '^ *+' conftest.er1 >conftest.err
17621 cat conftest.err >&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } && {
17624 test -z "$ac_cxx_werror_flag" ||
17625 test ! -s conftest.err
17626 } && test -s conftest.$ac_objext; then
17627 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17629 echo "$as_me: failed program was:" >&5
17630 sed 's/^/| /' conftest.$ac_ext >&5
17632 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17640 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17641 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17642 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17648 ac_cpp='$CPP $CPPFLAGS'
17649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17658 if test "$INTELCXX" != "yes"; then
17662 ac_cpp='$CXXCPP $CPPFLAGS'
17663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17667 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17668 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17669 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17670 echo $ECHO_N "(cached) $ECHO_C" >&6
17672 cat >conftest.$ac_ext <<_ACEOF
17675 cat confdefs.h >>conftest.$ac_ext
17676 cat >>conftest.$ac_ext <<_ACEOF
17677 /* end confdefs.h. */
17683 #ifndef __SUNPRO_CC
17691 rm -f conftest.$ac_objext
17692 if { (ac_try="$ac_compile"
17693 case "(($ac_try" in
17694 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17695 *) ac_try_echo
=$ac_try;;
17697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17698 (eval "$ac_compile") 2>conftest.er1
17700 grep -v '^ *+' conftest.er1
>conftest.err
17702 cat conftest.err
>&5
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); } && {
17705 test -z "$ac_cxx_werror_flag" ||
17706 test ! -s conftest.err
17707 } && test -s conftest.
$ac_objext; then
17708 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.
$ac_ext >&5
17713 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17721 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17722 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17723 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17729 ac_cpp
='$CPP $CPPFLAGS'
17730 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17731 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17732 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17743 ac_cpp
='$CXXCPP $CPPFLAGS'
17744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17748 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17749 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17750 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17751 echo $ECHO_N "(cached) $ECHO_C" >&6
17753 cat >conftest.
$ac_ext <<_ACEOF
17756 cat confdefs.h
>>conftest.
$ac_ext
17757 cat >>conftest.
$ac_ext <<_ACEOF
17758 /* end confdefs.h. */
17772 rm -f conftest.
$ac_objext
17773 if { (ac_try
="$ac_compile"
17774 case "(($ac_try" in
17775 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17776 *) ac_try_echo=$ac_try;;
17778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17779 (eval "$ac_compile") 2>conftest.er1
17781 grep -v '^ *+' conftest.er1 >conftest.err
17783 cat conftest.err >&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); } && {
17786 test -z "$ac_cxx_werror_flag" ||
17787 test ! -s conftest.err
17788 } && test -s conftest.$ac_objext; then
17789 bakefile_cv_cxx_compiler___HP_aCC=yes
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.$ac_ext >&5
17794 bakefile_cv_cxx_compiler___HP_aCC=no
17798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17802 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17803 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17804 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17810 ac_cpp='$CPP $CPPFLAGS'
17811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17823 ac_cpp='$CXXCPP $CPPFLAGS'
17824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17828 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17829 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17830 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17831 echo $ECHO_N "(cached) $ECHO_C" >&6
17833 cat >conftest.$ac_ext <<_ACEOF
17836 cat confdefs.h >>conftest.$ac_ext
17837 cat >>conftest.$ac_ext <<_ACEOF
17838 /* end confdefs.h. */
17852 rm -f conftest.$ac_objext
17853 if { (ac_try="$ac_compile"
17854 case "(($ac_try" in
17855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17856 *) ac_try_echo
=$ac_try;;
17858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17859 (eval "$ac_compile") 2>conftest.er1
17861 grep -v '^ *+' conftest.er1
>conftest.err
17863 cat conftest.err
>&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } && {
17866 test -z "$ac_cxx_werror_flag" ||
17867 test ! -s conftest.err
17868 } && test -s conftest.
$ac_objext; then
17869 bakefile_cv_cxx_compiler___DECCXX
=yes
17871 echo "$as_me: failed program was:" >&5
17872 sed 's/^/| /' conftest.
$ac_ext >&5
17874 bakefile_cv_cxx_compiler___DECCXX
=no
17878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17882 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17883 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17884 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17890 ac_cpp
='$CPP $CPPFLAGS'
17891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17903 ac_cpp
='$CXXCPP $CPPFLAGS'
17904 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17905 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17906 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17908 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17909 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17910 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17911 echo $ECHO_N "(cached) $ECHO_C" >&6
17913 cat >conftest.
$ac_ext <<_ACEOF
17916 cat confdefs.h
>>conftest.
$ac_ext
17917 cat >>conftest.
$ac_ext <<_ACEOF
17918 /* end confdefs.h. */
17924 #ifndef __SUNPRO_CC
17932 rm -f conftest.
$ac_objext
17933 if { (ac_try
="$ac_compile"
17934 case "(($ac_try" in
17935 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17936 *) ac_try_echo=$ac_try;;
17938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17939 (eval "$ac_compile") 2>conftest.er1
17941 grep -v '^ *+' conftest.er1 >conftest.err
17943 cat conftest.err >&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); } && {
17946 test -z "$ac_cxx_werror_flag" ||
17947 test ! -s conftest.err
17948 } && test -s conftest.$ac_objext; then
17949 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17951 echo "$as_me: failed program was:" >&5
17952 sed 's/^/| /' conftest.$ac_ext >&5
17954 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17962 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17963 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17964 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17970 ac_cpp='$CPP $CPPFLAGS'
17971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17983 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17984 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17985 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17986 { (exit 1); exit 1; }; }
17989 if test "x$SUNCXX" != xyes; then
17990 if test -n "$ac_tool_prefix"; then
17991 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17992 set dummy ${ac_tool_prefix}ar; ac_word=$2
17993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17995 if test "${ac_cv_prog_AR+set}" = set; then
17996 echo $ECHO_N "(cached) $ECHO_C" >&6
17998 if test -n "$AR"; then
17999 ac_cv_prog_AR="$AR" # Let the user override the test.
18001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18002 for as_dir in $PATH
18005 test -z "$as_dir" && as_dir=.
18006 for ac_exec_ext in '' $ac_executable_extensions; do
18007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18008 ac_cv_prog_AR="${ac_tool_prefix}ar"
18009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18019 if test -n "$AR"; then
18020 { echo "$as_me:$LINENO: result: $AR" >&5
18021 echo "${ECHO_T}$AR" >&6; }
18023 { echo "$as_me:$LINENO: result: no" >&5
18024 echo "${ECHO_T}no" >&6; }
18029 if test -z "$ac_cv_prog_AR"; then
18031 # Extract the first word of "ar", so it can be a program name with args.
18032 set dummy ar; ac_word=$2
18033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18035 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18036 echo $ECHO_N "(cached) $ECHO_C" >&6
18038 if test -n "$ac_ct_AR"; then
18039 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18042 for as_dir in $PATH
18045 test -z "$as_dir" && as_dir=.
18046 for ac_exec_ext in '' $ac_executable_extensions; do
18047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18048 ac_cv_prog_ac_ct_AR="ar"
18049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18058 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18059 if test -n "$ac_ct_AR"; then
18060 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18061 echo "${ECHO_T}$ac_ct_AR" >&6; }
18063 { echo "$as_me:$LINENO: result: no" >&5
18064 echo "${ECHO_T}no" >&6; }
18067 if test "x$ac_ct_AR" = x; then
18070 case $cross_compiling:$ac_tool_warned in
18072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18073 whose name does not start with the host triplet. If you think this
18074 configuration is useful to you, please write to autoconf@gnu.org." >&5
18075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18076 whose name does not start with the host triplet. If you think this
18077 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18078 ac_tool_warned=yes ;;
18083 AR="$ac_cv_prog_AR"
18086 if test "x$AR" = "x" ; then
18087 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18088 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18089 { (exit 1); exit 1; }; }
18094 if test "$wxUSE_MAC" = 1; then
18096 retest_macosx_linking=no
18098 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18099 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18100 # Implicitly turn on the new --with-macosx-sdk using the default
18101 # SDK which provides the behavior this option has always had.
18102 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18103 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18104 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18105 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18106 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18107 wxUSE_MACOSX_SDK=yes
18110 # Complain to user if he specified an argument to --enable-universal_binary
18111 # and also 1) specified --with-macosx-sdk using the default (yes) or
18112 # 2) specified --with-macosx-sdk using a path or 3) specified
18113 # --without-macosx-sdk (no).
18114 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18115 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18116 See \`config.log
' for more details." >&5
18117 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18118 See \`config.log' for more details.
" >&2;}
18119 { (exit 1); exit 1; }; }
18121 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18122 # special-case the empty string because the below test simply
18123 # converts "no
" to the empty string anyway.
18124 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18125 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18126 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18129 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18130 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18131 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18132 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18133 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18134 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18135 retest_macosx_linking=yes
18137 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18138 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18142 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18144 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18145 # TODO: Search for most recent SDK and use it.
18146 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18150 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18151 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18152 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18153 if ! test -d "$wxUSE_MACOSX_SDK"; then
18154 { { echo "$as_me:$LINENO: error
: not found
18155 See \
`config.log' for more details." >&5
18156 echo "$as_me: error: not found
18157 See \`config.log
' for more details." >&2;}
18158 { (exit 1); exit 1; }; }
18160 { echo "$as_me:$LINENO: result: exists" >&5
18161 echo "${ECHO_T}exists" >&6; }
18163 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18164 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18165 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18166 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18167 retest_macosx_linking=yes
18170 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18171 wxUSE_MACOSX_VERSION_MIN=
18172 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18173 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18174 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18175 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18177 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/'`
18179 # If that failed, try again with the new key
18180 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18182 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/'`
18186 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18187 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18188 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18189 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18191 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18192 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18193 wxUSE_MACOSX_VERSION_MIN=
18196 wxUSE_MACOSX_VERSION_MIN=
18198 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18199 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18200 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18201 # otherwise configure stops on leopard for universal_binary
18202 wxUSE_MACOSX_VERSION_MIN=10.4
18204 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18205 wxUSE_MACOSX_VERSION_MIN=10.5
18210 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18214 if test "$wxUSE_OSX_CARBON" = 1; then
18218 if test "x$NEEDS_GCC40" == "xyes"; then
18219 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18220 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18221 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18222 if test "x$CC" = "xgcc"; then
18223 CCVERSION=`$CC --version | grep 4.[2-9].`
18224 if test "x$CCVERSION" != "x"; then
18225 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18226 CC="/usr/bin/gcc-4.0"
18230 if test "x$CXX" = "xg++"; then
18231 CCVERSION=`$CXX --version | grep 4.[2-9].`
18232 if test "x$CCVERSION" != "x"; then
18233 CXX="/usr/bin/g++-4.0"
18238 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18239 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18240 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18241 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18242 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18243 retest_macosx_linking=yes
18246 if test "x$retest_macosx_linking" = "xyes"; then
18248 ac_cpp='$CPP $CPPFLAGS'
18249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18250 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18253 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18254 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18255 cat >conftest.$ac_ext <<_ACEOF
18258 cat confdefs.h >>conftest.$ac_ext
18259 cat >>conftest.$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18270 rm -f conftest.$ac_objext conftest$ac_exeext
18271 if { (ac_try="$ac_link"
18272 case "(($ac_try" in
18273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18274 *) ac_try_echo=$ac_try;;
18276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18277 (eval "$ac_link") 2>conftest.er1
18279 grep -v '^
*+' conftest.er1 >conftest.err
18281 cat conftest.err >&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); } && {
18284 test -z "$ac_c_werror_flag" ||
18285 test ! -s conftest.err
18286 } && test -s conftest$ac_exeext &&
18287 $as_test_x conftest$ac_exeext; then
18288 { echo "$as_me:$LINENO: result: yes" >&5
18289 echo "${ECHO_T}yes" >&6; }
18291 echo "$as_me: failed program was:" >&5
18292 sed 's
/^
/| /' conftest.$ac_ext >&5
18294 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18295 See \`config.log' for more details.
" >&5
18296 echo "$as_me: error
: no. Try a different SDK
18297 See \
`config.log' for more details." >&2;}
18298 { (exit 1); exit 1; }; }; exit 1
18301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18302 conftest$ac_exeext conftest.$ac_ext
18304 ac_cpp='$CPP $CPPFLAGS'
18305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18311 ac_cpp='$CXXCPP $CPPFLAGS'
18312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18316 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18317 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18318 cat >conftest.$ac_ext <<_ACEOF
18321 cat confdefs.h >>conftest.$ac_ext
18322 cat >>conftest.$ac_ext <<_ACEOF
18323 /* end confdefs.h. */
18333 rm -f conftest.$ac_objext conftest$ac_exeext
18334 if { (ac_try="$ac_link"
18335 case "(($ac_try" in
18336 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18337 *) ac_try_echo
=$ac_try;;
18339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18340 (eval "$ac_link") 2>conftest.er1
18342 grep -v '^ *+' conftest.er1
>conftest.err
18344 cat conftest.err
>&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); } && {
18347 test -z "$ac_cxx_werror_flag" ||
18348 test ! -s conftest.err
18349 } && test -s conftest
$ac_exeext &&
18350 $as_test_x conftest
$ac_exeext; then
18351 { echo "$as_me:$LINENO: result: yes" >&5
18352 echo "${ECHO_T}yes" >&6; }
18354 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.
$ac_ext >&5
18357 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18358 See \`config.log' for more details." >&5
18359 echo "$as_me: error: no. Try a different SDK
18360 See \`config.log' for more details." >&2;}
18361 { (exit 1); exit 1; }; }; exit 1
18364 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18365 conftest
$ac_exeext conftest.
$ac_ext
18367 ac_cpp
='$CPP $CPPFLAGS'
18368 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18369 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18370 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18378 INSTALL_PROGRAM
="cp -fp"
18379 INSTALL_DATA
="cp -fp"
18386 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18387 CXXFLAGS
="-qunique $CXXFLAGS"
18391 powerpc
-*-darwin* )
18392 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18393 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18394 cat >conftest.
$ac_ext <<_ACEOF
18397 cat confdefs.h
>>conftest.
$ac_ext
18398 cat >>conftest.
$ac_ext <<_ACEOF
18399 /* end confdefs.h. */
18404 #ifndef __POWERPC__
18405 choke me for lack of PowerPC
18412 rm -f conftest.
$ac_objext
18413 if { (ac_try
="$ac_compile"
18414 case "(($ac_try" in
18415 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18416 *) ac_try_echo=$ac_try;;
18418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18419 (eval "$ac_compile") 2>conftest.er1
18421 grep -v '^ *+' conftest.er1 >conftest.err
18423 cat conftest.err >&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } && {
18426 test -z "$ac_c_werror_flag" ||
18427 test ! -s conftest.err
18428 } && test -s conftest.$ac_objext; then
18429 { echo "$as_me:$LINENO: result: yes" >&5
18430 echo "${ECHO_T}yes" >&6; }
18432 echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.$ac_ext >&5
18435 { echo "$as_me:$LINENO: result: no" >&5
18436 echo "${ECHO_T}no" >&6; }
18437 cat >>confdefs.h <<\_ACEOF
18438 #define __POWERPC__ 1
18444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18450 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18451 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18452 cat >conftest.$ac_ext <<_ACEOF
18455 cat confdefs.h >>conftest.$ac_ext
18456 cat >>conftest.$ac_ext <<_ACEOF
18457 /* end confdefs.h. */
18458 #include <CoreFoundation/CFBase.h>
18468 rm -f conftest.$ac_objext
18469 if { (ac_try="$ac_compile"
18470 case "(($ac_try" in
18471 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18472 *) ac_try_echo
=$ac_try;;
18474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18475 (eval "$ac_compile") 2>conftest.er1
18477 grep -v '^ *+' conftest.er1
>conftest.err
18479 cat conftest.err
>&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } && {
18482 test -z "$ac_c_werror_flag" ||
18483 test ! -s conftest.err
18484 } && test -s conftest.
$ac_objext; then
18485 { echo "$as_me:$LINENO: result: yes" >&5
18486 echo "${ECHO_T}yes" >&6; }
18488 echo "$as_me: failed program was:" >&5
18489 sed 's/^/| /' conftest.
$ac_ext >&5
18491 { echo "$as_me:$LINENO: result: no" >&5
18492 echo "${ECHO_T}no" >&6; }
18493 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18494 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18495 cat >conftest.
$ac_ext <<_ACEOF
18498 cat confdefs.h
>>conftest.
$ac_ext
18499 cat >>conftest.
$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 #define __CF_USE_FRAMEWORK_INCLUDES__
18502 #include <CoreFoundation/CFBase.h>
18512 rm -f conftest.
$ac_objext
18513 if { (ac_try
="$ac_compile"
18514 case "(($ac_try" in
18515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18516 *) ac_try_echo=$ac_try;;
18518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18519 (eval "$ac_compile") 2>conftest.er1
18521 grep -v '^ *+' conftest.er1 >conftest.err
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } && {
18526 test -z "$ac_c_werror_flag" ||
18527 test ! -s conftest.err
18528 } && test -s conftest.$ac_objext; then
18529 { echo "$as_me:$LINENO: result: yes" >&5
18530 echo "${ECHO_T}yes" >&6; }
18531 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18533 echo "$as_me: failed program was:" >&5
18534 sed 's/^/| /' conftest.$ac_ext >&5
18536 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18537 See \`config.log
' for more details." >&5
18538 echo "$as_me: error: no. CoreFoundation not available.
18539 See \`config.log' for more details.
" >&2;}
18540 { (exit 1); exit 1; }; }
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18554 doesnt_want_win32=0
18557 if test "$wxUSE_MSW" = 1 ; then
18560 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18561 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18562 if test "${wx_cv_nocygwin+set}" = set; then
18563 echo $ECHO_N "(cached
) $ECHO_C" >&6
18566 cat >conftest.$ac_ext <<_ACEOF
18569 cat confdefs.h >>conftest.$ac_ext
18570 cat >>conftest.$ac_ext <<_ACEOF
18571 /* end confdefs.h. */
18585 rm -f conftest.$ac_objext
18586 if { (ac_try="$ac_compile"
18587 case "(($ac_try" in
18588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18589 *) ac_try_echo=$ac_try;;
18591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18592 (eval "$ac_compile") 2>conftest.er1
18594 grep -v '^ *+' conftest.er1 >conftest.err
18596 cat conftest.err >&5
18597 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18598 (exit $ac_status); } && {
18599 test -z "$ac_c_werror_flag" ||
18600 test ! -s conftest.err
18601 } && test -s conftest.$ac_objext; then
18604 echo "$as_me: failed program was
:" >&5
18605 sed 's/^/| /' conftest.$ac_ext >&5
18611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18615 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18616 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18618 if test "$wx_cv_nocygwin" = "yes"; then
18621 doesnt_want_win32=1
18624 if test "$wants_win32" = 1 ; then
18625 BAKEFILE_FORCE_PLATFORM=win32
18633 if test "$wxUSE_WINE" = "yes"; then
18635 LDFLAGS_GUI="-mwindows"
18638 if test "$wants_win32" = 1 ; then
18641 cat >>confdefs.h <<\_ACEOF
18642 #define __WIN32__ 1
18645 cat >>confdefs.h <<\_ACEOF
18646 #define __WIN95__ 1
18649 cat >>confdefs.h <<\_ACEOF
18650 #define __WINDOWS__ 1
18653 cat >>confdefs.h <<\_ACEOF
18654 #define __GNUWIN32__ 1
18657 cat >>confdefs.h <<\_ACEOF
18662 if test "$doesnt_want_win32" = 1 ; then
18667 if test "$USE_UNIX" = 1 ; then
18669 cat >>confdefs.h <<\_ACEOF
18676 *-pc-os2_emx | *-pc-os2-emx )
18677 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18678 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18679 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18680 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18681 echo $ECHO_N "(cached
) $ECHO_C" >&6
18683 ac_check_lib_save_LIBS=$LIBS
18684 LIBS="-lcExt $LIBS"
18685 cat >conftest.$ac_ext <<_ACEOF
18688 cat confdefs.h >>conftest.$ac_ext
18689 cat >>conftest.$ac_ext <<_ACEOF
18690 /* end confdefs.h. */
18692 /* Override any GCC internal prototype to avoid an error.
18693 Use char because int might match the return type of a GCC
18694 builtin and then its argument prototype would still apply. */
18707 rm -f conftest.$ac_objext conftest$ac_exeext
18708 if { (ac_try="$ac_link"
18709 case "(($ac_try" in
18710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18711 *) ac_try_echo=$ac_try;;
18713 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18714 (eval "$ac_link") 2>conftest.er1
18716 grep -v '^ *+' conftest.er1 >conftest.err
18718 cat conftest.err >&5
18719 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18720 (exit $ac_status); } && {
18721 test -z "$ac_c_werror_flag" ||
18722 test ! -s conftest.err
18723 } && test -s conftest$ac_exeext &&
18724 $as_test_x conftest$ac_exeext; then
18725 ac_cv_lib_cExt_drand48=yes
18727 echo "$as_me: failed program was
:" >&5
18728 sed 's/^/| /' conftest.$ac_ext >&5
18730 ac_cv_lib_cExt_drand48=no
18733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18734 conftest$ac_exeext conftest.$ac_ext
18735 LIBS=$ac_check_lib_save_LIBS
18737 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18738 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18739 if test $ac_cv_lib_cExt_drand48 = yes; then
18740 LIBS="$LIBS -lcExt"
18744 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18746 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18747 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18748 if test "${wx_cv_gccversion+set}" = set; then
18749 echo $ECHO_N "(cached
) $ECHO_C" >&6
18752 if test "$cross_compiling" = yes; then
18753 wx_cv_gccversion="EMX2
"
18756 cat >conftest.$ac_ext <<_ACEOF
18759 cat confdefs.h >>conftest.$ac_ext
18760 cat >>conftest.$ac_ext <<_ACEOF
18761 /* end confdefs.h. */
18767 FILE *f=fopen("conftestval
", "w
");
18772 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18774 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18784 rm -f conftest$ac_exeext
18785 if { (ac_try="$ac_link"
18786 case "(($ac_try" in
18787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18788 *) ac_try_echo=$ac_try;;
18790 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18791 (eval "$ac_link") 2>&5
18793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18794 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18795 { (case "(($ac_try" in
18796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18797 *) ac_try_echo=$ac_try;;
18799 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18800 (eval "$ac_try") 2>&5
18802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18803 (exit $ac_status); }; }; then
18804 wx_cv_gccversion=`cat conftestval`
18806 echo "$as_me: program exited with status
$ac_status" >&5
18807 echo "$as_me: failed program was
:" >&5
18808 sed 's/^/| /' conftest.$ac_ext >&5
18810 ( exit $ac_status )
18811 wx_cv_gccversion="EMX2
"
18813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18819 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18820 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18821 if test "$wx_cv_gccversion" = "EMX2
"; then
18822 LIBS="$LIBS -lstdcpp"
18823 LDFLAGS="$LDFLAGS -Zsysv-signals"
18825 if test "$wx_cv_gccversion" = "EMX3
"; then
18826 LIBS="$LIBS -lstdcxx -lgcc"
18827 LDFLAGS="$LDFLAGS -Zsysv-signals"
18829 LIBS="$LIBS -lstdc++"
18832 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18833 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18834 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18841 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18842 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18843 if test "${ac_cv_string_strcasecmp+set}" = set; then
18844 echo $ECHO_N "(cached
) $ECHO_C" >&6
18847 cat >conftest.$ac_ext <<_ACEOF
18850 cat confdefs.h >>conftest.$ac_ext
18851 cat >>conftest.$ac_ext <<_ACEOF
18852 /* end confdefs.h. */
18854 #include <string.h>
18860 strcasecmp("foo
", "bar
");
18866 rm -f conftest.$ac_objext conftest$ac_exeext
18867 if { (ac_try="$ac_link"
18868 case "(($ac_try" in
18869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18870 *) ac_try_echo=$ac_try;;
18872 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18873 (eval "$ac_link") 2>conftest.er1
18875 grep -v '^ *+' conftest.er1 >conftest.err
18877 cat conftest.err >&5
18878 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18879 (exit $ac_status); } && {
18880 test -z "$ac_c_werror_flag" ||
18881 test ! -s conftest.err
18882 } && test -s conftest$ac_exeext &&
18883 $as_test_x conftest$ac_exeext; then
18884 ac_cv_string_strcasecmp=yes
18886 echo "$as_me: failed program was
:" >&5
18887 sed 's/^/| /' conftest.$ac_ext >&5
18889 ac_cv_string_strcasecmp=no
18893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18894 conftest$ac_exeext conftest.$ac_ext
18897 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18898 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18900 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18901 cat >>confdefs.h <<\_ACEOF
18902 #define HAVE_STRCASECMP_IN_STRING_H 1
18906 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18907 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18908 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18909 echo $ECHO_N "(cached
) $ECHO_C" >&6
18912 cat >conftest.$ac_ext <<_ACEOF
18915 cat confdefs.h >>conftest.$ac_ext
18916 cat >>conftest.$ac_ext <<_ACEOF
18917 /* end confdefs.h. */
18919 #include <strings.h>
18925 strcasecmp("foo
", "bar
");
18931 rm -f conftest.$ac_objext conftest$ac_exeext
18932 if { (ac_try="$ac_link"
18933 case "(($ac_try" in
18934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18935 *) ac_try_echo=$ac_try;;
18937 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18938 (eval "$ac_link") 2>conftest.er1
18940 grep -v '^ *+' conftest.er1 >conftest.err
18942 cat conftest.err >&5
18943 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18944 (exit $ac_status); } && {
18945 test -z "$ac_c_werror_flag" ||
18946 test ! -s conftest.err
18947 } && test -s conftest$ac_exeext &&
18948 $as_test_x conftest$ac_exeext; then
18949 ac_cv_strings_strcasecmp=yes
18951 echo "$as_me: failed program was
:" >&5
18952 sed 's/^/| /' conftest.$ac_ext >&5
18954 ac_cv_strings_strcasecmp=no
18958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18959 conftest$ac_exeext conftest.$ac_ext
18962 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18963 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18965 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18966 cat >>confdefs.h <<\_ACEOF
18967 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18971 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18972 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18973 { (exit 1); exit 1; }; }
18981 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18982 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18983 if test "${ac_cv_header_stdc+set}" = set; then
18984 echo $ECHO_N "(cached
) $ECHO_C" >&6
18986 cat >conftest.$ac_ext <<_ACEOF
18989 cat confdefs.h >>conftest.$ac_ext
18990 cat >>conftest.$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
18992 #include <stdlib.h>
18993 #include <stdarg.h>
18994 #include <string.h>
19005 rm -f conftest.$ac_objext
19006 if { (ac_try="$ac_compile"
19007 case "(($ac_try" in
19008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19009 *) ac_try_echo=$ac_try;;
19011 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19012 (eval "$ac_compile") 2>conftest.er1
19014 grep -v '^ *+' conftest.er1 >conftest.err
19016 cat conftest.err >&5
19017 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19018 (exit $ac_status); } && {
19019 test -z "$ac_c_werror_flag" ||
19020 test ! -s conftest.err
19021 } && test -s conftest.$ac_objext; then
19022 ac_cv_header_stdc=yes
19024 echo "$as_me: failed program was
:" >&5
19025 sed 's/^/| /' conftest.$ac_ext >&5
19027 ac_cv_header_stdc=no
19030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19032 if test $ac_cv_header_stdc = yes; then
19033 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19034 cat >conftest.$ac_ext <<_ACEOF
19037 cat confdefs.h >>conftest.$ac_ext
19038 cat >>conftest.$ac_ext <<_ACEOF
19039 /* end confdefs.h. */
19040 #include <string.h>
19043 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19044 $EGREP "memchr
" >/dev/null 2>&1; then
19047 ac_cv_header_stdc=no
19053 if test $ac_cv_header_stdc = yes; then
19054 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19055 cat >conftest.$ac_ext <<_ACEOF
19058 cat confdefs.h >>conftest.$ac_ext
19059 cat >>conftest.$ac_ext <<_ACEOF
19060 /* end confdefs.h. */
19061 #include <stdlib.h>
19064 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19065 $EGREP "free
" >/dev/null 2>&1; then
19068 ac_cv_header_stdc=no
19074 if test $ac_cv_header_stdc = yes; then
19075 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19076 if test "$cross_compiling" = yes; then
19079 cat >conftest.$ac_ext <<_ACEOF
19082 cat confdefs.h >>conftest.$ac_ext
19083 cat >>conftest.$ac_ext <<_ACEOF
19084 /* end confdefs.h. */
19086 #include <stdlib.h>
19087 #if ((' ' & 0x0FF) == 0x020)
19088 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19089 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19091 # define ISLOWER(c) \
19092 (('a' <= (c) && (c) <= 'i') \
19093 || ('j' <= (c) && (c) <= 'r') \
19094 || ('s' <= (c) && (c) <= 'z'))
19095 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19098 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19103 for (i = 0; i < 256; i++)
19104 if (XOR (islower (i), ISLOWER (i))
19105 || toupper (i) != TOUPPER (i))
19110 rm -f conftest$ac_exeext
19111 if { (ac_try="$ac_link"
19112 case "(($ac_try" in
19113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19114 *) ac_try_echo=$ac_try;;
19116 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19117 (eval "$ac_link") 2>&5
19119 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19120 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19121 { (case "(($ac_try" in
19122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19123 *) ac_try_echo=$ac_try;;
19125 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19126 (eval "$ac_try") 2>&5
19128 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19129 (exit $ac_status); }; }; then
19132 echo "$as_me: program exited with status
$ac_status" >&5
19133 echo "$as_me: failed program was
:" >&5
19134 sed 's/^/| /' conftest.$ac_ext >&5
19136 ( exit $ac_status )
19137 ac_cv_header_stdc=no
19139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19145 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19146 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19147 if test $ac_cv_header_stdc = yes; then
19149 cat >>confdefs.h <<\_ACEOF
19150 #define STDC_HEADERS 1
19155 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19165 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19166 inttypes.h stdint.h unistd.h
19168 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19169 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19170 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19171 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19172 echo $ECHO_N "(cached
) $ECHO_C" >&6
19174 cat >conftest.$ac_ext <<_ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 $ac_includes_default
19182 #include <$ac_header>
19184 rm -f conftest.$ac_objext
19185 if { (ac_try="$ac_compile"
19186 case "(($ac_try" in
19187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19188 *) ac_try_echo=$ac_try;;
19190 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19191 (eval "$ac_compile") 2>conftest.er1
19193 grep -v '^ *+' conftest.er1 >conftest.err
19195 cat conftest.err >&5
19196 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19197 (exit $ac_status); } && {
19198 test -z "$ac_c_werror_flag" ||
19199 test ! -s conftest.err
19200 } && test -s conftest.$ac_objext; then
19201 eval "$as_ac_Header=yes"
19203 echo "$as_me: failed program was
:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19206 eval "$as_ac_Header=no
"
19209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19211 ac_res=`eval echo '${'$as_ac_Header'}'`
19212 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19213 echo "${ECHO_T}$ac_res" >&6; }
19214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19215 cat >>confdefs.h <<_ACEOF
19216 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19226 for ac_header in langinfo.h wchar.h
19228 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19229 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19230 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19231 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19232 echo $ECHO_N "(cached
) $ECHO_C" >&6
19234 cat >conftest.$ac_ext <<_ACEOF
19237 cat confdefs.h >>conftest.$ac_ext
19238 cat >>conftest.$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19240 $ac_includes_default
19242 #include <$ac_header>
19244 rm -f conftest.$ac_objext
19245 if { (ac_try="$ac_compile"
19246 case "(($ac_try" in
19247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19248 *) ac_try_echo=$ac_try;;
19250 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19251 (eval "$ac_compile") 2>conftest.er1
19253 grep -v '^ *+' conftest.er1 >conftest.err
19255 cat conftest.err >&5
19256 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19257 (exit $ac_status); } && {
19258 test -z "$ac_c_werror_flag" ||
19259 test ! -s conftest.err
19260 } && test -s conftest.$ac_objext; then
19261 eval "$as_ac_Header=yes"
19263 echo "$as_me: failed program was
:" >&5
19264 sed 's/^/| /' conftest.$ac_ext >&5
19266 eval "$as_ac_Header=no
"
19269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19271 ac_res=`eval echo '${'$as_ac_Header'}'`
19272 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19273 echo "${ECHO_T}$ac_res" >&6; }
19274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19275 cat >>confdefs.h <<_ACEOF
19276 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19284 if test "$ac_cv_header_wchar_h" != "yes"; then
19286 for ac_header in wcstr.h
19288 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19289 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19290 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19291 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19292 echo $ECHO_N "(cached
) $ECHO_C" >&6
19294 cat >conftest.$ac_ext <<_ACEOF
19297 cat confdefs.h >>conftest.$ac_ext
19298 cat >>conftest.$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 $ac_includes_default
19302 #include <$ac_header>
19304 rm -f conftest.$ac_objext
19305 if { (ac_try="$ac_compile"
19306 case "(($ac_try" in
19307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19308 *) ac_try_echo=$ac_try;;
19310 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19311 (eval "$ac_compile") 2>conftest.er1
19313 grep -v '^ *+' conftest.er1 >conftest.err
19315 cat conftest.err >&5
19316 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19317 (exit $ac_status); } && {
19318 test -z "$ac_c_werror_flag" ||
19319 test ! -s conftest.err
19320 } && test -s conftest.$ac_objext; then
19321 eval "$as_ac_Header=yes"
19323 echo "$as_me: failed program was
:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19326 eval "$as_ac_Header=no
"
19329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19331 ac_res=`eval echo '${'$as_ac_Header'}'`
19332 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19333 echo "${ECHO_T}$ac_res" >&6; }
19334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19335 cat >>confdefs.h <<_ACEOF
19336 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19346 *-pc-os2_emx | *-pc-os2-emx )
19347 if test $ac_cv_header_langinfo_h = "yes" \
19348 -a \( "$wx_cv_gccversion" = "EMX2
" \
19349 -o "$wx_cv_gccversion" = "EMX3
" \
19350 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19351 LIBS="$LIBS -lintl"
19356 if test "$USE_UNIX" = 1 ; then
19358 for ac_header in sys/select.h
19360 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19361 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19362 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19363 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19364 echo $ECHO_N "(cached
) $ECHO_C" >&6
19366 cat >conftest.$ac_ext <<_ACEOF
19369 cat confdefs.h >>conftest.$ac_ext
19370 cat >>conftest.$ac_ext <<_ACEOF
19371 /* end confdefs.h. */
19372 $ac_includes_default
19374 #include <$ac_header>
19376 rm -f conftest.$ac_objext
19377 if { (ac_try="$ac_compile"
19378 case "(($ac_try" in
19379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19380 *) ac_try_echo=$ac_try;;
19382 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19383 (eval "$ac_compile") 2>conftest.er1
19385 grep -v '^ *+' conftest.er1 >conftest.err
19387 cat conftest.err >&5
19388 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19389 (exit $ac_status); } && {
19390 test -z "$ac_c_werror_flag" ||
19391 test ! -s conftest.err
19392 } && test -s conftest.$ac_objext; then
19393 eval "$as_ac_Header=yes"
19395 echo "$as_me: failed program was
:" >&5
19396 sed 's/^/| /' conftest.$ac_ext >&5
19398 eval "$as_ac_Header=no
"
19401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19403 ac_res=`eval echo '${'$as_ac_Header'}'`
19404 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19405 echo "${ECHO_T}$ac_res" >&6; }
19406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19407 cat >>confdefs.h <<_ACEOF
19408 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19418 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19419 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19420 if test "${ac_cv_c_const+set}" = set; then
19421 echo $ECHO_N "(cached
) $ECHO_C" >&6
19423 cat >conftest.$ac_ext <<_ACEOF
19426 cat confdefs.h >>conftest.$ac_ext
19427 cat >>conftest.$ac_ext <<_ACEOF
19428 /* end confdefs.h. */
19433 /* FIXME: Include the comments suggested by Paul. */
19434 #ifndef __cplusplus
19435 /* Ultrix mips cc rejects this. */
19436 typedef int charset[2];
19438 /* SunOS 4.1.1 cc rejects this. */
19439 char const *const *pcpcc;
19441 /* NEC SVR4.0.2 mips cc rejects this. */
19442 struct point {int x, y;};
19443 static struct point const zero = {0,0};
19444 /* AIX XL C 1.02.0.0 rejects this.
19445 It does not let you subtract one const X* pointer from another in
19446 an arm of an if-expression whose if-part is not a constant
19448 const char *g = "string
";
19449 pcpcc = &g + (g ? g-g : 0);
19450 /* HPUX 7.0 cc rejects these. */
19452 ppc = (char**) pcpcc;
19453 pcpcc = (char const *const *) ppc;
19454 { /* SCO 3.2v4 cc rejects this. */
19456 char const *s = 0 ? (char *) 0 : (char const *) 0;
19461 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19462 int x[] = {25, 17};
19463 const int *foo = &x[0];
19466 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19467 typedef const int *iptr;
19471 { /* AIX XL C 1.02.0.0 rejects this saying
19472 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19473 struct s { int j; const int *ap[3]; };
19474 struct s *b; b->j = 5;
19476 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19477 const int foo = 10;
19478 if (!foo) return 0;
19480 return !cs[0] && !zero.x;
19487 rm -f conftest.$ac_objext
19488 if { (ac_try="$ac_compile"
19489 case "(($ac_try" in
19490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19491 *) ac_try_echo=$ac_try;;
19493 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19494 (eval "$ac_compile") 2>conftest.er1
19496 grep -v '^ *+' conftest.er1 >conftest.err
19498 cat conftest.err >&5
19499 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19500 (exit $ac_status); } && {
19501 test -z "$ac_c_werror_flag" ||
19502 test ! -s conftest.err
19503 } && test -s conftest.$ac_objext; then
19506 echo "$as_me: failed program was
:" >&5
19507 sed 's/^/| /' conftest.$ac_ext >&5
19512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19514 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19515 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19516 if test $ac_cv_c_const = no; then
19518 cat >>confdefs.h <<\_ACEOF
19524 { echo "$as_me:$LINENO: checking
for inline
" >&5
19525 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19526 if test "${ac_cv_c_inline+set}" = set; then
19527 echo $ECHO_N "(cached
) $ECHO_C" >&6
19530 for ac_kw in inline __inline__ __inline; do
19531 cat >conftest.$ac_ext <<_ACEOF
19534 cat confdefs.h >>conftest.$ac_ext
19535 cat >>conftest.$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19537 #ifndef __cplusplus
19539 static $ac_kw foo_t static_foo () {return 0; }
19540 $ac_kw foo_t foo () {return 0; }
19544 rm -f conftest.$ac_objext
19545 if { (ac_try="$ac_compile"
19546 case "(($ac_try" in
19547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19548 *) ac_try_echo=$ac_try;;
19550 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19551 (eval "$ac_compile") 2>conftest.er1
19553 grep -v '^ *+' conftest.er1 >conftest.err
19555 cat conftest.err >&5
19556 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19557 (exit $ac_status); } && {
19558 test -z "$ac_c_werror_flag" ||
19559 test ! -s conftest.err
19560 } && test -s conftest.$ac_objext; then
19561 ac_cv_c_inline=$ac_kw
19563 echo "$as_me: failed program was
:" >&5
19564 sed 's/^/| /' conftest.$ac_ext >&5
19569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19570 test "$ac_cv_c_inline" != no && break
19574 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19575 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19578 case $ac_cv_c_inline in
19581 case $ac_cv_c_inline in
19583 *) ac_val=$ac_cv_c_inline;;
19585 cat >>confdefs.h <<_ACEOF
19586 #ifndef __cplusplus
19587 #define inline $ac_val
19594 { echo "$as_me:$LINENO: checking
for short
" >&5
19595 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19596 if test "${ac_cv_type_short+set}" = set; then
19597 echo $ECHO_N "(cached
) $ECHO_C" >&6
19599 cat >conftest.$ac_ext <<_ACEOF
19602 cat confdefs.h >>conftest.$ac_ext
19603 cat >>conftest.$ac_ext <<_ACEOF
19604 /* end confdefs.h. */
19605 $ac_includes_default
19606 typedef short ac__type_new_;
19610 if ((ac__type_new_ *) 0)
19612 if (sizeof (ac__type_new_))
19618 rm -f conftest.$ac_objext
19619 if { (ac_try="$ac_compile"
19620 case "(($ac_try" in
19621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19622 *) ac_try_echo=$ac_try;;
19624 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19625 (eval "$ac_compile") 2>conftest.er1
19627 grep -v '^ *+' conftest.er1 >conftest.err
19629 cat conftest.err >&5
19630 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19631 (exit $ac_status); } && {
19632 test -z "$ac_c_werror_flag" ||
19633 test ! -s conftest.err
19634 } && test -s conftest.$ac_objext; then
19635 ac_cv_type_short=yes
19637 echo "$as_me: failed program was
:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19640 ac_cv_type_short=no
19643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19645 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19646 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19648 # The cast to long int works around a bug in the HP C Compiler
19649 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19650 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19651 # This bug is HP SR number 8606223364.
19652 { echo "$as_me:$LINENO: checking size of short
" >&5
19653 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19654 if test "${ac_cv_sizeof_short+set}" = set; then
19655 echo $ECHO_N "(cached
) $ECHO_C" >&6
19657 if test "$cross_compiling" = yes; then
19658 # Depending upon the size, compute the lo and hi bounds.
19659 cat >conftest.$ac_ext <<_ACEOF
19662 cat confdefs.h >>conftest.$ac_ext
19663 cat >>conftest.$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19665 $ac_includes_default
19666 typedef short ac__type_sizeof_;
19670 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19677 rm -f conftest.$ac_objext
19678 if { (ac_try="$ac_compile"
19679 case "(($ac_try" in
19680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19681 *) ac_try_echo=$ac_try;;
19683 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19684 (eval "$ac_compile") 2>conftest.er1
19686 grep -v '^ *+' conftest.er1 >conftest.err
19688 cat conftest.err >&5
19689 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19690 (exit $ac_status); } && {
19691 test -z "$ac_c_werror_flag" ||
19692 test ! -s conftest.err
19693 } && test -s conftest.$ac_objext; then
19696 cat >conftest.$ac_ext <<_ACEOF
19699 cat confdefs.h >>conftest.$ac_ext
19700 cat >>conftest.$ac_ext <<_ACEOF
19701 /* end confdefs.h. */
19702 $ac_includes_default
19703 typedef short ac__type_sizeof_;
19707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19714 rm -f conftest.$ac_objext
19715 if { (ac_try="$ac_compile"
19716 case "(($ac_try" in
19717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19718 *) ac_try_echo=$ac_try;;
19720 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19721 (eval "$ac_compile") 2>conftest.er1
19723 grep -v '^ *+' conftest.er1 >conftest.err
19725 cat conftest.err >&5
19726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19727 (exit $ac_status); } && {
19728 test -z "$ac_c_werror_flag" ||
19729 test ! -s conftest.err
19730 } && test -s conftest.$ac_objext; then
19731 ac_hi=$ac_mid; break
19733 echo "$as_me: failed program was
:" >&5
19734 sed 's/^/| /' conftest.$ac_ext >&5
19736 ac_lo=`expr $ac_mid + 1`
19737 if test $ac_lo -le $ac_mid; then
19741 ac_mid=`expr 2 '*' $ac_mid + 1`
19744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19747 echo "$as_me: failed program was
:" >&5
19748 sed 's/^/| /' conftest.$ac_ext >&5
19750 cat >conftest.$ac_ext <<_ACEOF
19753 cat confdefs.h >>conftest.$ac_ext
19754 cat >>conftest.$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19756 $ac_includes_default
19757 typedef short ac__type_sizeof_;
19761 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19768 rm -f conftest.$ac_objext
19769 if { (ac_try="$ac_compile"
19770 case "(($ac_try" in
19771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19772 *) ac_try_echo=$ac_try;;
19774 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19775 (eval "$ac_compile") 2>conftest.er1
19777 grep -v '^ *+' conftest.er1 >conftest.err
19779 cat conftest.err >&5
19780 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19781 (exit $ac_status); } && {
19782 test -z "$ac_c_werror_flag" ||
19783 test ! -s conftest.err
19784 } && test -s conftest.$ac_objext; then
19787 cat >conftest.$ac_ext <<_ACEOF
19790 cat confdefs.h >>conftest.$ac_ext
19791 cat >>conftest.$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19793 $ac_includes_default
19794 typedef short ac__type_sizeof_;
19798 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19805 rm -f conftest.$ac_objext
19806 if { (ac_try="$ac_compile"
19807 case "(($ac_try" in
19808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19809 *) ac_try_echo=$ac_try;;
19811 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19812 (eval "$ac_compile") 2>conftest.er1
19814 grep -v '^ *+' conftest.er1 >conftest.err
19816 cat conftest.err >&5
19817 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19818 (exit $ac_status); } && {
19819 test -z "$ac_c_werror_flag" ||
19820 test ! -s conftest.err
19821 } && test -s conftest.$ac_objext; then
19822 ac_lo=$ac_mid; break
19824 echo "$as_me: failed program was
:" >&5
19825 sed 's/^/| /' conftest.$ac_ext >&5
19827 ac_hi=`expr '(' $ac_mid ')' - 1`
19828 if test $ac_mid -le $ac_hi; then
19832 ac_mid=`expr 2 '*' $ac_mid`
19835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19838 echo "$as_me: failed program was
:" >&5
19839 sed 's/^/| /' conftest.$ac_ext >&5
19844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19848 # Binary search between lo and hi bounds.
19849 while test "x
$ac_lo" != "x
$ac_hi"; do
19850 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19851 cat >conftest.$ac_ext <<_ACEOF
19854 cat confdefs.h >>conftest.$ac_ext
19855 cat >>conftest.$ac_ext <<_ACEOF
19856 /* end confdefs.h. */
19857 $ac_includes_default
19858 typedef short ac__type_sizeof_;
19862 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19869 rm -f conftest.$ac_objext
19870 if { (ac_try="$ac_compile"
19871 case "(($ac_try" in
19872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19873 *) ac_try_echo=$ac_try;;
19875 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19876 (eval "$ac_compile") 2>conftest.er1
19878 grep -v '^ *+' conftest.er1 >conftest.err
19880 cat conftest.err >&5
19881 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19882 (exit $ac_status); } && {
19883 test -z "$ac_c_werror_flag" ||
19884 test ! -s conftest.err
19885 } && test -s conftest.$ac_objext; then
19888 echo "$as_me: failed program was
:" >&5
19889 sed 's/^/| /' conftest.$ac_ext >&5
19891 ac_lo=`expr '(' $ac_mid ')' + 1`
19894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19897 ?*) ac_cv_sizeof_short=$ac_lo;;
19898 '') if test "$ac_cv_type_short" = yes; then
19899 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19900 See \
`config.log' for more details." >&5
19901 echo "$as_me: error: cannot compute sizeof (short)
19902 See \`config.log
' for more details." >&2;}
19903 { (exit 77); exit 77; }; }
19905 ac_cv_sizeof_short=0
19909 cat >conftest.$ac_ext <<_ACEOF
19912 cat confdefs.h >>conftest.$ac_ext
19913 cat >>conftest.$ac_ext <<_ACEOF
19914 /* end confdefs.h. */
19915 $ac_includes_default
19916 typedef short ac__type_sizeof_;
19917 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19918 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19920 #include <stdlib.h>
19925 FILE *f = fopen ("conftest.val", "w");
19928 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19930 long int i = longval ();
19931 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19933 fprintf (f, "%ld\n", i);
19937 unsigned long int i = ulongval ();
19938 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19940 fprintf (f, "%lu\n", i);
19942 return ferror (f) || fclose (f) != 0;
19948 rm -f conftest$ac_exeext
19949 if { (ac_try="$ac_link"
19950 case "(($ac_try" in
19951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19952 *) ac_try_echo=$ac_try;;
19954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19955 (eval "$ac_link") 2>&5
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19959 { (case "(($ac_try" in
19960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19961 *) ac_try_echo=$ac_try;;
19963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19964 (eval "$ac_try") 2>&5
19966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19967 (exit $ac_status); }; }; then
19968 ac_cv_sizeof_short=`cat conftest.val`
19970 echo "$as_me: program exited with status $ac_status" >&5
19971 echo "$as_me: failed program was:" >&5
19972 sed 's
/^
/| /' conftest.$ac_ext >&5
19974 ( exit $ac_status )
19975 if test "$ac_cv_type_short" = yes; then
19976 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19977 See \`config.log' for more details.
" >&5
19978 echo "$as_me: error
: cannot compute sizeof
(short
)
19979 See \
`config.log' for more details." >&2;}
19980 { (exit 77); exit 77; }; }
19982 ac_cv_sizeof_short=0
19985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19989 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19990 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19994 cat >>confdefs.h <<_ACEOF
19995 #define SIZEOF_SHORT $ac_cv_sizeof_short
19999 { echo "$as_me:$LINENO: checking for void *" >&5
20000 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20001 if test "${ac_cv_type_void_p+set}" = set; then
20002 echo $ECHO_N "(cached) $ECHO_C" >&6
20004 cat >conftest.$ac_ext <<_ACEOF
20007 cat confdefs.h >>conftest.$ac_ext
20008 cat >>conftest.$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 $ac_includes_default
20011 typedef void * ac__type_new_;
20015 if ((ac__type_new_ *) 0)
20017 if (sizeof (ac__type_new_))
20023 rm -f conftest.$ac_objext
20024 if { (ac_try="$ac_compile"
20025 case "(($ac_try" in
20026 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20027 *) ac_try_echo
=$ac_try;;
20029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20030 (eval "$ac_compile") 2>conftest.er1
20032 grep -v '^ *+' conftest.er1
>conftest.err
20034 cat conftest.err
>&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); } && {
20037 test -z "$ac_c_werror_flag" ||
20038 test ! -s conftest.err
20039 } && test -s conftest.
$ac_objext; then
20040 ac_cv_type_void_p
=yes
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.
$ac_ext >&5
20045 ac_cv_type_void_p
=no
20048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20050 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20051 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20053 # The cast to long int works around a bug in the HP C Compiler
20054 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20056 # This bug is HP SR number 8606223364.
20057 { echo "$as_me:$LINENO: checking size of void *" >&5
20058 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20059 if test "${ac_cv_sizeof_void_p+set}" = set; then
20060 echo $ECHO_N "(cached) $ECHO_C" >&6
20062 if test "$cross_compiling" = yes; then
20063 # Depending upon the size, compute the lo and hi bounds.
20064 cat >conftest.
$ac_ext <<_ACEOF
20067 cat confdefs.h
>>conftest.
$ac_ext
20068 cat >>conftest.
$ac_ext <<_ACEOF
20069 /* end confdefs.h. */
20070 $ac_includes_default
20071 typedef void * ac__type_sizeof_;
20075 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20082 rm -f conftest.
$ac_objext
20083 if { (ac_try
="$ac_compile"
20084 case "(($ac_try" in
20085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20086 *) ac_try_echo=$ac_try;;
20088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20089 (eval "$ac_compile") 2>conftest.er1
20091 grep -v '^ *+' conftest.er1 >conftest.err
20093 cat conftest.err >&5
20094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20095 (exit $ac_status); } && {
20096 test -z "$ac_c_werror_flag" ||
20097 test ! -s conftest.err
20098 } && test -s conftest.$ac_objext; then
20101 cat >conftest.$ac_ext <<_ACEOF
20104 cat confdefs.h >>conftest.$ac_ext
20105 cat >>conftest.$ac_ext <<_ACEOF
20106 /* end confdefs.h. */
20107 $ac_includes_default
20108 typedef void * ac__type_sizeof_;
20112 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20119 rm -f conftest.$ac_objext
20120 if { (ac_try="$ac_compile"
20121 case "(($ac_try" in
20122 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20123 *) ac_try_echo
=$ac_try;;
20125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20126 (eval "$ac_compile") 2>conftest.er1
20128 grep -v '^ *+' conftest.er1
>conftest.err
20130 cat conftest.err
>&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); } && {
20133 test -z "$ac_c_werror_flag" ||
20134 test ! -s conftest.err
20135 } && test -s conftest.
$ac_objext; then
20136 ac_hi
=$ac_mid; break
20138 echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.
$ac_ext >&5
20141 ac_lo
=`expr $ac_mid + 1`
20142 if test $ac_lo -le $ac_mid; then
20146 ac_mid
=`expr 2 '*' $ac_mid + 1`
20149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20152 echo "$as_me: failed program was:" >&5
20153 sed 's/^/| /' conftest.
$ac_ext >&5
20155 cat >conftest.
$ac_ext <<_ACEOF
20158 cat confdefs.h
>>conftest.
$ac_ext
20159 cat >>conftest.
$ac_ext <<_ACEOF
20160 /* end confdefs.h. */
20161 $ac_includes_default
20162 typedef void * ac__type_sizeof_;
20166 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20173 rm -f conftest.
$ac_objext
20174 if { (ac_try
="$ac_compile"
20175 case "(($ac_try" in
20176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20177 *) ac_try_echo=$ac_try;;
20179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20180 (eval "$ac_compile") 2>conftest.er1
20182 grep -v '^ *+' conftest.er1 >conftest.err
20184 cat conftest.err >&5
20185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186 (exit $ac_status); } && {
20187 test -z "$ac_c_werror_flag" ||
20188 test ! -s conftest.err
20189 } && test -s conftest.$ac_objext; then
20192 cat >conftest.$ac_ext <<_ACEOF
20195 cat confdefs.h >>conftest.$ac_ext
20196 cat >>conftest.$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20198 $ac_includes_default
20199 typedef void * ac__type_sizeof_;
20203 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20210 rm -f conftest.$ac_objext
20211 if { (ac_try="$ac_compile"
20212 case "(($ac_try" in
20213 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20214 *) ac_try_echo
=$ac_try;;
20216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20217 (eval "$ac_compile") 2>conftest.er1
20219 grep -v '^ *+' conftest.er1
>conftest.err
20221 cat conftest.err
>&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); } && {
20224 test -z "$ac_c_werror_flag" ||
20225 test ! -s conftest.err
20226 } && test -s conftest.
$ac_objext; then
20227 ac_lo
=$ac_mid; break
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.
$ac_ext >&5
20232 ac_hi
=`expr '(' $ac_mid ')' - 1`
20233 if test $ac_mid -le $ac_hi; then
20237 ac_mid
=`expr 2 '*' $ac_mid`
20240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20243 echo "$as_me: failed program was:" >&5
20244 sed 's/^/| /' conftest.
$ac_ext >&5
20249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20253 # Binary search between lo and hi bounds.
20254 while test "x$ac_lo" != "x$ac_hi"; do
20255 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20256 cat >conftest.
$ac_ext <<_ACEOF
20259 cat confdefs.h
>>conftest.
$ac_ext
20260 cat >>conftest.
$ac_ext <<_ACEOF
20261 /* end confdefs.h. */
20262 $ac_includes_default
20263 typedef void * ac__type_sizeof_;
20267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20274 rm -f conftest.
$ac_objext
20275 if { (ac_try
="$ac_compile"
20276 case "(($ac_try" in
20277 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20278 *) ac_try_echo=$ac_try;;
20280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20281 (eval "$ac_compile") 2>conftest.er1
20283 grep -v '^ *+' conftest.er1 >conftest.err
20285 cat conftest.err >&5
20286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20287 (exit $ac_status); } && {
20288 test -z "$ac_c_werror_flag" ||
20289 test ! -s conftest.err
20290 } && test -s conftest.$ac_objext; then
20293 echo "$as_me: failed program was:" >&5
20294 sed 's/^/| /' conftest.$ac_ext >&5
20296 ac_lo=`expr '(' $ac_mid ')' + 1`
20299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20302 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20303 '') if test "$ac_cv_type_void_p" = yes; then
20304 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20305 See \`config.log
' for more details." >&5
20306 echo "$as_me: error: cannot compute sizeof (void *)
20307 See \`config.log' for more details.
" >&2;}
20308 { (exit 77); exit 77; }; }
20310 ac_cv_sizeof_void_p=0
20314 cat >conftest.$ac_ext <<_ACEOF
20317 cat confdefs.h >>conftest.$ac_ext
20318 cat >>conftest.$ac_ext <<_ACEOF
20319 /* end confdefs.h. */
20320 $ac_includes_default
20321 typedef void * ac__type_sizeof_;
20322 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20323 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20325 #include <stdlib.h>
20330 FILE *f = fopen ("conftest.val
", "w
");
20333 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20335 long int i = longval ();
20336 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20338 fprintf (f, "%ld
\n", i);
20342 unsigned long int i = ulongval ();
20343 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20345 fprintf (f, "%lu
\n", i);
20347 return ferror (f) || fclose (f) != 0;
20353 rm -f conftest$ac_exeext
20354 if { (ac_try="$ac_link"
20355 case "(($ac_try" in
20356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20357 *) ac_try_echo=$ac_try;;
20359 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20360 (eval "$ac_link") 2>&5
20362 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20363 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20364 { (case "(($ac_try" in
20365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20366 *) ac_try_echo=$ac_try;;
20368 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20369 (eval "$ac_try") 2>&5
20371 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20372 (exit $ac_status); }; }; then
20373 ac_cv_sizeof_void_p=`cat conftest.val`
20375 echo "$as_me: program exited with status
$ac_status" >&5
20376 echo "$as_me: failed program was
:" >&5
20377 sed 's/^/| /' conftest.$ac_ext >&5
20379 ( exit $ac_status )
20380 if test "$ac_cv_type_void_p" = yes; then
20381 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20382 See \
`config.log' for more details." >&5
20383 echo "$as_me: error: cannot compute sizeof (void *)
20384 See \`config.log
' for more details." >&2;}
20385 { (exit 77); exit 77; }; }
20387 ac_cv_sizeof_void_p=0
20390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20394 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20395 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20399 cat >>confdefs.h <<_ACEOF
20400 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20404 { echo "$as_me:$LINENO: checking for int" >&5
20405 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20406 if test "${ac_cv_type_int+set}" = set; then
20407 echo $ECHO_N "(cached) $ECHO_C" >&6
20409 cat >conftest.$ac_ext <<_ACEOF
20412 cat confdefs.h >>conftest.$ac_ext
20413 cat >>conftest.$ac_ext <<_ACEOF
20414 /* end confdefs.h. */
20415 $ac_includes_default
20416 typedef int ac__type_new_;
20420 if ((ac__type_new_ *) 0)
20422 if (sizeof (ac__type_new_))
20428 rm -f conftest.$ac_objext
20429 if { (ac_try="$ac_compile"
20430 case "(($ac_try" in
20431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20432 *) ac_try_echo=$ac_try;;
20434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20435 (eval "$ac_compile") 2>conftest.er1
20437 grep -v '^
*+' conftest.er1 >conftest.err
20439 cat conftest.err >&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); } && {
20442 test -z "$ac_c_werror_flag" ||
20443 test ! -s conftest.err
20444 } && test -s conftest.$ac_objext; then
20447 echo "$as_me: failed program was:" >&5
20448 sed 's
/^
/| /' conftest.$ac_ext >&5
20453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20455 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20456 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20458 # The cast to long int works around a bug in the HP C Compiler
20459 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20460 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20461 # This bug is HP SR number 8606223364.
20462 { echo "$as_me:$LINENO: checking size of int" >&5
20463 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20464 if test "${ac_cv_sizeof_int+set}" = set; then
20465 echo $ECHO_N "(cached) $ECHO_C" >&6
20467 if test "$cross_compiling" = yes; then
20468 # Depending upon the size, compute the lo and hi bounds.
20469 cat >conftest.
$ac_ext <<_ACEOF
20472 cat confdefs.h
>>conftest.
$ac_ext
20473 cat >>conftest.
$ac_ext <<_ACEOF
20474 /* end confdefs.h. */
20475 $ac_includes_default
20476 typedef int ac__type_sizeof_;
20480 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20487 rm -f conftest.
$ac_objext
20488 if { (ac_try
="$ac_compile"
20489 case "(($ac_try" in
20490 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20491 *) ac_try_echo=$ac_try;;
20493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20494 (eval "$ac_compile") 2>conftest.er1
20496 grep -v '^ *+' conftest.er1 >conftest.err
20498 cat conftest.err >&5
20499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20500 (exit $ac_status); } && {
20501 test -z "$ac_c_werror_flag" ||
20502 test ! -s conftest.err
20503 } && test -s conftest.$ac_objext; then
20506 cat >conftest.$ac_ext <<_ACEOF
20509 cat confdefs.h >>conftest.$ac_ext
20510 cat >>conftest.$ac_ext <<_ACEOF
20511 /* end confdefs.h. */
20512 $ac_includes_default
20513 typedef int ac__type_sizeof_;
20517 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20524 rm -f conftest.$ac_objext
20525 if { (ac_try="$ac_compile"
20526 case "(($ac_try" in
20527 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20528 *) ac_try_echo
=$ac_try;;
20530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20531 (eval "$ac_compile") 2>conftest.er1
20533 grep -v '^ *+' conftest.er1
>conftest.err
20535 cat conftest.err
>&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); } && {
20538 test -z "$ac_c_werror_flag" ||
20539 test ! -s conftest.err
20540 } && test -s conftest.
$ac_objext; then
20541 ac_hi
=$ac_mid; break
20543 echo "$as_me: failed program was:" >&5
20544 sed 's/^/| /' conftest.
$ac_ext >&5
20546 ac_lo
=`expr $ac_mid + 1`
20547 if test $ac_lo -le $ac_mid; then
20551 ac_mid
=`expr 2 '*' $ac_mid + 1`
20554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.
$ac_ext >&5
20560 cat >conftest.
$ac_ext <<_ACEOF
20563 cat confdefs.h
>>conftest.
$ac_ext
20564 cat >>conftest.
$ac_ext <<_ACEOF
20565 /* end confdefs.h. */
20566 $ac_includes_default
20567 typedef int ac__type_sizeof_;
20571 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20578 rm -f conftest.
$ac_objext
20579 if { (ac_try
="$ac_compile"
20580 case "(($ac_try" in
20581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20582 *) ac_try_echo=$ac_try;;
20584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20585 (eval "$ac_compile") 2>conftest.er1
20587 grep -v '^ *+' conftest.er1 >conftest.err
20589 cat conftest.err >&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); } && {
20592 test -z "$ac_c_werror_flag" ||
20593 test ! -s conftest.err
20594 } && test -s conftest.$ac_objext; then
20597 cat >conftest.$ac_ext <<_ACEOF
20600 cat confdefs.h >>conftest.$ac_ext
20601 cat >>conftest.$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20603 $ac_includes_default
20604 typedef int ac__type_sizeof_;
20608 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20615 rm -f conftest.$ac_objext
20616 if { (ac_try="$ac_compile"
20617 case "(($ac_try" in
20618 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20619 *) ac_try_echo
=$ac_try;;
20621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20622 (eval "$ac_compile") 2>conftest.er1
20624 grep -v '^ *+' conftest.er1
>conftest.err
20626 cat conftest.err
>&5
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); } && {
20629 test -z "$ac_c_werror_flag" ||
20630 test ! -s conftest.err
20631 } && test -s conftest.
$ac_objext; then
20632 ac_lo
=$ac_mid; break
20634 echo "$as_me: failed program was:" >&5
20635 sed 's/^/| /' conftest.
$ac_ext >&5
20637 ac_hi
=`expr '(' $ac_mid ')' - 1`
20638 if test $ac_mid -le $ac_hi; then
20642 ac_mid
=`expr 2 '*' $ac_mid`
20645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.
$ac_ext >&5
20654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20658 # Binary search between lo and hi bounds.
20659 while test "x$ac_lo" != "x$ac_hi"; do
20660 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20661 cat >conftest.
$ac_ext <<_ACEOF
20664 cat confdefs.h
>>conftest.
$ac_ext
20665 cat >>conftest.
$ac_ext <<_ACEOF
20666 /* end confdefs.h. */
20667 $ac_includes_default
20668 typedef int ac__type_sizeof_;
20672 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20679 rm -f conftest.
$ac_objext
20680 if { (ac_try
="$ac_compile"
20681 case "(($ac_try" in
20682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20683 *) ac_try_echo=$ac_try;;
20685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20686 (eval "$ac_compile") 2>conftest.er1
20688 grep -v '^ *+' conftest.er1 >conftest.err
20690 cat conftest.err >&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); } && {
20693 test -z "$ac_c_werror_flag" ||
20694 test ! -s conftest.err
20695 } && test -s conftest.$ac_objext; then
20698 echo "$as_me: failed program was:" >&5
20699 sed 's/^/| /' conftest.$ac_ext >&5
20701 ac_lo=`expr '(' $ac_mid ')' + 1`
20704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20707 ?*) ac_cv_sizeof_int=$ac_lo;;
20708 '') if test "$ac_cv_type_int" = yes; then
20709 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20710 See \`config.log
' for more details." >&5
20711 echo "$as_me: error: cannot compute sizeof (int)
20712 See \`config.log' for more details.
" >&2;}
20713 { (exit 77); exit 77; }; }
20719 cat >conftest.$ac_ext <<_ACEOF
20722 cat confdefs.h >>conftest.$ac_ext
20723 cat >>conftest.$ac_ext <<_ACEOF
20724 /* end confdefs.h. */
20725 $ac_includes_default
20726 typedef int ac__type_sizeof_;
20727 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20728 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20730 #include <stdlib.h>
20735 FILE *f = fopen ("conftest.val
", "w
");
20738 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20740 long int i = longval ();
20741 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20743 fprintf (f, "%ld
\n", i);
20747 unsigned long int i = ulongval ();
20748 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20750 fprintf (f, "%lu
\n", i);
20752 return ferror (f) || fclose (f) != 0;
20758 rm -f conftest$ac_exeext
20759 if { (ac_try="$ac_link"
20760 case "(($ac_try" in
20761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20762 *) ac_try_echo=$ac_try;;
20764 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20765 (eval "$ac_link") 2>&5
20767 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20768 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20769 { (case "(($ac_try" in
20770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20771 *) ac_try_echo=$ac_try;;
20773 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20774 (eval "$ac_try") 2>&5
20776 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20777 (exit $ac_status); }; }; then
20778 ac_cv_sizeof_int=`cat conftest.val`
20780 echo "$as_me: program exited with status
$ac_status" >&5
20781 echo "$as_me: failed program was
:" >&5
20782 sed 's/^/| /' conftest.$ac_ext >&5
20784 ( exit $ac_status )
20785 if test "$ac_cv_type_int" = yes; then
20786 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20787 See \
`config.log' for more details." >&5
20788 echo "$as_me: error: cannot compute sizeof (int)
20789 See \`config.log
' for more details." >&2;}
20790 { (exit 77); exit 77; }; }
20795 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20799 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20800 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20804 cat >>confdefs.h <<_ACEOF
20805 #define SIZEOF_INT $ac_cv_sizeof_int
20809 { echo "$as_me:$LINENO: checking for long" >&5
20810 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20811 if test "${ac_cv_type_long+set}" = set; then
20812 echo $ECHO_N "(cached) $ECHO_C" >&6
20814 cat >conftest.$ac_ext <<_ACEOF
20817 cat confdefs.h >>conftest.$ac_ext
20818 cat >>conftest.$ac_ext <<_ACEOF
20819 /* end confdefs.h. */
20820 $ac_includes_default
20821 typedef long ac__type_new_;
20825 if ((ac__type_new_ *) 0)
20827 if (sizeof (ac__type_new_))
20833 rm -f conftest.$ac_objext
20834 if { (ac_try="$ac_compile"
20835 case "(($ac_try" in
20836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20837 *) ac_try_echo=$ac_try;;
20839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20840 (eval "$ac_compile") 2>conftest.er1
20842 grep -v '^
*+' conftest.er1 >conftest.err
20844 cat conftest.err >&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); } && {
20847 test -z "$ac_c_werror_flag" ||
20848 test ! -s conftest.err
20849 } && test -s conftest.$ac_objext; then
20850 ac_cv_type_long=yes
20852 echo "$as_me: failed program was:" >&5
20853 sed 's
/^
/| /' conftest.$ac_ext >&5
20858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20860 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20861 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20863 # The cast to long int works around a bug in the HP C Compiler
20864 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20865 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20866 # This bug is HP SR number 8606223364.
20867 { echo "$as_me:$LINENO: checking size of long" >&5
20868 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20869 if test "${ac_cv_sizeof_long+set}" = set; then
20870 echo $ECHO_N "(cached) $ECHO_C" >&6
20872 if test "$cross_compiling" = yes; then
20873 # Depending upon the size, compute the lo and hi bounds.
20874 cat >conftest.
$ac_ext <<_ACEOF
20877 cat confdefs.h
>>conftest.
$ac_ext
20878 cat >>conftest.
$ac_ext <<_ACEOF
20879 /* end confdefs.h. */
20880 $ac_includes_default
20881 typedef long ac__type_sizeof_;
20885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20892 rm -f conftest.
$ac_objext
20893 if { (ac_try
="$ac_compile"
20894 case "(($ac_try" in
20895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20896 *) ac_try_echo=$ac_try;;
20898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20899 (eval "$ac_compile") 2>conftest.er1
20901 grep -v '^ *+' conftest.er1 >conftest.err
20903 cat conftest.err >&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); } && {
20906 test -z "$ac_c_werror_flag" ||
20907 test ! -s conftest.err
20908 } && test -s conftest.$ac_objext; then
20911 cat >conftest.$ac_ext <<_ACEOF
20914 cat confdefs.h >>conftest.$ac_ext
20915 cat >>conftest.$ac_ext <<_ACEOF
20916 /* end confdefs.h. */
20917 $ac_includes_default
20918 typedef long ac__type_sizeof_;
20922 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20929 rm -f conftest.$ac_objext
20930 if { (ac_try="$ac_compile"
20931 case "(($ac_try" in
20932 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20933 *) ac_try_echo
=$ac_try;;
20935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20936 (eval "$ac_compile") 2>conftest.er1
20938 grep -v '^ *+' conftest.er1
>conftest.err
20940 cat conftest.err
>&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); } && {
20943 test -z "$ac_c_werror_flag" ||
20944 test ! -s conftest.err
20945 } && test -s conftest.
$ac_objext; then
20946 ac_hi
=$ac_mid; break
20948 echo "$as_me: failed program was:" >&5
20949 sed 's/^/| /' conftest.
$ac_ext >&5
20951 ac_lo
=`expr $ac_mid + 1`
20952 if test $ac_lo -le $ac_mid; then
20956 ac_mid
=`expr 2 '*' $ac_mid + 1`
20959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20962 echo "$as_me: failed program was:" >&5
20963 sed 's/^/| /' conftest.
$ac_ext >&5
20965 cat >conftest.
$ac_ext <<_ACEOF
20968 cat confdefs.h
>>conftest.
$ac_ext
20969 cat >>conftest.
$ac_ext <<_ACEOF
20970 /* end confdefs.h. */
20971 $ac_includes_default
20972 typedef long ac__type_sizeof_;
20976 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20983 rm -f conftest.
$ac_objext
20984 if { (ac_try
="$ac_compile"
20985 case "(($ac_try" in
20986 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20987 *) ac_try_echo=$ac_try;;
20989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20990 (eval "$ac_compile") 2>conftest.er1
20992 grep -v '^ *+' conftest.er1 >conftest.err
20994 cat conftest.err >&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); } && {
20997 test -z "$ac_c_werror_flag" ||
20998 test ! -s conftest.err
20999 } && test -s conftest.$ac_objext; then
21002 cat >conftest.$ac_ext <<_ACEOF
21005 cat confdefs.h >>conftest.$ac_ext
21006 cat >>conftest.$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21008 $ac_includes_default
21009 typedef long ac__type_sizeof_;
21013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21020 rm -f conftest.$ac_objext
21021 if { (ac_try="$ac_compile"
21022 case "(($ac_try" in
21023 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21024 *) ac_try_echo
=$ac_try;;
21026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21027 (eval "$ac_compile") 2>conftest.er1
21029 grep -v '^ *+' conftest.er1
>conftest.err
21031 cat conftest.err
>&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); } && {
21034 test -z "$ac_c_werror_flag" ||
21035 test ! -s conftest.err
21036 } && test -s conftest.
$ac_objext; then
21037 ac_lo
=$ac_mid; break
21039 echo "$as_me: failed program was:" >&5
21040 sed 's/^/| /' conftest.
$ac_ext >&5
21042 ac_hi
=`expr '(' $ac_mid ')' - 1`
21043 if test $ac_mid -le $ac_hi; then
21047 ac_mid
=`expr 2 '*' $ac_mid`
21050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21053 echo "$as_me: failed program was:" >&5
21054 sed 's/^/| /' conftest.
$ac_ext >&5
21059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21063 # Binary search between lo and hi bounds.
21064 while test "x$ac_lo" != "x$ac_hi"; do
21065 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21066 cat >conftest.
$ac_ext <<_ACEOF
21069 cat confdefs.h
>>conftest.
$ac_ext
21070 cat >>conftest.
$ac_ext <<_ACEOF
21071 /* end confdefs.h. */
21072 $ac_includes_default
21073 typedef long ac__type_sizeof_;
21077 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21084 rm -f conftest.
$ac_objext
21085 if { (ac_try
="$ac_compile"
21086 case "(($ac_try" in
21087 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21088 *) ac_try_echo=$ac_try;;
21090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21091 (eval "$ac_compile") 2>conftest.er1
21093 grep -v '^ *+' conftest.er1 >conftest.err
21095 cat conftest.err >&5
21096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097 (exit $ac_status); } && {
21098 test -z "$ac_c_werror_flag" ||
21099 test ! -s conftest.err
21100 } && test -s conftest.$ac_objext; then
21103 echo "$as_me: failed program was:" >&5
21104 sed 's/^/| /' conftest.$ac_ext >&5
21106 ac_lo=`expr '(' $ac_mid ')' + 1`
21109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21112 ?*) ac_cv_sizeof_long=$ac_lo;;
21113 '') if test "$ac_cv_type_long" = yes; then
21114 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21115 See \`config.log
' for more details." >&5
21116 echo "$as_me: error: cannot compute sizeof (long)
21117 See \`config.log' for more details.
" >&2;}
21118 { (exit 77); exit 77; }; }
21120 ac_cv_sizeof_long=0
21124 cat >conftest.$ac_ext <<_ACEOF
21127 cat confdefs.h >>conftest.$ac_ext
21128 cat >>conftest.$ac_ext <<_ACEOF
21129 /* end confdefs.h. */
21130 $ac_includes_default
21131 typedef long ac__type_sizeof_;
21132 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21133 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21135 #include <stdlib.h>
21140 FILE *f = fopen ("conftest.val
", "w
");
21143 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21145 long int i = longval ();
21146 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21148 fprintf (f, "%ld
\n", i);
21152 unsigned long int i = ulongval ();
21153 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21155 fprintf (f, "%lu
\n", i);
21157 return ferror (f) || fclose (f) != 0;
21163 rm -f conftest$ac_exeext
21164 if { (ac_try="$ac_link"
21165 case "(($ac_try" in
21166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21167 *) ac_try_echo=$ac_try;;
21169 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21170 (eval "$ac_link") 2>&5
21172 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21173 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21174 { (case "(($ac_try" in
21175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21176 *) ac_try_echo=$ac_try;;
21178 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21179 (eval "$ac_try") 2>&5
21181 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21182 (exit $ac_status); }; }; then
21183 ac_cv_sizeof_long=`cat conftest.val`
21185 echo "$as_me: program exited with status
$ac_status" >&5
21186 echo "$as_me: failed program was
:" >&5
21187 sed 's/^/| /' conftest.$ac_ext >&5
21189 ( exit $ac_status )
21190 if test "$ac_cv_type_long" = yes; then
21191 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21192 See \
`config.log' for more details." >&5
21193 echo "$as_me: error: cannot compute sizeof (long)
21194 See \`config.log
' for more details." >&2;}
21195 { (exit 77); exit 77; }; }
21197 ac_cv_sizeof_long=0
21200 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21204 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21205 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21209 cat >>confdefs.h <<_ACEOF
21210 #define SIZEOF_LONG $ac_cv_sizeof_long
21214 { echo "$as_me:$LINENO: checking for size_t" >&5
21215 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21216 if test "${ac_cv_type_size_t+set}" = set; then
21217 echo $ECHO_N "(cached) $ECHO_C" >&6
21219 cat >conftest.$ac_ext <<_ACEOF
21222 cat confdefs.h >>conftest.$ac_ext
21223 cat >>conftest.$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21225 $ac_includes_default
21226 typedef size_t ac__type_new_;
21230 if ((ac__type_new_ *) 0)
21232 if (sizeof (ac__type_new_))
21238 rm -f conftest.$ac_objext
21239 if { (ac_try="$ac_compile"
21240 case "(($ac_try" in
21241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21242 *) ac_try_echo=$ac_try;;
21244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21245 (eval "$ac_compile") 2>conftest.er1
21247 grep -v '^
*+' conftest.er1 >conftest.err
21249 cat conftest.err >&5
21250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251 (exit $ac_status); } && {
21252 test -z "$ac_c_werror_flag" ||
21253 test ! -s conftest.err
21254 } && test -s conftest.$ac_objext; then
21255 ac_cv_type_size_t=yes
21257 echo "$as_me: failed program was:" >&5
21258 sed 's
/^
/| /' conftest.$ac_ext >&5
21260 ac_cv_type_size_t=no
21263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21265 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21266 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21268 # The cast to long int works around a bug in the HP C Compiler
21269 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21270 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21271 # This bug is HP SR number 8606223364.
21272 { echo "$as_me:$LINENO: checking size of size_t" >&5
21273 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21274 if test "${ac_cv_sizeof_size_t+set}" = set; then
21275 echo $ECHO_N "(cached) $ECHO_C" >&6
21277 if test "$cross_compiling" = yes; then
21278 # Depending upon the size, compute the lo and hi bounds.
21279 cat >conftest.
$ac_ext <<_ACEOF
21282 cat confdefs.h
>>conftest.
$ac_ext
21283 cat >>conftest.
$ac_ext <<_ACEOF
21284 /* end confdefs.h. */
21285 $ac_includes_default
21286 typedef size_t ac__type_sizeof_;
21290 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21297 rm -f conftest.
$ac_objext
21298 if { (ac_try
="$ac_compile"
21299 case "(($ac_try" in
21300 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21301 *) ac_try_echo=$ac_try;;
21303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21304 (eval "$ac_compile") 2>conftest.er1
21306 grep -v '^ *+' conftest.er1 >conftest.err
21308 cat conftest.err >&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } && {
21311 test -z "$ac_c_werror_flag" ||
21312 test ! -s conftest.err
21313 } && test -s conftest.$ac_objext; then
21316 cat >conftest.$ac_ext <<_ACEOF
21319 cat confdefs.h >>conftest.$ac_ext
21320 cat >>conftest.$ac_ext <<_ACEOF
21321 /* end confdefs.h. */
21322 $ac_includes_default
21323 typedef size_t ac__type_sizeof_;
21327 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21334 rm -f conftest.$ac_objext
21335 if { (ac_try="$ac_compile"
21336 case "(($ac_try" in
21337 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21338 *) ac_try_echo
=$ac_try;;
21340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21341 (eval "$ac_compile") 2>conftest.er1
21343 grep -v '^ *+' conftest.er1
>conftest.err
21345 cat conftest.err
>&5
21346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347 (exit $ac_status); } && {
21348 test -z "$ac_c_werror_flag" ||
21349 test ! -s conftest.err
21350 } && test -s conftest.
$ac_objext; then
21351 ac_hi
=$ac_mid; break
21353 echo "$as_me: failed program was:" >&5
21354 sed 's/^/| /' conftest.
$ac_ext >&5
21356 ac_lo
=`expr $ac_mid + 1`
21357 if test $ac_lo -le $ac_mid; then
21361 ac_mid
=`expr 2 '*' $ac_mid + 1`
21364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21367 echo "$as_me: failed program was:" >&5
21368 sed 's/^/| /' conftest.
$ac_ext >&5
21370 cat >conftest.
$ac_ext <<_ACEOF
21373 cat confdefs.h
>>conftest.
$ac_ext
21374 cat >>conftest.
$ac_ext <<_ACEOF
21375 /* end confdefs.h. */
21376 $ac_includes_default
21377 typedef size_t ac__type_sizeof_;
21381 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21388 rm -f conftest.
$ac_objext
21389 if { (ac_try
="$ac_compile"
21390 case "(($ac_try" in
21391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21392 *) ac_try_echo=$ac_try;;
21394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21395 (eval "$ac_compile") 2>conftest.er1
21397 grep -v '^ *+' conftest.er1 >conftest.err
21399 cat conftest.err >&5
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); } && {
21402 test -z "$ac_c_werror_flag" ||
21403 test ! -s conftest.err
21404 } && test -s conftest.$ac_objext; then
21407 cat >conftest.$ac_ext <<_ACEOF
21410 cat confdefs.h >>conftest.$ac_ext
21411 cat >>conftest.$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21413 $ac_includes_default
21414 typedef size_t ac__type_sizeof_;
21418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21425 rm -f conftest.$ac_objext
21426 if { (ac_try="$ac_compile"
21427 case "(($ac_try" in
21428 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21429 *) ac_try_echo
=$ac_try;;
21431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21432 (eval "$ac_compile") 2>conftest.er1
21434 grep -v '^ *+' conftest.er1
>conftest.err
21436 cat conftest.err
>&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); } && {
21439 test -z "$ac_c_werror_flag" ||
21440 test ! -s conftest.err
21441 } && test -s conftest.
$ac_objext; then
21442 ac_lo
=$ac_mid; break
21444 echo "$as_me: failed program was:" >&5
21445 sed 's/^/| /' conftest.
$ac_ext >&5
21447 ac_hi
=`expr '(' $ac_mid ')' - 1`
21448 if test $ac_mid -le $ac_hi; then
21452 ac_mid
=`expr 2 '*' $ac_mid`
21455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.
$ac_ext >&5
21464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21468 # Binary search between lo and hi bounds.
21469 while test "x$ac_lo" != "x$ac_hi"; do
21470 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21471 cat >conftest.
$ac_ext <<_ACEOF
21474 cat confdefs.h
>>conftest.
$ac_ext
21475 cat >>conftest.
$ac_ext <<_ACEOF
21476 /* end confdefs.h. */
21477 $ac_includes_default
21478 typedef size_t ac__type_sizeof_;
21482 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21489 rm -f conftest.
$ac_objext
21490 if { (ac_try
="$ac_compile"
21491 case "(($ac_try" in
21492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21493 *) ac_try_echo=$ac_try;;
21495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21496 (eval "$ac_compile") 2>conftest.er1
21498 grep -v '^ *+' conftest.er1 >conftest.err
21500 cat conftest.err >&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); } && {
21503 test -z "$ac_c_werror_flag" ||
21504 test ! -s conftest.err
21505 } && test -s conftest.$ac_objext; then
21508 echo "$as_me: failed program was:" >&5
21509 sed 's/^/| /' conftest.$ac_ext >&5
21511 ac_lo=`expr '(' $ac_mid ')' + 1`
21514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21517 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21518 '') if test "$ac_cv_type_size_t" = yes; then
21519 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21520 See \`config.log
' for more details." >&5
21521 echo "$as_me: error: cannot compute sizeof (size_t)
21522 See \`config.log' for more details.
" >&2;}
21523 { (exit 77); exit 77; }; }
21525 ac_cv_sizeof_size_t=0
21529 cat >conftest.$ac_ext <<_ACEOF
21532 cat confdefs.h >>conftest.$ac_ext
21533 cat >>conftest.$ac_ext <<_ACEOF
21534 /* end confdefs.h. */
21535 $ac_includes_default
21536 typedef size_t ac__type_sizeof_;
21537 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21538 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21540 #include <stdlib.h>
21545 FILE *f = fopen ("conftest.val
", "w
");
21548 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21550 long int i = longval ();
21551 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21553 fprintf (f, "%ld
\n", i);
21557 unsigned long int i = ulongval ();
21558 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21560 fprintf (f, "%lu
\n", i);
21562 return ferror (f) || fclose (f) != 0;
21568 rm -f conftest$ac_exeext
21569 if { (ac_try="$ac_link"
21570 case "(($ac_try" in
21571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21572 *) ac_try_echo=$ac_try;;
21574 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21575 (eval "$ac_link") 2>&5
21577 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21578 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21579 { (case "(($ac_try" in
21580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21581 *) ac_try_echo=$ac_try;;
21583 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21584 (eval "$ac_try") 2>&5
21586 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21587 (exit $ac_status); }; }; then
21588 ac_cv_sizeof_size_t=`cat conftest.val`
21590 echo "$as_me: program exited with status
$ac_status" >&5
21591 echo "$as_me: failed program was
:" >&5
21592 sed 's/^/| /' conftest.$ac_ext >&5
21594 ( exit $ac_status )
21595 if test "$ac_cv_type_size_t" = yes; then
21596 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21597 See \
`config.log' for more details." >&5
21598 echo "$as_me: error: cannot compute sizeof (size_t)
21599 See \`config.log
' for more details." >&2;}
21600 { (exit 77); exit 77; }; }
21602 ac_cv_sizeof_size_t=0
21605 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21609 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21610 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21614 cat >>confdefs.h <<_ACEOF
21615 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21622 { echo "$as_me:$LINENO: checking for long long" >&5
21623 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21624 if test "${ac_cv_type_long_long+set}" = set; then
21625 echo $ECHO_N "(cached) $ECHO_C" >&6
21627 cat >conftest.$ac_ext <<_ACEOF
21630 cat confdefs.h >>conftest.$ac_ext
21631 cat >>conftest.$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21634 typedef long long ac__type_new_;
21638 if ((ac__type_new_ *) 0)
21640 if (sizeof (ac__type_new_))
21646 rm -f conftest.$ac_objext
21647 if { (ac_try="$ac_compile"
21648 case "(($ac_try" in
21649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21650 *) ac_try_echo=$ac_try;;
21652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21653 (eval "$ac_compile") 2>conftest.er1
21655 grep -v '^
*+' conftest.er1 >conftest.err
21657 cat conftest.err >&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } && {
21660 test -z "$ac_c_werror_flag" ||
21661 test ! -s conftest.err
21662 } && test -s conftest.$ac_objext; then
21663 ac_cv_type_long_long=yes
21665 echo "$as_me: failed program was:" >&5
21666 sed 's
/^
/| /' conftest.$ac_ext >&5
21668 ac_cv_type_long_long=no
21671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21673 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21674 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21676 # The cast to long int works around a bug in the HP C Compiler
21677 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21678 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21679 # This bug is HP SR number 8606223364.
21680 { echo "$as_me:$LINENO: checking size of long long" >&5
21681 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21682 if test "${ac_cv_sizeof_long_long+set}" = set; then
21683 echo $ECHO_N "(cached) $ECHO_C" >&6
21685 if test "$cross_compiling" = yes; then
21686 # Depending upon the size, compute the lo and hi bounds.
21687 cat >conftest.
$ac_ext <<_ACEOF
21690 cat confdefs.h
>>conftest.
$ac_ext
21691 cat >>conftest.
$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21693 $ac_includes_default
21694 typedef long long ac__type_sizeof_;
21698 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21705 rm -f conftest.
$ac_objext
21706 if { (ac_try
="$ac_compile"
21707 case "(($ac_try" in
21708 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21709 *) ac_try_echo=$ac_try;;
21711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21712 (eval "$ac_compile") 2>conftest.er1
21714 grep -v '^ *+' conftest.er1 >conftest.err
21716 cat conftest.err >&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } && {
21719 test -z "$ac_c_werror_flag" ||
21720 test ! -s conftest.err
21721 } && test -s conftest.$ac_objext; then
21724 cat >conftest.$ac_ext <<_ACEOF
21727 cat confdefs.h >>conftest.$ac_ext
21728 cat >>conftest.$ac_ext <<_ACEOF
21729 /* end confdefs.h. */
21730 $ac_includes_default
21731 typedef long long ac__type_sizeof_;
21735 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21742 rm -f conftest.$ac_objext
21743 if { (ac_try="$ac_compile"
21744 case "(($ac_try" in
21745 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21746 *) ac_try_echo
=$ac_try;;
21748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21749 (eval "$ac_compile") 2>conftest.er1
21751 grep -v '^ *+' conftest.er1
>conftest.err
21753 cat conftest.err
>&5
21754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21755 (exit $ac_status); } && {
21756 test -z "$ac_c_werror_flag" ||
21757 test ! -s conftest.err
21758 } && test -s conftest.
$ac_objext; then
21759 ac_hi
=$ac_mid; break
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.
$ac_ext >&5
21764 ac_lo
=`expr $ac_mid + 1`
21765 if test $ac_lo -le $ac_mid; then
21769 ac_mid
=`expr 2 '*' $ac_mid + 1`
21772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21775 echo "$as_me: failed program was:" >&5
21776 sed 's/^/| /' conftest.
$ac_ext >&5
21778 cat >conftest.
$ac_ext <<_ACEOF
21781 cat confdefs.h
>>conftest.
$ac_ext
21782 cat >>conftest.
$ac_ext <<_ACEOF
21783 /* end confdefs.h. */
21784 $ac_includes_default
21785 typedef long long ac__type_sizeof_;
21789 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21796 rm -f conftest.
$ac_objext
21797 if { (ac_try
="$ac_compile"
21798 case "(($ac_try" in
21799 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21800 *) ac_try_echo=$ac_try;;
21802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21803 (eval "$ac_compile") 2>conftest.er1
21805 grep -v '^ *+' conftest.er1 >conftest.err
21807 cat conftest.err >&5
21808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809 (exit $ac_status); } && {
21810 test -z "$ac_c_werror_flag" ||
21811 test ! -s conftest.err
21812 } && test -s conftest.$ac_objext; then
21815 cat >conftest.$ac_ext <<_ACEOF
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 $ac_includes_default
21822 typedef long long ac__type_sizeof_;
21826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21833 rm -f conftest.$ac_objext
21834 if { (ac_try="$ac_compile"
21835 case "(($ac_try" in
21836 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21837 *) ac_try_echo
=$ac_try;;
21839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21840 (eval "$ac_compile") 2>conftest.er1
21842 grep -v '^ *+' conftest.er1
>conftest.err
21844 cat conftest.err
>&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } && {
21847 test -z "$ac_c_werror_flag" ||
21848 test ! -s conftest.err
21849 } && test -s conftest.
$ac_objext; then
21850 ac_lo
=$ac_mid; break
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.
$ac_ext >&5
21855 ac_hi
=`expr '(' $ac_mid ')' - 1`
21856 if test $ac_mid -le $ac_hi; then
21860 ac_mid
=`expr 2 '*' $ac_mid`
21863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21866 echo "$as_me: failed program was:" >&5
21867 sed 's/^/| /' conftest.
$ac_ext >&5
21872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21876 # Binary search between lo and hi bounds.
21877 while test "x$ac_lo" != "x$ac_hi"; do
21878 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21879 cat >conftest.
$ac_ext <<_ACEOF
21882 cat confdefs.h
>>conftest.
$ac_ext
21883 cat >>conftest.
$ac_ext <<_ACEOF
21884 /* end confdefs.h. */
21885 $ac_includes_default
21886 typedef long long ac__type_sizeof_;
21890 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21897 rm -f conftest.
$ac_objext
21898 if { (ac_try
="$ac_compile"
21899 case "(($ac_try" in
21900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21901 *) ac_try_echo=$ac_try;;
21903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21904 (eval "$ac_compile") 2>conftest.er1
21906 grep -v '^ *+' conftest.er1 >conftest.err
21908 cat conftest.err >&5
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); } && {
21911 test -z "$ac_c_werror_flag" ||
21912 test ! -s conftest.err
21913 } && test -s conftest.$ac_objext; then
21916 echo "$as_me: failed program was:" >&5
21917 sed 's/^/| /' conftest.$ac_ext >&5
21919 ac_lo=`expr '(' $ac_mid ')' + 1`
21922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21925 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21926 '') if test "$ac_cv_type_long_long" = yes; then
21927 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21928 See \`config.log
' for more details." >&5
21929 echo "$as_me: error: cannot compute sizeof (long long)
21930 See \`config.log' for more details.
" >&2;}
21931 { (exit 77); exit 77; }; }
21933 ac_cv_sizeof_long_long=0
21937 cat >conftest.$ac_ext <<_ACEOF
21940 cat confdefs.h >>conftest.$ac_ext
21941 cat >>conftest.$ac_ext <<_ACEOF
21942 /* end confdefs.h. */
21943 $ac_includes_default
21944 typedef long long ac__type_sizeof_;
21945 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21946 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21948 #include <stdlib.h>
21953 FILE *f = fopen ("conftest.val
", "w
");
21956 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21958 long int i = longval ();
21959 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21961 fprintf (f, "%ld
\n", i);
21965 unsigned long int i = ulongval ();
21966 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21968 fprintf (f, "%lu
\n", i);
21970 return ferror (f) || fclose (f) != 0;
21976 rm -f conftest$ac_exeext
21977 if { (ac_try="$ac_link"
21978 case "(($ac_try" in
21979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21980 *) ac_try_echo=$ac_try;;
21982 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21983 (eval "$ac_link") 2>&5
21985 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21986 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21987 { (case "(($ac_try" in
21988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21989 *) ac_try_echo=$ac_try;;
21991 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21992 (eval "$ac_try") 2>&5
21994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21995 (exit $ac_status); }; }; then
21996 ac_cv_sizeof_long_long=`cat conftest.val`
21998 echo "$as_me: program exited with status
$ac_status" >&5
21999 echo "$as_me: failed program was
:" >&5
22000 sed 's/^/| /' conftest.$ac_ext >&5
22002 ( exit $ac_status )
22003 if test "$ac_cv_type_long_long" = yes; then
22004 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22005 See \
`config.log' for more details." >&5
22006 echo "$as_me: error: cannot compute sizeof (long long)
22007 See \`config.log
' for more details." >&2;}
22008 { (exit 77); exit 77; }; }
22010 ac_cv_sizeof_long_long=0
22013 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22017 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22018 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22022 cat >>confdefs.h <<_ACEOF
22023 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22029 { echo "$as_me:$LINENO: checking for long long" >&5
22030 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22031 if test "${ac_cv_type_long_long+set}" = set; then
22032 echo $ECHO_N "(cached) $ECHO_C" >&6
22034 cat >conftest.$ac_ext <<_ACEOF
22037 cat confdefs.h >>conftest.$ac_ext
22038 cat >>conftest.$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22040 $ac_includes_default
22041 typedef long long ac__type_new_;
22045 if ((ac__type_new_ *) 0)
22047 if (sizeof (ac__type_new_))
22053 rm -f conftest.$ac_objext
22054 if { (ac_try="$ac_compile"
22055 case "(($ac_try" in
22056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22057 *) ac_try_echo=$ac_try;;
22059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22060 (eval "$ac_compile") 2>conftest.er1
22062 grep -v '^
*+' conftest.er1 >conftest.err
22064 cat conftest.err >&5
22065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22066 (exit $ac_status); } && {
22067 test -z "$ac_c_werror_flag" ||
22068 test ! -s conftest.err
22069 } && test -s conftest.$ac_objext; then
22070 ac_cv_type_long_long=yes
22072 echo "$as_me: failed program was:" >&5
22073 sed 's
/^
/| /' conftest.$ac_ext >&5
22075 ac_cv_type_long_long=no
22078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22080 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22081 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22083 # The cast to long int works around a bug in the HP C Compiler
22084 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22085 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22086 # This bug is HP SR number 8606223364.
22087 { echo "$as_me:$LINENO: checking size of long long" >&5
22088 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22089 if test "${ac_cv_sizeof_long_long+set}" = set; then
22090 echo $ECHO_N "(cached) $ECHO_C" >&6
22092 if test "$cross_compiling" = yes; then
22093 # Depending upon the size, compute the lo and hi bounds.
22094 cat >conftest.
$ac_ext <<_ACEOF
22097 cat confdefs.h
>>conftest.
$ac_ext
22098 cat >>conftest.
$ac_ext <<_ACEOF
22099 /* end confdefs.h. */
22100 $ac_includes_default
22101 typedef long long ac__type_sizeof_;
22105 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22112 rm -f conftest.
$ac_objext
22113 if { (ac_try
="$ac_compile"
22114 case "(($ac_try" in
22115 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22116 *) ac_try_echo=$ac_try;;
22118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22119 (eval "$ac_compile") 2>conftest.er1
22121 grep -v '^ *+' conftest.er1 >conftest.err
22123 cat conftest.err >&5
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); } && {
22126 test -z "$ac_c_werror_flag" ||
22127 test ! -s conftest.err
22128 } && test -s conftest.$ac_objext; then
22131 cat >conftest.$ac_ext <<_ACEOF
22134 cat confdefs.h >>conftest.$ac_ext
22135 cat >>conftest.$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22137 $ac_includes_default
22138 typedef long long ac__type_sizeof_;
22142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22149 rm -f conftest.$ac_objext
22150 if { (ac_try="$ac_compile"
22151 case "(($ac_try" in
22152 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22153 *) ac_try_echo
=$ac_try;;
22155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22156 (eval "$ac_compile") 2>conftest.er1
22158 grep -v '^ *+' conftest.er1
>conftest.err
22160 cat conftest.err
>&5
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); } && {
22163 test -z "$ac_c_werror_flag" ||
22164 test ! -s conftest.err
22165 } && test -s conftest.
$ac_objext; then
22166 ac_hi
=$ac_mid; break
22168 echo "$as_me: failed program was:" >&5
22169 sed 's/^/| /' conftest.
$ac_ext >&5
22171 ac_lo
=`expr $ac_mid + 1`
22172 if test $ac_lo -le $ac_mid; then
22176 ac_mid
=`expr 2 '*' $ac_mid + 1`
22179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22182 echo "$as_me: failed program was:" >&5
22183 sed 's/^/| /' conftest.
$ac_ext >&5
22185 cat >conftest.
$ac_ext <<_ACEOF
22188 cat confdefs.h
>>conftest.
$ac_ext
22189 cat >>conftest.
$ac_ext <<_ACEOF
22190 /* end confdefs.h. */
22191 $ac_includes_default
22192 typedef long long ac__type_sizeof_;
22196 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22203 rm -f conftest.
$ac_objext
22204 if { (ac_try
="$ac_compile"
22205 case "(($ac_try" in
22206 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22207 *) ac_try_echo=$ac_try;;
22209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22210 (eval "$ac_compile") 2>conftest.er1
22212 grep -v '^ *+' conftest.er1 >conftest.err
22214 cat conftest.err >&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && {
22217 test -z "$ac_c_werror_flag" ||
22218 test ! -s conftest.err
22219 } && test -s conftest.$ac_objext; then
22222 cat >conftest.$ac_ext <<_ACEOF
22225 cat confdefs.h >>conftest.$ac_ext
22226 cat >>conftest.$ac_ext <<_ACEOF
22227 /* end confdefs.h. */
22228 $ac_includes_default
22229 typedef long long ac__type_sizeof_;
22233 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22240 rm -f conftest.$ac_objext
22241 if { (ac_try="$ac_compile"
22242 case "(($ac_try" in
22243 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22244 *) ac_try_echo
=$ac_try;;
22246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22247 (eval "$ac_compile") 2>conftest.er1
22249 grep -v '^ *+' conftest.er1
>conftest.err
22251 cat conftest.err
>&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); } && {
22254 test -z "$ac_c_werror_flag" ||
22255 test ! -s conftest.err
22256 } && test -s conftest.
$ac_objext; then
22257 ac_lo
=$ac_mid; break
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.
$ac_ext >&5
22262 ac_hi
=`expr '(' $ac_mid ')' - 1`
22263 if test $ac_mid -le $ac_hi; then
22267 ac_mid
=`expr 2 '*' $ac_mid`
22270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22273 echo "$as_me: failed program was:" >&5
22274 sed 's/^/| /' conftest.
$ac_ext >&5
22279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22283 # Binary search between lo and hi bounds.
22284 while test "x$ac_lo" != "x$ac_hi"; do
22285 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22286 cat >conftest.
$ac_ext <<_ACEOF
22289 cat confdefs.h
>>conftest.
$ac_ext
22290 cat >>conftest.
$ac_ext <<_ACEOF
22291 /* end confdefs.h. */
22292 $ac_includes_default
22293 typedef long long ac__type_sizeof_;
22297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22304 rm -f conftest.
$ac_objext
22305 if { (ac_try
="$ac_compile"
22306 case "(($ac_try" in
22307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22308 *) ac_try_echo=$ac_try;;
22310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22311 (eval "$ac_compile") 2>conftest.er1
22313 grep -v '^ *+' conftest.er1 >conftest.err
22315 cat conftest.err >&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); } && {
22318 test -z "$ac_c_werror_flag" ||
22319 test ! -s conftest.err
22320 } && test -s conftest.$ac_objext; then
22323 echo "$as_me: failed program was:" >&5
22324 sed 's/^/| /' conftest.$ac_ext >&5
22326 ac_lo=`expr '(' $ac_mid ')' + 1`
22329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22332 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22333 '') if test "$ac_cv_type_long_long" = yes; then
22334 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22335 See \`config.log
' for more details." >&5
22336 echo "$as_me: error: cannot compute sizeof (long long)
22337 See \`config.log' for more details.
" >&2;}
22338 { (exit 77); exit 77; }; }
22340 ac_cv_sizeof_long_long=0
22344 cat >conftest.$ac_ext <<_ACEOF
22347 cat confdefs.h >>conftest.$ac_ext
22348 cat >>conftest.$ac_ext <<_ACEOF
22349 /* end confdefs.h. */
22350 $ac_includes_default
22351 typedef long long ac__type_sizeof_;
22352 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22353 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22355 #include <stdlib.h>
22360 FILE *f = fopen ("conftest.val
", "w
");
22363 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22365 long int i = longval ();
22366 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22368 fprintf (f, "%ld
\n", i);
22372 unsigned long int i = ulongval ();
22373 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22375 fprintf (f, "%lu
\n", i);
22377 return ferror (f) || fclose (f) != 0;
22383 rm -f conftest$ac_exeext
22384 if { (ac_try="$ac_link"
22385 case "(($ac_try" in
22386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22387 *) ac_try_echo=$ac_try;;
22389 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22390 (eval "$ac_link") 2>&5
22392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22393 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22394 { (case "(($ac_try" in
22395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22396 *) ac_try_echo=$ac_try;;
22398 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22399 (eval "$ac_try") 2>&5
22401 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22402 (exit $ac_status); }; }; then
22403 ac_cv_sizeof_long_long=`cat conftest.val`
22405 echo "$as_me: program exited with status
$ac_status" >&5
22406 echo "$as_me: failed program was
:" >&5
22407 sed 's/^/| /' conftest.$ac_ext >&5
22409 ( exit $ac_status )
22410 if test "$ac_cv_type_long_long" = yes; then
22411 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22412 See \
`config.log' for more details." >&5
22413 echo "$as_me: error: cannot compute sizeof (long long)
22414 See \`config.log
' for more details." >&2;}
22415 { (exit 77); exit 77; }; }
22417 ac_cv_sizeof_long_long=0
22420 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22424 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22425 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22429 cat >>confdefs.h <<_ACEOF
22430 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22434 if test "$ac_cv_sizeof_long_long" != 0; then
22435 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22439 { echo "$as_me:$LINENO: checking for long long" >&5
22440 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22441 if test "${ac_cv_type_long_long+set}" = set; then
22442 echo $ECHO_N "(cached) $ECHO_C" >&6
22444 cat >conftest.$ac_ext <<_ACEOF
22447 cat confdefs.h >>conftest.$ac_ext
22448 cat >>conftest.$ac_ext <<_ACEOF
22449 /* end confdefs.h. */
22450 $ac_includes_default
22451 typedef long long ac__type_new_;
22455 if ((ac__type_new_ *) 0)
22457 if (sizeof (ac__type_new_))
22463 rm -f conftest.$ac_objext
22464 if { (ac_try="$ac_compile"
22465 case "(($ac_try" in
22466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22467 *) ac_try_echo=$ac_try;;
22469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22470 (eval "$ac_compile") 2>conftest.er1
22472 grep -v '^
*+' conftest.er1 >conftest.err
22474 cat conftest.err >&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } && {
22477 test -z "$ac_c_werror_flag" ||
22478 test ! -s conftest.err
22479 } && test -s conftest.$ac_objext; then
22480 ac_cv_type_long_long=yes
22482 echo "$as_me: failed program was:" >&5
22483 sed 's
/^
/| /' conftest.$ac_ext >&5
22485 ac_cv_type_long_long=no
22488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22490 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22491 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22493 # The cast to long int works around a bug in the HP C Compiler
22494 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22495 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22496 # This bug is HP SR number 8606223364.
22497 { echo "$as_me:$LINENO: checking size of long long" >&5
22498 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22499 if test "${ac_cv_sizeof_long_long+set}" = set; then
22500 echo $ECHO_N "(cached) $ECHO_C" >&6
22502 if test "$cross_compiling" = yes; then
22503 # Depending upon the size, compute the lo and hi bounds.
22504 cat >conftest.
$ac_ext <<_ACEOF
22507 cat confdefs.h
>>conftest.
$ac_ext
22508 cat >>conftest.
$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22510 $ac_includes_default
22511 typedef long long ac__type_sizeof_;
22515 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22522 rm -f conftest.
$ac_objext
22523 if { (ac_try
="$ac_compile"
22524 case "(($ac_try" in
22525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22526 *) ac_try_echo=$ac_try;;
22528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22529 (eval "$ac_compile") 2>conftest.er1
22531 grep -v '^ *+' conftest.er1 >conftest.err
22533 cat conftest.err >&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); } && {
22536 test -z "$ac_c_werror_flag" ||
22537 test ! -s conftest.err
22538 } && test -s conftest.$ac_objext; then
22541 cat >conftest.$ac_ext <<_ACEOF
22544 cat confdefs.h >>conftest.$ac_ext
22545 cat >>conftest.$ac_ext <<_ACEOF
22546 /* end confdefs.h. */
22547 $ac_includes_default
22548 typedef long long ac__type_sizeof_;
22552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22559 rm -f conftest.$ac_objext
22560 if { (ac_try="$ac_compile"
22561 case "(($ac_try" in
22562 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22563 *) ac_try_echo
=$ac_try;;
22565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22566 (eval "$ac_compile") 2>conftest.er1
22568 grep -v '^ *+' conftest.er1
>conftest.err
22570 cat conftest.err
>&5
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); } && {
22573 test -z "$ac_c_werror_flag" ||
22574 test ! -s conftest.err
22575 } && test -s conftest.
$ac_objext; then
22576 ac_hi
=$ac_mid; break
22578 echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.
$ac_ext >&5
22581 ac_lo
=`expr $ac_mid + 1`
22582 if test $ac_lo -le $ac_mid; then
22586 ac_mid
=`expr 2 '*' $ac_mid + 1`
22589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22592 echo "$as_me: failed program was:" >&5
22593 sed 's/^/| /' conftest.
$ac_ext >&5
22595 cat >conftest.
$ac_ext <<_ACEOF
22598 cat confdefs.h
>>conftest.
$ac_ext
22599 cat >>conftest.
$ac_ext <<_ACEOF
22600 /* end confdefs.h. */
22601 $ac_includes_default
22602 typedef long long ac__type_sizeof_;
22606 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22613 rm -f conftest.
$ac_objext
22614 if { (ac_try
="$ac_compile"
22615 case "(($ac_try" in
22616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22617 *) ac_try_echo=$ac_try;;
22619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22620 (eval "$ac_compile") 2>conftest.er1
22622 grep -v '^ *+' conftest.er1 >conftest.err
22624 cat conftest.err >&5
22625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22626 (exit $ac_status); } && {
22627 test -z "$ac_c_werror_flag" ||
22628 test ! -s conftest.err
22629 } && test -s conftest.$ac_objext; then
22632 cat >conftest.$ac_ext <<_ACEOF
22635 cat confdefs.h >>conftest.$ac_ext
22636 cat >>conftest.$ac_ext <<_ACEOF
22637 /* end confdefs.h. */
22638 $ac_includes_default
22639 typedef long long ac__type_sizeof_;
22643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22650 rm -f conftest.$ac_objext
22651 if { (ac_try="$ac_compile"
22652 case "(($ac_try" in
22653 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22654 *) ac_try_echo
=$ac_try;;
22656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22657 (eval "$ac_compile") 2>conftest.er1
22659 grep -v '^ *+' conftest.er1
>conftest.err
22661 cat conftest.err
>&5
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); } && {
22664 test -z "$ac_c_werror_flag" ||
22665 test ! -s conftest.err
22666 } && test -s conftest.
$ac_objext; then
22667 ac_lo
=$ac_mid; break
22669 echo "$as_me: failed program was:" >&5
22670 sed 's/^/| /' conftest.
$ac_ext >&5
22672 ac_hi
=`expr '(' $ac_mid ')' - 1`
22673 if test $ac_mid -le $ac_hi; then
22677 ac_mid
=`expr 2 '*' $ac_mid`
22680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22683 echo "$as_me: failed program was:" >&5
22684 sed 's/^/| /' conftest.
$ac_ext >&5
22689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22693 # Binary search between lo and hi bounds.
22694 while test "x$ac_lo" != "x$ac_hi"; do
22695 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22696 cat >conftest.
$ac_ext <<_ACEOF
22699 cat confdefs.h
>>conftest.
$ac_ext
22700 cat >>conftest.
$ac_ext <<_ACEOF
22701 /* end confdefs.h. */
22702 $ac_includes_default
22703 typedef long long ac__type_sizeof_;
22707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22714 rm -f conftest.
$ac_objext
22715 if { (ac_try
="$ac_compile"
22716 case "(($ac_try" in
22717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22718 *) ac_try_echo=$ac_try;;
22720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22721 (eval "$ac_compile") 2>conftest.er1
22723 grep -v '^ *+' conftest.er1 >conftest.err
22725 cat conftest.err >&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } && {
22728 test -z "$ac_c_werror_flag" ||
22729 test ! -s conftest.err
22730 } && test -s conftest.$ac_objext; then
22733 echo "$as_me: failed program was:" >&5
22734 sed 's/^/| /' conftest.$ac_ext >&5
22736 ac_lo=`expr '(' $ac_mid ')' + 1`
22739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22742 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22743 '') if test "$ac_cv_type_long_long" = yes; then
22744 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22745 See \`config.log
' for more details." >&5
22746 echo "$as_me: error: cannot compute sizeof (long long)
22747 See \`config.log' for more details.
" >&2;}
22748 { (exit 77); exit 77; }; }
22750 ac_cv_sizeof_long_long=0
22754 cat >conftest.$ac_ext <<_ACEOF
22757 cat confdefs.h >>conftest.$ac_ext
22758 cat >>conftest.$ac_ext <<_ACEOF
22759 /* end confdefs.h. */
22760 $ac_includes_default
22761 typedef long long ac__type_sizeof_;
22762 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22763 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22765 #include <stdlib.h>
22770 FILE *f = fopen ("conftest.val
", "w
");
22773 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22775 long int i = longval ();
22776 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22778 fprintf (f, "%ld
\n", i);
22782 unsigned long int i = ulongval ();
22783 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22785 fprintf (f, "%lu
\n", i);
22787 return ferror (f) || fclose (f) != 0;
22793 rm -f conftest$ac_exeext
22794 if { (ac_try="$ac_link"
22795 case "(($ac_try" in
22796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22797 *) ac_try_echo=$ac_try;;
22799 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22800 (eval "$ac_link") 2>&5
22802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22803 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22804 { (case "(($ac_try" in
22805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22806 *) ac_try_echo=$ac_try;;
22808 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22809 (eval "$ac_try") 2>&5
22811 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22812 (exit $ac_status); }; }; then
22813 ac_cv_sizeof_long_long=`cat conftest.val`
22815 echo "$as_me: program exited with status
$ac_status" >&5
22816 echo "$as_me: failed program was
:" >&5
22817 sed 's/^/| /' conftest.$ac_ext >&5
22819 ( exit $ac_status )
22820 if test "$ac_cv_type_long_long" = yes; then
22821 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22822 See \
`config.log' for more details." >&5
22823 echo "$as_me: error: cannot compute sizeof (long long)
22824 See \`config.log
' for more details." >&2;}
22825 { (exit 77); exit 77; }; }
22827 ac_cv_sizeof_long_long=0
22830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22834 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22835 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22839 cat >>confdefs.h <<_ACEOF
22840 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22846 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22847 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22848 if test "${ac_cv_type_wchar_t+set}" = set; then
22849 echo $ECHO_N "(cached) $ECHO_C" >&6
22851 cat >conftest.$ac_ext <<_ACEOF
22854 cat confdefs.h >>conftest.$ac_ext
22855 cat >>conftest.$ac_ext <<_ACEOF
22856 /* end confdefs.h. */
22858 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22859 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22860 # error "fake wchar_t"
22862 #ifdef HAVE_WCHAR_H
22864 # include <stddef.h>
22866 # include <wchar.h>
22868 #ifdef HAVE_STDLIB_H
22869 # include <stdlib.h>
22875 typedef wchar_t ac__type_new_
;
22879 if ((ac__type_new_
*) 0)
22881 if (sizeof
(ac__type_new_
))
22887 rm -f conftest.
$ac_objext
22888 if { (ac_try
="$ac_compile"
22889 case "(($ac_try" in
22890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22891 *) ac_try_echo=$ac_try;;
22893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22894 (eval "$ac_compile") 2>conftest.er1
22896 grep -v '^ *+' conftest.er1 >conftest.err
22898 cat conftest.err >&5
22899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22900 (exit $ac_status); } && {
22901 test -z "$ac_c_werror_flag" ||
22902 test ! -s conftest.err
22903 } && test -s conftest.$ac_objext; then
22904 ac_cv_type_wchar_t=yes
22906 echo "$as_me: failed program was:" >&5
22907 sed 's/^/| /' conftest.$ac_ext >&5
22909 ac_cv_type_wchar_t=no
22912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22914 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22915 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22917 # The cast to long int works around a bug in the HP C Compiler
22918 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22919 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22920 # This bug is HP SR number 8606223364.
22921 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22922 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22923 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22924 echo $ECHO_N "(cached) $ECHO_C" >&6
22926 if test "$cross_compiling" = yes; then
22927 # Depending upon the size, compute the lo and hi bounds.
22928 cat >conftest.$ac_ext <<_ACEOF
22931 cat confdefs.h >>conftest.$ac_ext
22932 cat >>conftest.$ac_ext <<_ACEOF
22933 /* end confdefs.h. */
22935 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22936 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22937 # error "fake wchar_t"
22939 #ifdef HAVE_WCHAR_H
22941 # include <stddef.h>
22943 # include <wchar.h>
22945 #ifdef HAVE_STDLIB_H
22946 # include <stdlib.h>
22952 typedef wchar_t ac__type_sizeof_
;
22956 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22963 rm -f conftest.
$ac_objext
22964 if { (ac_try
="$ac_compile"
22965 case "(($ac_try" in
22966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22967 *) ac_try_echo=$ac_try;;
22969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22970 (eval "$ac_compile") 2>conftest.er1
22972 grep -v '^ *+' conftest.er1 >conftest.err
22974 cat conftest.err >&5
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); } && {
22977 test -z "$ac_c_werror_flag" ||
22978 test ! -s conftest.err
22979 } && test -s conftest.$ac_objext; then
22982 cat >conftest.$ac_ext <<_ACEOF
22985 cat confdefs.h >>conftest.$ac_ext
22986 cat >>conftest.$ac_ext <<_ACEOF
22987 /* end confdefs.h. */
22989 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22990 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22991 # error "fake wchar_t"
22993 #ifdef HAVE_WCHAR_H
22995 # include <stddef.h>
22997 # include <wchar.h>
22999 #ifdef HAVE_STDLIB_H
23000 # include <stdlib.h>
23006 typedef wchar_t ac__type_sizeof_;
23010 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23017 rm -f conftest.$ac_objext
23018 if { (ac_try="$ac_compile"
23019 case "(($ac_try" in
23020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23021 *) ac_try_echo
=$ac_try;;
23023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23024 (eval "$ac_compile") 2>conftest.er1
23026 grep -v '^ *+' conftest.er1
>conftest.err
23028 cat conftest.err
>&5
23029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030 (exit $ac_status); } && {
23031 test -z "$ac_c_werror_flag" ||
23032 test ! -s conftest.err
23033 } && test -s conftest.
$ac_objext; then
23034 ac_hi
=$ac_mid; break
23036 echo "$as_me: failed program was:" >&5
23037 sed 's/^/| /' conftest.
$ac_ext >&5
23039 ac_lo
=`expr $ac_mid + 1`
23040 if test $ac_lo -le $ac_mid; then
23044 ac_mid
=`expr 2 '*' $ac_mid + 1`
23047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23050 echo "$as_me: failed program was:" >&5
23051 sed 's/^/| /' conftest.
$ac_ext >&5
23053 cat >conftest.
$ac_ext <<_ACEOF
23056 cat confdefs.h
>>conftest.
$ac_ext
23057 cat >>conftest.
$ac_ext <<_ACEOF
23058 /* end confdefs.h. */
23060 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23061 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23062 # error "fake wchar_t"
23064 #ifdef HAVE_WCHAR_H
23066 # include <stddef.h>
23068 # include <wchar.h>
23070 #ifdef HAVE_STDLIB_H
23071 # include <stdlib.h>
23077 typedef wchar_t ac__type_sizeof_;
23081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23088 rm -f conftest.
$ac_objext
23089 if { (ac_try
="$ac_compile"
23090 case "(($ac_try" in
23091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23092 *) ac_try_echo=$ac_try;;
23094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23095 (eval "$ac_compile") 2>conftest.er1
23097 grep -v '^ *+' conftest.er1 >conftest.err
23099 cat conftest.err >&5
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); } && {
23102 test -z "$ac_c_werror_flag" ||
23103 test ! -s conftest.err
23104 } && test -s conftest.$ac_objext; then
23107 cat >conftest.$ac_ext <<_ACEOF
23110 cat confdefs.h >>conftest.$ac_ext
23111 cat >>conftest.$ac_ext <<_ACEOF
23112 /* end confdefs.h. */
23114 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23115 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23116 # error "fake wchar_t"
23118 #ifdef HAVE_WCHAR_H
23120 # include <stddef.h>
23122 # include <wchar.h>
23124 #ifdef HAVE_STDLIB_H
23125 # include <stdlib.h>
23131 typedef wchar_t ac__type_sizeof_;
23135 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23142 rm -f conftest.$ac_objext
23143 if { (ac_try="$ac_compile"
23144 case "(($ac_try" in
23145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23146 *) ac_try_echo
=$ac_try;;
23148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23149 (eval "$ac_compile") 2>conftest.er1
23151 grep -v '^ *+' conftest.er1
>conftest.err
23153 cat conftest.err
>&5
23154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23155 (exit $ac_status); } && {
23156 test -z "$ac_c_werror_flag" ||
23157 test ! -s conftest.err
23158 } && test -s conftest.
$ac_objext; then
23159 ac_lo
=$ac_mid; break
23161 echo "$as_me: failed program was:" >&5
23162 sed 's/^/| /' conftest.
$ac_ext >&5
23164 ac_hi
=`expr '(' $ac_mid ')' - 1`
23165 if test $ac_mid -le $ac_hi; then
23169 ac_mid
=`expr 2 '*' $ac_mid`
23172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23175 echo "$as_me: failed program was:" >&5
23176 sed 's/^/| /' conftest.
$ac_ext >&5
23181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23185 # Binary search between lo and hi bounds.
23186 while test "x$ac_lo" != "x$ac_hi"; do
23187 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23188 cat >conftest.
$ac_ext <<_ACEOF
23191 cat confdefs.h
>>conftest.
$ac_ext
23192 cat >>conftest.
$ac_ext <<_ACEOF
23193 /* end confdefs.h. */
23195 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23196 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23197 # error "fake wchar_t"
23199 #ifdef HAVE_WCHAR_H
23201 # include <stddef.h>
23203 # include <wchar.h>
23205 #ifdef HAVE_STDLIB_H
23206 # include <stdlib.h>
23212 typedef wchar_t ac__type_sizeof_;
23216 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23223 rm -f conftest.
$ac_objext
23224 if { (ac_try
="$ac_compile"
23225 case "(($ac_try" in
23226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23227 *) ac_try_echo=$ac_try;;
23229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23230 (eval "$ac_compile") 2>conftest.er1
23232 grep -v '^ *+' conftest.er1 >conftest.err
23234 cat conftest.err >&5
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); } && {
23237 test -z "$ac_c_werror_flag" ||
23238 test ! -s conftest.err
23239 } && test -s conftest.$ac_objext; then
23242 echo "$as_me: failed program was:" >&5
23243 sed 's/^/| /' conftest.$ac_ext >&5
23245 ac_lo=`expr '(' $ac_mid ')' + 1`
23248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23251 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23252 '') if test "$ac_cv_type_wchar_t" = yes; then
23253 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23254 See \`config.log
' for more details." >&5
23255 echo "$as_me: error: cannot compute sizeof (wchar_t)
23256 See \`config.log' for more details.
" >&2;}
23257 { (exit 77); exit 77; }; }
23259 ac_cv_sizeof_wchar_t=0
23263 cat >conftest.$ac_ext <<_ACEOF
23266 cat confdefs.h >>conftest.$ac_ext
23267 cat >>conftest.$ac_ext <<_ACEOF
23268 /* end confdefs.h. */
23270 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23271 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23272 # error "fake wchar_t
"
23274 #ifdef HAVE_WCHAR_H
23276 # include <stddef.h>
23278 # include <wchar.h>
23280 #ifdef HAVE_STDLIB_H
23281 # include <stdlib.h>
23287 typedef wchar_t ac__type_sizeof_;
23288 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23289 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23291 #include <stdlib.h>
23296 FILE *f = fopen ("conftest.val
", "w
");
23299 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23301 long int i = longval ();
23302 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23304 fprintf (f, "%ld
\n", i);
23308 unsigned long int i = ulongval ();
23309 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23311 fprintf (f, "%lu
\n", i);
23313 return ferror (f) || fclose (f) != 0;
23319 rm -f conftest$ac_exeext
23320 if { (ac_try="$ac_link"
23321 case "(($ac_try" in
23322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23323 *) ac_try_echo=$ac_try;;
23325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23326 (eval "$ac_link") 2>&5
23328 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23330 { (case "(($ac_try" in
23331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23332 *) ac_try_echo=$ac_try;;
23334 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_try") 2>&5
23337 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23338 (exit $ac_status); }; }; then
23339 ac_cv_sizeof_wchar_t=`cat conftest.val`
23341 echo "$as_me: program exited with status
$ac_status" >&5
23342 echo "$as_me: failed program was
:" >&5
23343 sed 's/^/| /' conftest.$ac_ext >&5
23345 ( exit $ac_status )
23346 if test "$ac_cv_type_wchar_t" = yes; then
23347 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23348 See \
`config.log' for more details." >&5
23349 echo "$as_me: error: cannot compute sizeof (wchar_t)
23350 See \`config.log
' for more details." >&2;}
23351 { (exit 77); exit 77; }; }
23353 ac_cv_sizeof_wchar_t=0
23356 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23360 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23361 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23365 cat >>confdefs.h <<_ACEOF
23366 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23370 if test "$ac_cv_sizeof_wchar_t" != 0; then
23376 { echo "$as_me:$LINENO: checking for va_copy" >&5
23377 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23378 if test "${wx_cv_func_va_copy+set}" = set; then
23379 echo $ECHO_N "(cached) $ECHO_C" >&6
23383 ac_cpp='$CXXCPP $CPPFLAGS'
23384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23385 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23388 cat >conftest.$ac_ext <<_ACEOF
23390 #include <stdarg.h>
23391 void foo(char *f, ...)
23405 rm -f conftest.$ac_objext conftest$ac_exeext
23406 if { (ac_try="$ac_link"
23407 case "(($ac_try" in
23408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23409 *) ac_try_echo=$ac_try;;
23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23412 (eval "$ac_link") 2>conftest.er1
23414 grep -v '^
*+' conftest.er1 >conftest.err
23416 cat conftest.err >&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } && {
23419 test -z "$ac_cxx_werror_flag" ||
23420 test ! -s conftest.err
23421 } && test -s conftest$ac_exeext &&
23422 $as_test_x conftest$ac_exeext; then
23423 wx_cv_func_va_copy=yes
23425 echo "$as_me: failed program was:" >&5
23426 sed 's
/^
/| /' conftest.$ac_ext >&5
23428 wx_cv_func_va_copy=no
23432 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23433 conftest$ac_exeext conftest.$ac_ext
23435 ac_cpp='$CPP $CPPFLAGS'
23436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23437 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23443 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23444 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23446 if test $wx_cv_func_va_copy = "yes"; then
23447 cat >>confdefs.h <<\_ACEOF
23448 #define HAVE_VA_COPY 1
23452 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23453 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23454 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23455 echo $ECHO_N "(cached) $ECHO_C" >&6
23458 if test "$cross_compiling" = yes; then
23459 wx_cv_type_va_list_lvalue=yes
23462 cat >conftest.$ac_ext <<_ACEOF
23464 #include <stdarg.h>
23465 int foo(char *f, ...)
23470 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23478 return foo("hi", 17);
23481 rm -f conftest$ac_exeext
23482 if { (ac_try="$ac_link"
23483 case "(($ac_try" in
23484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23485 *) ac_try_echo=$ac_try;;
23487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23488 (eval "$ac_link") 2>&5
23490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23491 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23492 { (case "(($ac_try" in
23493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23494 *) ac_try_echo=$ac_try;;
23496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23497 (eval "$ac_try") 2>&5
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); }; }; then
23501 wx_cv_type_va_list_lvalue=yes
23503 echo "$as_me: program exited with status $ac_status" >&5
23504 echo "$as_me: failed program was:" >&5
23505 sed 's
/^
/| /' conftest.$ac_ext >&5
23507 ( exit $ac_status )
23508 wx_cv_type_va_list_lvalue=no
23510 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23517 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23518 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23520 if test $wx_cv_type_va_list_lvalue != "yes"; then
23521 cat >>confdefs.h <<\_ACEOF
23522 #define VA_LIST_IS_ARRAY 1
23528 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23530 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23531 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23532 if test "${wx_cv_have_variadic_macros+set}" = set; then
23533 echo $ECHO_N "(cached) $ECHO_C" >&6
23537 ac_cpp='$CXXCPP $CPPFLAGS'
23538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23539 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23542 cat >conftest.$ac_ext <<_ACEOF
23545 cat confdefs.h >>conftest.$ac_ext
23546 cat >>conftest.$ac_ext <<_ACEOF
23547 /* end confdefs.h. */
23550 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23556 test("%s %d %p", "test", 1, 0);
23563 rm -f conftest.$ac_objext
23564 if { (ac_try="$ac_compile"
23565 case "(($ac_try" in
23566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23567 *) ac_try_echo=$ac_try;;
23569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23570 (eval "$ac_compile") 2>conftest.er1
23572 grep -v '^
*+' conftest.er1 >conftest.err
23574 cat conftest.err >&5
23575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576 (exit $ac_status); } && {
23577 test -z "$ac_cxx_werror_flag" ||
23578 test ! -s conftest.err
23579 } && test -s conftest.$ac_objext; then
23580 wx_cv_have_variadic_macros=yes
23582 echo "$as_me: failed program was:" >&5
23583 sed 's
/^
/| /' conftest.$ac_ext >&5
23585 wx_cv_have_variadic_macros=no
23589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23591 ac_cpp='$CPP $CPPFLAGS'
23592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23593 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23599 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23600 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23602 if test $wx_cv_have_variadic_macros = "yes"; then
23603 cat >>confdefs.h <<\_ACEOF
23604 #define HAVE_VARIADIC_MACROS 1
23611 LARGEFILE_CPPFLAGS=
23612 # Check whether --enable-largefile was given.
23613 if test "${enable_largefile+set}" = set; then
23614 enableval=$enable_largefile;
23617 if test "$enable_largefile" != no; then
23620 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23621 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23622 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23623 echo $ECHO_N "(cached) $ECHO_C" >&6
23626 cat >conftest.$ac_ext <<_ACEOF
23629 cat confdefs.h >>conftest.$ac_ext
23630 cat >>conftest.$ac_ext <<_ACEOF
23631 /* end confdefs.h. */
23632 #define _FILE_OFFSET_BITS 64
23633 #include <sys/types.h>
23638 unsigned int field: sizeof(off_t) == 8;
23645 rm -f conftest.$ac_objext
23646 if { (ac_try="$ac_compile"
23647 case "(($ac_try" in
23648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23649 *) ac_try_echo=$ac_try;;
23651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23652 (eval "$ac_compile") 2>conftest.er1
23654 grep -v '^
*+' conftest.er1 >conftest.err
23656 cat conftest.err >&5
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); } && {
23659 test -z "$ac_c_werror_flag" ||
23660 test ! -s conftest.err
23661 } && test -s conftest.$ac_objext; then
23662 ac_cv_sys_file_offset_bits=64
23664 echo "$as_me: failed program was:" >&5
23665 sed 's
/^
/| /' conftest.$ac_ext >&5
23667 ac_cv_sys_file_offset_bits=no
23670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23674 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23675 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23677 if test "$ac_cv_sys_file_offset_bits" != no; then
23679 cat >>confdefs.h <<_ACEOF
23680 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23685 if test "x$wx_largefile" != "xyes"; then
23687 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23688 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23689 if test "${ac_cv_sys_large_files+set}" = set; then
23690 echo $ECHO_N "(cached) $ECHO_C" >&6
23693 cat >conftest.$ac_ext <<_ACEOF
23696 cat confdefs.h >>conftest.$ac_ext
23697 cat >>conftest.$ac_ext <<_ACEOF
23698 /* end confdefs.h. */
23699 #define _LARGE_FILES 1
23700 #include <sys/types.h>
23705 unsigned int field: sizeof(off_t) == 8;
23712 rm -f conftest.$ac_objext
23713 if { (ac_try="$ac_compile"
23714 case "(($ac_try" in
23715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23716 *) ac_try_echo=$ac_try;;
23718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23719 (eval "$ac_compile") 2>conftest.er1
23721 grep -v '^
*+' conftest.er1 >conftest.err
23723 cat conftest.err >&5
23724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23725 (exit $ac_status); } && {
23726 test -z "$ac_c_werror_flag" ||
23727 test ! -s conftest.err
23728 } && test -s conftest.$ac_objext; then
23729 ac_cv_sys_large_files=1
23731 echo "$as_me: failed program was:" >&5
23732 sed 's
/^
/| /' conftest.$ac_ext >&5
23734 ac_cv_sys_large_files=no
23737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23741 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23742 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23744 if test "$ac_cv_sys_large_files" != no; then
23746 cat >>confdefs.h <<_ACEOF
23747 #define _LARGE_FILES $ac_cv_sys_large_files
23754 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23755 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23756 if test "x$wx_largefile" = "xyes"; then
23757 cat >>confdefs.h <<\_ACEOF
23758 #define HAVE_LARGEFILE_SUPPORT 1
23762 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23763 echo "${ECHO_T}$wx_largefile" >&6; }
23766 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23767 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23768 elif test "$ac_cv_sys_large_files" = 1; then
23769 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23772 if test -n "$LARGEFILE_CPPFLAGS"; then
23773 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23775 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23776 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23777 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23778 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23779 echo $ECHO_N "(cached) $ECHO_C" >&6
23783 ac_cpp='$CXXCPP $CPPFLAGS'
23784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23785 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23788 cat >conftest.$ac_ext <<_ACEOF
23791 cat confdefs.h >>conftest.$ac_ext
23792 cat >>conftest.$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23799 #ifndef __STDC_EXT__
23807 rm -f conftest.$ac_objext
23808 if { (ac_try="$ac_compile"
23809 case "(($ac_try" in
23810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23811 *) ac_try_echo=$ac_try;;
23813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23814 (eval "$ac_compile") 2>conftest.er1
23816 grep -v '^
*+' conftest.er1 >conftest.err
23818 cat conftest.err >&5
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); } && {
23821 test -z "$ac_cxx_werror_flag" ||
23822 test ! -s conftest.err
23823 } && test -s conftest.$ac_objext; then
23824 wx_cv_STDC_EXT_required=no
23826 echo "$as_me: failed program was:" >&5
23827 sed 's
/^
/| /' conftest.$ac_ext >&5
23829 wx_cv_STDC_EXT_required=yes
23833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23835 ac_cpp='$CPP $CPPFLAGS'
23836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23837 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23843 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23844 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23845 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23846 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23852 ac_cpp='$CXXCPP $CPPFLAGS'
23853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23854 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23857 old_CPPFLAGS="$CPPFLAGS"
23858 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23859 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23860 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23861 if test "${ac_cv_sys_largefile_source+set}" = set; then
23862 echo $ECHO_N "(cached) $ECHO_C" >&6
23865 cat >conftest.$ac_ext <<_ACEOF
23868 cat confdefs.h >>conftest.$ac_ext
23869 cat >>conftest.$ac_ext <<_ACEOF
23870 /* end confdefs.h. */
23871 #include <sys/types.h> /* for off_t */
23876 int (*fp) (FILE *, off_t, int) = fseeko;
23877 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23882 rm -f conftest.$ac_objext conftest$ac_exeext
23883 if { (ac_try="$ac_link"
23884 case "(($ac_try" in
23885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23886 *) ac_try_echo=$ac_try;;
23888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23889 (eval "$ac_link") 2>conftest.er1
23891 grep -v '^
*+' conftest.er1 >conftest.err
23893 cat conftest.err >&5
23894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895 (exit $ac_status); } && {
23896 test -z "$ac_cxx_werror_flag" ||
23897 test ! -s conftest.err
23898 } && test -s conftest$ac_exeext &&
23899 $as_test_x conftest$ac_exeext; then
23900 ac_cv_sys_largefile_source=no; break
23902 echo "$as_me: failed program was:" >&5
23903 sed 's
/^
/| /' conftest.$ac_ext >&5
23908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23909 conftest$ac_exeext conftest.$ac_ext
23910 cat >conftest.$ac_ext <<_ACEOF
23913 cat confdefs.h >>conftest.$ac_ext
23914 cat >>conftest.$ac_ext <<_ACEOF
23915 /* end confdefs.h. */
23916 #define _LARGEFILE_SOURCE 1
23917 #include <sys/types.h> /* for off_t */
23922 int (*fp) (FILE *, off_t, int) = fseeko;
23923 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23928 rm -f conftest.$ac_objext conftest$ac_exeext
23929 if { (ac_try="$ac_link"
23930 case "(($ac_try" in
23931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23932 *) ac_try_echo=$ac_try;;
23934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23935 (eval "$ac_link") 2>conftest.er1
23937 grep -v '^
*+' conftest.er1 >conftest.err
23939 cat conftest.err >&5
23940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941 (exit $ac_status); } && {
23942 test -z "$ac_cxx_werror_flag" ||
23943 test ! -s conftest.err
23944 } && test -s conftest$ac_exeext &&
23945 $as_test_x conftest$ac_exeext; then
23946 ac_cv_sys_largefile_source=1; break
23948 echo "$as_me: failed program was:" >&5
23949 sed 's
/^
/| /' conftest.$ac_ext >&5
23954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23955 conftest$ac_exeext conftest.$ac_ext
23956 ac_cv_sys_largefile_source=unknown
23960 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23961 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23962 case $ac_cv_sys_largefile_source in #(
23965 cat >>confdefs.h <<_ACEOF
23966 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23972 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23973 # in glibc 2.1.3, but that breaks too many other things.
23974 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23975 if test $ac_cv_sys_largefile_source != unknown; then
23977 cat >>confdefs.h <<\_ACEOF
23978 #define HAVE_FSEEKO 1
23983 CPPFLAGS="$old_CPPFLAGS"
23985 ac_cpp='$CPP $CPPFLAGS'
23986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23987 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23990 if test "$ac_cv_sys_largefile_source" != no; then
23991 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23994 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23995 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23996 if test "${ac_cv_c_bigendian+set}" = set; then
23997 echo $ECHO_N "(cached) $ECHO_C" >&6
23999 ac_cv_c_bigendian=unknown
24000 # See if sys/param.h defines the BYTE_ORDER macro.
24001 cat >conftest.$ac_ext <<_ACEOF
24004 cat confdefs.h >>conftest.$ac_ext
24005 cat >>conftest.$ac_ext <<_ACEOF
24006 /* end confdefs.h. */
24007 #include <sys/types.h>
24008 #include <sys/param.h>
24013 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24014 bogus endian macros
24020 rm -f conftest.$ac_objext
24021 if { (ac_try="$ac_compile"
24022 case "(($ac_try" in
24023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24024 *) ac_try_echo=$ac_try;;
24026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24027 (eval "$ac_compile") 2>conftest.er1
24029 grep -v '^
*+' conftest.er1 >conftest.err
24031 cat conftest.err >&5
24032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24033 (exit $ac_status); } && {
24034 test -z "$ac_c_werror_flag" ||
24035 test ! -s conftest.err
24036 } && test -s conftest.$ac_objext; then
24037 # It does; now see whether it defined to BIG_ENDIAN or not.
24038 cat >conftest.$ac_ext <<_ACEOF
24041 cat confdefs.h >>conftest.$ac_ext
24042 cat >>conftest.$ac_ext <<_ACEOF
24043 /* end confdefs.h. */
24044 #include <sys/types.h>
24045 #include <sys/param.h>
24050 #if BYTE_ORDER != BIG_ENDIAN
24057 rm -f conftest.$ac_objext
24058 if { (ac_try="$ac_compile"
24059 case "(($ac_try" in
24060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24061 *) ac_try_echo=$ac_try;;
24063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24064 (eval "$ac_compile") 2>conftest.er1
24066 grep -v '^
*+' conftest.er1 >conftest.err
24068 cat conftest.err >&5
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); } && {
24071 test -z "$ac_c_werror_flag" ||
24072 test ! -s conftest.err
24073 } && test -s conftest.$ac_objext; then
24074 ac_cv_c_bigendian=yes
24076 echo "$as_me: failed program was:" >&5
24077 sed 's
/^
/| /' conftest.$ac_ext >&5
24079 ac_cv_c_bigendian=no
24082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24084 echo "$as_me: failed program was:" >&5
24085 sed 's
/^
/| /' conftest.$ac_ext >&5
24090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24091 if test $ac_cv_c_bigendian = unknown; then
24092 if test "$cross_compiling" = yes; then
24093 ac_cv_c_bigendian=unknown
24095 cat >conftest.$ac_ext <<_ACEOF
24098 cat confdefs.h >>conftest.$ac_ext
24099 cat >>conftest.$ac_ext <<_ACEOF
24100 /* end confdefs.h. */
24102 /* Are we little or big endian? From Harbison&Steele. */
24106 char c[sizeof (long)];
24109 exit (u.c[sizeof (long) - 1] == 1);
24112 rm -f conftest$ac_exeext
24113 if { (ac_try="$ac_link"
24114 case "(($ac_try" in
24115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24116 *) ac_try_echo=$ac_try;;
24118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24119 (eval "$ac_link") 2>&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24123 { (case "(($ac_try" in
24124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24125 *) ac_try_echo=$ac_try;;
24127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24128 (eval "$ac_try") 2>&5
24130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24131 (exit $ac_status); }; }; then
24132 ac_cv_c_bigendian=no
24134 echo "$as_me: program exited with status $ac_status" >&5
24135 echo "$as_me: failed program was:" >&5
24136 sed 's
/^
/| /' conftest.$ac_ext >&5
24138 ( exit $ac_status )
24139 ac_cv_c_bigendian=yes
24141 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24147 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24148 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24149 if test $ac_cv_c_bigendian = unknown; then
24150 { 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
24151 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;}
24153 if test $ac_cv_c_bigendian = yes; then
24154 cat >>confdefs.h <<\_ACEOF
24155 #define WORDS_BIGENDIAN 1
24164 ac_cpp='$CXXCPP $CPPFLAGS'
24165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24166 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24171 for ac_header in iostream
24173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24174 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24176 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24177 echo $ECHO_N "(cached) $ECHO_C" >&6
24179 cat >conftest.$ac_ext <<_ACEOF
24182 cat confdefs.h >>conftest.$ac_ext
24183 cat >>conftest.$ac_ext <<_ACEOF
24184 /* end confdefs.h. */
24187 #include <$ac_header>
24189 rm -f conftest.$ac_objext
24190 if { (ac_try="$ac_compile"
24191 case "(($ac_try" in
24192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24193 *) ac_try_echo=$ac_try;;
24195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24196 (eval "$ac_compile") 2>conftest.er1
24198 grep -v '^
*+' conftest.er1 >conftest.err
24200 cat conftest.err >&5
24201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24202 (exit $ac_status); } && {
24203 test -z "$ac_cxx_werror_flag" ||
24204 test ! -s conftest.err
24205 } && test -s conftest.$ac_objext; then
24206 eval "$as_ac_Header=yes"
24208 echo "$as_me: failed program was:" >&5
24209 sed 's
/^
/| /' conftest.$ac_ext >&5
24211 eval "$as_ac_Header=no"
24214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24216 ac_res=`eval echo '${'$as_ac_Header'}'`
24217 { echo "$as_me:$LINENO: result: $ac_res" >&5
24218 echo "${ECHO_T}$ac_res" >&6; }
24219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24220 cat >>confdefs.h <<_ACEOF
24221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24229 if test "$ac_cv_header_iostream" = "yes" ; then
24232 cat >>confdefs.h <<\_ACEOF
24233 #define wxUSE_IOSTREAMH 1
24239 ac_cpp='$CPP $CPPFLAGS'
24240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24241 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24247 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24248 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24249 if test "${wx_cv_explicit+set}" = set; then
24250 echo $ECHO_N "(cached) $ECHO_C" >&6
24255 ac_cpp='$CXXCPP $CPPFLAGS'
24256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24257 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24261 cat >conftest.$ac_ext <<_ACEOF
24264 cat confdefs.h >>conftest.$ac_ext
24265 cat >>conftest.$ac_ext <<_ACEOF
24266 /* end confdefs.h. */
24268 class Foo { public: explicit Foo(int) {} };
24280 rm -f conftest.$ac_objext
24281 if { (ac_try="$ac_compile"
24282 case "(($ac_try" in
24283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24284 *) ac_try_echo=$ac_try;;
24286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24287 (eval "$ac_compile") 2>conftest.er1
24289 grep -v '^
*+' conftest.er1 >conftest.err
24291 cat conftest.err >&5
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); } && {
24294 test -z "$ac_cxx_werror_flag" ||
24295 test ! -s conftest.err
24296 } && test -s conftest.$ac_objext; then
24298 cat >conftest.$ac_ext <<_ACEOF
24301 cat confdefs.h >>conftest.$ac_ext
24302 cat >>conftest.$ac_ext <<_ACEOF
24303 /* end confdefs.h. */
24305 class Foo { public: explicit Foo(int) {} };
24306 static void TakeFoo(const Foo& foo) { }
24319 rm -f conftest.$ac_objext
24320 if { (ac_try="$ac_compile"
24321 case "(($ac_try" in
24322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24323 *) ac_try_echo=$ac_try;;
24325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24326 (eval "$ac_compile") 2>conftest.er1
24328 grep -v '^
*+' conftest.er1 >conftest.err
24330 cat conftest.err >&5
24331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24332 (exit $ac_status); } && {
24333 test -z "$ac_cxx_werror_flag" ||
24334 test ! -s conftest.err
24335 } && test -s conftest.$ac_objext; then
24338 echo "$as_me: failed program was:" >&5
24339 sed 's
/^
/| /' conftest.$ac_ext >&5
24345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24348 echo "$as_me: failed program was:" >&5
24349 sed 's
/^
/| /' conftest.$ac_ext >&5
24355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24358 ac_cpp='$CPP $CPPFLAGS'
24359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24360 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24365 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24366 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24368 if test "$wx_cv_explicit" = "yes"; then
24369 cat >>confdefs.h <<\_ACEOF
24370 #define HAVE_EXPLICIT 1
24376 if test "x$SUNCXX" = xyes; then
24377 CXXFLAGS="-features=tmplife $CXXFLAGS"
24380 if test "x$SUNCC" = xyes; then
24381 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24384 if test "x$SGICC" = "xyes"; then
24385 CFLAGS="-woff 3970 $CFLAGS"
24387 if test "x$SGICXX" = "xyes"; then
24388 CXXFLAGS="-woff 3970 $CXXFLAGS"
24391 if test "x$HPCC" = "xyes"; then
24392 CFLAGS="+W 2011,2450 $CFLAGS"
24394 if test "x$HPCXX" = "xyes"; then
24395 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24398 if test "x$COMPAQCXX" = "xyes"; then
24399 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24403 ac_cpp='$CXXCPP $CPPFLAGS'
24404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24405 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24409 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24410 if test "$wxUSE_UNICODE" = "yes"; then
24411 std_string="std::wstring"
24412 char_type="wchar_t"
24414 std_string="std::string"
24418 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24419 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24420 if test "${wx_cv_class_stdstring+set}" = set; then
24421 echo $ECHO_N "(cached) $ECHO_C" >&6
24424 cat >conftest.$ac_ext <<_ACEOF
24427 cat confdefs.h >>conftest.$ac_ext
24428 cat >>conftest.$ac_ext <<_ACEOF
24429 /* end confdefs.h. */
24439 rm -f conftest.$ac_objext
24440 if { (ac_try="$ac_compile"
24441 case "(($ac_try" in
24442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24443 *) ac_try_echo=$ac_try;;
24445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24446 (eval "$ac_compile") 2>conftest.er1
24448 grep -v '^
*+' conftest.er1 >conftest.err
24450 cat conftest.err >&5
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); } && {
24453 test -z "$ac_cxx_werror_flag" ||
24454 test ! -s conftest.err
24455 } && test -s conftest.$ac_objext; then
24456 wx_cv_class_stdstring=yes
24458 echo "$as_me: failed program was:" >&5
24459 sed 's
/^
/| /' conftest.$ac_ext >&5
24461 wx_cv_class_stdstring=no
24465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24469 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24470 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24472 if test "$wx_cv_class_stdstring" = yes; then
24473 if test "$wxUSE_UNICODE" = "yes"; then
24474 cat >>confdefs.h <<\_ACEOF
24475 #define HAVE_STD_WSTRING 1
24480 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24481 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24482 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24483 echo $ECHO_N "(cached) $ECHO_C" >&6
24486 cat >conftest.$ac_ext <<_ACEOF
24489 cat confdefs.h >>conftest.$ac_ext
24490 cat >>conftest.$ac_ext <<_ACEOF
24491 /* end confdefs.h. */
24493 #ifdef HAVE_WCHAR_H
24495 # include <stddef.h>
24497 # include <wchar.h>
24499 #ifdef HAVE_STDLIB_H
24500 # include <stdlib.h>
24508 std::basic_string<$char_type> foo;
24509 const $char_type* dummy = foo.c_str();
24514 rm -f conftest.$ac_objext
24515 if { (ac_try="$ac_compile"
24516 case "(($ac_try" in
24517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24518 *) ac_try_echo=$ac_try;;
24520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24521 (eval "$ac_compile") 2>conftest.er1
24523 grep -v '^
*+' conftest.er1 >conftest.err
24525 cat conftest.err >&5
24526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24527 (exit $ac_status); } && {
24528 test -z "$ac_cxx_werror_flag" ||
24529 test ! -s conftest.err
24530 } && test -s conftest.$ac_objext; then
24531 wx_cv_class_stdbasicstring=yes
24533 echo "$as_me: failed program was:" >&5
24534 sed 's
/^
/| /' conftest.$ac_ext >&5
24536 wx_cv_class_stdbasicstring=no
24540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24544 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24545 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24547 if test "$wx_cv_class_stdbasicstring" != yes; then
24548 if test "$wxUSE_STL" = "yes"; then
24549 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24550 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24551 { (exit 1); exit 1; }; }
24552 elif test "$wxUSE_STD_STRING" = "yes"; then
24553 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24554 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24555 { (exit 1); exit 1; }; }
24557 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24558 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24559 wxUSE_STD_STRING=no
24565 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24566 { echo "$as_me:$LINENO: checking for std::istream" >&5
24567 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24568 if test "${ac_cv_type_std__istream+set}" = set; then
24569 echo $ECHO_N "(cached) $ECHO_C" >&6
24571 cat >conftest.$ac_ext <<_ACEOF
24574 cat confdefs.h >>conftest.$ac_ext
24575 cat >>conftest.$ac_ext <<_ACEOF
24576 /* end confdefs.h. */
24577 #include <iostream>
24579 typedef std::istream ac__type_new_;
24583 if ((ac__type_new_ *) 0)
24585 if (sizeof (ac__type_new_))
24591 rm -f conftest.$ac_objext
24592 if { (ac_try="$ac_compile"
24593 case "(($ac_try" in
24594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24595 *) ac_try_echo=$ac_try;;
24597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24598 (eval "$ac_compile") 2>conftest.er1
24600 grep -v '^
*+' conftest.er1 >conftest.err
24602 cat conftest.err >&5
24603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24604 (exit $ac_status); } && {
24605 test -z "$ac_cxx_werror_flag" ||
24606 test ! -s conftest.err
24607 } && test -s conftest.$ac_objext; then
24608 ac_cv_type_std__istream=yes
24610 echo "$as_me: failed program was:" >&5
24611 sed 's
/^
/| /' conftest.$ac_ext >&5
24613 ac_cv_type_std__istream=no
24616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24618 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24619 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24620 if test $ac_cv_type_std__istream = yes; then
24622 cat >>confdefs.h <<_ACEOF
24623 #define HAVE_STD__ISTREAM 1
24628 wxUSE_STD_IOSTREAM=no
24630 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24631 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24632 if test "${ac_cv_type_std__ostream+set}" = set; then
24633 echo $ECHO_N "(cached) $ECHO_C" >&6
24635 cat >conftest.$ac_ext <<_ACEOF
24638 cat confdefs.h >>conftest.$ac_ext
24639 cat >>conftest.$ac_ext <<_ACEOF
24640 /* end confdefs.h. */
24641 #include <iostream>
24643 typedef std::ostream ac__type_new_;
24647 if ((ac__type_new_ *) 0)
24649 if (sizeof (ac__type_new_))
24655 rm -f conftest.$ac_objext
24656 if { (ac_try="$ac_compile"
24657 case "(($ac_try" in
24658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24659 *) ac_try_echo=$ac_try;;
24661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24662 (eval "$ac_compile") 2>conftest.er1
24664 grep -v '^
*+' conftest.er1 >conftest.err
24666 cat conftest.err >&5
24667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24668 (exit $ac_status); } && {
24669 test -z "$ac_cxx_werror_flag" ||
24670 test ! -s conftest.err
24671 } && test -s conftest.$ac_objext; then
24672 ac_cv_type_std__ostream=yes
24674 echo "$as_me: failed program was:" >&5
24675 sed 's
/^
/| /' conftest.$ac_ext >&5
24677 ac_cv_type_std__ostream=no
24680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24682 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24683 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24684 if test $ac_cv_type_std__ostream = yes; then
24686 cat >>confdefs.h <<_ACEOF
24687 #define HAVE_STD__OSTREAM 1
24692 wxUSE_STD_IOSTREAM=no
24696 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24697 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24698 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24699 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24700 { (exit 1); exit 1; }; }
24702 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24703 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24708 if test "$wxUSE_STL" = "yes"; then
24709 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24710 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24711 if test "${wx_cv_lib_stl+set}" = set; then
24712 echo $ECHO_N "(cached) $ECHO_C" >&6
24714 cat >conftest.$ac_ext <<_ACEOF
24717 cat confdefs.h >>conftest.$ac_ext
24718 cat >>conftest.$ac_ext <<_ACEOF
24719 /* end confdefs.h. */
24721 #include <functional>
24722 #include <algorithm>
24728 std::vector<int> moo;
24729 std::list<int> foo;
24730 std::vector<int>::iterator it =
24731 std::find_if(moo.begin(), moo.end(),
24732 std::bind2nd(std::less<int>(), 3));
24737 rm -f conftest.$ac_objext
24738 if { (ac_try="$ac_compile"
24739 case "(($ac_try" in
24740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24741 *) ac_try_echo=$ac_try;;
24743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24744 (eval "$ac_compile") 2>conftest.er1
24746 grep -v '^
*+' conftest.er1 >conftest.err
24748 cat conftest.err >&5
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); } && {
24751 test -z "$ac_cxx_werror_flag" ||
24752 test ! -s conftest.err
24753 } && test -s conftest.$ac_objext; then
24756 echo "$as_me: failed program was:" >&5
24757 sed 's
/^
/| /' conftest.$ac_ext >&5
24763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24766 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24767 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24769 if test "$wx_cv_lib_stl" != yes; then
24770 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24771 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24772 { (exit 1); exit 1; }; }
24775 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24776 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24777 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24778 echo $ECHO_N "(cached) $ECHO_C" >&6
24780 cat >conftest.$ac_ext <<_ACEOF
24783 cat confdefs.h >>conftest.$ac_ext
24784 cat >>conftest.$ac_ext <<_ACEOF
24785 /* end confdefs.h. */
24790 std::string foo, bar;
24792 foo.compare(1, 1, bar);
24793 foo.compare(1, 1, bar, 1, 1);
24795 foo.compare(1, 1, "");
24796 foo.compare(1, 1, "", 2);
24801 rm -f conftest.$ac_objext
24802 if { (ac_try="$ac_compile"
24803 case "(($ac_try" in
24804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24805 *) ac_try_echo=$ac_try;;
24807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24808 (eval "$ac_compile") 2>conftest.er1
24810 grep -v '^
*+' conftest.er1 >conftest.err
24812 cat conftest.err >&5
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); } && {
24815 test -z "$ac_cxx_werror_flag" ||
24816 test ! -s conftest.err
24817 } && test -s conftest.$ac_objext; then
24818 wx_cv_func_stdstring_compare=yes
24820 echo "$as_me: failed program was:" >&5
24821 sed 's
/^
/| /' conftest.$ac_ext >&5
24823 wx_cv_func_stdstring_compare=no
24827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24830 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24831 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24833 if test "$wx_cv_func_stdstring_compare" = yes; then
24834 cat >>confdefs.h <<\_ACEOF
24835 #define HAVE_STD_STRING_COMPARE 1
24840 if test "$wx_cv_class_gnuhashmapset" = yes; then
24841 cat >>confdefs.h <<\_ACEOF
24842 #define HAVE_EXT_HASH_MAP 1
24845 cat >>confdefs.h <<\_ACEOF
24846 #define HAVE_GNU_CXX_HASH_MAP 1
24851 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24852 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24853 if test "${ac_cv_header_unordered_map+set}" = set; then
24854 echo $ECHO_N "(cached) $ECHO_C" >&6
24856 cat >conftest.$ac_ext <<_ACEOF
24859 cat confdefs.h >>conftest.$ac_ext
24860 cat >>conftest.$ac_ext <<_ACEOF
24861 /* end confdefs.h. */
24865 #include <unordered_map>
24867 rm -f conftest.$ac_objext
24868 if { (ac_try="$ac_compile"
24869 case "(($ac_try" in
24870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24871 *) ac_try_echo=$ac_try;;
24873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24874 (eval "$ac_compile") 2>conftest.er1
24876 grep -v '^
*+' conftest.er1 >conftest.err
24878 cat conftest.err >&5
24879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24880 (exit $ac_status); } && {
24881 test -z "$ac_cxx_werror_flag" ||
24882 test ! -s conftest.err
24883 } && test -s conftest.$ac_objext; then
24884 ac_cv_header_unordered_map=yes
24886 echo "$as_me: failed program was:" >&5
24887 sed 's
/^
/| /' conftest.$ac_ext >&5
24889 ac_cv_header_unordered_map=no
24892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24894 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24895 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24896 if test $ac_cv_header_unordered_map = yes; then
24897 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24898 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24899 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24900 echo $ECHO_N "(cached) $ECHO_C" >&6
24902 cat >conftest.$ac_ext <<_ACEOF
24905 cat confdefs.h >>conftest.$ac_ext
24906 cat >>conftest.$ac_ext <<_ACEOF
24907 /* end confdefs.h. */
24908 #include <unordered_map>
24909 #include <unordered_set>
24913 std::unordered_map<double*, char*> test1;
24914 std::unordered_set<char*> test2;
24919 rm -f conftest.$ac_objext
24920 if { (ac_try="$ac_compile"
24921 case "(($ac_try" in
24922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24923 *) ac_try_echo=$ac_try;;
24925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24926 (eval "$ac_compile") 2>conftest.er1
24928 grep -v '^
*+' conftest.er1 >conftest.err
24930 cat conftest.err >&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); } && {
24933 test -z "$ac_cxx_werror_flag" ||
24934 test ! -s conftest.err
24935 } && test -s conftest.$ac_objext; then
24936 wx_cv_class_stdunorderedmapset=yes
24938 echo "$as_me: failed program was:" >&5
24939 sed 's
/^
/| /' conftest.$ac_ext >&5
24941 wx_cv_class_stdunorderedmapset=no
24944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24948 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24949 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24954 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24955 cat >>confdefs.h <<\_ACEOF
24956 #define HAVE_STD_UNORDERED_MAP 1
24959 cat >>confdefs.h <<\_ACEOF
24960 #define HAVE_STD_UNORDERED_SET 1
24964 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24965 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24966 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24967 echo $ECHO_N "(cached) $ECHO_C" >&6
24969 cat >conftest.$ac_ext <<_ACEOF
24972 cat confdefs.h >>conftest.$ac_ext
24973 cat >>conftest.$ac_ext <<_ACEOF
24974 /* end confdefs.h. */
24978 #include <tr1/unordered_map>
24980 rm -f conftest.$ac_objext
24981 if { (ac_try="$ac_compile"
24982 case "(($ac_try" in
24983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24984 *) ac_try_echo=$ac_try;;
24986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24987 (eval "$ac_compile") 2>conftest.er1
24989 grep -v '^
*+' conftest.er1 >conftest.err
24991 cat conftest.err >&5
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); } && {
24994 test -z "$ac_cxx_werror_flag" ||
24995 test ! -s conftest.err
24996 } && test -s conftest.$ac_objext; then
24997 ac_cv_header_tr1_unordered_map=yes
24999 echo "$as_me: failed program was:" >&5
25000 sed 's
/^
/| /' conftest.$ac_ext >&5
25002 ac_cv_header_tr1_unordered_map=no
25005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25007 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25008 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25009 if test $ac_cv_header_tr1_unordered_map = yes; then
25010 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25011 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25012 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25013 echo $ECHO_N "(cached) $ECHO_C" >&6
25015 cat >conftest.$ac_ext <<_ACEOF
25018 cat confdefs.h >>conftest.$ac_ext
25019 cat >>conftest.$ac_ext <<_ACEOF
25020 /* end confdefs.h. */
25021 #include <tr1/unordered_map>
25022 #include <tr1/unordered_set>
25026 std::tr1::unordered_map<double*, char*> test1;
25027 std::tr1::unordered_set<char*> test2;
25028 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25029 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25035 rm -f conftest.
$ac_objext
25036 if { (ac_try
="$ac_compile"
25037 case "(($ac_try" in
25038 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25039 *) ac_try_echo=$ac_try;;
25041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25042 (eval "$ac_compile") 2>conftest.er1
25044 grep -v '^ *+' conftest.er1 >conftest.err
25046 cat conftest.err >&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); } && {
25049 test -z "$ac_cxx_werror_flag" ||
25050 test ! -s conftest.err
25051 } && test -s conftest.$ac_objext; then
25052 wx_cv_class_tr1unorderedmapset=yes
25054 echo "$as_me: failed program was:" >&5
25055 sed 's/^/| /' conftest.$ac_ext >&5
25057 wx_cv_class_tr1unorderedmapset=no
25060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25064 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25065 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25070 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25071 cat >>confdefs.h <<\_ACEOF
25072 #define HAVE_TR1_UNORDERED_MAP 1
25075 cat >>confdefs.h <<\_ACEOF
25076 #define HAVE_TR1_UNORDERED_SET 1
25080 { echo "$as_me:$LINENO: checking for hash_map" >&5
25081 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25082 if test "${ac_cv_header_hash_map+set}" = set; then
25083 echo $ECHO_N "(cached) $ECHO_C" >&6
25085 cat >conftest.$ac_ext <<_ACEOF
25088 cat confdefs.h >>conftest.$ac_ext
25089 cat >>conftest.$ac_ext <<_ACEOF
25090 /* end confdefs.h. */
25094 #include <hash_map>
25096 rm -f conftest.$ac_objext
25097 if { (ac_try="$ac_compile"
25098 case "(($ac_try" in
25099 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25100 *) ac_try_echo
=$ac_try;;
25102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25103 (eval "$ac_compile") 2>conftest.er1
25105 grep -v '^ *+' conftest.er1
>conftest.err
25107 cat conftest.err
>&5
25108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25109 (exit $ac_status); } && {
25110 test -z "$ac_cxx_werror_flag" ||
25111 test ! -s conftest.err
25112 } && test -s conftest.
$ac_objext; then
25113 ac_cv_header_hash_map
=yes
25115 echo "$as_me: failed program was:" >&5
25116 sed 's/^/| /' conftest.
$ac_ext >&5
25118 ac_cv_header_hash_map
=no
25121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25123 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25124 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25125 if test $ac_cv_header_hash_map = yes; then
25126 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25127 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25128 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25129 echo $ECHO_N "(cached) $ECHO_C" >&6
25131 cat >conftest.
$ac_ext <<_ACEOF
25134 cat confdefs.h
>>conftest.
$ac_ext
25135 cat >>conftest.
$ac_ext <<_ACEOF
25136 /* end confdefs.h. */
25137 #include <hash_map>
25138 #include <hash_set>
25142 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25143 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25148 rm -f conftest.
$ac_objext
25149 if { (ac_try
="$ac_compile"
25150 case "(($ac_try" in
25151 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25152 *) ac_try_echo=$ac_try;;
25154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25155 (eval "$ac_compile") 2>conftest.er1
25157 grep -v '^ *+' conftest.er1 >conftest.err
25159 cat conftest.err >&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); } && {
25162 test -z "$ac_cxx_werror_flag" ||
25163 test ! -s conftest.err
25164 } && test -s conftest.$ac_objext; then
25165 wx_cv_class_stdhashmapset=yes
25167 echo "$as_me: failed program was:" >&5
25168 sed 's/^/| /' conftest.$ac_ext >&5
25170 wx_cv_class_stdhashmapset=no
25173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25177 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25178 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25183 if test "$wx_cv_class_stdhashmapset" = yes; then
25184 cat >>confdefs.h <<\_ACEOF
25185 #define HAVE_HASH_MAP 1
25188 cat >>confdefs.h <<\_ACEOF
25189 #define HAVE_STD_HASH_MAP 1
25194 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25195 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25196 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25197 echo $ECHO_N "(cached) $ECHO_C" >&6
25199 cat >conftest.$ac_ext <<_ACEOF
25202 cat confdefs.h >>conftest.$ac_ext
25203 cat >>conftest.$ac_ext <<_ACEOF
25204 /* end confdefs.h. */
25208 #include <ext/hash_map>
25210 rm -f conftest.$ac_objext
25211 if { (ac_try="$ac_compile"
25212 case "(($ac_try" in
25213 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25214 *) ac_try_echo
=$ac_try;;
25216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25217 (eval "$ac_compile") 2>conftest.er1
25219 grep -v '^ *+' conftest.er1
>conftest.err
25221 cat conftest.err
>&5
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); } && {
25224 test -z "$ac_cxx_werror_flag" ||
25225 test ! -s conftest.err
25226 } && test -s conftest.
$ac_objext; then
25227 ac_cv_header_ext_hash_map
=yes
25229 echo "$as_me: failed program was:" >&5
25230 sed 's/^/| /' conftest.
$ac_ext >&5
25232 ac_cv_header_ext_hash_map
=no
25235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25237 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25238 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25239 if test $ac_cv_header_ext_hash_map = yes; then
25240 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25241 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25242 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25243 echo $ECHO_N "(cached) $ECHO_C" >&6
25245 cat >conftest.
$ac_ext <<_ACEOF
25248 cat confdefs.h
>>conftest.
$ac_ext
25249 cat >>conftest.
$ac_ext <<_ACEOF
25250 /* end confdefs.h. */
25251 #include <ext/hash_map>
25252 #include <ext/hash_set>
25256 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25257 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25262 rm -f conftest.
$ac_objext
25263 if { (ac_try
="$ac_compile"
25264 case "(($ac_try" in
25265 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25266 *) ac_try_echo=$ac_try;;
25268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25269 (eval "$ac_compile") 2>conftest.er1
25271 grep -v '^ *+' conftest.er1 >conftest.err
25273 cat conftest.err >&5
25274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25275 (exit $ac_status); } && {
25276 test -z "$ac_cxx_werror_flag" ||
25277 test ! -s conftest.err
25278 } && test -s conftest.$ac_objext; then
25279 wx_cv_class_gnuhashmapset=yes
25281 echo "$as_me: failed program was:" >&5
25282 sed 's/^/| /' conftest.$ac_ext >&5
25284 wx_cv_class_gnuhashmapset=no
25287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25291 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25292 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25303 if test -n "$GCC"; then
25304 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25305 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25306 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25307 echo $ECHO_N "(cached) $ECHO_C" >&6
25310 cat >conftest.$ac_ext <<_ACEOF
25313 cat confdefs.h >>conftest.$ac_ext
25314 cat >>conftest.$ac_ext <<_ACEOF
25315 /* end confdefs.h. */
25321 unsigned int value=0;
25322 /* wxAtomicInc doesn't use return value here */
25323 __sync_fetch_and_add(&value, 2);
25324 __sync_sub_and_fetch(&value, 1);
25325 /* but wxAtomicDec does, so mimic that: */
25326 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25332 rm -f conftest.$ac_objext conftest$ac_exeext
25333 if { (ac_try="$ac_link"
25334 case "(($ac_try" in
25335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25336 *) ac_try_echo
=$ac_try;;
25338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25339 (eval "$ac_link") 2>conftest.er1
25341 grep -v '^ *+' conftest.er1
>conftest.err
25343 cat conftest.err
>&5
25344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25345 (exit $ac_status); } && {
25346 test -z "$ac_cxx_werror_flag" ||
25347 test ! -s conftest.err
25348 } && test -s conftest
$ac_exeext &&
25349 $as_test_x conftest
$ac_exeext; then
25350 wx_cv_cc_gcc_atomic_builtins
=yes
25352 echo "$as_me: failed program was:" >&5
25353 sed 's/^/| /' conftest.
$ac_ext >&5
25355 wx_cv_cc_gcc_atomic_builtins
=no
25358 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25359 conftest
$ac_exeext conftest.
$ac_ext
25363 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25364 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25365 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25366 cat >>confdefs.h
<<\_ACEOF
25367 #define HAVE_GCC_ATOMIC_BUILTINS 1
25375 ac_cpp
='$CPP $CPPFLAGS'
25376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25383 /usr/local/include \
25384 /usr/local/X11/include \
25385 /usr/local/include/X11 \
25386 /usr/local/X11R7/include \
25387 /usr/local/X11R6/include \
25388 /usr/local/include/X11R7 \
25389 /usr/local/include/X11R6 \
25391 /usr/Motif-2.1/include \
25392 /usr/Motif-1.2/include \
25393 /usr/include/Motif1.2 \
25396 /usr/openwin/include \
25400 /usr/X11R7/include \
25401 /usr/X11R6/include \
25402 /usr/X11R6.4/include \
25404 /usr/include/X11R7 \
25405 /usr/include/X11R6 \
25410 /usr/XFree86/include/X11 \
25413 /usr/local/X1R5/include \
25414 /usr/local/include/X11R5 \
25415 /usr/X11R5/include \
25416 /usr/include/X11R5 \
25418 /usr/local/X11R4/include \
25419 /usr/local/include/X11R4 \
25420 /usr/X11R4/include \
25421 /usr/include/X11R4 \
25423 /usr/openwin/share/include"
25425 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25426 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25430 if test "${wx_cv_std_libpath+set}" = set; then
25431 echo $ECHO_N "(cached) $ECHO_C" >&6
25434 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25435 for e
in a so sl dylib dll.a
; do
25437 if test -f $libc; then
25440 cat >conftest.
$ac_ext <<_ACEOF
25441 int main() { return 0; }
25443 rm -f conftest.
$ac_objext conftest
$ac_exeext
25444 if { (ac_try
="$ac_link"
25445 case "(($ac_try" in
25446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25447 *) ac_try_echo=$ac_try;;
25449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25450 (eval "$ac_link") 2>conftest.er1
25452 grep -v '^ *+' conftest.er1 >conftest.err
25454 cat conftest.err >&5
25455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 (exit $ac_status); } && {
25457 test -z "$ac_c_werror_flag" ||
25458 test ! -s conftest.err
25459 } && test -s conftest$ac_exeext &&
25460 $as_test_x conftest$ac_exeext; then
25461 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25463 echo "$as_me: failed program was:" >&5
25464 sed 's/^/| /' conftest.$ac_ext >&5
25469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25470 conftest$ac_exeext conftest.$ac_ext
25472 if test "x$wx_cv_std_libpath" != "x"; then
25478 if test "x$wx_cv_std_libpath" = "x"; then
25479 wx_cv_std_libpath="lib"
25488 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25489 wx_cv_std_libpath="lib/64"
25491 wx_cv_std_libpath="lib"
25496 if test "$ac_cv_sizeof_void_p" = 8 -a \
25497 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25498 wx_cv_std_libpath="lib64"
25500 wx_cv_std_libpath="lib"
25505 wx_cv_std_libpath="lib";
25509 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25510 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25512 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25514 if test "$build" != "$host" -a "$GCC" = yes; then
25515 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25516 cross_root=`dirname $cross_root`
25517 cross_root=`dirname $cross_root`
25519 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25520 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25521 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25523 if test -z "$PKG_CONFIG_PATH"; then
25524 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25525 export PKG_CONFIG_PATH
25528 if test -z "$x_includes" -o "$x_includes" = NONE; then
25531 for ac_dir in $SEARCH_INCLUDE /usr/include;
25533 if test -f "$ac_dir/X11/Intrinsic.h"; then
25534 ac_find_includes=$ac_dir
25539 x_includes=$ac_find_includes
25541 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25544 for ac_dir in $SEARCH_LIB;
25546 for ac_extension in a so sl dylib dll.a; do
25547 if test -f "$ac_dir/libXt.$ac_extension"; then
25548 ac_find_libraries=$ac_dir
25554 x_libraries=$ac_find_libraries
25560 cat >confcache <<\_ACEOF
25561 # This file is a shell script that caches the results of configure
25562 # tests run on this system so they can be shared between configure
25563 # scripts and configure runs, see configure's option --config-cache.
25564 # It is not useful on other systems. If it contains results you don't
25565 # want to keep, you may remove or edit it.
25567 # config.status only pays attention to the cache file if you give it
25568 # the --recheck option to rerun configure.
25570 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25571 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25572 # following values.
25576 # The following way of writing the cache mishandles newlines in values,
25577 # but we know of no workaround that is simple, portable, and efficient.
25578 # So, we kill variables containing newlines.
25579 # Ultrix sh set writes to stderr and can't be redirected directly,
25580 # and sets the high bit in the cache file unless we assign to the vars.
25582 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25583 eval ac_val
=\$
$ac_var
25587 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25588 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25591 _
| IFS
| as_nl
) ;; #(
25592 *) $as_unset $ac_var ;;
25598 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25599 *${as_nl}ac_space
=\
*)
25600 # `set' does not quote correctly, so add quotes (double-quote
25601 # substitution turns \\\\ into \\, and sed turns \\ into \).
25604 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25607 # `set' quotes correctly as required by POSIX, so do not add quotes.
25608 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25617 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25619 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25621 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25622 if test -w "$cache_file"; then
25623 test "x$cache_file" != "x/dev/null" &&
25624 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25625 echo "$as_me: updating cache $cache_file" >&6;}
25626 cat confcache
>$cache_file
25628 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25629 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25634 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25635 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25636 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25637 if test "${wx_cv_lib_glibc21+set}" = set; then
25638 echo $ECHO_N "(cached) $ECHO_C" >&6
25641 cat >conftest.
$ac_ext <<_ACEOF
25644 cat confdefs.h
>>conftest.
$ac_ext
25645 cat >>conftest.
$ac_ext <<_ACEOF
25646 /* end confdefs.h. */
25647 #include <features.h>
25652 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25660 rm -f conftest.
$ac_objext
25661 if { (ac_try
="$ac_compile"
25662 case "(($ac_try" in
25663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25664 *) ac_try_echo=$ac_try;;
25666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25667 (eval "$ac_compile") 2>conftest.er1
25669 grep -v '^ *+' conftest.er1 >conftest.err
25671 cat conftest.err >&5
25672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673 (exit $ac_status); } && {
25674 test -z "$ac_c_werror_flag" ||
25675 test ! -s conftest.err
25676 } && test -s conftest.$ac_objext; then
25678 wx_cv_lib_glibc21=yes
25681 echo "$as_me: failed program was:" >&5
25682 sed 's/^/| /' conftest.$ac_ext >&5
25685 wx_cv_lib_glibc21=no
25690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25693 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25694 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25695 if test "$wx_cv_lib_glibc21" = "yes"; then
25696 cat >>confdefs.h <<\_ACEOF
25697 #define wxHAVE_GLIBC2 1
25703 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25704 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25705 cat >>confdefs.h <<\_ACEOF
25706 #define _GNU_SOURCE 1
25717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25721 echo $ECHO_N "(cached) $ECHO_C" >&6
25723 cat >conftest.$ac_ext <<_ACEOF
25726 cat confdefs.h >>conftest.$ac_ext
25727 cat >>conftest.$ac_ext <<_ACEOF
25728 /* end confdefs.h. */
25729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25731 #define $ac_func innocuous_$ac_func
25733 /* System header to define __stub macros and hopefully few prototypes,
25734 which can conflict with char $ac_func (); below.
25735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25736 <limits.h> exists even on freestanding compilers. */
25739 # include <limits.h>
25741 # include <assert.h>
25746 /* Override any GCC internal prototype to avoid an error.
25747 Use char because int might match the return type of a GCC
25748 builtin and then its argument prototype would still apply. */
25753 /* The GNU C library defines this for functions which it implements
25754 to always fail with ENOSYS. Some functions are actually named
25755 something starting with __ and the normal name is an alias. */
25756 #if defined __stub_$ac_func || defined __stub___$ac_func
25763 return $ac_func ();
25768 rm -f conftest.$ac_objext conftest$ac_exeext
25769 if { (ac_try="$ac_link"
25770 case "(($ac_try" in
25771 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25772 *) ac_try_echo
=$ac_try;;
25774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25775 (eval "$ac_link") 2>conftest.er1
25777 grep -v '^ *+' conftest.er1
>conftest.err
25779 cat conftest.err
>&5
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); } && {
25782 test -z "$ac_c_werror_flag" ||
25783 test ! -s conftest.err
25784 } && test -s conftest
$ac_exeext &&
25785 $as_test_x conftest
$ac_exeext; then
25786 eval "$as_ac_var=yes"
25788 echo "$as_me: failed program was:" >&5
25789 sed 's/^/| /' conftest.
$ac_ext >&5
25791 eval "$as_ac_var=no"
25794 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25795 conftest
$ac_exeext conftest.
$ac_ext
25797 ac_res
=`eval echo '${'$as_ac_var'}'`
25798 { echo "$as_me:$LINENO: result: $ac_res" >&5
25799 echo "${ECHO_T}$ac_res" >&6; }
25800 if test `eval echo '${'$as_ac_var'}'` = yes; then
25801 cat >>confdefs.h
<<_ACEOF
25802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25809 for ac_func
in floor
25811 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25812 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25814 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25815 echo $ECHO_N "(cached) $ECHO_C" >&6
25817 cat >conftest.
$ac_ext <<_ACEOF
25820 cat confdefs.h
>>conftest.
$ac_ext
25821 cat >>conftest.
$ac_ext <<_ACEOF
25822 /* end confdefs.h. */
25823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25825 #define $ac_func innocuous_$ac_func
25827 /* System header to define __stub macros and hopefully few prototypes,
25828 which can conflict with char $ac_func (); below.
25829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25830 <limits.h> exists even on freestanding compilers. */
25833 # include <limits.h>
25835 # include <assert.h>
25840 /* Override any GCC internal prototype to avoid an error.
25841 Use char because int might match the return type of a GCC
25842 builtin and then its argument prototype would still apply. */
25847 /* The GNU C library defines this for functions which it implements
25848 to always fail with ENOSYS. Some functions are actually named
25849 something starting with __ and the normal name is an alias. */
25850 #if defined __stub_$ac_func || defined __stub___$ac_func
25857 return $ac_func ();
25862 rm -f conftest.
$ac_objext conftest
$ac_exeext
25863 if { (ac_try
="$ac_link"
25864 case "(($ac_try" in
25865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25866 *) ac_try_echo=$ac_try;;
25868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25869 (eval "$ac_link") 2>conftest.er1
25871 grep -v '^ *+' conftest.er1 >conftest.err
25873 cat conftest.err >&5
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); } && {
25876 test -z "$ac_c_werror_flag" ||
25877 test ! -s conftest.err
25878 } && test -s conftest$ac_exeext &&
25879 $as_test_x conftest$ac_exeext; then
25880 eval "$as_ac_var=yes"
25882 echo "$as_me: failed program was:" >&5
25883 sed 's/^/| /' conftest.$ac_ext >&5
25885 eval "$as_ac_var=no"
25888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25889 conftest$ac_exeext conftest.$ac_ext
25891 ac_res=`eval echo '${'$as_ac_var'}'`
25892 { echo "$as_me:$LINENO: result: $ac_res" >&5
25893 echo "${ECHO_T}$ac_res" >&6; }
25894 if test `eval echo '${'$as_ac_var'}'` = yes; then
25895 cat >>confdefs.h <<_ACEOF
25896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25902 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25903 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25904 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25905 { echo "$as_me:$LINENO: result: yes" >&5
25906 echo "${ECHO_T}yes" >&6; }
25908 { echo "$as_me:$LINENO: result: no" >&5
25909 echo "${ECHO_T}no" >&6; }
25911 # use different functions to avoid configure caching
25917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25918 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25920 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25921 echo $ECHO_N "(cached) $ECHO_C" >&6
25923 cat >conftest.$ac_ext <<_ACEOF
25926 cat confdefs.h >>conftest.$ac_ext
25927 cat >>conftest.$ac_ext <<_ACEOF
25928 /* end confdefs.h. */
25929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25931 #define $ac_func innocuous_$ac_func
25933 /* System header to define __stub macros and hopefully few prototypes,
25934 which can conflict with char $ac_func (); below.
25935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25936 <limits.h> exists even on freestanding compilers. */
25939 # include <limits.h>
25941 # include <assert.h>
25946 /* Override any GCC internal prototype to avoid an error.
25947 Use char because int might match the return type of a GCC
25948 builtin and then its argument prototype would still apply. */
25953 /* The GNU C library defines this for functions which it implements
25954 to always fail with ENOSYS. Some functions are actually named
25955 something starting with __ and the normal name is an alias. */
25956 #if defined __stub_$ac_func || defined __stub___$ac_func
25963 return $ac_func ();
25968 rm -f conftest.$ac_objext conftest$ac_exeext
25969 if { (ac_try="$ac_link"
25970 case "(($ac_try" in
25971 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25972 *) ac_try_echo
=$ac_try;;
25974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25975 (eval "$ac_link") 2>conftest.er1
25977 grep -v '^ *+' conftest.er1
>conftest.err
25979 cat conftest.err
>&5
25980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25981 (exit $ac_status); } && {
25982 test -z "$ac_c_werror_flag" ||
25983 test ! -s conftest.err
25984 } && test -s conftest
$ac_exeext &&
25985 $as_test_x conftest
$ac_exeext; then
25986 eval "$as_ac_var=yes"
25988 echo "$as_me: failed program was:" >&5
25989 sed 's/^/| /' conftest.
$ac_ext >&5
25991 eval "$as_ac_var=no"
25994 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25995 conftest
$ac_exeext conftest.
$ac_ext
25997 ac_res
=`eval echo '${'$as_ac_var'}'`
25998 { echo "$as_me:$LINENO: result: $ac_res" >&5
25999 echo "${ECHO_T}$ac_res" >&6; }
26000 if test `eval echo '${'$as_ac_var'}'` = yes; then
26001 cat >>confdefs.h
<<_ACEOF
26002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26009 for ac_func
in ceil
26011 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26012 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26014 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26015 echo $ECHO_N "(cached) $ECHO_C" >&6
26017 cat >conftest.
$ac_ext <<_ACEOF
26020 cat confdefs.h
>>conftest.
$ac_ext
26021 cat >>conftest.
$ac_ext <<_ACEOF
26022 /* end confdefs.h. */
26023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26025 #define $ac_func innocuous_$ac_func
26027 /* System header to define __stub macros and hopefully few prototypes,
26028 which can conflict with char $ac_func (); below.
26029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26030 <limits.h> exists even on freestanding compilers. */
26033 # include <limits.h>
26035 # include <assert.h>
26040 /* Override any GCC internal prototype to avoid an error.
26041 Use char because int might match the return type of a GCC
26042 builtin and then its argument prototype would still apply. */
26047 /* The GNU C library defines this for functions which it implements
26048 to always fail with ENOSYS. Some functions are actually named
26049 something starting with __ and the normal name is an alias. */
26050 #if defined __stub_$ac_func || defined __stub___$ac_func
26057 return $ac_func ();
26062 rm -f conftest.
$ac_objext conftest
$ac_exeext
26063 if { (ac_try
="$ac_link"
26064 case "(($ac_try" in
26065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26066 *) ac_try_echo=$ac_try;;
26068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26069 (eval "$ac_link") 2>conftest.er1
26071 grep -v '^ *+' conftest.er1 >conftest.err
26073 cat conftest.err >&5
26074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26075 (exit $ac_status); } && {
26076 test -z "$ac_c_werror_flag" ||
26077 test ! -s conftest.err
26078 } && test -s conftest$ac_exeext &&
26079 $as_test_x conftest$ac_exeext; then
26080 eval "$as_ac_var=yes"
26082 echo "$as_me: failed program was:" >&5
26083 sed 's/^/| /' conftest.$ac_ext >&5
26085 eval "$as_ac_var=no"
26088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26089 conftest$ac_exeext conftest.$ac_ext
26091 ac_res=`eval echo '${'$as_ac_var'}'`
26092 { echo "$as_me:$LINENO: result: $ac_res" >&5
26093 echo "${ECHO_T}$ac_res" >&6; }
26094 if test `eval echo '${'$as_ac_var'}'` = yes; then
26095 cat >>confdefs.h <<_ACEOF
26096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26102 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26103 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26104 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26105 { echo "$as_me:$LINENO: result: yes" >&5
26106 echo "${ECHO_T}yes" >&6; }
26108 { echo "$as_me:$LINENO: result: no" >&5
26109 echo "${ECHO_T}no" >&6; }
26110 # not sure we should warn the user, crash, etc.
26115 ac_cpp='$CXXCPP $CPPFLAGS'
26116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26120 if test "wxUSE_UNICODE" = "yes"; then
26122 for wx_func in wcstoull
26124 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26125 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26126 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26127 echo $ECHO_N "(cached) $ECHO_C" >&6
26130 cat >conftest.$ac_ext <<_ACEOF
26134 cat confdefs.h >>conftest.$ac_ext
26135 cat >>conftest.$ac_ext <<_ACEOF
26136 /* end confdefs.h. */
26139 $ac_includes_default
26155 rm -f conftest.$ac_objext conftest$ac_exeext
26156 if { (ac_try="$ac_link"
26157 case "(($ac_try" in
26158 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26159 *) ac_try_echo
=$ac_try;;
26161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26162 (eval "$ac_link") 2>conftest.er1
26164 grep -v '^ *+' conftest.er1
>conftest.err
26166 cat conftest.err
>&5
26167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26168 (exit $ac_status); } && {
26169 test -z "$ac_cxx_werror_flag" ||
26170 test ! -s conftest.err
26171 } && test -s conftest
$ac_exeext &&
26172 $as_test_x conftest
$ac_exeext; then
26173 eval wx_cv_func_
$wx_func=yes
26175 echo "$as_me: failed program was:" >&5
26176 sed 's/^/| /' conftest.
$ac_ext >&5
26178 eval wx_cv_func_
$wx_func=no
26181 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26182 conftest
$ac_exeext conftest.
$ac_ext
26185 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26186 { echo "$as_me:$LINENO: result: $ac_res" >&5
26187 echo "${ECHO_T}$ac_res" >&6; }
26189 if eval test \
$wx_cv_func_$wx_func = yes
26191 cat >>confdefs.h
<<_ACEOF
26192 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26204 for wx_func
in strtoull
26206 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26207 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26208 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26209 echo $ECHO_N "(cached) $ECHO_C" >&6
26212 cat >conftest.
$ac_ext <<_ACEOF
26216 cat confdefs.h
>>conftest.
$ac_ext
26217 cat >>conftest.
$ac_ext <<_ACEOF
26218 /* end confdefs.h. */
26221 $ac_includes_default
26237 rm -f conftest.
$ac_objext conftest
$ac_exeext
26238 if { (ac_try
="$ac_link"
26239 case "(($ac_try" in
26240 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26241 *) ac_try_echo=$ac_try;;
26243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26244 (eval "$ac_link") 2>conftest.er1
26246 grep -v '^ *+' conftest.er1 >conftest.err
26248 cat conftest.err >&5
26249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250 (exit $ac_status); } && {
26251 test -z "$ac_cxx_werror_flag" ||
26252 test ! -s conftest.err
26253 } && test -s conftest$ac_exeext &&
26254 $as_test_x conftest$ac_exeext; then
26255 eval wx_cv_func_$wx_func=yes
26257 echo "$as_me: failed program was:" >&5
26258 sed 's/^/| /' conftest.$ac_ext >&5
26260 eval wx_cv_func_$wx_func=no
26263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26264 conftest$ac_exeext conftest.$ac_ext
26267 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26268 { echo "$as_me:$LINENO: result: $ac_res" >&5
26269 echo "${ECHO_T}$ac_res" >&6; }
26271 if eval test \$wx_cv_func_$wx_func = yes
26273 cat >>confdefs.h <<_ACEOF
26274 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26286 ac_cpp='$CPP $CPPFLAGS'
26287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26294 if test "$wxUSE_REGEX" != "no"; then
26295 cat >>confdefs.h <<\_ACEOF
26296 #define wxUSE_REGEX 1
26300 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26301 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26302 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26303 wxUSE_REGEX=builtin
26306 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26307 { echo "$as_me:$LINENO: checking for regex.h" >&5
26308 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26309 if test "${ac_cv_header_regex_h+set}" = set; then
26310 echo $ECHO_N "(cached) $ECHO_C" >&6
26312 cat >conftest.$ac_ext <<_ACEOF
26315 cat confdefs.h >>conftest.$ac_ext
26316 cat >>conftest.$ac_ext <<_ACEOF
26317 /* end confdefs.h. */
26322 rm -f conftest.$ac_objext
26323 if { (ac_try="$ac_compile"
26324 case "(($ac_try" in
26325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26326 *) ac_try_echo
=$ac_try;;
26328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26329 (eval "$ac_compile") 2>conftest.er1
26331 grep -v '^ *+' conftest.er1
>conftest.err
26333 cat conftest.err
>&5
26334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26335 (exit $ac_status); } && {
26336 test -z "$ac_c_werror_flag" ||
26337 test ! -s conftest.err
26338 } && test -s conftest.
$ac_objext; then
26339 ac_cv_header_regex_h
=yes
26341 echo "$as_me: failed program was:" >&5
26342 sed 's/^/| /' conftest.
$ac_ext >&5
26344 ac_cv_header_regex_h
=no
26347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26349 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26350 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26351 if test $ac_cv_header_regex_h = yes; then
26354 for ac_func
in regcomp re_search
26356 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26357 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26359 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26360 echo $ECHO_N "(cached) $ECHO_C" >&6
26362 cat >conftest.
$ac_ext <<_ACEOF
26365 cat confdefs.h
>>conftest.
$ac_ext
26366 cat >>conftest.
$ac_ext <<_ACEOF
26367 /* end confdefs.h. */
26368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26370 #define $ac_func innocuous_$ac_func
26372 /* System header to define __stub macros and hopefully few prototypes,
26373 which can conflict with char $ac_func (); below.
26374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26375 <limits.h> exists even on freestanding compilers. */
26378 # include <limits.h>
26380 # include <assert.h>
26385 /* Override any GCC internal prototype to avoid an error.
26386 Use char because int might match the return type of a GCC
26387 builtin and then its argument prototype would still apply. */
26392 /* The GNU C library defines this for functions which it implements
26393 to always fail with ENOSYS. Some functions are actually named
26394 something starting with __ and the normal name is an alias. */
26395 #if defined __stub_$ac_func || defined __stub___$ac_func
26402 return $ac_func ();
26407 rm -f conftest.
$ac_objext conftest
$ac_exeext
26408 if { (ac_try
="$ac_link"
26409 case "(($ac_try" in
26410 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26411 *) ac_try_echo=$ac_try;;
26413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26414 (eval "$ac_link") 2>conftest.er1
26416 grep -v '^ *+' conftest.er1 >conftest.err
26418 cat conftest.err >&5
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); } && {
26421 test -z "$ac_c_werror_flag" ||
26422 test ! -s conftest.err
26423 } && test -s conftest$ac_exeext &&
26424 $as_test_x conftest$ac_exeext; then
26425 eval "$as_ac_var=yes"
26427 echo "$as_me: failed program was:" >&5
26428 sed 's/^/| /' conftest.$ac_ext >&5
26430 eval "$as_ac_var=no"
26433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26434 conftest$ac_exeext conftest.$ac_ext
26436 ac_res=`eval echo '${'$as_ac_var'}'`
26437 { echo "$as_me:$LINENO: result: $ac_res" >&5
26438 echo "${ECHO_T}$ac_res" >&6; }
26439 if test `eval echo '${'$as_ac_var'}'` = yes; then
26440 cat >>confdefs.h <<_ACEOF
26441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26451 if test "x$ac_cv_func_regcomp" != "xyes"; then
26452 if test "$wxUSE_REGEX" = "sys" ; then
26453 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26454 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26455 { (exit 1); exit 1; }; }
26457 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26458 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26459 wxUSE_REGEX=builtin
26463 cat >>confdefs.h <<\_ACEOF
26464 #define WX_NO_REGEX_ADVANCED 1
26473 if test "$wxUSE_ZLIB" != "no" ; then
26474 cat >>confdefs.h <<\_ACEOF
26475 #define wxUSE_ZLIB 1
26479 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26480 if test "$USE_DARWIN" = 1; then
26481 system_zlib_h_ok="yes"
26483 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26484 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26485 if test "${ac_cv_header_zlib_h+set}" = set; then
26486 echo $ECHO_N "(cached) $ECHO_C" >&6
26488 if test "$cross_compiling" = yes; then
26489 unset ac_cv_header_zlib_h
26492 cat >conftest.$ac_ext <<_ACEOF
26495 cat confdefs.h >>conftest.$ac_ext
26496 cat >>conftest.$ac_ext <<_ACEOF
26497 /* end confdefs.h. */
26504 FILE *f=fopen("conftestval", "w");
26507 ZLIB_VERSION[0] == '1' &&
26508 (ZLIB_VERSION[2] > '1' ||
26509 (ZLIB_VERSION[2] == '1' &&
26510 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26515 rm -f conftest$ac_exeext
26516 if { (ac_try="$ac_link"
26517 case "(($ac_try" in
26518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26519 *) ac_try_echo
=$ac_try;;
26521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26522 (eval "$ac_link") 2>&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26526 { (case "(($ac_try" in
26527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26528 *) ac_try_echo=$ac_try;;
26530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26531 (eval "$ac_try") 2>&5
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); }; }; then
26535 ac_cv_header_zlib_h=`cat conftestval
`
26537 echo "$as_me: program exited with status $ac_status" >&5
26538 echo "$as_me: failed program was:" >&5
26539 sed 's/^/| /' conftest.$ac_ext >&5
26541 ( exit $ac_status )
26542 ac_cv_header_zlib_h=no
26544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26550 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26551 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26552 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26553 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26554 if test "${ac_cv_header_zlib_h+set}" = set; then
26555 echo $ECHO_N "(cached) $ECHO_C" >&6
26557 cat >conftest.$ac_ext <<_ACEOF
26560 cat confdefs.h >>conftest.$ac_ext
26561 cat >>conftest.$ac_ext <<_ACEOF
26562 /* end confdefs.h. */
26567 rm -f conftest.$ac_objext
26568 if { (ac_try="$ac_compile"
26569 case "(($ac_try" in
26570 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26571 *) ac_try_echo
=$ac_try;;
26573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26574 (eval "$ac_compile") 2>conftest.er1
26576 grep -v '^ *+' conftest.er1
>conftest.err
26578 cat conftest.err
>&5
26579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580 (exit $ac_status); } && {
26581 test -z "$ac_c_werror_flag" ||
26582 test ! -s conftest.err
26583 } && test -s conftest.
$ac_objext; then
26584 ac_cv_header_zlib_h
=yes
26586 echo "$as_me: failed program was:" >&5
26587 sed 's/^/| /' conftest.
$ac_ext >&5
26589 ac_cv_header_zlib_h
=no
26592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26594 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26595 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26599 system_zlib_h_ok
=$ac_cv_header_zlib_h
26602 if test "$system_zlib_h_ok" = "yes"; then
26603 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26604 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26605 if test "${ac_cv_lib_z_deflate+set}" = set; then
26606 echo $ECHO_N "(cached) $ECHO_C" >&6
26608 ac_check_lib_save_LIBS
=$LIBS
26610 cat >conftest.
$ac_ext <<_ACEOF
26613 cat confdefs.h
>>conftest.
$ac_ext
26614 cat >>conftest.
$ac_ext <<_ACEOF
26615 /* end confdefs.h. */
26617 /* Override any GCC internal prototype to avoid an error.
26618 Use char because int might match the return type of a GCC
26619 builtin and then its argument prototype would still apply. */
26632 rm -f conftest.
$ac_objext conftest
$ac_exeext
26633 if { (ac_try
="$ac_link"
26634 case "(($ac_try" in
26635 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26636 *) ac_try_echo=$ac_try;;
26638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26639 (eval "$ac_link") 2>conftest.er1
26641 grep -v '^ *+' conftest.er1 >conftest.err
26643 cat conftest.err >&5
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); } && {
26646 test -z "$ac_c_werror_flag" ||
26647 test ! -s conftest.err
26648 } && test -s conftest$ac_exeext &&
26649 $as_test_x conftest$ac_exeext; then
26650 ac_cv_lib_z_deflate=yes
26652 echo "$as_me: failed program was:" >&5
26653 sed 's/^/| /' conftest.$ac_ext >&5
26655 ac_cv_lib_z_deflate=no
26658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26659 conftest$ac_exeext conftest.$ac_ext
26660 LIBS=$ac_check_lib_save_LIBS
26662 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26663 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26664 if test $ac_cv_lib_z_deflate = yes; then
26670 if test "x$ZLIB_LINK" = "x" ; then
26671 if test "$wxUSE_ZLIB" = "sys" ; then
26672 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26673 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26674 { (exit 1); exit 1; }; }
26676 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26677 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26688 if test "$wxUSE_LIBPNG" != "no" ; then
26689 cat >>confdefs.h <<\_ACEOF
26690 #define wxUSE_LIBPNG 1
26694 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26695 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26696 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26700 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26701 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26702 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26703 wxUSE_LIBPNG=builtin
26706 if test "$wxUSE_MGL" != 1 ; then
26707 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26708 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26709 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26710 if test "${ac_cv_header_png_h+set}" = set; then
26711 echo $ECHO_N "(cached) $ECHO_C" >&6
26713 if test "$cross_compiling" = yes; then
26714 unset ac_cv_header_png_h
26717 cat >conftest.$ac_ext <<_ACEOF
26720 cat confdefs.h >>conftest.$ac_ext
26721 cat >>conftest.$ac_ext <<_ACEOF
26722 /* end confdefs.h. */
26729 FILE *f=fopen("conftestval", "w");
26732 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26737 rm -f conftest$ac_exeext
26738 if { (ac_try="$ac_link"
26739 case "(($ac_try" in
26740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26741 *) ac_try_echo
=$ac_try;;
26743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26744 (eval "$ac_link") 2>&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26748 { (case "(($ac_try" in
26749 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26750 *) ac_try_echo=$ac_try;;
26752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26753 (eval "$ac_try") 2>&5
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); }; }; then
26757 ac_cv_header_png_h=`cat conftestval
`
26759 echo "$as_me: program exited with status $ac_status" >&5
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.$ac_ext >&5
26763 ( exit $ac_status )
26764 ac_cv_header_png_h=no
26766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26772 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26773 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26774 { echo "$as_me:$LINENO: checking for png.h" >&5
26775 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26776 if test "${ac_cv_header_png_h+set}" = set; then
26777 echo $ECHO_N "(cached) $ECHO_C" >&6
26779 cat >conftest.$ac_ext <<_ACEOF
26782 cat confdefs.h >>conftest.$ac_ext
26783 cat >>conftest.$ac_ext <<_ACEOF
26784 /* end confdefs.h. */
26789 rm -f conftest.$ac_objext
26790 if { (ac_try="$ac_compile"
26791 case "(($ac_try" in
26792 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26793 *) ac_try_echo
=$ac_try;;
26795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26796 (eval "$ac_compile") 2>conftest.er1
26798 grep -v '^ *+' conftest.er1
>conftest.err
26800 cat conftest.err
>&5
26801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26802 (exit $ac_status); } && {
26803 test -z "$ac_c_werror_flag" ||
26804 test ! -s conftest.err
26805 } && test -s conftest.
$ac_objext; then
26806 ac_cv_header_png_h
=yes
26808 echo "$as_me: failed program was:" >&5
26809 sed 's/^/| /' conftest.
$ac_ext >&5
26811 ac_cv_header_png_h
=no
26814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26816 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26817 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26821 if test "$ac_cv_header_png_h" = "yes"; then
26822 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26823 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26824 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26825 echo $ECHO_N "(cached) $ECHO_C" >&6
26827 ac_check_lib_save_LIBS
=$LIBS
26828 LIBS
="-lpng -lz -lm $LIBS"
26829 cat >conftest.
$ac_ext <<_ACEOF
26832 cat confdefs.h
>>conftest.
$ac_ext
26833 cat >>conftest.
$ac_ext <<_ACEOF
26834 /* end confdefs.h. */
26836 /* Override any GCC internal prototype to avoid an error.
26837 Use char because int might match the return type of a GCC
26838 builtin and then its argument prototype would still apply. */
26842 char png_check_sig ();
26846 return png_check_sig ();
26851 rm -f conftest.
$ac_objext conftest
$ac_exeext
26852 if { (ac_try
="$ac_link"
26853 case "(($ac_try" in
26854 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26855 *) ac_try_echo=$ac_try;;
26857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26858 (eval "$ac_link") 2>conftest.er1
26860 grep -v '^ *+' conftest.er1 >conftest.err
26862 cat conftest.err >&5
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); } && {
26865 test -z "$ac_c_werror_flag" ||
26866 test ! -s conftest.err
26867 } && test -s conftest$ac_exeext &&
26868 $as_test_x conftest$ac_exeext; then
26869 ac_cv_lib_png_png_check_sig=yes
26871 echo "$as_me: failed program was:" >&5
26872 sed 's/^/| /' conftest.$ac_ext >&5
26874 ac_cv_lib_png_png_check_sig=no
26877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26878 conftest$ac_exeext conftest.$ac_ext
26879 LIBS=$ac_check_lib_save_LIBS
26881 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26882 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26883 if test $ac_cv_lib_png_png_check_sig = yes; then
26884 PNG_LINK=" -lpng -lz"
26889 if test "x$PNG_LINK" = "x" ; then
26890 if test "$wxUSE_LIBPNG" = "sys" ; then
26891 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26892 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26893 { (exit 1); exit 1; }; }
26895 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26896 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26897 wxUSE_LIBPNG=builtin
26908 if test "$wxUSE_LIBJPEG" != "no" ; then
26909 cat >>confdefs.h <<\_ACEOF
26910 #define wxUSE_LIBJPEG 1
26914 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26915 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26916 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26920 if test "$wxUSE_MGL" != 1 ; then
26921 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26922 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26923 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26924 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26925 echo $ECHO_N "(cached) $ECHO_C" >&6
26927 cat >conftest.$ac_ext <<_ACEOF
26930 cat confdefs.h >>conftest.$ac_ext
26931 cat >>conftest.$ac_ext <<_ACEOF
26932 /* end confdefs.h. */
26934 #undef HAVE_STDLIB_H
26936 #include <jpeglib.h>
26947 rm -f conftest.$ac_objext
26948 if { (ac_try="$ac_compile"
26949 case "(($ac_try" in
26950 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26951 *) ac_try_echo
=$ac_try;;
26953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26954 (eval "$ac_compile") 2>conftest.er1
26956 grep -v '^ *+' conftest.er1
>conftest.err
26958 cat conftest.err
>&5
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); } && {
26961 test -z "$ac_c_werror_flag" ||
26962 test ! -s conftest.err
26963 } && test -s conftest.
$ac_objext; then
26964 ac_cv_header_jpeglib_h
=yes
26966 echo "$as_me: failed program was:" >&5
26967 sed 's/^/| /' conftest.
$ac_ext >&5
26969 ac_cv_header_jpeglib_h
=no
26973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26977 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26978 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26980 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26981 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26982 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26983 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26984 echo $ECHO_N "(cached) $ECHO_C" >&6
26986 ac_check_lib_save_LIBS
=$LIBS
26987 LIBS
="-ljpeg $LIBS"
26988 cat >conftest.
$ac_ext <<_ACEOF
26991 cat confdefs.h
>>conftest.
$ac_ext
26992 cat >>conftest.
$ac_ext <<_ACEOF
26993 /* end confdefs.h. */
26995 /* Override any GCC internal prototype to avoid an error.
26996 Use char because int might match the return type of a GCC
26997 builtin and then its argument prototype would still apply. */
27001 char jpeg_read_header ();
27005 return jpeg_read_header ();
27010 rm -f conftest.
$ac_objext conftest
$ac_exeext
27011 if { (ac_try
="$ac_link"
27012 case "(($ac_try" in
27013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27014 *) ac_try_echo=$ac_try;;
27016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27017 (eval "$ac_link") 2>conftest.er1
27019 grep -v '^ *+' conftest.er1 >conftest.err
27021 cat conftest.err >&5
27022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27023 (exit $ac_status); } && {
27024 test -z "$ac_c_werror_flag" ||
27025 test ! -s conftest.err
27026 } && test -s conftest$ac_exeext &&
27027 $as_test_x conftest$ac_exeext; then
27028 ac_cv_lib_jpeg_jpeg_read_header=yes
27030 echo "$as_me: failed program was:" >&5
27031 sed 's/^/| /' conftest.$ac_ext >&5
27033 ac_cv_lib_jpeg_jpeg_read_header=no
27036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27037 conftest$ac_exeext conftest.$ac_ext
27038 LIBS=$ac_check_lib_save_LIBS
27040 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27041 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27042 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27043 JPEG_LINK=" -ljpeg"
27048 if test "x$JPEG_LINK" = "x" ; then
27049 if test "$wxUSE_LIBJPEG" = "sys" ; then
27050 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27051 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27052 { (exit 1); exit 1; }; }
27054 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27055 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27056 wxUSE_LIBJPEG=builtin
27061 if test "$wxUSE_MSW" = 1; then
27062 { echo "$as_me:$LINENO: checking for boolean" >&5
27063 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27064 if test "${ac_cv_type_boolean+set}" = set; then
27065 echo $ECHO_N "(cached) $ECHO_C" >&6
27067 cat >conftest.$ac_ext <<_ACEOF
27070 cat confdefs.h >>conftest.$ac_ext
27071 cat >>conftest.$ac_ext <<_ACEOF
27072 /* end confdefs.h. */
27073 #include <windows.h>
27075 typedef boolean ac__type_new_;
27079 if ((ac__type_new_ *) 0)
27081 if (sizeof (ac__type_new_))
27087 rm -f conftest.$ac_objext
27088 if { (ac_try="$ac_compile"
27089 case "(($ac_try" in
27090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27091 *) ac_try_echo
=$ac_try;;
27093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27094 (eval "$ac_compile") 2>conftest.er1
27096 grep -v '^ *+' conftest.er1
>conftest.err
27098 cat conftest.err
>&5
27099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27100 (exit $ac_status); } && {
27101 test -z "$ac_c_werror_flag" ||
27102 test ! -s conftest.err
27103 } && test -s conftest.
$ac_objext; then
27104 ac_cv_type_boolean
=yes
27106 echo "$as_me: failed program was:" >&5
27107 sed 's/^/| /' conftest.
$ac_ext >&5
27109 ac_cv_type_boolean
=no
27112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27114 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27115 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27116 if test $ac_cv_type_boolean = yes; then
27118 cat >>confdefs.h
<<_ACEOF
27119 #define HAVE_BOOLEAN 1
27123 { echo "$as_me:$LINENO: checking for boolean" >&5
27124 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27125 if test "${ac_cv_type_boolean+set}" = set; then
27126 echo $ECHO_N "(cached) $ECHO_C" >&6
27128 cat >conftest.
$ac_ext <<_ACEOF
27131 cat confdefs.h
>>conftest.
$ac_ext
27132 cat >>conftest.
$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27135 #undef HAVE_BOOLEAN
27137 #include <jpeglib.h>
27140 typedef boolean ac__type_new_;
27144 if ((ac__type_new_ *) 0)
27146 if (sizeof (ac__type_new_))
27152 rm -f conftest.
$ac_objext
27153 if { (ac_try
="$ac_compile"
27154 case "(($ac_try" in
27155 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27156 *) ac_try_echo=$ac_try;;
27158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27159 (eval "$ac_compile") 2>conftest.er1
27161 grep -v '^ *+' conftest.er1 >conftest.err
27163 cat conftest.err >&5
27164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165 (exit $ac_status); } && {
27166 test -z "$ac_c_werror_flag" ||
27167 test ! -s conftest.err
27168 } && test -s conftest.$ac_objext; then
27169 ac_cv_type_boolean=yes
27171 echo "$as_me: failed program was:" >&5
27172 sed 's/^/| /' conftest.$ac_ext >&5
27174 ac_cv_type_boolean=no
27177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27179 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27180 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27182 # The cast to long int works around a bug in the HP C Compiler
27183 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27184 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27185 # This bug is HP SR number 8606223364.
27186 { echo "$as_me:$LINENO: checking size of boolean" >&5
27187 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27188 if test "${ac_cv_sizeof_boolean+set}" = set; then
27189 echo $ECHO_N "(cached) $ECHO_C" >&6
27191 if test "$cross_compiling" = yes; then
27192 # Depending upon the size, compute the lo and hi bounds.
27193 cat >conftest.$ac_ext <<_ACEOF
27196 cat confdefs.h >>conftest.$ac_ext
27197 cat >>conftest.$ac_ext <<_ACEOF
27198 /* end confdefs.h. */
27200 #undef HAVE_BOOLEAN
27202 #include <jpeglib.h>
27205 typedef boolean ac__type_sizeof_;
27209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27216 rm -f conftest.$ac_objext
27217 if { (ac_try="$ac_compile"
27218 case "(($ac_try" in
27219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27220 *) ac_try_echo=$ac_try;;
27222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27223 (eval "$ac_compile") 2>conftest.er1
27225 grep -v '^
*+' conftest.er1 >conftest.err
27227 cat conftest.err >&5
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); } && {
27230 test -z "$ac_c_werror_flag" ||
27231 test ! -s conftest.err
27232 } && test -s conftest.$ac_objext; then
27235 cat >conftest.$ac_ext <<_ACEOF
27238 cat confdefs.h >>conftest.$ac_ext
27239 cat >>conftest.$ac_ext <<_ACEOF
27240 /* end confdefs.h. */
27242 #undef HAVE_BOOLEAN
27244 #include <jpeglib.h>
27247 typedef boolean ac__type_sizeof_;
27251 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27258 rm -f conftest.$ac_objext
27259 if { (ac_try="$ac_compile"
27260 case "(($ac_try" in
27261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27262 *) ac_try_echo=$ac_try;;
27264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27265 (eval "$ac_compile") 2>conftest.er1
27267 grep -v '^
*+' conftest.er1 >conftest.err
27269 cat conftest.err >&5
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); } && {
27272 test -z "$ac_c_werror_flag" ||
27273 test ! -s conftest.err
27274 } && test -s conftest.$ac_objext; then
27275 ac_hi=$ac_mid; break
27277 echo "$as_me: failed program was:" >&5
27278 sed 's
/^
/| /' conftest.$ac_ext >&5
27280 ac_lo=`expr $ac_mid + 1`
27281 if test $ac_lo -le $ac_mid; then
27285 ac_mid=`expr 2 '*' $ac_mid + 1`
27288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27291 echo "$as_me: failed program was:" >&5
27292 sed 's
/^
/| /' conftest.$ac_ext >&5
27294 cat >conftest.$ac_ext <<_ACEOF
27297 cat confdefs.h >>conftest.$ac_ext
27298 cat >>conftest.$ac_ext <<_ACEOF
27299 /* end confdefs.h. */
27301 #undef HAVE_BOOLEAN
27303 #include <jpeglib.h>
27306 typedef boolean ac__type_sizeof_;
27310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27317 rm -f conftest.$ac_objext
27318 if { (ac_try="$ac_compile"
27319 case "(($ac_try" in
27320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27321 *) ac_try_echo=$ac_try;;
27323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27324 (eval "$ac_compile") 2>conftest.er1
27326 grep -v '^
*+' conftest.er1 >conftest.err
27328 cat conftest.err >&5
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); } && {
27331 test -z "$ac_c_werror_flag" ||
27332 test ! -s conftest.err
27333 } && test -s conftest.$ac_objext; then
27336 cat >conftest.$ac_ext <<_ACEOF
27339 cat confdefs.h >>conftest.$ac_ext
27340 cat >>conftest.$ac_ext <<_ACEOF
27341 /* end confdefs.h. */
27343 #undef HAVE_BOOLEAN
27345 #include <jpeglib.h>
27348 typedef boolean ac__type_sizeof_;
27352 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27359 rm -f conftest.$ac_objext
27360 if { (ac_try="$ac_compile"
27361 case "(($ac_try" in
27362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27363 *) ac_try_echo=$ac_try;;
27365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27366 (eval "$ac_compile") 2>conftest.er1
27368 grep -v '^
*+' conftest.er1 >conftest.err
27370 cat conftest.err >&5
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); } && {
27373 test -z "$ac_c_werror_flag" ||
27374 test ! -s conftest.err
27375 } && test -s conftest.$ac_objext; then
27376 ac_lo=$ac_mid; break
27378 echo "$as_me: failed program was:" >&5
27379 sed 's
/^
/| /' conftest.$ac_ext >&5
27381 ac_hi=`expr '(' $ac_mid ')' - 1`
27382 if test $ac_mid -le $ac_hi; then
27386 ac_mid=`expr 2 '*' $ac_mid`
27389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27392 echo "$as_me: failed program was:" >&5
27393 sed 's
/^
/| /' conftest.$ac_ext >&5
27398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27402 # Binary search between lo and hi bounds.
27403 while test "x$ac_lo" != "x$ac_hi"; do
27404 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27405 cat >conftest.$ac_ext <<_ACEOF
27408 cat confdefs.h >>conftest.$ac_ext
27409 cat >>conftest.$ac_ext <<_ACEOF
27410 /* end confdefs.h. */
27412 #undef HAVE_BOOLEAN
27414 #include <jpeglib.h>
27417 typedef boolean ac__type_sizeof_;
27421 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27428 rm -f conftest.$ac_objext
27429 if { (ac_try="$ac_compile"
27430 case "(($ac_try" in
27431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27432 *) ac_try_echo=$ac_try;;
27434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27435 (eval "$ac_compile") 2>conftest.er1
27437 grep -v '^
*+' conftest.er1 >conftest.err
27439 cat conftest.err >&5
27440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27441 (exit $ac_status); } && {
27442 test -z "$ac_c_werror_flag" ||
27443 test ! -s conftest.err
27444 } && test -s conftest.$ac_objext; then
27447 echo "$as_me: failed program was:" >&5
27448 sed 's
/^
/| /' conftest.$ac_ext >&5
27450 ac_lo=`expr '(' $ac_mid ')' + 1`
27453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27456 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27457 '') if test "$ac_cv_type_boolean" = yes; then
27458 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27459 See \`config.log' for more details.
" >&5
27460 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27461 See \
`config.log' for more details." >&2;}
27462 { (exit 77); exit 77; }; }
27464 ac_cv_sizeof_boolean=0
27468 cat >conftest.$ac_ext <<_ACEOF
27471 cat confdefs.h >>conftest.$ac_ext
27472 cat >>conftest.$ac_ext <<_ACEOF
27473 /* end confdefs.h. */
27475 #undef HAVE_BOOLEAN
27477 #include <jpeglib.h>
27480 typedef boolean ac__type_sizeof_;
27481 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27482 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27484 #include <stdlib.h>
27489 FILE *f = fopen ("conftest.val", "w");
27492 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27494 long int i = longval ();
27495 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27497 fprintf (f, "%ld\n", i);
27501 unsigned long int i = ulongval ();
27502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27504 fprintf (f, "%lu\n", i);
27506 return ferror (f) || fclose (f) != 0;
27512 rm -f conftest$ac_exeext
27513 if { (ac_try="$ac_link"
27514 case "(($ac_try" in
27515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27516 *) ac_try_echo
=$ac_try;;
27518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27519 (eval "$ac_link") 2>&5
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27523 { (case "(($ac_try" in
27524 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27525 *) ac_try_echo=$ac_try;;
27527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27528 (eval "$ac_try") 2>&5
27530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27531 (exit $ac_status); }; }; then
27532 ac_cv_sizeof_boolean=`cat conftest.val
`
27534 echo "$as_me: program exited with status $ac_status" >&5
27535 echo "$as_me: failed program was:" >&5
27536 sed 's/^/| /' conftest.$ac_ext >&5
27538 ( exit $ac_status )
27539 if test "$ac_cv_type_boolean" = yes; then
27540 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27541 See \`config.log
' for more details." >&5
27542 echo "$as_me: error: cannot compute sizeof (boolean)
27543 See \`config.log' for more details.
" >&2;}
27544 { (exit 77); exit 77; }; }
27546 ac_cv_sizeof_boolean=0
27549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27553 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27554 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27558 cat >>confdefs.h <<_ACEOF
27559 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27563 cat >>confdefs.h <<_ACEOF
27564 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27578 TIFF_PREREQ_LINKS=-lm
27579 if test "$wxUSE_LIBTIFF" != "no
" ; then
27580 cat >>confdefs.h <<\_ACEOF
27581 #define wxUSE_LIBTIFF 1
27585 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27586 if test "$wxUSE_LIBJPEG" = "sys
"; then
27587 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27589 if test "$wxUSE_ZLIB" = "sys
"; then
27590 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27592 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27593 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27594 if test "${ac_cv_header_tiffio_h+set}" = set; then
27595 echo $ECHO_N "(cached
) $ECHO_C" >&6
27597 cat >conftest.$ac_ext <<_ACEOF
27600 cat confdefs.h >>conftest.$ac_ext
27601 cat >>conftest.$ac_ext <<_ACEOF
27602 /* end confdefs.h. */
27606 #include <tiffio.h>
27608 rm -f conftest.$ac_objext
27609 if { (ac_try="$ac_compile"
27610 case "(($ac_try" in
27611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27612 *) ac_try_echo=$ac_try;;
27614 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27615 (eval "$ac_compile") 2>conftest.er1
27617 grep -v '^ *+' conftest.er1 >conftest.err
27619 cat conftest.err >&5
27620 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27621 (exit $ac_status); } && {
27622 test -z "$ac_c_werror_flag" ||
27623 test ! -s conftest.err
27624 } && test -s conftest.$ac_objext; then
27625 ac_cv_header_tiffio_h=yes
27627 echo "$as_me: failed program was
:" >&5
27628 sed 's/^/| /' conftest.$ac_ext >&5
27630 ac_cv_header_tiffio_h=no
27633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27635 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27636 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27637 if test $ac_cv_header_tiffio_h = yes; then
27639 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27640 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27641 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27642 echo $ECHO_N "(cached
) $ECHO_C" >&6
27644 ac_check_lib_save_LIBS=$LIBS
27645 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27646 cat >conftest.$ac_ext <<_ACEOF
27649 cat confdefs.h >>conftest.$ac_ext
27650 cat >>conftest.$ac_ext <<_ACEOF
27651 /* end confdefs.h. */
27653 /* Override any GCC internal prototype to avoid an error.
27654 Use char because int might match the return type of a GCC
27655 builtin and then its argument prototype would still apply. */
27663 return TIFFError ();
27668 rm -f conftest.$ac_objext conftest$ac_exeext
27669 if { (ac_try="$ac_link"
27670 case "(($ac_try" in
27671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27672 *) ac_try_echo=$ac_try;;
27674 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27675 (eval "$ac_link") 2>conftest.er1
27677 grep -v '^ *+' conftest.er1 >conftest.err
27679 cat conftest.err >&5
27680 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27681 (exit $ac_status); } && {
27682 test -z "$ac_c_werror_flag" ||
27683 test ! -s conftest.err
27684 } && test -s conftest$ac_exeext &&
27685 $as_test_x conftest$ac_exeext; then
27686 ac_cv_lib_tiff_TIFFError=yes
27688 echo "$as_me: failed program was
:" >&5
27689 sed 's/^/| /' conftest.$ac_ext >&5
27691 ac_cv_lib_tiff_TIFFError=no
27694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27695 conftest$ac_exeext conftest.$ac_ext
27696 LIBS=$ac_check_lib_save_LIBS
27698 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27699 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27700 if test $ac_cv_lib_tiff_TIFFError = yes; then
27701 TIFF_LINK=" -ltiff"
27709 if test "x
$TIFF_LINK" = "x
" ; then
27710 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27711 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27712 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27713 { (exit 1); exit 1; }; }
27715 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27716 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27717 wxUSE_LIBTIFF=builtin
27723 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27724 if test "$wxUSE_LIBJPEG" = "no
"; then
27725 ac_configure_args="$ac_configure_args --disable-jpeg"
27727 subdirs="$subdirs src
/tiff
"
27733 if test "$wxUSE_WCHAR_T" != "yes"; then
27734 if test "$wxUSE_EXPAT" != "no
"; then
27735 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27736 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27739 if test "$wxUSE_XML" != "no
"; then
27740 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27741 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27746 if test "$wxUSE_EXPAT" != "no
"; then
27748 cat >>confdefs.h <<\_ACEOF
27749 #define wxUSE_EXPAT 1
27752 cat >>confdefs.h <<\_ACEOF
27753 #define wxUSE_XML 1
27757 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27758 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27759 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27760 if test "${ac_cv_header_expat_h+set}" = set; then
27761 echo $ECHO_N "(cached
) $ECHO_C" >&6
27763 cat >conftest.$ac_ext <<_ACEOF
27766 cat confdefs.h >>conftest.$ac_ext
27767 cat >>conftest.$ac_ext <<_ACEOF
27768 /* end confdefs.h. */
27773 rm -f conftest.$ac_objext
27774 if { (ac_try="$ac_compile"
27775 case "(($ac_try" in
27776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27777 *) ac_try_echo=$ac_try;;
27779 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27780 (eval "$ac_compile") 2>conftest.er1
27782 grep -v '^ *+' conftest.er1 >conftest.err
27784 cat conftest.err >&5
27785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27786 (exit $ac_status); } && {
27787 test -z "$ac_c_werror_flag" ||
27788 test ! -s conftest.err
27789 } && test -s conftest.$ac_objext; then
27790 ac_cv_header_expat_h=yes
27792 echo "$as_me: failed program was
:" >&5
27793 sed 's/^/| /' conftest.$ac_ext >&5
27795 ac_cv_header_expat_h=no
27798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27800 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27801 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27802 if test $ac_cv_header_expat_h = yes; then
27807 if test "x
$found_expat_h" = "x1
"; then
27808 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27809 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27810 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27811 echo $ECHO_N "(cached
) $ECHO_C" >&6
27815 ac_cpp='$CXXCPP $CPPFLAGS'
27816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27820 cat >conftest.$ac_ext <<_ACEOF
27823 cat confdefs.h >>conftest.$ac_ext
27824 cat >>conftest.$ac_ext <<_ACEOF
27825 /* end confdefs.h. */
27835 rm -f conftest.$ac_objext
27836 if { (ac_try="$ac_compile"
27837 case "(($ac_try" in
27838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27839 *) ac_try_echo=$ac_try;;
27841 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27842 (eval "$ac_compile") 2>conftest.er1
27844 grep -v '^ *+' conftest.er1 >conftest.err
27846 cat conftest.err >&5
27847 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27848 (exit $ac_status); } && {
27849 test -z "$ac_cxx_werror_flag" ||
27850 test ! -s conftest.err
27851 } && test -s conftest.$ac_objext; then
27852 wx_cv_expat_is_not_broken=yes
27854 echo "$as_me: failed program was
:" >&5
27855 sed 's/^/| /' conftest.$ac_ext >&5
27857 wx_cv_expat_is_not_broken=no
27861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27863 ac_cpp='$CPP $CPPFLAGS'
27864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27871 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27872 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27873 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27874 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27875 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27876 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27877 echo $ECHO_N "(cached
) $ECHO_C" >&6
27879 ac_check_lib_save_LIBS=$LIBS
27880 LIBS="-lexpat $LIBS"
27881 cat >conftest.$ac_ext <<_ACEOF
27884 cat confdefs.h >>conftest.$ac_ext
27885 cat >>conftest.$ac_ext <<_ACEOF
27886 /* end confdefs.h. */
27888 /* Override any GCC internal prototype to avoid an error.
27889 Use char because int might match the return type of a GCC
27890 builtin and then its argument prototype would still apply. */
27894 char XML_ParserCreate ();
27898 return XML_ParserCreate ();
27903 rm -f conftest.$ac_objext conftest$ac_exeext
27904 if { (ac_try="$ac_link"
27905 case "(($ac_try" in
27906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27907 *) ac_try_echo=$ac_try;;
27909 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27910 (eval "$ac_link") 2>conftest.er1
27912 grep -v '^ *+' conftest.er1 >conftest.err
27914 cat conftest.err >&5
27915 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27916 (exit $ac_status); } && {
27917 test -z "$ac_c_werror_flag" ||
27918 test ! -s conftest.err
27919 } && test -s conftest$ac_exeext &&
27920 $as_test_x conftest$ac_exeext; then
27921 ac_cv_lib_expat_XML_ParserCreate=yes
27923 echo "$as_me: failed program was
:" >&5
27924 sed 's/^/| /' conftest.$ac_ext >&5
27926 ac_cv_lib_expat_XML_ParserCreate=no
27929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27930 conftest$ac_exeext conftest.$ac_ext
27931 LIBS=$ac_check_lib_save_LIBS
27933 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27934 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27935 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27936 EXPAT_LINK=" -lexpat"
27941 if test "x
$EXPAT_LINK" = "x
" ; then
27942 if test "$wxUSE_EXPAT" = "sys
" ; then
27943 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27944 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27945 { (exit 1); exit 1; }; }
27947 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27948 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27949 wxUSE_EXPAT=builtin
27955 if test "$wxUSE_EXPAT" = "builtin" ; then
27956 subdirs="$subdirs src
/expat
"
27963 if test "$wxUSE_LIBMSPACK" != "no
"; then
27964 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27965 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27966 if test "${ac_cv_header_mspack_h+set}" = set; then
27967 echo $ECHO_N "(cached
) $ECHO_C" >&6
27969 cat >conftest.$ac_ext <<_ACEOF
27972 cat confdefs.h >>conftest.$ac_ext
27973 cat >>conftest.$ac_ext <<_ACEOF
27974 /* end confdefs.h. */
27977 #include <mspack.h>
27979 rm -f conftest.$ac_objext
27980 if { (ac_try="$ac_compile"
27981 case "(($ac_try" in
27982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27983 *) ac_try_echo=$ac_try;;
27985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27986 (eval "$ac_compile") 2>conftest.er1
27988 grep -v '^ *+' conftest.er1 >conftest.err
27990 cat conftest.err >&5
27991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27992 (exit $ac_status); } && {
27993 test -z "$ac_c_werror_flag" ||
27994 test ! -s conftest.err
27995 } && test -s conftest.$ac_objext; then
27996 ac_cv_header_mspack_h=yes
27998 echo "$as_me: failed program was
:" >&5
27999 sed 's/^/| /' conftest.$ac_ext >&5
28001 ac_cv_header_mspack_h=no
28004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28006 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
28007 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28008 if test $ac_cv_header_mspack_h = yes; then
28013 if test "x
$found_mspack_h" = "x1
"; then
28014 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
28015 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
28016 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28017 echo $ECHO_N "(cached
) $ECHO_C" >&6
28019 ac_check_lib_save_LIBS=$LIBS
28020 LIBS="-lmspack $LIBS"
28021 cat >conftest.$ac_ext <<_ACEOF
28024 cat confdefs.h >>conftest.$ac_ext
28025 cat >>conftest.$ac_ext <<_ACEOF
28026 /* end confdefs.h. */
28028 /* Override any GCC internal prototype to avoid an error.
28029 Use char because int might match the return type of a GCC
28030 builtin and then its argument prototype would still apply. */
28034 char mspack_create_chm_decompressor ();
28038 return mspack_create_chm_decompressor ();
28043 rm -f conftest.$ac_objext conftest$ac_exeext
28044 if { (ac_try="$ac_link"
28045 case "(($ac_try" in
28046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28047 *) ac_try_echo=$ac_try;;
28049 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28050 (eval "$ac_link") 2>conftest.er1
28052 grep -v '^ *+' conftest.er1 >conftest.err
28054 cat conftest.err >&5
28055 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28056 (exit $ac_status); } && {
28057 test -z "$ac_c_werror_flag" ||
28058 test ! -s conftest.err
28059 } && test -s conftest$ac_exeext &&
28060 $as_test_x conftest$ac_exeext; then
28061 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28063 echo "$as_me: failed program was
:" >&5
28064 sed 's/^/| /' conftest.$ac_ext >&5
28066 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28070 conftest$ac_exeext conftest.$ac_ext
28071 LIBS=$ac_check_lib_save_LIBS
28073 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28074 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28075 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28076 MSPACK_LINK=" -lmspack"
28080 if test "x
$MSPACK_LINK" = "x
" ; then
28085 if test "$wxUSE_LIBMSPACK" != "no
"; then
28086 cat >>confdefs.h <<\_ACEOF
28087 #define wxUSE_LIBMSPACK 1
28101 if test "$USE_WIN32" = 1 ; then
28103 for ac_header in w32api.h
28105 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28106 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28107 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28108 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28109 echo $ECHO_N "(cached
) $ECHO_C" >&6
28111 cat >conftest.$ac_ext <<_ACEOF
28114 cat confdefs.h >>conftest.$ac_ext
28115 cat >>conftest.$ac_ext <<_ACEOF
28116 /* end confdefs.h. */
28119 #include <$ac_header>
28121 rm -f conftest.$ac_objext
28122 if { (ac_try="$ac_compile"
28123 case "(($ac_try" in
28124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28125 *) ac_try_echo=$ac_try;;
28127 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28128 (eval "$ac_compile") 2>conftest.er1
28130 grep -v '^ *+' conftest.er1 >conftest.err
28132 cat conftest.err >&5
28133 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28134 (exit $ac_status); } && {
28135 test -z "$ac_c_werror_flag" ||
28136 test ! -s conftest.err
28137 } && test -s conftest.$ac_objext; then
28138 eval "$as_ac_Header=yes"
28140 echo "$as_me: failed program was
:" >&5
28141 sed 's/^/| /' conftest.$ac_ext >&5
28143 eval "$as_ac_Header=no
"
28146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28148 ac_res=`eval echo '${'$as_ac_Header'}'`
28149 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28150 echo "${ECHO_T}$ac_res" >&6; }
28151 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28152 cat >>confdefs.h <<_ACEOF
28153 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28160 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28161 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28162 if test "${ac_cv_header_windows_h+set}" = set; then
28163 echo $ECHO_N "(cached
) $ECHO_C" >&6
28165 cat >conftest.$ac_ext <<_ACEOF
28168 cat confdefs.h >>conftest.$ac_ext
28169 cat >>conftest.$ac_ext <<_ACEOF
28170 /* end confdefs.h. */
28173 #include <windows.h>
28175 rm -f conftest.$ac_objext
28176 if { (ac_try="$ac_compile"
28177 case "(($ac_try" in
28178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28179 *) ac_try_echo=$ac_try;;
28181 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28182 (eval "$ac_compile") 2>conftest.er1
28184 grep -v '^ *+' conftest.er1 >conftest.err
28186 cat conftest.err >&5
28187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28188 (exit $ac_status); } && {
28189 test -z "$ac_c_werror_flag" ||
28190 test ! -s conftest.err
28191 } && test -s conftest.$ac_objext; then
28192 ac_cv_header_windows_h=yes
28194 echo "$as_me: failed program was
:" >&5
28195 sed 's/^/| /' conftest.$ac_ext >&5
28197 ac_cv_header_windows_h=no
28200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28202 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28203 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28204 if test $ac_cv_header_windows_h = yes; then
28208 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28209 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28210 { (exit 1); exit 1; }; }
28217 x86_64-*-mingw32* )
28218 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28221 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28224 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28225 LIBS="$LIBS -loleacc"
28230 LIBS="$LIBS -lkernel32 -luser32"
28233 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28234 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28236 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28238 WIN32INSTALL=win32install
28240 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28241 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28242 if test "${ac_cv_header_pbt_h+set}" = set; then
28243 echo $ECHO_N "(cached
) $ECHO_C" >&6
28245 cat >conftest.$ac_ext <<_ACEOF
28248 cat confdefs.h >>conftest.$ac_ext
28249 cat >>conftest.$ac_ext <<_ACEOF
28250 /* end confdefs.h. */
28255 rm -f conftest.$ac_objext
28256 if { (ac_try="$ac_compile"
28257 case "(($ac_try" in
28258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28259 *) ac_try_echo=$ac_try;;
28261 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28262 (eval "$ac_compile") 2>conftest.er1
28264 grep -v '^ *+' conftest.er1 >conftest.err
28266 cat conftest.err >&5
28267 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28268 (exit $ac_status); } && {
28269 test -z "$ac_c_werror_flag" ||
28270 test ! -s conftest.err
28271 } && test -s conftest.$ac_objext; then
28272 ac_cv_header_pbt_h=yes
28274 echo "$as_me: failed program was
:" >&5
28275 sed 's/^/| /' conftest.$ac_ext >&5
28277 ac_cv_header_pbt_h=no
28280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28282 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28283 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28284 if test $ac_cv_header_pbt_h = yes; then
28287 cat >>confdefs.h <<\_ACEOF
28288 #define NEED_PBT_H 1
28296 if test "$wxUSE_GUI" = "yes"; then
28306 if test "$wxUSE_COCOA" = 1 ; then
28307 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28308 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28309 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28310 wxUSE_PRINTING_ARCHITECTURE=no
28312 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28313 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28314 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28315 wxUSE_DRAG_AND_DROP=no
28317 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28318 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28319 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28324 if test "$wxUSE_MSW" = 1 ; then
28330 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28334 if test "$wxUSE_GTK" = 1; then
28335 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28336 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28338 gtk_version_cached=1
28339 if test "${wx_cv_lib_gtk+set}" = set; then
28340 echo $ECHO_N "(cached
) $ECHO_C" >&6
28343 gtk_version_cached=0
28344 { echo "$as_me:$LINENO: result
: " >&5
28345 echo "${ECHO_T}" >&6; }
28348 if test "$wxUSE_THREADS" = "yes"; then
28349 GTK_MODULES=gthread
28353 if test "x
$wxGTK_VERSION" != "x1
"
28357 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28362 # Check whether --enable-gtktest was given.
28363 if test "${enable_gtktest+set}" = set; then
28364 enableval=$enable_gtktest;
28370 pkg_config_args=gtk+-2.0
28371 for module in . $GTK_MODULES
28375 pkg_config_args="$pkg_config_args gthread
-2.0
"
28382 # Extract the first word of "pkg
-config", so it can be a program name with args.
28383 set dummy pkg-config; ac_word=$2
28384 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28385 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28386 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28387 echo $ECHO_N "(cached
) $ECHO_C" >&6
28389 case $PKG_CONFIG in
28391 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28395 for as_dir in $PATH
28398 test -z "$as_dir" && as_dir=.
28399 for ac_exec_ext in '' $ac_executable_extensions; do
28400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28401 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28402 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28409 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28413 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28414 if test -n "$PKG_CONFIG"; then
28415 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28416 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28418 { echo "$as_me:$LINENO: result
: no
" >&5
28419 echo "${ECHO_T}no
" >&6; }
28424 if test x$PKG_CONFIG != xno ; then
28425 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28428 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28436 min_gtk_version=2.4.0
28437 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28438 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28440 if test x$PKG_CONFIG != xno ; then
28441 ## don't try to run the test against uninstalled libtool libs
28442 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28443 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28447 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28454 if test x"$no_gtk" = x ; then
28455 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28456 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28457 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28458 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28459 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28460 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28461 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28462 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28463 if test "x
$enable_gtktest" = "xyes
" ; then
28464 ac_save_CFLAGS="$CFLAGS"
28465 ac_save_LIBS="$LIBS"
28466 CFLAGS="$CFLAGS $GTK_CFLAGS"
28467 LIBS="$GTK_LIBS $LIBS"
28469 if test "$cross_compiling" = yes; then
28470 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28472 cat >conftest.$ac_ext <<_ACEOF
28475 cat confdefs.h >>conftest.$ac_ext
28476 cat >>conftest.$ac_ext <<_ACEOF
28477 /* end confdefs.h. */
28479 #include <gtk/gtk.h>
28481 #include <stdlib.h>
28486 int major, minor, micro;
28489 system ("touch conf.gtktest
");
28491 /* HP/UX 9 (%@#!) writes to sscanf strings */
28492 tmp_version = g_strdup("$min_gtk_version");
28493 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28494 printf("%s
, bad version string
\n", "$min_gtk_version");
28498 if ((gtk_major_version != $gtk_config_major_version) ||
28499 (gtk_minor_version != $gtk_config_minor_version) ||
28500 (gtk_micro_version != $gtk_config_micro_version))
28502 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28503 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28504 gtk_major_version, gtk_minor_version, gtk_micro_version);
28505 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28506 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28507 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28508 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28509 printf("*** required on your system.
\n");
28510 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28511 printf("*** to point to the correct configuration files
\n");
28513 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28514 (gtk_minor_version != GTK_MINOR_VERSION) ||
28515 (gtk_micro_version != GTK_MICRO_VERSION))
28517 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28518 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28519 printf("*** library
(version
%d.
%d.
%d
)\n",
28520 gtk_major_version, gtk_minor_version, gtk_micro_version);
28524 if ((gtk_major_version > major) ||
28525 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28526 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28532 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28533 gtk_major_version, gtk_minor_version, gtk_micro_version);
28534 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28535 major, minor, micro);
28536 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28538 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28539 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28540 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28541 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28542 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28543 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28544 printf("*** so that the correct libraries are found
at run
-time))\n");
28551 rm -f conftest$ac_exeext
28552 if { (ac_try="$ac_link"
28553 case "(($ac_try" in
28554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28555 *) ac_try_echo=$ac_try;;
28557 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28558 (eval "$ac_link") 2>&5
28560 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28562 { (case "(($ac_try" in
28563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28564 *) ac_try_echo=$ac_try;;
28566 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28567 (eval "$ac_try") 2>&5
28569 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28570 (exit $ac_status); }; }; then
28573 echo "$as_me: program exited with status
$ac_status" >&5
28574 echo "$as_me: failed program was
:" >&5
28575 sed 's/^/| /' conftest.$ac_ext >&5
28577 ( exit $ac_status )
28580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28584 CFLAGS="$ac_save_CFLAGS"
28585 LIBS="$ac_save_LIBS"
28588 if test "x
$no_gtk" = x ; then
28589 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28590 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28593 { echo "$as_me:$LINENO: result
: no
" >&5
28594 echo "${ECHO_T}no
" >&6; }
28595 if test "$PKG_CONFIG" = "no
" ; then
28596 echo "*** A new enough version of pkg
-config was not found.
"
28597 echo "*** See http
://pkgconfig.sourceforge.net
"
28599 if test -f conf.gtktest ; then
28602 echo "*** Could not run GTK
+ test program
, checking why...
"
28603 ac_save_CFLAGS="$CFLAGS"
28604 ac_save_LIBS="$LIBS"
28605 CFLAGS="$CFLAGS $GTK_CFLAGS"
28606 LIBS="$LIBS $GTK_LIBS"
28607 cat >conftest.$ac_ext <<_ACEOF
28610 cat confdefs.h >>conftest.$ac_ext
28611 cat >>conftest.$ac_ext <<_ACEOF
28612 /* end confdefs.h. */
28614 #include <gtk/gtk.h>
28620 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28625 rm -f conftest.$ac_objext conftest$ac_exeext
28626 if { (ac_try="$ac_link"
28627 case "(($ac_try" in
28628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28629 *) ac_try_echo=$ac_try;;
28631 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28632 (eval "$ac_link") 2>conftest.er1
28634 grep -v '^ *+' conftest.er1 >conftest.err
28636 cat conftest.err >&5
28637 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28638 (exit $ac_status); } && {
28639 test -z "$ac_c_werror_flag" ||
28640 test ! -s conftest.err
28641 } && test -s conftest$ac_exeext &&
28642 $as_test_x conftest$ac_exeext; then
28643 echo "*** The
test program compiled
, but did not run. This usually means
"
28644 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28645 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28646 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28647 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28648 echo "*** is required on your system"
28650 echo "*** If you have an old version installed, it is best to remove it, although"
28651 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28653 echo "$as_me: failed program was:" >&5
28654 sed 's
/^
/| /' conftest.$ac_ext >&5
28656 echo "*** The test program failed to compile or link. See the file config.log for the"
28657 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28661 conftest$ac_exeext conftest.$ac_ext
28662 CFLAGS="$ac_save_CFLAGS"
28663 LIBS="$ac_save_LIBS"
28677 if test "$wxUSE_SHARED" != "yes"; then
28678 GTK_LIBS="$GTK_LIBS -lX11"
28683 if test -z "$wx_cv_lib_gtk"; then
28684 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28686 # Check whether --with-gtk-prefix was given.
28687 if test "${with_gtk_prefix+set}" = set; then
28688 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28690 gtk_config_prefix=""
28694 # Check whether --with-gtk-exec-prefix was given.
28695 if test "${with_gtk_exec_prefix+set}" = set; then
28696 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28698 gtk_config_exec_prefix=""
28701 # Check whether --enable-gtktest was given.
28702 if test "${enable_gtktest+set}" = set; then
28703 enableval=$enable_gtktest;
28709 for module in . $GTK_MODULES
28713 gtk_config_args="$gtk_config_args gthread"
28718 if test x$gtk_config_exec_prefix != x ; then
28719 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28720 if test x${GTK_CONFIG+set} != xset ; then
28721 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28724 if test x$gtk_config_prefix != x ; then
28725 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28726 if test x${GTK_CONFIG+set} != xset ; then
28727 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28731 # Extract the first word of "gtk-config", so it can be a program name with args.
28732 set dummy gtk-config; ac_word=$2
28733 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28735 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28736 echo $ECHO_N "(cached) $ECHO_C" >&6
28738 case $GTK_CONFIG in
28740 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28744 for as_dir in $PATH
28747 test -z "$as_dir" && as_dir=.
28748 for ac_exec_ext in '' $ac_executable_extensions; do
28749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28750 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28758 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28762 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28763 if test -n "$GTK_CONFIG"; then
28764 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28765 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28767 { echo "$as_me:$LINENO: result: no" >&5
28768 echo "${ECHO_T}no" >&6; }
28772 min_gtk_version=1.2.7
28773 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28774 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28776 if test "$GTK_CONFIG" = "no" ; then
28779 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28780 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28781 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28782 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28783 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28784 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28785 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28786 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28787 if test "x$enable_gtktest" = "xyes" ; then
28788 ac_save_CFLAGS="$CFLAGS"
28789 ac_save_LIBS="$LIBS"
28790 CFLAGS="$CFLAGS $GTK_CFLAGS"
28791 LIBS="$GTK_LIBS $LIBS"
28793 if test "$cross_compiling" = yes; then
28794 echo $ac_n "cross compiling; assumed OK... $ac_c"
28796 cat >conftest.$ac_ext <<_ACEOF
28799 cat confdefs.h >>conftest.$ac_ext
28800 cat >>conftest.$ac_ext <<_ACEOF
28801 /* end confdefs.h. */
28803 #include <gtk/gtk.h>
28805 #include <stdlib.h>
28810 int major, minor, micro;
28813 system ("touch conf.gtktest");
28815 /* HP/UX 9 (%@#!) writes to sscanf strings */
28816 tmp_version = g_strdup("$min_gtk_version");
28817 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28818 printf("%s, bad version string\n", "$min_gtk_version");
28822 if ((gtk_major_version != $gtk_config_major_version) ||
28823 (gtk_minor_version != $gtk_config_minor_version) ||
28824 (gtk_micro_version != $gtk_config_micro_version))
28826 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28827 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28828 gtk_major_version, gtk_minor_version, gtk_micro_version);
28829 printf ("*** was found! If gtk-config was correct, then it is best\n");
28830 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28831 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28832 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28833 printf("*** required on your system.\n");
28834 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28835 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28836 printf("*** before re-running configure\n");
28838 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28839 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28840 (gtk_minor_version != GTK_MINOR_VERSION) ||
28841 (gtk_micro_version != GTK_MICRO_VERSION))
28843 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28844 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28845 printf("*** library (version %d.%d.%d)\n",
28846 gtk_major_version, gtk_minor_version, gtk_micro_version);
28848 #endif /* defined (GTK_MAJOR_VERSION) ... */
28851 if ((gtk_major_version > major) ||
28852 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28853 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28859 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28860 gtk_major_version, gtk_minor_version, gtk_micro_version);
28861 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28862 major, minor, micro);
28863 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28865 printf("*** If you have already installed a sufficiently new version, this error\n");
28866 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28867 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28868 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28869 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28870 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28871 printf("*** so that the correct libraries are found at run-time))\n");
28878 rm -f conftest$ac_exeext
28879 if { (ac_try="$ac_link"
28880 case "(($ac_try" in
28881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28882 *) ac_try_echo=$ac_try;;
28884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28885 (eval "$ac_link") 2>&5
28887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28888 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28889 { (case "(($ac_try" in
28890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28891 *) ac_try_echo=$ac_try;;
28893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28894 (eval "$ac_try") 2>&5
28896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28897 (exit $ac_status); }; }; then
28900 echo "$as_me: program exited with status $ac_status" >&5
28901 echo "$as_me: failed program was:" >&5
28902 sed 's
/^
/| /' conftest.$ac_ext >&5
28904 ( exit $ac_status )
28907 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28911 CFLAGS="$ac_save_CFLAGS"
28912 LIBS="$ac_save_LIBS"
28915 if test "x$no_gtk" = x ; then
28916 { echo "$as_me:$LINENO: result: yes" >&5
28917 echo "${ECHO_T}yes" >&6; }
28918 wx_cv_lib_gtk=1.2.7
28920 { echo "$as_me:$LINENO: result: no" >&5
28921 echo "${ECHO_T}no" >&6; }
28922 if test "$GTK_CONFIG" = "no" ; then
28923 echo "*** The gtk-config script installed by GTK could not be found"
28924 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28925 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28926 echo "*** full path to gtk-config."
28928 if test -f conf.gtktest ; then
28931 echo "*** Could not run GTK test program, checking why..."
28932 CFLAGS="$CFLAGS $GTK_CFLAGS"
28933 LIBS="$LIBS $GTK_LIBS"
28934 cat >conftest.$ac_ext <<_ACEOF
28937 cat confdefs.h >>conftest.$ac_ext
28938 cat >>conftest.$ac_ext <<_ACEOF
28939 /* end confdefs.h. */
28941 #include <gtk/gtk.h>
28947 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28952 rm -f conftest.$ac_objext conftest$ac_exeext
28953 if { (ac_try="$ac_link"
28954 case "(($ac_try" in
28955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28956 *) ac_try_echo=$ac_try;;
28958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28959 (eval "$ac_link") 2>conftest.er1
28961 grep -v '^
*+' conftest.er1 >conftest.err
28963 cat conftest.err >&5
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); } && {
28966 test -z "$ac_c_werror_flag" ||
28967 test ! -s conftest.err
28968 } && test -s conftest$ac_exeext &&
28969 $as_test_x conftest$ac_exeext; then
28970 echo "*** The test program compiled, but did not run. This usually means"
28971 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28972 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28973 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28974 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28975 echo "*** is required on your system
"
28977 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28978 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28980 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28981 echo "*** came with the system with the
command"
28983 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28985 echo "$as_me: failed program was
:" >&5
28986 sed 's/^/| /' conftest.$ac_ext >&5
28988 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28989 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28990 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28991 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28995 conftest$ac_exeext conftest.$ac_ext
28996 CFLAGS="$ac_save_CFLAGS"
28997 LIBS="$ac_save_LIBS"
29009 if test -z "$wx_cv_lib_gtk"; then
29011 # Check whether --with-gtk-prefix was given.
29012 if test "${with_gtk_prefix+set}" = set; then
29013 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29015 gtk_config_prefix=""
29019 # Check whether --with-gtk-exec-prefix was given.
29020 if test "${with_gtk_exec_prefix+set}" = set; then
29021 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29023 gtk_config_exec_prefix=""
29026 # Check whether --enable-gtktest was given.
29027 if test "${enable_gtktest+set}" = set; then
29028 enableval=$enable_gtktest;
29034 for module in . $GTK_MODULES
29038 gtk_config_args="$gtk_config_args gthread
"
29043 if test x$gtk_config_exec_prefix != x ; then
29044 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29045 if test x${GTK_CONFIG+set} != xset ; then
29046 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29049 if test x$gtk_config_prefix != x ; then
29050 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29051 if test x${GTK_CONFIG+set} != xset ; then
29052 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29056 # Extract the first word of "gtk
-config", so it can be a program name with args.
29057 set dummy gtk-config; ac_word=$2
29058 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29059 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29060 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29061 echo $ECHO_N "(cached
) $ECHO_C" >&6
29063 case $GTK_CONFIG in
29065 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29069 for as_dir in $PATH
29072 test -z "$as_dir" && as_dir=.
29073 for ac_exec_ext in '' $ac_executable_extensions; do
29074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29075 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29076 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29083 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29087 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29088 if test -n "$GTK_CONFIG"; then
29089 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29090 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29092 { echo "$as_me:$LINENO: result
: no
" >&5
29093 echo "${ECHO_T}no
" >&6; }
29097 min_gtk_version=1.2.3
29098 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29099 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29101 if test "$GTK_CONFIG" = "no
" ; then
29104 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29105 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29106 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29107 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29108 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29109 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29110 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29111 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29112 if test "x
$enable_gtktest" = "xyes
" ; then
29113 ac_save_CFLAGS="$CFLAGS"
29114 ac_save_LIBS="$LIBS"
29115 CFLAGS="$CFLAGS $GTK_CFLAGS"
29116 LIBS="$GTK_LIBS $LIBS"
29118 if test "$cross_compiling" = yes; then
29119 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29121 cat >conftest.$ac_ext <<_ACEOF
29124 cat confdefs.h >>conftest.$ac_ext
29125 cat >>conftest.$ac_ext <<_ACEOF
29126 /* end confdefs.h. */
29128 #include <gtk/gtk.h>
29130 #include <stdlib.h>
29135 int major, minor, micro;
29138 system ("touch conf.gtktest
");
29140 /* HP/UX 9 (%@#!) writes to sscanf strings */
29141 tmp_version = g_strdup("$min_gtk_version");
29142 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29143 printf("%s
, bad version string
\n", "$min_gtk_version");
29147 if ((gtk_major_version != $gtk_config_major_version) ||
29148 (gtk_minor_version != $gtk_config_minor_version) ||
29149 (gtk_micro_version != $gtk_config_micro_version))
29151 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29152 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29153 gtk_major_version, gtk_minor_version, gtk_micro_version);
29154 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29155 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29156 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29157 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29158 printf("*** required on your system.
\n");
29159 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29160 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29161 printf("*** before re
-running configure
\n");
29163 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29164 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29165 (gtk_minor_version != GTK_MINOR_VERSION) ||
29166 (gtk_micro_version != GTK_MICRO_VERSION))
29168 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29169 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29170 printf("*** library
(version
%d.
%d.
%d
)\n",
29171 gtk_major_version, gtk_minor_version, gtk_micro_version);
29173 #endif /* defined (GTK_MAJOR_VERSION) ... */
29176 if ((gtk_major_version > major) ||
29177 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29178 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29184 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29185 gtk_major_version, gtk_minor_version, gtk_micro_version);
29186 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29187 major, minor, micro);
29188 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29190 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29191 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29192 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29193 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29194 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29195 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29196 printf("*** so that the correct libraries are found
at run
-time))\n");
29203 rm -f conftest$ac_exeext
29204 if { (ac_try="$ac_link"
29205 case "(($ac_try" in
29206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29207 *) ac_try_echo=$ac_try;;
29209 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29210 (eval "$ac_link") 2>&5
29212 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29213 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29214 { (case "(($ac_try" in
29215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29216 *) ac_try_echo=$ac_try;;
29218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29219 (eval "$ac_try") 2>&5
29221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29222 (exit $ac_status); }; }; then
29225 echo "$as_me: program exited with status
$ac_status" >&5
29226 echo "$as_me: failed program was
:" >&5
29227 sed 's/^/| /' conftest.$ac_ext >&5
29229 ( exit $ac_status )
29232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29236 CFLAGS="$ac_save_CFLAGS"
29237 LIBS="$ac_save_LIBS"
29240 if test "x
$no_gtk" = x ; then
29241 { echo "$as_me:$LINENO: result
: yes" >&5
29242 echo "${ECHO_T}yes" >&6; }
29243 wx_cv_lib_gtk=1.2.3
29245 { echo "$as_me:$LINENO: result
: no
" >&5
29246 echo "${ECHO_T}no
" >&6; }
29247 if test "$GTK_CONFIG" = "no
" ; then
29248 echo "*** The gtk
-config script installed by GTK could not be found
"
29249 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29250 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29251 echo "*** full path to gtk
-config.
"
29253 if test -f conf.gtktest ; then
29256 echo "*** Could not run GTK
test program
, checking why...
"
29257 CFLAGS="$CFLAGS $GTK_CFLAGS"
29258 LIBS="$LIBS $GTK_LIBS"
29259 cat >conftest.$ac_ext <<_ACEOF
29262 cat confdefs.h >>conftest.$ac_ext
29263 cat >>conftest.$ac_ext <<_ACEOF
29264 /* end confdefs.h. */
29266 #include <gtk/gtk.h>
29272 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29277 rm -f conftest.$ac_objext conftest$ac_exeext
29278 if { (ac_try="$ac_link"
29279 case "(($ac_try" in
29280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29281 *) ac_try_echo=$ac_try;;
29283 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29284 (eval "$ac_link") 2>conftest.er1
29286 grep -v '^ *+' conftest.er1 >conftest.err
29288 cat conftest.err >&5
29289 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29290 (exit $ac_status); } && {
29291 test -z "$ac_c_werror_flag" ||
29292 test ! -s conftest.err
29293 } && test -s conftest$ac_exeext &&
29294 $as_test_x conftest$ac_exeext; then
29295 echo "*** The
test program compiled
, but did not run. This usually means
"
29296 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29297 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29298 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29299 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29300 echo "*** is required on your system"
29302 echo "*** If you have an old version installed, it is best to remove it, although"
29303 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29305 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29306 echo "*** came with the system with the command"
29308 echo "*** rpm --erase --nodeps gtk gtk-devel"
29310 echo "$as_me: failed program was:" >&5
29311 sed 's
/^
/| /' conftest.$ac_ext >&5
29313 echo "*** The test program failed to compile or link. See the file config.log for the"
29314 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29315 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29316 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29320 conftest$ac_exeext conftest.$ac_ext
29321 CFLAGS="$ac_save_CFLAGS"
29322 LIBS="$ac_save_LIBS"
29337 if test -z "$wx_cv_lib_gtk"; then
29340 wx_cv_cflags_gtk=$GTK_CFLAGS
29341 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29348 if test "$gtk_version_cached" = 1; then
29349 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29350 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29353 case "$wx_cv_lib_gtk" in
29362 *) { { echo "$as_me:$LINENO: error:
29363 The development files for GTK+ were not found. For GTK+ 2, please
29364 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29365 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29366 and that the version is 1.2.3 or above. Also check that the
29367 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29368 --libs' are in the LD_LIBRARY_PATH or equivalent.
29370 echo "$as_me: error:
29371 The development files for GTK+ were not found. For GTK+ 2, please
29372 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29373 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29374 and that the version is 1.2.3 or above. Also check that the
29375 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29376 --libs' are in the LD_LIBRARY_PATH or equivalent.
29378 { (exit 1); exit 1; }; }
29382 if test "$WXGTK2" = 1; then
29383 save_CFLAGS="$CFLAGS"
29385 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29386 LIBS="$LIBS $wx_cv_libs_gtk"
29388 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29389 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29390 cat >conftest.$ac_ext <<_ACEOF
29393 cat confdefs.h >>conftest.$ac_ext
29394 cat >>conftest.$ac_ext <<_ACEOF
29395 /* end confdefs.h. */
29397 #include <gtk/gtk.h>
29403 #if !GTK_CHECK_VERSION(2,10,0)
29411 rm -f conftest.$ac_objext
29412 if { (ac_try="$ac_compile"
29413 case "(($ac_try" in
29414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29415 *) ac_try_echo=$ac_try;;
29417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29418 (eval "$ac_compile") 2>conftest.er1
29420 grep -v '^
*+' conftest.er1 >conftest.err
29422 cat conftest.err >&5
29423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29424 (exit $ac_status); } && {
29425 test -z "$ac_c_werror_flag" ||
29426 test ! -s conftest.err
29427 } && test -s conftest.$ac_objext; then
29429 cat >>confdefs.h <<\_ACEOF
29430 #define __WXGTK210__ 1
29433 cat >>confdefs.h <<\_ACEOF
29434 #define __WXGTK26__ 1
29437 { echo "$as_me:$LINENO: result: yes" >&5
29438 echo "${ECHO_T}yes" >&6; }
29442 echo "$as_me: failed program was:" >&5
29443 sed 's
/^
/| /' conftest.$ac_ext >&5
29446 { echo "$as_me:$LINENO: result: no" >&5
29447 echo "${ECHO_T}no" >&6; }
29452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29454 if test "$ac_wxgtk210" = 0; then
29455 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29456 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29457 cat >conftest.$ac_ext <<_ACEOF
29460 cat confdefs.h >>conftest.$ac_ext
29461 cat >>conftest.$ac_ext <<_ACEOF
29462 /* end confdefs.h. */
29464 #include <gtk/gtk.h>
29470 #if !GTK_CHECK_VERSION(2,6,0)
29478 rm -f conftest.$ac_objext
29479 if { (ac_try="$ac_compile"
29480 case "(($ac_try" in
29481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29482 *) ac_try_echo=$ac_try;;
29484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29485 (eval "$ac_compile") 2>conftest.er1
29487 grep -v '^
*+' conftest.er1 >conftest.err
29489 cat conftest.err >&5
29490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29491 (exit $ac_status); } && {
29492 test -z "$ac_c_werror_flag" ||
29493 test ! -s conftest.err
29494 } && test -s conftest.$ac_objext; then
29496 cat >>confdefs.h <<\_ACEOF
29497 #define __WXGTK26__ 1
29500 { echo "$as_me:$LINENO: result: yes" >&5
29501 echo "${ECHO_T}yes" >&6; }
29505 echo "$as_me: failed program was:" >&5
29506 sed 's
/^
/| /' conftest.$ac_ext >&5
29509 { echo "$as_me:$LINENO: result: no" >&5
29510 echo "${ECHO_T}no" >&6; }
29515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29518 CFLAGS="$save_CFLAGS"
29521 if test "$wxUSE_UNICODE" = "yes"; then
29522 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29523 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29527 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29528 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29529 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29530 echo $ECHO_N "(cached) $ECHO_C" >&6
29532 ac_check_lib_save_LIBS=$LIBS
29534 cat >conftest.$ac_ext <<_ACEOF
29537 cat confdefs.h >>conftest.$ac_ext
29538 cat >>conftest.$ac_ext <<_ACEOF
29539 /* end confdefs.h. */
29541 /* Override any GCC internal prototype to avoid an error.
29542 Use char because int might match the return type of a GCC
29543 builtin and then its argument prototype would still apply. */
29547 char gdk_im_open ();
29551 return gdk_im_open ();
29556 rm -f conftest.$ac_objext conftest$ac_exeext
29557 if { (ac_try="$ac_link"
29558 case "(($ac_try" in
29559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29560 *) ac_try_echo=$ac_try;;
29562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29563 (eval "$ac_link") 2>conftest.er1
29565 grep -v '^
*+' conftest.er1 >conftest.err
29567 cat conftest.err >&5
29568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29569 (exit $ac_status); } && {
29570 test -z "$ac_c_werror_flag" ||
29571 test ! -s conftest.err
29572 } && test -s conftest$ac_exeext &&
29573 $as_test_x conftest$ac_exeext; then
29574 ac_cv_lib_gdk_gdk_im_open=yes
29576 echo "$as_me: failed program was:" >&5
29577 sed 's
/^
/| /' conftest.$ac_ext >&5
29579 ac_cv_lib_gdk_gdk_im_open=no
29582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29583 conftest$ac_exeext conftest.$ac_ext
29584 LIBS=$ac_check_lib_save_LIBS
29586 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29587 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29588 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29589 cat >>confdefs.h <<\_ACEOF
29596 if test "$USE_DARWIN" != 1; then
29598 for ac_func in poll
29600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29601 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29603 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29604 echo $ECHO_N "(cached) $ECHO_C" >&6
29606 cat >conftest.$ac_ext <<_ACEOF
29609 cat confdefs.h >>conftest.$ac_ext
29610 cat >>conftest.$ac_ext <<_ACEOF
29611 /* end confdefs.h. */
29612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29614 #define $ac_func innocuous_$ac_func
29616 /* System header to define __stub macros and hopefully few prototypes,
29617 which can conflict with char $ac_func (); below.
29618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29619 <limits.h> exists even on freestanding compilers. */
29622 # include <limits.h>
29624 # include <assert.h>
29629 /* Override any GCC internal prototype to avoid an error.
29630 Use char because int might match the return type of a GCC
29631 builtin and then its argument prototype would still apply. */
29636 /* The GNU C library defines this for functions which it implements
29637 to always fail with ENOSYS. Some functions are actually named
29638 something starting with __ and the normal name is an alias. */
29639 #if defined __stub_$ac_func || defined __stub___$ac_func
29646 return $ac_func ();
29651 rm -f conftest.$ac_objext conftest$ac_exeext
29652 if { (ac_try="$ac_link"
29653 case "(($ac_try" in
29654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29655 *) ac_try_echo=$ac_try;;
29657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29658 (eval "$ac_link") 2>conftest.er1
29660 grep -v '^
*+' conftest.er1 >conftest.err
29662 cat conftest.err >&5
29663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29664 (exit $ac_status); } && {
29665 test -z "$ac_c_werror_flag" ||
29666 test ! -s conftest.err
29667 } && test -s conftest$ac_exeext &&
29668 $as_test_x conftest$ac_exeext; then
29669 eval "$as_ac_var=yes"
29671 echo "$as_me: failed program was:" >&5
29672 sed 's
/^
/| /' conftest.$ac_ext >&5
29674 eval "$as_ac_var=no"
29677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29678 conftest$ac_exeext conftest.$ac_ext
29680 ac_res=`eval echo '${'$as_ac_var'}'`
29681 { echo "$as_me:$LINENO: result: $ac_res" >&5
29682 echo "${ECHO_T}$ac_res" >&6; }
29683 if test `eval echo '${'$as_ac_var'}'` = yes; then
29684 cat >>confdefs.h <<_ACEOF
29685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29694 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29695 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29697 AFMINSTALL=afminstall
29701 if test "$wxUSE_GPE" = "yes"; then
29702 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29703 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29706 for ac_dir in $SEARCH_LIB;
29708 for ac_extension in a so sl dylib dll.a; do
29709 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29710 ac_find_libraries=$ac_dir
29716 if test "$ac_find_libraries" != "" ; then
29718 if test "$ac_find_libraries" = "default location"; then
29721 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29723 if test $result = 0; then
29726 ac_path_to_link=" -L$ac_find_libraries"
29730 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29732 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29733 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29735 { echo "$as_me:$LINENO: result: not found" >&5
29736 echo "${ECHO_T}not found" >&6; }
29742 if test "$wxUSE_MGL" = 1; then
29743 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29744 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29745 if test "x$MGL_ROOT" = x ; then
29746 { echo "$as_me:$LINENO: result: not found" >&5
29747 echo "${ECHO_T}not found" >&6; }
29748 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29749 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29750 { (exit 1); exit 1; }; }
29752 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29753 echo "${ECHO_T}$MGL_ROOT" >&6; }
29756 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29757 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29760 if test "x$wxUSE_SHARED" = xyes ; then
29761 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29763 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29767 mgl_os_candidates="dos32/dj2"
29770 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29771 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29772 { (exit 1); exit 1; }; }
29778 for mgl_os_i in $mgl_os_candidates ; do
29779 if test "x$mgl_os" = x ; then
29780 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29781 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29782 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29787 if test "x$mgl_lib_type" = x ; then
29788 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29789 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29790 mgl_lib_type=release
29797 if test "x$mgl_os" = x ; then
29798 { echo "$as_me:$LINENO: result: not found" >&5
29799 echo "${ECHO_T}not found" >&6; }
29800 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29801 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29802 { (exit 1); exit 1; }; }
29804 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29805 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29807 wxUSE_UNIVERSAL="yes"
29809 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29810 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29812 AFMINSTALL=afminstall
29817 if test "$wxUSE_DFB" = 1; then
29820 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29821 if test -n "$ac_tool_prefix"; then
29822 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29823 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29826 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29827 echo $ECHO_N "(cached) $ECHO_C" >&6
29829 case $PKG_CONFIG in
29831 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29835 for as_dir in $PATH
29838 test -z "$as_dir" && as_dir=.
29839 for ac_exec_ext in '' $ac_executable_extensions; do
29840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29841 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29852 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29853 if test -n "$PKG_CONFIG"; then
29854 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29855 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29857 { echo "$as_me:$LINENO: result: no" >&5
29858 echo "${ECHO_T}no" >&6; }
29863 if test -z "$ac_cv_path_PKG_CONFIG"; then
29864 ac_pt_PKG_CONFIG=$PKG_CONFIG
29865 # Extract the first word of "pkg-config", so it can be a program name with args.
29866 set dummy pkg-config; ac_word=$2
29867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29869 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29870 echo $ECHO_N "(cached) $ECHO_C" >&6
29872 case $ac_pt_PKG_CONFIG in
29874 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29878 for as_dir in $PATH
29881 test -z "$as_dir" && as_dir=.
29882 for ac_exec_ext in '' $ac_executable_extensions; do
29883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29884 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29895 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29896 if test -n "$ac_pt_PKG_CONFIG"; then
29897 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29898 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29900 { echo "$as_me:$LINENO: result: no" >&5
29901 echo "${ECHO_T}no" >&6; }
29904 if test "x$ac_pt_PKG_CONFIG" = x; then
29907 case $cross_compiling:$ac_tool_warned in
29909 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29910 whose name does not start with the host triplet. If you think this
29911 configuration is useful to you, please write to autoconf@gnu.org." >&5
29912 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29913 whose name does not start with the host triplet. If you think this
29914 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29915 ac_tool_warned=yes ;;
29917 PKG_CONFIG=$ac_pt_PKG_CONFIG
29920 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29924 if test -n "$PKG_CONFIG"; then
29925 _pkg_min_version=0.9.0
29926 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29927 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29928 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29929 { echo "$as_me:$LINENO: result: yes" >&5
29930 echo "${ECHO_T}yes" >&6; }
29932 { echo "$as_me:$LINENO: result: no" >&5
29933 echo "${ECHO_T}no" >&6; }
29941 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29942 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29944 if test -n "$PKG_CONFIG"; then
29945 if test -n "$DIRECTFB_CFLAGS"; then
29946 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29948 if test -n "$PKG_CONFIG" && \
29949 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29950 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); }; then
29954 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29962 if test -n "$PKG_CONFIG"; then
29963 if test -n "$DIRECTFB_LIBS"; then
29964 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29966 if test -n "$PKG_CONFIG" && \
29967 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29968 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29971 (exit $ac_status); }; then
29972 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29983 if test $pkg_failed = yes; then
29985 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29986 _pkg_short_errors_supported=yes
29988 _pkg_short_errors_supported=no
29990 if test $_pkg_short_errors_supported = yes; then
29991 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29993 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29995 # Put the nasty error message in config.log where it belongs
29996 echo "$DIRECTFB_PKG_ERRORS" >&5
29999 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30000 echo "$as_me: error: DirectFB not found." >&2;}
30001 { (exit 1); exit 1; }; }
30004 elif test $pkg_failed = untried; then
30006 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30007 echo "$as_me: error: DirectFB not found." >&2;}
30008 { (exit 1); exit 1; }; }
30012 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30013 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30014 { echo "$as_me:$LINENO: result: yes" >&5
30015 echo "${ECHO_T}yes" >&6; }
30017 wxUSE_UNIVERSAL="yes"
30018 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30019 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30026 if test "$wxUSE_MICROWIN" = 1; then
30027 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30028 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30029 if test "x$MICROWINDOWS" = x ; then
30030 { echo "$as_me:$LINENO: result: not found" >&5
30031 echo "${ECHO_T}not found" >&6; }
30032 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30033 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30034 { (exit 1); exit 1; }; }
30036 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30037 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30040 if test -f $MICROWINDOWS/lib/libmwin.a; then
30041 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30042 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30044 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30045 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30046 { (exit 1); exit 1; }; }
30049 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30050 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30052 wxUSE_UNIVERSAL="yes"
30054 AFMINSTALL=afminstall
30056 GUIDIST=MICROWIN_DIST
30058 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30061 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30062 { echo "$as_me:$LINENO: checking for X" >&5
30063 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30066 # Check whether --with-x was given.
30067 if test "${with_x+set}" = set; then
30071 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30072 if test "x$with_x" = xno; then
30073 # The user explicitly disabled X.
30076 case $x_includes,$x_libraries in #(
30077 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30078 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30079 { (exit 1); exit 1; }; };; #(
30080 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30081 echo $ECHO_N "(cached) $ECHO_C" >&6
30083 # One or both of the vars are not set, and there is no cached value.
30084 ac_x_includes=no ac_x_libraries=no
30085 rm -f -r conftest.dir
30086 if mkdir conftest.dir; then
30088 cat >Imakefile <<'_ACEOF'
30090 @echo incroot='${INCROOT}'
30092 @echo usrlibdir='${USRLIBDIR}'
30094 @echo libdir='${LIBDIR}'
30096 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30097 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30098 for ac_var in incroot usrlibdir libdir; do
30099 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30101 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30102 for ac_extension in a so sl; do
30103 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30104 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30105 ac_im_usrlibdir=$ac_im_libdir; break
30108 # Screen out bogus values from the imake configuration. They are
30109 # bogus both because they are the default anyway, and because
30110 # using them would break gcc on systems where it needs fixed includes.
30111 case $ac_im_incroot in
30112 /usr/include) ac_x_includes= ;;
30113 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30115 case $ac_im_usrlibdir in
30116 /usr/lib | /lib) ;;
30117 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30121 rm -f -r conftest.dir
30124 # Standard set of common directories for X headers.
30125 # Check X11 before X11Rn because it is often a symlink to the current release.
30137 /usr
/local
/X
11/include
30138 /usr
/local
/X
11R
6/include
30139 /usr
/local
/X
11R
5/include
30140 /usr
/local
/X
11R
4/include
30142 /usr
/local
/include
/X11
30143 /usr
/local
/include
/X11R6
30144 /usr
/local
/include
/X11R5
30145 /usr
/local
/include
/X11R4
30149 /usr
/XFree
86/include
/X11
30153 /usr
/unsupported
/include
30154 /usr
/athena
/include
30155 /usr
/local
/x
11r
5/include
30156 /usr
/lpp
/Xamples
/include
30158 /usr
/openwin
/include
30159 /usr
/openwin
/share
/include
'
30161 if test "$ac_x_includes" = no; then
30162 # Guess where to find include files, by looking for Xlib.h.
30163 # First, try using that file with no special directory specified.
30164 cat >conftest.$ac_ext <<_ACEOF
30167 cat confdefs.h >>conftest.$ac_ext
30168 cat >>conftest.$ac_ext <<_ACEOF
30169 /* end confdefs.h. */
30170 #include <X11/Xlib.h>
30172 if { (ac_try="$ac_cpp conftest.$ac_ext"
30173 case "(($ac_try" in
30174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30175 *) ac_try_echo=$ac_try;;
30177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30180 grep -v '^
*+' conftest.er1 >conftest.err
30182 cat conftest.err >&5
30183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184 (exit $ac_status); } >/dev/null && {
30185 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30186 test ! -s conftest.err
30188 # We can compile using X headers with no special include directory.
30191 echo "$as_me: failed program was:" >&5
30192 sed 's
/^
/| /' conftest.$ac_ext >&5
30194 for ac_dir in $ac_x_header_dirs; do
30195 if test -r "$ac_dir/X11/Xlib.h"; then
30196 ac_x_includes=$ac_dir
30202 rm -f conftest.err conftest.$ac_ext
30203 fi # $ac_x_includes = no
30205 if test "$ac_x_libraries" = no; then
30206 # Check for the libraries.
30207 # See if we find them without any special options.
30208 # Don't add to
$LIBS permanently.
30211 cat >conftest.
$ac_ext <<_ACEOF
30214 cat confdefs.h
>>conftest.
$ac_ext
30215 cat >>conftest.
$ac_ext <<_ACEOF
30216 /* end confdefs.h. */
30217 #include <X11/Xlib.h>
30226 rm -f conftest.
$ac_objext conftest
$ac_exeext
30227 if { (ac_try
="$ac_link"
30228 case "(($ac_try" in
30229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30230 *) ac_try_echo=$ac_try;;
30232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30233 (eval "$ac_link") 2>conftest.er1
30235 grep -v '^ *+' conftest.er1 >conftest.err
30237 cat conftest.err >&5
30238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30239 (exit $ac_status); } && {
30240 test -z "$ac_c_werror_flag" ||
30241 test ! -s conftest.err
30242 } && test -s conftest$ac_exeext &&
30243 $as_test_x conftest$ac_exeext; then
30245 # We can link X programs with no special library path.
30248 echo "$as_me: failed program was:" >&5
30249 sed 's/^/| /' conftest.$ac_ext >&5
30252 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30254 # Don't even attempt the hair of trying to link an X program!
30255 for ac_extension in a so sl; do
30256 if test -r "$ac_dir/libX11.$ac_extension"; then
30257 ac_x_libraries=$ac_dir
30264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30265 conftest$ac_exeext conftest.$ac_ext
30266 fi # $ac_x_libraries = no
30268 case $ac_x_includes,$ac_x_libraries in #(
30269 no,* | *,no | *\'*)
30270 # Didn't find X, or a directory has "'" in its name.
30271 ac_cv_have_x="have_x=no";; #(
30273 # Record where we found X for the cache.
30274 ac_cv_have_x="have_x=yes\
30275 ac_x_includes='$ac_x_includes'\
30276 ac_x_libraries='$ac_x_libraries'"
30282 eval "$ac_cv_have_x"
30285 if test "$have_x" != yes; then
30286 { echo "$as_me:$LINENO: result: $have_x" >&5
30287 echo "${ECHO_T}$have_x" >&6; }
30290 # If each of the values was on the command line, it overrides each guess.
30291 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30292 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30293 # Update the cache value to reflect the command line values.
30294 ac_cv_have_x="have_x=yes\
30295 ac_x_includes='$x_includes'\
30296 ac_x_libraries='$x_libraries'"
30297 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30298 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30301 if test "$no_x" = yes; then
30302 # Not all programs may use this symbol, but it does not hurt to define it.
30304 cat >>confdefs.h <<\_ACEOF
30305 #define X_DISPLAY_MISSING 1
30308 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30310 if test -n "$x_includes"; then
30311 X_CFLAGS="$X_CFLAGS -I$x_includes"
30314 # It would also be nice to do this for all -L options, not just this one.
30315 if test -n "$x_libraries"; then
30316 X_LIBS="$X_LIBS -L$x_libraries"
30317 # For Solaris; some versions of Sun CC require a space after -R and
30318 # others require no space. Words are not sufficient . . . .
30319 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30320 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30321 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30322 ac_xsave_c_werror_flag=$ac_c_werror_flag
30323 ac_c_werror_flag=yes
30324 cat >conftest.$ac_ext <<_ACEOF
30327 cat confdefs.h >>conftest.$ac_ext
30328 cat >>conftest.$ac_ext <<_ACEOF
30329 /* end confdefs.h. */
30339 rm -f conftest.$ac_objext conftest$ac_exeext
30340 if { (ac_try="$ac_link"
30341 case "(($ac_try" in
30342 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30343 *) ac_try_echo
=$ac_try;;
30345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30346 (eval "$ac_link") 2>conftest.er1
30348 grep -v '^ *+' conftest.er1
>conftest.err
30350 cat conftest.err
>&5
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); } && {
30353 test -z "$ac_c_werror_flag" ||
30354 test ! -s conftest.err
30355 } && test -s conftest
$ac_exeext &&
30356 $as_test_x conftest
$ac_exeext; then
30357 { echo "$as_me:$LINENO: result: no" >&5
30358 echo "${ECHO_T}no" >&6; }
30359 X_LIBS
="$X_LIBS -R$x_libraries"
30361 echo "$as_me: failed program was:" >&5
30362 sed 's/^/| /' conftest.
$ac_ext >&5
30364 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30365 cat >conftest.
$ac_ext <<_ACEOF
30368 cat confdefs.h
>>conftest.
$ac_ext
30369 cat >>conftest.
$ac_ext <<_ACEOF
30370 /* end confdefs.h. */
30380 rm -f conftest.
$ac_objext conftest
$ac_exeext
30381 if { (ac_try
="$ac_link"
30382 case "(($ac_try" in
30383 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30384 *) ac_try_echo=$ac_try;;
30386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30387 (eval "$ac_link") 2>conftest.er1
30389 grep -v '^ *+' conftest.er1 >conftest.err
30391 cat conftest.err >&5
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); } && {
30394 test -z "$ac_c_werror_flag" ||
30395 test ! -s conftest.err
30396 } && test -s conftest$ac_exeext &&
30397 $as_test_x conftest$ac_exeext; then
30398 { echo "$as_me:$LINENO: result: yes" >&5
30399 echo "${ECHO_T}yes" >&6; }
30400 X_LIBS="$X_LIBS -R $x_libraries"
30402 echo "$as_me: failed program was:" >&5
30403 sed 's/^/| /' conftest.$ac_ext >&5
30405 { echo "$as_me:$LINENO: result: neither works" >&5
30406 echo "${ECHO_T}neither works" >&6; }
30409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30410 conftest$ac_exeext conftest.$ac_ext
30413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30414 conftest$ac_exeext conftest.$ac_ext
30415 ac_c_werror_flag=$ac_xsave_c_werror_flag
30416 LIBS=$ac_xsave_LIBS
30419 # Check for system-dependent libraries X programs must link with.
30420 # Do this before checking for the system-independent R6 libraries
30421 # (-lICE), since we may need -lsocket or whatever for X linking.
30423 if test "$ISC" = yes; then
30424 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30426 # Martyn Johnson says this is needed for Ultrix, if the X
30427 # libraries were built with DECnet support. And Karl Berry says
30428 # the Alpha needs dnet_stub (dnet does not exist).
30429 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30430 cat >conftest.$ac_ext <<_ACEOF
30433 cat confdefs.h >>conftest.$ac_ext
30434 cat >>conftest.$ac_ext <<_ACEOF
30435 /* end confdefs.h. */
30437 /* Override any GCC internal prototype to avoid an error.
30438 Use char because int might match the return type of a GCC
30439 builtin and then its argument prototype would still apply. */
30443 char XOpenDisplay ();
30447 return XOpenDisplay ();
30452 rm -f conftest.$ac_objext conftest$ac_exeext
30453 if { (ac_try="$ac_link"
30454 case "(($ac_try" in
30455 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30456 *) ac_try_echo
=$ac_try;;
30458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30459 (eval "$ac_link") 2>conftest.er1
30461 grep -v '^ *+' conftest.er1
>conftest.err
30463 cat conftest.err
>&5
30464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30465 (exit $ac_status); } && {
30466 test -z "$ac_c_werror_flag" ||
30467 test ! -s conftest.err
30468 } && test -s conftest
$ac_exeext &&
30469 $as_test_x conftest
$ac_exeext; then
30472 echo "$as_me: failed program was:" >&5
30473 sed 's/^/| /' conftest.
$ac_ext >&5
30475 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30476 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30477 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30478 echo $ECHO_N "(cached) $ECHO_C" >&6
30480 ac_check_lib_save_LIBS
=$LIBS
30481 LIBS
="-ldnet $LIBS"
30482 cat >conftest.
$ac_ext <<_ACEOF
30485 cat confdefs.h
>>conftest.
$ac_ext
30486 cat >>conftest.
$ac_ext <<_ACEOF
30487 /* end confdefs.h. */
30489 /* Override any GCC internal prototype to avoid an error.
30490 Use char because int might match the return type of a GCC
30491 builtin and then its argument prototype would still apply. */
30499 return dnet_ntoa ();
30504 rm -f conftest.
$ac_objext conftest
$ac_exeext
30505 if { (ac_try
="$ac_link"
30506 case "(($ac_try" in
30507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30508 *) ac_try_echo=$ac_try;;
30510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30511 (eval "$ac_link") 2>conftest.er1
30513 grep -v '^ *+' conftest.er1 >conftest.err
30515 cat conftest.err >&5
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); } && {
30518 test -z "$ac_c_werror_flag" ||
30519 test ! -s conftest.err
30520 } && test -s conftest$ac_exeext &&
30521 $as_test_x conftest$ac_exeext; then
30522 ac_cv_lib_dnet_dnet_ntoa=yes
30524 echo "$as_me: failed program was:" >&5
30525 sed 's/^/| /' conftest.$ac_ext >&5
30527 ac_cv_lib_dnet_dnet_ntoa=no
30530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30531 conftest$ac_exeext conftest.$ac_ext
30532 LIBS=$ac_check_lib_save_LIBS
30534 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30535 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30536 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30537 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30540 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30541 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30542 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30543 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30544 echo $ECHO_N "(cached) $ECHO_C" >&6
30546 ac_check_lib_save_LIBS=$LIBS
30547 LIBS="-ldnet_stub $LIBS"
30548 cat >conftest.$ac_ext <<_ACEOF
30551 cat confdefs.h >>conftest.$ac_ext
30552 cat >>conftest.$ac_ext <<_ACEOF
30553 /* end confdefs.h. */
30555 /* Override any GCC internal prototype to avoid an error.
30556 Use char because int might match the return type of a GCC
30557 builtin and then its argument prototype would still apply. */
30565 return dnet_ntoa ();
30570 rm -f conftest.$ac_objext conftest$ac_exeext
30571 if { (ac_try="$ac_link"
30572 case "(($ac_try" in
30573 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30574 *) ac_try_echo
=$ac_try;;
30576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30577 (eval "$ac_link") 2>conftest.er1
30579 grep -v '^ *+' conftest.er1
>conftest.err
30581 cat conftest.err
>&5
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); } && {
30584 test -z "$ac_c_werror_flag" ||
30585 test ! -s conftest.err
30586 } && test -s conftest
$ac_exeext &&
30587 $as_test_x conftest
$ac_exeext; then
30588 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30590 echo "$as_me: failed program was:" >&5
30591 sed 's/^/| /' conftest.
$ac_ext >&5
30593 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30596 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30597 conftest
$ac_exeext conftest.
$ac_ext
30598 LIBS
=$ac_check_lib_save_LIBS
30600 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30601 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30602 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30603 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30609 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30610 conftest
$ac_exeext conftest.
$ac_ext
30611 LIBS
="$ac_xsave_LIBS"
30613 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30614 # to get the SysV transport functions.
30615 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30617 # The nsl library prevents programs from opening the X display
30618 # on Irix 5.2, according to T.E. Dickey.
30619 # The functions gethostbyname, getservbyname, and inet_addr are
30620 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30621 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30622 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30623 if test "${ac_cv_func_gethostbyname+set}" = set; then
30624 echo $ECHO_N "(cached) $ECHO_C" >&6
30626 cat >conftest.
$ac_ext <<_ACEOF
30629 cat confdefs.h
>>conftest.
$ac_ext
30630 cat >>conftest.
$ac_ext <<_ACEOF
30631 /* end confdefs.h. */
30632 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30634 #define gethostbyname innocuous_gethostbyname
30636 /* System header to define __stub macros and hopefully few prototypes,
30637 which can conflict with char gethostbyname (); below.
30638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30639 <limits.h> exists even on freestanding compilers. */
30642 # include <limits.h>
30644 # include <assert.h>
30647 #undef gethostbyname
30649 /* Override any GCC internal prototype to avoid an error.
30650 Use char because int might match the return type of a GCC
30651 builtin and then its argument prototype would still apply. */
30655 char gethostbyname ();
30656 /* The GNU C library defines this for functions which it implements
30657 to always fail with ENOSYS. Some functions are actually named
30658 something starting with __ and the normal name is an alias. */
30659 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30666 return gethostbyname ();
30671 rm -f conftest.
$ac_objext conftest
$ac_exeext
30672 if { (ac_try
="$ac_link"
30673 case "(($ac_try" in
30674 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30675 *) ac_try_echo=$ac_try;;
30677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30678 (eval "$ac_link") 2>conftest.er1
30680 grep -v '^ *+' conftest.er1 >conftest.err
30682 cat conftest.err >&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); } && {
30685 test -z "$ac_c_werror_flag" ||
30686 test ! -s conftest.err
30687 } && test -s conftest$ac_exeext &&
30688 $as_test_x conftest$ac_exeext; then
30689 ac_cv_func_gethostbyname=yes
30691 echo "$as_me: failed program was:" >&5
30692 sed 's/^/| /' conftest.$ac_ext >&5
30694 ac_cv_func_gethostbyname=no
30697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30698 conftest$ac_exeext conftest.$ac_ext
30700 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30701 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30703 if test $ac_cv_func_gethostbyname = no; then
30704 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30705 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30706 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30707 echo $ECHO_N "(cached) $ECHO_C" >&6
30709 ac_check_lib_save_LIBS=$LIBS
30711 cat >conftest.$ac_ext <<_ACEOF
30714 cat confdefs.h >>conftest.$ac_ext
30715 cat >>conftest.$ac_ext <<_ACEOF
30716 /* end confdefs.h. */
30718 /* Override any GCC internal prototype to avoid an error.
30719 Use char because int might match the return type of a GCC
30720 builtin and then its argument prototype would still apply. */
30724 char gethostbyname ();
30728 return gethostbyname ();
30733 rm -f conftest.$ac_objext conftest$ac_exeext
30734 if { (ac_try="$ac_link"
30735 case "(($ac_try" in
30736 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30737 *) ac_try_echo
=$ac_try;;
30739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30740 (eval "$ac_link") 2>conftest.er1
30742 grep -v '^ *+' conftest.er1
>conftest.err
30744 cat conftest.err
>&5
30745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); } && {
30747 test -z "$ac_c_werror_flag" ||
30748 test ! -s conftest.err
30749 } && test -s conftest
$ac_exeext &&
30750 $as_test_x conftest
$ac_exeext; then
30751 ac_cv_lib_nsl_gethostbyname
=yes
30753 echo "$as_me: failed program was:" >&5
30754 sed 's/^/| /' conftest.
$ac_ext >&5
30756 ac_cv_lib_nsl_gethostbyname
=no
30759 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30760 conftest
$ac_exeext conftest.
$ac_ext
30761 LIBS
=$ac_check_lib_save_LIBS
30763 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30764 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30765 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30766 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30769 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30770 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30771 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30772 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30773 echo $ECHO_N "(cached) $ECHO_C" >&6
30775 ac_check_lib_save_LIBS
=$LIBS
30777 cat >conftest.
$ac_ext <<_ACEOF
30780 cat confdefs.h
>>conftest.
$ac_ext
30781 cat >>conftest.
$ac_ext <<_ACEOF
30782 /* end confdefs.h. */
30784 /* Override any GCC internal prototype to avoid an error.
30785 Use char because int might match the return type of a GCC
30786 builtin and then its argument prototype would still apply. */
30790 char gethostbyname ();
30794 return gethostbyname ();
30799 rm -f conftest.
$ac_objext conftest
$ac_exeext
30800 if { (ac_try
="$ac_link"
30801 case "(($ac_try" in
30802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30803 *) ac_try_echo=$ac_try;;
30805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30806 (eval "$ac_link") 2>conftest.er1
30808 grep -v '^ *+' conftest.er1 >conftest.err
30810 cat conftest.err >&5
30811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30812 (exit $ac_status); } && {
30813 test -z "$ac_c_werror_flag" ||
30814 test ! -s conftest.err
30815 } && test -s conftest$ac_exeext &&
30816 $as_test_x conftest$ac_exeext; then
30817 ac_cv_lib_bsd_gethostbyname=yes
30819 echo "$as_me: failed program was:" >&5
30820 sed 's/^/| /' conftest.$ac_ext >&5
30822 ac_cv_lib_bsd_gethostbyname=no
30825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30826 conftest$ac_exeext conftest.$ac_ext
30827 LIBS=$ac_check_lib_save_LIBS
30829 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30830 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30831 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30832 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30838 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30839 # socket/setsockopt and other routines are undefined under SCO ODT
30840 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30841 # on later versions), says Simon Leinen: it contains gethostby*
30842 # variants that don't use the name server (or something). -lsocket
30843 # must be given before -lnsl if both are needed. We assume that
30844 # if connect needs -lnsl, so does gethostbyname.
30845 { echo "$as_me:$LINENO: checking for connect" >&5
30846 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30847 if test "${ac_cv_func_connect+set}" = set; then
30848 echo $ECHO_N "(cached) $ECHO_C" >&6
30850 cat >conftest.$ac_ext <<_ACEOF
30853 cat confdefs.h >>conftest.$ac_ext
30854 cat >>conftest.$ac_ext <<_ACEOF
30855 /* end confdefs.h. */
30856 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30858 #define connect innocuous_connect
30860 /* System header to define __stub macros and hopefully few prototypes,
30861 which can conflict with char connect (); below.
30862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30863 <limits.h> exists even on freestanding compilers. */
30866 # include <limits.h>
30868 # include <assert.h>
30873 /* Override any GCC internal prototype to avoid an error.
30874 Use char because int might match the return type of a GCC
30875 builtin and then its argument prototype would still apply. */
30880 /* The GNU C library defines this for functions which it implements
30881 to always fail with ENOSYS. Some functions are actually named
30882 something starting with __ and the normal name is an alias. */
30883 #if defined __stub_connect || defined __stub___connect
30895 rm -f conftest.$ac_objext conftest$ac_exeext
30896 if { (ac_try="$ac_link"
30897 case "(($ac_try" in
30898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30899 *) ac_try_echo
=$ac_try;;
30901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30902 (eval "$ac_link") 2>conftest.er1
30904 grep -v '^ *+' conftest.er1
>conftest.err
30906 cat conftest.err
>&5
30907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30908 (exit $ac_status); } && {
30909 test -z "$ac_c_werror_flag" ||
30910 test ! -s conftest.err
30911 } && test -s conftest
$ac_exeext &&
30912 $as_test_x conftest
$ac_exeext; then
30913 ac_cv_func_connect
=yes
30915 echo "$as_me: failed program was:" >&5
30916 sed 's/^/| /' conftest.
$ac_ext >&5
30918 ac_cv_func_connect
=no
30921 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30922 conftest
$ac_exeext conftest.
$ac_ext
30924 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30925 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30927 if test $ac_cv_func_connect = no
; then
30928 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30929 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30930 if test "${ac_cv_lib_socket_connect+set}" = set; then
30931 echo $ECHO_N "(cached) $ECHO_C" >&6
30933 ac_check_lib_save_LIBS
=$LIBS
30934 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30935 cat >conftest.
$ac_ext <<_ACEOF
30938 cat confdefs.h
>>conftest.
$ac_ext
30939 cat >>conftest.
$ac_ext <<_ACEOF
30940 /* end confdefs.h. */
30942 /* Override any GCC internal prototype to avoid an error.
30943 Use char because int might match the return type of a GCC
30944 builtin and then its argument prototype would still apply. */
30957 rm -f conftest.
$ac_objext conftest
$ac_exeext
30958 if { (ac_try
="$ac_link"
30959 case "(($ac_try" in
30960 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30961 *) ac_try_echo=$ac_try;;
30963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30964 (eval "$ac_link") 2>conftest.er1
30966 grep -v '^ *+' conftest.er1 >conftest.err
30968 cat conftest.err >&5
30969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30970 (exit $ac_status); } && {
30971 test -z "$ac_c_werror_flag" ||
30972 test ! -s conftest.err
30973 } && test -s conftest$ac_exeext &&
30974 $as_test_x conftest$ac_exeext; then
30975 ac_cv_lib_socket_connect=yes
30977 echo "$as_me: failed program was:" >&5
30978 sed 's/^/| /' conftest.$ac_ext >&5
30980 ac_cv_lib_socket_connect=no
30983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30984 conftest$ac_exeext conftest.$ac_ext
30985 LIBS=$ac_check_lib_save_LIBS
30987 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30988 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30989 if test $ac_cv_lib_socket_connect = yes; then
30990 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30995 # Guillermo Gomez says -lposix is necessary on A/UX.
30996 { echo "$as_me:$LINENO: checking for remove" >&5
30997 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30998 if test "${ac_cv_func_remove+set}" = set; then
30999 echo $ECHO_N "(cached) $ECHO_C" >&6
31001 cat >conftest.$ac_ext <<_ACEOF
31004 cat confdefs.h >>conftest.$ac_ext
31005 cat >>conftest.$ac_ext <<_ACEOF
31006 /* end confdefs.h. */
31007 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31009 #define remove innocuous_remove
31011 /* System header to define __stub macros and hopefully few prototypes,
31012 which can conflict with char remove (); below.
31013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31014 <limits.h> exists even on freestanding compilers. */
31017 # include <limits.h>
31019 # include <assert.h>
31024 /* Override any GCC internal prototype to avoid an error.
31025 Use char because int might match the return type of a GCC
31026 builtin and then its argument prototype would still apply. */
31031 /* The GNU C library defines this for functions which it implements
31032 to always fail with ENOSYS. Some functions are actually named
31033 something starting with __ and the normal name is an alias. */
31034 #if defined __stub_remove || defined __stub___remove
31046 rm -f conftest.$ac_objext conftest$ac_exeext
31047 if { (ac_try="$ac_link"
31048 case "(($ac_try" in
31049 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31050 *) ac_try_echo
=$ac_try;;
31052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31053 (eval "$ac_link") 2>conftest.er1
31055 grep -v '^ *+' conftest.er1
>conftest.err
31057 cat conftest.err
>&5
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); } && {
31060 test -z "$ac_c_werror_flag" ||
31061 test ! -s conftest.err
31062 } && test -s conftest
$ac_exeext &&
31063 $as_test_x conftest
$ac_exeext; then
31064 ac_cv_func_remove
=yes
31066 echo "$as_me: failed program was:" >&5
31067 sed 's/^/| /' conftest.
$ac_ext >&5
31069 ac_cv_func_remove
=no
31072 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31073 conftest
$ac_exeext conftest.
$ac_ext
31075 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31076 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31078 if test $ac_cv_func_remove = no
; then
31079 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31080 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31081 if test "${ac_cv_lib_posix_remove+set}" = set; then
31082 echo $ECHO_N "(cached) $ECHO_C" >&6
31084 ac_check_lib_save_LIBS
=$LIBS
31085 LIBS
="-lposix $LIBS"
31086 cat >conftest.
$ac_ext <<_ACEOF
31089 cat confdefs.h
>>conftest.
$ac_ext
31090 cat >>conftest.
$ac_ext <<_ACEOF
31091 /* end confdefs.h. */
31093 /* Override any GCC internal prototype to avoid an error.
31094 Use char because int might match the return type of a GCC
31095 builtin and then its argument prototype would still apply. */
31108 rm -f conftest.
$ac_objext conftest
$ac_exeext
31109 if { (ac_try
="$ac_link"
31110 case "(($ac_try" in
31111 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31112 *) ac_try_echo=$ac_try;;
31114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31115 (eval "$ac_link") 2>conftest.er1
31117 grep -v '^ *+' conftest.er1 >conftest.err
31119 cat conftest.err >&5
31120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31121 (exit $ac_status); } && {
31122 test -z "$ac_c_werror_flag" ||
31123 test ! -s conftest.err
31124 } && test -s conftest$ac_exeext &&
31125 $as_test_x conftest$ac_exeext; then
31126 ac_cv_lib_posix_remove=yes
31128 echo "$as_me: failed program was:" >&5
31129 sed 's/^/| /' conftest.$ac_ext >&5
31131 ac_cv_lib_posix_remove=no
31134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31135 conftest$ac_exeext conftest.$ac_ext
31136 LIBS=$ac_check_lib_save_LIBS
31138 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31139 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31140 if test $ac_cv_lib_posix_remove = yes; then
31141 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31146 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31147 { echo "$as_me:$LINENO: checking for shmat" >&5
31148 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31149 if test "${ac_cv_func_shmat+set}" = set; then
31150 echo $ECHO_N "(cached) $ECHO_C" >&6
31152 cat >conftest.$ac_ext <<_ACEOF
31155 cat confdefs.h >>conftest.$ac_ext
31156 cat >>conftest.$ac_ext <<_ACEOF
31157 /* end confdefs.h. */
31158 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31160 #define shmat innocuous_shmat
31162 /* System header to define __stub macros and hopefully few prototypes,
31163 which can conflict with char shmat (); below.
31164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31165 <limits.h> exists even on freestanding compilers. */
31168 # include <limits.h>
31170 # include <assert.h>
31175 /* Override any GCC internal prototype to avoid an error.
31176 Use char because int might match the return type of a GCC
31177 builtin and then its argument prototype would still apply. */
31182 /* The GNU C library defines this for functions which it implements
31183 to always fail with ENOSYS. Some functions are actually named
31184 something starting with __ and the normal name is an alias. */
31185 #if defined __stub_shmat || defined __stub___shmat
31197 rm -f conftest.$ac_objext conftest$ac_exeext
31198 if { (ac_try="$ac_link"
31199 case "(($ac_try" in
31200 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31201 *) ac_try_echo
=$ac_try;;
31203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31204 (eval "$ac_link") 2>conftest.er1
31206 grep -v '^ *+' conftest.er1
>conftest.err
31208 cat conftest.err
>&5
31209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210 (exit $ac_status); } && {
31211 test -z "$ac_c_werror_flag" ||
31212 test ! -s conftest.err
31213 } && test -s conftest
$ac_exeext &&
31214 $as_test_x conftest
$ac_exeext; then
31215 ac_cv_func_shmat
=yes
31217 echo "$as_me: failed program was:" >&5
31218 sed 's/^/| /' conftest.
$ac_ext >&5
31220 ac_cv_func_shmat
=no
31223 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31224 conftest
$ac_exeext conftest.
$ac_ext
31226 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31227 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31229 if test $ac_cv_func_shmat = no
; then
31230 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31231 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31232 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31233 echo $ECHO_N "(cached) $ECHO_C" >&6
31235 ac_check_lib_save_LIBS
=$LIBS
31237 cat >conftest.
$ac_ext <<_ACEOF
31240 cat confdefs.h
>>conftest.
$ac_ext
31241 cat >>conftest.
$ac_ext <<_ACEOF
31242 /* end confdefs.h. */
31244 /* Override any GCC internal prototype to avoid an error.
31245 Use char because int might match the return type of a GCC
31246 builtin and then its argument prototype would still apply. */
31259 rm -f conftest.
$ac_objext conftest
$ac_exeext
31260 if { (ac_try
="$ac_link"
31261 case "(($ac_try" in
31262 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31263 *) ac_try_echo=$ac_try;;
31265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31266 (eval "$ac_link") 2>conftest.er1
31268 grep -v '^ *+' conftest.er1 >conftest.err
31270 cat conftest.err >&5
31271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31272 (exit $ac_status); } && {
31273 test -z "$ac_c_werror_flag" ||
31274 test ! -s conftest.err
31275 } && test -s conftest$ac_exeext &&
31276 $as_test_x conftest$ac_exeext; then
31277 ac_cv_lib_ipc_shmat=yes
31279 echo "$as_me: failed program was:" >&5
31280 sed 's/^/| /' conftest.$ac_ext >&5
31282 ac_cv_lib_ipc_shmat=no
31285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31286 conftest$ac_exeext conftest.$ac_ext
31287 LIBS=$ac_check_lib_save_LIBS
31289 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31290 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31291 if test $ac_cv_lib_ipc_shmat = yes; then
31292 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31298 # Check for libraries that X11R6 Xt/Xaw programs need.
31299 ac_save_LDFLAGS=$LDFLAGS
31300 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31301 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31302 # check for ICE first), but we must link in the order -lSM -lICE or
31303 # we get undefined symbols. So assume we have SM if we have ICE.
31304 # These have to be linked with before -lX11, unlike the other
31305 # libraries we check for below, so use a different variable.
31306 # John Interrante, Karl Berry
31307 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31308 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31309 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31310 echo $ECHO_N "(cached) $ECHO_C" >&6
31312 ac_check_lib_save_LIBS=$LIBS
31313 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31314 cat >conftest.$ac_ext <<_ACEOF
31317 cat confdefs.h >>conftest.$ac_ext
31318 cat >>conftest.$ac_ext <<_ACEOF
31319 /* end confdefs.h. */
31321 /* Override any GCC internal prototype to avoid an error.
31322 Use char because int might match the return type of a GCC
31323 builtin and then its argument prototype would still apply. */
31327 char IceConnectionNumber ();
31331 return IceConnectionNumber ();
31336 rm -f conftest.$ac_objext conftest$ac_exeext
31337 if { (ac_try="$ac_link"
31338 case "(($ac_try" in
31339 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31340 *) ac_try_echo
=$ac_try;;
31342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31343 (eval "$ac_link") 2>conftest.er1
31345 grep -v '^ *+' conftest.er1
>conftest.err
31347 cat conftest.err
>&5
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); } && {
31350 test -z "$ac_c_werror_flag" ||
31351 test ! -s conftest.err
31352 } && test -s conftest
$ac_exeext &&
31353 $as_test_x conftest
$ac_exeext; then
31354 ac_cv_lib_ICE_IceConnectionNumber
=yes
31356 echo "$as_me: failed program was:" >&5
31357 sed 's/^/| /' conftest.
$ac_ext >&5
31359 ac_cv_lib_ICE_IceConnectionNumber
=no
31362 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31363 conftest
$ac_exeext conftest.
$ac_ext
31364 LIBS
=$ac_check_lib_save_LIBS
31366 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31367 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31368 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31369 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31372 LDFLAGS
=$ac_save_LDFLAGS
31377 if test "$no_x" = "yes"; then
31378 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31379 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31380 { (exit 1); exit 1; }; }
31383 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31384 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31385 AFMINSTALL
=afminstall
31386 COMPILED_X_PROGRAM
=0
31390 if test "$wxUSE_X11" = 1; then
31391 if test "$wxUSE_NANOX" = "yes"; then
31392 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31393 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31394 if test "x$MICROWIN" = x
; then
31395 { echo "$as_me:$LINENO: result: not found" >&5
31396 echo "${ECHO_T}not found" >&6; }
31397 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31398 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31399 { (exit 1); exit 1; }; }
31401 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31402 echo "${ECHO_T}$MICROWIN" >&6; }
31403 cat >>confdefs.h
<<\_ACEOF
31404 #define wxUSE_NANOX 1
31410 if test "$wxUSE_UNICODE" = "yes"; then
31413 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31414 if test -n "$ac_tool_prefix"; then
31415 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31416 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31419 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31420 echo $ECHO_N "(cached) $ECHO_C" >&6
31422 case $PKG_CONFIG in
31424 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31428 for as_dir
in $PATH
31431 test -z "$as_dir" && as_dir
=.
31432 for ac_exec_ext
in '' $ac_executable_extensions; do
31433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31434 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31445 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31446 if test -n "$PKG_CONFIG"; then
31447 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31448 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31450 { echo "$as_me:$LINENO: result: no" >&5
31451 echo "${ECHO_T}no" >&6; }
31456 if test -z "$ac_cv_path_PKG_CONFIG"; then
31457 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31458 # Extract the first word of "pkg-config", so it can be a program name with args.
31459 set dummy pkg
-config; ac_word
=$2
31460 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31462 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31463 echo $ECHO_N "(cached) $ECHO_C" >&6
31465 case $ac_pt_PKG_CONFIG in
31467 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31471 for as_dir
in $PATH
31474 test -z "$as_dir" && as_dir
=.
31475 for ac_exec_ext
in '' $ac_executable_extensions; do
31476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31477 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31488 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31489 if test -n "$ac_pt_PKG_CONFIG"; then
31490 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31491 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31493 { echo "$as_me:$LINENO: result: no" >&5
31494 echo "${ECHO_T}no" >&6; }
31497 if test "x$ac_pt_PKG_CONFIG" = x
; then
31500 case $cross_compiling:$ac_tool_warned in
31502 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31503 whose name does not start with the host triplet. If you think this
31504 configuration is useful to you, please write to autoconf@gnu.org." >&5
31505 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31506 whose name does not start with the host triplet. If you think this
31507 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31508 ac_tool_warned
=yes ;;
31510 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31513 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31517 if test -n "$PKG_CONFIG"; then
31518 _pkg_min_version
=0.9.0
31519 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31520 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31521 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31522 { echo "$as_me:$LINENO: result: yes" >&5
31523 echo "${ECHO_T}yes" >&6; }
31525 { echo "$as_me:$LINENO: result: no" >&5
31526 echo "${ECHO_T}no" >&6; }
31534 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31535 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31537 if test -n "$PKG_CONFIG"; then
31538 if test -n "$PANGOX_CFLAGS"; then
31539 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31541 if test -n "$PKG_CONFIG" && \
31542 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31543 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); }; then
31547 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31555 if test -n "$PKG_CONFIG"; then
31556 if test -n "$PANGOX_LIBS"; then
31557 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31559 if test -n "$PKG_CONFIG" && \
31560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31561 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); }; then
31565 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31576 if test $pkg_failed = yes; then
31578 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31579 _pkg_short_errors_supported
=yes
31581 _pkg_short_errors_supported
=no
31583 if test $_pkg_short_errors_supported = yes; then
31584 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31586 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31588 # Put the nasty error message in config.log where it belongs
31589 echo "$PANGOX_PKG_ERRORS" >&5
31592 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31593 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31594 { (exit 1); exit 1; }; }
31597 elif test $pkg_failed = untried
; then
31599 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31600 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31601 { (exit 1); exit 1; }; }
31605 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31606 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31607 { echo "$as_me:$LINENO: result: yes" >&5
31608 echo "${ECHO_T}yes" >&6; }
31610 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31611 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31612 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31617 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31618 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31620 if test -n "$PKG_CONFIG"; then
31621 if test -n "$PANGOFT2_CFLAGS"; then
31622 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31624 if test -n "$PKG_CONFIG" && \
31625 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31626 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); }; then
31630 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31638 if test -n "$PKG_CONFIG"; then
31639 if test -n "$PANGOFT2_LIBS"; then
31640 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31642 if test -n "$PKG_CONFIG" && \
31643 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31644 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 (exit $ac_status); }; then
31648 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31659 if test $pkg_failed = yes; then
31661 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31662 _pkg_short_errors_supported
=yes
31664 _pkg_short_errors_supported
=no
31666 if test $_pkg_short_errors_supported = yes; then
31667 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31669 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31671 # Put the nasty error message in config.log where it belongs
31672 echo "$PANGOFT2_PKG_ERRORS" >&5
31675 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31676 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31677 wxUSE_PRINTING_ARCHITECTURE
="no"
31680 elif test $pkg_failed = untried
; then
31682 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31683 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31684 wxUSE_PRINTING_ARCHITECTURE
="no"
31688 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31689 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31690 { echo "$as_me:$LINENO: result: yes" >&5
31691 echo "${ECHO_T}yes" >&6; }
31693 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31694 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31695 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31700 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31701 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31703 if test -n "$PKG_CONFIG"; then
31704 if test -n "$PANGOXFT_CFLAGS"; then
31705 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31707 if test -n "$PKG_CONFIG" && \
31708 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31709 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); }; then
31713 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31721 if test -n "$PKG_CONFIG"; then
31722 if test -n "$PANGOXFT_LIBS"; then
31723 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31725 if test -n "$PKG_CONFIG" && \
31726 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31727 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; then
31731 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31742 if test $pkg_failed = yes; then
31744 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31745 _pkg_short_errors_supported
=yes
31747 _pkg_short_errors_supported
=no
31749 if test $_pkg_short_errors_supported = yes; then
31750 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31752 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31754 # Put the nasty error message in config.log where it belongs
31755 echo "$PANGOXFT_PKG_ERRORS" >&5
31758 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31759 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31762 elif test $pkg_failed = untried
; then
31764 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31765 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31769 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31770 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31771 { echo "$as_me:$LINENO: result: yes" >&5
31772 echo "${ECHO_T}yes" >&6; }
31774 cat >>confdefs.h
<<\_ACEOF
31775 #define HAVE_PANGO_XFT 1
31778 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31779 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31780 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31784 LIBS
="$LIBS $PANGOX_LIBS"
31786 for ac_func
in pango_font_family_is_monospace
31788 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31789 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31791 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31792 echo $ECHO_N "(cached) $ECHO_C" >&6
31794 cat >conftest.
$ac_ext <<_ACEOF
31797 cat confdefs.h
>>conftest.
$ac_ext
31798 cat >>conftest.
$ac_ext <<_ACEOF
31799 /* end confdefs.h. */
31800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31802 #define $ac_func innocuous_$ac_func
31804 /* System header to define __stub macros and hopefully few prototypes,
31805 which can conflict with char $ac_func (); below.
31806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31807 <limits.h> exists even on freestanding compilers. */
31810 # include <limits.h>
31812 # include <assert.h>
31817 /* Override any GCC internal prototype to avoid an error.
31818 Use char because int might match the return type of a GCC
31819 builtin and then its argument prototype would still apply. */
31824 /* The GNU C library defines this for functions which it implements
31825 to always fail with ENOSYS. Some functions are actually named
31826 something starting with __ and the normal name is an alias. */
31827 #if defined __stub_$ac_func || defined __stub___$ac_func
31834 return $ac_func ();
31839 rm -f conftest.
$ac_objext conftest
$ac_exeext
31840 if { (ac_try
="$ac_link"
31841 case "(($ac_try" in
31842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31843 *) ac_try_echo=$ac_try;;
31845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31846 (eval "$ac_link") 2>conftest.er1
31848 grep -v '^ *+' conftest.er1 >conftest.err
31850 cat conftest.err >&5
31851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31852 (exit $ac_status); } && {
31853 test -z "$ac_c_werror_flag" ||
31854 test ! -s conftest.err
31855 } && test -s conftest$ac_exeext &&
31856 $as_test_x conftest$ac_exeext; then
31857 eval "$as_ac_var=yes"
31859 echo "$as_me: failed program was:" >&5
31860 sed 's/^/| /' conftest.$ac_ext >&5
31862 eval "$as_ac_var=no"
31865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31866 conftest$ac_exeext conftest.$ac_ext
31868 ac_res=`eval echo '${'$as_ac_var'}'`
31869 { echo "$as_me:$LINENO: result: $ac_res" >&5
31870 echo "${ECHO_T}$ac_res" >&6; }
31871 if test `eval echo '${'$as_ac_var'}'` = yes; then
31872 cat >>confdefs.h <<_ACEOF
31873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31882 wxUSE_UNIVERSAL="yes"
31884 if test "$wxUSE_NANOX" = "yes"; then
31885 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31886 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"
31887 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31889 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31896 if test "$wxUSE_MOTIF" = 1; then
31897 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31898 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31901 for ac_dir in $SEARCH_INCLUDE /usr/include;
31903 if test -f "$ac_dir/Xm/Xm.h"; then
31904 ac_find_includes=$ac_dir
31909 if test "$ac_find_includes" != "" ; then
31910 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31911 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31913 if test "x$ac_find_includes" = "x/usr/include"; then
31914 ac_path_to_include=""
31916 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31918 if test $result = 0; then
31919 ac_path_to_include=""
31921 ac_path_to_include=" -I$ac_find_includes"
31925 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31927 save_CFLAGS=$CFLAGS
31928 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31930 cat >conftest.$ac_ext <<_ACEOF
31933 cat confdefs.h >>conftest.$ac_ext
31934 cat >>conftest.$ac_ext <<_ACEOF
31935 /* end confdefs.h. */
31944 version = xmUseVersion;
31950 rm -f conftest.$ac_objext
31951 if { (ac_try="$ac_compile"
31952 case "(($ac_try" in
31953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31954 *) ac_try_echo
=$ac_try;;
31956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31957 (eval "$ac_compile") 2>conftest.er1
31959 grep -v '^ *+' conftest.er1
>conftest.err
31961 cat conftest.err
>&5
31962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31963 (exit $ac_status); } && {
31964 test -z "$ac_c_werror_flag" ||
31965 test ! -s conftest.err
31966 } && test -s conftest.
$ac_objext; then
31968 { echo "$as_me:$LINENO: result: found in default search path" >&5
31969 echo "${ECHO_T}found in default search path" >&6; }
31970 COMPILED_X_PROGRAM
=1
31973 echo "$as_me: failed program was:" >&5
31974 sed 's/^/| /' conftest.
$ac_ext >&5
31977 { echo "$as_me:$LINENO: result: no" >&5
31978 echo "${ECHO_T}no" >&6; }
31979 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31980 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31981 { (exit 1); exit 1; }; }
31986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31988 CFLAGS
=$save_CFLAGS
31992 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31993 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31996 for ac_dir
in $SEARCH_LIB;
31998 for ac_extension
in a so sl dylib dll.a
; do
31999 if test -f "$ac_dir/libXm.$ac_extension"; then
32000 ac_find_libraries
=$ac_dir
32007 if test "x$ac_find_libraries" != "x" ; then
32008 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32009 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32012 if test "$ac_find_libraries" = "default location"; then
32015 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32017 if test $result = 0; then
32020 ac_path_to_link
=" -L$ac_find_libraries"
32024 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32026 save_CFLAGS
=$CFLAGS
32027 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32029 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32031 cat >conftest.
$ac_ext <<_ACEOF
32034 cat confdefs.h
>>conftest.
$ac_ext
32035 cat >>conftest.
$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32045 version = xmUseVersion;
32051 rm -f conftest.
$ac_objext conftest
$ac_exeext
32052 if { (ac_try
="$ac_link"
32053 case "(($ac_try" in
32054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32055 *) ac_try_echo=$ac_try;;
32057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32058 (eval "$ac_link") 2>conftest.er1
32060 grep -v '^ *+' conftest.er1 >conftest.err
32062 cat conftest.err >&5
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); } && {
32065 test -z "$ac_c_werror_flag" ||
32066 test ! -s conftest.err
32067 } && test -s conftest$ac_exeext &&
32068 $as_test_x conftest$ac_exeext; then
32070 { echo "$as_me:$LINENO: result: found in default search path" >&5
32071 echo "${ECHO_T}found in default search path" >&6; }
32072 COMPILED_X_PROGRAM=1
32075 echo "$as_me: failed program was:" >&5
32076 sed 's/^/| /' conftest.$ac_ext >&5
32079 { echo "$as_me:$LINENO: result: no" >&5
32080 echo "${ECHO_T}no" >&6; }
32081 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32082 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32083 { (exit 1); exit 1; }; }
32088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32089 conftest$ac_exeext conftest.$ac_ext
32091 CFLAGS=$save_CFLAGS
32095 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32096 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32100 for libp in "" " -lXp"; do
32101 if test "$libs_found" = 0; then
32102 for libsm_ice in "" " -lSM -lICE"; do
32103 if test "$libs_found" = 0; then
32105 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32106 save_CFLAGS=$CFLAGS
32107 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32109 cat >conftest.$ac_ext <<_ACEOF
32112 cat confdefs.h >>conftest.$ac_ext
32113 cat >>conftest.$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32117 #include <Xm/List.h>
32123 XmString string = NULL;
32126 XmListAddItem(w, string, position);
32132 rm -f conftest.$ac_objext conftest$ac_exeext
32133 if { (ac_try="$ac_link"
32134 case "(($ac_try" in
32135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32136 *) ac_try_echo
=$ac_try;;
32138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32139 (eval "$ac_link") 2>conftest.er1
32141 grep -v '^ *+' conftest.er1
>conftest.err
32143 cat conftest.err
>&5
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); } && {
32146 test -z "$ac_c_werror_flag" ||
32147 test ! -s conftest.err
32148 } && test -s conftest
$ac_exeext &&
32149 $as_test_x conftest
$ac_exeext; then
32152 libsm_ice_link
="$libsm_ice"
32153 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32154 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32158 echo "$as_me: failed program was:" >&5
32159 sed 's/^/| /' conftest.
$ac_ext >&5
32165 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32166 conftest
$ac_exeext conftest.
$ac_ext
32169 CFLAGS
=$save_CFLAGS
32175 if test "$libs_found" = 0; then
32176 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32177 echo "${ECHO_T}can't find the right libraries" >&6; }
32178 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32179 echo "$as_me: error: can't link a simple motif program" >&2;}
32180 { (exit 1); exit 1; }; }
32183 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32184 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32185 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32186 echo $ECHO_N "(cached) $ECHO_C" >&6
32188 ac_check_lib_save_LIBS
=$LIBS
32190 cat >conftest.
$ac_ext <<_ACEOF
32193 cat confdefs.h
>>conftest.
$ac_ext
32194 cat >>conftest.
$ac_ext <<_ACEOF
32195 /* end confdefs.h. */
32197 /* Override any GCC internal prototype to avoid an error.
32198 Use char because int might match the return type of a GCC
32199 builtin and then its argument prototype would still apply. */
32203 char SgCreateList ();
32207 return SgCreateList ();
32212 rm -f conftest.
$ac_objext conftest
$ac_exeext
32213 if { (ac_try
="$ac_link"
32214 case "(($ac_try" in
32215 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32216 *) ac_try_echo=$ac_try;;
32218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32219 (eval "$ac_link") 2>conftest.er1
32221 grep -v '^ *+' conftest.er1 >conftest.err
32223 cat conftest.err >&5
32224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32225 (exit $ac_status); } && {
32226 test -z "$ac_c_werror_flag" ||
32227 test ! -s conftest.err
32228 } && test -s conftest$ac_exeext &&
32229 $as_test_x conftest$ac_exeext; then
32230 ac_cv_lib_Sgm_SgCreateList=yes
32232 echo "$as_me: failed program was:" >&5
32233 sed 's/^/| /' conftest.$ac_ext >&5
32235 ac_cv_lib_Sgm_SgCreateList=no
32238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32239 conftest$ac_exeext conftest.$ac_ext
32240 LIBS=$ac_check_lib_save_LIBS
32242 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32243 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32244 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32245 libsgm_link=" -lSgm"
32249 save_CFLAGS=$CFLAGS
32250 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32252 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32253 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32254 if test "${wx_cv_lib_motif2+set}" = set; then
32255 echo $ECHO_N "(cached) $ECHO_C" >&6
32257 cat >conftest.$ac_ext <<_ACEOF
32260 cat confdefs.h >>conftest.$ac_ext
32261 cat >>conftest.$ac_ext <<_ACEOF
32262 /* end confdefs.h. */
32270 #if XmVersion < 2000
32278 rm -f conftest.$ac_objext
32279 if { (ac_try="$ac_compile"
32280 case "(($ac_try" in
32281 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32282 *) ac_try_echo
=$ac_try;;
32284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32285 (eval "$ac_compile") 2>conftest.er1
32287 grep -v '^ *+' conftest.er1
>conftest.err
32289 cat conftest.err
>&5
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); } && {
32292 test -z "$ac_c_werror_flag" ||
32293 test ! -s conftest.err
32294 } && test -s conftest.
$ac_objext; then
32295 wx_cv_lib_motif2
="yes"
32297 echo "$as_me: failed program was:" >&5
32298 sed 's/^/| /' conftest.
$ac_ext >&5
32300 wx_cv_lib_motif2
="no"
32303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32305 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32306 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32307 if test "$wx_cv_lib_motif2" = "yes"; then
32308 cat >>confdefs.h
<<\_ACEOF
32309 #define __WXMOTIF20__ 1
32313 cat >>confdefs.h
<<\_ACEOF
32314 #define __WXMOTIF20__ 0
32319 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32320 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32321 if test "${wx_cv_lib_lesstif+set}" = set; then
32322 echo $ECHO_N "(cached) $ECHO_C" >&6
32324 cat >conftest.
$ac_ext <<_ACEOF
32327 cat confdefs.h
>>conftest.
$ac_ext
32328 cat >>conftest.
$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32337 #if !defined(LesstifVersion) || LesstifVersion <= 0
32345 rm -f conftest.
$ac_objext
32346 if { (ac_try
="$ac_compile"
32347 case "(($ac_try" in
32348 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32349 *) ac_try_echo=$ac_try;;
32351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32352 (eval "$ac_compile") 2>conftest.er1
32354 grep -v '^ *+' conftest.er1 >conftest.err
32356 cat conftest.err >&5
32357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32358 (exit $ac_status); } && {
32359 test -z "$ac_c_werror_flag" ||
32360 test ! -s conftest.err
32361 } && test -s conftest.$ac_objext; then
32362 wx_cv_lib_lesstif="yes"
32364 echo "$as_me: failed program was:" >&5
32365 sed 's/^/| /' conftest.$ac_ext >&5
32367 wx_cv_lib_lesstif="no"
32370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32373 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32374 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32375 if test "$wx_cv_lib_lesstif" = "yes"; then
32376 cat >>confdefs.h <<\_ACEOF
32377 #define __WXLESSTIF__ 1
32381 cat >>confdefs.h <<\_ACEOF
32382 #define __WXLESSTIF__ 0
32387 CFLAGS=$save_CFLAGS
32389 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32394 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32395 if test "$wxUSE_LIBXPM" = "sys"; then
32396 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32397 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32400 for ac_dir in $SEARCH_LIB;
32402 for ac_extension in a so sl dylib dll.a; do
32403 if test -f "$ac_dir/libXpm.$ac_extension"; then
32404 ac_find_libraries=$ac_dir
32410 if test "$ac_find_libraries" != "" ; then
32412 if test "$ac_find_libraries" = "default location"; then
32415 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32417 if test $result = 0; then
32420 ac_path_to_link=" -L$ac_find_libraries"
32424 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32425 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32426 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32428 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32429 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32430 if test "${wx_cv_x11_xpm_h+set}" = set; then
32431 echo $ECHO_N "(cached) $ECHO_C" >&6
32434 save_CFLAGS=$CFLAGS
32435 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32437 cat >conftest.$ac_ext <<_ACEOF
32440 cat confdefs.h >>conftest.$ac_ext
32441 cat >>conftest.$ac_ext <<_ACEOF
32442 /* end confdefs.h. */
32444 #include <X11/xpm.h>
32451 version = XpmLibraryVersion();
32457 rm -f conftest.$ac_objext
32458 if { (ac_try="$ac_compile"
32459 case "(($ac_try" in
32460 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32461 *) ac_try_echo
=$ac_try;;
32463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32464 (eval "$ac_compile") 2>conftest.er1
32466 grep -v '^ *+' conftest.er1
>conftest.err
32468 cat conftest.err
>&5
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); } && {
32471 test -z "$ac_c_werror_flag" ||
32472 test ! -s conftest.err
32473 } && test -s conftest.
$ac_objext; then
32474 wx_cv_x11_xpm_h
=yes
32476 echo "$as_me: failed program was:" >&5
32477 sed 's/^/| /' conftest.
$ac_ext >&5
32483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32485 CFLAGS
=$save_CFLAGS
32489 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32490 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32492 if test $wx_cv_x11_xpm_h = "yes"; then
32493 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32494 cat >>confdefs.h
<<\_ACEOF
32495 #define wxHAVE_LIB_XPM 1
32499 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32500 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32506 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32507 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32508 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32509 echo $ECHO_N "(cached) $ECHO_C" >&6
32511 ac_check_lib_save_LIBS
=$LIBS
32512 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32513 cat >conftest.
$ac_ext <<_ACEOF
32516 cat confdefs.h
>>conftest.
$ac_ext
32517 cat >>conftest.
$ac_ext <<_ACEOF
32518 /* end confdefs.h. */
32520 /* Override any GCC internal prototype to avoid an error.
32521 Use char because int might match the return type of a GCC
32522 builtin and then its argument prototype would still apply. */
32526 char XShapeQueryExtension ();
32530 return XShapeQueryExtension ();
32535 rm -f conftest.
$ac_objext conftest
$ac_exeext
32536 if { (ac_try
="$ac_link"
32537 case "(($ac_try" in
32538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32539 *) ac_try_echo=$ac_try;;
32541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32542 (eval "$ac_link") 2>conftest.er1
32544 grep -v '^ *+' conftest.er1 >conftest.err
32546 cat conftest.err >&5
32547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32548 (exit $ac_status); } && {
32549 test -z "$ac_c_werror_flag" ||
32550 test ! -s conftest.err
32551 } && test -s conftest$ac_exeext &&
32552 $as_test_x conftest$ac_exeext; then
32553 ac_cv_lib_Xext_XShapeQueryExtension=yes
32555 echo "$as_me: failed program was:" >&5
32556 sed 's/^/| /' conftest.$ac_ext >&5
32558 ac_cv_lib_Xext_XShapeQueryExtension=no
32561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32562 conftest$ac_exeext conftest.$ac_ext
32563 LIBS=$ac_check_lib_save_LIBS
32565 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32566 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32567 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32569 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32575 if test "$wxHAVE_XEXT_LIB" = 1; then
32576 save_CFLAGS="$CFLAGS"
32577 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32579 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32580 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32581 cat >conftest.$ac_ext <<_ACEOF
32584 cat confdefs.h >>conftest.$ac_ext
32585 cat >>conftest.$ac_ext <<_ACEOF
32586 /* end confdefs.h. */
32588 #include <X11/Xlib.h>
32589 #include <X11/extensions/shape.h>
32595 int dummy1, dummy2;
32596 XShapeQueryExtension((Display*)NULL,
32597 (int*)NULL, (int*)NULL);
32603 rm -f conftest.$ac_objext
32604 if { (ac_try="$ac_compile"
32605 case "(($ac_try" in
32606 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32607 *) ac_try_echo
=$ac_try;;
32609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32610 (eval "$ac_compile") 2>conftest.er1
32612 grep -v '^ *+' conftest.er1
>conftest.err
32614 cat conftest.err
>&5
32615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32616 (exit $ac_status); } && {
32617 test -z "$ac_c_werror_flag" ||
32618 test ! -s conftest.err
32619 } && test -s conftest.
$ac_objext; then
32621 cat >>confdefs.h
<<\_ACEOF
32622 #define HAVE_XSHAPE 1
32625 { echo "$as_me:$LINENO: result: found" >&5
32626 echo "${ECHO_T}found" >&6; }
32629 echo "$as_me: failed program was:" >&5
32630 sed 's/^/| /' conftest.
$ac_ext >&5
32633 { echo "$as_me:$LINENO: result: not found" >&5
32634 echo "${ECHO_T}not found" >&6; }
32638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32639 CFLAGS
="$save_CFLAGS"
32644 if test "$wxUSE_OSX_CARBON" = 1; then
32645 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32646 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32647 if test "$GCC" = yes; then
32648 { echo "$as_me:$LINENO: result: gcc" >&5
32649 echo "${ECHO_T}gcc" >&6; }
32650 CPPFLAGS_PASCAL
="-fpascal-strings"
32651 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32652 { echo "$as_me:$LINENO: result: xlc" >&5
32653 echo "${ECHO_T}xlc" >&6; }
32654 CPPFLAGS_PASCAL
="-qmacpstr"
32656 { echo "$as_me:$LINENO: result: none" >&5
32657 echo "${ECHO_T}none" >&6; }
32660 if test "x$wxUSE_UNIX" = "xyes"; then
32661 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32663 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32667 GUIDIST
=OSX_CARBON_DIST
32668 WXBASEPORT
="_carbon"
32671 if test "$wxUSE_OSX_COCOA" = 1; then
32673 GUIDIST
=OSX_COCOA_DIST
32676 if test "$wxUSE_COCOA" = 1; then
32681 if test "$wxUSE_PM" = 1; then
32684 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32685 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32686 if test "${wx_cv_spbcdata+set}" = set; then
32687 echo $ECHO_N "(cached) $ECHO_C" >&6
32690 cat >conftest.
$ac_ext <<_ACEOF
32693 cat confdefs.h
>>conftest.
$ac_ext
32694 cat >>conftest.
$ac_ext <<_ACEOF
32695 /* end confdefs.h. */
32710 rm -f conftest.
$ac_objext
32711 if { (ac_try
="$ac_compile"
32712 case "(($ac_try" in
32713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32714 *) ac_try_echo=$ac_try;;
32716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32717 (eval "$ac_compile") 2>conftest.er1
32719 grep -v '^ *+' conftest.er1 >conftest.err
32721 cat conftest.err >&5
32722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32723 (exit $ac_status); } && {
32724 test -z "$ac_c_werror_flag" ||
32725 test ! -s conftest.err
32726 } && test -s conftest.$ac_objext; then
32729 echo "$as_me: failed program was:" >&5
32730 sed 's/^/| /' conftest.$ac_ext >&5
32736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32740 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32741 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32743 if test $wx_cv_spbcdata = "yes"; then
32744 cat >>confdefs.h <<\_ACEOF
32745 #define HAVE_SPBCDATA 1
32751 if test "$TOOLKIT" = "PM" ; then
32754 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32757 if test "$wxUSE_UNIVERSAL" = "yes"; then
32758 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32762 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32763 DISTDIR="wx\$(TOOLKIT)"
32769 if test "$USE_WIN32" = 1 ; then
32773 GUIDIST="BASE_DIST"
32779 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32780 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32781 wxUSE_UNICODE_UTF8=yes
32782 elif test "$USE_OS2" = 1 ; then
32783 wxUSE_UNICODE_UTF8=yes
32785 wxUSE_UNICODE_UTF8=no
32790 if test "$wxUSE_GUI" = "yes"; then
32791 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32793 for ac_header in X11/Xlib.h
32795 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32796 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32798 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32799 echo $ECHO_N "(cached) $ECHO_C" >&6
32801 cat >conftest.$ac_ext <<_ACEOF
32804 cat confdefs.h >>conftest.$ac_ext
32805 cat >>conftest.$ac_ext <<_ACEOF
32806 /* end confdefs.h. */
32809 #include <$ac_header>
32811 rm -f conftest.$ac_objext
32812 if { (ac_try="$ac_compile"
32813 case "(($ac_try" in
32814 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32815 *) ac_try_echo
=$ac_try;;
32817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32818 (eval "$ac_compile") 2>conftest.er1
32820 grep -v '^ *+' conftest.er1
>conftest.err
32822 cat conftest.err
>&5
32823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32824 (exit $ac_status); } && {
32825 test -z "$ac_c_werror_flag" ||
32826 test ! -s conftest.err
32827 } && test -s conftest.
$ac_objext; then
32828 eval "$as_ac_Header=yes"
32830 echo "$as_me: failed program was:" >&5
32831 sed 's/^/| /' conftest.
$ac_ext >&5
32833 eval "$as_ac_Header=no"
32836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32838 ac_res
=`eval echo '${'$as_ac_Header'}'`
32839 { echo "$as_me:$LINENO: result: $ac_res" >&5
32840 echo "${ECHO_T}$ac_res" >&6; }
32841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32842 cat >>confdefs.h
<<_ACEOF
32843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32851 for ac_header
in X
11/XKBlib.h
32853 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32854 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32856 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32857 echo $ECHO_N "(cached) $ECHO_C" >&6
32859 cat >conftest.
$ac_ext <<_ACEOF
32862 cat confdefs.h
>>conftest.
$ac_ext
32863 cat >>conftest.
$ac_ext <<_ACEOF
32864 /* end confdefs.h. */
32866 #if HAVE_X11_XLIB_H
32867 #include <X11/Xlib.h>
32871 #include <$ac_header>
32873 rm -f conftest.
$ac_objext
32874 if { (ac_try
="$ac_compile"
32875 case "(($ac_try" in
32876 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32877 *) ac_try_echo=$ac_try;;
32879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32880 (eval "$ac_compile") 2>conftest.er1
32882 grep -v '^ *+' conftest.er1 >conftest.err
32884 cat conftest.err >&5
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); } && {
32887 test -z "$ac_c_werror_flag" ||
32888 test ! -s conftest.err
32889 } && test -s conftest.$ac_objext; then
32890 eval "$as_ac_Header=yes"
32892 echo "$as_me: failed program was:" >&5
32893 sed 's/^/| /' conftest.$ac_ext >&5
32895 eval "$as_ac_Header=no"
32898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32900 ac_res=`eval echo '${'$as_ac_Header'}'`
32901 { echo "$as_me:$LINENO: result: $ac_res" >&5
32902 echo "${ECHO_T}$ac_res" >&6; }
32903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32904 cat >>confdefs.h <<_ACEOF
32905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32917 if test "$wxUSE_DISPLAY" = "yes"; then
32918 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32919 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32920 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32923 for ac_dir in $SEARCH_LIB;
32925 for ac_extension in a so sl dylib dll.a; do
32926 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32927 ac_find_libraries=$ac_dir
32933 if test "$ac_find_libraries" != "" ; then
32935 if test "$ac_find_libraries" = "default location"; then
32938 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32940 if test $result = 0; then
32943 ac_path_to_link=" -L$ac_find_libraries"
32947 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32948 LDFLAGS="$LDFLAGS $ac_path_to_link"
32950 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32951 { echo "$as_me:$LINENO: result: yes" >&5
32952 echo "${ECHO_T}yes" >&6; }
32954 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32955 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32958 for ac_dir in $SEARCH_LIB;
32960 for ac_extension in a so sl dylib dll.a; do
32961 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32962 ac_find_libraries=$ac_dir
32968 if test "$ac_find_libraries" != "" ; then
32969 { echo "$as_me:$LINENO: result: yes" >&5
32970 echo "${ECHO_T}yes" >&6; }
32972 for ac_header in X11/extensions/xf86vmode.h
32974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32975 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32978 echo $ECHO_N "(cached) $ECHO_C" >&6
32980 cat >conftest.$ac_ext <<_ACEOF
32983 cat confdefs.h >>conftest.$ac_ext
32984 cat >>conftest.$ac_ext <<_ACEOF
32985 /* end confdefs.h. */
32987 #if HAVE_X11_XLIB_H
32988 #include <X11/Xlib.h>
32992 #include <$ac_header>
32994 rm -f conftest.$ac_objext
32995 if { (ac_try="$ac_compile"
32996 case "(($ac_try" in
32997 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32998 *) ac_try_echo
=$ac_try;;
33000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33001 (eval "$ac_compile") 2>conftest.er1
33003 grep -v '^ *+' conftest.er1
>conftest.err
33005 cat conftest.err
>&5
33006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33007 (exit $ac_status); } && {
33008 test -z "$ac_c_werror_flag" ||
33009 test ! -s conftest.err
33010 } && test -s conftest.
$ac_objext; then
33011 eval "$as_ac_Header=yes"
33013 echo "$as_me: failed program was:" >&5
33014 sed 's/^/| /' conftest.
$ac_ext >&5
33016 eval "$as_ac_Header=no"
33019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33021 ac_res
=`eval echo '${'$as_ac_Header'}'`
33022 { echo "$as_me:$LINENO: result: $ac_res" >&5
33023 echo "${ECHO_T}$ac_res" >&6; }
33024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33025 cat >>confdefs.h
<<_ACEOF
33026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33029 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33036 { echo "$as_me:$LINENO: result: no" >&5
33037 echo "${ECHO_T}no" >&6; }
33041 { echo "$as_me:$LINENO: result: no" >&5
33042 echo "${ECHO_T}no" >&6; }
33043 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33044 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33047 elif test "$wxUSE_MSW" = 1; then
33048 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33049 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33050 if test "${ac_cv_header_ddraw_h+set}" = set; then
33051 echo $ECHO_N "(cached) $ECHO_C" >&6
33053 cat >conftest.
$ac_ext <<_ACEOF
33056 cat confdefs.h
>>conftest.
$ac_ext
33057 cat >>conftest.
$ac_ext <<_ACEOF
33058 /* end confdefs.h. */
33059 #include <windows.h>
33063 rm -f conftest.
$ac_objext
33064 if { (ac_try
="$ac_compile"
33065 case "(($ac_try" in
33066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33067 *) ac_try_echo=$ac_try;;
33069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33070 (eval "$ac_compile") 2>conftest.er1
33072 grep -v '^ *+' conftest.er1 >conftest.err
33074 cat conftest.err >&5
33075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33076 (exit $ac_status); } && {
33077 test -z "$ac_c_werror_flag" ||
33078 test ! -s conftest.err
33079 } && test -s conftest.$ac_objext; then
33080 ac_cv_header_ddraw_h=yes
33082 echo "$as_me: failed program was:" >&5
33083 sed 's/^/| /' conftest.$ac_ext >&5
33085 ac_cv_header_ddraw_h=no
33088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33090 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33091 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33097 if test "$wxUSE_DETECT_SM" = "yes"; then
33098 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33099 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33100 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33103 for ac_dir in $SEARCH_LIB;
33105 for ac_extension in a so sl dylib dll.a; do
33106 if test -f "$ac_dir/libSM.$ac_extension"; then
33107 ac_find_libraries=$ac_dir
33113 if test "$ac_find_libraries" != "" ; then
33115 if test "$ac_find_libraries" = "default location"; then
33118 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33120 if test $result = 0; then
33123 ac_path_to_link=" -L$ac_find_libraries"
33127 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33128 LDFLAGS="$LDFLAGS $ac_path_to_link"
33130 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33131 { echo "$as_me:$LINENO: result: yes" >&5
33132 echo "${ECHO_T}yes" >&6; }
33134 { echo "$as_me:$LINENO: result: no" >&5
33135 echo "${ECHO_T}no" >&6; }
33136 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33137 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33138 wxUSE_DETECT_SM="no"
33141 wxUSE_DETECT_SM="no"
33148 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33151 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33152 OPENGL_LIBS="-framework OpenGL -framework AGL"
33153 elif test "$wxUSE_MSW" = 1; then
33154 OPENGL_LIBS="-lopengl32 -lglu32"
33155 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33157 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33158 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33161 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33163 if test -f "$ac_dir/GL/gl.h"; then
33164 ac_find_includes=$ac_dir
33169 if test "$ac_find_includes" != "" ; then
33170 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33171 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33173 if test "x$ac_find_includes" = "x/usr/include"; then
33174 ac_path_to_include=""
33176 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33178 if test $result = 0; then
33179 ac_path_to_include=""
33181 ac_path_to_include=" -I$ac_find_includes"
33185 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33187 { echo "$as_me:$LINENO: result: not found" >&5
33188 echo "${ECHO_T}not found" >&6; }
33191 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33192 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33193 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33194 echo $ECHO_N "(cached) $ECHO_C" >&6
33196 cat >conftest.$ac_ext <<_ACEOF
33199 cat confdefs.h >>conftest.$ac_ext
33200 cat >>conftest.$ac_ext <<_ACEOF
33201 /* end confdefs.h. */
33206 rm -f conftest.$ac_objext
33207 if { (ac_try="$ac_compile"
33208 case "(($ac_try" in
33209 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33210 *) ac_try_echo
=$ac_try;;
33212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33213 (eval "$ac_compile") 2>conftest.er1
33215 grep -v '^ *+' conftest.er1
>conftest.err
33217 cat conftest.err
>&5
33218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33219 (exit $ac_status); } && {
33220 test -z "$ac_c_werror_flag" ||
33221 test ! -s conftest.err
33222 } && test -s conftest.
$ac_objext; then
33223 ac_cv_header_GL_gl_h
=yes
33225 echo "$as_me: failed program was:" >&5
33226 sed 's/^/| /' conftest.
$ac_ext >&5
33228 ac_cv_header_GL_gl_h
=no
33231 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33233 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33234 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33235 if test $ac_cv_header_GL_gl_h = yes; then
33237 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33238 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33239 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33240 echo $ECHO_N "(cached) $ECHO_C" >&6
33242 cat >conftest.
$ac_ext <<_ACEOF
33245 cat confdefs.h
>>conftest.
$ac_ext
33246 cat >>conftest.
$ac_ext <<_ACEOF
33247 /* end confdefs.h. */
33250 #include <GL/glu.h>
33252 rm -f conftest.
$ac_objext
33253 if { (ac_try
="$ac_compile"
33254 case "(($ac_try" in
33255 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33256 *) ac_try_echo=$ac_try;;
33258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33259 (eval "$ac_compile") 2>conftest.er1
33261 grep -v '^ *+' conftest.er1 >conftest.err
33263 cat conftest.err >&5
33264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33265 (exit $ac_status); } && {
33266 test -z "$ac_c_werror_flag" ||
33267 test ! -s conftest.err
33268 } && test -s conftest.$ac_objext; then
33269 ac_cv_header_GL_glu_h=yes
33271 echo "$as_me: failed program was:" >&5
33272 sed 's/^/| /' conftest.$ac_ext >&5
33274 ac_cv_header_GL_glu_h=no
33277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33279 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33280 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33281 if test $ac_cv_header_GL_glu_h = yes; then
33285 { echo "$as_me:$LINENO: checking for -lGL" >&5
33286 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33289 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33291 for ac_extension in a so sl dylib dll.a; do
33292 if test -f "$ac_dir/libGL.$ac_extension"; then
33293 ac_find_libraries=$ac_dir
33299 if test "$ac_find_libraries" != "" ; then
33300 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33301 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33304 if test "$ac_find_libraries" = "default location"; then
33307 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33309 if test $result = 0; then
33312 ac_path_to_link=" -L$ac_find_libraries"
33316 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33317 LDFLAGS_GL="$ac_path_to_link"
33320 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33321 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33324 for ac_dir in $SEARCH_LIB;
33326 for ac_extension in a so sl dylib dll.a; do
33327 if test -f "$ac_dir/libGLU.$ac_extension"; then
33328 ac_find_libraries=$ac_dir
33334 if test "$ac_find_libraries" != "" ; then
33336 if test "$ac_find_libraries" = "default location"; then
33339 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33341 if test $result = 0; then
33344 ac_path_to_link=" -L$ac_find_libraries"
33348 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33349 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33350 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33354 OPENGL_LIBS="-lGL -lGLU"
33355 { echo "$as_me:$LINENO: result: yes" >&5
33356 echo "${ECHO_T}yes" >&6; }
33358 { echo "$as_me:$LINENO: result: no" >&5
33359 echo "${ECHO_T}no" >&6; }
33362 { echo "$as_me:$LINENO: result: no" >&5
33363 echo "${ECHO_T}no" >&6; }
33366 if test "$found_gl" != 1; then
33367 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33368 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33371 for ac_dir in $SEARCH_LIB;
33373 for ac_extension in a so sl dylib dll.a; do
33374 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33375 ac_find_libraries=$ac_dir
33381 if test "$ac_find_libraries" != "" ; then
33383 if test "$ac_find_libraries" = "default location"; then
33386 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33388 if test $result = 0; then
33391 ac_path_to_link=" -L$ac_find_libraries"
33395 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33396 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33397 { echo "$as_me:$LINENO: result: yes" >&5
33398 echo "${ECHO_T}yes" >&6; }
33400 { echo "$as_me:$LINENO: result: no" >&5
33401 echo "${ECHO_T}no" >&6; }
33413 if test "x$OPENGL_LIBS" = "x"; then
33414 if test "$wxUSE_OPENGL" = "yes"; then
33415 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33416 echo "$as_me: error: OpenGL libraries not available" >&2;}
33417 { (exit 1); exit 1; }; }
33419 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33420 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33426 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33427 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33431 if test "$wxUSE_OPENGL" = "auto"; then
33435 if test "$wxUSE_OPENGL" = "yes"; then
33437 cat >>confdefs.h <<\_ACEOF
33438 #define wxUSE_OPENGL 1
33441 cat >>confdefs.h <<\_ACEOF
33442 #define wxUSE_GLCANVAS 1
33445 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33450 if test -n "$TOOLKIT" ; then
33451 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33456 if test "$wxUSE_SHARED" = "yes"; then
33460 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33461 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33466 if test "$wxUSE_SHARED" = "yes"; then
33470 *-*-cygwin* | *-*-mingw* )
33471 wx_cv_version_script=no
33475 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33476 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33477 if test "${wx_cv_version_script+set}" = set; then
33478 echo $ECHO_N "(cached) $ECHO_C" >&6
33481 echo "VER_1 { *; };" >conftest.sym
33482 echo "int main() { return 0; }" >conftest.cpp
33485 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33486 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33488 (eval $ac_try) 2>&5
33490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33491 (exit $ac_status); }; } ; then
33492 if test -s conftest.stderr ; then
33493 wx_cv_version_script=no
33495 wx_cv_version_script=yes
33498 wx_cv_version_script=no
33501 if test $wx_cv_version_script = yes
33503 echo "struct B { virtual ~B() { } }; \
33504 struct D : public B { }; \
33505 void F() { D d; }" > conftest.cpp
33508 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33509 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33511 (eval $ac_try) 2>&5
33513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33514 (exit $ac_status); }; } &&
33516 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33517 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33519 (eval $ac_try) 2>&5
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); }; }
33525 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33526 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/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 wx_cv_version_script=yes
33535 wx_cv_version_script=no
33540 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33541 rm -f conftest1.output conftest2.output conftest3.output
33544 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33545 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33547 if test $wx_cv_version_script = yes ; then
33548 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33554 if test "$wxUSE_VISIBILITY" != "no"; then
33557 if test -n "$GCC"; then
33558 CFLAGS_VISIBILITY="-fvisibility=hidden"
33559 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33560 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33561 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33562 if test "${wx_cv_cc_visibility+set}" = set; then
33563 echo $ECHO_N "(cached) $ECHO_C" >&6
33566 wx_save_CXXFLAGS="$CXXFLAGS"
33567 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33569 ac_cpp='$CXXCPP $CPPFLAGS'
33570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33574 cat >conftest.$ac_ext <<_ACEOF
33577 cat confdefs.h >>conftest.$ac_ext
33578 cat >>conftest.$ac_ext <<_ACEOF
33579 /* end confdefs.h. */
33581 /* we need gcc >= 4.0, older versions with visibility support
33582 didn't have class visibility: */
33583 #if defined(__GNUC__) && __GNUC__ < 4
33584 error this gcc is too old;
33587 /* visibility only makes sense for ELF shared libs: */
33588 #if !defined(__ELF__) && !defined(__APPLE__)
33589 error this platform has no visibility;
33592 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33593 extern __attribute__((__visibility__("default"))) int exportedvar;
33594 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33595 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33596 class __attribute__((__visibility__("default"))) Foo {
33608 rm -f conftest.$ac_objext
33609 if { (ac_try="$ac_compile"
33610 case "(($ac_try" in
33611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33612 *) ac_try_echo
=$ac_try;;
33614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33615 (eval "$ac_compile") 2>conftest.er1
33617 grep -v '^ *+' conftest.er1
>conftest.err
33619 cat conftest.err
>&5
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); } && {
33622 test -z "$ac_cxx_werror_flag" ||
33623 test ! -s conftest.err
33624 } && test -s conftest.
$ac_objext; then
33625 wx_cv_cc_visibility
=yes
33627 echo "$as_me: failed program was:" >&5
33628 sed 's/^/| /' conftest.
$ac_ext >&5
33630 wx_cv_cc_visibility
=no
33633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33635 ac_cpp
='$CPP $CPPFLAGS'
33636 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33637 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33638 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33640 CXXFLAGS
="$wx_save_CXXFLAGS"
33643 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33644 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33645 if test $wx_cv_cc_visibility = yes; then
33646 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33647 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33648 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33649 echo $ECHO_N "(cached) $ECHO_C" >&6
33652 wx_save_CXXFLAGS
="$CXXFLAGS"
33653 wx_save_LDFLAGS
="$LDFLAGS"
33654 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33655 LDFLAGS
="$LDFLAGS -shared -fPIC"
33657 ac_cpp
='$CXXCPP $CPPFLAGS'
33658 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33659 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33660 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33662 cat >conftest.
$ac_ext <<_ACEOF
33665 cat confdefs.h
>>conftest.
$ac_ext
33666 cat >>conftest.
$ac_ext <<_ACEOF
33667 /* end confdefs.h. */
33675 std::string s("hello");
33682 rm -f conftest.
$ac_objext conftest
$ac_exeext
33683 if { (ac_try
="$ac_link"
33684 case "(($ac_try" in
33685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33686 *) ac_try_echo=$ac_try;;
33688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33689 (eval "$ac_link") 2>conftest.er1
33691 grep -v '^ *+' conftest.er1 >conftest.err
33693 cat conftest.err >&5
33694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33695 (exit $ac_status); } && {
33696 test -z "$ac_cxx_werror_flag" ||
33697 test ! -s conftest.err
33698 } && test -s conftest$ac_exeext &&
33699 $as_test_x conftest$ac_exeext; then
33700 wx_cv_cc_broken_libstdcxx_visibility=no
33702 echo "$as_me: failed program was:" >&5
33703 sed 's/^/| /' conftest.$ac_ext >&5
33705 wx_cv_cc_broken_libstdcxx_visibility=yes
33708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33709 conftest$ac_exeext conftest.$ac_ext
33711 ac_cpp='$CPP $CPPFLAGS'
33712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33716 CXXFLAGS="$wx_save_CXXFLAGS"
33717 LDFLAGS="$wx_save_LDFLAGS"
33720 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33721 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33723 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33724 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33725 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33726 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33727 echo $ECHO_N "(cached) $ECHO_C" >&6
33731 ac_cpp='$CXXCPP $CPPFLAGS'
33732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33736 cat >conftest.$ac_ext <<_ACEOF
33739 cat confdefs.h >>conftest.$ac_ext
33740 cat >>conftest.$ac_ext <<_ACEOF
33741 /* end confdefs.h. */
33743 #pragma GCC visibility push(default)
33745 #pragma GCC visibility pop
33751 std::string s("hello");
33758 rm -f conftest.$ac_objext conftest$ac_exeext
33759 if { (ac_try="$ac_link"
33760 case "(($ac_try" in
33761 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33762 *) ac_try_echo
=$ac_try;;
33764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33765 (eval "$ac_link") 2>conftest.er1
33767 grep -v '^ *+' conftest.er1
>conftest.err
33769 cat conftest.err
>&5
33770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33771 (exit $ac_status); } && {
33772 test -z "$ac_cxx_werror_flag" ||
33773 test ! -s conftest.err
33774 } && test -s conftest
$ac_exeext &&
33775 $as_test_x conftest
$ac_exeext; then
33776 wx_cv_cc_visibility_workaround
=no
33778 echo "$as_me: failed program was:" >&5
33779 sed 's/^/| /' conftest.
$ac_ext >&5
33781 wx_cv_cc_visibility_workaround
=yes
33784 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33785 conftest
$ac_exeext conftest.
$ac_ext
33787 ac_cpp
='$CPP $CPPFLAGS'
33788 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33789 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33790 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33795 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33796 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33798 if test $wx_cv_cc_visibility_workaround = no
; then
33799 wx_cv_cc_visibility
=no
33804 if test $wx_cv_cc_visibility = yes; then
33805 cat >>confdefs.h
<<\_ACEOF
33806 #define HAVE_VISIBILITY 1
33809 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33810 cat >>confdefs.h
<<\_ACEOF
33811 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33816 CFLAGS_VISIBILITY
=""
33817 CXXFLAGS_VISIBILITY
=""
33825 if test "x$SUNCXX" = xyes
; then
33826 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33827 WXCONFIG_RPATH
="-R\$libdir"
33830 *-*-linux* | *-*-gnu* )
33831 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33832 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33837 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33839 saveLdflags
="$LDFLAGS"
33840 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33841 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33842 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33843 cat >conftest.
$ac_ext <<_ACEOF
33846 cat confdefs.h
>>conftest.
$ac_ext
33847 cat >>conftest.
$ac_ext <<_ACEOF
33848 /* end confdefs.h. */
33858 rm -f conftest.
$ac_objext conftest
$ac_exeext
33859 if { (ac_try
="$ac_link"
33860 case "(($ac_try" in
33861 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33862 *) ac_try_echo=$ac_try;;
33864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33865 (eval "$ac_link") 2>conftest.er1
33867 grep -v '^ *+' conftest.er1 >conftest.err
33869 cat conftest.err >&5
33870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33871 (exit $ac_status); } && {
33872 test -z "$ac_c_werror_flag" ||
33873 test ! -s conftest.err
33874 } && test -s conftest$ac_exeext &&
33875 $as_test_x conftest$ac_exeext; then
33877 { echo "$as_me:$LINENO: result: yes" >&5
33878 echo "${ECHO_T}yes" >&6; }
33879 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33880 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33883 echo "$as_me: failed program was:" >&5
33884 sed 's/^/| /' conftest.$ac_ext >&5
33887 { echo "$as_me:$LINENO: result: no" >&5
33888 echo "${ECHO_T}no" >&6; }
33889 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33890 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33891 LDFLAGS="$saveLdflags -Wl,-R,/"
33892 cat >conftest.$ac_ext <<_ACEOF
33895 cat confdefs.h >>conftest.$ac_ext
33896 cat >>conftest.$ac_ext <<_ACEOF
33897 /* end confdefs.h. */
33907 rm -f conftest.$ac_objext conftest$ac_exeext
33908 if { (ac_try="$ac_link"
33909 case "(($ac_try" in
33910 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33911 *) ac_try_echo
=$ac_try;;
33913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33914 (eval "$ac_link") 2>conftest.er1
33916 grep -v '^ *+' conftest.er1
>conftest.err
33918 cat conftest.err
>&5
33919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33920 (exit $ac_status); } && {
33921 test -z "$ac_c_werror_flag" ||
33922 test ! -s conftest.err
33923 } && test -s conftest
$ac_exeext &&
33924 $as_test_x conftest
$ac_exeext; then
33926 { echo "$as_me:$LINENO: result: yes" >&5
33927 echo "${ECHO_T}yes" >&6; }
33928 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33929 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33932 echo "$as_me: failed program was:" >&5
33933 sed 's/^/| /' conftest.
$ac_ext >&5
33936 { echo "$as_me:$LINENO: result: no" >&5
33937 echo "${ECHO_T}no" >&6; }
33941 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33942 conftest
$ac_exeext conftest.
$ac_ext
33946 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33947 conftest
$ac_exeext conftest.
$ac_ext
33948 LDFLAGS
="$saveLdflags"
33952 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
33953 if test "$install_name_tool" -a -x "$install_name_tool"; then
33954 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
33955 cat <<EOF >change-install-names
33957 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33958 for i in \${libnames} ; do
33959 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
33960 for dep in \${libnames} ; do
33961 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
33965 chmod +x change
-install-names
33966 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
33969 HEADER_PAD_OPTION
="-headerpad_max_install_names"
33972 *-*-cygwin* | *-*-mingw32* )
33976 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33977 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33983 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33985 if test $wxUSE_RPATH = "no"; then
33986 SAMPLES_RPATH_FLAG
=''
33987 DYLIB_PATH_POSTLINK
=''
33995 config_linkage_component
="-static"
34002 lib_unicode_suffix
=
34004 if test "$wxUSE_UNICODE" = "yes"; then
34005 lib_unicode_suffix
=u
34006 WX_CHARTYPE
="unicode"
34010 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34011 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34014 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34018 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34020 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34022 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34025 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34026 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34028 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34030 if test "${TOOLKIT_DIR}" = "os2"; then
34031 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34033 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34038 if test "$wxUSE_COCOA" = 1; then
34041 ac_cpp
='$CPP $CPPFLAGS'
34042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34048 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34049 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34050 cat >conftest.
$ac_ext <<_ACEOF
34053 cat confdefs.h
>>conftest.
$ac_ext
34054 cat >>conftest.
$ac_ext <<_ACEOF
34055 /* end confdefs.h. */
34056 #include <AppKit/NSEvent.h>
34057 #include <CoreFoundation/CoreFoundation.h>
34067 rm -f conftest.
$ac_objext
34068 if { (ac_try
="$ac_compile"
34069 case "(($ac_try" in
34070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34071 *) ac_try_echo=$ac_try;;
34073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34074 (eval "$ac_compile") 2>conftest.er1
34076 grep -v '^ *+' conftest.er1 >conftest.err
34078 cat conftest.err >&5
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); } && {
34081 test -z "$ac_c_werror_flag" ||
34082 test ! -s conftest.err
34083 } && test -s conftest.$ac_objext; then
34084 { echo "$as_me:$LINENO: result: no" >&5
34085 echo "${ECHO_T}no" >&6; }
34087 echo "$as_me: failed program was:" >&5
34088 sed 's/^/| /' conftest.$ac_ext >&5
34090 { echo "$as_me:$LINENO: result: yes" >&5
34091 echo "${ECHO_T}yes" >&6; }
34092 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34093 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34094 cat >conftest.$ac_ext <<_ACEOF
34097 cat confdefs.h >>conftest.$ac_ext
34098 cat >>conftest.$ac_ext <<_ACEOF
34099 /* end confdefs.h. */
34100 #define __Point__ 1
34101 #include <AppKit/NSEvent.h>
34102 #include <CoreFoundation/CoreFoundation.h>
34112 rm -f conftest.$ac_objext
34113 if { (ac_try="$ac_compile"
34114 case "(($ac_try" in
34115 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34116 *) ac_try_echo
=$ac_try;;
34118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34119 (eval "$ac_compile") 2>conftest.er1
34121 grep -v '^ *+' conftest.er1
>conftest.err
34123 cat conftest.err
>&5
34124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34125 (exit $ac_status); } && {
34126 test -z "$ac_c_werror_flag" ||
34127 test ! -s conftest.err
34128 } && test -s conftest.
$ac_objext; then
34129 { echo "$as_me:$LINENO: result: yes" >&5
34130 echo "${ECHO_T}yes" >&6; }
34131 cat >>confdefs.h
<<\_ACEOF
34132 #define __Point__ 1
34137 echo "$as_me: failed program was:" >&5
34138 sed 's/^/| /' conftest.
$ac_ext >&5
34140 { { echo "$as_me:$LINENO: error: no
34141 See \`config.log' for more details." >&5
34142 echo "$as_me: error: no
34143 See \`config.log' for more details." >&2;}
34144 { (exit 1); exit 1; }; }
34148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34154 ac_cpp
='$CPP $CPPFLAGS'
34155 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34156 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34157 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34162 { echo "$as_me:$LINENO: checking for mode_t" >&5
34163 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34164 if test "${ac_cv_type_mode_t+set}" = set; then
34165 echo $ECHO_N "(cached) $ECHO_C" >&6
34167 cat >conftest.
$ac_ext <<_ACEOF
34170 cat confdefs.h
>>conftest.
$ac_ext
34171 cat >>conftest.
$ac_ext <<_ACEOF
34172 /* end confdefs.h. */
34173 $ac_includes_default
34174 typedef mode_t ac__type_new_;
34178 if ((ac__type_new_ *) 0)
34180 if (sizeof (ac__type_new_))
34186 rm -f conftest.
$ac_objext
34187 if { (ac_try
="$ac_compile"
34188 case "(($ac_try" in
34189 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34190 *) ac_try_echo=$ac_try;;
34192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34193 (eval "$ac_compile") 2>conftest.er1
34195 grep -v '^ *+' conftest.er1 >conftest.err
34197 cat conftest.err >&5
34198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34199 (exit $ac_status); } && {
34200 test -z "$ac_c_werror_flag" ||
34201 test ! -s conftest.err
34202 } && test -s conftest.$ac_objext; then
34203 ac_cv_type_mode_t=yes
34205 echo "$as_me: failed program was:" >&5
34206 sed 's/^/| /' conftest.$ac_ext >&5
34208 ac_cv_type_mode_t=no
34211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34213 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34214 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34215 if test $ac_cv_type_mode_t = yes; then
34219 cat >>confdefs.h <<_ACEOF
34225 { echo "$as_me:$LINENO: checking for off_t" >&5
34226 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34227 if test "${ac_cv_type_off_t+set}" = set; then
34228 echo $ECHO_N "(cached) $ECHO_C" >&6
34230 cat >conftest.$ac_ext <<_ACEOF
34233 cat confdefs.h >>conftest.$ac_ext
34234 cat >>conftest.$ac_ext <<_ACEOF
34235 /* end confdefs.h. */
34236 $ac_includes_default
34237 typedef off_t ac__type_new_;
34241 if ((ac__type_new_ *) 0)
34243 if (sizeof (ac__type_new_))
34249 rm -f conftest.$ac_objext
34250 if { (ac_try="$ac_compile"
34251 case "(($ac_try" in
34252 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34253 *) ac_try_echo
=$ac_try;;
34255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34256 (eval "$ac_compile") 2>conftest.er1
34258 grep -v '^ *+' conftest.er1
>conftest.err
34260 cat conftest.err
>&5
34261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34262 (exit $ac_status); } && {
34263 test -z "$ac_c_werror_flag" ||
34264 test ! -s conftest.err
34265 } && test -s conftest.
$ac_objext; then
34266 ac_cv_type_off_t
=yes
34268 echo "$as_me: failed program was:" >&5
34269 sed 's/^/| /' conftest.
$ac_ext >&5
34271 ac_cv_type_off_t
=no
34274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34276 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34277 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34278 if test $ac_cv_type_off_t = yes; then
34282 cat >>confdefs.h
<<_ACEOF
34283 #define off_t long int
34288 { echo "$as_me:$LINENO: checking for pid_t" >&5
34289 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34290 if test "${ac_cv_type_pid_t+set}" = set; then
34291 echo $ECHO_N "(cached) $ECHO_C" >&6
34293 cat >conftest.
$ac_ext <<_ACEOF
34296 cat confdefs.h
>>conftest.
$ac_ext
34297 cat >>conftest.
$ac_ext <<_ACEOF
34298 /* end confdefs.h. */
34299 $ac_includes_default
34300 typedef pid_t ac__type_new_;
34304 if ((ac__type_new_ *) 0)
34306 if (sizeof (ac__type_new_))
34312 rm -f conftest.
$ac_objext
34313 if { (ac_try
="$ac_compile"
34314 case "(($ac_try" in
34315 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34316 *) ac_try_echo=$ac_try;;
34318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34319 (eval "$ac_compile") 2>conftest.er1
34321 grep -v '^ *+' conftest.er1 >conftest.err
34323 cat conftest.err >&5
34324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34325 (exit $ac_status); } && {
34326 test -z "$ac_c_werror_flag" ||
34327 test ! -s conftest.err
34328 } && test -s conftest.$ac_objext; then
34329 ac_cv_type_pid_t=yes
34331 echo "$as_me: failed program was:" >&5
34332 sed 's/^/| /' conftest.$ac_ext >&5
34334 ac_cv_type_pid_t=no
34337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34339 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34340 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34341 if test $ac_cv_type_pid_t = yes; then
34345 cat >>confdefs.h <<_ACEOF
34351 { echo "$as_me:$LINENO: checking for size_t" >&5
34352 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34353 if test "${ac_cv_type_size_t+set}" = set; then
34354 echo $ECHO_N "(cached) $ECHO_C" >&6
34356 cat >conftest.$ac_ext <<_ACEOF
34359 cat confdefs.h >>conftest.$ac_ext
34360 cat >>conftest.$ac_ext <<_ACEOF
34361 /* end confdefs.h. */
34362 $ac_includes_default
34363 typedef size_t ac__type_new_;
34367 if ((ac__type_new_ *) 0)
34369 if (sizeof (ac__type_new_))
34375 rm -f conftest.$ac_objext
34376 if { (ac_try="$ac_compile"
34377 case "(($ac_try" in
34378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34379 *) ac_try_echo
=$ac_try;;
34381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34382 (eval "$ac_compile") 2>conftest.er1
34384 grep -v '^ *+' conftest.er1
>conftest.err
34386 cat conftest.err
>&5
34387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34388 (exit $ac_status); } && {
34389 test -z "$ac_c_werror_flag" ||
34390 test ! -s conftest.err
34391 } && test -s conftest.
$ac_objext; then
34392 ac_cv_type_size_t
=yes
34394 echo "$as_me: failed program was:" >&5
34395 sed 's/^/| /' conftest.
$ac_ext >&5
34397 ac_cv_type_size_t
=no
34400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34402 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34403 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34404 if test $ac_cv_type_size_t = yes; then
34408 cat >>confdefs.h
<<_ACEOF
34409 #define size_t unsigned int
34415 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34416 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34417 if test "${ac_cv_type_ssize_t+set}" = set; then
34418 echo $ECHO_N "(cached) $ECHO_C" >&6
34420 cat >conftest.
$ac_ext <<_ACEOF
34423 cat confdefs.h
>>conftest.
$ac_ext
34424 cat >>conftest.
$ac_ext <<_ACEOF
34425 /* end confdefs.h. */
34426 $ac_includes_default
34427 typedef ssize_t ac__type_new_;
34431 if ((ac__type_new_ *) 0)
34433 if (sizeof (ac__type_new_))
34439 rm -f conftest.
$ac_objext
34440 if { (ac_try
="$ac_compile"
34441 case "(($ac_try" in
34442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34443 *) ac_try_echo=$ac_try;;
34445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34446 (eval "$ac_compile") 2>conftest.er1
34448 grep -v '^ *+' conftest.er1 >conftest.err
34450 cat conftest.err >&5
34451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452 (exit $ac_status); } && {
34453 test -z "$ac_c_werror_flag" ||
34454 test ! -s conftest.err
34455 } && test -s conftest.$ac_objext; then
34456 ac_cv_type_ssize_t=yes
34458 echo "$as_me: failed program was:" >&5
34459 sed 's/^/| /' conftest.$ac_ext >&5
34461 ac_cv_type_ssize_t=no
34464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34466 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34467 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34468 if test $ac_cv_type_ssize_t = yes; then
34470 cat >>confdefs.h <<_ACEOF
34471 #define HAVE_SSIZE_T 1
34479 ac_cpp='$CXXCPP $CPPFLAGS'
34480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34483 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34484 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34485 if test "${wx_cv_size_t_is_uint+set}" = set; then
34486 echo $ECHO_N "(cached) $ECHO_C" >&6
34489 cat >conftest.$ac_ext <<_ACEOF
34492 cat confdefs.h >>conftest.$ac_ext
34493 cat >>conftest.$ac_ext <<_ACEOF
34494 /* end confdefs.h. */
34495 #include <stddef.h>
34502 struct Foo { void foo(size_t); void foo(unsigned int); };
34510 rm -f conftest.$ac_objext
34511 if { (ac_try="$ac_compile"
34512 case "(($ac_try" in
34513 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34514 *) ac_try_echo
=$ac_try;;
34516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34517 (eval "$ac_compile") 2>conftest.er1
34519 grep -v '^ *+' conftest.er1
>conftest.err
34521 cat conftest.err
>&5
34522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 (exit $ac_status); } && {
34524 test -z "$ac_cxx_werror_flag" ||
34525 test ! -s conftest.err
34526 } && test -s conftest.
$ac_objext; then
34527 wx_cv_size_t_is_uint
=no
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.
$ac_ext >&5
34532 wx_cv_size_t_is_uint
=yes
34536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34540 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34541 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34543 if test "$wx_cv_size_t_is_uint" = "yes"; then
34544 cat >>confdefs.h
<<\_ACEOF
34545 #define wxSIZE_T_IS_UINT 1
34549 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34550 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34551 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34552 echo $ECHO_N "(cached) $ECHO_C" >&6
34554 cat >conftest.
$ac_ext <<_ACEOF
34557 cat confdefs.h
>>conftest.
$ac_ext
34558 cat >>conftest.
$ac_ext <<_ACEOF
34559 /* end confdefs.h. */
34560 #include <stddef.h>
34567 struct Foo { void foo(size_t); void foo(unsigned long); };
34575 rm -f conftest.
$ac_objext
34576 if { (ac_try
="$ac_compile"
34577 case "(($ac_try" in
34578 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34579 *) ac_try_echo=$ac_try;;
34581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34582 (eval "$ac_compile") 2>conftest.er1
34584 grep -v '^ *+' conftest.er1 >conftest.err
34586 cat conftest.err >&5
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); } && {
34589 test -z "$ac_cxx_werror_flag" ||
34590 test ! -s conftest.err
34591 } && test -s conftest.$ac_objext; then
34592 wx_cv_size_t_is_ulong=no
34594 echo "$as_me: failed program was:" >&5
34595 sed 's/^/| /' conftest.$ac_ext >&5
34597 wx_cv_size_t_is_ulong=yes
34601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34604 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34605 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34607 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34608 cat >>confdefs.h <<\_ACEOF
34609 #define wxSIZE_T_IS_ULONG 1
34615 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34616 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34617 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34618 echo $ECHO_N "(cached) $ECHO_C" >&6
34620 cat >conftest.$ac_ext <<_ACEOF
34623 cat confdefs.h >>conftest.$ac_ext
34624 cat >>conftest.$ac_ext <<_ACEOF
34625 /* end confdefs.h. */
34633 struct Foo { void foo(wchar_t);
34634 void foo(unsigned short);
34635 void foo(unsigned int);
34636 void foo(unsigned long); };
34644 rm -f conftest.$ac_objext
34645 if { (ac_try="$ac_compile"
34646 case "(($ac_try" in
34647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34648 *) ac_try_echo
=$ac_try;;
34650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34651 (eval "$ac_compile") 2>conftest.er1
34653 grep -v '^ *+' conftest.er1
>conftest.err
34655 cat conftest.err
>&5
34656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34657 (exit $ac_status); } && {
34658 test -z "$ac_cxx_werror_flag" ||
34659 test ! -s conftest.err
34660 } && test -s conftest.
$ac_objext; then
34661 wx_cv_wchar_t_is_separate_type
=yes
34663 echo "$as_me: failed program was:" >&5
34664 sed 's/^/| /' conftest.
$ac_ext >&5
34666 wx_cv_wchar_t_is_separate_type
=no
34670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34673 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34674 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34676 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34677 cat >>confdefs.h
<<\_ACEOF
34678 #define wxWCHAR_T_IS_REAL_TYPE 1
34682 cat >>confdefs.h
<<\_ACEOF
34683 #define wxWCHAR_T_IS_REAL_TYPE 0
34689 ac_cpp
='$CPP $CPPFLAGS'
34690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34695 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34696 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34697 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34698 echo $ECHO_N "(cached) $ECHO_C" >&6
34701 cat >conftest.
$ac_ext <<_ACEOF
34704 cat confdefs.h
>>conftest.
$ac_ext
34705 cat >>conftest.
$ac_ext <<_ACEOF
34706 /* end confdefs.h. */
34720 rm -f conftest.
$ac_objext
34721 if { (ac_try
="$ac_compile"
34722 case "(($ac_try" in
34723 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34724 *) ac_try_echo=$ac_try;;
34726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34727 (eval "$ac_compile") 2>conftest.er1
34729 grep -v '^ *+' conftest.er1 >conftest.err
34731 cat conftest.err >&5
34732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733 (exit $ac_status); } && {
34734 test -z "$ac_c_werror_flag" ||
34735 test ! -s conftest.err
34736 } && test -s conftest.$ac_objext; then
34738 wx_cv_struct_pw_gecos=yes
34741 echo "$as_me: failed program was:" >&5
34742 sed 's/^/| /' conftest.$ac_ext >&5
34745 wx_cv_struct_pw_gecos=no
34750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34754 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34755 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34757 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34758 cat >>confdefs.h <<\_ACEOF
34759 #define HAVE_PW_GECOS 1
34765 if test "$wxUSE_WCHAR_T" = "yes"; then
34766 cat >>confdefs.h <<\_ACEOF
34767 #define wxUSE_WCHAR_T 1
34774 for ac_func in wcslen
34776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34777 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34779 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34780 echo $ECHO_N "(cached) $ECHO_C" >&6
34782 cat >conftest.$ac_ext <<_ACEOF
34785 cat confdefs.h >>conftest.$ac_ext
34786 cat >>conftest.$ac_ext <<_ACEOF
34787 /* end confdefs.h. */
34788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34790 #define $ac_func innocuous_$ac_func
34792 /* System header to define __stub macros and hopefully few prototypes,
34793 which can conflict with char $ac_func (); below.
34794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34795 <limits.h> exists even on freestanding compilers. */
34798 # include <limits.h>
34800 # include <assert.h>
34805 /* Override any GCC internal prototype to avoid an error.
34806 Use char because int might match the return type of a GCC
34807 builtin and then its argument prototype would still apply. */
34812 /* The GNU C library defines this for functions which it implements
34813 to always fail with ENOSYS. Some functions are actually named
34814 something starting with __ and the normal name is an alias. */
34815 #if defined __stub_$ac_func || defined __stub___$ac_func
34822 return $ac_func ();
34827 rm -f conftest.$ac_objext conftest$ac_exeext
34828 if { (ac_try="$ac_link"
34829 case "(($ac_try" in
34830 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34831 *) ac_try_echo
=$ac_try;;
34833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34834 (eval "$ac_link") 2>conftest.er1
34836 grep -v '^ *+' conftest.er1
>conftest.err
34838 cat conftest.err
>&5
34839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34840 (exit $ac_status); } && {
34841 test -z "$ac_c_werror_flag" ||
34842 test ! -s conftest.err
34843 } && test -s conftest
$ac_exeext &&
34844 $as_test_x conftest
$ac_exeext; then
34845 eval "$as_ac_var=yes"
34847 echo "$as_me: failed program was:" >&5
34848 sed 's/^/| /' conftest.
$ac_ext >&5
34850 eval "$as_ac_var=no"
34853 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34854 conftest
$ac_exeext conftest.
$ac_ext
34856 ac_res
=`eval echo '${'$as_ac_var'}'`
34857 { echo "$as_me:$LINENO: result: $ac_res" >&5
34858 echo "${ECHO_T}$ac_res" >&6; }
34859 if test `eval echo '${'$as_ac_var'}'` = yes; then
34860 cat >>confdefs.h
<<_ACEOF
34861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34868 if test "$WCSLEN_FOUND" = 0; then
34869 if test "$TOOLKIT" = "MSW"; then
34870 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34871 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34872 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34873 echo $ECHO_N "(cached) $ECHO_C" >&6
34875 ac_check_lib_save_LIBS
=$LIBS
34876 LIBS
="-lmsvcrt $LIBS"
34877 cat >conftest.
$ac_ext <<_ACEOF
34880 cat confdefs.h
>>conftest.
$ac_ext
34881 cat >>conftest.
$ac_ext <<_ACEOF
34882 /* end confdefs.h. */
34884 /* Override any GCC internal prototype to avoid an error.
34885 Use char because int might match the return type of a GCC
34886 builtin and then its argument prototype would still apply. */
34899 rm -f conftest.
$ac_objext conftest
$ac_exeext
34900 if { (ac_try
="$ac_link"
34901 case "(($ac_try" in
34902 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34903 *) ac_try_echo=$ac_try;;
34905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34906 (eval "$ac_link") 2>conftest.er1
34908 grep -v '^ *+' conftest.er1 >conftest.err
34910 cat conftest.err >&5
34911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34912 (exit $ac_status); } && {
34913 test -z "$ac_c_werror_flag" ||
34914 test ! -s conftest.err
34915 } && test -s conftest$ac_exeext &&
34916 $as_test_x conftest$ac_exeext; then
34917 ac_cv_lib_msvcrt_wcslen=yes
34919 echo "$as_me: failed program was:" >&5
34920 sed 's/^/| /' conftest.$ac_ext >&5
34922 ac_cv_lib_msvcrt_wcslen=no
34925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34926 conftest$ac_exeext conftest.$ac_ext
34927 LIBS=$ac_check_lib_save_LIBS
34929 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34930 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34931 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34936 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34937 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34938 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34939 echo $ECHO_N "(cached) $ECHO_C" >&6
34941 ac_check_lib_save_LIBS=$LIBS
34943 cat >conftest.$ac_ext <<_ACEOF
34946 cat confdefs.h >>conftest.$ac_ext
34947 cat >>conftest.$ac_ext <<_ACEOF
34948 /* end confdefs.h. */
34950 /* Override any GCC internal prototype to avoid an error.
34951 Use char because int might match the return type of a GCC
34952 builtin and then its argument prototype would still apply. */
34965 rm -f conftest.$ac_objext conftest$ac_exeext
34966 if { (ac_try="$ac_link"
34967 case "(($ac_try" in
34968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34969 *) ac_try_echo
=$ac_try;;
34971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34972 (eval "$ac_link") 2>conftest.er1
34974 grep -v '^ *+' conftest.er1
>conftest.err
34976 cat conftest.err
>&5
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); } && {
34979 test -z "$ac_c_werror_flag" ||
34980 test ! -s conftest.err
34981 } && test -s conftest
$ac_exeext &&
34982 $as_test_x conftest
$ac_exeext; then
34983 ac_cv_lib_w_wcslen
=yes
34985 echo "$as_me: failed program was:" >&5
34986 sed 's/^/| /' conftest.
$ac_ext >&5
34988 ac_cv_lib_w_wcslen
=no
34991 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34992 conftest
$ac_exeext conftest.
$ac_ext
34993 LIBS
=$ac_check_lib_save_LIBS
34995 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34996 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34997 if test $ac_cv_lib_w_wcslen = yes; then
35007 if test "$WCSLEN_FOUND" = 1; then
35008 cat >>confdefs.h
<<\_ACEOF
35009 #define HAVE_WCSLEN 1
35019 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35021 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35024 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35025 echo $ECHO_N "(cached) $ECHO_C" >&6
35027 cat >conftest.
$ac_ext <<_ACEOF
35030 cat confdefs.h
>>conftest.
$ac_ext
35031 cat >>conftest.
$ac_ext <<_ACEOF
35032 /* end confdefs.h. */
35033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35035 #define $ac_func innocuous_$ac_func
35037 /* System header to define __stub macros and hopefully few prototypes,
35038 which can conflict with char $ac_func (); below.
35039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35040 <limits.h> exists even on freestanding compilers. */
35043 # include <limits.h>
35045 # include <assert.h>
35050 /* Override any GCC internal prototype to avoid an error.
35051 Use char because int might match the return type of a GCC
35052 builtin and then its argument prototype would still apply. */
35057 /* The GNU C library defines this for functions which it implements
35058 to always fail with ENOSYS. Some functions are actually named
35059 something starting with __ and the normal name is an alias. */
35060 #if defined __stub_$ac_func || defined __stub___$ac_func
35067 return $ac_func ();
35072 rm -f conftest.
$ac_objext conftest
$ac_exeext
35073 if { (ac_try
="$ac_link"
35074 case "(($ac_try" in
35075 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35076 *) ac_try_echo=$ac_try;;
35078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35079 (eval "$ac_link") 2>conftest.er1
35081 grep -v '^ *+' conftest.er1 >conftest.err
35083 cat conftest.err >&5
35084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35085 (exit $ac_status); } && {
35086 test -z "$ac_c_werror_flag" ||
35087 test ! -s conftest.err
35088 } && test -s conftest$ac_exeext &&
35089 $as_test_x conftest$ac_exeext; then
35090 eval "$as_ac_var=yes"
35092 echo "$as_me: failed program was:" >&5
35093 sed 's/^/| /' conftest.$ac_ext >&5
35095 eval "$as_ac_var=no"
35098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35099 conftest$ac_exeext conftest.$ac_ext
35101 ac_res=`eval echo '${'$as_ac_var'}'`
35102 { echo "$as_me:$LINENO: result: $ac_res" >&5
35103 echo "${ECHO_T}$ac_res" >&6; }
35104 if test `eval echo '${'$as_ac_var'}'` = yes; then
35105 cat >>confdefs.h <<_ACEOF
35106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35113 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35114 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35117 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35118 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35119 if test "${ac_cv_type_mbstate_t+set}" = set; then
35120 echo $ECHO_N "(cached) $ECHO_C" >&6
35122 cat >conftest.$ac_ext <<_ACEOF
35125 cat confdefs.h >>conftest.$ac_ext
35126 cat >>conftest.$ac_ext <<_ACEOF
35127 /* end confdefs.h. */
35130 typedef mbstate_t ac__type_new_;
35134 if ((ac__type_new_ *) 0)
35136 if (sizeof (ac__type_new_))
35142 rm -f conftest.$ac_objext
35143 if { (ac_try="$ac_compile"
35144 case "(($ac_try" in
35145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35146 *) ac_try_echo
=$ac_try;;
35148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35149 (eval "$ac_compile") 2>conftest.er1
35151 grep -v '^ *+' conftest.er1
>conftest.err
35153 cat conftest.err
>&5
35154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35155 (exit $ac_status); } && {
35156 test -z "$ac_c_werror_flag" ||
35157 test ! -s conftest.err
35158 } && test -s conftest.
$ac_objext; then
35159 ac_cv_type_mbstate_t
=yes
35161 echo "$as_me: failed program was:" >&5
35162 sed 's/^/| /' conftest.
$ac_ext >&5
35164 ac_cv_type_mbstate_t
=no
35167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35169 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35170 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35171 if test $ac_cv_type_mbstate_t = yes; then
35173 cat >>confdefs.h
<<_ACEOF
35174 #define HAVE_MBSTATE_T 1
35178 for ac_func
in wcsrtombs
35180 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35181 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35183 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35184 echo $ECHO_N "(cached) $ECHO_C" >&6
35186 cat >conftest.
$ac_ext <<_ACEOF
35189 cat confdefs.h
>>conftest.
$ac_ext
35190 cat >>conftest.
$ac_ext <<_ACEOF
35191 /* end confdefs.h. */
35192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35194 #define $ac_func innocuous_$ac_func
35196 /* System header to define __stub macros and hopefully few prototypes,
35197 which can conflict with char $ac_func (); below.
35198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35199 <limits.h> exists even on freestanding compilers. */
35202 # include <limits.h>
35204 # include <assert.h>
35209 /* Override any GCC internal prototype to avoid an error.
35210 Use char because int might match the return type of a GCC
35211 builtin and then its argument prototype would still apply. */
35216 /* The GNU C library defines this for functions which it implements
35217 to always fail with ENOSYS. Some functions are actually named
35218 something starting with __ and the normal name is an alias. */
35219 #if defined __stub_$ac_func || defined __stub___$ac_func
35226 return $ac_func ();
35231 rm -f conftest.
$ac_objext conftest
$ac_exeext
35232 if { (ac_try
="$ac_link"
35233 case "(($ac_try" in
35234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35235 *) ac_try_echo=$ac_try;;
35237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35238 (eval "$ac_link") 2>conftest.er1
35240 grep -v '^ *+' conftest.er1 >conftest.err
35242 cat conftest.err >&5
35243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35244 (exit $ac_status); } && {
35245 test -z "$ac_c_werror_flag" ||
35246 test ! -s conftest.err
35247 } && test -s conftest$ac_exeext &&
35248 $as_test_x conftest$ac_exeext; then
35249 eval "$as_ac_var=yes"
35251 echo "$as_me: failed program was:" >&5
35252 sed 's/^/| /' conftest.$ac_ext >&5
35254 eval "$as_ac_var=no"
35257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35258 conftest$ac_exeext conftest.$ac_ext
35260 ac_res=`eval echo '${'$as_ac_var'}'`
35261 { echo "$as_me:$LINENO: result: $ac_res" >&5
35262 echo "${ECHO_T}$ac_res" >&6; }
35263 if test `eval echo '${'$as_ac_var'}'` = yes; then
35264 cat >>confdefs.h <<_ACEOF
35265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35274 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35275 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35281 for ac_func in snprintf vsnprintf vsscanf
35283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35284 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35286 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35287 echo $ECHO_N "(cached) $ECHO_C" >&6
35289 cat >conftest.$ac_ext <<_ACEOF
35292 cat confdefs.h >>conftest.$ac_ext
35293 cat >>conftest.$ac_ext <<_ACEOF
35294 /* end confdefs.h. */
35295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35297 #define $ac_func innocuous_$ac_func
35299 /* System header to define __stub macros and hopefully few prototypes,
35300 which can conflict with char $ac_func (); below.
35301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35302 <limits.h> exists even on freestanding compilers. */
35305 # include <limits.h>
35307 # include <assert.h>
35312 /* Override any GCC internal prototype to avoid an error.
35313 Use char because int might match the return type of a GCC
35314 builtin and then its argument prototype would still apply. */
35319 /* The GNU C library defines this for functions which it implements
35320 to always fail with ENOSYS. Some functions are actually named
35321 something starting with __ and the normal name is an alias. */
35322 #if defined __stub_$ac_func || defined __stub___$ac_func
35329 return $ac_func ();
35334 rm -f conftest.$ac_objext conftest$ac_exeext
35335 if { (ac_try="$ac_link"
35336 case "(($ac_try" in
35337 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35338 *) ac_try_echo
=$ac_try;;
35340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35341 (eval "$ac_link") 2>conftest.er1
35343 grep -v '^ *+' conftest.er1
>conftest.err
35345 cat conftest.err
>&5
35346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35347 (exit $ac_status); } && {
35348 test -z "$ac_c_werror_flag" ||
35349 test ! -s conftest.err
35350 } && test -s conftest
$ac_exeext &&
35351 $as_test_x conftest
$ac_exeext; then
35352 eval "$as_ac_var=yes"
35354 echo "$as_me: failed program was:" >&5
35355 sed 's/^/| /' conftest.
$ac_ext >&5
35357 eval "$as_ac_var=no"
35360 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35361 conftest
$ac_exeext conftest.
$ac_ext
35363 ac_res
=`eval echo '${'$as_ac_var'}'`
35364 { echo "$as_me:$LINENO: result: $ac_res" >&5
35365 echo "${ECHO_T}$ac_res" >&6; }
35366 if test `eval echo '${'$as_ac_var'}'` = yes; then
35367 cat >>confdefs.h
<<_ACEOF
35368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35376 ac_cpp
='$CXXCPP $CPPFLAGS'
35377 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35378 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35379 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35381 if test "$ac_cv_func_vsnprintf" = "yes"; then
35382 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35383 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35384 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35385 echo $ECHO_N "(cached) $ECHO_C" >&6
35388 cat >conftest.
$ac_ext <<_ACEOF
35391 cat confdefs.h
>>conftest.
$ac_ext
35392 cat >>conftest.
$ac_ext <<_ACEOF
35393 /* end confdefs.h. */
35396 #include <stdarg.h>
35398 #if __MSL__ >= 0x6000
35400 using namespace std;
35410 vsnprintf(buf, 10u, "%s", ap);
35416 rm -f conftest.
$ac_objext
35417 if { (ac_try
="$ac_compile"
35418 case "(($ac_try" in
35419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35420 *) ac_try_echo=$ac_try;;
35422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35423 (eval "$ac_compile") 2>conftest.er1
35425 grep -v '^ *+' conftest.er1 >conftest.err
35427 cat conftest.err >&5
35428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35429 (exit $ac_status); } && {
35430 test -z "$ac_cxx_werror_flag" ||
35431 test ! -s conftest.err
35432 } && test -s conftest.$ac_objext; then
35433 wx_cv_func_vsnprintf_decl=yes
35435 echo "$as_me: failed program was:" >&5
35436 sed 's/^/| /' conftest.$ac_ext >&5
35438 wx_cv_func_vsnprintf_decl=no
35442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35446 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35447 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35449 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35450 cat >>confdefs.h <<\_ACEOF
35451 #define HAVE_VSNPRINTF_DECL 1
35455 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35456 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35457 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35458 echo $ECHO_N "(cached) $ECHO_C" >&6
35461 cat >conftest.$ac_ext <<_ACEOF
35464 cat confdefs.h >>conftest.$ac_ext
35465 cat >>conftest.$ac_ext <<_ACEOF
35466 /* end confdefs.h. */
35469 #include <stdarg.h>
35471 #if __MSL__ >= 0x6000
35473 using namespace std;
35483 const char *fmt = "%s";
35484 vsnprintf(buf, 10u, fmt, ap);
35490 rm -f conftest.$ac_objext
35491 if { (ac_try="$ac_compile"
35492 case "(($ac_try" in
35493 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35494 *) ac_try_echo
=$ac_try;;
35496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35497 (eval "$ac_compile") 2>conftest.er1
35499 grep -v '^ *+' conftest.er1
>conftest.err
35501 cat conftest.err
>&5
35502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35503 (exit $ac_status); } && {
35504 test -z "$ac_cxx_werror_flag" ||
35505 test ! -s conftest.err
35506 } && test -s conftest.
$ac_objext; then
35507 wx_cv_func_broken_vsnprintf_decl
=no
35509 echo "$as_me: failed program was:" >&5
35510 sed 's/^/| /' conftest.
$ac_ext >&5
35512 wx_cv_func_broken_vsnprintf_decl
=yes
35516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35520 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35521 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35523 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35524 cat >>confdefs.h
<<\_ACEOF
35525 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35532 if test "$ac_cv_func_snprintf" = "yes"; then
35533 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35534 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35535 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35536 echo $ECHO_N "(cached) $ECHO_C" >&6
35539 cat >conftest.
$ac_ext <<_ACEOF
35542 cat confdefs.h
>>conftest.
$ac_ext
35543 cat >>conftest.
$ac_ext <<_ACEOF
35544 /* end confdefs.h. */
35547 #include <stdarg.h>
35549 #if __MSL__ >= 0x6000
35551 using namespace std;
35560 snprintf(buf, 10u, "%s", "wx");
35566 rm -f conftest.
$ac_objext
35567 if { (ac_try
="$ac_compile"
35568 case "(($ac_try" in
35569 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35570 *) ac_try_echo=$ac_try;;
35572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35573 (eval "$ac_compile") 2>conftest.er1
35575 grep -v '^ *+' conftest.er1 >conftest.err
35577 cat conftest.err >&5
35578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35579 (exit $ac_status); } && {
35580 test -z "$ac_cxx_werror_flag" ||
35581 test ! -s conftest.err
35582 } && test -s conftest.$ac_objext; then
35583 wx_cv_func_snprintf_decl=yes
35585 echo "$as_me: failed program was:" >&5
35586 sed 's/^/| /' conftest.$ac_ext >&5
35588 wx_cv_func_snprintf_decl=no
35592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35596 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35597 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35599 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35600 cat >>confdefs.h <<\_ACEOF
35601 #define HAVE_SNPRINTF_DECL 1
35606 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35608 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35609 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35610 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35611 echo $ECHO_N "(cached) $ECHO_C" >&6
35614 if test "$cross_compiling" = yes; then
35616 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35617 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35618 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35619 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35620 wx_cv_func_snprintf_pos_params=no
35624 cat >conftest.$ac_ext <<_ACEOF
35627 cat confdefs.h >>conftest.$ac_ext
35628 cat >>conftest.$ac_ext <<_ACEOF
35629 /* end confdefs.h. */
35636 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35637 if (strcmp ("2 3 1", buffer) == 0)
35643 rm -f conftest$ac_exeext
35644 if { (ac_try="$ac_link"
35645 case "(($ac_try" in
35646 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35647 *) ac_try_echo
=$ac_try;;
35649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35650 (eval "$ac_link") 2>&5
35652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35653 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35654 { (case "(($ac_try" in
35655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35656 *) ac_try_echo=$ac_try;;
35658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35659 (eval "$ac_try") 2>&5
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); }; }; then
35663 wx_cv_func_snprintf_pos_params=no
35665 echo "$as_me: program exited with status $ac_status" >&5
35666 echo "$as_me: failed program was:" >&5
35667 sed 's/^/| /' conftest.$ac_ext >&5
35669 ( exit $ac_status )
35670 wx_cv_func_snprintf_pos_params=yes
35672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35679 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35680 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35682 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35683 cat >>confdefs.h <<\_ACEOF
35684 #define HAVE_UNIX98_PRINTF 1
35691 if test "$ac_cv_func_vsscanf" = "yes"; then
35692 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35693 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35694 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35695 echo $ECHO_N "(cached) $ECHO_C" >&6
35698 cat >conftest.$ac_ext <<_ACEOF
35701 cat confdefs.h >>conftest.$ac_ext
35702 cat >>conftest.$ac_ext <<_ACEOF
35703 /* end confdefs.h. */
35706 #include <stdarg.h>
35708 #if __MSL__ >= 0x6000
35710 using namespace std;
35720 vsscanf(buf, "%s", args);
35726 rm -f conftest.$ac_objext
35727 if { (ac_try="$ac_compile"
35728 case "(($ac_try" in
35729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35730 *) ac_try_echo
=$ac_try;;
35732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35733 (eval "$ac_compile") 2>conftest.er1
35735 grep -v '^ *+' conftest.er1
>conftest.err
35737 cat conftest.err
>&5
35738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35739 (exit $ac_status); } && {
35740 test -z "$ac_cxx_werror_flag" ||
35741 test ! -s conftest.err
35742 } && test -s conftest.
$ac_objext; then
35743 wx_cv_func_vsscanf_decl
=yes
35745 echo "$as_me: failed program was:" >&5
35746 sed 's/^/| /' conftest.
$ac_ext >&5
35748 wx_cv_func_vsscanf_decl
=no
35752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35756 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35757 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35759 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35760 cat >>confdefs.h
<<\_ACEOF
35761 #define HAVE_VSSCANF_DECL 1
35767 ac_cpp
='$CPP $CPPFLAGS'
35768 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35769 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35770 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35773 if test "$wxUSE_UNICODE" = yes; then
35775 wchar_headers
="#include <stdio.h>
35776 #include <wchar.h>"
35780 for ac_header
in widec.h
35782 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35785 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35786 echo $ECHO_N "(cached) $ECHO_C" >&6
35788 cat >conftest.
$ac_ext <<_ACEOF
35791 cat confdefs.h
>>conftest.
$ac_ext
35792 cat >>conftest.
$ac_ext <<_ACEOF
35793 /* end confdefs.h. */
35794 $ac_includes_default
35796 #include <$ac_header>
35798 rm -f conftest.
$ac_objext
35799 if { (ac_try
="$ac_compile"
35800 case "(($ac_try" in
35801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35802 *) ac_try_echo=$ac_try;;
35804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35805 (eval "$ac_compile") 2>conftest.er1
35807 grep -v '^ *+' conftest.er1 >conftest.err
35809 cat conftest.err >&5
35810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35811 (exit $ac_status); } && {
35812 test -z "$ac_c_werror_flag" ||
35813 test ! -s conftest.err
35814 } && test -s conftest.$ac_objext; then
35815 eval "$as_ac_Header=yes"
35817 echo "$as_me: failed program was:" >&5
35818 sed 's/^/| /' conftest.$ac_ext >&5
35820 eval "$as_ac_Header=no"
35823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35825 ac_res=`eval echo '${'$as_ac_Header'}'`
35826 { echo "$as_me:$LINENO: result: $ac_res" >&5
35827 echo "${ECHO_T}$ac_res" >&6; }
35828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35829 cat >>confdefs.h <<_ACEOF
35830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35837 if test "$ac_cv_header_widec_h" = "yes"; then
35838 wchar_headers="$wchar_headers
35839 #include <widec.h>"
35844 for wx_func in putws fputws wprintf vswprintf vswscanf
35846 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35847 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35848 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35849 echo $ECHO_N "(cached) $ECHO_C" >&6
35852 cat >conftest.$ac_ext <<_ACEOF
35856 cat confdefs.h >>conftest.$ac_ext
35857 cat >>conftest.$ac_ext <<_ACEOF
35858 /* end confdefs.h. */
35861 $ac_includes_default
35877 rm -f conftest.$ac_objext conftest$ac_exeext
35878 if { (ac_try="$ac_link"
35879 case "(($ac_try" in
35880 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35881 *) ac_try_echo
=$ac_try;;
35883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35884 (eval "$ac_link") 2>conftest.er1
35886 grep -v '^ *+' conftest.er1
>conftest.err
35888 cat conftest.err
>&5
35889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35890 (exit $ac_status); } && {
35891 test -z "$ac_c_werror_flag" ||
35892 test ! -s conftest.err
35893 } && test -s conftest
$ac_exeext &&
35894 $as_test_x conftest
$ac_exeext; then
35895 eval wx_cv_func_
$wx_func=yes
35897 echo "$as_me: failed program was:" >&5
35898 sed 's/^/| /' conftest.
$ac_ext >&5
35900 eval wx_cv_func_
$wx_func=no
35903 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35904 conftest
$ac_exeext conftest.
$ac_ext
35907 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35908 { echo "$as_me:$LINENO: result: $ac_res" >&5
35909 echo "${ECHO_T}$ac_res" >&6; }
35911 if eval test \
$wx_cv_func_$wx_func = yes
35913 cat >>confdefs.h
<<_ACEOF
35914 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35925 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35926 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35927 cat >conftest.
$ac_ext <<_ACEOF
35930 cat confdefs.h
>>conftest.
$ac_ext
35931 cat >>conftest.
$ac_ext <<_ACEOF
35932 /* end confdefs.h. */
35942 rm -f conftest.
$ac_objext
35943 if { (ac_try
="$ac_compile"
35944 case "(($ac_try" in
35945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35946 *) ac_try_echo=$ac_try;;
35948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35949 (eval "$ac_compile") 2>conftest.er1
35951 grep -v '^ *+' conftest.er1 >conftest.err
35953 cat conftest.err >&5
35954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35955 (exit $ac_status); } && {
35956 test -z "$ac_c_werror_flag" ||
35957 test ! -s conftest.err
35958 } && test -s conftest.$ac_objext; then
35959 { echo "$as_me:$LINENO: result: yes" >&5
35960 echo "${ECHO_T}yes" >&6; }
35961 cat >>confdefs.h <<\_ACEOF
35962 #define HAVE__VSNWPRINTF 1
35966 echo "$as_me: failed program was:" >&5
35967 sed 's/^/| /' conftest.$ac_ext >&5
35969 { echo "$as_me:$LINENO: result: no" >&5
35970 echo "${ECHO_T}no" >&6; }
35973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35976 if test "$wxUSE_FILE" = "yes"; then
35978 for wx_func in fsync
35980 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35981 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35982 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35983 echo $ECHO_N "(cached) $ECHO_C" >&6
35986 cat >conftest.$ac_ext <<_ACEOF
35990 cat confdefs.h >>conftest.$ac_ext
35991 cat >>conftest.$ac_ext <<_ACEOF
35992 /* end confdefs.h. */
35995 $ac_includes_default
36011 rm -f conftest.$ac_objext conftest$ac_exeext
36012 if { (ac_try="$ac_link"
36013 case "(($ac_try" in
36014 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36015 *) ac_try_echo
=$ac_try;;
36017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36018 (eval "$ac_link") 2>conftest.er1
36020 grep -v '^ *+' conftest.er1
>conftest.err
36022 cat conftest.err
>&5
36023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36024 (exit $ac_status); } && {
36025 test -z "$ac_c_werror_flag" ||
36026 test ! -s conftest.err
36027 } && test -s conftest
$ac_exeext &&
36028 $as_test_x conftest
$ac_exeext; then
36029 eval wx_cv_func_
$wx_func=yes
36031 echo "$as_me: failed program was:" >&5
36032 sed 's/^/| /' conftest.
$ac_ext >&5
36034 eval wx_cv_func_
$wx_func=no
36037 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36038 conftest
$ac_exeext conftest.
$ac_ext
36041 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36042 { echo "$as_me:$LINENO: result: $ac_res" >&5
36043 echo "${ECHO_T}$ac_res" >&6; }
36045 if eval test \
$wx_cv_func_$wx_func = yes
36047 cat >>confdefs.h
<<_ACEOF
36048 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36061 ac_cpp
='$CXXCPP $CPPFLAGS'
36062 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36063 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36064 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36067 for wx_func
in round
36069 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36070 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36071 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36072 echo $ECHO_N "(cached) $ECHO_C" >&6
36075 cat >conftest.
$ac_ext <<_ACEOF
36079 cat confdefs.h
>>conftest.
$ac_ext
36080 cat >>conftest.
$ac_ext <<_ACEOF
36081 /* end confdefs.h. */
36084 $ac_includes_default
36100 rm -f conftest.
$ac_objext conftest
$ac_exeext
36101 if { (ac_try
="$ac_link"
36102 case "(($ac_try" in
36103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36104 *) ac_try_echo=$ac_try;;
36106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36107 (eval "$ac_link") 2>conftest.er1
36109 grep -v '^ *+' conftest.er1 >conftest.err
36111 cat conftest.err >&5
36112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36113 (exit $ac_status); } && {
36114 test -z "$ac_cxx_werror_flag" ||
36115 test ! -s conftest.err
36116 } && test -s conftest$ac_exeext &&
36117 $as_test_x conftest$ac_exeext; then
36118 eval wx_cv_func_$wx_func=yes
36120 echo "$as_me: failed program was:" >&5
36121 sed 's/^/| /' conftest.$ac_ext >&5
36123 eval wx_cv_func_$wx_func=no
36126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36127 conftest$ac_exeext conftest.$ac_ext
36130 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36131 { echo "$as_me:$LINENO: result: $ac_res" >&5
36132 echo "${ECHO_T}$ac_res" >&6; }
36134 if eval test \$wx_cv_func_$wx_func = yes
36136 cat >>confdefs.h <<_ACEOF
36137 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36148 ac_cpp='$CPP $CPPFLAGS'
36149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36154 if test "$TOOLKIT" != "MSW"; then
36156 if test "$wxUSE_LIBICONV" != "no" ; then
36160 # Check whether --with-libiconv-prefix was given.
36161 if test "${with_libiconv_prefix+set}" = set; then
36162 withval=$with_libiconv_prefix;
36163 for dir in `echo "$withval" | tr : ' '`; do
36164 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36165 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36171 { echo "$as_me:$LINENO: checking for iconv" >&5
36172 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36173 if test "${am_cv_func_iconv+set}" = set; then
36174 echo $ECHO_N "(cached) $ECHO_C" >&6
36177 am_cv_func_iconv="no, consider installing GNU libiconv"
36179 cat >conftest.$ac_ext <<_ACEOF
36182 cat confdefs.h >>conftest.$ac_ext
36183 cat >>conftest.$ac_ext <<_ACEOF
36184 /* end confdefs.h. */
36185 #include <stdlib.h>
36190 iconv_t cd = iconv_open("","");
36191 iconv(cd,NULL,NULL,NULL,NULL);
36197 rm -f conftest.$ac_objext conftest$ac_exeext
36198 if { (ac_try="$ac_link"
36199 case "(($ac_try" in
36200 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36201 *) ac_try_echo
=$ac_try;;
36203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36204 (eval "$ac_link") 2>conftest.er1
36206 grep -v '^ *+' conftest.er1
>conftest.err
36208 cat conftest.err
>&5
36209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36210 (exit $ac_status); } && {
36211 test -z "$ac_c_werror_flag" ||
36212 test ! -s conftest.err
36213 } && test -s conftest
$ac_exeext &&
36214 $as_test_x conftest
$ac_exeext; then
36215 am_cv_func_iconv
=yes
36217 echo "$as_me: failed program was:" >&5
36218 sed 's/^/| /' conftest.
$ac_ext >&5
36223 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36224 conftest
$ac_exeext conftest.
$ac_ext
36225 if test "$am_cv_func_iconv" != yes; then
36226 am_save_LIBS
="$LIBS"
36227 LIBS
="$LIBS -liconv"
36228 cat >conftest.
$ac_ext <<_ACEOF
36231 cat confdefs.h
>>conftest.
$ac_ext
36232 cat >>conftest.
$ac_ext <<_ACEOF
36233 /* end confdefs.h. */
36234 #include <stdlib.h>
36239 iconv_t cd = iconv_open("","");
36240 iconv(cd,NULL,NULL,NULL,NULL);
36246 rm -f conftest.
$ac_objext conftest
$ac_exeext
36247 if { (ac_try
="$ac_link"
36248 case "(($ac_try" in
36249 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36250 *) ac_try_echo=$ac_try;;
36252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36253 (eval "$ac_link") 2>conftest.er1
36255 grep -v '^ *+' conftest.er1 >conftest.err
36257 cat conftest.err >&5
36258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36259 (exit $ac_status); } && {
36260 test -z "$ac_c_werror_flag" ||
36261 test ! -s conftest.err
36262 } && test -s conftest$ac_exeext &&
36263 $as_test_x conftest$ac_exeext; then
36264 am_cv_lib_iconv=yes
36265 am_cv_func_iconv=yes
36267 echo "$as_me: failed program was:" >&5
36268 sed 's/^/| /' conftest.$ac_ext >&5
36273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36274 conftest$ac_exeext conftest.$ac_ext
36275 LIBS="$am_save_LIBS"
36279 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36280 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36281 if test "$am_cv_func_iconv" = yes; then
36283 cat >>confdefs.h <<\_ACEOF
36284 #define HAVE_ICONV 1
36287 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36288 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36289 if test "${wx_cv_func_iconv_const+set}" = set; then
36290 echo $ECHO_N "(cached) $ECHO_C" >&6
36292 cat >conftest.$ac_ext <<_ACEOF
36295 cat confdefs.h >>conftest.$ac_ext
36296 cat >>conftest.$ac_ext <<_ACEOF
36297 /* end confdefs.h. */
36299 #include <stdlib.h>
36305 #if defined(__STDC__) || defined(__cplusplus)
36306 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36319 rm -f conftest.$ac_objext
36320 if { (ac_try="$ac_compile"
36321 case "(($ac_try" in
36322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36323 *) ac_try_echo
=$ac_try;;
36325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36326 (eval "$ac_compile") 2>conftest.er1
36328 grep -v '^ *+' conftest.er1
>conftest.err
36330 cat conftest.err
>&5
36331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36332 (exit $ac_status); } && {
36333 test -z "$ac_c_werror_flag" ||
36334 test ! -s conftest.err
36335 } && test -s conftest.
$ac_objext; then
36336 wx_cv_func_iconv_const
="no"
36338 echo "$as_me: failed program was:" >&5
36339 sed 's/^/| /' conftest.
$ac_ext >&5
36341 wx_cv_func_iconv_const
="yes"
36345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36348 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36349 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36352 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36353 iconv_const
="const"
36357 cat >>confdefs.h
<<_ACEOF
36358 #define ICONV_CONST $iconv_const
36363 if test "$am_cv_lib_iconv" = yes; then
36368 LIBS
="$LIBICONV $LIBS"
36371 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36373 for ac_func
in sigaction
36375 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36376 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36378 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36379 echo $ECHO_N "(cached) $ECHO_C" >&6
36381 cat >conftest.
$ac_ext <<_ACEOF
36384 cat confdefs.h
>>conftest.
$ac_ext
36385 cat >>conftest.
$ac_ext <<_ACEOF
36386 /* end confdefs.h. */
36387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36389 #define $ac_func innocuous_$ac_func
36391 /* System header to define __stub macros and hopefully few prototypes,
36392 which can conflict with char $ac_func (); below.
36393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36394 <limits.h> exists even on freestanding compilers. */
36397 # include <limits.h>
36399 # include <assert.h>
36404 /* Override any GCC internal prototype to avoid an error.
36405 Use char because int might match the return type of a GCC
36406 builtin and then its argument prototype would still apply. */
36411 /* The GNU C library defines this for functions which it implements
36412 to always fail with ENOSYS. Some functions are actually named
36413 something starting with __ and the normal name is an alias. */
36414 #if defined __stub_$ac_func || defined __stub___$ac_func
36421 return $ac_func ();
36426 rm -f conftest.
$ac_objext conftest
$ac_exeext
36427 if { (ac_try
="$ac_link"
36428 case "(($ac_try" in
36429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36430 *) ac_try_echo=$ac_try;;
36432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36433 (eval "$ac_link") 2>conftest.er1
36435 grep -v '^ *+' conftest.er1 >conftest.err
36437 cat conftest.err >&5
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); } && {
36440 test -z "$ac_c_werror_flag" ||
36441 test ! -s conftest.err
36442 } && test -s conftest$ac_exeext &&
36443 $as_test_x conftest$ac_exeext; then
36444 eval "$as_ac_var=yes"
36446 echo "$as_me: failed program was:" >&5
36447 sed 's/^/| /' conftest.$ac_ext >&5
36449 eval "$as_ac_var=no"
36452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36453 conftest$ac_exeext conftest.$ac_ext
36455 ac_res=`eval echo '${'$as_ac_var'}'`
36456 { echo "$as_me:$LINENO: result: $ac_res" >&5
36457 echo "${ECHO_T}$ac_res" >&6; }
36458 if test `eval echo '${'$as_ac_var'}'` = yes; then
36459 cat >>confdefs.h <<_ACEOF
36460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36467 if test "$ac_cv_func_sigaction" = "no"; then
36468 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36469 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36470 wxUSE_ON_FATAL_EXCEPTION=no
36473 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36474 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36475 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36476 if test "${wx_cv_type_sa_handler+set}" = set; then
36477 echo $ECHO_N "(cached) $ECHO_C" >&6
36481 ac_cpp='$CXXCPP $CPPFLAGS'
36482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36486 cat >conftest.$ac_ext <<_ACEOF
36489 cat confdefs.h >>conftest.$ac_ext
36490 cat >>conftest.$ac_ext <<_ACEOF
36491 /* end confdefs.h. */
36492 #include <signal.h>
36497 extern void testSigHandler(int);
36499 struct sigaction sa;
36500 sa.sa_handler = testSigHandler;
36506 rm -f conftest.$ac_objext
36507 if { (ac_try="$ac_compile"
36508 case "(($ac_try" in
36509 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36510 *) ac_try_echo
=$ac_try;;
36512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36513 (eval "$ac_compile") 2>conftest.er1
36515 grep -v '^ *+' conftest.er1
>conftest.err
36517 cat conftest.err
>&5
36518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36519 (exit $ac_status); } && {
36520 test -z "$ac_cxx_werror_flag" ||
36521 test ! -s conftest.err
36522 } && test -s conftest.
$ac_objext; then
36524 wx_cv_type_sa_handler
=int
36527 echo "$as_me: failed program was:" >&5
36528 sed 's/^/| /' conftest.
$ac_ext >&5
36531 wx_cv_type_sa_handler
=void
36535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36537 ac_cpp
='$CPP $CPPFLAGS'
36538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36544 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36545 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36547 cat >>confdefs.h
<<_ACEOF
36548 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36554 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36555 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36556 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36557 if test "${wx_cv_func_backtrace+set}" = set; then
36558 echo $ECHO_N "(cached) $ECHO_C" >&6
36562 ac_cpp
='$CXXCPP $CPPFLAGS'
36563 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36564 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36565 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36567 cat >conftest.
$ac_ext <<_ACEOF
36570 cat confdefs.h
>>conftest.
$ac_ext
36571 cat >>conftest.
$ac_ext <<_ACEOF
36572 /* end confdefs.h. */
36573 #include <execinfo.h>
36581 backtrace(trace, 1);
36582 messages = backtrace_symbols(trace, 1);
36588 rm -f conftest.
$ac_objext
36589 if { (ac_try
="$ac_compile"
36590 case "(($ac_try" in
36591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36592 *) ac_try_echo=$ac_try;;
36594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36595 (eval "$ac_compile") 2>conftest.er1
36597 grep -v '^ *+' conftest.er1 >conftest.err
36599 cat conftest.err >&5
36600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36601 (exit $ac_status); } && {
36602 test -z "$ac_cxx_werror_flag" ||
36603 test ! -s conftest.err
36604 } && test -s conftest.$ac_objext; then
36605 wx_cv_func_backtrace=yes
36607 echo "$as_me: failed program was:" >&5
36608 sed 's/^/| /' conftest.$ac_ext >&5
36610 wx_cv_func_backtrace=no
36614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36616 ac_cpp='$CPP $CPPFLAGS'
36617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36624 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36625 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36628 if test "$wx_cv_func_backtrace" = "no"; then
36629 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36630 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36631 wxUSE_STACKWALKER=no
36633 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36634 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36635 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36636 echo $ECHO_N "(cached) $ECHO_C" >&6
36640 ac_cpp='$CXXCPP $CPPFLAGS'
36641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36645 cat >conftest.$ac_ext <<_ACEOF
36648 cat confdefs.h >>conftest.$ac_ext
36649 cat >>conftest.$ac_ext <<_ACEOF
36650 /* end confdefs.h. */
36651 #include <cxxabi.h>
36657 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36663 rm -f conftest.$ac_objext conftest$ac_exeext
36664 if { (ac_try="$ac_link"
36665 case "(($ac_try" in
36666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36667 *) ac_try_echo
=$ac_try;;
36669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36670 (eval "$ac_link") 2>conftest.er1
36672 grep -v '^ *+' conftest.er1
>conftest.err
36674 cat conftest.err
>&5
36675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36676 (exit $ac_status); } && {
36677 test -z "$ac_cxx_werror_flag" ||
36678 test ! -s conftest.err
36679 } && test -s conftest
$ac_exeext &&
36680 $as_test_x conftest
$ac_exeext; then
36681 wx_cv_func_cxa_demangle
=yes
36683 echo "$as_me: failed program was:" >&5
36684 sed 's/^/| /' conftest.
$ac_ext >&5
36686 wx_cv_func_cxa_demangle
=no
36690 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36691 conftest
$ac_exeext conftest.
$ac_ext
36693 ac_cpp
='$CPP $CPPFLAGS'
36694 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36695 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36696 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36701 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36702 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36704 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36705 cat >>confdefs.h
<<\_ACEOF
36706 #define HAVE_CXA_DEMANGLE 1
36713 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36714 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36715 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36716 wxUSE_STACKWALKER
=no
36722 for ac_func
in mkstemp mktemp
36724 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36725 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36727 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36728 echo $ECHO_N "(cached) $ECHO_C" >&6
36730 cat >conftest.
$ac_ext <<_ACEOF
36733 cat confdefs.h
>>conftest.
$ac_ext
36734 cat >>conftest.
$ac_ext <<_ACEOF
36735 /* end confdefs.h. */
36736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36738 #define $ac_func innocuous_$ac_func
36740 /* System header to define __stub macros and hopefully few prototypes,
36741 which can conflict with char $ac_func (); below.
36742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36743 <limits.h> exists even on freestanding compilers. */
36746 # include <limits.h>
36748 # include <assert.h>
36753 /* Override any GCC internal prototype to avoid an error.
36754 Use char because int might match the return type of a GCC
36755 builtin and then its argument prototype would still apply. */
36760 /* The GNU C library defines this for functions which it implements
36761 to always fail with ENOSYS. Some functions are actually named
36762 something starting with __ and the normal name is an alias. */
36763 #if defined __stub_$ac_func || defined __stub___$ac_func
36770 return $ac_func ();
36775 rm -f conftest.
$ac_objext conftest
$ac_exeext
36776 if { (ac_try
="$ac_link"
36777 case "(($ac_try" in
36778 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36779 *) ac_try_echo=$ac_try;;
36781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36782 (eval "$ac_link") 2>conftest.er1
36784 grep -v '^ *+' conftest.er1 >conftest.err
36786 cat conftest.err >&5
36787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36788 (exit $ac_status); } && {
36789 test -z "$ac_c_werror_flag" ||
36790 test ! -s conftest.err
36791 } && test -s conftest$ac_exeext &&
36792 $as_test_x conftest$ac_exeext; then
36793 eval "$as_ac_var=yes"
36795 echo "$as_me: failed program was:" >&5
36796 sed 's/^/| /' conftest.$ac_ext >&5
36798 eval "$as_ac_var=no"
36801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36802 conftest$ac_exeext conftest.$ac_ext
36804 ac_res=`eval echo '${'$as_ac_var'}'`
36805 { echo "$as_me:$LINENO: result: $ac_res" >&5
36806 echo "${ECHO_T}$ac_res" >&6; }
36807 if test `eval echo '${'$as_ac_var'}'` = yes; then
36808 cat >>confdefs.h <<_ACEOF
36809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36816 { echo "$as_me:$LINENO: checking for statfs" >&5
36817 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36818 if test "${wx_cv_func_statfs+set}" = set; then
36819 echo $ECHO_N "(cached) $ECHO_C" >&6
36821 cat >conftest.$ac_ext <<_ACEOF
36824 cat confdefs.h >>conftest.$ac_ext
36825 cat >>conftest.$ac_ext <<_ACEOF
36826 /* end confdefs.h. */
36828 #if defined(__BSD__)
36829 #include <sys/param.h>
36830 #include <sys/mount.h>
36832 #include <sys/vfs.h>
36850 rm -f conftest.$ac_objext
36851 if { (ac_try="$ac_compile"
36852 case "(($ac_try" in
36853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36854 *) ac_try_echo
=$ac_try;;
36856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36857 (eval "$ac_compile") 2>conftest.er1
36859 grep -v '^ *+' conftest.er1
>conftest.err
36861 cat conftest.err
>&5
36862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36863 (exit $ac_status); } && {
36864 test -z "$ac_c_werror_flag" ||
36865 test ! -s conftest.err
36866 } && test -s conftest.
$ac_objext; then
36867 wx_cv_func_statfs
=yes
36869 echo "$as_me: failed program was:" >&5
36870 sed 's/^/| /' conftest.
$ac_ext >&5
36872 wx_cv_func_statfs
=no
36876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36879 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36880 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36882 if test "$wx_cv_func_statfs" = "yes"; then
36883 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36884 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36885 if test "${wx_cv_func_statfs_decl+set}" = set; then
36886 echo $ECHO_N "(cached) $ECHO_C" >&6
36889 ac_cpp
='$CXXCPP $CPPFLAGS'
36890 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36891 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36892 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36894 cat >conftest.
$ac_ext <<_ACEOF
36897 cat confdefs.h
>>conftest.
$ac_ext
36898 cat >>conftest.
$ac_ext <<_ACEOF
36899 /* end confdefs.h. */
36901 #if defined(__BSD__)
36902 #include <sys/param.h>
36903 #include <sys/mount.h>
36905 #include <sys/vfs.h>
36919 rm -f conftest.
$ac_objext
36920 if { (ac_try
="$ac_compile"
36921 case "(($ac_try" in
36922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36923 *) ac_try_echo=$ac_try;;
36925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36926 (eval "$ac_compile") 2>conftest.er1
36928 grep -v '^ *+' conftest.er1 >conftest.err
36930 cat conftest.err >&5
36931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36932 (exit $ac_status); } && {
36933 test -z "$ac_cxx_werror_flag" ||
36934 test ! -s conftest.err
36935 } && test -s conftest.$ac_objext; then
36936 wx_cv_func_statfs_decl=yes
36938 echo "$as_me: failed program was:" >&5
36939 sed 's/^/| /' conftest.$ac_ext >&5
36941 wx_cv_func_statfs_decl=no
36945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36947 ac_cpp='$CPP $CPPFLAGS'
36948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36954 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36955 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36957 if test "$wx_cv_func_statfs_decl" = "yes"; then
36958 cat >>confdefs.h <<\_ACEOF
36959 #define HAVE_STATFS_DECL 1
36964 wx_cv_type_statvfs_t="struct statfs"
36965 cat >>confdefs.h <<\_ACEOF
36966 #define HAVE_STATFS 1
36970 { echo "$as_me:$LINENO: checking for statvfs" >&5
36971 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36972 if test "${wx_cv_func_statvfs+set}" = set; then
36973 echo $ECHO_N "(cached) $ECHO_C" >&6
36975 cat >conftest.$ac_ext <<_ACEOF
36978 cat confdefs.h >>conftest.$ac_ext
36979 cat >>conftest.$ac_ext <<_ACEOF
36980 /* end confdefs.h. */
36982 #include <stddef.h>
36983 #include <sys/statvfs.h>
36989 statvfs("/", NULL);
36995 rm -f conftest.$ac_objext
36996 if { (ac_try="$ac_compile"
36997 case "(($ac_try" in
36998 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36999 *) ac_try_echo
=$ac_try;;
37001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37002 (eval "$ac_compile") 2>conftest.er1
37004 grep -v '^ *+' conftest.er1
>conftest.err
37006 cat conftest.err
>&5
37007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37008 (exit $ac_status); } && {
37009 test -z "$ac_c_werror_flag" ||
37010 test ! -s conftest.err
37011 } && test -s conftest.
$ac_objext; then
37012 wx_cv_func_statvfs
=yes
37014 echo "$as_me: failed program was:" >&5
37015 sed 's/^/| /' conftest.
$ac_ext >&5
37017 wx_cv_func_statvfs
=no
37021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37024 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37025 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37027 if test "$wx_cv_func_statvfs" = "yes"; then
37028 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37029 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37030 if test "${wx_cv_type_statvfs_t+set}" = set; then
37031 echo $ECHO_N "(cached) $ECHO_C" >&6
37034 ac_cpp
='$CXXCPP $CPPFLAGS'
37035 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37036 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37037 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37039 cat >conftest.
$ac_ext <<_ACEOF
37042 cat confdefs.h
>>conftest.
$ac_ext
37043 cat >>conftest.
$ac_ext <<_ACEOF
37044 /* end confdefs.h. */
37046 #include <sys/statvfs.h>
37063 rm -f conftest.
$ac_objext
37064 if { (ac_try
="$ac_compile"
37065 case "(($ac_try" in
37066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37067 *) ac_try_echo=$ac_try;;
37069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37070 (eval "$ac_compile") 2>conftest.er1
37072 grep -v '^ *+' conftest.er1 >conftest.err
37074 cat conftest.err >&5
37075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37076 (exit $ac_status); } && {
37077 test -z "$ac_cxx_werror_flag" ||
37078 test ! -s conftest.err
37079 } && test -s conftest.$ac_objext; then
37080 wx_cv_type_statvfs_t=statvfs_t
37082 echo "$as_me: failed program was:" >&5
37083 sed 's/^/| /' conftest.$ac_ext >&5
37086 cat >conftest.$ac_ext <<_ACEOF
37089 cat confdefs.h >>conftest.$ac_ext
37090 cat >>conftest.$ac_ext <<_ACEOF
37091 /* end confdefs.h. */
37093 #include <sys/statvfs.h>
37110 rm -f conftest.$ac_objext
37111 if { (ac_try="$ac_compile"
37112 case "(($ac_try" in
37113 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37114 *) ac_try_echo
=$ac_try;;
37116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37117 (eval "$ac_compile") 2>conftest.er1
37119 grep -v '^ *+' conftest.er1
>conftest.err
37121 cat conftest.err
>&5
37122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37123 (exit $ac_status); } && {
37124 test -z "$ac_cxx_werror_flag" ||
37125 test ! -s conftest.err
37126 } && test -s conftest.
$ac_objext; then
37127 wx_cv_type_statvfs_t
="struct statvfs"
37129 echo "$as_me: failed program was:" >&5
37130 sed 's/^/| /' conftest.
$ac_ext >&5
37132 wx_cv_type_statvfs_t
="unknown"
37136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37143 ac_cpp
='$CPP $CPPFLAGS'
37144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37150 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37151 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37153 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37154 cat >>confdefs.h
<<\_ACEOF
37155 #define HAVE_STATVFS 1
37160 wx_cv_type_statvfs_t
="unknown"
37164 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37165 cat >>confdefs.h
<<_ACEOF
37166 #define WX_STATFS_T $wx_cv_type_statvfs_t
37170 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37171 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37174 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37177 for ac_func
in fcntl flock
37179 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37180 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37182 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37183 echo $ECHO_N "(cached) $ECHO_C" >&6
37185 cat >conftest.
$ac_ext <<_ACEOF
37188 cat confdefs.h
>>conftest.
$ac_ext
37189 cat >>conftest.
$ac_ext <<_ACEOF
37190 /* end confdefs.h. */
37191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37193 #define $ac_func innocuous_$ac_func
37195 /* System header to define __stub macros and hopefully few prototypes,
37196 which can conflict with char $ac_func (); below.
37197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37198 <limits.h> exists even on freestanding compilers. */
37201 # include <limits.h>
37203 # include <assert.h>
37208 /* Override any GCC internal prototype to avoid an error.
37209 Use char because int might match the return type of a GCC
37210 builtin and then its argument prototype would still apply. */
37215 /* The GNU C library defines this for functions which it implements
37216 to always fail with ENOSYS. Some functions are actually named
37217 something starting with __ and the normal name is an alias. */
37218 #if defined __stub_$ac_func || defined __stub___$ac_func
37225 return $ac_func ();
37230 rm -f conftest.
$ac_objext conftest
$ac_exeext
37231 if { (ac_try
="$ac_link"
37232 case "(($ac_try" in
37233 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37234 *) ac_try_echo=$ac_try;;
37236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37237 (eval "$ac_link") 2>conftest.er1
37239 grep -v '^ *+' conftest.er1 >conftest.err
37241 cat conftest.err >&5
37242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37243 (exit $ac_status); } && {
37244 test -z "$ac_c_werror_flag" ||
37245 test ! -s conftest.err
37246 } && test -s conftest$ac_exeext &&
37247 $as_test_x conftest$ac_exeext; then
37248 eval "$as_ac_var=yes"
37250 echo "$as_me: failed program was:" >&5
37251 sed 's/^/| /' conftest.$ac_ext >&5
37253 eval "$as_ac_var=no"
37256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37257 conftest$ac_exeext conftest.$ac_ext
37259 ac_res=`eval echo '${'$as_ac_var'}'`
37260 { echo "$as_me:$LINENO: result: $ac_res" >&5
37261 echo "${ECHO_T}$ac_res" >&6; }
37262 if test `eval echo '${'$as_ac_var'}'` = yes; then
37263 cat >>confdefs.h <<_ACEOF
37264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37271 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37272 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37273 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37274 wxUSE_SNGLINST_CHECKER=no
37280 for ac_func in setenv putenv
37282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37283 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37285 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37286 echo $ECHO_N "(cached) $ECHO_C" >&6
37288 cat >conftest.$ac_ext <<_ACEOF
37291 cat confdefs.h >>conftest.$ac_ext
37292 cat >>conftest.$ac_ext <<_ACEOF
37293 /* end confdefs.h. */
37294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37296 #define $ac_func innocuous_$ac_func
37298 /* System header to define __stub macros and hopefully few prototypes,
37299 which can conflict with char $ac_func (); below.
37300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37301 <limits.h> exists even on freestanding compilers. */
37304 # include <limits.h>
37306 # include <assert.h>
37311 /* Override any GCC internal prototype to avoid an error.
37312 Use char because int might match the return type of a GCC
37313 builtin and then its argument prototype would still apply. */
37318 /* The GNU C library defines this for functions which it implements
37319 to always fail with ENOSYS. Some functions are actually named
37320 something starting with __ and the normal name is an alias. */
37321 #if defined __stub_$ac_func || defined __stub___$ac_func
37328 return $ac_func ();
37333 rm -f conftest.$ac_objext conftest$ac_exeext
37334 if { (ac_try="$ac_link"
37335 case "(($ac_try" in
37336 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37337 *) ac_try_echo
=$ac_try;;
37339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37340 (eval "$ac_link") 2>conftest.er1
37342 grep -v '^ *+' conftest.er1
>conftest.err
37344 cat conftest.err
>&5
37345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37346 (exit $ac_status); } && {
37347 test -z "$ac_c_werror_flag" ||
37348 test ! -s conftest.err
37349 } && test -s conftest
$ac_exeext &&
37350 $as_test_x conftest
$ac_exeext; then
37351 eval "$as_ac_var=yes"
37353 echo "$as_me: failed program was:" >&5
37354 sed 's/^/| /' conftest.
$ac_ext >&5
37356 eval "$as_ac_var=no"
37359 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37360 conftest
$ac_exeext conftest.
$ac_ext
37362 ac_res
=`eval echo '${'$as_ac_var'}'`
37363 { echo "$as_me:$LINENO: result: $ac_res" >&5
37364 echo "${ECHO_T}$ac_res" >&6; }
37365 if test `eval echo '${'$as_ac_var'}'` = yes; then
37366 cat >>confdefs.h
<<_ACEOF
37367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37373 if test "$ac_cv_func_setenv" = "yes"; then
37375 for ac_func
in unsetenv
37377 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37378 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37380 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37381 echo $ECHO_N "(cached) $ECHO_C" >&6
37383 cat >conftest.
$ac_ext <<_ACEOF
37386 cat confdefs.h
>>conftest.
$ac_ext
37387 cat >>conftest.
$ac_ext <<_ACEOF
37388 /* end confdefs.h. */
37389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37391 #define $ac_func innocuous_$ac_func
37393 /* System header to define __stub macros and hopefully few prototypes,
37394 which can conflict with char $ac_func (); below.
37395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37396 <limits.h> exists even on freestanding compilers. */
37399 # include <limits.h>
37401 # include <assert.h>
37406 /* Override any GCC internal prototype to avoid an error.
37407 Use char because int might match the return type of a GCC
37408 builtin and then its argument prototype would still apply. */
37413 /* The GNU C library defines this for functions which it implements
37414 to always fail with ENOSYS. Some functions are actually named
37415 something starting with __ and the normal name is an alias. */
37416 #if defined __stub_$ac_func || defined __stub___$ac_func
37423 return $ac_func ();
37428 rm -f conftest.
$ac_objext conftest
$ac_exeext
37429 if { (ac_try
="$ac_link"
37430 case "(($ac_try" in
37431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37432 *) ac_try_echo=$ac_try;;
37434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37435 (eval "$ac_link") 2>conftest.er1
37437 grep -v '^ *+' conftest.er1 >conftest.err
37439 cat conftest.err >&5
37440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441 (exit $ac_status); } && {
37442 test -z "$ac_c_werror_flag" ||
37443 test ! -s conftest.err
37444 } && test -s conftest$ac_exeext &&
37445 $as_test_x conftest$ac_exeext; then
37446 eval "$as_ac_var=yes"
37448 echo "$as_me: failed program was:" >&5
37449 sed 's/^/| /' conftest.$ac_ext >&5
37451 eval "$as_ac_var=no"
37454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37455 conftest$ac_exeext conftest.$ac_ext
37457 ac_res=`eval echo '${'$as_ac_var'}'`
37458 { echo "$as_me:$LINENO: result: $ac_res" >&5
37459 echo "${ECHO_T}$ac_res" >&6; }
37460 if test `eval echo '${'$as_ac_var'}'` = yes; then
37461 cat >>confdefs.h <<_ACEOF
37462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37470 HAVE_SOME_SLEEP_FUNC=0
37471 if test "$USE_BEOS" = 1; then
37472 cat >>confdefs.h <<\_ACEOF
37473 #define HAVE_SLEEP 1
37476 HAVE_SOME_SLEEP_FUNC=1
37479 if test "$USE_DARWIN" = 1; then
37480 cat >>confdefs.h <<\_ACEOF
37481 #define HAVE_USLEEP 1
37484 HAVE_SOME_SLEEP_FUNC=1
37487 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37490 for ac_func in nanosleep
37492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37493 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37495 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37496 echo $ECHO_N "(cached) $ECHO_C" >&6
37498 cat >conftest.$ac_ext <<_ACEOF
37501 cat confdefs.h >>conftest.$ac_ext
37502 cat >>conftest.$ac_ext <<_ACEOF
37503 /* end confdefs.h. */
37504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37506 #define $ac_func innocuous_$ac_func
37508 /* System header to define __stub macros and hopefully few prototypes,
37509 which can conflict with char $ac_func (); below.
37510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37511 <limits.h> exists even on freestanding compilers. */
37514 # include <limits.h>
37516 # include <assert.h>
37521 /* Override any GCC internal prototype to avoid an error.
37522 Use char because int might match the return type of a GCC
37523 builtin and then its argument prototype would still apply. */
37528 /* The GNU C library defines this for functions which it implements
37529 to always fail with ENOSYS. Some functions are actually named
37530 something starting with __ and the normal name is an alias. */
37531 #if defined __stub_$ac_func || defined __stub___$ac_func
37538 return $ac_func ();
37543 rm -f conftest.$ac_objext conftest$ac_exeext
37544 if { (ac_try="$ac_link"
37545 case "(($ac_try" in
37546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37547 *) ac_try_echo
=$ac_try;;
37549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37550 (eval "$ac_link") 2>conftest.er1
37552 grep -v '^ *+' conftest.er1
>conftest.err
37554 cat conftest.err
>&5
37555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37556 (exit $ac_status); } && {
37557 test -z "$ac_c_werror_flag" ||
37558 test ! -s conftest.err
37559 } && test -s conftest
$ac_exeext &&
37560 $as_test_x conftest
$ac_exeext; then
37561 eval "$as_ac_var=yes"
37563 echo "$as_me: failed program was:" >&5
37564 sed 's/^/| /' conftest.
$ac_ext >&5
37566 eval "$as_ac_var=no"
37569 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37570 conftest
$ac_exeext conftest.
$ac_ext
37572 ac_res
=`eval echo '${'$as_ac_var'}'`
37573 { echo "$as_me:$LINENO: result: $ac_res" >&5
37574 echo "${ECHO_T}$ac_res" >&6; }
37575 if test `eval echo '${'$as_ac_var'}'` = yes; then
37576 cat >>confdefs.h
<<_ACEOF
37577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37579 cat >>confdefs.h
<<\_ACEOF
37580 #define HAVE_NANOSLEEP 1
37585 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37586 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37587 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37588 echo $ECHO_N "(cached) $ECHO_C" >&6
37590 ac_check_lib_save_LIBS
=$LIBS
37591 LIBS
="-lposix4 $LIBS"
37592 cat >conftest.
$ac_ext <<_ACEOF
37595 cat confdefs.h
>>conftest.
$ac_ext
37596 cat >>conftest.
$ac_ext <<_ACEOF
37597 /* end confdefs.h. */
37599 /* Override any GCC internal prototype to avoid an error.
37600 Use char because int might match the return type of a GCC
37601 builtin and then its argument prototype would still apply. */
37609 return nanosleep ();
37614 rm -f conftest.
$ac_objext conftest
$ac_exeext
37615 if { (ac_try
="$ac_link"
37616 case "(($ac_try" in
37617 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37618 *) ac_try_echo=$ac_try;;
37620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37621 (eval "$ac_link") 2>conftest.er1
37623 grep -v '^ *+' conftest.er1 >conftest.err
37625 cat conftest.err >&5
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); } && {
37628 test -z "$ac_c_werror_flag" ||
37629 test ! -s conftest.err
37630 } && test -s conftest$ac_exeext &&
37631 $as_test_x conftest$ac_exeext; then
37632 ac_cv_lib_posix4_nanosleep=yes
37634 echo "$as_me: failed program was:" >&5
37635 sed 's/^/| /' conftest.$ac_ext >&5
37637 ac_cv_lib_posix4_nanosleep=no
37640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37641 conftest$ac_exeext conftest.$ac_ext
37642 LIBS=$ac_check_lib_save_LIBS
37644 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37645 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37646 if test $ac_cv_lib_posix4_nanosleep = yes; then
37648 cat >>confdefs.h <<\_ACEOF
37649 #define HAVE_NANOSLEEP 1
37652 POSIX4_LINK=" -lposix4"
37657 for wx_func in usleep
37659 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37660 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37661 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37662 echo $ECHO_N "(cached) $ECHO_C" >&6
37665 cat >conftest.$ac_ext <<_ACEOF
37669 cat confdefs.h >>conftest.$ac_ext
37670 cat >>conftest.$ac_ext <<_ACEOF
37671 /* end confdefs.h. */
37674 $ac_includes_default
37690 rm -f conftest.$ac_objext conftest$ac_exeext
37691 if { (ac_try="$ac_link"
37692 case "(($ac_try" in
37693 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37694 *) ac_try_echo
=$ac_try;;
37696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37697 (eval "$ac_link") 2>conftest.er1
37699 grep -v '^ *+' conftest.er1
>conftest.err
37701 cat conftest.err
>&5
37702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37703 (exit $ac_status); } && {
37704 test -z "$ac_c_werror_flag" ||
37705 test ! -s conftest.err
37706 } && test -s conftest
$ac_exeext &&
37707 $as_test_x conftest
$ac_exeext; then
37708 eval wx_cv_func_
$wx_func=yes
37710 echo "$as_me: failed program was:" >&5
37711 sed 's/^/| /' conftest.
$ac_ext >&5
37713 eval wx_cv_func_
$wx_func=no
37716 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37717 conftest
$ac_exeext conftest.
$ac_ext
37720 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37721 { echo "$as_me:$LINENO: result: $ac_res" >&5
37722 echo "${ECHO_T}$ac_res" >&6; }
37724 if eval test \
$wx_cv_func_$wx_func = yes
37726 cat >>confdefs.h
<<_ACEOF
37727 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37733 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37734 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37751 for wx_func
in uname
37753 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37754 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37755 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37756 echo $ECHO_N "(cached) $ECHO_C" >&6
37759 cat >conftest.
$ac_ext <<_ACEOF
37763 cat confdefs.h
>>conftest.
$ac_ext
37764 cat >>conftest.
$ac_ext <<_ACEOF
37765 /* end confdefs.h. */
37767 #include <sys/utsname.h>
37768 $ac_includes_default
37784 rm -f conftest.
$ac_objext conftest
$ac_exeext
37785 if { (ac_try
="$ac_link"
37786 case "(($ac_try" in
37787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37788 *) ac_try_echo=$ac_try;;
37790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37791 (eval "$ac_link") 2>conftest.er1
37793 grep -v '^ *+' conftest.er1 >conftest.err
37795 cat conftest.err >&5
37796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797 (exit $ac_status); } && {
37798 test -z "$ac_c_werror_flag" ||
37799 test ! -s conftest.err
37800 } && test -s conftest$ac_exeext &&
37801 $as_test_x conftest$ac_exeext; then
37802 eval wx_cv_func_$wx_func=yes
37804 echo "$as_me: failed program was:" >&5
37805 sed 's/^/| /' conftest.$ac_ext >&5
37807 eval wx_cv_func_$wx_func=no
37810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37811 conftest$ac_exeext conftest.$ac_ext
37814 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37815 { echo "$as_me:$LINENO: result: $ac_res" >&5
37816 echo "${ECHO_T}$ac_res" >&6; }
37818 if eval test \$wx_cv_func_$wx_func = yes
37820 cat >>confdefs.h <<_ACEOF
37821 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37831 if test "$wx_cv_func_uname" != yes; then
37833 for wx_func in gethostname
37835 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37836 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37837 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37838 echo $ECHO_N "(cached) $ECHO_C" >&6
37841 cat >conftest.$ac_ext <<_ACEOF
37845 cat confdefs.h >>conftest.$ac_ext
37846 cat >>conftest.$ac_ext <<_ACEOF
37847 /* end confdefs.h. */
37850 $ac_includes_default
37866 rm -f conftest.$ac_objext conftest$ac_exeext
37867 if { (ac_try="$ac_link"
37868 case "(($ac_try" in
37869 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37870 *) ac_try_echo
=$ac_try;;
37872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37873 (eval "$ac_link") 2>conftest.er1
37875 grep -v '^ *+' conftest.er1
>conftest.err
37877 cat conftest.err
>&5
37878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879 (exit $ac_status); } && {
37880 test -z "$ac_c_werror_flag" ||
37881 test ! -s conftest.err
37882 } && test -s conftest
$ac_exeext &&
37883 $as_test_x conftest
$ac_exeext; then
37884 eval wx_cv_func_
$wx_func=yes
37886 echo "$as_me: failed program was:" >&5
37887 sed 's/^/| /' conftest.
$ac_ext >&5
37889 eval wx_cv_func_
$wx_func=no
37892 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37893 conftest
$ac_exeext conftest.
$ac_ext
37896 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37897 { echo "$as_me:$LINENO: result: $ac_res" >&5
37898 echo "${ECHO_T}$ac_res" >&6; }
37900 if eval test \
$wx_cv_func_$wx_func = yes
37902 cat >>confdefs.h
<<_ACEOF
37903 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37916 for wx_func
in strtok_r
37918 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37919 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37920 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37921 echo $ECHO_N "(cached) $ECHO_C" >&6
37924 cat >conftest.
$ac_ext <<_ACEOF
37928 cat confdefs.h
>>conftest.
$ac_ext
37929 cat >>conftest.
$ac_ext <<_ACEOF
37930 /* end confdefs.h. */
37933 $ac_includes_default
37949 rm -f conftest.
$ac_objext conftest
$ac_exeext
37950 if { (ac_try
="$ac_link"
37951 case "(($ac_try" in
37952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37953 *) ac_try_echo=$ac_try;;
37955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37956 (eval "$ac_link") 2>conftest.er1
37958 grep -v '^ *+' conftest.er1 >conftest.err
37960 cat conftest.err >&5
37961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37962 (exit $ac_status); } && {
37963 test -z "$ac_c_werror_flag" ||
37964 test ! -s conftest.err
37965 } && test -s conftest$ac_exeext &&
37966 $as_test_x conftest$ac_exeext; then
37967 eval wx_cv_func_$wx_func=yes
37969 echo "$as_me: failed program was:" >&5
37970 sed 's/^/| /' conftest.$ac_ext >&5
37972 eval wx_cv_func_$wx_func=no
37975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37976 conftest$ac_exeext conftest.$ac_ext
37979 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37980 { echo "$as_me:$LINENO: result: $ac_res" >&5
37981 echo "${ECHO_T}$ac_res" >&6; }
37983 if eval test \$wx_cv_func_$wx_func = yes
37985 cat >>confdefs.h <<_ACEOF
37986 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37999 for ac_func in inet_addr
38001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38002 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38004 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38005 echo $ECHO_N "(cached) $ECHO_C" >&6
38007 cat >conftest.$ac_ext <<_ACEOF
38010 cat confdefs.h >>conftest.$ac_ext
38011 cat >>conftest.$ac_ext <<_ACEOF
38012 /* end confdefs.h. */
38013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38015 #define $ac_func innocuous_$ac_func
38017 /* System header to define __stub macros and hopefully few prototypes,
38018 which can conflict with char $ac_func (); below.
38019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38020 <limits.h> exists even on freestanding compilers. */
38023 # include <limits.h>
38025 # include <assert.h>
38030 /* Override any GCC internal prototype to avoid an error.
38031 Use char because int might match the return type of a GCC
38032 builtin and then its argument prototype would still apply. */
38037 /* The GNU C library defines this for functions which it implements
38038 to always fail with ENOSYS. Some functions are actually named
38039 something starting with __ and the normal name is an alias. */
38040 #if defined __stub_$ac_func || defined __stub___$ac_func
38047 return $ac_func ();
38052 rm -f conftest.$ac_objext conftest$ac_exeext
38053 if { (ac_try="$ac_link"
38054 case "(($ac_try" in
38055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38056 *) ac_try_echo
=$ac_try;;
38058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38059 (eval "$ac_link") 2>conftest.er1
38061 grep -v '^ *+' conftest.er1
>conftest.err
38063 cat conftest.err
>&5
38064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38065 (exit $ac_status); } && {
38066 test -z "$ac_c_werror_flag" ||
38067 test ! -s conftest.err
38068 } && test -s conftest
$ac_exeext &&
38069 $as_test_x conftest
$ac_exeext; then
38070 eval "$as_ac_var=yes"
38072 echo "$as_me: failed program was:" >&5
38073 sed 's/^/| /' conftest.
$ac_ext >&5
38075 eval "$as_ac_var=no"
38078 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38079 conftest
$ac_exeext conftest.
$ac_ext
38081 ac_res
=`eval echo '${'$as_ac_var'}'`
38082 { echo "$as_me:$LINENO: result: $ac_res" >&5
38083 echo "${ECHO_T}$ac_res" >&6; }
38084 if test `eval echo '${'$as_ac_var'}'` = yes; then
38085 cat >>confdefs.h
<<_ACEOF
38086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38088 cat >>confdefs.h
<<\_ACEOF
38089 #define HAVE_INET_ADDR 1
38094 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38095 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38096 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38097 echo $ECHO_N "(cached) $ECHO_C" >&6
38099 ac_check_lib_save_LIBS
=$LIBS
38101 cat >conftest.
$ac_ext <<_ACEOF
38104 cat confdefs.h
>>conftest.
$ac_ext
38105 cat >>conftest.
$ac_ext <<_ACEOF
38106 /* end confdefs.h. */
38108 /* Override any GCC internal prototype to avoid an error.
38109 Use char because int might match the return type of a GCC
38110 builtin and then its argument prototype would still apply. */
38118 return inet_addr ();
38123 rm -f conftest.
$ac_objext conftest
$ac_exeext
38124 if { (ac_try
="$ac_link"
38125 case "(($ac_try" in
38126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38127 *) ac_try_echo=$ac_try;;
38129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38130 (eval "$ac_link") 2>conftest.er1
38132 grep -v '^ *+' conftest.er1 >conftest.err
38134 cat conftest.err >&5
38135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38136 (exit $ac_status); } && {
38137 test -z "$ac_c_werror_flag" ||
38138 test ! -s conftest.err
38139 } && test -s conftest$ac_exeext &&
38140 $as_test_x conftest$ac_exeext; then
38141 ac_cv_lib_nsl_inet_addr=yes
38143 echo "$as_me: failed program was:" >&5
38144 sed 's/^/| /' conftest.$ac_ext >&5
38146 ac_cv_lib_nsl_inet_addr=no
38149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38150 conftest$ac_exeext conftest.$ac_ext
38151 LIBS=$ac_check_lib_save_LIBS
38153 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38154 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38155 if test $ac_cv_lib_nsl_inet_addr = yes; then
38159 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38160 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38161 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38162 echo $ECHO_N "(cached) $ECHO_C" >&6
38164 ac_check_lib_save_LIBS=$LIBS
38165 LIBS="-lresolv $LIBS"
38166 cat >conftest.$ac_ext <<_ACEOF
38169 cat confdefs.h >>conftest.$ac_ext
38170 cat >>conftest.$ac_ext <<_ACEOF
38171 /* end confdefs.h. */
38173 /* Override any GCC internal prototype to avoid an error.
38174 Use char because int might match the return type of a GCC
38175 builtin and then its argument prototype would still apply. */
38183 return inet_addr ();
38188 rm -f conftest.$ac_objext conftest$ac_exeext
38189 if { (ac_try="$ac_link"
38190 case "(($ac_try" in
38191 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38192 *) ac_try_echo
=$ac_try;;
38194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38195 (eval "$ac_link") 2>conftest.er1
38197 grep -v '^ *+' conftest.er1
>conftest.err
38199 cat conftest.err
>&5
38200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38201 (exit $ac_status); } && {
38202 test -z "$ac_c_werror_flag" ||
38203 test ! -s conftest.err
38204 } && test -s conftest
$ac_exeext &&
38205 $as_test_x conftest
$ac_exeext; then
38206 ac_cv_lib_resolv_inet_addr
=yes
38208 echo "$as_me: failed program was:" >&5
38209 sed 's/^/| /' conftest.
$ac_ext >&5
38211 ac_cv_lib_resolv_inet_addr
=no
38214 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38215 conftest
$ac_exeext conftest.
$ac_ext
38216 LIBS
=$ac_check_lib_save_LIBS
38218 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38219 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38220 if test $ac_cv_lib_resolv_inet_addr = yes; then
38224 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38225 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38226 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38227 echo $ECHO_N "(cached) $ECHO_C" >&6
38229 ac_check_lib_save_LIBS
=$LIBS
38230 LIBS
="-lsocket $LIBS"
38231 cat >conftest.
$ac_ext <<_ACEOF
38234 cat confdefs.h
>>conftest.
$ac_ext
38235 cat >>conftest.
$ac_ext <<_ACEOF
38236 /* end confdefs.h. */
38238 /* Override any GCC internal prototype to avoid an error.
38239 Use char because int might match the return type of a GCC
38240 builtin and then its argument prototype would still apply. */
38248 return inet_addr ();
38253 rm -f conftest.
$ac_objext conftest
$ac_exeext
38254 if { (ac_try
="$ac_link"
38255 case "(($ac_try" in
38256 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38257 *) ac_try_echo=$ac_try;;
38259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38260 (eval "$ac_link") 2>conftest.er1
38262 grep -v '^ *+' conftest.er1 >conftest.err
38264 cat conftest.err >&5
38265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38266 (exit $ac_status); } && {
38267 test -z "$ac_c_werror_flag" ||
38268 test ! -s conftest.err
38269 } && test -s conftest$ac_exeext &&
38270 $as_test_x conftest$ac_exeext; then
38271 ac_cv_lib_socket_inet_addr=yes
38273 echo "$as_me: failed program was:" >&5
38274 sed 's/^/| /' conftest.$ac_ext >&5
38276 ac_cv_lib_socket_inet_addr=no
38279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38280 conftest$ac_exeext conftest.$ac_ext
38281 LIBS=$ac_check_lib_save_LIBS
38283 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38284 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38285 if test $ac_cv_lib_socket_inet_addr = yes; then
38305 for ac_func in inet_aton
38307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38308 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38310 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38311 echo $ECHO_N "(cached) $ECHO_C" >&6
38313 cat >conftest.$ac_ext <<_ACEOF
38316 cat confdefs.h >>conftest.$ac_ext
38317 cat >>conftest.$ac_ext <<_ACEOF
38318 /* end confdefs.h. */
38319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38321 #define $ac_func innocuous_$ac_func
38323 /* System header to define __stub macros and hopefully few prototypes,
38324 which can conflict with char $ac_func (); below.
38325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38326 <limits.h> exists even on freestanding compilers. */
38329 # include <limits.h>
38331 # include <assert.h>
38336 /* Override any GCC internal prototype to avoid an error.
38337 Use char because int might match the return type of a GCC
38338 builtin and then its argument prototype would still apply. */
38343 /* The GNU C library defines this for functions which it implements
38344 to always fail with ENOSYS. Some functions are actually named
38345 something starting with __ and the normal name is an alias. */
38346 #if defined __stub_$ac_func || defined __stub___$ac_func
38353 return $ac_func ();
38358 rm -f conftest.$ac_objext conftest$ac_exeext
38359 if { (ac_try="$ac_link"
38360 case "(($ac_try" in
38361 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38362 *) ac_try_echo
=$ac_try;;
38364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38365 (eval "$ac_link") 2>conftest.er1
38367 grep -v '^ *+' conftest.er1
>conftest.err
38369 cat conftest.err
>&5
38370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38371 (exit $ac_status); } && {
38372 test -z "$ac_c_werror_flag" ||
38373 test ! -s conftest.err
38374 } && test -s conftest
$ac_exeext &&
38375 $as_test_x conftest
$ac_exeext; then
38376 eval "$as_ac_var=yes"
38378 echo "$as_me: failed program was:" >&5
38379 sed 's/^/| /' conftest.
$ac_ext >&5
38381 eval "$as_ac_var=no"
38384 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38385 conftest
$ac_exeext conftest.
$ac_ext
38387 ac_res
=`eval echo '${'$as_ac_var'}'`
38388 { echo "$as_me:$LINENO: result: $ac_res" >&5
38389 echo "${ECHO_T}$ac_res" >&6; }
38390 if test `eval echo '${'$as_ac_var'}'` = yes; then
38391 cat >>confdefs.h
<<_ACEOF
38392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38394 cat >>confdefs.h
<<\_ACEOF
38395 #define HAVE_INET_ATON 1
38400 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38401 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38402 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38403 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38404 echo $ECHO_N "(cached) $ECHO_C" >&6
38406 ac_check_lib_save_LIBS
=$LIBS
38407 LIBS
="-l$INET_LINK $LIBS"
38408 cat >conftest.
$ac_ext <<_ACEOF
38411 cat confdefs.h
>>conftest.
$ac_ext
38412 cat >>conftest.
$ac_ext <<_ACEOF
38413 /* end confdefs.h. */
38415 /* Override any GCC internal prototype to avoid an error.
38416 Use char because int might match the return type of a GCC
38417 builtin and then its argument prototype would still apply. */
38425 return inet_aton ();
38430 rm -f conftest.
$ac_objext conftest
$ac_exeext
38431 if { (ac_try
="$ac_link"
38432 case "(($ac_try" in
38433 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38434 *) ac_try_echo=$ac_try;;
38436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38437 (eval "$ac_link") 2>conftest.er1
38439 grep -v '^ *+' conftest.er1 >conftest.err
38441 cat conftest.err >&5
38442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38443 (exit $ac_status); } && {
38444 test -z "$ac_c_werror_flag" ||
38445 test ! -s conftest.err
38446 } && test -s conftest$ac_exeext &&
38447 $as_test_x conftest$ac_exeext; then
38448 eval "$as_ac_Lib=yes"
38450 echo "$as_me: failed program was:" >&5
38451 sed 's/^/| /' conftest.$ac_ext >&5
38453 eval "$as_ac_Lib=no"
38456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38457 conftest$ac_exeext conftest.$ac_ext
38458 LIBS=$ac_check_lib_save_LIBS
38460 ac_res=`eval echo '${'$as_ac_Lib'}'`
38461 { echo "$as_me:$LINENO: result: $ac_res" >&5
38462 echo "${ECHO_T}$ac_res" >&6; }
38463 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38464 cat >>confdefs.h <<\_ACEOF
38465 #define HAVE_INET_ATON 1
38475 if test "x$INET_LINK" != "x"; then
38476 cat >>confdefs.h <<\_ACEOF
38477 #define HAVE_INET_ADDR 1
38480 INET_LINK=" -l$INET_LINK"
38484 for wx_func in fdopen
38486 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38487 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38488 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38489 echo $ECHO_N "(cached) $ECHO_C" >&6
38492 cat >conftest.$ac_ext <<_ACEOF
38496 cat confdefs.h >>conftest.$ac_ext
38497 cat >>conftest.$ac_ext <<_ACEOF
38498 /* end confdefs.h. */
38501 $ac_includes_default
38517 rm -f conftest.$ac_objext conftest$ac_exeext
38518 if { (ac_try="$ac_link"
38519 case "(($ac_try" in
38520 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38521 *) ac_try_echo
=$ac_try;;
38523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38524 (eval "$ac_link") 2>conftest.er1
38526 grep -v '^ *+' conftest.er1
>conftest.err
38528 cat conftest.err
>&5
38529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38530 (exit $ac_status); } && {
38531 test -z "$ac_c_werror_flag" ||
38532 test ! -s conftest.err
38533 } && test -s conftest
$ac_exeext &&
38534 $as_test_x conftest
$ac_exeext; then
38535 eval wx_cv_func_
$wx_func=yes
38537 echo "$as_me: failed program was:" >&5
38538 sed 's/^/| /' conftest.
$ac_ext >&5
38540 eval wx_cv_func_
$wx_func=no
38543 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38544 conftest
$ac_exeext conftest.
$ac_ext
38547 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38548 { echo "$as_me:$LINENO: result: $ac_res" >&5
38549 echo "${ECHO_T}$ac_res" >&6; }
38551 if eval test \
$wx_cv_func_$wx_func = yes
38553 cat >>confdefs.h
<<_ACEOF
38554 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38565 if test "$wxUSE_TARSTREAM" = "yes"; then
38567 for wx_func
in sysconf
38569 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38570 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38571 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38572 echo $ECHO_N "(cached) $ECHO_C" >&6
38575 cat >conftest.
$ac_ext <<_ACEOF
38579 cat confdefs.h
>>conftest.
$ac_ext
38580 cat >>conftest.
$ac_ext <<_ACEOF
38581 /* end confdefs.h. */
38584 $ac_includes_default
38600 rm -f conftest.
$ac_objext conftest
$ac_exeext
38601 if { (ac_try
="$ac_link"
38602 case "(($ac_try" in
38603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38604 *) ac_try_echo=$ac_try;;
38606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38607 (eval "$ac_link") 2>conftest.er1
38609 grep -v '^ *+' conftest.er1 >conftest.err
38611 cat conftest.err >&5
38612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38613 (exit $ac_status); } && {
38614 test -z "$ac_c_werror_flag" ||
38615 test ! -s conftest.err
38616 } && test -s conftest$ac_exeext &&
38617 $as_test_x conftest$ac_exeext; then
38618 eval wx_cv_func_$wx_func=yes
38620 echo "$as_me: failed program was:" >&5
38621 sed 's/^/| /' conftest.$ac_ext >&5
38623 eval wx_cv_func_$wx_func=no
38626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38627 conftest$ac_exeext conftest.$ac_ext
38630 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38631 { echo "$as_me:$LINENO: result: $ac_res" >&5
38632 echo "${ECHO_T}$ac_res" >&6; }
38634 if eval test \$wx_cv_func_$wx_func = yes
38636 cat >>confdefs.h <<_ACEOF
38637 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38649 for wx_func in getpwuid_r
38651 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38652 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38653 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38654 echo $ECHO_N "(cached) $ECHO_C" >&6
38657 cat >conftest.$ac_ext <<_ACEOF
38661 cat confdefs.h >>conftest.$ac_ext
38662 cat >>conftest.$ac_ext <<_ACEOF
38663 /* end confdefs.h. */
38669 $ac_includes_default
38679 struct passwd pw, *ppw;
38681 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38689 rm -f conftest.$ac_objext conftest$ac_exeext
38690 if { (ac_try="$ac_link"
38691 case "(($ac_try" in
38692 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38693 *) ac_try_echo
=$ac_try;;
38695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38696 (eval "$ac_link") 2>conftest.er1
38698 grep -v '^ *+' conftest.er1
>conftest.err
38700 cat conftest.err
>&5
38701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38702 (exit $ac_status); } && {
38703 test -z "$ac_c_werror_flag" ||
38704 test ! -s conftest.err
38705 } && test -s conftest
$ac_exeext &&
38706 $as_test_x conftest
$ac_exeext; then
38707 eval wx_cv_func_
$wx_func=yes
38709 echo "$as_me: failed program was:" >&5
38710 sed 's/^/| /' conftest.
$ac_ext >&5
38712 eval wx_cv_func_
$wx_func=no
38715 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38716 conftest
$ac_exeext conftest.
$ac_ext
38719 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38720 { echo "$as_me:$LINENO: result: $ac_res" >&5
38721 echo "${ECHO_T}$ac_res" >&6; }
38723 if eval test \
$wx_cv_func_$wx_func = yes
38725 cat >>confdefs.h
<<_ACEOF
38726 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38738 for wx_func
in getgrgid_r
38740 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38741 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38742 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38743 echo $ECHO_N "(cached) $ECHO_C" >&6
38746 cat >conftest.
$ac_ext <<_ACEOF
38750 cat confdefs.h
>>conftest.
$ac_ext
38751 cat >>conftest.
$ac_ext <<_ACEOF
38752 /* end confdefs.h. */
38758 $ac_includes_default
38768 struct group grp, *pgrp;
38770 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38778 rm -f conftest.
$ac_objext conftest
$ac_exeext
38779 if { (ac_try
="$ac_link"
38780 case "(($ac_try" in
38781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38782 *) ac_try_echo=$ac_try;;
38784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38785 (eval "$ac_link") 2>conftest.er1
38787 grep -v '^ *+' conftest.er1 >conftest.err
38789 cat conftest.err >&5
38790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38791 (exit $ac_status); } && {
38792 test -z "$ac_c_werror_flag" ||
38793 test ! -s conftest.err
38794 } && test -s conftest$ac_exeext &&
38795 $as_test_x conftest$ac_exeext; then
38796 eval wx_cv_func_$wx_func=yes
38798 echo "$as_me: failed program was:" >&5
38799 sed 's/^/| /' conftest.$ac_ext >&5
38801 eval wx_cv_func_$wx_func=no
38804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38805 conftest$ac_exeext conftest.$ac_ext
38808 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38809 { echo "$as_me:$LINENO: result: $ac_res" >&5
38810 echo "${ECHO_T}$ac_res" >&6; }
38812 if eval test \$wx_cv_func_$wx_func = yes
38814 cat >>confdefs.h <<_ACEOF
38815 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38831 cat >confcache <<\_ACEOF
38832 # This file is a shell script that caches the results of configure
38833 # tests run on this system so they can be shared between configure
38834 # scripts and configure runs, see configure's option --config-cache.
38835 # It is not useful on other systems. If it contains results you don't
38836 # want to keep, you may remove or edit it.
38838 # config.status only pays attention to the cache file if you give it
38839 # the --recheck option to rerun configure.
38841 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38842 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38843 # following values.
38847 # The following way of writing the cache mishandles newlines in values,
38848 # but we know of no workaround that is simple, portable, and efficient.
38849 # So, we kill variables containing newlines.
38850 # Ultrix sh set writes to stderr and can't be redirected directly,
38851 # and sets the high bit in the cache file unless we assign to the vars.
38853 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38854 eval ac_val
=\$
$ac_var
38858 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38859 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38862 _
| IFS
| as_nl
) ;; #(
38863 *) $as_unset $ac_var ;;
38869 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38870 *${as_nl}ac_space
=\
*)
38871 # `set' does not quote correctly, so add quotes (double-quote
38872 # substitution turns \\\\ into \\, and sed turns \\ into \).
38875 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38878 # `set' quotes correctly as required by POSIX, so do not add quotes.
38879 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38888 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38890 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38892 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38893 if test -w "$cache_file"; then
38894 test "x$cache_file" != "x/dev/null" &&
38895 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38896 echo "$as_me: updating cache $cache_file" >&6;}
38897 cat confcache
>$cache_file
38899 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38900 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38906 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38912 if test "$wxUSE_THREADS" = "yes" ; then
38913 if test "$USE_BEOS" = 1; then
38914 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38915 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38920 if test "$wxUSE_THREADS" = "yes" ; then
38923 THREAD_OPTS
="-pthread"
38924 if test "x$SUNCXX" = xyes
; then
38925 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38929 *-*-solaris2* | *-*-sunos4* )
38930 if test "x$GCC" = "xyes"; then
38931 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38935 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38937 *-*-darwin* | *-*-cygwin* )
38941 THREAD_OPTS
="pthreads"
38944 if test "x$GCC" = "xyes"; then
38945 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38953 if test "x$GCC" = "xyes"; then
38959 if test "x$GCC" != "xyes"; then
38960 THREAD_OPTS
="-Ethread"
38965 THREAD_OPTS
="$THREAD_OPTS pthread none"
38968 for flag
in $THREAD_OPTS; do
38971 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38972 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38976 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38977 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38978 THREADS_CFLAGS
="$flag"
38982 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38983 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38984 THREADS_LINK
="-l$flag"
38989 save_CFLAGS
="$CFLAGS"
38990 LIBS
="$THREADS_LINK $LIBS"
38991 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38993 cat >conftest.
$ac_ext <<_ACEOF
38996 cat confdefs.h
>>conftest.
$ac_ext
38997 cat >>conftest.
$ac_ext <<_ACEOF
38998 /* end confdefs.h. */
38999 #include <pthread.h>
39003 pthread_create(0,0,0,0);
39008 rm -f conftest.
$ac_objext conftest
$ac_exeext
39009 if { (ac_try
="$ac_link"
39010 case "(($ac_try" in
39011 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39012 *) ac_try_echo=$ac_try;;
39014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39015 (eval "$ac_link") 2>conftest.er1
39017 grep -v '^ *+' conftest.er1 >conftest.err
39019 cat conftest.err >&5
39020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39021 (exit $ac_status); } && {
39022 test -z "$ac_c_werror_flag" ||
39023 test ! -s conftest.err
39024 } && test -s conftest$ac_exeext &&
39025 $as_test_x conftest$ac_exeext; then
39028 echo "$as_me: failed program was:" >&5
39029 sed 's/^/| /' conftest.$ac_ext >&5
39034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39035 conftest$ac_exeext conftest.$ac_ext
39038 CFLAGS="$save_CFLAGS"
39040 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39041 echo "${ECHO_T}$THREADS_OK" >&6; }
39042 if test "x$THREADS_OK" = "xyes"; then
39050 if test "x$THREADS_OK" != "xyes"; then
39052 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39053 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39055 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39056 LIBS="$THREADS_LINK $LIBS"
39058 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39059 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39063 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39064 flag="-D_THREAD_SAFE"
39067 flag="-D_THREAD_SAFE"
39070 flag="-D_REENTRANT"
39071 if test "x$GCC" != "xyes"; then
39072 flag="$flag -D_RWSTD_MULTI_THREAD"
39075 *solaris* | alpha*-osf*)
39076 flag="-D_REENTRANT"
39079 { echo "$as_me:$LINENO: result: ${flag}" >&5
39080 echo "${ECHO_T}${flag}" >&6; }
39081 if test "x$flag" != xno; then
39082 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39085 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39089 if test "$wxUSE_THREADS" = "yes" ; then
39091 for ac_func in thr_setconcurrency
39093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39094 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39096 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39097 echo $ECHO_N "(cached) $ECHO_C" >&6
39099 cat >conftest.$ac_ext <<_ACEOF
39102 cat confdefs.h >>conftest.$ac_ext
39103 cat >>conftest.$ac_ext <<_ACEOF
39104 /* end confdefs.h. */
39105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39107 #define $ac_func innocuous_$ac_func
39109 /* System header to define __stub macros and hopefully few prototypes,
39110 which can conflict with char $ac_func (); below.
39111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39112 <limits.h> exists even on freestanding compilers. */
39115 # include <limits.h>
39117 # include <assert.h>
39122 /* Override any GCC internal prototype to avoid an error.
39123 Use char because int might match the return type of a GCC
39124 builtin and then its argument prototype would still apply. */
39129 /* The GNU C library defines this for functions which it implements
39130 to always fail with ENOSYS. Some functions are actually named
39131 something starting with __ and the normal name is an alias. */
39132 #if defined __stub_$ac_func || defined __stub___$ac_func
39139 return $ac_func ();
39144 rm -f conftest.$ac_objext conftest$ac_exeext
39145 if { (ac_try="$ac_link"
39146 case "(($ac_try" in
39147 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39148 *) ac_try_echo
=$ac_try;;
39150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39151 (eval "$ac_link") 2>conftest.er1
39153 grep -v '^ *+' conftest.er1
>conftest.err
39155 cat conftest.err
>&5
39156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39157 (exit $ac_status); } && {
39158 test -z "$ac_c_werror_flag" ||
39159 test ! -s conftest.err
39160 } && test -s conftest
$ac_exeext &&
39161 $as_test_x conftest
$ac_exeext; then
39162 eval "$as_ac_var=yes"
39164 echo "$as_me: failed program was:" >&5
39165 sed 's/^/| /' conftest.
$ac_ext >&5
39167 eval "$as_ac_var=no"
39170 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39171 conftest
$ac_exeext conftest.
$ac_ext
39173 ac_res
=`eval echo '${'$as_ac_var'}'`
39174 { echo "$as_me:$LINENO: result: $ac_res" >&5
39175 echo "${ECHO_T}$ac_res" >&6; }
39176 if test `eval echo '${'$as_ac_var'}'` = yes; then
39177 cat >>confdefs.h
<<_ACEOF
39178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39185 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39186 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39187 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39192 ac_cpp
='$CXXCPP $CPPFLAGS'
39193 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39194 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39195 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39197 cat >conftest.
$ac_ext <<_ACEOF
39200 cat confdefs.h
>>conftest.
$ac_ext
39201 cat >>conftest.
$ac_ext <<_ACEOF
39202 /* end confdefs.h. */
39203 #include <pthread.h>
39204 void ThreadCleanupFunc(void *p);
39211 pthread_cleanup_push(ThreadCleanupFunc, p);
39212 pthread_cleanup_pop(0);
39218 rm -f conftest.
$ac_objext
39219 if { (ac_try
="$ac_compile"
39220 case "(($ac_try" in
39221 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39222 *) ac_try_echo=$ac_try;;
39224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39225 (eval "$ac_compile") 2>conftest.er1
39227 grep -v '^ *+' conftest.er1 >conftest.err
39229 cat conftest.err >&5
39230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39231 (exit $ac_status); } && {
39232 test -z "$ac_cxx_werror_flag" ||
39233 test ! -s conftest.err
39234 } && test -s conftest.$ac_objext; then
39236 wx_cv_func_pthread_cleanup=yes
39239 echo "$as_me: failed program was:" >&5
39240 sed 's/^/| /' conftest.$ac_ext >&5
39243 wx_cv_func_pthread_cleanup=no
39248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39250 ac_cpp='$CPP $CPPFLAGS'
39251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39257 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39258 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39259 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39260 cat >>confdefs.h <<\_ACEOF
39261 #define wxHAVE_PTHREAD_CLEANUP 1
39267 for ac_header in sched.h
39269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39270 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39273 echo $ECHO_N "(cached) $ECHO_C" >&6
39275 cat >conftest.$ac_ext <<_ACEOF
39278 cat confdefs.h >>conftest.$ac_ext
39279 cat >>conftest.$ac_ext <<_ACEOF
39280 /* end confdefs.h. */
39281 $ac_includes_default
39283 #include <$ac_header>
39285 rm -f conftest.$ac_objext
39286 if { (ac_try="$ac_compile"
39287 case "(($ac_try" in
39288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39289 *) ac_try_echo
=$ac_try;;
39291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39292 (eval "$ac_compile") 2>conftest.er1
39294 grep -v '^ *+' conftest.er1
>conftest.err
39296 cat conftest.err
>&5
39297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39298 (exit $ac_status); } && {
39299 test -z "$ac_c_werror_flag" ||
39300 test ! -s conftest.err
39301 } && test -s conftest.
$ac_objext; then
39302 eval "$as_ac_Header=yes"
39304 echo "$as_me: failed program was:" >&5
39305 sed 's/^/| /' conftest.
$ac_ext >&5
39307 eval "$as_ac_Header=no"
39310 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39312 ac_res
=`eval echo '${'$as_ac_Header'}'`
39313 { echo "$as_me:$LINENO: result: $ac_res" >&5
39314 echo "${ECHO_T}$ac_res" >&6; }
39315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39316 cat >>confdefs.h
<<_ACEOF
39317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39324 if test "$ac_cv_header_sched_h" = "yes"; then
39325 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39326 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39327 if test "${ac_cv_func_sched_yield+set}" = set; then
39328 echo $ECHO_N "(cached) $ECHO_C" >&6
39330 cat >conftest.
$ac_ext <<_ACEOF
39333 cat confdefs.h
>>conftest.
$ac_ext
39334 cat >>conftest.
$ac_ext <<_ACEOF
39335 /* end confdefs.h. */
39336 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39338 #define sched_yield innocuous_sched_yield
39340 /* System header to define __stub macros and hopefully few prototypes,
39341 which can conflict with char sched_yield (); below.
39342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39343 <limits.h> exists even on freestanding compilers. */
39346 # include <limits.h>
39348 # include <assert.h>
39353 /* Override any GCC internal prototype to avoid an error.
39354 Use char because int might match the return type of a GCC
39355 builtin and then its argument prototype would still apply. */
39359 char sched_yield ();
39360 /* The GNU C library defines this for functions which it implements
39361 to always fail with ENOSYS. Some functions are actually named
39362 something starting with __ and the normal name is an alias. */
39363 #if defined __stub_sched_yield || defined __stub___sched_yield
39370 return sched_yield ();
39375 rm -f conftest.
$ac_objext conftest
$ac_exeext
39376 if { (ac_try
="$ac_link"
39377 case "(($ac_try" in
39378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39379 *) ac_try_echo=$ac_try;;
39381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39382 (eval "$ac_link") 2>conftest.er1
39384 grep -v '^ *+' conftest.er1 >conftest.err
39386 cat conftest.err >&5
39387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39388 (exit $ac_status); } && {
39389 test -z "$ac_c_werror_flag" ||
39390 test ! -s conftest.err
39391 } && test -s conftest$ac_exeext &&
39392 $as_test_x conftest$ac_exeext; then
39393 ac_cv_func_sched_yield=yes
39395 echo "$as_me: failed program was:" >&5
39396 sed 's/^/| /' conftest.$ac_ext >&5
39398 ac_cv_func_sched_yield=no
39401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39402 conftest$ac_exeext conftest.$ac_ext
39404 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39405 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39406 if test $ac_cv_func_sched_yield = yes; then
39407 cat >>confdefs.h <<\_ACEOF
39408 #define HAVE_SCHED_YIELD 1
39413 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39414 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39415 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39416 echo $ECHO_N "(cached) $ECHO_C" >&6
39418 ac_check_lib_save_LIBS=$LIBS
39419 LIBS="-lposix4 $LIBS"
39420 cat >conftest.$ac_ext <<_ACEOF
39423 cat confdefs.h >>conftest.$ac_ext
39424 cat >>conftest.$ac_ext <<_ACEOF
39425 /* end confdefs.h. */
39427 /* Override any GCC internal prototype to avoid an error.
39428 Use char because int might match the return type of a GCC
39429 builtin and then its argument prototype would still apply. */
39433 char sched_yield ();
39437 return sched_yield ();
39442 rm -f conftest.$ac_objext conftest$ac_exeext
39443 if { (ac_try="$ac_link"
39444 case "(($ac_try" in
39445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39446 *) ac_try_echo
=$ac_try;;
39448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39449 (eval "$ac_link") 2>conftest.er1
39451 grep -v '^ *+' conftest.er1
>conftest.err
39453 cat conftest.err
>&5
39454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39455 (exit $ac_status); } && {
39456 test -z "$ac_c_werror_flag" ||
39457 test ! -s conftest.err
39458 } && test -s conftest
$ac_exeext &&
39459 $as_test_x conftest
$ac_exeext; then
39460 ac_cv_lib_posix4_sched_yield
=yes
39462 echo "$as_me: failed program was:" >&5
39463 sed 's/^/| /' conftest.
$ac_ext >&5
39465 ac_cv_lib_posix4_sched_yield
=no
39468 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39469 conftest
$ac_exeext conftest.
$ac_ext
39470 LIBS
=$ac_check_lib_save_LIBS
39472 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39473 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39474 if test $ac_cv_lib_posix4_sched_yield = yes; then
39475 cat >>confdefs.h
<<\_ACEOF
39476 #define HAVE_SCHED_YIELD 1
39478 POSIX4_LINK
=" -lposix4"
39480 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39481 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39492 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39493 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39494 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39495 echo $ECHO_N "(cached) $ECHO_C" >&6
39497 cat >conftest.
$ac_ext <<_ACEOF
39500 cat confdefs.h
>>conftest.
$ac_ext
39501 cat >>conftest.
$ac_ext <<_ACEOF
39502 /* end confdefs.h. */
39503 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39505 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39507 /* System header to define __stub macros and hopefully few prototypes,
39508 which can conflict with char pthread_attr_getschedpolicy (); below.
39509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39510 <limits.h> exists even on freestanding compilers. */
39513 # include <limits.h>
39515 # include <assert.h>
39518 #undef pthread_attr_getschedpolicy
39520 /* Override any GCC internal prototype to avoid an error.
39521 Use char because int might match the return type of a GCC
39522 builtin and then its argument prototype would still apply. */
39526 char pthread_attr_getschedpolicy ();
39527 /* The GNU C library defines this for functions which it implements
39528 to always fail with ENOSYS. Some functions are actually named
39529 something starting with __ and the normal name is an alias. */
39530 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39537 return pthread_attr_getschedpolicy ();
39542 rm -f conftest.
$ac_objext conftest
$ac_exeext
39543 if { (ac_try
="$ac_link"
39544 case "(($ac_try" in
39545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39546 *) ac_try_echo=$ac_try;;
39548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39549 (eval "$ac_link") 2>conftest.er1
39551 grep -v '^ *+' conftest.er1 >conftest.err
39553 cat conftest.err >&5
39554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39555 (exit $ac_status); } && {
39556 test -z "$ac_c_werror_flag" ||
39557 test ! -s conftest.err
39558 } && test -s conftest$ac_exeext &&
39559 $as_test_x conftest$ac_exeext; then
39560 ac_cv_func_pthread_attr_getschedpolicy=yes
39562 echo "$as_me: failed program was:" >&5
39563 sed 's/^/| /' conftest.$ac_ext >&5
39565 ac_cv_func_pthread_attr_getschedpolicy=no
39568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39569 conftest$ac_exeext conftest.$ac_ext
39571 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39572 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39573 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39574 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39575 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39576 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39577 echo $ECHO_N "(cached) $ECHO_C" >&6
39579 cat >conftest.$ac_ext <<_ACEOF
39582 cat confdefs.h >>conftest.$ac_ext
39583 cat >>conftest.$ac_ext <<_ACEOF
39584 /* end confdefs.h. */
39585 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39587 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39589 /* System header to define __stub macros and hopefully few prototypes,
39590 which can conflict with char pthread_attr_setschedparam (); below.
39591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39592 <limits.h> exists even on freestanding compilers. */
39595 # include <limits.h>
39597 # include <assert.h>
39600 #undef pthread_attr_setschedparam
39602 /* Override any GCC internal prototype to avoid an error.
39603 Use char because int might match the return type of a GCC
39604 builtin and then its argument prototype would still apply. */
39608 char pthread_attr_setschedparam ();
39609 /* The GNU C library defines this for functions which it implements
39610 to always fail with ENOSYS. Some functions are actually named
39611 something starting with __ and the normal name is an alias. */
39612 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39619 return pthread_attr_setschedparam ();
39624 rm -f conftest.$ac_objext conftest$ac_exeext
39625 if { (ac_try="$ac_link"
39626 case "(($ac_try" in
39627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39628 *) ac_try_echo
=$ac_try;;
39630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39631 (eval "$ac_link") 2>conftest.er1
39633 grep -v '^ *+' conftest.er1
>conftest.err
39635 cat conftest.err
>&5
39636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39637 (exit $ac_status); } && {
39638 test -z "$ac_c_werror_flag" ||
39639 test ! -s conftest.err
39640 } && test -s conftest
$ac_exeext &&
39641 $as_test_x conftest
$ac_exeext; then
39642 ac_cv_func_pthread_attr_setschedparam
=yes
39644 echo "$as_me: failed program was:" >&5
39645 sed 's/^/| /' conftest.
$ac_ext >&5
39647 ac_cv_func_pthread_attr_setschedparam
=no
39650 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39651 conftest
$ac_exeext conftest.
$ac_ext
39653 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39654 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39655 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39656 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39657 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39658 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39659 echo $ECHO_N "(cached) $ECHO_C" >&6
39661 cat >conftest.
$ac_ext <<_ACEOF
39664 cat confdefs.h
>>conftest.
$ac_ext
39665 cat >>conftest.
$ac_ext <<_ACEOF
39666 /* end confdefs.h. */
39667 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39669 #define sched_get_priority_max innocuous_sched_get_priority_max
39671 /* System header to define __stub macros and hopefully few prototypes,
39672 which can conflict with char sched_get_priority_max (); below.
39673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39674 <limits.h> exists even on freestanding compilers. */
39677 # include <limits.h>
39679 # include <assert.h>
39682 #undef sched_get_priority_max
39684 /* Override any GCC internal prototype to avoid an error.
39685 Use char because int might match the return type of a GCC
39686 builtin and then its argument prototype would still apply. */
39690 char sched_get_priority_max ();
39691 /* The GNU C library defines this for functions which it implements
39692 to always fail with ENOSYS. Some functions are actually named
39693 something starting with __ and the normal name is an alias. */
39694 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39701 return sched_get_priority_max ();
39706 rm -f conftest.
$ac_objext conftest
$ac_exeext
39707 if { (ac_try
="$ac_link"
39708 case "(($ac_try" in
39709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39710 *) ac_try_echo=$ac_try;;
39712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39713 (eval "$ac_link") 2>conftest.er1
39715 grep -v '^ *+' conftest.er1 >conftest.err
39717 cat conftest.err >&5
39718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39719 (exit $ac_status); } && {
39720 test -z "$ac_c_werror_flag" ||
39721 test ! -s conftest.err
39722 } && test -s conftest$ac_exeext &&
39723 $as_test_x conftest$ac_exeext; then
39724 ac_cv_func_sched_get_priority_max=yes
39726 echo "$as_me: failed program was:" >&5
39727 sed 's/^/| /' conftest.$ac_ext >&5
39729 ac_cv_func_sched_get_priority_max=no
39732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39733 conftest$ac_exeext conftest.$ac_ext
39735 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39736 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39737 if test $ac_cv_func_sched_get_priority_max = yes; then
39740 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39741 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39742 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39743 echo $ECHO_N "(cached) $ECHO_C" >&6
39745 ac_check_lib_save_LIBS=$LIBS
39746 LIBS="-lposix4 $LIBS"
39747 cat >conftest.$ac_ext <<_ACEOF
39750 cat confdefs.h >>conftest.$ac_ext
39751 cat >>conftest.$ac_ext <<_ACEOF
39752 /* end confdefs.h. */
39754 /* Override any GCC internal prototype to avoid an error.
39755 Use char because int might match the return type of a GCC
39756 builtin and then its argument prototype would still apply. */
39760 char sched_get_priority_max ();
39764 return sched_get_priority_max ();
39769 rm -f conftest.$ac_objext conftest$ac_exeext
39770 if { (ac_try="$ac_link"
39771 case "(($ac_try" in
39772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39773 *) ac_try_echo
=$ac_try;;
39775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39776 (eval "$ac_link") 2>conftest.er1
39778 grep -v '^ *+' conftest.er1
>conftest.err
39780 cat conftest.err
>&5
39781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39782 (exit $ac_status); } && {
39783 test -z "$ac_c_werror_flag" ||
39784 test ! -s conftest.err
39785 } && test -s conftest
$ac_exeext &&
39786 $as_test_x conftest
$ac_exeext; then
39787 ac_cv_lib_posix4_sched_get_priority_max
=yes
39789 echo "$as_me: failed program was:" >&5
39790 sed 's/^/| /' conftest.
$ac_ext >&5
39792 ac_cv_lib_posix4_sched_get_priority_max
=no
39795 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39796 conftest
$ac_exeext conftest.
$ac_ext
39797 LIBS
=$ac_check_lib_save_LIBS
39799 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39800 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39801 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39804 POSIX4_LINK
=" -lposix4"
39818 if test "$HAVE_PRIOR_FUNCS" = 1; then
39819 cat >>confdefs.h
<<\_ACEOF
39820 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39824 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39825 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39828 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39829 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39830 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39831 echo $ECHO_N "(cached) $ECHO_C" >&6
39833 cat >conftest.
$ac_ext <<_ACEOF
39836 cat confdefs.h
>>conftest.
$ac_ext
39837 cat >>conftest.
$ac_ext <<_ACEOF
39838 /* end confdefs.h. */
39839 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39841 #define pthread_cancel innocuous_pthread_cancel
39843 /* System header to define __stub macros and hopefully few prototypes,
39844 which can conflict with char pthread_cancel (); below.
39845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39846 <limits.h> exists even on freestanding compilers. */
39849 # include <limits.h>
39851 # include <assert.h>
39854 #undef pthread_cancel
39856 /* Override any GCC internal prototype to avoid an error.
39857 Use char because int might match the return type of a GCC
39858 builtin and then its argument prototype would still apply. */
39862 char pthread_cancel ();
39863 /* The GNU C library defines this for functions which it implements
39864 to always fail with ENOSYS. Some functions are actually named
39865 something starting with __ and the normal name is an alias. */
39866 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39873 return pthread_cancel ();
39878 rm -f conftest.
$ac_objext conftest
$ac_exeext
39879 if { (ac_try
="$ac_link"
39880 case "(($ac_try" in
39881 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39882 *) ac_try_echo=$ac_try;;
39884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39885 (eval "$ac_link") 2>conftest.er1
39887 grep -v '^ *+' conftest.er1 >conftest.err
39889 cat conftest.err >&5
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); } && {
39892 test -z "$ac_c_werror_flag" ||
39893 test ! -s conftest.err
39894 } && test -s conftest$ac_exeext &&
39895 $as_test_x conftest$ac_exeext; then
39896 ac_cv_func_pthread_cancel=yes
39898 echo "$as_me: failed program was:" >&5
39899 sed 's/^/| /' conftest.$ac_ext >&5
39901 ac_cv_func_pthread_cancel=no
39904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39905 conftest$ac_exeext conftest.$ac_ext
39907 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39908 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39909 if test $ac_cv_func_pthread_cancel = yes; then
39910 cat >>confdefs.h <<\_ACEOF
39911 #define HAVE_PTHREAD_CANCEL 1
39915 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39916 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39920 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39921 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39922 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39923 echo $ECHO_N "(cached) $ECHO_C" >&6
39925 cat >conftest.$ac_ext <<_ACEOF
39928 cat confdefs.h >>conftest.$ac_ext
39929 cat >>conftest.$ac_ext <<_ACEOF
39930 /* end confdefs.h. */
39931 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39933 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39935 /* System header to define __stub macros and hopefully few prototypes,
39936 which can conflict with char pthread_mutex_timedlock (); below.
39937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39938 <limits.h> exists even on freestanding compilers. */
39941 # include <limits.h>
39943 # include <assert.h>
39946 #undef pthread_mutex_timedlock
39948 /* Override any GCC internal prototype to avoid an error.
39949 Use char because int might match the return type of a GCC
39950 builtin and then its argument prototype would still apply. */
39954 char pthread_mutex_timedlock ();
39955 /* The GNU C library defines this for functions which it implements
39956 to always fail with ENOSYS. Some functions are actually named
39957 something starting with __ and the normal name is an alias. */
39958 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39965 return pthread_mutex_timedlock ();
39970 rm -f conftest.$ac_objext conftest$ac_exeext
39971 if { (ac_try="$ac_link"
39972 case "(($ac_try" in
39973 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39974 *) ac_try_echo
=$ac_try;;
39976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39977 (eval "$ac_link") 2>conftest.er1
39979 grep -v '^ *+' conftest.er1
>conftest.err
39981 cat conftest.err
>&5
39982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39983 (exit $ac_status); } && {
39984 test -z "$ac_c_werror_flag" ||
39985 test ! -s conftest.err
39986 } && test -s conftest
$ac_exeext &&
39987 $as_test_x conftest
$ac_exeext; then
39988 ac_cv_func_pthread_mutex_timedlock
=yes
39990 echo "$as_me: failed program was:" >&5
39991 sed 's/^/| /' conftest.
$ac_ext >&5
39993 ac_cv_func_pthread_mutex_timedlock
=no
39996 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39997 conftest
$ac_exeext conftest.
$ac_ext
39999 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40000 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40001 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40002 cat >>confdefs.h
<<\_ACEOF
40003 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40007 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40008 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40012 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40013 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40014 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40015 echo $ECHO_N "(cached) $ECHO_C" >&6
40017 cat >conftest.
$ac_ext <<_ACEOF
40020 cat confdefs.h
>>conftest.
$ac_ext
40021 cat >>conftest.
$ac_ext <<_ACEOF
40022 /* end confdefs.h. */
40023 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40025 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40027 /* System header to define __stub macros and hopefully few prototypes,
40028 which can conflict with char pthread_attr_setstacksize (); below.
40029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40030 <limits.h> exists even on freestanding compilers. */
40033 # include <limits.h>
40035 # include <assert.h>
40038 #undef pthread_attr_setstacksize
40040 /* Override any GCC internal prototype to avoid an error.
40041 Use char because int might match the return type of a GCC
40042 builtin and then its argument prototype would still apply. */
40046 char pthread_attr_setstacksize ();
40047 /* The GNU C library defines this for functions which it implements
40048 to always fail with ENOSYS. Some functions are actually named
40049 something starting with __ and the normal name is an alias. */
40050 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40057 return pthread_attr_setstacksize ();
40062 rm -f conftest.
$ac_objext conftest
$ac_exeext
40063 if { (ac_try
="$ac_link"
40064 case "(($ac_try" in
40065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40066 *) ac_try_echo=$ac_try;;
40068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40069 (eval "$ac_link") 2>conftest.er1
40071 grep -v '^ *+' conftest.er1 >conftest.err
40073 cat conftest.err >&5
40074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40075 (exit $ac_status); } && {
40076 test -z "$ac_c_werror_flag" ||
40077 test ! -s conftest.err
40078 } && test -s conftest$ac_exeext &&
40079 $as_test_x conftest$ac_exeext; then
40080 ac_cv_func_pthread_attr_setstacksize=yes
40082 echo "$as_me: failed program was:" >&5
40083 sed 's/^/| /' conftest.$ac_ext >&5
40085 ac_cv_func_pthread_attr_setstacksize=no
40088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40089 conftest$ac_exeext conftest.$ac_ext
40091 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40092 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40093 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40094 cat >>confdefs.h <<\_ACEOF
40095 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40102 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40103 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40104 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40105 echo $ECHO_N "(cached) $ECHO_C" >&6
40108 cat >conftest.$ac_ext <<_ACEOF
40111 cat confdefs.h >>conftest.$ac_ext
40112 cat >>conftest.$ac_ext <<_ACEOF
40113 /* end confdefs.h. */
40114 #include <pthread.h>
40119 pthread_mutexattr_t attr;
40120 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40126 rm -f conftest.$ac_objext
40127 if { (ac_try="$ac_compile"
40128 case "(($ac_try" in
40129 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40130 *) ac_try_echo
=$ac_try;;
40132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40133 (eval "$ac_compile") 2>conftest.er1
40135 grep -v '^ *+' conftest.er1
>conftest.err
40137 cat conftest.err
>&5
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); } && {
40140 test -z "$ac_c_werror_flag" ||
40141 test ! -s conftest.err
40142 } && test -s conftest.
$ac_objext; then
40143 wx_cv_type_pthread_mutexattr_t
=yes
40145 echo "$as_me: failed program was:" >&5
40146 sed 's/^/| /' conftest.
$ac_ext >&5
40148 wx_cv_type_pthread_mutexattr_t
=no
40152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40155 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40156 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40158 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40159 cat >>confdefs.h
<<\_ACEOF
40160 #define HAVE_PTHREAD_MUTEXATTR_T 1
40164 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40165 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40166 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40167 echo $ECHO_N "(cached) $ECHO_C" >&6
40170 cat >conftest.
$ac_ext <<_ACEOF
40173 cat confdefs.h
>>conftest.
$ac_ext
40174 cat >>conftest.
$ac_ext <<_ACEOF
40175 /* end confdefs.h. */
40176 #include <pthread.h>
40181 pthread_mutexattr_t attr;
40182 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40188 rm -f conftest.
$ac_objext
40189 if { (ac_try
="$ac_compile"
40190 case "(($ac_try" in
40191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40192 *) ac_try_echo=$ac_try;;
40194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40195 (eval "$ac_compile") 2>conftest.er1
40197 grep -v '^ *+' conftest.er1 >conftest.err
40199 cat conftest.err >&5
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); } && {
40202 test -z "$ac_c_werror_flag" ||
40203 test ! -s conftest.err
40204 } && test -s conftest.$ac_objext; then
40205 wx_cv_func_pthread_mutexattr_settype_decl=yes
40207 echo "$as_me: failed program was:" >&5
40208 sed 's/^/| /' conftest.$ac_ext >&5
40210 wx_cv_func_pthread_mutexattr_settype_decl=no
40214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40217 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40218 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40219 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40220 cat >>confdefs.h <<\_ACEOF
40221 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40226 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40227 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40228 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40229 echo $ECHO_N "(cached) $ECHO_C" >&6
40232 cat >conftest.$ac_ext <<_ACEOF
40235 cat confdefs.h >>conftest.$ac_ext
40236 cat >>conftest.$ac_ext <<_ACEOF
40237 /* end confdefs.h. */
40238 #include <pthread.h>
40243 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40249 rm -f conftest.$ac_objext
40250 if { (ac_try="$ac_compile"
40251 case "(($ac_try" in
40252 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40253 *) ac_try_echo
=$ac_try;;
40255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40256 (eval "$ac_compile") 2>conftest.er1
40258 grep -v '^ *+' conftest.er1
>conftest.err
40260 cat conftest.err
>&5
40261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40262 (exit $ac_status); } && {
40263 test -z "$ac_c_werror_flag" ||
40264 test ! -s conftest.err
40265 } && test -s conftest.
$ac_objext; then
40267 wx_cv_type_pthread_rec_mutex_init
=yes
40270 echo "$as_me: failed program was:" >&5
40271 sed 's/^/| /' conftest.
$ac_ext >&5
40274 wx_cv_type_pthread_rec_mutex_init
=no
40279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40282 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40283 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40284 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40285 cat >>confdefs.h
<<\_ACEOF
40286 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40290 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40291 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40295 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40296 if test "$USE_NETBSD" = 1; then
40297 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40298 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40299 wxUSE_COMPILER_TLS
=no
40301 wxUSE_COMPILER_TLS
=yes
40305 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40306 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40307 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40308 if test "${wx_cv_cc___thread+set}" = set; then
40309 echo $ECHO_N "(cached) $ECHO_C" >&6
40312 cat >conftest.
$ac_ext <<_ACEOF
40315 cat confdefs.h
>>conftest.
$ac_ext
40316 cat >>conftest.
$ac_ext <<_ACEOF
40317 /* end confdefs.h. */
40318 #include <pthread.h>
40323 static __thread int n = 0;
40324 static __thread int *p = 0;
40330 rm -f conftest.
$ac_objext
40331 if { (ac_try
="$ac_compile"
40332 case "(($ac_try" in
40333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40334 *) ac_try_echo=$ac_try;;
40336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40337 (eval "$ac_compile") 2>conftest.er1
40339 grep -v '^ *+' conftest.er1 >conftest.err
40341 cat conftest.err >&5
40342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40343 (exit $ac_status); } && {
40344 test -z "$ac_c_werror_flag" ||
40345 test ! -s conftest.err
40346 } && test -s conftest.$ac_objext; then
40347 wx_cv_cc___thread=yes
40349 echo "$as_me: failed program was:" >&5
40350 sed 's/^/| /' conftest.$ac_ext >&5
40352 wx_cv_cc___thread=no
40356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40360 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40361 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40363 if test "$wx_cv_cc___thread" = "yes"; then
40369 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40370 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40372 if test "x$GCC" = "xyes" ; then
40374 if test -z "" ; then
40376 ax_gcc_option_test="int main()
40383 ax_gcc_option_test=""
40388 # Dump the test program to file
40389 cat <<EOF > conftest.c
40390 $ax_gcc_option_test
40393 # Dump back the file to the log, useful for debugging purposes
40394 { ac_try='cat conftest.c 1>&5'
40395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40396 (eval $ac_try) 2>&5
40398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40399 (exit $ac_status); }; }
40401 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40403 (eval $ac_try) 2>&5
40405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40406 (exit $ac_status); }; } ; then
40408 { echo "$as_me:$LINENO: result: yes" >&5
40409 echo "${ECHO_T}yes" >&6; }
40411 ax_gcc_version_option=yes
40416 { echo "$as_me:$LINENO: result: no" >&5
40417 echo "${ECHO_T}no" >&6; }
40419 ax_gcc_version_option=no
40427 { echo "$as_me:$LINENO: result: no gcc available" >&5
40428 echo "${ECHO_T}no gcc available" >&6; }
40433 if test "x$GXX" = "xyes"; then
40435 if test "x$ax_gxx_version_option" != "no"; then
40437 { echo "$as_me:$LINENO: checking gxx version" >&5
40438 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40439 if test "${ax_cv_gxx_version+set}" = set; then
40440 echo $ECHO_N "(cached) $ECHO_C" >&6
40443 ax_cv_gxx_version="`$CXX -dumpversion`"
40444 if test "x$ax_cv_gxx_version" = "x"; then
40446 ax_cv_gxx_version=""
40452 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40453 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40454 GXX_VERSION=$ax_cv_gxx_version
40463 if test -n "$ax_cv_gxx_version"; then
40464 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40465 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40466 case "$ax_cv_gxx_version" in
40468 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40469 echo "${ECHO_T}no, it's broken" >&6; }
40470 wx_cv_cc___thread=no
40473 { echo "$as_me:$LINENO: result: yes, it works" >&5
40474 echo "${ECHO_T}yes, it works" >&6; }
40480 if test "$wx_cv_cc___thread" = "yes"; then
40481 cat >>confdefs.h <<\_ACEOF
40482 #define HAVE___THREAD_KEYWORD 1
40490 if test "$wxUSE_THREADS" = "yes" ; then
40492 x86_64-*-mingw32* )
40495 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40496 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40497 if test "${wx_cv_cflags_mthread+set}" = set; then
40498 echo $ECHO_N "(cached) $ECHO_C" >&6
40501 CFLAGS_OLD="$CFLAGS"
40502 CFLAGS="-mthreads $CFLAGS"
40503 cat >conftest.$ac_ext <<_ACEOF
40506 cat confdefs.h >>conftest.$ac_ext
40507 cat >>conftest.$ac_ext <<_ACEOF
40508 /* end confdefs.h. */
40518 rm -f conftest.$ac_objext
40519 if { (ac_try="$ac_compile"
40520 case "(($ac_try" in
40521 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40522 *) ac_try_echo
=$ac_try;;
40524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40525 (eval "$ac_compile") 2>conftest.er1
40527 grep -v '^ *+' conftest.er1
>conftest.err
40529 cat conftest.err
>&5
40530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40531 (exit $ac_status); } && {
40532 test -z "$ac_c_werror_flag" ||
40533 test ! -s conftest.err
40534 } && test -s conftest.
$ac_objext; then
40535 wx_cv_cflags_mthread
=yes
40537 echo "$as_me: failed program was:" >&5
40538 sed 's/^/| /' conftest.
$ac_ext >&5
40540 wx_cv_cflags_mthread
=no
40544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40548 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40549 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40551 if test "$wx_cv_cflags_mthread" = "yes"; then
40552 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40553 LDFLAGS
="$LDFLAGS -mthreads"
40555 CFLAGS
="$CFLAGS_OLD"
40559 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40560 LDFLAGS
="$LDFLAGS -Zmt"
40566 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40567 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40568 if test "${ac_cv_func_localtime_r+set}" = set; then
40569 echo $ECHO_N "(cached) $ECHO_C" >&6
40571 cat >conftest.
$ac_ext <<_ACEOF
40574 cat confdefs.h
>>conftest.
$ac_ext
40575 cat >>conftest.
$ac_ext <<_ACEOF
40576 /* end confdefs.h. */
40577 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40579 #define localtime_r innocuous_localtime_r
40581 /* System header to define __stub macros and hopefully few prototypes,
40582 which can conflict with char localtime_r (); below.
40583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40584 <limits.h> exists even on freestanding compilers. */
40587 # include <limits.h>
40589 # include <assert.h>
40594 /* Override any GCC internal prototype to avoid an error.
40595 Use char because int might match the return type of a GCC
40596 builtin and then its argument prototype would still apply. */
40600 char localtime_r ();
40601 /* The GNU C library defines this for functions which it implements
40602 to always fail with ENOSYS. Some functions are actually named
40603 something starting with __ and the normal name is an alias. */
40604 #if defined __stub_localtime_r || defined __stub___localtime_r
40611 return localtime_r ();
40616 rm -f conftest.
$ac_objext conftest
$ac_exeext
40617 if { (ac_try
="$ac_link"
40618 case "(($ac_try" in
40619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40620 *) ac_try_echo=$ac_try;;
40622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40623 (eval "$ac_link") 2>conftest.er1
40625 grep -v '^ *+' conftest.er1 >conftest.err
40627 cat conftest.err >&5
40628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40629 (exit $ac_status); } && {
40630 test -z "$ac_c_werror_flag" ||
40631 test ! -s conftest.err
40632 } && test -s conftest$ac_exeext &&
40633 $as_test_x conftest$ac_exeext; then
40634 ac_cv_func_localtime_r=yes
40636 echo "$as_me: failed program was:" >&5
40637 sed 's/^/| /' conftest.$ac_ext >&5
40639 ac_cv_func_localtime_r=no
40642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40643 conftest$ac_exeext conftest.$ac_ext
40645 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40646 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40647 if test $ac_cv_func_localtime_r = yes; then
40648 cat >>confdefs.h <<\_ACEOF
40649 #define HAVE_LOCALTIME_R 1
40654 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40655 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40656 if test "${ac_cv_func_gmtime_r+set}" = set; then
40657 echo $ECHO_N "(cached) $ECHO_C" >&6
40659 cat >conftest.$ac_ext <<_ACEOF
40662 cat confdefs.h >>conftest.$ac_ext
40663 cat >>conftest.$ac_ext <<_ACEOF
40664 /* end confdefs.h. */
40665 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40667 #define gmtime_r innocuous_gmtime_r
40669 /* System header to define __stub macros and hopefully few prototypes,
40670 which can conflict with char gmtime_r (); below.
40671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40672 <limits.h> exists even on freestanding compilers. */
40675 # include <limits.h>
40677 # include <assert.h>
40682 /* Override any GCC internal prototype to avoid an error.
40683 Use char because int might match the return type of a GCC
40684 builtin and then its argument prototype would still apply. */
40689 /* The GNU C library defines this for functions which it implements
40690 to always fail with ENOSYS. Some functions are actually named
40691 something starting with __ and the normal name is an alias. */
40692 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40699 return gmtime_r ();
40704 rm -f conftest.$ac_objext conftest$ac_exeext
40705 if { (ac_try="$ac_link"
40706 case "(($ac_try" in
40707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40708 *) ac_try_echo
=$ac_try;;
40710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40711 (eval "$ac_link") 2>conftest.er1
40713 grep -v '^ *+' conftest.er1
>conftest.err
40715 cat conftest.err
>&5
40716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40717 (exit $ac_status); } && {
40718 test -z "$ac_c_werror_flag" ||
40719 test ! -s conftest.err
40720 } && test -s conftest
$ac_exeext &&
40721 $as_test_x conftest
$ac_exeext; then
40722 ac_cv_func_gmtime_r
=yes
40724 echo "$as_me: failed program was:" >&5
40725 sed 's/^/| /' conftest.
$ac_ext >&5
40727 ac_cv_func_gmtime_r
=no
40730 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40731 conftest
$ac_exeext conftest.
$ac_ext
40733 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40734 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40735 if test $ac_cv_func_gmtime_r = yes; then
40736 cat >>confdefs.h
<<\_ACEOF
40737 #define HAVE_GMTIME_R 1
40746 ac_cpp
='$CPP $CPPFLAGS'
40747 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40748 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40749 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40751 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40752 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40754 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40755 echo $ECHO_N "(cached) $ECHO_C" >&6
40759 ################################################################
40761 ac_cv_func_which_gethostbyname_r
=unknown
40764 # ONE ARGUMENT (sanity check)
40767 # This should fail, as there is no variant of gethostbyname_r() that takes
40768 # a single argument. If it actually compiles, then we can assume that
40769 # netdb.h is not declaring the function, and the compiler is thereby
40770 # assuming an implicit prototype. In which case, we're out of luck.
40772 cat >conftest.
$ac_ext <<_ACEOF
40775 cat confdefs.h
>>conftest.
$ac_ext
40776 cat >>conftest.
$ac_ext <<_ACEOF
40777 /* end confdefs.h. */
40783 char *name = "www.gnu.org";
40784 (void)gethostbyname_r(name) /* ; */
40790 rm -f conftest.
$ac_objext
40791 if { (ac_try
="$ac_compile"
40792 case "(($ac_try" in
40793 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40794 *) ac_try_echo=$ac_try;;
40796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40797 (eval "$ac_compile") 2>conftest.er1
40799 grep -v '^ *+' conftest.er1 >conftest.err
40801 cat conftest.err >&5
40802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40803 (exit $ac_status); } && {
40804 test -z "$ac_c_werror_flag" ||
40805 test ! -s conftest.err
40806 } && test -s conftest.$ac_objext; then
40807 ac_cv_func_which_gethostbyname_r=no
40809 echo "$as_me: failed program was:" >&5
40810 sed 's/^/| /' conftest.$ac_ext >&5
40815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40822 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40824 cat >conftest.$ac_ext <<_ACEOF
40827 cat confdefs.h >>conftest.$ac_ext
40828 cat >>conftest.$ac_ext <<_ACEOF
40829 /* end confdefs.h. */
40835 char *name = "www.gnu.org";
40836 struct hostent ret, *retp;
40840 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40846 rm -f conftest.$ac_objext
40847 if { (ac_try="$ac_compile"
40848 case "(($ac_try" in
40849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40850 *) ac_try_echo
=$ac_try;;
40852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40853 (eval "$ac_compile") 2>conftest.er1
40855 grep -v '^ *+' conftest.er1
>conftest.err
40857 cat conftest.err
>&5
40858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40859 (exit $ac_status); } && {
40860 test -z "$ac_c_werror_flag" ||
40861 test ! -s conftest.err
40862 } && test -s conftest.
$ac_objext; then
40863 ac_cv_func_which_gethostbyname_r
=six
40865 echo "$as_me: failed program was:" >&5
40866 sed 's/^/| /' conftest.
$ac_ext >&5
40871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40880 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40882 cat >conftest.
$ac_ext <<_ACEOF
40885 cat confdefs.h
>>conftest.
$ac_ext
40886 cat >>conftest.
$ac_ext <<_ACEOF
40887 /* end confdefs.h. */
40893 char *name = "www.gnu.org";
40894 struct hostent ret;
40898 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40904 rm -f conftest.
$ac_objext
40905 if { (ac_try
="$ac_compile"
40906 case "(($ac_try" in
40907 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40908 *) ac_try_echo=$ac_try;;
40910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40911 (eval "$ac_compile") 2>conftest.er1
40913 grep -v '^ *+' conftest.er1 >conftest.err
40915 cat conftest.err >&5
40916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40917 (exit $ac_status); } && {
40918 test -z "$ac_c_werror_flag" ||
40919 test ! -s conftest.err
40920 } && test -s conftest.$ac_objext; then
40921 ac_cv_func_which_gethostbyname_r=five
40923 echo "$as_me: failed program was:" >&5
40924 sed 's/^/| /' conftest.$ac_ext >&5
40929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40935 # (e.g. AIX, HP-UX, Tru64)
40938 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40940 cat >conftest.$ac_ext <<_ACEOF
40943 cat confdefs.h >>conftest.$ac_ext
40944 cat >>conftest.$ac_ext <<_ACEOF
40945 /* end confdefs.h. */
40951 char *name = "www.gnu.org";
40952 struct hostent ret;
40953 struct hostent_data data;
40954 (void)gethostbyname_r(name, &ret, &data) /* ; */
40960 rm -f conftest.$ac_objext
40961 if { (ac_try="$ac_compile"
40962 case "(($ac_try" in
40963 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40964 *) ac_try_echo
=$ac_try;;
40966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40967 (eval "$ac_compile") 2>conftest.er1
40969 grep -v '^ *+' conftest.er1
>conftest.err
40971 cat conftest.err
>&5
40972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40973 (exit $ac_status); } && {
40974 test -z "$ac_c_werror_flag" ||
40975 test ! -s conftest.err
40976 } && test -s conftest.
$ac_objext; then
40977 ac_cv_func_which_gethostbyname_r
=three
40979 echo "$as_me: failed program was:" >&5
40980 sed 's/^/| /' conftest.
$ac_ext >&5
40985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40989 ################################################################
40994 case "$ac_cv_func_which_gethostbyname_r" in
40996 { echo "$as_me:$LINENO: result: three" >&5
40997 echo "${ECHO_T}three" >&6; }
40998 cat >>confdefs.h
<<\_ACEOF
40999 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41005 { echo "$as_me:$LINENO: result: five" >&5
41006 echo "${ECHO_T}five" >&6; }
41007 cat >>confdefs.h
<<\_ACEOF
41008 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41014 { echo "$as_me:$LINENO: result: six" >&5
41015 echo "${ECHO_T}six" >&6; }
41016 cat >>confdefs.h
<<\_ACEOF
41017 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41023 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41024 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41028 { echo "$as_me:$LINENO: result: can't tell" >&5
41029 echo "${ECHO_T}can't tell" >&6; }
41033 { { echo "$as_me:$LINENO: error: internal error" >&5
41034 echo "$as_me: error: internal error" >&2;}
41035 { (exit 1); exit 1; }; }
41040 ac_cpp
='$CPP $CPPFLAGS'
41041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41047 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41048 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41049 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41050 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41051 if test "${ac_cv_func_gethostbyname+set}" = set; then
41052 echo $ECHO_N "(cached) $ECHO_C" >&6
41054 cat >conftest.
$ac_ext <<_ACEOF
41057 cat confdefs.h
>>conftest.
$ac_ext
41058 cat >>conftest.
$ac_ext <<_ACEOF
41059 /* end confdefs.h. */
41060 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41062 #define gethostbyname innocuous_gethostbyname
41064 /* System header to define __stub macros and hopefully few prototypes,
41065 which can conflict with char gethostbyname (); below.
41066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41067 <limits.h> exists even on freestanding compilers. */
41070 # include <limits.h>
41072 # include <assert.h>
41075 #undef gethostbyname
41077 /* Override any GCC internal prototype to avoid an error.
41078 Use char because int might match the return type of a GCC
41079 builtin and then its argument prototype would still apply. */
41083 char gethostbyname ();
41084 /* The GNU C library defines this for functions which it implements
41085 to always fail with ENOSYS. Some functions are actually named
41086 something starting with __ and the normal name is an alias. */
41087 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41094 return gethostbyname ();
41099 rm -f conftest.
$ac_objext conftest
$ac_exeext
41100 if { (ac_try
="$ac_link"
41101 case "(($ac_try" in
41102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41103 *) ac_try_echo=$ac_try;;
41105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41106 (eval "$ac_link") 2>conftest.er1
41108 grep -v '^ *+' conftest.er1 >conftest.err
41110 cat conftest.err >&5
41111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41112 (exit $ac_status); } && {
41113 test -z "$ac_c_werror_flag" ||
41114 test ! -s conftest.err
41115 } && test -s conftest$ac_exeext &&
41116 $as_test_x conftest$ac_exeext; then
41117 ac_cv_func_gethostbyname=yes
41119 echo "$as_me: failed program was:" >&5
41120 sed 's/^/| /' conftest.$ac_ext >&5
41122 ac_cv_func_gethostbyname=no
41125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41126 conftest$ac_exeext conftest.$ac_ext
41128 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41129 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41130 if test $ac_cv_func_gethostbyname = yes; then
41131 cat >>confdefs.h <<\_ACEOF
41132 #define HAVE_GETHOSTBYNAME 1
41139 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41140 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41141 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41142 echo $ECHO_N "(cached) $ECHO_C" >&6
41146 ac_cpp='$CXXCPP $CPPFLAGS'
41147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41152 cat >conftest.$ac_ext <<_ACEOF
41155 cat confdefs.h >>conftest.$ac_ext
41156 cat >>conftest.$ac_ext <<_ACEOF
41157 /* end confdefs.h. */
41165 struct servent *se, *res;
41168 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41174 rm -f conftest.$ac_objext
41175 if { (ac_try="$ac_compile"
41176 case "(($ac_try" in
41177 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41178 *) ac_try_echo
=$ac_try;;
41180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41181 (eval "$ac_compile") 2>conftest.er1
41183 grep -v '^ *+' conftest.er1
>conftest.err
41185 cat conftest.err
>&5
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); } && {
41188 test -z "$ac_cxx_werror_flag" ||
41189 test ! -s conftest.err
41190 } && test -s conftest.
$ac_objext; then
41191 ac_cv_func_which_getservbyname_r
=six
41193 echo "$as_me: failed program was:" >&5
41194 sed 's/^/| /' conftest.
$ac_ext >&5
41197 cat >conftest.
$ac_ext <<_ACEOF
41200 cat confdefs.h
>>conftest.
$ac_ext
41201 cat >>conftest.
$ac_ext <<_ACEOF
41202 /* end confdefs.h. */
41210 struct servent *se;
41213 (void) getservbyname_r(name, proto, se, buffer, buflen)
41219 rm -f conftest.
$ac_objext
41220 if { (ac_try
="$ac_compile"
41221 case "(($ac_try" in
41222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41223 *) ac_try_echo=$ac_try;;
41225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41226 (eval "$ac_compile") 2>conftest.er1
41228 grep -v '^ *+' conftest.er1 >conftest.err
41230 cat conftest.err >&5
41231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41232 (exit $ac_status); } && {
41233 test -z "$ac_cxx_werror_flag" ||
41234 test ! -s conftest.err
41235 } && test -s conftest.$ac_objext; then
41236 ac_cv_func_which_getservbyname_r=five
41238 echo "$as_me: failed program was:" >&5
41239 sed 's/^/| /' conftest.$ac_ext >&5
41242 cat >conftest.$ac_ext <<_ACEOF
41245 cat confdefs.h >>conftest.$ac_ext
41246 cat >>conftest.$ac_ext <<_ACEOF
41247 /* end confdefs.h. */
41255 struct servent *se;
41256 struct servent_data data;
41257 (void) getservbyname_r(name, proto, se, &data);
41263 rm -f conftest.$ac_objext
41264 if { (ac_try="$ac_compile"
41265 case "(($ac_try" in
41266 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41267 *) ac_try_echo
=$ac_try;;
41269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41270 (eval "$ac_compile") 2>conftest.er1
41272 grep -v '^ *+' conftest.er1
>conftest.err
41274 cat conftest.err
>&5
41275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41276 (exit $ac_status); } && {
41277 test -z "$ac_cxx_werror_flag" ||
41278 test ! -s conftest.err
41279 } && test -s conftest.
$ac_objext; then
41280 ac_cv_func_which_getservbyname_r
=four
41282 echo "$as_me: failed program was:" >&5
41283 sed 's/^/| /' conftest.
$ac_ext >&5
41285 ac_cv_func_which_getservbyname_r
=no
41289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41299 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41301 ac_cpp
='$CPP $CPPFLAGS'
41302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41309 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41310 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41312 if test $ac_cv_func_which_getservbyname_r = six
; then
41313 cat >>confdefs.h
<<\_ACEOF
41314 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41317 elif test $ac_cv_func_which_getservbyname_r = five
; then
41318 cat >>confdefs.h
<<\_ACEOF
41319 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41322 elif test $ac_cv_func_which_getservbyname_r = four
; then
41323 cat >>confdefs.h
<<\_ACEOF
41324 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41330 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41331 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41333 for ac_func
in getservbyname
41335 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41338 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41339 echo $ECHO_N "(cached) $ECHO_C" >&6
41341 cat >conftest.
$ac_ext <<_ACEOF
41344 cat confdefs.h
>>conftest.
$ac_ext
41345 cat >>conftest.
$ac_ext <<_ACEOF
41346 /* end confdefs.h. */
41347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41349 #define $ac_func innocuous_$ac_func
41351 /* System header to define __stub macros and hopefully few prototypes,
41352 which can conflict with char $ac_func (); below.
41353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41354 <limits.h> exists even on freestanding compilers. */
41357 # include <limits.h>
41359 # include <assert.h>
41364 /* Override any GCC internal prototype to avoid an error.
41365 Use char because int might match the return type of a GCC
41366 builtin and then its argument prototype would still apply. */
41371 /* The GNU C library defines this for functions which it implements
41372 to always fail with ENOSYS. Some functions are actually named
41373 something starting with __ and the normal name is an alias. */
41374 #if defined __stub_$ac_func || defined __stub___$ac_func
41381 return $ac_func ();
41386 rm -f conftest.
$ac_objext conftest
$ac_exeext
41387 if { (ac_try
="$ac_link"
41388 case "(($ac_try" in
41389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41390 *) ac_try_echo=$ac_try;;
41392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41393 (eval "$ac_link") 2>conftest.er1
41395 grep -v '^ *+' conftest.er1 >conftest.err
41397 cat conftest.err >&5
41398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41399 (exit $ac_status); } && {
41400 test -z "$ac_c_werror_flag" ||
41401 test ! -s conftest.err
41402 } && test -s conftest$ac_exeext &&
41403 $as_test_x conftest$ac_exeext; then
41404 eval "$as_ac_var=yes"
41406 echo "$as_me: failed program was:" >&5
41407 sed 's/^/| /' conftest.$ac_ext >&5
41409 eval "$as_ac_var=no"
41412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41413 conftest$ac_exeext conftest.$ac_ext
41415 ac_res=`eval echo '${'$as_ac_var'}'`
41416 { echo "$as_me:$LINENO: result: $ac_res" >&5
41417 echo "${ECHO_T}$ac_res" >&6; }
41418 if test `eval echo '${'$as_ac_var'}'` = yes; then
41419 cat >>confdefs.h <<_ACEOF
41420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41422 cat >>confdefs.h <<\_ACEOF
41423 #define HAVE_GETSERVBYNAME 1
41431 if test "$wxUSE_THREADS" = "yes"; then
41432 cat >>confdefs.h <<\_ACEOF
41433 #define wxUSE_THREADS 1
41437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41439 if test "$wx_cv_func_strtok_r" = "yes"; then
41440 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41441 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41442 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41443 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41444 { echo "$as_me:$LINENO: result: yes" >&5
41445 echo "${ECHO_T}yes" >&6; }
41447 { echo "$as_me:$LINENO: result: no" >&5
41448 echo "${ECHO_T}no" >&6; }
41453 if test "$WXGTK2" = 1 ; then
41454 cat >>confdefs.h <<_ACEOF
41455 #define __WXGTK20__ $WXGTK2
41461 if test "$WXGTK12" = 1 ; then
41462 cat >>confdefs.h <<_ACEOF
41463 #define __WXGTK12__ $WXGTK12
41468 if test "$WXGTK127" = 1 ; then
41469 cat >>confdefs.h <<_ACEOF
41470 #define __WXGTK127__ $WXGTK127
41475 if test "$WXGPE" = 1 ; then
41476 cat >>confdefs.h <<_ACEOF
41477 #define __WXGPE__ $WXGPE
41483 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
41484 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41485 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41486 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41490 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41491 wxUSE_DEBUG_INFO=yes
41492 if test "$GCC" = yes; then
41493 DEBUG_CFLAGS="-ggdb"
41497 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41498 if test "$wxUSE_GTK" = 1 ; then
41499 if test "x$wxGTK_VERSION" = "x1" ; then
41500 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41505 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41506 cat >>confdefs.h <<\_ACEOF
41507 #define wxUSE_MEMORY_TRACING 1
41510 cat >>confdefs.h <<\_ACEOF
41511 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41514 cat >>confdefs.h <<\_ACEOF
41515 #define wxUSE_DEBUG_NEW_ALWAYS 1
41518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41521 if test "$wxUSE_DMALLOC" = "yes" ; then
41522 DMALLOC_LIBS="-ldmallocthcxx"
41526 if test "$wxUSE_PROFILE" = "yes" ; then
41527 PROFILE_FLAGS=" -pg"
41530 if test "$GCC" = "yes" ; then
41531 if test "$wxUSE_NO_RTTI" = "yes" ; then
41532 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41534 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41535 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41537 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41538 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41543 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41546 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41552 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
41553 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41554 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41556 if test "$wxUSE_OPTIMISE" = "no" ; then
41557 if test "$GCC" = yes ; then
41558 OPTIMISE_CFLAGS="-O0"
41561 if test "$GCC" = yes ; then
41563 *-pc-os2_emx | *-pc-os2-emx )
41564 OPTIMISE_CFLAGS="-O2"
41567 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41571 OPTIMISE_CFLAGS="-O"
41577 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41578 cat >>confdefs.h <<\_ACEOF
41579 #define WXWIN_COMPATIBILITY_2_6 1
41583 WXWIN_COMPATIBILITY_2_8="yes"
41586 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41587 cat >>confdefs.h <<\_ACEOF
41588 #define WXWIN_COMPATIBILITY_2_8 1
41594 if test "$wxUSE_GUI" = "yes"; then
41595 cat >>confdefs.h <<\_ACEOF
41596 #define wxUSE_GUI 1
41603 if test "$wxUSE_UNIX" = "yes"; then
41604 cat >>confdefs.h <<\_ACEOF
41605 #define wxUSE_UNIX 1
41611 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41615 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41616 if test "$USE_DOS" = 1; then
41620 for ac_func in dlopen
41622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41623 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41625 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41626 echo $ECHO_N "(cached) $ECHO_C" >&6
41628 cat >conftest.$ac_ext <<_ACEOF
41631 cat confdefs.h >>conftest.$ac_ext
41632 cat >>conftest.$ac_ext <<_ACEOF
41633 /* end confdefs.h. */
41634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41636 #define $ac_func innocuous_$ac_func
41638 /* System header to define __stub macros and hopefully few prototypes,
41639 which can conflict with char $ac_func (); below.
41640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41641 <limits.h> exists even on freestanding compilers. */
41644 # include <limits.h>
41646 # include <assert.h>
41651 /* Override any GCC internal prototype to avoid an error.
41652 Use char because int might match the return type of a GCC
41653 builtin and then its argument prototype would still apply. */
41658 /* The GNU C library defines this for functions which it implements
41659 to always fail with ENOSYS. Some functions are actually named
41660 something starting with __ and the normal name is an alias. */
41661 #if defined __stub_$ac_func || defined __stub___$ac_func
41668 return $ac_func ();
41673 rm -f conftest.$ac_objext conftest$ac_exeext
41674 if { (ac_try="$ac_link"
41675 case "(($ac_try" in
41676 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41677 *) ac_try_echo
=$ac_try;;
41679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41680 (eval "$ac_link") 2>conftest.er1
41682 grep -v '^ *+' conftest.er1
>conftest.err
41684 cat conftest.err
>&5
41685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41686 (exit $ac_status); } && {
41687 test -z "$ac_c_werror_flag" ||
41688 test ! -s conftest.err
41689 } && test -s conftest
$ac_exeext &&
41690 $as_test_x conftest
$ac_exeext; then
41691 eval "$as_ac_var=yes"
41693 echo "$as_me: failed program was:" >&5
41694 sed 's/^/| /' conftest.
$ac_ext >&5
41696 eval "$as_ac_var=no"
41699 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41700 conftest
$ac_exeext conftest.
$ac_ext
41702 ac_res
=`eval echo '${'$as_ac_var'}'`
41703 { echo "$as_me:$LINENO: result: $ac_res" >&5
41704 echo "${ECHO_T}$ac_res" >&6; }
41705 if test `eval echo '${'$as_ac_var'}'` = yes; then
41706 cat >>confdefs.h
<<_ACEOF
41707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41710 cat >>confdefs.h
<<\_ACEOF
41711 #define HAVE_DLOPEN 1
41718 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41719 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41720 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41721 echo $ECHO_N "(cached) $ECHO_C" >&6
41723 ac_check_lib_save_LIBS
=$LIBS
41725 cat >conftest.
$ac_ext <<_ACEOF
41728 cat confdefs.h
>>conftest.
$ac_ext
41729 cat >>conftest.
$ac_ext <<_ACEOF
41730 /* end confdefs.h. */
41732 /* Override any GCC internal prototype to avoid an error.
41733 Use char because int might match the return type of a GCC
41734 builtin and then its argument prototype would still apply. */
41747 rm -f conftest.
$ac_objext conftest
$ac_exeext
41748 if { (ac_try
="$ac_link"
41749 case "(($ac_try" in
41750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41751 *) ac_try_echo=$ac_try;;
41753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41754 (eval "$ac_link") 2>conftest.er1
41756 grep -v '^ *+' conftest.er1 >conftest.err
41758 cat conftest.err >&5
41759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41760 (exit $ac_status); } && {
41761 test -z "$ac_c_werror_flag" ||
41762 test ! -s conftest.err
41763 } && test -s conftest$ac_exeext &&
41764 $as_test_x conftest$ac_exeext; then
41765 ac_cv_lib_dl_dlopen=yes
41767 echo "$as_me: failed program was:" >&5
41768 sed 's/^/| /' conftest.$ac_ext >&5
41770 ac_cv_lib_dl_dlopen=no
41773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41774 conftest$ac_exeext conftest.$ac_ext
41775 LIBS=$ac_check_lib_save_LIBS
41777 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41778 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41779 if test $ac_cv_lib_dl_dlopen = yes; then
41781 cat >>confdefs.h <<\_ACEOF
41782 #define HAVE_DLOPEN 1
41786 DL_LINK=" -ldl$DL_LINK"
41791 for ac_func in shl_load
41793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41794 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41796 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41797 echo $ECHO_N "(cached) $ECHO_C" >&6
41799 cat >conftest.$ac_ext <<_ACEOF
41802 cat confdefs.h >>conftest.$ac_ext
41803 cat >>conftest.$ac_ext <<_ACEOF
41804 /* end confdefs.h. */
41805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41807 #define $ac_func innocuous_$ac_func
41809 /* System header to define __stub macros and hopefully few prototypes,
41810 which can conflict with char $ac_func (); below.
41811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41812 <limits.h> exists even on freestanding compilers. */
41815 # include <limits.h>
41817 # include <assert.h>
41822 /* Override any GCC internal prototype to avoid an error.
41823 Use char because int might match the return type of a GCC
41824 builtin and then its argument prototype would still apply. */
41829 /* The GNU C library defines this for functions which it implements
41830 to always fail with ENOSYS. Some functions are actually named
41831 something starting with __ and the normal name is an alias. */
41832 #if defined __stub_$ac_func || defined __stub___$ac_func
41839 return $ac_func ();
41844 rm -f conftest.$ac_objext conftest$ac_exeext
41845 if { (ac_try="$ac_link"
41846 case "(($ac_try" in
41847 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41848 *) ac_try_echo
=$ac_try;;
41850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41851 (eval "$ac_link") 2>conftest.er1
41853 grep -v '^ *+' conftest.er1
>conftest.err
41855 cat conftest.err
>&5
41856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41857 (exit $ac_status); } && {
41858 test -z "$ac_c_werror_flag" ||
41859 test ! -s conftest.err
41860 } && test -s conftest
$ac_exeext &&
41861 $as_test_x conftest
$ac_exeext; then
41862 eval "$as_ac_var=yes"
41864 echo "$as_me: failed program was:" >&5
41865 sed 's/^/| /' conftest.
$ac_ext >&5
41867 eval "$as_ac_var=no"
41870 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41871 conftest
$ac_exeext conftest.
$ac_ext
41873 ac_res
=`eval echo '${'$as_ac_var'}'`
41874 { echo "$as_me:$LINENO: result: $ac_res" >&5
41875 echo "${ECHO_T}$ac_res" >&6; }
41876 if test `eval echo '${'$as_ac_var'}'` = yes; then
41877 cat >>confdefs.h
<<_ACEOF
41878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41881 cat >>confdefs.h
<<\_ACEOF
41882 #define HAVE_SHL_LOAD 1
41889 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41890 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41891 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41892 echo $ECHO_N "(cached) $ECHO_C" >&6
41894 ac_check_lib_save_LIBS
=$LIBS
41895 LIBS
="-lshl_load $LIBS"
41896 cat >conftest.
$ac_ext <<_ACEOF
41899 cat confdefs.h
>>conftest.
$ac_ext
41900 cat >>conftest.
$ac_ext <<_ACEOF
41901 /* end confdefs.h. */
41903 /* Override any GCC internal prototype to avoid an error.
41904 Use char because int might match the return type of a GCC
41905 builtin and then its argument prototype would still apply. */
41918 rm -f conftest.
$ac_objext conftest
$ac_exeext
41919 if { (ac_try
="$ac_link"
41920 case "(($ac_try" in
41921 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41922 *) ac_try_echo=$ac_try;;
41924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41925 (eval "$ac_link") 2>conftest.er1
41927 grep -v '^ *+' conftest.er1 >conftest.err
41929 cat conftest.err >&5
41930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41931 (exit $ac_status); } && {
41932 test -z "$ac_c_werror_flag" ||
41933 test ! -s conftest.err
41934 } && test -s conftest$ac_exeext &&
41935 $as_test_x conftest$ac_exeext; then
41936 ac_cv_lib_shl_load_dld=yes
41938 echo "$as_me: failed program was:" >&5
41939 sed 's/^/| /' conftest.$ac_ext >&5
41941 ac_cv_lib_shl_load_dld=no
41944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41945 conftest$ac_exeext conftest.$ac_ext
41946 LIBS=$ac_check_lib_save_LIBS
41948 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41949 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41950 if test $ac_cv_lib_shl_load_dld = yes; then
41953 DL_LINK=" -ldld$DL_LINK"
41969 if test "$HAVE_DL_FUNCS" = 1; then
41971 for ac_func in dlerror
41973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41974 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41976 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41977 echo $ECHO_N "(cached) $ECHO_C" >&6
41979 cat >conftest.$ac_ext <<_ACEOF
41982 cat confdefs.h >>conftest.$ac_ext
41983 cat >>conftest.$ac_ext <<_ACEOF
41984 /* end confdefs.h. */
41985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41987 #define $ac_func innocuous_$ac_func
41989 /* System header to define __stub macros and hopefully few prototypes,
41990 which can conflict with char $ac_func (); below.
41991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41992 <limits.h> exists even on freestanding compilers. */
41995 # include <limits.h>
41997 # include <assert.h>
42002 /* Override any GCC internal prototype to avoid an error.
42003 Use char because int might match the return type of a GCC
42004 builtin and then its argument prototype would still apply. */
42009 /* The GNU C library defines this for functions which it implements
42010 to always fail with ENOSYS. Some functions are actually named
42011 something starting with __ and the normal name is an alias. */
42012 #if defined __stub_$ac_func || defined __stub___$ac_func
42019 return $ac_func ();
42024 rm -f conftest.$ac_objext conftest$ac_exeext
42025 if { (ac_try="$ac_link"
42026 case "(($ac_try" in
42027 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42028 *) ac_try_echo
=$ac_try;;
42030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42031 (eval "$ac_link") 2>conftest.er1
42033 grep -v '^ *+' conftest.er1
>conftest.err
42035 cat conftest.err
>&5
42036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42037 (exit $ac_status); } && {
42038 test -z "$ac_c_werror_flag" ||
42039 test ! -s conftest.err
42040 } && test -s conftest
$ac_exeext &&
42041 $as_test_x conftest
$ac_exeext; then
42042 eval "$as_ac_var=yes"
42044 echo "$as_me: failed program was:" >&5
42045 sed 's/^/| /' conftest.
$ac_ext >&5
42047 eval "$as_ac_var=no"
42050 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42051 conftest
$ac_exeext conftest.
$ac_ext
42053 ac_res
=`eval echo '${'$as_ac_var'}'`
42054 { echo "$as_me:$LINENO: result: $ac_res" >&5
42055 echo "${ECHO_T}$ac_res" >&6; }
42056 if test `eval echo '${'$as_ac_var'}'` = yes; then
42057 cat >>confdefs.h
<<_ACEOF
42058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42060 cat >>confdefs.h
<<\_ACEOF
42061 #define HAVE_DLERROR 1
42066 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42067 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42068 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42069 echo $ECHO_N "(cached) $ECHO_C" >&6
42071 ac_check_lib_save_LIBS
=$LIBS
42073 cat >conftest.
$ac_ext <<_ACEOF
42076 cat confdefs.h
>>conftest.
$ac_ext
42077 cat >>conftest.
$ac_ext <<_ACEOF
42078 /* end confdefs.h. */
42080 /* Override any GCC internal prototype to avoid an error.
42081 Use char because int might match the return type of a GCC
42082 builtin and then its argument prototype would still apply. */
42095 rm -f conftest.
$ac_objext conftest
$ac_exeext
42096 if { (ac_try
="$ac_link"
42097 case "(($ac_try" in
42098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42099 *) ac_try_echo=$ac_try;;
42101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42102 (eval "$ac_link") 2>conftest.er1
42104 grep -v '^ *+' conftest.er1 >conftest.err
42106 cat conftest.err >&5
42107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42108 (exit $ac_status); } && {
42109 test -z "$ac_c_werror_flag" ||
42110 test ! -s conftest.err
42111 } && test -s conftest$ac_exeext &&
42112 $as_test_x conftest$ac_exeext; then
42113 ac_cv_lib_dl_dlerror=yes
42115 echo "$as_me: failed program was:" >&5
42116 sed 's/^/| /' conftest.$ac_ext >&5
42118 ac_cv_lib_dl_dlerror=no
42121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42122 conftest$ac_exeext conftest.$ac_ext
42123 LIBS=$ac_check_lib_save_LIBS
42125 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42126 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42127 if test $ac_cv_lib_dl_dlerror = yes; then
42128 cat >>confdefs.h <<\_ACEOF
42129 #define HAVE_DLERROR 1
42142 if test "$USE_DARWIN" = 1; then
42146 if test "$HAVE_DL_FUNCS" = 0; then
42147 if test "$HAVE_SHL_FUNCS" = 0; then
42148 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42149 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42150 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42151 wxUSE_DYNAMIC_LOADER=no
42152 wxUSE_DYNLIB_CLASS=no
42154 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42155 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42162 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42163 cat >>confdefs.h <<\_ACEOF
42164 #define wxUSE_DYNAMIC_LOADER 1
42168 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42169 cat >>confdefs.h <<\_ACEOF
42170 #define wxUSE_DYNLIB_CLASS 1
42177 if test "$wxUSE_PLUGINS" = "yes" ; then
42178 if test "$wxUSE_SHARED" = "no" ; then
42179 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42180 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42183 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42184 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42185 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42188 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42189 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42190 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42193 if test "$wxUSE_PLUGINS" = "yes" ; then
42194 cat >>confdefs.h <<\_ACEOF
42195 #define wxUSE_PLUGINS 1
42202 if test "$wxUSE_STL" = "yes"; then
42203 cat >>confdefs.h <<\_ACEOF
42204 #define wxUSE_STL 1
42209 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42210 cat >>confdefs.h <<\_ACEOF
42211 #define wxUSE_EXTENDED_RTTI 1
42216 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42217 cat >>confdefs.h <<\_ACEOF
42218 #define wxUSE_APPLE_IEEE 1
42223 if test "$wxUSE_TIMER" = "yes"; then
42224 cat >>confdefs.h <<\_ACEOF
42225 #define wxUSE_TIMER 1
42230 if test "$USE_UNIX" = 1 ; then
42231 if test "$wxUSE_MGL" != 1; then
42232 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42233 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42234 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42235 echo $ECHO_N "(cached) $ECHO_C" >&6
42238 cat >conftest.$ac_ext <<_ACEOF
42241 cat confdefs.h >>conftest.$ac_ext
42242 cat >>conftest.$ac_ext <<_ACEOF
42243 /* end confdefs.h. */
42245 #include <sys/ioctl.h>
42246 #include <sys/soundcard.h>
42252 ioctl(0, SNDCTL_DSP_SPEED, 0);
42258 rm -f conftest.$ac_objext conftest$ac_exeext
42259 if { (ac_try="$ac_link"
42260 case "(($ac_try" in
42261 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42262 *) ac_try_echo
=$ac_try;;
42264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42265 (eval "$ac_link") 2>conftest.er1
42267 grep -v '^ *+' conftest.er1
>conftest.err
42269 cat conftest.err
>&5
42270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42271 (exit $ac_status); } && {
42272 test -z "$ac_c_werror_flag" ||
42273 test ! -s conftest.err
42274 } && test -s conftest
$ac_exeext &&
42275 $as_test_x conftest
$ac_exeext; then
42276 ac_cv_header_sys_soundcard
=yes
42278 echo "$as_me: failed program was:" >&5
42279 sed 's/^/| /' conftest.
$ac_ext >&5
42283 LIBS
="$saveLibs -lossaudio"
42284 cat >conftest.
$ac_ext <<_ACEOF
42287 cat confdefs.h
>>conftest.
$ac_ext
42288 cat >>conftest.
$ac_ext <<_ACEOF
42289 /* end confdefs.h. */
42291 #include <sys/ioctl.h>
42292 #include <sys/soundcard.h>
42298 ioctl(0, SNDCTL_DSP_SPEED, 0);
42304 rm -f conftest.
$ac_objext conftest
$ac_exeext
42305 if { (ac_try
="$ac_link"
42306 case "(($ac_try" in
42307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42308 *) ac_try_echo=$ac_try;;
42310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42311 (eval "$ac_link") 2>conftest.er1
42313 grep -v '^ *+' conftest.er1 >conftest.err
42315 cat conftest.err >&5
42316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317 (exit $ac_status); } && {
42318 test -z "$ac_c_werror_flag" ||
42319 test ! -s conftest.err
42320 } && test -s conftest$ac_exeext &&
42321 $as_test_x conftest$ac_exeext; then
42322 ac_cv_header_sys_soundcard=yes
42324 echo "$as_me: failed program was:" >&5
42325 sed 's/^/| /' conftest.$ac_ext >&5
42329 ac_cv_header_sys_soundcard=no
42334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42335 conftest$ac_exeext conftest.$ac_ext
42340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42341 conftest$ac_exeext conftest.$ac_ext
42344 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42345 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42348 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42349 cat >>confdefs.h <<\_ACEOF
42350 #define HAVE_SYS_SOUNDCARD_H 1
42357 if test "$wxUSE_SOUND" = "yes"; then
42358 if test "$USE_UNIX" = 1 ; then
42359 if test "$wxUSE_LIBSDL" != "no"; then
42361 # Check whether --with-sdl-prefix was given.
42362 if test "${with_sdl_prefix+set}" = set; then
42363 withval=$with_sdl_prefix; sdl_prefix="$withval"
42369 # Check whether --with-sdl-exec-prefix was given.
42370 if test "${with_sdl_exec_prefix+set}" = set; then
42371 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42376 # Check whether --enable-sdltest was given.
42377 if test "${enable_sdltest+set}" = set; then
42378 enableval=$enable_sdltest;
42384 if test x$sdl_exec_prefix != x ; then
42385 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42386 if test x${SDL_CONFIG+set} != xset ; then
42387 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42390 if test x$sdl_prefix != x ; then
42391 sdl_args="$sdl_args --prefix=$sdl_prefix"
42392 if test x${SDL_CONFIG+set} != xset ; then
42393 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42397 if test "x$prefix" != xNONE; then
42398 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42400 # Extract the first word of "sdl-config", so it can be a program name with args.
42401 set dummy sdl-config; ac_word=$2
42402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42404 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42405 echo $ECHO_N "(cached) $ECHO_C" >&6
42407 case $SDL_CONFIG in
42409 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42413 for as_dir in $PATH
42416 test -z "$as_dir" && as_dir=.
42417 for ac_exec_ext in '' $ac_executable_extensions; do
42418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42419 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42427 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42431 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42432 if test -n "$SDL_CONFIG"; then
42433 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42434 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42436 { echo "$as_me:$LINENO: result: no" >&5
42437 echo "${ECHO_T}no" >&6; }
42441 min_sdl_version=1.2.0
42442 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42443 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42445 if test "$SDL_CONFIG" = "no" ; then
42448 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42449 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42451 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42452 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42453 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42454 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42455 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42456 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42457 if test "x$enable_sdltest" = "xyes" ; then
42458 ac_save_CFLAGS="$CFLAGS"
42459 ac_save_CXXFLAGS="$CXXFLAGS"
42460 ac_save_LIBS="$LIBS"
42461 CFLAGS="$CFLAGS $SDL_CFLAGS"
42462 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42463 LIBS="$LIBS $SDL_LIBS"
42465 if test "$cross_compiling" = yes; then
42466 echo $ac_n "cross compiling; assumed OK... $ac_c"
42468 cat >conftest.$ac_ext <<_ACEOF
42471 cat confdefs.h >>conftest.$ac_ext
42472 cat >>conftest.$ac_ext <<_ACEOF
42473 /* end confdefs.h. */
42476 #include <stdlib.h>
42477 #include <string.h>
42481 my_strdup (char *str)
42487 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42488 strcpy (new_str, str);
42496 int main (int argc, char *argv[])
42498 int major, minor, micro;
42501 /* This hangs on some systems (?)
42502 system ("touch conf.sdltest");
42504 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42506 /* HP/UX 9 (%@#!) writes to sscanf strings */
42507 tmp_version = my_strdup("$min_sdl_version");
42508 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42509 printf("%s, bad version string\n", "$min_sdl_version");
42513 if (($sdl_major_version > major) ||
42514 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42515 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42521 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42522 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42523 printf("*** best to upgrade to the required version.\n");
42524 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42525 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42526 printf("*** config.cache before re-running configure\n");
42533 rm -f conftest$ac_exeext
42534 if { (ac_try="$ac_link"
42535 case "(($ac_try" in
42536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42537 *) ac_try_echo
=$ac_try;;
42539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42540 (eval "$ac_link") 2>&5
42542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42543 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42544 { (case "(($ac_try" in
42545 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42546 *) ac_try_echo=$ac_try;;
42548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42549 (eval "$ac_try") 2>&5
42551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42552 (exit $ac_status); }; }; then
42555 echo "$as_me: program exited with status $ac_status" >&5
42556 echo "$as_me: failed program was:" >&5
42557 sed 's/^/| /' conftest.$ac_ext >&5
42559 ( exit $ac_status )
42562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42566 CFLAGS="$ac_save_CFLAGS"
42567 CXXFLAGS="$ac_save_CXXFLAGS"
42568 LIBS="$ac_save_LIBS"
42571 if test "x$no_sdl" = x ; then
42572 { echo "$as_me:$LINENO: result: yes" >&5
42573 echo "${ECHO_T}yes" >&6; }
42575 EXTRALIBS_SDL="$SDL_LIBS"
42576 CFLAGS="$SDL_CFLAGS $CFLAGS"
42577 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42578 cat >>confdefs.h <<\_ACEOF
42579 #define wxUSE_LIBSDL 1
42584 { echo "$as_me:$LINENO: result: no" >&5
42585 echo "${ECHO_T}no" >&6; }
42586 if test "$SDL_CONFIG" = "no" ; then
42587 echo "*** The sdl-config script installed by SDL could not be found"
42588 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42589 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42590 echo "*** full path to sdl-config."
42592 if test -f conf.sdltest ; then
42595 echo "*** Could not run SDL test program, checking why..."
42596 CFLAGS="$CFLAGS $SDL_CFLAGS"
42597 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42598 LIBS="$LIBS $SDL_LIBS"
42599 cat >conftest.$ac_ext <<_ACEOF
42602 cat confdefs.h >>conftest.$ac_ext
42603 cat >>conftest.$ac_ext <<_ACEOF
42604 /* end confdefs.h. */
42609 int main(int argc, char *argv[])
42612 #define main K_and_R_C_main
42622 rm -f conftest.$ac_objext conftest$ac_exeext
42623 if { (ac_try="$ac_link"
42624 case "(($ac_try" in
42625 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42626 *) ac_try_echo
=$ac_try;;
42628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42629 (eval "$ac_link") 2>conftest.er1
42631 grep -v '^ *+' conftest.er1
>conftest.err
42633 cat conftest.err
>&5
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); } && {
42636 test -z "$ac_c_werror_flag" ||
42637 test ! -s conftest.err
42638 } && test -s conftest
$ac_exeext &&
42639 $as_test_x conftest
$ac_exeext; then
42640 echo "*** The test program compiled, but did not run. This usually means"
42641 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42642 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42643 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42644 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42645 echo "*** is required on your system"
42647 echo "*** If you have an old version installed, it is best to remove it, although"
42648 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42650 echo "$as_me: failed program was:" >&5
42651 sed 's/^/| /' conftest.
$ac_ext >&5
42653 echo "*** The test program failed to compile or link. See the file config.log for the"
42654 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42655 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42656 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42659 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42660 conftest
$ac_exeext conftest.
$ac_ext
42661 CFLAGS
="$ac_save_CFLAGS"
42662 CXXFLAGS
="$ac_save_CXXFLAGS"
42663 LIBS
="$ac_save_LIBS"
42674 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42679 if test "$wxUSE_MGL" = 1; then
42680 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42681 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42687 if test "$wxUSE_SOUND" = "yes"; then
42688 cat >>confdefs.h
<<\_ACEOF
42689 #define wxUSE_SOUND 1
42692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42695 if test "$WXGTK2" = 1; then
42698 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42699 if test -n "$ac_tool_prefix"; then
42700 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42701 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42704 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42705 echo $ECHO_N "(cached) $ECHO_C" >&6
42707 case $PKG_CONFIG in
42709 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42713 for as_dir
in $PATH
42716 test -z "$as_dir" && as_dir
=.
42717 for ac_exec_ext
in '' $ac_executable_extensions; do
42718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42719 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42730 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42731 if test -n "$PKG_CONFIG"; then
42732 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42733 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42735 { echo "$as_me:$LINENO: result: no" >&5
42736 echo "${ECHO_T}no" >&6; }
42741 if test -z "$ac_cv_path_PKG_CONFIG"; then
42742 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42743 # Extract the first word of "pkg-config", so it can be a program name with args.
42744 set dummy pkg
-config; ac_word
=$2
42745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42747 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42748 echo $ECHO_N "(cached) $ECHO_C" >&6
42750 case $ac_pt_PKG_CONFIG in
42752 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42756 for as_dir
in $PATH
42759 test -z "$as_dir" && as_dir
=.
42760 for ac_exec_ext
in '' $ac_executable_extensions; do
42761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42762 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42773 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42774 if test -n "$ac_pt_PKG_CONFIG"; then
42775 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42776 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42778 { echo "$as_me:$LINENO: result: no" >&5
42779 echo "${ECHO_T}no" >&6; }
42782 if test "x$ac_pt_PKG_CONFIG" = x
; then
42785 case $cross_compiling:$ac_tool_warned in
42787 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42788 whose name does not start with the host triplet. If you think this
42789 configuration is useful to you, please write to autoconf@gnu.org." >&5
42790 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42791 whose name does not start with the host triplet. If you think this
42792 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42793 ac_tool_warned
=yes ;;
42795 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42798 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42802 if test -n "$PKG_CONFIG"; then
42803 _pkg_min_version
=0.9.0
42804 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42805 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42806 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42807 { echo "$as_me:$LINENO: result: yes" >&5
42808 echo "${ECHO_T}yes" >&6; }
42810 { echo "$as_me:$LINENO: result: no" >&5
42811 echo "${ECHO_T}no" >&6; }
42817 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42819 if test "$wxUSE_GTKPRINT" = "yes" ; then
42823 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42824 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42826 if test -n "$PKG_CONFIG"; then
42827 if test -n "$GTKPRINT_CFLAGS"; then
42828 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42830 if test -n "$PKG_CONFIG" && \
42831 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42832 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42835 (exit $ac_status); }; then
42836 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42844 if test -n "$PKG_CONFIG"; then
42845 if test -n "$GTKPRINT_LIBS"; then
42846 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42848 if test -n "$PKG_CONFIG" && \
42849 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42850 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42853 (exit $ac_status); }; then
42854 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42865 if test $pkg_failed = yes; then
42867 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42868 _pkg_short_errors_supported
=yes
42870 _pkg_short_errors_supported
=no
42872 if test $_pkg_short_errors_supported = yes; then
42873 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42875 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42877 # Put the nasty error message in config.log where it belongs
42878 echo "$GTKPRINT_PKG_ERRORS" >&5
42881 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42882 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42883 wxUSE_GTKPRINT
="no"
42886 elif test $pkg_failed = untried
; then
42888 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42889 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42890 wxUSE_GTKPRINT
="no"
42894 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42895 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42896 { echo "$as_me:$LINENO: result: yes" >&5
42897 echo "${ECHO_T}yes" >&6; }
42899 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42900 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42901 cat >>confdefs.h
<<\_ACEOF
42902 #define wxUSE_GTKPRINT 1
42909 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42913 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42914 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42916 if test -n "$PKG_CONFIG"; then
42917 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42918 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42920 if test -n "$PKG_CONFIG" && \
42921 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42922 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42925 (exit $ac_status); }; then
42926 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42934 if test -n "$PKG_CONFIG"; then
42935 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42936 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42938 if test -n "$PKG_CONFIG" && \
42939 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42940 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42943 (exit $ac_status); }; then
42944 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42955 if test $pkg_failed = yes; then
42957 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42958 _pkg_short_errors_supported
=yes
42960 _pkg_short_errors_supported
=no
42962 if test $_pkg_short_errors_supported = yes; then
42963 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42965 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42967 # Put the nasty error message in config.log where it belongs
42968 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42971 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42972 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42973 wxUSE_LIBGNOMEPRINT
="no"
42976 elif test $pkg_failed = untried
; then
42978 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42979 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42980 wxUSE_LIBGNOMEPRINT
="no"
42984 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42985 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42986 { echo "$as_me:$LINENO: result: yes" >&5
42987 echo "${ECHO_T}yes" >&6; }
42989 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42990 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42991 cat >>confdefs.h
<<\_ACEOF
42992 #define wxUSE_LIBGNOMEPRINT 1
43000 if test "$wxUSE_MIMETYPE" = "yes" ; then
43001 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43005 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43006 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43008 if test -n "$PKG_CONFIG"; then
43009 if test -n "$GNOMEVFS_CFLAGS"; then
43010 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43012 if test -n "$PKG_CONFIG" && \
43013 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43014 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); }; then
43018 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43026 if test -n "$PKG_CONFIG"; then
43027 if test -n "$GNOMEVFS_LIBS"; then
43028 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43030 if test -n "$PKG_CONFIG" && \
43031 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43032 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43035 (exit $ac_status); }; then
43036 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43047 if test $pkg_failed = yes; then
43049 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43050 _pkg_short_errors_supported
=yes
43052 _pkg_short_errors_supported
=no
43054 if test $_pkg_short_errors_supported = yes; then
43055 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43057 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43059 # Put the nasty error message in config.log where it belongs
43060 echo "$GNOMEVFS_PKG_ERRORS" >&5
43063 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43064 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43065 wxUSE_LIBGNOMEVFS
="no"
43068 elif test $pkg_failed = untried
; then
43070 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43071 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43072 wxUSE_LIBGNOMEVFS
="no"
43076 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43077 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43078 { echo "$as_me:$LINENO: result: yes" >&5
43079 echo "${ECHO_T}yes" >&6; }
43081 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43082 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43083 cat >>confdefs.h
<<\_ACEOF
43084 #define wxUSE_LIBGNOMEVFS 1
43092 if test "$wxUSE_LIBHILDON" = "yes" ; then
43095 { echo "$as_me:$LINENO: checking for HILDON" >&5
43096 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43098 if test -n "$PKG_CONFIG"; then
43099 if test -n "$HILDON_CFLAGS"; then
43100 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43102 if test -n "$PKG_CONFIG" && \
43103 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43104 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43107 (exit $ac_status); }; then
43108 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43116 if test -n "$PKG_CONFIG"; then
43117 if test -n "$HILDON_LIBS"; then
43118 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43120 if test -n "$PKG_CONFIG" && \
43121 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43122 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43125 (exit $ac_status); }; then
43126 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43137 if test $pkg_failed = yes; then
43139 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43140 _pkg_short_errors_supported
=yes
43142 _pkg_short_errors_supported
=no
43144 if test $_pkg_short_errors_supported = yes; then
43145 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43147 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43149 # Put the nasty error message in config.log where it belongs
43150 echo "$HILDON_PKG_ERRORS" >&5
43153 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43154 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43155 wxUSE_LIBHILDON
="no"
43158 elif test $pkg_failed = untried
; then
43160 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43161 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43162 wxUSE_LIBHILDON
="no"
43166 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43167 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43168 { echo "$as_me:$LINENO: result: yes" >&5
43169 echo "${ECHO_T}yes" >&6; }
43171 EXTRALIBS_HILDON
="$HILDON_LIBS"
43172 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43173 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43174 cat >>confdefs.h
<<\_ACEOF
43175 #define wxUSE_LIBHILDON 1
43183 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43184 cat >>confdefs.h
<<\_ACEOF
43185 #define wxUSE_CMDLINE_PARSER 1
43190 if test "$wxUSE_STOPWATCH" = "yes"; then
43191 cat >>confdefs.h
<<\_ACEOF
43192 #define wxUSE_STOPWATCH 1
43197 if test "$wxUSE_DATETIME" = "yes"; then
43198 cat >>confdefs.h
<<\_ACEOF
43199 #define wxUSE_DATETIME 1
43204 if test "$wxUSE_FILE" = "yes"; then
43205 cat >>confdefs.h
<<\_ACEOF
43206 #define wxUSE_FILE 1
43211 if test "$wxUSE_FFILE" = "yes"; then
43212 cat >>confdefs.h
<<\_ACEOF
43213 #define wxUSE_FFILE 1
43218 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43219 if test "$wxUSE_STREAMS" != yes; then
43220 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43221 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43222 wxUSE_ARCHIVE_STREAMS
=no
43224 cat >>confdefs.h
<<\_ACEOF
43225 #define wxUSE_ARCHIVE_STREAMS 1
43231 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43232 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43233 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43234 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43235 elif test "$wxUSE_ZLIB" = "no"; then
43236 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43237 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43239 cat >>confdefs.h
<<\_ACEOF
43240 #define wxUSE_ZIPSTREAM 1
43246 if test "$wxUSE_TARSTREAM" = "yes"; then
43247 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43248 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43249 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43251 cat >>confdefs.h
<<\_ACEOF
43252 #define wxUSE_TARSTREAM 1
43258 if test "$wxUSE_FILESYSTEM" = "yes"; then
43259 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43260 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43261 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43262 wxUSE_FILESYSTEM
=no
43264 cat >>confdefs.h
<<\_ACEOF
43265 #define wxUSE_FILESYSTEM 1
43271 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43272 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43273 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43274 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43276 cat >>confdefs.h
<<\_ACEOF
43277 #define wxUSE_FS_ARCHIVE 1
43283 if test "$wxUSE_FS_ZIP" = "yes"; then
43284 if test "$wxUSE_FS_ARCHIVE" != yes; then
43285 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43286 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43288 cat >>confdefs.h
<<\_ACEOF
43289 #define wxUSE_FS_ZIP 1
43295 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43296 if test "$USE_UNIX" != 1; then
43297 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43298 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43299 wxUSE_ON_FATAL_EXCEPTION
=no
43301 cat >>confdefs.h
<<\_ACEOF
43302 #define wxUSE_ON_FATAL_EXCEPTION 1
43308 if test "$wxUSE_STACKWALKER" = "yes"; then
43309 cat >>confdefs.h
<<\_ACEOF
43310 #define wxUSE_STACKWALKER 1
43315 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43316 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43317 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43318 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43319 wxUSE_DEBUGREPORT
=no
43321 cat >>confdefs.h
<<\_ACEOF
43322 #define wxUSE_DEBUGREPORT 1
43325 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43326 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43331 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43332 cat >>confdefs.h
<<\_ACEOF
43333 #define wxUSE_SNGLINST_CHECKER 1
43338 if test "$wxUSE_BUSYINFO" = "yes"; then
43339 cat >>confdefs.h
<<\_ACEOF
43340 #define wxUSE_BUSYINFO 1
43345 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43346 cat >>confdefs.h
<<\_ACEOF
43347 #define wxUSE_STD_IOSTREAM 1
43352 if test "$wxUSE_STD_STRING" = "yes"; then
43353 cat >>confdefs.h
<<\_ACEOF
43354 #define wxUSE_STD_STRING 1
43359 if test "$wxUSE_STDPATHS" = "yes"; then
43360 cat >>confdefs.h
<<\_ACEOF
43361 #define wxUSE_STDPATHS 1
43366 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43367 cat >>confdefs.h
<<\_ACEOF
43368 #define wxUSE_TEXTBUFFER 1
43373 if test "$wxUSE_TEXTFILE" = "yes"; then
43374 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43375 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43376 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43378 cat >>confdefs.h
<<\_ACEOF
43379 #define wxUSE_TEXTFILE 1
43385 if test "$wxUSE_CONFIG" = "yes" ; then
43386 if test "$wxUSE_TEXTFILE" != "yes"; then
43387 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43388 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43390 cat >>confdefs.h
<<\_ACEOF
43391 #define wxUSE_CONFIG 1
43394 cat >>confdefs.h
<<\_ACEOF
43395 #define wxUSE_CONFIG_NATIVE 1
43398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43402 if test "$wxUSE_INTL" = "yes" ; then
43403 if test "$wxUSE_FILE" != "yes"; then
43404 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43405 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43407 cat >>confdefs.h
<<\_ACEOF
43408 #define wxUSE_INTL 1
43411 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43412 GUIDIST
="$GUIDIST INTL_DIST"
43416 if test "$wxUSE_XLOCALE" = "yes" ; then
43417 cat >>confdefs.h
<<\_ACEOF
43418 #define wxUSE_XLOCALE 1
43421 { echo "$as_me:$LINENO: checking for locale_t" >&5
43422 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43423 if test "${ac_cv_type_locale_t+set}" = set; then
43424 echo $ECHO_N "(cached) $ECHO_C" >&6
43426 cat >conftest.
$ac_ext <<_ACEOF
43429 cat confdefs.h
>>conftest.
$ac_ext
43430 cat >>conftest.
$ac_ext <<_ACEOF
43431 /* end confdefs.h. */
43432 #include <xlocale.h>
43433 #include <locale.h>
43435 typedef locale_t ac__type_new_;
43439 if ((ac__type_new_ *) 0)
43441 if (sizeof (ac__type_new_))
43447 rm -f conftest.
$ac_objext
43448 if { (ac_try
="$ac_compile"
43449 case "(($ac_try" in
43450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43451 *) ac_try_echo=$ac_try;;
43453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43454 (eval "$ac_compile") 2>conftest.er1
43456 grep -v '^ *+' conftest.er1 >conftest.err
43458 cat conftest.err >&5
43459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43460 (exit $ac_status); } && {
43461 test -z "$ac_c_werror_flag" ||
43462 test ! -s conftest.err
43463 } && test -s conftest.$ac_objext; then
43464 ac_cv_type_locale_t=yes
43466 echo "$as_me: failed program was:" >&5
43467 sed 's/^/| /' conftest.$ac_ext >&5
43469 ac_cv_type_locale_t=no
43472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43474 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43475 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43476 if test $ac_cv_type_locale_t = yes; then
43478 cat >>confdefs.h <<_ACEOF
43479 #define HAVE_LOCALE_T 1
43487 if test "$wxUSE_LOG" = "yes"; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_LOG 1
43493 if test "$wxUSE_LOGGUI" = "yes"; then
43494 cat >>confdefs.h <<\_ACEOF
43495 #define wxUSE_LOGGUI 1
43500 if test "$wxUSE_LOGWINDOW" = "yes"; then
43501 cat >>confdefs.h <<\_ACEOF
43502 #define wxUSE_LOGWINDOW 1
43507 if test "$wxUSE_LOGDIALOG" = "yes"; then
43508 cat >>confdefs.h <<\_ACEOF
43509 #define wxUSE_LOG_DIALOG 1
43514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43517 if test "$wxUSE_LONGLONG" = "yes"; then
43518 cat >>confdefs.h <<\_ACEOF
43519 #define wxUSE_LONGLONG 1
43524 if test "$wxUSE_GEOMETRY" = "yes"; then
43525 cat >>confdefs.h <<\_ACEOF
43526 #define wxUSE_GEOMETRY 1
43531 if test "$wxUSE_BASE64" = "yes"; then
43532 cat >>confdefs.h <<\_ACEOF
43533 #define wxUSE_BASE64 1
43538 if test "$wxUSE_STREAMS" = "yes" ; then
43539 cat >>confdefs.h <<\_ACEOF
43540 #define wxUSE_STREAMS 1
43545 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43546 cat >>confdefs.h <<\_ACEOF
43547 #define wxUSE_PRINTF_POS_PARAMS 1
43552 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43553 cat >>confdefs.h <<\_ACEOF
43554 #define wxUSE_OBJC_UNIQUIFYING 1
43560 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43561 cat >>confdefs.h <<\_ACEOF
43562 #define wxUSE_CONSOLE_EVENTLOOP 1
43566 if test "$wxUSE_UNIX" = "yes"; then
43567 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43568 cat >>confdefs.h <<\_ACEOF
43569 #define wxUSE_SELECT_DISPATCHER 1
43574 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43576 for ac_header in sys/epoll.h
43578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43579 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43581 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43582 echo $ECHO_N "(cached) $ECHO_C" >&6
43584 cat >conftest.$ac_ext <<_ACEOF
43587 cat confdefs.h >>conftest.$ac_ext
43588 cat >>conftest.$ac_ext <<_ACEOF
43589 /* end confdefs.h. */
43590 $ac_includes_default
43592 #include <$ac_header>
43594 rm -f conftest.$ac_objext
43595 if { (ac_try="$ac_compile"
43596 case "(($ac_try" in
43597 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43598 *) ac_try_echo
=$ac_try;;
43600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43601 (eval "$ac_compile") 2>conftest.er1
43603 grep -v '^ *+' conftest.er1
>conftest.err
43605 cat conftest.err
>&5
43606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43607 (exit $ac_status); } && {
43608 test -z "$ac_c_werror_flag" ||
43609 test ! -s conftest.err
43610 } && test -s conftest.
$ac_objext; then
43611 eval "$as_ac_Header=yes"
43613 echo "$as_me: failed program was:" >&5
43614 sed 's/^/| /' conftest.
$ac_ext >&5
43616 eval "$as_ac_Header=no"
43619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43621 ac_res
=`eval echo '${'$as_ac_Header'}'`
43622 { echo "$as_me:$LINENO: result: $ac_res" >&5
43623 echo "${ECHO_T}$ac_res" >&6; }
43624 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43625 cat >>confdefs.h
<<_ACEOF
43626 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43633 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43634 cat >>confdefs.h
<<\_ACEOF
43635 #define wxUSE_EPOLL_DISPATCHER 1
43639 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43640 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43649 for ac_func
in gettimeofday ftime
43651 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43654 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43655 echo $ECHO_N "(cached) $ECHO_C" >&6
43657 cat >conftest.
$ac_ext <<_ACEOF
43660 cat confdefs.h
>>conftest.
$ac_ext
43661 cat >>conftest.
$ac_ext <<_ACEOF
43662 /* end confdefs.h. */
43663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43665 #define $ac_func innocuous_$ac_func
43667 /* System header to define __stub macros and hopefully few prototypes,
43668 which can conflict with char $ac_func (); below.
43669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43670 <limits.h> exists even on freestanding compilers. */
43673 # include <limits.h>
43675 # include <assert.h>
43680 /* Override any GCC internal prototype to avoid an error.
43681 Use char because int might match the return type of a GCC
43682 builtin and then its argument prototype would still apply. */
43687 /* The GNU C library defines this for functions which it implements
43688 to always fail with ENOSYS. Some functions are actually named
43689 something starting with __ and the normal name is an alias. */
43690 #if defined __stub_$ac_func || defined __stub___$ac_func
43697 return $ac_func ();
43702 rm -f conftest.
$ac_objext conftest
$ac_exeext
43703 if { (ac_try
="$ac_link"
43704 case "(($ac_try" in
43705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43706 *) ac_try_echo=$ac_try;;
43708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43709 (eval "$ac_link") 2>conftest.er1
43711 grep -v '^ *+' conftest.er1 >conftest.err
43713 cat conftest.err >&5
43714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43715 (exit $ac_status); } && {
43716 test -z "$ac_c_werror_flag" ||
43717 test ! -s conftest.err
43718 } && test -s conftest$ac_exeext &&
43719 $as_test_x conftest$ac_exeext; then
43720 eval "$as_ac_var=yes"
43722 echo "$as_me: failed program was:" >&5
43723 sed 's/^/| /' conftest.$ac_ext >&5
43725 eval "$as_ac_var=no"
43728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43729 conftest$ac_exeext conftest.$ac_ext
43731 ac_res=`eval echo '${'$as_ac_var'}'`
43732 { echo "$as_me:$LINENO: result: $ac_res" >&5
43733 echo "${ECHO_T}$ac_res" >&6; }
43734 if test `eval echo '${'$as_ac_var'}'` = yes; then
43735 cat >>confdefs.h <<_ACEOF
43736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43743 if test "$ac_cv_func_gettimeofday" = "yes"; then
43744 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43745 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43746 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43747 echo $ECHO_N "(cached) $ECHO_C" >&6
43750 cat >conftest.$ac_ext <<_ACEOF
43753 cat confdefs.h >>conftest.$ac_ext
43754 cat >>conftest.$ac_ext <<_ACEOF
43755 /* end confdefs.h. */
43757 #include <sys/time.h>
43758 #include <unistd.h>
43765 gettimeofday(&tv, NULL);
43771 rm -f conftest.$ac_objext
43772 if { (ac_try="$ac_compile"
43773 case "(($ac_try" in
43774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43775 *) ac_try_echo
=$ac_try;;
43777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43778 (eval "$ac_compile") 2>conftest.er1
43780 grep -v '^ *+' conftest.er1
>conftest.err
43782 cat conftest.err
>&5
43783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43784 (exit $ac_status); } && {
43785 test -z "$ac_c_werror_flag" ||
43786 test ! -s conftest.err
43787 } && test -s conftest.
$ac_objext; then
43788 wx_cv_func_gettimeofday_has_2_args
=yes
43790 echo "$as_me: failed program was:" >&5
43791 sed 's/^/| /' conftest.
$ac_ext >&5
43793 cat >conftest.
$ac_ext <<_ACEOF
43796 cat confdefs.h
>>conftest.
$ac_ext
43797 cat >>conftest.
$ac_ext <<_ACEOF
43798 /* end confdefs.h. */
43800 #include <sys/time.h>
43801 #include <unistd.h>
43814 rm -f conftest.
$ac_objext
43815 if { (ac_try
="$ac_compile"
43816 case "(($ac_try" in
43817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43818 *) ac_try_echo=$ac_try;;
43820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43821 (eval "$ac_compile") 2>conftest.er1
43823 grep -v '^ *+' conftest.er1 >conftest.err
43825 cat conftest.err >&5
43826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43827 (exit $ac_status); } && {
43828 test -z "$ac_c_werror_flag" ||
43829 test ! -s conftest.err
43830 } && test -s conftest.$ac_objext; then
43831 wx_cv_func_gettimeofday_has_2_args=no
43833 echo "$as_me: failed program was:" >&5
43834 sed 's/^/| /' conftest.$ac_ext >&5
43837 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43838 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43839 wx_cv_func_gettimeofday_has_2_args=unknown
43844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43851 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43852 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43854 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43855 cat >>confdefs.h <<\_ACEOF
43856 #define WX_GETTIMEOFDAY_NO_TZ 1
43862 if test "$wxUSE_DATETIME" = "yes"; then
43863 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43864 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43865 if test "${wx_cv_var_timezone+set}" = set; then
43866 echo $ECHO_N "(cached) $ECHO_C" >&6
43870 ac_cpp='$CXXCPP $CPPFLAGS'
43871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43875 cat >conftest.$ac_ext <<_ACEOF
43878 cat confdefs.h >>conftest.$ac_ext
43879 cat >>conftest.$ac_ext <<_ACEOF
43880 /* end confdefs.h. */
43895 rm -f conftest.$ac_objext
43896 if { (ac_try="$ac_compile"
43897 case "(($ac_try" in
43898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43899 *) ac_try_echo
=$ac_try;;
43901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43902 (eval "$ac_compile") 2>conftest.er1
43904 grep -v '^ *+' conftest.er1
>conftest.err
43906 cat conftest.err
>&5
43907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43908 (exit $ac_status); } && {
43909 test -z "$ac_cxx_werror_flag" ||
43910 test ! -s conftest.err
43911 } && test -s conftest.
$ac_objext; then
43913 wx_cv_var_timezone
=timezone
43916 echo "$as_me: failed program was:" >&5
43917 sed 's/^/| /' conftest.
$ac_ext >&5
43920 cat >conftest.
$ac_ext <<_ACEOF
43923 cat confdefs.h
>>conftest.
$ac_ext
43924 cat >>conftest.
$ac_ext <<_ACEOF
43925 /* end confdefs.h. */
43940 rm -f conftest.
$ac_objext
43941 if { (ac_try
="$ac_compile"
43942 case "(($ac_try" in
43943 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43944 *) ac_try_echo=$ac_try;;
43946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43947 (eval "$ac_compile") 2>conftest.er1
43949 grep -v '^ *+' conftest.er1 >conftest.err
43951 cat conftest.err >&5
43952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43953 (exit $ac_status); } && {
43954 test -z "$ac_cxx_werror_flag" ||
43955 test ! -s conftest.err
43956 } && test -s conftest.$ac_objext; then
43958 wx_cv_var_timezone=_timezone
43961 echo "$as_me: failed program was:" >&5
43962 sed 's/^/| /' conftest.$ac_ext >&5
43965 cat >conftest.$ac_ext <<_ACEOF
43968 cat confdefs.h >>conftest.$ac_ext
43969 cat >>conftest.$ac_ext <<_ACEOF
43970 /* end confdefs.h. */
43985 rm -f conftest.$ac_objext
43986 if { (ac_try="$ac_compile"
43987 case "(($ac_try" in
43988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43989 *) ac_try_echo
=$ac_try;;
43991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43992 (eval "$ac_compile") 2>conftest.er1
43994 grep -v '^ *+' conftest.er1
>conftest.err
43996 cat conftest.err
>&5
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); } && {
43999 test -z "$ac_cxx_werror_flag" ||
44000 test ! -s conftest.err
44001 } && test -s conftest.
$ac_objext; then
44003 wx_cv_var_timezone
=__timezone
44006 echo "$as_me: failed program was:" >&5
44007 sed 's/^/| /' conftest.
$ac_ext >&5
44010 if test "$USE_DOS" = 0 ; then
44011 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44012 echo "$as_me: WARNING: no timezone variable" >&2;}
44018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44030 ac_cpp
='$CPP $CPPFLAGS'
44031 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44032 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44033 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44038 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44039 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44041 if test "x$wx_cv_var_timezone" != x
; then
44042 cat >>confdefs.h
<<_ACEOF
44043 #define WX_TIMEZONE $wx_cv_var_timezone
44049 for ac_func
in localtime
44051 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44052 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44054 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44055 echo $ECHO_N "(cached) $ECHO_C" >&6
44057 cat >conftest.
$ac_ext <<_ACEOF
44060 cat confdefs.h
>>conftest.
$ac_ext
44061 cat >>conftest.
$ac_ext <<_ACEOF
44062 /* end confdefs.h. */
44063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44065 #define $ac_func innocuous_$ac_func
44067 /* System header to define __stub macros and hopefully few prototypes,
44068 which can conflict with char $ac_func (); below.
44069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44070 <limits.h> exists even on freestanding compilers. */
44073 # include <limits.h>
44075 # include <assert.h>
44080 /* Override any GCC internal prototype to avoid an error.
44081 Use char because int might match the return type of a GCC
44082 builtin and then its argument prototype would still apply. */
44087 /* The GNU C library defines this for functions which it implements
44088 to always fail with ENOSYS. Some functions are actually named
44089 something starting with __ and the normal name is an alias. */
44090 #if defined __stub_$ac_func || defined __stub___$ac_func
44097 return $ac_func ();
44102 rm -f conftest.
$ac_objext conftest
$ac_exeext
44103 if { (ac_try
="$ac_link"
44104 case "(($ac_try" in
44105 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44106 *) ac_try_echo=$ac_try;;
44108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44109 (eval "$ac_link") 2>conftest.er1
44111 grep -v '^ *+' conftest.er1 >conftest.err
44113 cat conftest.err >&5
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); } && {
44116 test -z "$ac_c_werror_flag" ||
44117 test ! -s conftest.err
44118 } && test -s conftest$ac_exeext &&
44119 $as_test_x conftest$ac_exeext; then
44120 eval "$as_ac_var=yes"
44122 echo "$as_me: failed program was:" >&5
44123 sed 's/^/| /' conftest.$ac_ext >&5
44125 eval "$as_ac_var=no"
44128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44129 conftest$ac_exeext conftest.$ac_ext
44131 ac_res=`eval echo '${'$as_ac_var'}'`
44132 { echo "$as_me:$LINENO: result: $ac_res" >&5
44133 echo "${ECHO_T}$ac_res" >&6; }
44134 if test `eval echo '${'$as_ac_var'}'` = yes; then
44135 cat >>confdefs.h <<_ACEOF
44136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44143 if test "$ac_cv_func_localtime" = "yes"; then
44144 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44145 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44146 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44147 echo $ECHO_N "(cached) $ECHO_C" >&6
44150 cat >conftest.$ac_ext <<_ACEOF
44153 cat confdefs.h >>conftest.$ac_ext
44154 cat >>conftest.$ac_ext <<_ACEOF
44155 /* end confdefs.h. */
44170 rm -f conftest.$ac_objext
44171 if { (ac_try="$ac_compile"
44172 case "(($ac_try" in
44173 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44174 *) ac_try_echo
=$ac_try;;
44176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44177 (eval "$ac_compile") 2>conftest.er1
44179 grep -v '^ *+' conftest.er1
>conftest.err
44181 cat conftest.err
>&5
44182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44183 (exit $ac_status); } && {
44184 test -z "$ac_c_werror_flag" ||
44185 test ! -s conftest.err
44186 } && test -s conftest.
$ac_objext; then
44188 wx_cv_struct_tm_has_gmtoff
=yes
44191 echo "$as_me: failed program was:" >&5
44192 sed 's/^/| /' conftest.
$ac_ext >&5
44194 wx_cv_struct_tm_has_gmtoff
=no
44198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44201 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44202 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44205 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44206 cat >>confdefs.h
<<\_ACEOF
44207 #define WX_GMTOFF_IN_TM 1
44212 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44216 if test "$wxUSE_SOCKETS" = "yes"; then
44217 if test "$wxUSE_MGL" = 1; then
44218 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44219 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44224 if test "$wxUSE_SOCKETS" = "yes"; then
44225 if test "$TOOLKIT" != "MSW"; then
44226 { echo "$as_me:$LINENO: checking for socket" >&5
44227 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44228 if test "${ac_cv_func_socket+set}" = set; then
44229 echo $ECHO_N "(cached) $ECHO_C" >&6
44231 cat >conftest.
$ac_ext <<_ACEOF
44234 cat confdefs.h
>>conftest.
$ac_ext
44235 cat >>conftest.
$ac_ext <<_ACEOF
44236 /* end confdefs.h. */
44237 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44239 #define socket innocuous_socket
44241 /* System header to define __stub macros and hopefully few prototypes,
44242 which can conflict with char socket (); below.
44243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44244 <limits.h> exists even on freestanding compilers. */
44247 # include <limits.h>
44249 # include <assert.h>
44254 /* Override any GCC internal prototype to avoid an error.
44255 Use char because int might match the return type of a GCC
44256 builtin and then its argument prototype would still apply. */
44261 /* The GNU C library defines this for functions which it implements
44262 to always fail with ENOSYS. Some functions are actually named
44263 something starting with __ and the normal name is an alias. */
44264 #if defined __stub_socket || defined __stub___socket
44276 rm -f conftest.
$ac_objext conftest
$ac_exeext
44277 if { (ac_try
="$ac_link"
44278 case "(($ac_try" in
44279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44280 *) ac_try_echo=$ac_try;;
44282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44283 (eval "$ac_link") 2>conftest.er1
44285 grep -v '^ *+' conftest.er1 >conftest.err
44287 cat conftest.err >&5
44288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44289 (exit $ac_status); } && {
44290 test -z "$ac_c_werror_flag" ||
44291 test ! -s conftest.err
44292 } && test -s conftest$ac_exeext &&
44293 $as_test_x conftest$ac_exeext; then
44294 ac_cv_func_socket=yes
44296 echo "$as_me: failed program was:" >&5
44297 sed 's/^/| /' conftest.$ac_ext >&5
44299 ac_cv_func_socket=no
44302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44303 conftest$ac_exeext conftest.$ac_ext
44305 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44306 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44307 if test $ac_cv_func_socket = yes; then
44311 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44312 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44313 if test "${ac_cv_lib_socket_socket+set}" = set; then
44314 echo $ECHO_N "(cached) $ECHO_C" >&6
44316 ac_check_lib_save_LIBS=$LIBS
44317 LIBS="-lsocket $LIBS"
44318 cat >conftest.$ac_ext <<_ACEOF
44321 cat confdefs.h >>conftest.$ac_ext
44322 cat >>conftest.$ac_ext <<_ACEOF
44323 /* end confdefs.h. */
44325 /* Override any GCC internal prototype to avoid an error.
44326 Use char because int might match the return type of a GCC
44327 builtin and then its argument prototype would still apply. */
44340 rm -f conftest.$ac_objext conftest$ac_exeext
44341 if { (ac_try="$ac_link"
44342 case "(($ac_try" in
44343 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44344 *) ac_try_echo
=$ac_try;;
44346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44347 (eval "$ac_link") 2>conftest.er1
44349 grep -v '^ *+' conftest.er1
>conftest.err
44351 cat conftest.err
>&5
44352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44353 (exit $ac_status); } && {
44354 test -z "$ac_c_werror_flag" ||
44355 test ! -s conftest.err
44356 } && test -s conftest
$ac_exeext &&
44357 $as_test_x conftest
$ac_exeext; then
44358 ac_cv_lib_socket_socket
=yes
44360 echo "$as_me: failed program was:" >&5
44361 sed 's/^/| /' conftest.
$ac_ext >&5
44363 ac_cv_lib_socket_socket
=no
44366 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44367 conftest
$ac_exeext conftest.
$ac_ext
44368 LIBS
=$ac_check_lib_save_LIBS
44370 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44371 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44372 if test $ac_cv_lib_socket_socket = yes; then
44373 if test "$INET_LINK" != " -lsocket"; then
44374 INET_LINK
="$INET_LINK -lsocket"
44378 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44379 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44392 if test "$wxUSE_SOCKETS" = "yes" ; then
44393 if test "$TOOLKIT" != "MSW"; then
44394 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44395 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44396 if test "${wx_cv_type_getsockname3+set}" = set; then
44397 echo $ECHO_N "(cached) $ECHO_C" >&6
44401 ac_cpp
='$CXXCPP $CPPFLAGS'
44402 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44403 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44404 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44406 cat >conftest.
$ac_ext <<_ACEOF
44409 cat confdefs.h
>>conftest.
$ac_ext
44410 cat >>conftest.
$ac_ext <<_ACEOF
44411 /* end confdefs.h. */
44413 #include <sys/types.h>
44414 #include <sys/socket.h>
44421 getsockname(0, 0, &len);
44427 rm -f conftest.
$ac_objext
44428 if { (ac_try
="$ac_compile"
44429 case "(($ac_try" in
44430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44431 *) ac_try_echo=$ac_try;;
44433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44434 (eval "$ac_compile") 2>conftest.er1
44436 grep -v '^ *+' conftest.er1 >conftest.err
44438 cat conftest.err >&5
44439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44440 (exit $ac_status); } && {
44441 test -z "$ac_cxx_werror_flag" ||
44442 test ! -s conftest.err
44443 } && test -s conftest.$ac_objext; then
44444 wx_cv_type_getsockname3=socklen_t
44446 echo "$as_me: failed program was:" >&5
44447 sed 's/^/| /' conftest.$ac_ext >&5
44450 CFLAGS_OLD="$CFLAGS"
44451 if test "$GCC" = yes ; then
44452 CFLAGS="-Werror $CFLAGS"
44455 cat >conftest.$ac_ext <<_ACEOF
44458 cat confdefs.h >>conftest.$ac_ext
44459 cat >>conftest.$ac_ext <<_ACEOF
44460 /* end confdefs.h. */
44462 #include <sys/types.h>
44463 #include <sys/socket.h>
44470 getsockname(0, 0, &len);
44476 rm -f conftest.$ac_objext
44477 if { (ac_try="$ac_compile"
44478 case "(($ac_try" in
44479 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44480 *) ac_try_echo
=$ac_try;;
44482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44483 (eval "$ac_compile") 2>conftest.er1
44485 grep -v '^ *+' conftest.er1
>conftest.err
44487 cat conftest.err
>&5
44488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44489 (exit $ac_status); } && {
44490 test -z "$ac_cxx_werror_flag" ||
44491 test ! -s conftest.err
44492 } && test -s conftest.
$ac_objext; then
44493 wx_cv_type_getsockname3
=size_t
44495 echo "$as_me: failed program was:" >&5
44496 sed 's/^/| /' conftest.
$ac_ext >&5
44498 cat >conftest.
$ac_ext <<_ACEOF
44501 cat confdefs.h
>>conftest.
$ac_ext
44502 cat >>conftest.
$ac_ext <<_ACEOF
44503 /* end confdefs.h. */
44505 #include <sys/types.h>
44506 #include <sys/socket.h>
44513 getsockname(0, 0, &len);
44519 rm -f conftest.
$ac_objext
44520 if { (ac_try
="$ac_compile"
44521 case "(($ac_try" in
44522 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44523 *) ac_try_echo=$ac_try;;
44525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44526 (eval "$ac_compile") 2>conftest.er1
44528 grep -v '^ *+' conftest.er1 >conftest.err
44530 cat conftest.err >&5
44531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44532 (exit $ac_status); } && {
44533 test -z "$ac_cxx_werror_flag" ||
44534 test ! -s conftest.err
44535 } && test -s conftest.$ac_objext; then
44536 wx_cv_type_getsockname3=int
44538 echo "$as_me: failed program was:" >&5
44539 sed 's/^/| /' conftest.$ac_ext >&5
44541 wx_cv_type_getsockname3=unknown
44545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44551 CFLAGS="$CFLAGS_OLD"
44556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44558 ac_cpp='$CPP $CPPFLAGS'
44559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44565 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44566 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44568 if test "$wx_cv_type_getsockname3" = "unknown"; then
44570 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44571 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44573 cat >>confdefs.h <<_ACEOF
44574 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44578 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44579 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44580 if test "${wx_cv_type_getsockopt5+set}" = set; then
44581 echo $ECHO_N "(cached) $ECHO_C" >&6
44585 ac_cpp='$CXXCPP $CPPFLAGS'
44586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44590 cat >conftest.$ac_ext <<_ACEOF
44593 cat confdefs.h >>conftest.$ac_ext
44594 cat >>conftest.$ac_ext <<_ACEOF
44595 /* end confdefs.h. */
44597 #include <sys/types.h>
44598 #include <sys/socket.h>
44605 getsockopt(0, 0, 0, 0, &len);
44611 rm -f conftest.$ac_objext
44612 if { (ac_try="$ac_compile"
44613 case "(($ac_try" in
44614 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44615 *) ac_try_echo
=$ac_try;;
44617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44618 (eval "$ac_compile") 2>conftest.er1
44620 grep -v '^ *+' conftest.er1
>conftest.err
44622 cat conftest.err
>&5
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); } && {
44625 test -z "$ac_cxx_werror_flag" ||
44626 test ! -s conftest.err
44627 } && test -s conftest.
$ac_objext; then
44628 wx_cv_type_getsockopt5
=socklen_t
44630 echo "$as_me: failed program was:" >&5
44631 sed 's/^/| /' conftest.
$ac_ext >&5
44634 cat >conftest.
$ac_ext <<_ACEOF
44637 cat confdefs.h
>>conftest.
$ac_ext
44638 cat >>conftest.
$ac_ext <<_ACEOF
44639 /* end confdefs.h. */
44641 #include <sys/types.h>
44642 #include <sys/socket.h>
44649 getsockopt(0, 0, 0, 0, &len);
44655 rm -f conftest.
$ac_objext
44656 if { (ac_try
="$ac_compile"
44657 case "(($ac_try" in
44658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44659 *) ac_try_echo=$ac_try;;
44661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44662 (eval "$ac_compile") 2>conftest.er1
44664 grep -v '^ *+' conftest.er1 >conftest.err
44666 cat conftest.err >&5
44667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44668 (exit $ac_status); } && {
44669 test -z "$ac_cxx_werror_flag" ||
44670 test ! -s conftest.err
44671 } && test -s conftest.$ac_objext; then
44672 wx_cv_type_getsockopt5=size_t
44674 echo "$as_me: failed program was:" >&5
44675 sed 's/^/| /' conftest.$ac_ext >&5
44677 cat >conftest.$ac_ext <<_ACEOF
44680 cat confdefs.h >>conftest.$ac_ext
44681 cat >>conftest.$ac_ext <<_ACEOF
44682 /* end confdefs.h. */
44684 #include <sys/types.h>
44685 #include <sys/socket.h>
44692 getsockopt(0, 0, 0, 0, &len);
44698 rm -f conftest.$ac_objext
44699 if { (ac_try="$ac_compile"
44700 case "(($ac_try" in
44701 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44702 *) ac_try_echo
=$ac_try;;
44704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44705 (eval "$ac_compile") 2>conftest.er1
44707 grep -v '^ *+' conftest.er1
>conftest.err
44709 cat conftest.err
>&5
44710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44711 (exit $ac_status); } && {
44712 test -z "$ac_cxx_werror_flag" ||
44713 test ! -s conftest.err
44714 } && test -s conftest.
$ac_objext; then
44715 wx_cv_type_getsockopt5
=int
44717 echo "$as_me: failed program was:" >&5
44718 sed 's/^/| /' conftest.
$ac_ext >&5
44720 wx_cv_type_getsockopt5
=unknown
44724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44728 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44735 ac_cpp
='$CPP $CPPFLAGS'
44736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44742 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44743 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44745 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44747 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44748 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44750 cat >>confdefs.h
<<_ACEOF
44751 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44758 if test "$wxUSE_SOCKETS" = "yes" ; then
44759 if test "$wxUSE_IPV6" = "yes"; then
44760 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44761 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44762 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44763 echo $ECHO_N "(cached) $ECHO_C" >&6
44766 cat >conftest.
$ac_ext <<_ACEOF
44769 cat confdefs.h
>>conftest.
$ac_ext
44770 cat >>conftest.
$ac_ext <<_ACEOF
44771 /* end confdefs.h. */
44773 #include <sys/types.h>
44774 #include <sys/socket.h>
44775 #include <netinet/in.h>
44781 struct sockaddr_in6 sa6;
44787 rm -f conftest.
$ac_objext
44788 if { (ac_try
="$ac_compile"
44789 case "(($ac_try" in
44790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44791 *) ac_try_echo=$ac_try;;
44793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44794 (eval "$ac_compile") 2>conftest.er1
44796 grep -v '^ *+' conftest.er1 >conftest.err
44798 cat conftest.err >&5
44799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44800 (exit $ac_status); } && {
44801 test -z "$ac_c_werror_flag" ||
44802 test ! -s conftest.err
44803 } && test -s conftest.$ac_objext; then
44804 wx_cv_type_sockaddr_in6=yes
44806 echo "$as_me: failed program was:" >&5
44807 sed 's/^/| /' conftest.$ac_ext >&5
44809 wx_cv_type_sockaddr_in6=no
44813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44817 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44818 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44820 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44821 cat >>confdefs.h <<\_ACEOF
44822 #define wxUSE_IPV6 1
44826 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44827 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44831 cat >>confdefs.h <<\_ACEOF
44832 #define wxUSE_SOCKETS 1
44835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44838 if test "$wxUSE_PROTOCOL" = "yes"; then
44839 if test "$wxUSE_SOCKETS" != "yes"; then
44840 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44841 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44846 if test "$wxUSE_PROTOCOL" = "yes"; then
44847 cat >>confdefs.h <<\_ACEOF
44848 #define wxUSE_PROTOCOL 1
44852 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44853 cat >>confdefs.h <<\_ACEOF
44854 #define wxUSE_PROTOCOL_HTTP 1
44858 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44859 cat >>confdefs.h <<\_ACEOF
44860 #define wxUSE_PROTOCOL_FTP 1
44864 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44865 cat >>confdefs.h <<\_ACEOF
44866 #define wxUSE_PROTOCOL_FILE 1
44871 if test "$wxUSE_FS_INET" = "yes"; then
44872 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44873 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44878 if test "$wxUSE_URL" = "yes"; then
44879 if test "$wxUSE_PROTOCOL" != "yes"; then
44880 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44881 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44884 if test "$wxUSE_URL" = "yes"; then
44885 cat >>confdefs.h <<\_ACEOF
44886 #define wxUSE_URL 1
44892 if test "$wxUSE_VARIANT" = "yes"; then
44893 cat >>confdefs.h <<\_ACEOF
44894 #define wxUSE_VARIANT 1
44899 if test "$wxUSE_FS_INET" = "yes"; then
44900 cat >>confdefs.h <<\_ACEOF
44901 #define wxUSE_FS_INET 1
44907 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44910 if test "$TOOLKIT" = "MSW"; then
44913 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44914 if test "$USE_DARWIN" = 1; then
44915 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44916 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44918 ac_cpp='$CXXCPP $CPPFLAGS'
44919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44923 cat >conftest.$ac_ext <<_ACEOF
44926 cat confdefs.h >>conftest.$ac_ext
44927 cat >>conftest.$ac_ext <<_ACEOF
44928 /* end confdefs.h. */
44929 #include <IOKit/hid/IOHIDLib.h>
44933 IOHIDQueueInterface *qi = NULL;
44934 IOHIDCallbackFunction cb = NULL;
44935 qi->setEventCallout(NULL, cb, NULL, NULL);
44940 rm -f conftest.$ac_objext
44941 if { (ac_try="$ac_compile"
44942 case "(($ac_try" in
44943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44944 *) ac_try_echo
=$ac_try;;
44946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44947 (eval "$ac_compile") 2>conftest.er1
44949 grep -v '^ *+' conftest.er1
>conftest.err
44951 cat conftest.err
>&5
44952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44953 (exit $ac_status); } && {
44954 test -z "$ac_cxx_werror_flag" ||
44955 test ! -s conftest.err
44956 } && test -s conftest.
$ac_objext; then
44960 echo "$as_me: failed program was:" >&5
44961 sed 's/^/| /' conftest.
$ac_ext >&5
44966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44968 ac_cpp
='$CPP $CPPFLAGS'
44969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44973 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44974 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44978 if test "$wxUSE_MGL" != 1; then
44980 for ac_header
in linux
/joystick.h
44982 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44983 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44985 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44986 echo $ECHO_N "(cached) $ECHO_C" >&6
44988 cat >conftest.
$ac_ext <<_ACEOF
44991 cat confdefs.h
>>conftest.
$ac_ext
44992 cat >>conftest.
$ac_ext <<_ACEOF
44993 /* end confdefs.h. */
44994 $ac_includes_default
44996 #include <$ac_header>
44998 rm -f conftest.
$ac_objext
44999 if { (ac_try
="$ac_compile"
45000 case "(($ac_try" in
45001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45002 *) ac_try_echo=$ac_try;;
45004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45005 (eval "$ac_compile") 2>conftest.er1
45007 grep -v '^ *+' conftest.er1 >conftest.err
45009 cat conftest.err >&5
45010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45011 (exit $ac_status); } && {
45012 test -z "$ac_c_werror_flag" ||
45013 test ! -s conftest.err
45014 } && test -s conftest.$ac_objext; then
45015 eval "$as_ac_Header=yes"
45017 echo "$as_me: failed program was:" >&5
45018 sed 's/^/| /' conftest.$ac_ext >&5
45020 eval "$as_ac_Header=no"
45023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45025 ac_res=`eval echo '${'$as_ac_Header'}'`
45026 { echo "$as_me:$LINENO: result: $ac_res" >&5
45027 echo "${ECHO_T}$ac_res" >&6; }
45028 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45029 cat >>confdefs.h <<_ACEOF
45030 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45040 if test "$wxUSE_JOYSTICK" = "yes"; then
45041 cat >>confdefs.h <<\_ACEOF
45042 #define wxUSE_JOYSTICK 1
45045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45047 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45048 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45054 if test "$wxUSE_FONTENUM" = "yes" ; then
45055 cat >>confdefs.h <<\_ACEOF
45056 #define wxUSE_FONTENUM 1
45061 if test "$wxUSE_FONTMAP" = "yes" ; then
45062 cat >>confdefs.h <<\_ACEOF
45063 #define wxUSE_FONTMAP 1
45068 if test "$wxUSE_UNICODE" = "yes" ; then
45069 cat >>confdefs.h <<\_ACEOF
45070 #define wxUSE_UNICODE 1
45074 if test "$USE_WIN32" != 1; then
45075 wxUSE_UNICODE_MSLU=no
45078 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45079 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45080 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45081 if test "${ac_cv_lib_unicows_main+set}" = set; then
45082 echo $ECHO_N "(cached) $ECHO_C" >&6
45084 ac_check_lib_save_LIBS=$LIBS
45085 LIBS="-lunicows $LIBS"
45086 cat >conftest.$ac_ext <<_ACEOF
45089 cat confdefs.h >>conftest.$ac_ext
45090 cat >>conftest.$ac_ext <<_ACEOF
45091 /* end confdefs.h. */
45102 rm -f conftest.$ac_objext conftest$ac_exeext
45103 if { (ac_try="$ac_link"
45104 case "(($ac_try" in
45105 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45106 *) ac_try_echo
=$ac_try;;
45108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45109 (eval "$ac_link") 2>conftest.er1
45111 grep -v '^ *+' conftest.er1
>conftest.err
45113 cat conftest.err
>&5
45114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45115 (exit $ac_status); } && {
45116 test -z "$ac_c_werror_flag" ||
45117 test ! -s conftest.err
45118 } && test -s conftest
$ac_exeext &&
45119 $as_test_x conftest
$ac_exeext; then
45120 ac_cv_lib_unicows_main
=yes
45122 echo "$as_me: failed program was:" >&5
45123 sed 's/^/| /' conftest.
$ac_ext >&5
45125 ac_cv_lib_unicows_main
=no
45128 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45129 conftest
$ac_exeext conftest.
$ac_ext
45130 LIBS
=$ac_check_lib_save_LIBS
45132 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45133 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45134 if test $ac_cv_lib_unicows_main = yes; then
45136 cat >>confdefs.h
<<\_ACEOF
45137 #define wxUSE_UNICODE_MSLU 1
45143 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45144 Applications will only run on Windows NT/2000/XP!" >&5
45145 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45146 Applications will only run on Windows NT/2000/XP!" >&2;}
45147 wxUSE_UNICODE_MSLU
=no
45154 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45155 cat >>confdefs.h
<<\_ACEOF
45156 #define wxUSE_UNICODE_UTF8 1
45160 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45161 cat >>confdefs.h
<<\_ACEOF
45162 #define wxUSE_UTF8_LOCALE_ONLY 1
45169 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45170 cat >>confdefs.h
<<\_ACEOF
45171 #define wxUSE_CONSTRAINTS 1
45174 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45177 if test "$wxUSE_MDI" = "yes"; then
45178 cat >>confdefs.h
<<\_ACEOF
45179 #define wxUSE_MDI 1
45183 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45184 cat >>confdefs.h
<<\_ACEOF
45185 #define wxUSE_MDI_ARCHITECTURE 1
45188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45192 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45193 cat >>confdefs.h
<<\_ACEOF
45194 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45200 if test "$wxUSE_HELP" = "yes"; then
45201 cat >>confdefs.h
<<\_ACEOF
45202 #define wxUSE_HELP 1
45205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45207 if test "$wxUSE_MSW" = 1; then
45208 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45209 cat >>confdefs.h
<<\_ACEOF
45210 #define wxUSE_MS_HTML_HELP 1
45216 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45217 if test "$wxUSE_HTML" = "yes"; then
45218 cat >>confdefs.h
<<\_ACEOF
45219 #define wxUSE_WXHTML_HELP 1
45223 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45224 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45225 wxUSE_WXHTML_HELP
=no
45230 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45231 cat >>confdefs.h
<<\_ACEOF
45232 #define wxUSE_PRINTING_ARCHITECTURE 1
45235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45238 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45239 cat >>confdefs.h
<<\_ACEOF
45240 #define wxUSE_POSTSCRIPT 1
45245 cat >>confdefs.h
<<\_ACEOF
45246 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45250 if test "$wxUSE_SVG" = "yes"; then
45251 cat >>confdefs.h
<<\_ACEOF
45252 #define wxUSE_SVG 1
45258 if test "$wxUSE_METAFILE" = "yes"; then
45259 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45260 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45261 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45267 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45268 -o "$wxUSE_CLIPBOARD" = "yes" \
45269 -o "$wxUSE_OLE" = "yes" \
45270 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45271 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45272 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45273 if test "${ac_cv_header_ole2_h+set}" = set; then
45274 echo $ECHO_N "(cached) $ECHO_C" >&6
45276 cat >conftest.
$ac_ext <<_ACEOF
45279 cat confdefs.h
>>conftest.
$ac_ext
45280 cat >>conftest.
$ac_ext <<_ACEOF
45281 /* end confdefs.h. */
45286 rm -f conftest.
$ac_objext
45287 if { (ac_try
="$ac_compile"
45288 case "(($ac_try" in
45289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45290 *) ac_try_echo=$ac_try;;
45292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45293 (eval "$ac_compile") 2>conftest.er1
45295 grep -v '^ *+' conftest.er1 >conftest.err
45297 cat conftest.err >&5
45298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45299 (exit $ac_status); } && {
45300 test -z "$ac_c_werror_flag" ||
45301 test ! -s conftest.err
45302 } && test -s conftest.$ac_objext; then
45303 ac_cv_header_ole2_h=yes
45305 echo "$as_me: failed program was:" >&5
45306 sed 's/^/| /' conftest.$ac_ext >&5
45308 ac_cv_header_ole2_h=no
45311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45313 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45314 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45318 if test "$ac_cv_header_ole2_h" = "yes" ; then
45319 if test "$GCC" = yes ; then
45320 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45321 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45322 cat >conftest.$ac_ext <<_ACEOF
45325 cat confdefs.h >>conftest.$ac_ext
45326 cat >>conftest.$ac_ext <<_ACEOF
45327 /* end confdefs.h. */
45328 #include <windows.h>
45338 rm -f conftest.$ac_objext
45339 if { (ac_try="$ac_compile"
45340 case "(($ac_try" in
45341 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45342 *) ac_try_echo
=$ac_try;;
45344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45345 (eval "$ac_compile") 2>conftest.er1
45347 grep -v '^ *+' conftest.er1
>conftest.err
45349 cat conftest.err
>&5
45350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45351 (exit $ac_status); } && {
45352 test -z "$ac_c_werror_flag" ||
45353 test ! -s conftest.err
45354 } && test -s conftest.
$ac_objext; then
45355 { echo "$as_me:$LINENO: result: no" >&5
45356 echo "${ECHO_T}no" >&6; }
45358 echo "$as_me: failed program was:" >&5
45359 sed 's/^/| /' conftest.
$ac_ext >&5
45361 { echo "$as_me:$LINENO: result: yes" >&5
45362 echo "${ECHO_T}yes" >&6; }
45363 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45367 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45368 if test "$wxUSE_OLE" = "yes" ; then
45369 cat >>confdefs.h
<<\_ACEOF
45370 #define wxUSE_OLE 1
45373 cat >>confdefs.h
<<\_ACEOF
45374 #define wxUSE_OLE_AUTOMATION 1
45377 cat >>confdefs.h
<<\_ACEOF
45378 #define wxUSE_ACTIVEX 1
45381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45385 if test "$wxUSE_DATAOBJ" = "yes" ; then
45386 cat >>confdefs.h
<<\_ACEOF
45387 #define wxUSE_DATAOBJ 1
45392 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45393 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45396 wxUSE_DRAG_AND_DROP
=no
45401 if test "$wxUSE_METAFILE" = "yes"; then
45402 cat >>confdefs.h
<<\_ACEOF
45403 #define wxUSE_METAFILE 1
45407 cat >>confdefs.h
<<\_ACEOF
45408 #define wxUSE_ENH_METAFILE 1
45414 if test "$wxUSE_IPC" = "yes"; then
45415 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45416 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45417 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45421 if test "$wxUSE_IPC" = "yes"; then
45422 cat >>confdefs.h
<<\_ACEOF
45423 #define wxUSE_IPC 1
45426 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45430 if test "$wxUSE_DATAOBJ" = "yes"; then
45431 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45432 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45433 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45436 cat >>confdefs.h
<<\_ACEOF
45437 #define wxUSE_DATAOBJ 1
45442 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45443 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45445 wxUSE_DRAG_AND_DROP
=no
45448 if test "$wxUSE_CLIPBOARD" = "yes"; then
45449 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45450 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45451 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45455 if test "$wxUSE_CLIPBOARD" = "yes"; then
45456 cat >>confdefs.h
<<\_ACEOF
45457 #define wxUSE_CLIPBOARD 1
45463 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45464 if test "$wxUSE_GTK" = 1; then
45465 if test "$WXGTK12" != 1; then
45466 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45467 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45468 wxUSE_DRAG_AND_DROP
=no
45472 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45473 "$wxUSE_DFB" = 1; then
45474 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45475 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45476 wxUSE_DRAG_AND_DROP
=no
45479 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45480 cat >>confdefs.h
<<\_ACEOF
45481 #define wxUSE_DRAG_AND_DROP 1
45488 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45489 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45492 if test "$wxUSE_CLIPBOARD" = "yes"; then
45493 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
45496 if test "$wxUSE_SPLINES" = "yes" ; then
45497 cat >>confdefs.h
<<\_ACEOF
45498 #define wxUSE_SPLINES 1
45503 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45504 cat >>confdefs.h
<<\_ACEOF
45505 #define wxUSE_MOUSEWHEEL 1
45512 if test "$wxUSE_CONTROLS" = "yes"; then
45516 if test "$wxUSE_ACCEL" = "yes"; then
45517 cat >>confdefs.h
<<\_ACEOF
45518 #define wxUSE_ACCEL 1
45524 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45525 cat >>confdefs.h
<<\_ACEOF
45526 #define wxUSE_ANIMATIONCTRL 1
45530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45533 if test "$wxUSE_BUTTON" = "yes"; then
45534 cat >>confdefs.h
<<\_ACEOF
45535 #define wxUSE_BUTTON 1
45541 if test "$wxUSE_BMPBUTTON" = "yes"; then
45542 cat >>confdefs.h
<<\_ACEOF
45543 #define wxUSE_BMPBUTTON 1
45549 if test "$wxUSE_CALCTRL" = "yes"; then
45550 cat >>confdefs.h
<<\_ACEOF
45551 #define wxUSE_CALENDARCTRL 1
45555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45558 if test "$wxUSE_CARET" = "yes"; then
45559 cat >>confdefs.h
<<\_ACEOF
45560 #define wxUSE_CARET 1
45564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45567 if test "$wxUSE_COLLPANE" = "yes"; then
45568 cat >>confdefs.h
<<\_ACEOF
45569 #define wxUSE_COLLPANE 1
45573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45576 if test "$wxUSE_COMBOBOX" = "yes"; then
45577 cat >>confdefs.h
<<\_ACEOF
45578 #define wxUSE_COMBOBOX 1
45584 if test "$wxUSE_COMBOCTRL" = "yes"; then
45585 cat >>confdefs.h
<<\_ACEOF
45586 #define wxUSE_COMBOCTRL 1
45592 if test "$wxUSE_CHOICE" = "yes"; then
45593 cat >>confdefs.h
<<\_ACEOF
45594 #define wxUSE_CHOICE 1
45600 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45601 cat >>confdefs.h
<<\_ACEOF
45602 #define wxUSE_CHOICEBOOK 1
45608 if test "$wxUSE_CHECKBOX" = "yes"; then
45609 cat >>confdefs.h
<<\_ACEOF
45610 #define wxUSE_CHECKBOX 1
45616 if test "$wxUSE_CHECKLST" = "yes"; then
45617 cat >>confdefs.h
<<\_ACEOF
45618 #define wxUSE_CHECKLISTBOX 1
45624 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45625 cat >>confdefs.h
<<\_ACEOF
45626 #define wxUSE_COLOURPICKERCTRL 1
45632 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45633 cat >>confdefs.h
<<\_ACEOF
45634 #define wxUSE_DATEPICKCTRL 1
45640 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45641 cat >>confdefs.h
<<\_ACEOF
45642 #define wxUSE_DIRPICKERCTRL 1
45648 if test "$wxUSE_FILECTRL" = "yes"; then
45649 cat >>confdefs.h
<<\_ACEOF
45650 #define wxUSE_FILECTRL 1
45656 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45657 cat >>confdefs.h
<<\_ACEOF
45658 #define wxUSE_FILEPICKERCTRL 1
45664 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45665 cat >>confdefs.h
<<\_ACEOF
45666 #define wxUSE_FONTPICKERCTRL 1
45672 if test "$wxUSE_DISPLAY" = "yes"; then
45673 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45674 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45675 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45678 cat >>confdefs.h
<<\_ACEOF
45679 #define wxUSE_DISPLAY 1
45682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45686 if test "$wxUSE_DETECT_SM" = "yes"; then
45687 cat >>confdefs.h
<<\_ACEOF
45688 #define wxUSE_DETECT_SM 1
45693 if test "$wxUSE_GAUGE" = "yes"; then
45694 cat >>confdefs.h
<<\_ACEOF
45695 #define wxUSE_GAUGE 1
45701 if test "$wxUSE_GRID" = "yes"; then
45702 cat >>confdefs.h
<<\_ACEOF
45703 #define wxUSE_GRID 1
45707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45710 if test "$wxUSE_HEADERCTRL" = "yes"; then
45711 cat >>confdefs.h
<<\_ACEOF
45712 #define wxUSE_HEADERCTRL 1
45718 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45719 cat >>confdefs.h
<<\_ACEOF
45720 #define wxUSE_HYPERLINKCTRL 1
45726 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45727 cat >>confdefs.h
<<\_ACEOF
45728 #define wxUSE_BITMAPCOMBOBOX 1
45734 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45735 cat >>confdefs.h
<<\_ACEOF
45736 #define wxUSE_DATAVIEWCTRL 1
45740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45743 if test "$wxUSE_IMAGLIST" = "yes"; then
45744 cat >>confdefs.h
<<\_ACEOF
45745 #define wxUSE_IMAGLIST 1
45750 if test "$wxUSE_LISTBOOK" = "yes"; then
45751 cat >>confdefs.h
<<\_ACEOF
45752 #define wxUSE_LISTBOOK 1
45758 if test "$wxUSE_LISTBOX" = "yes"; then
45759 cat >>confdefs.h
<<\_ACEOF
45760 #define wxUSE_LISTBOX 1
45766 if test "$wxUSE_LISTCTRL" = "yes"; then
45767 if test "$wxUSE_IMAGLIST" = "yes"; then
45768 cat >>confdefs.h
<<\_ACEOF
45769 #define wxUSE_LISTCTRL 1
45773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45775 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45776 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45780 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45781 cat >>confdefs.h
<<\_ACEOF
45782 #define wxUSE_EDITABLELISTBOX 1
45788 if test "$wxUSE_NOTEBOOK" = "yes"; then
45789 cat >>confdefs.h
<<\_ACEOF
45790 #define wxUSE_NOTEBOOK 1
45794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45797 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45798 cat >>confdefs.h
<<\_ACEOF
45799 #define wxUSE_NOTIFICATION_MESSAGE 1
45804 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45805 cat >>confdefs.h
<<\_ACEOF
45806 #define wxUSE_ODCOMBOBOX 1
45810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45813 if test "$wxUSE_RADIOBOX" = "yes"; then
45814 cat >>confdefs.h
<<\_ACEOF
45815 #define wxUSE_RADIOBOX 1
45821 if test "$wxUSE_RADIOBTN" = "yes"; then
45822 cat >>confdefs.h
<<\_ACEOF
45823 #define wxUSE_RADIOBTN 1
45829 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45830 cat >>confdefs.h
<<\_ACEOF
45831 #define wxUSE_REARRANGECTRL 1
45836 if test "$wxUSE_SASH" = "yes"; then
45837 cat >>confdefs.h
<<\_ACEOF
45838 #define wxUSE_SASH 1
45841 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45844 if test "$wxUSE_SCROLLBAR" = "yes"; then
45845 cat >>confdefs.h
<<\_ACEOF
45846 #define wxUSE_SCROLLBAR 1
45850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
45853 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45854 cat >>confdefs.h
<<\_ACEOF
45855 #define wxUSE_SEARCHCTRL 1
45861 if test "$wxUSE_SLIDER" = "yes"; then
45862 cat >>confdefs.h
<<\_ACEOF
45863 #define wxUSE_SLIDER 1
45869 if test "$wxUSE_SPINBTN" = "yes"; then
45870 cat >>confdefs.h
<<\_ACEOF
45871 #define wxUSE_SPINBTN 1
45877 if test "$wxUSE_SPINCTRL" = "yes"; then
45878 cat >>confdefs.h
<<\_ACEOF
45879 #define wxUSE_SPINCTRL 1
45885 if test "$wxUSE_SPLITTER" = "yes"; then
45886 cat >>confdefs.h
<<\_ACEOF
45887 #define wxUSE_SPLITTER 1
45890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45893 if test "$wxUSE_STATBMP" = "yes"; then
45894 cat >>confdefs.h
<<\_ACEOF
45895 #define wxUSE_STATBMP 1
45901 if test "$wxUSE_STATBOX" = "yes"; then
45902 cat >>confdefs.h
<<\_ACEOF
45903 #define wxUSE_STATBOX 1
45909 if test "$wxUSE_STATTEXT" = "yes"; then
45910 cat >>confdefs.h
<<\_ACEOF
45911 #define wxUSE_STATTEXT 1
45917 if test "$wxUSE_STATLINE" = "yes"; then
45918 cat >>confdefs.h
<<\_ACEOF
45919 #define wxUSE_STATLINE 1
45925 if test "$wxUSE_STATUSBAR" = "yes"; then
45926 cat >>confdefs.h
<<\_ACEOF
45927 #define wxUSE_NATIVE_STATUSBAR 1
45930 cat >>confdefs.h
<<\_ACEOF
45931 #define wxUSE_STATUSBAR 1
45936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45939 if test "$wxUSE_TEXTCTRL" = "yes"; then
45940 cat >>confdefs.h
<<\_ACEOF
45941 #define wxUSE_TEXTCTRL 1
45945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45947 cat >>confdefs.h
<<\_ACEOF
45948 #define wxUSE_RICHEDIT 1
45951 cat >>confdefs.h
<<\_ACEOF
45952 #define wxUSE_RICHEDIT2 1
45957 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45958 if test "$wxUSE_COCOA" = 1 ; then
45959 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45960 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45964 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45965 cat >>confdefs.h
<<\_ACEOF
45966 #define wxUSE_TOGGLEBTN 1
45973 if test "$wxUSE_TOOLBAR" = "yes"; then
45974 cat >>confdefs.h
<<\_ACEOF
45975 #define wxUSE_TOOLBAR 1
45980 if test "$wxUSE_UNIVERSAL" = "yes"; then
45981 wxUSE_TOOLBAR_NATIVE
="no"
45983 wxUSE_TOOLBAR_NATIVE
="yes"
45984 cat >>confdefs.h
<<\_ACEOF
45985 #define wxUSE_TOOLBAR_NATIVE 1
45990 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45993 if test "$wxUSE_TOOLTIPS" = "yes"; then
45994 if test "$wxUSE_MOTIF" = 1; then
45995 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45996 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45998 if test "$wxUSE_UNIVERSAL" = "yes"; then
45999 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46000 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46002 cat >>confdefs.h
<<\_ACEOF
46003 #define wxUSE_TOOLTIPS 1
46010 if test "$wxUSE_TREEBOOK" = "yes"; then
46011 cat >>confdefs.h
<<\_ACEOF
46012 #define wxUSE_TREEBOOK 1
46018 if test "$wxUSE_TOOLBOOK" = "yes"; then
46019 cat >>confdefs.h
<<\_ACEOF
46020 #define wxUSE_TOOLBOOK 1
46026 if test "$wxUSE_TREECTRL" = "yes"; then
46027 if test "$wxUSE_IMAGLIST" = "yes"; then
46028 cat >>confdefs.h
<<\_ACEOF
46029 #define wxUSE_TREECTRL 1
46033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46035 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46036 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46040 if test "$wxUSE_POPUPWIN" = "yes"; then
46041 if test "$wxUSE_COCOA" = 1 ; then
46042 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46043 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46045 if test "$wxUSE_PM" = 1; then
46046 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46047 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46049 cat >>confdefs.h
<<\_ACEOF
46050 #define wxUSE_POPUPWIN 1
46053 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46060 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46061 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46062 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46063 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46065 cat >>confdefs.h
<<\_ACEOF
46066 #define wxUSE_DIALUP_MANAGER 1
46069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46073 if test "$wxUSE_TIPWINDOW" = "yes"; then
46074 if test "$wxUSE_PM" = 1; then
46075 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46076 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46078 cat >>confdefs.h
<<\_ACEOF
46079 #define wxUSE_TIPWINDOW 1
46085 if test "$USES_CONTROLS" = 1; then
46086 cat >>confdefs.h
<<\_ACEOF
46087 #define wxUSE_CONTROLS 1
46093 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46094 cat >>confdefs.h
<<\_ACEOF
46095 #define wxUSE_ACCESSIBILITY 1
46098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46101 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46102 cat >>confdefs.h
<<\_ACEOF
46103 #define wxUSE_DRAGIMAGE 1
46106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46109 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46110 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46111 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46112 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46114 cat >>confdefs.h
<<\_ACEOF
46115 #define wxUSE_EXCEPTIONS 1
46118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46123 if test "$wxUSE_HTML" = "yes"; then
46124 cat >>confdefs.h
<<\_ACEOF
46125 #define wxUSE_HTML 1
46129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46131 if test "$wxUSE_WEBKIT" = "yes"; then
46132 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46133 old_CPPFLAGS
="$CPPFLAGS"
46134 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46135 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46136 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46137 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46138 echo $ECHO_N "(cached) $ECHO_C" >&6
46140 cat >conftest.
$ac_ext <<_ACEOF
46143 cat confdefs.h
>>conftest.
$ac_ext
46144 cat >>conftest.
$ac_ext <<_ACEOF
46145 /* end confdefs.h. */
46147 #include <Carbon/Carbon.h>
46148 #include <WebKit/WebKit.h>
46151 #include <WebKit/HIWebView.h>
46153 rm -f conftest.
$ac_objext
46154 if { (ac_try
="$ac_compile"
46155 case "(($ac_try" in
46156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46157 *) ac_try_echo=$ac_try;;
46159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46160 (eval "$ac_compile") 2>conftest.er1
46162 grep -v '^ *+' conftest.er1 >conftest.err
46164 cat conftest.err >&5
46165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46166 (exit $ac_status); } && {
46167 test -z "$ac_c_werror_flag" ||
46168 test ! -s conftest.err
46169 } && test -s conftest.$ac_objext; then
46170 ac_cv_header_WebKit_HIWebView_h=yes
46172 echo "$as_me: failed program was:" >&5
46173 sed 's/^/| /' conftest.$ac_ext >&5
46175 ac_cv_header_WebKit_HIWebView_h=no
46178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46180 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46181 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46182 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46184 cat >>confdefs.h <<\_ACEOF
46185 #define wxUSE_WEBKIT 1
46188 WEBKIT_LINK="-framework WebKit"
46192 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46193 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46199 CPPFLAGS="$old_CPPFLAGS"
46200 elif test "$wxUSE_COCOA" = 1; then
46201 cat >>confdefs.h <<\_ACEOF
46202 #define wxUSE_WEBKIT 1
46208 if test "$wxUSE_WEBKIT" = "yes"; then
46209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46214 if test "$wxUSE_XRC" = "yes"; then
46215 if test "$wxUSE_XML" != "yes"; then
46216 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46217 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46220 cat >>confdefs.h <<\_ACEOF
46221 #define wxUSE_XRC 1
46225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46230 if test "$wxUSE_AUI" = "yes"; then
46231 cat >>confdefs.h <<\_ACEOF
46232 #define wxUSE_AUI 1
46236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46240 if test "$wxUSE_PROPGRID" = "yes"; then
46241 cat >>confdefs.h <<\_ACEOF
46242 #define wxUSE_PROPGRID 1
46246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46250 if test "$wxUSE_STC" = "yes"; then
46251 cat >>confdefs.h <<\_ACEOF
46252 #define wxUSE_STC 1
46256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46258 # Extract the first word of "python", so it can be a program name with args.
46259 set dummy python; ac_word=$2
46260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46262 if test "${ac_cv_path_PYTHON+set}" = set; then
46263 echo $ECHO_N "(cached) $ECHO_C" >&6
46267 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46271 for as_dir in $PATH
46274 test -z "$as_dir" && as_dir=.
46275 for ac_exec_ext in '' $ac_executable_extensions; do
46276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46277 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46288 PYTHON=$ac_cv_path_PYTHON
46289 if test -n "$PYTHON"; then
46290 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46291 echo "${ECHO_T}$PYTHON" >&6; }
46293 { echo "$as_me:$LINENO: result: no" >&5
46294 echo "${ECHO_T}no" >&6; }
46298 if test "x$PYTHON" = "x"; then
46304 if test "$wxUSE_MENUS" = "yes"; then
46305 cat >>confdefs.h <<\_ACEOF
46306 #define wxUSE_MENUS 1
46309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46312 if test "$wxUSE_METAFILE" = "yes"; then
46313 cat >>confdefs.h <<\_ACEOF
46314 #define wxUSE_METAFILE 1
46319 if test "$wxUSE_MIMETYPE" = "yes"; then
46320 cat >>confdefs.h <<\_ACEOF
46321 #define wxUSE_MIMETYPE 1
46326 if test "$wxUSE_MINIFRAME" = "yes"; then
46327 cat >>confdefs.h <<\_ACEOF
46328 #define wxUSE_MINIFRAME 1
46333 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46334 cat >>confdefs.h <<\_ACEOF
46335 #define wxUSE_SYSTEM_OPTIONS 1
46340 if test "$wxUSE_TASKBARICON" = "yes"; then
46341 cat >>confdefs.h <<\_ACEOF
46342 #define wxUSE_TASKBARICON 1
46345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46349 if test "$wxUSE_VALIDATORS" = "yes"; then
46350 cat >>confdefs.h <<\_ACEOF
46351 #define wxUSE_VALIDATORS 1
46354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46357 if test "$wxUSE_PALETTE" = "yes" ; then
46358 if test "$wxUSE_DFB" = 1; then
46359 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46360 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46363 cat >>confdefs.h <<\_ACEOF
46364 #define wxUSE_PALETTE 1
46370 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46371 LIBS=" -lunicows $LIBS"
46375 if test "$wxUSE_RICHTEXT" = "yes"; then
46376 cat >>confdefs.h <<\_ACEOF
46377 #define wxUSE_RICHTEXT 1
46381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46385 if test "$wxUSE_IMAGE" = "yes" ; then
46386 cat >>confdefs.h <<\_ACEOF
46387 #define wxUSE_IMAGE 1
46391 if test "$wxUSE_GIF" = "yes" ; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_GIF 1
46398 if test "$wxUSE_PCX" = "yes" ; then
46399 cat >>confdefs.h <<\_ACEOF
46400 #define wxUSE_PCX 1
46405 if test "$wxUSE_TGA" = "yes" ; then
46406 cat >>confdefs.h <<\_ACEOF
46407 #define wxUSE_TGA 1
46412 if test "$wxUSE_IFF" = "yes" ; then
46413 cat >>confdefs.h <<\_ACEOF
46414 #define wxUSE_IFF 1
46419 if test "$wxUSE_PNM" = "yes" ; then
46420 cat >>confdefs.h <<\_ACEOF
46421 #define wxUSE_PNM 1
46426 if test "$wxUSE_XPM" = "yes" ; then
46427 cat >>confdefs.h <<\_ACEOF
46428 #define wxUSE_XPM 1
46433 if test "$wxUSE_ICO_CUR" = "yes" ; then
46434 cat >>confdefs.h <<\_ACEOF
46435 #define wxUSE_ICO_CUR 1
46442 if test "$wxUSE_ABOUTDLG" = "yes"; then
46443 cat >>confdefs.h <<\_ACEOF
46444 #define wxUSE_ABOUTDLG 1
46449 if test "$wxUSE_CHOICEDLG" = "yes"; then
46450 cat >>confdefs.h <<\_ACEOF
46451 #define wxUSE_CHOICEDLG 1
46456 if test "$wxUSE_COLOURDLG" = "yes"; then
46457 cat >>confdefs.h <<\_ACEOF
46458 #define wxUSE_COLOURDLG 1
46463 if test "$wxUSE_FILEDLG" = "yes"; then
46464 cat >>confdefs.h <<\_ACEOF
46465 #define wxUSE_FILEDLG 1
46470 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_FINDREPLDLG 1
46477 if test "$wxUSE_FONTDLG" = "yes"; then
46478 cat >>confdefs.h <<\_ACEOF
46479 #define wxUSE_FONTDLG 1
46484 if test "$wxUSE_DIRDLG" = "yes"; then
46485 if test "$wxUSE_TREECTRL" != "yes"; then
46486 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46487 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_DIRDLG 1
46496 if test "$wxUSE_MSGDLG" = "yes"; then
46497 cat >>confdefs.h <<\_ACEOF
46498 #define wxUSE_MSGDLG 1
46503 if test "$wxUSE_NUMBERDLG" = "yes"; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_NUMBERDLG 1
46510 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46511 cat >>confdefs.h <<\_ACEOF
46512 #define wxUSE_PROGRESSDLG 1
46517 if test "$wxUSE_SPLASH" = "yes"; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_SPLASH 1
46522 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46525 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46526 cat >>confdefs.h <<\_ACEOF
46527 #define wxUSE_STARTUP_TIPS 1
46532 if test "$wxUSE_TEXTDLG" = "yes"; then
46533 cat >>confdefs.h <<\_ACEOF
46534 #define wxUSE_TEXTDLG 1
46539 if test "$wxUSE_WIZARDDLG" = "yes"; then
46540 cat >>confdefs.h <<\_ACEOF
46541 #define wxUSE_WIZARDDLG 1
46544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46548 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46549 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46550 cat >>confdefs.h <<\_ACEOF
46551 #define wxUSE_OWNER_DRAWN 1
46558 if test "$wxUSE_MSW" = 1 ; then
46560 if test "$wxUSE_DC_CACHEING" = "yes"; then
46561 cat >>confdefs.h <<\_ACEOF
46562 #define wxUSE_DC_CACHEING 1
46567 if test "$wxUSE_DIB" = "yes"; then
46568 cat >>confdefs.h <<\_ACEOF
46569 #define wxUSE_WXDIB 1
46574 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46575 cat >>confdefs.h <<\_ACEOF
46576 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46581 if test "$wxUSE_UXTHEME" = "yes"; then
46582 cat >>confdefs.h <<\_ACEOF
46583 #define wxUSE_UXTHEME 1
46590 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46591 cat >>confdefs.h <<\_ACEOF
46592 #define wxUSE_AUTOID_MANAGEMENT 1
46597 if test "$USE_WIN32" = 1 ; then
46598 if test "$wxUSE_INICONF" = "yes"; then
46599 cat >>confdefs.h <<\_ACEOF
46600 #define wxUSE_INICONF 1
46605 if test "$wxUSE_REGKEY" = "yes"; then
46606 cat >>confdefs.h <<\_ACEOF
46607 #define wxUSE_REGKEY 1
46614 if test "$wxUSE_MAC" = 1; then
46615 wxUSE_GRAPHICS_CONTEXT="yes"
46618 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46619 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46620 cat >>confdefs.h <<\_ACEOF
46621 #define wxUSE_GRAPHICS_CONTEXT 1
46624 elif test "$wxUSE_GTK" != 1; then
46625 cat >>confdefs.h <<\_ACEOF
46626 #define wxUSE_GRAPHICS_CONTEXT 1
46632 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46633 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46635 if test -n "$PKG_CONFIG"; then
46636 if test -n "$CAIRO_CFLAGS"; then
46637 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46639 if test -n "$PKG_CONFIG" && \
46640 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46641 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46644 (exit $ac_status); }; then
46645 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46653 if test -n "$PKG_CONFIG"; then
46654 if test -n "$CAIRO_LIBS"; then
46655 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46657 if test -n "$PKG_CONFIG" && \
46658 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46659 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46662 (exit $ac_status); }; then
46663 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46674 if test $pkg_failed = yes; then
46676 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46677 _pkg_short_errors_supported=yes
46679 _pkg_short_errors_supported=no
46681 if test $_pkg_short_errors_supported = yes; then
46682 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46684 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46686 # Put the nasty error message in config.log where it belongs
46687 echo "$CAIRO_PKG_ERRORS" >&5
46689 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46690 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46692 elif test $pkg_failed = untried; then
46693 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46694 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46697 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46698 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46699 { echo "$as_me:$LINENO: result: yes" >&5
46700 echo "${ECHO_T}yes" >&6; }
46701 cat >>confdefs.h <<\_ACEOF
46702 #define wxUSE_GRAPHICS_CONTEXT 1
46712 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46715 if test "$wxUSE_GTK" = 1; then
46716 wxUSE_GSTREAMER="no"
46718 GST_VERSION_MAJOR=0
46719 GST_VERSION_MINOR=10
46720 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46722 if test "$wxUSE_GSTREAMER8" = "no"; then
46725 { echo "$as_me:$LINENO: checking for GST" >&5
46726 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46728 if test -n "$PKG_CONFIG"; then
46729 if test -n "$GST_CFLAGS"; then
46730 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46732 if test -n "$PKG_CONFIG" && \
46733 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46734 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46737 (exit $ac_status); }; then
46738 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46746 if test -n "$PKG_CONFIG"; then
46747 if test -n "$GST_LIBS"; then
46748 pkg_cv_GST_LIBS="$GST_LIBS"
46750 if test -n "$PKG_CONFIG" && \
46751 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46752 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46755 (exit $ac_status); }; then
46756 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46767 if test $pkg_failed = yes; then
46769 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46770 _pkg_short_errors_supported=yes
46772 _pkg_short_errors_supported=no
46774 if test $_pkg_short_errors_supported = yes; then
46775 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46777 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46779 # Put the nasty error message in config.log where it belongs
46780 echo "$GST_PKG_ERRORS" >&5
46783 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46784 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46785 GST_VERSION_MINOR=8
46788 elif test $pkg_failed = untried; then
46790 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46791 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46792 GST_VERSION_MINOR=8
46796 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46797 GST_LIBS=$pkg_cv_GST_LIBS
46798 { echo "$as_me:$LINENO: result: yes" >&5
46799 echo "${ECHO_T}yes" >&6; }
46801 wxUSE_GSTREAMER="yes"
46802 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46806 GST_VERSION_MINOR=8
46809 if test $GST_VERSION_MINOR = "8"; then
46810 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46813 { echo "$as_me:$LINENO: checking for GST" >&5
46814 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46816 if test -n "$PKG_CONFIG"; then
46817 if test -n "$GST_CFLAGS"; then
46818 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46820 if test -n "$PKG_CONFIG" && \
46821 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46822 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46825 (exit $ac_status); }; then
46826 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46834 if test -n "$PKG_CONFIG"; then
46835 if test -n "$GST_LIBS"; then
46836 pkg_cv_GST_LIBS="$GST_LIBS"
46838 if test -n "$PKG_CONFIG" && \
46839 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46840 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46843 (exit $ac_status); }; then
46844 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46855 if test $pkg_failed = yes; then
46857 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46858 _pkg_short_errors_supported=yes
46860 _pkg_short_errors_supported=no
46862 if test $_pkg_short_errors_supported = yes; then
46863 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46865 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46867 # Put the nasty error message in config.log where it belongs
46868 echo "$GST_PKG_ERRORS" >&5
46871 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46872 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46874 elif test $pkg_failed = untried; then
46876 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46877 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46880 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46881 GST_LIBS=$pkg_cv_GST_LIBS
46882 { echo "$as_me:$LINENO: result: yes" >&5
46883 echo "${ECHO_T}yes" >&6; }
46884 wxUSE_GSTREAMER="yes"
46889 if test "$wxUSE_GSTREAMER" = "yes"; then
46890 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46891 EXTRALIBS_MEDIA="$GST_LIBS"
46893 cat >>confdefs.h <<\_ACEOF
46894 #define wxUSE_GSTREAMER 1
46902 if test $USE_MEDIA = 1; then
46903 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46904 cat >>confdefs.h <<\_ACEOF
46905 #define wxUSE_MEDIACTRL 1
46909 if test "$wxUSE_MEDIACTRL" = "yes"; then
46910 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
46911 echo "$as_me: error: GStreamer not available" >&2;}
46912 { (exit 1); exit 1; }; }
46914 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
46915 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
46921 if test "$cross_compiling" != "no"; then
46924 OSINFO=`uname
-s -r -m`
46925 OSINFO="\"$OSINFO\""
46928 cat >>confdefs.h <<_ACEOF
46929 #define WXWIN_OS_DESCRIPTION $OSINFO
46934 if test "x$prefix" != "xNONE"; then
46937 wxPREFIX=$ac_default_prefix
46940 cat >>confdefs.h <<_ACEOF
46941 #define wxINSTALL_PREFIX "$wxPREFIX"
46947 STD_BASE_LIBS="base"
46949 BUILT_WX_LIBS="base"
46950 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46952 if test "$wxUSE_SOCKETS" = "yes" ; then
46953 STD_BASE_LIBS="net $STD_BASE_LIBS"
46954 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46956 if test "$wxUSE_XML" = "yes" ; then
46957 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46958 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46961 if test "$wxUSE_GUI" = "yes"; then
46962 STD_GUI_LIBS="adv core"
46963 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46965 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46966 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46967 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46969 if test "$wxUSE_HTML" = "yes" ; then
46970 STD_GUI_LIBS="html $STD_GUI_LIBS"
46971 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46973 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46974 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46976 if test "$wxUSE_OPENGL" = "yes" ; then
46977 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46979 if test "$wxUSE_AUI" = "yes" ; then
46980 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46982 if test "$wxUSE_PROPGRID" = "yes" ; then
46983 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46985 if test "$wxUSE_RICHTEXT" = "yes" ; then
46986 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
46988 if test "$wxUSE_STC" = "yes" ; then
46989 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46991 if test "$wxUSE_XRC" = "yes" ; then
46992 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46993 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47004 if test "$wxUSE_MAC" = 1 ; then
47005 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47006 if test "$USE_DARWIN" = 1; then
47007 LDFLAGS="$LDFLAGS -framework QuickTime"
47010 if test "$USE_DARWIN" = 1; then
47011 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47014 if test "$wxUSE_COCOA" = 1 ; then
47015 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47016 if test "$wxUSE_MEDIACTRL" = "yes"; then
47017 LDFLAGS="$LDFLAGS -framework QuickTime"
47020 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47021 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47024 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47026 if test "$wxUSE_GUI" = "yes"; then
47029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47030 erase event exec font image minimal render \
47031 shaped svg taborder vscroll widgets wrapsizer"
47033 if test "$wxUSE_MONOLITHIC" != "yes"; then
47034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47036 if test "$TOOLKIT" = "MSW"; then
47037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47038 if test "$wxUSE_UNIVERSAL" != "yes"; then
47039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47042 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47046 SAMPLES_SUBDIRS="console"
47047 if test "$wxUSE_SOCKETS" = "yes" ; then
47048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47050 if test "$wxUSE_IPC" = "yes" ; then
47051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47056 if test "x$INTELCC" = "xyes" ; then
47057 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47058 elif test "$GCC" = yes ; then
47059 CWARNINGS="-Wall -Wundef"
47062 if test "x$INTELCXX" = "xyes" ; then
47063 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47064 elif test "$GXX" = yes ; then
47065 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47066 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47067 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47068 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47069 echo $ECHO_N "(cached) $ECHO_C" >&6
47071 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47074 ac_cpp='$CXXCPP $CPPFLAGS'
47075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47079 ac_save_CXXFLAGS="$CXXFLAGS"
47080 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47081 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47082 cat >conftest.$ac_ext <<_ACEOF
47085 cat confdefs.h >>conftest.$ac_ext
47086 cat >>conftest.$ac_ext <<_ACEOF
47087 /* end confdefs.h. */
47097 rm -f conftest.$ac_objext
47098 if { (ac_try="$ac_compile"
47099 case "(($ac_try" in
47100 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47101 *) ac_try_echo
=$ac_try;;
47103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47104 (eval "$ac_compile") 2>conftest.er1
47106 grep -v '^ *+' conftest.er1
>conftest.err
47108 cat conftest.err
>&5
47109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47110 (exit $ac_status); } && {
47111 test -z "$ac_cxx_werror_flag" ||
47112 test ! -s conftest.err
47113 } && test -s conftest.
$ac_objext; then
47114 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47116 echo "$as_me: failed program was:" >&5
47117 sed 's/^/| /' conftest.
$ac_ext >&5
47122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47124 CXXFLAGS
="$ac_save_CXXFLAGS"
47126 ac_cpp
='$CPP $CPPFLAGS'
47127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47133 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47134 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47135 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47139 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47140 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47141 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47144 (exit $ac_status); }
47145 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47146 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47149 (exit $ac_status); }
47150 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47156 if test "$wxUSE_MAC" = 1 ; then
47157 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
47162 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47163 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47166 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47167 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47168 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47171 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47172 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47173 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47174 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47175 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47177 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47180 if test "x$MWCC" = "xyes"; then
47182 CC
="$CC -cwd source -I-"
47183 CXX
="$CXX -cwd source -I-"
47188 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47189 EXTRALIBS_XML
="$EXPAT_LINK"
47190 EXTRALIBS_HTML
="$MSPACK_LINK"
47191 EXTRALIBS_MEDIA
="$GST_LIBS"
47192 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47193 if test "$wxUSE_GUI" = "yes"; then
47194 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47196 if test "$wxUSE_OPENGL" = "yes"; then
47197 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47200 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47202 WXCONFIG_LIBS
="$LIBS"
47204 if test "$wxUSE_REGEX" = "builtin" ; then
47205 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47207 if test "$wxUSE_EXPAT" = "builtin" ; then
47208 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47210 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47211 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47213 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47214 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47216 if test "$wxUSE_LIBPNG" = "builtin" ; then
47217 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47219 if test "$wxUSE_ZLIB" = "builtin" ; then
47220 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47223 for i
in $wxconfig_3rdparty ; do
47224 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47228 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47231 case "$wxUNIV_THEMES" in
47233 cat >>confdefs.h
<<\_ACEOF
47234 #define wxUSE_ALL_THEMES 1
47240 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47241 cat >>confdefs.h
<<_ACEOF
47242 #define wxUSE_THEME_$t 1
47258 if test $wxUSE_MONOLITHIC = "yes" ; then
47264 if test $wxUSE_PLUGINS = "yes" ; then
47270 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47276 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47308 TOOLKIT_LOWERCASE
=xxx
47309 if test "$TOOLKIT" = "MAC"; then
47310 TOOLKIT_LOWERCASE
=osx_carbon
47312 if test "$TOOLKIT" = "OSX_CARBON"; then
47313 TOOLKIT_LOWERCASE
=osx_carbon
47315 if test "$TOOLKIT" = "OSX_COCOA"; then
47316 TOOLKIT_LOWERCASE
=osx_cocoa
47318 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47319 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47333 TOOLKIT_DESC
="GTK+"
47334 if test "$WXGTK2" = 1; then
47335 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47336 if test "$wxUSE_GTKPRINT" = "yes" ; then
47337 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47339 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47340 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47342 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47343 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47345 if test "$wxUSE_LIBHILDON" = "yes"; then
47346 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47349 if test "$TOOLKIT_EXTRA" != ""; then
47350 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47356 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47360 TOOLKIT_DESC
="base only"
47364 if test "$wxUSE_WINE" = "yes"; then
47365 BAKEFILE_FORCE_PLATFORM
=win32
47368 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47370 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47371 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47372 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47373 echo $ECHO_N "(cached) $ECHO_C" >&6
47376 echo '#include <stdio.h>
47377 const wchar_t test_var[] = L"awidetest";' > conftest.h
47379 echo '#include "conftest.h"
47382 printf("%ls", test_var);
47386 wx_cv_gcc_pch_bug
="pch not supported"
47388 if $CXX conftest.h
>/dev
/null
2>&1
47392 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47394 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47395 grep awidetest
>/dev
/null
47397 wx_cv_gcc_pch_bug
=no
47399 wx_cv_gcc_pch_bug
=yes
47404 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47407 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47408 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47410 if test "$wx_cv_gcc_pch_bug" = yes; then
47421 if test "x$BAKEFILE_HOST" = "x"; then
47422 if test "x${host}" = "x" ; then
47423 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47424 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47425 { (exit 1); exit 1; }; }
47428 BAKEFILE_HOST
="${host}"
47431 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47433 if test -n "$ac_tool_prefix"; then
47434 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47435 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47438 if test "${ac_cv_prog_RANLIB+set}" = set; then
47439 echo $ECHO_N "(cached) $ECHO_C" >&6
47441 if test -n "$RANLIB"; then
47442 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47445 for as_dir
in $PATH
47448 test -z "$as_dir" && as_dir
=.
47449 for ac_exec_ext
in '' $ac_executable_extensions; do
47450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47451 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47461 RANLIB
=$ac_cv_prog_RANLIB
47462 if test -n "$RANLIB"; then
47463 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47464 echo "${ECHO_T}$RANLIB" >&6; }
47466 { echo "$as_me:$LINENO: result: no" >&5
47467 echo "${ECHO_T}no" >&6; }
47472 if test -z "$ac_cv_prog_RANLIB"; then
47473 ac_ct_RANLIB
=$RANLIB
47474 # Extract the first word of "ranlib", so it can be a program name with args.
47475 set dummy ranlib
; ac_word
=$2
47476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47478 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47479 echo $ECHO_N "(cached) $ECHO_C" >&6
47481 if test -n "$ac_ct_RANLIB"; then
47482 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47485 for as_dir
in $PATH
47488 test -z "$as_dir" && as_dir
=.
47489 for ac_exec_ext
in '' $ac_executable_extensions; do
47490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47491 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47501 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47502 if test -n "$ac_ct_RANLIB"; then
47503 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47504 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47506 { echo "$as_me:$LINENO: result: no" >&5
47507 echo "${ECHO_T}no" >&6; }
47510 if test "x$ac_ct_RANLIB" = x
; then
47513 case $cross_compiling:$ac_tool_warned in
47515 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47516 whose name does not start with the host triplet. If you think this
47517 configuration is useful to you, please write to autoconf@gnu.org." >&5
47518 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47519 whose name does not start with the host triplet. If you think this
47520 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47521 ac_tool_warned
=yes ;;
47523 RANLIB
=$ac_ct_RANLIB
47526 RANLIB
="$ac_cv_prog_RANLIB"
47529 # Find a good install program. We prefer a C program (faster),
47530 # so one script is as good as another. But avoid the broken or
47531 # incompatible versions:
47532 # SysV /etc/install, /usr/sbin/install
47533 # SunOS /usr/etc/install
47534 # IRIX /sbin/install
47536 # AmigaOS /C/install, which installs bootblocks on floppy discs
47537 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47538 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47539 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47540 # OS/2's system install, which has a completely different semantic
47541 # ./install, which can be erroneously created by make from ./install.sh.
47542 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47543 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47544 if test -z "$INSTALL"; then
47545 if test "${ac_cv_path_install+set}" = set; then
47546 echo $ECHO_N "(cached) $ECHO_C" >&6
47548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47549 for as_dir
in $PATH
47552 test -z "$as_dir" && as_dir
=.
47553 # Account for people who put trailing slashes in PATH elements.
47555 .
/ | .
// | /cC
/* | \
47556 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47557 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47560 # OSF1 and SCO ODT 3.0 have their own names for install.
47561 # Don't use installbsd from OSF since it installs stuff as root
47563 for ac_prog
in ginstall scoinst
install; do
47564 for ac_exec_ext
in '' $ac_executable_extensions; do
47565 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47566 if test $ac_prog = install &&
47567 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47568 # AIX install. It has an incompatible calling convention.
47570 elif test $ac_prog = install &&
47571 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47572 # program-specific install script used by HP pwplus--don't use.
47575 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47588 if test "${ac_cv_path_install+set}" = set; then
47589 INSTALL
=$ac_cv_path_install
47591 # As a last resort, use the slow shell script. Don't cache a
47592 # value for INSTALL within a source directory, because that will
47593 # break other packages using the cache if that directory is
47594 # removed, or if the value is a relative name.
47595 INSTALL
=$ac_install_sh
47598 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47599 echo "${ECHO_T}$INSTALL" >&6; }
47601 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47602 # It thinks the first close brace ends the variable substitution.
47603 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47605 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47607 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47609 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47610 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47612 if test "$LN_S" = "ln -s"; then
47613 { echo "$as_me:$LINENO: result: yes" >&5
47614 echo "${ECHO_T}yes" >&6; }
47616 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47617 echo "${ECHO_T}no, using $LN_S" >&6; }
47621 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47622 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47623 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47624 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47625 echo $ECHO_N "(cached) $ECHO_C" >&6
47627 cat >conftest.
make <<\_ACEOF
47630 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47632 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47633 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47634 *@@@
%%%=?
*=@@@
%%%*)
47635 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47637 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47639 rm -f conftest.
make
47641 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47642 { echo "$as_me:$LINENO: result: yes" >&5
47643 echo "${ECHO_T}yes" >&6; }
47646 { echo "$as_me:$LINENO: result: no" >&5
47647 echo "${ECHO_T}no" >&6; }
47648 SET_MAKE
="MAKE=${MAKE-make}"
47653 if test "x$SUNCXX" = "xyes"; then
47655 AROPTIONS
="-xar -o"
47657 elif test "x$SGICC" = "xyes"; then
47662 if test -n "$ac_tool_prefix"; then
47663 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47664 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47667 if test "${ac_cv_prog_AR+set}" = set; then
47668 echo $ECHO_N "(cached) $ECHO_C" >&6
47670 if test -n "$AR"; then
47671 ac_cv_prog_AR
="$AR" # Let the user override the test.
47673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47674 for as_dir
in $PATH
47677 test -z "$as_dir" && as_dir
=.
47678 for ac_exec_ext
in '' $ac_executable_extensions; do
47679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47680 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47691 if test -n "$AR"; then
47692 { echo "$as_me:$LINENO: result: $AR" >&5
47693 echo "${ECHO_T}$AR" >&6; }
47695 { echo "$as_me:$LINENO: result: no" >&5
47696 echo "${ECHO_T}no" >&6; }
47701 if test -z "$ac_cv_prog_AR"; then
47703 # Extract the first word of "ar", so it can be a program name with args.
47704 set dummy
ar; ac_word
=$2
47705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47707 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47708 echo $ECHO_N "(cached) $ECHO_C" >&6
47710 if test -n "$ac_ct_AR"; then
47711 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47714 for as_dir
in $PATH
47717 test -z "$as_dir" && as_dir
=.
47718 for ac_exec_ext
in '' $ac_executable_extensions; do
47719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47720 ac_cv_prog_ac_ct_AR
="ar"
47721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47730 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47731 if test -n "$ac_ct_AR"; then
47732 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47733 echo "${ECHO_T}$ac_ct_AR" >&6; }
47735 { echo "$as_me:$LINENO: result: no" >&5
47736 echo "${ECHO_T}no" >&6; }
47739 if test "x$ac_ct_AR" = x
; then
47742 case $cross_compiling:$ac_tool_warned in
47744 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47745 whose name does not start with the host triplet. If you think this
47746 configuration is useful to you, please write to autoconf@gnu.org." >&5
47747 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47748 whose name does not start with the host triplet. If you think this
47749 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47750 ac_tool_warned
=yes ;;
47755 AR
="$ac_cv_prog_AR"
47762 if test -n "$ac_tool_prefix"; then
47763 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47764 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47767 if test "${ac_cv_prog_STRIP+set}" = set; then
47768 echo $ECHO_N "(cached) $ECHO_C" >&6
47770 if test -n "$STRIP"; then
47771 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47774 for as_dir
in $PATH
47777 test -z "$as_dir" && as_dir
=.
47778 for ac_exec_ext
in '' $ac_executable_extensions; do
47779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47780 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47790 STRIP
=$ac_cv_prog_STRIP
47791 if test -n "$STRIP"; then
47792 { echo "$as_me:$LINENO: result: $STRIP" >&5
47793 echo "${ECHO_T}$STRIP" >&6; }
47795 { echo "$as_me:$LINENO: result: no" >&5
47796 echo "${ECHO_T}no" >&6; }
47801 if test -z "$ac_cv_prog_STRIP"; then
47803 # Extract the first word of "strip", so it can be a program name with args.
47804 set dummy strip
; ac_word
=$2
47805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47807 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47808 echo $ECHO_N "(cached) $ECHO_C" >&6
47810 if test -n "$ac_ct_STRIP"; then
47811 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47814 for as_dir
in $PATH
47817 test -z "$as_dir" && as_dir
=.
47818 for ac_exec_ext
in '' $ac_executable_extensions; do
47819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47820 ac_cv_prog_ac_ct_STRIP
="strip"
47821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47830 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47831 if test -n "$ac_ct_STRIP"; then
47832 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47833 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47835 { echo "$as_me:$LINENO: result: no" >&5
47836 echo "${ECHO_T}no" >&6; }
47839 if test "x$ac_ct_STRIP" = x
; then
47842 case $cross_compiling:$ac_tool_warned in
47844 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47845 whose name does not start with the host triplet. If you think this
47846 configuration is useful to you, please write to autoconf@gnu.org." >&5
47847 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47848 whose name does not start with the host triplet. If you think this
47849 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47850 ac_tool_warned
=yes ;;
47855 STRIP
="$ac_cv_prog_STRIP"
47858 if test -n "$ac_tool_prefix"; then
47859 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47860 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47863 if test "${ac_cv_prog_NM+set}" = set; then
47864 echo $ECHO_N "(cached) $ECHO_C" >&6
47866 if test -n "$NM"; then
47867 ac_cv_prog_NM
="$NM" # Let the user override the test.
47869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47870 for as_dir
in $PATH
47873 test -z "$as_dir" && as_dir
=.
47874 for ac_exec_ext
in '' $ac_executable_extensions; do
47875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47876 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47887 if test -n "$NM"; then
47888 { echo "$as_me:$LINENO: result: $NM" >&5
47889 echo "${ECHO_T}$NM" >&6; }
47891 { echo "$as_me:$LINENO: result: no" >&5
47892 echo "${ECHO_T}no" >&6; }
47897 if test -z "$ac_cv_prog_NM"; then
47899 # Extract the first word of "nm", so it can be a program name with args.
47900 set dummy nm
; ac_word
=$2
47901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47903 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47904 echo $ECHO_N "(cached) $ECHO_C" >&6
47906 if test -n "$ac_ct_NM"; then
47907 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47910 for as_dir
in $PATH
47913 test -z "$as_dir" && as_dir
=.
47914 for ac_exec_ext
in '' $ac_executable_extensions; do
47915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47916 ac_cv_prog_ac_ct_NM
="nm"
47917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47926 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47927 if test -n "$ac_ct_NM"; then
47928 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47929 echo "${ECHO_T}$ac_ct_NM" >&6; }
47931 { echo "$as_me:$LINENO: result: no" >&5
47932 echo "${ECHO_T}no" >&6; }
47935 if test "x$ac_ct_NM" = x
; then
47938 case $cross_compiling:$ac_tool_warned in
47940 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47941 whose name does not start with the host triplet. If you think this
47942 configuration is useful to you, please write to autoconf@gnu.org." >&5
47943 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47944 whose name does not start with the host triplet. If you think this
47945 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47946 ac_tool_warned
=yes ;;
47951 NM
="$ac_cv_prog_NM"
47955 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47956 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47957 INSTALL_TEST_DIR
=acbftest$$
47958 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
47959 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
47960 rmdir $INSTALL_TEST_DIR
47961 INSTALL_DIR
='$(INSTALL) -d'
47962 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47963 echo "${ECHO_T}$INSTALL -d" >&6; }
47965 INSTALL_DIR
="mkdir -p"
47966 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47967 echo "${ECHO_T}mkdir -p" >&6; }
47972 case ${BAKEFILE_HOST} in
47973 *-*-cygwin* | *-*-mingw32* )
47974 LDFLAGS_GUI
="-mwindows"
47980 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47981 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47982 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47983 echo $ECHO_N "(cached) $ECHO_C" >&6
47986 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47987 egrep -s GNU
> /dev
/null
); then
47988 bakefile_cv_prog_makeisgnu
="yes"
47990 bakefile_cv_prog_makeisgnu
="no"
47994 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47995 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47997 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48014 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48015 case "${BAKEFILE_HOST}" in
48022 *-pc-os2_emx | *-pc-os2-emx )
48032 powerpc
-apple-macos* )
48041 case "$BAKEFILE_FORCE_PLATFORM" in
48076 # Check whether --enable-omf was given.
48077 if test "${enable_omf+set}" = set; then
48078 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
48082 case "${BAKEFILE_HOST}" in
48084 if test "x$GCC" = "xyes"; then
48085 CFLAGS
="$CFLAGS -fno-common"
48086 CXXFLAGS
="$CXXFLAGS -fno-common"
48088 if test "x$XLCC" = "xyes"; then
48089 CFLAGS
="$CFLAGS -qnocommon"
48090 CXXFLAGS
="$CXXFLAGS -qnocommon"
48094 *-pc-os2_emx | *-pc-os2-emx )
48095 if test "x$bk_os2_use_omf" = "xyes" ; then
48098 LDFLAGS
="-Zomf $LDFLAGS"
48099 CFLAGS
="-Zomf $CFLAGS"
48100 CXXFLAGS
="-Zomf $CXXFLAGS"
48108 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48114 SO_SUFFIX_MODULE
="so"
48119 DLLPREFIX_MODULE
=""
48123 case "${BAKEFILE_HOST}" in
48128 SO_SUFFIX_MODULE
="sl"
48132 SO_SUFFIX_MODULE
="a"
48136 SO_SUFFIX_MODULE
="dll"
48137 DLLIMP_SUFFIX
="dll.a"
48144 SO_SUFFIX_MODULE
="dll"
48145 DLLIMP_SUFFIX
="dll.a"
48155 *-pc-os2_emx | *-pc-os2-emx )
48157 SO_SUFFIX_MODULE
="dll"
48158 DLLIMP_SUFFIX
=$OS2_LIBEXT
48162 LIBEXT
=".$OS2_LIBEXT"
48167 SO_SUFFIX_MODULE
="bundle"
48171 if test "x$DLLIMP_SUFFIX" = "x" ; then
48172 DLLIMP_SUFFIX
="$SO_SUFFIX"
48187 if test "x$GCC" = "xyes"; then
48191 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48192 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48195 case "${BAKEFILE_HOST}" in
48197 if test "x$GCC" != "xyes"; then
48198 LDFLAGS
="$LDFLAGS -L/usr/lib"
48200 SHARED_LD_CC
="${CC} -b -o"
48201 SHARED_LD_CXX
="${CXX} -b -o"
48207 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48209 elif test "x$SUNCXX" = "xyes"; then
48210 SHARED_LD_CC
="${CC} -G -o"
48211 SHARED_LD_CXX
="${CXX} -G -o"
48217 if test "x$SUNCXX" = xyes
; then
48218 SHARED_LD_CC
="${CC} -G -o"
48219 SHARED_LD_CXX
="${CXX} -G -o"
48227 cat <<EOF >shared-ld-sh
48229 #-----------------------------------------------------------------------------
48230 #-- Name: distrib/mac/shared-ld-sh
48231 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48232 #-- Author: Gilles Depeyrot
48233 #-- Copyright: (c) 2002 Gilles Depeyrot
48234 #-- Licence: any use permitted
48235 #-----------------------------------------------------------------------------
48240 linking_flag="-dynamiclib"
48241 ldargs="-r -keep_private_externs -nostdlib"
48243 if test "x${D}CXX" = "x"; then
48247 while test ${D}# -gt 0; do
48254 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48255 # collect these options and values
48256 args="${D}{args} ${D}1 ${D}2"
48261 # collect these options and values
48262 ldargs="${D}{ldargs} ${D}1 ${D}2"
48267 # collect these load args
48268 ldargs="${D}{ldargs} ${D}1"
48271 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48272 # collect these options
48273 args="${D}{args} ${D}1"
48276 -dynamiclib|-bundle)
48277 linking_flag="${D}1"
48281 echo "shared-ld: unhandled option '${D}1'"
48285 *.o | *.a | *.dylib)
48286 # collect object files
48287 objects="${D}{objects} ${D}1"
48291 echo "shared-ld: unhandled argument '${D}1'"
48302 # Link one module containing all the others
48304 if test ${D}{verbose} = 1; then
48305 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48307 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48311 # Link the shared library from the single module created, but only if the
48312 # previous command didn't fail:
48314 if test ${D}{status} = 0; then
48315 if test ${D}{verbose} = 1; then
48316 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48318 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48323 # Remove intermediate module
48325 rm -f master.${D}${D}.o
48330 chmod +x shared
-ld-sh
48332 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48333 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48336 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48337 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48338 if test "${bakefile_cv_gcc31+set}" = set; then
48339 echo $ECHO_N "(cached) $ECHO_C" >&6
48342 cat >conftest.
$ac_ext <<_ACEOF
48345 cat confdefs.h
>>conftest.
$ac_ext
48346 cat >>conftest.
$ac_ext <<_ACEOF
48347 /* end confdefs.h. */
48353 #if (__GNUC__ < 3) || \
48354 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48362 rm -f conftest.
$ac_objext
48363 if { (ac_try
="$ac_compile"
48364 case "(($ac_try" in
48365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48366 *) ac_try_echo=$ac_try;;
48368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48369 (eval "$ac_compile") 2>conftest.er1
48371 grep -v '^ *+' conftest.er1 >conftest.err
48373 cat conftest.err >&5
48374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48375 (exit $ac_status); } && {
48376 test -z "$ac_c_werror_flag" ||
48377 test ! -s conftest.err
48378 } && test -s conftest.$ac_objext; then
48380 bakefile_cv_gcc31=yes
48383 echo "$as_me: failed program was:" >&5
48384 sed 's/^/| /' conftest.$ac_ext >&5
48387 bakefile_cv_gcc31=no
48392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48395 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48396 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48397 if test "$bakefile_cv_gcc31" = "no"; then
48398 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48399 SHARED_LD_CXX="$SHARED_LD_CC"
48401 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48402 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48405 if test "x$GCC" == "xyes"; then
48406 PIC_FLAG="-dynamic -fPIC"
48408 if test "x$XLCC" = "xyes"; then
48409 PIC_FLAG="-dynamic -DPIC"
48414 if test "x$GCC" = "xyes"; then
48417 case "${BAKEFILE_HOST}" in
48419 LD_EXPFULL="-Wl,-bexpfull"
48423 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48424 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48426 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48427 set dummy makeC++SharedLib; ac_word=$2
48428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48430 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48431 echo $ECHO_N "(cached) $ECHO_C" >&6
48433 if test -n "$AIX_CXX_LD"; then
48434 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48437 for as_dir in $PATH
48440 test -z "$as_dir" && as_dir=.
48441 for ac_exec_ext in '' $ac_executable_extensions; do
48442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48443 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48451 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48454 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48455 if test -n "$AIX_CXX_LD"; then
48456 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48457 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48459 { echo "$as_me:$LINENO: result: no" >&5
48460 echo "${ECHO_T}no" >&6; }
48464 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48465 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48470 SHARED_LD_CC="${LD} -nostart -o"
48471 SHARED_LD_CXX="${LD} -nostart -o"
48475 if test "x$GCC" != "xyes"; then
48480 *-*-cygwin* | *-*-mingw32* )
48482 SHARED_LD_CC="\$(CC) -shared -o"
48483 SHARED_LD_CXX="\$(CXX) -shared -o"
48487 *-pc-os2_emx | *-pc-os2-emx )
48488 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48489 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48493 cat <<EOF >dllar.sh
48496 # dllar - a tool to build both a .dll and an .a file
48497 # from a set of object (.o) files for EMX/OS2.
48499 # Written by Andrew Zabolotny, bit@freya.etu.ru
48500 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48502 # This script will accept a set of files on the command line.
48503 # All the public symbols from the .o files will be exported into
48504 # a .DEF file, then linker will be run (through gcc) against them to
48505 # build a shared library consisting of all given .o files. All libraries
48506 # (.a) will be first decompressed into component .o files then act as
48507 # described above. You can optionally give a description (-d "description")
48508 # which will be put into .DLL. To see the list of accepted options (as well
48509 # as command-line format) simply run this program without options. The .DLL
48510 # is built to be imported by name (there is no guarantee that new versions
48511 # of the library you build will have same ordinals for same symbols).
48513 # dllar is free software; you can redistribute it and/or modify
48514 # it under the terms of the GNU General Public License as published by
48515 # the Free Software Foundation; either version 2, or (at your option)
48516 # any later version.
48518 # dllar is distributed in the hope that it will be useful,
48519 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48520 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48521 # GNU General Public License for more details.
48523 # You should have received a copy of the GNU General Public License
48524 # along with dllar; see the file COPYING. If not, write to the Free
48525 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48528 # To successfuly run this program you will need:
48529 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48530 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48532 # (used to build the .dll)
48534 # (used to create .def file from .o files)
48536 # (used to create .a file from .def file)
48537 # - GNU text utilites (cat, sort, uniq)
48538 # used to process emxexp output
48539 # - GNU file utilities (mv, rm)
48541 # - lxlite (optional, see flag below)
48542 # (used for general .dll cleanup)
48549 # basnam, variant of basename, which does _not_ remove the path, _iff_
48550 # second argument (suffix to remove) is given
48554 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48557 echo ${D}1 | sed 's/'${D}2'${D}//'
48560 echo "error in basnam ${D}*"
48566 # Cleanup temporary files and output
48569 for i in ${D}inputFiles ; do
48572 rm -rf \`basnam
${D}i
!\
`
48579 # Kill result in case of failure as there is just to many stupid make/nmake
48580 # things out there which doesn't do this.
48581 if [ ${D}# -eq 0 ]; then
48582 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48586 # Print usage and exit script with rc=1.
48588 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48589 echo ' [-name-mangler-script script.sh]'
48590 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48591 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48592 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48593 echo ' [*.o] [*.a]'
48594 echo '*> "output_file" should have no extension.'
48595 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48596 echo ' The import library name is derived from this and is set to "name".a,'
48597 echo ' unless overridden by -import'
48598 echo '*> "importlib_name" should have no extension.'
48599 echo ' If it has the .o, or .a extension, it is automatically removed.'
48600 echo ' This name is used as the import library name and may be longer and'
48601 echo ' more descriptive than the DLL name which has to follow the old '
48602 echo ' 8.3 convention of FAT.'
48603 echo '*> "script.sh may be given to override the output_file name by a'
48604 echo ' different name. It is mainly useful if the regular make process'
48605 echo ' of some package does not take into account OS/2 restriction of'
48606 echo ' DLL name lengths. It takes the importlib name as input and is'
48607 echo ' supposed to procude a shorter name as output. The script should'
48608 echo ' expect to get importlib_name without extension and should produce'
48609 echo ' a (max.) 8 letter name without extension.'
48610 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48611 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48612 echo ' These flags will be put at the start of GCC command line.'
48613 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48614 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48615 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48616 echo ' If the last character of a symbol is "*", all symbols beginning'
48617 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48618 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48619 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48620 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48621 echo ' C runtime DLLs.'
48622 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48623 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48624 echo ' unchanged to GCC at the end of command line.'
48625 echo '*> If you create a DLL from a library and you do not specify -o,'
48626 echo ' the basename for DLL and import library will be set to library name,'
48627 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48628 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48629 echo ' library will be renamed into gcc_s.a.'
48632 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48633 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48638 # Execute a command.
48639 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48640 # @Uses Whatever CleanUp() uses.
48646 if [ ${D}rcCmd -ne 0 ]; then
48647 echo "command failed, exit code="${D}rcCmd
48662 CFLAGS="-s -Zcrtdll"
48664 EXPORT_BY_ORDINALS=0
48669 case ${D}curDirS in
48673 curDirS=${D}{curDirS}"/"
48676 # Parse commandline
48679 while [ ${D}1 ]; do
48682 EXPORT_BY_ORDINALS=1;
48692 -name-mangler-script)
48713 exclude_symbols=${D}{exclude_symbols}${D}1" "
48717 library_flags=${D}{library_flags}${D}1" "
48736 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48739 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48740 if [ ${D}omfLinking -eq 1 ]; then
48741 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48743 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48748 if [ ${D}libsToLink -ne 0 ]; then
48749 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48751 for file in ${D}1 ; do
48752 if [ -f ${D}file ]; then
48753 inputFiles="${D}{inputFiles} ${D}file"
48757 if [ ${D}found -eq 0 ]; then
48758 echo "ERROR: No file(s) found: "${D}1
48765 done # iterate cmdline words
48768 if [ -z "${D}inputFiles" ]; then
48769 echo "dllar: no input files"
48773 # Now extract all .o files from .a files
48775 for file in ${D}inputFiles ; do
48786 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48791 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48793 if [ ${D}? -ne 0 ]; then
48794 echo "Failed to create subdirectory ./${D}dirname"
48798 # Append '!' to indicate archive
48799 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48800 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48803 for subfile in ${D}dirname/*.o* ; do
48804 if [ -f ${D}subfile ]; then
48806 if [ -s ${D}subfile ]; then
48807 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48808 newInputFiles="${D}newInputFiles ${D}subfile"
48812 if [ ${D}found -eq 0 ]; then
48813 echo "WARNING: there are no files in archive \\'${D}file\\'"
48817 newInputFiles="${D}{newInputFiles} ${D}file"
48821 inputFiles="${D}newInputFiles"
48823 # Output filename(s).
48825 if [ -z ${D}outFile ]; then
48827 set outFile ${D}inputFiles; outFile=${D}2
48830 # If it is an archive, remove the '!' and the '_%' suffixes
48831 case ${D}outFile in
48833 outFile=\`basnam
${D}outFile _
%!\
`
48838 case ${D}outFile in
48840 outFile=\`basnam
${D}outFile .dll\
`
48843 outFile=\`basnam
${D}outFile .DLL\
`
48846 outFile=\`basnam
${D}outFile .o\
`
48849 outFile=\`basnam
${D}outFile .obj\
`
48852 outFile=\`basnam
${D}outFile .a\
`
48855 outFile=\`basnam
${D}outFile .lib\
`
48860 case ${D}outimpFile in
48862 outimpFile=\`basnam
${D}outimpFile .a\
`
48865 outimpFile=\`basnam
${D}outimpFile .lib\
`
48870 if [ -z ${D}outimpFile ]; then
48871 outimpFile=${D}outFile
48873 defFile="${D}{outFile}.def"
48874 arcFile="${D}{outimpFile}.a"
48875 arcFile2="${D}{outimpFile}.lib"
48877 #create ${D}dllFile as something matching 8.3 restrictions,
48878 if [ -z ${D}renameScript ] ; then
48879 dllFile="${D}outFile"
48881 dllFile=\`${D}renameScript
${D}outimpFile\
`
48884 if [ ${D}do_backup -ne 0 ] ; then
48885 if [ -f ${D}arcFile ] ; then
48886 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48888 if [ -f ${D}arcFile2 ] ; then
48889 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48893 # Extract public symbols from all the object files.
48894 tmpdefFile=${D}{defFile}_%
48895 rm -f ${D}tmpdefFile
48896 for file in ${D}inputFiles ; do
48901 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48906 # Create the def file.
48908 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
48909 dllFile="${D}{dllFile}.dll"
48910 if [ ! -z ${D}description ]; then
48911 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48913 echo "EXPORTS" >> ${D}defFile
48915 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48916 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48918 # Checks if the export is ok or not.
48919 for word in ${D}exclude_symbols; do
48920 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48921 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48925 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48926 sed "=" < ${D}tmpdefFile | \\
48930 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48932 ' > ${D}{tmpdefFile}%
48933 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48935 rm -f ${D}{tmpdefFile}%
48937 cat ${D}tmpdefFile >> ${D}defFile
48938 rm -f ${D}tmpdefFile
48940 # Do linking, create implib, and apply lxlite.
48942 for file in ${D}inputFiles ; do
48947 gccCmdl="${D}gccCmdl ${D}file"
48951 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48952 touch "${D}{outFile}.dll"
48954 doCommand "emximp -o ${D}arcFile ${D}defFile"
48955 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48957 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48960 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48962 doCommand "emxomf -s -l ${D}arcFile"
48972 powerpc-apple-macos* | \
48973 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48983 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48984 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48985 { (exit 1); exit 1; }; }
48988 if test "x$PIC_FLAG" != "x" ; then
48989 PIC_FLAG="$PIC_FLAG -DPIC"
48992 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48993 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48995 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48996 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49015 case "${BAKEFILE_HOST}" in
49016 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49017 *-*-k*bsd*-gnu | *-*-mirbsd* )
49018 if test "x$SUNCXX" = "xyes"; then
49021 SONAME_FLAG="-Wl,-soname,"
49056 # Check whether --enable-dependency-tracking was given.
49057 if test "${enable_dependency_tracking+set}" = set; then
49058 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49062 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49063 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49066 if test "x$bk_use_trackdeps" = "xno" ; then
49068 { echo "$as_me:$LINENO: result: disabled" >&5
49069 echo "${ECHO_T}disabled" >&6; }
49073 if test "x$GCC" = "xyes"; then
49075 case "${BAKEFILE_HOST}" in
49077 DEPSFLAG="-no-cpp-precomp -MMD"
49083 { echo "$as_me:$LINENO: result: gcc" >&5
49084 echo "${ECHO_T}gcc" >&6; }
49085 elif test "x$MWCC" = "xyes"; then
49088 { echo "$as_me:$LINENO: result: mwcc" >&5
49089 echo "${ECHO_T}mwcc" >&6; }
49090 elif test "x$SUNCC" = "xyes"; then
49093 { echo "$as_me:$LINENO: result: Sun cc" >&5
49094 echo "${ECHO_T}Sun cc" >&6; }
49095 elif test "x$SGICC" = "xyes"; then
49098 { echo "$as_me:$LINENO: result: SGI cc" >&5
49099 echo "${ECHO_T}SGI cc" >&6; }
49100 elif test "x$HPCC" = "xyes"; then
49103 { echo "$as_me:$LINENO: result: HP cc" >&5
49104 echo "${ECHO_T}HP cc" >&6; }
49105 elif test "x$COMPAQCC" = "xyes"; then
49108 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49109 echo "${ECHO_T}Compaq cc" >&6; }
49112 { echo "$as_me:$LINENO: result: none" >&5
49113 echo "${ECHO_T}none" >&6; }
49116 if test $DEPS_TRACKING = 1 ; then
49122 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49123 # script. It is used to track C/C++ files dependencies in portable way.
49125 # Permission is given to use this file in any way.
49127 DEPSMODE=${DEPSMODE}
49128 DEPSFLAG="${DEPSFLAG}"
49131 if test ${D}DEPSMODE = gcc ; then
49132 ${D}* ${D}{DEPSFLAG}
49135 # determine location of created files:
49136 while test ${D}# -gt 0; do
49150 objfilebase=\`basename ${D}objfile\
`
49151 builddir=\`dirname ${D}objfile\
`
49152 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49153 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49154 depsdir=${D}builddir/${D}DEPSDIRBASE
49155 mkdir -p ${D}depsdir
49157 # if the compiler failed, we're done:
49158 if test ${D}{status} != 0 ; then
49163 # move created file to the location we want it in:
49164 if test -f ${D}depfile ; then
49165 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49168 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49169 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49170 if test ! -f ${D}depfile ; then
49171 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49172 depfile="${D}objfile.d"
49174 if test -f ${D}depfile ; then
49175 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49181 elif test ${D}DEPSMODE = mwcc ; then
49182 ${D}* || exit ${D}?
49183 # Run mwcc again with -MM and redirect into the dep file we want
49184 # NOTE: We can't use shift here because we need ${D}* to be valid
49186 for arg in ${D}* ; do
49187 if test "${D}prevarg" = "-o"; then
49201 objfilebase=\`basename ${D}objfile\
`
49202 builddir=\`dirname ${D}objfile\
`
49203 depsdir=${D}builddir/${D}DEPSDIRBASE
49204 mkdir -p ${D}depsdir
49206 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49209 elif test ${D}DEPSMODE = unixcc; then
49210 ${D}* || exit ${D}?
49211 # Run compiler again with deps flag and redirect into the dep file.
49212 # It doesn't work if the '-o FILE' option is used, but without it the
49213 # dependency file will contain the wrong name for the object. So it is
49214 # removed from the command line, and the dep file is fixed with sed.
49216 while test ${D}# -gt 0; do
49223 eval arg${D}#=\\${D}1
49224 cmd="${D}cmd \\${D}arg${D}#"
49230 objfilebase=\`basename ${D}objfile\
`
49231 builddir=\`dirname ${D}objfile\
`
49232 depsdir=${D}builddir/${D}DEPSDIRBASE
49233 mkdir -p ${D}depsdir
49235 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49245 BK_DEPS="`pwd`/bk-deps"
49253 case ${BAKEFILE_HOST} in
49254 *-*-cygwin* | *-*-mingw32* )
49255 if test -n "$ac_tool_prefix"; then
49256 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49257 set dummy ${ac_tool_prefix}windres; ac_word=$2
49258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49260 if test "${ac_cv_prog_WINDRES+set}" = set; then
49261 echo $ECHO_N "(cached) $ECHO_C" >&6
49263 if test -n "$WINDRES"; then
49264 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49267 for as_dir in $PATH
49270 test -z "$as_dir" && as_dir=.
49271 for ac_exec_ext in '' $ac_executable_extensions; do
49272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49273 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49283 WINDRES=$ac_cv_prog_WINDRES
49284 if test -n "$WINDRES"; then
49285 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49286 echo "${ECHO_T}$WINDRES" >&6; }
49288 { echo "$as_me:$LINENO: result: no" >&5
49289 echo "${ECHO_T}no" >&6; }
49294 if test -z "$ac_cv_prog_WINDRES"; then
49295 ac_ct_WINDRES=$WINDRES
49296 # Extract the first word of "windres", so it can be a program name with args.
49297 set dummy windres; ac_word=$2
49298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49300 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49301 echo $ECHO_N "(cached) $ECHO_C" >&6
49303 if test -n "$ac_ct_WINDRES"; then
49304 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49307 for as_dir in $PATH
49310 test -z "$as_dir" && as_dir=.
49311 for ac_exec_ext in '' $ac_executable_extensions; do
49312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49313 ac_cv_prog_ac_ct_WINDRES="windres"
49314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49323 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49324 if test -n "$ac_ct_WINDRES"; then
49325 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49326 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49328 { echo "$as_me:$LINENO: result: no" >&5
49329 echo "${ECHO_T}no" >&6; }
49332 if test "x$ac_ct_WINDRES" = x; then
49335 case $cross_compiling:$ac_tool_warned in
49337 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49338 whose name does not start with the host triplet. If you think this
49339 configuration is useful to you, please write to autoconf@gnu.org." >&5
49340 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49341 whose name does not start with the host triplet. If you think this
49342 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49343 ac_tool_warned=yes ;;
49345 WINDRES=$ac_ct_WINDRES
49348 WINDRES="$ac_cv_prog_WINDRES"
49353 *-*-darwin* | powerpc-apple-macos* )
49354 # Extract the first word of "Rez", so it can be a program name with args.
49355 set dummy Rez; ac_word=$2
49356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49358 if test "${ac_cv_prog_REZ+set}" = set; then
49359 echo $ECHO_N "(cached) $ECHO_C" >&6
49361 if test -n "$REZ"; then
49362 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49365 for as_dir in $PATH
49368 test -z "$as_dir" && as_dir=.
49369 for ac_exec_ext in '' $ac_executable_extensions; do
49370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49371 ac_cv_prog_REZ="Rez"
49372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49379 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49382 REZ=$ac_cv_prog_REZ
49383 if test -n "$REZ"; then
49384 { echo "$as_me:$LINENO: result: $REZ" >&5
49385 echo "${ECHO_T}$REZ" >&6; }
49387 { echo "$as_me:$LINENO: result: no" >&5
49388 echo "${ECHO_T}no" >&6; }
49392 # Extract the first word of "SetFile", so it can be a program name with args.
49393 set dummy SetFile; ac_word=$2
49394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49396 if test "${ac_cv_prog_SETFILE+set}" = set; then
49397 echo $ECHO_N "(cached) $ECHO_C" >&6
49399 if test -n "$SETFILE"; then
49400 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49403 for as_dir in $PATH
49406 test -z "$as_dir" && as_dir=.
49407 for ac_exec_ext in '' $ac_executable_extensions; do
49408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49409 ac_cv_prog_SETFILE="SetFile"
49410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49417 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49420 SETFILE=$ac_cv_prog_SETFILE
49421 if test -n "$SETFILE"; then
49422 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49423 echo "${ECHO_T}$SETFILE" >&6; }
49425 { echo "$as_me:$LINENO: result: no" >&5
49426 echo "${ECHO_T}no" >&6; }
49441 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49444 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49448 # Check whether --enable-precomp-headers was given.
49449 if test "${enable_precomp_headers+set}" = set; then
49450 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49459 case ${BAKEFILE_HOST} in
49465 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49466 if test "x$GCC" = "xyes"; then
49467 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49468 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49469 cat >conftest.$ac_ext <<_ACEOF
49472 cat confdefs.h >>conftest.$ac_ext
49473 cat >>conftest.$ac_ext <<_ACEOF
49474 /* end confdefs.h. */
49480 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49481 There is no PCH support
49484 There is no PCH support
49486 #if (__GNUC__ == 3) && \
49487 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49488 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49489 ( defined(__INTEL_COMPILER) )
49490 There is no PCH support
49497 rm -f conftest.$ac_objext
49498 if { (ac_try="$ac_compile"
49499 case "(($ac_try" in
49500 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49501 *) ac_try_echo
=$ac_try;;
49503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49504 (eval "$ac_compile") 2>conftest.er1
49506 grep -v '^ *+' conftest.er1
>conftest.err
49508 cat conftest.err
>&5
49509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49510 (exit $ac_status); } && {
49511 test -z "$ac_c_werror_flag" ||
49512 test ! -s conftest.err
49513 } && test -s conftest.
$ac_objext; then
49515 { echo "$as_me:$LINENO: result: yes" >&5
49516 echo "${ECHO_T}yes" >&6; }
49520 echo "$as_me: failed program was:" >&5
49521 sed 's/^/| /' conftest.
$ac_ext >&5
49524 if test "$INTELCXX8" = "yes"; then
49525 { echo "$as_me:$LINENO: result: yes" >&5
49526 echo "${ECHO_T}yes" >&6; }
49528 if test "$INTELCXX10" = "yes"; then
49529 ICC_PCH_CREATE_SWITCH
="-pch-create"
49530 ICC_PCH_USE_SWITCH
="-pch-use"
49532 ICC_PCH_CREATE_SWITCH
="-create-pch"
49533 ICC_PCH_USE_SWITCH
="-use-pch"
49536 { echo "$as_me:$LINENO: result: no" >&5
49537 echo "${ECHO_T}no" >&6; }
49542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49543 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49547 cat <<EOF >bk-make-pch
49550 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49551 # script. It is used to generated precompiled headers.
49553 # Permission is given to use this file in any way.
49560 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49565 while test ${D}{#} -gt 0; do
49569 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49570 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49571 headerfile="${D}{incdir}/${D}{header}"
49574 -use-pch|-use_pch|-pch-use )
49579 if test ${D}add_to_cmdline = 1 ; then
49580 compiler="${D}{compiler} ${D}{1}"
49585 if test "x${D}{headerfile}" = "x" ; then
49586 echo "error: can't find header ${D}{header} in include paths" >&2
49588 if test -f ${D}{outfile} ; then
49589 rm -f ${D}{outfile}
49591 mkdir -p \`dirname ${D}{outfile}\`
49593 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49594 mkdir -p ${D}{builddir}/.deps
49595 if test "x${GCC_PCH}" = "x1" ; then
49596 # can do this because gcc is >= 3.4:
49597 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49598 elif test "x${ICC_PCH}" = "x1" ; then
49599 filename=pch_gen-${D}${D}
49600 file=${D}{filename}.c
49601 dfile=${D}{filename}.d
49602 cat > ${D}file <<EOT
49603 #include "${D}header"
49605 # using -MF icc complains about differing command lines in creation/use
49606 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49607 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49608 rm -f ${D}file ${D}dfile ${D}{filename}.o
49614 chmod +x bk
-make-pch
49615 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49626 COND_BUILD_DEBUG
="#"
49627 if test "x$BUILD" = "xdebug" ; then
49628 COND_BUILD_DEBUG
=""
49631 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49632 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49633 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49636 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49637 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49638 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49641 COND_BUILD_DEBUG_UNICODE_0
="#"
49642 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49643 COND_BUILD_DEBUG_UNICODE_0
=""
49646 COND_BUILD_DEBUG_UNICODE_1
="#"
49647 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49648 COND_BUILD_DEBUG_UNICODE_1
=""
49651 COND_BUILD_RELEASE
="#"
49652 if test "x$BUILD" = "xrelease" ; then
49653 COND_BUILD_RELEASE
=""
49656 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49657 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49658 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49661 COND_BUILD_RELEASE_UNICODE_0
="#"
49662 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49663 COND_BUILD_RELEASE_UNICODE_0
=""
49666 COND_BUILD_RELEASE_UNICODE_1
="#"
49667 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49668 COND_BUILD_RELEASE_UNICODE_1
=""
49671 COND_BUILD_debug
="#"
49672 if test "x$BUILD" = "xdebug" ; then
49673 COND_BUILD_debug
=""
49676 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49677 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49678 COND_BUILD_debug_DEBUG_FLAG_default
=""
49681 COND_BUILD_debug_DEBUG_INFO_default
="#"
49682 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49683 COND_BUILD_debug_DEBUG_INFO_default
=""
49686 COND_BUILD_debug_UNICODE_0
="#"
49687 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49688 COND_BUILD_debug_UNICODE_0
=""
49691 COND_BUILD_debug_UNICODE_1
="#"
49692 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49693 COND_BUILD_debug_UNICODE_1
=""
49696 COND_BUILD_release
="#"
49697 if test "x$BUILD" = "xrelease" ; then
49698 COND_BUILD_release
=""
49701 COND_BUILD_release_DEBUG_INFO_default
="#"
49702 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49703 COND_BUILD_release_DEBUG_INFO_default
=""
49706 COND_BUILD_release_UNICODE_0
="#"
49707 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49708 COND_BUILD_release_UNICODE_0
=""
49711 COND_BUILD_release_UNICODE_1
="#"
49712 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49713 COND_BUILD_release_UNICODE_1
=""
49716 COND_DEBUG_FLAG_0
="#"
49717 if test "x$DEBUG_FLAG" = "x0" ; then
49718 COND_DEBUG_FLAG_0
=""
49721 COND_DEBUG_FLAG_1
="#"
49722 if test "x$DEBUG_FLAG" = "x1" ; then
49723 COND_DEBUG_FLAG_1
=""
49726 COND_DEBUG_INFO_0
="#"
49727 if test "x$DEBUG_INFO" = "x0" ; then
49728 COND_DEBUG_INFO_0
=""
49731 COND_DEBUG_INFO_1
="#"
49732 if test "x$DEBUG_INFO" = "x1" ; then
49733 COND_DEBUG_INFO_1
=""
49736 COND_DEPS_TRACKING_0
="#"
49737 if test "x$DEPS_TRACKING" = "x0" ; then
49738 COND_DEPS_TRACKING_0
=""
49741 COND_DEPS_TRACKING_1
="#"
49742 if test "x$DEPS_TRACKING" = "x1" ; then
49743 COND_DEPS_TRACKING_1
=""
49747 if test "x$GCC_PCH" = "x1" ; then
49752 if test "x$ICC_PCH" = "x1" ; then
49756 COND_MONOLITHIC_0
="#"
49757 if test "x$MONOLITHIC" = "x0" ; then
49758 COND_MONOLITHIC_0
=""
49761 COND_MONOLITHIC_0_SHARED_0
="#"
49762 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49763 COND_MONOLITHIC_0_SHARED_0
=""
49766 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49767 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49768 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49771 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49772 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49773 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49776 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49777 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49778 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49781 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49782 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49783 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49786 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49787 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49788 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49791 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49792 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49793 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49796 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49797 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49798 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49801 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49802 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49803 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49806 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49807 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49808 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49811 COND_MONOLITHIC_0_SHARED_1
="#"
49812 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49813 COND_MONOLITHIC_0_SHARED_1
=""
49816 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49817 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49818 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49821 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49822 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49823 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49826 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49827 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49828 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49832 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49837 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49841 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49842 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49843 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49846 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49847 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49848 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49851 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49852 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49853 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49856 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49857 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49858 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49861 COND_MONOLITHIC_0_USE_AUI_1
="#"
49862 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49863 COND_MONOLITHIC_0_USE_AUI_1
=""
49866 COND_MONOLITHIC_0_USE_GUI_1
="#"
49867 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49868 COND_MONOLITHIC_0_USE_GUI_1
=""
49871 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49872 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49873 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49876 COND_MONOLITHIC_0_USE_HTML_1
="#"
49877 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49878 COND_MONOLITHIC_0_USE_HTML_1
=""
49881 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49882 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49883 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49886 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
49887 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49888 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
49891 COND_MONOLITHIC_0_USE_QA_1
="#"
49892 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49893 COND_MONOLITHIC_0_USE_QA_1
=""
49896 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49897 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49898 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49901 COND_MONOLITHIC_0_USE_STC_1
="#"
49902 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49903 COND_MONOLITHIC_0_USE_STC_1
=""
49906 COND_MONOLITHIC_0_USE_XRC_1
="#"
49907 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49908 COND_MONOLITHIC_0_USE_XRC_1
=""
49911 COND_MONOLITHIC_1
="#"
49912 if test "x$MONOLITHIC" = "x1" ; then
49913 COND_MONOLITHIC_1
=""
49916 COND_MONOLITHIC_1_SHARED_0
="#"
49917 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49918 COND_MONOLITHIC_1_SHARED_0
=""
49921 COND_MONOLITHIC_1_SHARED_1
="#"
49922 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49923 COND_MONOLITHIC_1_SHARED_1
=""
49926 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49927 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49928 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49931 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49932 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49933 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49936 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49937 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49938 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49941 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49942 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49943 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49946 COND_PLATFORM_MACOSX_1
="#"
49947 if test "x$PLATFORM_MACOSX" = "x1" ; then
49948 COND_PLATFORM_MACOSX_1
=""
49951 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
49952 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49953 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
49956 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
49957 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49958 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
49961 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
49962 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49963 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
49966 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
49967 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49968 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
49971 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
49972 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49973 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
49976 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49977 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49978 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49981 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
49982 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49983 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
49986 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49987 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49988 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49991 COND_PLATFORM_MACOS_1
="#"
49992 if test "x$PLATFORM_MACOS" = "x1" ; then
49993 COND_PLATFORM_MACOS_1
=""
49996 COND_PLATFORM_MAC_0
="#"
49997 if test "x$PLATFORM_MAC" = "x0" ; then
49998 COND_PLATFORM_MAC_0
=""
50001 COND_PLATFORM_MAC_1
="#"
50002 if test "x$PLATFORM_MAC" = "x1" ; then
50003 COND_PLATFORM_MAC_1
=""
50006 COND_PLATFORM_MSDOS_0
="#"
50007 if test "x$PLATFORM_MSDOS" = "x0" ; then
50008 COND_PLATFORM_MSDOS_0
=""
50011 COND_PLATFORM_MSDOS_1
="#"
50012 if test "x$PLATFORM_MSDOS" = "x1" ; then
50013 COND_PLATFORM_MSDOS_1
=""
50016 COND_PLATFORM_OS2_1
="#"
50017 if test "x$PLATFORM_OS2" = "x1" ; then
50018 COND_PLATFORM_OS2_1
=""
50021 COND_PLATFORM_UNIX_0
="#"
50022 if test "x$PLATFORM_UNIX" = "x0" ; then
50023 COND_PLATFORM_UNIX_0
=""
50026 COND_PLATFORM_UNIX_1
="#"
50027 if test "x$PLATFORM_UNIX" = "x1" ; then
50028 COND_PLATFORM_UNIX_1
=""
50031 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50032 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50033 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50036 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50037 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50038 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50041 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50042 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50043 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50046 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50047 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50048 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50051 COND_PLATFORM_WIN32_0
="#"
50052 if test "x$PLATFORM_WIN32" = "x0" ; then
50053 COND_PLATFORM_WIN32_0
=""
50056 COND_PLATFORM_WIN32_1
="#"
50057 if test "x$PLATFORM_WIN32" = "x1" ; then
50058 COND_PLATFORM_WIN32_1
=""
50062 if test "x$SHARED" = "x0" ; then
50066 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50067 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50068 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50071 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50072 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50073 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50076 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50077 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50078 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50081 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50082 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50083 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50086 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50087 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50088 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50091 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50092 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50093 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50096 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50097 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50098 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50101 COND_SHARED_0_USE_STC_1
="#"
50102 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50103 COND_SHARED_0_USE_STC_1
=""
50106 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50107 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50108 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50111 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50112 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50113 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50116 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50117 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50118 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50122 if test "x$SHARED" = "x1" ; then
50126 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50127 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50128 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50132 if test "x$TOOLKIT" = "x" ; then
50136 COND_TOOLKIT_COCOA
="#"
50137 if test "x$TOOLKIT" = "xCOCOA" ; then
50138 COND_TOOLKIT_COCOA
=""
50141 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50142 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50143 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50146 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50147 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50148 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50151 COND_TOOLKIT_DFB
="#"
50152 if test "x$TOOLKIT" = "xDFB" ; then
50153 COND_TOOLKIT_DFB
=""
50156 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50157 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50158 COND_TOOLKIT_DFB_USE_GUI_1
=""
50161 COND_TOOLKIT_GTK
="#"
50162 if test "x$TOOLKIT" = "xGTK" ; then
50163 COND_TOOLKIT_GTK
=""
50166 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50167 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50168 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50171 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50172 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50173 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50176 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50177 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50178 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50181 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50182 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50183 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50186 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50187 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50188 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50191 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50192 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50193 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50196 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50197 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50198 COND_TOOLKIT_GTK_USE_GUI_1
=""
50201 COND_TOOLKIT_MAC
="#"
50202 if test "x$TOOLKIT" = "xMAC" ; then
50203 COND_TOOLKIT_MAC
=""
50206 COND_TOOLKIT_MGL
="#"
50207 if test "x$TOOLKIT" = "xMGL" ; then
50208 COND_TOOLKIT_MGL
=""
50211 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50212 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50213 COND_TOOLKIT_MGL_USE_GUI_1
=""
50216 COND_TOOLKIT_MOTIF
="#"
50217 if test "x$TOOLKIT" = "xMOTIF" ; then
50218 COND_TOOLKIT_MOTIF
=""
50221 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50222 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50223 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50226 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50227 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50228 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50231 COND_TOOLKIT_MSW
="#"
50232 if test "x$TOOLKIT" = "xMSW" ; then
50233 COND_TOOLKIT_MSW
=""
50236 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50237 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50238 COND_TOOLKIT_MSW_USE_GUI_1
=""
50241 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50242 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50243 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50246 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50247 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50248 COND_TOOLKIT_MSW_WXUNIV_0
=""
50251 COND_TOOLKIT_OSX_CARBON
="#"
50252 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50253 COND_TOOLKIT_OSX_CARBON
=""
50256 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50257 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50258 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50261 COND_TOOLKIT_OSX_COCOA
="#"
50262 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50263 COND_TOOLKIT_OSX_COCOA
=""
50266 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50267 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50268 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50271 COND_TOOLKIT_OSX_IPHONE
="#"
50272 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50273 COND_TOOLKIT_OSX_IPHONE
=""
50276 COND_TOOLKIT_PM
="#"
50277 if test "x$TOOLKIT" = "xPM" ; then
50281 COND_TOOLKIT_PM_USE_GUI_1
="#"
50282 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50283 COND_TOOLKIT_PM_USE_GUI_1
=""
50286 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50287 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50288 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50291 COND_TOOLKIT_WINCE
="#"
50292 if test "x$TOOLKIT" = "xWINCE" ; then
50293 COND_TOOLKIT_WINCE
=""
50296 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50297 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50298 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50301 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50302 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50303 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50306 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50307 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50308 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50311 COND_TOOLKIT_X11
="#"
50312 if test "x$TOOLKIT" = "xX11" ; then
50313 COND_TOOLKIT_X11
=""
50316 COND_TOOLKIT_X11_USE_GUI_1
="#"
50317 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50318 COND_TOOLKIT_X11_USE_GUI_1
=""
50322 if test "x$UNICODE" = "x1" ; then
50326 COND_USE_EXCEPTIONS_0
="#"
50327 if test "x$USE_EXCEPTIONS" = "x0" ; then
50328 COND_USE_EXCEPTIONS_0
=""
50331 COND_USE_EXCEPTIONS_1
="#"
50332 if test "x$USE_EXCEPTIONS" = "x1" ; then
50333 COND_USE_EXCEPTIONS_1
=""
50337 if test "x$USE_GUI" = "x0" ; then
50342 if test "x$USE_GUI" = "x1" ; then
50346 COND_USE_GUI_1_USE_OPENGL_1
="#"
50347 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50348 COND_USE_GUI_1_USE_OPENGL_1
=""
50351 COND_USE_GUI_1_WXUNIV_0
="#"
50352 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50353 COND_USE_GUI_1_WXUNIV_0
=""
50356 COND_USE_GUI_1_WXUNIV_1
="#"
50357 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50358 COND_USE_GUI_1_WXUNIV_1
=""
50361 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50362 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50363 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50366 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50367 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50368 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50371 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50372 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50373 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50376 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50377 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50378 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50381 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50382 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50383 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50386 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50387 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50388 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50391 COND_USE_OPENGL_1
="#"
50392 if test "x$USE_OPENGL" = "x1" ; then
50393 COND_USE_OPENGL_1
=""
50397 if test "x$USE_PCH" = "x1" ; then
50401 COND_USE_PLUGINS_0
="#"
50402 if test "x$USE_PLUGINS" = "x0" ; then
50403 COND_USE_PLUGINS_0
=""
50406 COND_USE_RTTI_0
="#"
50407 if test "x$USE_RTTI" = "x0" ; then
50411 COND_USE_RTTI_1
="#"
50412 if test "x$USE_RTTI" = "x1" ; then
50416 COND_USE_SOSYMLINKS_1
="#"
50417 if test "x$USE_SOSYMLINKS" = "x1" ; then
50418 COND_USE_SOSYMLINKS_1
=""
50421 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50422 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50423 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50426 COND_USE_SOVERLINUX_1
="#"
50427 if test "x$USE_SOVERLINUX" = "x1" ; then
50428 COND_USE_SOVERLINUX_1
=""
50431 COND_USE_SOVERSION_0
="#"
50432 if test "x$USE_SOVERSION" = "x0" ; then
50433 COND_USE_SOVERSION_0
=""
50436 COND_USE_SOVERSOLARIS_1
="#"
50437 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50438 COND_USE_SOVERSOLARIS_1
=""
50442 if test "x$USE_STC" = "x1" ; then
50446 COND_USE_THREADS_0
="#"
50447 if test "x$USE_THREADS" = "x0" ; then
50448 COND_USE_THREADS_0
=""
50451 COND_USE_THREADS_1
="#"
50452 if test "x$USE_THREADS" = "x1" ; then
50453 COND_USE_THREADS_1
=""
50457 if test "x$USE_XRC" = "x1" ; then
50461 COND_WINDOWS_IMPLIB_1
="#"
50462 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50463 COND_WINDOWS_IMPLIB_1
=""
50466 COND_WITH_PLUGIN_SDL_1
="#"
50467 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50468 COND_WITH_PLUGIN_SDL_1
=""
50472 if test "x$WXUNIV" = "x0" ; then
50477 if test "x$WXUNIV" = "x1" ; then
50481 COND_WXUSE_EXPAT_BUILTIN
="#"
50482 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50483 COND_WXUSE_EXPAT_BUILTIN
=""
50486 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50487 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50488 COND_WXUSE_LIBJPEG_BUILTIN
=""
50491 COND_WXUSE_LIBPNG_BUILTIN
="#"
50492 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50493 COND_WXUSE_LIBPNG_BUILTIN
=""
50496 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50497 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50498 COND_WXUSE_LIBTIFF_BUILTIN
=""
50501 COND_WXUSE_REGEX_BUILTIN
="#"
50502 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50503 COND_WXUSE_REGEX_BUILTIN
=""
50506 COND_WXUSE_ZLIB_BUILTIN
="#"
50507 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50508 COND_WXUSE_ZLIB_BUILTIN
=""
50511 COND_wxUSE_EXPAT_builtin
="#"
50512 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50513 COND_wxUSE_EXPAT_builtin
=""
50516 COND_wxUSE_LIBJPEG_builtin
="#"
50517 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50518 COND_wxUSE_LIBJPEG_builtin
=""
50521 COND_wxUSE_LIBPNG_builtin
="#"
50522 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50523 COND_wxUSE_LIBPNG_builtin
=""
50526 COND_wxUSE_LIBTIFF_builtin
="#"
50527 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50528 COND_wxUSE_LIBTIFF_builtin
=""
50531 COND_wxUSE_REGEX_builtin
="#"
50532 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50533 COND_wxUSE_REGEX_builtin
=""
50536 COND_wxUSE_ZLIB_builtin
="#"
50537 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50538 COND_wxUSE_ZLIB_builtin
=""
50543 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50544 { { 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
50545 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;}
50546 { (exit 1); exit 1; }; }
50549 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50550 { { 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
50551 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;}
50552 { (exit 1); exit 1; }; }
50559 ?
:* ) # Drive letter, considered as absolute.
50562 INSTALL
=`pwd`/${INSTALL} ;;
50565 if test "$wxUSE_GUI" = "yes"; then
50567 if test "$wxUSE_MSW" = 1 ; then
50568 if test "x$WINDRES" = "x"; then
50569 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50570 echo "$as_me: error: Required windres program not found" >&2;}
50571 { (exit 1); exit 1; }; }
50577 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50578 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50579 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50581 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50583 # Extract the first word of "DeRez", so it can be a program name with args.
50584 set dummy DeRez
; ac_word
=$2
50585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50587 if test "${ac_cv_prog_DEREZ+set}" = set; then
50588 echo $ECHO_N "(cached) $ECHO_C" >&6
50590 if test -n "$DEREZ"; then
50591 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50594 for as_dir
in $PATH
50597 test -z "$as_dir" && as_dir
=.
50598 for ac_exec_ext
in '' $ac_executable_extensions; do
50599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50600 ac_cv_prog_DEREZ
="DeRez"
50601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50608 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50611 DEREZ
=$ac_cv_prog_DEREZ
50612 if test -n "$DEREZ"; then
50613 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50614 echo "${ECHO_T}$DEREZ" >&6; }
50616 { echo "$as_me:$LINENO: result: no" >&5
50617 echo "${ECHO_T}no" >&6; }
50622 MACSETFILE
="\$(SETFILE)"
50624 if test "$wxUSE_OSX_CARBON" = 1; then
50625 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50627 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50629 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50630 RESCOMP
="cat /dev/null \| $REZ"
50631 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50637 if test "$wxUSE_PM" = 1; then
50639 WXCONFIG_RESFLAGS
="-ep"
50641 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50643 POSTLINK_COMMAND
="@true"
50650 if test $GCC_PCH = 1
50652 if test "$wx_cv_gcc_pch_bug" = yes; then
50653 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50654 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50655 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50656 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50657 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50658 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50661 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50662 # the headers that benefit from precompilation are mostly C++ headers.
50663 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50664 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50665 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50669 if test "$wxUSE_MAC" = 1 ; then
50670 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50671 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50677 if test "$wxUSE_SHARED" = "yes"; then
50679 *-pc-os2_emx | *-pc-os2-emx )
50680 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50681 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50682 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50683 cp -p ${srcdir}/src
/os
2/dllar.sh .
50687 if test "$wxUSE_OMF" = "yes"; then
50689 *-pc-os2_emx | *-pc-os2-emx )
50690 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50691 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50692 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50697 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50702 if test "$GCC" = yes; then
50703 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50704 LIBS
=`echo $LIBS | sed 's/-mt//'`
50705 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50710 if test "x$SUNCXX" = xyes
; then
50711 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50712 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50713 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50718 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50719 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50720 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50721 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50723 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50783 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50784 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50785 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50786 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50787 echo $ECHO_N "(cached) $ECHO_C" >&6
50789 cat >conftest.
make <<\_ACEOF
50792 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50794 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50795 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50796 *@@@
%%%=?
*=@@@
%%%*)
50797 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50799 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50801 rm -f conftest.
make
50803 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50804 { echo "$as_me:$LINENO: result: yes" >&5
50805 echo "${ECHO_T}yes" >&6; }
50808 { echo "$as_me:$LINENO: result: no" >&5
50809 echo "${ECHO_T}no" >&6; }
50810 SET_MAKE
="MAKE=${MAKE-make}"
50815 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50818 if test "$USE_WIN32" = 1; then
50819 ac_config_commands
="$ac_config_commands rcdefs.h"
50823 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50826 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50829 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50832 if test "$wx_cv_version_script" = "yes"; then
50833 ac_config_files
="$ac_config_files version-script"
50836 ac_config_files
="$ac_config_files Makefile"
50839 ac_config_commands
="$ac_config_commands wx-config"
50843 if test "$wxWITH_SUBDIRS" != "no"; then
50844 if test "$wxUSE_GUI" = "yes"; then
50845 SUBDIRS
="samples demos utils"
50847 SUBDIRS
="samples utils"
50852 # Check whether --with-cppunit-prefix was given.
50853 if test "${with_cppunit_prefix+set}" = set; then
50854 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50856 cppunit_config_prefix
=""
50860 # Check whether --with-cppunit-exec-prefix was given.
50861 if test "${with_cppunit_exec_prefix+set}" = set; then
50862 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50864 cppunit_config_exec_prefix
=""
50868 if test x
$cppunit_config_exec_prefix != x
; then
50869 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50870 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50871 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50874 if test x
$cppunit_config_prefix != x
; then
50875 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50876 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50877 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50881 # Extract the first word of "cppunit-config", so it can be a program name with args.
50882 set dummy cppunit
-config; ac_word
=$2
50883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50885 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50886 echo $ECHO_N "(cached) $ECHO_C" >&6
50888 case $CPPUNIT_CONFIG in
50890 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50894 for as_dir
in $PATH
50897 test -z "$as_dir" && as_dir
=.
50898 for ac_exec_ext
in '' $ac_executable_extensions; do
50899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50900 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50908 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50912 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50913 if test -n "$CPPUNIT_CONFIG"; then
50914 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50915 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50917 { echo "$as_me:$LINENO: result: no" >&5
50918 echo "${ECHO_T}no" >&6; }
50922 cppunit_version_min
=1.8.0
50924 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50925 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50927 if test "$CPPUNIT_CONFIG" = "no" ; then
50928 { echo "$as_me:$LINENO: result: no" >&5
50929 echo "${ECHO_T}no" >&6; }
50932 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50933 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50934 cppunit_version
=`$CPPUNIT_CONFIG --version`
50936 cppunit_major_version
=`echo $cppunit_version | \
50937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50938 cppunit_minor_version
=`echo $cppunit_version | \
50939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50940 cppunit_micro_version
=`echo $cppunit_version | \
50941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50943 cppunit_major_min
=`echo $cppunit_version_min | \
50944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50945 cppunit_minor_min
=`echo $cppunit_version_min | \
50946 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50947 cppunit_micro_min
=`echo $cppunit_version_min | \
50948 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50950 cppunit_version_proper
=`expr \
50951 $cppunit_major_version \> $cppunit_major_min \| \
50952 $cppunit_major_version \= $cppunit_major_min \& \
50953 $cppunit_minor_version \> $cppunit_minor_min \| \
50954 $cppunit_major_version \= $cppunit_major_min \& \
50955 $cppunit_minor_version \= $cppunit_minor_min \& \
50956 $cppunit_micro_version \>= $cppunit_micro_min `
50958 if test "$cppunit_version_proper" = "1" ; then
50959 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50960 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50962 { echo "$as_me:$LINENO: result: no" >&5
50963 echo "${ECHO_T}no" >&6; }
50968 if test "x$no_cppunit" = x
; then
50969 SUBDIRS
="$SUBDIRS tests"
50980 for subdir
in $SUBDIRS; do
50981 if test -d ${srcdir}/${subdir} ; then
50982 if test "$wxUSE_GUI" = "yes"; then
50983 if test ${subdir} = "samples"; then
50984 makefiles
="samples/Makefile.in $makefiles"
50985 for sample
in $SAMPLES_SUBDIRS; do
50986 if test -d $srcdir/samples
/$sample; then
50987 makefiles
="samples/$sample/Makefile.in $makefiles"
50991 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
50992 eval "disabled=\$$disabled_var"
50993 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50994 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50997 if test ${subdir} = "samples"; then
50998 makefiles
="samples/Makefile.in $makefiles"
50999 for sample
in `echo $SAMPLES_SUBDIRS`; do
51000 if test -d $srcdir/samples
/$sample; then
51001 makefiles
="samples/$sample/Makefile.in $makefiles"
51004 elif test ${subdir} = "utils"; then
51006 for util
in ifacecheck
; do
51007 if test -d $srcdir/utils
/$util ; then
51008 makefiles
="utils/$util/src/Makefile.in \
51013 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51017 for mkin
in $makefiles ; do
51018 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51019 ac_config_files
="$ac_config_files $mk"
51025 cat >confcache
<<\_ACEOF
51026 # This file is a shell script that caches the results of configure
51027 # tests run on this system so they can be shared between configure
51028 # scripts and configure runs, see configure's option --config-cache.
51029 # It is not useful on other systems. If it contains results you don't
51030 # want to keep, you may remove or edit it.
51032 # config.status only pays attention to the cache file if you give it
51033 # the --recheck option to rerun configure.
51035 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51036 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51037 # following values.
51041 # The following way of writing the cache mishandles newlines in values,
51042 # but we know of no workaround that is simple, portable, and efficient.
51043 # So, we kill variables containing newlines.
51044 # Ultrix sh set writes to stderr and can't be redirected directly,
51045 # and sets the high bit in the cache file unless we assign to the vars.
51047 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51048 eval ac_val
=\$
$ac_var
51052 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51053 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51056 _
| IFS
| as_nl
) ;; #(
51057 *) $as_unset $ac_var ;;
51063 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51064 *${as_nl}ac_space
=\
*)
51065 # `set' does not quote correctly, so add quotes (double-quote
51066 # substitution turns \\\\ into \\, and sed turns \\ into \).
51069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51072 # `set' quotes correctly as required by POSIX, so do not add quotes.
51073 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51082 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51084 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51086 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51087 if test -w "$cache_file"; then
51088 test "x$cache_file" != "x/dev/null" &&
51089 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51090 echo "$as_me: updating cache $cache_file" >&6;}
51091 cat confcache
>$cache_file
51093 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51094 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51099 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51100 # Let make expand exec_prefix.
51101 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51103 DEFS
=-DHAVE_CONFIG_H
51107 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51108 # 1. Remove the extension, and $U if already installed.
51109 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51110 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51111 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51112 # will be set to the directory where LIBOBJS objects are built.
51113 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51114 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51116 LIBOBJS
=$ac_libobjs
51118 LTLIBOBJS
=$ac_ltlibobjs
51122 : ${CONFIG_STATUS=./config.status}
51123 ac_clean_files_save
=$ac_clean_files
51124 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51125 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51126 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51127 cat >$CONFIG_STATUS <<_ACEOF
51129 # Generated by $as_me.
51130 # Run this file to recreate the current configuration.
51131 # Compiler output produced by configure, useful for debugging
51132 # configure, is in config.log if it exists.
51135 ac_cs_recheck=false
51137 SHELL=\${CONFIG_SHELL-$SHELL}
51140 cat >>$CONFIG_STATUS <<\_ACEOF
51141 ## --------------------- ##
51142 ## M4sh Initialization. ##
51143 ## --------------------- ##
51145 # Be more Bourne compatible
51146 DUALCASE
=1; export DUALCASE
# for MKS sh
51147 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51150 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51151 # is contrary to our usage. Disable this feature.
51152 alias -g '${1+"$@"}'='"$@"'
51153 setopt NO_GLOB_SUBST
51155 case `(set -o) 2>/dev/null` in
51156 *posix
*) set -o posix
;;
51165 # Avoid depending upon Character Ranges.
51166 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51167 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51168 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51169 as_cr_digits
='0123456789'
51170 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51172 # The user is always right.
51173 if test "${PATH_SEPARATOR+set}" != set; then
51174 echo "#! /bin/sh" >conf$$.sh
51175 echo "exit 0" >>conf$$.sh
51177 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51185 # Support unset when possible.
51186 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51194 # We need space, tab and new line, in precisely that order. Quoting is
51195 # there to prevent editors from complaining about space-tab.
51196 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51197 # splitting by setting IFS to empty value.)
51202 # Find who we are. Look in the path if we contain no directory separator.
51204 *[\\/]* ) as_myself
=$0 ;;
51205 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51206 for as_dir
in $PATH
51209 test -z "$as_dir" && as_dir
=.
51210 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51216 # We did not find ourselves, most probably we were run as `sh COMMAND'
51217 # in which case we are not to be found in the path.
51218 if test "x$as_myself" = x
; then
51221 if test ! -f "$as_myself"; then
51222 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51223 { (exit 1); exit 1; }
51226 # Work around bugs in pre-3.0 UWIN ksh.
51227 for as_var
in ENV MAIL MAILPATH
51228 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51236 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51237 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51238 LC_TELEPHONE LC_TIME
51240 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51241 eval $as_var=C
; export $as_var
51243 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51247 # Required to use basename.
51248 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51249 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51255 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51256 as_basename
=basename
51262 # Name of the executable.
51263 as_me
=`$as_basename -- "$0" ||
51264 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51265 X"$0" : 'X\(//\)$' \| \
51266 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51268 sed '/^.*\/\([^/][^/]*\)\/*$/{
51287 as_lineno_1
=$LINENO
51288 as_lineno_2
=$LINENO
51289 test "x$as_lineno_1" != "x$as_lineno_2" &&
51290 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51292 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51293 # uniformly replaced by the line number. The first 'sed' inserts a
51294 # line-number line after each line using $LINENO; the second 'sed'
51295 # does the real work. The second script uses 'N' to pair each
51296 # line-number line with the line containing $LINENO, and appends
51297 # trailing '-' during substitution so that $LINENO is not a special
51298 # case at line end.
51299 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51300 # scripts with optimization help from Paolo Bonzini. Blame Lee
51301 # E. McMahon (1931-1989) for sed's syntax. :-)
51313 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51316 ' >$as_me.lineno
&&
51317 chmod +x
"$as_me.lineno" ||
51318 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51319 { (exit 1); exit 1; }; }
51321 # Don't try to exec as it changes $[0], causing all sort of problems
51322 # (the dirname of $[0] is not the place where we might find the
51323 # original and so on. Autoconf is especially sensitive to this).
51324 .
"./$as_me.lineno"
51325 # Exit status is that of the last command.
51330 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51336 ECHO_C
= ECHO_N
= ECHO_T
=
51337 case `echo -n x` in
51339 case `echo 'x\c'` in
51340 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51347 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51348 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51354 rm -f conf$$ conf$$.exe conf$$.
file
51355 if test -d conf$$.dir
; then
51356 rm -f conf$$.dir
/conf$$.
file
51362 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51364 # ... but there are two gotchas:
51365 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51366 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51367 # In both cases, we have to default to `cp -p'.
51368 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51370 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51375 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51376 rmdir conf$$.dir
2>/dev
/null
51378 if mkdir -p .
2>/dev
/null
; then
51381 test -d .
/-p && rmdir .
/-p
51385 if test -x / >/dev
/null
2>&1; then
51386 as_test_x
='test -x'
51388 if ls -dL / >/dev
/null
2>&1; then
51395 if test -d "$1"; then
51401 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51402 ???[sx]*):;;*)false;;esac;fi
51406 as_executable_p
=$as_test_x
51408 # Sed expression to map a string onto a valid CPP name.
51409 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51411 # Sed expression to map a string onto a valid variable name.
51412 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51417 # Save the log message, to keep $[0] and so on meaningful, and to
51418 # report actual input values of CONFIG_FILES etc. instead of their
51419 # values after options handling.
51421 This file was extended by wxWidgets $as_me 2.9.1, which was
51422 generated by GNU Autoconf 2.61. Invocation command line was
51424 CONFIG_FILES = $CONFIG_FILES
51425 CONFIG_HEADERS = $CONFIG_HEADERS
51426 CONFIG_LINKS = $CONFIG_LINKS
51427 CONFIG_COMMANDS = $CONFIG_COMMANDS
51430 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51435 cat >>$CONFIG_STATUS <<_ACEOF
51436 # Files that config.status was made for.
51437 config_files="$ac_config_files"
51438 config_headers="$ac_config_headers"
51439 config_commands="$ac_config_commands"
51443 cat >>$CONFIG_STATUS <<\_ACEOF
51445 \`$as_me' instantiates files from templates according to the
51446 current configuration.
51448 Usage: $0 [OPTIONS] [FILE]...
51450 -h, --help print this help, then exit
51451 -V, --version print version number and configuration settings, then exit
51452 -q, --quiet do not print progress messages
51453 -d, --debug don't remove temporary files
51454 --recheck update $as_me by reconfiguring in the same conditions
51455 --file=FILE[:TEMPLATE]
51456 instantiate the configuration file FILE
51457 --header=FILE[:TEMPLATE]
51458 instantiate the configuration header FILE
51460 Configuration files:
51463 Configuration headers:
51466 Configuration commands:
51469 Report bugs to <bug-autoconf@gnu.org>."
51472 cat >>$CONFIG_STATUS <<_ACEOF
51474 wxWidgets config.status 2.9.1
51475 configured by $0, generated by GNU Autoconf 2.61,
51476 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51478 Copyright (C) 2006 Free Software Foundation, Inc.
51479 This config.status script is free software; the Free Software Foundation
51480 gives unlimited permission to copy, distribute and modify it."
51487 cat >>$CONFIG_STATUS <<\_ACEOF
51488 # If no file are specified by the user, then we need to provide default
51489 # value. By we need to know if files were specified by the user.
51495 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51496 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51507 # Handling of the options.
51508 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51510 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51511 echo "$ac_cs_version"; exit ;;
51512 --debug | --debu | --deb | --de | --d | -d )
51514 --file | --fil | --fi | --f )
51516 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51517 ac_need_defaults
=false
;;
51518 --header | --heade | --head | --hea )
51520 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51521 ac_need_defaults
=false
;;
51523 # Conflict between --help and --header
51524 { echo "$as_me: error: ambiguous option: $1
51525 Try \`$0 --help' for more information." >&2
51526 { (exit 1); exit 1; }; };;
51527 --help | --hel | -h )
51528 echo "$ac_cs_usage"; exit ;;
51529 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51530 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51533 # This is an error.
51534 -*) { echo "$as_me: error: unrecognized option: $1
51535 Try \`$0 --help' for more information." >&2
51536 { (exit 1); exit 1; }; } ;;
51538 *) ac_config_targets
="$ac_config_targets $1"
51539 ac_need_defaults
=false
;;
51545 ac_configure_extra_args
=
51547 if $ac_cs_silent; then
51549 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51553 cat >>$CONFIG_STATUS <<_ACEOF
51554 if \$ac_cs_recheck; then
51555 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51556 CONFIG_SHELL=$SHELL
51557 export CONFIG_SHELL
51558 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51562 cat >>$CONFIG_STATUS <<\_ACEOF
51566 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51567 ## Running $as_me. ##
51573 cat >>$CONFIG_STATUS <<_ACEOF
51579 infile="$srcdir/include/wx/msw/genrcdefs.h"
51580 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51583 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51584 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51585 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51591 cat >>$CONFIG_STATUS <<\_ACEOF
51593 # Handling of arguments.
51594 for ac_config_target
in $ac_config_targets
51596 case $ac_config_target in
51597 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51598 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51599 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51600 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51601 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51602 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51603 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51604 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51605 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51607 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51608 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51609 { (exit 1); exit 1; }; };;
51614 # If the user did not use the arguments to specify the items to instantiate,
51615 # then the envvar interface is used. Set only those that are not.
51616 # We use the long form for the default assignment because of an extremely
51617 # bizarre bug on SunOS 4.1.3.
51618 if $ac_need_defaults; then
51619 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51620 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51621 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51624 # Have a temporary directory for convenience. Make it in the build tree
51625 # simply because there is no reason against having it here, and in addition,
51626 # creating and moving files from /tmp can sometimes cause problems.
51627 # Hook for its removal unless debugging.
51628 # Note that there is a small window in which the directory will not be cleaned:
51629 # after its creation but before its name has been assigned to `$tmp'.
51633 trap 'exit_status=$?
51634 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51636 trap '{ (exit 1); exit 1; }' 1 2 13 15
51638 # Create a (secure) tmp directory for tmp files.
51641 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51642 test -n "$tmp" && test -d "$tmp"
51645 tmp
=.
/conf$$
-$RANDOM
51646 (umask 077 && mkdir "$tmp")
51649 echo "$me: cannot create a temporary directory in ." >&2
51650 { (exit 1); exit 1; }
51654 # Set up the sed scripts for CONFIG_FILES section.
51657 # No need to generate the scripts if there are no CONFIG_FILES.
51658 # This happens for instance when ./config.status config.h
51659 if test -n "$CONFIG_FILES"; then
51666 for ac_last_try
in false false false false false
:; do
51667 cat >conf$
$subs.
sed <<_ACEOF
51668 SHELL!$SHELL$ac_delim
51669 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51670 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51671 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51672 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51673 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51674 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51675 exec_prefix!$exec_prefix$ac_delim
51676 prefix!$prefix$ac_delim
51677 program_transform_name!$program_transform_name$ac_delim
51678 bindir!$bindir$ac_delim
51679 sbindir!$sbindir$ac_delim
51680 libexecdir!$libexecdir$ac_delim
51681 datarootdir!$datarootdir$ac_delim
51682 datadir!$datadir$ac_delim
51683 sysconfdir!$sysconfdir$ac_delim
51684 sharedstatedir!$sharedstatedir$ac_delim
51685 localstatedir!$localstatedir$ac_delim
51686 includedir!$includedir$ac_delim
51687 oldincludedir!$oldincludedir$ac_delim
51688 docdir!$docdir$ac_delim
51689 infodir!$infodir$ac_delim
51690 htmldir!$htmldir$ac_delim
51691 dvidir!$dvidir$ac_delim
51692 pdfdir!$pdfdir$ac_delim
51693 psdir!$psdir$ac_delim
51694 libdir!$libdir$ac_delim
51695 localedir!$localedir$ac_delim
51696 mandir!$mandir$ac_delim
51697 DEFS!$DEFS$ac_delim
51698 ECHO_C!$ECHO_C$ac_delim
51699 ECHO_N!$ECHO_N$ac_delim
51700 ECHO_T!$ECHO_T$ac_delim
51701 LIBS!$LIBS$ac_delim
51702 build_alias!$build_alias$ac_delim
51703 host_alias!$host_alias$ac_delim
51704 target_alias!$target_alias$ac_delim
51705 build!$build$ac_delim
51706 build_cpu!$build_cpu$ac_delim
51707 build_vendor!$build_vendor$ac_delim
51708 build_os!$build_os$ac_delim
51709 host!$host$ac_delim
51710 host_cpu!$host_cpu$ac_delim
51711 host_vendor!$host_vendor$ac_delim
51712 host_os!$host_os$ac_delim
51713 wx_top_builddir!$wx_top_builddir$ac_delim
51715 CFLAGS!$CFLAGS$ac_delim
51716 LDFLAGS!$LDFLAGS$ac_delim
51717 CPPFLAGS!$CPPFLAGS$ac_delim
51718 ac_ct_CC!$ac_ct_CC$ac_delim
51719 EXEEXT!$EXEEXT$ac_delim
51720 OBJEXT!$OBJEXT$ac_delim
51722 GREP!$GREP$ac_delim
51723 EGREP!$EGREP$ac_delim
51725 CXXFLAGS!$CXXFLAGS$ac_delim
51726 ac_ct_CXX!$ac_ct_CXX$ac_delim
51728 subdirs!$subdirs$ac_delim
51729 PKG_CONFIG!$PKG_CONFIG$ac_delim
51730 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51731 GTK_LIBS!$GTK_LIBS$ac_delim
51732 GTK_CONFIG!$GTK_CONFIG$ac_delim
51733 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51734 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51735 XMKMF!$XMKMF$ac_delim
51736 X_CFLAGS!$X_CFLAGS$ac_delim
51737 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51738 X_LIBS!$X_LIBS$ac_delim
51739 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51740 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51741 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51742 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51743 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51744 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51745 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51746 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51747 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51748 LIBICONV!$LIBICONV$ac_delim
51749 GXX_VERSION!$GXX_VERSION$ac_delim
51750 SDL_CONFIG!$SDL_CONFIG$ac_delim
51751 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51752 SDL_LIBS!$SDL_LIBS$ac_delim
51753 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51754 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51755 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51756 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51757 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51758 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51759 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51760 HILDON_LIBS!$HILDON_LIBS$ac_delim
51761 PYTHON!$PYTHON$ac_delim
51762 COND_PYTHON!$COND_PYTHON$ac_delim
51763 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51764 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51767 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51769 elif $ac_last_try; then
51770 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51771 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51772 { (exit 1); exit 1; }; }
51774 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51778 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51779 if test -n "$ac_eof"; then
51780 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51781 ac_eof
=`expr $ac_eof + 1`
51784 cat >>$CONFIG_STATUS <<_ACEOF
51785 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51786 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51789 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51790 s/^/s,@/; s/!/@,|#_!!_#|/
51793 s/'"$ac_delim"'$/,g/; t
51795 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51796 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51797 rm -f conf$
$subs.
sed
51798 cat >>$CONFIG_STATUS <<_ACEOF
51804 for ac_last_try
in false false false false false
:; do
51805 cat >conf$
$subs.
sed <<_ACEOF
51806 GST_CFLAGS!$GST_CFLAGS$ac_delim
51807 GST_LIBS!$GST_LIBS$ac_delim
51808 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51809 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51810 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51811 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51812 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51813 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51814 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51815 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51816 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51817 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51818 VENDOR!$VENDOR$ac_delim
51819 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51820 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51821 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51822 WXUNIV!$WXUNIV$ac_delim
51823 MONOLITHIC!$MONOLITHIC$ac_delim
51824 USE_PLUGINS!$USE_PLUGINS$ac_delim
51825 CXXWARNINGS!$CXXWARNINGS$ac_delim
51826 EXTRALIBS!$EXTRALIBS$ac_delim
51827 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51828 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51829 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51830 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51831 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51832 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51833 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51834 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51835 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51836 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51837 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51838 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51839 UNICODE!$UNICODE$ac_delim
51840 DEBUG_INFO!$DEBUG_INFO$ac_delim
51841 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51842 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51843 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51844 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51845 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51846 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51847 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51848 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51849 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51850 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51851 RANLIB!$RANLIB$ac_delim
51852 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51853 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51854 INSTALL_DATA!$INSTALL_DATA$ac_delim
51855 LN_S!$LN_S$ac_delim
51856 SET_MAKE!$SET_MAKE$ac_delim
51857 MAKE_SET!$MAKE_SET$ac_delim
51858 AROPTIONS!$AROPTIONS$ac_delim
51859 STRIP!$STRIP$ac_delim
51861 INSTALL_DIR!$INSTALL_DIR$ac_delim
51862 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51863 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51864 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51865 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51866 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51867 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51868 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51869 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51870 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51871 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51872 SO_SUFFIX!$SO_SUFFIX$ac_delim
51873 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51874 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51875 LIBPREFIX!$LIBPREFIX$ac_delim
51876 LIBEXT!$LIBEXT$ac_delim
51877 DLLPREFIX!$DLLPREFIX$ac_delim
51878 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51879 dlldir!$dlldir$ac_delim
51880 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51881 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51882 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51883 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51884 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51885 PIC_FLAG!$PIC_FLAG$ac_delim
51886 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51887 USE_SOVERSION!$USE_SOVERSION$ac_delim
51888 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51889 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51890 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51891 USE_MACVERSION!$USE_MACVERSION$ac_delim
51892 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51893 SONAME_FLAG!$SONAME_FLAG$ac_delim
51894 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51895 BK_DEPS!$BK_DEPS$ac_delim
51896 WINDRES!$WINDRES$ac_delim
51898 SETFILE!$SETFILE$ac_delim
51899 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51900 GCC_PCH!$GCC_PCH$ac_delim
51901 ICC_PCH!$ICC_PCH$ac_delim
51902 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51905 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51907 elif $ac_last_try; then
51908 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51909 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51910 { (exit 1); exit 1; }; }
51912 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51916 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51917 if test -n "$ac_eof"; then
51918 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51919 ac_eof
=`expr $ac_eof + 1`
51922 cat >>$CONFIG_STATUS <<_ACEOF
51923 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51924 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51927 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51928 s/^/s,@/; s/!/@,|#_!!_#|/
51931 s/'"$ac_delim"'$/,g/; t
51933 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51934 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51935 rm -f conf$
$subs.
sed
51936 cat >>$CONFIG_STATUS <<_ACEOF
51942 for ac_last_try
in false false false false false
:; do
51943 cat >conf$
$subs.
sed <<_ACEOF
51944 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
51945 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51946 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51947 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51948 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51949 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51950 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51951 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51952 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51953 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51954 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51955 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51956 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51957 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51958 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51959 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51960 COND_BUILD_release!$COND_BUILD_release$ac_delim
51961 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51962 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51963 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51964 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
51965 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51966 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51967 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51968 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51969 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51970 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51971 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51972 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51973 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51974 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51975 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51976 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51977 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51978 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51979 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51980 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51981 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51982 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51983 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51984 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51985 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51986 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51987 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51988 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51989 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51990 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51991 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51992 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51993 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51994 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51995 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51996 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51997 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51998 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51999 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52000 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52001 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52002 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52003 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52004 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52005 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52006 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52007 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52008 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52009 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52010 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52011 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52012 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52013 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
52014 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52015 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
52016 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52017 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52018 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52019 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52020 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52021 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52022 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52023 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52024 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52025 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52026 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52027 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52028 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52029 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52030 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52031 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52032 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52033 COND_SHARED_0!$COND_SHARED_0$ac_delim
52034 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52035 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52036 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52037 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52038 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52039 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52040 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52043 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52045 elif $ac_last_try; then
52046 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52047 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52048 { (exit 1); exit 1; }; }
52050 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52054 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52055 if test -n "$ac_eof"; then
52056 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52057 ac_eof
=`expr $ac_eof + 1`
52060 cat >>$CONFIG_STATUS <<_ACEOF
52061 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52062 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52065 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52066 s/^/s,@/; s/!/@,|#_!!_#|/
52069 s/'"$ac_delim"'$/,g/; t
52071 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52072 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52073 rm -f conf$
$subs.
sed
52074 cat >>$CONFIG_STATUS <<_ACEOF
52080 for ac_last_try
in false false false false false
:; do
52081 cat >conf$
$subs.
sed <<_ACEOF
52082 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52083 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52084 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52085 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52086 COND_SHARED_1!$COND_SHARED_1$ac_delim
52087 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52088 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52089 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52090 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52091 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52092 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52093 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52094 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52095 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52096 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52097 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52098 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52099 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52100 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52101 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52102 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52103 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52104 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52105 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52106 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52107 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52108 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52109 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52110 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52111 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52112 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52113 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52114 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52115 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52116 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52117 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52118 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52119 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52120 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52121 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52122 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52123 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52124 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52125 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52126 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52127 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52128 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52129 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52130 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52131 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52132 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52133 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52134 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52135 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52136 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52137 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52138 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52139 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52140 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52141 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52142 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52143 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52144 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52145 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52146 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52147 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52148 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52149 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52150 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52151 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52152 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52153 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52154 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52155 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52156 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52157 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52158 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52159 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52160 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52161 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52162 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52163 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52164 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52165 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52166 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52167 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52168 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52169 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52170 DEREZ!$DEREZ$ac_delim
52171 SHARED!$SHARED$ac_delim
52172 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52173 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52174 USE_GUI!$USE_GUI$ac_delim
52175 AFMINSTALL!$AFMINSTALL$ac_delim
52176 WIN32INSTALL!$WIN32INSTALL$ac_delim
52177 TOOLKIT!$TOOLKIT$ac_delim
52178 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52181 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52183 elif $ac_last_try; then
52184 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52185 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52186 { (exit 1); exit 1; }; }
52188 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52192 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52193 if test -n "$ac_eof"; then
52194 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52195 ac_eof
=`expr $ac_eof + 1`
52198 cat >>$CONFIG_STATUS <<_ACEOF
52199 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52200 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52203 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52204 s/^/s,@/; s/!/@,|#_!!_#|/
52207 s/'"$ac_delim"'$/,g/; t
52209 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52210 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52211 rm -f conf$
$subs.
sed
52212 cat >>$CONFIG_STATUS <<_ACEOF
52218 for ac_last_try
in false false false false false
:; do
52219 cat >conf$
$subs.
sed <<_ACEOF
52220 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52221 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52222 cross_compiling!$cross_compiling$ac_delim
52223 WIDGET_SET!$WIDGET_SET$ac_delim
52224 WX_RELEASE!$WX_RELEASE$ac_delim
52225 WX_VERSION!$WX_VERSION$ac_delim
52226 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52227 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52228 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52229 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52230 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52231 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52232 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52233 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52234 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52235 GUIDIST!$GUIDIST$ac_delim
52236 DISTDIR!$DISTDIR$ac_delim
52237 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52238 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52239 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52240 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52241 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52242 RESCOMP!$RESCOMP$ac_delim
52243 RESFLAGS!$RESFLAGS$ac_delim
52244 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52245 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52246 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52247 LIBWXMACRES!$LIBWXMACRES$ac_delim
52248 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52249 MACSETFILE!$MACSETFILE$ac_delim
52251 DLLTOOL!$DLLTOOL$ac_delim
52252 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52253 LIBOBJS!$LIBOBJS$ac_delim
52254 LTLIBOBJS!$LTLIBOBJS$ac_delim
52257 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
52259 elif $ac_last_try; then
52260 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52261 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52262 { (exit 1); exit 1; }; }
52264 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52268 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52269 if test -n "$ac_eof"; then
52270 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52271 ac_eof
=`expr $ac_eof + 1`
52274 cat >>$CONFIG_STATUS <<_ACEOF
52275 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52276 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52279 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52280 s/^/s,@/; s/!/@,|#_!!_#|/
52283 s/'"$ac_delim"'$/,g/; t
52285 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52286 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52287 rm -f conf$
$subs.
sed
52288 cat >>$CONFIG_STATUS <<_ACEOF
52295 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52296 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52297 # trailing colons and then remove the whole line if VPATH becomes empty
52298 # (actually we leave an empty line to preserve line numbers).
52299 if test "x$srcdir" = x.
; then
52300 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52301 s/:*\$(srcdir):*/:/
52302 s/:*\${srcdir}:*/:/
52304 s/^\([^=]*=[ ]*\):*/\1/
52310 cat >>$CONFIG_STATUS <<\_ACEOF
52311 fi # test -n "$CONFIG_FILES"
52314 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52317 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52319 case $ac_mode$ac_tag in
52321 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52322 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52323 { (exit 1); exit 1; }; };;
52324 :[FH
]-) ac_tag
=-:-;;
52325 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52342 -) ac_f
="$tmp/stdin";;
52343 *) # Look for the file first in the build tree, then in the source tree
52344 # (if the path is not absolute). The absolute path cannot be DOS-style,
52345 # because $ac_f cannot contain `:'.
52349 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52351 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52352 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52353 { (exit 1); exit 1; }; };;
52355 ac_file_inputs
="$ac_file_inputs $ac_f"
52358 # Let's still pretend it is `configure' which instantiates (i.e., don't
52359 # use $as_me), people would be surprised to read:
52360 # /* config.h. Generated by config.status. */
52361 configure_input
="Generated from "`IFS=:
52362 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52363 if test x
"$ac_file" != x
-; then
52364 configure_input
="$ac_file. $configure_input"
52365 { echo "$as_me:$LINENO: creating $ac_file" >&5
52366 echo "$as_me: creating $ac_file" >&6;}
52370 *:-:* | *:-) cat >"$tmp/stdin";;
52375 ac_dir
=`$as_dirname -- "$ac_file" ||
52376 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52377 X"$ac_file" : 'X\(//\)[^/]' \| \
52378 X"$ac_file" : 'X\(//\)$' \| \
52379 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52385 /^X\(\/\/\)[^/].*/{
52400 -*) as_dir
=.
/$as_dir;;
52402 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52406 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52407 *) as_qdir
=$as_dir;;
52409 as_dirs
="'$as_qdir' $as_dirs"
52410 as_dir
=`$as_dirname -- "$as_dir" ||
52411 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52412 X"$as_dir" : 'X\(//\)[^/]' \| \
52413 X"$as_dir" : 'X\(//\)$' \| \
52414 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52420 /^X\(\/\/\)[^/].*/{
52433 test -d "$as_dir" && break
52435 test -z "$as_dirs" || eval "mkdir $as_dirs"
52436 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52437 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52438 { (exit 1); exit 1; }; }; }
52442 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52444 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52445 # A ".." for each directory in $ac_dir_suffix.
52446 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52447 case $ac_top_builddir_sub in
52448 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52449 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52452 ac_abs_top_builddir
=$ac_pwd
52453 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52454 # for backward compatibility:
52455 ac_top_builddir
=$ac_top_build_prefix
52458 .
) # We are building in place.
52460 ac_top_srcdir
=$ac_top_builddir_sub
52461 ac_abs_top_srcdir
=$ac_pwd ;;
52462 [\\/]* | ?
:[\\/]* ) # Absolute name.
52463 ac_srcdir
=$srcdir$ac_dir_suffix;
52464 ac_top_srcdir
=$srcdir
52465 ac_abs_top_srcdir
=$srcdir ;;
52466 *) # Relative name.
52467 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52468 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52469 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52471 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52481 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52482 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52486 cat >>$CONFIG_STATUS <<\_ACEOF
52487 # If the template does not know about datarootdir, expand it.
52488 # FIXME: This hack should be removed a few years after 2.60.
52489 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52491 case `sed -n '/datarootdir/ {
52500 ' $ac_file_inputs` in
52501 *datarootdir
*) ac_datarootdir_seen
=yes;;
52502 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52503 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52504 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52506 cat >>$CONFIG_STATUS <<_ACEOF
52507 ac_datarootdir_hack='
52508 s&@datadir@&$datadir&g
52509 s&@docdir@&$docdir&g
52510 s&@infodir@&$infodir&g
52511 s&@localedir@&$localedir&g
52512 s&@mandir@&$mandir&g
52513 s&\\\${datarootdir}&$datarootdir&g' ;;
52517 # Neutralize VPATH when `$srcdir' = `.'.
52518 # Shell code in configure.ac might set extrasub.
52519 # FIXME: do we really want to maintain this feature?
52520 cat >>$CONFIG_STATUS <<_ACEOF
52524 cat >>$CONFIG_STATUS <<\_ACEOF
52526 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52527 s
&@configure_input@
&$configure_input&;t t
52528 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52529 s
&@srcdir@
&$ac_srcdir&;t t
52530 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52531 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52532 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52533 s
&@builddir@
&$ac_builddir&;t t
52534 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52535 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52536 s
&@INSTALL@
&$ac_INSTALL&;t t
52537 $ac_datarootdir_hack
52538 " $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
52540 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52541 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52542 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52543 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52544 which seems to be undefined. Please make sure it is defined." >&5
52545 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52546 which seems to be undefined. Please make sure it is defined." >&2;}
52550 -) cat "$tmp/out"; rm -f "$tmp/out";;
52551 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52560 # Transform confdefs.h into a sed script `conftest.defines', that
52561 # substitutes the proper values into config.h.in to produce config.h.
52562 rm -f conftest.defines conftest.
tail
52563 # First, append a space to every undef/define line, to ease matching.
52564 echo 's/$/ /' >conftest.defines
52565 # Then, protect against being on the right side of a sed subst, or in
52566 # an unquoted here document, in config.status. If some macros were
52567 # called several times there might be several #defines for the same
52568 # symbol, which is useless. But do not sort them, since the last
52569 # AC_DEFINE must be honored.
52570 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52571 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52572 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52573 # PARAMS is the parameter list in the macro definition--in most cases, it's
52574 # just an empty string.
52575 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52576 ac_dB
='\\)[ (].*,\\1define\\2'
52584 s/^[ ]*#[ ]*define[ ][ ]*//
52589 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52590 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52591 ' >>conftest.defines
52593 # Remove the space that was appended to ease matching.
52594 # Then replace #undef with comments. This is necessary, for
52595 # example, in the case of _POSIX_SOURCE, which is predefined and required
52596 # on some systems where configure will not decide to define it.
52597 # (The regexp can be short, since the line contains either #define or #undef.)
52599 s,^[ #]*u.*,/* & */,' >>conftest.defines
52601 # Break up conftest.defines:
52602 ac_max_sed_lines
=50
52604 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52605 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52606 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52608 ac_in
='$ac_file_inputs'
52609 ac_out
='"$tmp/out1"'
52610 ac_nxt
='"$tmp/out2"'
52614 # Write a here document:
52615 cat >>$CONFIG_STATUS <<_ACEOF
52616 # First, check the format of the line:
52617 cat >"\$tmp/defines.sed" <<\\CEOF
52618 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52619 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52623 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52625 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52626 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52627 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52628 grep . conftest.
tail >/dev
/null
|| break
52629 rm -f conftest.defines
52630 mv conftest.
tail conftest.defines
52632 rm -f conftest.defines conftest.
tail
52634 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52635 cat >>$CONFIG_STATUS <<\_ACEOF
52636 if test x
"$ac_file" != x
-; then
52637 echo "/* $configure_input */" >"$tmp/config.h"
52638 cat "$ac_result" >>"$tmp/config.h"
52639 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52640 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52641 echo "$as_me: $ac_file is unchanged" >&6;}
52644 mv "$tmp/config.h" $ac_file
52647 echo "/* $configure_input */"
52653 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52654 echo "$as_me: executing $ac_file commands" >&6;}
52659 case $ac_file$ac_mode in
52661 mkdir -p $outdir &&
52662 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52664 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52665 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52666 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52667 "wx-config":C
) rm -f wx
-config
52668 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52675 { (exit 0); exit 0; }
52677 chmod +x
$CONFIG_STATUS
52678 ac_clean_files
=$ac_clean_files_save
52681 # configure is writing to config.log, and then calls config.status.
52682 # config.status does its own redirection, appending to config.log.
52683 # Unfortunately, on DOS this fails, as config.log is still kept open
52684 # by configure, so config.status won't be able to write to it; its
52685 # output is simply discarded. So we exec the FD to /dev/null,
52686 # effectively closing config.log, so it can be properly (re)opened and
52687 # appended to by config.status. When coming back to configure, we
52688 # need to make the FD available again.
52689 if test "$no_create" != yes; then
52691 ac_config_status_args
=
52692 test "$silent" = yes &&
52693 ac_config_status_args
="$ac_config_status_args --quiet"
52695 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52697 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52698 # would make configure fail if this is the last instruction.
52699 $ac_cs_success || { (exit 1); exit 1; }
52703 # CONFIG_SUBDIRS section.
52705 if test "$no_recursion" != yes; then
52707 # Remove --cache-file and --srcdir arguments so they do not pile up.
52708 ac_sub_configure_args
=
52710 eval "set x $ac_configure_args"
52714 if test -n "$ac_prev"; then
52719 -cache-file | --cache-file | --cache-fil | --cache-fi \
52720 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52721 ac_prev
=cache_file
;;
52722 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52723 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52726 --config-cache | -C)
52728 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52730 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52732 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52734 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52738 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52740 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52744 # Always prepend --prefix to ensure using the same prefix
52745 # in subdir configurations.
52746 ac_arg
="--prefix=$prefix"
52748 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52750 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52753 if test "$silent" = yes; then
52754 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52758 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52760 # Do not complain, so a configure script can configure whichever
52761 # parts of a large source tree are present.
52762 test -d "$srcdir/$ac_dir" || continue
52764 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52765 echo "$as_me:$LINENO: $ac_msg" >&5
52769 -*) as_dir
=.
/$as_dir;;
52771 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52775 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52776 *) as_qdir
=$as_dir;;
52778 as_dirs
="'$as_qdir' $as_dirs"
52779 as_dir
=`$as_dirname -- "$as_dir" ||
52780 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52781 X"$as_dir" : 'X\(//\)[^/]' \| \
52782 X"$as_dir" : 'X\(//\)$' \| \
52783 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52785 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52789 /^X\(\/\/\)[^/].*/{
52802 test -d "$as_dir" && break
52804 test -z "$as_dirs" || eval "mkdir $as_dirs"
52805 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52806 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52807 { (exit 1); exit 1; }; }; }
52811 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52813 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52814 # A ".." for each directory in $ac_dir_suffix.
52815 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52816 case $ac_top_builddir_sub in
52817 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52818 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52821 ac_abs_top_builddir
=$ac_pwd
52822 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52823 # for backward compatibility:
52824 ac_top_builddir
=$ac_top_build_prefix
52827 .
) # We are building in place.
52829 ac_top_srcdir
=$ac_top_builddir_sub
52830 ac_abs_top_srcdir
=$ac_pwd ;;
52831 [\\/]* | ?
:[\\/]* ) # Absolute name.
52832 ac_srcdir
=$srcdir$ac_dir_suffix;
52833 ac_top_srcdir
=$srcdir
52834 ac_abs_top_srcdir
=$srcdir ;;
52835 *) # Relative name.
52836 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52837 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52838 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52840 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52845 # Check for guested configure; otherwise get Cygnus style configure.
52846 if test -f "$ac_srcdir/configure.gnu"; then
52847 ac_sub_configure
=$ac_srcdir/configure.gnu
52848 elif test -f "$ac_srcdir/configure"; then
52849 ac_sub_configure
=$ac_srcdir/configure
52850 elif test -f "$ac_srcdir/configure.in"; then
52851 # This should be Cygnus configure.
52852 ac_sub_configure
=$ac_aux_dir/configure
52854 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52855 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52859 # The recursion is here.
52860 if test -n "$ac_sub_configure"; then
52861 # Make the cache file name correct relative to the subdirectory.
52862 case $cache_file in
52863 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52864 *) # Relative name.
52865 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52868 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52869 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52870 # The eval makes quoting arguments work.
52871 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52872 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52873 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52874 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52875 { (exit 1); exit 1; }; }
52884 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52886 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52887 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52888 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52889 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52890 if test "$wxUSE_UNICODE" = "yes"; then
52891 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52892 echo " (using UTF-8)"
52894 echo " (using wchar_t)"
52900 echo " What level of wxWidgets compatibility should be enabled?"
52901 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52902 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52904 echo " Which libraries should wxWidgets use?"
52905 echo " STL ${wxUSE_STL}"
52906 echo " jpeg ${wxUSE_LIBJPEG-none}"
52907 echo " png ${wxUSE_LIBPNG-none}"
52908 echo " regex ${wxUSE_REGEX}"
52909 echo " tiff ${wxUSE_LIBTIFF-none}"
52910 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52911 echo " xpm ${wxUSE_LIBXPM-none}"
52913 echo " zlib ${wxUSE_ZLIB}"
52914 echo " expat ${wxUSE_EXPAT}"
52915 echo " libmspack ${wxUSE_LIBMSPACK}"
52916 echo " sdl ${wxUSE_LIBSDL}"