2 # From configure.in Id: configure.in 61272 2009-07-01 09:33:21Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
706 LIBGNOMEPRINTUI_CFLAGS
813 ICC_PCH_CREATE_SWITCH
817 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
818 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
819 COND_BUILD_DEBUG_UNICODE_0
820 COND_BUILD_DEBUG_UNICODE_1
822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
823 COND_BUILD_RELEASE_UNICODE_0
824 COND_BUILD_RELEASE_UNICODE_1
826 COND_BUILD_debug_DEBUG_FLAG_default
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_UNICODE_0
829 COND_BUILD_debug_UNICODE_1
831 COND_BUILD_release_DEBUG_INFO_default
832 COND_BUILD_release_UNICODE_0
833 COND_BUILD_release_UNICODE_1
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
850 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
851 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
852 COND_MONOLITHIC_0_SHARED_1
853 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
859 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
862 COND_MONOLITHIC_0_USE_AUI_1
863 COND_MONOLITHIC_0_USE_GUI_1
864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_USE_HTML_1
866 COND_MONOLITHIC_0_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_USE_QA_1
869 COND_MONOLITHIC_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_USE_STC_1
871 COND_MONOLITHIC_0_USE_XRC_1
873 COND_MONOLITHIC_1_SHARED_0
874 COND_MONOLITHIC_1_SHARED_1
875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
877 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_1
880 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
885 COND_PLATFORM_MACOSX_1_USE_GUI_1
886 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
888 COND_PLATFORM_MACOS_1
891 COND_PLATFORM_MSDOS_0
892 COND_PLATFORM_MSDOS_1
896 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
898 COND_PLATFORM_UNIX_1_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
900 COND_PLATFORM_WIN32_0
901 COND_PLATFORM_WIN32_1
903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
904 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
906 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
910 COND_SHARED_0_USE_STC_1
911 COND_SHARED_0_wxUSE_EXPAT_builtin
912 COND_SHARED_0_wxUSE_REGEX_builtin
913 COND_SHARED_0_wxUSE_ZLIB_builtin
915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
918 COND_TOOLKIT_COCOA_USE_GUI_1
919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_DFB_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_GTK_USE_GUI_1
932 COND_TOOLKIT_MGL_USE_GUI_1
934 COND_TOOLKIT_MOTIF_USE_GUI_1
935 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_MSW_USE_GUI_1
938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW_WXUNIV_0
940 COND_TOOLKIT_OSX_CARBON
941 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA
943 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
944 COND_TOOLKIT_OSX_IPHONE
946 COND_TOOLKIT_PM_USE_GUI_1
947 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
949 COND_TOOLKIT_WINCE_USE_GUI_1
950 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_WINCE_WXUNIV_0
953 COND_TOOLKIT_X11_USE_GUI_1
955 COND_USE_EXCEPTIONS_0
956 COND_USE_EXCEPTIONS_1
959 COND_USE_GUI_1_USE_OPENGL_1
960 COND_USE_GUI_1_WXUNIV_0
961 COND_USE_GUI_1_WXUNIV_1
962 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
964 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
965 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
966 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
967 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
973 COND_USE_SOSYMLINKS_1
974 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
975 COND_USE_SOVERLINUX_1
977 COND_USE_SOVERSOLARIS_1
982 COND_WINDOWS_IMPLIB_1
983 COND_WITH_PLUGIN_SDL_1
986 COND_WXUSE_EXPAT_BUILTIN
987 COND_WXUSE_LIBJPEG_BUILTIN
988 COND_WXUSE_LIBPNG_BUILTIN
989 COND_WXUSE_LIBTIFF_BUILTIN
990 COND_WXUSE_REGEX_BUILTIN
991 COND_WXUSE_ZLIB_BUILTIN
992 COND_wxUSE_EXPAT_builtin
993 COND_wxUSE_LIBJPEG_builtin
994 COND_wxUSE_LIBPNG_builtin
995 COND_wxUSE_LIBTIFF_builtin
996 COND_wxUSE_REGEX_builtin
997 COND_wxUSE_ZLIB_builtin
1000 WX_LIBRARY_BASENAME_NOGUI
1001 WX_LIBRARY_BASENAME_GUI
1021 WXCONFIG_LDFLAGS_GUI
1033 WX_RESOURCES_MACOSX_ASCII
1034 WX_RESOURCES_MACOSX_DATA
1044 ac_precious_vars
='build_alias
1068 LIBGNOMEPRINTUI_CFLAGS
1069 LIBGNOMEPRINTUI_LIBS
1078 ac_subdirs_all
='src/tiff
1081 # Initialize some variables set by options.
1083 ac_init_version
=false
1084 # The variables have the same names as the options, with
1085 # dashes changed to underlines.
1086 cache_file
=/dev
/null
1093 program_transform_name
=s
,x
,x
,
1101 # Installation directory options.
1102 # These are left unexpanded so users can "make install exec_prefix=/foo"
1103 # and all the variables that are supposed to be based on exec_prefix
1104 # by default will actually change.
1105 # Use braces instead of parens because sh, perl, etc. also accept them.
1106 # (The list follows the same order as the GNU Coding Standards.)
1107 bindir
='${exec_prefix}/bin'
1108 sbindir
='${exec_prefix}/sbin'
1109 libexecdir
='${exec_prefix}/libexec'
1110 datarootdir
='${prefix}/share'
1111 datadir
='${datarootdir}'
1112 sysconfdir
='${prefix}/etc'
1113 sharedstatedir
='${prefix}/com'
1114 localstatedir
='${prefix}/var'
1115 includedir
='${prefix}/include'
1116 oldincludedir
='/usr/include'
1117 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1118 infodir
='${datarootdir}/info'
1123 libdir
='${exec_prefix}/lib'
1124 localedir
='${datarootdir}/locale'
1125 mandir
='${datarootdir}/man'
1131 # If the previous option needs an argument, assign it.
1132 if test -n "$ac_prev"; then
1133 eval $ac_prev=\
$ac_option
1139 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1143 # Accept the important Cygnus configure options, so we can diagnose typos.
1145 case $ac_dashdash$ac_option in
1149 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1151 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1152 bindir
=$ac_optarg ;;
1154 -build | --build | --buil | --bui | --bu)
1155 ac_prev
=build_alias
;;
1156 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1157 build_alias
=$ac_optarg ;;
1159 -cache-file | --cache-file | --cache-fil | --cache-fi \
1160 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1161 ac_prev
=cache_file
;;
1162 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1163 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1164 cache_file
=$ac_optarg ;;
1166 --config-cache | -C)
1167 cache_file
=config.cache
;;
1169 -datadir | --datadir | --datadi | --datad)
1171 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1172 datadir
=$ac_optarg ;;
1174 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1175 | --dataroo | --dataro | --datar)
1176 ac_prev
=datarootdir
;;
1177 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1178 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1179 datarootdir
=$ac_optarg ;;
1181 -disable-* | --disable-*)
1182 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1185 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1186 { (exit 1); exit 1; }; }
1187 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1188 eval enable_
$ac_feature=no
;;
1190 -docdir | --docdir | --docdi | --doc | --do)
1192 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1193 docdir
=$ac_optarg ;;
1195 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1197 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1198 dvidir
=$ac_optarg ;;
1200 -enable-* | --enable-*)
1201 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1204 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1205 { (exit 1); exit 1; }; }
1206 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1207 eval enable_
$ac_feature=\
$ac_optarg ;;
1209 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1210 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1211 | --exec | --exe | --ex)
1212 ac_prev
=exec_prefix
;;
1213 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1214 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1215 | --exec=* | --exe=* | --ex=*)
1216 exec_prefix
=$ac_optarg ;;
1218 -gas | --gas | --ga | --g)
1219 # Obsolete; use --with-gas.
1222 -help | --help | --hel | --he | -h)
1223 ac_init_help
=long
;;
1224 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1225 ac_init_help
=recursive
;;
1226 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1227 ac_init_help
=short
;;
1229 -host | --host | --hos | --ho)
1230 ac_prev
=host_alias
;;
1231 -host=* | --host=* | --hos=* | --ho=*)
1232 host_alias
=$ac_optarg ;;
1234 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1236 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1238 htmldir
=$ac_optarg ;;
1240 -includedir | --includedir | --includedi | --included | --include \
1241 | --includ | --inclu | --incl | --inc)
1242 ac_prev
=includedir
;;
1243 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1244 | --includ=* | --inclu=* | --incl=* | --inc=*)
1245 includedir
=$ac_optarg ;;
1247 -infodir | --infodir | --infodi | --infod | --info | --inf)
1249 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1250 infodir
=$ac_optarg ;;
1252 -libdir | --libdir | --libdi | --libd)
1254 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1255 libdir
=$ac_optarg ;;
1257 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1258 | --libexe | --libex | --libe)
1259 ac_prev
=libexecdir
;;
1260 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1261 | --libexe=* | --libex=* | --libe=*)
1262 libexecdir
=$ac_optarg ;;
1264 -localedir | --localedir | --localedi | --localed | --locale)
1265 ac_prev
=localedir
;;
1266 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1267 localedir
=$ac_optarg ;;
1269 -localstatedir | --localstatedir | --localstatedi | --localstated \
1270 | --localstate | --localstat | --localsta | --localst | --locals)
1271 ac_prev
=localstatedir
;;
1272 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1273 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1274 localstatedir
=$ac_optarg ;;
1276 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1278 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1279 mandir
=$ac_optarg ;;
1281 -nfp | --nfp | --nf)
1282 # Obsolete; use --without-fp.
1285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1286 | --no-cr | --no-c | -n)
1289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1293 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1294 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1295 | --oldin | --oldi | --old | --ol | --o)
1296 ac_prev
=oldincludedir
;;
1297 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1298 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1299 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1300 oldincludedir
=$ac_optarg ;;
1302 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1304 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1305 prefix
=$ac_optarg ;;
1307 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1308 | --program-pre | --program-pr | --program-p)
1309 ac_prev
=program_prefix
;;
1310 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1311 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1312 program_prefix
=$ac_optarg ;;
1314 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1315 | --program-suf | --program-su | --program-s)
1316 ac_prev
=program_suffix
;;
1317 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1318 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1319 program_suffix
=$ac_optarg ;;
1321 -program-transform-name | --program-transform-name \
1322 | --program-transform-nam | --program-transform-na \
1323 | --program-transform-n | --program-transform- \
1324 | --program-transform | --program-transfor \
1325 | --program-transfo | --program-transf \
1326 | --program-trans | --program-tran \
1327 | --progr-tra | --program-tr | --program-t)
1328 ac_prev
=program_transform_name
;;
1329 -program-transform-name=* | --program-transform-name=* \
1330 | --program-transform-nam=* | --program-transform-na=* \
1331 | --program-transform-n=* | --program-transform-=* \
1332 | --program-transform=* | --program-transfor=* \
1333 | --program-transfo=* | --program-transf=* \
1334 | --program-trans=* | --program-tran=* \
1335 | --progr-tra=* | --program-tr=* | --program-t=*)
1336 program_transform_name
=$ac_optarg ;;
1338 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1340 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1341 pdfdir
=$ac_optarg ;;
1343 -psdir | --psdir | --psdi | --psd | --ps)
1345 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1349 | -silent | --silent | --silen | --sile | --sil)
1352 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1354 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1356 sbindir
=$ac_optarg ;;
1358 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1359 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1360 | --sharedst | --shareds | --shared | --share | --shar \
1362 ac_prev
=sharedstatedir
;;
1363 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1364 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1365 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1367 sharedstatedir
=$ac_optarg ;;
1369 -site | --site | --sit)
1371 -site=* | --site=* | --sit=*)
1374 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1376 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1377 srcdir
=$ac_optarg ;;
1379 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1380 | --syscon | --sysco | --sysc | --sys | --sy)
1381 ac_prev
=sysconfdir
;;
1382 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1383 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1384 sysconfdir
=$ac_optarg ;;
1386 -target | --target | --targe | --targ | --tar | --ta | --t)
1387 ac_prev
=target_alias
;;
1388 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1389 target_alias
=$ac_optarg ;;
1391 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1394 -version | --version | --versio | --versi | --vers | -V)
1395 ac_init_version
=: ;;
1398 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1399 # Reject names that are not valid shell variable names.
1400 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1401 { echo "$as_me: error: invalid package name: $ac_package" >&2
1402 { (exit 1); exit 1; }; }
1403 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1404 eval with_
$ac_package=\
$ac_optarg ;;
1406 -without-* | --without-*)
1407 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1410 { echo "$as_me: error: invalid package name: $ac_package" >&2
1411 { (exit 1); exit 1; }; }
1412 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1413 eval with_
$ac_package=no
;;
1416 # Obsolete; use --with-x.
1419 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1420 | --x-incl | --x-inc | --x-in | --x-i)
1421 ac_prev
=x_includes
;;
1422 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1423 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1424 x_includes
=$ac_optarg ;;
1426 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1427 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1428 ac_prev
=x_libraries
;;
1429 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1430 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1431 x_libraries
=$ac_optarg ;;
1433 -*) { echo "$as_me: error: unrecognized option: $ac_option
1434 Try \`$0 --help' for more information." >&2
1435 { (exit 1); exit 1; }; }
1439 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1440 # Reject names that are not valid shell variable names.
1441 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1442 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1443 { (exit 1); exit 1; }; }
1444 eval $ac_envvar=\
$ac_optarg
1445 export $ac_envvar ;;
1448 # FIXME: should be removed in autoconf 3.0.
1449 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1450 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1451 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1452 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1458 if test -n "$ac_prev"; then
1459 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1460 { echo "$as_me: error: missing argument to $ac_option" >&2
1461 { (exit 1); exit 1; }; }
1464 # Be sure to have absolute directory names.
1465 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1466 datadir sysconfdir sharedstatedir localstatedir includedir \
1467 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1468 libdir localedir mandir
1470 eval ac_val
=\$
$ac_var
1472 [\\/$
]* | ?
:[\\/]* ) continue;;
1473 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1475 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1476 { (exit 1); exit 1; }; }
1479 # There might be people who depend on the old broken behavior: `$host'
1480 # used to hold the argument of --host etc.
1481 # FIXME: To remove some day.
1484 target
=$target_alias
1486 # FIXME: To remove some day.
1487 if test "x$host_alias" != x
; then
1488 if test "x$build_alias" = x
; then
1489 cross_compiling
=maybe
1490 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1491 If a cross compiler is detected then cross compile mode will be used." >&2
1492 elif test "x$build_alias" != "x$host_alias"; then
1498 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1500 test "$silent" = yes && exec 6>/dev
/null
1503 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1504 ac_ls_di
=`ls -di .` &&
1505 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1506 { echo "$as_me: error: Working directory cannot be determined" >&2
1507 { (exit 1); exit 1; }; }
1508 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1509 { echo "$as_me: error: pwd does not report name of working directory" >&2
1510 { (exit 1); exit 1; }; }
1513 # Find the source files, if location was not specified.
1514 if test -z "$srcdir"; then
1515 ac_srcdir_defaulted
=yes
1516 # Try the directory containing this script, then the parent directory.
1517 ac_confdir
=`$as_dirname -- "$0" ||
1518 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1519 X"$0" : 'X\(//\)[^/]' \| \
1520 X"$0" : 'X\(//\)$' \| \
1521 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1541 if test ! -r "$srcdir/$ac_unique_file"; then
1545 ac_srcdir_defaulted
=no
1547 if test ! -r "$srcdir/$ac_unique_file"; then
1548 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1549 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1550 { (exit 1); exit 1; }; }
1552 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1554 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1555 { (exit 1); exit 1; }; }
1557 # When building in place, set srcdir=.
1558 if test "$ac_abs_confdir" = "$ac_pwd"; then
1561 # Remove unnecessary trailing slashes from srcdir.
1562 # Double slashes in file names in object file debugging info
1563 # mess up M-x gdb in Emacs.
1565 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1567 for ac_var
in $ac_precious_vars; do
1568 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1569 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1570 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1571 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1575 # Report the --help message.
1577 if test "$ac_init_help" = "long"; then
1578 # Omit some internal or obsolete options to make the list less imposing.
1579 # This message is too long to be a string in the A/UX 3.1 sh.
1581 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1583 Usage: $0 [OPTION]... [VAR=VALUE]...
1585 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1586 VAR=VALUE. See below for descriptions of some of the useful variables.
1588 Defaults for the options are specified in brackets.
1591 -h, --help display this help and exit
1592 --help=short display options specific to this package
1593 --help=recursive display the short help of all the included packages
1594 -V, --version display version information and exit
1595 -q, --quiet, --silent do not print \`checking...' messages
1596 --cache-file=FILE cache test results in FILE [disabled]
1597 -C, --config-cache alias for \`--cache-file=config.cache'
1598 -n, --no-create do not create output files
1599 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1601 Installation directories:
1602 --prefix=PREFIX install architecture-independent files in PREFIX
1603 [$ac_default_prefix]
1604 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1607 By default, \`make install' will install all the files in
1608 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1609 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1610 for instance \`--prefix=\$HOME'.
1612 For better control, use the options below.
1614 Fine tuning of the installation directories:
1615 --bindir=DIR user executables [EPREFIX/bin]
1616 --sbindir=DIR system admin executables [EPREFIX/sbin]
1617 --libexecdir=DIR program executables [EPREFIX/libexec]
1618 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1619 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1620 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1621 --libdir=DIR object code libraries [EPREFIX/lib]
1622 --includedir=DIR C header files [PREFIX/include]
1623 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1624 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1625 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1626 --infodir=DIR info documentation [DATAROOTDIR/info]
1627 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1628 --mandir=DIR man documentation [DATAROOTDIR/man]
1629 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1630 --htmldir=DIR html documentation [DOCDIR]
1631 --dvidir=DIR dvi documentation [DOCDIR]
1632 --pdfdir=DIR pdf documentation [DOCDIR]
1633 --psdir=DIR ps documentation [DOCDIR]
1639 --x-includes=DIR X include files are
in DIR
1640 --x-libraries=DIR X library files are
in DIR
1643 --build=BUILD configure
for building on BUILD
[guessed
]
1644 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1648 if test -n "$ac_init_help"; then
1649 case $ac_init_help in
1650 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1655 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1656 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1657 --disable-gui don
't build GUI parts of the library
1658 --enable-monolithic build wxWidgets as single library
1659 --enable-plugins build parts of wxWidgets as loadable components
1660 --enable-official_build official build of wxWidgets (win32 DLL only)
1661 --enable-vendor=VENDOR vendor name (win32 DLL only)
1662 --disable-all-features disable all optional features to build minimal library
1663 --enable-universal use wxWidgets GUI controls instead of native ones
1664 --enable-nanox use NanoX
1665 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1666 --enable-gpe use GNOME PDA Environment features if possible
1667 --disable-shared create static library instead of shared
1668 --enable-debug same as debug_flag and debug_info
1669 --enable-stl use STL for containers
1670 --enable-std_iostreams use standard C++ stream classes
1671 --enable-std_string use standard C++ string classes
1672 --disable-unicode compile without Unicode support
1673 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1674 --enable-utf8 use UTF-8 representation for strings (Unix only)
1675 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1676 --enable-extended_rtti use extended RTTI (XTI)
1677 --enable-omf use OMF object format
1678 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1679 --enable-debug_info create code with debugging information
1680 --disable-optimise compile without optimisations
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt use wxDebugContext
1683 --enable-mem_tracing create code with memory tracing
1684 --enable-profile create code with profiling information
1685 --enable-no_rtti create code without RTTI information
1686 --enable-no_exceptions create code without C++ exceptions handling
1687 --enable-permissive compile code disregarding strict ANSI
1688 --enable-no_deps create code without dependency information
1689 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1690 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1691 --enable-compat26 enable wxWidgets
2.6 compatibility
1692 --disable-compat28 disable wxWidgets
2.8 compatibility
1693 --disable-rpath disable use of rpath
for uninstalled builds
1694 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1695 --disable-visibility disable use of ELF symbols visibility even
if supported
1696 --disable-tls disable use of compiler TLS support
1697 --enable-intl use internationalization system
1698 --enable-xlocale use x
-locale support
(requires wxLocale
)
1699 --enable-config use wxConfig
(and derived
) classes
1700 --enable-protocols use wxProtocol and derived classes
1701 --enable-ftp use wxFTP
(requires wxProtocol
1702 --enable-http use wxHTTP
(requires wxProtocol
1703 --enable-fileproto use wxFileProto class
(requires wxProtocol
1704 --enable-sockets use socket
/network classes
1705 --enable-ipv6 enable IPv6 support
in wxSocket
1706 --enable-ole use OLE classes
(Win32 only
)
1707 --enable-dataobj use data object classes
1708 --enable-ipc use interprocess communication
(wxSocket etc.
)
1709 --enable-baseevtloop use event loop
in console programs too
1710 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1711 --enable-selectloop use wxSelectDispatcher class
1712 --enable-apple_ieee use the Apple IEEE codec
1713 --enable-arcstream use wxArchive streams
1714 --enable-base64 use base64 encoding
/decoding functions
1715 --enable-backtrace use wxStackWalker class
for getting backtraces
1716 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1717 --enable-cmdline use wxCmdLineParser class
1718 --enable-datetime use wxDateTime class
1719 --enable-debugreport use wxDebugReport class
1720 --enable-dialupman use dialup network classes
1721 --enable-dynlib use wxLibrary class
for DLL loading
1722 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1723 --enable-exceptions build exception
-safe library
1724 --enable-ffile use wxFFile class
1725 --enable-file use wxFile class
1726 --enable-filesystem use virtual
file systems classes
1727 --enable-fontenum use wxFontEnumerator class
1728 --enable-fontmap use font encodings conversion classes
1729 --enable-fs_archive use virtual archive filesystems
1730 --enable-fs_inet use virtual HTTP
/FTP filesystems
1731 --enable-fs_zip now replaced by fs_archive
1732 --enable-geometry use geometry class
1733 --enable-log use logging system
1734 --enable-longlong use wxLongLong class
1735 --enable-mimetype use wxMimeTypesManager
1736 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1737 --enable-snglinst use wxSingleInstanceChecker class
1738 --enable-sound use wxSound class
1739 --enable-stdpaths use wxStandardPaths class
1740 --enable-stopwatch use wxStopWatch class
1741 --enable-streams use wxStream etc classes
1742 --enable-sysoptions use wxSystemOptions
1743 --enable-tarstream use wxTar streams
1744 --enable-textbuf use wxTextBuffer class
1745 --enable-textfile use wxTextFile class
1746 --enable-timer use wxTimer class
1747 --enable-variant use wxVariant class
1748 --enable-zipstream use wxZip streams
1749 --enable-url use wxURL class
1750 --enable-protocol use wxProtocol class
1751 --enable-protocol-http HTTP support
in wxProtocol
1752 --enable-protocol-ftp FTP support
in wxProtocol
1753 --enable-protocol-file FILE support
in wxProtocol
1754 --enable-threads use threads
1755 --enable-iniconf use wxIniConfig
(Win32 only
)
1756 --enable-regkey use wxRegKey class
(Win32 only
)
1757 --enable-docview use document view architecture
1758 --enable-help use
help subsystem
1759 --enable-mshtmlhelp use MS HTML Help
(win32
)
1760 --enable-html use wxHTML sub
-library
1761 --enable-htmlhelp use wxHTML
-based help
1762 --enable-xrc use XRC resources sub
-library
1763 --enable-aui use AUI docking library
1764 --enable-propgrid use wxPropertyGrid library
1765 --enable-stc use wxStyledTextCtrl library
1766 --enable-constraints use layout
-constraints system
1767 --enable-loggui use standard GUI logger
1768 --enable-logwin use wxLogWindow
1769 --enable-logdialog use wxLogDialog
1770 --enable-mdi use multiple document interface architecture
1771 --enable-mdidoc use docview architecture with MDI
1772 --enable-mediactrl use wxMediaCtrl class
1773 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1774 --enable-webkit use wxWebKitCtrl
(Mac
)
1775 --enable-richtext use wxRichTextCtrl
1776 --enable-graphics_ctx use graphics context
2D drawing API
1777 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1778 --enable-printarch use printing architecture
1779 --enable-svg use wxSVGFileDC device context
1780 --enable-clipboard use wxClipboard class
1781 --enable-dnd use Drag
'n'Drop classes
1782 --enable-metafile use win32 metafiles
1783 --disable-controls disable compilation of all standard controls
1784 --enable-accel use accelerators
1785 --enable-animatectrl use wxAnimationCtrl class
1786 --enable-bmpbutton use wxBitmapButton class
1787 --enable-bmpcombobox use wxBitmapComboBox class
1788 --enable-button use wxButton class
1789 --enable-calendar use wxCalendarCtrl class
1790 --enable-caret use wxCaret class
1791 --enable-checkbox use wxCheckBox class
1792 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1793 --enable-choice use wxChoice class
1794 --enable-choicebook use wxChoicebook class
1795 --enable-collpane use wxCollapsiblePane class
1796 --enable-colourpicker use wxColourPickerCtrl class
1797 --enable-combobox use wxComboBox class
1798 --enable-comboctrl use wxComboCtrl class
1799 --enable-dataviewctrl use wxDataViewCtrl class
1800 --enable-datepick use wxDatePickerCtrl class
1801 --enable-detect_sm use code to detect X11 session manager
1802 --enable-dirpicker use wxDirPickerCtrl class
1803 --enable-display use wxDisplay class
1804 --enable-editablebox use wxEditableListBox class
1805 --enable-filectrl use wxFileCtrl class
1806 --enable-filepicker use wxFilePickerCtrl class
1807 --enable-fontpicker use wxFontPickerCtrl class
1808 --enable-gauge use wxGauge class
1809 --enable-grid use wxGrid class
1810 --enable-headerctrl use wxHeaderCtrl class
1811 --enable-hyperlink use wxHyperlinkCtrl class
1812 --enable-imaglist use wxImageList class
1813 --enable-listbook use wxListbook class
1814 --enable-listbox use wxListBox class
1815 --enable-listctrl use wxListCtrl class
1816 --enable-notebook use wxNotebook class
1817 --enable-notifmsg use wxNotificationMessage class
1818 --enable-odcombobox use wxOwnerDrawnComboBox class
1819 --enable-popupwin use wxPopUpWindow class
1820 --enable-radiobox use wxRadioBox class
1821 --enable-radiobtn use wxRadioButton class
1822 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1823 --enable-sash use wxSashWindow class
1824 --enable-scrollbar use wxScrollBar class and scrollable windows
1825 --enable-searchctrl use wxSearchCtrl class
1826 --enable-slider use wxSlider class
1827 --enable-spinbtn use wxSpinButton class
1828 --enable-spinctrl use wxSpinCtrl class
1829 --enable-splitter use wxSplitterWindow class
1830 --enable-statbmp use wxStaticBitmap class
1831 --enable-statbox use wxStaticBox class
1832 --enable-statline use wxStaticLine class
1833 --enable-stattext use wxStaticText class
1834 --enable-statusbar use wxStatusBar class
1835 --enable-taskbaricon use wxTaskBarIcon class
1836 --enable-tbarnative use native wxToolBar class
1837 --enable-textctrl use wxTextCtrl class
1838 --enable-tipwindow use wxTipWindow class
1839 --enable-togglebtn use wxToggleButton class
1840 --enable-toolbar use wxToolBar class
1841 --enable-toolbook use wxToolbook class
1842 --enable-treebook use wxTreebook class
1843 --enable-treectrl use wxTreeCtrl class
1844 --enable-commondlg use all common dialogs
1845 --enable-aboutdlg use wxAboutBox
1846 --enable-choicedlg use wxChoiceDialog
1847 --enable-coldlg use wxColourDialog
1848 --enable-filedlg use wxFileDialog
1849 --enable-finddlg use wxFindReplaceDialog
1850 --enable-fontdlg use wxFontDialog
1851 --enable-dirdlg use wxDirDialog
1852 --enable-msgdlg use wxMessageDialog
1853 --enable-numberdlg use wxNumberEntryDialog
1854 --enable-splash use wxSplashScreen
1855 --enable-textdlg use wxTextDialog
1856 --enable-tipdlg use startup tips
1857 --enable-progressdlg use wxProgressDialog
1858 --enable-wizarddlg use wxWizard
1859 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1860 --enable-miniframe use wxMiniFrame class
1861 --enable-tooltips use wxToolTip class
1862 --enable-splines use spline drawing code
1863 --enable-mousewheel use mousewheel
1864 --enable-validators use wxValidator and derived classes
1865 --enable-busyinfo use wxBusyInfo
1866 --enable-joystick use wxJoystick
1867 --enable-metafiles use wxMetaFile
(Win32 only
)
1868 --enable-dragimage use wxDragImage
1869 --enable-accessibility enable accessibility support
1870 --enable-palette use wxPalette class
1871 --enable-image use wxImage class
1872 --enable-gif use gif images
(GIF
file format
)
1873 --enable-pcx use pcx images
(PCX
file format
)
1874 --enable-tga use tga images
(TGA
file format
)
1875 --enable-iff use iff images
(IFF
file format
)
1876 --enable-pnm use pnm images
(PNM
file format
)
1877 --enable-xpm use xpm images
(XPM
file format
)
1878 --enable-ico_cur use Windows ICO and CUR formats
1879 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1880 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1881 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1882 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1883 --enable-wxdib use wxDIB class
(Win32 only
)
1884 --enable-autoidman use automatic ids management
1885 --disable-largefile omit support
for large files
1886 --disable-gtktest do not try to compile and run a
test GTK
+ program
1887 --disable-gtktest Do not try to compile and run a
test GTK program
1888 --disable-sdltest Do not try to compile and run a
test SDL program
1889 --enable-omf use OMF object format
(OS
/2)
1890 --disable-dependency-tracking
1891 don
't use dependency tracking even if the compiler
1893 --disable-precomp-headers
1894 don't use precompiled headers even
if compiler can
1897 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1898 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1899 --without-subdirs don
't generate makefiles for samples/demos/...
1900 --with-flavour=NAME specify a name to identify this build
1901 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1902 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1903 --with-motif use Motif/Lesstif
1904 --with-osx_carbon use Mac OS X (Carbon)
1905 --with-osx_cocoa use Mac OS X (Cocoa)
1906 --with-mac use Mac OS X (Default)
1907 --with-cocoa use Cocoa
1908 --with-wine use Wine
1909 --with-msw use MS-Windows
1910 --with-pm use OS/2 Presentation Manager
1911 --with-mgl use SciTech MGL
1912 --with-directfb use DirectFB
1913 --with-microwin use MicroWindows
1915 --with-libpng use libpng (PNG image format)
1916 --with-libjpeg use libjpeg (JPEG file format)
1917 --with-libtiff use libtiff (TIFF file format)
1918 --with-libxpm use libxpm (XPM file format)
1919 --with-libiconv use libiconv (character conversion)
1920 --with-libmspack use libmspack (CHM help files loading)
1921 --without-gtkprint don't use GTK printing support
1922 --without-gnomeprint don
't use GNOME printing libraries
1923 --with-gnomevfs use GNOME VFS for associating MIME types
1924 --with-hildon use Hildon framework for Nokia 770
1925 --with-opengl use OpenGL (or Mesa)
1926 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1927 --with-sdl use SDL for audio on Unix
1928 --with-regex enable support for wxRegEx class
1929 --with-zlib use zlib for LZW compression
1930 --with-expat enable XML support using expat parser
1931 --with-macosx-sdk=PATH use an OS X SDK at PATH
1932 --with-macosx-version-min=VER build binaries which require at least this OS X version
1933 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1934 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1935 --with-x use the X Window System
1936 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1937 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1938 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1939 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1940 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1942 Some influential environment variables:
1943 CC C compiler command
1944 CFLAGS C compiler flags
1945 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1946 nonstandard directory <lib dir>
1947 LIBS libraries to pass to the linker, e.g. -l<library>
1948 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1949 you have headers in a nonstandard directory <include dir>
1951 CXX C++ compiler command
1952 CXXFLAGS C++ compiler flags
1953 PKG_CONFIG path to pkg-config utility
1955 C compiler flags for DIRECTFB, overriding pkg-config
1957 linker flags for DIRECTFB, overriding pkg-config
1958 XMKMF Path to xmkmf, Makefile generator for X Window System
1960 C compiler flags for PANGOX, overriding pkg-config
1961 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1963 C compiler flags for PANGOFT2, overriding pkg-config
1965 linker flags for PANGOFT2, overriding pkg-config
1967 C compiler flags for PANGOXFT, overriding pkg-config
1969 linker flags for PANGOXFT, overriding pkg-config
1971 C compiler flags for GTKPRINT, overriding pkg-config
1973 linker flags for GTKPRINT, overriding pkg-config
1974 LIBGNOMEPRINTUI_CFLAGS
1975 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1976 LIBGNOMEPRINTUI_LIBS
1977 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1979 C compiler flags for GNOMEVFS, overriding pkg-config
1981 linker flags for GNOMEVFS, overriding pkg-config
1983 C compiler flags for HILDON, overriding pkg-config
1984 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1986 C compiler flags for CAIRO, overriding pkg-config
1987 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1988 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1989 GST_LIBS linker flags for GST, overriding pkg-config
1991 Use these variables to override the choices made by `configure' or to
help
1992 it to
find libraries and programs with nonstandard names
/locations.
1994 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1999 if test "$ac_init_help" = "recursive"; then
2000 # If there are subdirs, report their specific --help.
2001 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2002 test -d "$ac_dir" || continue
2006 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2008 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2009 # A ".." for each directory in $ac_dir_suffix.
2010 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2011 case $ac_top_builddir_sub in
2012 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2013 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2016 ac_abs_top_builddir
=$ac_pwd
2017 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2018 # for backward compatibility:
2019 ac_top_builddir
=$ac_top_build_prefix
2022 .
) # We are building in place.
2024 ac_top_srcdir
=$ac_top_builddir_sub
2025 ac_abs_top_srcdir
=$ac_pwd ;;
2026 [\\/]* | ?
:[\\/]* ) # Absolute name.
2027 ac_srcdir
=$srcdir$ac_dir_suffix;
2028 ac_top_srcdir
=$srcdir
2029 ac_abs_top_srcdir
=$srcdir ;;
2031 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2032 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2033 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2035 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2037 cd "$ac_dir" || { ac_status
=$?
; continue; }
2038 # Check for guested configure.
2039 if test -f "$ac_srcdir/configure.gnu"; then
2041 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2042 elif test -f "$ac_srcdir/configure"; then
2044 $SHELL "$ac_srcdir/configure" --help=recursive
2046 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2048 cd "$ac_pwd" || { ac_status
=$?
; break; }
2052 test -n "$ac_init_help" && exit $ac_status
2053 if $ac_init_version; then
2055 wxWidgets configure
2.9.0
2056 generated by GNU Autoconf
2.61
2058 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2059 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2060 This configure
script is free software
; the Free Software Foundation
2061 gives unlimited permission to copy
, distribute and modify it.
2065 cat >config.log
<<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2069 It was created by wxWidgets $as_me 2.9.0, which was
2070 generated by GNU Autoconf 2.61. Invocation command line was
2082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2091 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2092 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2095 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2096 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2097 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir
=.
2106 echo "PATH: $as_dir"
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2130 ac_must_keep_next
=false
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2141 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2144 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2146 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2147 if test $ac_must_keep_next = true
; then
2148 ac_must_keep_next
=false
# Got value, back to normal.
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2159 -* ) ac_must_keep_next
=true
;;
2162 ac_configure_args
="$ac_configure_args '$ac_arg'"
2167 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2168 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2181 ## ---------------- ##
2182 ## Cache variables. ##
2183 ## ---------------- ##
2186 # The following way of writing the cache mishandles newlines in values,
2188 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2189 eval ac_val=\$$ac_var
2193 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2194 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2197 _ | IFS | as_nl) ;; #(
2198 *) $as_unset $ac_var ;;
2203 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2204 *${as_nl}ac_space=\ *)
2206 "s/'\''/'\''\\\\'\'''\''/g;
2207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2218 ## ----------------- ##
2219 ## Output variables. ##
2220 ## ----------------- ##
2223 for ac_var in $ac_subst_vars
2225 eval ac_val=\$$ac_var
2227 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2229 echo "$ac_var='\''$ac_val'\''"
2233 if test -n "$ac_subst_files"; then
2235 ## ------------------- ##
2236 ## File substitutions. ##
2237 ## ------------------- ##
2240 for ac_var
in $ac_subst_files
2242 eval ac_val
=\$
$ac_var
2244 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2246 echo "$ac_var='\''$ac_val'\''"
2251 if test -s confdefs.h; then
2261 test "$ac_signal" != 0 &&
2262 echo "$as_me: caught signal $ac_signal"
2263 echo "$as_me: exit $exit_status"
2265 rm -f core *.core core.conftest.* &&
2266 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2269 for ac_signal
in 1 2 13 15; do
2270 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2274 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2275 rm -f -r conftest
* confdefs.h
2277 # Predefined preprocessor variables.
2279 cat >>confdefs.h
<<_ACEOF
2280 #define PACKAGE_NAME "$PACKAGE_NAME"
2284 cat >>confdefs.h
<<_ACEOF
2285 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2289 cat >>confdefs.h
<<_ACEOF
2290 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2294 cat >>confdefs.h
<<_ACEOF
2295 #define PACKAGE_STRING "$PACKAGE_STRING"
2299 cat >>confdefs.h
<<_ACEOF
2300 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2304 # Let the site file select an alternate cache file if it wants to.
2305 # Prefer explicitly selected file to automatically selected ones.
2306 if test -n "$CONFIG_SITE"; then
2307 set x
"$CONFIG_SITE"
2308 elif test "x$prefix" != xNONE
; then
2309 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2311 set x
"$ac_default_prefix/share/config.site" \
2312 "$ac_default_prefix/etc/config.site"
2317 if test -r "$ac_site_file"; then
2318 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2319 echo "$as_me: loading site script $ac_site_file" >&6;}
2320 sed 's/^/| /' "$ac_site_file" >&5
2325 if test -r "$cache_file"; then
2326 # Some versions of bash will fail to source /dev/null (special
2327 # files actually), so we avoid doing that.
2328 if test -f "$cache_file"; then
2329 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2330 echo "$as_me: loading cache $cache_file" >&6;}
2332 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2333 *) .
"./$cache_file";;
2337 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2338 echo "$as_me: creating cache $cache_file" >&6;}
2342 # Check that the precious variables saved in the cache have kept the same
2344 ac_cache_corrupted
=false
2345 for ac_var
in $ac_precious_vars; do
2346 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2347 eval ac_new_set
=\
$ac_env_${ac_var}_set
2348 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2349 eval ac_new_val
=\
$ac_env_${ac_var}_value
2350 case $ac_old_set,$ac_new_set in
2352 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2353 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2354 ac_cache_corrupted
=: ;;
2356 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2357 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2358 ac_cache_corrupted
=: ;;
2361 if test "x$ac_old_val" != "x$ac_new_val"; then
2362 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2363 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2364 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2365 echo "$as_me: former value: $ac_old_val" >&2;}
2366 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2367 echo "$as_me: current value: $ac_new_val" >&2;}
2368 ac_cache_corrupted
=:
2371 # Pass precious variables to config.status.
2372 if test "$ac_new_set" = set; then
2374 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2375 *) ac_arg
=$ac_var=$ac_new_val ;;
2377 case " $ac_configure_args " in
2378 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2379 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2383 if $ac_cache_corrupted; then
2384 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2385 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2386 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2387 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2388 { (exit 1); exit 1; }; }
2416 ac_cpp
='$CPP $CPPFLAGS'
2417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2426 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2427 if test -f "$ac_dir/install-sh"; then
2429 ac_install_sh
="$ac_aux_dir/install-sh -c"
2431 elif test -f "$ac_dir/install.sh"; then
2433 ac_install_sh
="$ac_aux_dir/install.sh -c"
2435 elif test -f "$ac_dir/shtool"; then
2437 ac_install_sh
="$ac_aux_dir/shtool install -c"
2441 if test -z "$ac_aux_dir"; then
2442 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2443 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2444 { (exit 1); exit 1; }; }
2447 # These three variables are undocumented and unsupported,
2448 # and are intended to be withdrawn in a future Autoconf release.
2449 # They can cause serious problems if a builder's source tree is in a directory
2450 # whose full name contains unusual characters.
2451 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2452 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2453 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2456 # Make sure we can run config.sub.
2457 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2458 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2459 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2460 { (exit 1); exit 1; }; }
2462 { echo "$as_me:$LINENO: checking build system type" >&5
2463 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2464 if test "${ac_cv_build+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 ac_build_alias
=$build_alias
2468 test "x$ac_build_alias" = x
&&
2469 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2470 test "x$ac_build_alias" = x
&&
2471 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2472 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2473 { (exit 1); exit 1; }; }
2474 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2480 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2481 echo "${ECHO_T}$ac_cv_build" >&6; }
2482 case $ac_cv_build in
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2485 echo "$as_me: error: invalid value of canonical build" >&2;}
2486 { (exit 1); exit 1; }; };;
2489 ac_save_IFS
=$IFS; IFS
='-'
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2499 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2502 { echo "$as_me:$LINENO: checking host system type" >&5
2503 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_host+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 if test "x$host_alias" = x
; then
2508 ac_cv_host
=$ac_cv_build
2510 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2517 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2518 echo "${ECHO_T}$ac_cv_host" >&6; }
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2522 echo "$as_me: error: invalid value of canonical host" >&2;}
2523 { (exit 1); exit 1; }; };;
2526 ac_save_IFS
=$IFS; IFS
='-'
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2536 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2540 if test "$cross_compiling" != "no"; then
2541 HOST_PREFIX
="${host_alias}-"
2542 HOST_SUFFIX
="-$host_alias"
2549 wx_major_version_number
=2
2550 wx_minor_version_number
=9
2552 wx_subrelease_number
=0
2554 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2555 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2556 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2558 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2561 wx_top_builddir
="`pwd`"
2574 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2580 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2586 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2588 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2590 DEFAULT_wxUSE_COCOA
=0
2592 DEFAULT_wxUSE_OSX_CARBON
=0
2593 DEFAULT_wxUSE_OSX_COCOA
=0
2595 DEFAULT_wxUSE_MICROWIN
=0
2596 DEFAULT_wxUSE_MOTIF
=0
2602 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2603 DEFAULT_DEFAULT_wxUSE_GTK
=0
2604 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2605 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2606 DEFAULT_DEFAULT_wxUSE_MGL
=0
2607 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2608 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2609 DEFAULT_DEFAULT_wxUSE_MSW
=0
2610 DEFAULT_DEFAULT_wxUSE_PM
=0
2611 DEFAULT_DEFAULT_wxUSE_X11
=0
2612 DEFAULT_DEFAULT_wxUSE_DFB
=0
2616 DYLIB_RPATH_INSTALL
=
2617 DYLIB_RPATH_POSTLINK
=
2619 DEFAULT_STD_FLAG
=yes
2624 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2625 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2626 cat >>confdefs.h
<<\_ACEOF
2631 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2635 cat >>confdefs.h
<<\_ACEOF
2640 if test "x$TMP" = "xalpha"; then
2642 cat >>confdefs.h
<<\_ACEOF
2647 DEFAULT_DEFAULT_wxUSE_GTK
=1
2649 *-*-gnu* | *-*-k*bsd
*-gnu )
2652 if test "x$TMP" = "xalpha"; then
2654 cat >>confdefs.h
<<\_ACEOF
2659 DEFAULT_DEFAULT_wxUSE_GTK
=1
2661 *-*-irix5* | *-*-irix6* )
2664 cat >>confdefs.h
<<\_ACEOF
2668 cat >>confdefs.h
<<\_ACEOF
2672 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2678 cat >>confdefs.h
<<\_ACEOF
2682 cat >>confdefs.h
<<\_ACEOF
2683 #define __SOLARIS__ 1
2686 cat >>confdefs.h
<<\_ACEOF
2690 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2691 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2697 cat >>confdefs.h
<<\_ACEOF
2701 cat >>confdefs.h
<<\_ACEOF
2705 cat >>confdefs.h
<<\_ACEOF
2709 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2714 cat >>confdefs.h
<<\_ACEOF
2715 #define __FREEBSD__ 1
2718 cat >>confdefs.h
<<\_ACEOF
2722 DEFAULT_DEFAULT_wxUSE_GTK
=1
2724 *-*-openbsd*|*-*-mirbsd*)
2727 cat >>confdefs.h
<<\_ACEOF
2728 #define __OPENBSD__ 1
2731 cat >>confdefs.h
<<\_ACEOF
2735 DEFAULT_DEFAULT_wxUSE_GTK
=1
2740 cat >>confdefs.h
<<\_ACEOF
2741 #define __NETBSD__ 1
2744 cat >>confdefs.h
<<\_ACEOF
2748 DEFAULT_DEFAULT_wxUSE_GTK
=1
2749 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2751 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2756 cat >>confdefs.h
<<\_ACEOF
2760 cat >>confdefs.h
<<\_ACEOF
2764 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2765 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2770 cat >>confdefs.h
<<\_ACEOF
2774 cat >>confdefs.h
<<\_ACEOF
2778 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2783 cat >>confdefs.h
<<\_ACEOF
2787 cat >>confdefs.h
<<\_ACEOF
2791 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2797 cat >>confdefs.h
<<\_ACEOF
2801 cat >>confdefs.h
<<\_ACEOF
2805 cat >>confdefs.h
<<\_ACEOF
2809 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2816 cat >>confdefs.h
<<\_ACEOF
2817 #define __UNIXWARE__ 1
2822 *-*-cygwin* | *-*-mingw32* )
2824 DEFAULT_DEFAULT_wxUSE_MSW
=1
2830 cat >>confdefs.h
<<\_ACEOF
2835 DEFAULT_DEFAULT_wxUSE_MGL
=1
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h
<<\_ACEOF
2844 cat >>confdefs.h
<<\_ACEOF
2849 DEFAULT_DEFAULT_wxUSE_PM
=1
2851 LDFLAGS
="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions
=".exe"
2853 export ac_executable_extensions
2857 for ac_dir
in $PATH; do
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH
="$ac_dir"
2862 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2865 export PATH
="$ac_TEMP_PATH"
2873 cat >>confdefs.h
<<\_ACEOF
2877 cat >>confdefs.h
<<\_ACEOF
2878 #define __DARWIN__ 1
2881 cat >>confdefs.h
<<\_ACEOF
2882 #define TARGET_CARBON 1
2885 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2890 cat >>confdefs.h
<<\_ACEOF
2897 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2898 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2899 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2900 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2902 DEFAULT_DEFAULT_wxUSE_X11
=1
2903 DEFAULT_wxUSE_SHARED
=no
2908 DEFAULT_wxUSE_ALL_FEATURES
=yes
2910 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2911 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2913 DEFAULT_wxUSE_DMALLOC
=no
2914 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2915 DEFAULT_wxUSE_LIBHILDON
=no
2916 DEFAULT_wxUSE_LIBMSPACK
=no
2917 DEFAULT_wxUSE_LIBSDL
=no
2919 DEFAULT_wxUSE_ACCESSIBILITY
=no
2920 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2921 DEFAULT_wxUSE_IPV6
=no
2922 DEFAULT_wxUSE_GSTREAMER8
=no
2924 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2925 DEFAULT_wxUSE_OPENGL
=auto
2926 DEFAULT_wxUSE_MEDIACTRL
=auto
2927 DEFAULT_wxUSE_COMPILER_TLS
=auto
2929 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2931 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2933 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2935 DEFAULT_wxUSE_GTK2
=yes
2937 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2943 enablestring
=disable
2945 if test -z "$defaultval"; then
2946 if test x
"$enablestring" = xdisable
; then
2953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2954 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2955 # Check whether --enable-gui was given.
2956 if test "${enable_gui+set}" = set; then
2957 enableval
=$enable_gui;
2958 if test "$enableval" = yes; then
2959 wx_cv_use_gui
='wxUSE_GUI=yes'
2961 wx_cv_use_gui
='wxUSE_GUI=no'
2966 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2971 eval "$wx_cv_use_gui"
2973 if test x"$enablestring" = xdisable; then
2974 if test $wxUSE_GUI = no; then
2983 { echo "$as_me:$LINENO: result: $result" >&5
2984 echo "${ECHO_T}$result" >&6; }
2989 if test -z "$defaultval"; then
2990 if test x"$enablestring" = xdisable; then
2997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2998 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
2999 # Check whether --enable-monolithic was given.
3000 if test "${enable_monolithic+set}" = set; then
3001 enableval=$enable_monolithic;
3002 if test "$enableval" = yes; then
3003 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3005 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3010 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3015 eval "$wx_cv_use_monolithic"
3017 if test x"$enablestring" = xdisable; then
3018 if test $wxUSE_MONOLITHIC = no; then
3024 result=$wxUSE_MONOLITHIC
3027 { echo "$as_me:$LINENO: result
: $result" >&5
3028 echo "${ECHO_T}$result" >&6; }
3033 if test -z "$defaultval"; then
3034 if test x"$enablestring" = xdisable; then
3041 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3042 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3043 # Check whether --enable-plugins was given.
3044 if test "${enable_plugins+set}" = set; then
3045 enableval=$enable_plugins;
3046 if test "$enableval" = yes; then
3047 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3049 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3054 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3059 eval "$wx_cv_use_plugins"
3061 if test x
"$enablestring" = xdisable
; then
3062 if test $wxUSE_PLUGINS = no
; then
3068 result
=$wxUSE_PLUGINS
3071 { echo "$as_me:$LINENO: result: $result" >&5
3072 echo "${ECHO_T}$result" >&6; }
3076 defaultval
=$wxUSE_ALL_FEATURES
3077 if test -z "$defaultval"; then
3078 if test x
"$withstring" = xwithout
; then
3084 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3085 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3087 # Check whether --with-subdirs was given.
3088 if test "${with_subdirs+set}" = set; then
3089 withval
=$with_subdirs;
3090 if test "$withval" = yes; then
3091 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3093 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3098 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3103 eval "$wx_cv_use_subdirs"
3105 if test x"$withstring" = xwithout; then
3106 if test $wxWITH_SUBDIRS = yes; then
3112 result=$wxWITH_SUBDIRS
3115 { echo "$as_me:$LINENO: result: $result" >&5
3116 echo "${ECHO_T}$result" >&6; }
3119 # Check whether --with-flavour was given.
3120 if test "${with_flavour+set}" = set; then
3121 withval=$with_flavour; WX_FLAVOUR="$withval"
3127 if test -z "$defaultval"; then
3128 if test x"$enablestring" = xdisable; then
3135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3136 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3137 # Check whether --enable-official_build was given.
3138 if test "${enable_official_build+set}" = set; then
3139 enableval=$enable_official_build;
3140 if test "$enableval" = yes; then
3141 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3143 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3148 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3153 eval "$wx_cv_use_official_build"
3155 if test x"$enablestring" = xdisable; then
3156 if test $wxUSE_OFFICIAL_BUILD = no; then
3162 result=$wxUSE_OFFICIAL_BUILD
3165 { echo "$as_me:$LINENO: result
: $result" >&5
3166 echo "${ECHO_T}$result" >&6; }
3168 # Check whether --enable-vendor was given.
3169 if test "${enable_vendor+set}" = set; then
3170 enableval=$enable_vendor; VENDOR="$enableval"
3173 if test "x
$VENDOR" = "x
"; then
3178 enablestring=disable
3180 if test -z "$defaultval"; then
3181 if test x"$enablestring" = xdisable; then
3188 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3189 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3190 # Check whether --enable-all-features was given.
3191 if test "${enable_all_features+set}" = set; then
3192 enableval=$enable_all_features;
3193 if test "$enableval" = yes; then
3194 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3196 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3201 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3206 eval "$wx_cv_use_all_features"
3208 if test x
"$enablestring" = xdisable
; then
3209 if test $wxUSE_ALL_FEATURES = no
; then
3215 result
=$wxUSE_ALL_FEATURES
3218 { echo "$as_me:$LINENO: result: $result" >&5
3219 echo "${ECHO_T}$result" >&6; }
3222 if test "$wxUSE_ALL_FEATURES" = "no"; then
3223 DEFAULT_wxUSE_MEDIACTRL
=no
3227 if test "$wxUSE_GUI" = "yes"; then
3232 if test -z "$defaultval"; then
3233 if test x
"$enablestring" = xdisable
; then
3240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3241 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3242 # Check whether --enable-universal was given.
3243 if test "${enable_universal+set}" = set; then
3244 enableval
=$enable_universal;
3245 if test "$enableval" = yes; then
3246 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3248 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3253 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3258 eval "$wx_cv_use_universal"
3260 if test x"$enablestring" = xdisable; then
3261 if test $wxUSE_UNIVERSAL = no; then
3267 result=$wxUSE_UNIVERSAL
3270 { echo "$as_me:$LINENO: result: $result" >&5
3271 echo "${ECHO_T}$result" >&6; }
3273 if test "$wxUSE_UNIVERSAL" = "yes"; then
3275 # Check whether --with-themes was given.
3276 if test "${with_themes+set}" = set; then
3277 withval=$with_themes; wxUNIV_THEMES="$withval"
3283 # Check whether --with-gtk was given.
3284 if test "${with_gtk+set}" = set; then
3285 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3289 # Check whether --with-motif was given.
3290 if test "${with_motif+set}" = set; then
3291 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3295 # Check whether --with-osx_carbon was given.
3296 if test "${with_osx_carbon+set}" = set; then
3297 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3301 # Check whether --with-osx_cocoa was given.
3302 if test "${with_osx_cocoa+set}" = set; then
3303 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3307 # Check whether --with-mac was given.
3308 if test "${with_mac+set}" = set; then
3309 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3313 # Check whether --with-cocoa was given.
3314 if test "${with_cocoa+set}" = set; then
3315 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3319 # Check whether --with-wine was given.
3320 if test "${with_wine+set}" = set; then
3321 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3325 # Check whether --with-msw was given.
3326 if test "${with_msw+set}" = set; then
3327 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3331 # Check whether --with-pm was given.
3332 if test "${with_pm+set}" = set; then
3333 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3337 # Check whether --with-mgl was given.
3338 if test "${with_mgl+set}" = set; then
3339 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3343 # Check whether --with-directfb was given.
3344 if test "${with_directfb+set}" = set; then
3345 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3349 # Check whether --with-microwin was given.
3350 if test "${with_microwin+set}" = set; then
3351 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3355 # Check whether --with-x11 was given.
3356 if test "${with_x11+set}" = set; then
3357 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3363 if test -z "$defaultval"; then
3364 if test x"$enablestring" = xdisable; then
3371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3372 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3373 # Check whether --enable-nanox was given.
3374 if test "${enable_nanox+set}" = set; then
3375 enableval=$enable_nanox;
3376 if test "$enableval" = yes; then
3377 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3379 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3384 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3389 eval "$wx_cv_use_nanox"
3391 if test x"$enablestring" = xdisable; then
3392 if test $wxUSE_NANOX = no; then
3401 { echo "$as_me:$LINENO: result
: $result" >&5
3402 echo "${ECHO_T}$result" >&6; }
3405 # Check whether --enable-gtk2 was given.
3406 if test "${enable_gtk2+set}" = set; then
3407 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3413 if test -z "$defaultval"; then
3414 if test x"$enablestring" = xdisable; then
3421 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3422 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3423 # Check whether --enable-gpe was given.
3424 if test "${enable_gpe+set}" = set; then
3425 enableval=$enable_gpe;
3426 if test "$enableval" = yes; then
3427 wx_cv_use_gpe='wxUSE_GPE=yes'
3429 wx_cv_use_gpe='wxUSE_GPE=no'
3434 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3439 eval "$wx_cv_use_gpe"
3441 if test x
"$enablestring" = xdisable
; then
3442 if test $wxUSE_GPE = no
; then
3451 { echo "$as_me:$LINENO: result: $result" >&5
3452 echo "${ECHO_T}$result" >&6; }
3456 { echo "$as_me:$LINENO: checking for toolkit" >&5
3457 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3461 # In Wine, we need to default to MSW, not GTK or MOTIF
3462 if test "$wxUSE_WINE" = "yes"; then
3463 DEFAULT_DEFAULT_wxUSE_GTK
=0
3464 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3465 DEFAULT_DEFAULT_wxUSE_MSW
=1
3472 if test "$wxUSE_GUI" = "yes"; then
3474 if test "$USE_BEOS" = 1; then
3475 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3476 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3477 { (exit 1); exit 1; }; }
3480 if test "$TOOLKIT_GIVEN" = 1; then
3481 for toolkit
in $ALL_TOOLKITS; do
3483 eval "value=\$${var}"
3484 if test "x$value" = "xno"; then
3486 elif test "x$value" != "x"; then
3490 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3491 eval "wx${toolkit}_VERSION=$value"
3495 for toolkit
in $ALL_TOOLKITS; do
3496 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3497 eval "wxUSE_$toolkit=\$${var}"
3501 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3502 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3503 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3506 *-pc-os2_emx | *-pc-os2-emx )
3507 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3510 case "$NUM_TOOLKITS" in
3514 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3515 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3516 { (exit 1); exit 1; }; }
3519 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3520 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3521 { (exit 1); exit 1; }; }
3524 # to be removed when --disable-gtk2 isn't needed
3525 if test "x$wxUSE_GTK2" = "xyes"; then
3527 elif test "x$wxUSE_GTK2" = "xno"; then
3531 for toolkit
in $ALL_TOOLKITS; do
3533 eval "value=\$${var}"
3534 if test "$value" = 1; then
3535 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3536 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3537 echo "${ECHO_T}$toolkit_echo" >&6; }
3541 if test "x$host_alias" != "x"; then
3542 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3543 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3545 { echo "$as_me:$LINENO: result: base only" >&5
3546 echo "${ECHO_T}base only" >&6; }
3551 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3557 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3558 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3560 # Check whether --with-libpng was given.
3561 if test "${with_libpng+set}" = set; then
3562 withval
=$with_libpng;
3563 if test "$withval" = yes; then
3564 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3565 elif test "$withval" = no
; then
3566 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3567 elif test "$withval" = sys
; then
3568 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3569 elif test "$withval" = builtin; then
3570 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3572 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3573 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3574 { (exit 1); exit 1; }; }
3579 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3584 eval "$wx_cv_use_libpng"
3586 if test "$wxUSE_LIBPNG" = yes; then
3587 { echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6; }
3589 elif test "$wxUSE_LIBPNG" = no; then
3590 { echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6; }
3592 elif test "$wxUSE_LIBPNG" = sys; then
3593 { echo "$as_me:$LINENO: result: system version" >&5
3594 echo "${ECHO_T}system version" >&6; }
3595 elif test "$wxUSE_LIBPNG" = builtin; then
3596 { echo "$as_me:$LINENO: result: builtin version" >&5
3597 echo "${ECHO_T}builtin version" >&6; }
3599 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3600 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3601 { (exit 1); exit 1; }; }
3605 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3606 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3608 # Check whether --with-libjpeg was given.
3609 if test "${with_libjpeg+set}" = set; then
3610 withval=$with_libjpeg;
3611 if test "$withval" = yes; then
3612 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3613 elif test "$withval" = no; then
3614 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3615 elif test "$withval" = sys; then
3616 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3617 elif test "$withval" = builtin; then
3618 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3620 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3621 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3622 { (exit 1); exit 1; }; }
3627 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3632 eval "$wx_cv_use_libjpeg"
3634 if test "$wxUSE_LIBJPEG" = yes; then
3635 { echo "$as_me:$LINENO: result
: yes" >&5
3636 echo "${ECHO_T}yes" >&6; }
3637 elif test "$wxUSE_LIBJPEG" = no; then
3638 { echo "$as_me:$LINENO: result
: no
" >&5
3639 echo "${ECHO_T}no
" >&6; }
3640 elif test "$wxUSE_LIBJPEG" = sys; then
3641 { echo "$as_me:$LINENO: result
: system version
" >&5
3642 echo "${ECHO_T}system version
" >&6; }
3643 elif test "$wxUSE_LIBJPEG" = builtin; then
3644 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3645 echo "${ECHO_T}builtin version
" >&6; }
3647 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3648 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3649 { (exit 1); exit 1; }; }
3653 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3654 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3656 # Check whether --with-libtiff was given.
3657 if test "${with_libtiff+set}" = set; then
3658 withval=$with_libtiff;
3659 if test "$withval" = yes; then
3660 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3661 elif test "$withval" = no; then
3662 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3663 elif test "$withval" = sys; then
3664 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3665 elif test "$withval" = builtin; then
3666 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3668 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3669 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3670 { (exit 1); exit 1; }; }
3675 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3680 eval "$wx_cv_use_libtiff"
3682 if test "$wxUSE_LIBTIFF" = yes; then
3683 { echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6; }
3685 elif test "$wxUSE_LIBTIFF" = no
; then
3686 { echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6; }
3688 elif test "$wxUSE_LIBTIFF" = sys
; then
3689 { echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6; }
3691 elif test "$wxUSE_LIBTIFF" = builtin; then
3692 { echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6; }
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3701 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3702 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3704 # Check whether --with-libxpm was given.
3705 if test "${with_libxpm+set}" = set; then
3706 withval
=$with_libxpm;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3709 elif test "$withval" = no
; then
3710 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3711 elif test "$withval" = sys
; then
3712 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3723 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3728 eval "$wx_cv_use_libxpm"
3730 if test "$wxUSE_LIBXPM" = yes; then
3731 { echo "$as_me:$LINENO: result: yes" >&5
3732 echo "${ECHO_T}yes" >&6; }
3733 elif test "$wxUSE_LIBXPM" = no; then
3734 { echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6; }
3736 elif test "$wxUSE_LIBXPM" = sys; then
3737 { echo "$as_me:$LINENO: result: system version" >&5
3738 echo "${ECHO_T}system version" >&6; }
3739 elif test "$wxUSE_LIBXPM" = builtin; then
3740 { echo "$as_me:$LINENO: result: builtin version" >&5
3741 echo "${ECHO_T}builtin version" >&6; }
3743 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3744 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3745 { (exit 1); exit 1; }; }
3750 defaultval=$wxUSE_ALL_FEATURES
3751 if test -z "$defaultval"; then
3752 if test x"$withstring" = xwithout; then
3758 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3759 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3761 # Check whether --with-libiconv was given.
3762 if test "${with_libiconv+set}" = set; then
3763 withval=$with_libiconv;
3764 if test "$withval" = yes; then
3765 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3767 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3772 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3777 eval "$wx_cv_use_libiconv"
3779 if test x"$withstring" = xwithout; then
3780 if test $wxUSE_LIBICONV = yes; then
3786 result=$wxUSE_LIBICONV
3789 { echo "$as_me:$LINENO: result
: $result" >&5
3790 echo "${ECHO_T}$result" >&6; }
3794 defaultval=$wxUSE_ALL_FEATURES
3795 if test -z "$defaultval"; then
3796 if test x"$withstring" = xwithout; then
3802 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3803 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3805 # Check whether --with-libmspack was given.
3806 if test "${with_libmspack+set}" = set; then
3807 withval=$with_libmspack;
3808 if test "$withval" = yes; then
3809 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3811 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3816 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3821 eval "$wx_cv_use_libmspack"
3823 if test x
"$withstring" = xwithout
; then
3824 if test $wxUSE_LIBMSPACK = yes; then
3830 result
=$wxUSE_LIBMSPACK
3833 { echo "$as_me:$LINENO: result: $result" >&5
3834 echo "${ECHO_T}$result" >&6; }
3838 defaultval
=$wxUSE_ALL_FEATURES
3839 if test -z "$defaultval"; then
3840 if test x
"$withstring" = xwithout
; then
3846 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3847 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3849 # Check whether --with-gtkprint was given.
3850 if test "${with_gtkprint+set}" = set; then
3851 withval
=$with_gtkprint;
3852 if test "$withval" = yes; then
3853 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3855 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3860 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3865 eval "$wx_cv_use_gtkprint"
3867 if test x"$withstring" = xwithout; then
3868 if test $wxUSE_GTKPRINT = yes; then
3874 result=$wxUSE_GTKPRINT
3877 { echo "$as_me:$LINENO: result: $result" >&5
3878 echo "${ECHO_T}$result" >&6; }
3882 defaultval=$wxUSE_ALL_FEATURES
3883 if test -z "$defaultval"; then
3884 if test x"$withstring" = xwithout; then
3890 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3891 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3893 # Check whether --with-gnomeprint was given.
3894 if test "${with_gnomeprint+set}" = set; then
3895 withval=$with_gnomeprint;
3896 if test "$withval" = yes; then
3897 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3899 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3904 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3909 eval "$wx_cv_use_gnomeprint"
3911 if test x"$withstring" = xwithout; then
3912 if test $wxUSE_LIBGNOMEPRINT = yes; then
3918 result=$wxUSE_LIBGNOMEPRINT
3921 { echo "$as_me:$LINENO: result
: $result" >&5
3922 echo "${ECHO_T}$result" >&6; }
3926 defaultval=$wxUSE_ALL_FEATURES
3927 if test -z "$defaultval"; then
3928 if test x"$withstring" = xwithout; then
3934 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3935 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3937 # Check whether --with-gnomevfs was given.
3938 if test "${with_gnomevfs+set}" = set; then
3939 withval=$with_gnomevfs;
3940 if test "$withval" = yes; then
3941 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3943 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3948 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3953 eval "$wx_cv_use_gnomevfs"
3955 if test x
"$withstring" = xwithout
; then
3956 if test $wxUSE_LIBGNOMEVFS = yes; then
3962 result
=$wxUSE_LIBGNOMEVFS
3965 { echo "$as_me:$LINENO: result: $result" >&5
3966 echo "${ECHO_T}$result" >&6; }
3970 defaultval
=$wxUSE_ALL_FEATURES
3971 if test -z "$defaultval"; then
3972 if test x
"$withstring" = xwithout
; then
3978 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3979 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3981 # Check whether --with-hildon was given.
3982 if test "${with_hildon+set}" = set; then
3983 withval
=$with_hildon;
3984 if test "$withval" = yes; then
3985 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
3987 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
3992 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3997 eval "$wx_cv_use_hildon"
3999 if test x"$withstring" = xwithout; then
4000 if test $wxUSE_LIBHILDON = yes; then
4006 result=$wxUSE_LIBHILDON
4009 { echo "$as_me:$LINENO: result: $result" >&5
4010 echo "${ECHO_T}$result" >&6; }
4014 defaultval=$wxUSE_ALL_FEATURES
4015 if test -z "$defaultval"; then
4016 if test x"$withstring" = xwithout; then
4022 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4023 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4025 # Check whether --with-opengl was given.
4026 if test "${with_opengl+set}" = set; then
4027 withval=$with_opengl;
4028 if test "$withval" = yes; then
4029 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4031 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4036 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4041 eval "$wx_cv_use_opengl"
4043 if test x"$withstring" = xwithout; then
4044 if test $wxUSE_OPENGL = yes; then
4050 result=$wxUSE_OPENGL
4053 { echo "$as_me:$LINENO: result
: $result" >&5
4054 echo "${ECHO_T}$result" >&6; }
4061 defaultval=$wxUSE_ALL_FEATURES
4062 if test -z "$defaultval"; then
4063 if test x"$withstring" = xwithout; then
4069 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4070 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4072 # Check whether --with-dmalloc was given.
4073 if test "${with_dmalloc+set}" = set; then
4074 withval=$with_dmalloc;
4075 if test "$withval" = yes; then
4076 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4078 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4083 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4088 eval "$wx_cv_use_dmalloc"
4090 if test x
"$withstring" = xwithout
; then
4091 if test $wxUSE_DMALLOC = yes; then
4097 result
=$wxUSE_DMALLOC
4100 { echo "$as_me:$LINENO: result: $result" >&5
4101 echo "${ECHO_T}$result" >&6; }
4105 defaultval
=$wxUSE_ALL_FEATURES
4106 if test -z "$defaultval"; then
4107 if test x
"$withstring" = xwithout
; then
4113 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4114 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4116 # Check whether --with-sdl was given.
4117 if test "${with_sdl+set}" = set; then
4119 if test "$withval" = yes; then
4120 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4122 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4127 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4132 eval "$wx_cv_use_sdl"
4134 if test x"$withstring" = xwithout; then
4135 if test $wxUSE_LIBSDL = yes; then
4141 result=$wxUSE_LIBSDL
4144 { echo "$as_me:$LINENO: result: $result" >&5
4145 echo "${ECHO_T}$result" >&6; }
4148 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4149 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4151 # Check whether --with-regex was given.
4152 if test "${with_regex+set}" = set; then
4153 withval=$with_regex;
4154 if test "$withval" = yes; then
4155 wx_cv_use_regex='wxUSE_REGEX
=yes'
4156 elif test "$withval" = no; then
4157 wx_cv_use_regex='wxUSE_REGEX
=no
'
4158 elif test "$withval" = sys; then
4159 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4160 elif test "$withval" = builtin; then
4161 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4163 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4164 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4165 { (exit 1); exit 1; }; }
4170 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4175 eval "$wx_cv_use_regex"
4177 if test "$wxUSE_REGEX" = yes; then
4178 { echo "$as_me:$LINENO: result
: yes" >&5
4179 echo "${ECHO_T}yes" >&6; }
4180 elif test "$wxUSE_REGEX" = no; then
4181 { echo "$as_me:$LINENO: result
: no
" >&5
4182 echo "${ECHO_T}no
" >&6; }
4183 elif test "$wxUSE_REGEX" = sys; then
4184 { echo "$as_me:$LINENO: result
: system version
" >&5
4185 echo "${ECHO_T}system version
" >&6; }
4186 elif test "$wxUSE_REGEX" = builtin; then
4187 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4188 echo "${ECHO_T}builtin version
" >&6; }
4190 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4191 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4192 { (exit 1); exit 1; }; }
4196 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4197 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4199 # Check whether --with-zlib was given.
4200 if test "${with_zlib+set}" = set; then
4202 if test "$withval" = yes; then
4203 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4204 elif test "$withval" = no; then
4205 wx_cv_use_zlib='wxUSE_ZLIB=no'
4206 elif test "$withval" = sys; then
4207 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4208 elif test "$withval" = builtin; then
4209 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4211 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4212 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4213 { (exit 1); exit 1; }; }
4218 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4223 eval "$wx_cv_use_zlib"
4225 if test "$wxUSE_ZLIB" = yes; then
4226 { echo "$as_me:$LINENO: result: yes" >&5
4227 echo "${ECHO_T}yes" >&6; }
4228 elif test "$wxUSE_ZLIB" = no
; then
4229 { echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6; }
4231 elif test "$wxUSE_ZLIB" = sys
; then
4232 { echo "$as_me:$LINENO: result: system version" >&5
4233 echo "${ECHO_T}system version" >&6; }
4234 elif test "$wxUSE_ZLIB" = builtin; then
4235 { echo "$as_me:$LINENO: result: builtin version" >&5
4236 echo "${ECHO_T}builtin version" >&6; }
4238 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4239 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4240 { (exit 1); exit 1; }; }
4244 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4245 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4247 # Check whether --with-expat was given.
4248 if test "${with_expat+set}" = set; then
4249 withval
=$with_expat;
4250 if test "$withval" = yes; then
4251 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4252 elif test "$withval" = no
; then
4253 wx_cv_use_expat
='wxUSE_EXPAT=no'
4254 elif test "$withval" = sys
; then
4255 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4256 elif test "$withval" = builtin; then
4257 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4259 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4260 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4261 { (exit 1); exit 1; }; }
4266 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4271 eval "$wx_cv_use_expat"
4273 if test "$wxUSE_EXPAT" = yes; then
4274 { echo "$as_me:$LINENO: result: yes" >&5
4275 echo "${ECHO_T}yes" >&6; }
4276 elif test "$wxUSE_EXPAT" = no; then
4277 { echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6; }
4279 elif test "$wxUSE_EXPAT" = sys; then
4280 { echo "$as_me:$LINENO: result: system version" >&5
4281 echo "${ECHO_T}system version" >&6; }
4282 elif test "$wxUSE_EXPAT" = builtin; then
4283 { echo "$as_me:$LINENO: result: builtin version" >&5
4284 echo "${ECHO_T}builtin version" >&6; }
4286 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4287 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4288 { (exit 1); exit 1; }; }
4292 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4293 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4295 # Check whether --with-macosx-sdk was given.
4296 if test "${with_macosx_sdk+set}" = set; then
4297 withval=$with_macosx_sdk;
4298 wxUSE_MACOSX_SDK=$withval
4299 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4303 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4304 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4306 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4307 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4309 # Check whether --with-macosx-version-min was given.
4310 if test "${with_macosx_version_min+set}" = set; then
4311 withval=$with_macosx_version_min;
4312 wxUSE_MACOSX_VERSION_MIN=$withval
4313 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4317 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4318 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4322 enablestring=disable
4324 if test -z "$defaultval"; then
4325 if test x"$enablestring" = xdisable; then
4332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4334 # Check whether --enable-shared was given.
4335 if test "${enable_shared+set}" = set; then
4336 enableval=$enable_shared;
4337 if test "$enableval" = yes; then
4338 wx_cv_use_shared='wxUSE_SHARED
=yes'
4340 wx_cv_use_shared='wxUSE_SHARED
=no
'
4345 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4350 eval "$wx_cv_use_shared"
4352 if test x"$enablestring" = xdisable; then
4353 if test $wxUSE_SHARED = no; then
4359 result=$wxUSE_SHARED
4362 { echo "$as_me:$LINENO: result
: $result" >&5
4363 echo "${ECHO_T}$result" >&6; }
4368 if test -z "$defaultval"; then
4369 if test x"$enablestring" = xdisable; then
4376 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4377 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4378 # Check whether --enable-debug was given.
4379 if test "${enable_debug+set}" = set; then
4380 enableval=$enable_debug;
4381 if test "$enableval" = yes; then
4382 wx_cv_use_debug='wxUSE_DEBUG=yes'
4384 wx_cv_use_debug='wxUSE_DEBUG=no'
4389 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4394 eval "$wx_cv_use_debug"
4396 if test x
"$enablestring" = xdisable
; then
4397 if test $wxUSE_DEBUG = no
; then
4406 { echo "$as_me:$LINENO: result: $result" >&5
4407 echo "${ECHO_T}$result" >&6; }
4412 if test -z "$defaultval"; then
4413 if test x
"$enablestring" = xdisable
; then
4420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4421 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4422 # Check whether --enable-stl was given.
4423 if test "${enable_stl+set}" = set; then
4424 enableval
=$enable_stl;
4425 if test "$enableval" = yes; then
4426 wx_cv_use_stl
='wxUSE_STL=yes'
4428 wx_cv_use_stl
='wxUSE_STL=no'
4433 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4438 eval "$wx_cv_use_stl"
4440 if test x"$enablestring" = xdisable; then
4441 if test $wxUSE_STL = no; then
4450 { echo "$as_me:$LINENO: result: $result" >&5
4451 echo "${ECHO_T}$result" >&6; }
4456 if test -z "$defaultval"; then
4457 if test x"$enablestring" = xdisable; then
4464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4465 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4466 # Check whether --enable-std_iostreams was given.
4467 if test "${enable_std_iostreams+set}" = set; then
4468 enableval=$enable_std_iostreams;
4469 if test "$enableval" = yes; then
4470 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4472 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4477 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4482 eval "$wx_cv_use_std_iostreams"
4484 if test x"$enablestring" = xdisable; then
4485 if test $wxUSE_STD_IOSTREAM = no; then
4491 result=$wxUSE_STD_IOSTREAM
4494 { echo "$as_me:$LINENO: result
: $result" >&5
4495 echo "${ECHO_T}$result" >&6; }
4500 if test -z "$defaultval"; then
4501 if test x"$enablestring" = xdisable; then
4508 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4509 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4510 # Check whether --enable-std_string was given.
4511 if test "${enable_std_string+set}" = set; then
4512 enableval=$enable_std_string;
4513 if test "$enableval" = yes; then
4514 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4516 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4521 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4526 eval "$wx_cv_use_std_string"
4528 if test x
"$enablestring" = xdisable
; then
4529 if test $wxUSE_STD_STRING = no
; then
4535 result
=$wxUSE_STD_STRING
4538 { echo "$as_me:$LINENO: result: $result" >&5
4539 echo "${ECHO_T}$result" >&6; }
4542 enablestring
=disable
4544 if test -z "$defaultval"; then
4545 if test x
"$enablestring" = xdisable
; then
4552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4553 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4554 # Check whether --enable-unicode was given.
4555 if test "${enable_unicode+set}" = set; then
4556 enableval
=$enable_unicode;
4557 if test "$enableval" = yes; then
4558 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4560 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4565 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4570 eval "$wx_cv_use_unicode"
4572 if test x"$enablestring" = xdisable; then
4573 if test $wxUSE_UNICODE = no; then
4579 result=$wxUSE_UNICODE
4582 { echo "$as_me:$LINENO: result: $result" >&5
4583 echo "${ECHO_T}$result" >&6; }
4588 if test -z "$defaultval"; then
4589 if test x"$enablestring" = xdisable; then
4596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4598 # Check whether --enable-mslu was given.
4599 if test "${enable_mslu+set}" = set; then
4600 enableval=$enable_mslu;
4601 if test "$enableval" = yes; then
4602 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4604 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4609 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4614 eval "$wx_cv_use_mslu"
4616 if test x"$enablestring" = xdisable; then
4617 if test $wxUSE_UNICODE_MSLU = no; then
4623 result=$wxUSE_UNICODE_MSLU
4626 { echo "$as_me:$LINENO: result
: $result" >&5
4627 echo "${ECHO_T}$result" >&6; }
4631 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4632 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4633 # Check whether --enable-utf8 was given.
4634 if test "${enable_utf8+set}" = set; then
4635 enableval=$enable_utf8;
4636 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4640 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4645 eval "$wx_cv_use_utf8"
4647 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4648 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4653 if test -z "$defaultval"; then
4654 if test x"$enablestring" = xdisable; then
4661 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4662 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4663 # Check whether --enable-utf8only was given.
4664 if test "${enable_utf8only+set}" = set; then
4665 enableval=$enable_utf8only;
4666 if test "$enableval" = yes; then
4667 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4669 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4674 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4679 eval "$wx_cv_use_utf8only"
4681 if test x
"$enablestring" = xdisable
; then
4682 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
4688 result
=$wxUSE_UNICODE_UTF8_LOCALE
4691 { echo "$as_me:$LINENO: result: $result" >&5
4692 echo "${ECHO_T}$result" >&6; }
4697 if test -z "$defaultval"; then
4698 if test x
"$enablestring" = xdisable
; then
4705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4706 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4707 # Check whether --enable-extended_rtti was given.
4708 if test "${enable_extended_rtti+set}" = set; then
4709 enableval
=$enable_extended_rtti;
4710 if test "$enableval" = yes; then
4711 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4713 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4718 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4723 eval "$wx_cv_use_extended_rtti"
4725 if test x"$enablestring" = xdisable; then
4726 if test $wxUSE_EXTENDED_RTTI = no; then
4732 result=$wxUSE_EXTENDED_RTTI
4735 { echo "$as_me:$LINENO: result: $result" >&5
4736 echo "${ECHO_T}$result" >&6; }
4738 if test "$USE_OS2" = 1; then
4739 DEFAULT_wxUSE_OMF=no
4743 if test -z "$defaultval"; then
4744 if test x"$enablestring" = xdisable; then
4751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4752 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4753 # Check whether --enable-omf was given.
4754 if test "${enable_omf+set}" = set; then
4755 enableval=$enable_omf;
4756 if test "$enableval" = yes; then
4757 wx_cv_use_omf='wxUSE_OMF
=yes'
4759 wx_cv_use_omf='wxUSE_OMF
=no
'
4764 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4769 eval "$wx_cv_use_omf"
4771 if test x"$enablestring" = xdisable; then
4772 if test $wxUSE_OMF = no; then
4781 { echo "$as_me:$LINENO: result
: $result" >&5
4782 echo "${ECHO_T}$result" >&6; }
4786 if test "$wxUSE_DEBUG" = "yes"; then
4787 DEFAULT_wxUSE_DEBUG_FLAG=yes
4788 DEFAULT_wxUSE_DEBUG_INFO=yes
4790 elif test "$wxUSE_DEBUG" = "no
"; then
4791 DEFAULT_wxUSE_DEBUG_FLAG=no
4792 DEFAULT_wxUSE_DEBUG_INFO=no
4799 if test -z "$defaultval"; then
4800 if test x"$enablestring" = xdisable; then
4807 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4808 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4809 # Check whether --enable-debug_flag was given.
4810 if test "${enable_debug_flag+set}" = set; then
4811 enableval=$enable_debug_flag;
4812 if test "$enableval" = yes; then
4813 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4815 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4820 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4825 eval "$wx_cv_use_debug_flag"
4827 if test x
"$enablestring" = xdisable
; then
4828 if test $wxUSE_DEBUG_FLAG = no
; then
4834 result
=$wxUSE_DEBUG_FLAG
4837 { echo "$as_me:$LINENO: result: $result" >&5
4838 echo "${ECHO_T}$result" >&6; }
4843 if test -z "$defaultval"; then
4844 if test x
"$enablestring" = xdisable
; then
4851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4852 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4853 # Check whether --enable-debug_info was given.
4854 if test "${enable_debug_info+set}" = set; then
4855 enableval
=$enable_debug_info;
4856 if test "$enableval" = yes; then
4857 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4859 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4864 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4869 eval "$wx_cv_use_debug_info"
4871 if test x"$enablestring" = xdisable; then
4872 if test $wxUSE_DEBUG_INFO = no; then
4878 result=$wxUSE_DEBUG_INFO
4881 { echo "$as_me:$LINENO: result: $result" >&5
4882 echo "${ECHO_T}$result" >&6; }
4885 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4890 if test "$wxUSE_DEBUG" = "yes"; then
4891 DEFAULT_wxUSE_OPTIMISE=no
4895 enablestring=disable
4897 if test -z "$defaultval"; then
4898 if test x"$enablestring" = xdisable; then
4905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4906 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4907 # Check whether --enable-optimise was given.
4908 if test "${enable_optimise+set}" = set; then
4909 enableval=$enable_optimise;
4910 if test "$enableval" = yes; then
4911 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4913 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4918 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4923 eval "$wx_cv_use_optimise"
4925 if test x"$enablestring" = xdisable; then
4926 if test $wxUSE_OPTIMISE = no; then
4932 result=$wxUSE_OPTIMISE
4935 { echo "$as_me:$LINENO: result
: $result" >&5
4936 echo "${ECHO_T}$result" >&6; }
4942 if test -z "$defaultval"; then
4943 if test x"$enablestring" = xdisable; then
4950 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4951 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4952 # Check whether --enable-debug_gdb was given.
4953 if test "${enable_debug_gdb+set}" = set; then
4954 enableval=$enable_debug_gdb;
4955 if test "$enableval" = yes; then
4956 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4958 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4963 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4968 eval "$wx_cv_use_debug_gdb"
4970 if test x
"$enablestring" = xdisable
; then
4971 if test $wxUSE_DEBUG_GDB = no
; then
4977 result
=$wxUSE_DEBUG_GDB
4980 { echo "$as_me:$LINENO: result: $result" >&5
4981 echo "${ECHO_T}$result" >&6; }
4986 if test -z "$defaultval"; then
4987 if test x
"$enablestring" = xdisable
; then
4994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4995 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4996 # Check whether --enable-debug_cntxt was given.
4997 if test "${enable_debug_cntxt+set}" = set; then
4998 enableval
=$enable_debug_cntxt;
4999 if test "$enableval" = yes; then
5000 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
5002 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5007 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5012 eval "$wx_cv_use_debug_cntxt"
5014 if test x"$enablestring" = xdisable; then
5015 if test $wxUSE_DEBUG_CONTEXT = no; then
5021 result=$wxUSE_DEBUG_CONTEXT
5024 { echo "$as_me:$LINENO: result: $result" >&5
5025 echo "${ECHO_T}$result" >&6; }
5030 if test -z "$defaultval"; then
5031 if test x"$enablestring" = xdisable; then
5038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5039 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5040 # Check whether --enable-mem_tracing was given.
5041 if test "${enable_mem_tracing+set}" = set; then
5042 enableval=$enable_mem_tracing;
5043 if test "$enableval" = yes; then
5044 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5046 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5051 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5056 eval "$wx_cv_use_mem_tracing"
5058 if test x"$enablestring" = xdisable; then
5059 if test $wxUSE_MEM_TRACING = no; then
5065 result=$wxUSE_MEM_TRACING
5068 { echo "$as_me:$LINENO: result
: $result" >&5
5069 echo "${ECHO_T}$result" >&6; }
5074 if test -z "$defaultval"; then
5075 if test x"$enablestring" = xdisable; then
5082 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5083 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5084 # Check whether --enable-profile was given.
5085 if test "${enable_profile+set}" = set; then
5086 enableval=$enable_profile;
5087 if test "$enableval" = yes; then
5088 wx_cv_use_profile='wxUSE_PROFILE=yes'
5090 wx_cv_use_profile='wxUSE_PROFILE=no'
5095 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5100 eval "$wx_cv_use_profile"
5102 if test x
"$enablestring" = xdisable
; then
5103 if test $wxUSE_PROFILE = no
; then
5109 result
=$wxUSE_PROFILE
5112 { echo "$as_me:$LINENO: result: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5118 if test -z "$defaultval"; then
5119 if test x
"$enablestring" = xdisable
; then
5126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5127 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5128 # Check whether --enable-no_rtti was given.
5129 if test "${enable_no_rtti+set}" = set; then
5130 enableval
=$enable_no_rtti;
5131 if test "$enableval" = yes; then
5132 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5134 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5139 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5144 eval "$wx_cv_use_no_rtti"
5146 if test x"$enablestring" = xdisable; then
5147 if test $wxUSE_NO_RTTI = no; then
5153 result=$wxUSE_NO_RTTI
5156 { echo "$as_me:$LINENO: result: $result" >&5
5157 echo "${ECHO_T}$result" >&6; }
5162 if test -z "$defaultval"; then
5163 if test x"$enablestring" = xdisable; then
5170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5172 # Check whether --enable-no_exceptions was given.
5173 if test "${enable_no_exceptions+set}" = set; then
5174 enableval=$enable_no_exceptions;
5175 if test "$enableval" = yes; then
5176 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5178 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5183 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5188 eval "$wx_cv_use_no_exceptions"
5190 if test x"$enablestring" = xdisable; then
5191 if test $wxUSE_NO_EXCEPTIONS = no; then
5197 result=$wxUSE_NO_EXCEPTIONS
5200 { echo "$as_me:$LINENO: result
: $result" >&5
5201 echo "${ECHO_T}$result" >&6; }
5206 if test -z "$defaultval"; then
5207 if test x"$enablestring" = xdisable; then
5214 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5215 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5216 # Check whether --enable-permissive was given.
5217 if test "${enable_permissive+set}" = set; then
5218 enableval=$enable_permissive;
5219 if test "$enableval" = yes; then
5220 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5222 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5227 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5232 eval "$wx_cv_use_permissive"
5234 if test x
"$enablestring" = xdisable
; then
5235 if test $wxUSE_PERMISSIVE = no
; then
5241 result
=$wxUSE_PERMISSIVE
5244 { echo "$as_me:$LINENO: result: $result" >&5
5245 echo "${ECHO_T}$result" >&6; }
5250 if test -z "$defaultval"; then
5251 if test x
"$enablestring" = xdisable
; then
5258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5259 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5260 # Check whether --enable-no_deps was given.
5261 if test "${enable_no_deps+set}" = set; then
5262 enableval
=$enable_no_deps;
5263 if test "$enableval" = yes; then
5264 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5266 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5271 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5276 eval "$wx_cv_use_no_deps"
5278 if test x"$enablestring" = xdisable; then
5279 if test $wxUSE_NO_DEPS = no; then
5285 result=$wxUSE_NO_DEPS
5288 { echo "$as_me:$LINENO: result: $result" >&5
5289 echo "${ECHO_T}$result" >&6; }
5292 enablestring=disable
5294 if test -z "$defaultval"; then
5295 if test x"$enablestring" = xdisable; then
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5304 # Check whether --enable-vararg_macros was given.
5305 if test "${enable_vararg_macros+set}" = set; then
5306 enableval=$enable_vararg_macros;
5307 if test "$enableval" = yes; then
5308 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5310 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5315 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5320 eval "$wx_cv_use_vararg_macros"
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_VARARG_MACROS = no; then
5329 result=$wxUSE_VARARG_MACROS
5332 { echo "$as_me:$LINENO: result
: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5337 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5338 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5339 # Check whether --enable-universal_binary was given.
5340 if test "${enable_universal_binary+set}" = set; then
5341 enableval=$enable_universal_binary;
5342 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5346 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5351 eval "$wx_cv_use_universal_binary"
5353 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5354 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5360 if test -z "$defaultval"; then
5361 if test x"$enablestring" = xdisable; then
5368 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5369 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5370 # Check whether --enable-compat26 was given.
5371 if test "${enable_compat26+set}" = set; then
5372 enableval=$enable_compat26;
5373 if test "$enableval" = yes; then
5374 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5376 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5381 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5386 eval "$wx_cv_use_compat26"
5388 if test x
"$enablestring" = xdisable
; then
5389 if test $WXWIN_COMPATIBILITY_2_6 = no
; then
5395 result
=$WXWIN_COMPATIBILITY_2_6
5398 { echo "$as_me:$LINENO: result: $result" >&5
5399 echo "${ECHO_T}$result" >&6; }
5402 enablestring
=disable
5404 if test -z "$defaultval"; then
5405 if test x
"$enablestring" = xdisable
; then
5412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5413 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5414 # Check whether --enable-compat28 was given.
5415 if test "${enable_compat28+set}" = set; then
5416 enableval
=$enable_compat28;
5417 if test "$enableval" = yes; then
5418 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5420 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5425 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5430 eval "$wx_cv_use_compat28"
5432 if test x"$enablestring" = xdisable; then
5433 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5439 result=$WXWIN_COMPATIBILITY_2_8
5442 { echo "$as_me:$LINENO: result: $result" >&5
5443 echo "${ECHO_T}$result" >&6; }
5447 enablestring=disable
5449 if test -z "$defaultval"; then
5450 if test x"$enablestring" = xdisable; then
5457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5459 # Check whether --enable-rpath was given.
5460 if test "${enable_rpath+set}" = set; then
5461 enableval=$enable_rpath;
5462 if test "$enableval" = yes; then
5463 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5465 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5470 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5475 eval "$wx_cv_use_rpath"
5477 if test x"$enablestring" = xdisable; then
5478 if test $wxUSE_RPATH = no; then
5487 { echo "$as_me:$LINENO: result
: $result" >&5
5488 echo "${ECHO_T}$result" >&6; }
5494 if test -z "$defaultval"; then
5495 if test x"$enablestring" = xdisable; then
5502 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5503 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5504 # Check whether --enable-objc_uniquifying was given.
5505 if test "${enable_objc_uniquifying+set}" = set; then
5506 enableval=$enable_objc_uniquifying;
5507 if test "$enableval" = yes; then
5508 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5510 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5515 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5520 eval "$wx_cv_use_objc_uniquifying"
5522 if test x
"$enablestring" = xdisable
; then
5523 if test $wxUSE_OBJC_UNIQUIFYING = no
; then
5529 result
=$wxUSE_OBJC_UNIQUIFYING
5532 { echo "$as_me:$LINENO: result: $result" >&5
5533 echo "${ECHO_T}$result" >&6; }
5537 enablestring
=disable
5539 if test -z "$defaultval"; then
5540 if test x
"$enablestring" = xdisable
; then
5547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5548 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5549 # Check whether --enable-visibility was given.
5550 if test "${enable_visibility+set}" = set; then
5551 enableval
=$enable_visibility;
5552 if test "$enableval" = yes; then
5553 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5555 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5560 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5565 eval "$wx_cv_use_visibility"
5567 if test x"$enablestring" = xdisable; then
5568 if test $wxUSE_VISIBILITY = no; then
5574 result=$wxUSE_VISIBILITY
5577 { echo "$as_me:$LINENO: result: $result" >&5
5578 echo "${ECHO_T}$result" >&6; }
5581 enablestring=disable
5583 if test -z "$defaultval"; then
5584 if test x"$enablestring" = xdisable; then
5591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5592 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5593 # Check whether --enable-tls was given.
5594 if test "${enable_tls+set}" = set; then
5595 enableval=$enable_tls;
5596 if test "$enableval" = yes; then
5597 wx_cv_use_tls='wxUSE_COMPILER_TLS
=yes'
5599 wx_cv_use_tls='wxUSE_COMPILER_TLS
=no
'
5604 wx_cv_use_tls='wxUSE_COMPILER_TLS
=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5609 eval "$wx_cv_use_tls"
5611 if test x"$enablestring" = xdisable; then
5612 if test $wxUSE_COMPILER_TLS = no; then
5618 result=$wxUSE_COMPILER_TLS
5621 { echo "$as_me:$LINENO: result
: $result" >&5
5622 echo "${ECHO_T}$result" >&6; }
5628 defaultval=$wxUSE_ALL_FEATURES
5629 if test -z "$defaultval"; then
5630 if test x"$enablestring" = xdisable; then
5637 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-intl" >&5
5638 echo $ECHO_N "checking
for --${enablestring:-enable}-intl...
$ECHO_C" >&6; }
5639 # Check whether --enable-intl was given.
5640 if test "${enable_intl+set}" = set; then
5641 enableval=$enable_intl;
5642 if test "$enableval" = yes; then
5643 wx_cv_use_intl='wxUSE_INTL=yes'
5645 wx_cv_use_intl='wxUSE_INTL=no'
5650 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5655 eval "$wx_cv_use_intl"
5657 if test x
"$enablestring" = xdisable
; then
5658 if test $wxUSE_INTL = no
; then
5667 { echo "$as_me:$LINENO: result: $result" >&5
5668 echo "${ECHO_T}$result" >&6; }
5672 defaultval
=$wxUSE_ALL_FEATURES
5673 if test -z "$defaultval"; then
5674 if test x
"$enablestring" = xdisable
; then
5681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5683 # Check whether --enable-xlocale was given.
5684 if test "${enable_xlocale+set}" = set; then
5685 enableval
=$enable_xlocale;
5686 if test "$enableval" = yes; then
5687 wx_cv_use_xlocale
='wxUSE_XLOCALE=yes'
5689 wx_cv_use_xlocale
='wxUSE_XLOCALE=no'
5694 wx_cv_use_xlocale
='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5699 eval "$wx_cv_use_xlocale"
5701 if test x"$enablestring" = xdisable; then
5702 if test $wxUSE_XLOCALE = no; then
5708 result=$wxUSE_XLOCALE
5711 { echo "$as_me:$LINENO: result: $result" >&5
5712 echo "${ECHO_T}$result" >&6; }
5716 defaultval=$wxUSE_ALL_FEATURES
5717 if test -z "$defaultval"; then
5718 if test x"$enablestring" = xdisable; then
5725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5726 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5727 # Check whether --enable-config was given.
5728 if test "${enable_config+set}" = set; then
5729 enableval=$enable_config;
5730 if test "$enableval" = yes; then
5731 wx_cv_use_config='wxUSE_CONFIG
=yes'
5733 wx_cv_use_config='wxUSE_CONFIG
=no
'
5738 wx_cv_use_config='wxUSE_CONFIG
=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5743 eval "$wx_cv_use_config"
5745 if test x"$enablestring" = xdisable; then
5746 if test $wxUSE_CONFIG = no; then
5752 result=$wxUSE_CONFIG
5755 { echo "$as_me:$LINENO: result
: $result" >&5
5756 echo "${ECHO_T}$result" >&6; }
5761 defaultval=$wxUSE_ALL_FEATURES
5762 if test -z "$defaultval"; then
5763 if test x"$enablestring" = xdisable; then
5770 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocols" >&5
5771 echo $ECHO_N "checking
for --${enablestring:-enable}-protocols...
$ECHO_C" >&6; }
5772 # Check whether --enable-protocols was given.
5773 if test "${enable_protocols+set}" = set; then
5774 enableval=$enable_protocols;
5775 if test "$enableval" = yes; then
5776 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5778 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5783 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5788 eval "$wx_cv_use_protocols"
5790 if test x
"$enablestring" = xdisable
; then
5791 if test $wxUSE_PROTOCOL = no
; then
5797 result
=$wxUSE_PROTOCOL
5800 { echo "$as_me:$LINENO: result: $result" >&5
5801 echo "${ECHO_T}$result" >&6; }
5805 defaultval
=$wxUSE_ALL_FEATURES
5806 if test -z "$defaultval"; then
5807 if test x
"$enablestring" = xdisable
; then
5814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5815 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5816 # Check whether --enable-ftp was given.
5817 if test "${enable_ftp+set}" = set; then
5818 enableval
=$enable_ftp;
5819 if test "$enableval" = yes; then
5820 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
5822 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
5827 wx_cv_use_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5832 eval "$wx_cv_use_ftp"
5834 if test x"$enablestring" = xdisable; then
5835 if test $wxUSE_PROTOCOL_FTP = no; then
5841 result=$wxUSE_PROTOCOL_FTP
5844 { echo "$as_me:$LINENO: result: $result" >&5
5845 echo "${ECHO_T}$result" >&6; }
5849 defaultval=$wxUSE_ALL_FEATURES
5850 if test -z "$defaultval"; then
5851 if test x"$enablestring" = xdisable; then
5858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5859 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5860 # Check whether --enable-http was given.
5861 if test "${enable_http+set}" = set; then
5862 enableval=$enable_http;
5863 if test "$enableval" = yes; then
5864 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=yes'
5866 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=no
'
5871 wx_cv_use_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5876 eval "$wx_cv_use_http"
5878 if test x"$enablestring" = xdisable; then
5879 if test $wxUSE_PROTOCOL_HTTP = no; then
5885 result=$wxUSE_PROTOCOL_HTTP
5888 { echo "$as_me:$LINENO: result
: $result" >&5
5889 echo "${ECHO_T}$result" >&6; }
5893 defaultval=$wxUSE_ALL_FEATURES
5894 if test -z "$defaultval"; then
5895 if test x"$enablestring" = xdisable; then
5902 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fileproto" >&5
5903 echo $ECHO_N "checking
for --${enablestring:-enable}-fileproto...
$ECHO_C" >&6; }
5904 # Check whether --enable-fileproto was given.
5905 if test "${enable_fileproto+set}" = set; then
5906 enableval=$enable_fileproto;
5907 if test "$enableval" = yes; then
5908 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5910 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5915 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5920 eval "$wx_cv_use_fileproto"
5922 if test x
"$enablestring" = xdisable
; then
5923 if test $wxUSE_PROTOCOL_FILE = no
; then
5929 result
=$wxUSE_PROTOCOL_FILE
5932 { echo "$as_me:$LINENO: result: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5937 defaultval
=$wxUSE_ALL_FEATURES
5938 if test -z "$defaultval"; then
5939 if test x
"$enablestring" = xdisable
; then
5946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5947 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5948 # Check whether --enable-sockets was given.
5949 if test "${enable_sockets+set}" = set; then
5950 enableval
=$enable_sockets;
5951 if test "$enableval" = yes; then
5952 wx_cv_use_sockets
='wxUSE_SOCKETS=yes'
5954 wx_cv_use_sockets
='wxUSE_SOCKETS=no'
5959 wx_cv_use_sockets
='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5964 eval "$wx_cv_use_sockets"
5966 if test x"$enablestring" = xdisable; then
5967 if test $wxUSE_SOCKETS = no; then
5973 result=$wxUSE_SOCKETS
5976 { echo "$as_me:$LINENO: result: $result" >&5
5977 echo "${ECHO_T}$result" >&6; }
5981 defaultval=$wxUSE_ALL_FEATURES
5982 if test -z "$defaultval"; then
5983 if test x"$enablestring" = xdisable; then
5990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5992 # Check whether --enable-ipv6 was given.
5993 if test "${enable_ipv6+set}" = set; then
5994 enableval=$enable_ipv6;
5995 if test "$enableval" = yes; then
5996 wx_cv_use_ipv6='wxUSE_IPV6
=yes'
5998 wx_cv_use_ipv6='wxUSE_IPV6
=no
'
6003 wx_cv_use_ipv6='wxUSE_IPV6
=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6008 eval "$wx_cv_use_ipv6"
6010 if test x"$enablestring" = xdisable; then
6011 if test $wxUSE_IPV6 = no; then
6020 { echo "$as_me:$LINENO: result
: $result" >&5
6021 echo "${ECHO_T}$result" >&6; }
6025 defaultval=$wxUSE_ALL_FEATURES
6026 if test -z "$defaultval"; then
6027 if test x"$enablestring" = xdisable; then
6034 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ole" >&5
6035 echo $ECHO_N "checking
for --${enablestring:-enable}-ole...
$ECHO_C" >&6; }
6036 # Check whether --enable-ole was given.
6037 if test "${enable_ole+set}" = set; then
6038 enableval=$enable_ole;
6039 if test "$enableval" = yes; then
6040 wx_cv_use_ole='wxUSE_OLE=yes'
6042 wx_cv_use_ole='wxUSE_OLE=no'
6047 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6052 eval "$wx_cv_use_ole"
6054 if test x
"$enablestring" = xdisable
; then
6055 if test $wxUSE_OLE = no
; then
6064 { echo "$as_me:$LINENO: result: $result" >&5
6065 echo "${ECHO_T}$result" >&6; }
6069 defaultval
=$wxUSE_ALL_FEATURES
6070 if test -z "$defaultval"; then
6071 if test x
"$enablestring" = xdisable
; then
6078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6079 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6080 # Check whether --enable-dataobj was given.
6081 if test "${enable_dataobj+set}" = set; then
6082 enableval
=$enable_dataobj;
6083 if test "$enableval" = yes; then
6084 wx_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
6086 wx_cv_use_dataobj
='wxUSE_DATAOBJ=no'
6091 wx_cv_use_dataobj
='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6096 eval "$wx_cv_use_dataobj"
6098 if test x"$enablestring" = xdisable; then
6099 if test $wxUSE_DATAOBJ = no; then
6105 result=$wxUSE_DATAOBJ
6108 { echo "$as_me:$LINENO: result: $result" >&5
6109 echo "${ECHO_T}$result" >&6; }
6114 defaultval=$wxUSE_ALL_FEATURES
6115 if test -z "$defaultval"; then
6116 if test x"$enablestring" = xdisable; then
6123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6124 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6125 # Check whether --enable-ipc was given.
6126 if test "${enable_ipc+set}" = set; then
6127 enableval=$enable_ipc;
6128 if test "$enableval" = yes; then
6129 wx_cv_use_ipc='wxUSE_IPC
=yes'
6131 wx_cv_use_ipc='wxUSE_IPC
=no
'
6136 wx_cv_use_ipc='wxUSE_IPC
=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6141 eval "$wx_cv_use_ipc"
6143 if test x"$enablestring" = xdisable; then
6144 if test $wxUSE_IPC = no; then
6153 { echo "$as_me:$LINENO: result
: $result" >&5
6154 echo "${ECHO_T}$result" >&6; }
6159 defaultval=$wxUSE_ALL_FEATURES
6160 if test -z "$defaultval"; then
6161 if test x"$enablestring" = xdisable; then
6168 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-baseevtloop" >&5
6169 echo $ECHO_N "checking
for --${enablestring:-enable}-baseevtloop...
$ECHO_C" >&6; }
6170 # Check whether --enable-baseevtloop was given.
6171 if test "${enable_baseevtloop+set}" = set; then
6172 enableval=$enable_baseevtloop;
6173 if test "$enableval" = yes; then
6174 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6176 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6181 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6186 eval "$wx_cv_use_baseevtloop"
6188 if test x
"$enablestring" = xdisable
; then
6189 if test $wxUSE_CONSOLE_EVENTLOOP = no
; then
6195 result
=$wxUSE_CONSOLE_EVENTLOOP
6198 { echo "$as_me:$LINENO: result: $result" >&5
6199 echo "${ECHO_T}$result" >&6; }
6203 defaultval
=$wxUSE_ALL_FEATURES
6204 if test -z "$defaultval"; then
6205 if test x
"$enablestring" = xdisable
; then
6212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6213 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6214 # Check whether --enable-epollloop was given.
6215 if test "${enable_epollloop+set}" = set; then
6216 enableval
=$enable_epollloop;
6217 if test "$enableval" = yes; then
6218 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=yes'
6220 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=no'
6225 wx_cv_use_epollloop
='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6230 eval "$wx_cv_use_epollloop"
6232 if test x"$enablestring" = xdisable; then
6233 if test $wxUSE_EPOLL_DISPATCHER = no; then
6239 result=$wxUSE_EPOLL_DISPATCHER
6242 { echo "$as_me:$LINENO: result: $result" >&5
6243 echo "${ECHO_T}$result" >&6; }
6247 defaultval=$wxUSE_ALL_FEATURES
6248 if test -z "$defaultval"; then
6249 if test x"$enablestring" = xdisable; then
6256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6257 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6258 # Check whether --enable-selectloop was given.
6259 if test "${enable_selectloop+set}" = set; then
6260 enableval=$enable_selectloop;
6261 if test "$enableval" = yes; then
6262 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=yes'
6264 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=no
'
6269 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER
=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6274 eval "$wx_cv_use_selectloop"
6276 if test x"$enablestring" = xdisable; then
6277 if test $wxUSE_SELECT_DISPATCHER = no; then
6283 result=$wxUSE_SELECT_DISPATCHER
6286 { echo "$as_me:$LINENO: result
: $result" >&5
6287 echo "${ECHO_T}$result" >&6; }
6292 defaultval=$wxUSE_ALL_FEATURES
6293 if test -z "$defaultval"; then
6294 if test x"$enablestring" = xdisable; then
6301 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6302 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6303 # Check whether --enable-apple_ieee was given.
6304 if test "${enable_apple_ieee+set}" = set; then
6305 enableval=$enable_apple_ieee;
6306 if test "$enableval" = yes; then
6307 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6309 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6314 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6319 eval "$wx_cv_use_apple_ieee"
6321 if test x
"$enablestring" = xdisable
; then
6322 if test $wxUSE_APPLE_IEEE = no
; then
6328 result
=$wxUSE_APPLE_IEEE
6331 { echo "$as_me:$LINENO: result: $result" >&5
6332 echo "${ECHO_T}$result" >&6; }
6336 defaultval
=$wxUSE_ALL_FEATURES
6337 if test -z "$defaultval"; then
6338 if test x
"$enablestring" = xdisable
; then
6345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6346 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6347 # Check whether --enable-arcstream was given.
6348 if test "${enable_arcstream+set}" = set; then
6349 enableval
=$enable_arcstream;
6350 if test "$enableval" = yes; then
6351 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6353 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6358 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6363 eval "$wx_cv_use_arcstream"
6365 if test x"$enablestring" = xdisable; then
6366 if test $wxUSE_ARCHIVE_STREAMS = no; then
6372 result=$wxUSE_ARCHIVE_STREAMS
6375 { echo "$as_me:$LINENO: result: $result" >&5
6376 echo "${ECHO_T}$result" >&6; }
6380 defaultval=$wxUSE_ALL_FEATURES
6381 if test -z "$defaultval"; then
6382 if test x"$enablestring" = xdisable; then
6389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6391 # Check whether --enable-base64 was given.
6392 if test "${enable_base64+set}" = set; then
6393 enableval=$enable_base64;
6394 if test "$enableval" = yes; then
6395 wx_cv_use_base64='wxUSE_BASE64
=yes'
6397 wx_cv_use_base64='wxUSE_BASE64
=no
'
6402 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6407 eval "$wx_cv_use_base64"
6409 if test x"$enablestring" = xdisable; then
6410 if test $wxUSE_BASE64 = no; then
6416 result=$wxUSE_BASE64
6419 { echo "$as_me:$LINENO: result
: $result" >&5
6420 echo "${ECHO_T}$result" >&6; }
6424 defaultval=$wxUSE_ALL_FEATURES
6425 if test -z "$defaultval"; then
6426 if test x"$enablestring" = xdisable; then
6433 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6434 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6435 # Check whether --enable-backtrace was given.
6436 if test "${enable_backtrace+set}" = set; then
6437 enableval=$enable_backtrace;
6438 if test "$enableval" = yes; then
6439 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6441 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6446 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6451 eval "$wx_cv_use_backtrace"
6453 if test x
"$enablestring" = xdisable
; then
6454 if test $wxUSE_STACKWALKER = no
; then
6460 result
=$wxUSE_STACKWALKER
6463 { echo "$as_me:$LINENO: result: $result" >&5
6464 echo "${ECHO_T}$result" >&6; }
6468 defaultval
=$wxUSE_ALL_FEATURES
6469 if test -z "$defaultval"; then
6470 if test x
"$enablestring" = xdisable
; then
6477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6478 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6479 # Check whether --enable-catch_segvs was given.
6480 if test "${enable_catch_segvs+set}" = set; then
6481 enableval
=$enable_catch_segvs;
6482 if test "$enableval" = yes; then
6483 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6485 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6490 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6495 eval "$wx_cv_use_catch_segvs"
6497 if test x"$enablestring" = xdisable; then
6498 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6504 result=$wxUSE_ON_FATAL_EXCEPTION
6507 { echo "$as_me:$LINENO: result: $result" >&5
6508 echo "${ECHO_T}$result" >&6; }
6512 defaultval=$wxUSE_ALL_FEATURES
6513 if test -z "$defaultval"; then
6514 if test x"$enablestring" = xdisable; then
6521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6522 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6523 # Check whether --enable-cmdline was given.
6524 if test "${enable_cmdline+set}" = set; then
6525 enableval=$enable_cmdline;
6526 if test "$enableval" = yes; then
6527 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6529 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6534 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6539 eval "$wx_cv_use_cmdline"
6541 if test x"$enablestring" = xdisable; then
6542 if test $wxUSE_CMDLINE_PARSER = no; then
6548 result=$wxUSE_CMDLINE_PARSER
6551 { echo "$as_me:$LINENO: result
: $result" >&5
6552 echo "${ECHO_T}$result" >&6; }
6556 defaultval=$wxUSE_ALL_FEATURES
6557 if test -z "$defaultval"; then
6558 if test x"$enablestring" = xdisable; then
6565 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6566 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6567 # Check whether --enable-datetime was given.
6568 if test "${enable_datetime+set}" = set; then
6569 enableval=$enable_datetime;
6570 if test "$enableval" = yes; then
6571 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6573 wx_cv_use_datetime='wxUSE_DATETIME=no'
6578 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6583 eval "$wx_cv_use_datetime"
6585 if test x
"$enablestring" = xdisable
; then
6586 if test $wxUSE_DATETIME = no
; then
6592 result
=$wxUSE_DATETIME
6595 { echo "$as_me:$LINENO: result: $result" >&5
6596 echo "${ECHO_T}$result" >&6; }
6600 defaultval
=$wxUSE_ALL_FEATURES
6601 if test -z "$defaultval"; then
6602 if test x
"$enablestring" = xdisable
; then
6609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6610 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6611 # Check whether --enable-debugreport was given.
6612 if test "${enable_debugreport+set}" = set; then
6613 enableval
=$enable_debugreport;
6614 if test "$enableval" = yes; then
6615 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6617 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6622 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6627 eval "$wx_cv_use_debugreport"
6629 if test x"$enablestring" = xdisable; then
6630 if test $wxUSE_DEBUGREPORT = no; then
6636 result=$wxUSE_DEBUGREPORT
6639 { echo "$as_me:$LINENO: result: $result" >&5
6640 echo "${ECHO_T}$result" >&6; }
6644 defaultval=$wxUSE_ALL_FEATURES
6645 if test -z "$defaultval"; then
6646 if test x"$enablestring" = xdisable; then
6653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6654 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6655 # Check whether --enable-dialupman was given.
6656 if test "${enable_dialupman+set}" = set; then
6657 enableval=$enable_dialupman;
6658 if test "$enableval" = yes; then
6659 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6661 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6666 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6671 eval "$wx_cv_use_dialupman"
6673 if test x"$enablestring" = xdisable; then
6674 if test $wxUSE_DIALUP_MANAGER = no; then
6680 result=$wxUSE_DIALUP_MANAGER
6683 { echo "$as_me:$LINENO: result
: $result" >&5
6684 echo "${ECHO_T}$result" >&6; }
6688 defaultval=$wxUSE_ALL_FEATURES
6689 if test -z "$defaultval"; then
6690 if test x"$enablestring" = xdisable; then
6697 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6698 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6699 # Check whether --enable-dynlib was given.
6700 if test "${enable_dynlib+set}" = set; then
6701 enableval=$enable_dynlib;
6702 if test "$enableval" = yes; then
6703 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6705 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6710 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6715 eval "$wx_cv_use_dynlib"
6717 if test x
"$enablestring" = xdisable
; then
6718 if test $wxUSE_DYNLIB_CLASS = no
; then
6724 result
=$wxUSE_DYNLIB_CLASS
6727 { echo "$as_me:$LINENO: result: $result" >&5
6728 echo "${ECHO_T}$result" >&6; }
6732 defaultval
=$wxUSE_ALL_FEATURES
6733 if test -z "$defaultval"; then
6734 if test x
"$enablestring" = xdisable
; then
6741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6742 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6743 # Check whether --enable-dynamicloader was given.
6744 if test "${enable_dynamicloader+set}" = set; then
6745 enableval
=$enable_dynamicloader;
6746 if test "$enableval" = yes; then
6747 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6749 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6754 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6759 eval "$wx_cv_use_dynamicloader"
6761 if test x"$enablestring" = xdisable; then
6762 if test $wxUSE_DYNAMIC_LOADER = no; then
6768 result=$wxUSE_DYNAMIC_LOADER
6771 { echo "$as_me:$LINENO: result: $result" >&5
6772 echo "${ECHO_T}$result" >&6; }
6776 defaultval=$wxUSE_ALL_FEATURES
6777 if test -z "$defaultval"; then
6778 if test x"$enablestring" = xdisable; then
6785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6786 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6787 # Check whether --enable-exceptions was given.
6788 if test "${enable_exceptions+set}" = set; then
6789 enableval=$enable_exceptions;
6790 if test "$enableval" = yes; then
6791 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6793 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6798 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6803 eval "$wx_cv_use_exceptions"
6805 if test x"$enablestring" = xdisable; then
6806 if test $wxUSE_EXCEPTIONS = no; then
6812 result=$wxUSE_EXCEPTIONS
6815 { echo "$as_me:$LINENO: result
: $result" >&5
6816 echo "${ECHO_T}$result" >&6; }
6820 defaultval=$wxUSE_ALL_FEATURES
6821 if test -z "$defaultval"; then
6822 if test x"$enablestring" = xdisable; then
6829 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6830 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6831 # Check whether --enable-ffile was given.
6832 if test "${enable_ffile+set}" = set; then
6833 enableval=$enable_ffile;
6834 if test "$enableval" = yes; then
6835 wx_cv_use_ffile='wxUSE_FFILE=yes'
6837 wx_cv_use_ffile='wxUSE_FFILE=no'
6842 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6847 eval "$wx_cv_use_ffile"
6849 if test x
"$enablestring" = xdisable
; then
6850 if test $wxUSE_FFILE = no
; then
6859 { echo "$as_me:$LINENO: result: $result" >&5
6860 echo "${ECHO_T}$result" >&6; }
6864 defaultval
=$wxUSE_ALL_FEATURES
6865 if test -z "$defaultval"; then
6866 if test x
"$enablestring" = xdisable
; then
6873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6874 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6875 # Check whether --enable-file was given.
6876 if test "${enable_file+set}" = set; then
6877 enableval
=$enable_file;
6878 if test "$enableval" = yes; then
6879 wx_cv_use_file
='wxUSE_FILE=yes'
6881 wx_cv_use_file
='wxUSE_FILE=no'
6886 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6891 eval "$wx_cv_use_file"
6893 if test x"$enablestring" = xdisable; then
6894 if test $wxUSE_FILE = no; then
6903 { echo "$as_me:$LINENO: result: $result" >&5
6904 echo "${ECHO_T}$result" >&6; }
6908 defaultval=$wxUSE_ALL_FEATURES
6909 if test -z "$defaultval"; then
6910 if test x"$enablestring" = xdisable; then
6917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6919 # Check whether --enable-filesystem was given.
6920 if test "${enable_filesystem+set}" = set; then
6921 enableval=$enable_filesystem;
6922 if test "$enableval" = yes; then
6923 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
6925 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
6930 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6935 eval "$wx_cv_use_filesystem"
6937 if test x"$enablestring" = xdisable; then
6938 if test $wxUSE_FILESYSTEM = no; then
6944 result=$wxUSE_FILESYSTEM
6947 { echo "$as_me:$LINENO: result
: $result" >&5
6948 echo "${ECHO_T}$result" >&6; }
6952 defaultval=$wxUSE_ALL_FEATURES
6953 if test -z "$defaultval"; then
6954 if test x"$enablestring" = xdisable; then
6961 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
6962 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
6963 # Check whether --enable-fontenum was given.
6964 if test "${enable_fontenum+set}" = set; then
6965 enableval=$enable_fontenum;
6966 if test "$enableval" = yes; then
6967 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6969 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6974 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6979 eval "$wx_cv_use_fontenum"
6981 if test x
"$enablestring" = xdisable
; then
6982 if test $wxUSE_FONTENUM = no
; then
6988 result
=$wxUSE_FONTENUM
6991 { echo "$as_me:$LINENO: result: $result" >&5
6992 echo "${ECHO_T}$result" >&6; }
6996 defaultval
=$wxUSE_ALL_FEATURES
6997 if test -z "$defaultval"; then
6998 if test x
"$enablestring" = xdisable
; then
7005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7006 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7007 # Check whether --enable-fontmap was given.
7008 if test "${enable_fontmap+set}" = set; then
7009 enableval
=$enable_fontmap;
7010 if test "$enableval" = yes; then
7011 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7013 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7018 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7023 eval "$wx_cv_use_fontmap"
7025 if test x"$enablestring" = xdisable; then
7026 if test $wxUSE_FONTMAP = no; then
7032 result=$wxUSE_FONTMAP
7035 { echo "$as_me:$LINENO: result: $result" >&5
7036 echo "${ECHO_T}$result" >&6; }
7040 defaultval=$wxUSE_ALL_FEATURES
7041 if test -z "$defaultval"; then
7042 if test x"$enablestring" = xdisable; then
7049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7050 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7051 # Check whether --enable-fs_archive was given.
7052 if test "${enable_fs_archive+set}" = set; then
7053 enableval=$enable_fs_archive;
7054 if test "$enableval" = yes; then
7055 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7057 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7062 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7067 eval "$wx_cv_use_fs_archive"
7069 if test x"$enablestring" = xdisable; then
7070 if test $wxUSE_FS_ARCHIVE = no; then
7076 result=$wxUSE_FS_ARCHIVE
7079 { echo "$as_me:$LINENO: result
: $result" >&5
7080 echo "${ECHO_T}$result" >&6; }
7084 defaultval=$wxUSE_ALL_FEATURES
7085 if test -z "$defaultval"; then
7086 if test x"$enablestring" = xdisable; then
7093 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7094 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7095 # Check whether --enable-fs_inet was given.
7096 if test "${enable_fs_inet+set}" = set; then
7097 enableval=$enable_fs_inet;
7098 if test "$enableval" = yes; then
7099 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7101 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7106 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7111 eval "$wx_cv_use_fs_inet"
7113 if test x
"$enablestring" = xdisable
; then
7114 if test $wxUSE_FS_INET = no
; then
7120 result
=$wxUSE_FS_INET
7123 { echo "$as_me:$LINENO: result: $result" >&5
7124 echo "${ECHO_T}$result" >&6; }
7128 defaultval
=$wxUSE_ALL_FEATURES
7129 if test -z "$defaultval"; then
7130 if test x
"$enablestring" = xdisable
; then
7137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7138 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7139 # Check whether --enable-fs_zip was given.
7140 if test "${enable_fs_zip+set}" = set; then
7141 enableval
=$enable_fs_zip;
7142 if test "$enableval" = yes; then
7143 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7145 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7150 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7155 eval "$wx_cv_use_fs_zip"
7157 if test x"$enablestring" = xdisable; then
7158 if test $wxUSE_FS_ZIP = no; then
7164 result=$wxUSE_FS_ZIP
7167 { echo "$as_me:$LINENO: result: $result" >&5
7168 echo "${ECHO_T}$result" >&6; }
7172 defaultval=$wxUSE_ALL_FEATURES
7173 if test -z "$defaultval"; then
7174 if test x"$enablestring" = xdisable; then
7181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7182 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7183 # Check whether --enable-geometry was given.
7184 if test "${enable_geometry+set}" = set; then
7185 enableval=$enable_geometry;
7186 if test "$enableval" = yes; then
7187 wx_cv_use_geometry='wxUSE_GEOMETRY
=yes'
7189 wx_cv_use_geometry='wxUSE_GEOMETRY
=no
'
7194 wx_cv_use_geometry='wxUSE_GEOMETRY
=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7199 eval "$wx_cv_use_geometry"
7201 if test x"$enablestring" = xdisable; then
7202 if test $wxUSE_GEOMETRY = no; then
7208 result=$wxUSE_GEOMETRY
7211 { echo "$as_me:$LINENO: result
: $result" >&5
7212 echo "${ECHO_T}$result" >&6; }
7216 defaultval=$wxUSE_ALL_FEATURES
7217 if test -z "$defaultval"; then
7218 if test x"$enablestring" = xdisable; then
7225 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-log" >&5
7226 echo $ECHO_N "checking
for --${enablestring:-enable}-log...
$ECHO_C" >&6; }
7227 # Check whether --enable-log was given.
7228 if test "${enable_log+set}" = set; then
7229 enableval=$enable_log;
7230 if test "$enableval" = yes; then
7231 wx_cv_use_log='wxUSE_LOG=yes'
7233 wx_cv_use_log='wxUSE_LOG=no'
7238 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7243 eval "$wx_cv_use_log"
7245 if test x
"$enablestring" = xdisable
; then
7246 if test $wxUSE_LOG = no
; then
7255 { echo "$as_me:$LINENO: result: $result" >&5
7256 echo "${ECHO_T}$result" >&6; }
7260 defaultval
=$wxUSE_ALL_FEATURES
7261 if test -z "$defaultval"; then
7262 if test x
"$enablestring" = xdisable
; then
7269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7271 # Check whether --enable-longlong was given.
7272 if test "${enable_longlong+set}" = set; then
7273 enableval
=$enable_longlong;
7274 if test "$enableval" = yes; then
7275 wx_cv_use_longlong
='wxUSE_LONGLONG=yes'
7277 wx_cv_use_longlong
='wxUSE_LONGLONG=no'
7282 wx_cv_use_longlong
='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7287 eval "$wx_cv_use_longlong"
7289 if test x"$enablestring" = xdisable; then
7290 if test $wxUSE_LONGLONG = no; then
7296 result=$wxUSE_LONGLONG
7299 { echo "$as_me:$LINENO: result: $result" >&5
7300 echo "${ECHO_T}$result" >&6; }
7304 defaultval=$wxUSE_ALL_FEATURES
7305 if test -z "$defaultval"; then
7306 if test x"$enablestring" = xdisable; then
7313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7315 # Check whether --enable-mimetype was given.
7316 if test "${enable_mimetype+set}" = set; then
7317 enableval=$enable_mimetype;
7318 if test "$enableval" = yes; then
7319 wx_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
7321 wx_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
7326 wx_cv_use_mimetype='wxUSE_MIMETYPE
=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7331 eval "$wx_cv_use_mimetype"
7333 if test x"$enablestring" = xdisable; then
7334 if test $wxUSE_MIMETYPE = no; then
7340 result=$wxUSE_MIMETYPE
7343 { echo "$as_me:$LINENO: result
: $result" >&5
7344 echo "${ECHO_T}$result" >&6; }
7348 defaultval=$wxUSE_ALL_FEATURES
7349 if test -z "$defaultval"; then
7350 if test x"$enablestring" = xdisable; then
7357 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printfposparam" >&5
7358 echo $ECHO_N "checking
for --${enablestring:-enable}-printfposparam...
$ECHO_C" >&6; }
7359 # Check whether --enable-printfposparam was given.
7360 if test "${enable_printfposparam+set}" = set; then
7361 enableval=$enable_printfposparam;
7362 if test "$enableval" = yes; then
7363 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7365 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7370 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7375 eval "$wx_cv_use_printfposparam"
7377 if test x
"$enablestring" = xdisable
; then
7378 if test $wxUSE_PRINTF_POS_PARAMS = no
; then
7384 result
=$wxUSE_PRINTF_POS_PARAMS
7387 { echo "$as_me:$LINENO: result: $result" >&5
7388 echo "${ECHO_T}$result" >&6; }
7392 defaultval
=$wxUSE_ALL_FEATURES
7393 if test -z "$defaultval"; then
7394 if test x
"$enablestring" = xdisable
; then
7401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7402 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7403 # Check whether --enable-snglinst was given.
7404 if test "${enable_snglinst+set}" = set; then
7405 enableval
=$enable_snglinst;
7406 if test "$enableval" = yes; then
7407 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
7409 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
7414 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7419 eval "$wx_cv_use_snglinst"
7421 if test x"$enablestring" = xdisable; then
7422 if test $wxUSE_SNGLINST_CHECKER = no; then
7428 result=$wxUSE_SNGLINST_CHECKER
7431 { echo "$as_me:$LINENO: result: $result" >&5
7432 echo "${ECHO_T}$result" >&6; }
7436 defaultval=$wxUSE_ALL_FEATURES
7437 if test -z "$defaultval"; then
7438 if test x"$enablestring" = xdisable; then
7445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7446 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7447 # Check whether --enable-sound was given.
7448 if test "${enable_sound+set}" = set; then
7449 enableval=$enable_sound;
7450 if test "$enableval" = yes; then
7451 wx_cv_use_sound='wxUSE_SOUND
=yes'
7453 wx_cv_use_sound='wxUSE_SOUND
=no
'
7458 wx_cv_use_sound='wxUSE_SOUND
=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7463 eval "$wx_cv_use_sound"
7465 if test x"$enablestring" = xdisable; then
7466 if test $wxUSE_SOUND = no; then
7475 { echo "$as_me:$LINENO: result
: $result" >&5
7476 echo "${ECHO_T}$result" >&6; }
7480 defaultval=$wxUSE_ALL_FEATURES
7481 if test -z "$defaultval"; then
7482 if test x"$enablestring" = xdisable; then
7489 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stdpaths" >&5
7490 echo $ECHO_N "checking
for --${enablestring:-enable}-stdpaths...
$ECHO_C" >&6; }
7491 # Check whether --enable-stdpaths was given.
7492 if test "${enable_stdpaths+set}" = set; then
7493 enableval=$enable_stdpaths;
7494 if test "$enableval" = yes; then
7495 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7497 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7502 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7507 eval "$wx_cv_use_stdpaths"
7509 if test x
"$enablestring" = xdisable
; then
7510 if test $wxUSE_STDPATHS = no
; then
7516 result
=$wxUSE_STDPATHS
7519 { echo "$as_me:$LINENO: result: $result" >&5
7520 echo "${ECHO_T}$result" >&6; }
7524 defaultval
=$wxUSE_ALL_FEATURES
7525 if test -z "$defaultval"; then
7526 if test x
"$enablestring" = xdisable
; then
7533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7534 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7535 # Check whether --enable-stopwatch was given.
7536 if test "${enable_stopwatch+set}" = set; then
7537 enableval
=$enable_stopwatch;
7538 if test "$enableval" = yes; then
7539 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
7541 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
7546 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7551 eval "$wx_cv_use_stopwatch"
7553 if test x"$enablestring" = xdisable; then
7554 if test $wxUSE_STOPWATCH = no; then
7560 result=$wxUSE_STOPWATCH
7563 { echo "$as_me:$LINENO: result: $result" >&5
7564 echo "${ECHO_T}$result" >&6; }
7568 defaultval=$wxUSE_ALL_FEATURES
7569 if test -z "$defaultval"; then
7570 if test x"$enablestring" = xdisable; then
7577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7579 # Check whether --enable-streams was given.
7580 if test "${enable_streams+set}" = set; then
7581 enableval=$enable_streams;
7582 if test "$enableval" = yes; then
7583 wx_cv_use_streams='wxUSE_STREAMS
=yes'
7585 wx_cv_use_streams='wxUSE_STREAMS
=no
'
7590 wx_cv_use_streams='wxUSE_STREAMS
=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7595 eval "$wx_cv_use_streams"
7597 if test x"$enablestring" = xdisable; then
7598 if test $wxUSE_STREAMS = no; then
7604 result=$wxUSE_STREAMS
7607 { echo "$as_me:$LINENO: result
: $result" >&5
7608 echo "${ECHO_T}$result" >&6; }
7612 defaultval=$wxUSE_ALL_FEATURES
7613 if test -z "$defaultval"; then
7614 if test x"$enablestring" = xdisable; then
7621 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-system_options" >&5
7622 echo $ECHO_N "checking
for --${enablestring:-enable}-system_options...
$ECHO_C" >&6; }
7623 # Check whether --enable-system_options was given.
7624 if test "${enable_system_options+set}" = set; then
7625 enableval=$enable_system_options;
7626 if test "$enableval" = yes; then
7627 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7629 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7634 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7639 eval "$wx_cv_use_system_options"
7641 if test x
"$enablestring" = xdisable
; then
7642 if test $wxUSE_SYSTEM_OPTIONS = no
; then
7648 result
=$wxUSE_SYSTEM_OPTIONS
7651 { echo "$as_me:$LINENO: result: $result" >&5
7652 echo "${ECHO_T}$result" >&6; }
7656 defaultval
=$wxUSE_ALL_FEATURES
7657 if test -z "$defaultval"; then
7658 if test x
"$enablestring" = xdisable
; then
7665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7666 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7667 # Check whether --enable-tarstream was given.
7668 if test "${enable_tarstream+set}" = set; then
7669 enableval
=$enable_tarstream;
7670 if test "$enableval" = yes; then
7671 wx_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
7673 wx_cv_use_tarstream
='wxUSE_TARSTREAM=no'
7678 wx_cv_use_tarstream
='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7683 eval "$wx_cv_use_tarstream"
7685 if test x"$enablestring" = xdisable; then
7686 if test $wxUSE_TARSTREAM = no; then
7692 result=$wxUSE_TARSTREAM
7695 { echo "$as_me:$LINENO: result: $result" >&5
7696 echo "${ECHO_T}$result" >&6; }
7700 defaultval=$wxUSE_ALL_FEATURES
7701 if test -z "$defaultval"; then
7702 if test x"$enablestring" = xdisable; then
7709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7711 # Check whether --enable-textbuf was given.
7712 if test "${enable_textbuf+set}" = set; then
7713 enableval=$enable_textbuf;
7714 if test "$enableval" = yes; then
7715 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
7717 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
7722 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7727 eval "$wx_cv_use_textbuf"
7729 if test x"$enablestring" = xdisable; then
7730 if test $wxUSE_TEXTBUFFER = no; then
7736 result=$wxUSE_TEXTBUFFER
7739 { echo "$as_me:$LINENO: result
: $result" >&5
7740 echo "${ECHO_T}$result" >&6; }
7744 defaultval=$wxUSE_ALL_FEATURES
7745 if test -z "$defaultval"; then
7746 if test x"$enablestring" = xdisable; then
7753 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textfile" >&5
7754 echo $ECHO_N "checking
for --${enablestring:-enable}-textfile...
$ECHO_C" >&6; }
7755 # Check whether --enable-textfile was given.
7756 if test "${enable_textfile+set}" = set; then
7757 enableval=$enable_textfile;
7758 if test "$enableval" = yes; then
7759 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7761 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7766 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7771 eval "$wx_cv_use_textfile"
7773 if test x
"$enablestring" = xdisable
; then
7774 if test $wxUSE_TEXTFILE = no
; then
7780 result
=$wxUSE_TEXTFILE
7783 { echo "$as_me:$LINENO: result: $result" >&5
7784 echo "${ECHO_T}$result" >&6; }
7788 defaultval
=$wxUSE_ALL_FEATURES
7789 if test -z "$defaultval"; then
7790 if test x
"$enablestring" = xdisable
; then
7797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7799 # Check whether --enable-timer was given.
7800 if test "${enable_timer+set}" = set; then
7801 enableval
=$enable_timer;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_timer
='wxUSE_TIMER=yes'
7805 wx_cv_use_timer
='wxUSE_TIMER=no'
7810 wx_cv_use_timer
='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7815 eval "$wx_cv_use_timer"
7817 if test x"$enablestring" = xdisable; then
7818 if test $wxUSE_TIMER = no; then
7827 { echo "$as_me:$LINENO: result: $result" >&5
7828 echo "${ECHO_T}$result" >&6; }
7832 defaultval=$wxUSE_ALL_FEATURES
7833 if test -z "$defaultval"; then
7834 if test x"$enablestring" = xdisable; then
7841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7843 # Check whether --enable-variant was given.
7844 if test "${enable_variant+set}" = set; then
7845 enableval=$enable_variant;
7846 if test "$enableval" = yes; then
7847 wx_cv_use_variant='wxUSE_VARIANT
=yes'
7849 wx_cv_use_variant='wxUSE_VARIANT
=no
'
7854 wx_cv_use_variant='wxUSE_VARIANT
=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7859 eval "$wx_cv_use_variant"
7861 if test x"$enablestring" = xdisable; then
7862 if test $wxUSE_VARIANT = no; then
7868 result=$wxUSE_VARIANT
7871 { echo "$as_me:$LINENO: result
: $result" >&5
7872 echo "${ECHO_T}$result" >&6; }
7876 defaultval=$wxUSE_ALL_FEATURES
7877 if test -z "$defaultval"; then
7878 if test x"$enablestring" = xdisable; then
7885 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-zipstream" >&5
7886 echo $ECHO_N "checking
for --${enablestring:-enable}-zipstream...
$ECHO_C" >&6; }
7887 # Check whether --enable-zipstream was given.
7888 if test "${enable_zipstream+set}" = set; then
7889 enableval=$enable_zipstream;
7890 if test "$enableval" = yes; then
7891 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7893 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7898 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7903 eval "$wx_cv_use_zipstream"
7905 if test x
"$enablestring" = xdisable
; then
7906 if test $wxUSE_ZIPSTREAM = no
; then
7912 result
=$wxUSE_ZIPSTREAM
7915 { echo "$as_me:$LINENO: result: $result" >&5
7916 echo "${ECHO_T}$result" >&6; }
7921 defaultval
=$wxUSE_ALL_FEATURES
7922 if test -z "$defaultval"; then
7923 if test x
"$enablestring" = xdisable
; then
7930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7931 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7932 # Check whether --enable-url was given.
7933 if test "${enable_url+set}" = set; then
7934 enableval
=$enable_url;
7935 if test "$enableval" = yes; then
7936 wx_cv_use_url
='wxUSE_URL=yes'
7938 wx_cv_use_url
='wxUSE_URL=no'
7943 wx_cv_use_url
='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7948 eval "$wx_cv_use_url"
7950 if test x"$enablestring" = xdisable; then
7951 if test $wxUSE_URL = no; then
7960 { echo "$as_me:$LINENO: result: $result" >&5
7961 echo "${ECHO_T}$result" >&6; }
7965 defaultval=$wxUSE_ALL_FEATURES
7966 if test -z "$defaultval"; then
7967 if test x"$enablestring" = xdisable; then
7974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7975 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7976 # Check whether --enable-protocol was given.
7977 if test "${enable_protocol+set}" = set; then
7978 enableval=$enable_protocol;
7979 if test "$enableval" = yes; then
7980 wx_cv_use_protocol='wxUSE_PROTOCOL
=yes'
7982 wx_cv_use_protocol='wxUSE_PROTOCOL
=no
'
7987 wx_cv_use_protocol='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7992 eval "$wx_cv_use_protocol"
7994 if test x"$enablestring" = xdisable; then
7995 if test $wxUSE_PROTOCOL = no; then
8001 result=$wxUSE_PROTOCOL
8004 { echo "$as_me:$LINENO: result
: $result" >&5
8005 echo "${ECHO_T}$result" >&6; }
8009 defaultval=$wxUSE_ALL_FEATURES
8010 if test -z "$defaultval"; then
8011 if test x"$enablestring" = xdisable; then
8018 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_http" >&5
8019 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_http...
$ECHO_C" >&6; }
8020 # Check whether --enable-protocol_http was given.
8021 if test "${enable_protocol_http+set}" = set; then
8022 enableval=$enable_protocol_http;
8023 if test "$enableval" = yes; then
8024 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8026 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8031 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8036 eval "$wx_cv_use_protocol_http"
8038 if test x
"$enablestring" = xdisable
; then
8039 if test $wxUSE_PROTOCOL_HTTP = no
; then
8045 result
=$wxUSE_PROTOCOL_HTTP
8048 { echo "$as_me:$LINENO: result: $result" >&5
8049 echo "${ECHO_T}$result" >&6; }
8053 defaultval
=$wxUSE_ALL_FEATURES
8054 if test -z "$defaultval"; then
8055 if test x
"$enablestring" = xdisable
; then
8062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8063 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8064 # Check whether --enable-protocol_ftp was given.
8065 if test "${enable_protocol_ftp+set}" = set; then
8066 enableval
=$enable_protocol_ftp;
8067 if test "$enableval" = yes; then
8068 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
8070 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
8075 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8080 eval "$wx_cv_use_protocol_ftp"
8082 if test x"$enablestring" = xdisable; then
8083 if test $wxUSE_PROTOCOL_FTP = no; then
8089 result=$wxUSE_PROTOCOL_FTP
8092 { echo "$as_me:$LINENO: result: $result" >&5
8093 echo "${ECHO_T}$result" >&6; }
8097 defaultval=$wxUSE_ALL_FEATURES
8098 if test -z "$defaultval"; then
8099 if test x"$enablestring" = xdisable; then
8106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8107 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8108 # Check whether --enable-protocol_file was given.
8109 if test "${enable_protocol_file+set}" = set; then
8110 enableval=$enable_protocol_file;
8111 if test "$enableval" = yes; then
8112 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
8114 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
8119 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8124 eval "$wx_cv_use_protocol_file"
8126 if test x"$enablestring" = xdisable; then
8127 if test $wxUSE_PROTOCOL_FILE = no; then
8133 result=$wxUSE_PROTOCOL_FILE
8136 { echo "$as_me:$LINENO: result
: $result" >&5
8137 echo "${ECHO_T}$result" >&6; }
8142 defaultval=$wxUSE_ALL_FEATURES
8143 if test -z "$defaultval"; then
8144 if test x"$enablestring" = xdisable; then
8151 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-threads" >&5
8152 echo $ECHO_N "checking
for --${enablestring:-enable}-threads...
$ECHO_C" >&6; }
8153 # Check whether --enable-threads was given.
8154 if test "${enable_threads+set}" = set; then
8155 enableval=$enable_threads;
8156 if test "$enableval" = yes; then
8157 wx_cv_use_threads='wxUSE_THREADS=yes'
8159 wx_cv_use_threads='wxUSE_THREADS=no'
8164 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8169 eval "$wx_cv_use_threads"
8171 if test x
"$enablestring" = xdisable
; then
8172 if test $wxUSE_THREADS = no
; then
8178 result
=$wxUSE_THREADS
8181 { echo "$as_me:$LINENO: result: $result" >&5
8182 echo "${ECHO_T}$result" >&6; }
8188 if test -z "$defaultval"; then
8189 if test x
"$enablestring" = xdisable
; then
8196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8197 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8198 # Check whether --enable-iniconf was given.
8199 if test "${enable_iniconf+set}" = set; then
8200 enableval
=$enable_iniconf;
8201 if test "$enableval" = yes; then
8202 wx_cv_use_iniconf
='wxUSE_INICONF=yes'
8204 wx_cv_use_iniconf
='wxUSE_INICONF=no'
8209 wx_cv_use_iniconf
='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8214 eval "$wx_cv_use_iniconf"
8216 if test x"$enablestring" = xdisable; then
8217 if test $wxUSE_INICONF = no; then
8223 result=$wxUSE_INICONF
8226 { echo "$as_me:$LINENO: result: $result" >&5
8227 echo "${ECHO_T}$result" >&6; }
8231 defaultval=$wxUSE_ALL_FEATURES
8232 if test -z "$defaultval"; then
8233 if test x"$enablestring" = xdisable; then
8240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8242 # Check whether --enable-regkey was given.
8243 if test "${enable_regkey+set}" = set; then
8244 enableval=$enable_regkey;
8245 if test "$enableval" = yes; then
8246 wx_cv_use_regkey='wxUSE_REGKEY
=yes'
8248 wx_cv_use_regkey='wxUSE_REGKEY
=no
'
8253 wx_cv_use_regkey='wxUSE_REGKEY
=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8258 eval "$wx_cv_use_regkey"
8260 if test x"$enablestring" = xdisable; then
8261 if test $wxUSE_REGKEY = no; then
8267 result=$wxUSE_REGKEY
8270 { echo "$as_me:$LINENO: result
: $result" >&5
8271 echo "${ECHO_T}$result" >&6; }
8274 if test "$wxUSE_GUI" = "yes"; then
8279 defaultval=$wxUSE_ALL_FEATURES
8280 if test -z "$defaultval"; then
8281 if test x"$enablestring" = xdisable; then
8288 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-docview" >&5
8289 echo $ECHO_N "checking
for --${enablestring:-enable}-docview...
$ECHO_C" >&6; }
8290 # Check whether --enable-docview was given.
8291 if test "${enable_docview+set}" = set; then
8292 enableval=$enable_docview;
8293 if test "$enableval" = yes; then
8294 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8296 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8301 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8306 eval "$wx_cv_use_docview"
8308 if test x
"$enablestring" = xdisable
; then
8309 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no
; then
8315 result
=$wxUSE_DOC_VIEW_ARCHITECTURE
8318 { echo "$as_me:$LINENO: result: $result" >&5
8319 echo "${ECHO_T}$result" >&6; }
8323 defaultval
=$wxUSE_ALL_FEATURES
8324 if test -z "$defaultval"; then
8325 if test x
"$enablestring" = xdisable
; then
8332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8333 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8334 # Check whether --enable-help was given.
8335 if test "${enable_help+set}" = set; then
8336 enableval
=$enable_help;
8337 if test "$enableval" = yes; then
8338 wx_cv_use_help
='wxUSE_HELP=yes'
8340 wx_cv_use_help
='wxUSE_HELP=no'
8345 wx_cv_use_help
='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8350 eval "$wx_cv_use_help"
8352 if test x"$enablestring" = xdisable; then
8353 if test $wxUSE_HELP = no; then
8362 { echo "$as_me:$LINENO: result: $result" >&5
8363 echo "${ECHO_T}$result" >&6; }
8367 defaultval=$wxUSE_ALL_FEATURES
8368 if test -z "$defaultval"; then
8369 if test x"$enablestring" = xdisable; then
8376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8378 # Check whether --enable-mshtmlhelp was given.
8379 if test "${enable_mshtmlhelp+set}" = set; then
8380 enableval=$enable_mshtmlhelp;
8381 if test "$enableval" = yes; then
8382 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
8384 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
8389 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8394 eval "$wx_cv_use_mshtmlhelp"
8396 if test x"$enablestring" = xdisable; then
8397 if test $wxUSE_MS_HTML_HELP = no; then
8403 result=$wxUSE_MS_HTML_HELP
8406 { echo "$as_me:$LINENO: result
: $result" >&5
8407 echo "${ECHO_T}$result" >&6; }
8411 defaultval=$wxUSE_ALL_FEATURES
8412 if test -z "$defaultval"; then
8413 if test x"$enablestring" = xdisable; then
8420 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-html" >&5
8421 echo $ECHO_N "checking
for --${enablestring:-enable}-html...
$ECHO_C" >&6; }
8422 # Check whether --enable-html was given.
8423 if test "${enable_html+set}" = set; then
8424 enableval=$enable_html;
8425 if test "$enableval" = yes; then
8426 wx_cv_use_html='wxUSE_HTML=yes'
8428 wx_cv_use_html='wxUSE_HTML=no'
8433 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8438 eval "$wx_cv_use_html"
8440 if test x
"$enablestring" = xdisable
; then
8441 if test $wxUSE_HTML = no
; then
8450 { echo "$as_me:$LINENO: result: $result" >&5
8451 echo "${ECHO_T}$result" >&6; }
8455 defaultval
=$wxUSE_ALL_FEATURES
8456 if test -z "$defaultval"; then
8457 if test x
"$enablestring" = xdisable
; then
8464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8465 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8466 # Check whether --enable-htmlhelp was given.
8467 if test "${enable_htmlhelp+set}" = set; then
8468 enableval
=$enable_htmlhelp;
8469 if test "$enableval" = yes; then
8470 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
8472 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
8477 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8482 eval "$wx_cv_use_htmlhelp"
8484 if test x"$enablestring" = xdisable; then
8485 if test $wxUSE_WXHTML_HELP = no; then
8491 result=$wxUSE_WXHTML_HELP
8494 { echo "$as_me:$LINENO: result: $result" >&5
8495 echo "${ECHO_T}$result" >&6; }
8499 defaultval=$wxUSE_ALL_FEATURES
8500 if test -z "$defaultval"; then
8501 if test x"$enablestring" = xdisable; then
8508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8510 # Check whether --enable-xrc was given.
8511 if test "${enable_xrc+set}" = set; then
8512 enableval=$enable_xrc;
8513 if test "$enableval" = yes; then
8514 wx_cv_use_xrc='wxUSE_XRC
=yes'
8516 wx_cv_use_xrc='wxUSE_XRC
=no
'
8521 wx_cv_use_xrc='wxUSE_XRC
=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8526 eval "$wx_cv_use_xrc"
8528 if test x"$enablestring" = xdisable; then
8529 if test $wxUSE_XRC = no; then
8538 { echo "$as_me:$LINENO: result
: $result" >&5
8539 echo "${ECHO_T}$result" >&6; }
8543 defaultval=$wxUSE_ALL_FEATURES
8544 if test -z "$defaultval"; then
8545 if test x"$enablestring" = xdisable; then
8552 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aui" >&5
8553 echo $ECHO_N "checking
for --${enablestring:-enable}-aui...
$ECHO_C" >&6; }
8554 # Check whether --enable-aui was given.
8555 if test "${enable_aui+set}" = set; then
8556 enableval=$enable_aui;
8557 if test "$enableval" = yes; then
8558 wx_cv_use_aui='wxUSE_AUI=yes'
8560 wx_cv_use_aui='wxUSE_AUI=no'
8565 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8570 eval "$wx_cv_use_aui"
8572 if test x
"$enablestring" = xdisable
; then
8573 if test $wxUSE_AUI = no
; then
8582 { echo "$as_me:$LINENO: result: $result" >&5
8583 echo "${ECHO_T}$result" >&6; }
8587 defaultval
=$wxUSE_ALL_FEATURES
8588 if test -z "$defaultval"; then
8589 if test x
"$enablestring" = xdisable
; then
8596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8597 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8598 # Check whether --enable-propgrid was given.
8599 if test "${enable_propgrid+set}" = set; then
8600 enableval
=$enable_propgrid;
8601 if test "$enableval" = yes; then
8602 wx_cv_use_propgrid
='wxUSE_PROPGRID=yes'
8604 wx_cv_use_propgrid
='wxUSE_PROPGRID=no'
8609 wx_cv_use_propgrid
='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8614 eval "$wx_cv_use_propgrid"
8616 if test x"$enablestring" = xdisable; then
8617 if test $wxUSE_PROPGRID = no; then
8623 result=$wxUSE_PROPGRID
8626 { echo "$as_me:$LINENO: result: $result" >&5
8627 echo "${ECHO_T}$result" >&6; }
8631 defaultval=$wxUSE_ALL_FEATURES
8632 if test -z "$defaultval"; then
8633 if test x"$enablestring" = xdisable; then
8640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8641 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8642 # Check whether --enable-stc was given.
8643 if test "${enable_stc+set}" = set; then
8644 enableval=$enable_stc;
8645 if test "$enableval" = yes; then
8646 wx_cv_use_stc='wxUSE_STC
=yes'
8648 wx_cv_use_stc='wxUSE_STC
=no
'
8653 wx_cv_use_stc='wxUSE_STC
=${'DEFAULT_wxUSE_STC":-$defaultval}"
8658 eval "$wx_cv_use_stc"
8660 if test x"$enablestring" = xdisable; then
8661 if test $wxUSE_STC = no; then
8670 { echo "$as_me:$LINENO: result
: $result" >&5
8671 echo "${ECHO_T}$result" >&6; }
8675 defaultval=$wxUSE_ALL_FEATURES
8676 if test -z "$defaultval"; then
8677 if test x"$enablestring" = xdisable; then
8684 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-constraints" >&5
8685 echo $ECHO_N "checking
for --${enablestring:-enable}-constraints...
$ECHO_C" >&6; }
8686 # Check whether --enable-constraints was given.
8687 if test "${enable_constraints+set}" = set; then
8688 enableval=$enable_constraints;
8689 if test "$enableval" = yes; then
8690 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8692 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8697 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8702 eval "$wx_cv_use_constraints"
8704 if test x
"$enablestring" = xdisable
; then
8705 if test $wxUSE_CONSTRAINTS = no
; then
8711 result
=$wxUSE_CONSTRAINTS
8714 { echo "$as_me:$LINENO: result: $result" >&5
8715 echo "${ECHO_T}$result" >&6; }
8719 defaultval
=$wxUSE_ALL_FEATURES
8720 if test -z "$defaultval"; then
8721 if test x
"$enablestring" = xdisable
; then
8728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8729 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8730 # Check whether --enable-loggui was given.
8731 if test "${enable_loggui+set}" = set; then
8732 enableval
=$enable_loggui;
8733 if test "$enableval" = yes; then
8734 wx_cv_use_loggui
='wxUSE_LOGGUI=yes'
8736 wx_cv_use_loggui
='wxUSE_LOGGUI=no'
8741 wx_cv_use_loggui
='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8746 eval "$wx_cv_use_loggui"
8748 if test x"$enablestring" = xdisable; then
8749 if test $wxUSE_LOGGUI = no; then
8755 result=$wxUSE_LOGGUI
8758 { echo "$as_me:$LINENO: result: $result" >&5
8759 echo "${ECHO_T}$result" >&6; }
8763 defaultval=$wxUSE_ALL_FEATURES
8764 if test -z "$defaultval"; then
8765 if test x"$enablestring" = xdisable; then
8772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8773 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8774 # Check whether --enable-logwin was given.
8775 if test "${enable_logwin+set}" = set; then
8776 enableval=$enable_logwin;
8777 if test "$enableval" = yes; then
8778 wx_cv_use_logwin='wxUSE_LOGWINDOW
=yes'
8780 wx_cv_use_logwin='wxUSE_LOGWINDOW
=no
'
8785 wx_cv_use_logwin='wxUSE_LOGWINDOW
=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8790 eval "$wx_cv_use_logwin"
8792 if test x"$enablestring" = xdisable; then
8793 if test $wxUSE_LOGWINDOW = no; then
8799 result=$wxUSE_LOGWINDOW
8802 { echo "$as_me:$LINENO: result
: $result" >&5
8803 echo "${ECHO_T}$result" >&6; }
8807 defaultval=$wxUSE_ALL_FEATURES
8808 if test -z "$defaultval"; then
8809 if test x"$enablestring" = xdisable; then
8816 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-logdialog" >&5
8817 echo $ECHO_N "checking
for --${enablestring:-enable}-logdialog...
$ECHO_C" >&6; }
8818 # Check whether --enable-logdialog was given.
8819 if test "${enable_logdialog+set}" = set; then
8820 enableval=$enable_logdialog;
8821 if test "$enableval" = yes; then
8822 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8824 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8829 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8834 eval "$wx_cv_use_logdialog"
8836 if test x
"$enablestring" = xdisable
; then
8837 if test $wxUSE_LOGDIALOG = no
; then
8843 result
=$wxUSE_LOGDIALOG
8846 { echo "$as_me:$LINENO: result: $result" >&5
8847 echo "${ECHO_T}$result" >&6; }
8851 defaultval
=$wxUSE_ALL_FEATURES
8852 if test -z "$defaultval"; then
8853 if test x
"$enablestring" = xdisable
; then
8860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8862 # Check whether --enable-mdi was given.
8863 if test "${enable_mdi+set}" = set; then
8864 enableval
=$enable_mdi;
8865 if test "$enableval" = yes; then
8866 wx_cv_use_mdi
='wxUSE_MDI=yes'
8868 wx_cv_use_mdi
='wxUSE_MDI=no'
8873 wx_cv_use_mdi
='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8878 eval "$wx_cv_use_mdi"
8880 if test x"$enablestring" = xdisable; then
8881 if test $wxUSE_MDI = no; then
8890 { echo "$as_me:$LINENO: result: $result" >&5
8891 echo "${ECHO_T}$result" >&6; }
8895 defaultval=$wxUSE_ALL_FEATURES
8896 if test -z "$defaultval"; then
8897 if test x"$enablestring" = xdisable; then
8904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8905 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8906 # Check whether --enable-mdidoc was given.
8907 if test "${enable_mdidoc+set}" = set; then
8908 enableval=$enable_mdidoc;
8909 if test "$enableval" = yes; then
8910 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=yes'
8912 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=no
'
8917 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE
=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8922 eval "$wx_cv_use_mdidoc"
8924 if test x"$enablestring" = xdisable; then
8925 if test $wxUSE_MDI_ARCHITECTURE = no; then
8931 result=$wxUSE_MDI_ARCHITECTURE
8934 { echo "$as_me:$LINENO: result
: $result" >&5
8935 echo "${ECHO_T}$result" >&6; }
8939 defaultval=$wxUSE_ALL_FEATURES
8940 if test -z "$defaultval"; then
8941 if test x"$enablestring" = xdisable; then
8948 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mediactrl" >&5
8949 echo $ECHO_N "checking
for --${enablestring:-enable}-mediactrl...
$ECHO_C" >&6; }
8950 # Check whether --enable-mediactrl was given.
8951 if test "${enable_mediactrl+set}" = set; then
8952 enableval=$enable_mediactrl;
8953 if test "$enableval" = yes; then
8954 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8956 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8961 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8966 eval "$wx_cv_use_mediactrl"
8968 if test x
"$enablestring" = xdisable
; then
8969 if test $wxUSE_MEDIACTRL = no
; then
8975 result
=$wxUSE_MEDIACTRL
8978 { echo "$as_me:$LINENO: result: $result" >&5
8979 echo "${ECHO_T}$result" >&6; }
8983 defaultval
=$wxUSE_ALL_FEATURES
8984 if test -z "$defaultval"; then
8985 if test x
"$enablestring" = xdisable
; then
8992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8993 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8994 # Check whether --enable-gstreamer8 was given.
8995 if test "${enable_gstreamer8+set}" = set; then
8996 enableval
=$enable_gstreamer8;
8997 if test "$enableval" = yes; then
8998 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=yes'
9000 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=no'
9005 wx_cv_use_gstreamer8
='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9010 eval "$wx_cv_use_gstreamer8"
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_GSTREAMER8 = no; then
9019 result=$wxUSE_GSTREAMER8
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9038 # Check whether --enable-webkit was given.
9039 if test "${enable_webkit+set}" = set; then
9040 enableval=$enable_webkit;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9044 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9049 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9054 eval "$wx_cv_use_webkit"
9056 if test x"$enablestring" = xdisable; then
9057 if test $wxUSE_WEBKIT = no; then
9063 result=$wxUSE_WEBKIT
9066 { echo "$as_me:$LINENO: result
: $result" >&5
9067 echo "${ECHO_T}$result" >&6; }
9071 defaultval=$wxUSE_ALL_FEATURES
9072 if test -z "$defaultval"; then
9073 if test x"$enablestring" = xdisable; then
9080 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-richtext" >&5
9081 echo $ECHO_N "checking
for --${enablestring:-enable}-richtext...
$ECHO_C" >&6; }
9082 # Check whether --enable-richtext was given.
9083 if test "${enable_richtext+set}" = set; then
9084 enableval=$enable_richtext;
9085 if test "$enableval" = yes; then
9086 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9088 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9093 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9098 eval "$wx_cv_use_richtext"
9100 if test x
"$enablestring" = xdisable
; then
9101 if test $wxUSE_RICHTEXT = no
; then
9107 result
=$wxUSE_RICHTEXT
9110 { echo "$as_me:$LINENO: result: $result" >&5
9111 echo "${ECHO_T}$result" >&6; }
9115 defaultval
=$wxUSE_ALL_FEATURES
9116 if test -z "$defaultval"; then
9117 if test x
"$enablestring" = xdisable
; then
9124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9125 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9126 # Check whether --enable-graphics_ctx was given.
9127 if test "${enable_graphics_ctx+set}" = set; then
9128 enableval
=$enable_graphics_ctx;
9129 if test "$enableval" = yes; then
9130 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9132 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9137 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9142 eval "$wx_cv_use_graphics_ctx"
9144 if test x"$enablestring" = xdisable; then
9145 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9151 result=$wxUSE_GRAPHICS_CONTEXT
9154 { echo "$as_me:$LINENO: result: $result" >&5
9155 echo "${ECHO_T}$result" >&6; }
9159 defaultval=$wxUSE_ALL_FEATURES
9160 if test -z "$defaultval"; then
9161 if test x"$enablestring" = xdisable; then
9168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9170 # Check whether --enable-postscript was given.
9171 if test "${enable_postscript+set}" = set; then
9172 enableval=$enable_postscript;
9173 if test "$enableval" = yes; then
9174 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
9176 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
9181 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9186 eval "$wx_cv_use_postscript"
9188 if test x"$enablestring" = xdisable; then
9189 if test $wxUSE_POSTSCRIPT = no; then
9195 result=$wxUSE_POSTSCRIPT
9198 { echo "$as_me:$LINENO: result
: $result" >&5
9199 echo "${ECHO_T}$result" >&6; }
9203 defaultval=$wxUSE_ALL_FEATURES
9204 if test -z "$defaultval"; then
9205 if test x"$enablestring" = xdisable; then
9212 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printarch" >&5
9213 echo $ECHO_N "checking
for --${enablestring:-enable}-printarch...
$ECHO_C" >&6; }
9214 # Check whether --enable-printarch was given.
9215 if test "${enable_printarch+set}" = set; then
9216 enableval=$enable_printarch;
9217 if test "$enableval" = yes; then
9218 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9220 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9225 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9230 eval "$wx_cv_use_printarch"
9232 if test x
"$enablestring" = xdisable
; then
9233 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
9239 result
=$wxUSE_PRINTING_ARCHITECTURE
9242 { echo "$as_me:$LINENO: result: $result" >&5
9243 echo "${ECHO_T}$result" >&6; }
9247 defaultval
=$wxUSE_ALL_FEATURES
9248 if test -z "$defaultval"; then
9249 if test x
"$enablestring" = xdisable
; then
9256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9257 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9258 # Check whether --enable-svg was given.
9259 if test "${enable_svg+set}" = set; then
9260 enableval
=$enable_svg;
9261 if test "$enableval" = yes; then
9262 wx_cv_use_svg
='wxUSE_SVG=yes'
9264 wx_cv_use_svg
='wxUSE_SVG=no'
9269 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9274 eval "$wx_cv_use_svg"
9276 if test x"$enablestring" = xdisable; then
9277 if test $wxUSE_SVG = no; then
9286 { echo "$as_me:$LINENO: result: $result" >&5
9287 echo "${ECHO_T}$result" >&6; }
9293 defaultval=$wxUSE_ALL_FEATURES
9294 if test -z "$defaultval"; then
9295 if test x"$enablestring" = xdisable; then
9302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9303 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9304 # Check whether --enable-clipboard was given.
9305 if test "${enable_clipboard+set}" = set; then
9306 enableval=$enable_clipboard;
9307 if test "$enableval" = yes; then
9308 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9310 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9315 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9320 eval "$wx_cv_use_clipboard"
9322 if test x"$enablestring" = xdisable; then
9323 if test $wxUSE_CLIPBOARD = no; then
9329 result=$wxUSE_CLIPBOARD
9332 { echo "$as_me:$LINENO: result
: $result" >&5
9333 echo "${ECHO_T}$result" >&6; }
9337 defaultval=$wxUSE_ALL_FEATURES
9338 if test -z "$defaultval"; then
9339 if test x"$enablestring" = xdisable; then
9346 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9347 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9348 # Check whether --enable-dnd was given.
9349 if test "${enable_dnd+set}" = set; then
9350 enableval=$enable_dnd;
9351 if test "$enableval" = yes; then
9352 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9354 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9359 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9364 eval "$wx_cv_use_dnd"
9366 if test x
"$enablestring" = xdisable
; then
9367 if test $wxUSE_DRAG_AND_DROP = no
; then
9373 result
=$wxUSE_DRAG_AND_DROP
9376 { echo "$as_me:$LINENO: result: $result" >&5
9377 echo "${ECHO_T}$result" >&6; }
9381 defaultval
=$wxUSE_ALL_FEATURES
9382 if test -z "$defaultval"; then
9383 if test x
"$enablestring" = xdisable
; then
9390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9392 # Check whether --enable-metafile was given.
9393 if test "${enable_metafile+set}" = set; then
9394 enableval
=$enable_metafile;
9395 if test "$enableval" = yes; then
9396 wx_cv_use_metafile
='wxUSE_METAFILE=yes'
9398 wx_cv_use_metafile
='wxUSE_METAFILE=no'
9403 wx_cv_use_metafile
='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9408 eval "$wx_cv_use_metafile"
9410 if test x"$enablestring" = xdisable; then
9411 if test $wxUSE_METAFILE = no; then
9417 result=$wxUSE_METAFILE
9420 { echo "$as_me:$LINENO: result: $result" >&5
9421 echo "${ECHO_T}$result" >&6; }
9425 DEFAULT_wxUSE_CONTROLS=none
9427 enablestring=disable
9429 if test -z "$defaultval"; then
9430 if test x"$enablestring" = xdisable; then
9437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9439 # Check whether --enable-controls was given.
9440 if test "${enable_controls+set}" = set; then
9441 enableval=$enable_controls;
9442 if test "$enableval" = yes; then
9443 wx_cv_use_controls='wxUSE_CONTROLS
=yes'
9445 wx_cv_use_controls='wxUSE_CONTROLS
=no
'
9450 wx_cv_use_controls='wxUSE_CONTROLS
=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9455 eval "$wx_cv_use_controls"
9457 if test x"$enablestring" = xdisable; then
9458 if test $wxUSE_CONTROLS = no; then
9464 result=$wxUSE_CONTROLS
9467 { echo "$as_me:$LINENO: result
: $result" >&5
9468 echo "${ECHO_T}$result" >&6; }
9471 if test "$wxUSE_CONTROLS" = "no
"; then
9472 DEFAULT_wxUSE_ACCEL=no
9473 DEFAULT_wxUSE_ANIMATIONCTRL=no
9474 DEFAULT_wxUSE_BMPBUTTON=no
9475 DEFAULT_wxUSE_BUTTON=no
9476 DEFAULT_wxUSE_CALCTRL=no
9477 DEFAULT_wxUSE_CARET=no
9478 DEFAULT_wxUSE_CHECKBOX=no
9479 DEFAULT_wxUSE_CHECKLISTBOX=no
9480 DEFAULT_wxUSE_CHOICE=no
9481 DEFAULT_wxUSE_CHOICEBOOK=no
9482 DEFAULT_wxUSE_COLLPANE=no
9483 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9484 DEFAULT_wxUSE_COMBOBOX=no
9485 DEFAULT_wxUSE_COMBOBOX=no
9486 DEFAULT_wxUSE_DATAVIEWCTRL=no
9487 DEFAULT_wxUSE_DATEPICKCTRL=no
9488 DEFAULT_wxUSE_DETECT_SM=no
9489 DEFAULT_wxUSE_DIRPICKERCTRL=no
9490 DEFAULT_wxUSE_DISPLAY=no
9491 DEFAULT_wxUSE_FILECTRL=no
9492 DEFAULT_wxUSE_FILEPICKERCTRL=no
9493 DEFAULT_wxUSE_FONTPICKERCTRL=no
9494 DEFAULT_wxUSE_GAUGE=no
9495 DEFAULT_wxUSE_GRID=no
9496 DEFAULT_wxUSE_HEADERCTRL=no
9497 DEFAULT_wxUSE_HYPERLINKCTRL=no
9498 DEFAULT_wxUSE_IMAGLIST=no
9499 DEFAULT_wxUSE_LISTBOOK=no
9500 DEFAULT_wxUSE_LISTBOX=no
9501 DEFAULT_wxUSE_LISTCTRL=no
9502 DEFAULT_wxUSE_NOTEBOOK=no
9503 DEFAULT_wxUSE_POPUPWIN=no
9504 DEFAULT_wxUSE_RADIOBOX=no
9505 DEFAULT_wxUSE_RADIOBTN=no
9506 DEFAULT_wxUSE_REARRANGECTRL=no
9507 DEFAULT_wxUSE_SASH=no
9508 DEFAULT_wxUSE_SCROLLBAR=no
9509 DEFAULT_wxUSE_SEARCHCTRL=no
9510 DEFAULT_wxUSE_SLIDER=no
9511 DEFAULT_wxUSE_SPINBTN=no
9512 DEFAULT_wxUSE_SPINCTRL=no
9513 DEFAULT_wxUSE_SPLITTER=no
9514 DEFAULT_wxUSE_STATBMP=no
9515 DEFAULT_wxUSE_STATBOX=no
9516 DEFAULT_wxUSE_STATLINE=no
9517 DEFAULT_wxUSE_STATUSBAR=no
9518 DEFAULT_wxUSE_TIPWINDOW=no
9519 DEFAULT_wxUSE_TOGGLEBTN=no
9520 DEFAULT_wxUSE_TOOLBAR=no
9521 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9522 DEFAULT_wxUSE_TOOLBOOK=no
9523 DEFAULT_wxUSE_TOOLTIPS=no
9524 DEFAULT_wxUSE_TREEBOOK=no
9525 DEFAULT_wxUSE_TREECTRL=no
9530 defaultval=$wxUSE_ALL_FEATURES
9531 if test -z "$defaultval"; then
9532 if test x"$enablestring" = xdisable; then
9539 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9540 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9541 # Check whether --enable-accel was given.
9542 if test "${enable_accel+set}" = set; then
9543 enableval=$enable_accel;
9544 if test "$enableval" = yes; then
9545 wx_cv_use_accel='wxUSE_ACCEL=yes'
9547 wx_cv_use_accel='wxUSE_ACCEL=no'
9552 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9557 eval "$wx_cv_use_accel"
9559 if test x
"$enablestring" = xdisable
; then
9560 if test $wxUSE_ACCEL = no
; then
9569 { echo "$as_me:$LINENO: result: $result" >&5
9570 echo "${ECHO_T}$result" >&6; }
9574 defaultval
=$wxUSE_ALL_FEATURES
9575 if test -z "$defaultval"; then
9576 if test x
"$enablestring" = xdisable
; then
9583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9584 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9585 # Check whether --enable-animatectrl was given.
9586 if test "${enable_animatectrl+set}" = set; then
9587 enableval
=$enable_animatectrl;
9588 if test "$enableval" = yes; then
9589 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
9591 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
9596 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9601 eval "$wx_cv_use_animatectrl"
9603 if test x"$enablestring" = xdisable; then
9604 if test $wxUSE_ANIMATIONCTRL = no; then
9610 result=$wxUSE_ANIMATIONCTRL
9613 { echo "$as_me:$LINENO: result: $result" >&5
9614 echo "${ECHO_T}$result" >&6; }
9618 defaultval=$wxUSE_ALL_FEATURES
9619 if test -z "$defaultval"; then
9620 if test x"$enablestring" = xdisable; then
9627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9628 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9629 # Check whether --enable-bmpbutton was given.
9630 if test "${enable_bmpbutton+set}" = set; then
9631 enableval=$enable_bmpbutton;
9632 if test "$enableval" = yes; then
9633 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9635 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9640 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9645 eval "$wx_cv_use_bmpbutton"
9647 if test x"$enablestring" = xdisable; then
9648 if test $wxUSE_BMPBUTTON = no; then
9654 result=$wxUSE_BMPBUTTON
9657 { echo "$as_me:$LINENO: result
: $result" >&5
9658 echo "${ECHO_T}$result" >&6; }
9662 defaultval=$wxUSE_ALL_FEATURES
9663 if test -z "$defaultval"; then
9664 if test x"$enablestring" = xdisable; then
9671 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9672 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9673 # Check whether --enable-bmpcombobox was given.
9674 if test "${enable_bmpcombobox+set}" = set; then
9675 enableval=$enable_bmpcombobox;
9676 if test "$enableval" = yes; then
9677 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9679 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9684 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9689 eval "$wx_cv_use_bmpcombobox"
9691 if test x
"$enablestring" = xdisable
; then
9692 if test $wxUSE_BITMAPCOMBOBOX = no
; then
9698 result
=$wxUSE_BITMAPCOMBOBOX
9701 { echo "$as_me:$LINENO: result: $result" >&5
9702 echo "${ECHO_T}$result" >&6; }
9706 defaultval
=$wxUSE_ALL_FEATURES
9707 if test -z "$defaultval"; then
9708 if test x
"$enablestring" = xdisable
; then
9715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9716 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9717 # Check whether --enable-button was given.
9718 if test "${enable_button+set}" = set; then
9719 enableval
=$enable_button;
9720 if test "$enableval" = yes; then
9721 wx_cv_use_button
='wxUSE_BUTTON=yes'
9723 wx_cv_use_button
='wxUSE_BUTTON=no'
9728 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9733 eval "$wx_cv_use_button"
9735 if test x"$enablestring" = xdisable; then
9736 if test $wxUSE_BUTTON = no; then
9742 result=$wxUSE_BUTTON
9745 { echo "$as_me:$LINENO: result: $result" >&5
9746 echo "${ECHO_T}$result" >&6; }
9750 defaultval=$wxUSE_ALL_FEATURES
9751 if test -z "$defaultval"; then
9752 if test x"$enablestring" = xdisable; then
9759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9760 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9761 # Check whether --enable-calendar was given.
9762 if test "${enable_calendar+set}" = set; then
9763 enableval=$enable_calendar;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
9767 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
9772 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9777 eval "$wx_cv_use_calendar"
9779 if test x"$enablestring" = xdisable; then
9780 if test $wxUSE_CALCTRL = no; then
9786 result=$wxUSE_CALCTRL
9789 { echo "$as_me:$LINENO: result
: $result" >&5
9790 echo "${ECHO_T}$result" >&6; }
9794 defaultval=$wxUSE_ALL_FEATURES
9795 if test -z "$defaultval"; then
9796 if test x"$enablestring" = xdisable; then
9803 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
9804 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
9805 # Check whether --enable-caret was given.
9806 if test "${enable_caret+set}" = set; then
9807 enableval=$enable_caret;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_caret='wxUSE_CARET=yes'
9811 wx_cv_use_caret='wxUSE_CARET=no'
9816 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9821 eval "$wx_cv_use_caret"
9823 if test x
"$enablestring" = xdisable
; then
9824 if test $wxUSE_CARET = no
; then
9833 { echo "$as_me:$LINENO: result: $result" >&5
9834 echo "${ECHO_T}$result" >&6; }
9838 defaultval
=$wxUSE_ALL_FEATURES
9839 if test -z "$defaultval"; then
9840 if test x
"$enablestring" = xdisable
; then
9847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9849 # Check whether --enable-checkbox was given.
9850 if test "${enable_checkbox+set}" = set; then
9851 enableval
=$enable_checkbox;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
9855 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
9860 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9865 eval "$wx_cv_use_checkbox"
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_CHECKBOX = no; then
9874 result=$wxUSE_CHECKBOX
9877 { echo "$as_me:$LINENO: result: $result" >&5
9878 echo "${ECHO_T}$result" >&6; }
9882 defaultval=$wxUSE_ALL_FEATURES
9883 if test -z "$defaultval"; then
9884 if test x"$enablestring" = xdisable; then
9891 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9892 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9893 # Check whether --enable-checklst was given.
9894 if test "${enable_checklst+set}" = set; then
9895 enableval=$enable_checklst;
9896 if test "$enableval" = yes; then
9897 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
9899 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
9904 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9909 eval "$wx_cv_use_checklst"
9911 if test x"$enablestring" = xdisable; then
9912 if test $wxUSE_CHECKLST = no; then
9918 result=$wxUSE_CHECKLST
9921 { echo "$as_me:$LINENO: result
: $result" >&5
9922 echo "${ECHO_T}$result" >&6; }
9926 defaultval=$wxUSE_ALL_FEATURES
9927 if test -z "$defaultval"; then
9928 if test x"$enablestring" = xdisable; then
9935 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
9936 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
9937 # Check whether --enable-choice was given.
9938 if test "${enable_choice+set}" = set; then
9939 enableval=$enable_choice;
9940 if test "$enableval" = yes; then
9941 wx_cv_use_choice='wxUSE_CHOICE=yes'
9943 wx_cv_use_choice='wxUSE_CHOICE=no'
9948 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9953 eval "$wx_cv_use_choice"
9955 if test x
"$enablestring" = xdisable
; then
9956 if test $wxUSE_CHOICE = no
; then
9962 result
=$wxUSE_CHOICE
9965 { echo "$as_me:$LINENO: result: $result" >&5
9966 echo "${ECHO_T}$result" >&6; }
9970 defaultval
=$wxUSE_ALL_FEATURES
9971 if test -z "$defaultval"; then
9972 if test x
"$enablestring" = xdisable
; then
9979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9980 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9981 # Check whether --enable-choicebook was given.
9982 if test "${enable_choicebook+set}" = set; then
9983 enableval
=$enable_choicebook;
9984 if test "$enableval" = yes; then
9985 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
9987 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
9992 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9997 eval "$wx_cv_use_choicebook"
9999 if test x"$enablestring" = xdisable; then
10000 if test $wxUSE_CHOICEBOOK = no; then
10006 result=$wxUSE_CHOICEBOOK
10009 { echo "$as_me:$LINENO: result: $result" >&5
10010 echo "${ECHO_T}$result" >&6; }
10014 defaultval=$wxUSE_ALL_FEATURES
10015 if test -z "$defaultval"; then
10016 if test x"$enablestring" = xdisable; then
10023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10024 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10025 # Check whether --enable-collpane was given.
10026 if test "${enable_collpane+set}" = set; then
10027 enableval=$enable_collpane;
10028 if test "$enableval" = yes; then
10029 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10031 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10036 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10041 eval "$wx_cv_use_collpane"
10043 if test x"$enablestring" = xdisable; then
10044 if test $wxUSE_COLLPANE = no; then
10050 result=$wxUSE_COLLPANE
10053 { echo "$as_me:$LINENO: result
: $result" >&5
10054 echo "${ECHO_T}$result" >&6; }
10058 defaultval=$wxUSE_ALL_FEATURES
10059 if test -z "$defaultval"; then
10060 if test x"$enablestring" = xdisable; then
10067 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10068 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10069 # Check whether --enable-colourpicker was given.
10070 if test "${enable_colourpicker+set}" = set; then
10071 enableval=$enable_colourpicker;
10072 if test "$enableval" = yes; then
10073 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10075 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10080 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10085 eval "$wx_cv_use_colourpicker"
10087 if test x
"$enablestring" = xdisable
; then
10088 if test $wxUSE_COLOURPICKERCTRL = no
; then
10094 result
=$wxUSE_COLOURPICKERCTRL
10097 { echo "$as_me:$LINENO: result: $result" >&5
10098 echo "${ECHO_T}$result" >&6; }
10102 defaultval
=$wxUSE_ALL_FEATURES
10103 if test -z "$defaultval"; then
10104 if test x
"$enablestring" = xdisable
; then
10111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10113 # Check whether --enable-combobox was given.
10114 if test "${enable_combobox+set}" = set; then
10115 enableval
=$enable_combobox;
10116 if test "$enableval" = yes; then
10117 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10119 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10124 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10129 eval "$wx_cv_use_combobox"
10131 if test x"$enablestring" = xdisable; then
10132 if test $wxUSE_COMBOBOX = no; then
10138 result=$wxUSE_COMBOBOX
10141 { echo "$as_me:$LINENO: result: $result" >&5
10142 echo "${ECHO_T}$result" >&6; }
10146 defaultval=$wxUSE_ALL_FEATURES
10147 if test -z "$defaultval"; then
10148 if test x"$enablestring" = xdisable; then
10155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10157 # Check whether --enable-comboctrl was given.
10158 if test "${enable_comboctrl+set}" = set; then
10159 enableval=$enable_comboctrl;
10160 if test "$enableval" = yes; then
10161 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10163 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10168 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10173 eval "$wx_cv_use_comboctrl"
10175 if test x"$enablestring" = xdisable; then
10176 if test $wxUSE_COMBOCTRL = no; then
10182 result=$wxUSE_COMBOCTRL
10185 { echo "$as_me:$LINENO: result
: $result" >&5
10186 echo "${ECHO_T}$result" >&6; }
10190 defaultval=$wxUSE_ALL_FEATURES
10191 if test -z "$defaultval"; then
10192 if test x"$enablestring" = xdisable; then
10199 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10200 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10201 # Check whether --enable-dataviewctrl was given.
10202 if test "${enable_dataviewctrl+set}" = set; then
10203 enableval=$enable_dataviewctrl;
10204 if test "$enableval" = yes; then
10205 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10207 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10212 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10217 eval "$wx_cv_use_dataviewctrl"
10219 if test x
"$enablestring" = xdisable
; then
10220 if test $wxUSE_DATAVIEWCTRL = no
; then
10226 result
=$wxUSE_DATAVIEWCTRL
10229 { echo "$as_me:$LINENO: result: $result" >&5
10230 echo "${ECHO_T}$result" >&6; }
10234 defaultval
=$wxUSE_ALL_FEATURES
10235 if test -z "$defaultval"; then
10236 if test x
"$enablestring" = xdisable
; then
10243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10245 # Check whether --enable-datepick was given.
10246 if test "${enable_datepick+set}" = set; then
10247 enableval
=$enable_datepick;
10248 if test "$enableval" = yes; then
10249 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
10251 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
10256 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10261 eval "$wx_cv_use_datepick"
10263 if test x"$enablestring" = xdisable; then
10264 if test $wxUSE_DATEPICKCTRL = no; then
10270 result=$wxUSE_DATEPICKCTRL
10273 { echo "$as_me:$LINENO: result: $result" >&5
10274 echo "${ECHO_T}$result" >&6; }
10278 defaultval=$wxUSE_ALL_FEATURES
10279 if test -z "$defaultval"; then
10280 if test x"$enablestring" = xdisable; then
10287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10289 # Check whether --enable-detect_sm was given.
10290 if test "${enable_detect_sm+set}" = set; then
10291 enableval=$enable_detect_sm;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10295 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10300 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10305 eval "$wx_cv_use_detect_sm"
10307 if test x"$enablestring" = xdisable; then
10308 if test $wxUSE_DETECT_SM = no; then
10314 result=$wxUSE_DETECT_SM
10317 { echo "$as_me:$LINENO: result
: $result" >&5
10318 echo "${ECHO_T}$result" >&6; }
10322 defaultval=$wxUSE_ALL_FEATURES
10323 if test -z "$defaultval"; then
10324 if test x"$enablestring" = xdisable; then
10331 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10332 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10333 # Check whether --enable-dirpicker was given.
10334 if test "${enable_dirpicker+set}" = set; then
10335 enableval=$enable_dirpicker;
10336 if test "$enableval" = yes; then
10337 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10339 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10344 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10349 eval "$wx_cv_use_dirpicker"
10351 if test x
"$enablestring" = xdisable
; then
10352 if test $wxUSE_DIRPICKERCTRL = no
; then
10358 result
=$wxUSE_DIRPICKERCTRL
10361 { echo "$as_me:$LINENO: result: $result" >&5
10362 echo "${ECHO_T}$result" >&6; }
10366 defaultval
=$wxUSE_ALL_FEATURES
10367 if test -z "$defaultval"; then
10368 if test x
"$enablestring" = xdisable
; then
10375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10376 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10377 # Check whether --enable-display was given.
10378 if test "${enable_display+set}" = set; then
10379 enableval
=$enable_display;
10380 if test "$enableval" = yes; then
10381 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10383 wx_cv_use_display
='wxUSE_DISPLAY=no'
10388 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10393 eval "$wx_cv_use_display"
10395 if test x"$enablestring" = xdisable; then
10396 if test $wxUSE_DISPLAY = no; then
10402 result=$wxUSE_DISPLAY
10405 { echo "$as_me:$LINENO: result: $result" >&5
10406 echo "${ECHO_T}$result" >&6; }
10410 defaultval=$wxUSE_ALL_FEATURES
10411 if test -z "$defaultval"; then
10412 if test x"$enablestring" = xdisable; then
10419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10420 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10421 # Check whether --enable-editablebox was given.
10422 if test "${enable_editablebox+set}" = set; then
10423 enableval=$enable_editablebox;
10424 if test "$enableval" = yes; then
10425 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
10427 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
10432 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10437 eval "$wx_cv_use_editablebox"
10439 if test x"$enablestring" = xdisable; then
10440 if test $wxUSE_EDITABLELISTBOX = no; then
10446 result=$wxUSE_EDITABLELISTBOX
10449 { echo "$as_me:$LINENO: result
: $result" >&5
10450 echo "${ECHO_T}$result" >&6; }
10454 defaultval=$wxUSE_ALL_FEATURES
10455 if test -z "$defaultval"; then
10456 if test x"$enablestring" = xdisable; then
10463 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filectrl" >&5
10464 echo $ECHO_N "checking
for --${enablestring:-enable}-filectrl...
$ECHO_C" >&6; }
10465 # Check whether --enable-filectrl was given.
10466 if test "${enable_filectrl+set}" = set; then
10467 enableval=$enable_filectrl;
10468 if test "$enableval" = yes; then
10469 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10471 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10476 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10481 eval "$wx_cv_use_filectrl"
10483 if test x
"$enablestring" = xdisable
; then
10484 if test $wxUSE_FILECTRL = no
; then
10490 result
=$wxUSE_FILECTRL
10493 { echo "$as_me:$LINENO: result: $result" >&5
10494 echo "${ECHO_T}$result" >&6; }
10498 defaultval
=$wxUSE_ALL_FEATURES
10499 if test -z "$defaultval"; then
10500 if test x
"$enablestring" = xdisable
; then
10507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10508 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10509 # Check whether --enable-filepicker was given.
10510 if test "${enable_filepicker+set}" = set; then
10511 enableval
=$enable_filepicker;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10515 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10520 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10525 eval "$wx_cv_use_filepicker"
10527 if test x"$enablestring" = xdisable; then
10528 if test $wxUSE_FILEPICKERCTRL = no; then
10534 result=$wxUSE_FILEPICKERCTRL
10537 { echo "$as_me:$LINENO: result: $result" >&5
10538 echo "${ECHO_T}$result" >&6; }
10542 defaultval=$wxUSE_ALL_FEATURES
10543 if test -z "$defaultval"; then
10544 if test x"$enablestring" = xdisable; then
10551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10552 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10553 # Check whether --enable-fontpicker was given.
10554 if test "${enable_fontpicker+set}" = set; then
10555 enableval=$enable_fontpicker;
10556 if test "$enableval" = yes; then
10557 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
10559 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
10564 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10569 eval "$wx_cv_use_fontpicker"
10571 if test x"$enablestring" = xdisable; then
10572 if test $wxUSE_FONTPICKERCTRL = no; then
10578 result=$wxUSE_FONTPICKERCTRL
10581 { echo "$as_me:$LINENO: result
: $result" >&5
10582 echo "${ECHO_T}$result" >&6; }
10586 defaultval=$wxUSE_ALL_FEATURES
10587 if test -z "$defaultval"; then
10588 if test x"$enablestring" = xdisable; then
10595 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gauge" >&5
10596 echo $ECHO_N "checking
for --${enablestring:-enable}-gauge...
$ECHO_C" >&6; }
10597 # Check whether --enable-gauge was given.
10598 if test "${enable_gauge+set}" = set; then
10599 enableval=$enable_gauge;
10600 if test "$enableval" = yes; then
10601 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10603 wx_cv_use_gauge='wxUSE_GAUGE=no'
10608 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10613 eval "$wx_cv_use_gauge"
10615 if test x
"$enablestring" = xdisable
; then
10616 if test $wxUSE_GAUGE = no
; then
10622 result
=$wxUSE_GAUGE
10625 { echo "$as_me:$LINENO: result: $result" >&5
10626 echo "${ECHO_T}$result" >&6; }
10630 defaultval
=$wxUSE_ALL_FEATURES
10631 if test -z "$defaultval"; then
10632 if test x
"$enablestring" = xdisable
; then
10639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10641 # Check whether --enable-grid was given.
10642 if test "${enable_grid+set}" = set; then
10643 enableval
=$enable_grid;
10644 if test "$enableval" = yes; then
10645 wx_cv_use_grid
='wxUSE_GRID=yes'
10647 wx_cv_use_grid
='wxUSE_GRID=no'
10652 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10657 eval "$wx_cv_use_grid"
10659 if test x"$enablestring" = xdisable; then
10660 if test $wxUSE_GRID = no; then
10669 { echo "$as_me:$LINENO: result: $result" >&5
10670 echo "${ECHO_T}$result" >&6; }
10674 defaultval=$wxUSE_ALL_FEATURES
10675 if test -z "$defaultval"; then
10676 if test x"$enablestring" = xdisable; then
10683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10684 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10685 # Check whether --enable-headerctrl was given.
10686 if test "${enable_headerctrl+set}" = set; then
10687 enableval=$enable_headerctrl;
10688 if test "$enableval" = yes; then
10689 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=yes'
10691 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=no
'
10696 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10701 eval "$wx_cv_use_headerctrl"
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_HEADERCTRL = no; then
10710 result=$wxUSE_HEADERCTRL
10713 { echo "$as_me:$LINENO: result
: $result" >&5
10714 echo "${ECHO_T}$result" >&6; }
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10727 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hyperlink" >&5
10728 echo $ECHO_N "checking
for --${enablestring:-enable}-hyperlink...
$ECHO_C" >&6; }
10729 # Check whether --enable-hyperlink was given.
10730 if test "${enable_hyperlink+set}" = set; then
10731 enableval=$enable_hyperlink;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10735 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10740 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10745 eval "$wx_cv_use_hyperlink"
10747 if test x
"$enablestring" = xdisable
; then
10748 if test $wxUSE_HYPERLINKCTRL = no
; then
10754 result
=$wxUSE_HYPERLINKCTRL
10757 { echo "$as_me:$LINENO: result: $result" >&5
10758 echo "${ECHO_T}$result" >&6; }
10762 defaultval
=$wxUSE_ALL_FEATURES
10763 if test -z "$defaultval"; then
10764 if test x
"$enablestring" = xdisable
; then
10771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10772 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10773 # Check whether --enable-imaglist was given.
10774 if test "${enable_imaglist+set}" = set; then
10775 enableval
=$enable_imaglist;
10776 if test "$enableval" = yes; then
10777 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
10779 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
10784 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10789 eval "$wx_cv_use_imaglist"
10791 if test x"$enablestring" = xdisable; then
10792 if test $wxUSE_IMAGLIST = no; then
10798 result=$wxUSE_IMAGLIST
10801 { echo "$as_me:$LINENO: result: $result" >&5
10802 echo "${ECHO_T}$result" >&6; }
10806 defaultval=$wxUSE_ALL_FEATURES
10807 if test -z "$defaultval"; then
10808 if test x"$enablestring" = xdisable; then
10815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10816 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10817 # Check whether --enable-listbook was given.
10818 if test "${enable_listbook+set}" = set; then
10819 enableval=$enable_listbook;
10820 if test "$enableval" = yes; then
10821 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
10823 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
10828 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10833 eval "$wx_cv_use_listbook"
10835 if test x"$enablestring" = xdisable; then
10836 if test $wxUSE_LISTBOOK = no; then
10842 result=$wxUSE_LISTBOOK
10845 { echo "$as_me:$LINENO: result
: $result" >&5
10846 echo "${ECHO_T}$result" >&6; }
10850 defaultval=$wxUSE_ALL_FEATURES
10851 if test -z "$defaultval"; then
10852 if test x"$enablestring" = xdisable; then
10859 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbox" >&5
10860 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
10861 # Check whether --enable-listbox was given.
10862 if test "${enable_listbox+set}" = set; then
10863 enableval=$enable_listbox;
10864 if test "$enableval" = yes; then
10865 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10867 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10872 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10877 eval "$wx_cv_use_listbox"
10879 if test x
"$enablestring" = xdisable
; then
10880 if test $wxUSE_LISTBOX = no
; then
10886 result
=$wxUSE_LISTBOX
10889 { echo "$as_me:$LINENO: result: $result" >&5
10890 echo "${ECHO_T}$result" >&6; }
10894 defaultval
=$wxUSE_ALL_FEATURES
10895 if test -z "$defaultval"; then
10896 if test x
"$enablestring" = xdisable
; then
10903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10904 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10905 # Check whether --enable-listctrl was given.
10906 if test "${enable_listctrl+set}" = set; then
10907 enableval
=$enable_listctrl;
10908 if test "$enableval" = yes; then
10909 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
10911 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
10916 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10921 eval "$wx_cv_use_listctrl"
10923 if test x"$enablestring" = xdisable; then
10924 if test $wxUSE_LISTCTRL = no; then
10930 result=$wxUSE_LISTCTRL
10933 { echo "$as_me:$LINENO: result: $result" >&5
10934 echo "${ECHO_T}$result" >&6; }
10938 defaultval=$wxUSE_ALL_FEATURES
10939 if test -z "$defaultval"; then
10940 if test x"$enablestring" = xdisable; then
10947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10948 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10949 # Check whether --enable-notebook was given.
10950 if test "${enable_notebook+set}" = set; then
10951 enableval=$enable_notebook;
10952 if test "$enableval" = yes; then
10953 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
10955 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
10960 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10965 eval "$wx_cv_use_notebook"
10967 if test x"$enablestring" = xdisable; then
10968 if test $wxUSE_NOTEBOOK = no; then
10974 result=$wxUSE_NOTEBOOK
10977 { echo "$as_me:$LINENO: result
: $result" >&5
10978 echo "${ECHO_T}$result" >&6; }
10982 defaultval=$wxUSE_ALL_FEATURES
10983 if test -z "$defaultval"; then
10984 if test x"$enablestring" = xdisable; then
10991 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notifmsg" >&5
10992 echo $ECHO_N "checking
for --${enablestring:-enable}-notifmsg...
$ECHO_C" >&6; }
10993 # Check whether --enable-notifmsg was given.
10994 if test "${enable_notifmsg+set}" = set; then
10995 enableval=$enable_notifmsg;
10996 if test "$enableval" = yes; then
10997 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10999 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11004 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11009 eval "$wx_cv_use_notifmsg"
11011 if test x
"$enablestring" = xdisable
; then
11012 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
11018 result
=$wxUSE_NOTIFICATION_MESSAGE
11021 { echo "$as_me:$LINENO: result: $result" >&5
11022 echo "${ECHO_T}$result" >&6; }
11026 defaultval
=$wxUSE_ALL_FEATURES
11027 if test -z "$defaultval"; then
11028 if test x
"$enablestring" = xdisable
; then
11035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11036 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11037 # Check whether --enable-odcombobox was given.
11038 if test "${enable_odcombobox+set}" = set; then
11039 enableval
=$enable_odcombobox;
11040 if test "$enableval" = yes; then
11041 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
11043 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
11048 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11053 eval "$wx_cv_use_odcombobox"
11055 if test x"$enablestring" = xdisable; then
11056 if test $wxUSE_ODCOMBOBOX = no; then
11062 result=$wxUSE_ODCOMBOBOX
11065 { echo "$as_me:$LINENO: result: $result" >&5
11066 echo "${ECHO_T}$result" >&6; }
11070 defaultval=$wxUSE_ALL_FEATURES
11071 if test -z "$defaultval"; then
11072 if test x"$enablestring" = xdisable; then
11079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11080 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11081 # Check whether --enable-popupwin was given.
11082 if test "${enable_popupwin+set}" = set; then
11083 enableval=$enable_popupwin;
11084 if test "$enableval" = yes; then
11085 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
11087 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
11092 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11097 eval "$wx_cv_use_popupwin"
11099 if test x"$enablestring" = xdisable; then
11100 if test $wxUSE_POPUPWIN = no; then
11106 result=$wxUSE_POPUPWIN
11109 { echo "$as_me:$LINENO: result
: $result" >&5
11110 echo "${ECHO_T}$result" >&6; }
11114 defaultval=$wxUSE_ALL_FEATURES
11115 if test -z "$defaultval"; then
11116 if test x"$enablestring" = xdisable; then
11123 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11124 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11125 # Check whether --enable-radiobox was given.
11126 if test "${enable_radiobox+set}" = set; then
11127 enableval=$enable_radiobox;
11128 if test "$enableval" = yes; then
11129 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11131 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11136 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11141 eval "$wx_cv_use_radiobox"
11143 if test x
"$enablestring" = xdisable
; then
11144 if test $wxUSE_RADIOBOX = no
; then
11150 result
=$wxUSE_RADIOBOX
11153 { echo "$as_me:$LINENO: result: $result" >&5
11154 echo "${ECHO_T}$result" >&6; }
11158 defaultval
=$wxUSE_ALL_FEATURES
11159 if test -z "$defaultval"; then
11160 if test x
"$enablestring" = xdisable
; then
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11169 # Check whether --enable-radiobtn was given.
11170 if test "${enable_radiobtn+set}" = set; then
11171 enableval
=$enable_radiobtn;
11172 if test "$enableval" = yes; then
11173 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11175 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11180 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11185 eval "$wx_cv_use_radiobtn"
11187 if test x"$enablestring" = xdisable; then
11188 if test $wxUSE_RADIOBTN = no; then
11194 result=$wxUSE_RADIOBTN
11197 { echo "$as_me:$LINENO: result: $result" >&5
11198 echo "${ECHO_T}$result" >&6; }
11202 defaultval=$wxUSE_ALL_FEATURES
11203 if test -z "$defaultval"; then
11204 if test x"$enablestring" = xdisable; then
11211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11212 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11213 # Check whether --enable-rearrangectrl was given.
11214 if test "${enable_rearrangectrl+set}" = set; then
11215 enableval=$enable_rearrangectrl;
11216 if test "$enableval" = yes; then
11217 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11219 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11224 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11229 eval "$wx_cv_use_rearrangectrl"
11231 if test x"$enablestring" = xdisable; then
11232 if test $wxUSE_REARRANGECTRL = no; then
11238 result=$wxUSE_REARRANGECTRL
11241 { echo "$as_me:$LINENO: result
: $result" >&5
11242 echo "${ECHO_T}$result" >&6; }
11246 defaultval=$wxUSE_ALL_FEATURES
11247 if test -z "$defaultval"; then
11248 if test x"$enablestring" = xdisable; then
11255 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11256 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11257 # Check whether --enable-sash was given.
11258 if test "${enable_sash+set}" = set; then
11259 enableval=$enable_sash;
11260 if test "$enableval" = yes; then
11261 wx_cv_use_sash='wxUSE_SASH=yes'
11263 wx_cv_use_sash='wxUSE_SASH=no'
11268 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11273 eval "$wx_cv_use_sash"
11275 if test x
"$enablestring" = xdisable
; then
11276 if test $wxUSE_SASH = no
; then
11285 { echo "$as_me:$LINENO: result: $result" >&5
11286 echo "${ECHO_T}$result" >&6; }
11290 defaultval
=$wxUSE_ALL_FEATURES
11291 if test -z "$defaultval"; then
11292 if test x
"$enablestring" = xdisable
; then
11299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11300 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11301 # Check whether --enable-scrollbar was given.
11302 if test "${enable_scrollbar+set}" = set; then
11303 enableval
=$enable_scrollbar;
11304 if test "$enableval" = yes; then
11305 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11307 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11312 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11317 eval "$wx_cv_use_scrollbar"
11319 if test x"$enablestring" = xdisable; then
11320 if test $wxUSE_SCROLLBAR = no; then
11326 result=$wxUSE_SCROLLBAR
11329 { echo "$as_me:$LINENO: result: $result" >&5
11330 echo "${ECHO_T}$result" >&6; }
11334 defaultval=$wxUSE_ALL_FEATURES
11335 if test -z "$defaultval"; then
11336 if test x"$enablestring" = xdisable; then
11343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11344 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11345 # Check whether --enable-searchctrl was given.
11346 if test "${enable_searchctrl+set}" = set; then
11347 enableval=$enable_searchctrl;
11348 if test "$enableval" = yes; then
11349 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11351 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11356 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11361 eval "$wx_cv_use_searchctrl"
11363 if test x"$enablestring" = xdisable; then
11364 if test $wxUSE_SEARCHCTRL = no; then
11370 result=$wxUSE_SEARCHCTRL
11373 { echo "$as_me:$LINENO: result
: $result" >&5
11374 echo "${ECHO_T}$result" >&6; }
11378 defaultval=$wxUSE_ALL_FEATURES
11379 if test -z "$defaultval"; then
11380 if test x"$enablestring" = xdisable; then
11387 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
11388 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11389 # Check whether --enable-slider was given.
11390 if test "${enable_slider+set}" = set; then
11391 enableval=$enable_slider;
11392 if test "$enableval" = yes; then
11393 wx_cv_use_slider='wxUSE_SLIDER=yes'
11395 wx_cv_use_slider='wxUSE_SLIDER=no'
11400 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11405 eval "$wx_cv_use_slider"
11407 if test x
"$enablestring" = xdisable
; then
11408 if test $wxUSE_SLIDER = no
; then
11414 result
=$wxUSE_SLIDER
11417 { echo "$as_me:$LINENO: result: $result" >&5
11418 echo "${ECHO_T}$result" >&6; }
11422 defaultval
=$wxUSE_ALL_FEATURES
11423 if test -z "$defaultval"; then
11424 if test x
"$enablestring" = xdisable
; then
11431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11432 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11433 # Check whether --enable-spinbtn was given.
11434 if test "${enable_spinbtn+set}" = set; then
11435 enableval
=$enable_spinbtn;
11436 if test "$enableval" = yes; then
11437 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11439 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11444 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11449 eval "$wx_cv_use_spinbtn"
11451 if test x"$enablestring" = xdisable; then
11452 if test $wxUSE_SPINBTN = no; then
11458 result=$wxUSE_SPINBTN
11461 { echo "$as_me:$LINENO: result: $result" >&5
11462 echo "${ECHO_T}$result" >&6; }
11466 defaultval=$wxUSE_ALL_FEATURES
11467 if test -z "$defaultval"; then
11468 if test x"$enablestring" = xdisable; then
11475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11476 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11477 # Check whether --enable-spinctrl was given.
11478 if test "${enable_spinctrl+set}" = set; then
11479 enableval=$enable_spinctrl;
11480 if test "$enableval" = yes; then
11481 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
11483 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
11488 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11493 eval "$wx_cv_use_spinctrl"
11495 if test x"$enablestring" = xdisable; then
11496 if test $wxUSE_SPINCTRL = no; then
11502 result=$wxUSE_SPINCTRL
11505 { echo "$as_me:$LINENO: result
: $result" >&5
11506 echo "${ECHO_T}$result" >&6; }
11510 defaultval=$wxUSE_ALL_FEATURES
11511 if test -z "$defaultval"; then
11512 if test x"$enablestring" = xdisable; then
11519 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
11520 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
11521 # Check whether --enable-splitter was given.
11522 if test "${enable_splitter+set}" = set; then
11523 enableval=$enable_splitter;
11524 if test "$enableval" = yes; then
11525 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11527 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11532 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11537 eval "$wx_cv_use_splitter"
11539 if test x
"$enablestring" = xdisable
; then
11540 if test $wxUSE_SPLITTER = no
; then
11546 result
=$wxUSE_SPLITTER
11549 { echo "$as_me:$LINENO: result: $result" >&5
11550 echo "${ECHO_T}$result" >&6; }
11554 defaultval
=$wxUSE_ALL_FEATURES
11555 if test -z "$defaultval"; then
11556 if test x
"$enablestring" = xdisable
; then
11563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11564 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11565 # Check whether --enable-statbmp was given.
11566 if test "${enable_statbmp+set}" = set; then
11567 enableval
=$enable_statbmp;
11568 if test "$enableval" = yes; then
11569 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
11571 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
11576 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11581 eval "$wx_cv_use_statbmp"
11583 if test x"$enablestring" = xdisable; then
11584 if test $wxUSE_STATBMP = no; then
11590 result=$wxUSE_STATBMP
11593 { echo "$as_me:$LINENO: result: $result" >&5
11594 echo "${ECHO_T}$result" >&6; }
11598 defaultval=$wxUSE_ALL_FEATURES
11599 if test -z "$defaultval"; then
11600 if test x"$enablestring" = xdisable; then
11607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11608 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11609 # Check whether --enable-statbox was given.
11610 if test "${enable_statbox+set}" = set; then
11611 enableval=$enable_statbox;
11612 if test "$enableval" = yes; then
11613 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
11615 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
11620 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11625 eval "$wx_cv_use_statbox"
11627 if test x"$enablestring" = xdisable; then
11628 if test $wxUSE_STATBOX = no; then
11634 result=$wxUSE_STATBOX
11637 { echo "$as_me:$LINENO: result
: $result" >&5
11638 echo "${ECHO_T}$result" >&6; }
11642 defaultval=$wxUSE_ALL_FEATURES
11643 if test -z "$defaultval"; then
11644 if test x"$enablestring" = xdisable; then
11651 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
11652 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
11653 # Check whether --enable-statline was given.
11654 if test "${enable_statline+set}" = set; then
11655 enableval=$enable_statline;
11656 if test "$enableval" = yes; then
11657 wx_cv_use_statline='wxUSE_STATLINE=yes'
11659 wx_cv_use_statline='wxUSE_STATLINE=no'
11664 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11669 eval "$wx_cv_use_statline"
11671 if test x
"$enablestring" = xdisable
; then
11672 if test $wxUSE_STATLINE = no
; then
11678 result
=$wxUSE_STATLINE
11681 { echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6; }
11686 defaultval
=$wxUSE_ALL_FEATURES
11687 if test -z "$defaultval"; then
11688 if test x
"$enablestring" = xdisable
; then
11695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11697 # Check whether --enable-stattext was given.
11698 if test "${enable_stattext+set}" = set; then
11699 enableval
=$enable_stattext;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
11703 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
11708 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11713 eval "$wx_cv_use_stattext"
11715 if test x"$enablestring" = xdisable; then
11716 if test $wxUSE_STATTEXT = no; then
11722 result=$wxUSE_STATTEXT
11725 { echo "$as_me:$LINENO: result: $result" >&5
11726 echo "${ECHO_T}$result" >&6; }
11730 defaultval=$wxUSE_ALL_FEATURES
11731 if test -z "$defaultval"; then
11732 if test x"$enablestring" = xdisable; then
11739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11740 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11741 # Check whether --enable-statusbar was given.
11742 if test "${enable_statusbar+set}" = set; then
11743 enableval=$enable_statusbar;
11744 if test "$enableval" = yes; then
11745 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
11747 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
11752 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11757 eval "$wx_cv_use_statusbar"
11759 if test x"$enablestring" = xdisable; then
11760 if test $wxUSE_STATUSBAR = no; then
11766 result=$wxUSE_STATUSBAR
11769 { echo "$as_me:$LINENO: result
: $result" >&5
11770 echo "${ECHO_T}$result" >&6; }
11774 defaultval=$wxUSE_ALL_FEATURES
11775 if test -z "$defaultval"; then
11776 if test x"$enablestring" = xdisable; then
11783 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
11784 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11785 # Check whether --enable-taskbaricon was given.
11786 if test "${enable_taskbaricon+set}" = set; then
11787 enableval=$enable_taskbaricon;
11788 if test "$enableval" = yes; then
11789 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11791 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11796 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11801 eval "$wx_cv_use_taskbaricon"
11803 if test x
"$enablestring" = xdisable
; then
11804 if test $wxUSE_TASKBARICON = no
; then
11810 result
=$wxUSE_TASKBARICON
11813 { echo "$as_me:$LINENO: result: $result" >&5
11814 echo "${ECHO_T}$result" >&6; }
11818 defaultval
=$wxUSE_ALL_FEATURES
11819 if test -z "$defaultval"; then
11820 if test x
"$enablestring" = xdisable
; then
11827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11828 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11829 # Check whether --enable-tbarnative was given.
11830 if test "${enable_tbarnative+set}" = set; then
11831 enableval
=$enable_tbarnative;
11832 if test "$enableval" = yes; then
11833 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
11835 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
11840 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11845 eval "$wx_cv_use_tbarnative"
11847 if test x"$enablestring" = xdisable; then
11848 if test $wxUSE_TOOLBAR_NATIVE = no; then
11854 result=$wxUSE_TOOLBAR_NATIVE
11857 { echo "$as_me:$LINENO: result: $result" >&5
11858 echo "${ECHO_T}$result" >&6; }
11862 defaultval=$wxUSE_ALL_FEATURES
11863 if test -z "$defaultval"; then
11864 if test x"$enablestring" = xdisable; then
11871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11872 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11873 # Check whether --enable-textctrl was given.
11874 if test "${enable_textctrl+set}" = set; then
11875 enableval=$enable_textctrl;
11876 if test "$enableval" = yes; then
11877 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
11879 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
11884 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11889 eval "$wx_cv_use_textctrl"
11891 if test x"$enablestring" = xdisable; then
11892 if test $wxUSE_TEXTCTRL = no; then
11898 result=$wxUSE_TEXTCTRL
11901 { echo "$as_me:$LINENO: result
: $result" >&5
11902 echo "${ECHO_T}$result" >&6; }
11906 defaultval=$wxUSE_ALL_FEATURES
11907 if test -z "$defaultval"; then
11908 if test x"$enablestring" = xdisable; then
11915 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipwindow" >&5
11916 echo $ECHO_N "checking
for --${enablestring:-enable}-tipwindow...
$ECHO_C" >&6; }
11917 # Check whether --enable-tipwindow was given.
11918 if test "${enable_tipwindow+set}" = set; then
11919 enableval=$enable_tipwindow;
11920 if test "$enableval" = yes; then
11921 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11923 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11928 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11933 eval "$wx_cv_use_tipwindow"
11935 if test x
"$enablestring" = xdisable
; then
11936 if test $wxUSE_TIPWINDOW = no
; then
11942 result
=$wxUSE_TIPWINDOW
11945 { echo "$as_me:$LINENO: result: $result" >&5
11946 echo "${ECHO_T}$result" >&6; }
11950 defaultval
=$wxUSE_ALL_FEATURES
11951 if test -z "$defaultval"; then
11952 if test x
"$enablestring" = xdisable
; then
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11961 # Check whether --enable-togglebtn was given.
11962 if test "${enable_togglebtn+set}" = set; then
11963 enableval
=$enable_togglebtn;
11964 if test "$enableval" = yes; then
11965 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
11967 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
11972 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11977 eval "$wx_cv_use_togglebtn"
11979 if test x"$enablestring" = xdisable; then
11980 if test $wxUSE_TOGGLEBTN = no; then
11986 result=$wxUSE_TOGGLEBTN
11989 { echo "$as_me:$LINENO: result: $result" >&5
11990 echo "${ECHO_T}$result" >&6; }
11994 defaultval=$wxUSE_ALL_FEATURES
11995 if test -z "$defaultval"; then
11996 if test x"$enablestring" = xdisable; then
12003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12004 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12005 # Check whether --enable-toolbar was given.
12006 if test "${enable_toolbar+set}" = set; then
12007 enableval=$enable_toolbar;
12008 if test "$enableval" = yes; then
12009 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12011 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12016 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12021 eval "$wx_cv_use_toolbar"
12023 if test x"$enablestring" = xdisable; then
12024 if test $wxUSE_TOOLBAR = no; then
12030 result=$wxUSE_TOOLBAR
12033 { echo "$as_me:$LINENO: result
: $result" >&5
12034 echo "${ECHO_T}$result" >&6; }
12038 defaultval=$wxUSE_ALL_FEATURES
12039 if test -z "$defaultval"; then
12040 if test x"$enablestring" = xdisable; then
12047 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12048 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12049 # Check whether --enable-toolbook was given.
12050 if test "${enable_toolbook+set}" = set; then
12051 enableval=$enable_toolbook;
12052 if test "$enableval" = yes; then
12053 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12055 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12060 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12065 eval "$wx_cv_use_toolbook"
12067 if test x
"$enablestring" = xdisable
; then
12068 if test $wxUSE_TOOLBOOK = no
; then
12074 result
=$wxUSE_TOOLBOOK
12077 { echo "$as_me:$LINENO: result: $result" >&5
12078 echo "${ECHO_T}$result" >&6; }
12082 defaultval
=$wxUSE_ALL_FEATURES
12083 if test -z "$defaultval"; then
12084 if test x
"$enablestring" = xdisable
; then
12091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12092 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12093 # Check whether --enable-treebook was given.
12094 if test "${enable_treebook+set}" = set; then
12095 enableval
=$enable_treebook;
12096 if test "$enableval" = yes; then
12097 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12099 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12104 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12109 eval "$wx_cv_use_treebook"
12111 if test x"$enablestring" = xdisable; then
12112 if test $wxUSE_TREEBOOK = no; then
12118 result=$wxUSE_TREEBOOK
12121 { echo "$as_me:$LINENO: result: $result" >&5
12122 echo "${ECHO_T}$result" >&6; }
12126 defaultval=$wxUSE_ALL_FEATURES
12127 if test -z "$defaultval"; then
12128 if test x"$enablestring" = xdisable; then
12135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12136 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12137 # Check whether --enable-treectrl was given.
12138 if test "${enable_treectrl+set}" = set; then
12139 enableval=$enable_treectrl;
12140 if test "$enableval" = yes; then
12141 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12143 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12148 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12153 eval "$wx_cv_use_treectrl"
12155 if test x"$enablestring" = xdisable; then
12156 if test $wxUSE_TREECTRL = no; then
12162 result=$wxUSE_TREECTRL
12165 { echo "$as_me:$LINENO: result
: $result" >&5
12166 echo "${ECHO_T}$result" >&6; }
12172 defaultval=$wxUSE_ALL_FEATURES
12173 if test -z "$defaultval"; then
12174 if test x"$enablestring" = xdisable; then
12181 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12182 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12183 # Check whether --enable-commondlg was given.
12184 if test "${enable_commondlg+set}" = set; then
12185 enableval=$enable_commondlg;
12186 if test "$enableval" = yes; then
12187 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12189 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12194 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12199 eval "$wx_cv_use_commondlg"
12201 if test x
"$enablestring" = xdisable
; then
12202 if test $wxUSE_COMMONDLGS = no
; then
12208 result
=$wxUSE_COMMONDLGS
12211 { echo "$as_me:$LINENO: result: $result" >&5
12212 echo "${ECHO_T}$result" >&6; }
12216 defaultval
=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x
"$enablestring" = xdisable
; then
12225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12226 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12227 # Check whether --enable-aboutdlg was given.
12228 if test "${enable_aboutdlg+set}" = set; then
12229 enableval
=$enable_aboutdlg;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12233 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12238 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12243 eval "$wx_cv_use_aboutdlg"
12245 if test x"$enablestring" = xdisable; then
12246 if test $wxUSE_ABOUTDLG = no; then
12252 result=$wxUSE_ABOUTDLG
12255 { echo "$as_me:$LINENO: result: $result" >&5
12256 echo "${ECHO_T}$result" >&6; }
12260 defaultval=$wxUSE_ALL_FEATURES
12261 if test -z "$defaultval"; then
12262 if test x"$enablestring" = xdisable; then
12269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12270 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12271 # Check whether --enable-choicedlg was given.
12272 if test "${enable_choicedlg+set}" = set; then
12273 enableval=$enable_choicedlg;
12274 if test "$enableval" = yes; then
12275 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12277 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12282 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12287 eval "$wx_cv_use_choicedlg"
12289 if test x"$enablestring" = xdisable; then
12290 if test $wxUSE_CHOICEDLG = no; then
12296 result=$wxUSE_CHOICEDLG
12299 { echo "$as_me:$LINENO: result
: $result" >&5
12300 echo "${ECHO_T}$result" >&6; }
12304 defaultval=$wxUSE_ALL_FEATURES
12305 if test -z "$defaultval"; then
12306 if test x"$enablestring" = xdisable; then
12313 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12314 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12315 # Check whether --enable-coldlg was given.
12316 if test "${enable_coldlg+set}" = set; then
12317 enableval=$enable_coldlg;
12318 if test "$enableval" = yes; then
12319 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12321 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12326 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12331 eval "$wx_cv_use_coldlg"
12333 if test x
"$enablestring" = xdisable
; then
12334 if test $wxUSE_COLOURDLG = no
; then
12340 result
=$wxUSE_COLOURDLG
12343 { echo "$as_me:$LINENO: result: $result" >&5
12344 echo "${ECHO_T}$result" >&6; }
12348 defaultval
=$wxUSE_ALL_FEATURES
12349 if test -z "$defaultval"; then
12350 if test x
"$enablestring" = xdisable
; then
12357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12358 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12359 # Check whether --enable-filedlg was given.
12360 if test "${enable_filedlg+set}" = set; then
12361 enableval
=$enable_filedlg;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12365 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12370 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12375 eval "$wx_cv_use_filedlg"
12377 if test x"$enablestring" = xdisable; then
12378 if test $wxUSE_FILEDLG = no; then
12384 result=$wxUSE_FILEDLG
12387 { echo "$as_me:$LINENO: result: $result" >&5
12388 echo "${ECHO_T}$result" >&6; }
12392 defaultval=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x"$enablestring" = xdisable; then
12401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12402 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12403 # Check whether --enable-finddlg was given.
12404 if test "${enable_finddlg+set}" = set; then
12405 enableval=$enable_finddlg;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12409 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12414 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12419 eval "$wx_cv_use_finddlg"
12421 if test x"$enablestring" = xdisable; then
12422 if test $wxUSE_FINDREPLDLG = no; then
12428 result=$wxUSE_FINDREPLDLG
12431 { echo "$as_me:$LINENO: result
: $result" >&5
12432 echo "${ECHO_T}$result" >&6; }
12436 defaultval=$wxUSE_ALL_FEATURES
12437 if test -z "$defaultval"; then
12438 if test x"$enablestring" = xdisable; then
12445 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12446 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12447 # Check whether --enable-fontdlg was given.
12448 if test "${enable_fontdlg+set}" = set; then
12449 enableval=$enable_fontdlg;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12453 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12458 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12463 eval "$wx_cv_use_fontdlg"
12465 if test x
"$enablestring" = xdisable
; then
12466 if test $wxUSE_FONTDLG = no
; then
12472 result
=$wxUSE_FONTDLG
12475 { echo "$as_me:$LINENO: result: $result" >&5
12476 echo "${ECHO_T}$result" >&6; }
12480 defaultval
=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x
"$enablestring" = xdisable
; then
12489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12490 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12491 # Check whether --enable-dirdlg was given.
12492 if test "${enable_dirdlg+set}" = set; then
12493 enableval
=$enable_dirdlg;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12497 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12502 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12507 eval "$wx_cv_use_dirdlg"
12509 if test x"$enablestring" = xdisable; then
12510 if test $wxUSE_DIRDLG = no; then
12516 result=$wxUSE_DIRDLG
12519 { echo "$as_me:$LINENO: result: $result" >&5
12520 echo "${ECHO_T}$result" >&6; }
12524 defaultval=$wxUSE_ALL_FEATURES
12525 if test -z "$defaultval"; then
12526 if test x"$enablestring" = xdisable; then
12533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12534 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12535 # Check whether --enable-msgdlg was given.
12536 if test "${enable_msgdlg+set}" = set; then
12537 enableval=$enable_msgdlg;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12541 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12546 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12551 eval "$wx_cv_use_msgdlg"
12553 if test x"$enablestring" = xdisable; then
12554 if test $wxUSE_MSGDLG = no; then
12560 result=$wxUSE_MSGDLG
12563 { echo "$as_me:$LINENO: result
: $result" >&5
12564 echo "${ECHO_T}$result" >&6; }
12568 defaultval=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x"$enablestring" = xdisable; then
12577 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12578 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12579 # Check whether --enable-numberdlg was given.
12580 if test "${enable_numberdlg+set}" = set; then
12581 enableval=$enable_numberdlg;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12585 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12590 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12595 eval "$wx_cv_use_numberdlg"
12597 if test x
"$enablestring" = xdisable
; then
12598 if test $wxUSE_NUMBERDLG = no
; then
12604 result
=$wxUSE_NUMBERDLG
12607 { echo "$as_me:$LINENO: result: $result" >&5
12608 echo "${ECHO_T}$result" >&6; }
12612 defaultval
=$wxUSE_ALL_FEATURES
12613 if test -z "$defaultval"; then
12614 if test x
"$enablestring" = xdisable
; then
12621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12622 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12623 # Check whether --enable-splash was given.
12624 if test "${enable_splash+set}" = set; then
12625 enableval
=$enable_splash;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12629 wx_cv_use_splash
='wxUSE_SPLASH=no'
12634 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12639 eval "$wx_cv_use_splash"
12641 if test x"$enablestring" = xdisable; then
12642 if test $wxUSE_SPLASH = no; then
12648 result=$wxUSE_SPLASH
12651 { echo "$as_me:$LINENO: result: $result" >&5
12652 echo "${ECHO_T}$result" >&6; }
12656 defaultval=$wxUSE_ALL_FEATURES
12657 if test -z "$defaultval"; then
12658 if test x"$enablestring" = xdisable; then
12665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12666 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12667 # Check whether --enable-textdlg was given.
12668 if test "${enable_textdlg+set}" = set; then
12669 enableval=$enable_textdlg;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12673 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12678 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12683 eval "$wx_cv_use_textdlg"
12685 if test x"$enablestring" = xdisable; then
12686 if test $wxUSE_TEXTDLG = no; then
12692 result=$wxUSE_TEXTDLG
12695 { echo "$as_me:$LINENO: result
: $result" >&5
12696 echo "${ECHO_T}$result" >&6; }
12700 defaultval=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x"$enablestring" = xdisable; then
12709 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12710 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12711 # Check whether --enable-tipdlg was given.
12712 if test "${enable_tipdlg+set}" = set; then
12713 enableval=$enable_tipdlg;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12717 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12722 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12727 eval "$wx_cv_use_tipdlg"
12729 if test x
"$enablestring" = xdisable
; then
12730 if test $wxUSE_STARTUP_TIPS = no
; then
12736 result
=$wxUSE_STARTUP_TIPS
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12744 defaultval
=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x
"$enablestring" = xdisable
; then
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12755 # Check whether --enable-progressdlg was given.
12756 if test "${enable_progressdlg+set}" = set; then
12757 enableval
=$enable_progressdlg;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
12761 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
12766 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12771 eval "$wx_cv_use_progressdlg"
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_PROGRESSDLG = no; then
12780 result=$wxUSE_PROGRESSDLG
12783 { echo "$as_me:$LINENO: result: $result" >&5
12784 echo "${ECHO_T}$result" >&6; }
12788 defaultval=$wxUSE_ALL_FEATURES
12789 if test -z "$defaultval"; then
12790 if test x"$enablestring" = xdisable; then
12797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12798 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12799 # Check whether --enable-wizarddlg was given.
12800 if test "${enable_wizarddlg+set}" = set; then
12801 enableval=$enable_wizarddlg;
12802 if test "$enableval" = yes; then
12803 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
12805 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
12810 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12815 eval "$wx_cv_use_wizarddlg"
12817 if test x"$enablestring" = xdisable; then
12818 if test $wxUSE_WIZARDDLG = no; then
12824 result=$wxUSE_WIZARDDLG
12827 { echo "$as_me:$LINENO: result
: $result" >&5
12828 echo "${ECHO_T}$result" >&6; }
12834 defaultval=$wxUSE_ALL_FEATURES
12835 if test -z "$defaultval"; then
12836 if test x"$enablestring" = xdisable; then
12843 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
12844 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
12845 # Check whether --enable-menus was given.
12846 if test "${enable_menus+set}" = set; then
12847 enableval=$enable_menus;
12848 if test "$enableval" = yes; then
12849 wx_cv_use_menus='wxUSE_MENUS=yes'
12851 wx_cv_use_menus='wxUSE_MENUS=no'
12856 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12861 eval "$wx_cv_use_menus"
12863 if test x
"$enablestring" = xdisable
; then
12864 if test $wxUSE_MENUS = no
; then
12870 result
=$wxUSE_MENUS
12873 { echo "$as_me:$LINENO: result: $result" >&5
12874 echo "${ECHO_T}$result" >&6; }
12878 defaultval
=$wxUSE_ALL_FEATURES
12879 if test -z "$defaultval"; then
12880 if test x
"$enablestring" = xdisable
; then
12887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12888 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12889 # Check whether --enable-miniframe was given.
12890 if test "${enable_miniframe+set}" = set; then
12891 enableval
=$enable_miniframe;
12892 if test "$enableval" = yes; then
12893 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
12895 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
12900 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12905 eval "$wx_cv_use_miniframe"
12907 if test x"$enablestring" = xdisable; then
12908 if test $wxUSE_MINIFRAME = no; then
12914 result=$wxUSE_MINIFRAME
12917 { echo "$as_me:$LINENO: result: $result" >&5
12918 echo "${ECHO_T}$result" >&6; }
12922 defaultval=$wxUSE_ALL_FEATURES
12923 if test -z "$defaultval"; then
12924 if test x"$enablestring" = xdisable; then
12931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12932 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12933 # Check whether --enable-tooltips was given.
12934 if test "${enable_tooltips+set}" = set; then
12935 enableval=$enable_tooltips;
12936 if test "$enableval" = yes; then
12937 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
12939 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
12944 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12949 eval "$wx_cv_use_tooltips"
12951 if test x"$enablestring" = xdisable; then
12952 if test $wxUSE_TOOLTIPS = no; then
12958 result=$wxUSE_TOOLTIPS
12961 { echo "$as_me:$LINENO: result
: $result" >&5
12962 echo "${ECHO_T}$result" >&6; }
12966 defaultval=$wxUSE_ALL_FEATURES
12967 if test -z "$defaultval"; then
12968 if test x"$enablestring" = xdisable; then
12975 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
12976 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
12977 # Check whether --enable-splines was given.
12978 if test "${enable_splines+set}" = set; then
12979 enableval=$enable_splines;
12980 if test "$enableval" = yes; then
12981 wx_cv_use_splines='wxUSE_SPLINES=yes'
12983 wx_cv_use_splines='wxUSE_SPLINES=no'
12988 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12993 eval "$wx_cv_use_splines"
12995 if test x
"$enablestring" = xdisable
; then
12996 if test $wxUSE_SPLINES = no
; then
13002 result
=$wxUSE_SPLINES
13005 { echo "$as_me:$LINENO: result: $result" >&5
13006 echo "${ECHO_T}$result" >&6; }
13010 defaultval
=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x
"$enablestring" = xdisable
; then
13019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13020 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13021 # Check whether --enable-mousewheel was given.
13022 if test "${enable_mousewheel+set}" = set; then
13023 enableval
=$enable_mousewheel;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13027 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13032 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13037 eval "$wx_cv_use_mousewheel"
13039 if test x"$enablestring" = xdisable; then
13040 if test $wxUSE_MOUSEWHEEL = no; then
13046 result=$wxUSE_MOUSEWHEEL
13049 { echo "$as_me:$LINENO: result: $result" >&5
13050 echo "${ECHO_T}$result" >&6; }
13054 defaultval=$wxUSE_ALL_FEATURES
13055 if test -z "$defaultval"; then
13056 if test x"$enablestring" = xdisable; then
13063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13064 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13065 # Check whether --enable-validators was given.
13066 if test "${enable_validators+set}" = set; then
13067 enableval=$enable_validators;
13068 if test "$enableval" = yes; then
13069 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13071 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13076 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13081 eval "$wx_cv_use_validators"
13083 if test x"$enablestring" = xdisable; then
13084 if test $wxUSE_VALIDATORS = no; then
13090 result=$wxUSE_VALIDATORS
13093 { echo "$as_me:$LINENO: result
: $result" >&5
13094 echo "${ECHO_T}$result" >&6; }
13098 defaultval=$wxUSE_ALL_FEATURES
13099 if test -z "$defaultval"; then
13100 if test x"$enablestring" = xdisable; then
13107 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13108 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13109 # Check whether --enable-busyinfo was given.
13110 if test "${enable_busyinfo+set}" = set; then
13111 enableval=$enable_busyinfo;
13112 if test "$enableval" = yes; then
13113 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13115 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13120 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13125 eval "$wx_cv_use_busyinfo"
13127 if test x
"$enablestring" = xdisable
; then
13128 if test $wxUSE_BUSYINFO = no
; then
13134 result
=$wxUSE_BUSYINFO
13137 { echo "$as_me:$LINENO: result: $result" >&5
13138 echo "${ECHO_T}$result" >&6; }
13142 defaultval
=$wxUSE_ALL_FEATURES
13143 if test -z "$defaultval"; then
13144 if test x
"$enablestring" = xdisable
; then
13151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13152 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13153 # Check whether --enable-joystick was given.
13154 if test "${enable_joystick+set}" = set; then
13155 enableval
=$enable_joystick;
13156 if test "$enableval" = yes; then
13157 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13159 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13164 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13169 eval "$wx_cv_use_joystick"
13171 if test x"$enablestring" = xdisable; then
13172 if test $wxUSE_JOYSTICK = no; then
13178 result=$wxUSE_JOYSTICK
13181 { echo "$as_me:$LINENO: result: $result" >&5
13182 echo "${ECHO_T}$result" >&6; }
13186 defaultval=$wxUSE_ALL_FEATURES
13187 if test -z "$defaultval"; then
13188 if test x"$enablestring" = xdisable; then
13195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13196 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13197 # Check whether --enable-metafile was given.
13198 if test "${enable_metafile+set}" = set; then
13199 enableval=$enable_metafile;
13200 if test "$enableval" = yes; then
13201 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13203 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13208 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13213 eval "$wx_cv_use_metafile"
13215 if test x"$enablestring" = xdisable; then
13216 if test $wxUSE_METAFILE = no; then
13222 result=$wxUSE_METAFILE
13225 { echo "$as_me:$LINENO: result
: $result" >&5
13226 echo "${ECHO_T}$result" >&6; }
13230 defaultval=$wxUSE_ALL_FEATURES
13231 if test -z "$defaultval"; then
13232 if test x"$enablestring" = xdisable; then
13239 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13240 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13241 # Check whether --enable-dragimage was given.
13242 if test "${enable_dragimage+set}" = set; then
13243 enableval=$enable_dragimage;
13244 if test "$enableval" = yes; then
13245 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13247 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13252 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13257 eval "$wx_cv_use_dragimage"
13259 if test x
"$enablestring" = xdisable
; then
13260 if test $wxUSE_DRAGIMAGE = no
; then
13266 result
=$wxUSE_DRAGIMAGE
13269 { echo "$as_me:$LINENO: result: $result" >&5
13270 echo "${ECHO_T}$result" >&6; }
13274 defaultval
=$wxUSE_ALL_FEATURES
13275 if test -z "$defaultval"; then
13276 if test x
"$enablestring" = xdisable
; then
13283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13284 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13285 # Check whether --enable-accessibility was given.
13286 if test "${enable_accessibility+set}" = set; then
13287 enableval
=$enable_accessibility;
13288 if test "$enableval" = yes; then
13289 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13291 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13296 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13301 eval "$wx_cv_use_accessibility"
13303 if test x"$enablestring" = xdisable; then
13304 if test $wxUSE_ACCESSIBILITY = no; then
13310 result=$wxUSE_ACCESSIBILITY
13313 { echo "$as_me:$LINENO: result: $result" >&5
13314 echo "${ECHO_T}$result" >&6; }
13320 defaultval=$wxUSE_ALL_FEATURES
13321 if test -z "$defaultval"; then
13322 if test x"$enablestring" = xdisable; then
13329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13330 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13331 # Check whether --enable-palette was given.
13332 if test "${enable_palette+set}" = set; then
13333 enableval=$enable_palette;
13334 if test "$enableval" = yes; then
13335 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13337 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13342 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13347 eval "$wx_cv_use_palette"
13349 if test x"$enablestring" = xdisable; then
13350 if test $wxUSE_PALETTE = no; then
13356 result=$wxUSE_PALETTE
13359 { echo "$as_me:$LINENO: result
: $result" >&5
13360 echo "${ECHO_T}$result" >&6; }
13364 defaultval=$wxUSE_ALL_FEATURES
13365 if test -z "$defaultval"; then
13366 if test x"$enablestring" = xdisable; then
13373 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
13374 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13375 # Check whether --enable-image was given.
13376 if test "${enable_image+set}" = set; then
13377 enableval=$enable_image;
13378 if test "$enableval" = yes; then
13379 wx_cv_use_image='wxUSE_IMAGE=yes'
13381 wx_cv_use_image='wxUSE_IMAGE=no'
13386 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13391 eval "$wx_cv_use_image"
13393 if test x
"$enablestring" = xdisable
; then
13394 if test $wxUSE_IMAGE = no
; then
13400 result
=$wxUSE_IMAGE
13403 { echo "$as_me:$LINENO: result: $result" >&5
13404 echo "${ECHO_T}$result" >&6; }
13408 defaultval
=$wxUSE_ALL_FEATURES
13409 if test -z "$defaultval"; then
13410 if test x
"$enablestring" = xdisable
; then
13417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13418 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13419 # Check whether --enable-gif was given.
13420 if test "${enable_gif+set}" = set; then
13421 enableval
=$enable_gif;
13422 if test "$enableval" = yes; then
13423 wx_cv_use_gif
='wxUSE_GIF=yes'
13425 wx_cv_use_gif
='wxUSE_GIF=no'
13430 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13435 eval "$wx_cv_use_gif"
13437 if test x"$enablestring" = xdisable; then
13438 if test $wxUSE_GIF = no; then
13447 { echo "$as_me:$LINENO: result: $result" >&5
13448 echo "${ECHO_T}$result" >&6; }
13452 defaultval=$wxUSE_ALL_FEATURES
13453 if test -z "$defaultval"; then
13454 if test x"$enablestring" = xdisable; then
13461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13462 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13463 # Check whether --enable-pcx was given.
13464 if test "${enable_pcx+set}" = set; then
13465 enableval=$enable_pcx;
13466 if test "$enableval" = yes; then
13467 wx_cv_use_pcx='wxUSE_PCX
=yes'
13469 wx_cv_use_pcx='wxUSE_PCX
=no
'
13474 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13479 eval "$wx_cv_use_pcx"
13481 if test x"$enablestring" = xdisable; then
13482 if test $wxUSE_PCX = no; then
13491 { echo "$as_me:$LINENO: result
: $result" >&5
13492 echo "${ECHO_T}$result" >&6; }
13496 defaultval=$wxUSE_ALL_FEATURES
13497 if test -z "$defaultval"; then
13498 if test x"$enablestring" = xdisable; then
13505 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
13506 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13507 # Check whether --enable-tga was given.
13508 if test "${enable_tga+set}" = set; then
13509 enableval=$enable_tga;
13510 if test "$enableval" = yes; then
13511 wx_cv_use_tga='wxUSE_TGA=yes'
13513 wx_cv_use_tga='wxUSE_TGA=no'
13518 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13523 eval "$wx_cv_use_tga"
13525 if test x
"$enablestring" = xdisable
; then
13526 if test $wxUSE_TGA = no
; then
13535 { echo "$as_me:$LINENO: result: $result" >&5
13536 echo "${ECHO_T}$result" >&6; }
13540 defaultval
=$wxUSE_ALL_FEATURES
13541 if test -z "$defaultval"; then
13542 if test x
"$enablestring" = xdisable
; then
13549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13550 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13551 # Check whether --enable-iff was given.
13552 if test "${enable_iff+set}" = set; then
13553 enableval
=$enable_iff;
13554 if test "$enableval" = yes; then
13555 wx_cv_use_iff
='wxUSE_IFF=yes'
13557 wx_cv_use_iff
='wxUSE_IFF=no'
13562 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13567 eval "$wx_cv_use_iff"
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_IFF = no; then
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13595 # Check whether --enable-pnm was given.
13596 if test "${enable_pnm+set}" = set; then
13597 enableval=$enable_pnm;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_pnm='wxUSE_PNM
=yes'
13601 wx_cv_use_pnm='wxUSE_PNM
=no
'
13606 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13611 eval "$wx_cv_use_pnm"
13613 if test x"$enablestring" = xdisable; then
13614 if test $wxUSE_PNM = no; then
13623 { echo "$as_me:$LINENO: result
: $result" >&5
13624 echo "${ECHO_T}$result" >&6; }
13628 defaultval=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x"$enablestring" = xdisable; then
13637 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13638 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13639 # Check whether --enable-xpm was given.
13640 if test "${enable_xpm+set}" = set; then
13641 enableval=$enable_xpm;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_xpm='wxUSE_XPM=yes'
13645 wx_cv_use_xpm='wxUSE_XPM=no'
13650 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13655 eval "$wx_cv_use_xpm"
13657 if test x
"$enablestring" = xdisable
; then
13658 if test $wxUSE_XPM = no
; then
13667 { echo "$as_me:$LINENO: result: $result" >&5
13668 echo "${ECHO_T}$result" >&6; }
13672 defaultval
=$wxUSE_ALL_FEATURES
13673 if test -z "$defaultval"; then
13674 if test x
"$enablestring" = xdisable
; then
13681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13682 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13683 # Check whether --enable-ico_cur was given.
13684 if test "${enable_ico_cur+set}" = set; then
13685 enableval
=$enable_ico_cur;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13689 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13694 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13699 eval "$wx_cv_use_ico_cur"
13701 if test x"$enablestring" = xdisable; then
13702 if test $wxUSE_ICO_CUR = no; then
13708 result=$wxUSE_ICO_CUR
13711 { echo "$as_me:$LINENO: result: $result" >&5
13712 echo "${ECHO_T}$result" >&6; }
13718 defaultval=$wxUSE_ALL_FEATURES
13719 if test -z "$defaultval"; then
13720 if test x"$enablestring" = xdisable; then
13727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13728 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13729 # Check whether --enable-dccache was given.
13730 if test "${enable_dccache+set}" = set; then
13731 enableval=$enable_dccache;
13732 if test "$enableval" = yes; then
13733 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13735 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13740 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13745 eval "$wx_cv_use_dccache"
13747 if test x"$enablestring" = xdisable; then
13748 if test $wxUSE_DC_CACHEING = no; then
13754 result=$wxUSE_DC_CACHEING
13757 { echo "$as_me:$LINENO: result
: $result" >&5
13758 echo "${ECHO_T}$result" >&6; }
13762 defaultval=$wxUSE_ALL_FEATURES
13763 if test -z "$defaultval"; then
13764 if test x"$enablestring" = xdisable; then
13771 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
13772 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
13773 # Check whether --enable-ps-in-msw was given.
13774 if test "${enable_ps_in_msw+set}" = set; then
13775 enableval=$enable_ps_in_msw;
13776 if test "$enableval" = yes; then
13777 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13779 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13784 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13789 eval "$wx_cv_use_ps_in_msw"
13791 if test x
"$enablestring" = xdisable
; then
13792 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
13798 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13801 { echo "$as_me:$LINENO: result: $result" >&5
13802 echo "${ECHO_T}$result" >&6; }
13806 defaultval
=$wxUSE_ALL_FEATURES
13807 if test -z "$defaultval"; then
13808 if test x
"$enablestring" = xdisable
; then
13815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13816 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13817 # Check whether --enable-ownerdrawn was given.
13818 if test "${enable_ownerdrawn+set}" = set; then
13819 enableval
=$enable_ownerdrawn;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
13823 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
13828 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13833 eval "$wx_cv_use_ownerdrawn"
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_OWNER_DRAWN = no; then
13842 result=$wxUSE_OWNER_DRAWN
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13850 defaultval=$wxUSE_ALL_FEATURES
13851 if test -z "$defaultval"; then
13852 if test x"$enablestring" = xdisable; then
13859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13860 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13861 # Check whether --enable-uxtheme was given.
13862 if test "${enable_uxtheme+set}" = set; then
13863 enableval=$enable_uxtheme;
13864 if test "$enableval" = yes; then
13865 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
13867 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
13872 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13877 eval "$wx_cv_use_uxtheme"
13879 if test x"$enablestring" = xdisable; then
13880 if test $wxUSE_UXTHEME = no; then
13886 result=$wxUSE_UXTHEME
13889 { echo "$as_me:$LINENO: result
: $result" >&5
13890 echo "${ECHO_T}$result" >&6; }
13894 defaultval=$wxUSE_ALL_FEATURES
13895 if test -z "$defaultval"; then
13896 if test x"$enablestring" = xdisable; then
13903 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
13904 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
13905 # Check whether --enable-wxdib was given.
13906 if test "${enable_wxdib+set}" = set; then
13907 enableval=$enable_wxdib;
13908 if test "$enableval" = yes; then
13909 wx_cv_use_wxdib='wxUSE_DIB=yes'
13911 wx_cv_use_wxdib='wxUSE_DIB=no'
13916 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13921 eval "$wx_cv_use_wxdib"
13923 if test x
"$enablestring" = xdisable
; then
13924 if test $wxUSE_DIB = no
; then
13933 { echo "$as_me:$LINENO: result: $result" >&5
13934 echo "${ECHO_T}$result" >&6; }
13937 if test "$wxUSE_MSW" != 1; then
13938 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
13943 defaultval
=$wxUSE_ALL_FEATURES
13944 if test -z "$defaultval"; then
13945 if test x
"$enablestring" = xdisable
; then
13952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13953 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13954 # Check whether --enable-autoidman was given.
13955 if test "${enable_autoidman+set}" = set; then
13956 enableval
=$enable_autoidman;
13957 if test "$enableval" = yes; then
13958 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
13960 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
13965 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13970 eval "$wx_cv_use_autoidman"
13972 if test x"$enablestring" = xdisable; then
13973 if test $wxUSE_AUTOID_MANAGEMENT = no; then
13979 result=$wxUSE_AUTOID_MANAGEMENT
13982 { echo "$as_me:$LINENO: result: $result" >&5
13983 echo "${ECHO_T}$result" >&6; }
13989 cat >confcache <<\_ACEOF
13990 # This file is a shell script that caches the results of configure
13991 # tests run on this system so they can be shared between configure
13992 # scripts and configure runs, see configure's option
--config-cache.
13993 # It is not useful on other systems. If it contains results you don't
13994 # want to keep, you may remove or edit it.
13996 # config.status only pays attention to the cache file if you give it
13997 # the --recheck option to rerun configure.
13999 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14000 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14001 # following values.
14005 # The following way of writing the cache mishandles newlines in values,
14006 # but we know of no workaround that is simple, portable, and efficient.
14007 # So, we kill variables containing newlines.
14008 # Ultrix sh set writes to stderr and can't be redirected directly,
14009 # and sets the high bit in the cache file unless we assign to the vars.
14011 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14012 eval ac_val
=\$
$ac_var
14016 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14017 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14020 _
| IFS
| as_nl
) ;; #(
14021 *) $as_unset $ac_var ;;
14027 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14028 *${as_nl}ac_space
=\
*)
14029 # `set' does not quote correctly, so add quotes (double-quote
14030 # substitution turns \\\\ into \\, and sed turns \\ into \).
14033 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14036 # `set' quotes correctly as required by POSIX, so do not add quotes.
14037 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14046 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14048 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14050 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14051 if test -w "$cache_file"; then
14052 test "x$cache_file" != "x/dev/null" &&
14053 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14054 echo "$as_me: updating cache $cache_file" >&6;}
14055 cat confcache
>$cache_file
14057 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14058 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14068 ac_cpp
='$CPP $CPPFLAGS'
14069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14072 if test -n "$ac_tool_prefix"; then
14073 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14074 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14077 if test "${ac_cv_prog_CC+set}" = set; then
14078 echo $ECHO_N "(cached) $ECHO_C" >&6
14080 if test -n "$CC"; then
14081 ac_cv_prog_CC
="$CC" # Let the user override the test.
14083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14084 for as_dir
in $PATH
14087 test -z "$as_dir" && as_dir
=.
14088 for ac_exec_ext
in '' $ac_executable_extensions; do
14089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14090 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14101 if test -n "$CC"; then
14102 { echo "$as_me:$LINENO: result: $CC" >&5
14103 echo "${ECHO_T}$CC" >&6; }
14105 { echo "$as_me:$LINENO: result: no" >&5
14106 echo "${ECHO_T}no" >&6; }
14111 if test -z "$ac_cv_prog_CC"; then
14113 # Extract the first word of "gcc", so it can be a program name with args.
14114 set dummy gcc
; ac_word
=$2
14115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14117 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 if test -n "$ac_ct_CC"; then
14121 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14124 for as_dir
in $PATH
14127 test -z "$as_dir" && as_dir
=.
14128 for ac_exec_ext
in '' $ac_executable_extensions; do
14129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14130 ac_cv_prog_ac_ct_CC
="gcc"
14131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14140 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14141 if test -n "$ac_ct_CC"; then
14142 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14143 echo "${ECHO_T}$ac_ct_CC" >&6; }
14145 { echo "$as_me:$LINENO: result: no" >&5
14146 echo "${ECHO_T}no" >&6; }
14149 if test "x$ac_ct_CC" = x
; then
14152 case $cross_compiling:$ac_tool_warned in
14154 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14155 whose name does not start with the host triplet. If you think this
14156 configuration is useful to you, please write to autoconf@gnu.org." >&5
14157 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14158 whose name does not start with the host triplet. If you think this
14159 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14160 ac_tool_warned
=yes ;;
14165 CC
="$ac_cv_prog_CC"
14168 if test -z "$CC"; then
14169 if test -n "$ac_tool_prefix"; then
14170 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14171 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14174 if test "${ac_cv_prog_CC+set}" = set; then
14175 echo $ECHO_N "(cached) $ECHO_C" >&6
14177 if test -n "$CC"; then
14178 ac_cv_prog_CC
="$CC" # Let the user override the test.
14180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14181 for as_dir
in $PATH
14184 test -z "$as_dir" && as_dir
=.
14185 for ac_exec_ext
in '' $ac_executable_extensions; do
14186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14187 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14198 if test -n "$CC"; then
14199 { echo "$as_me:$LINENO: result: $CC" >&5
14200 echo "${ECHO_T}$CC" >&6; }
14202 { echo "$as_me:$LINENO: result: no" >&5
14203 echo "${ECHO_T}no" >&6; }
14209 if test -z "$CC"; then
14210 # Extract the first word of "cc", so it can be a program name with args.
14211 set dummy cc
; ac_word
=$2
14212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14214 if test "${ac_cv_prog_CC+set}" = set; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 if test -n "$CC"; then
14218 ac_cv_prog_CC
="$CC" # Let the user override the test.
14220 ac_prog_rejected
=no
14221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14222 for as_dir
in $PATH
14225 test -z "$as_dir" && as_dir
=.
14226 for ac_exec_ext
in '' $ac_executable_extensions; do
14227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14228 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14229 ac_prog_rejected
=yes
14233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14240 if test $ac_prog_rejected = yes; then
14241 # We found a bogon in the path, so make sure we never use it.
14242 set dummy
$ac_cv_prog_CC
14244 if test $# != 0; then
14245 # We chose a different compiler from the bogus one.
14246 # However, it has the same basename, so the bogon will be chosen
14247 # first if we set CC to just the basename; use the full file name.
14249 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14255 if test -n "$CC"; then
14256 { echo "$as_me:$LINENO: result: $CC" >&5
14257 echo "${ECHO_T}$CC" >&6; }
14259 { echo "$as_me:$LINENO: result: no" >&5
14260 echo "${ECHO_T}no" >&6; }
14265 if test -z "$CC"; then
14266 if test -n "$ac_tool_prefix"; then
14267 for ac_prog
in cl.exe
14269 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14270 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14273 if test "${ac_cv_prog_CC+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 if test -n "$CC"; then
14277 ac_cv_prog_CC
="$CC" # Let the user override the test.
14279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14280 for as_dir
in $PATH
14283 test -z "$as_dir" && as_dir
=.
14284 for ac_exec_ext
in '' $ac_executable_extensions; do
14285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14286 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14297 if test -n "$CC"; then
14298 { echo "$as_me:$LINENO: result: $CC" >&5
14299 echo "${ECHO_T}$CC" >&6; }
14301 { echo "$as_me:$LINENO: result: no" >&5
14302 echo "${ECHO_T}no" >&6; }
14306 test -n "$CC" && break
14309 if test -z "$CC"; then
14311 for ac_prog
in cl.exe
14313 # Extract the first word of "$ac_prog", so it can be a program name with args.
14314 set dummy
$ac_prog; ac_word
=$2
14315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14317 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14318 echo $ECHO_N "(cached) $ECHO_C" >&6
14320 if test -n "$ac_ct_CC"; then
14321 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14324 for as_dir
in $PATH
14327 test -z "$as_dir" && as_dir
=.
14328 for ac_exec_ext
in '' $ac_executable_extensions; do
14329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14330 ac_cv_prog_ac_ct_CC
="$ac_prog"
14331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14340 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14341 if test -n "$ac_ct_CC"; then
14342 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14343 echo "${ECHO_T}$ac_ct_CC" >&6; }
14345 { echo "$as_me:$LINENO: result: no" >&5
14346 echo "${ECHO_T}no" >&6; }
14350 test -n "$ac_ct_CC" && break
14353 if test "x$ac_ct_CC" = x
; then
14356 case $cross_compiling:$ac_tool_warned in
14358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14359 whose name does not start with the host triplet. If you think this
14360 configuration is useful to you, please write to autoconf@gnu.org." >&5
14361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14362 whose name does not start with the host triplet. If you think this
14363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14364 ac_tool_warned
=yes ;;
14373 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14374 See \`config.log' for more details." >&5
14375 echo "$as_me: error: no acceptable C compiler found in \$PATH
14376 See \`config.log' for more details." >&2;}
14377 { (exit 1); exit 1; }; }
14379 # Provide some information about the compiler.
14380 echo "$as_me:$LINENO: checking for C compiler version" >&5
14381 ac_compiler
=`set X $ac_compile; echo $2`
14382 { (ac_try
="$ac_compiler --version >&5"
14383 case "(($ac_try" in
14384 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14385 *) ac_try_echo=$ac_try;;
14387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14388 (eval "$ac_compiler --version >&5") 2>&5
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }
14392 { (ac_try="$ac_compiler -v >&5"
14393 case "(($ac_try" in
14394 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14395 *) ac_try_echo
=$ac_try;;
14397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14398 (eval "$ac_compiler -v >&5") 2>&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }
14402 { (ac_try
="$ac_compiler -V >&5"
14403 case "(($ac_try" in
14404 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14405 *) ac_try_echo=$ac_try;;
14407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14408 (eval "$ac_compiler -V >&5") 2>&5
14410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14411 (exit $ac_status); }
14413 cat >conftest.$ac_ext <<_ACEOF
14416 cat confdefs.h >>conftest.$ac_ext
14417 cat >>conftest.$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14428 ac_clean_files_save=$ac_clean_files
14429 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14430 # Try to create an executable without -o first, disregard a.out.
14431 # It will help us diagnose broken compilers, and finding out an intuition
14433 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14434 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14435 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14437 # List of possible output files, starting from the most likely.
14438 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14439 # only as a last resort. b.out is created by i960 compilers.
14440 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14442 # The IRIX 6 linker writes into existing files which may not be
14443 # executable, retaining their permissions. Remove them first so a
14444 # subsequent execution test works.
14446 for ac_file in $ac_files
14449 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14450 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14455 if { (ac_try="$ac_link_default"
14456 case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_link_default") 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; then
14465 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14466 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14467 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14468 # so that the user can short-circuit this test for compilers unknown to
14470 for ac_file
in $ac_files ''
14472 test -f "$ac_file" || continue
14474 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14477 # We found the default executable, but exeext='' is most
14481 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14483 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14485 # We set ac_cv_exeext here because the later test for it is not
14486 # safe: cross compilers may not add the suffix if given an `-o'
14487 # argument, so we may need to know it at that point already.
14488 # Even if this section looks crufty: it has the advantage of
14489 # actually working.
14495 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14501 { echo "$as_me:$LINENO: result: $ac_file" >&5
14502 echo "${ECHO_T}$ac_file" >&6; }
14503 if test -z "$ac_file"; then
14504 echo "$as_me: failed program was:" >&5
14505 sed 's/^/| /' conftest.
$ac_ext >&5
14507 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14508 See \`config.log' for more details." >&5
14509 echo "$as_me: error: C compiler cannot create executables
14510 See \`config.log' for more details." >&2;}
14511 { (exit 77); exit 77; }; }
14514 ac_exeext
=$ac_cv_exeext
14516 # Check that the compiler produces executables we can run. If not, either
14517 # the compiler is broken, or we cross compile.
14518 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14519 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14520 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14521 # If not cross compiling, check that we can run a simple program.
14522 if test "$cross_compiling" != yes; then
14523 if { ac_try
='./$ac_file'
14524 { (case "(($ac_try" in
14525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14526 *) ac_try_echo=$ac_try;;
14528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14529 (eval "$ac_try") 2>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; }; then
14535 if test "$cross_compiling" = maybe; then
14536 cross_compiling=yes
14538 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14539 If you meant to cross compile, use \`--host'.
14540 See \`config.log' for more details.
" >&5
14541 echo "$as_me: error
: cannot run C compiled programs.
14542 If you meant to cross compile
, use \
`--host'.
14543 See \`config.log
' for more details." >&2;}
14544 { (exit 1); exit 1; }; }
14548 { echo "$as_me:$LINENO: result: yes" >&5
14549 echo "${ECHO_T}yes" >&6; }
14551 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14552 ac_clean_files=$ac_clean_files_save
14553 # Check that the compiler produces executables we can run. If not, either
14554 # the compiler is broken, or we cross compile.
14555 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14556 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14557 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14558 echo "${ECHO_T}$cross_compiling" >&6; }
14560 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14561 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14562 if { (ac_try="$ac_link"
14563 case "(($ac_try" in
14564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14565 *) ac_try_echo=$ac_try;;
14567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14568 (eval "$ac_link") 2>&5
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; then
14572 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14573 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14574 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14576 for ac_file
in conftest.exe conftest conftest.
*; do
14577 test -f "$ac_file" || continue
14579 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14580 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14586 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14587 See \`config.log' for more details." >&5
14588 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14589 See \`config.log' for more details." >&2;}
14590 { (exit 1); exit 1; }; }
14593 rm -f conftest
$ac_cv_exeext
14594 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14595 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14597 rm -f conftest.
$ac_ext
14598 EXEEXT
=$ac_cv_exeext
14600 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14601 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14602 if test "${ac_cv_objext+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 cat >conftest.
$ac_ext <<_ACEOF
14608 cat confdefs.h
>>conftest.
$ac_ext
14609 cat >>conftest.
$ac_ext <<_ACEOF
14610 /* end confdefs.h. */
14620 rm -f conftest.o conftest.obj
14621 if { (ac_try
="$ac_compile"
14622 case "(($ac_try" in
14623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14624 *) ac_try_echo=$ac_try;;
14626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14627 (eval "$ac_compile") 2>&5
14629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14630 (exit $ac_status); }; then
14631 for ac_file in conftest.o conftest.obj conftest.*; do
14632 test -f "$ac_file" || continue;
14634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14635 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.$ac_ext >&5
14643 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14644 See \`config.log
' for more details." >&5
14645 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14646 See \`config.log' for more details.
" >&2;}
14647 { (exit 1); exit 1; }; }
14650 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14652 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14653 echo "${ECHO_T}$ac_cv_objext" >&6; }
14654 OBJEXT=$ac_cv_objext
14656 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14657 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14658 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14659 echo $ECHO_N "(cached
) $ECHO_C" >&6
14661 cat >conftest.$ac_ext <<_ACEOF
14664 cat confdefs.h >>conftest.$ac_ext
14665 cat >>conftest.$ac_ext <<_ACEOF
14666 /* end confdefs.h. */
14679 rm -f conftest.$ac_objext
14680 if { (ac_try="$ac_compile"
14681 case "(($ac_try" in
14682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14683 *) ac_try_echo=$ac_try;;
14685 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14686 (eval "$ac_compile") 2>conftest.er1
14688 grep -v '^ *+' conftest.er1 >conftest.err
14690 cat conftest.err >&5
14691 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14692 (exit $ac_status); } && {
14693 test -z "$ac_c_werror_flag" ||
14694 test ! -s conftest.err
14695 } && test -s conftest.$ac_objext; then
14696 ac_compiler_gnu=yes
14698 echo "$as_me: failed program was
:" >&5
14699 sed 's/^/| /' conftest.$ac_ext >&5
14704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14708 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14709 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14710 GCC=`test $ac_compiler_gnu = yes && echo yes`
14711 ac_test_CFLAGS=${CFLAGS+set}
14712 ac_save_CFLAGS=$CFLAGS
14713 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14714 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14715 if test "${ac_cv_prog_cc_g+set}" = set; then
14716 echo $ECHO_N "(cached
) $ECHO_C" >&6
14718 ac_save_c_werror_flag=$ac_c_werror_flag
14719 ac_c_werror_flag=yes
14722 cat >conftest.$ac_ext <<_ACEOF
14725 cat confdefs.h >>conftest.$ac_ext
14726 cat >>conftest.$ac_ext <<_ACEOF
14727 /* end confdefs.h. */
14737 rm -f conftest.$ac_objext
14738 if { (ac_try="$ac_compile"
14739 case "(($ac_try" in
14740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14743 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_compile") 2>conftest.er1
14746 grep -v '^ *+' conftest.er1 >conftest.err
14748 cat conftest.err >&5
14749 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14750 (exit $ac_status); } && {
14751 test -z "$ac_c_werror_flag" ||
14752 test ! -s conftest.err
14753 } && test -s conftest.$ac_objext; then
14754 ac_cv_prog_cc_g=yes
14756 echo "$as_me: failed program was
:" >&5
14757 sed 's/^/| /' conftest.$ac_ext >&5
14760 cat >conftest.$ac_ext <<_ACEOF
14763 cat confdefs.h >>conftest.$ac_ext
14764 cat >>conftest.$ac_ext <<_ACEOF
14765 /* end confdefs.h. */
14775 rm -f conftest.$ac_objext
14776 if { (ac_try="$ac_compile"
14777 case "(($ac_try" in
14778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14779 *) ac_try_echo=$ac_try;;
14781 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14782 (eval "$ac_compile") 2>conftest.er1
14784 grep -v '^ *+' conftest.er1 >conftest.err
14786 cat conftest.err >&5
14787 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14788 (exit $ac_status); } && {
14789 test -z "$ac_c_werror_flag" ||
14790 test ! -s conftest.err
14791 } && test -s conftest.$ac_objext; then
14794 echo "$as_me: failed program was
:" >&5
14795 sed 's/^/| /' conftest.$ac_ext >&5
14797 ac_c_werror_flag=$ac_save_c_werror_flag
14799 cat >conftest.$ac_ext <<_ACEOF
14802 cat confdefs.h >>conftest.$ac_ext
14803 cat >>conftest.$ac_ext <<_ACEOF
14804 /* end confdefs.h. */
14814 rm -f conftest.$ac_objext
14815 if { (ac_try="$ac_compile"
14816 case "(($ac_try" in
14817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14818 *) ac_try_echo=$ac_try;;
14820 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14821 (eval "$ac_compile") 2>conftest.er1
14823 grep -v '^ *+' conftest.er1 >conftest.err
14825 cat conftest.err >&5
14826 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14827 (exit $ac_status); } && {
14828 test -z "$ac_c_werror_flag" ||
14829 test ! -s conftest.err
14830 } && test -s conftest.$ac_objext; then
14831 ac_cv_prog_cc_g=yes
14833 echo "$as_me: failed program was
:" >&5
14834 sed 's/^/| /' conftest.$ac_ext >&5
14839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14846 ac_c_werror_flag=$ac_save_c_werror_flag
14848 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14849 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14850 if test "$ac_test_CFLAGS" = set; then
14851 CFLAGS=$ac_save_CFLAGS
14852 elif test $ac_cv_prog_cc_g = yes; then
14853 if test "$GCC" = yes; then
14859 if test "$GCC" = yes; then
14865 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14866 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14867 if test "${ac_cv_prog_cc_c89+set}" = set; then
14868 echo $ECHO_N "(cached
) $ECHO_C" >&6
14870 ac_cv_prog_cc_c89=no
14872 cat >conftest.$ac_ext <<_ACEOF
14875 cat confdefs.h >>conftest.$ac_ext
14876 cat >>conftest.$ac_ext <<_ACEOF
14877 /* end confdefs.h. */
14878 #include <stdarg.h>
14880 #include <sys/types.h>
14881 #include <sys/stat.h>
14882 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14883 struct buf { int x; };
14884 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14885 static char *e (p, i)
14891 static char *f (char * (*g) (char **, int), char **p, ...)
14896 s = g (p, va_arg (v,int));
14901 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14902 function prototypes and stuff, but not '\xHH' hex character constants.
14903 These don't provoke an error unfortunately, instead are silently treated
14904 as 'x'. The following induces an error, until -std is added to get
14905 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14906 array size at least. It's necessary to write '\x00'==0 to get something
14907 that's true only with -std. */
14908 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14910 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14911 inside strings and character constants. */
14913 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14915 int test (int i, double x);
14916 struct s1 {int (*f) (int a);};
14917 struct s2 {int (*f) (double a);};
14918 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14924 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14929 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14930 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14932 CC="$ac_save_CC $ac_arg"
14933 rm -f conftest.$ac_objext
14934 if { (ac_try="$ac_compile"
14935 case "(($ac_try" in
14936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14937 *) ac_try_echo=$ac_try;;
14939 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14940 (eval "$ac_compile") 2>conftest.er1
14942 grep -v '^ *+' conftest.er1 >conftest.err
14944 cat conftest.err >&5
14945 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14946 (exit $ac_status); } && {
14947 test -z "$ac_c_werror_flag" ||
14948 test ! -s conftest.err
14949 } && test -s conftest.$ac_objext; then
14950 ac_cv_prog_cc_c89=$ac_arg
14952 echo "$as_me: failed program was
:" >&5
14953 sed 's/^/| /' conftest.$ac_ext >&5
14958 rm -f core conftest.err conftest.$ac_objext
14959 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14961 rm -f conftest.$ac_ext
14966 case "x
$ac_cv_prog_cc_c89" in
14968 { echo "$as_me:$LINENO: result
: none needed
" >&5
14969 echo "${ECHO_T}none needed
" >&6; } ;;
14971 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14972 echo "${ECHO_T}unsupported
" >&6; } ;;
14974 CC="$CC $ac_cv_prog_cc_c89"
14975 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14976 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14981 ac_cpp='$CPP $CPPFLAGS'
14982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14990 ac_cpp='$CPP $CPPFLAGS'
14991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14995 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14996 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14997 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14998 echo $ECHO_N "(cached
) $ECHO_C" >&6
15000 cat >conftest.$ac_ext <<_ACEOF
15003 cat confdefs.h >>conftest.$ac_ext
15004 cat >>conftest.$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15011 #ifndef __INTEL_COMPILER
15019 rm -f conftest.$ac_objext
15020 if { (ac_try="$ac_compile"
15021 case "(($ac_try" in
15022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15023 *) ac_try_echo=$ac_try;;
15025 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15026 (eval "$ac_compile") 2>conftest.er1
15028 grep -v '^ *+' conftest.er1 >conftest.err
15030 cat conftest.err >&5
15031 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15032 (exit $ac_status); } && {
15033 test -z "$ac_c_werror_flag" ||
15034 test ! -s conftest.err
15035 } && test -s conftest.$ac_objext; then
15036 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15038 echo "$as_me: failed program was
:" >&5
15039 sed 's/^/| /' conftest.$ac_ext >&5
15041 bakefile_cv_c_compiler___INTEL_COMPILER=no
15045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15049 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15050 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15051 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15057 ac_cpp='$CPP $CPPFLAGS'
15058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15065 if test "$INTELCC" = "yes"; then
15069 ac_cpp='$CPP $CPPFLAGS'
15070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15074 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15075 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15076 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15077 echo $ECHO_N "(cached
) $ECHO_C" >&6
15079 cat >conftest.$ac_ext <<_ACEOF
15082 cat confdefs.h >>conftest.$ac_ext
15083 cat >>conftest.$ac_ext <<_ACEOF
15084 /* end confdefs.h. */
15090 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15098 rm -f conftest.$ac_objext
15099 if { (ac_try="$ac_compile"
15100 case "(($ac_try" in
15101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15102 *) ac_try_echo=$ac_try;;
15104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15105 (eval "$ac_compile") 2>conftest.er1
15107 grep -v '^ *+' conftest.er1 >conftest.err
15109 cat conftest.err >&5
15110 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15111 (exit $ac_status); } && {
15112 test -z "$ac_c_werror_flag" ||
15113 test ! -s conftest.err
15114 } && test -s conftest.$ac_objext; then
15115 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15117 echo "$as_me: failed program was
:" >&5
15118 sed 's/^/| /' conftest.$ac_ext >&5
15120 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15128 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15129 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15130 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15136 ac_cpp='$CPP $CPPFLAGS'
15137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15146 ac_cpp='$CPP $CPPFLAGS'
15147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15151 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15152 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15153 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15154 echo $ECHO_N "(cached
) $ECHO_C" >&6
15156 cat >conftest.$ac_ext <<_ACEOF
15159 cat confdefs.h >>conftest.$ac_ext
15160 cat >>conftest.$ac_ext <<_ACEOF
15161 /* end confdefs.h. */
15167 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15175 rm -f conftest.$ac_objext
15176 if { (ac_try="$ac_compile"
15177 case "(($ac_try" in
15178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15179 *) ac_try_echo=$ac_try;;
15181 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15182 (eval "$ac_compile") 2>conftest.er1
15184 grep -v '^ *+' conftest.er1 >conftest.err
15186 cat conftest.err >&5
15187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15188 (exit $ac_status); } && {
15189 test -z "$ac_c_werror_flag" ||
15190 test ! -s conftest.err
15191 } && test -s conftest.$ac_objext; then
15192 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15194 echo "$as_me: failed program was
:" >&5
15195 sed 's/^/| /' conftest.$ac_ext >&5
15197 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15205 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15206 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15207 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15213 ac_cpp='$CPP $CPPFLAGS'
15214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15222 if test "x
$GCC" != "xyes
"; then
15223 if test "xCC
" = "xC
"; then
15224 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15225 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15226 if test "${bakefile_cv_c_exto+set}" = set; then
15227 echo $ECHO_N "(cached
) $ECHO_C" >&6
15229 cat >conftest.$ac_ext <<_ACEOF
15232 cat confdefs.h >>conftest.$ac_ext
15233 cat >>conftest.$ac_ext <<_ACEOF
15234 /* end confdefs.h. */
15244 rm -f conftest.$ac_objext conftest.$ac_ext.o
15245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15246 (eval $ac_compile) 2>&5
15248 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15249 (exit $ac_status); }; then
15250 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15252 conftest.$ac_ext.o)
15253 bakefile_cv_c_exto="-ext o
"
15260 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15261 See \
`config.log' for more details." >&5
15262 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15263 See \`config.log
' for more details." >&2;}
15264 { (exit 1); exit 1; }; }
15268 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15271 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15272 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15273 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15274 if test "c" = "c"; then
15275 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15277 if test "c" = "cxx"; then
15278 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15282 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15283 unset ac_cv_prog_cc_g
15284 ac_test_CFLAGS=${CFLAGS+set}
15285 ac_save_CFLAGS=$CFLAGS
15286 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15287 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15288 if test "${ac_cv_prog_cc_g+set}" = set; then
15289 echo $ECHO_N "(cached) $ECHO_C" >&6
15291 ac_save_c_werror_flag=$ac_c_werror_flag
15292 ac_c_werror_flag=yes
15295 cat >conftest.$ac_ext <<_ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h. */
15310 rm -f conftest.$ac_objext
15311 if { (ac_try="$ac_compile"
15312 case "(($ac_try" in
15313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15314 *) ac_try_echo=$ac_try;;
15316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15317 (eval "$ac_compile") 2>conftest.er1
15319 grep -v '^
*+' conftest.er1 >conftest.err
15321 cat conftest.err >&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } && {
15324 test -z "$ac_c_werror_flag" ||
15325 test ! -s conftest.err
15326 } && test -s conftest.$ac_objext; then
15327 ac_cv_prog_cc_g=yes
15329 echo "$as_me: failed program was:" >&5
15330 sed 's
/^
/| /' conftest.$ac_ext >&5
15333 cat >conftest.$ac_ext <<_ACEOF
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15348 rm -f conftest.$ac_objext
15349 if { (ac_try="$ac_compile"
15350 case "(($ac_try" in
15351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15352 *) ac_try_echo=$ac_try;;
15354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15355 (eval "$ac_compile") 2>conftest.er1
15357 grep -v '^
*+' conftest.er1 >conftest.err
15359 cat conftest.err >&5
15360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15361 (exit $ac_status); } && {
15362 test -z "$ac_c_werror_flag" ||
15363 test ! -s conftest.err
15364 } && test -s conftest.$ac_objext; then
15367 echo "$as_me: failed program was:" >&5
15368 sed 's
/^
/| /' conftest.$ac_ext >&5
15370 ac_c_werror_flag=$ac_save_c_werror_flag
15372 cat >conftest.$ac_ext <<_ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15387 rm -f conftest.$ac_objext
15388 if { (ac_try="$ac_compile"
15389 case "(($ac_try" in
15390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15391 *) ac_try_echo=$ac_try;;
15393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15394 (eval "$ac_compile") 2>conftest.er1
15396 grep -v '^
*+' conftest.er1 >conftest.err
15398 cat conftest.err >&5
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); } && {
15401 test -z "$ac_c_werror_flag" ||
15402 test ! -s conftest.err
15403 } && test -s conftest.$ac_objext; then
15404 ac_cv_prog_cc_g=yes
15406 echo "$as_me: failed program was:" >&5
15407 sed 's
/^
/| /' conftest.$ac_ext >&5
15412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15419 ac_c_werror_flag=$ac_save_c_werror_flag
15421 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15422 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15423 if test "$ac_test_CFLAGS" = set; then
15424 CFLAGS=$ac_save_CFLAGS
15425 elif test $ac_cv_prog_cc_g = yes; then
15426 if test "$GCC" = yes; then
15432 if test "$GCC" = yes; then
15446 ac_cpp='$CPP $CPPFLAGS'
15447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15448 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15451 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15452 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15453 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15454 echo $ECHO_N "(cached) $ECHO_C" >&6
15456 cat >conftest.$ac_ext <<_ACEOF
15459 cat confdefs.h >>conftest.$ac_ext
15460 cat >>conftest.$ac_ext <<_ACEOF
15461 /* end confdefs.h. */
15475 rm -f conftest.$ac_objext
15476 if { (ac_try="$ac_compile"
15477 case "(($ac_try" in
15478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15479 *) ac_try_echo=$ac_try;;
15481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15482 (eval "$ac_compile") 2>conftest.er1
15484 grep -v '^
*+' conftest.er1 >conftest.err
15486 cat conftest.err >&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); } && {
15489 test -z "$ac_c_werror_flag" ||
15490 test ! -s conftest.err
15491 } && test -s conftest.$ac_objext; then
15492 bakefile_cv_c_compiler___xlC__=yes
15494 echo "$as_me: failed program was:" >&5
15495 sed 's
/^
/| /' conftest.$ac_ext >&5
15497 bakefile_cv_c_compiler___xlC__=no
15501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15505 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15506 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15507 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15513 ac_cpp='$CPP $CPPFLAGS'
15514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15515 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15526 ac_cpp='$CPP $CPPFLAGS'
15527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15528 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15531 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15532 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15533 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15534 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 cat >conftest.$ac_ext <<_ACEOF
15539 cat confdefs.h >>conftest.$ac_ext
15540 cat >>conftest.$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15555 rm -f conftest.$ac_objext
15556 if { (ac_try="$ac_compile"
15557 case "(($ac_try" in
15558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15559 *) ac_try_echo=$ac_try;;
15561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15562 (eval "$ac_compile") 2>conftest.er1
15564 grep -v '^
*+' conftest.er1 >conftest.err
15566 cat conftest.err >&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } && {
15569 test -z "$ac_c_werror_flag" ||
15570 test ! -s conftest.err
15571 } && test -s conftest.$ac_objext; then
15572 bakefile_cv_c_compiler___MWERKS__=yes
15574 echo "$as_me: failed program was:" >&5
15575 sed 's
/^
/| /' conftest.$ac_ext >&5
15577 bakefile_cv_c_compiler___MWERKS__=no
15581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15585 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15586 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15587 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15593 ac_cpp='$CPP $CPPFLAGS'
15594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15595 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15600 if test "$MWCC" != "yes"; then
15604 ac_cpp='$CPP $CPPFLAGS'
15605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15606 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15609 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15610 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15611 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15612 echo $ECHO_N "(cached) $ECHO_C" >&6
15614 cat >conftest.$ac_ext <<_ACEOF
15617 cat confdefs.h >>conftest.$ac_ext
15618 cat >>conftest.$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15633 rm -f conftest.$ac_objext
15634 if { (ac_try="$ac_compile"
15635 case "(($ac_try" in
15636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15637 *) ac_try_echo=$ac_try;;
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_compile") 2>conftest.er1
15642 grep -v '^
*+' conftest.er1 >conftest.err
15644 cat conftest.err >&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); } && {
15647 test -z "$ac_c_werror_flag" ||
15648 test ! -s conftest.err
15649 } && test -s conftest.$ac_objext; then
15650 bakefile_cv_c_compiler___xlC__=yes
15652 echo "$as_me: failed program was:" >&5
15653 sed 's
/^
/| /' conftest.$ac_ext >&5
15655 bakefile_cv_c_compiler___xlC__=no
15659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15663 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15664 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15665 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15671 ac_cpp='$CPP $CPPFLAGS'
15672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15673 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15685 ac_cpp='$CPP $CPPFLAGS'
15686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15687 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15691 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15692 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15693 echo $ECHO_N "(cached) $ECHO_C" >&6
15695 cat >conftest.$ac_ext <<_ACEOF
15698 cat confdefs.h >>conftest.$ac_ext
15699 cat >>conftest.$ac_ext <<_ACEOF
15700 /* end confdefs.h. */
15706 #ifndef _SGI_COMPILER_VERSION
15714 rm -f conftest.$ac_objext
15715 if { (ac_try="$ac_compile"
15716 case "(($ac_try" in
15717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15718 *) ac_try_echo=$ac_try;;
15720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15721 (eval "$ac_compile") 2>conftest.er1
15723 grep -v '^
*+' conftest.er1 >conftest.err
15725 cat conftest.err >&5
15726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15727 (exit $ac_status); } && {
15728 test -z "$ac_c_werror_flag" ||
15729 test ! -s conftest.err
15730 } && test -s conftest.$ac_objext; then
15731 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15733 echo "$as_me: failed program was:" >&5
15734 sed 's
/^
/| /' conftest.$ac_ext >&5
15736 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15744 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15745 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15746 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15752 ac_cpp='$CPP $CPPFLAGS'
15753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15754 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15762 if test "$INTELCC" != "yes"; then
15766 ac_cpp='$CPP $CPPFLAGS'
15767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15768 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15771 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15772 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15773 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15774 echo $ECHO_N "(cached) $ECHO_C" >&6
15776 cat >conftest.$ac_ext <<_ACEOF
15779 cat confdefs.h >>conftest.$ac_ext
15780 cat >>conftest.$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15795 rm -f conftest.$ac_objext
15796 if { (ac_try="$ac_compile"
15797 case "(($ac_try" in
15798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15799 *) ac_try_echo=$ac_try;;
15801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15802 (eval "$ac_compile") 2>conftest.er1
15804 grep -v '^
*+' conftest.er1 >conftest.err
15806 cat conftest.err >&5
15807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808 (exit $ac_status); } && {
15809 test -z "$ac_c_werror_flag" ||
15810 test ! -s conftest.err
15811 } && test -s conftest.$ac_objext; then
15812 bakefile_cv_c_compiler___SUNPRO_C=yes
15814 echo "$as_me: failed program was:" >&5
15815 sed 's
/^
/| /' conftest.$ac_ext >&5
15817 bakefile_cv_c_compiler___SUNPRO_C=no
15821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15825 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15826 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15827 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15833 ac_cpp='$CPP $CPPFLAGS'
15834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15835 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15847 ac_cpp='$CPP $CPPFLAGS'
15848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15849 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15852 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15853 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15854 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15857 cat >conftest.$ac_ext <<_ACEOF
15860 cat confdefs.h >>conftest.$ac_ext
15861 cat >>conftest.$ac_ext <<_ACEOF
15862 /* end confdefs.h. */
15876 rm -f conftest.$ac_objext
15877 if { (ac_try="$ac_compile"
15878 case "(($ac_try" in
15879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15880 *) ac_try_echo=$ac_try;;
15882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15883 (eval "$ac_compile") 2>conftest.er1
15885 grep -v '^
*+' conftest.er1 >conftest.err
15887 cat conftest.err >&5
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); } && {
15890 test -z "$ac_c_werror_flag" ||
15891 test ! -s conftest.err
15892 } && test -s conftest.$ac_objext; then
15893 bakefile_cv_c_compiler___HP_cc=yes
15895 echo "$as_me: failed program was:" >&5
15896 sed 's
/^
/| /' conftest.$ac_ext >&5
15898 bakefile_cv_c_compiler___HP_cc=no
15902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15906 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15907 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15908 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15914 ac_cpp='$CPP $CPPFLAGS'
15915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15916 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15927 ac_cpp='$CPP $CPPFLAGS'
15928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15929 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15932 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15933 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15934 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15935 echo $ECHO_N "(cached) $ECHO_C" >&6
15937 cat >conftest.$ac_ext <<_ACEOF
15940 cat confdefs.h >>conftest.$ac_ext
15941 cat >>conftest.$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15956 rm -f conftest.$ac_objext
15957 if { (ac_try="$ac_compile"
15958 case "(($ac_try" in
15959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15960 *) ac_try_echo=$ac_try;;
15962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15963 (eval "$ac_compile") 2>conftest.er1
15965 grep -v '^
*+' conftest.er1 >conftest.err
15967 cat conftest.err >&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); } && {
15970 test -z "$ac_c_werror_flag" ||
15971 test ! -s conftest.err
15972 } && test -s conftest.$ac_objext; then
15973 bakefile_cv_c_compiler___DECC=yes
15975 echo "$as_me: failed program was:" >&5
15976 sed 's
/^
/| /' conftest.$ac_ext >&5
15978 bakefile_cv_c_compiler___DECC=no
15982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15986 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15987 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15988 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15994 ac_cpp='$CPP $CPPFLAGS'
15995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15996 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16007 ac_cpp='$CPP $CPPFLAGS'
16008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16009 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16012 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16013 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16014 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16015 echo $ECHO_N "(cached) $ECHO_C" >&6
16017 cat >conftest.$ac_ext <<_ACEOF
16020 cat confdefs.h >>conftest.$ac_ext
16021 cat >>conftest.$ac_ext <<_ACEOF
16022 /* end confdefs.h. */
16036 rm -f conftest.$ac_objext
16037 if { (ac_try="$ac_compile"
16038 case "(($ac_try" in
16039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16040 *) ac_try_echo=$ac_try;;
16042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16043 (eval "$ac_compile") 2>conftest.er1
16045 grep -v '^
*+' conftest.er1 >conftest.err
16047 cat conftest.err >&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); } && {
16050 test -z "$ac_c_werror_flag" ||
16051 test ! -s conftest.err
16052 } && test -s conftest.$ac_objext; then
16053 bakefile_cv_c_compiler___SUNPRO_C=yes
16055 echo "$as_me: failed program was:" >&5
16056 sed 's
/^
/| /' conftest.$ac_ext >&5
16058 bakefile_cv_c_compiler___SUNPRO_C=no
16062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16066 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16067 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16068 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16074 ac_cpp='$CPP $CPPFLAGS'
16075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16076 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16088 ac_cpp='$CPP $CPPFLAGS'
16089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16090 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16092 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16093 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16094 # On Suns, sometimes $CPP names a directory.
16095 if test -n "$CPP" && test -d "$CPP"; then
16098 if test -z "$CPP"; then
16099 if test "${ac_cv_prog_CPP+set}" = set; then
16100 echo $ECHO_N "(cached) $ECHO_C" >&6
16102 # Double quotes because CPP needs to be expanded
16103 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16105 ac_preproc_ok=false
16106 for ac_c_preproc_warn_flag in '' yes
16108 # Use a header file that comes with gcc, so configuring glibc
16109 # with a fresh cross-compiler works.
16110 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16111 # <limits.h> exists even on freestanding compilers.
16112 # On the NeXT, cc -E runs the code through the compiler's parser
,
16113 # not just through cpp. "Syntax error" is here to catch this case.
16114 cat >conftest.
$ac_ext <<_ACEOF
16117 cat confdefs.h
>>conftest.
$ac_ext
16118 cat >>conftest.
$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16121 # include <limits.h>
16123 # include <assert.h>
16127 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16128 case "(($ac_try" in
16129 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16135 grep -v '^ *+' conftest.er1 >conftest.err
16137 cat conftest.err >&5
16138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139 (exit $ac_status); } >/dev/null && {
16140 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16141 test ! -s conftest.err
16145 echo "$as_me: failed program was:" >&5
16146 sed 's/^/| /' conftest.$ac_ext >&5
16148 # Broken: fails on valid input.
16152 rm -f conftest.err conftest.$ac_ext
16154 # OK, works on sane cases. Now check whether nonexistent headers
16155 # can be detected and how.
16156 cat >conftest.$ac_ext <<_ACEOF
16159 cat confdefs.h >>conftest.$ac_ext
16160 cat >>conftest.$ac_ext <<_ACEOF
16161 /* end confdefs.h. */
16162 #include <ac_nonexistent.h>
16164 if { (ac_try="$ac_cpp conftest.$ac_ext"
16165 case "(($ac_try" in
16166 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16167 *) ac_try_echo
=$ac_try;;
16169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16172 grep -v '^ *+' conftest.er1
>conftest.err
16174 cat conftest.err
>&5
16175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16176 (exit $ac_status); } >/dev
/null
&& {
16177 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16178 test ! -s conftest.err
16180 # Broken: success on invalid input.
16183 echo "$as_me: failed program was:" >&5
16184 sed 's/^/| /' conftest.
$ac_ext >&5
16186 # Passes both tests.
16191 rm -f conftest.err conftest.
$ac_ext
16194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16195 rm -f conftest.err conftest.
$ac_ext
16196 if $ac_preproc_ok; then
16201 ac_cv_prog_CPP
=$CPP
16204 CPP
=$ac_cv_prog_CPP
16206 ac_cv_prog_CPP
=$CPP
16208 { echo "$as_me:$LINENO: result: $CPP" >&5
16209 echo "${ECHO_T}$CPP" >&6; }
16210 ac_preproc_ok
=false
16211 for ac_c_preproc_warn_flag
in '' yes
16213 # Use a header file that comes with gcc, so configuring glibc
16214 # with a fresh cross-compiler works.
16215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16216 # <limits.h> exists even on freestanding compilers.
16217 # On the NeXT, cc -E runs the code through the compiler's parser,
16218 # not just through cpp. "Syntax error" is here to catch this case.
16219 cat >conftest.
$ac_ext <<_ACEOF
16222 cat confdefs.h
>>conftest.
$ac_ext
16223 cat >>conftest.
$ac_ext <<_ACEOF
16224 /* end confdefs.h. */
16226 # include <limits.h>
16228 # include <assert.h>
16232 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16233 case "(($ac_try" in
16234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16235 *) ac_try_echo=$ac_try;;
16237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16238 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16240 grep -v '^ *+' conftest.er1 >conftest.err
16242 cat conftest.err >&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); } >/dev/null && {
16245 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16246 test ! -s conftest.err
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16253 # Broken: fails on valid input.
16257 rm -f conftest.err conftest.$ac_ext
16259 # OK, works on sane cases. Now check whether nonexistent headers
16260 # can be detected and how.
16261 cat >conftest.$ac_ext <<_ACEOF
16264 cat confdefs.h >>conftest.$ac_ext
16265 cat >>conftest.$ac_ext <<_ACEOF
16266 /* end confdefs.h. */
16267 #include <ac_nonexistent.h>
16269 if { (ac_try="$ac_cpp conftest.$ac_ext"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16272 *) ac_try_echo
=$ac_try;;
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16277 grep -v '^ *+' conftest.er1
>conftest.err
16279 cat conftest.err
>&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } >/dev
/null
&& {
16282 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16283 test ! -s conftest.err
16285 # Broken: success on invalid input.
16288 echo "$as_me: failed program was:" >&5
16289 sed 's/^/| /' conftest.
$ac_ext >&5
16291 # Passes both tests.
16296 rm -f conftest.err conftest.
$ac_ext
16299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16300 rm -f conftest.err conftest.
$ac_ext
16301 if $ac_preproc_ok; then
16304 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16305 See \`config.log' for more details." >&5
16306 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16307 See \`config.log' for more details." >&2;}
16308 { (exit 1); exit 1; }; }
16312 ac_cpp
='$CPP $CPPFLAGS'
16313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16318 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16319 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16320 if test "${ac_cv_path_GREP+set}" = set; then
16321 echo $ECHO_N "(cached) $ECHO_C" >&6
16323 # Extract the first word of "grep ggrep" to use in msg output
16324 if test -z "$GREP"; then
16325 set dummy
grep ggrep
; ac_prog_name
=$2
16326 if test "${ac_cv_path_GREP+set}" = set; then
16327 echo $ECHO_N "(cached) $ECHO_C" >&6
16329 ac_path_GREP_found
=false
16330 # Loop through the user's path and test for each of PROGNAME-LIST
16331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16332 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16335 test -z "$as_dir" && as_dir
=.
16336 for ac_prog
in grep ggrep
; do
16337 for ac_exec_ext
in '' $ac_executable_extensions; do
16338 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16339 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16340 # Check for GNU ac_path_GREP and select it if it is found.
16341 # Check for GNU $ac_path_GREP
16342 case `"$ac_path_GREP" --version 2>&1` in
16344 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16347 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16350 cat "conftest.in" "conftest.in" >"conftest.tmp"
16351 mv "conftest.tmp" "conftest.in"
16352 cp "conftest.in" "conftest.nl"
16353 echo 'GREP' >> "conftest.nl"
16354 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16355 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16356 ac_count
=`expr $ac_count + 1`
16357 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16358 # Best one so far, save it but keep looking for a better one
16359 ac_cv_path_GREP
="$ac_path_GREP"
16360 ac_path_GREP_max
=$ac_count
16362 # 10*(2^10) chars as input seems more than enough
16363 test $ac_count -gt 10 && break
16365 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16369 $ac_path_GREP_found && break 3
16379 GREP
="$ac_cv_path_GREP"
16380 if test -z "$GREP"; then
16381 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16382 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16383 { (exit 1); exit 1; }; }
16387 ac_cv_path_GREP
=$GREP
16392 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16393 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16394 GREP
="$ac_cv_path_GREP"
16397 { echo "$as_me:$LINENO: checking for egrep" >&5
16398 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16399 if test "${ac_cv_path_EGREP+set}" = set; then
16400 echo $ECHO_N "(cached) $ECHO_C" >&6
16402 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16403 then ac_cv_path_EGREP
="$GREP -E"
16405 # Extract the first word of "egrep" to use in msg output
16406 if test -z "$EGREP"; then
16407 set dummy
egrep; ac_prog_name
=$2
16408 if test "${ac_cv_path_EGREP+set}" = set; then
16409 echo $ECHO_N "(cached) $ECHO_C" >&6
16411 ac_path_EGREP_found
=false
16412 # Loop through the user's path and test for each of PROGNAME-LIST
16413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16414 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16417 test -z "$as_dir" && as_dir
=.
16418 for ac_prog
in egrep; do
16419 for ac_exec_ext
in '' $ac_executable_extensions; do
16420 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16421 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16422 # Check for GNU ac_path_EGREP and select it if it is found.
16423 # Check for GNU $ac_path_EGREP
16424 case `"$ac_path_EGREP" --version 2>&1` in
16426 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16429 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16432 cat "conftest.in" "conftest.in" >"conftest.tmp"
16433 mv "conftest.tmp" "conftest.in"
16434 cp "conftest.in" "conftest.nl"
16435 echo 'EGREP' >> "conftest.nl"
16436 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16437 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16438 ac_count
=`expr $ac_count + 1`
16439 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16440 # Best one so far, save it but keep looking for a better one
16441 ac_cv_path_EGREP
="$ac_path_EGREP"
16442 ac_path_EGREP_max
=$ac_count
16444 # 10*(2^10) chars as input seems more than enough
16445 test $ac_count -gt 10 && break
16447 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16451 $ac_path_EGREP_found && break 3
16461 EGREP
="$ac_cv_path_EGREP"
16462 if test -z "$EGREP"; then
16463 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16464 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16465 { (exit 1); exit 1; }; }
16469 ac_cv_path_EGREP
=$EGREP
16475 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16476 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16477 EGREP
="$ac_cv_path_EGREP"
16480 if test $ac_cv_c_compiler_gnu = yes; then
16481 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16482 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16483 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16484 echo $ECHO_N "(cached) $ECHO_C" >&6
16486 ac_pattern
="Autoconf.*'x'"
16487 cat >conftest.
$ac_ext <<_ACEOF
16490 cat confdefs.h
>>conftest.
$ac_ext
16491 cat >>conftest.
$ac_ext <<_ACEOF
16492 /* end confdefs.h. */
16496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16497 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16498 ac_cv_prog_gcc_traditional
=yes
16500 ac_cv_prog_gcc_traditional
=no
16505 if test $ac_cv_prog_gcc_traditional = no
; then
16506 cat >conftest.
$ac_ext <<_ACEOF
16509 cat confdefs.h
>>conftest.
$ac_ext
16510 cat >>conftest.
$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16512 #include <termio.h>
16515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16516 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16517 ac_cv_prog_gcc_traditional
=yes
16523 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16524 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16525 if test $ac_cv_prog_gcc_traditional = yes; then
16526 CC
="$CC -traditional"
16531 CXXFLAGS
=${CXXFLAGS:=}
16536 ac_cpp
='$CXXCPP $CPPFLAGS'
16537 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16538 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16539 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16540 if test -z "$CXX"; then
16541 if test -n "$CCC"; then
16544 if test -n "$ac_tool_prefix"; then
16545 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16547 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16548 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16551 if test "${ac_cv_prog_CXX+set}" = set; then
16552 echo $ECHO_N "(cached) $ECHO_C" >&6
16554 if test -n "$CXX"; then
16555 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16558 for as_dir
in $PATH
16561 test -z "$as_dir" && as_dir
=.
16562 for ac_exec_ext
in '' $ac_executable_extensions; do
16563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16564 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16574 CXX
=$ac_cv_prog_CXX
16575 if test -n "$CXX"; then
16576 { echo "$as_me:$LINENO: result: $CXX" >&5
16577 echo "${ECHO_T}$CXX" >&6; }
16579 { echo "$as_me:$LINENO: result: no" >&5
16580 echo "${ECHO_T}no" >&6; }
16584 test -n "$CXX" && break
16587 if test -z "$CXX"; then
16589 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16591 # Extract the first word of "$ac_prog", so it can be a program name with args.
16592 set dummy
$ac_prog; ac_word
=$2
16593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16595 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 if test -n "$ac_ct_CXX"; then
16599 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16602 for as_dir
in $PATH
16605 test -z "$as_dir" && as_dir
=.
16606 for ac_exec_ext
in '' $ac_executable_extensions; do
16607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16608 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16618 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16619 if test -n "$ac_ct_CXX"; then
16620 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16621 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16623 { echo "$as_me:$LINENO: result: no" >&5
16624 echo "${ECHO_T}no" >&6; }
16628 test -n "$ac_ct_CXX" && break
16631 if test "x$ac_ct_CXX" = x
; then
16634 case $cross_compiling:$ac_tool_warned in
16636 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16637 whose name does not start with the host triplet. If you think this
16638 configuration is useful to you, please write to autoconf@gnu.org." >&5
16639 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16640 whose name does not start with the host triplet. If you think this
16641 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16642 ac_tool_warned
=yes ;;
16650 # Provide some information about the compiler.
16651 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16652 ac_compiler
=`set X $ac_compile; echo $2`
16653 { (ac_try
="$ac_compiler --version >&5"
16654 case "(($ac_try" in
16655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16656 *) ac_try_echo=$ac_try;;
16658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16659 (eval "$ac_compiler --version >&5") 2>&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }
16663 { (ac_try="$ac_compiler -v >&5"
16664 case "(($ac_try" in
16665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16666 *) ac_try_echo
=$ac_try;;
16668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16669 (eval "$ac_compiler -v >&5") 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }
16673 { (ac_try
="$ac_compiler -V >&5"
16674 case "(($ac_try" in
16675 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16676 *) ac_try_echo=$ac_try;;
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679 (eval "$ac_compiler -V >&5") 2>&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }
16684 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16685 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16686 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16687 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 cat >conftest.$ac_ext <<_ACEOF
16692 cat confdefs.h >>conftest.$ac_ext
16693 cat >>conftest.$ac_ext <<_ACEOF
16694 /* end confdefs.h. */
16707 rm -f conftest.$ac_objext
16708 if { (ac_try="$ac_compile"
16709 case "(($ac_try" in
16710 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16711 *) ac_try_echo
=$ac_try;;
16713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16714 (eval "$ac_compile") 2>conftest.er1
16716 grep -v '^ *+' conftest.er1
>conftest.err
16718 cat conftest.err
>&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } && {
16721 test -z "$ac_cxx_werror_flag" ||
16722 test ! -s conftest.err
16723 } && test -s conftest.
$ac_objext; then
16724 ac_compiler_gnu
=yes
16726 echo "$as_me: failed program was:" >&5
16727 sed 's/^/| /' conftest.
$ac_ext >&5
16732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16733 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16736 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16737 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16738 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16739 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16740 ac_save_CXXFLAGS
=$CXXFLAGS
16741 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16742 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16743 if test "${ac_cv_prog_cxx_g+set}" = set; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16746 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16747 ac_cxx_werror_flag
=yes
16748 ac_cv_prog_cxx_g
=no
16750 cat >conftest.
$ac_ext <<_ACEOF
16753 cat confdefs.h
>>conftest.
$ac_ext
16754 cat >>conftest.
$ac_ext <<_ACEOF
16755 /* end confdefs.h. */
16765 rm -f conftest.
$ac_objext
16766 if { (ac_try
="$ac_compile"
16767 case "(($ac_try" in
16768 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16769 *) ac_try_echo=$ac_try;;
16771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16772 (eval "$ac_compile") 2>conftest.er1
16774 grep -v '^ *+' conftest.er1 >conftest.err
16776 cat conftest.err >&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } && {
16779 test -z "$ac_cxx_werror_flag" ||
16780 test ! -s conftest.err
16781 } && test -s conftest.$ac_objext; then
16782 ac_cv_prog_cxx_g=yes
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.$ac_ext >&5
16788 cat >conftest.$ac_ext <<_ACEOF
16791 cat confdefs.h >>conftest.$ac_ext
16792 cat >>conftest.$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16803 rm -f conftest.$ac_objext
16804 if { (ac_try="$ac_compile"
16805 case "(($ac_try" in
16806 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16807 *) ac_try_echo
=$ac_try;;
16809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16810 (eval "$ac_compile") 2>conftest.er1
16812 grep -v '^ *+' conftest.er1
>conftest.err
16814 cat conftest.err
>&5
16815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16816 (exit $ac_status); } && {
16817 test -z "$ac_cxx_werror_flag" ||
16818 test ! -s conftest.err
16819 } && test -s conftest.
$ac_objext; then
16822 echo "$as_me: failed program was:" >&5
16823 sed 's/^/| /' conftest.
$ac_ext >&5
16825 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16827 cat >conftest.
$ac_ext <<_ACEOF
16830 cat confdefs.h
>>conftest.
$ac_ext
16831 cat >>conftest.
$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16842 rm -f conftest.
$ac_objext
16843 if { (ac_try
="$ac_compile"
16844 case "(($ac_try" in
16845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16846 *) ac_try_echo=$ac_try;;
16848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16849 (eval "$ac_compile") 2>conftest.er1
16851 grep -v '^ *+' conftest.er1 >conftest.err
16853 cat conftest.err >&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); } && {
16856 test -z "$ac_cxx_werror_flag" ||
16857 test ! -s conftest.err
16858 } && test -s conftest.$ac_objext; then
16859 ac_cv_prog_cxx_g=yes
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16874 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16876 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16877 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16878 if test "$ac_test_CXXFLAGS" = set; then
16879 CXXFLAGS=$ac_save_CXXFLAGS
16880 elif test $ac_cv_prog_cxx_g = yes; then
16881 if test "$GXX" = yes; then
16887 if test "$GXX" = yes; then
16894 ac_cpp='$CPP $CPPFLAGS'
16895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16903 ac_cpp='$CXXCPP $CPPFLAGS'
16904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16908 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16909 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16910 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16913 cat >conftest.$ac_ext <<_ACEOF
16916 cat confdefs.h >>conftest.$ac_ext
16917 cat >>conftest.$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16924 #ifndef __INTEL_COMPILER
16932 rm -f conftest.$ac_objext
16933 if { (ac_try="$ac_compile"
16934 case "(($ac_try" in
16935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16936 *) ac_try_echo
=$ac_try;;
16938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16939 (eval "$ac_compile") 2>conftest.er1
16941 grep -v '^ *+' conftest.er1
>conftest.err
16943 cat conftest.err
>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } && {
16946 test -z "$ac_cxx_werror_flag" ||
16947 test ! -s conftest.err
16948 } && test -s conftest.
$ac_objext; then
16949 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.
$ac_ext >&5
16954 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16962 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16963 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16964 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16970 ac_cpp
='$CPP $CPPFLAGS'
16971 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16972 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16973 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16978 if test "$INTELCXX" = "yes"; then
16982 ac_cpp
='$CXXCPP $CPPFLAGS'
16983 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16984 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16985 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16987 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16988 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16989 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 cat >conftest.
$ac_ext <<_ACEOF
16995 cat confdefs.h
>>conftest.
$ac_ext
16996 cat >>conftest.
$ac_ext <<_ACEOF
16997 /* end confdefs.h. */
17003 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17011 rm -f conftest.
$ac_objext
17012 if { (ac_try
="$ac_compile"
17013 case "(($ac_try" in
17014 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17015 *) ac_try_echo=$ac_try;;
17017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17018 (eval "$ac_compile") 2>conftest.er1
17020 grep -v '^ *+' conftest.er1 >conftest.err
17022 cat conftest.err >&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); } && {
17025 test -z "$ac_cxx_werror_flag" ||
17026 test ! -s conftest.err
17027 } && test -s conftest.$ac_objext; then
17028 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17030 echo "$as_me: failed program was:" >&5
17031 sed 's/^/| /' conftest.$ac_ext >&5
17033 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17041 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17042 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17043 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17049 ac_cpp='$CPP $CPPFLAGS'
17050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17059 ac_cpp='$CXXCPP $CPPFLAGS'
17060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17064 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17065 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17066 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17067 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 cat >conftest.$ac_ext <<_ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h. */
17080 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17088 rm -f conftest.$ac_objext
17089 if { (ac_try="$ac_compile"
17090 case "(($ac_try" in
17091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17092 *) ac_try_echo
=$ac_try;;
17094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17095 (eval "$ac_compile") 2>conftest.er1
17097 grep -v '^ *+' conftest.er1
>conftest.err
17099 cat conftest.err
>&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } && {
17102 test -z "$ac_cxx_werror_flag" ||
17103 test ! -s conftest.err
17104 } && test -s conftest.
$ac_objext; then
17105 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.
$ac_ext >&5
17110 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17118 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17119 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17120 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17126 ac_cpp
='$CPP $CPPFLAGS'
17127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17135 if test "x$GCXX" != "xyes"; then
17136 if test "xCXX" = "xC"; then
17137 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17138 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17139 if test "${bakefile_cv_c_exto+set}" = set; then
17140 echo $ECHO_N "(cached) $ECHO_C" >&6
17142 cat >conftest.
$ac_ext <<_ACEOF
17145 cat confdefs.h
>>conftest.
$ac_ext
17146 cat >>conftest.
$ac_ext <<_ACEOF
17147 /* end confdefs.h. */
17157 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17159 (eval $ac_compile) 2>&5
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); }; then
17163 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17165 conftest.
$ac_ext.o
)
17166 bakefile_cv_c_exto
="-ext o"
17173 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17174 See \`config.log' for more details." >&5
17175 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17176 See \`config.log' for more details." >&2;}
17177 { (exit 1); exit 1; }; }
17181 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17184 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17185 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17186 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17187 if test "c" = "c"; then
17188 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17190 if test "c" = "cxx"; then
17191 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17195 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17196 unset ac_cv_prog_cc_g
17197 ac_test_CFLAGS
=${CFLAGS+set}
17198 ac_save_CFLAGS
=$CFLAGS
17199 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17200 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17201 if test "${ac_cv_prog_cc_g+set}" = set; then
17202 echo $ECHO_N "(cached) $ECHO_C" >&6
17204 ac_save_c_werror_flag
=$ac_c_werror_flag
17205 ac_c_werror_flag
=yes
17208 cat >conftest.
$ac_ext <<_ACEOF
17211 cat confdefs.h
>>conftest.
$ac_ext
17212 cat >>conftest.
$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17223 rm -f conftest.
$ac_objext
17224 if { (ac_try
="$ac_compile"
17225 case "(($ac_try" in
17226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17227 *) ac_try_echo=$ac_try;;
17229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17230 (eval "$ac_compile") 2>conftest.er1
17232 grep -v '^ *+' conftest.er1 >conftest.err
17234 cat conftest.err >&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } && {
17237 test -z "$ac_c_werror_flag" ||
17238 test ! -s conftest.err
17239 } && test -s conftest.$ac_objext; then
17240 ac_cv_prog_cc_g=yes
17242 echo "$as_me: failed program was:" >&5
17243 sed 's/^/| /' conftest.$ac_ext >&5
17246 cat >conftest.$ac_ext <<_ACEOF
17249 cat confdefs.h >>conftest.$ac_ext
17250 cat >>conftest.$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17261 rm -f conftest.$ac_objext
17262 if { (ac_try="$ac_compile"
17263 case "(($ac_try" in
17264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17265 *) ac_try_echo
=$ac_try;;
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_compile") 2>conftest.er1
17270 grep -v '^ *+' conftest.er1
>conftest.err
17272 cat conftest.err
>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } && {
17275 test -z "$ac_c_werror_flag" ||
17276 test ! -s conftest.err
17277 } && test -s conftest.
$ac_objext; then
17280 echo "$as_me: failed program was:" >&5
17281 sed 's/^/| /' conftest.
$ac_ext >&5
17283 ac_c_werror_flag
=$ac_save_c_werror_flag
17285 cat >conftest.
$ac_ext <<_ACEOF
17288 cat confdefs.h
>>conftest.
$ac_ext
17289 cat >>conftest.
$ac_ext <<_ACEOF
17290 /* end confdefs.h. */
17300 rm -f conftest.
$ac_objext
17301 if { (ac_try
="$ac_compile"
17302 case "(($ac_try" in
17303 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17304 *) ac_try_echo=$ac_try;;
17306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17307 (eval "$ac_compile") 2>conftest.er1
17309 grep -v '^ *+' conftest.er1 >conftest.err
17311 cat conftest.err >&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); } && {
17314 test -z "$ac_c_werror_flag" ||
17315 test ! -s conftest.err
17316 } && test -s conftest.$ac_objext; then
17317 ac_cv_prog_cc_g=yes
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.$ac_ext >&5
17325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17332 ac_c_werror_flag=$ac_save_c_werror_flag
17334 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17335 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17336 if test "$ac_test_CFLAGS" = set; then
17337 CFLAGS=$ac_save_CFLAGS
17338 elif test $ac_cv_prog_cc_g = yes; then
17339 if test "$GCC" = yes; then
17345 if test "$GCC" = yes; then
17359 ac_cpp='$CXXCPP $CPPFLAGS'
17360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17364 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17365 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17366 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17367 echo $ECHO_N "(cached) $ECHO_C" >&6
17369 cat >conftest.$ac_ext <<_ACEOF
17372 cat confdefs.h >>conftest.$ac_ext
17373 cat >>conftest.$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17388 rm -f conftest.$ac_objext
17389 if { (ac_try="$ac_compile"
17390 case "(($ac_try" in
17391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17392 *) ac_try_echo
=$ac_try;;
17394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17395 (eval "$ac_compile") 2>conftest.er1
17397 grep -v '^ *+' conftest.er1
>conftest.err
17399 cat conftest.err
>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); } && {
17402 test -z "$ac_cxx_werror_flag" ||
17403 test ! -s conftest.err
17404 } && test -s conftest.
$ac_objext; then
17405 bakefile_cv_cxx_compiler___xlC__
=yes
17407 echo "$as_me: failed program was:" >&5
17408 sed 's/^/| /' conftest.
$ac_ext >&5
17410 bakefile_cv_cxx_compiler___xlC__
=no
17414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17418 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17419 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17420 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17426 ac_cpp
='$CPP $CPPFLAGS'
17427 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17428 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17429 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17439 ac_cpp
='$CXXCPP $CPPFLAGS'
17440 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17441 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17442 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17444 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17445 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17446 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17447 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 cat >conftest.
$ac_ext <<_ACEOF
17452 cat confdefs.h
>>conftest.
$ac_ext
17453 cat >>conftest.
$ac_ext <<_ACEOF
17454 /* end confdefs.h. */
17468 rm -f conftest.
$ac_objext
17469 if { (ac_try
="$ac_compile"
17470 case "(($ac_try" in
17471 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17472 *) ac_try_echo=$ac_try;;
17474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17475 (eval "$ac_compile") 2>conftest.er1
17477 grep -v '^ *+' conftest.er1 >conftest.err
17479 cat conftest.err >&5
17480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17481 (exit $ac_status); } && {
17482 test -z "$ac_cxx_werror_flag" ||
17483 test ! -s conftest.err
17484 } && test -s conftest.$ac_objext; then
17485 bakefile_cv_cxx_compiler___MWERKS__=yes
17487 echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.$ac_ext >&5
17490 bakefile_cv_cxx_compiler___MWERKS__=no
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17498 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17499 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17500 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17506 ac_cpp='$CPP $CPPFLAGS'
17507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17513 if test "$MWCXX" != "yes"; then
17517 ac_cpp='$CXXCPP $CPPFLAGS'
17518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17522 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17523 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17524 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17525 echo $ECHO_N "(cached) $ECHO_C" >&6
17527 cat >conftest.$ac_ext <<_ACEOF
17530 cat confdefs.h >>conftest.$ac_ext
17531 cat >>conftest.$ac_ext <<_ACEOF
17532 /* end confdefs.h. */
17546 rm -f conftest.$ac_objext
17547 if { (ac_try="$ac_compile"
17548 case "(($ac_try" in
17549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17550 *) ac_try_echo
=$ac_try;;
17552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17553 (eval "$ac_compile") 2>conftest.er1
17555 grep -v '^ *+' conftest.er1
>conftest.err
17557 cat conftest.err
>&5
17558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17559 (exit $ac_status); } && {
17560 test -z "$ac_cxx_werror_flag" ||
17561 test ! -s conftest.err
17562 } && test -s conftest.
$ac_objext; then
17563 bakefile_cv_cxx_compiler___xlC__
=yes
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.
$ac_ext >&5
17568 bakefile_cv_cxx_compiler___xlC__
=no
17572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17576 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17577 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17578 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17584 ac_cpp
='$CPP $CPPFLAGS'
17585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17598 ac_cpp
='$CXXCPP $CPPFLAGS'
17599 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17600 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17601 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17603 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17604 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17605 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17606 echo $ECHO_N "(cached) $ECHO_C" >&6
17608 cat >conftest.
$ac_ext <<_ACEOF
17611 cat confdefs.h
>>conftest.
$ac_ext
17612 cat >>conftest.
$ac_ext <<_ACEOF
17613 /* end confdefs.h. */
17619 #ifndef _SGI_COMPILER_VERSION
17627 rm -f conftest.
$ac_objext
17628 if { (ac_try
="$ac_compile"
17629 case "(($ac_try" in
17630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17631 *) ac_try_echo=$ac_try;;
17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17634 (eval "$ac_compile") 2>conftest.er1
17636 grep -v '^ *+' conftest.er1 >conftest.err
17638 cat conftest.err >&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } && {
17641 test -z "$ac_cxx_werror_flag" ||
17642 test ! -s conftest.err
17643 } && test -s conftest.$ac_objext; then
17644 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.$ac_ext >&5
17649 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17657 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17658 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17659 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17665 ac_cpp='$CPP $CPPFLAGS'
17666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17675 if test "$INTELCXX" != "yes"; then
17679 ac_cpp='$CXXCPP $CPPFLAGS'
17680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17684 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17685 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17686 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17689 cat >conftest.$ac_ext <<_ACEOF
17692 cat confdefs.h >>conftest.$ac_ext
17693 cat >>conftest.$ac_ext <<_ACEOF
17694 /* end confdefs.h. */
17700 #ifndef __SUNPRO_CC
17708 rm -f conftest.$ac_objext
17709 if { (ac_try="$ac_compile"
17710 case "(($ac_try" in
17711 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17712 *) ac_try_echo
=$ac_try;;
17714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17715 (eval "$ac_compile") 2>conftest.er1
17717 grep -v '^ *+' conftest.er1
>conftest.err
17719 cat conftest.err
>&5
17720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17721 (exit $ac_status); } && {
17722 test -z "$ac_cxx_werror_flag" ||
17723 test ! -s conftest.err
17724 } && test -s conftest.
$ac_objext; then
17725 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.
$ac_ext >&5
17730 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17738 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17739 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17740 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17746 ac_cpp
='$CPP $CPPFLAGS'
17747 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17748 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17749 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17760 ac_cpp
='$CXXCPP $CPPFLAGS'
17761 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17762 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17763 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17765 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17766 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17767 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17768 echo $ECHO_N "(cached) $ECHO_C" >&6
17770 cat >conftest.
$ac_ext <<_ACEOF
17773 cat confdefs.h
>>conftest.
$ac_ext
17774 cat >>conftest.
$ac_ext <<_ACEOF
17775 /* end confdefs.h. */
17789 rm -f conftest.
$ac_objext
17790 if { (ac_try
="$ac_compile"
17791 case "(($ac_try" in
17792 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17793 *) ac_try_echo=$ac_try;;
17795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17796 (eval "$ac_compile") 2>conftest.er1
17798 grep -v '^ *+' conftest.er1 >conftest.err
17800 cat conftest.err >&5
17801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17802 (exit $ac_status); } && {
17803 test -z "$ac_cxx_werror_flag" ||
17804 test ! -s conftest.err
17805 } && test -s conftest.$ac_objext; then
17806 bakefile_cv_cxx_compiler___HP_aCC=yes
17808 echo "$as_me: failed program was:" >&5
17809 sed 's/^/| /' conftest.$ac_ext >&5
17811 bakefile_cv_cxx_compiler___HP_aCC=no
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17819 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17820 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17821 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17827 ac_cpp='$CPP $CPPFLAGS'
17828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17840 ac_cpp='$CXXCPP $CPPFLAGS'
17841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17845 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17846 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17847 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17848 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 cat >conftest.$ac_ext <<_ACEOF
17853 cat confdefs.h >>conftest.$ac_ext
17854 cat >>conftest.$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17869 rm -f conftest.$ac_objext
17870 if { (ac_try="$ac_compile"
17871 case "(($ac_try" in
17872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17873 *) ac_try_echo
=$ac_try;;
17875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17876 (eval "$ac_compile") 2>conftest.er1
17878 grep -v '^ *+' conftest.er1
>conftest.err
17880 cat conftest.err
>&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); } && {
17883 test -z "$ac_cxx_werror_flag" ||
17884 test ! -s conftest.err
17885 } && test -s conftest.
$ac_objext; then
17886 bakefile_cv_cxx_compiler___DECCXX
=yes
17888 echo "$as_me: failed program was:" >&5
17889 sed 's/^/| /' conftest.
$ac_ext >&5
17891 bakefile_cv_cxx_compiler___DECCXX
=no
17895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17899 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17900 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17901 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17907 ac_cpp
='$CPP $CPPFLAGS'
17908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17920 ac_cpp
='$CXXCPP $CPPFLAGS'
17921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17925 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17926 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17927 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17928 echo $ECHO_N "(cached) $ECHO_C" >&6
17930 cat >conftest.
$ac_ext <<_ACEOF
17933 cat confdefs.h
>>conftest.
$ac_ext
17934 cat >>conftest.
$ac_ext <<_ACEOF
17935 /* end confdefs.h. */
17941 #ifndef __SUNPRO_CC
17949 rm -f conftest.
$ac_objext
17950 if { (ac_try
="$ac_compile"
17951 case "(($ac_try" in
17952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17953 *) ac_try_echo=$ac_try;;
17955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17956 (eval "$ac_compile") 2>conftest.er1
17958 grep -v '^ *+' conftest.er1 >conftest.err
17960 cat conftest.err >&5
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); } && {
17963 test -z "$ac_cxx_werror_flag" ||
17964 test ! -s conftest.err
17965 } && test -s conftest.$ac_objext; then
17966 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17968 echo "$as_me: failed program was:" >&5
17969 sed 's/^/| /' conftest.$ac_ext >&5
17971 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17979 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17980 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17981 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17987 ac_cpp='$CPP $CPPFLAGS'
17988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18000 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18001 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18002 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18003 { (exit 1); exit 1; }; }
18006 if test "x$SUNCXX" != xyes; then
18007 if test -n "$ac_tool_prefix"; then
18008 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18009 set dummy ${ac_tool_prefix}ar; ac_word=$2
18010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18012 if test "${ac_cv_prog_AR+set}" = set; then
18013 echo $ECHO_N "(cached) $ECHO_C" >&6
18015 if test -n "$AR"; then
18016 ac_cv_prog_AR="$AR" # Let the user override the test.
18018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18019 for as_dir in $PATH
18022 test -z "$as_dir" && as_dir=.
18023 for ac_exec_ext in '' $ac_executable_extensions; do
18024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18025 ac_cv_prog_AR="${ac_tool_prefix}ar"
18026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18036 if test -n "$AR"; then
18037 { echo "$as_me:$LINENO: result: $AR" >&5
18038 echo "${ECHO_T}$AR" >&6; }
18040 { echo "$as_me:$LINENO: result: no" >&5
18041 echo "${ECHO_T}no" >&6; }
18046 if test -z "$ac_cv_prog_AR"; then
18048 # Extract the first word of "ar", so it can be a program name with args.
18049 set dummy ar; ac_word=$2
18050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18052 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18053 echo $ECHO_N "(cached) $ECHO_C" >&6
18055 if test -n "$ac_ct_AR"; then
18056 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18059 for as_dir in $PATH
18062 test -z "$as_dir" && as_dir=.
18063 for ac_exec_ext in '' $ac_executable_extensions; do
18064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18065 ac_cv_prog_ac_ct_AR="ar"
18066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18075 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18076 if test -n "$ac_ct_AR"; then
18077 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18078 echo "${ECHO_T}$ac_ct_AR" >&6; }
18080 { echo "$as_me:$LINENO: result: no" >&5
18081 echo "${ECHO_T}no" >&6; }
18084 if test "x$ac_ct_AR" = x; then
18087 case $cross_compiling:$ac_tool_warned in
18089 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18090 whose name does not start with the host triplet. If you think this
18091 configuration is useful to you, please write to autoconf@gnu.org." >&5
18092 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18093 whose name does not start with the host triplet. If you think this
18094 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18095 ac_tool_warned=yes ;;
18100 AR="$ac_cv_prog_AR"
18103 if test "x$AR" = "x" ; then
18104 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18105 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18106 { (exit 1); exit 1; }; }
18110 retest_macosx_linking=no
18112 #if test "$wxUSE_MAC" = 1; then
18113 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18114 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18115 # Implicitly turn on the new --with-macosx-sdk using the default
18116 # SDK which provides the behavior this option has always had.
18117 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18118 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18119 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18120 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18121 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18122 wxUSE_MACOSX_SDK=yes
18125 # Complain to user if he specified an argument to --enable-universal_binary
18126 # and also 1) specified --with-macosx-sdk using the default (yes) or
18127 # 2) specified --with-macosx-sdk using a path or 3) specified
18128 # --without-macosx-sdk (no).
18129 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18130 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18131 See \`config.log
' for more details." >&5
18132 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18133 See \`config.log' for more details.
" >&2;}
18134 { (exit 1); exit 1; }; }
18136 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18137 # special-case the empty string because the below test simply
18138 # converts "no
" to the empty string anyway.
18139 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18140 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18141 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18144 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18145 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18146 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18147 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18148 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18149 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18150 retest_macosx_linking=yes
18152 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18153 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18158 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18160 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18161 # TODO: Search for most recent SDK and use it.
18162 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18166 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18167 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18168 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18169 if ! test -d "$wxUSE_MACOSX_SDK"; then
18170 { { echo "$as_me:$LINENO: error
: not found
18171 See \
`config.log' for more details." >&5
18172 echo "$as_me: error: not found
18173 See \`config.log
' for more details." >&2;}
18174 { (exit 1); exit 1; }; }
18176 { echo "$as_me:$LINENO: result: exists" >&5
18177 echo "${ECHO_T}exists" >&6; }
18179 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18180 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18181 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18182 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18183 retest_macosx_linking=yes
18186 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18187 wxUSE_MACOSX_VERSION_MIN=
18188 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18189 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18190 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18191 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18193 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/'`
18195 # If that failed, try again with the new key
18196 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18198 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/'`
18202 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18203 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18204 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18205 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18207 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18208 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18209 wxUSE_MACOSX_VERSION_MIN=
18212 wxUSE_MACOSX_VERSION_MIN=
18214 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18215 if test "$wxUSE_MAC" = 1; then
18216 # otherwise configure stops on leopard for universal_binary
18217 wxUSE_MACOSX_VERSION_MIN=10.4
18221 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18222 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18223 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18224 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18225 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18226 retest_macosx_linking=yes
18229 if test "x$retest_macosx_linking" = "xyes"; then
18231 ac_cpp='$CPP $CPPFLAGS'
18232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18233 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18236 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18237 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18238 cat >conftest.$ac_ext <<_ACEOF
18241 cat confdefs.h >>conftest.$ac_ext
18242 cat >>conftest.$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18253 rm -f conftest.$ac_objext conftest$ac_exeext
18254 if { (ac_try="$ac_link"
18255 case "(($ac_try" in
18256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18257 *) ac_try_echo=$ac_try;;
18259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18260 (eval "$ac_link") 2>conftest.er1
18262 grep -v '^
*+' conftest.er1 >conftest.err
18264 cat conftest.err >&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } && {
18267 test -z "$ac_c_werror_flag" ||
18268 test ! -s conftest.err
18269 } && test -s conftest$ac_exeext &&
18270 $as_test_x conftest$ac_exeext; then
18271 { echo "$as_me:$LINENO: result: yes" >&5
18272 echo "${ECHO_T}yes" >&6; }
18274 echo "$as_me: failed program was:" >&5
18275 sed 's
/^
/| /' conftest.$ac_ext >&5
18277 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18278 See \`config.log' for more details.
" >&5
18279 echo "$as_me: error
: no. Try a different SDK
18280 See \
`config.log' for more details." >&2;}
18281 { (exit 1); exit 1; }; }; exit 1
18284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18285 conftest$ac_exeext conftest.$ac_ext
18287 ac_cpp='$CPP $CPPFLAGS'
18288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18294 ac_cpp='$CXXCPP $CPPFLAGS'
18295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18299 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18300 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18301 cat >conftest.$ac_ext <<_ACEOF
18304 cat confdefs.h >>conftest.$ac_ext
18305 cat >>conftest.$ac_ext <<_ACEOF
18306 /* end confdefs.h. */
18316 rm -f conftest.$ac_objext conftest$ac_exeext
18317 if { (ac_try="$ac_link"
18318 case "(($ac_try" in
18319 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18320 *) ac_try_echo
=$ac_try;;
18322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18323 (eval "$ac_link") 2>conftest.er1
18325 grep -v '^ *+' conftest.er1
>conftest.err
18327 cat conftest.err
>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } && {
18330 test -z "$ac_cxx_werror_flag" ||
18331 test ! -s conftest.err
18332 } && test -s conftest
$ac_exeext &&
18333 $as_test_x conftest
$ac_exeext; then
18334 { echo "$as_me:$LINENO: result: yes" >&5
18335 echo "${ECHO_T}yes" >&6; }
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.
$ac_ext >&5
18340 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18341 See \`config.log' for more details." >&5
18342 echo "$as_me: error: no. Try a different SDK
18343 See \`config.log' for more details." >&2;}
18344 { (exit 1); exit 1; }; }; exit 1
18347 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18348 conftest
$ac_exeext conftest.
$ac_ext
18350 ac_cpp
='$CPP $CPPFLAGS'
18351 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18352 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18353 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18361 INSTALL_PROGRAM
="cp -fp"
18362 INSTALL_DATA
="cp -fp"
18369 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18370 CXXFLAGS
="-qunique $CXXFLAGS"
18374 powerpc
-*-darwin* )
18375 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18376 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18377 cat >conftest.
$ac_ext <<_ACEOF
18380 cat confdefs.h
>>conftest.
$ac_ext
18381 cat >>conftest.
$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18387 #ifndef __POWERPC__
18388 choke me for lack of PowerPC
18395 rm -f conftest.
$ac_objext
18396 if { (ac_try
="$ac_compile"
18397 case "(($ac_try" in
18398 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18399 *) ac_try_echo=$ac_try;;
18401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18402 (eval "$ac_compile") 2>conftest.er1
18404 grep -v '^ *+' conftest.er1 >conftest.err
18406 cat conftest.err >&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); } && {
18409 test -z "$ac_c_werror_flag" ||
18410 test ! -s conftest.err
18411 } && test -s conftest.$ac_objext; then
18412 { echo "$as_me:$LINENO: result: yes" >&5
18413 echo "${ECHO_T}yes" >&6; }
18415 echo "$as_me: failed program was:" >&5
18416 sed 's/^/| /' conftest.$ac_ext >&5
18418 { echo "$as_me:$LINENO: result: no" >&5
18419 echo "${ECHO_T}no" >&6; }
18420 cat >>confdefs.h <<\_ACEOF
18421 #define __POWERPC__ 1
18427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18433 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18434 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18435 cat >conftest.$ac_ext <<_ACEOF
18438 cat confdefs.h >>conftest.$ac_ext
18439 cat >>conftest.$ac_ext <<_ACEOF
18440 /* end confdefs.h. */
18441 #include <CoreFoundation/CFBase.h>
18451 rm -f conftest.$ac_objext
18452 if { (ac_try="$ac_compile"
18453 case "(($ac_try" in
18454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18455 *) ac_try_echo
=$ac_try;;
18457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_compile") 2>conftest.er1
18460 grep -v '^ *+' conftest.er1
>conftest.err
18462 cat conftest.err
>&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } && {
18465 test -z "$ac_c_werror_flag" ||
18466 test ! -s conftest.err
18467 } && test -s conftest.
$ac_objext; then
18468 { echo "$as_me:$LINENO: result: yes" >&5
18469 echo "${ECHO_T}yes" >&6; }
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.
$ac_ext >&5
18474 { echo "$as_me:$LINENO: result: no" >&5
18475 echo "${ECHO_T}no" >&6; }
18476 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18477 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18478 cat >conftest.
$ac_ext <<_ACEOF
18481 cat confdefs.h
>>conftest.
$ac_ext
18482 cat >>conftest.
$ac_ext <<_ACEOF
18483 /* end confdefs.h. */
18484 #define __CF_USE_FRAMEWORK_INCLUDES__
18485 #include <CoreFoundation/CFBase.h>
18495 rm -f conftest.
$ac_objext
18496 if { (ac_try
="$ac_compile"
18497 case "(($ac_try" in
18498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18499 *) ac_try_echo=$ac_try;;
18501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18502 (eval "$ac_compile") 2>conftest.er1
18504 grep -v '^ *+' conftest.er1 >conftest.err
18506 cat conftest.err >&5
18507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } && {
18509 test -z "$ac_c_werror_flag" ||
18510 test ! -s conftest.err
18511 } && test -s conftest.$ac_objext; then
18512 { echo "$as_me:$LINENO: result: yes" >&5
18513 echo "${ECHO_T}yes" >&6; }
18514 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18516 echo "$as_me: failed program was:" >&5
18517 sed 's/^/| /' conftest.$ac_ext >&5
18519 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18520 See \`config.log
' for more details." >&5
18521 echo "$as_me: error: no. CoreFoundation not available.
18522 See \`config.log' for more details.
" >&2;}
18523 { (exit 1); exit 1; }; }
18527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18537 doesnt_want_win32=0
18540 if test "$wxUSE_MSW" = 1 ; then
18543 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18544 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18545 if test "${wx_cv_nocygwin+set}" = set; then
18546 echo $ECHO_N "(cached
) $ECHO_C" >&6
18549 cat >conftest.$ac_ext <<_ACEOF
18552 cat confdefs.h >>conftest.$ac_ext
18553 cat >>conftest.$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18568 rm -f conftest.$ac_objext
18569 if { (ac_try="$ac_compile"
18570 case "(($ac_try" in
18571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18572 *) ac_try_echo=$ac_try;;
18574 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18575 (eval "$ac_compile") 2>conftest.er1
18577 grep -v '^ *+' conftest.er1 >conftest.err
18579 cat conftest.err >&5
18580 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18581 (exit $ac_status); } && {
18582 test -z "$ac_c_werror_flag" ||
18583 test ! -s conftest.err
18584 } && test -s conftest.$ac_objext; then
18587 echo "$as_me: failed program was
:" >&5
18588 sed 's/^/| /' conftest.$ac_ext >&5
18594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18599 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18601 if test "$wx_cv_nocygwin" = "yes"; then
18604 doesnt_want_win32=1
18607 if test "$wants_win32" = 1 ; then
18608 BAKEFILE_FORCE_PLATFORM=win32
18616 if test "$wxUSE_WINE" = "yes"; then
18618 LDFLAGS_GUI="-mwindows"
18621 if test "$wants_win32" = 1 ; then
18624 cat >>confdefs.h <<\_ACEOF
18625 #define __WIN32__ 1
18628 cat >>confdefs.h <<\_ACEOF
18629 #define __WIN95__ 1
18632 cat >>confdefs.h <<\_ACEOF
18633 #define __WINDOWS__ 1
18636 cat >>confdefs.h <<\_ACEOF
18637 #define __GNUWIN32__ 1
18640 cat >>confdefs.h <<\_ACEOF
18645 if test "$doesnt_want_win32" = 1 ; then
18650 if test "$USE_UNIX" = 1 ; then
18652 cat >>confdefs.h <<\_ACEOF
18659 *-pc-os2_emx | *-pc-os2-emx )
18660 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18661 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18662 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18663 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18664 echo $ECHO_N "(cached
) $ECHO_C" >&6
18666 ac_check_lib_save_LIBS=$LIBS
18667 LIBS="-lcExt $LIBS"
18668 cat >conftest.$ac_ext <<_ACEOF
18671 cat confdefs.h >>conftest.$ac_ext
18672 cat >>conftest.$ac_ext <<_ACEOF
18673 /* end confdefs.h. */
18675 /* Override any GCC internal prototype to avoid an error.
18676 Use char because int might match the return type of a GCC
18677 builtin and then its argument prototype would still apply. */
18690 rm -f conftest.$ac_objext conftest$ac_exeext
18691 if { (ac_try="$ac_link"
18692 case "(($ac_try" in
18693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18694 *) ac_try_echo=$ac_try;;
18696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18697 (eval "$ac_link") 2>conftest.er1
18699 grep -v '^ *+' conftest.er1 >conftest.err
18701 cat conftest.err >&5
18702 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18703 (exit $ac_status); } && {
18704 test -z "$ac_c_werror_flag" ||
18705 test ! -s conftest.err
18706 } && test -s conftest$ac_exeext &&
18707 $as_test_x conftest$ac_exeext; then
18708 ac_cv_lib_cExt_drand48=yes
18710 echo "$as_me: failed program was
:" >&5
18711 sed 's/^/| /' conftest.$ac_ext >&5
18713 ac_cv_lib_cExt_drand48=no
18716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18717 conftest$ac_exeext conftest.$ac_ext
18718 LIBS=$ac_check_lib_save_LIBS
18720 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18721 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18722 if test $ac_cv_lib_cExt_drand48 = yes; then
18723 LIBS="$LIBS -lcExt"
18727 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18729 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18730 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18731 if test "${wx_cv_gccversion+set}" = set; then
18732 echo $ECHO_N "(cached
) $ECHO_C" >&6
18735 if test "$cross_compiling" = yes; then
18736 wx_cv_gccversion="EMX2
"
18739 cat >conftest.$ac_ext <<_ACEOF
18742 cat confdefs.h >>conftest.$ac_ext
18743 cat >>conftest.$ac_ext <<_ACEOF
18744 /* end confdefs.h. */
18750 FILE *f=fopen("conftestval
", "w
");
18755 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18757 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18767 rm -f conftest$ac_exeext
18768 if { (ac_try="$ac_link"
18769 case "(($ac_try" in
18770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18771 *) ac_try_echo=$ac_try;;
18773 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18774 (eval "$ac_link") 2>&5
18776 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18777 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18778 { (case "(($ac_try" in
18779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18780 *) ac_try_echo=$ac_try;;
18782 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18783 (eval "$ac_try") 2>&5
18785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18786 (exit $ac_status); }; }; then
18787 wx_cv_gccversion=`cat conftestval`
18789 echo "$as_me: program exited with status
$ac_status" >&5
18790 echo "$as_me: failed program was
:" >&5
18791 sed 's/^/| /' conftest.$ac_ext >&5
18793 ( exit $ac_status )
18794 wx_cv_gccversion="EMX2
"
18796 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18802 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18803 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18804 if test "$wx_cv_gccversion" = "EMX2
"; then
18805 LIBS="$LIBS -lstdcpp"
18806 LDFLAGS="$LDFLAGS -Zsysv-signals"
18808 if test "$wx_cv_gccversion" = "EMX3
"; then
18809 LIBS="$LIBS -lstdcxx -lgcc"
18810 LDFLAGS="$LDFLAGS -Zsysv-signals"
18812 LIBS="$LIBS -lstdc++"
18815 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18816 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18817 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18824 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18825 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18826 if test "${ac_cv_string_strcasecmp+set}" = set; then
18827 echo $ECHO_N "(cached
) $ECHO_C" >&6
18830 cat >conftest.$ac_ext <<_ACEOF
18833 cat confdefs.h >>conftest.$ac_ext
18834 cat >>conftest.$ac_ext <<_ACEOF
18835 /* end confdefs.h. */
18837 #include <string.h>
18843 strcasecmp("foo
", "bar
");
18849 rm -f conftest.$ac_objext conftest$ac_exeext
18850 if { (ac_try="$ac_link"
18851 case "(($ac_try" in
18852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18853 *) ac_try_echo=$ac_try;;
18855 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18856 (eval "$ac_link") 2>conftest.er1
18858 grep -v '^ *+' conftest.er1 >conftest.err
18860 cat conftest.err >&5
18861 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18862 (exit $ac_status); } && {
18863 test -z "$ac_c_werror_flag" ||
18864 test ! -s conftest.err
18865 } && test -s conftest$ac_exeext &&
18866 $as_test_x conftest$ac_exeext; then
18867 ac_cv_string_strcasecmp=yes
18869 echo "$as_me: failed program was
:" >&5
18870 sed 's/^/| /' conftest.$ac_ext >&5
18872 ac_cv_string_strcasecmp=no
18876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18877 conftest$ac_exeext conftest.$ac_ext
18880 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18881 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18883 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18884 cat >>confdefs.h <<\_ACEOF
18885 #define HAVE_STRCASECMP_IN_STRING_H 1
18889 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18890 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18891 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18892 echo $ECHO_N "(cached
) $ECHO_C" >&6
18895 cat >conftest.$ac_ext <<_ACEOF
18898 cat confdefs.h >>conftest.$ac_ext
18899 cat >>conftest.$ac_ext <<_ACEOF
18900 /* end confdefs.h. */
18902 #include <strings.h>
18908 strcasecmp("foo
", "bar
");
18914 rm -f conftest.$ac_objext conftest$ac_exeext
18915 if { (ac_try="$ac_link"
18916 case "(($ac_try" in
18917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18918 *) ac_try_echo=$ac_try;;
18920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18921 (eval "$ac_link") 2>conftest.er1
18923 grep -v '^ *+' conftest.er1 >conftest.err
18925 cat conftest.err >&5
18926 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18927 (exit $ac_status); } && {
18928 test -z "$ac_c_werror_flag" ||
18929 test ! -s conftest.err
18930 } && test -s conftest$ac_exeext &&
18931 $as_test_x conftest$ac_exeext; then
18932 ac_cv_strings_strcasecmp=yes
18934 echo "$as_me: failed program was
:" >&5
18935 sed 's/^/| /' conftest.$ac_ext >&5
18937 ac_cv_strings_strcasecmp=no
18941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18942 conftest$ac_exeext conftest.$ac_ext
18945 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18946 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18948 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18949 cat >>confdefs.h <<\_ACEOF
18950 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18954 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18955 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18956 { (exit 1); exit 1; }; }
18964 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18965 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18966 if test "${ac_cv_header_stdc+set}" = set; then
18967 echo $ECHO_N "(cached
) $ECHO_C" >&6
18969 cat >conftest.$ac_ext <<_ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 #include <stdlib.h>
18976 #include <stdarg.h>
18977 #include <string.h>
18988 rm -f conftest.$ac_objext
18989 if { (ac_try="$ac_compile"
18990 case "(($ac_try" in
18991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18992 *) ac_try_echo=$ac_try;;
18994 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18995 (eval "$ac_compile") 2>conftest.er1
18997 grep -v '^ *+' conftest.er1 >conftest.err
18999 cat conftest.err >&5
19000 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19001 (exit $ac_status); } && {
19002 test -z "$ac_c_werror_flag" ||
19003 test ! -s conftest.err
19004 } && test -s conftest.$ac_objext; then
19005 ac_cv_header_stdc=yes
19007 echo "$as_me: failed program was
:" >&5
19008 sed 's/^/| /' conftest.$ac_ext >&5
19010 ac_cv_header_stdc=no
19013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19015 if test $ac_cv_header_stdc = yes; then
19016 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19017 cat >conftest.$ac_ext <<_ACEOF
19020 cat confdefs.h >>conftest.$ac_ext
19021 cat >>conftest.$ac_ext <<_ACEOF
19022 /* end confdefs.h. */
19023 #include <string.h>
19026 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19027 $EGREP "memchr
" >/dev/null 2>&1; then
19030 ac_cv_header_stdc=no
19036 if test $ac_cv_header_stdc = yes; then
19037 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19038 cat >conftest.$ac_ext <<_ACEOF
19041 cat confdefs.h >>conftest.$ac_ext
19042 cat >>conftest.$ac_ext <<_ACEOF
19043 /* end confdefs.h. */
19044 #include <stdlib.h>
19047 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19048 $EGREP "free
" >/dev/null 2>&1; then
19051 ac_cv_header_stdc=no
19057 if test $ac_cv_header_stdc = yes; then
19058 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19059 if test "$cross_compiling" = yes; then
19062 cat >conftest.$ac_ext <<_ACEOF
19065 cat confdefs.h >>conftest.$ac_ext
19066 cat >>conftest.$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19069 #include <stdlib.h>
19070 #if ((' ' & 0x0FF) == 0x020)
19071 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19072 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19074 # define ISLOWER(c) \
19075 (('a' <= (c) && (c) <= 'i') \
19076 || ('j' <= (c) && (c) <= 'r') \
19077 || ('s' <= (c) && (c) <= 'z'))
19078 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19081 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19086 for (i = 0; i < 256; i++)
19087 if (XOR (islower (i), ISLOWER (i))
19088 || toupper (i) != TOUPPER (i))
19093 rm -f conftest$ac_exeext
19094 if { (ac_try="$ac_link"
19095 case "(($ac_try" in
19096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19097 *) ac_try_echo=$ac_try;;
19099 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19100 (eval "$ac_link") 2>&5
19102 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19104 { (case "(($ac_try" in
19105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19106 *) ac_try_echo=$ac_try;;
19108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19109 (eval "$ac_try") 2>&5
19111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19112 (exit $ac_status); }; }; then
19115 echo "$as_me: program exited with status
$ac_status" >&5
19116 echo "$as_me: failed program was
:" >&5
19117 sed 's/^/| /' conftest.$ac_ext >&5
19119 ( exit $ac_status )
19120 ac_cv_header_stdc=no
19122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19128 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19129 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19130 if test $ac_cv_header_stdc = yes; then
19132 cat >>confdefs.h <<\_ACEOF
19133 #define STDC_HEADERS 1
19138 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19148 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19149 inttypes.h stdint.h unistd.h
19151 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19152 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19153 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19154 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19155 echo $ECHO_N "(cached
) $ECHO_C" >&6
19157 cat >conftest.$ac_ext <<_ACEOF
19160 cat confdefs.h >>conftest.$ac_ext
19161 cat >>conftest.$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19163 $ac_includes_default
19165 #include <$ac_header>
19167 rm -f conftest.$ac_objext
19168 if { (ac_try="$ac_compile"
19169 case "(($ac_try" in
19170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19171 *) ac_try_echo=$ac_try;;
19173 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19174 (eval "$ac_compile") 2>conftest.er1
19176 grep -v '^ *+' conftest.er1 >conftest.err
19178 cat conftest.err >&5
19179 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19180 (exit $ac_status); } && {
19181 test -z "$ac_c_werror_flag" ||
19182 test ! -s conftest.err
19183 } && test -s conftest.$ac_objext; then
19184 eval "$as_ac_Header=yes"
19186 echo "$as_me: failed program was
:" >&5
19187 sed 's/^/| /' conftest.$ac_ext >&5
19189 eval "$as_ac_Header=no
"
19192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19194 ac_res=`eval echo '${'$as_ac_Header'}'`
19195 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19196 echo "${ECHO_T}$ac_res" >&6; }
19197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19198 cat >>confdefs.h <<_ACEOF
19199 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19209 for ac_header in langinfo.h wchar.h
19211 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19212 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19213 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19214 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19215 echo $ECHO_N "(cached
) $ECHO_C" >&6
19217 cat >conftest.$ac_ext <<_ACEOF
19220 cat confdefs.h >>conftest.$ac_ext
19221 cat >>conftest.$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223 $ac_includes_default
19225 #include <$ac_header>
19227 rm -f conftest.$ac_objext
19228 if { (ac_try="$ac_compile"
19229 case "(($ac_try" in
19230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19231 *) ac_try_echo=$ac_try;;
19233 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19234 (eval "$ac_compile") 2>conftest.er1
19236 grep -v '^ *+' conftest.er1 >conftest.err
19238 cat conftest.err >&5
19239 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19240 (exit $ac_status); } && {
19241 test -z "$ac_c_werror_flag" ||
19242 test ! -s conftest.err
19243 } && test -s conftest.$ac_objext; then
19244 eval "$as_ac_Header=yes"
19246 echo "$as_me: failed program was
:" >&5
19247 sed 's/^/| /' conftest.$ac_ext >&5
19249 eval "$as_ac_Header=no
"
19252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254 ac_res=`eval echo '${'$as_ac_Header'}'`
19255 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19256 echo "${ECHO_T}$ac_res" >&6; }
19257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19258 cat >>confdefs.h <<_ACEOF
19259 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19267 if test "$ac_cv_header_wchar_h" != "yes"; then
19269 for ac_header in wcstr.h
19271 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19272 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19273 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19274 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19275 echo $ECHO_N "(cached
) $ECHO_C" >&6
19277 cat >conftest.$ac_ext <<_ACEOF
19280 cat confdefs.h >>conftest.$ac_ext
19281 cat >>conftest.$ac_ext <<_ACEOF
19282 /* end confdefs.h. */
19283 $ac_includes_default
19285 #include <$ac_header>
19287 rm -f conftest.$ac_objext
19288 if { (ac_try="$ac_compile"
19289 case "(($ac_try" in
19290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19291 *) ac_try_echo=$ac_try;;
19293 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19294 (eval "$ac_compile") 2>conftest.er1
19296 grep -v '^ *+' conftest.er1 >conftest.err
19298 cat conftest.err >&5
19299 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19300 (exit $ac_status); } && {
19301 test -z "$ac_c_werror_flag" ||
19302 test ! -s conftest.err
19303 } && test -s conftest.$ac_objext; then
19304 eval "$as_ac_Header=yes"
19306 echo "$as_me: failed program was
:" >&5
19307 sed 's/^/| /' conftest.$ac_ext >&5
19309 eval "$as_ac_Header=no
"
19312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19314 ac_res=`eval echo '${'$as_ac_Header'}'`
19315 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19316 echo "${ECHO_T}$ac_res" >&6; }
19317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19318 cat >>confdefs.h <<_ACEOF
19319 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19329 *-pc-os2_emx | *-pc-os2-emx )
19330 if test $ac_cv_header_langinfo_h = "yes" \
19331 -a \( "$wx_cv_gccversion" = "EMX2
" \
19332 -o "$wx_cv_gccversion" = "EMX3
" \
19333 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19334 LIBS="$LIBS -lintl"
19339 if test "$USE_UNIX" = 1 ; then
19341 for ac_header in sys/select.h
19343 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19344 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19345 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19346 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19347 echo $ECHO_N "(cached
) $ECHO_C" >&6
19349 cat >conftest.$ac_ext <<_ACEOF
19352 cat confdefs.h >>conftest.$ac_ext
19353 cat >>conftest.$ac_ext <<_ACEOF
19354 /* end confdefs.h. */
19355 $ac_includes_default
19357 #include <$ac_header>
19359 rm -f conftest.$ac_objext
19360 if { (ac_try="$ac_compile"
19361 case "(($ac_try" in
19362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19363 *) ac_try_echo=$ac_try;;
19365 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19366 (eval "$ac_compile") 2>conftest.er1
19368 grep -v '^ *+' conftest.er1 >conftest.err
19370 cat conftest.err >&5
19371 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19372 (exit $ac_status); } && {
19373 test -z "$ac_c_werror_flag" ||
19374 test ! -s conftest.err
19375 } && test -s conftest.$ac_objext; then
19376 eval "$as_ac_Header=yes"
19378 echo "$as_me: failed program was
:" >&5
19379 sed 's/^/| /' conftest.$ac_ext >&5
19381 eval "$as_ac_Header=no
"
19384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19386 ac_res=`eval echo '${'$as_ac_Header'}'`
19387 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19388 echo "${ECHO_T}$ac_res" >&6; }
19389 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19390 cat >>confdefs.h <<_ACEOF
19391 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19401 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19402 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19403 if test "${ac_cv_c_const+set}" = set; then
19404 echo $ECHO_N "(cached
) $ECHO_C" >&6
19406 cat >conftest.$ac_ext <<_ACEOF
19409 cat confdefs.h >>conftest.$ac_ext
19410 cat >>conftest.$ac_ext <<_ACEOF
19411 /* end confdefs.h. */
19416 /* FIXME: Include the comments suggested by Paul. */
19417 #ifndef __cplusplus
19418 /* Ultrix mips cc rejects this. */
19419 typedef int charset[2];
19421 /* SunOS 4.1.1 cc rejects this. */
19422 char const *const *pcpcc;
19424 /* NEC SVR4.0.2 mips cc rejects this. */
19425 struct point {int x, y;};
19426 static struct point const zero = {0,0};
19427 /* AIX XL C 1.02.0.0 rejects this.
19428 It does not let you subtract one const X* pointer from another in
19429 an arm of an if-expression whose if-part is not a constant
19431 const char *g = "string
";
19432 pcpcc = &g + (g ? g-g : 0);
19433 /* HPUX 7.0 cc rejects these. */
19435 ppc = (char**) pcpcc;
19436 pcpcc = (char const *const *) ppc;
19437 { /* SCO 3.2v4 cc rejects this. */
19439 char const *s = 0 ? (char *) 0 : (char const *) 0;
19444 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19445 int x[] = {25, 17};
19446 const int *foo = &x[0];
19449 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19450 typedef const int *iptr;
19454 { /* AIX XL C 1.02.0.0 rejects this saying
19455 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19456 struct s { int j; const int *ap[3]; };
19457 struct s *b; b->j = 5;
19459 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19460 const int foo = 10;
19461 if (!foo) return 0;
19463 return !cs[0] && !zero.x;
19470 rm -f conftest.$ac_objext
19471 if { (ac_try="$ac_compile"
19472 case "(($ac_try" in
19473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19474 *) ac_try_echo=$ac_try;;
19476 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19477 (eval "$ac_compile") 2>conftest.er1
19479 grep -v '^ *+' conftest.er1 >conftest.err
19481 cat conftest.err >&5
19482 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19483 (exit $ac_status); } && {
19484 test -z "$ac_c_werror_flag" ||
19485 test ! -s conftest.err
19486 } && test -s conftest.$ac_objext; then
19489 echo "$as_me: failed program was
:" >&5
19490 sed 's/^/| /' conftest.$ac_ext >&5
19495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19497 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19498 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19499 if test $ac_cv_c_const = no; then
19501 cat >>confdefs.h <<\_ACEOF
19507 { echo "$as_me:$LINENO: checking
for inline
" >&5
19508 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19509 if test "${ac_cv_c_inline+set}" = set; then
19510 echo $ECHO_N "(cached
) $ECHO_C" >&6
19513 for ac_kw in inline __inline__ __inline; do
19514 cat >conftest.$ac_ext <<_ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 #ifndef __cplusplus
19522 static $ac_kw foo_t static_foo () {return 0; }
19523 $ac_kw foo_t foo () {return 0; }
19527 rm -f conftest.$ac_objext
19528 if { (ac_try="$ac_compile"
19529 case "(($ac_try" in
19530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19531 *) ac_try_echo=$ac_try;;
19533 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19534 (eval "$ac_compile") 2>conftest.er1
19536 grep -v '^ *+' conftest.er1 >conftest.err
19538 cat conftest.err >&5
19539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19540 (exit $ac_status); } && {
19541 test -z "$ac_c_werror_flag" ||
19542 test ! -s conftest.err
19543 } && test -s conftest.$ac_objext; then
19544 ac_cv_c_inline=$ac_kw
19546 echo "$as_me: failed program was
:" >&5
19547 sed 's/^/| /' conftest.$ac_ext >&5
19552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19553 test "$ac_cv_c_inline" != no && break
19557 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19558 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19561 case $ac_cv_c_inline in
19564 case $ac_cv_c_inline in
19566 *) ac_val=$ac_cv_c_inline;;
19568 cat >>confdefs.h <<_ACEOF
19569 #ifndef __cplusplus
19570 #define inline $ac_val
19577 { echo "$as_me:$LINENO: checking
for short
" >&5
19578 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19579 if test "${ac_cv_type_short+set}" = set; then
19580 echo $ECHO_N "(cached
) $ECHO_C" >&6
19582 cat >conftest.$ac_ext <<_ACEOF
19585 cat confdefs.h >>conftest.$ac_ext
19586 cat >>conftest.$ac_ext <<_ACEOF
19587 /* end confdefs.h. */
19588 $ac_includes_default
19589 typedef short ac__type_new_;
19593 if ((ac__type_new_ *) 0)
19595 if (sizeof (ac__type_new_))
19601 rm -f conftest.$ac_objext
19602 if { (ac_try="$ac_compile"
19603 case "(($ac_try" in
19604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19605 *) ac_try_echo=$ac_try;;
19607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19608 (eval "$ac_compile") 2>conftest.er1
19610 grep -v '^ *+' conftest.er1 >conftest.err
19612 cat conftest.err >&5
19613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19614 (exit $ac_status); } && {
19615 test -z "$ac_c_werror_flag" ||
19616 test ! -s conftest.err
19617 } && test -s conftest.$ac_objext; then
19618 ac_cv_type_short=yes
19620 echo "$as_me: failed program was
:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19623 ac_cv_type_short=no
19626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19628 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19629 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19631 # The cast to long int works around a bug in the HP C Compiler
19632 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19633 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19634 # This bug is HP SR number 8606223364.
19635 { echo "$as_me:$LINENO: checking size of short
" >&5
19636 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19637 if test "${ac_cv_sizeof_short+set}" = set; then
19638 echo $ECHO_N "(cached
) $ECHO_C" >&6
19640 if test "$cross_compiling" = yes; then
19641 # Depending upon the size, compute the lo and hi bounds.
19642 cat >conftest.$ac_ext <<_ACEOF
19645 cat confdefs.h >>conftest.$ac_ext
19646 cat >>conftest.$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19648 $ac_includes_default
19649 typedef short ac__type_sizeof_;
19653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19660 rm -f conftest.$ac_objext
19661 if { (ac_try="$ac_compile"
19662 case "(($ac_try" in
19663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19664 *) ac_try_echo=$ac_try;;
19666 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19667 (eval "$ac_compile") 2>conftest.er1
19669 grep -v '^ *+' conftest.er1 >conftest.err
19671 cat conftest.err >&5
19672 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19673 (exit $ac_status); } && {
19674 test -z "$ac_c_werror_flag" ||
19675 test ! -s conftest.err
19676 } && test -s conftest.$ac_objext; then
19679 cat >conftest.$ac_ext <<_ACEOF
19682 cat confdefs.h >>conftest.$ac_ext
19683 cat >>conftest.$ac_ext <<_ACEOF
19684 /* end confdefs.h. */
19685 $ac_includes_default
19686 typedef short ac__type_sizeof_;
19690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19697 rm -f conftest.$ac_objext
19698 if { (ac_try="$ac_compile"
19699 case "(($ac_try" in
19700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19701 *) ac_try_echo=$ac_try;;
19703 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19704 (eval "$ac_compile") 2>conftest.er1
19706 grep -v '^ *+' conftest.er1 >conftest.err
19708 cat conftest.err >&5
19709 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19710 (exit $ac_status); } && {
19711 test -z "$ac_c_werror_flag" ||
19712 test ! -s conftest.err
19713 } && test -s conftest.$ac_objext; then
19714 ac_hi=$ac_mid; break
19716 echo "$as_me: failed program was
:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19719 ac_lo=`expr $ac_mid + 1`
19720 if test $ac_lo -le $ac_mid; then
19724 ac_mid=`expr 2 '*' $ac_mid + 1`
19727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19730 echo "$as_me: failed program was
:" >&5
19731 sed 's/^/| /' conftest.$ac_ext >&5
19733 cat >conftest.$ac_ext <<_ACEOF
19736 cat confdefs.h >>conftest.$ac_ext
19737 cat >>conftest.$ac_ext <<_ACEOF
19738 /* end confdefs.h. */
19739 $ac_includes_default
19740 typedef short ac__type_sizeof_;
19744 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19751 rm -f conftest.$ac_objext
19752 if { (ac_try="$ac_compile"
19753 case "(($ac_try" in
19754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19755 *) ac_try_echo=$ac_try;;
19757 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19758 (eval "$ac_compile") 2>conftest.er1
19760 grep -v '^ *+' conftest.er1 >conftest.err
19762 cat conftest.err >&5
19763 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19764 (exit $ac_status); } && {
19765 test -z "$ac_c_werror_flag" ||
19766 test ! -s conftest.err
19767 } && test -s conftest.$ac_objext; then
19770 cat >conftest.$ac_ext <<_ACEOF
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19776 $ac_includes_default
19777 typedef short ac__type_sizeof_;
19781 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19788 rm -f conftest.$ac_objext
19789 if { (ac_try="$ac_compile"
19790 case "(($ac_try" in
19791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19792 *) ac_try_echo=$ac_try;;
19794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19795 (eval "$ac_compile") 2>conftest.er1
19797 grep -v '^ *+' conftest.er1 >conftest.err
19799 cat conftest.err >&5
19800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19801 (exit $ac_status); } && {
19802 test -z "$ac_c_werror_flag" ||
19803 test ! -s conftest.err
19804 } && test -s conftest.$ac_objext; then
19805 ac_lo=$ac_mid; break
19807 echo "$as_me: failed program was
:" >&5
19808 sed 's/^/| /' conftest.$ac_ext >&5
19810 ac_hi=`expr '(' $ac_mid ')' - 1`
19811 if test $ac_mid -le $ac_hi; then
19815 ac_mid=`expr 2 '*' $ac_mid`
19818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19821 echo "$as_me: failed program was
:" >&5
19822 sed 's/^/| /' conftest.$ac_ext >&5
19827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19831 # Binary search between lo and hi bounds.
19832 while test "x
$ac_lo" != "x
$ac_hi"; do
19833 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19834 cat >conftest.$ac_ext <<_ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 $ac_includes_default
19841 typedef short ac__type_sizeof_;
19845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19852 rm -f conftest.$ac_objext
19853 if { (ac_try="$ac_compile"
19854 case "(($ac_try" in
19855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19856 *) ac_try_echo=$ac_try;;
19858 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19859 (eval "$ac_compile") 2>conftest.er1
19861 grep -v '^ *+' conftest.er1 >conftest.err
19863 cat conftest.err >&5
19864 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19865 (exit $ac_status); } && {
19866 test -z "$ac_c_werror_flag" ||
19867 test ! -s conftest.err
19868 } && test -s conftest.$ac_objext; then
19871 echo "$as_me: failed program was
:" >&5
19872 sed 's/^/| /' conftest.$ac_ext >&5
19874 ac_lo=`expr '(' $ac_mid ')' + 1`
19877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19880 ?*) ac_cv_sizeof_short=$ac_lo;;
19881 '') if test "$ac_cv_type_short" = yes; then
19882 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19883 See \
`config.log' for more details." >&5
19884 echo "$as_me: error: cannot compute sizeof (short)
19885 See \`config.log
' for more details." >&2;}
19886 { (exit 77); exit 77; }; }
19888 ac_cv_sizeof_short=0
19892 cat >conftest.$ac_ext <<_ACEOF
19895 cat confdefs.h >>conftest.$ac_ext
19896 cat >>conftest.$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19898 $ac_includes_default
19899 typedef short ac__type_sizeof_;
19900 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19901 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19903 #include <stdlib.h>
19908 FILE *f = fopen ("conftest.val", "w");
19911 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19913 long int i = longval ();
19914 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19916 fprintf (f, "%ld\n", i);
19920 unsigned long int i = ulongval ();
19921 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19923 fprintf (f, "%lu\n", i);
19925 return ferror (f) || fclose (f) != 0;
19931 rm -f conftest$ac_exeext
19932 if { (ac_try="$ac_link"
19933 case "(($ac_try" in
19934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19935 *) ac_try_echo=$ac_try;;
19937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19938 (eval "$ac_link") 2>&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19942 { (case "(($ac_try" in
19943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19944 *) ac_try_echo=$ac_try;;
19946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947 (eval "$ac_try") 2>&5
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; }; then
19951 ac_cv_sizeof_short=`cat conftest.val`
19953 echo "$as_me: program exited with status $ac_status" >&5
19954 echo "$as_me: failed program was:" >&5
19955 sed 's
/^
/| /' conftest.$ac_ext >&5
19957 ( exit $ac_status )
19958 if test "$ac_cv_type_short" = yes; then
19959 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19960 See \`config.log' for more details.
" >&5
19961 echo "$as_me: error
: cannot compute sizeof
(short
)
19962 See \
`config.log' for more details." >&2;}
19963 { (exit 77); exit 77; }; }
19965 ac_cv_sizeof_short=0
19968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19972 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19973 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19977 cat >>confdefs.h <<_ACEOF
19978 #define SIZEOF_SHORT $ac_cv_sizeof_short
19982 { echo "$as_me:$LINENO: checking for void *" >&5
19983 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19984 if test "${ac_cv_type_void_p+set}" = set; then
19985 echo $ECHO_N "(cached) $ECHO_C" >&6
19987 cat >conftest.$ac_ext <<_ACEOF
19990 cat confdefs.h >>conftest.$ac_ext
19991 cat >>conftest.$ac_ext <<_ACEOF
19992 /* end confdefs.h. */
19993 $ac_includes_default
19994 typedef void * ac__type_new_;
19998 if ((ac__type_new_ *) 0)
20000 if (sizeof (ac__type_new_))
20006 rm -f conftest.$ac_objext
20007 if { (ac_try="$ac_compile"
20008 case "(($ac_try" in
20009 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20010 *) ac_try_echo
=$ac_try;;
20012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20013 (eval "$ac_compile") 2>conftest.er1
20015 grep -v '^ *+' conftest.er1
>conftest.err
20017 cat conftest.err
>&5
20018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20019 (exit $ac_status); } && {
20020 test -z "$ac_c_werror_flag" ||
20021 test ! -s conftest.err
20022 } && test -s conftest.
$ac_objext; then
20023 ac_cv_type_void_p
=yes
20025 echo "$as_me: failed program was:" >&5
20026 sed 's/^/| /' conftest.
$ac_ext >&5
20028 ac_cv_type_void_p
=no
20031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20033 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20034 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20036 # The cast to long int works around a bug in the HP C Compiler
20037 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20038 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20039 # This bug is HP SR number 8606223364.
20040 { echo "$as_me:$LINENO: checking size of void *" >&5
20041 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20042 if test "${ac_cv_sizeof_void_p+set}" = set; then
20043 echo $ECHO_N "(cached) $ECHO_C" >&6
20045 if test "$cross_compiling" = yes; then
20046 # Depending upon the size, compute the lo and hi bounds.
20047 cat >conftest.
$ac_ext <<_ACEOF
20050 cat confdefs.h
>>conftest.
$ac_ext
20051 cat >>conftest.
$ac_ext <<_ACEOF
20052 /* end confdefs.h. */
20053 $ac_includes_default
20054 typedef void * ac__type_sizeof_;
20058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20065 rm -f conftest.
$ac_objext
20066 if { (ac_try
="$ac_compile"
20067 case "(($ac_try" in
20068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_compile") 2>conftest.er1
20074 grep -v '^ *+' conftest.er1 >conftest.err
20076 cat conftest.err >&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } && {
20079 test -z "$ac_c_werror_flag" ||
20080 test ! -s conftest.err
20081 } && test -s conftest.$ac_objext; then
20084 cat >conftest.$ac_ext <<_ACEOF
20087 cat confdefs.h >>conftest.$ac_ext
20088 cat >>conftest.$ac_ext <<_ACEOF
20089 /* end confdefs.h. */
20090 $ac_includes_default
20091 typedef void * ac__type_sizeof_;
20095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20102 rm -f conftest.$ac_objext
20103 if { (ac_try="$ac_compile"
20104 case "(($ac_try" in
20105 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20106 *) ac_try_echo
=$ac_try;;
20108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20109 (eval "$ac_compile") 2>conftest.er1
20111 grep -v '^ *+' conftest.er1
>conftest.err
20113 cat conftest.err
>&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } && {
20116 test -z "$ac_c_werror_flag" ||
20117 test ! -s conftest.err
20118 } && test -s conftest.
$ac_objext; then
20119 ac_hi
=$ac_mid; break
20121 echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.
$ac_ext >&5
20124 ac_lo
=`expr $ac_mid + 1`
20125 if test $ac_lo -le $ac_mid; then
20129 ac_mid
=`expr 2 '*' $ac_mid + 1`
20132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20135 echo "$as_me: failed program was:" >&5
20136 sed 's/^/| /' conftest.
$ac_ext >&5
20138 cat >conftest.
$ac_ext <<_ACEOF
20141 cat confdefs.h
>>conftest.
$ac_ext
20142 cat >>conftest.
$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20144 $ac_includes_default
20145 typedef void * ac__type_sizeof_;
20149 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20156 rm -f conftest.
$ac_objext
20157 if { (ac_try
="$ac_compile"
20158 case "(($ac_try" in
20159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20160 *) ac_try_echo=$ac_try;;
20162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20163 (eval "$ac_compile") 2>conftest.er1
20165 grep -v '^ *+' conftest.er1 >conftest.err
20167 cat conftest.err >&5
20168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20169 (exit $ac_status); } && {
20170 test -z "$ac_c_werror_flag" ||
20171 test ! -s conftest.err
20172 } && test -s conftest.$ac_objext; then
20175 cat >conftest.$ac_ext <<_ACEOF
20178 cat confdefs.h >>conftest.$ac_ext
20179 cat >>conftest.$ac_ext <<_ACEOF
20180 /* end confdefs.h. */
20181 $ac_includes_default
20182 typedef void * ac__type_sizeof_;
20186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20193 rm -f conftest.$ac_objext
20194 if { (ac_try="$ac_compile"
20195 case "(($ac_try" in
20196 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20197 *) ac_try_echo
=$ac_try;;
20199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20200 (eval "$ac_compile") 2>conftest.er1
20202 grep -v '^ *+' conftest.er1
>conftest.err
20204 cat conftest.err
>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); } && {
20207 test -z "$ac_c_werror_flag" ||
20208 test ! -s conftest.err
20209 } && test -s conftest.
$ac_objext; then
20210 ac_lo
=$ac_mid; break
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.
$ac_ext >&5
20215 ac_hi
=`expr '(' $ac_mid ')' - 1`
20216 if test $ac_mid -le $ac_hi; then
20220 ac_mid
=`expr 2 '*' $ac_mid`
20223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20226 echo "$as_me: failed program was:" >&5
20227 sed 's/^/| /' conftest.
$ac_ext >&5
20232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20236 # Binary search between lo and hi bounds.
20237 while test "x$ac_lo" != "x$ac_hi"; do
20238 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20239 cat >conftest.
$ac_ext <<_ACEOF
20242 cat confdefs.h
>>conftest.
$ac_ext
20243 cat >>conftest.
$ac_ext <<_ACEOF
20244 /* end confdefs.h. */
20245 $ac_includes_default
20246 typedef void * ac__type_sizeof_;
20250 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20257 rm -f conftest.
$ac_objext
20258 if { (ac_try
="$ac_compile"
20259 case "(($ac_try" in
20260 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20261 *) ac_try_echo=$ac_try;;
20263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20264 (eval "$ac_compile") 2>conftest.er1
20266 grep -v '^ *+' conftest.er1 >conftest.err
20268 cat conftest.err >&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } && {
20271 test -z "$ac_c_werror_flag" ||
20272 test ! -s conftest.err
20273 } && test -s conftest.$ac_objext; then
20276 echo "$as_me: failed program was:" >&5
20277 sed 's/^/| /' conftest.$ac_ext >&5
20279 ac_lo=`expr '(' $ac_mid ')' + 1`
20282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20285 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20286 '') if test "$ac_cv_type_void_p" = yes; then
20287 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20288 See \`config.log
' for more details." >&5
20289 echo "$as_me: error: cannot compute sizeof (void *)
20290 See \`config.log' for more details.
" >&2;}
20291 { (exit 77); exit 77; }; }
20293 ac_cv_sizeof_void_p=0
20297 cat >conftest.$ac_ext <<_ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 $ac_includes_default
20304 typedef void * ac__type_sizeof_;
20305 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20306 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20308 #include <stdlib.h>
20313 FILE *f = fopen ("conftest.val
", "w
");
20316 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20318 long int i = longval ();
20319 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20321 fprintf (f, "%ld
\n", i);
20325 unsigned long int i = ulongval ();
20326 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20328 fprintf (f, "%lu
\n", i);
20330 return ferror (f) || fclose (f) != 0;
20336 rm -f conftest$ac_exeext
20337 if { (ac_try="$ac_link"
20338 case "(($ac_try" in
20339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20340 *) ac_try_echo=$ac_try;;
20342 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20343 (eval "$ac_link") 2>&5
20345 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20347 { (case "(($ac_try" in
20348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20349 *) ac_try_echo=$ac_try;;
20351 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20352 (eval "$ac_try") 2>&5
20354 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20355 (exit $ac_status); }; }; then
20356 ac_cv_sizeof_void_p=`cat conftest.val`
20358 echo "$as_me: program exited with status
$ac_status" >&5
20359 echo "$as_me: failed program was
:" >&5
20360 sed 's/^/| /' conftest.$ac_ext >&5
20362 ( exit $ac_status )
20363 if test "$ac_cv_type_void_p" = yes; then
20364 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20365 See \
`config.log' for more details." >&5
20366 echo "$as_me: error: cannot compute sizeof (void *)
20367 See \`config.log
' for more details." >&2;}
20368 { (exit 77); exit 77; }; }
20370 ac_cv_sizeof_void_p=0
20373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20377 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20378 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20382 cat >>confdefs.h <<_ACEOF
20383 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20387 { echo "$as_me:$LINENO: checking for int" >&5
20388 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20389 if test "${ac_cv_type_int+set}" = set; then
20390 echo $ECHO_N "(cached) $ECHO_C" >&6
20392 cat >conftest.$ac_ext <<_ACEOF
20395 cat confdefs.h >>conftest.$ac_ext
20396 cat >>conftest.$ac_ext <<_ACEOF
20397 /* end confdefs.h. */
20398 $ac_includes_default
20399 typedef int ac__type_new_;
20403 if ((ac__type_new_ *) 0)
20405 if (sizeof (ac__type_new_))
20411 rm -f conftest.$ac_objext
20412 if { (ac_try="$ac_compile"
20413 case "(($ac_try" in
20414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20415 *) ac_try_echo=$ac_try;;
20417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20418 (eval "$ac_compile") 2>conftest.er1
20420 grep -v '^
*+' conftest.er1 >conftest.err
20422 cat conftest.err >&5
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); } && {
20425 test -z "$ac_c_werror_flag" ||
20426 test ! -s conftest.err
20427 } && test -s conftest.$ac_objext; then
20430 echo "$as_me: failed program was:" >&5
20431 sed 's
/^
/| /' conftest.$ac_ext >&5
20436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20438 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20439 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20441 # The cast to long int works around a bug in the HP C Compiler
20442 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20443 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20444 # This bug is HP SR number 8606223364.
20445 { echo "$as_me:$LINENO: checking size of int" >&5
20446 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20447 if test "${ac_cv_sizeof_int+set}" = set; then
20448 echo $ECHO_N "(cached) $ECHO_C" >&6
20450 if test "$cross_compiling" = yes; then
20451 # Depending upon the size, compute the lo and hi bounds.
20452 cat >conftest.
$ac_ext <<_ACEOF
20455 cat confdefs.h
>>conftest.
$ac_ext
20456 cat >>conftest.
$ac_ext <<_ACEOF
20457 /* end confdefs.h. */
20458 $ac_includes_default
20459 typedef int ac__type_sizeof_;
20463 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20470 rm -f conftest.
$ac_objext
20471 if { (ac_try
="$ac_compile"
20472 case "(($ac_try" in
20473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20474 *) ac_try_echo=$ac_try;;
20476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20477 (eval "$ac_compile") 2>conftest.er1
20479 grep -v '^ *+' conftest.er1 >conftest.err
20481 cat conftest.err >&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } && {
20484 test -z "$ac_c_werror_flag" ||
20485 test ! -s conftest.err
20486 } && test -s conftest.$ac_objext; then
20489 cat >conftest.$ac_ext <<_ACEOF
20492 cat confdefs.h >>conftest.$ac_ext
20493 cat >>conftest.$ac_ext <<_ACEOF
20494 /* end confdefs.h. */
20495 $ac_includes_default
20496 typedef int ac__type_sizeof_;
20500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20507 rm -f conftest.$ac_objext
20508 if { (ac_try="$ac_compile"
20509 case "(($ac_try" in
20510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20511 *) ac_try_echo
=$ac_try;;
20513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20514 (eval "$ac_compile") 2>conftest.er1
20516 grep -v '^ *+' conftest.er1
>conftest.err
20518 cat conftest.err
>&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } && {
20521 test -z "$ac_c_werror_flag" ||
20522 test ! -s conftest.err
20523 } && test -s conftest.
$ac_objext; then
20524 ac_hi
=$ac_mid; break
20526 echo "$as_me: failed program was:" >&5
20527 sed 's/^/| /' conftest.
$ac_ext >&5
20529 ac_lo
=`expr $ac_mid + 1`
20530 if test $ac_lo -le $ac_mid; then
20534 ac_mid
=`expr 2 '*' $ac_mid + 1`
20537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20540 echo "$as_me: failed program was:" >&5
20541 sed 's/^/| /' conftest.
$ac_ext >&5
20543 cat >conftest.
$ac_ext <<_ACEOF
20546 cat confdefs.h
>>conftest.
$ac_ext
20547 cat >>conftest.
$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20549 $ac_includes_default
20550 typedef int ac__type_sizeof_;
20554 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20561 rm -f conftest.
$ac_objext
20562 if { (ac_try
="$ac_compile"
20563 case "(($ac_try" in
20564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20565 *) ac_try_echo=$ac_try;;
20567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20568 (eval "$ac_compile") 2>conftest.er1
20570 grep -v '^ *+' conftest.er1 >conftest.err
20572 cat conftest.err >&5
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); } && {
20575 test -z "$ac_c_werror_flag" ||
20576 test ! -s conftest.err
20577 } && test -s conftest.$ac_objext; then
20580 cat >conftest.$ac_ext <<_ACEOF
20583 cat confdefs.h >>conftest.$ac_ext
20584 cat >>conftest.$ac_ext <<_ACEOF
20585 /* end confdefs.h. */
20586 $ac_includes_default
20587 typedef int ac__type_sizeof_;
20591 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20598 rm -f conftest.$ac_objext
20599 if { (ac_try="$ac_compile"
20600 case "(($ac_try" in
20601 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20602 *) ac_try_echo
=$ac_try;;
20604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20605 (eval "$ac_compile") 2>conftest.er1
20607 grep -v '^ *+' conftest.er1
>conftest.err
20609 cat conftest.err
>&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } && {
20612 test -z "$ac_c_werror_flag" ||
20613 test ! -s conftest.err
20614 } && test -s conftest.
$ac_objext; then
20615 ac_lo
=$ac_mid; break
20617 echo "$as_me: failed program was:" >&5
20618 sed 's/^/| /' conftest.
$ac_ext >&5
20620 ac_hi
=`expr '(' $ac_mid ')' - 1`
20621 if test $ac_mid -le $ac_hi; then
20625 ac_mid
=`expr 2 '*' $ac_mid`
20628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20631 echo "$as_me: failed program was:" >&5
20632 sed 's/^/| /' conftest.
$ac_ext >&5
20637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20641 # Binary search between lo and hi bounds.
20642 while test "x$ac_lo" != "x$ac_hi"; do
20643 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20644 cat >conftest.
$ac_ext <<_ACEOF
20647 cat confdefs.h
>>conftest.
$ac_ext
20648 cat >>conftest.
$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20650 $ac_includes_default
20651 typedef int ac__type_sizeof_;
20655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20662 rm -f conftest.
$ac_objext
20663 if { (ac_try
="$ac_compile"
20664 case "(($ac_try" in
20665 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20666 *) ac_try_echo=$ac_try;;
20668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20669 (eval "$ac_compile") 2>conftest.er1
20671 grep -v '^ *+' conftest.er1 >conftest.err
20673 cat conftest.err >&5
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); } && {
20676 test -z "$ac_c_werror_flag" ||
20677 test ! -s conftest.err
20678 } && test -s conftest.$ac_objext; then
20681 echo "$as_me: failed program was:" >&5
20682 sed 's/^/| /' conftest.$ac_ext >&5
20684 ac_lo=`expr '(' $ac_mid ')' + 1`
20687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20690 ?*) ac_cv_sizeof_int=$ac_lo;;
20691 '') if test "$ac_cv_type_int" = yes; then
20692 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20693 See \`config.log
' for more details." >&5
20694 echo "$as_me: error: cannot compute sizeof (int)
20695 See \`config.log' for more details.
" >&2;}
20696 { (exit 77); exit 77; }; }
20702 cat >conftest.$ac_ext <<_ACEOF
20705 cat confdefs.h >>conftest.$ac_ext
20706 cat >>conftest.$ac_ext <<_ACEOF
20707 /* end confdefs.h. */
20708 $ac_includes_default
20709 typedef int ac__type_sizeof_;
20710 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20711 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20713 #include <stdlib.h>
20718 FILE *f = fopen ("conftest.val
", "w
");
20721 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20723 long int i = longval ();
20724 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20726 fprintf (f, "%ld
\n", i);
20730 unsigned long int i = ulongval ();
20731 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20733 fprintf (f, "%lu
\n", i);
20735 return ferror (f) || fclose (f) != 0;
20741 rm -f conftest$ac_exeext
20742 if { (ac_try="$ac_link"
20743 case "(($ac_try" in
20744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20745 *) ac_try_echo=$ac_try;;
20747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20748 (eval "$ac_link") 2>&5
20750 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20751 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20752 { (case "(($ac_try" in
20753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20754 *) ac_try_echo=$ac_try;;
20756 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20757 (eval "$ac_try") 2>&5
20759 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20760 (exit $ac_status); }; }; then
20761 ac_cv_sizeof_int=`cat conftest.val`
20763 echo "$as_me: program exited with status
$ac_status" >&5
20764 echo "$as_me: failed program was
:" >&5
20765 sed 's/^/| /' conftest.$ac_ext >&5
20767 ( exit $ac_status )
20768 if test "$ac_cv_type_int" = yes; then
20769 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20770 See \
`config.log' for more details." >&5
20771 echo "$as_me: error: cannot compute sizeof (int)
20772 See \`config.log
' for more details." >&2;}
20773 { (exit 77); exit 77; }; }
20778 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20782 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20783 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20787 cat >>confdefs.h <<_ACEOF
20788 #define SIZEOF_INT $ac_cv_sizeof_int
20792 { echo "$as_me:$LINENO: checking for long" >&5
20793 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20794 if test "${ac_cv_type_long+set}" = set; then
20795 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 cat >conftest.$ac_ext <<_ACEOF
20800 cat confdefs.h >>conftest.$ac_ext
20801 cat >>conftest.$ac_ext <<_ACEOF
20802 /* end confdefs.h. */
20803 $ac_includes_default
20804 typedef long ac__type_new_;
20808 if ((ac__type_new_ *) 0)
20810 if (sizeof (ac__type_new_))
20816 rm -f conftest.$ac_objext
20817 if { (ac_try="$ac_compile"
20818 case "(($ac_try" in
20819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20820 *) ac_try_echo=$ac_try;;
20822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20823 (eval "$ac_compile") 2>conftest.er1
20825 grep -v '^
*+' conftest.er1 >conftest.err
20827 cat conftest.err >&5
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); } && {
20830 test -z "$ac_c_werror_flag" ||
20831 test ! -s conftest.err
20832 } && test -s conftest.$ac_objext; then
20833 ac_cv_type_long=yes
20835 echo "$as_me: failed program was:" >&5
20836 sed 's
/^
/| /' conftest.$ac_ext >&5
20841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20843 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20844 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20846 # The cast to long int works around a bug in the HP C Compiler
20847 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20848 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20849 # This bug is HP SR number 8606223364.
20850 { echo "$as_me:$LINENO: checking size of long" >&5
20851 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20852 if test "${ac_cv_sizeof_long+set}" = set; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20855 if test "$cross_compiling" = yes; then
20856 # Depending upon the size, compute the lo and hi bounds.
20857 cat >conftest.
$ac_ext <<_ACEOF
20860 cat confdefs.h
>>conftest.
$ac_ext
20861 cat >>conftest.
$ac_ext <<_ACEOF
20862 /* end confdefs.h. */
20863 $ac_includes_default
20864 typedef long ac__type_sizeof_;
20868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20875 rm -f conftest.
$ac_objext
20876 if { (ac_try
="$ac_compile"
20877 case "(($ac_try" in
20878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20879 *) ac_try_echo=$ac_try;;
20881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20882 (eval "$ac_compile") 2>conftest.er1
20884 grep -v '^ *+' conftest.er1 >conftest.err
20886 cat conftest.err >&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); } && {
20889 test -z "$ac_c_werror_flag" ||
20890 test ! -s conftest.err
20891 } && test -s conftest.$ac_objext; then
20894 cat >conftest.$ac_ext <<_ACEOF
20897 cat confdefs.h >>conftest.$ac_ext
20898 cat >>conftest.$ac_ext <<_ACEOF
20899 /* end confdefs.h. */
20900 $ac_includes_default
20901 typedef long ac__type_sizeof_;
20905 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20912 rm -f conftest.$ac_objext
20913 if { (ac_try="$ac_compile"
20914 case "(($ac_try" in
20915 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20916 *) ac_try_echo
=$ac_try;;
20918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20919 (eval "$ac_compile") 2>conftest.er1
20921 grep -v '^ *+' conftest.er1
>conftest.err
20923 cat conftest.err
>&5
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); } && {
20926 test -z "$ac_c_werror_flag" ||
20927 test ! -s conftest.err
20928 } && test -s conftest.
$ac_objext; then
20929 ac_hi
=$ac_mid; break
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.
$ac_ext >&5
20934 ac_lo
=`expr $ac_mid + 1`
20935 if test $ac_lo -le $ac_mid; then
20939 ac_mid
=`expr 2 '*' $ac_mid + 1`
20942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20945 echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.
$ac_ext >&5
20948 cat >conftest.
$ac_ext <<_ACEOF
20951 cat confdefs.h
>>conftest.
$ac_ext
20952 cat >>conftest.
$ac_ext <<_ACEOF
20953 /* end confdefs.h. */
20954 $ac_includes_default
20955 typedef long ac__type_sizeof_;
20959 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20966 rm -f conftest.
$ac_objext
20967 if { (ac_try
="$ac_compile"
20968 case "(($ac_try" in
20969 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20970 *) ac_try_echo=$ac_try;;
20972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20973 (eval "$ac_compile") 2>conftest.er1
20975 grep -v '^ *+' conftest.er1 >conftest.err
20977 cat conftest.err >&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); } && {
20980 test -z "$ac_c_werror_flag" ||
20981 test ! -s conftest.err
20982 } && test -s conftest.$ac_objext; then
20985 cat >conftest.$ac_ext <<_ACEOF
20988 cat confdefs.h >>conftest.$ac_ext
20989 cat >>conftest.$ac_ext <<_ACEOF
20990 /* end confdefs.h. */
20991 $ac_includes_default
20992 typedef long ac__type_sizeof_;
20996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21003 rm -f conftest.$ac_objext
21004 if { (ac_try="$ac_compile"
21005 case "(($ac_try" in
21006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21007 *) ac_try_echo
=$ac_try;;
21009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21010 (eval "$ac_compile") 2>conftest.er1
21012 grep -v '^ *+' conftest.er1
>conftest.err
21014 cat conftest.err
>&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } && {
21017 test -z "$ac_c_werror_flag" ||
21018 test ! -s conftest.err
21019 } && test -s conftest.
$ac_objext; then
21020 ac_lo
=$ac_mid; break
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.
$ac_ext >&5
21025 ac_hi
=`expr '(' $ac_mid ')' - 1`
21026 if test $ac_mid -le $ac_hi; then
21030 ac_mid
=`expr 2 '*' $ac_mid`
21033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21036 echo "$as_me: failed program was:" >&5
21037 sed 's/^/| /' conftest.
$ac_ext >&5
21042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21046 # Binary search between lo and hi bounds.
21047 while test "x$ac_lo" != "x$ac_hi"; do
21048 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21049 cat >conftest.
$ac_ext <<_ACEOF
21052 cat confdefs.h
>>conftest.
$ac_ext
21053 cat >>conftest.
$ac_ext <<_ACEOF
21054 /* end confdefs.h. */
21055 $ac_includes_default
21056 typedef long ac__type_sizeof_;
21060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21067 rm -f conftest.
$ac_objext
21068 if { (ac_try
="$ac_compile"
21069 case "(($ac_try" in
21070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21071 *) ac_try_echo=$ac_try;;
21073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21074 (eval "$ac_compile") 2>conftest.er1
21076 grep -v '^ *+' conftest.er1 >conftest.err
21078 cat conftest.err >&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); } && {
21081 test -z "$ac_c_werror_flag" ||
21082 test ! -s conftest.err
21083 } && test -s conftest.$ac_objext; then
21086 echo "$as_me: failed program was:" >&5
21087 sed 's/^/| /' conftest.$ac_ext >&5
21089 ac_lo=`expr '(' $ac_mid ')' + 1`
21092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21095 ?*) ac_cv_sizeof_long=$ac_lo;;
21096 '') if test "$ac_cv_type_long" = yes; then
21097 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21098 See \`config.log
' for more details." >&5
21099 echo "$as_me: error: cannot compute sizeof (long)
21100 See \`config.log' for more details.
" >&2;}
21101 { (exit 77); exit 77; }; }
21103 ac_cv_sizeof_long=0
21107 cat >conftest.$ac_ext <<_ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 $ac_includes_default
21114 typedef long ac__type_sizeof_;
21115 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21116 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21118 #include <stdlib.h>
21123 FILE *f = fopen ("conftest.val
", "w
");
21126 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21128 long int i = longval ();
21129 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21131 fprintf (f, "%ld
\n", i);
21135 unsigned long int i = ulongval ();
21136 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21138 fprintf (f, "%lu
\n", i);
21140 return ferror (f) || fclose (f) != 0;
21146 rm -f conftest$ac_exeext
21147 if { (ac_try="$ac_link"
21148 case "(($ac_try" in
21149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21150 *) ac_try_echo=$ac_try;;
21152 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21153 (eval "$ac_link") 2>&5
21155 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21156 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21157 { (case "(($ac_try" in
21158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21159 *) ac_try_echo=$ac_try;;
21161 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21162 (eval "$ac_try") 2>&5
21164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21165 (exit $ac_status); }; }; then
21166 ac_cv_sizeof_long=`cat conftest.val`
21168 echo "$as_me: program exited with status
$ac_status" >&5
21169 echo "$as_me: failed program was
:" >&5
21170 sed 's/^/| /' conftest.$ac_ext >&5
21172 ( exit $ac_status )
21173 if test "$ac_cv_type_long" = yes; then
21174 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21175 See \
`config.log' for more details." >&5
21176 echo "$as_me: error: cannot compute sizeof (long)
21177 See \`config.log
' for more details." >&2;}
21178 { (exit 77); exit 77; }; }
21180 ac_cv_sizeof_long=0
21183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21187 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21188 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21192 cat >>confdefs.h <<_ACEOF
21193 #define SIZEOF_LONG $ac_cv_sizeof_long
21197 { echo "$as_me:$LINENO: checking for size_t" >&5
21198 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21199 if test "${ac_cv_type_size_t+set}" = set; then
21200 echo $ECHO_N "(cached) $ECHO_C" >&6
21202 cat >conftest.$ac_ext <<_ACEOF
21205 cat confdefs.h >>conftest.$ac_ext
21206 cat >>conftest.$ac_ext <<_ACEOF
21207 /* end confdefs.h. */
21208 $ac_includes_default
21209 typedef size_t ac__type_new_;
21213 if ((ac__type_new_ *) 0)
21215 if (sizeof (ac__type_new_))
21221 rm -f conftest.$ac_objext
21222 if { (ac_try="$ac_compile"
21223 case "(($ac_try" in
21224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21225 *) ac_try_echo=$ac_try;;
21227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21228 (eval "$ac_compile") 2>conftest.er1
21230 grep -v '^
*+' conftest.er1 >conftest.err
21232 cat conftest.err >&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); } && {
21235 test -z "$ac_c_werror_flag" ||
21236 test ! -s conftest.err
21237 } && test -s conftest.$ac_objext; then
21238 ac_cv_type_size_t=yes
21240 echo "$as_me: failed program was:" >&5
21241 sed 's
/^
/| /' conftest.$ac_ext >&5
21243 ac_cv_type_size_t=no
21246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21249 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21251 # The cast to long int works around a bug in the HP C Compiler
21252 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21253 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21254 # This bug is HP SR number 8606223364.
21255 { echo "$as_me:$LINENO: checking size of size_t" >&5
21256 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21257 if test "${ac_cv_sizeof_size_t+set}" = set; then
21258 echo $ECHO_N "(cached) $ECHO_C" >&6
21260 if test "$cross_compiling" = yes; then
21261 # Depending upon the size, compute the lo and hi bounds.
21262 cat >conftest.
$ac_ext <<_ACEOF
21265 cat confdefs.h
>>conftest.
$ac_ext
21266 cat >>conftest.
$ac_ext <<_ACEOF
21267 /* end confdefs.h. */
21268 $ac_includes_default
21269 typedef size_t ac__type_sizeof_;
21273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21280 rm -f conftest.
$ac_objext
21281 if { (ac_try
="$ac_compile"
21282 case "(($ac_try" in
21283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21287 (eval "$ac_compile") 2>conftest.er1
21289 grep -v '^ *+' conftest.er1 >conftest.err
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } && {
21294 test -z "$ac_c_werror_flag" ||
21295 test ! -s conftest.err
21296 } && test -s conftest.$ac_objext; then
21299 cat >conftest.$ac_ext <<_ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 $ac_includes_default
21306 typedef size_t ac__type_sizeof_;
21310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21317 rm -f conftest.$ac_objext
21318 if { (ac_try="$ac_compile"
21319 case "(($ac_try" in
21320 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21321 *) ac_try_echo
=$ac_try;;
21323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21324 (eval "$ac_compile") 2>conftest.er1
21326 grep -v '^ *+' conftest.er1
>conftest.err
21328 cat conftest.err
>&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } && {
21331 test -z "$ac_c_werror_flag" ||
21332 test ! -s conftest.err
21333 } && test -s conftest.
$ac_objext; then
21334 ac_hi
=$ac_mid; break
21336 echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.
$ac_ext >&5
21339 ac_lo
=`expr $ac_mid + 1`
21340 if test $ac_lo -le $ac_mid; then
21344 ac_mid
=`expr 2 '*' $ac_mid + 1`
21347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21350 echo "$as_me: failed program was:" >&5
21351 sed 's/^/| /' conftest.
$ac_ext >&5
21353 cat >conftest.
$ac_ext <<_ACEOF
21356 cat confdefs.h
>>conftest.
$ac_ext
21357 cat >>conftest.
$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21359 $ac_includes_default
21360 typedef size_t ac__type_sizeof_;
21364 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21371 rm -f conftest.
$ac_objext
21372 if { (ac_try
="$ac_compile"
21373 case "(($ac_try" in
21374 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21375 *) ac_try_echo=$ac_try;;
21377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21378 (eval "$ac_compile") 2>conftest.er1
21380 grep -v '^ *+' conftest.er1 >conftest.err
21382 cat conftest.err >&5
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); } && {
21385 test -z "$ac_c_werror_flag" ||
21386 test ! -s conftest.err
21387 } && test -s conftest.$ac_objext; then
21390 cat >conftest.$ac_ext <<_ACEOF
21393 cat confdefs.h >>conftest.$ac_ext
21394 cat >>conftest.$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21396 $ac_includes_default
21397 typedef size_t ac__type_sizeof_;
21401 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21408 rm -f conftest.$ac_objext
21409 if { (ac_try="$ac_compile"
21410 case "(($ac_try" in
21411 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21412 *) ac_try_echo
=$ac_try;;
21414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21415 (eval "$ac_compile") 2>conftest.er1
21417 grep -v '^ *+' conftest.er1
>conftest.err
21419 cat conftest.err
>&5
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); } && {
21422 test -z "$ac_c_werror_flag" ||
21423 test ! -s conftest.err
21424 } && test -s conftest.
$ac_objext; then
21425 ac_lo
=$ac_mid; break
21427 echo "$as_me: failed program was:" >&5
21428 sed 's/^/| /' conftest.
$ac_ext >&5
21430 ac_hi
=`expr '(' $ac_mid ')' - 1`
21431 if test $ac_mid -le $ac_hi; then
21435 ac_mid
=`expr 2 '*' $ac_mid`
21438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21441 echo "$as_me: failed program was:" >&5
21442 sed 's/^/| /' conftest.
$ac_ext >&5
21447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21451 # Binary search between lo and hi bounds.
21452 while test "x$ac_lo" != "x$ac_hi"; do
21453 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21454 cat >conftest.
$ac_ext <<_ACEOF
21457 cat confdefs.h
>>conftest.
$ac_ext
21458 cat >>conftest.
$ac_ext <<_ACEOF
21459 /* end confdefs.h. */
21460 $ac_includes_default
21461 typedef size_t ac__type_sizeof_;
21465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21472 rm -f conftest.
$ac_objext
21473 if { (ac_try
="$ac_compile"
21474 case "(($ac_try" in
21475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21476 *) ac_try_echo=$ac_try;;
21478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21479 (eval "$ac_compile") 2>conftest.er1
21481 grep -v '^ *+' conftest.er1 >conftest.err
21483 cat conftest.err >&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } && {
21486 test -z "$ac_c_werror_flag" ||
21487 test ! -s conftest.err
21488 } && test -s conftest.$ac_objext; then
21491 echo "$as_me: failed program was:" >&5
21492 sed 's/^/| /' conftest.$ac_ext >&5
21494 ac_lo=`expr '(' $ac_mid ')' + 1`
21497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21500 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21501 '') if test "$ac_cv_type_size_t" = yes; then
21502 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21503 See \`config.log
' for more details." >&5
21504 echo "$as_me: error: cannot compute sizeof (size_t)
21505 See \`config.log' for more details.
" >&2;}
21506 { (exit 77); exit 77; }; }
21508 ac_cv_sizeof_size_t=0
21512 cat >conftest.$ac_ext <<_ACEOF
21515 cat confdefs.h >>conftest.$ac_ext
21516 cat >>conftest.$ac_ext <<_ACEOF
21517 /* end confdefs.h. */
21518 $ac_includes_default
21519 typedef size_t ac__type_sizeof_;
21520 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21521 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21523 #include <stdlib.h>
21528 FILE *f = fopen ("conftest.val
", "w
");
21531 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21533 long int i = longval ();
21534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21536 fprintf (f, "%ld
\n", i);
21540 unsigned long int i = ulongval ();
21541 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21543 fprintf (f, "%lu
\n", i);
21545 return ferror (f) || fclose (f) != 0;
21551 rm -f conftest$ac_exeext
21552 if { (ac_try="$ac_link"
21553 case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21557 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_link") 2>&5
21560 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21562 { (case "(($ac_try" in
21563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21564 *) ac_try_echo=$ac_try;;
21566 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21567 (eval "$ac_try") 2>&5
21569 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21570 (exit $ac_status); }; }; then
21571 ac_cv_sizeof_size_t=`cat conftest.val`
21573 echo "$as_me: program exited with status
$ac_status" >&5
21574 echo "$as_me: failed program was
:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21577 ( exit $ac_status )
21578 if test "$ac_cv_type_size_t" = yes; then
21579 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21580 See \
`config.log' for more details." >&5
21581 echo "$as_me: error: cannot compute sizeof (size_t)
21582 See \`config.log
' for more details." >&2;}
21583 { (exit 77); exit 77; }; }
21585 ac_cv_sizeof_size_t=0
21588 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21592 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21593 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21597 cat >>confdefs.h <<_ACEOF
21598 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21605 { echo "$as_me:$LINENO: checking for long long" >&5
21606 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21607 if test "${ac_cv_type_long_long+set}" = set; then
21608 echo $ECHO_N "(cached) $ECHO_C" >&6
21610 cat >conftest.$ac_ext <<_ACEOF
21613 cat confdefs.h >>conftest.$ac_ext
21614 cat >>conftest.$ac_ext <<_ACEOF
21615 /* end confdefs.h. */
21616 $ac_includes_default
21617 typedef long long ac__type_new_;
21621 if ((ac__type_new_ *) 0)
21623 if (sizeof (ac__type_new_))
21629 rm -f conftest.$ac_objext
21630 if { (ac_try="$ac_compile"
21631 case "(($ac_try" in
21632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21633 *) ac_try_echo=$ac_try;;
21635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21636 (eval "$ac_compile") 2>conftest.er1
21638 grep -v '^
*+' conftest.er1 >conftest.err
21640 cat conftest.err >&5
21641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21642 (exit $ac_status); } && {
21643 test -z "$ac_c_werror_flag" ||
21644 test ! -s conftest.err
21645 } && test -s conftest.$ac_objext; then
21646 ac_cv_type_long_long=yes
21648 echo "$as_me: failed program was:" >&5
21649 sed 's
/^
/| /' conftest.$ac_ext >&5
21651 ac_cv_type_long_long=no
21654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21656 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21657 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21659 # The cast to long int works around a bug in the HP C Compiler
21660 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21661 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21662 # This bug is HP SR number 8606223364.
21663 { echo "$as_me:$LINENO: checking size of long long" >&5
21664 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21665 if test "${ac_cv_sizeof_long_long+set}" = set; then
21666 echo $ECHO_N "(cached) $ECHO_C" >&6
21668 if test "$cross_compiling" = yes; then
21669 # Depending upon the size, compute the lo and hi bounds.
21670 cat >conftest.
$ac_ext <<_ACEOF
21673 cat confdefs.h
>>conftest.
$ac_ext
21674 cat >>conftest.
$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21676 $ac_includes_default
21677 typedef long long ac__type_sizeof_;
21681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21688 rm -f conftest.
$ac_objext
21689 if { (ac_try
="$ac_compile"
21690 case "(($ac_try" in
21691 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21692 *) ac_try_echo=$ac_try;;
21694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21695 (eval "$ac_compile") 2>conftest.er1
21697 grep -v '^ *+' conftest.er1 >conftest.err
21699 cat conftest.err >&5
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); } && {
21702 test -z "$ac_c_werror_flag" ||
21703 test ! -s conftest.err
21704 } && test -s conftest.$ac_objext; then
21707 cat >conftest.$ac_ext <<_ACEOF
21710 cat confdefs.h >>conftest.$ac_ext
21711 cat >>conftest.$ac_ext <<_ACEOF
21712 /* end confdefs.h. */
21713 $ac_includes_default
21714 typedef long long ac__type_sizeof_;
21718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21725 rm -f conftest.$ac_objext
21726 if { (ac_try="$ac_compile"
21727 case "(($ac_try" in
21728 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21729 *) ac_try_echo
=$ac_try;;
21731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21732 (eval "$ac_compile") 2>conftest.er1
21734 grep -v '^ *+' conftest.er1
>conftest.err
21736 cat conftest.err
>&5
21737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21738 (exit $ac_status); } && {
21739 test -z "$ac_c_werror_flag" ||
21740 test ! -s conftest.err
21741 } && test -s conftest.
$ac_objext; then
21742 ac_hi
=$ac_mid; break
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.
$ac_ext >&5
21747 ac_lo
=`expr $ac_mid + 1`
21748 if test $ac_lo -le $ac_mid; then
21752 ac_mid
=`expr 2 '*' $ac_mid + 1`
21755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21758 echo "$as_me: failed program was:" >&5
21759 sed 's/^/| /' conftest.
$ac_ext >&5
21761 cat >conftest.
$ac_ext <<_ACEOF
21764 cat confdefs.h
>>conftest.
$ac_ext
21765 cat >>conftest.
$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 $ac_includes_default
21768 typedef long long ac__type_sizeof_;
21772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21779 rm -f conftest.
$ac_objext
21780 if { (ac_try
="$ac_compile"
21781 case "(($ac_try" in
21782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21783 *) ac_try_echo=$ac_try;;
21785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21786 (eval "$ac_compile") 2>conftest.er1
21788 grep -v '^ *+' conftest.er1 >conftest.err
21790 cat conftest.err >&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } && {
21793 test -z "$ac_c_werror_flag" ||
21794 test ! -s conftest.err
21795 } && test -s conftest.$ac_objext; then
21798 cat >conftest.$ac_ext <<_ACEOF
21801 cat confdefs.h >>conftest.$ac_ext
21802 cat >>conftest.$ac_ext <<_ACEOF
21803 /* end confdefs.h. */
21804 $ac_includes_default
21805 typedef long long ac__type_sizeof_;
21809 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21816 rm -f conftest.$ac_objext
21817 if { (ac_try="$ac_compile"
21818 case "(($ac_try" in
21819 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21820 *) ac_try_echo
=$ac_try;;
21822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21823 (eval "$ac_compile") 2>conftest.er1
21825 grep -v '^ *+' conftest.er1
>conftest.err
21827 cat conftest.err
>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); } && {
21830 test -z "$ac_c_werror_flag" ||
21831 test ! -s conftest.err
21832 } && test -s conftest.
$ac_objext; then
21833 ac_lo
=$ac_mid; break
21835 echo "$as_me: failed program was:" >&5
21836 sed 's/^/| /' conftest.
$ac_ext >&5
21838 ac_hi
=`expr '(' $ac_mid ')' - 1`
21839 if test $ac_mid -le $ac_hi; then
21843 ac_mid
=`expr 2 '*' $ac_mid`
21846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.
$ac_ext >&5
21855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21859 # Binary search between lo and hi bounds.
21860 while test "x$ac_lo" != "x$ac_hi"; do
21861 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21862 cat >conftest.
$ac_ext <<_ACEOF
21865 cat confdefs.h
>>conftest.
$ac_ext
21866 cat >>conftest.
$ac_ext <<_ACEOF
21867 /* end confdefs.h. */
21868 $ac_includes_default
21869 typedef long long ac__type_sizeof_;
21873 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21880 rm -f conftest.
$ac_objext
21881 if { (ac_try
="$ac_compile"
21882 case "(($ac_try" in
21883 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21884 *) ac_try_echo=$ac_try;;
21886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21887 (eval "$ac_compile") 2>conftest.er1
21889 grep -v '^ *+' conftest.er1 >conftest.err
21891 cat conftest.err >&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); } && {
21894 test -z "$ac_c_werror_flag" ||
21895 test ! -s conftest.err
21896 } && test -s conftest.$ac_objext; then
21899 echo "$as_me: failed program was:" >&5
21900 sed 's/^/| /' conftest.$ac_ext >&5
21902 ac_lo=`expr '(' $ac_mid ')' + 1`
21905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21908 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21909 '') if test "$ac_cv_type_long_long" = yes; then
21910 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21911 See \`config.log
' for more details." >&5
21912 echo "$as_me: error: cannot compute sizeof (long long)
21913 See \`config.log' for more details.
" >&2;}
21914 { (exit 77); exit 77; }; }
21916 ac_cv_sizeof_long_long=0
21920 cat >conftest.$ac_ext <<_ACEOF
21923 cat confdefs.h >>conftest.$ac_ext
21924 cat >>conftest.$ac_ext <<_ACEOF
21925 /* end confdefs.h. */
21926 $ac_includes_default
21927 typedef long long ac__type_sizeof_;
21928 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21929 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21931 #include <stdlib.h>
21936 FILE *f = fopen ("conftest.val
", "w
");
21939 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21941 long int i = longval ();
21942 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21944 fprintf (f, "%ld
\n", i);
21948 unsigned long int i = ulongval ();
21949 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21951 fprintf (f, "%lu
\n", i);
21953 return ferror (f) || fclose (f) != 0;
21959 rm -f conftest$ac_exeext
21960 if { (ac_try="$ac_link"
21961 case "(($ac_try" in
21962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21963 *) ac_try_echo=$ac_try;;
21965 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21966 (eval "$ac_link") 2>&5
21968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21969 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21970 { (case "(($ac_try" in
21971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21972 *) ac_try_echo=$ac_try;;
21974 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21975 (eval "$ac_try") 2>&5
21977 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21978 (exit $ac_status); }; }; then
21979 ac_cv_sizeof_long_long=`cat conftest.val`
21981 echo "$as_me: program exited with status
$ac_status" >&5
21982 echo "$as_me: failed program was
:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21985 ( exit $ac_status )
21986 if test "$ac_cv_type_long_long" = yes; then
21987 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21988 See \
`config.log' for more details." >&5
21989 echo "$as_me: error: cannot compute sizeof (long long)
21990 See \`config.log
' for more details." >&2;}
21991 { (exit 77); exit 77; }; }
21993 ac_cv_sizeof_long_long=0
21996 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22000 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22001 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22005 cat >>confdefs.h <<_ACEOF
22006 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22012 { echo "$as_me:$LINENO: checking for long long" >&5
22013 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22014 if test "${ac_cv_type_long_long+set}" = set; then
22015 echo $ECHO_N "(cached) $ECHO_C" >&6
22017 cat >conftest.$ac_ext <<_ACEOF
22020 cat confdefs.h >>conftest.$ac_ext
22021 cat >>conftest.$ac_ext <<_ACEOF
22022 /* end confdefs.h. */
22023 $ac_includes_default
22024 typedef long long ac__type_new_;
22028 if ((ac__type_new_ *) 0)
22030 if (sizeof (ac__type_new_))
22036 rm -f conftest.$ac_objext
22037 if { (ac_try="$ac_compile"
22038 case "(($ac_try" in
22039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22040 *) ac_try_echo=$ac_try;;
22042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22043 (eval "$ac_compile") 2>conftest.er1
22045 grep -v '^
*+' conftest.er1 >conftest.err
22047 cat conftest.err >&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); } && {
22050 test -z "$ac_c_werror_flag" ||
22051 test ! -s conftest.err
22052 } && test -s conftest.$ac_objext; then
22053 ac_cv_type_long_long=yes
22055 echo "$as_me: failed program was:" >&5
22056 sed 's
/^
/| /' conftest.$ac_ext >&5
22058 ac_cv_type_long_long=no
22061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22063 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22064 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22066 # The cast to long int works around a bug in the HP C Compiler
22067 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22068 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22069 # This bug is HP SR number 8606223364.
22070 { echo "$as_me:$LINENO: checking size of long long" >&5
22071 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22072 if test "${ac_cv_sizeof_long_long+set}" = set; then
22073 echo $ECHO_N "(cached) $ECHO_C" >&6
22075 if test "$cross_compiling" = yes; then
22076 # Depending upon the size, compute the lo and hi bounds.
22077 cat >conftest.
$ac_ext <<_ACEOF
22080 cat confdefs.h
>>conftest.
$ac_ext
22081 cat >>conftest.
$ac_ext <<_ACEOF
22082 /* end confdefs.h. */
22083 $ac_includes_default
22084 typedef long long ac__type_sizeof_;
22088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22095 rm -f conftest.
$ac_objext
22096 if { (ac_try
="$ac_compile"
22097 case "(($ac_try" in
22098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_compile") 2>conftest.er1
22104 grep -v '^ *+' conftest.er1 >conftest.err
22106 cat conftest.err >&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } && {
22109 test -z "$ac_c_werror_flag" ||
22110 test ! -s conftest.err
22111 } && test -s conftest.$ac_objext; then
22114 cat >conftest.$ac_ext <<_ACEOF
22117 cat confdefs.h >>conftest.$ac_ext
22118 cat >>conftest.$ac_ext <<_ACEOF
22119 /* end confdefs.h. */
22120 $ac_includes_default
22121 typedef long long ac__type_sizeof_;
22125 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22132 rm -f conftest.$ac_objext
22133 if { (ac_try="$ac_compile"
22134 case "(($ac_try" in
22135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22136 *) ac_try_echo
=$ac_try;;
22138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22139 (eval "$ac_compile") 2>conftest.er1
22141 grep -v '^ *+' conftest.er1
>conftest.err
22143 cat conftest.err
>&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); } && {
22146 test -z "$ac_c_werror_flag" ||
22147 test ! -s conftest.err
22148 } && test -s conftest.
$ac_objext; then
22149 ac_hi
=$ac_mid; break
22151 echo "$as_me: failed program was:" >&5
22152 sed 's/^/| /' conftest.
$ac_ext >&5
22154 ac_lo
=`expr $ac_mid + 1`
22155 if test $ac_lo -le $ac_mid; then
22159 ac_mid
=`expr 2 '*' $ac_mid + 1`
22162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22165 echo "$as_me: failed program was:" >&5
22166 sed 's/^/| /' conftest.
$ac_ext >&5
22168 cat >conftest.
$ac_ext <<_ACEOF
22171 cat confdefs.h
>>conftest.
$ac_ext
22172 cat >>conftest.
$ac_ext <<_ACEOF
22173 /* end confdefs.h. */
22174 $ac_includes_default
22175 typedef long long ac__type_sizeof_;
22179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22186 rm -f conftest.
$ac_objext
22187 if { (ac_try
="$ac_compile"
22188 case "(($ac_try" in
22189 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22190 *) ac_try_echo=$ac_try;;
22192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22193 (eval "$ac_compile") 2>conftest.er1
22195 grep -v '^ *+' conftest.er1 >conftest.err
22197 cat conftest.err >&5
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); } && {
22200 test -z "$ac_c_werror_flag" ||
22201 test ! -s conftest.err
22202 } && test -s conftest.$ac_objext; then
22205 cat >conftest.$ac_ext <<_ACEOF
22208 cat confdefs.h >>conftest.$ac_ext
22209 cat >>conftest.$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 $ac_includes_default
22212 typedef long long ac__type_sizeof_;
22216 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22223 rm -f conftest.$ac_objext
22224 if { (ac_try="$ac_compile"
22225 case "(($ac_try" in
22226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22227 *) ac_try_echo
=$ac_try;;
22229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22230 (eval "$ac_compile") 2>conftest.er1
22232 grep -v '^ *+' conftest.er1
>conftest.err
22234 cat conftest.err
>&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } && {
22237 test -z "$ac_c_werror_flag" ||
22238 test ! -s conftest.err
22239 } && test -s conftest.
$ac_objext; then
22240 ac_lo
=$ac_mid; break
22242 echo "$as_me: failed program was:" >&5
22243 sed 's/^/| /' conftest.
$ac_ext >&5
22245 ac_hi
=`expr '(' $ac_mid ')' - 1`
22246 if test $ac_mid -le $ac_hi; then
22250 ac_mid
=`expr 2 '*' $ac_mid`
22253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22256 echo "$as_me: failed program was:" >&5
22257 sed 's/^/| /' conftest.
$ac_ext >&5
22262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22266 # Binary search between lo and hi bounds.
22267 while test "x$ac_lo" != "x$ac_hi"; do
22268 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22269 cat >conftest.
$ac_ext <<_ACEOF
22272 cat confdefs.h
>>conftest.
$ac_ext
22273 cat >>conftest.
$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22275 $ac_includes_default
22276 typedef long long ac__type_sizeof_;
22280 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22287 rm -f conftest.
$ac_objext
22288 if { (ac_try
="$ac_compile"
22289 case "(($ac_try" in
22290 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22291 *) ac_try_echo=$ac_try;;
22293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22294 (eval "$ac_compile") 2>conftest.er1
22296 grep -v '^ *+' conftest.er1 >conftest.err
22298 cat conftest.err >&5
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); } && {
22301 test -z "$ac_c_werror_flag" ||
22302 test ! -s conftest.err
22303 } && test -s conftest.$ac_objext; then
22306 echo "$as_me: failed program was:" >&5
22307 sed 's/^/| /' conftest.$ac_ext >&5
22309 ac_lo=`expr '(' $ac_mid ')' + 1`
22312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22315 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22316 '') if test "$ac_cv_type_long_long" = yes; then
22317 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22318 See \`config.log
' for more details." >&5
22319 echo "$as_me: error: cannot compute sizeof (long long)
22320 See \`config.log' for more details.
" >&2;}
22321 { (exit 77); exit 77; }; }
22323 ac_cv_sizeof_long_long=0
22327 cat >conftest.$ac_ext <<_ACEOF
22330 cat confdefs.h >>conftest.$ac_ext
22331 cat >>conftest.$ac_ext <<_ACEOF
22332 /* end confdefs.h. */
22333 $ac_includes_default
22334 typedef long long ac__type_sizeof_;
22335 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22336 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22338 #include <stdlib.h>
22343 FILE *f = fopen ("conftest.val
", "w
");
22346 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22348 long int i = longval ();
22349 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22351 fprintf (f, "%ld
\n", i);
22355 unsigned long int i = ulongval ();
22356 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22358 fprintf (f, "%lu
\n", i);
22360 return ferror (f) || fclose (f) != 0;
22366 rm -f conftest$ac_exeext
22367 if { (ac_try="$ac_link"
22368 case "(($ac_try" in
22369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22370 *) ac_try_echo=$ac_try;;
22372 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22373 (eval "$ac_link") 2>&5
22375 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22377 { (case "(($ac_try" in
22378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22379 *) ac_try_echo=$ac_try;;
22381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22382 (eval "$ac_try") 2>&5
22384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22385 (exit $ac_status); }; }; then
22386 ac_cv_sizeof_long_long=`cat conftest.val`
22388 echo "$as_me: program exited with status
$ac_status" >&5
22389 echo "$as_me: failed program was
:" >&5
22390 sed 's/^/| /' conftest.$ac_ext >&5
22392 ( exit $ac_status )
22393 if test "$ac_cv_type_long_long" = yes; then
22394 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22395 See \
`config.log' for more details." >&5
22396 echo "$as_me: error: cannot compute sizeof (long long)
22397 See \`config.log
' for more details." >&2;}
22398 { (exit 77); exit 77; }; }
22400 ac_cv_sizeof_long_long=0
22403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22407 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22408 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22412 cat >>confdefs.h <<_ACEOF
22413 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22417 if test "$ac_cv_sizeof_long_long" != 0; then
22418 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22422 { echo "$as_me:$LINENO: checking for long long" >&5
22423 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22424 if test "${ac_cv_type_long_long+set}" = set; then
22425 echo $ECHO_N "(cached) $ECHO_C" >&6
22427 cat >conftest.$ac_ext <<_ACEOF
22430 cat confdefs.h >>conftest.$ac_ext
22431 cat >>conftest.$ac_ext <<_ACEOF
22432 /* end confdefs.h. */
22433 $ac_includes_default
22434 typedef long long ac__type_new_;
22438 if ((ac__type_new_ *) 0)
22440 if (sizeof (ac__type_new_))
22446 rm -f conftest.$ac_objext
22447 if { (ac_try="$ac_compile"
22448 case "(($ac_try" in
22449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22450 *) ac_try_echo=$ac_try;;
22452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22453 (eval "$ac_compile") 2>conftest.er1
22455 grep -v '^
*+' conftest.er1 >conftest.err
22457 cat conftest.err >&5
22458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22459 (exit $ac_status); } && {
22460 test -z "$ac_c_werror_flag" ||
22461 test ! -s conftest.err
22462 } && test -s conftest.$ac_objext; then
22463 ac_cv_type_long_long=yes
22465 echo "$as_me: failed program was:" >&5
22466 sed 's
/^
/| /' conftest.$ac_ext >&5
22468 ac_cv_type_long_long=no
22471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22473 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22474 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22476 # The cast to long int works around a bug in the HP C Compiler
22477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22479 # This bug is HP SR number 8606223364.
22480 { echo "$as_me:$LINENO: checking size of long long" >&5
22481 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22482 if test "${ac_cv_sizeof_long_long+set}" = set; then
22483 echo $ECHO_N "(cached) $ECHO_C" >&6
22485 if test "$cross_compiling" = yes; then
22486 # Depending upon the size, compute the lo and hi bounds.
22487 cat >conftest.
$ac_ext <<_ACEOF
22490 cat confdefs.h
>>conftest.
$ac_ext
22491 cat >>conftest.
$ac_ext <<_ACEOF
22492 /* end confdefs.h. */
22493 $ac_includes_default
22494 typedef long long ac__type_sizeof_;
22498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22505 rm -f conftest.
$ac_objext
22506 if { (ac_try
="$ac_compile"
22507 case "(($ac_try" in
22508 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22509 *) ac_try_echo=$ac_try;;
22511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22512 (eval "$ac_compile") 2>conftest.er1
22514 grep -v '^ *+' conftest.er1 >conftest.err
22516 cat conftest.err >&5
22517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518 (exit $ac_status); } && {
22519 test -z "$ac_c_werror_flag" ||
22520 test ! -s conftest.err
22521 } && test -s conftest.$ac_objext; then
22524 cat >conftest.$ac_ext <<_ACEOF
22527 cat confdefs.h >>conftest.$ac_ext
22528 cat >>conftest.$ac_ext <<_ACEOF
22529 /* end confdefs.h. */
22530 $ac_includes_default
22531 typedef long long ac__type_sizeof_;
22535 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22542 rm -f conftest.$ac_objext
22543 if { (ac_try="$ac_compile"
22544 case "(($ac_try" in
22545 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22546 *) ac_try_echo
=$ac_try;;
22548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22549 (eval "$ac_compile") 2>conftest.er1
22551 grep -v '^ *+' conftest.er1
>conftest.err
22553 cat conftest.err
>&5
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); } && {
22556 test -z "$ac_c_werror_flag" ||
22557 test ! -s conftest.err
22558 } && test -s conftest.
$ac_objext; then
22559 ac_hi
=$ac_mid; break
22561 echo "$as_me: failed program was:" >&5
22562 sed 's/^/| /' conftest.
$ac_ext >&5
22564 ac_lo
=`expr $ac_mid + 1`
22565 if test $ac_lo -le $ac_mid; then
22569 ac_mid
=`expr 2 '*' $ac_mid + 1`
22572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22575 echo "$as_me: failed program was:" >&5
22576 sed 's/^/| /' conftest.
$ac_ext >&5
22578 cat >conftest.
$ac_ext <<_ACEOF
22581 cat confdefs.h
>>conftest.
$ac_ext
22582 cat >>conftest.
$ac_ext <<_ACEOF
22583 /* end confdefs.h. */
22584 $ac_includes_default
22585 typedef long long ac__type_sizeof_;
22589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22596 rm -f conftest.
$ac_objext
22597 if { (ac_try
="$ac_compile"
22598 case "(($ac_try" in
22599 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22600 *) ac_try_echo=$ac_try;;
22602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22603 (eval "$ac_compile") 2>conftest.er1
22605 grep -v '^ *+' conftest.er1 >conftest.err
22607 cat conftest.err >&5
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); } && {
22610 test -z "$ac_c_werror_flag" ||
22611 test ! -s conftest.err
22612 } && test -s conftest.$ac_objext; then
22615 cat >conftest.$ac_ext <<_ACEOF
22618 cat confdefs.h >>conftest.$ac_ext
22619 cat >>conftest.$ac_ext <<_ACEOF
22620 /* end confdefs.h. */
22621 $ac_includes_default
22622 typedef long long ac__type_sizeof_;
22626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22633 rm -f conftest.$ac_objext
22634 if { (ac_try="$ac_compile"
22635 case "(($ac_try" in
22636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22637 *) ac_try_echo
=$ac_try;;
22639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22640 (eval "$ac_compile") 2>conftest.er1
22642 grep -v '^ *+' conftest.er1
>conftest.err
22644 cat conftest.err
>&5
22645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22646 (exit $ac_status); } && {
22647 test -z "$ac_c_werror_flag" ||
22648 test ! -s conftest.err
22649 } && test -s conftest.
$ac_objext; then
22650 ac_lo
=$ac_mid; break
22652 echo "$as_me: failed program was:" >&5
22653 sed 's/^/| /' conftest.
$ac_ext >&5
22655 ac_hi
=`expr '(' $ac_mid ')' - 1`
22656 if test $ac_mid -le $ac_hi; then
22660 ac_mid
=`expr 2 '*' $ac_mid`
22663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22666 echo "$as_me: failed program was:" >&5
22667 sed 's/^/| /' conftest.
$ac_ext >&5
22672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22676 # Binary search between lo and hi bounds.
22677 while test "x$ac_lo" != "x$ac_hi"; do
22678 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22679 cat >conftest.
$ac_ext <<_ACEOF
22682 cat confdefs.h
>>conftest.
$ac_ext
22683 cat >>conftest.
$ac_ext <<_ACEOF
22684 /* end confdefs.h. */
22685 $ac_includes_default
22686 typedef long long ac__type_sizeof_;
22690 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22697 rm -f conftest.
$ac_objext
22698 if { (ac_try
="$ac_compile"
22699 case "(($ac_try" in
22700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22701 *) ac_try_echo=$ac_try;;
22703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22704 (eval "$ac_compile") 2>conftest.er1
22706 grep -v '^ *+' conftest.er1 >conftest.err
22708 cat conftest.err >&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); } && {
22711 test -z "$ac_c_werror_flag" ||
22712 test ! -s conftest.err
22713 } && test -s conftest.$ac_objext; then
22716 echo "$as_me: failed program was:" >&5
22717 sed 's/^/| /' conftest.$ac_ext >&5
22719 ac_lo=`expr '(' $ac_mid ')' + 1`
22722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22725 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22726 '') if test "$ac_cv_type_long_long" = yes; then
22727 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22728 See \`config.log
' for more details." >&5
22729 echo "$as_me: error: cannot compute sizeof (long long)
22730 See \`config.log' for more details.
" >&2;}
22731 { (exit 77); exit 77; }; }
22733 ac_cv_sizeof_long_long=0
22737 cat >conftest.$ac_ext <<_ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22743 $ac_includes_default
22744 typedef long long ac__type_sizeof_;
22745 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22746 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22748 #include <stdlib.h>
22753 FILE *f = fopen ("conftest.val
", "w
");
22756 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22758 long int i = longval ();
22759 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22761 fprintf (f, "%ld
\n", i);
22765 unsigned long int i = ulongval ();
22766 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22768 fprintf (f, "%lu
\n", i);
22770 return ferror (f) || fclose (f) != 0;
22776 rm -f conftest$ac_exeext
22777 if { (ac_try="$ac_link"
22778 case "(($ac_try" in
22779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22780 *) ac_try_echo=$ac_try;;
22782 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22783 (eval "$ac_link") 2>&5
22785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22787 { (case "(($ac_try" in
22788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22789 *) ac_try_echo=$ac_try;;
22791 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22792 (eval "$ac_try") 2>&5
22794 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22795 (exit $ac_status); }; }; then
22796 ac_cv_sizeof_long_long=`cat conftest.val`
22798 echo "$as_me: program exited with status
$ac_status" >&5
22799 echo "$as_me: failed program was
:" >&5
22800 sed 's/^/| /' conftest.$ac_ext >&5
22802 ( exit $ac_status )
22803 if test "$ac_cv_type_long_long" = yes; then
22804 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22805 See \
`config.log' for more details." >&5
22806 echo "$as_me: error: cannot compute sizeof (long long)
22807 See \`config.log
' for more details." >&2;}
22808 { (exit 77); exit 77; }; }
22810 ac_cv_sizeof_long_long=0
22813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22817 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22818 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22822 cat >>confdefs.h <<_ACEOF
22823 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22829 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22830 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22831 if test "${ac_cv_type_wchar_t+set}" = set; then
22832 echo $ECHO_N "(cached) $ECHO_C" >&6
22834 cat >conftest.$ac_ext <<_ACEOF
22837 cat confdefs.h >>conftest.$ac_ext
22838 cat >>conftest.$ac_ext <<_ACEOF
22839 /* end confdefs.h. */
22841 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22842 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22843 # error "fake wchar_t"
22845 #ifdef HAVE_WCHAR_H
22847 # include <stddef.h>
22849 # include <wchar.h>
22851 #ifdef HAVE_STDLIB_H
22852 # include <stdlib.h>
22858 typedef wchar_t ac__type_new_
;
22862 if ((ac__type_new_
*) 0)
22864 if (sizeof
(ac__type_new_
))
22870 rm -f conftest.
$ac_objext
22871 if { (ac_try
="$ac_compile"
22872 case "(($ac_try" in
22873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22874 *) ac_try_echo=$ac_try;;
22876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22877 (eval "$ac_compile") 2>conftest.er1
22879 grep -v '^ *+' conftest.er1 >conftest.err
22881 cat conftest.err >&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); } && {
22884 test -z "$ac_c_werror_flag" ||
22885 test ! -s conftest.err
22886 } && test -s conftest.$ac_objext; then
22887 ac_cv_type_wchar_t=yes
22889 echo "$as_me: failed program was:" >&5
22890 sed 's/^/| /' conftest.$ac_ext >&5
22892 ac_cv_type_wchar_t=no
22895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22897 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22898 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22900 # The cast to long int works around a bug in the HP C Compiler
22901 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22902 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22903 # This bug is HP SR number 8606223364.
22904 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22905 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22906 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22907 echo $ECHO_N "(cached) $ECHO_C" >&6
22909 if test "$cross_compiling" = yes; then
22910 # Depending upon the size, compute the lo and hi bounds.
22911 cat >conftest.$ac_ext <<_ACEOF
22914 cat confdefs.h >>conftest.$ac_ext
22915 cat >>conftest.$ac_ext <<_ACEOF
22916 /* end confdefs.h. */
22918 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22919 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22920 # error "fake wchar_t"
22922 #ifdef HAVE_WCHAR_H
22924 # include <stddef.h>
22926 # include <wchar.h>
22928 #ifdef HAVE_STDLIB_H
22929 # include <stdlib.h>
22935 typedef wchar_t ac__type_sizeof_
;
22939 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22946 rm -f conftest.
$ac_objext
22947 if { (ac_try
="$ac_compile"
22948 case "(($ac_try" in
22949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22950 *) ac_try_echo=$ac_try;;
22952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22953 (eval "$ac_compile") 2>conftest.er1
22955 grep -v '^ *+' conftest.er1 >conftest.err
22957 cat conftest.err >&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } && {
22960 test -z "$ac_c_werror_flag" ||
22961 test ! -s conftest.err
22962 } && test -s conftest.$ac_objext; then
22965 cat >conftest.$ac_ext <<_ACEOF
22968 cat confdefs.h >>conftest.$ac_ext
22969 cat >>conftest.$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22972 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22973 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22974 # error "fake wchar_t"
22976 #ifdef HAVE_WCHAR_H
22978 # include <stddef.h>
22980 # include <wchar.h>
22982 #ifdef HAVE_STDLIB_H
22983 # include <stdlib.h>
22989 typedef wchar_t ac__type_sizeof_;
22993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23000 rm -f conftest.$ac_objext
23001 if { (ac_try="$ac_compile"
23002 case "(($ac_try" in
23003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23004 *) ac_try_echo
=$ac_try;;
23006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23007 (eval "$ac_compile") 2>conftest.er1
23009 grep -v '^ *+' conftest.er1
>conftest.err
23011 cat conftest.err
>&5
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); } && {
23014 test -z "$ac_c_werror_flag" ||
23015 test ! -s conftest.err
23016 } && test -s conftest.
$ac_objext; then
23017 ac_hi
=$ac_mid; break
23019 echo "$as_me: failed program was:" >&5
23020 sed 's/^/| /' conftest.
$ac_ext >&5
23022 ac_lo
=`expr $ac_mid + 1`
23023 if test $ac_lo -le $ac_mid; then
23027 ac_mid
=`expr 2 '*' $ac_mid + 1`
23030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23033 echo "$as_me: failed program was:" >&5
23034 sed 's/^/| /' conftest.
$ac_ext >&5
23036 cat >conftest.
$ac_ext <<_ACEOF
23039 cat confdefs.h
>>conftest.
$ac_ext
23040 cat >>conftest.
$ac_ext <<_ACEOF
23041 /* end confdefs.h. */
23043 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23044 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23045 # error "fake wchar_t"
23047 #ifdef HAVE_WCHAR_H
23049 # include <stddef.h>
23051 # include <wchar.h>
23053 #ifdef HAVE_STDLIB_H
23054 # include <stdlib.h>
23060 typedef wchar_t ac__type_sizeof_;
23064 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23071 rm -f conftest.
$ac_objext
23072 if { (ac_try
="$ac_compile"
23073 case "(($ac_try" in
23074 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23075 *) ac_try_echo=$ac_try;;
23077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23078 (eval "$ac_compile") 2>conftest.er1
23080 grep -v '^ *+' conftest.er1 >conftest.err
23082 cat conftest.err >&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); } && {
23085 test -z "$ac_c_werror_flag" ||
23086 test ! -s conftest.err
23087 } && test -s conftest.$ac_objext; then
23090 cat >conftest.$ac_ext <<_ACEOF
23093 cat confdefs.h >>conftest.$ac_ext
23094 cat >>conftest.$ac_ext <<_ACEOF
23095 /* end confdefs.h. */
23097 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23098 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23099 # error "fake wchar_t"
23101 #ifdef HAVE_WCHAR_H
23103 # include <stddef.h>
23105 # include <wchar.h>
23107 #ifdef HAVE_STDLIB_H
23108 # include <stdlib.h>
23114 typedef wchar_t ac__type_sizeof_;
23118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23125 rm -f conftest.$ac_objext
23126 if { (ac_try="$ac_compile"
23127 case "(($ac_try" in
23128 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23129 *) ac_try_echo
=$ac_try;;
23131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23132 (eval "$ac_compile") 2>conftest.er1
23134 grep -v '^ *+' conftest.er1
>conftest.err
23136 cat conftest.err
>&5
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); } && {
23139 test -z "$ac_c_werror_flag" ||
23140 test ! -s conftest.err
23141 } && test -s conftest.
$ac_objext; then
23142 ac_lo
=$ac_mid; break
23144 echo "$as_me: failed program was:" >&5
23145 sed 's/^/| /' conftest.
$ac_ext >&5
23147 ac_hi
=`expr '(' $ac_mid ')' - 1`
23148 if test $ac_mid -le $ac_hi; then
23152 ac_mid
=`expr 2 '*' $ac_mid`
23155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23158 echo "$as_me: failed program was:" >&5
23159 sed 's/^/| /' conftest.
$ac_ext >&5
23164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23168 # Binary search between lo and hi bounds.
23169 while test "x$ac_lo" != "x$ac_hi"; do
23170 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23171 cat >conftest.
$ac_ext <<_ACEOF
23174 cat confdefs.h
>>conftest.
$ac_ext
23175 cat >>conftest.
$ac_ext <<_ACEOF
23176 /* end confdefs.h. */
23178 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23179 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23180 # error "fake wchar_t"
23182 #ifdef HAVE_WCHAR_H
23184 # include <stddef.h>
23186 # include <wchar.h>
23188 #ifdef HAVE_STDLIB_H
23189 # include <stdlib.h>
23195 typedef wchar_t ac__type_sizeof_;
23199 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23206 rm -f conftest.
$ac_objext
23207 if { (ac_try
="$ac_compile"
23208 case "(($ac_try" in
23209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23210 *) ac_try_echo=$ac_try;;
23212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23213 (eval "$ac_compile") 2>conftest.er1
23215 grep -v '^ *+' conftest.er1 >conftest.err
23217 cat conftest.err >&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); } && {
23220 test -z "$ac_c_werror_flag" ||
23221 test ! -s conftest.err
23222 } && test -s conftest.$ac_objext; then
23225 echo "$as_me: failed program was:" >&5
23226 sed 's/^/| /' conftest.$ac_ext >&5
23228 ac_lo=`expr '(' $ac_mid ')' + 1`
23231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23234 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23235 '') if test "$ac_cv_type_wchar_t" = yes; then
23236 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23237 See \`config.log
' for more details." >&5
23238 echo "$as_me: error: cannot compute sizeof (wchar_t)
23239 See \`config.log' for more details.
" >&2;}
23240 { (exit 77); exit 77; }; }
23242 ac_cv_sizeof_wchar_t=0
23246 cat >conftest.$ac_ext <<_ACEOF
23249 cat confdefs.h >>conftest.$ac_ext
23250 cat >>conftest.$ac_ext <<_ACEOF
23251 /* end confdefs.h. */
23253 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23254 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23255 # error "fake wchar_t
"
23257 #ifdef HAVE_WCHAR_H
23259 # include <stddef.h>
23261 # include <wchar.h>
23263 #ifdef HAVE_STDLIB_H
23264 # include <stdlib.h>
23270 typedef wchar_t ac__type_sizeof_;
23271 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23272 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23274 #include <stdlib.h>
23279 FILE *f = fopen ("conftest.val
", "w
");
23282 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23284 long int i = longval ();
23285 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23287 fprintf (f, "%ld
\n", i);
23291 unsigned long int i = ulongval ();
23292 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23294 fprintf (f, "%lu
\n", i);
23296 return ferror (f) || fclose (f) != 0;
23302 rm -f conftest$ac_exeext
23303 if { (ac_try="$ac_link"
23304 case "(($ac_try" in
23305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23306 *) ac_try_echo=$ac_try;;
23308 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23309 (eval "$ac_link") 2>&5
23311 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23313 { (case "(($ac_try" in
23314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23315 *) ac_try_echo=$ac_try;;
23317 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23318 (eval "$ac_try") 2>&5
23320 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23321 (exit $ac_status); }; }; then
23322 ac_cv_sizeof_wchar_t=`cat conftest.val`
23324 echo "$as_me: program exited with status
$ac_status" >&5
23325 echo "$as_me: failed program was
:" >&5
23326 sed 's/^/| /' conftest.$ac_ext >&5
23328 ( exit $ac_status )
23329 if test "$ac_cv_type_wchar_t" = yes; then
23330 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23331 See \
`config.log' for more details." >&5
23332 echo "$as_me: error: cannot compute sizeof (wchar_t)
23333 See \`config.log
' for more details." >&2;}
23334 { (exit 77); exit 77; }; }
23336 ac_cv_sizeof_wchar_t=0
23339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23343 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23344 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23348 cat >>confdefs.h <<_ACEOF
23349 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23353 if test "$ac_cv_sizeof_wchar_t" != 0; then
23359 { echo "$as_me:$LINENO: checking for va_copy" >&5
23360 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23361 if test "${wx_cv_func_va_copy+set}" = set; then
23362 echo $ECHO_N "(cached) $ECHO_C" >&6
23366 ac_cpp='$CXXCPP $CPPFLAGS'
23367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23368 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23371 cat >conftest.$ac_ext <<_ACEOF
23373 #include <stdarg.h>
23374 void foo(char *f, ...)
23388 rm -f conftest.$ac_objext conftest$ac_exeext
23389 if { (ac_try="$ac_link"
23390 case "(($ac_try" in
23391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23392 *) ac_try_echo=$ac_try;;
23394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23395 (eval "$ac_link") 2>conftest.er1
23397 grep -v '^
*+' conftest.er1 >conftest.err
23399 cat conftest.err >&5
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); } && {
23402 test -z "$ac_cxx_werror_flag" ||
23403 test ! -s conftest.err
23404 } && test -s conftest$ac_exeext &&
23405 $as_test_x conftest$ac_exeext; then
23406 wx_cv_func_va_copy=yes
23408 echo "$as_me: failed program was:" >&5
23409 sed 's
/^
/| /' conftest.$ac_ext >&5
23411 wx_cv_func_va_copy=no
23415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23416 conftest$ac_exeext conftest.$ac_ext
23418 ac_cpp='$CPP $CPPFLAGS'
23419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23420 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23426 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23427 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23429 if test $wx_cv_func_va_copy = "yes"; then
23430 cat >>confdefs.h <<\_ACEOF
23431 #define HAVE_VA_COPY 1
23435 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23436 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23437 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23438 echo $ECHO_N "(cached) $ECHO_C" >&6
23441 if test "$cross_compiling" = yes; then
23442 wx_cv_type_va_list_lvalue=yes
23445 cat >conftest.$ac_ext <<_ACEOF
23447 #include <stdarg.h>
23448 int foo(char *f, ...)
23453 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23461 return foo("hi", 17);
23464 rm -f conftest$ac_exeext
23465 if { (ac_try="$ac_link"
23466 case "(($ac_try" in
23467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23468 *) ac_try_echo=$ac_try;;
23470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23471 (eval "$ac_link") 2>&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23475 { (case "(($ac_try" in
23476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23477 *) ac_try_echo=$ac_try;;
23479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23480 (eval "$ac_try") 2>&5
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); }; }; then
23484 wx_cv_type_va_list_lvalue=yes
23486 echo "$as_me: program exited with status $ac_status" >&5
23487 echo "$as_me: failed program was:" >&5
23488 sed 's
/^
/| /' conftest.$ac_ext >&5
23490 ( exit $ac_status )
23491 wx_cv_type_va_list_lvalue=no
23493 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23500 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23501 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23503 if test $wx_cv_type_va_list_lvalue != "yes"; then
23504 cat >>confdefs.h <<\_ACEOF
23505 #define VA_LIST_IS_ARRAY 1
23511 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23513 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23514 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23515 if test "${wx_cv_have_variadic_macros+set}" = set; then
23516 echo $ECHO_N "(cached) $ECHO_C" >&6
23520 ac_cpp='$CXXCPP $CPPFLAGS'
23521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23522 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23525 cat >conftest.$ac_ext <<_ACEOF
23528 cat confdefs.h >>conftest.$ac_ext
23529 cat >>conftest.$ac_ext <<_ACEOF
23530 /* end confdefs.h. */
23533 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23539 test("%s %d %p", "test", 1, 0);
23546 rm -f conftest.$ac_objext
23547 if { (ac_try="$ac_compile"
23548 case "(($ac_try" in
23549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23550 *) ac_try_echo=$ac_try;;
23552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23553 (eval "$ac_compile") 2>conftest.er1
23555 grep -v '^
*+' conftest.er1 >conftest.err
23557 cat conftest.err >&5
23558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559 (exit $ac_status); } && {
23560 test -z "$ac_cxx_werror_flag" ||
23561 test ! -s conftest.err
23562 } && test -s conftest.$ac_objext; then
23563 wx_cv_have_variadic_macros=yes
23565 echo "$as_me: failed program was:" >&5
23566 sed 's
/^
/| /' conftest.$ac_ext >&5
23568 wx_cv_have_variadic_macros=no
23572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23574 ac_cpp='$CPP $CPPFLAGS'
23575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23576 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23582 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23583 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23585 if test $wx_cv_have_variadic_macros = "yes"; then
23586 cat >>confdefs.h <<\_ACEOF
23587 #define HAVE_VARIADIC_MACROS 1
23594 LARGEFILE_CPPFLAGS=
23595 # Check whether --enable-largefile was given.
23596 if test "${enable_largefile+set}" = set; then
23597 enableval=$enable_largefile;
23600 if test "$enable_largefile" != no; then
23603 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23604 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23605 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23606 echo $ECHO_N "(cached) $ECHO_C" >&6
23609 cat >conftest.$ac_ext <<_ACEOF
23612 cat confdefs.h >>conftest.$ac_ext
23613 cat >>conftest.$ac_ext <<_ACEOF
23614 /* end confdefs.h. */
23615 #define _FILE_OFFSET_BITS 64
23616 #include <sys/types.h>
23621 unsigned int field: sizeof(off_t) == 8;
23628 rm -f conftest.$ac_objext
23629 if { (ac_try="$ac_compile"
23630 case "(($ac_try" in
23631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23632 *) ac_try_echo=$ac_try;;
23634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23635 (eval "$ac_compile") 2>conftest.er1
23637 grep -v '^
*+' conftest.er1 >conftest.err
23639 cat conftest.err >&5
23640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641 (exit $ac_status); } && {
23642 test -z "$ac_c_werror_flag" ||
23643 test ! -s conftest.err
23644 } && test -s conftest.$ac_objext; then
23645 ac_cv_sys_file_offset_bits=64
23647 echo "$as_me: failed program was:" >&5
23648 sed 's
/^
/| /' conftest.$ac_ext >&5
23650 ac_cv_sys_file_offset_bits=no
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23657 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23658 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23660 if test "$ac_cv_sys_file_offset_bits" != no; then
23662 cat >>confdefs.h <<_ACEOF
23663 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23668 if test "x$wx_largefile" != "xyes"; then
23670 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23671 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23672 if test "${ac_cv_sys_large_files+set}" = set; then
23673 echo $ECHO_N "(cached) $ECHO_C" >&6
23676 cat >conftest.$ac_ext <<_ACEOF
23679 cat confdefs.h >>conftest.$ac_ext
23680 cat >>conftest.$ac_ext <<_ACEOF
23681 /* end confdefs.h. */
23682 #define _LARGE_FILES 1
23683 #include <sys/types.h>
23688 unsigned int field: sizeof(off_t) == 8;
23695 rm -f conftest.$ac_objext
23696 if { (ac_try="$ac_compile"
23697 case "(($ac_try" in
23698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23699 *) ac_try_echo=$ac_try;;
23701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23702 (eval "$ac_compile") 2>conftest.er1
23704 grep -v '^
*+' conftest.er1 >conftest.err
23706 cat conftest.err >&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); } && {
23709 test -z "$ac_c_werror_flag" ||
23710 test ! -s conftest.err
23711 } && test -s conftest.$ac_objext; then
23712 ac_cv_sys_large_files=1
23714 echo "$as_me: failed program was:" >&5
23715 sed 's
/^
/| /' conftest.$ac_ext >&5
23717 ac_cv_sys_large_files=no
23720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23724 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23725 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23727 if test "$ac_cv_sys_large_files" != no; then
23729 cat >>confdefs.h <<_ACEOF
23730 #define _LARGE_FILES $ac_cv_sys_large_files
23737 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23738 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23739 if test "x$wx_largefile" = "xyes"; then
23740 cat >>confdefs.h <<\_ACEOF
23741 #define HAVE_LARGEFILE_SUPPORT 1
23745 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23746 echo "${ECHO_T}$wx_largefile" >&6; }
23749 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23750 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23751 elif test "$ac_cv_sys_large_files" = 1; then
23752 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23755 if test -n "$LARGEFILE_CPPFLAGS"; then
23756 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23758 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23759 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23760 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23761 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23762 echo $ECHO_N "(cached) $ECHO_C" >&6
23766 ac_cpp='$CXXCPP $CPPFLAGS'
23767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23768 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23771 cat >conftest.$ac_ext <<_ACEOF
23774 cat confdefs.h >>conftest.$ac_ext
23775 cat >>conftest.$ac_ext <<_ACEOF
23776 /* end confdefs.h. */
23782 #ifndef __STDC_EXT__
23790 rm -f conftest.$ac_objext
23791 if { (ac_try="$ac_compile"
23792 case "(($ac_try" in
23793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23794 *) ac_try_echo=$ac_try;;
23796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23797 (eval "$ac_compile") 2>conftest.er1
23799 grep -v '^
*+' conftest.er1 >conftest.err
23801 cat conftest.err >&5
23802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803 (exit $ac_status); } && {
23804 test -z "$ac_cxx_werror_flag" ||
23805 test ! -s conftest.err
23806 } && test -s conftest.$ac_objext; then
23807 wx_cv_STDC_EXT_required=no
23809 echo "$as_me: failed program was:" >&5
23810 sed 's
/^
/| /' conftest.$ac_ext >&5
23812 wx_cv_STDC_EXT_required=yes
23816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23818 ac_cpp='$CPP $CPPFLAGS'
23819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23820 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23826 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23827 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23828 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23829 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23835 ac_cpp='$CXXCPP $CPPFLAGS'
23836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23837 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23840 old_CPPFLAGS="$CPPFLAGS"
23841 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23842 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23843 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23844 if test "${ac_cv_sys_largefile_source+set}" = set; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23848 cat >conftest.$ac_ext <<_ACEOF
23851 cat confdefs.h >>conftest.$ac_ext
23852 cat >>conftest.$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854 #include <sys/types.h> /* for off_t */
23859 int (*fp) (FILE *, off_t, int) = fseeko;
23860 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23865 rm -f conftest.$ac_objext conftest$ac_exeext
23866 if { (ac_try="$ac_link"
23867 case "(($ac_try" in
23868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23869 *) ac_try_echo=$ac_try;;
23871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23872 (eval "$ac_link") 2>conftest.er1
23874 grep -v '^
*+' conftest.er1 >conftest.err
23876 cat conftest.err >&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); } && {
23879 test -z "$ac_cxx_werror_flag" ||
23880 test ! -s conftest.err
23881 } && test -s conftest$ac_exeext &&
23882 $as_test_x conftest$ac_exeext; then
23883 ac_cv_sys_largefile_source=no; break
23885 echo "$as_me: failed program was:" >&5
23886 sed 's
/^
/| /' conftest.$ac_ext >&5
23891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23892 conftest$ac_exeext conftest.$ac_ext
23893 cat >conftest.$ac_ext <<_ACEOF
23896 cat confdefs.h >>conftest.$ac_ext
23897 cat >>conftest.$ac_ext <<_ACEOF
23898 /* end confdefs.h. */
23899 #define _LARGEFILE_SOURCE 1
23900 #include <sys/types.h> /* for off_t */
23905 int (*fp) (FILE *, off_t, int) = fseeko;
23906 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23911 rm -f conftest.$ac_objext conftest$ac_exeext
23912 if { (ac_try="$ac_link"
23913 case "(($ac_try" in
23914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23915 *) ac_try_echo=$ac_try;;
23917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23918 (eval "$ac_link") 2>conftest.er1
23920 grep -v '^
*+' conftest.er1 >conftest.err
23922 cat conftest.err >&5
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); } && {
23925 test -z "$ac_cxx_werror_flag" ||
23926 test ! -s conftest.err
23927 } && test -s conftest$ac_exeext &&
23928 $as_test_x conftest$ac_exeext; then
23929 ac_cv_sys_largefile_source=1; break
23931 echo "$as_me: failed program was:" >&5
23932 sed 's
/^
/| /' conftest.$ac_ext >&5
23937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23938 conftest$ac_exeext conftest.$ac_ext
23939 ac_cv_sys_largefile_source=unknown
23943 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23944 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23945 case $ac_cv_sys_largefile_source in #(
23948 cat >>confdefs.h <<_ACEOF
23949 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23955 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23956 # in glibc 2.1.3, but that breaks too many other things.
23957 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23958 if test $ac_cv_sys_largefile_source != unknown; then
23960 cat >>confdefs.h <<\_ACEOF
23961 #define HAVE_FSEEKO 1
23966 CPPFLAGS="$old_CPPFLAGS"
23968 ac_cpp='$CPP $CPPFLAGS'
23969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23970 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23973 if test "$ac_cv_sys_largefile_source" != no; then
23974 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23977 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23978 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23979 if test "${ac_cv_c_bigendian+set}" = set; then
23980 echo $ECHO_N "(cached) $ECHO_C" >&6
23982 ac_cv_c_bigendian=unknown
23983 # See if sys/param.h defines the BYTE_ORDER macro.
23984 cat >conftest.$ac_ext <<_ACEOF
23987 cat confdefs.h >>conftest.$ac_ext
23988 cat >>conftest.$ac_ext <<_ACEOF
23989 /* end confdefs.h. */
23990 #include <sys/types.h>
23991 #include <sys/param.h>
23996 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23997 bogus endian macros
24003 rm -f conftest.$ac_objext
24004 if { (ac_try="$ac_compile"
24005 case "(($ac_try" in
24006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24007 *) ac_try_echo=$ac_try;;
24009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24010 (eval "$ac_compile") 2>conftest.er1
24012 grep -v '^
*+' conftest.er1 >conftest.err
24014 cat conftest.err >&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); } && {
24017 test -z "$ac_c_werror_flag" ||
24018 test ! -s conftest.err
24019 } && test -s conftest.$ac_objext; then
24020 # It does; now see whether it defined to BIG_ENDIAN or not.
24021 cat >conftest.$ac_ext <<_ACEOF
24024 cat confdefs.h >>conftest.$ac_ext
24025 cat >>conftest.$ac_ext <<_ACEOF
24026 /* end confdefs.h. */
24027 #include <sys/types.h>
24028 #include <sys/param.h>
24033 #if BYTE_ORDER != BIG_ENDIAN
24040 rm -f conftest.$ac_objext
24041 if { (ac_try="$ac_compile"
24042 case "(($ac_try" in
24043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24044 *) ac_try_echo=$ac_try;;
24046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24047 (eval "$ac_compile") 2>conftest.er1
24049 grep -v '^
*+' conftest.er1 >conftest.err
24051 cat conftest.err >&5
24052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24053 (exit $ac_status); } && {
24054 test -z "$ac_c_werror_flag" ||
24055 test ! -s conftest.err
24056 } && test -s conftest.$ac_objext; then
24057 ac_cv_c_bigendian=yes
24059 echo "$as_me: failed program was:" >&5
24060 sed 's
/^
/| /' conftest.$ac_ext >&5
24062 ac_cv_c_bigendian=no
24065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24067 echo "$as_me: failed program was:" >&5
24068 sed 's
/^
/| /' conftest.$ac_ext >&5
24073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24074 if test $ac_cv_c_bigendian = unknown; then
24075 if test "$cross_compiling" = yes; then
24076 ac_cv_c_bigendian=unknown
24078 cat >conftest.$ac_ext <<_ACEOF
24081 cat confdefs.h >>conftest.$ac_ext
24082 cat >>conftest.$ac_ext <<_ACEOF
24083 /* end confdefs.h. */
24085 /* Are we little or big endian? From Harbison&Steele. */
24089 char c[sizeof (long)];
24092 exit (u.c[sizeof (long) - 1] == 1);
24095 rm -f conftest$ac_exeext
24096 if { (ac_try="$ac_link"
24097 case "(($ac_try" in
24098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24099 *) ac_try_echo=$ac_try;;
24101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24102 (eval "$ac_link") 2>&5
24104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24105 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24106 { (case "(($ac_try" in
24107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24108 *) ac_try_echo=$ac_try;;
24110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24111 (eval "$ac_try") 2>&5
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; }; then
24115 ac_cv_c_bigendian=no
24117 echo "$as_me: program exited with status $ac_status" >&5
24118 echo "$as_me: failed program was:" >&5
24119 sed 's
/^
/| /' conftest.$ac_ext >&5
24121 ( exit $ac_status )
24122 ac_cv_c_bigendian=yes
24124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24130 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24131 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24132 if test $ac_cv_c_bigendian = unknown; then
24133 { 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
24134 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;}
24136 if test $ac_cv_c_bigendian = yes; then
24137 cat >>confdefs.h <<\_ACEOF
24138 #define WORDS_BIGENDIAN 1
24147 ac_cpp='$CXXCPP $CPPFLAGS'
24148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24149 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24154 for ac_header in iostream
24156 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24157 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24160 echo $ECHO_N "(cached) $ECHO_C" >&6
24162 cat >conftest.$ac_ext <<_ACEOF
24165 cat confdefs.h >>conftest.$ac_ext
24166 cat >>conftest.$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24170 #include <$ac_header>
24172 rm -f conftest.$ac_objext
24173 if { (ac_try="$ac_compile"
24174 case "(($ac_try" in
24175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24176 *) ac_try_echo=$ac_try;;
24178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24179 (eval "$ac_compile") 2>conftest.er1
24181 grep -v '^
*+' conftest.er1 >conftest.err
24183 cat conftest.err >&5
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); } && {
24186 test -z "$ac_cxx_werror_flag" ||
24187 test ! -s conftest.err
24188 } && test -s conftest.$ac_objext; then
24189 eval "$as_ac_Header=yes"
24191 echo "$as_me: failed program was:" >&5
24192 sed 's
/^
/| /' conftest.$ac_ext >&5
24194 eval "$as_ac_Header=no"
24197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24199 ac_res=`eval echo '${'$as_ac_Header'}'`
24200 { echo "$as_me:$LINENO: result: $ac_res" >&5
24201 echo "${ECHO_T}$ac_res" >&6; }
24202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24203 cat >>confdefs.h <<_ACEOF
24204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24212 if test "$ac_cv_header_iostream" = "yes" ; then
24215 cat >>confdefs.h <<\_ACEOF
24216 #define wxUSE_IOSTREAMH 1
24222 ac_cpp='$CPP $CPPFLAGS'
24223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24224 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24230 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24231 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24232 if test "${wx_cv_explicit+set}" = set; then
24233 echo $ECHO_N "(cached) $ECHO_C" >&6
24238 ac_cpp='$CXXCPP $CPPFLAGS'
24239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24240 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24244 cat >conftest.$ac_ext <<_ACEOF
24247 cat confdefs.h >>conftest.$ac_ext
24248 cat >>conftest.$ac_ext <<_ACEOF
24249 /* end confdefs.h. */
24251 class Foo { public: explicit Foo(int) {} };
24263 rm -f conftest.$ac_objext
24264 if { (ac_try="$ac_compile"
24265 case "(($ac_try" in
24266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24267 *) ac_try_echo=$ac_try;;
24269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24270 (eval "$ac_compile") 2>conftest.er1
24272 grep -v '^
*+' conftest.er1 >conftest.err
24274 cat conftest.err >&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); } && {
24277 test -z "$ac_cxx_werror_flag" ||
24278 test ! -s conftest.err
24279 } && test -s conftest.$ac_objext; then
24281 cat >conftest.$ac_ext <<_ACEOF
24284 cat confdefs.h >>conftest.$ac_ext
24285 cat >>conftest.$ac_ext <<_ACEOF
24286 /* end confdefs.h. */
24288 class Foo { public: explicit Foo(int) {} };
24289 static void TakeFoo(const Foo& foo) { }
24302 rm -f conftest.$ac_objext
24303 if { (ac_try="$ac_compile"
24304 case "(($ac_try" in
24305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24306 *) ac_try_echo=$ac_try;;
24308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24309 (eval "$ac_compile") 2>conftest.er1
24311 grep -v '^
*+' conftest.er1 >conftest.err
24313 cat conftest.err >&5
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } && {
24316 test -z "$ac_cxx_werror_flag" ||
24317 test ! -s conftest.err
24318 } && test -s conftest.$ac_objext; then
24321 echo "$as_me: failed program was:" >&5
24322 sed 's
/^
/| /' conftest.$ac_ext >&5
24328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24331 echo "$as_me: failed program was:" >&5
24332 sed 's
/^
/| /' conftest.$ac_ext >&5
24338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24341 ac_cpp='$CPP $CPPFLAGS'
24342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24343 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24348 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24349 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24351 if test "$wx_cv_explicit" = "yes"; then
24352 cat >>confdefs.h <<\_ACEOF
24353 #define HAVE_EXPLICIT 1
24359 if test "x$SUNCXX" = xyes; then
24360 CXXFLAGS="-features=tmplife $CXXFLAGS"
24363 if test "x$SUNCC" = xyes; then
24364 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24367 if test "x$SGICC" = "xyes"; then
24368 CFLAGS="-woff 3970 $CFLAGS"
24370 if test "x$SGICXX" = "xyes"; then
24371 CXXFLAGS="-woff 3970 $CXXFLAGS"
24374 if test "x$HPCC" = "xyes"; then
24375 CFLAGS="+W 2011,2450 $CFLAGS"
24377 if test "x$HPCXX" = "xyes"; then
24378 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24381 if test "x$COMPAQCXX" = "xyes"; then
24382 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24386 ac_cpp='$CXXCPP $CPPFLAGS'
24387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24388 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24392 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24393 if test "$wxUSE_UNICODE" = "yes"; then
24394 std_string="std::wstring"
24395 char_type="wchar_t"
24397 std_string="std::string"
24401 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24402 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24403 if test "${wx_cv_class_stdstring+set}" = set; then
24404 echo $ECHO_N "(cached) $ECHO_C" >&6
24407 cat >conftest.$ac_ext <<_ACEOF
24410 cat confdefs.h >>conftest.$ac_ext
24411 cat >>conftest.$ac_ext <<_ACEOF
24412 /* end confdefs.h. */
24422 rm -f conftest.$ac_objext
24423 if { (ac_try="$ac_compile"
24424 case "(($ac_try" in
24425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24426 *) ac_try_echo=$ac_try;;
24428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24429 (eval "$ac_compile") 2>conftest.er1
24431 grep -v '^
*+' conftest.er1 >conftest.err
24433 cat conftest.err >&5
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); } && {
24436 test -z "$ac_cxx_werror_flag" ||
24437 test ! -s conftest.err
24438 } && test -s conftest.$ac_objext; then
24439 wx_cv_class_stdstring=yes
24441 echo "$as_me: failed program was:" >&5
24442 sed 's
/^
/| /' conftest.$ac_ext >&5
24444 wx_cv_class_stdstring=no
24448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24452 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24453 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24455 if test "$wx_cv_class_stdstring" = yes; then
24456 if test "$wxUSE_UNICODE" = "yes"; then
24457 cat >>confdefs.h <<\_ACEOF
24458 #define HAVE_STD_WSTRING 1
24463 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24464 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24465 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24466 echo $ECHO_N "(cached) $ECHO_C" >&6
24469 cat >conftest.$ac_ext <<_ACEOF
24472 cat confdefs.h >>conftest.$ac_ext
24473 cat >>conftest.$ac_ext <<_ACEOF
24474 /* end confdefs.h. */
24476 #ifdef HAVE_WCHAR_H
24478 # include <stddef.h>
24480 # include <wchar.h>
24482 #ifdef HAVE_STDLIB_H
24483 # include <stdlib.h>
24491 std::basic_string<$char_type> foo;
24492 const $char_type* dummy = foo.c_str();
24497 rm -f conftest.$ac_objext
24498 if { (ac_try="$ac_compile"
24499 case "(($ac_try" in
24500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24501 *) ac_try_echo=$ac_try;;
24503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24504 (eval "$ac_compile") 2>conftest.er1
24506 grep -v '^
*+' conftest.er1 >conftest.err
24508 cat conftest.err >&5
24509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24510 (exit $ac_status); } && {
24511 test -z "$ac_cxx_werror_flag" ||
24512 test ! -s conftest.err
24513 } && test -s conftest.$ac_objext; then
24514 wx_cv_class_stdbasicstring=yes
24516 echo "$as_me: failed program was:" >&5
24517 sed 's
/^
/| /' conftest.$ac_ext >&5
24519 wx_cv_class_stdbasicstring=no
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24527 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24528 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24530 if test "$wx_cv_class_stdbasicstring" != yes; then
24531 if test "$wxUSE_STL" = "yes"; then
24532 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24533 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24534 { (exit 1); exit 1; }; }
24535 elif test "$wxUSE_STD_STRING" = "yes"; then
24536 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24537 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24538 { (exit 1); exit 1; }; }
24540 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24541 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24542 wxUSE_STD_STRING=no
24548 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24549 { echo "$as_me:$LINENO: checking for std::istream" >&5
24550 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24551 if test "${ac_cv_type_std__istream+set}" = set; then
24552 echo $ECHO_N "(cached) $ECHO_C" >&6
24554 cat >conftest.$ac_ext <<_ACEOF
24557 cat confdefs.h >>conftest.$ac_ext
24558 cat >>conftest.$ac_ext <<_ACEOF
24559 /* end confdefs.h. */
24560 #include <iostream>
24562 typedef std::istream ac__type_new_;
24566 if ((ac__type_new_ *) 0)
24568 if (sizeof (ac__type_new_))
24574 rm -f conftest.$ac_objext
24575 if { (ac_try="$ac_compile"
24576 case "(($ac_try" in
24577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24578 *) ac_try_echo=$ac_try;;
24580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24581 (eval "$ac_compile") 2>conftest.er1
24583 grep -v '^
*+' conftest.er1 >conftest.err
24585 cat conftest.err >&5
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); } && {
24588 test -z "$ac_cxx_werror_flag" ||
24589 test ! -s conftest.err
24590 } && test -s conftest.$ac_objext; then
24591 ac_cv_type_std__istream=yes
24593 echo "$as_me: failed program was:" >&5
24594 sed 's
/^
/| /' conftest.$ac_ext >&5
24596 ac_cv_type_std__istream=no
24599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24601 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24602 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24603 if test $ac_cv_type_std__istream = yes; then
24605 cat >>confdefs.h <<_ACEOF
24606 #define HAVE_STD__ISTREAM 1
24611 wxUSE_STD_IOSTREAM=no
24613 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24614 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24615 if test "${ac_cv_type_std__ostream+set}" = set; then
24616 echo $ECHO_N "(cached) $ECHO_C" >&6
24618 cat >conftest.$ac_ext <<_ACEOF
24621 cat confdefs.h >>conftest.$ac_ext
24622 cat >>conftest.$ac_ext <<_ACEOF
24623 /* end confdefs.h. */
24624 #include <iostream>
24626 typedef std::ostream ac__type_new_;
24630 if ((ac__type_new_ *) 0)
24632 if (sizeof (ac__type_new_))
24638 rm -f conftest.$ac_objext
24639 if { (ac_try="$ac_compile"
24640 case "(($ac_try" in
24641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24642 *) ac_try_echo=$ac_try;;
24644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24645 (eval "$ac_compile") 2>conftest.er1
24647 grep -v '^
*+' conftest.er1 >conftest.err
24649 cat conftest.err >&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } && {
24652 test -z "$ac_cxx_werror_flag" ||
24653 test ! -s conftest.err
24654 } && test -s conftest.$ac_objext; then
24655 ac_cv_type_std__ostream=yes
24657 echo "$as_me: failed program was:" >&5
24658 sed 's
/^
/| /' conftest.$ac_ext >&5
24660 ac_cv_type_std__ostream=no
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24665 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24666 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24667 if test $ac_cv_type_std__ostream = yes; then
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE_STD__OSTREAM 1
24675 wxUSE_STD_IOSTREAM=no
24679 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24680 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24681 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24682 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24683 { (exit 1); exit 1; }; }
24685 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24686 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24691 if test "$wxUSE_STL" = "yes"; then
24692 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24693 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24694 if test "${wx_cv_lib_stl+set}" = set; then
24695 echo $ECHO_N "(cached) $ECHO_C" >&6
24697 cat >conftest.$ac_ext <<_ACEOF
24700 cat confdefs.h >>conftest.$ac_ext
24701 cat >>conftest.$ac_ext <<_ACEOF
24702 /* end confdefs.h. */
24704 #include <functional>
24705 #include <algorithm>
24711 std::vector<int> moo;
24712 std::list<int> foo;
24713 std::vector<int>::iterator it =
24714 std::find_if(moo.begin(), moo.end(),
24715 std::bind2nd(std::less<int>(), 3));
24720 rm -f conftest.$ac_objext
24721 if { (ac_try="$ac_compile"
24722 case "(($ac_try" in
24723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24724 *) ac_try_echo=$ac_try;;
24726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24727 (eval "$ac_compile") 2>conftest.er1
24729 grep -v '^
*+' conftest.er1 >conftest.err
24731 cat conftest.err >&5
24732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24733 (exit $ac_status); } && {
24734 test -z "$ac_cxx_werror_flag" ||
24735 test ! -s conftest.err
24736 } && test -s conftest.$ac_objext; then
24739 echo "$as_me: failed program was:" >&5
24740 sed 's
/^
/| /' conftest.$ac_ext >&5
24746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24749 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24750 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24752 if test "$wx_cv_lib_stl" != yes; then
24753 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24754 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24755 { (exit 1); exit 1; }; }
24758 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24759 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24760 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24761 echo $ECHO_N "(cached) $ECHO_C" >&6
24763 cat >conftest.$ac_ext <<_ACEOF
24766 cat confdefs.h >>conftest.$ac_ext
24767 cat >>conftest.$ac_ext <<_ACEOF
24768 /* end confdefs.h. */
24773 std::string foo, bar;
24775 foo.compare(1, 1, bar);
24776 foo.compare(1, 1, bar, 1, 1);
24778 foo.compare(1, 1, "");
24779 foo.compare(1, 1, "", 2);
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24793 grep -v '^
*+' conftest.er1 >conftest.err
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_cxx_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 wx_cv_func_stdstring_compare=yes
24803 echo "$as_me: failed program was:" >&5
24804 sed 's
/^
/| /' conftest.$ac_ext >&5
24806 wx_cv_func_stdstring_compare=no
24810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24813 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24814 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24816 if test "$wx_cv_func_stdstring_compare" = yes; then
24817 cat >>confdefs.h <<\_ACEOF
24818 #define HAVE_STD_STRING_COMPARE 1
24823 if test "$wx_cv_class_gnuhashmapset" = yes; then
24824 cat >>confdefs.h <<\_ACEOF
24825 #define HAVE_EXT_HASH_MAP 1
24828 cat >>confdefs.h <<\_ACEOF
24829 #define HAVE_GNU_CXX_HASH_MAP 1
24834 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24835 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24836 if test "${ac_cv_header_unordered_map+set}" = set; then
24837 echo $ECHO_N "(cached) $ECHO_C" >&6
24839 cat >conftest.$ac_ext <<_ACEOF
24842 cat confdefs.h >>conftest.$ac_ext
24843 cat >>conftest.$ac_ext <<_ACEOF
24844 /* end confdefs.h. */
24848 #include <unordered_map>
24850 rm -f conftest.$ac_objext
24851 if { (ac_try="$ac_compile"
24852 case "(($ac_try" in
24853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24854 *) ac_try_echo=$ac_try;;
24856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24857 (eval "$ac_compile") 2>conftest.er1
24859 grep -v '^
*+' conftest.er1 >conftest.err
24861 cat conftest.err >&5
24862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24863 (exit $ac_status); } && {
24864 test -z "$ac_cxx_werror_flag" ||
24865 test ! -s conftest.err
24866 } && test -s conftest.$ac_objext; then
24867 ac_cv_header_unordered_map=yes
24869 echo "$as_me: failed program was:" >&5
24870 sed 's
/^
/| /' conftest.$ac_ext >&5
24872 ac_cv_header_unordered_map=no
24875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24877 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24878 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24879 if test $ac_cv_header_unordered_map = yes; then
24880 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24881 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24882 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24883 echo $ECHO_N "(cached) $ECHO_C" >&6
24885 cat >conftest.$ac_ext <<_ACEOF
24888 cat confdefs.h >>conftest.$ac_ext
24889 cat >>conftest.$ac_ext <<_ACEOF
24890 /* end confdefs.h. */
24891 #include <unordered_map>
24892 #include <unordered_set>
24896 std::unordered_map<double*, char*> test1;
24897 std::unordered_set<char*> test2;
24902 rm -f conftest.$ac_objext
24903 if { (ac_try="$ac_compile"
24904 case "(($ac_try" in
24905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24906 *) ac_try_echo=$ac_try;;
24908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24909 (eval "$ac_compile") 2>conftest.er1
24911 grep -v '^
*+' conftest.er1 >conftest.err
24913 cat conftest.err >&5
24914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24915 (exit $ac_status); } && {
24916 test -z "$ac_cxx_werror_flag" ||
24917 test ! -s conftest.err
24918 } && test -s conftest.$ac_objext; then
24919 wx_cv_class_stdunorderedmapset=yes
24921 echo "$as_me: failed program was:" >&5
24922 sed 's
/^
/| /' conftest.$ac_ext >&5
24924 wx_cv_class_stdunorderedmapset=no
24927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24931 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24932 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24937 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24938 cat >>confdefs.h <<\_ACEOF
24939 #define HAVE_STD_UNORDERED_MAP 1
24942 cat >>confdefs.h <<\_ACEOF
24943 #define HAVE_STD_UNORDERED_SET 1
24947 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24948 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24949 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24950 echo $ECHO_N "(cached) $ECHO_C" >&6
24952 cat >conftest.$ac_ext <<_ACEOF
24955 cat confdefs.h >>conftest.$ac_ext
24956 cat >>conftest.$ac_ext <<_ACEOF
24957 /* end confdefs.h. */
24961 #include <tr1/unordered_map>
24963 rm -f conftest.$ac_objext
24964 if { (ac_try="$ac_compile"
24965 case "(($ac_try" in
24966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24967 *) ac_try_echo=$ac_try;;
24969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24970 (eval "$ac_compile") 2>conftest.er1
24972 grep -v '^
*+' conftest.er1 >conftest.err
24974 cat conftest.err >&5
24975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24976 (exit $ac_status); } && {
24977 test -z "$ac_cxx_werror_flag" ||
24978 test ! -s conftest.err
24979 } && test -s conftest.$ac_objext; then
24980 ac_cv_header_tr1_unordered_map=yes
24982 echo "$as_me: failed program was:" >&5
24983 sed 's
/^
/| /' conftest.$ac_ext >&5
24985 ac_cv_header_tr1_unordered_map=no
24988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24990 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24991 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24992 if test $ac_cv_header_tr1_unordered_map = yes; then
24993 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24994 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24995 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24996 echo $ECHO_N "(cached) $ECHO_C" >&6
24998 cat >conftest.$ac_ext <<_ACEOF
25001 cat confdefs.h >>conftest.$ac_ext
25002 cat >>conftest.$ac_ext <<_ACEOF
25003 /* end confdefs.h. */
25004 #include <tr1/unordered_map>
25005 #include <tr1/unordered_set>
25009 std::tr1::unordered_map<double*, char*> test1;
25010 std::tr1::unordered_set<char*> test2;
25011 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25012 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25018 rm -f conftest.
$ac_objext
25019 if { (ac_try
="$ac_compile"
25020 case "(($ac_try" in
25021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25022 *) ac_try_echo=$ac_try;;
25024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25025 (eval "$ac_compile") 2>conftest.er1
25027 grep -v '^ *+' conftest.er1 >conftest.err
25029 cat conftest.err >&5
25030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25031 (exit $ac_status); } && {
25032 test -z "$ac_cxx_werror_flag" ||
25033 test ! -s conftest.err
25034 } && test -s conftest.$ac_objext; then
25035 wx_cv_class_tr1unorderedmapset=yes
25037 echo "$as_me: failed program was:" >&5
25038 sed 's/^/| /' conftest.$ac_ext >&5
25040 wx_cv_class_tr1unorderedmapset=no
25043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25047 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25048 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25053 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25054 cat >>confdefs.h <<\_ACEOF
25055 #define HAVE_TR1_UNORDERED_MAP 1
25058 cat >>confdefs.h <<\_ACEOF
25059 #define HAVE_TR1_UNORDERED_SET 1
25063 { echo "$as_me:$LINENO: checking for hash_map" >&5
25064 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25065 if test "${ac_cv_header_hash_map+set}" = set; then
25066 echo $ECHO_N "(cached) $ECHO_C" >&6
25068 cat >conftest.$ac_ext <<_ACEOF
25071 cat confdefs.h >>conftest.$ac_ext
25072 cat >>conftest.$ac_ext <<_ACEOF
25073 /* end confdefs.h. */
25077 #include <hash_map>
25079 rm -f conftest.$ac_objext
25080 if { (ac_try="$ac_compile"
25081 case "(($ac_try" in
25082 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25083 *) ac_try_echo
=$ac_try;;
25085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25086 (eval "$ac_compile") 2>conftest.er1
25088 grep -v '^ *+' conftest.er1
>conftest.err
25090 cat conftest.err
>&5
25091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25092 (exit $ac_status); } && {
25093 test -z "$ac_cxx_werror_flag" ||
25094 test ! -s conftest.err
25095 } && test -s conftest.
$ac_objext; then
25096 ac_cv_header_hash_map
=yes
25098 echo "$as_me: failed program was:" >&5
25099 sed 's/^/| /' conftest.
$ac_ext >&5
25101 ac_cv_header_hash_map
=no
25104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25106 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25107 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25108 if test $ac_cv_header_hash_map = yes; then
25109 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25110 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25111 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25112 echo $ECHO_N "(cached) $ECHO_C" >&6
25114 cat >conftest.
$ac_ext <<_ACEOF
25117 cat confdefs.h
>>conftest.
$ac_ext
25118 cat >>conftest.
$ac_ext <<_ACEOF
25119 /* end confdefs.h. */
25120 #include <hash_map>
25121 #include <hash_set>
25125 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25126 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25131 rm -f conftest.
$ac_objext
25132 if { (ac_try
="$ac_compile"
25133 case "(($ac_try" in
25134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25135 *) ac_try_echo=$ac_try;;
25137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25138 (eval "$ac_compile") 2>conftest.er1
25140 grep -v '^ *+' conftest.er1 >conftest.err
25142 cat conftest.err >&5
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); } && {
25145 test -z "$ac_cxx_werror_flag" ||
25146 test ! -s conftest.err
25147 } && test -s conftest.$ac_objext; then
25148 wx_cv_class_stdhashmapset=yes
25150 echo "$as_me: failed program was:" >&5
25151 sed 's/^/| /' conftest.$ac_ext >&5
25153 wx_cv_class_stdhashmapset=no
25156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25160 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25161 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25166 if test "$wx_cv_class_stdhashmapset" = yes; then
25167 cat >>confdefs.h <<\_ACEOF
25168 #define HAVE_HASH_MAP 1
25171 cat >>confdefs.h <<\_ACEOF
25172 #define HAVE_STD_HASH_MAP 1
25177 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25178 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25179 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25180 echo $ECHO_N "(cached) $ECHO_C" >&6
25182 cat >conftest.$ac_ext <<_ACEOF
25185 cat confdefs.h >>conftest.$ac_ext
25186 cat >>conftest.$ac_ext <<_ACEOF
25187 /* end confdefs.h. */
25191 #include <ext/hash_map>
25193 rm -f conftest.$ac_objext
25194 if { (ac_try="$ac_compile"
25195 case "(($ac_try" in
25196 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25197 *) ac_try_echo
=$ac_try;;
25199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25200 (eval "$ac_compile") 2>conftest.er1
25202 grep -v '^ *+' conftest.er1
>conftest.err
25204 cat conftest.err
>&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } && {
25207 test -z "$ac_cxx_werror_flag" ||
25208 test ! -s conftest.err
25209 } && test -s conftest.
$ac_objext; then
25210 ac_cv_header_ext_hash_map
=yes
25212 echo "$as_me: failed program was:" >&5
25213 sed 's/^/| /' conftest.
$ac_ext >&5
25215 ac_cv_header_ext_hash_map
=no
25218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25220 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25221 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25222 if test $ac_cv_header_ext_hash_map = yes; then
25223 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25224 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25225 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25226 echo $ECHO_N "(cached) $ECHO_C" >&6
25228 cat >conftest.
$ac_ext <<_ACEOF
25231 cat confdefs.h
>>conftest.
$ac_ext
25232 cat >>conftest.
$ac_ext <<_ACEOF
25233 /* end confdefs.h. */
25234 #include <ext/hash_map>
25235 #include <ext/hash_set>
25239 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25240 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25245 rm -f conftest.
$ac_objext
25246 if { (ac_try
="$ac_compile"
25247 case "(($ac_try" in
25248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25249 *) ac_try_echo=$ac_try;;
25251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25252 (eval "$ac_compile") 2>conftest.er1
25254 grep -v '^ *+' conftest.er1 >conftest.err
25256 cat conftest.err >&5
25257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25258 (exit $ac_status); } && {
25259 test -z "$ac_cxx_werror_flag" ||
25260 test ! -s conftest.err
25261 } && test -s conftest.$ac_objext; then
25262 wx_cv_class_gnuhashmapset=yes
25264 echo "$as_me: failed program was:" >&5
25265 sed 's/^/| /' conftest.$ac_ext >&5
25267 wx_cv_class_gnuhashmapset=no
25270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25274 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25275 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25286 if test -n "$GCC"; then
25287 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25288 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25289 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25290 echo $ECHO_N "(cached) $ECHO_C" >&6
25293 cat >conftest.$ac_ext <<_ACEOF
25296 cat confdefs.h >>conftest.$ac_ext
25297 cat >>conftest.$ac_ext <<_ACEOF
25298 /* end confdefs.h. */
25304 unsigned int value=0;
25305 /* wxAtomicInc doesn't use return value here */
25306 __sync_fetch_and_add(&value, 2);
25307 __sync_sub_and_fetch(&value, 1);
25308 /* but wxAtomicDec does, so mimic that: */
25309 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25315 rm -f conftest.$ac_objext conftest$ac_exeext
25316 if { (ac_try="$ac_link"
25317 case "(($ac_try" in
25318 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25319 *) ac_try_echo
=$ac_try;;
25321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25322 (eval "$ac_link") 2>conftest.er1
25324 grep -v '^ *+' conftest.er1
>conftest.err
25326 cat conftest.err
>&5
25327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25328 (exit $ac_status); } && {
25329 test -z "$ac_cxx_werror_flag" ||
25330 test ! -s conftest.err
25331 } && test -s conftest
$ac_exeext &&
25332 $as_test_x conftest
$ac_exeext; then
25333 wx_cv_cc_gcc_atomic_builtins
=yes
25335 echo "$as_me: failed program was:" >&5
25336 sed 's/^/| /' conftest.
$ac_ext >&5
25338 wx_cv_cc_gcc_atomic_builtins
=no
25341 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25342 conftest
$ac_exeext conftest.
$ac_ext
25346 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25347 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25348 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25349 cat >>confdefs.h
<<\_ACEOF
25350 #define HAVE_GCC_ATOMIC_BUILTINS 1
25358 ac_cpp
='$CPP $CPPFLAGS'
25359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25366 /usr/local/include \
25367 /usr/local/X11/include \
25368 /usr/local/include/X11 \
25369 /usr/local/X11R7/include \
25370 /usr/local/X11R6/include \
25371 /usr/local/include/X11R7 \
25372 /usr/local/include/X11R6 \
25374 /usr/Motif-2.1/include \
25375 /usr/Motif-1.2/include \
25376 /usr/include/Motif1.2 \
25379 /usr/openwin/include \
25383 /usr/X11R7/include \
25384 /usr/X11R6/include \
25385 /usr/X11R6.4/include \
25387 /usr/include/X11R7 \
25388 /usr/include/X11R6 \
25393 /usr/XFree86/include/X11 \
25396 /usr/local/X1R5/include \
25397 /usr/local/include/X11R5 \
25398 /usr/X11R5/include \
25399 /usr/include/X11R5 \
25401 /usr/local/X11R4/include \
25402 /usr/local/include/X11R4 \
25403 /usr/X11R4/include \
25404 /usr/include/X11R4 \
25406 /usr/openwin/share/include"
25408 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25409 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25413 if test "${wx_cv_std_libpath+set}" = set; then
25414 echo $ECHO_N "(cached) $ECHO_C" >&6
25417 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25418 for e
in a so sl dylib dll.a
; do
25420 if test -f $libc; then
25423 cat >conftest.
$ac_ext <<_ACEOF
25424 int main() { return 0; }
25426 rm -f conftest.
$ac_objext conftest
$ac_exeext
25427 if { (ac_try
="$ac_link"
25428 case "(($ac_try" in
25429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25430 *) ac_try_echo=$ac_try;;
25432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25433 (eval "$ac_link") 2>conftest.er1
25435 grep -v '^ *+' conftest.er1 >conftest.err
25437 cat conftest.err >&5
25438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25439 (exit $ac_status); } && {
25440 test -z "$ac_c_werror_flag" ||
25441 test ! -s conftest.err
25442 } && test -s conftest$ac_exeext &&
25443 $as_test_x conftest$ac_exeext; then
25444 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25446 echo "$as_me: failed program was:" >&5
25447 sed 's/^/| /' conftest.$ac_ext >&5
25452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25453 conftest$ac_exeext conftest.$ac_ext
25455 if test "x$wx_cv_std_libpath" != "x"; then
25461 if test "x$wx_cv_std_libpath" = "x"; then
25462 wx_cv_std_libpath="lib"
25471 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25472 wx_cv_std_libpath="lib/64"
25474 wx_cv_std_libpath="lib"
25479 if test "$ac_cv_sizeof_void_p" = 8 -a \
25480 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25481 wx_cv_std_libpath="lib64"
25483 wx_cv_std_libpath="lib"
25488 wx_cv_std_libpath="lib";
25492 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25493 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25495 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25497 if test "$build" != "$host" -a "$GCC" = yes; then
25498 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25499 cross_root=`dirname $cross_root`
25500 cross_root=`dirname $cross_root`
25502 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25503 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25504 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25506 if test -z "$PKG_CONFIG_PATH"; then
25507 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25508 export PKG_CONFIG_PATH
25511 if test -z "$x_includes" -o "$x_includes" = NONE; then
25514 for ac_dir in $SEARCH_INCLUDE /usr/include;
25516 if test -f "$ac_dir/X11/Intrinsic.h"; then
25517 ac_find_includes=$ac_dir
25522 x_includes=$ac_find_includes
25524 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25527 for ac_dir in $SEARCH_LIB;
25529 for ac_extension in a so sl dylib dll.a; do
25530 if test -f "$ac_dir/libXt.$ac_extension"; then
25531 ac_find_libraries=$ac_dir
25537 x_libraries=$ac_find_libraries
25543 cat >confcache <<\_ACEOF
25544 # This file is a shell script that caches the results of configure
25545 # tests run on this system so they can be shared between configure
25546 # scripts and configure runs, see configure's option --config-cache.
25547 # It is not useful on other systems. If it contains results you don't
25548 # want to keep, you may remove or edit it.
25550 # config.status only pays attention to the cache file if you give it
25551 # the --recheck option to rerun configure.
25553 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25554 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25555 # following values.
25559 # The following way of writing the cache mishandles newlines in values,
25560 # but we know of no workaround that is simple, portable, and efficient.
25561 # So, we kill variables containing newlines.
25562 # Ultrix sh set writes to stderr and can't be redirected directly,
25563 # and sets the high bit in the cache file unless we assign to the vars.
25565 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25566 eval ac_val
=\$
$ac_var
25570 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25571 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25574 _
| IFS
| as_nl
) ;; #(
25575 *) $as_unset $ac_var ;;
25581 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25582 *${as_nl}ac_space
=\
*)
25583 # `set' does not quote correctly, so add quotes (double-quote
25584 # substitution turns \\\\ into \\, and sed turns \\ into \).
25587 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25590 # `set' quotes correctly as required by POSIX, so do not add quotes.
25591 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25600 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25602 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25604 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25605 if test -w "$cache_file"; then
25606 test "x$cache_file" != "x/dev/null" &&
25607 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25608 echo "$as_me: updating cache $cache_file" >&6;}
25609 cat confcache
>$cache_file
25611 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25612 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25617 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25618 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25619 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25620 if test "${wx_cv_lib_glibc21+set}" = set; then
25621 echo $ECHO_N "(cached) $ECHO_C" >&6
25624 cat >conftest.
$ac_ext <<_ACEOF
25627 cat confdefs.h
>>conftest.
$ac_ext
25628 cat >>conftest.
$ac_ext <<_ACEOF
25629 /* end confdefs.h. */
25630 #include <features.h>
25635 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25643 rm -f conftest.
$ac_objext
25644 if { (ac_try
="$ac_compile"
25645 case "(($ac_try" in
25646 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25647 *) ac_try_echo=$ac_try;;
25649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25650 (eval "$ac_compile") 2>conftest.er1
25652 grep -v '^ *+' conftest.er1 >conftest.err
25654 cat conftest.err >&5
25655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25656 (exit $ac_status); } && {
25657 test -z "$ac_c_werror_flag" ||
25658 test ! -s conftest.err
25659 } && test -s conftest.$ac_objext; then
25661 wx_cv_lib_glibc21=yes
25664 echo "$as_me: failed program was:" >&5
25665 sed 's/^/| /' conftest.$ac_ext >&5
25668 wx_cv_lib_glibc21=no
25673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25676 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25677 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25678 if test "$wx_cv_lib_glibc21" = "yes"; then
25679 cat >>confdefs.h <<\_ACEOF
25680 #define wxHAVE_GLIBC2 1
25686 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25687 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25688 cat >>confdefs.h <<\_ACEOF
25689 #define _GNU_SOURCE 1
25700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25701 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25703 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25704 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 cat >conftest.$ac_ext <<_ACEOF
25709 cat confdefs.h >>conftest.$ac_ext
25710 cat >>conftest.$ac_ext <<_ACEOF
25711 /* end confdefs.h. */
25712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25714 #define $ac_func innocuous_$ac_func
25716 /* System header to define __stub macros and hopefully few prototypes,
25717 which can conflict with char $ac_func (); below.
25718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25719 <limits.h> exists even on freestanding compilers. */
25722 # include <limits.h>
25724 # include <assert.h>
25729 /* Override any GCC internal prototype to avoid an error.
25730 Use char because int might match the return type of a GCC
25731 builtin and then its argument prototype would still apply. */
25736 /* The GNU C library defines this for functions which it implements
25737 to always fail with ENOSYS. Some functions are actually named
25738 something starting with __ and the normal name is an alias. */
25739 #if defined __stub_$ac_func || defined __stub___$ac_func
25746 return $ac_func ();
25751 rm -f conftest.$ac_objext conftest$ac_exeext
25752 if { (ac_try="$ac_link"
25753 case "(($ac_try" in
25754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25755 *) ac_try_echo
=$ac_try;;
25757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25758 (eval "$ac_link") 2>conftest.er1
25760 grep -v '^ *+' conftest.er1
>conftest.err
25762 cat conftest.err
>&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } && {
25765 test -z "$ac_c_werror_flag" ||
25766 test ! -s conftest.err
25767 } && test -s conftest
$ac_exeext &&
25768 $as_test_x conftest
$ac_exeext; then
25769 eval "$as_ac_var=yes"
25771 echo "$as_me: failed program was:" >&5
25772 sed 's/^/| /' conftest.
$ac_ext >&5
25774 eval "$as_ac_var=no"
25777 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25778 conftest
$ac_exeext conftest.
$ac_ext
25780 ac_res
=`eval echo '${'$as_ac_var'}'`
25781 { echo "$as_me:$LINENO: result: $ac_res" >&5
25782 echo "${ECHO_T}$ac_res" >&6; }
25783 if test `eval echo '${'$as_ac_var'}'` = yes; then
25784 cat >>confdefs.h
<<_ACEOF
25785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25792 for ac_func
in floor
25794 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25795 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25797 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25798 echo $ECHO_N "(cached) $ECHO_C" >&6
25800 cat >conftest.
$ac_ext <<_ACEOF
25803 cat confdefs.h
>>conftest.
$ac_ext
25804 cat >>conftest.
$ac_ext <<_ACEOF
25805 /* end confdefs.h. */
25806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25808 #define $ac_func innocuous_$ac_func
25810 /* System header to define __stub macros and hopefully few prototypes,
25811 which can conflict with char $ac_func (); below.
25812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25813 <limits.h> exists even on freestanding compilers. */
25816 # include <limits.h>
25818 # include <assert.h>
25823 /* Override any GCC internal prototype to avoid an error.
25824 Use char because int might match the return type of a GCC
25825 builtin and then its argument prototype would still apply. */
25830 /* The GNU C library defines this for functions which it implements
25831 to always fail with ENOSYS. Some functions are actually named
25832 something starting with __ and the normal name is an alias. */
25833 #if defined __stub_$ac_func || defined __stub___$ac_func
25840 return $ac_func ();
25845 rm -f conftest.
$ac_objext conftest
$ac_exeext
25846 if { (ac_try
="$ac_link"
25847 case "(($ac_try" in
25848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25849 *) ac_try_echo=$ac_try;;
25851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25852 (eval "$ac_link") 2>conftest.er1
25854 grep -v '^ *+' conftest.er1 >conftest.err
25856 cat conftest.err >&5
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); } && {
25859 test -z "$ac_c_werror_flag" ||
25860 test ! -s conftest.err
25861 } && test -s conftest$ac_exeext &&
25862 $as_test_x conftest$ac_exeext; then
25863 eval "$as_ac_var=yes"
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25868 eval "$as_ac_var=no"
25871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25872 conftest$ac_exeext conftest.$ac_ext
25874 ac_res=`eval echo '${'$as_ac_var'}'`
25875 { echo "$as_me:$LINENO: result: $ac_res" >&5
25876 echo "${ECHO_T}$ac_res" >&6; }
25877 if test `eval echo '${'$as_ac_var'}'` = yes; then
25878 cat >>confdefs.h <<_ACEOF
25879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25885 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25886 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25887 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25888 { echo "$as_me:$LINENO: result: yes" >&5
25889 echo "${ECHO_T}yes" >&6; }
25891 { echo "$as_me:$LINENO: result: no" >&5
25892 echo "${ECHO_T}no" >&6; }
25894 # use different functions to avoid configure caching
25900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25901 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25904 echo $ECHO_N "(cached) $ECHO_C" >&6
25906 cat >conftest.$ac_ext <<_ACEOF
25909 cat confdefs.h >>conftest.$ac_ext
25910 cat >>conftest.$ac_ext <<_ACEOF
25911 /* end confdefs.h. */
25912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25914 #define $ac_func innocuous_$ac_func
25916 /* System header to define __stub macros and hopefully few prototypes,
25917 which can conflict with char $ac_func (); below.
25918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25919 <limits.h> exists even on freestanding compilers. */
25922 # include <limits.h>
25924 # include <assert.h>
25929 /* Override any GCC internal prototype to avoid an error.
25930 Use char because int might match the return type of a GCC
25931 builtin and then its argument prototype would still apply. */
25936 /* The GNU C library defines this for functions which it implements
25937 to always fail with ENOSYS. Some functions are actually named
25938 something starting with __ and the normal name is an alias. */
25939 #if defined __stub_$ac_func || defined __stub___$ac_func
25946 return $ac_func ();
25951 rm -f conftest.$ac_objext conftest$ac_exeext
25952 if { (ac_try="$ac_link"
25953 case "(($ac_try" in
25954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25955 *) ac_try_echo
=$ac_try;;
25957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25958 (eval "$ac_link") 2>conftest.er1
25960 grep -v '^ *+' conftest.er1
>conftest.err
25962 cat conftest.err
>&5
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); } && {
25965 test -z "$ac_c_werror_flag" ||
25966 test ! -s conftest.err
25967 } && test -s conftest
$ac_exeext &&
25968 $as_test_x conftest
$ac_exeext; then
25969 eval "$as_ac_var=yes"
25971 echo "$as_me: failed program was:" >&5
25972 sed 's/^/| /' conftest.
$ac_ext >&5
25974 eval "$as_ac_var=no"
25977 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25978 conftest
$ac_exeext conftest.
$ac_ext
25980 ac_res
=`eval echo '${'$as_ac_var'}'`
25981 { echo "$as_me:$LINENO: result: $ac_res" >&5
25982 echo "${ECHO_T}$ac_res" >&6; }
25983 if test `eval echo '${'$as_ac_var'}'` = yes; then
25984 cat >>confdefs.h
<<_ACEOF
25985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25992 for ac_func
in ceil
25994 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25995 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25997 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25998 echo $ECHO_N "(cached) $ECHO_C" >&6
26000 cat >conftest.
$ac_ext <<_ACEOF
26003 cat confdefs.h
>>conftest.
$ac_ext
26004 cat >>conftest.
$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26008 #define $ac_func innocuous_$ac_func
26010 /* System header to define __stub macros and hopefully few prototypes,
26011 which can conflict with char $ac_func (); below.
26012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26013 <limits.h> exists even on freestanding compilers. */
26016 # include <limits.h>
26018 # include <assert.h>
26023 /* Override any GCC internal prototype to avoid an error.
26024 Use char because int might match the return type of a GCC
26025 builtin and then its argument prototype would still apply. */
26030 /* The GNU C library defines this for functions which it implements
26031 to always fail with ENOSYS. Some functions are actually named
26032 something starting with __ and the normal name is an alias. */
26033 #if defined __stub_$ac_func || defined __stub___$ac_func
26040 return $ac_func ();
26045 rm -f conftest.
$ac_objext conftest
$ac_exeext
26046 if { (ac_try
="$ac_link"
26047 case "(($ac_try" in
26048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26049 *) ac_try_echo=$ac_try;;
26051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26052 (eval "$ac_link") 2>conftest.er1
26054 grep -v '^ *+' conftest.er1 >conftest.err
26056 cat conftest.err >&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); } && {
26059 test -z "$ac_c_werror_flag" ||
26060 test ! -s conftest.err
26061 } && test -s conftest$ac_exeext &&
26062 $as_test_x conftest$ac_exeext; then
26063 eval "$as_ac_var=yes"
26065 echo "$as_me: failed program was:" >&5
26066 sed 's/^/| /' conftest.$ac_ext >&5
26068 eval "$as_ac_var=no"
26071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26072 conftest$ac_exeext conftest.$ac_ext
26074 ac_res=`eval echo '${'$as_ac_var'}'`
26075 { echo "$as_me:$LINENO: result: $ac_res" >&5
26076 echo "${ECHO_T}$ac_res" >&6; }
26077 if test `eval echo '${'$as_ac_var'}'` = yes; then
26078 cat >>confdefs.h <<_ACEOF
26079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26085 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26086 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26087 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26088 { echo "$as_me:$LINENO: result: yes" >&5
26089 echo "${ECHO_T}yes" >&6; }
26091 { echo "$as_me:$LINENO: result: no" >&5
26092 echo "${ECHO_T}no" >&6; }
26093 # not sure we should warn the user, crash, etc.
26098 ac_cpp='$CXXCPP $CPPFLAGS'
26099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26103 if test "wxUSE_UNICODE" = "yes"; then
26105 for wx_func in wcstoull
26107 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26108 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26109 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26110 echo $ECHO_N "(cached) $ECHO_C" >&6
26113 cat >conftest.$ac_ext <<_ACEOF
26117 cat confdefs.h >>conftest.$ac_ext
26118 cat >>conftest.$ac_ext <<_ACEOF
26119 /* end confdefs.h. */
26122 $ac_includes_default
26138 rm -f conftest.$ac_objext conftest$ac_exeext
26139 if { (ac_try="$ac_link"
26140 case "(($ac_try" in
26141 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26142 *) ac_try_echo
=$ac_try;;
26144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26145 (eval "$ac_link") 2>conftest.er1
26147 grep -v '^ *+' conftest.er1
>conftest.err
26149 cat conftest.err
>&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); } && {
26152 test -z "$ac_cxx_werror_flag" ||
26153 test ! -s conftest.err
26154 } && test -s conftest
$ac_exeext &&
26155 $as_test_x conftest
$ac_exeext; then
26156 eval wx_cv_func_
$wx_func=yes
26158 echo "$as_me: failed program was:" >&5
26159 sed 's/^/| /' conftest.
$ac_ext >&5
26161 eval wx_cv_func_
$wx_func=no
26164 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26165 conftest
$ac_exeext conftest.
$ac_ext
26168 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26169 { echo "$as_me:$LINENO: result: $ac_res" >&5
26170 echo "${ECHO_T}$ac_res" >&6; }
26172 if eval test \
$wx_cv_func_$wx_func = yes
26174 cat >>confdefs.h
<<_ACEOF
26175 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26187 for wx_func
in strtoull
26189 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26190 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26191 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26192 echo $ECHO_N "(cached) $ECHO_C" >&6
26195 cat >conftest.
$ac_ext <<_ACEOF
26199 cat confdefs.h
>>conftest.
$ac_ext
26200 cat >>conftest.
$ac_ext <<_ACEOF
26201 /* end confdefs.h. */
26204 $ac_includes_default
26220 rm -f conftest.
$ac_objext conftest
$ac_exeext
26221 if { (ac_try
="$ac_link"
26222 case "(($ac_try" in
26223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26224 *) ac_try_echo=$ac_try;;
26226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26227 (eval "$ac_link") 2>conftest.er1
26229 grep -v '^ *+' conftest.er1 >conftest.err
26231 cat conftest.err >&5
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); } && {
26234 test -z "$ac_cxx_werror_flag" ||
26235 test ! -s conftest.err
26236 } && test -s conftest$ac_exeext &&
26237 $as_test_x conftest$ac_exeext; then
26238 eval wx_cv_func_$wx_func=yes
26240 echo "$as_me: failed program was:" >&5
26241 sed 's/^/| /' conftest.$ac_ext >&5
26243 eval wx_cv_func_$wx_func=no
26246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26247 conftest$ac_exeext conftest.$ac_ext
26250 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26251 { echo "$as_me:$LINENO: result: $ac_res" >&5
26252 echo "${ECHO_T}$ac_res" >&6; }
26254 if eval test \$wx_cv_func_$wx_func = yes
26256 cat >>confdefs.h <<_ACEOF
26257 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26269 ac_cpp='$CPP $CPPFLAGS'
26270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26277 if test "$wxUSE_REGEX" != "no"; then
26278 cat >>confdefs.h <<\_ACEOF
26279 #define wxUSE_REGEX 1
26283 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26284 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26285 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26286 wxUSE_REGEX=builtin
26289 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26290 { echo "$as_me:$LINENO: checking for regex.h" >&5
26291 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26292 if test "${ac_cv_header_regex_h+set}" = set; then
26293 echo $ECHO_N "(cached) $ECHO_C" >&6
26295 cat >conftest.$ac_ext <<_ACEOF
26298 cat confdefs.h >>conftest.$ac_ext
26299 cat >>conftest.$ac_ext <<_ACEOF
26300 /* end confdefs.h. */
26305 rm -f conftest.$ac_objext
26306 if { (ac_try="$ac_compile"
26307 case "(($ac_try" in
26308 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26309 *) ac_try_echo
=$ac_try;;
26311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26312 (eval "$ac_compile") 2>conftest.er1
26314 grep -v '^ *+' conftest.er1
>conftest.err
26316 cat conftest.err
>&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); } && {
26319 test -z "$ac_c_werror_flag" ||
26320 test ! -s conftest.err
26321 } && test -s conftest.
$ac_objext; then
26322 ac_cv_header_regex_h
=yes
26324 echo "$as_me: failed program was:" >&5
26325 sed 's/^/| /' conftest.
$ac_ext >&5
26327 ac_cv_header_regex_h
=no
26330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26332 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26333 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26334 if test $ac_cv_header_regex_h = yes; then
26337 for ac_func
in regcomp re_search
26339 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26340 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26342 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26343 echo $ECHO_N "(cached) $ECHO_C" >&6
26345 cat >conftest.
$ac_ext <<_ACEOF
26348 cat confdefs.h
>>conftest.
$ac_ext
26349 cat >>conftest.
$ac_ext <<_ACEOF
26350 /* end confdefs.h. */
26351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26353 #define $ac_func innocuous_$ac_func
26355 /* System header to define __stub macros and hopefully few prototypes,
26356 which can conflict with char $ac_func (); below.
26357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26358 <limits.h> exists even on freestanding compilers. */
26361 # include <limits.h>
26363 # include <assert.h>
26368 /* Override any GCC internal prototype to avoid an error.
26369 Use char because int might match the return type of a GCC
26370 builtin and then its argument prototype would still apply. */
26375 /* The GNU C library defines this for functions which it implements
26376 to always fail with ENOSYS. Some functions are actually named
26377 something starting with __ and the normal name is an alias. */
26378 #if defined __stub_$ac_func || defined __stub___$ac_func
26385 return $ac_func ();
26390 rm -f conftest.
$ac_objext conftest
$ac_exeext
26391 if { (ac_try
="$ac_link"
26392 case "(($ac_try" in
26393 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26394 *) ac_try_echo=$ac_try;;
26396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26397 (eval "$ac_link") 2>conftest.er1
26399 grep -v '^ *+' conftest.er1 >conftest.err
26401 cat conftest.err >&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } && {
26404 test -z "$ac_c_werror_flag" ||
26405 test ! -s conftest.err
26406 } && test -s conftest$ac_exeext &&
26407 $as_test_x conftest$ac_exeext; then
26408 eval "$as_ac_var=yes"
26410 echo "$as_me: failed program was:" >&5
26411 sed 's/^/| /' conftest.$ac_ext >&5
26413 eval "$as_ac_var=no"
26416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26417 conftest$ac_exeext conftest.$ac_ext
26419 ac_res=`eval echo '${'$as_ac_var'}'`
26420 { echo "$as_me:$LINENO: result: $ac_res" >&5
26421 echo "${ECHO_T}$ac_res" >&6; }
26422 if test `eval echo '${'$as_ac_var'}'` = yes; then
26423 cat >>confdefs.h <<_ACEOF
26424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26434 if test "x$ac_cv_func_regcomp" != "xyes"; then
26435 if test "$wxUSE_REGEX" = "sys" ; then
26436 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26437 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26438 { (exit 1); exit 1; }; }
26440 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26441 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26442 wxUSE_REGEX=builtin
26446 cat >>confdefs.h <<\_ACEOF
26447 #define WX_NO_REGEX_ADVANCED 1
26456 if test "$wxUSE_ZLIB" != "no" ; then
26457 cat >>confdefs.h <<\_ACEOF
26458 #define wxUSE_ZLIB 1
26462 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26463 if test "$USE_DARWIN" = 1; then
26464 system_zlib_h_ok="yes"
26466 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26467 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26468 if test "${ac_cv_header_zlib_h+set}" = set; then
26469 echo $ECHO_N "(cached) $ECHO_C" >&6
26471 if test "$cross_compiling" = yes; then
26472 unset ac_cv_header_zlib_h
26475 cat >conftest.$ac_ext <<_ACEOF
26478 cat confdefs.h >>conftest.$ac_ext
26479 cat >>conftest.$ac_ext <<_ACEOF
26480 /* end confdefs.h. */
26487 FILE *f=fopen("conftestval", "w");
26490 ZLIB_VERSION[0] == '1' &&
26491 (ZLIB_VERSION[2] > '1' ||
26492 (ZLIB_VERSION[2] == '1' &&
26493 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26498 rm -f conftest$ac_exeext
26499 if { (ac_try="$ac_link"
26500 case "(($ac_try" in
26501 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26502 *) ac_try_echo
=$ac_try;;
26504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26505 (eval "$ac_link") 2>&5
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26509 { (case "(($ac_try" in
26510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26511 *) ac_try_echo=$ac_try;;
26513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26514 (eval "$ac_try") 2>&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; }; then
26518 ac_cv_header_zlib_h=`cat conftestval
`
26520 echo "$as_me: program exited with status $ac_status" >&5
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.$ac_ext >&5
26524 ( exit $ac_status )
26525 ac_cv_header_zlib_h=no
26527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26533 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26534 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26535 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26536 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26537 if test "${ac_cv_header_zlib_h+set}" = set; then
26538 echo $ECHO_N "(cached) $ECHO_C" >&6
26540 cat >conftest.$ac_ext <<_ACEOF
26543 cat confdefs.h >>conftest.$ac_ext
26544 cat >>conftest.$ac_ext <<_ACEOF
26545 /* end confdefs.h. */
26550 rm -f conftest.$ac_objext
26551 if { (ac_try="$ac_compile"
26552 case "(($ac_try" in
26553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26554 *) ac_try_echo
=$ac_try;;
26556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26557 (eval "$ac_compile") 2>conftest.er1
26559 grep -v '^ *+' conftest.er1
>conftest.err
26561 cat conftest.err
>&5
26562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26563 (exit $ac_status); } && {
26564 test -z "$ac_c_werror_flag" ||
26565 test ! -s conftest.err
26566 } && test -s conftest.
$ac_objext; then
26567 ac_cv_header_zlib_h
=yes
26569 echo "$as_me: failed program was:" >&5
26570 sed 's/^/| /' conftest.
$ac_ext >&5
26572 ac_cv_header_zlib_h
=no
26575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26577 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26578 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26582 system_zlib_h_ok
=$ac_cv_header_zlib_h
26585 if test "$system_zlib_h_ok" = "yes"; then
26586 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26587 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26588 if test "${ac_cv_lib_z_deflate+set}" = set; then
26589 echo $ECHO_N "(cached) $ECHO_C" >&6
26591 ac_check_lib_save_LIBS
=$LIBS
26593 cat >conftest.
$ac_ext <<_ACEOF
26596 cat confdefs.h
>>conftest.
$ac_ext
26597 cat >>conftest.
$ac_ext <<_ACEOF
26598 /* end confdefs.h. */
26600 /* Override any GCC internal prototype to avoid an error.
26601 Use char because int might match the return type of a GCC
26602 builtin and then its argument prototype would still apply. */
26615 rm -f conftest.
$ac_objext conftest
$ac_exeext
26616 if { (ac_try
="$ac_link"
26617 case "(($ac_try" in
26618 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26619 *) ac_try_echo=$ac_try;;
26621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26622 (eval "$ac_link") 2>conftest.er1
26624 grep -v '^ *+' conftest.er1 >conftest.err
26626 cat conftest.err >&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); } && {
26629 test -z "$ac_c_werror_flag" ||
26630 test ! -s conftest.err
26631 } && test -s conftest$ac_exeext &&
26632 $as_test_x conftest$ac_exeext; then
26633 ac_cv_lib_z_deflate=yes
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26638 ac_cv_lib_z_deflate=no
26641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26642 conftest$ac_exeext conftest.$ac_ext
26643 LIBS=$ac_check_lib_save_LIBS
26645 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26646 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26647 if test $ac_cv_lib_z_deflate = yes; then
26653 if test "x$ZLIB_LINK" = "x" ; then
26654 if test "$wxUSE_ZLIB" = "sys" ; then
26655 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26656 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26657 { (exit 1); exit 1; }; }
26659 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26660 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26671 if test "$wxUSE_LIBPNG" != "no" ; then
26672 cat >>confdefs.h <<\_ACEOF
26673 #define wxUSE_LIBPNG 1
26677 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26678 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26679 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26683 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26684 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26685 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26686 wxUSE_LIBPNG=builtin
26689 if test "$wxUSE_MGL" != 1 ; then
26690 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26691 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26692 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26693 if test "${ac_cv_header_png_h+set}" = set; then
26694 echo $ECHO_N "(cached) $ECHO_C" >&6
26696 if test "$cross_compiling" = yes; then
26697 unset ac_cv_header_png_h
26700 cat >conftest.$ac_ext <<_ACEOF
26703 cat confdefs.h >>conftest.$ac_ext
26704 cat >>conftest.$ac_ext <<_ACEOF
26705 /* end confdefs.h. */
26712 FILE *f=fopen("conftestval", "w");
26715 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26720 rm -f conftest$ac_exeext
26721 if { (ac_try="$ac_link"
26722 case "(($ac_try" in
26723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26724 *) ac_try_echo
=$ac_try;;
26726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26727 (eval "$ac_link") 2>&5
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26731 { (case "(($ac_try" in
26732 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26733 *) ac_try_echo=$ac_try;;
26735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26736 (eval "$ac_try") 2>&5
26738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26739 (exit $ac_status); }; }; then
26740 ac_cv_header_png_h=`cat conftestval
`
26742 echo "$as_me: program exited with status $ac_status" >&5
26743 echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.$ac_ext >&5
26746 ( exit $ac_status )
26747 ac_cv_header_png_h=no
26749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26755 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26756 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26757 { echo "$as_me:$LINENO: checking for png.h" >&5
26758 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26759 if test "${ac_cv_header_png_h+set}" = set; then
26760 echo $ECHO_N "(cached) $ECHO_C" >&6
26762 cat >conftest.$ac_ext <<_ACEOF
26765 cat confdefs.h >>conftest.$ac_ext
26766 cat >>conftest.$ac_ext <<_ACEOF
26767 /* end confdefs.h. */
26772 rm -f conftest.$ac_objext
26773 if { (ac_try="$ac_compile"
26774 case "(($ac_try" in
26775 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26776 *) ac_try_echo
=$ac_try;;
26778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26779 (eval "$ac_compile") 2>conftest.er1
26781 grep -v '^ *+' conftest.er1
>conftest.err
26783 cat conftest.err
>&5
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); } && {
26786 test -z "$ac_c_werror_flag" ||
26787 test ! -s conftest.err
26788 } && test -s conftest.
$ac_objext; then
26789 ac_cv_header_png_h
=yes
26791 echo "$as_me: failed program was:" >&5
26792 sed 's/^/| /' conftest.
$ac_ext >&5
26794 ac_cv_header_png_h
=no
26797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26799 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26800 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26804 if test "$ac_cv_header_png_h" = "yes"; then
26805 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26806 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26807 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26808 echo $ECHO_N "(cached) $ECHO_C" >&6
26810 ac_check_lib_save_LIBS
=$LIBS
26811 LIBS
="-lpng -lz -lm $LIBS"
26812 cat >conftest.
$ac_ext <<_ACEOF
26815 cat confdefs.h
>>conftest.
$ac_ext
26816 cat >>conftest.
$ac_ext <<_ACEOF
26817 /* end confdefs.h. */
26819 /* Override any GCC internal prototype to avoid an error.
26820 Use char because int might match the return type of a GCC
26821 builtin and then its argument prototype would still apply. */
26825 char png_check_sig ();
26829 return png_check_sig ();
26834 rm -f conftest.
$ac_objext conftest
$ac_exeext
26835 if { (ac_try
="$ac_link"
26836 case "(($ac_try" in
26837 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26838 *) ac_try_echo=$ac_try;;
26840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26841 (eval "$ac_link") 2>conftest.er1
26843 grep -v '^ *+' conftest.er1 >conftest.err
26845 cat conftest.err >&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); } && {
26848 test -z "$ac_c_werror_flag" ||
26849 test ! -s conftest.err
26850 } && test -s conftest$ac_exeext &&
26851 $as_test_x conftest$ac_exeext; then
26852 ac_cv_lib_png_png_check_sig=yes
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26857 ac_cv_lib_png_png_check_sig=no
26860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26861 conftest$ac_exeext conftest.$ac_ext
26862 LIBS=$ac_check_lib_save_LIBS
26864 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26865 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26866 if test $ac_cv_lib_png_png_check_sig = yes; then
26867 PNG_LINK=" -lpng -lz"
26872 if test "x$PNG_LINK" = "x" ; then
26873 if test "$wxUSE_LIBPNG" = "sys" ; then
26874 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26875 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26876 { (exit 1); exit 1; }; }
26878 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26879 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26880 wxUSE_LIBPNG=builtin
26891 if test "$wxUSE_LIBJPEG" != "no" ; then
26892 cat >>confdefs.h <<\_ACEOF
26893 #define wxUSE_LIBJPEG 1
26897 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26898 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26899 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26903 if test "$wxUSE_MGL" != 1 ; then
26904 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26905 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26906 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26907 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26908 echo $ECHO_N "(cached) $ECHO_C" >&6
26910 cat >conftest.$ac_ext <<_ACEOF
26913 cat confdefs.h >>conftest.$ac_ext
26914 cat >>conftest.$ac_ext <<_ACEOF
26915 /* end confdefs.h. */
26917 #undef HAVE_STDLIB_H
26919 #include <jpeglib.h>
26930 rm -f conftest.$ac_objext
26931 if { (ac_try="$ac_compile"
26932 case "(($ac_try" in
26933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26934 *) ac_try_echo
=$ac_try;;
26936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26937 (eval "$ac_compile") 2>conftest.er1
26939 grep -v '^ *+' conftest.er1
>conftest.err
26941 cat conftest.err
>&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); } && {
26944 test -z "$ac_c_werror_flag" ||
26945 test ! -s conftest.err
26946 } && test -s conftest.
$ac_objext; then
26947 ac_cv_header_jpeglib_h
=yes
26949 echo "$as_me: failed program was:" >&5
26950 sed 's/^/| /' conftest.
$ac_ext >&5
26952 ac_cv_header_jpeglib_h
=no
26956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26960 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26961 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26963 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26964 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26965 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26966 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26967 echo $ECHO_N "(cached) $ECHO_C" >&6
26969 ac_check_lib_save_LIBS
=$LIBS
26970 LIBS
="-ljpeg $LIBS"
26971 cat >conftest.
$ac_ext <<_ACEOF
26974 cat confdefs.h
>>conftest.
$ac_ext
26975 cat >>conftest.
$ac_ext <<_ACEOF
26976 /* end confdefs.h. */
26978 /* Override any GCC internal prototype to avoid an error.
26979 Use char because int might match the return type of a GCC
26980 builtin and then its argument prototype would still apply. */
26984 char jpeg_read_header ();
26988 return jpeg_read_header ();
26993 rm -f conftest.
$ac_objext conftest
$ac_exeext
26994 if { (ac_try
="$ac_link"
26995 case "(($ac_try" in
26996 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26997 *) ac_try_echo=$ac_try;;
26999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27000 (eval "$ac_link") 2>conftest.er1
27002 grep -v '^ *+' conftest.er1 >conftest.err
27004 cat conftest.err >&5
27005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27006 (exit $ac_status); } && {
27007 test -z "$ac_c_werror_flag" ||
27008 test ! -s conftest.err
27009 } && test -s conftest$ac_exeext &&
27010 $as_test_x conftest$ac_exeext; then
27011 ac_cv_lib_jpeg_jpeg_read_header=yes
27013 echo "$as_me: failed program was:" >&5
27014 sed 's/^/| /' conftest.$ac_ext >&5
27016 ac_cv_lib_jpeg_jpeg_read_header=no
27019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27020 conftest$ac_exeext conftest.$ac_ext
27021 LIBS=$ac_check_lib_save_LIBS
27023 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27024 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27025 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27026 JPEG_LINK=" -ljpeg"
27031 if test "x$JPEG_LINK" = "x" ; then
27032 if test "$wxUSE_LIBJPEG" = "sys" ; then
27033 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27034 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27035 { (exit 1); exit 1; }; }
27037 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27038 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27039 wxUSE_LIBJPEG=builtin
27044 if test "$wxUSE_MSW" = 1; then
27045 { echo "$as_me:$LINENO: checking for boolean" >&5
27046 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27047 if test "${ac_cv_type_boolean+set}" = set; then
27048 echo $ECHO_N "(cached) $ECHO_C" >&6
27050 cat >conftest.$ac_ext <<_ACEOF
27053 cat confdefs.h >>conftest.$ac_ext
27054 cat >>conftest.$ac_ext <<_ACEOF
27055 /* end confdefs.h. */
27056 #include <windows.h>
27058 typedef boolean ac__type_new_;
27062 if ((ac__type_new_ *) 0)
27064 if (sizeof (ac__type_new_))
27070 rm -f conftest.$ac_objext
27071 if { (ac_try="$ac_compile"
27072 case "(($ac_try" in
27073 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27074 *) ac_try_echo
=$ac_try;;
27076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27077 (eval "$ac_compile") 2>conftest.er1
27079 grep -v '^ *+' conftest.er1
>conftest.err
27081 cat conftest.err
>&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); } && {
27084 test -z "$ac_c_werror_flag" ||
27085 test ! -s conftest.err
27086 } && test -s conftest.
$ac_objext; then
27087 ac_cv_type_boolean
=yes
27089 echo "$as_me: failed program was:" >&5
27090 sed 's/^/| /' conftest.
$ac_ext >&5
27092 ac_cv_type_boolean
=no
27095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27097 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27098 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27099 if test $ac_cv_type_boolean = yes; then
27101 cat >>confdefs.h
<<_ACEOF
27102 #define HAVE_BOOLEAN 1
27106 { echo "$as_me:$LINENO: checking for boolean" >&5
27107 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27108 if test "${ac_cv_type_boolean+set}" = set; then
27109 echo $ECHO_N "(cached) $ECHO_C" >&6
27111 cat >conftest.
$ac_ext <<_ACEOF
27114 cat confdefs.h
>>conftest.
$ac_ext
27115 cat >>conftest.
$ac_ext <<_ACEOF
27116 /* end confdefs.h. */
27118 #undef HAVE_BOOLEAN
27120 #include <jpeglib.h>
27123 typedef boolean ac__type_new_;
27127 if ((ac__type_new_ *) 0)
27129 if (sizeof (ac__type_new_))
27135 rm -f conftest.
$ac_objext
27136 if { (ac_try
="$ac_compile"
27137 case "(($ac_try" in
27138 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27139 *) ac_try_echo=$ac_try;;
27141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27142 (eval "$ac_compile") 2>conftest.er1
27144 grep -v '^ *+' conftest.er1 >conftest.err
27146 cat conftest.err >&5
27147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27148 (exit $ac_status); } && {
27149 test -z "$ac_c_werror_flag" ||
27150 test ! -s conftest.err
27151 } && test -s conftest.$ac_objext; then
27152 ac_cv_type_boolean=yes
27154 echo "$as_me: failed program was:" >&5
27155 sed 's/^/| /' conftest.$ac_ext >&5
27157 ac_cv_type_boolean=no
27160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27162 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27163 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27165 # The cast to long int works around a bug in the HP C Compiler
27166 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27167 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27168 # This bug is HP SR number 8606223364.
27169 { echo "$as_me:$LINENO: checking size of boolean" >&5
27170 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27171 if test "${ac_cv_sizeof_boolean+set}" = set; then
27172 echo $ECHO_N "(cached) $ECHO_C" >&6
27174 if test "$cross_compiling" = yes; then
27175 # Depending upon the size, compute the lo and hi bounds.
27176 cat >conftest.$ac_ext <<_ACEOF
27179 cat confdefs.h >>conftest.$ac_ext
27180 cat >>conftest.$ac_ext <<_ACEOF
27181 /* end confdefs.h. */
27183 #undef HAVE_BOOLEAN
27185 #include <jpeglib.h>
27188 typedef boolean ac__type_sizeof_;
27192 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27199 rm -f conftest.$ac_objext
27200 if { (ac_try="$ac_compile"
27201 case "(($ac_try" in
27202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27203 *) ac_try_echo=$ac_try;;
27205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27206 (eval "$ac_compile") 2>conftest.er1
27208 grep -v '^
*+' conftest.er1 >conftest.err
27210 cat conftest.err >&5
27211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27212 (exit $ac_status); } && {
27213 test -z "$ac_c_werror_flag" ||
27214 test ! -s conftest.err
27215 } && test -s conftest.$ac_objext; then
27218 cat >conftest.$ac_ext <<_ACEOF
27221 cat confdefs.h >>conftest.$ac_ext
27222 cat >>conftest.$ac_ext <<_ACEOF
27223 /* end confdefs.h. */
27225 #undef HAVE_BOOLEAN
27227 #include <jpeglib.h>
27230 typedef boolean ac__type_sizeof_;
27234 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27241 rm -f conftest.$ac_objext
27242 if { (ac_try="$ac_compile"
27243 case "(($ac_try" in
27244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27245 *) ac_try_echo=$ac_try;;
27247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27248 (eval "$ac_compile") 2>conftest.er1
27250 grep -v '^
*+' conftest.er1 >conftest.err
27252 cat conftest.err >&5
27253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254 (exit $ac_status); } && {
27255 test -z "$ac_c_werror_flag" ||
27256 test ! -s conftest.err
27257 } && test -s conftest.$ac_objext; then
27258 ac_hi=$ac_mid; break
27260 echo "$as_me: failed program was:" >&5
27261 sed 's
/^
/| /' conftest.$ac_ext >&5
27263 ac_lo=`expr $ac_mid + 1`
27264 if test $ac_lo -le $ac_mid; then
27268 ac_mid=`expr 2 '*' $ac_mid + 1`
27271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27274 echo "$as_me: failed program was:" >&5
27275 sed 's
/^
/| /' conftest.$ac_ext >&5
27277 cat >conftest.$ac_ext <<_ACEOF
27280 cat confdefs.h >>conftest.$ac_ext
27281 cat >>conftest.$ac_ext <<_ACEOF
27282 /* end confdefs.h. */
27284 #undef HAVE_BOOLEAN
27286 #include <jpeglib.h>
27289 typedef boolean ac__type_sizeof_;
27293 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27300 rm -f conftest.$ac_objext
27301 if { (ac_try="$ac_compile"
27302 case "(($ac_try" in
27303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27304 *) ac_try_echo=$ac_try;;
27306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27307 (eval "$ac_compile") 2>conftest.er1
27309 grep -v '^
*+' conftest.er1 >conftest.err
27311 cat conftest.err >&5
27312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27313 (exit $ac_status); } && {
27314 test -z "$ac_c_werror_flag" ||
27315 test ! -s conftest.err
27316 } && test -s conftest.$ac_objext; then
27319 cat >conftest.$ac_ext <<_ACEOF
27322 cat confdefs.h >>conftest.$ac_ext
27323 cat >>conftest.$ac_ext <<_ACEOF
27324 /* end confdefs.h. */
27326 #undef HAVE_BOOLEAN
27328 #include <jpeglib.h>
27331 typedef boolean ac__type_sizeof_;
27335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27342 rm -f conftest.$ac_objext
27343 if { (ac_try="$ac_compile"
27344 case "(($ac_try" in
27345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27346 *) ac_try_echo=$ac_try;;
27348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27349 (eval "$ac_compile") 2>conftest.er1
27351 grep -v '^
*+' conftest.er1 >conftest.err
27353 cat conftest.err >&5
27354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27355 (exit $ac_status); } && {
27356 test -z "$ac_c_werror_flag" ||
27357 test ! -s conftest.err
27358 } && test -s conftest.$ac_objext; then
27359 ac_lo=$ac_mid; break
27361 echo "$as_me: failed program was:" >&5
27362 sed 's
/^
/| /' conftest.$ac_ext >&5
27364 ac_hi=`expr '(' $ac_mid ')' - 1`
27365 if test $ac_mid -le $ac_hi; then
27369 ac_mid=`expr 2 '*' $ac_mid`
27372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27375 echo "$as_me: failed program was:" >&5
27376 sed 's
/^
/| /' conftest.$ac_ext >&5
27381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27385 # Binary search between lo and hi bounds.
27386 while test "x$ac_lo" != "x$ac_hi"; do
27387 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27388 cat >conftest.$ac_ext <<_ACEOF
27391 cat confdefs.h >>conftest.$ac_ext
27392 cat >>conftest.$ac_ext <<_ACEOF
27393 /* end confdefs.h. */
27395 #undef HAVE_BOOLEAN
27397 #include <jpeglib.h>
27400 typedef boolean ac__type_sizeof_;
27404 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27411 rm -f conftest.$ac_objext
27412 if { (ac_try="$ac_compile"
27413 case "(($ac_try" in
27414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27415 *) ac_try_echo=$ac_try;;
27417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27418 (eval "$ac_compile") 2>conftest.er1
27420 grep -v '^
*+' conftest.er1 >conftest.err
27422 cat conftest.err >&5
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); } && {
27425 test -z "$ac_c_werror_flag" ||
27426 test ! -s conftest.err
27427 } && test -s conftest.$ac_objext; then
27430 echo "$as_me: failed program was:" >&5
27431 sed 's
/^
/| /' conftest.$ac_ext >&5
27433 ac_lo=`expr '(' $ac_mid ')' + 1`
27436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27439 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27440 '') if test "$ac_cv_type_boolean" = yes; then
27441 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27442 See \`config.log' for more details.
" >&5
27443 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27444 See \
`config.log' for more details." >&2;}
27445 { (exit 77); exit 77; }; }
27447 ac_cv_sizeof_boolean=0
27451 cat >conftest.$ac_ext <<_ACEOF
27454 cat confdefs.h >>conftest.$ac_ext
27455 cat >>conftest.$ac_ext <<_ACEOF
27456 /* end confdefs.h. */
27458 #undef HAVE_BOOLEAN
27460 #include <jpeglib.h>
27463 typedef boolean ac__type_sizeof_;
27464 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27465 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27467 #include <stdlib.h>
27472 FILE *f = fopen ("conftest.val", "w");
27475 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27477 long int i = longval ();
27478 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27480 fprintf (f, "%ld\n", i);
27484 unsigned long int i = ulongval ();
27485 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27487 fprintf (f, "%lu\n", i);
27489 return ferror (f) || fclose (f) != 0;
27495 rm -f conftest$ac_exeext
27496 if { (ac_try="$ac_link"
27497 case "(($ac_try" in
27498 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27499 *) ac_try_echo
=$ac_try;;
27501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27502 (eval "$ac_link") 2>&5
27504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27505 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27506 { (case "(($ac_try" in
27507 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27508 *) ac_try_echo=$ac_try;;
27510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27511 (eval "$ac_try") 2>&5
27513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514 (exit $ac_status); }; }; then
27515 ac_cv_sizeof_boolean=`cat conftest.val
`
27517 echo "$as_me: program exited with status $ac_status" >&5
27518 echo "$as_me: failed program was:" >&5
27519 sed 's/^/| /' conftest.$ac_ext >&5
27521 ( exit $ac_status )
27522 if test "$ac_cv_type_boolean" = yes; then
27523 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27524 See \`config.log
' for more details." >&5
27525 echo "$as_me: error: cannot compute sizeof (boolean)
27526 See \`config.log' for more details.
" >&2;}
27527 { (exit 77); exit 77; }; }
27529 ac_cv_sizeof_boolean=0
27532 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27536 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27537 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27541 cat >>confdefs.h <<_ACEOF
27542 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27546 cat >>confdefs.h <<_ACEOF
27547 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27561 TIFF_PREREQ_LINKS=-lm
27562 if test "$wxUSE_LIBTIFF" != "no
" ; then
27563 cat >>confdefs.h <<\_ACEOF
27564 #define wxUSE_LIBTIFF 1
27568 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27569 if test "$wxUSE_LIBJPEG" = "sys
"; then
27570 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27572 if test "$wxUSE_ZLIB" = "sys
"; then
27573 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27575 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27576 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27577 if test "${ac_cv_header_tiffio_h+set}" = set; then
27578 echo $ECHO_N "(cached
) $ECHO_C" >&6
27580 cat >conftest.$ac_ext <<_ACEOF
27583 cat confdefs.h >>conftest.$ac_ext
27584 cat >>conftest.$ac_ext <<_ACEOF
27585 /* end confdefs.h. */
27589 #include <tiffio.h>
27591 rm -f conftest.$ac_objext
27592 if { (ac_try="$ac_compile"
27593 case "(($ac_try" in
27594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27595 *) ac_try_echo=$ac_try;;
27597 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27598 (eval "$ac_compile") 2>conftest.er1
27600 grep -v '^ *+' conftest.er1 >conftest.err
27602 cat conftest.err >&5
27603 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27604 (exit $ac_status); } && {
27605 test -z "$ac_c_werror_flag" ||
27606 test ! -s conftest.err
27607 } && test -s conftest.$ac_objext; then
27608 ac_cv_header_tiffio_h=yes
27610 echo "$as_me: failed program was
:" >&5
27611 sed 's/^/| /' conftest.$ac_ext >&5
27613 ac_cv_header_tiffio_h=no
27616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27618 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27619 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27620 if test $ac_cv_header_tiffio_h = yes; then
27622 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27623 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27624 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27625 echo $ECHO_N "(cached
) $ECHO_C" >&6
27627 ac_check_lib_save_LIBS=$LIBS
27628 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27629 cat >conftest.$ac_ext <<_ACEOF
27632 cat confdefs.h >>conftest.$ac_ext
27633 cat >>conftest.$ac_ext <<_ACEOF
27634 /* end confdefs.h. */
27636 /* Override any GCC internal prototype to avoid an error.
27637 Use char because int might match the return type of a GCC
27638 builtin and then its argument prototype would still apply. */
27646 return TIFFError ();
27651 rm -f conftest.$ac_objext conftest$ac_exeext
27652 if { (ac_try="$ac_link"
27653 case "(($ac_try" in
27654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27655 *) ac_try_echo=$ac_try;;
27657 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27658 (eval "$ac_link") 2>conftest.er1
27660 grep -v '^ *+' conftest.er1 >conftest.err
27662 cat conftest.err >&5
27663 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27664 (exit $ac_status); } && {
27665 test -z "$ac_c_werror_flag" ||
27666 test ! -s conftest.err
27667 } && test -s conftest$ac_exeext &&
27668 $as_test_x conftest$ac_exeext; then
27669 ac_cv_lib_tiff_TIFFError=yes
27671 echo "$as_me: failed program was
:" >&5
27672 sed 's/^/| /' conftest.$ac_ext >&5
27674 ac_cv_lib_tiff_TIFFError=no
27677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27678 conftest$ac_exeext conftest.$ac_ext
27679 LIBS=$ac_check_lib_save_LIBS
27681 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27682 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27683 if test $ac_cv_lib_tiff_TIFFError = yes; then
27684 TIFF_LINK=" -ltiff"
27692 if test "x
$TIFF_LINK" = "x
" ; then
27693 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27694 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27695 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27696 { (exit 1); exit 1; }; }
27698 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27699 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27700 wxUSE_LIBTIFF=builtin
27706 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27707 if test "$wxUSE_LIBJPEG" = "no
"; then
27708 ac_configure_args="$ac_configure_args --disable-jpeg"
27710 subdirs="$subdirs src
/tiff
"
27716 if test "$wxUSE_WCHAR_T" != "yes"; then
27717 if test "$wxUSE_EXPAT" != "no
"; then
27718 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27719 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27722 if test "$wxUSE_XML" != "no
"; then
27723 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27724 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27729 if test "$wxUSE_EXPAT" != "no
"; then
27731 cat >>confdefs.h <<\_ACEOF
27732 #define wxUSE_EXPAT 1
27735 cat >>confdefs.h <<\_ACEOF
27736 #define wxUSE_XML 1
27740 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27741 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27742 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27743 if test "${ac_cv_header_expat_h+set}" = set; then
27744 echo $ECHO_N "(cached
) $ECHO_C" >&6
27746 cat >conftest.$ac_ext <<_ACEOF
27749 cat confdefs.h >>conftest.$ac_ext
27750 cat >>conftest.$ac_ext <<_ACEOF
27751 /* end confdefs.h. */
27756 rm -f conftest.$ac_objext
27757 if { (ac_try="$ac_compile"
27758 case "(($ac_try" in
27759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27760 *) ac_try_echo=$ac_try;;
27762 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27763 (eval "$ac_compile") 2>conftest.er1
27765 grep -v '^ *+' conftest.er1 >conftest.err
27767 cat conftest.err >&5
27768 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27769 (exit $ac_status); } && {
27770 test -z "$ac_c_werror_flag" ||
27771 test ! -s conftest.err
27772 } && test -s conftest.$ac_objext; then
27773 ac_cv_header_expat_h=yes
27775 echo "$as_me: failed program was
:" >&5
27776 sed 's/^/| /' conftest.$ac_ext >&5
27778 ac_cv_header_expat_h=no
27781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27783 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27784 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27785 if test $ac_cv_header_expat_h = yes; then
27790 if test "x
$found_expat_h" = "x1
"; then
27791 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27792 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27793 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27794 echo $ECHO_N "(cached
) $ECHO_C" >&6
27798 ac_cpp='$CXXCPP $CPPFLAGS'
27799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27803 cat >conftest.$ac_ext <<_ACEOF
27806 cat confdefs.h >>conftest.$ac_ext
27807 cat >>conftest.$ac_ext <<_ACEOF
27808 /* end confdefs.h. */
27818 rm -f conftest.$ac_objext
27819 if { (ac_try="$ac_compile"
27820 case "(($ac_try" in
27821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27822 *) ac_try_echo=$ac_try;;
27824 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27825 (eval "$ac_compile") 2>conftest.er1
27827 grep -v '^ *+' conftest.er1 >conftest.err
27829 cat conftest.err >&5
27830 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27831 (exit $ac_status); } && {
27832 test -z "$ac_cxx_werror_flag" ||
27833 test ! -s conftest.err
27834 } && test -s conftest.$ac_objext; then
27835 wx_cv_expat_is_not_broken=yes
27837 echo "$as_me: failed program was
:" >&5
27838 sed 's/^/| /' conftest.$ac_ext >&5
27840 wx_cv_expat_is_not_broken=no
27844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27846 ac_cpp='$CPP $CPPFLAGS'
27847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27854 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27855 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27856 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27857 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27858 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27859 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27860 echo $ECHO_N "(cached
) $ECHO_C" >&6
27862 ac_check_lib_save_LIBS=$LIBS
27863 LIBS="-lexpat $LIBS"
27864 cat >conftest.$ac_ext <<_ACEOF
27867 cat confdefs.h >>conftest.$ac_ext
27868 cat >>conftest.$ac_ext <<_ACEOF
27869 /* end confdefs.h. */
27871 /* Override any GCC internal prototype to avoid an error.
27872 Use char because int might match the return type of a GCC
27873 builtin and then its argument prototype would still apply. */
27877 char XML_ParserCreate ();
27881 return XML_ParserCreate ();
27886 rm -f conftest.$ac_objext conftest$ac_exeext
27887 if { (ac_try="$ac_link"
27888 case "(($ac_try" in
27889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27890 *) ac_try_echo=$ac_try;;
27892 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27893 (eval "$ac_link") 2>conftest.er1
27895 grep -v '^ *+' conftest.er1 >conftest.err
27897 cat conftest.err >&5
27898 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27899 (exit $ac_status); } && {
27900 test -z "$ac_c_werror_flag" ||
27901 test ! -s conftest.err
27902 } && test -s conftest$ac_exeext &&
27903 $as_test_x conftest$ac_exeext; then
27904 ac_cv_lib_expat_XML_ParserCreate=yes
27906 echo "$as_me: failed program was
:" >&5
27907 sed 's/^/| /' conftest.$ac_ext >&5
27909 ac_cv_lib_expat_XML_ParserCreate=no
27912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27913 conftest$ac_exeext conftest.$ac_ext
27914 LIBS=$ac_check_lib_save_LIBS
27916 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27917 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27918 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27919 EXPAT_LINK=" -lexpat"
27924 if test "x
$EXPAT_LINK" = "x
" ; then
27925 if test "$wxUSE_EXPAT" = "sys
" ; then
27926 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27927 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27928 { (exit 1); exit 1; }; }
27930 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27931 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27932 wxUSE_EXPAT=builtin
27938 if test "$wxUSE_EXPAT" = "builtin" ; then
27939 subdirs="$subdirs src
/expat
"
27946 if test "$wxUSE_LIBMSPACK" != "no
"; then
27947 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27948 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27949 if test "${ac_cv_header_mspack_h+set}" = set; then
27950 echo $ECHO_N "(cached
) $ECHO_C" >&6
27952 cat >conftest.$ac_ext <<_ACEOF
27955 cat confdefs.h >>conftest.$ac_ext
27956 cat >>conftest.$ac_ext <<_ACEOF
27957 /* end confdefs.h. */
27960 #include <mspack.h>
27962 rm -f conftest.$ac_objext
27963 if { (ac_try="$ac_compile"
27964 case "(($ac_try" in
27965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27966 *) ac_try_echo=$ac_try;;
27968 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27969 (eval "$ac_compile") 2>conftest.er1
27971 grep -v '^ *+' conftest.er1 >conftest.err
27973 cat conftest.err >&5
27974 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27975 (exit $ac_status); } && {
27976 test -z "$ac_c_werror_flag" ||
27977 test ! -s conftest.err
27978 } && test -s conftest.$ac_objext; then
27979 ac_cv_header_mspack_h=yes
27981 echo "$as_me: failed program was
:" >&5
27982 sed 's/^/| /' conftest.$ac_ext >&5
27984 ac_cv_header_mspack_h=no
27987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27989 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27990 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27991 if test $ac_cv_header_mspack_h = yes; then
27996 if test "x
$found_mspack_h" = "x1
"; then
27997 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27998 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27999 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28000 echo $ECHO_N "(cached
) $ECHO_C" >&6
28002 ac_check_lib_save_LIBS=$LIBS
28003 LIBS="-lmspack $LIBS"
28004 cat >conftest.$ac_ext <<_ACEOF
28007 cat confdefs.h >>conftest.$ac_ext
28008 cat >>conftest.$ac_ext <<_ACEOF
28009 /* end confdefs.h. */
28011 /* Override any GCC internal prototype to avoid an error.
28012 Use char because int might match the return type of a GCC
28013 builtin and then its argument prototype would still apply. */
28017 char mspack_create_chm_decompressor ();
28021 return mspack_create_chm_decompressor ();
28026 rm -f conftest.$ac_objext conftest$ac_exeext
28027 if { (ac_try="$ac_link"
28028 case "(($ac_try" in
28029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28030 *) ac_try_echo=$ac_try;;
28032 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28033 (eval "$ac_link") 2>conftest.er1
28035 grep -v '^ *+' conftest.er1 >conftest.err
28037 cat conftest.err >&5
28038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28039 (exit $ac_status); } && {
28040 test -z "$ac_c_werror_flag" ||
28041 test ! -s conftest.err
28042 } && test -s conftest$ac_exeext &&
28043 $as_test_x conftest$ac_exeext; then
28044 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28046 echo "$as_me: failed program was
:" >&5
28047 sed 's/^/| /' conftest.$ac_ext >&5
28049 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28053 conftest$ac_exeext conftest.$ac_ext
28054 LIBS=$ac_check_lib_save_LIBS
28056 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28057 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28058 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28059 MSPACK_LINK=" -lmspack"
28063 if test "x
$MSPACK_LINK" = "x
" ; then
28068 if test "$wxUSE_LIBMSPACK" != "no
"; then
28069 cat >>confdefs.h <<\_ACEOF
28070 #define wxUSE_LIBMSPACK 1
28084 if test "$USE_WIN32" = 1 ; then
28086 for ac_header in w32api.h
28088 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28089 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28090 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28091 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28092 echo $ECHO_N "(cached
) $ECHO_C" >&6
28094 cat >conftest.$ac_ext <<_ACEOF
28097 cat confdefs.h >>conftest.$ac_ext
28098 cat >>conftest.$ac_ext <<_ACEOF
28099 /* end confdefs.h. */
28102 #include <$ac_header>
28104 rm -f conftest.$ac_objext
28105 if { (ac_try="$ac_compile"
28106 case "(($ac_try" in
28107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28108 *) ac_try_echo=$ac_try;;
28110 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28111 (eval "$ac_compile") 2>conftest.er1
28113 grep -v '^ *+' conftest.er1 >conftest.err
28115 cat conftest.err >&5
28116 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28117 (exit $ac_status); } && {
28118 test -z "$ac_c_werror_flag" ||
28119 test ! -s conftest.err
28120 } && test -s conftest.$ac_objext; then
28121 eval "$as_ac_Header=yes"
28123 echo "$as_me: failed program was
:" >&5
28124 sed 's/^/| /' conftest.$ac_ext >&5
28126 eval "$as_ac_Header=no
"
28129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28131 ac_res=`eval echo '${'$as_ac_Header'}'`
28132 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28133 echo "${ECHO_T}$ac_res" >&6; }
28134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28135 cat >>confdefs.h <<_ACEOF
28136 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28143 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28144 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28145 if test "${ac_cv_header_windows_h+set}" = set; then
28146 echo $ECHO_N "(cached
) $ECHO_C" >&6
28148 cat >conftest.$ac_ext <<_ACEOF
28151 cat confdefs.h >>conftest.$ac_ext
28152 cat >>conftest.$ac_ext <<_ACEOF
28153 /* end confdefs.h. */
28156 #include <windows.h>
28158 rm -f conftest.$ac_objext
28159 if { (ac_try="$ac_compile"
28160 case "(($ac_try" in
28161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28162 *) ac_try_echo=$ac_try;;
28164 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28165 (eval "$ac_compile") 2>conftest.er1
28167 grep -v '^ *+' conftest.er1 >conftest.err
28169 cat conftest.err >&5
28170 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28171 (exit $ac_status); } && {
28172 test -z "$ac_c_werror_flag" ||
28173 test ! -s conftest.err
28174 } && test -s conftest.$ac_objext; then
28175 ac_cv_header_windows_h=yes
28177 echo "$as_me: failed program was
:" >&5
28178 sed 's/^/| /' conftest.$ac_ext >&5
28180 ac_cv_header_windows_h=no
28183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28185 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28186 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28187 if test $ac_cv_header_windows_h = yes; then
28191 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28192 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28193 { (exit 1); exit 1; }; }
28200 x86_64-*-mingw32* )
28201 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28204 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28207 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28208 LIBS="$LIBS -loleacc"
28213 LIBS="$LIBS -lkernel32 -luser32"
28216 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28217 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28219 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28221 WIN32INSTALL=win32install
28223 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28224 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28225 if test "${ac_cv_header_pbt_h+set}" = set; then
28226 echo $ECHO_N "(cached
) $ECHO_C" >&6
28228 cat >conftest.$ac_ext <<_ACEOF
28231 cat confdefs.h >>conftest.$ac_ext
28232 cat >>conftest.$ac_ext <<_ACEOF
28233 /* end confdefs.h. */
28238 rm -f conftest.$ac_objext
28239 if { (ac_try="$ac_compile"
28240 case "(($ac_try" in
28241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28242 *) ac_try_echo=$ac_try;;
28244 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28245 (eval "$ac_compile") 2>conftest.er1
28247 grep -v '^ *+' conftest.er1 >conftest.err
28249 cat conftest.err >&5
28250 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28251 (exit $ac_status); } && {
28252 test -z "$ac_c_werror_flag" ||
28253 test ! -s conftest.err
28254 } && test -s conftest.$ac_objext; then
28255 ac_cv_header_pbt_h=yes
28257 echo "$as_me: failed program was
:" >&5
28258 sed 's/^/| /' conftest.$ac_ext >&5
28260 ac_cv_header_pbt_h=no
28263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28265 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28266 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28267 if test $ac_cv_header_pbt_h = yes; then
28270 cat >>confdefs.h <<\_ACEOF
28271 #define NEED_PBT_H 1
28279 if test "$wxUSE_GUI" = "yes"; then
28289 if test "$wxUSE_COCOA" = 1 ; then
28290 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28291 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28292 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28293 wxUSE_PRINTING_ARCHITECTURE=no
28295 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28296 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28297 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28298 wxUSE_DRAG_AND_DROP=no
28300 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28301 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28302 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28307 if test "$wxUSE_MSW" = 1 ; then
28313 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28317 if test "$wxUSE_GTK" = 1; then
28318 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28319 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28321 gtk_version_cached=1
28322 if test "${wx_cv_lib_gtk+set}" = set; then
28323 echo $ECHO_N "(cached
) $ECHO_C" >&6
28326 gtk_version_cached=0
28327 { echo "$as_me:$LINENO: result
: " >&5
28328 echo "${ECHO_T}" >&6; }
28331 if test "$wxUSE_THREADS" = "yes"; then
28332 GTK_MODULES=gthread
28336 if test "x
$wxGTK_VERSION" != "x1
"
28340 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28345 # Check whether --enable-gtktest was given.
28346 if test "${enable_gtktest+set}" = set; then
28347 enableval=$enable_gtktest;
28353 pkg_config_args=gtk+-2.0
28354 for module in . $GTK_MODULES
28358 pkg_config_args="$pkg_config_args gthread
-2.0
"
28365 # Extract the first word of "pkg
-config", so it can be a program name with args.
28366 set dummy pkg-config; ac_word=$2
28367 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28368 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28369 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28370 echo $ECHO_N "(cached
) $ECHO_C" >&6
28372 case $PKG_CONFIG in
28374 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28378 for as_dir in $PATH
28381 test -z "$as_dir" && as_dir=.
28382 for ac_exec_ext in '' $ac_executable_extensions; do
28383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28384 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28385 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28392 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28396 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28397 if test -n "$PKG_CONFIG"; then
28398 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28399 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28401 { echo "$as_me:$LINENO: result
: no
" >&5
28402 echo "${ECHO_T}no
" >&6; }
28407 if test x$PKG_CONFIG != xno ; then
28408 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28411 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28419 min_gtk_version=2.4.0
28420 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28421 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28423 if test x$PKG_CONFIG != xno ; then
28424 ## don't try to run the test against uninstalled libtool libs
28425 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28426 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28430 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28437 if test x"$no_gtk" = x ; then
28438 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28439 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28440 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28442 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28444 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28446 if test "x
$enable_gtktest" = "xyes
" ; then
28447 ac_save_CFLAGS="$CFLAGS"
28448 ac_save_LIBS="$LIBS"
28449 CFLAGS="$CFLAGS $GTK_CFLAGS"
28450 LIBS="$GTK_LIBS $LIBS"
28452 if test "$cross_compiling" = yes; then
28453 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28455 cat >conftest.$ac_ext <<_ACEOF
28458 cat confdefs.h >>conftest.$ac_ext
28459 cat >>conftest.$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28462 #include <gtk/gtk.h>
28464 #include <stdlib.h>
28469 int major, minor, micro;
28472 system ("touch conf.gtktest
");
28474 /* HP/UX 9 (%@#!) writes to sscanf strings */
28475 tmp_version = g_strdup("$min_gtk_version");
28476 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28477 printf("%s
, bad version string
\n", "$min_gtk_version");
28481 if ((gtk_major_version != $gtk_config_major_version) ||
28482 (gtk_minor_version != $gtk_config_minor_version) ||
28483 (gtk_micro_version != $gtk_config_micro_version))
28485 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28486 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28487 gtk_major_version, gtk_minor_version, gtk_micro_version);
28488 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28489 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28490 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28491 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28492 printf("*** required on your system.
\n");
28493 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28494 printf("*** to point to the correct configuration files
\n");
28496 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28497 (gtk_minor_version != GTK_MINOR_VERSION) ||
28498 (gtk_micro_version != GTK_MICRO_VERSION))
28500 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28501 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28502 printf("*** library
(version
%d.
%d.
%d
)\n",
28503 gtk_major_version, gtk_minor_version, gtk_micro_version);
28507 if ((gtk_major_version > major) ||
28508 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28509 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28515 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28516 gtk_major_version, gtk_minor_version, gtk_micro_version);
28517 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28518 major, minor, micro);
28519 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28521 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28522 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28523 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28524 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28525 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28526 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28527 printf("*** so that the correct libraries are found
at run
-time))\n");
28534 rm -f conftest$ac_exeext
28535 if { (ac_try="$ac_link"
28536 case "(($ac_try" in
28537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28538 *) ac_try_echo=$ac_try;;
28540 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28541 (eval "$ac_link") 2>&5
28543 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28544 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28545 { (case "(($ac_try" in
28546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28547 *) ac_try_echo=$ac_try;;
28549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28550 (eval "$ac_try") 2>&5
28552 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28553 (exit $ac_status); }; }; then
28556 echo "$as_me: program exited with status
$ac_status" >&5
28557 echo "$as_me: failed program was
:" >&5
28558 sed 's/^/| /' conftest.$ac_ext >&5
28560 ( exit $ac_status )
28563 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28567 CFLAGS="$ac_save_CFLAGS"
28568 LIBS="$ac_save_LIBS"
28571 if test "x
$no_gtk" = x ; then
28572 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28573 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28576 { echo "$as_me:$LINENO: result
: no
" >&5
28577 echo "${ECHO_T}no
" >&6; }
28578 if test "$PKG_CONFIG" = "no
" ; then
28579 echo "*** A new enough version of pkg
-config was not found.
"
28580 echo "*** See http
://pkgconfig.sourceforge.net
"
28582 if test -f conf.gtktest ; then
28585 echo "*** Could not run GTK
+ test program
, checking why...
"
28586 ac_save_CFLAGS="$CFLAGS"
28587 ac_save_LIBS="$LIBS"
28588 CFLAGS="$CFLAGS $GTK_CFLAGS"
28589 LIBS="$LIBS $GTK_LIBS"
28590 cat >conftest.$ac_ext <<_ACEOF
28593 cat confdefs.h >>conftest.$ac_ext
28594 cat >>conftest.$ac_ext <<_ACEOF
28595 /* end confdefs.h. */
28597 #include <gtk/gtk.h>
28603 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28608 rm -f conftest.$ac_objext conftest$ac_exeext
28609 if { (ac_try="$ac_link"
28610 case "(($ac_try" in
28611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28612 *) ac_try_echo=$ac_try;;
28614 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28615 (eval "$ac_link") 2>conftest.er1
28617 grep -v '^ *+' conftest.er1 >conftest.err
28619 cat conftest.err >&5
28620 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28621 (exit $ac_status); } && {
28622 test -z "$ac_c_werror_flag" ||
28623 test ! -s conftest.err
28624 } && test -s conftest$ac_exeext &&
28625 $as_test_x conftest$ac_exeext; then
28626 echo "*** The
test program compiled
, but did not run. This usually means
"
28627 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28628 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28629 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28630 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28631 echo "*** is required on your system"
28633 echo "*** If you have an old version installed, it is best to remove it, although"
28634 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28636 echo "$as_me: failed program was:" >&5
28637 sed 's
/^
/| /' conftest.$ac_ext >&5
28639 echo "*** The test program failed to compile or link. See the file config.log for the"
28640 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28644 conftest$ac_exeext conftest.$ac_ext
28645 CFLAGS="$ac_save_CFLAGS"
28646 LIBS="$ac_save_LIBS"
28660 if test "$wxUSE_SHARED" != "yes"; then
28661 GTK_LIBS="$GTK_LIBS -lX11"
28666 if test -z "$wx_cv_lib_gtk"; then
28667 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28669 # Check whether --with-gtk-prefix was given.
28670 if test "${with_gtk_prefix+set}" = set; then
28671 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28673 gtk_config_prefix=""
28677 # Check whether --with-gtk-exec-prefix was given.
28678 if test "${with_gtk_exec_prefix+set}" = set; then
28679 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28681 gtk_config_exec_prefix=""
28684 # Check whether --enable-gtktest was given.
28685 if test "${enable_gtktest+set}" = set; then
28686 enableval=$enable_gtktest;
28692 for module in . $GTK_MODULES
28696 gtk_config_args="$gtk_config_args gthread"
28701 if test x$gtk_config_exec_prefix != x ; then
28702 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28703 if test x${GTK_CONFIG+set} != xset ; then
28704 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28707 if test x$gtk_config_prefix != x ; then
28708 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28709 if test x${GTK_CONFIG+set} != xset ; then
28710 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28714 # Extract the first word of "gtk-config", so it can be a program name with args.
28715 set dummy gtk-config; ac_word=$2
28716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28718 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28719 echo $ECHO_N "(cached) $ECHO_C" >&6
28721 case $GTK_CONFIG in
28723 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28727 for as_dir in $PATH
28730 test -z "$as_dir" && as_dir=.
28731 for ac_exec_ext in '' $ac_executable_extensions; do
28732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28733 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28741 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28745 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28746 if test -n "$GTK_CONFIG"; then
28747 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28748 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28750 { echo "$as_me:$LINENO: result: no" >&5
28751 echo "${ECHO_T}no" >&6; }
28755 min_gtk_version=1.2.7
28756 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28757 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28759 if test "$GTK_CONFIG" = "no" ; then
28762 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28763 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28764 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28765 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28766 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28767 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28768 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28769 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28770 if test "x$enable_gtktest" = "xyes" ; then
28771 ac_save_CFLAGS="$CFLAGS"
28772 ac_save_LIBS="$LIBS"
28773 CFLAGS="$CFLAGS $GTK_CFLAGS"
28774 LIBS="$GTK_LIBS $LIBS"
28776 if test "$cross_compiling" = yes; then
28777 echo $ac_n "cross compiling; assumed OK... $ac_c"
28779 cat >conftest.$ac_ext <<_ACEOF
28782 cat confdefs.h >>conftest.$ac_ext
28783 cat >>conftest.$ac_ext <<_ACEOF
28784 /* end confdefs.h. */
28786 #include <gtk/gtk.h>
28788 #include <stdlib.h>
28793 int major, minor, micro;
28796 system ("touch conf.gtktest");
28798 /* HP/UX 9 (%@#!) writes to sscanf strings */
28799 tmp_version = g_strdup("$min_gtk_version");
28800 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28801 printf("%s, bad version string\n", "$min_gtk_version");
28805 if ((gtk_major_version != $gtk_config_major_version) ||
28806 (gtk_minor_version != $gtk_config_minor_version) ||
28807 (gtk_micro_version != $gtk_config_micro_version))
28809 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28810 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28811 gtk_major_version, gtk_minor_version, gtk_micro_version);
28812 printf ("*** was found! If gtk-config was correct, then it is best\n");
28813 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28814 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28815 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28816 printf("*** required on your system.\n");
28817 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28818 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28819 printf("*** before re-running configure\n");
28821 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28822 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28823 (gtk_minor_version != GTK_MINOR_VERSION) ||
28824 (gtk_micro_version != GTK_MICRO_VERSION))
28826 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28827 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28828 printf("*** library (version %d.%d.%d)\n",
28829 gtk_major_version, gtk_minor_version, gtk_micro_version);
28831 #endif /* defined (GTK_MAJOR_VERSION) ... */
28834 if ((gtk_major_version > major) ||
28835 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28836 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28842 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28843 gtk_major_version, gtk_minor_version, gtk_micro_version);
28844 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28845 major, minor, micro);
28846 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28848 printf("*** If you have already installed a sufficiently new version, this error\n");
28849 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28850 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28851 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28852 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28853 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28854 printf("*** so that the correct libraries are found at run-time))\n");
28861 rm -f conftest$ac_exeext
28862 if { (ac_try="$ac_link"
28863 case "(($ac_try" in
28864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28865 *) ac_try_echo=$ac_try;;
28867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28868 (eval "$ac_link") 2>&5
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28872 { (case "(($ac_try" in
28873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28874 *) ac_try_echo=$ac_try;;
28876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28877 (eval "$ac_try") 2>&5
28879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28880 (exit $ac_status); }; }; then
28883 echo "$as_me: program exited with status $ac_status" >&5
28884 echo "$as_me: failed program was:" >&5
28885 sed 's
/^
/| /' conftest.$ac_ext >&5
28887 ( exit $ac_status )
28890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28894 CFLAGS="$ac_save_CFLAGS"
28895 LIBS="$ac_save_LIBS"
28898 if test "x$no_gtk" = x ; then
28899 { echo "$as_me:$LINENO: result: yes" >&5
28900 echo "${ECHO_T}yes" >&6; }
28901 wx_cv_lib_gtk=1.2.7
28903 { echo "$as_me:$LINENO: result: no" >&5
28904 echo "${ECHO_T}no" >&6; }
28905 if test "$GTK_CONFIG" = "no" ; then
28906 echo "*** The gtk-config script installed by GTK could not be found"
28907 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28908 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28909 echo "*** full path to gtk-config."
28911 if test -f conf.gtktest ; then
28914 echo "*** Could not run GTK test program, checking why..."
28915 CFLAGS="$CFLAGS $GTK_CFLAGS"
28916 LIBS="$LIBS $GTK_LIBS"
28917 cat >conftest.$ac_ext <<_ACEOF
28920 cat confdefs.h >>conftest.$ac_ext
28921 cat >>conftest.$ac_ext <<_ACEOF
28922 /* end confdefs.h. */
28924 #include <gtk/gtk.h>
28930 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28935 rm -f conftest.$ac_objext conftest$ac_exeext
28936 if { (ac_try="$ac_link"
28937 case "(($ac_try" in
28938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28939 *) ac_try_echo=$ac_try;;
28941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28942 (eval "$ac_link") 2>conftest.er1
28944 grep -v '^
*+' conftest.er1 >conftest.err
28946 cat conftest.err >&5
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); } && {
28949 test -z "$ac_c_werror_flag" ||
28950 test ! -s conftest.err
28951 } && test -s conftest$ac_exeext &&
28952 $as_test_x conftest$ac_exeext; then
28953 echo "*** The test program compiled, but did not run. This usually means"
28954 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28955 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28956 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28957 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28958 echo "*** is required on your system
"
28960 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28961 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28963 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28964 echo "*** came with the system with the
command"
28966 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28968 echo "$as_me: failed program was
:" >&5
28969 sed 's/^/| /' conftest.$ac_ext >&5
28971 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28972 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28973 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28974 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28978 conftest$ac_exeext conftest.$ac_ext
28979 CFLAGS="$ac_save_CFLAGS"
28980 LIBS="$ac_save_LIBS"
28992 if test -z "$wx_cv_lib_gtk"; then
28994 # Check whether --with-gtk-prefix was given.
28995 if test "${with_gtk_prefix+set}" = set; then
28996 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28998 gtk_config_prefix=""
29002 # Check whether --with-gtk-exec-prefix was given.
29003 if test "${with_gtk_exec_prefix+set}" = set; then
29004 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29006 gtk_config_exec_prefix=""
29009 # Check whether --enable-gtktest was given.
29010 if test "${enable_gtktest+set}" = set; then
29011 enableval=$enable_gtktest;
29017 for module in . $GTK_MODULES
29021 gtk_config_args="$gtk_config_args gthread
"
29026 if test x$gtk_config_exec_prefix != x ; then
29027 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29028 if test x${GTK_CONFIG+set} != xset ; then
29029 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29032 if test x$gtk_config_prefix != x ; then
29033 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29034 if test x${GTK_CONFIG+set} != xset ; then
29035 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29039 # Extract the first word of "gtk
-config", so it can be a program name with args.
29040 set dummy gtk-config; ac_word=$2
29041 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29042 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29043 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29044 echo $ECHO_N "(cached
) $ECHO_C" >&6
29046 case $GTK_CONFIG in
29048 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29052 for as_dir in $PATH
29055 test -z "$as_dir" && as_dir=.
29056 for ac_exec_ext in '' $ac_executable_extensions; do
29057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29058 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29059 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29066 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29070 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29071 if test -n "$GTK_CONFIG"; then
29072 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29073 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29075 { echo "$as_me:$LINENO: result
: no
" >&5
29076 echo "${ECHO_T}no
" >&6; }
29080 min_gtk_version=1.2.3
29081 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29082 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29084 if test "$GTK_CONFIG" = "no
" ; then
29087 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29088 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29089 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29091 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29092 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29093 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29094 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29095 if test "x
$enable_gtktest" = "xyes
" ; then
29096 ac_save_CFLAGS="$CFLAGS"
29097 ac_save_LIBS="$LIBS"
29098 CFLAGS="$CFLAGS $GTK_CFLAGS"
29099 LIBS="$GTK_LIBS $LIBS"
29101 if test "$cross_compiling" = yes; then
29102 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29104 cat >conftest.$ac_ext <<_ACEOF
29107 cat confdefs.h >>conftest.$ac_ext
29108 cat >>conftest.$ac_ext <<_ACEOF
29109 /* end confdefs.h. */
29111 #include <gtk/gtk.h>
29113 #include <stdlib.h>
29118 int major, minor, micro;
29121 system ("touch conf.gtktest
");
29123 /* HP/UX 9 (%@#!) writes to sscanf strings */
29124 tmp_version = g_strdup("$min_gtk_version");
29125 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29126 printf("%s
, bad version string
\n", "$min_gtk_version");
29130 if ((gtk_major_version != $gtk_config_major_version) ||
29131 (gtk_minor_version != $gtk_config_minor_version) ||
29132 (gtk_micro_version != $gtk_config_micro_version))
29134 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29135 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29136 gtk_major_version, gtk_minor_version, gtk_micro_version);
29137 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29138 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29139 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29140 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29141 printf("*** required on your system.
\n");
29142 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29143 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29144 printf("*** before re
-running configure
\n");
29146 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29147 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29148 (gtk_minor_version != GTK_MINOR_VERSION) ||
29149 (gtk_micro_version != GTK_MICRO_VERSION))
29151 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29152 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29153 printf("*** library
(version
%d.
%d.
%d
)\n",
29154 gtk_major_version, gtk_minor_version, gtk_micro_version);
29156 #endif /* defined (GTK_MAJOR_VERSION) ... */
29159 if ((gtk_major_version > major) ||
29160 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29161 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29167 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29168 gtk_major_version, gtk_minor_version, gtk_micro_version);
29169 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29170 major, minor, micro);
29171 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29173 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29174 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29175 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29176 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29177 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29178 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29179 printf("*** so that the correct libraries are found
at run
-time))\n");
29186 rm -f conftest$ac_exeext
29187 if { (ac_try="$ac_link"
29188 case "(($ac_try" in
29189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29190 *) ac_try_echo=$ac_try;;
29192 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29193 (eval "$ac_link") 2>&5
29195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29197 { (case "(($ac_try" in
29198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29199 *) ac_try_echo=$ac_try;;
29201 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29202 (eval "$ac_try") 2>&5
29204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29205 (exit $ac_status); }; }; then
29208 echo "$as_me: program exited with status
$ac_status" >&5
29209 echo "$as_me: failed program was
:" >&5
29210 sed 's/^/| /' conftest.$ac_ext >&5
29212 ( exit $ac_status )
29215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29219 CFLAGS="$ac_save_CFLAGS"
29220 LIBS="$ac_save_LIBS"
29223 if test "x
$no_gtk" = x ; then
29224 { echo "$as_me:$LINENO: result
: yes" >&5
29225 echo "${ECHO_T}yes" >&6; }
29226 wx_cv_lib_gtk=1.2.3
29228 { echo "$as_me:$LINENO: result
: no
" >&5
29229 echo "${ECHO_T}no
" >&6; }
29230 if test "$GTK_CONFIG" = "no
" ; then
29231 echo "*** The gtk
-config script installed by GTK could not be found
"
29232 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29233 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29234 echo "*** full path to gtk
-config.
"
29236 if test -f conf.gtktest ; then
29239 echo "*** Could not run GTK
test program
, checking why...
"
29240 CFLAGS="$CFLAGS $GTK_CFLAGS"
29241 LIBS="$LIBS $GTK_LIBS"
29242 cat >conftest.$ac_ext <<_ACEOF
29245 cat confdefs.h >>conftest.$ac_ext
29246 cat >>conftest.$ac_ext <<_ACEOF
29247 /* end confdefs.h. */
29249 #include <gtk/gtk.h>
29255 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29260 rm -f conftest.$ac_objext conftest$ac_exeext
29261 if { (ac_try="$ac_link"
29262 case "(($ac_try" in
29263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29264 *) ac_try_echo=$ac_try;;
29266 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29267 (eval "$ac_link") 2>conftest.er1
29269 grep -v '^ *+' conftest.er1 >conftest.err
29271 cat conftest.err >&5
29272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29273 (exit $ac_status); } && {
29274 test -z "$ac_c_werror_flag" ||
29275 test ! -s conftest.err
29276 } && test -s conftest$ac_exeext &&
29277 $as_test_x conftest$ac_exeext; then
29278 echo "*** The
test program compiled
, but did not run. This usually means
"
29279 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29280 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29281 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29282 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29283 echo "*** is required on your system"
29285 echo "*** If you have an old version installed, it is best to remove it, although"
29286 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29288 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29289 echo "*** came with the system with the command"
29291 echo "*** rpm --erase --nodeps gtk gtk-devel"
29293 echo "$as_me: failed program was:" >&5
29294 sed 's
/^
/| /' conftest.$ac_ext >&5
29296 echo "*** The test program failed to compile or link. See the file config.log for the"
29297 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29298 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29299 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29303 conftest$ac_exeext conftest.$ac_ext
29304 CFLAGS="$ac_save_CFLAGS"
29305 LIBS="$ac_save_LIBS"
29320 if test -z "$wx_cv_lib_gtk"; then
29323 wx_cv_cflags_gtk=$GTK_CFLAGS
29324 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29331 if test "$gtk_version_cached" = 1; then
29332 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29333 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29336 case "$wx_cv_lib_gtk" in
29345 *) { { echo "$as_me:$LINENO: error:
29346 The development files for GTK+ were not found. For GTK+ 2, please
29347 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29348 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29349 and that the version is 1.2.3 or above. Also check that the
29350 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29351 --libs' are in the LD_LIBRARY_PATH or equivalent.
29353 echo "$as_me: error:
29354 The development files for GTK+ were not found. For GTK+ 2, please
29355 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29356 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29357 and that the version is 1.2.3 or above. Also check that the
29358 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29359 --libs' are in the LD_LIBRARY_PATH or equivalent.
29361 { (exit 1); exit 1; }; }
29365 if test "$WXGTK2" = 1; then
29366 save_CFLAGS="$CFLAGS"
29368 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29369 LIBS="$LIBS $wx_cv_libs_gtk"
29371 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29372 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29373 cat >conftest.$ac_ext <<_ACEOF
29376 cat confdefs.h >>conftest.$ac_ext
29377 cat >>conftest.$ac_ext <<_ACEOF
29378 /* end confdefs.h. */
29380 #include <gtk/gtk.h>
29386 #if !GTK_CHECK_VERSION(2,10,0)
29394 rm -f conftest.$ac_objext
29395 if { (ac_try="$ac_compile"
29396 case "(($ac_try" in
29397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29398 *) ac_try_echo=$ac_try;;
29400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29401 (eval "$ac_compile") 2>conftest.er1
29403 grep -v '^
*+' conftest.er1 >conftest.err
29405 cat conftest.err >&5
29406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29407 (exit $ac_status); } && {
29408 test -z "$ac_c_werror_flag" ||
29409 test ! -s conftest.err
29410 } && test -s conftest.$ac_objext; then
29412 cat >>confdefs.h <<\_ACEOF
29413 #define __WXGTK210__ 1
29416 cat >>confdefs.h <<\_ACEOF
29417 #define __WXGTK26__ 1
29420 { echo "$as_me:$LINENO: result: yes" >&5
29421 echo "${ECHO_T}yes" >&6; }
29425 echo "$as_me: failed program was:" >&5
29426 sed 's
/^
/| /' conftest.$ac_ext >&5
29429 { echo "$as_me:$LINENO: result: no" >&5
29430 echo "${ECHO_T}no" >&6; }
29435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29437 if test "$ac_wxgtk210" = 0; then
29438 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29439 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29440 cat >conftest.$ac_ext <<_ACEOF
29443 cat confdefs.h >>conftest.$ac_ext
29444 cat >>conftest.$ac_ext <<_ACEOF
29445 /* end confdefs.h. */
29447 #include <gtk/gtk.h>
29453 #if !GTK_CHECK_VERSION(2,6,0)
29461 rm -f conftest.$ac_objext
29462 if { (ac_try="$ac_compile"
29463 case "(($ac_try" in
29464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29465 *) ac_try_echo=$ac_try;;
29467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29468 (eval "$ac_compile") 2>conftest.er1
29470 grep -v '^
*+' conftest.er1 >conftest.err
29472 cat conftest.err >&5
29473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29474 (exit $ac_status); } && {
29475 test -z "$ac_c_werror_flag" ||
29476 test ! -s conftest.err
29477 } && test -s conftest.$ac_objext; then
29479 cat >>confdefs.h <<\_ACEOF
29480 #define __WXGTK26__ 1
29483 { echo "$as_me:$LINENO: result: yes" >&5
29484 echo "${ECHO_T}yes" >&6; }
29488 echo "$as_me: failed program was:" >&5
29489 sed 's
/^
/| /' conftest.$ac_ext >&5
29492 { echo "$as_me:$LINENO: result: no" >&5
29493 echo "${ECHO_T}no" >&6; }
29498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29501 CFLAGS="$save_CFLAGS"
29504 if test "$wxUSE_UNICODE" = "yes"; then
29505 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29506 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29510 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29511 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29512 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29513 echo $ECHO_N "(cached) $ECHO_C" >&6
29515 ac_check_lib_save_LIBS=$LIBS
29517 cat >conftest.$ac_ext <<_ACEOF
29520 cat confdefs.h >>conftest.$ac_ext
29521 cat >>conftest.$ac_ext <<_ACEOF
29522 /* end confdefs.h. */
29524 /* Override any GCC internal prototype to avoid an error.
29525 Use char because int might match the return type of a GCC
29526 builtin and then its argument prototype would still apply. */
29530 char gdk_im_open ();
29534 return gdk_im_open ();
29539 rm -f conftest.$ac_objext conftest$ac_exeext
29540 if { (ac_try="$ac_link"
29541 case "(($ac_try" in
29542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29543 *) ac_try_echo=$ac_try;;
29545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29546 (eval "$ac_link") 2>conftest.er1
29548 grep -v '^
*+' conftest.er1 >conftest.err
29550 cat conftest.err >&5
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); } && {
29553 test -z "$ac_c_werror_flag" ||
29554 test ! -s conftest.err
29555 } && test -s conftest$ac_exeext &&
29556 $as_test_x conftest$ac_exeext; then
29557 ac_cv_lib_gdk_gdk_im_open=yes
29559 echo "$as_me: failed program was:" >&5
29560 sed 's
/^
/| /' conftest.$ac_ext >&5
29562 ac_cv_lib_gdk_gdk_im_open=no
29565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29566 conftest$ac_exeext conftest.$ac_ext
29567 LIBS=$ac_check_lib_save_LIBS
29569 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29570 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29571 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29572 cat >>confdefs.h <<\_ACEOF
29579 if test "$USE_DARWIN" != 1; then
29581 for ac_func in poll
29583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29584 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29587 echo $ECHO_N "(cached) $ECHO_C" >&6
29589 cat >conftest.$ac_ext <<_ACEOF
29592 cat confdefs.h >>conftest.$ac_ext
29593 cat >>conftest.$ac_ext <<_ACEOF
29594 /* end confdefs.h. */
29595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29597 #define $ac_func innocuous_$ac_func
29599 /* System header to define __stub macros and hopefully few prototypes,
29600 which can conflict with char $ac_func (); below.
29601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29602 <limits.h> exists even on freestanding compilers. */
29605 # include <limits.h>
29607 # include <assert.h>
29612 /* Override any GCC internal prototype to avoid an error.
29613 Use char because int might match the return type of a GCC
29614 builtin and then its argument prototype would still apply. */
29619 /* The GNU C library defines this for functions which it implements
29620 to always fail with ENOSYS. Some functions are actually named
29621 something starting with __ and the normal name is an alias. */
29622 #if defined __stub_$ac_func || defined __stub___$ac_func
29629 return $ac_func ();
29634 rm -f conftest.$ac_objext conftest$ac_exeext
29635 if { (ac_try="$ac_link"
29636 case "(($ac_try" in
29637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29638 *) ac_try_echo=$ac_try;;
29640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29641 (eval "$ac_link") 2>conftest.er1
29643 grep -v '^
*+' conftest.er1 >conftest.err
29645 cat conftest.err >&5
29646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 (exit $ac_status); } && {
29648 test -z "$ac_c_werror_flag" ||
29649 test ! -s conftest.err
29650 } && test -s conftest$ac_exeext &&
29651 $as_test_x conftest$ac_exeext; then
29652 eval "$as_ac_var=yes"
29654 echo "$as_me: failed program was:" >&5
29655 sed 's
/^
/| /' conftest.$ac_ext >&5
29657 eval "$as_ac_var=no"
29660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29661 conftest$ac_exeext conftest.$ac_ext
29663 ac_res=`eval echo '${'$as_ac_var'}'`
29664 { echo "$as_me:$LINENO: result: $ac_res" >&5
29665 echo "${ECHO_T}$ac_res" >&6; }
29666 if test `eval echo '${'$as_ac_var'}'` = yes; then
29667 cat >>confdefs.h <<_ACEOF
29668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29677 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29678 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29680 AFMINSTALL=afminstall
29684 if test "$wxUSE_GPE" = "yes"; then
29685 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29686 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29689 for ac_dir in $SEARCH_LIB;
29691 for ac_extension in a so sl dylib dll.a; do
29692 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29693 ac_find_libraries=$ac_dir
29699 if test "$ac_find_libraries" != "" ; then
29701 if test "$ac_find_libraries" = "default location"; then
29704 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29706 if test $result = 0; then
29709 ac_path_to_link=" -L$ac_find_libraries"
29713 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29715 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29716 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29718 { echo "$as_me:$LINENO: result: not found" >&5
29719 echo "${ECHO_T}not found" >&6; }
29725 if test "$wxUSE_MGL" = 1; then
29726 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29727 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29728 if test "x$MGL_ROOT" = x ; then
29729 { echo "$as_me:$LINENO: result: not found" >&5
29730 echo "${ECHO_T}not found" >&6; }
29731 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29732 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29733 { (exit 1); exit 1; }; }
29735 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29736 echo "${ECHO_T}$MGL_ROOT" >&6; }
29739 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29740 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29743 if test "x$wxUSE_SHARED" = xyes ; then
29744 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29746 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29750 mgl_os_candidates="dos32/dj2"
29753 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29754 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29755 { (exit 1); exit 1; }; }
29761 for mgl_os_i in $mgl_os_candidates ; do
29762 if test "x$mgl_os" = x ; then
29763 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29764 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29765 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29770 if test "x$mgl_lib_type" = x ; then
29771 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29772 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29773 mgl_lib_type=release
29780 if test "x$mgl_os" = x ; then
29781 { echo "$as_me:$LINENO: result: not found" >&5
29782 echo "${ECHO_T}not found" >&6; }
29783 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29784 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29785 { (exit 1); exit 1; }; }
29787 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29788 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29790 wxUSE_UNIVERSAL="yes"
29792 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29793 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29795 AFMINSTALL=afminstall
29800 if test "$wxUSE_DFB" = 1; then
29803 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29804 if test -n "$ac_tool_prefix"; then
29805 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29806 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29809 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29810 echo $ECHO_N "(cached) $ECHO_C" >&6
29812 case $PKG_CONFIG in
29814 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29818 for as_dir in $PATH
29821 test -z "$as_dir" && as_dir=.
29822 for ac_exec_ext in '' $ac_executable_extensions; do
29823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29824 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29835 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29836 if test -n "$PKG_CONFIG"; then
29837 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29838 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29840 { echo "$as_me:$LINENO: result: no" >&5
29841 echo "${ECHO_T}no" >&6; }
29846 if test -z "$ac_cv_path_PKG_CONFIG"; then
29847 ac_pt_PKG_CONFIG=$PKG_CONFIG
29848 # Extract the first word of "pkg-config", so it can be a program name with args.
29849 set dummy pkg-config; ac_word=$2
29850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29852 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29853 echo $ECHO_N "(cached) $ECHO_C" >&6
29855 case $ac_pt_PKG_CONFIG in
29857 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29861 for as_dir in $PATH
29864 test -z "$as_dir" && as_dir=.
29865 for ac_exec_ext in '' $ac_executable_extensions; do
29866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29867 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29878 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29879 if test -n "$ac_pt_PKG_CONFIG"; then
29880 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29881 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29883 { echo "$as_me:$LINENO: result: no" >&5
29884 echo "${ECHO_T}no" >&6; }
29887 if test "x$ac_pt_PKG_CONFIG" = x; then
29890 case $cross_compiling:$ac_tool_warned in
29892 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29893 whose name does not start with the host triplet. If you think this
29894 configuration is useful to you, please write to autoconf@gnu.org." >&5
29895 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29896 whose name does not start with the host triplet. If you think this
29897 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29898 ac_tool_warned=yes ;;
29900 PKG_CONFIG=$ac_pt_PKG_CONFIG
29903 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29907 if test -n "$PKG_CONFIG"; then
29908 _pkg_min_version=0.9.0
29909 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29910 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29911 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29912 { echo "$as_me:$LINENO: result: yes" >&5
29913 echo "${ECHO_T}yes" >&6; }
29915 { echo "$as_me:$LINENO: result: no" >&5
29916 echo "${ECHO_T}no" >&6; }
29924 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29925 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29927 if test -n "$PKG_CONFIG"; then
29928 if test -n "$DIRECTFB_CFLAGS"; then
29929 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29931 if test -n "$PKG_CONFIG" && \
29932 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29933 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29936 (exit $ac_status); }; then
29937 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29945 if test -n "$PKG_CONFIG"; then
29946 if test -n "$DIRECTFB_LIBS"; then
29947 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29949 if test -n "$PKG_CONFIG" && \
29950 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29951 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); }; then
29955 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29966 if test $pkg_failed = yes; then
29968 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29969 _pkg_short_errors_supported=yes
29971 _pkg_short_errors_supported=no
29973 if test $_pkg_short_errors_supported = yes; then
29974 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29976 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29978 # Put the nasty error message in config.log where it belongs
29979 echo "$DIRECTFB_PKG_ERRORS" >&5
29982 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29983 echo "$as_me: error: DirectFB not found." >&2;}
29984 { (exit 1); exit 1; }; }
29987 elif test $pkg_failed = untried; then
29989 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29990 echo "$as_me: error: DirectFB not found." >&2;}
29991 { (exit 1); exit 1; }; }
29995 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29996 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29997 { echo "$as_me:$LINENO: result: yes" >&5
29998 echo "${ECHO_T}yes" >&6; }
30000 wxUSE_UNIVERSAL="yes"
30001 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30002 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30009 if test "$wxUSE_MICROWIN" = 1; then
30010 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30011 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30012 if test "x$MICROWINDOWS" = x ; then
30013 { echo "$as_me:$LINENO: result: not found" >&5
30014 echo "${ECHO_T}not found" >&6; }
30015 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30016 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30017 { (exit 1); exit 1; }; }
30019 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30020 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30023 if test -f $MICROWINDOWS/lib/libmwin.a; then
30024 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30025 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30027 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30028 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30029 { (exit 1); exit 1; }; }
30032 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30033 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30035 wxUSE_UNIVERSAL="yes"
30037 AFMINSTALL=afminstall
30039 GUIDIST=MICROWIN_DIST
30041 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30044 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30045 { echo "$as_me:$LINENO: checking for X" >&5
30046 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30049 # Check whether --with-x was given.
30050 if test "${with_x+set}" = set; then
30054 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30055 if test "x$with_x" = xno; then
30056 # The user explicitly disabled X.
30059 case $x_includes,$x_libraries in #(
30060 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30061 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30062 { (exit 1); exit 1; }; };; #(
30063 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30064 echo $ECHO_N "(cached) $ECHO_C" >&6
30066 # One or both of the vars are not set, and there is no cached value.
30067 ac_x_includes=no ac_x_libraries=no
30068 rm -f -r conftest.dir
30069 if mkdir conftest.dir; then
30071 cat >Imakefile <<'_ACEOF'
30073 @echo incroot='${INCROOT}'
30075 @echo usrlibdir='${USRLIBDIR}'
30077 @echo libdir='${LIBDIR}'
30079 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30080 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30081 for ac_var in incroot usrlibdir libdir; do
30082 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30084 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30085 for ac_extension in a so sl; do
30086 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30087 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30088 ac_im_usrlibdir=$ac_im_libdir; break
30091 # Screen out bogus values from the imake configuration. They are
30092 # bogus both because they are the default anyway, and because
30093 # using them would break gcc on systems where it needs fixed includes.
30094 case $ac_im_incroot in
30095 /usr/include) ac_x_includes= ;;
30096 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30098 case $ac_im_usrlibdir in
30099 /usr/lib | /lib) ;;
30100 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30104 rm -f -r conftest.dir
30107 # Standard set of common directories for X headers.
30108 # Check X11 before X11Rn because it is often a symlink to the current release.
30120 /usr
/local
/X
11/include
30121 /usr
/local
/X
11R
6/include
30122 /usr
/local
/X
11R
5/include
30123 /usr
/local
/X
11R
4/include
30125 /usr
/local
/include
/X11
30126 /usr
/local
/include
/X11R6
30127 /usr
/local
/include
/X11R5
30128 /usr
/local
/include
/X11R4
30132 /usr
/XFree
86/include
/X11
30136 /usr
/unsupported
/include
30137 /usr
/athena
/include
30138 /usr
/local
/x
11r
5/include
30139 /usr
/lpp
/Xamples
/include
30141 /usr
/openwin
/include
30142 /usr
/openwin
/share
/include
'
30144 if test "$ac_x_includes" = no; then
30145 # Guess where to find include files, by looking for Xlib.h.
30146 # First, try using that file with no special directory specified.
30147 cat >conftest.$ac_ext <<_ACEOF
30150 cat confdefs.h >>conftest.$ac_ext
30151 cat >>conftest.$ac_ext <<_ACEOF
30152 /* end confdefs.h. */
30153 #include <X11/Xlib.h>
30155 if { (ac_try="$ac_cpp conftest.$ac_ext"
30156 case "(($ac_try" in
30157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30158 *) ac_try_echo=$ac_try;;
30160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30163 grep -v '^
*+' conftest.er1 >conftest.err
30165 cat conftest.err >&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); } >/dev/null && {
30168 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30169 test ! -s conftest.err
30171 # We can compile using X headers with no special include directory.
30174 echo "$as_me: failed program was:" >&5
30175 sed 's
/^
/| /' conftest.$ac_ext >&5
30177 for ac_dir in $ac_x_header_dirs; do
30178 if test -r "$ac_dir/X11/Xlib.h"; then
30179 ac_x_includes=$ac_dir
30185 rm -f conftest.err conftest.$ac_ext
30186 fi # $ac_x_includes = no
30188 if test "$ac_x_libraries" = no; then
30189 # Check for the libraries.
30190 # See if we find them without any special options.
30191 # Don't add to
$LIBS permanently.
30194 cat >conftest.
$ac_ext <<_ACEOF
30197 cat confdefs.h
>>conftest.
$ac_ext
30198 cat >>conftest.
$ac_ext <<_ACEOF
30199 /* end confdefs.h. */
30200 #include <X11/Xlib.h>
30209 rm -f conftest.
$ac_objext conftest
$ac_exeext
30210 if { (ac_try
="$ac_link"
30211 case "(($ac_try" in
30212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30213 *) ac_try_echo=$ac_try;;
30215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30216 (eval "$ac_link") 2>conftest.er1
30218 grep -v '^ *+' conftest.er1 >conftest.err
30220 cat conftest.err >&5
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); } && {
30223 test -z "$ac_c_werror_flag" ||
30224 test ! -s conftest.err
30225 } && test -s conftest$ac_exeext &&
30226 $as_test_x conftest$ac_exeext; then
30228 # We can link X programs with no special library path.
30231 echo "$as_me: failed program was:" >&5
30232 sed 's/^/| /' conftest.$ac_ext >&5
30235 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30237 # Don't even attempt the hair of trying to link an X program!
30238 for ac_extension in a so sl; do
30239 if test -r "$ac_dir/libX11.$ac_extension"; then
30240 ac_x_libraries=$ac_dir
30247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30248 conftest$ac_exeext conftest.$ac_ext
30249 fi # $ac_x_libraries = no
30251 case $ac_x_includes,$ac_x_libraries in #(
30252 no,* | *,no | *\'*)
30253 # Didn't find X, or a directory has "'" in its name.
30254 ac_cv_have_x="have_x=no";; #(
30256 # Record where we found X for the cache.
30257 ac_cv_have_x="have_x=yes\
30258 ac_x_includes='$ac_x_includes'\
30259 ac_x_libraries='$ac_x_libraries'"
30265 eval "$ac_cv_have_x"
30268 if test "$have_x" != yes; then
30269 { echo "$as_me:$LINENO: result: $have_x" >&5
30270 echo "${ECHO_T}$have_x" >&6; }
30273 # If each of the values was on the command line, it overrides each guess.
30274 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30275 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30276 # Update the cache value to reflect the command line values.
30277 ac_cv_have_x="have_x=yes\
30278 ac_x_includes='$x_includes'\
30279 ac_x_libraries='$x_libraries'"
30280 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30281 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30284 if test "$no_x" = yes; then
30285 # Not all programs may use this symbol, but it does not hurt to define it.
30287 cat >>confdefs.h <<\_ACEOF
30288 #define X_DISPLAY_MISSING 1
30291 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30293 if test -n "$x_includes"; then
30294 X_CFLAGS="$X_CFLAGS -I$x_includes"
30297 # It would also be nice to do this for all -L options, not just this one.
30298 if test -n "$x_libraries"; then
30299 X_LIBS="$X_LIBS -L$x_libraries"
30300 # For Solaris; some versions of Sun CC require a space after -R and
30301 # others require no space. Words are not sufficient . . . .
30302 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30303 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30304 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30305 ac_xsave_c_werror_flag=$ac_c_werror_flag
30306 ac_c_werror_flag=yes
30307 cat >conftest.$ac_ext <<_ACEOF
30310 cat confdefs.h >>conftest.$ac_ext
30311 cat >>conftest.$ac_ext <<_ACEOF
30312 /* end confdefs.h. */
30322 rm -f conftest.$ac_objext conftest$ac_exeext
30323 if { (ac_try="$ac_link"
30324 case "(($ac_try" in
30325 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30326 *) ac_try_echo
=$ac_try;;
30328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30329 (eval "$ac_link") 2>conftest.er1
30331 grep -v '^ *+' conftest.er1
>conftest.err
30333 cat conftest.err
>&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); } && {
30336 test -z "$ac_c_werror_flag" ||
30337 test ! -s conftest.err
30338 } && test -s conftest
$ac_exeext &&
30339 $as_test_x conftest
$ac_exeext; then
30340 { echo "$as_me:$LINENO: result: no" >&5
30341 echo "${ECHO_T}no" >&6; }
30342 X_LIBS
="$X_LIBS -R$x_libraries"
30344 echo "$as_me: failed program was:" >&5
30345 sed 's/^/| /' conftest.
$ac_ext >&5
30347 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30348 cat >conftest.
$ac_ext <<_ACEOF
30351 cat confdefs.h
>>conftest.
$ac_ext
30352 cat >>conftest.
$ac_ext <<_ACEOF
30353 /* end confdefs.h. */
30363 rm -f conftest.
$ac_objext conftest
$ac_exeext
30364 if { (ac_try
="$ac_link"
30365 case "(($ac_try" in
30366 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30367 *) ac_try_echo=$ac_try;;
30369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30370 (eval "$ac_link") 2>conftest.er1
30372 grep -v '^ *+' conftest.er1 >conftest.err
30374 cat conftest.err >&5
30375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 (exit $ac_status); } && {
30377 test -z "$ac_c_werror_flag" ||
30378 test ! -s conftest.err
30379 } && test -s conftest$ac_exeext &&
30380 $as_test_x conftest$ac_exeext; then
30381 { echo "$as_me:$LINENO: result: yes" >&5
30382 echo "${ECHO_T}yes" >&6; }
30383 X_LIBS="$X_LIBS -R $x_libraries"
30385 echo "$as_me: failed program was:" >&5
30386 sed 's/^/| /' conftest.$ac_ext >&5
30388 { echo "$as_me:$LINENO: result: neither works" >&5
30389 echo "${ECHO_T}neither works" >&6; }
30392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30393 conftest$ac_exeext conftest.$ac_ext
30396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30397 conftest$ac_exeext conftest.$ac_ext
30398 ac_c_werror_flag=$ac_xsave_c_werror_flag
30399 LIBS=$ac_xsave_LIBS
30402 # Check for system-dependent libraries X programs must link with.
30403 # Do this before checking for the system-independent R6 libraries
30404 # (-lICE), since we may need -lsocket or whatever for X linking.
30406 if test "$ISC" = yes; then
30407 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30409 # Martyn Johnson says this is needed for Ultrix, if the X
30410 # libraries were built with DECnet support. And Karl Berry says
30411 # the Alpha needs dnet_stub (dnet does not exist).
30412 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30413 cat >conftest.$ac_ext <<_ACEOF
30416 cat confdefs.h >>conftest.$ac_ext
30417 cat >>conftest.$ac_ext <<_ACEOF
30418 /* end confdefs.h. */
30420 /* Override any GCC internal prototype to avoid an error.
30421 Use char because int might match the return type of a GCC
30422 builtin and then its argument prototype would still apply. */
30426 char XOpenDisplay ();
30430 return XOpenDisplay ();
30435 rm -f conftest.$ac_objext conftest$ac_exeext
30436 if { (ac_try="$ac_link"
30437 case "(($ac_try" in
30438 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30439 *) ac_try_echo
=$ac_try;;
30441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30442 (eval "$ac_link") 2>conftest.er1
30444 grep -v '^ *+' conftest.er1
>conftest.err
30446 cat conftest.err
>&5
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); } && {
30449 test -z "$ac_c_werror_flag" ||
30450 test ! -s conftest.err
30451 } && test -s conftest
$ac_exeext &&
30452 $as_test_x conftest
$ac_exeext; then
30455 echo "$as_me: failed program was:" >&5
30456 sed 's/^/| /' conftest.
$ac_ext >&5
30458 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30459 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30460 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30461 echo $ECHO_N "(cached) $ECHO_C" >&6
30463 ac_check_lib_save_LIBS
=$LIBS
30464 LIBS
="-ldnet $LIBS"
30465 cat >conftest.
$ac_ext <<_ACEOF
30468 cat confdefs.h
>>conftest.
$ac_ext
30469 cat >>conftest.
$ac_ext <<_ACEOF
30470 /* end confdefs.h. */
30472 /* Override any GCC internal prototype to avoid an error.
30473 Use char because int might match the return type of a GCC
30474 builtin and then its argument prototype would still apply. */
30482 return dnet_ntoa ();
30487 rm -f conftest.
$ac_objext conftest
$ac_exeext
30488 if { (ac_try
="$ac_link"
30489 case "(($ac_try" in
30490 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30491 *) ac_try_echo=$ac_try;;
30493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30494 (eval "$ac_link") 2>conftest.er1
30496 grep -v '^ *+' conftest.er1 >conftest.err
30498 cat conftest.err >&5
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); } && {
30501 test -z "$ac_c_werror_flag" ||
30502 test ! -s conftest.err
30503 } && test -s conftest$ac_exeext &&
30504 $as_test_x conftest$ac_exeext; then
30505 ac_cv_lib_dnet_dnet_ntoa=yes
30507 echo "$as_me: failed program was:" >&5
30508 sed 's/^/| /' conftest.$ac_ext >&5
30510 ac_cv_lib_dnet_dnet_ntoa=no
30513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30514 conftest$ac_exeext conftest.$ac_ext
30515 LIBS=$ac_check_lib_save_LIBS
30517 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30518 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30519 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30520 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30523 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30524 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30525 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30526 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30527 echo $ECHO_N "(cached) $ECHO_C" >&6
30529 ac_check_lib_save_LIBS=$LIBS
30530 LIBS="-ldnet_stub $LIBS"
30531 cat >conftest.$ac_ext <<_ACEOF
30534 cat confdefs.h >>conftest.$ac_ext
30535 cat >>conftest.$ac_ext <<_ACEOF
30536 /* end confdefs.h. */
30538 /* Override any GCC internal prototype to avoid an error.
30539 Use char because int might match the return type of a GCC
30540 builtin and then its argument prototype would still apply. */
30548 return dnet_ntoa ();
30553 rm -f conftest.$ac_objext conftest$ac_exeext
30554 if { (ac_try="$ac_link"
30555 case "(($ac_try" in
30556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30557 *) ac_try_echo
=$ac_try;;
30559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30560 (eval "$ac_link") 2>conftest.er1
30562 grep -v '^ *+' conftest.er1
>conftest.err
30564 cat conftest.err
>&5
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); } && {
30567 test -z "$ac_c_werror_flag" ||
30568 test ! -s conftest.err
30569 } && test -s conftest
$ac_exeext &&
30570 $as_test_x conftest
$ac_exeext; then
30571 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30573 echo "$as_me: failed program was:" >&5
30574 sed 's/^/| /' conftest.
$ac_ext >&5
30576 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30579 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30580 conftest
$ac_exeext conftest.
$ac_ext
30581 LIBS
=$ac_check_lib_save_LIBS
30583 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30584 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30585 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30586 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30592 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30593 conftest
$ac_exeext conftest.
$ac_ext
30594 LIBS
="$ac_xsave_LIBS"
30596 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30597 # to get the SysV transport functions.
30598 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30600 # The nsl library prevents programs from opening the X display
30601 # on Irix 5.2, according to T.E. Dickey.
30602 # The functions gethostbyname, getservbyname, and inet_addr are
30603 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30604 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30605 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30606 if test "${ac_cv_func_gethostbyname+set}" = set; then
30607 echo $ECHO_N "(cached) $ECHO_C" >&6
30609 cat >conftest.
$ac_ext <<_ACEOF
30612 cat confdefs.h
>>conftest.
$ac_ext
30613 cat >>conftest.
$ac_ext <<_ACEOF
30614 /* end confdefs.h. */
30615 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30617 #define gethostbyname innocuous_gethostbyname
30619 /* System header to define __stub macros and hopefully few prototypes,
30620 which can conflict with char gethostbyname (); below.
30621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30622 <limits.h> exists even on freestanding compilers. */
30625 # include <limits.h>
30627 # include <assert.h>
30630 #undef gethostbyname
30632 /* Override any GCC internal prototype to avoid an error.
30633 Use char because int might match the return type of a GCC
30634 builtin and then its argument prototype would still apply. */
30638 char gethostbyname ();
30639 /* The GNU C library defines this for functions which it implements
30640 to always fail with ENOSYS. Some functions are actually named
30641 something starting with __ and the normal name is an alias. */
30642 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30649 return gethostbyname ();
30654 rm -f conftest.
$ac_objext conftest
$ac_exeext
30655 if { (ac_try
="$ac_link"
30656 case "(($ac_try" in
30657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30658 *) ac_try_echo=$ac_try;;
30660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30661 (eval "$ac_link") 2>conftest.er1
30663 grep -v '^ *+' conftest.er1 >conftest.err
30665 cat conftest.err >&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); } && {
30668 test -z "$ac_c_werror_flag" ||
30669 test ! -s conftest.err
30670 } && test -s conftest$ac_exeext &&
30671 $as_test_x conftest$ac_exeext; then
30672 ac_cv_func_gethostbyname=yes
30674 echo "$as_me: failed program was:" >&5
30675 sed 's/^/| /' conftest.$ac_ext >&5
30677 ac_cv_func_gethostbyname=no
30680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30681 conftest$ac_exeext conftest.$ac_ext
30683 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30684 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30686 if test $ac_cv_func_gethostbyname = no; then
30687 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30688 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30689 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30690 echo $ECHO_N "(cached) $ECHO_C" >&6
30692 ac_check_lib_save_LIBS=$LIBS
30694 cat >conftest.$ac_ext <<_ACEOF
30697 cat confdefs.h >>conftest.$ac_ext
30698 cat >>conftest.$ac_ext <<_ACEOF
30699 /* end confdefs.h. */
30701 /* Override any GCC internal prototype to avoid an error.
30702 Use char because int might match the return type of a GCC
30703 builtin and then its argument prototype would still apply. */
30707 char gethostbyname ();
30711 return gethostbyname ();
30716 rm -f conftest.$ac_objext conftest$ac_exeext
30717 if { (ac_try="$ac_link"
30718 case "(($ac_try" in
30719 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30720 *) ac_try_echo
=$ac_try;;
30722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30723 (eval "$ac_link") 2>conftest.er1
30725 grep -v '^ *+' conftest.er1
>conftest.err
30727 cat conftest.err
>&5
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); } && {
30730 test -z "$ac_c_werror_flag" ||
30731 test ! -s conftest.err
30732 } && test -s conftest
$ac_exeext &&
30733 $as_test_x conftest
$ac_exeext; then
30734 ac_cv_lib_nsl_gethostbyname
=yes
30736 echo "$as_me: failed program was:" >&5
30737 sed 's/^/| /' conftest.
$ac_ext >&5
30739 ac_cv_lib_nsl_gethostbyname
=no
30742 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30743 conftest
$ac_exeext conftest.
$ac_ext
30744 LIBS
=$ac_check_lib_save_LIBS
30746 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30747 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30748 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30749 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30752 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30753 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30754 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30755 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30756 echo $ECHO_N "(cached) $ECHO_C" >&6
30758 ac_check_lib_save_LIBS
=$LIBS
30760 cat >conftest.
$ac_ext <<_ACEOF
30763 cat confdefs.h
>>conftest.
$ac_ext
30764 cat >>conftest.
$ac_ext <<_ACEOF
30765 /* end confdefs.h. */
30767 /* Override any GCC internal prototype to avoid an error.
30768 Use char because int might match the return type of a GCC
30769 builtin and then its argument prototype would still apply. */
30773 char gethostbyname ();
30777 return gethostbyname ();
30782 rm -f conftest.
$ac_objext conftest
$ac_exeext
30783 if { (ac_try
="$ac_link"
30784 case "(($ac_try" in
30785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30786 *) ac_try_echo=$ac_try;;
30788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30789 (eval "$ac_link") 2>conftest.er1
30791 grep -v '^ *+' conftest.er1 >conftest.err
30793 cat conftest.err >&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } && {
30796 test -z "$ac_c_werror_flag" ||
30797 test ! -s conftest.err
30798 } && test -s conftest$ac_exeext &&
30799 $as_test_x conftest$ac_exeext; then
30800 ac_cv_lib_bsd_gethostbyname=yes
30802 echo "$as_me: failed program was:" >&5
30803 sed 's/^/| /' conftest.$ac_ext >&5
30805 ac_cv_lib_bsd_gethostbyname=no
30808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30809 conftest$ac_exeext conftest.$ac_ext
30810 LIBS=$ac_check_lib_save_LIBS
30812 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30813 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30814 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30815 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30821 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30822 # socket/setsockopt and other routines are undefined under SCO ODT
30823 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30824 # on later versions), says Simon Leinen: it contains gethostby*
30825 # variants that don't use the name server (or something). -lsocket
30826 # must be given before -lnsl if both are needed. We assume that
30827 # if connect needs -lnsl, so does gethostbyname.
30828 { echo "$as_me:$LINENO: checking for connect" >&5
30829 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30830 if test "${ac_cv_func_connect+set}" = set; then
30831 echo $ECHO_N "(cached) $ECHO_C" >&6
30833 cat >conftest.$ac_ext <<_ACEOF
30836 cat confdefs.h >>conftest.$ac_ext
30837 cat >>conftest.$ac_ext <<_ACEOF
30838 /* end confdefs.h. */
30839 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30841 #define connect innocuous_connect
30843 /* System header to define __stub macros and hopefully few prototypes,
30844 which can conflict with char connect (); below.
30845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30846 <limits.h> exists even on freestanding compilers. */
30849 # include <limits.h>
30851 # include <assert.h>
30856 /* Override any GCC internal prototype to avoid an error.
30857 Use char because int might match the return type of a GCC
30858 builtin and then its argument prototype would still apply. */
30863 /* The GNU C library defines this for functions which it implements
30864 to always fail with ENOSYS. Some functions are actually named
30865 something starting with __ and the normal name is an alias. */
30866 #if defined __stub_connect || defined __stub___connect
30878 rm -f conftest.$ac_objext conftest$ac_exeext
30879 if { (ac_try="$ac_link"
30880 case "(($ac_try" in
30881 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30882 *) ac_try_echo
=$ac_try;;
30884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30885 (eval "$ac_link") 2>conftest.er1
30887 grep -v '^ *+' conftest.er1
>conftest.err
30889 cat conftest.err
>&5
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); } && {
30892 test -z "$ac_c_werror_flag" ||
30893 test ! -s conftest.err
30894 } && test -s conftest
$ac_exeext &&
30895 $as_test_x conftest
$ac_exeext; then
30896 ac_cv_func_connect
=yes
30898 echo "$as_me: failed program was:" >&5
30899 sed 's/^/| /' conftest.
$ac_ext >&5
30901 ac_cv_func_connect
=no
30904 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30905 conftest
$ac_exeext conftest.
$ac_ext
30907 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30908 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30910 if test $ac_cv_func_connect = no
; then
30911 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30912 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30913 if test "${ac_cv_lib_socket_connect+set}" = set; then
30914 echo $ECHO_N "(cached) $ECHO_C" >&6
30916 ac_check_lib_save_LIBS
=$LIBS
30917 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30918 cat >conftest.
$ac_ext <<_ACEOF
30921 cat confdefs.h
>>conftest.
$ac_ext
30922 cat >>conftest.
$ac_ext <<_ACEOF
30923 /* end confdefs.h. */
30925 /* Override any GCC internal prototype to avoid an error.
30926 Use char because int might match the return type of a GCC
30927 builtin and then its argument prototype would still apply. */
30940 rm -f conftest.
$ac_objext conftest
$ac_exeext
30941 if { (ac_try
="$ac_link"
30942 case "(($ac_try" in
30943 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30944 *) ac_try_echo=$ac_try;;
30946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30947 (eval "$ac_link") 2>conftest.er1
30949 grep -v '^ *+' conftest.er1 >conftest.err
30951 cat conftest.err >&5
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); } && {
30954 test -z "$ac_c_werror_flag" ||
30955 test ! -s conftest.err
30956 } && test -s conftest$ac_exeext &&
30957 $as_test_x conftest$ac_exeext; then
30958 ac_cv_lib_socket_connect=yes
30960 echo "$as_me: failed program was:" >&5
30961 sed 's/^/| /' conftest.$ac_ext >&5
30963 ac_cv_lib_socket_connect=no
30966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30967 conftest$ac_exeext conftest.$ac_ext
30968 LIBS=$ac_check_lib_save_LIBS
30970 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30971 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30972 if test $ac_cv_lib_socket_connect = yes; then
30973 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30978 # Guillermo Gomez says -lposix is necessary on A/UX.
30979 { echo "$as_me:$LINENO: checking for remove" >&5
30980 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30981 if test "${ac_cv_func_remove+set}" = set; then
30982 echo $ECHO_N "(cached) $ECHO_C" >&6
30984 cat >conftest.$ac_ext <<_ACEOF
30987 cat confdefs.h >>conftest.$ac_ext
30988 cat >>conftest.$ac_ext <<_ACEOF
30989 /* end confdefs.h. */
30990 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30992 #define remove innocuous_remove
30994 /* System header to define __stub macros and hopefully few prototypes,
30995 which can conflict with char remove (); below.
30996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30997 <limits.h> exists even on freestanding compilers. */
31000 # include <limits.h>
31002 # include <assert.h>
31007 /* Override any GCC internal prototype to avoid an error.
31008 Use char because int might match the return type of a GCC
31009 builtin and then its argument prototype would still apply. */
31014 /* The GNU C library defines this for functions which it implements
31015 to always fail with ENOSYS. Some functions are actually named
31016 something starting with __ and the normal name is an alias. */
31017 #if defined __stub_remove || defined __stub___remove
31029 rm -f conftest.$ac_objext conftest$ac_exeext
31030 if { (ac_try="$ac_link"
31031 case "(($ac_try" in
31032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31033 *) ac_try_echo
=$ac_try;;
31035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31036 (eval "$ac_link") 2>conftest.er1
31038 grep -v '^ *+' conftest.er1
>conftest.err
31040 cat conftest.err
>&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } && {
31043 test -z "$ac_c_werror_flag" ||
31044 test ! -s conftest.err
31045 } && test -s conftest
$ac_exeext &&
31046 $as_test_x conftest
$ac_exeext; then
31047 ac_cv_func_remove
=yes
31049 echo "$as_me: failed program was:" >&5
31050 sed 's/^/| /' conftest.
$ac_ext >&5
31052 ac_cv_func_remove
=no
31055 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31056 conftest
$ac_exeext conftest.
$ac_ext
31058 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31059 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31061 if test $ac_cv_func_remove = no
; then
31062 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31063 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31064 if test "${ac_cv_lib_posix_remove+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 ac_check_lib_save_LIBS
=$LIBS
31068 LIBS
="-lposix $LIBS"
31069 cat >conftest.
$ac_ext <<_ACEOF
31072 cat confdefs.h
>>conftest.
$ac_ext
31073 cat >>conftest.
$ac_ext <<_ACEOF
31074 /* end confdefs.h. */
31076 /* Override any GCC internal prototype to avoid an error.
31077 Use char because int might match the return type of a GCC
31078 builtin and then its argument prototype would still apply. */
31091 rm -f conftest.
$ac_objext conftest
$ac_exeext
31092 if { (ac_try
="$ac_link"
31093 case "(($ac_try" in
31094 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31095 *) ac_try_echo=$ac_try;;
31097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31098 (eval "$ac_link") 2>conftest.er1
31100 grep -v '^ *+' conftest.er1 >conftest.err
31102 cat conftest.err >&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } && {
31105 test -z "$ac_c_werror_flag" ||
31106 test ! -s conftest.err
31107 } && test -s conftest$ac_exeext &&
31108 $as_test_x conftest$ac_exeext; then
31109 ac_cv_lib_posix_remove=yes
31111 echo "$as_me: failed program was:" >&5
31112 sed 's/^/| /' conftest.$ac_ext >&5
31114 ac_cv_lib_posix_remove=no
31117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31118 conftest$ac_exeext conftest.$ac_ext
31119 LIBS=$ac_check_lib_save_LIBS
31121 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31122 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31123 if test $ac_cv_lib_posix_remove = yes; then
31124 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31129 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31130 { echo "$as_me:$LINENO: checking for shmat" >&5
31131 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31132 if test "${ac_cv_func_shmat+set}" = set; then
31133 echo $ECHO_N "(cached) $ECHO_C" >&6
31135 cat >conftest.$ac_ext <<_ACEOF
31138 cat confdefs.h >>conftest.$ac_ext
31139 cat >>conftest.$ac_ext <<_ACEOF
31140 /* end confdefs.h. */
31141 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31143 #define shmat innocuous_shmat
31145 /* System header to define __stub macros and hopefully few prototypes,
31146 which can conflict with char shmat (); below.
31147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31148 <limits.h> exists even on freestanding compilers. */
31151 # include <limits.h>
31153 # include <assert.h>
31158 /* Override any GCC internal prototype to avoid an error.
31159 Use char because int might match the return type of a GCC
31160 builtin and then its argument prototype would still apply. */
31165 /* The GNU C library defines this for functions which it implements
31166 to always fail with ENOSYS. Some functions are actually named
31167 something starting with __ and the normal name is an alias. */
31168 #if defined __stub_shmat || defined __stub___shmat
31180 rm -f conftest.$ac_objext conftest$ac_exeext
31181 if { (ac_try="$ac_link"
31182 case "(($ac_try" in
31183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31184 *) ac_try_echo
=$ac_try;;
31186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31187 (eval "$ac_link") 2>conftest.er1
31189 grep -v '^ *+' conftest.er1
>conftest.err
31191 cat conftest.err
>&5
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 (exit $ac_status); } && {
31194 test -z "$ac_c_werror_flag" ||
31195 test ! -s conftest.err
31196 } && test -s conftest
$ac_exeext &&
31197 $as_test_x conftest
$ac_exeext; then
31198 ac_cv_func_shmat
=yes
31200 echo "$as_me: failed program was:" >&5
31201 sed 's/^/| /' conftest.
$ac_ext >&5
31203 ac_cv_func_shmat
=no
31206 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31207 conftest
$ac_exeext conftest.
$ac_ext
31209 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31210 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31212 if test $ac_cv_func_shmat = no
; then
31213 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31214 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31215 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31216 echo $ECHO_N "(cached) $ECHO_C" >&6
31218 ac_check_lib_save_LIBS
=$LIBS
31220 cat >conftest.
$ac_ext <<_ACEOF
31223 cat confdefs.h
>>conftest.
$ac_ext
31224 cat >>conftest.
$ac_ext <<_ACEOF
31225 /* end confdefs.h. */
31227 /* Override any GCC internal prototype to avoid an error.
31228 Use char because int might match the return type of a GCC
31229 builtin and then its argument prototype would still apply. */
31242 rm -f conftest.
$ac_objext conftest
$ac_exeext
31243 if { (ac_try
="$ac_link"
31244 case "(($ac_try" in
31245 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31246 *) ac_try_echo=$ac_try;;
31248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31249 (eval "$ac_link") 2>conftest.er1
31251 grep -v '^ *+' conftest.er1 >conftest.err
31253 cat conftest.err >&5
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); } && {
31256 test -z "$ac_c_werror_flag" ||
31257 test ! -s conftest.err
31258 } && test -s conftest$ac_exeext &&
31259 $as_test_x conftest$ac_exeext; then
31260 ac_cv_lib_ipc_shmat=yes
31262 echo "$as_me: failed program was:" >&5
31263 sed 's/^/| /' conftest.$ac_ext >&5
31265 ac_cv_lib_ipc_shmat=no
31268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31269 conftest$ac_exeext conftest.$ac_ext
31270 LIBS=$ac_check_lib_save_LIBS
31272 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31273 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31274 if test $ac_cv_lib_ipc_shmat = yes; then
31275 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31281 # Check for libraries that X11R6 Xt/Xaw programs need.
31282 ac_save_LDFLAGS=$LDFLAGS
31283 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31284 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31285 # check for ICE first), but we must link in the order -lSM -lICE or
31286 # we get undefined symbols. So assume we have SM if we have ICE.
31287 # These have to be linked with before -lX11, unlike the other
31288 # libraries we check for below, so use a different variable.
31289 # John Interrante, Karl Berry
31290 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31291 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31292 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31293 echo $ECHO_N "(cached) $ECHO_C" >&6
31295 ac_check_lib_save_LIBS=$LIBS
31296 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31297 cat >conftest.$ac_ext <<_ACEOF
31300 cat confdefs.h >>conftest.$ac_ext
31301 cat >>conftest.$ac_ext <<_ACEOF
31302 /* end confdefs.h. */
31304 /* Override any GCC internal prototype to avoid an error.
31305 Use char because int might match the return type of a GCC
31306 builtin and then its argument prototype would still apply. */
31310 char IceConnectionNumber ();
31314 return IceConnectionNumber ();
31319 rm -f conftest.$ac_objext conftest$ac_exeext
31320 if { (ac_try="$ac_link"
31321 case "(($ac_try" in
31322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31323 *) ac_try_echo
=$ac_try;;
31325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31326 (eval "$ac_link") 2>conftest.er1
31328 grep -v '^ *+' conftest.er1
>conftest.err
31330 cat conftest.err
>&5
31331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31332 (exit $ac_status); } && {
31333 test -z "$ac_c_werror_flag" ||
31334 test ! -s conftest.err
31335 } && test -s conftest
$ac_exeext &&
31336 $as_test_x conftest
$ac_exeext; then
31337 ac_cv_lib_ICE_IceConnectionNumber
=yes
31339 echo "$as_me: failed program was:" >&5
31340 sed 's/^/| /' conftest.
$ac_ext >&5
31342 ac_cv_lib_ICE_IceConnectionNumber
=no
31345 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31346 conftest
$ac_exeext conftest.
$ac_ext
31347 LIBS
=$ac_check_lib_save_LIBS
31349 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31350 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31351 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31352 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31355 LDFLAGS
=$ac_save_LDFLAGS
31360 if test "$no_x" = "yes"; then
31361 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31362 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31363 { (exit 1); exit 1; }; }
31366 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31367 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31368 AFMINSTALL
=afminstall
31369 COMPILED_X_PROGRAM
=0
31373 if test "$wxUSE_X11" = 1; then
31374 if test "$wxUSE_NANOX" = "yes"; then
31375 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31376 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31377 if test "x$MICROWIN" = x
; then
31378 { echo "$as_me:$LINENO: result: not found" >&5
31379 echo "${ECHO_T}not found" >&6; }
31380 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31381 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31382 { (exit 1); exit 1; }; }
31384 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31385 echo "${ECHO_T}$MICROWIN" >&6; }
31386 cat >>confdefs.h
<<\_ACEOF
31387 #define wxUSE_NANOX 1
31393 if test "$wxUSE_UNICODE" = "yes"; then
31396 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31397 if test -n "$ac_tool_prefix"; then
31398 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31399 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31402 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31403 echo $ECHO_N "(cached) $ECHO_C" >&6
31405 case $PKG_CONFIG in
31407 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31411 for as_dir
in $PATH
31414 test -z "$as_dir" && as_dir
=.
31415 for ac_exec_ext
in '' $ac_executable_extensions; do
31416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31417 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31428 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31429 if test -n "$PKG_CONFIG"; then
31430 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31431 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31433 { echo "$as_me:$LINENO: result: no" >&5
31434 echo "${ECHO_T}no" >&6; }
31439 if test -z "$ac_cv_path_PKG_CONFIG"; then
31440 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31441 # Extract the first word of "pkg-config", so it can be a program name with args.
31442 set dummy pkg
-config; ac_word
=$2
31443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31445 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31446 echo $ECHO_N "(cached) $ECHO_C" >&6
31448 case $ac_pt_PKG_CONFIG in
31450 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31453 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31454 for as_dir
in $PATH
31457 test -z "$as_dir" && as_dir
=.
31458 for ac_exec_ext
in '' $ac_executable_extensions; do
31459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31460 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31471 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31472 if test -n "$ac_pt_PKG_CONFIG"; then
31473 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31474 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31476 { echo "$as_me:$LINENO: result: no" >&5
31477 echo "${ECHO_T}no" >&6; }
31480 if test "x$ac_pt_PKG_CONFIG" = x
; then
31483 case $cross_compiling:$ac_tool_warned in
31485 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31486 whose name does not start with the host triplet. If you think this
31487 configuration is useful to you, please write to autoconf@gnu.org." >&5
31488 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31489 whose name does not start with the host triplet. If you think this
31490 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31491 ac_tool_warned
=yes ;;
31493 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31496 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31500 if test -n "$PKG_CONFIG"; then
31501 _pkg_min_version
=0.9.0
31502 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31503 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31504 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31505 { echo "$as_me:$LINENO: result: yes" >&5
31506 echo "${ECHO_T}yes" >&6; }
31508 { echo "$as_me:$LINENO: result: no" >&5
31509 echo "${ECHO_T}no" >&6; }
31517 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31518 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31520 if test -n "$PKG_CONFIG"; then
31521 if test -n "$PANGOX_CFLAGS"; then
31522 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31524 if test -n "$PKG_CONFIG" && \
31525 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31526 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); }; then
31530 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31538 if test -n "$PKG_CONFIG"; then
31539 if test -n "$PANGOX_LIBS"; then
31540 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31542 if test -n "$PKG_CONFIG" && \
31543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31544 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); }; then
31548 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31559 if test $pkg_failed = yes; then
31561 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31562 _pkg_short_errors_supported
=yes
31564 _pkg_short_errors_supported
=no
31566 if test $_pkg_short_errors_supported = yes; then
31567 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31569 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31571 # Put the nasty error message in config.log where it belongs
31572 echo "$PANGOX_PKG_ERRORS" >&5
31575 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31576 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31577 { (exit 1); exit 1; }; }
31580 elif test $pkg_failed = untried
; then
31582 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31583 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31584 { (exit 1); exit 1; }; }
31588 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31589 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31590 { echo "$as_me:$LINENO: result: yes" >&5
31591 echo "${ECHO_T}yes" >&6; }
31593 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31594 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31595 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31600 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31601 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31603 if test -n "$PKG_CONFIG"; then
31604 if test -n "$PANGOFT2_CFLAGS"; then
31605 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31607 if test -n "$PKG_CONFIG" && \
31608 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31609 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612 (exit $ac_status); }; then
31613 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31621 if test -n "$PKG_CONFIG"; then
31622 if test -n "$PANGOFT2_LIBS"; then
31623 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31625 if test -n "$PKG_CONFIG" && \
31626 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31627 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31630 (exit $ac_status); }; then
31631 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31642 if test $pkg_failed = yes; then
31644 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31645 _pkg_short_errors_supported
=yes
31647 _pkg_short_errors_supported
=no
31649 if test $_pkg_short_errors_supported = yes; then
31650 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31652 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31654 # Put the nasty error message in config.log where it belongs
31655 echo "$PANGOFT2_PKG_ERRORS" >&5
31658 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31659 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31660 wxUSE_PRINTING_ARCHITECTURE
="no"
31663 elif test $pkg_failed = untried
; then
31665 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31666 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31667 wxUSE_PRINTING_ARCHITECTURE
="no"
31671 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31672 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31673 { echo "$as_me:$LINENO: result: yes" >&5
31674 echo "${ECHO_T}yes" >&6; }
31676 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31677 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31678 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31683 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31684 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31686 if test -n "$PKG_CONFIG"; then
31687 if test -n "$PANGOXFT_CFLAGS"; then
31688 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31690 if test -n "$PKG_CONFIG" && \
31691 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31692 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); }; then
31696 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31704 if test -n "$PKG_CONFIG"; then
31705 if test -n "$PANGOXFT_LIBS"; then
31706 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31708 if test -n "$PKG_CONFIG" && \
31709 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31710 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31713 (exit $ac_status); }; then
31714 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31725 if test $pkg_failed = yes; then
31727 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31728 _pkg_short_errors_supported
=yes
31730 _pkg_short_errors_supported
=no
31732 if test $_pkg_short_errors_supported = yes; then
31733 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31735 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31737 # Put the nasty error message in config.log where it belongs
31738 echo "$PANGOXFT_PKG_ERRORS" >&5
31741 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31742 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31745 elif test $pkg_failed = untried
; then
31747 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31748 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31752 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31753 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31754 { echo "$as_me:$LINENO: result: yes" >&5
31755 echo "${ECHO_T}yes" >&6; }
31757 cat >>confdefs.h
<<\_ACEOF
31758 #define HAVE_PANGO_XFT 1
31761 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31762 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31763 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31767 LIBS
="$LIBS $PANGOX_LIBS"
31769 for ac_func
in pango_font_family_is_monospace
31771 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31772 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31774 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31775 echo $ECHO_N "(cached) $ECHO_C" >&6
31777 cat >conftest.
$ac_ext <<_ACEOF
31780 cat confdefs.h
>>conftest.
$ac_ext
31781 cat >>conftest.
$ac_ext <<_ACEOF
31782 /* end confdefs.h. */
31783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31785 #define $ac_func innocuous_$ac_func
31787 /* System header to define __stub macros and hopefully few prototypes,
31788 which can conflict with char $ac_func (); below.
31789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31790 <limits.h> exists even on freestanding compilers. */
31793 # include <limits.h>
31795 # include <assert.h>
31800 /* Override any GCC internal prototype to avoid an error.
31801 Use char because int might match the return type of a GCC
31802 builtin and then its argument prototype would still apply. */
31807 /* The GNU C library defines this for functions which it implements
31808 to always fail with ENOSYS. Some functions are actually named
31809 something starting with __ and the normal name is an alias. */
31810 #if defined __stub_$ac_func || defined __stub___$ac_func
31817 return $ac_func ();
31822 rm -f conftest.
$ac_objext conftest
$ac_exeext
31823 if { (ac_try
="$ac_link"
31824 case "(($ac_try" in
31825 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31826 *) ac_try_echo=$ac_try;;
31828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31829 (eval "$ac_link") 2>conftest.er1
31831 grep -v '^ *+' conftest.er1 >conftest.err
31833 cat conftest.err >&5
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); } && {
31836 test -z "$ac_c_werror_flag" ||
31837 test ! -s conftest.err
31838 } && test -s conftest$ac_exeext &&
31839 $as_test_x conftest$ac_exeext; then
31840 eval "$as_ac_var=yes"
31842 echo "$as_me: failed program was:" >&5
31843 sed 's/^/| /' conftest.$ac_ext >&5
31845 eval "$as_ac_var=no"
31848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31849 conftest$ac_exeext conftest.$ac_ext
31851 ac_res=`eval echo '${'$as_ac_var'}'`
31852 { echo "$as_me:$LINENO: result: $ac_res" >&5
31853 echo "${ECHO_T}$ac_res" >&6; }
31854 if test `eval echo '${'$as_ac_var'}'` = yes; then
31855 cat >>confdefs.h <<_ACEOF
31856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31865 wxUSE_UNIVERSAL="yes"
31867 if test "$wxUSE_NANOX" = "yes"; then
31868 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31869 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
31870 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31872 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31879 if test "$wxUSE_MOTIF" = 1; then
31880 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31881 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31884 for ac_dir in $SEARCH_INCLUDE /usr/include;
31886 if test -f "$ac_dir/Xm/Xm.h"; then
31887 ac_find_includes=$ac_dir
31892 if test "$ac_find_includes" != "" ; then
31893 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31894 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31896 if test "x$ac_find_includes" = "x/usr/include"; then
31897 ac_path_to_include=""
31899 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31901 if test $result = 0; then
31902 ac_path_to_include=""
31904 ac_path_to_include=" -I$ac_find_includes"
31908 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31910 save_CFLAGS=$CFLAGS
31911 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31913 cat >conftest.$ac_ext <<_ACEOF
31916 cat confdefs.h >>conftest.$ac_ext
31917 cat >>conftest.$ac_ext <<_ACEOF
31918 /* end confdefs.h. */
31927 version = xmUseVersion;
31933 rm -f conftest.$ac_objext
31934 if { (ac_try="$ac_compile"
31935 case "(($ac_try" in
31936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31937 *) ac_try_echo
=$ac_try;;
31939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31940 (eval "$ac_compile") 2>conftest.er1
31942 grep -v '^ *+' conftest.er1
>conftest.err
31944 cat conftest.err
>&5
31945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946 (exit $ac_status); } && {
31947 test -z "$ac_c_werror_flag" ||
31948 test ! -s conftest.err
31949 } && test -s conftest.
$ac_objext; then
31951 { echo "$as_me:$LINENO: result: found in default search path" >&5
31952 echo "${ECHO_T}found in default search path" >&6; }
31953 COMPILED_X_PROGRAM
=1
31956 echo "$as_me: failed program was:" >&5
31957 sed 's/^/| /' conftest.
$ac_ext >&5
31960 { echo "$as_me:$LINENO: result: no" >&5
31961 echo "${ECHO_T}no" >&6; }
31962 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31963 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31964 { (exit 1); exit 1; }; }
31969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31971 CFLAGS
=$save_CFLAGS
31975 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31976 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31979 for ac_dir
in $SEARCH_LIB;
31981 for ac_extension
in a so sl dylib dll.a
; do
31982 if test -f "$ac_dir/libXm.$ac_extension"; then
31983 ac_find_libraries
=$ac_dir
31990 if test "x$ac_find_libraries" != "x" ; then
31991 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31992 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31995 if test "$ac_find_libraries" = "default location"; then
31998 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32000 if test $result = 0; then
32003 ac_path_to_link
=" -L$ac_find_libraries"
32007 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32009 save_CFLAGS
=$CFLAGS
32010 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32012 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32014 cat >conftest.
$ac_ext <<_ACEOF
32017 cat confdefs.h
>>conftest.
$ac_ext
32018 cat >>conftest.
$ac_ext <<_ACEOF
32019 /* end confdefs.h. */
32028 version = xmUseVersion;
32034 rm -f conftest.
$ac_objext conftest
$ac_exeext
32035 if { (ac_try
="$ac_link"
32036 case "(($ac_try" in
32037 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32038 *) ac_try_echo=$ac_try;;
32040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32041 (eval "$ac_link") 2>conftest.er1
32043 grep -v '^ *+' conftest.er1 >conftest.err
32045 cat conftest.err >&5
32046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32047 (exit $ac_status); } && {
32048 test -z "$ac_c_werror_flag" ||
32049 test ! -s conftest.err
32050 } && test -s conftest$ac_exeext &&
32051 $as_test_x conftest$ac_exeext; then
32053 { echo "$as_me:$LINENO: result: found in default search path" >&5
32054 echo "${ECHO_T}found in default search path" >&6; }
32055 COMPILED_X_PROGRAM=1
32058 echo "$as_me: failed program was:" >&5
32059 sed 's/^/| /' conftest.$ac_ext >&5
32062 { echo "$as_me:$LINENO: result: no" >&5
32063 echo "${ECHO_T}no" >&6; }
32064 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32065 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32066 { (exit 1); exit 1; }; }
32071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32072 conftest$ac_exeext conftest.$ac_ext
32074 CFLAGS=$save_CFLAGS
32078 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32079 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32083 for libp in "" " -lXp"; do
32084 if test "$libs_found" = 0; then
32085 for libsm_ice in "" " -lSM -lICE"; do
32086 if test "$libs_found" = 0; then
32088 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32089 save_CFLAGS=$CFLAGS
32090 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32092 cat >conftest.$ac_ext <<_ACEOF
32095 cat confdefs.h >>conftest.$ac_ext
32096 cat >>conftest.$ac_ext <<_ACEOF
32097 /* end confdefs.h. */
32100 #include <Xm/List.h>
32106 XmString string = NULL;
32109 XmListAddItem(w, string, position);
32115 rm -f conftest.$ac_objext conftest$ac_exeext
32116 if { (ac_try="$ac_link"
32117 case "(($ac_try" in
32118 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32119 *) ac_try_echo
=$ac_try;;
32121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32122 (eval "$ac_link") 2>conftest.er1
32124 grep -v '^ *+' conftest.er1
>conftest.err
32126 cat conftest.err
>&5
32127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32128 (exit $ac_status); } && {
32129 test -z "$ac_c_werror_flag" ||
32130 test ! -s conftest.err
32131 } && test -s conftest
$ac_exeext &&
32132 $as_test_x conftest
$ac_exeext; then
32135 libsm_ice_link
="$libsm_ice"
32136 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32137 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32141 echo "$as_me: failed program was:" >&5
32142 sed 's/^/| /' conftest.
$ac_ext >&5
32148 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32149 conftest
$ac_exeext conftest.
$ac_ext
32152 CFLAGS
=$save_CFLAGS
32158 if test "$libs_found" = 0; then
32159 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32160 echo "${ECHO_T}can't find the right libraries" >&6; }
32161 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32162 echo "$as_me: error: can't link a simple motif program" >&2;}
32163 { (exit 1); exit 1; }; }
32166 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32167 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32168 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32171 ac_check_lib_save_LIBS
=$LIBS
32173 cat >conftest.
$ac_ext <<_ACEOF
32176 cat confdefs.h
>>conftest.
$ac_ext
32177 cat >>conftest.
$ac_ext <<_ACEOF
32178 /* end confdefs.h. */
32180 /* Override any GCC internal prototype to avoid an error.
32181 Use char because int might match the return type of a GCC
32182 builtin and then its argument prototype would still apply. */
32186 char SgCreateList ();
32190 return SgCreateList ();
32195 rm -f conftest.
$ac_objext conftest
$ac_exeext
32196 if { (ac_try
="$ac_link"
32197 case "(($ac_try" in
32198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32199 *) ac_try_echo=$ac_try;;
32201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32202 (eval "$ac_link") 2>conftest.er1
32204 grep -v '^ *+' conftest.er1 >conftest.err
32206 cat conftest.err >&5
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); } && {
32209 test -z "$ac_c_werror_flag" ||
32210 test ! -s conftest.err
32211 } && test -s conftest$ac_exeext &&
32212 $as_test_x conftest$ac_exeext; then
32213 ac_cv_lib_Sgm_SgCreateList=yes
32215 echo "$as_me: failed program was:" >&5
32216 sed 's/^/| /' conftest.$ac_ext >&5
32218 ac_cv_lib_Sgm_SgCreateList=no
32221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32222 conftest$ac_exeext conftest.$ac_ext
32223 LIBS=$ac_check_lib_save_LIBS
32225 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32226 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32227 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32228 libsgm_link=" -lSgm"
32232 save_CFLAGS=$CFLAGS
32233 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32235 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32236 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32237 if test "${wx_cv_lib_motif2+set}" = set; then
32238 echo $ECHO_N "(cached) $ECHO_C" >&6
32240 cat >conftest.$ac_ext <<_ACEOF
32243 cat confdefs.h >>conftest.$ac_ext
32244 cat >>conftest.$ac_ext <<_ACEOF
32245 /* end confdefs.h. */
32253 #if XmVersion < 2000
32261 rm -f conftest.$ac_objext
32262 if { (ac_try="$ac_compile"
32263 case "(($ac_try" in
32264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32265 *) ac_try_echo
=$ac_try;;
32267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32268 (eval "$ac_compile") 2>conftest.er1
32270 grep -v '^ *+' conftest.er1
>conftest.err
32272 cat conftest.err
>&5
32273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274 (exit $ac_status); } && {
32275 test -z "$ac_c_werror_flag" ||
32276 test ! -s conftest.err
32277 } && test -s conftest.
$ac_objext; then
32278 wx_cv_lib_motif2
="yes"
32280 echo "$as_me: failed program was:" >&5
32281 sed 's/^/| /' conftest.
$ac_ext >&5
32283 wx_cv_lib_motif2
="no"
32286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32288 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32289 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32290 if test "$wx_cv_lib_motif2" = "yes"; then
32291 cat >>confdefs.h
<<\_ACEOF
32292 #define __WXMOTIF20__ 1
32296 cat >>confdefs.h
<<\_ACEOF
32297 #define __WXMOTIF20__ 0
32302 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32303 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32304 if test "${wx_cv_lib_lesstif+set}" = set; then
32305 echo $ECHO_N "(cached) $ECHO_C" >&6
32307 cat >conftest.
$ac_ext <<_ACEOF
32310 cat confdefs.h
>>conftest.
$ac_ext
32311 cat >>conftest.
$ac_ext <<_ACEOF
32312 /* end confdefs.h. */
32320 #if !defined(LesstifVersion) || LesstifVersion <= 0
32328 rm -f conftest.
$ac_objext
32329 if { (ac_try
="$ac_compile"
32330 case "(($ac_try" in
32331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32332 *) ac_try_echo=$ac_try;;
32334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32335 (eval "$ac_compile") 2>conftest.er1
32337 grep -v '^ *+' conftest.er1 >conftest.err
32339 cat conftest.err >&5
32340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32341 (exit $ac_status); } && {
32342 test -z "$ac_c_werror_flag" ||
32343 test ! -s conftest.err
32344 } && test -s conftest.$ac_objext; then
32345 wx_cv_lib_lesstif="yes"
32347 echo "$as_me: failed program was:" >&5
32348 sed 's/^/| /' conftest.$ac_ext >&5
32350 wx_cv_lib_lesstif="no"
32353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32356 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32357 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32358 if test "$wx_cv_lib_lesstif" = "yes"; then
32359 cat >>confdefs.h <<\_ACEOF
32360 #define __WXLESSTIF__ 1
32364 cat >>confdefs.h <<\_ACEOF
32365 #define __WXLESSTIF__ 0
32370 CFLAGS=$save_CFLAGS
32372 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32377 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32378 if test "$wxUSE_LIBXPM" = "sys"; then
32379 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32380 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32383 for ac_dir in $SEARCH_LIB;
32385 for ac_extension in a so sl dylib dll.a; do
32386 if test -f "$ac_dir/libXpm.$ac_extension"; then
32387 ac_find_libraries=$ac_dir
32393 if test "$ac_find_libraries" != "" ; then
32395 if test "$ac_find_libraries" = "default location"; then
32398 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32400 if test $result = 0; then
32403 ac_path_to_link=" -L$ac_find_libraries"
32407 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32408 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32409 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32411 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32412 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32413 if test "${wx_cv_x11_xpm_h+set}" = set; then
32414 echo $ECHO_N "(cached) $ECHO_C" >&6
32417 save_CFLAGS=$CFLAGS
32418 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32420 cat >conftest.$ac_ext <<_ACEOF
32423 cat confdefs.h >>conftest.$ac_ext
32424 cat >>conftest.$ac_ext <<_ACEOF
32425 /* end confdefs.h. */
32427 #include <X11/xpm.h>
32434 version = XpmLibraryVersion();
32440 rm -f conftest.$ac_objext
32441 if { (ac_try="$ac_compile"
32442 case "(($ac_try" in
32443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32444 *) ac_try_echo
=$ac_try;;
32446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32447 (eval "$ac_compile") 2>conftest.er1
32449 grep -v '^ *+' conftest.er1
>conftest.err
32451 cat conftest.err
>&5
32452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32453 (exit $ac_status); } && {
32454 test -z "$ac_c_werror_flag" ||
32455 test ! -s conftest.err
32456 } && test -s conftest.
$ac_objext; then
32457 wx_cv_x11_xpm_h
=yes
32459 echo "$as_me: failed program was:" >&5
32460 sed 's/^/| /' conftest.
$ac_ext >&5
32466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32468 CFLAGS
=$save_CFLAGS
32472 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32473 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32475 if test $wx_cv_x11_xpm_h = "yes"; then
32476 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32477 cat >>confdefs.h
<<\_ACEOF
32478 #define wxHAVE_LIB_XPM 1
32482 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32483 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32489 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32490 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32491 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32492 echo $ECHO_N "(cached) $ECHO_C" >&6
32494 ac_check_lib_save_LIBS
=$LIBS
32495 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32496 cat >conftest.
$ac_ext <<_ACEOF
32499 cat confdefs.h
>>conftest.
$ac_ext
32500 cat >>conftest.
$ac_ext <<_ACEOF
32501 /* end confdefs.h. */
32503 /* Override any GCC internal prototype to avoid an error.
32504 Use char because int might match the return type of a GCC
32505 builtin and then its argument prototype would still apply. */
32509 char XShapeQueryExtension ();
32513 return XShapeQueryExtension ();
32518 rm -f conftest.
$ac_objext conftest
$ac_exeext
32519 if { (ac_try
="$ac_link"
32520 case "(($ac_try" in
32521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32522 *) ac_try_echo=$ac_try;;
32524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32525 (eval "$ac_link") 2>conftest.er1
32527 grep -v '^ *+' conftest.er1 >conftest.err
32529 cat conftest.err >&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); } && {
32532 test -z "$ac_c_werror_flag" ||
32533 test ! -s conftest.err
32534 } && test -s conftest$ac_exeext &&
32535 $as_test_x conftest$ac_exeext; then
32536 ac_cv_lib_Xext_XShapeQueryExtension=yes
32538 echo "$as_me: failed program was:" >&5
32539 sed 's/^/| /' conftest.$ac_ext >&5
32541 ac_cv_lib_Xext_XShapeQueryExtension=no
32544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32545 conftest$ac_exeext conftest.$ac_ext
32546 LIBS=$ac_check_lib_save_LIBS
32548 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32549 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32550 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32552 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32558 if test "$wxHAVE_XEXT_LIB" = 1; then
32559 save_CFLAGS="$CFLAGS"
32560 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32562 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32563 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32564 cat >conftest.$ac_ext <<_ACEOF
32567 cat confdefs.h >>conftest.$ac_ext
32568 cat >>conftest.$ac_ext <<_ACEOF
32569 /* end confdefs.h. */
32571 #include <X11/Xlib.h>
32572 #include <X11/extensions/shape.h>
32578 int dummy1, dummy2;
32579 XShapeQueryExtension((Display*)NULL,
32580 (int*)NULL, (int*)NULL);
32586 rm -f conftest.$ac_objext
32587 if { (ac_try="$ac_compile"
32588 case "(($ac_try" in
32589 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32590 *) ac_try_echo
=$ac_try;;
32592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32593 (eval "$ac_compile") 2>conftest.er1
32595 grep -v '^ *+' conftest.er1
>conftest.err
32597 cat conftest.err
>&5
32598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32599 (exit $ac_status); } && {
32600 test -z "$ac_c_werror_flag" ||
32601 test ! -s conftest.err
32602 } && test -s conftest.
$ac_objext; then
32604 cat >>confdefs.h
<<\_ACEOF
32605 #define HAVE_XSHAPE 1
32608 { echo "$as_me:$LINENO: result: found" >&5
32609 echo "${ECHO_T}found" >&6; }
32612 echo "$as_me: failed program was:" >&5
32613 sed 's/^/| /' conftest.
$ac_ext >&5
32616 { echo "$as_me:$LINENO: result: not found" >&5
32617 echo "${ECHO_T}not found" >&6; }
32621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32622 CFLAGS
="$save_CFLAGS"
32627 if test "$wxUSE_OSX_CARBON" = 1; then
32628 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32629 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32630 if test "$GCC" = yes; then
32631 { echo "$as_me:$LINENO: result: gcc" >&5
32632 echo "${ECHO_T}gcc" >&6; }
32633 CPPFLAGS_PASCAL
="-fpascal-strings"
32634 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32635 { echo "$as_me:$LINENO: result: xlc" >&5
32636 echo "${ECHO_T}xlc" >&6; }
32637 CPPFLAGS_PASCAL
="-qmacpstr"
32639 { echo "$as_me:$LINENO: result: none" >&5
32640 echo "${ECHO_T}none" >&6; }
32643 if test "x$wxUSE_UNIX" = "xyes"; then
32644 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32646 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32650 GUIDIST
=OSX_CARBON_DIST
32651 WXBASEPORT
="_carbon"
32654 if test "$wxUSE_OSX_COCOA" = 1; then
32656 GUIDIST
=OSX_COCOA_DIST
32659 if test "$wxUSE_COCOA" = 1; then
32664 if test "$wxUSE_PM" = 1; then
32667 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32668 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32669 if test "${wx_cv_spbcdata+set}" = set; then
32670 echo $ECHO_N "(cached) $ECHO_C" >&6
32673 cat >conftest.
$ac_ext <<_ACEOF
32676 cat confdefs.h
>>conftest.
$ac_ext
32677 cat >>conftest.
$ac_ext <<_ACEOF
32678 /* end confdefs.h. */
32693 rm -f conftest.
$ac_objext
32694 if { (ac_try
="$ac_compile"
32695 case "(($ac_try" in
32696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32697 *) ac_try_echo=$ac_try;;
32699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32700 (eval "$ac_compile") 2>conftest.er1
32702 grep -v '^ *+' conftest.er1 >conftest.err
32704 cat conftest.err >&5
32705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32706 (exit $ac_status); } && {
32707 test -z "$ac_c_werror_flag" ||
32708 test ! -s conftest.err
32709 } && test -s conftest.$ac_objext; then
32712 echo "$as_me: failed program was:" >&5
32713 sed 's/^/| /' conftest.$ac_ext >&5
32719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32723 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32724 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32726 if test $wx_cv_spbcdata = "yes"; then
32727 cat >>confdefs.h <<\_ACEOF
32728 #define HAVE_SPBCDATA 1
32734 if test "$TOOLKIT" = "PM" ; then
32737 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32740 if test "$wxUSE_UNIVERSAL" = "yes"; then
32741 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32745 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32746 DISTDIR="wx\$(TOOLKIT)"
32752 if test "$USE_WIN32" = 1 ; then
32756 GUIDIST="BASE_DIST"
32762 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32763 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32764 wxUSE_UNICODE_UTF8=yes
32765 elif test "$USE_OS2" = 1 ; then
32766 wxUSE_UNICODE_UTF8=yes
32768 wxUSE_UNICODE_UTF8=no
32773 if test "$wxUSE_GUI" = "yes"; then
32774 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32776 for ac_header in X11/Xlib.h
32778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32779 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32782 echo $ECHO_N "(cached) $ECHO_C" >&6
32784 cat >conftest.$ac_ext <<_ACEOF
32787 cat confdefs.h >>conftest.$ac_ext
32788 cat >>conftest.$ac_ext <<_ACEOF
32789 /* end confdefs.h. */
32792 #include <$ac_header>
32794 rm -f conftest.$ac_objext
32795 if { (ac_try="$ac_compile"
32796 case "(($ac_try" in
32797 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32798 *) ac_try_echo
=$ac_try;;
32800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32801 (eval "$ac_compile") 2>conftest.er1
32803 grep -v '^ *+' conftest.er1
>conftest.err
32805 cat conftest.err
>&5
32806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32807 (exit $ac_status); } && {
32808 test -z "$ac_c_werror_flag" ||
32809 test ! -s conftest.err
32810 } && test -s conftest.
$ac_objext; then
32811 eval "$as_ac_Header=yes"
32813 echo "$as_me: failed program was:" >&5
32814 sed 's/^/| /' conftest.
$ac_ext >&5
32816 eval "$as_ac_Header=no"
32819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32821 ac_res
=`eval echo '${'$as_ac_Header'}'`
32822 { echo "$as_me:$LINENO: result: $ac_res" >&5
32823 echo "${ECHO_T}$ac_res" >&6; }
32824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32825 cat >>confdefs.h
<<_ACEOF
32826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32834 for ac_header
in X
11/XKBlib.h
32836 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32837 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32839 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32840 echo $ECHO_N "(cached) $ECHO_C" >&6
32842 cat >conftest.
$ac_ext <<_ACEOF
32845 cat confdefs.h
>>conftest.
$ac_ext
32846 cat >>conftest.
$ac_ext <<_ACEOF
32847 /* end confdefs.h. */
32849 #if HAVE_X11_XLIB_H
32850 #include <X11/Xlib.h>
32854 #include <$ac_header>
32856 rm -f conftest.
$ac_objext
32857 if { (ac_try
="$ac_compile"
32858 case "(($ac_try" in
32859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32860 *) ac_try_echo=$ac_try;;
32862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32863 (eval "$ac_compile") 2>conftest.er1
32865 grep -v '^ *+' conftest.er1 >conftest.err
32867 cat conftest.err >&5
32868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32869 (exit $ac_status); } && {
32870 test -z "$ac_c_werror_flag" ||
32871 test ! -s conftest.err
32872 } && test -s conftest.$ac_objext; then
32873 eval "$as_ac_Header=yes"
32875 echo "$as_me: failed program was:" >&5
32876 sed 's/^/| /' conftest.$ac_ext >&5
32878 eval "$as_ac_Header=no"
32881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32883 ac_res=`eval echo '${'$as_ac_Header'}'`
32884 { echo "$as_me:$LINENO: result: $ac_res" >&5
32885 echo "${ECHO_T}$ac_res" >&6; }
32886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32887 cat >>confdefs.h <<_ACEOF
32888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32900 if test "$wxUSE_DISPLAY" = "yes"; then
32901 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32902 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32903 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32906 for ac_dir in $SEARCH_LIB;
32908 for ac_extension in a so sl dylib dll.a; do
32909 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32910 ac_find_libraries=$ac_dir
32916 if test "$ac_find_libraries" != "" ; then
32918 if test "$ac_find_libraries" = "default location"; then
32921 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32923 if test $result = 0; then
32926 ac_path_to_link=" -L$ac_find_libraries"
32930 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32931 LDFLAGS="$LDFLAGS $ac_path_to_link"
32933 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32934 { echo "$as_me:$LINENO: result: yes" >&5
32935 echo "${ECHO_T}yes" >&6; }
32937 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32938 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32941 for ac_dir in $SEARCH_LIB;
32943 for ac_extension in a so sl dylib dll.a; do
32944 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32945 ac_find_libraries=$ac_dir
32951 if test "$ac_find_libraries" != "" ; then
32952 { echo "$as_me:$LINENO: result: yes" >&5
32953 echo "${ECHO_T}yes" >&6; }
32955 for ac_header in X11/extensions/xf86vmode.h
32957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32961 echo $ECHO_N "(cached) $ECHO_C" >&6
32963 cat >conftest.$ac_ext <<_ACEOF
32966 cat confdefs.h >>conftest.$ac_ext
32967 cat >>conftest.$ac_ext <<_ACEOF
32968 /* end confdefs.h. */
32970 #if HAVE_X11_XLIB_H
32971 #include <X11/Xlib.h>
32975 #include <$ac_header>
32977 rm -f conftest.$ac_objext
32978 if { (ac_try="$ac_compile"
32979 case "(($ac_try" in
32980 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32981 *) ac_try_echo
=$ac_try;;
32983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32984 (eval "$ac_compile") 2>conftest.er1
32986 grep -v '^ *+' conftest.er1
>conftest.err
32988 cat conftest.err
>&5
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); } && {
32991 test -z "$ac_c_werror_flag" ||
32992 test ! -s conftest.err
32993 } && test -s conftest.
$ac_objext; then
32994 eval "$as_ac_Header=yes"
32996 echo "$as_me: failed program was:" >&5
32997 sed 's/^/| /' conftest.
$ac_ext >&5
32999 eval "$as_ac_Header=no"
33002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33004 ac_res
=`eval echo '${'$as_ac_Header'}'`
33005 { echo "$as_me:$LINENO: result: $ac_res" >&5
33006 echo "${ECHO_T}$ac_res" >&6; }
33007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33008 cat >>confdefs.h
<<_ACEOF
33009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33012 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33019 { echo "$as_me:$LINENO: result: no" >&5
33020 echo "${ECHO_T}no" >&6; }
33024 { echo "$as_me:$LINENO: result: no" >&5
33025 echo "${ECHO_T}no" >&6; }
33026 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33027 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33030 elif test "$wxUSE_MSW" = 1; then
33031 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33032 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33033 if test "${ac_cv_header_ddraw_h+set}" = set; then
33034 echo $ECHO_N "(cached) $ECHO_C" >&6
33036 cat >conftest.
$ac_ext <<_ACEOF
33039 cat confdefs.h
>>conftest.
$ac_ext
33040 cat >>conftest.
$ac_ext <<_ACEOF
33041 /* end confdefs.h. */
33042 #include <windows.h>
33046 rm -f conftest.
$ac_objext
33047 if { (ac_try
="$ac_compile"
33048 case "(($ac_try" in
33049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33050 *) ac_try_echo=$ac_try;;
33052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33053 (eval "$ac_compile") 2>conftest.er1
33055 grep -v '^ *+' conftest.er1 >conftest.err
33057 cat conftest.err >&5
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); } && {
33060 test -z "$ac_c_werror_flag" ||
33061 test ! -s conftest.err
33062 } && test -s conftest.$ac_objext; then
33063 ac_cv_header_ddraw_h=yes
33065 echo "$as_me: failed program was:" >&5
33066 sed 's/^/| /' conftest.$ac_ext >&5
33068 ac_cv_header_ddraw_h=no
33071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33073 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33074 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33080 if test "$wxUSE_DETECT_SM" = "yes"; then
33081 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33082 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33083 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33086 for ac_dir in $SEARCH_LIB;
33088 for ac_extension in a so sl dylib dll.a; do
33089 if test -f "$ac_dir/libSM.$ac_extension"; then
33090 ac_find_libraries=$ac_dir
33096 if test "$ac_find_libraries" != "" ; then
33098 if test "$ac_find_libraries" = "default location"; then
33101 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33103 if test $result = 0; then
33106 ac_path_to_link=" -L$ac_find_libraries"
33110 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33111 LDFLAGS="$LDFLAGS $ac_path_to_link"
33113 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33114 { echo "$as_me:$LINENO: result: yes" >&5
33115 echo "${ECHO_T}yes" >&6; }
33117 { echo "$as_me:$LINENO: result: no" >&5
33118 echo "${ECHO_T}no" >&6; }
33119 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33120 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33121 wxUSE_DETECT_SM="no"
33124 wxUSE_DETECT_SM="no"
33131 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33134 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33135 OPENGL_LIBS="-framework OpenGL -framework AGL"
33136 elif test "$wxUSE_MSW" = 1; then
33137 OPENGL_LIBS="-lopengl32 -lglu32"
33138 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33140 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33141 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33144 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33146 if test -f "$ac_dir/GL/gl.h"; then
33147 ac_find_includes=$ac_dir
33152 if test "$ac_find_includes" != "" ; then
33153 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33154 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33156 if test "x$ac_find_includes" = "x/usr/include"; then
33157 ac_path_to_include=""
33159 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33161 if test $result = 0; then
33162 ac_path_to_include=""
33164 ac_path_to_include=" -I$ac_find_includes"
33168 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33170 { echo "$as_me:$LINENO: result: not found" >&5
33171 echo "${ECHO_T}not found" >&6; }
33174 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33175 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33176 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33177 echo $ECHO_N "(cached) $ECHO_C" >&6
33179 cat >conftest.$ac_ext <<_ACEOF
33182 cat confdefs.h >>conftest.$ac_ext
33183 cat >>conftest.$ac_ext <<_ACEOF
33184 /* end confdefs.h. */
33189 rm -f conftest.$ac_objext
33190 if { (ac_try="$ac_compile"
33191 case "(($ac_try" in
33192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33193 *) ac_try_echo
=$ac_try;;
33195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33196 (eval "$ac_compile") 2>conftest.er1
33198 grep -v '^ *+' conftest.er1
>conftest.err
33200 cat conftest.err
>&5
33201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33202 (exit $ac_status); } && {
33203 test -z "$ac_c_werror_flag" ||
33204 test ! -s conftest.err
33205 } && test -s conftest.
$ac_objext; then
33206 ac_cv_header_GL_gl_h
=yes
33208 echo "$as_me: failed program was:" >&5
33209 sed 's/^/| /' conftest.
$ac_ext >&5
33211 ac_cv_header_GL_gl_h
=no
33214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33216 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33217 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33218 if test $ac_cv_header_GL_gl_h = yes; then
33220 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33221 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33222 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33223 echo $ECHO_N "(cached) $ECHO_C" >&6
33225 cat >conftest.
$ac_ext <<_ACEOF
33228 cat confdefs.h
>>conftest.
$ac_ext
33229 cat >>conftest.
$ac_ext <<_ACEOF
33230 /* end confdefs.h. */
33233 #include <GL/glu.h>
33235 rm -f conftest.
$ac_objext
33236 if { (ac_try
="$ac_compile"
33237 case "(($ac_try" in
33238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33239 *) ac_try_echo=$ac_try;;
33241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33242 (eval "$ac_compile") 2>conftest.er1
33244 grep -v '^ *+' conftest.er1 >conftest.err
33246 cat conftest.err >&5
33247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33248 (exit $ac_status); } && {
33249 test -z "$ac_c_werror_flag" ||
33250 test ! -s conftest.err
33251 } && test -s conftest.$ac_objext; then
33252 ac_cv_header_GL_glu_h=yes
33254 echo "$as_me: failed program was:" >&5
33255 sed 's/^/| /' conftest.$ac_ext >&5
33257 ac_cv_header_GL_glu_h=no
33260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33262 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33263 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33264 if test $ac_cv_header_GL_glu_h = yes; then
33268 { echo "$as_me:$LINENO: checking for -lGL" >&5
33269 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33272 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33274 for ac_extension in a so sl dylib dll.a; do
33275 if test -f "$ac_dir/libGL.$ac_extension"; then
33276 ac_find_libraries=$ac_dir
33282 if test "$ac_find_libraries" != "" ; then
33283 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33284 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33287 if test "$ac_find_libraries" = "default location"; then
33290 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33292 if test $result = 0; then
33295 ac_path_to_link=" -L$ac_find_libraries"
33299 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33300 LDFLAGS_GL="$ac_path_to_link"
33303 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33304 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33307 for ac_dir in $SEARCH_LIB;
33309 for ac_extension in a so sl dylib dll.a; do
33310 if test -f "$ac_dir/libGLU.$ac_extension"; then
33311 ac_find_libraries=$ac_dir
33317 if test "$ac_find_libraries" != "" ; then
33319 if test "$ac_find_libraries" = "default location"; then
33322 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33324 if test $result = 0; then
33327 ac_path_to_link=" -L$ac_find_libraries"
33331 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33332 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33333 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33337 OPENGL_LIBS="-lGL -lGLU"
33338 { echo "$as_me:$LINENO: result: yes" >&5
33339 echo "${ECHO_T}yes" >&6; }
33341 { echo "$as_me:$LINENO: result: no" >&5
33342 echo "${ECHO_T}no" >&6; }
33345 { echo "$as_me:$LINENO: result: no" >&5
33346 echo "${ECHO_T}no" >&6; }
33349 if test "$found_gl" != 1; then
33350 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33351 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33354 for ac_dir in $SEARCH_LIB;
33356 for ac_extension in a so sl dylib dll.a; do
33357 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33358 ac_find_libraries=$ac_dir
33364 if test "$ac_find_libraries" != "" ; then
33366 if test "$ac_find_libraries" = "default location"; then
33369 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33371 if test $result = 0; then
33374 ac_path_to_link=" -L$ac_find_libraries"
33378 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33379 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33380 { echo "$as_me:$LINENO: result: yes" >&5
33381 echo "${ECHO_T}yes" >&6; }
33383 { echo "$as_me:$LINENO: result: no" >&5
33384 echo "${ECHO_T}no" >&6; }
33396 if test "x$OPENGL_LIBS" = "x"; then
33397 if test "$wxUSE_OPENGL" = "yes"; then
33398 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33399 echo "$as_me: error: OpenGL libraries not available" >&2;}
33400 { (exit 1); exit 1; }; }
33402 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33403 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33409 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33410 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33414 if test "$wxUSE_OPENGL" = "auto"; then
33418 if test "$wxUSE_OPENGL" = "yes"; then
33420 cat >>confdefs.h <<\_ACEOF
33421 #define wxUSE_OPENGL 1
33424 cat >>confdefs.h <<\_ACEOF
33425 #define wxUSE_GLCANVAS 1
33428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33433 if test -n "$TOOLKIT" ; then
33434 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33439 if test "$wxUSE_SHARED" = "yes"; then
33443 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33444 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33449 if test "$wxUSE_SHARED" = "yes"; then
33453 *-*-cygwin* | *-*-mingw* )
33454 wx_cv_version_script=no
33458 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33459 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33460 if test "${wx_cv_version_script+set}" = set; then
33461 echo $ECHO_N "(cached) $ECHO_C" >&6
33464 echo "VER_1 { *; };" >conftest.sym
33465 echo "int main() { return 0; }" >conftest.cpp
33468 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33469 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33471 (eval $ac_try) 2>&5
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); }; } ; then
33475 if test -s conftest.stderr ; then
33476 wx_cv_version_script=no
33478 wx_cv_version_script=yes
33481 wx_cv_version_script=no
33484 if test $wx_cv_version_script = yes
33486 echo "struct B { virtual ~B() { } }; \
33487 struct D : public B { }; \
33488 void F() { D d; }" > conftest.cpp
33491 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33492 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33494 (eval $ac_try) 2>&5
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); }; } &&
33499 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33500 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33502 (eval $ac_try) 2>&5
33504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33505 (exit $ac_status); }; }
33508 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33509 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/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 wx_cv_version_script=yes
33518 wx_cv_version_script=no
33523 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33524 rm -f conftest1.output conftest2.output conftest3.output
33527 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33528 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33530 if test $wx_cv_version_script = yes ; then
33531 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33537 if test "$wxUSE_VISIBILITY" != "no"; then
33540 if test -n "$GCC"; then
33541 CFLAGS_VISIBILITY="-fvisibility=hidden"
33542 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33543 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33544 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33545 if test "${wx_cv_cc_visibility+set}" = set; then
33546 echo $ECHO_N "(cached) $ECHO_C" >&6
33549 wx_save_CXXFLAGS="$CXXFLAGS"
33550 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33552 ac_cpp='$CXXCPP $CPPFLAGS'
33553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33557 cat >conftest.$ac_ext <<_ACEOF
33560 cat confdefs.h >>conftest.$ac_ext
33561 cat >>conftest.$ac_ext <<_ACEOF
33562 /* end confdefs.h. */
33564 /* we need gcc >= 4.0, older versions with visibility support
33565 didn't have class visibility: */
33566 #if defined(__GNUC__) && __GNUC__ < 4
33567 error this gcc is too old;
33570 /* visibility only makes sense for ELF shared libs: */
33571 #if !defined(__ELF__) && !defined(__APPLE__)
33572 error this platform has no visibility;
33575 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33576 extern __attribute__((__visibility__("default"))) int exportedvar;
33577 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33578 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33579 class __attribute__((__visibility__("default"))) Foo {
33591 rm -f conftest.$ac_objext
33592 if { (ac_try="$ac_compile"
33593 case "(($ac_try" in
33594 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33595 *) ac_try_echo
=$ac_try;;
33597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33598 (eval "$ac_compile") 2>conftest.er1
33600 grep -v '^ *+' conftest.er1
>conftest.err
33602 cat conftest.err
>&5
33603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33604 (exit $ac_status); } && {
33605 test -z "$ac_cxx_werror_flag" ||
33606 test ! -s conftest.err
33607 } && test -s conftest.
$ac_objext; then
33608 wx_cv_cc_visibility
=yes
33610 echo "$as_me: failed program was:" >&5
33611 sed 's/^/| /' conftest.
$ac_ext >&5
33613 wx_cv_cc_visibility
=no
33616 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33618 ac_cpp
='$CPP $CPPFLAGS'
33619 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33620 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33621 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33623 CXXFLAGS
="$wx_save_CXXFLAGS"
33626 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33627 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33628 if test $wx_cv_cc_visibility = yes; then
33629 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33630 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33631 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33632 echo $ECHO_N "(cached) $ECHO_C" >&6
33635 wx_save_CXXFLAGS
="$CXXFLAGS"
33636 wx_save_LDFLAGS
="$LDFLAGS"
33637 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33638 LDFLAGS
="$LDFLAGS -shared -fPIC"
33640 ac_cpp
='$CXXCPP $CPPFLAGS'
33641 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33642 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33643 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33645 cat >conftest.
$ac_ext <<_ACEOF
33648 cat confdefs.h
>>conftest.
$ac_ext
33649 cat >>conftest.
$ac_ext <<_ACEOF
33650 /* end confdefs.h. */
33658 std::string s("hello");
33665 rm -f conftest.
$ac_objext conftest
$ac_exeext
33666 if { (ac_try
="$ac_link"
33667 case "(($ac_try" in
33668 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33669 *) ac_try_echo=$ac_try;;
33671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33672 (eval "$ac_link") 2>conftest.er1
33674 grep -v '^ *+' conftest.er1 >conftest.err
33676 cat conftest.err >&5
33677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33678 (exit $ac_status); } && {
33679 test -z "$ac_cxx_werror_flag" ||
33680 test ! -s conftest.err
33681 } && test -s conftest$ac_exeext &&
33682 $as_test_x conftest$ac_exeext; then
33683 wx_cv_cc_broken_libstdcxx_visibility=no
33685 echo "$as_me: failed program was:" >&5
33686 sed 's/^/| /' conftest.$ac_ext >&5
33688 wx_cv_cc_broken_libstdcxx_visibility=yes
33691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33692 conftest$ac_exeext conftest.$ac_ext
33694 ac_cpp='$CPP $CPPFLAGS'
33695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33699 CXXFLAGS="$wx_save_CXXFLAGS"
33700 LDFLAGS="$wx_save_LDFLAGS"
33703 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33704 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33706 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33707 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33708 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33709 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33710 echo $ECHO_N "(cached) $ECHO_C" >&6
33714 ac_cpp='$CXXCPP $CPPFLAGS'
33715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33719 cat >conftest.$ac_ext <<_ACEOF
33722 cat confdefs.h >>conftest.$ac_ext
33723 cat >>conftest.$ac_ext <<_ACEOF
33724 /* end confdefs.h. */
33726 #pragma GCC visibility push(default)
33728 #pragma GCC visibility pop
33734 std::string s("hello");
33741 rm -f conftest.$ac_objext conftest$ac_exeext
33742 if { (ac_try="$ac_link"
33743 case "(($ac_try" in
33744 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33745 *) ac_try_echo
=$ac_try;;
33747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33748 (eval "$ac_link") 2>conftest.er1
33750 grep -v '^ *+' conftest.er1
>conftest.err
33752 cat conftest.err
>&5
33753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33754 (exit $ac_status); } && {
33755 test -z "$ac_cxx_werror_flag" ||
33756 test ! -s conftest.err
33757 } && test -s conftest
$ac_exeext &&
33758 $as_test_x conftest
$ac_exeext; then
33759 wx_cv_cc_visibility_workaround
=no
33761 echo "$as_me: failed program was:" >&5
33762 sed 's/^/| /' conftest.
$ac_ext >&5
33764 wx_cv_cc_visibility_workaround
=yes
33767 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33768 conftest
$ac_exeext conftest.
$ac_ext
33770 ac_cpp
='$CPP $CPPFLAGS'
33771 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33772 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33773 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33778 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33779 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33781 if test $wx_cv_cc_visibility_workaround = no
; then
33782 wx_cv_cc_visibility
=no
33787 if test $wx_cv_cc_visibility = yes; then
33788 cat >>confdefs.h
<<\_ACEOF
33789 #define HAVE_VISIBILITY 1
33792 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33793 cat >>confdefs.h
<<\_ACEOF
33794 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33799 CFLAGS_VISIBILITY
=""
33800 CXXFLAGS_VISIBILITY
=""
33808 if test "x$SUNCXX" = xyes
; then
33809 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33810 WXCONFIG_RPATH
="-R\$libdir"
33813 *-*-linux* | *-*-gnu* )
33814 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33815 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33820 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33822 saveLdflags
="$LDFLAGS"
33823 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33824 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33825 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33826 cat >conftest.
$ac_ext <<_ACEOF
33829 cat confdefs.h
>>conftest.
$ac_ext
33830 cat >>conftest.
$ac_ext <<_ACEOF
33831 /* end confdefs.h. */
33841 rm -f conftest.
$ac_objext conftest
$ac_exeext
33842 if { (ac_try
="$ac_link"
33843 case "(($ac_try" in
33844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33845 *) ac_try_echo=$ac_try;;
33847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33848 (eval "$ac_link") 2>conftest.er1
33850 grep -v '^ *+' conftest.er1 >conftest.err
33852 cat conftest.err >&5
33853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33854 (exit $ac_status); } && {
33855 test -z "$ac_c_werror_flag" ||
33856 test ! -s conftest.err
33857 } && test -s conftest$ac_exeext &&
33858 $as_test_x conftest$ac_exeext; then
33860 { echo "$as_me:$LINENO: result: yes" >&5
33861 echo "${ECHO_T}yes" >&6; }
33862 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33863 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33866 echo "$as_me: failed program was:" >&5
33867 sed 's/^/| /' conftest.$ac_ext >&5
33870 { echo "$as_me:$LINENO: result: no" >&5
33871 echo "${ECHO_T}no" >&6; }
33872 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33873 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33874 LDFLAGS="$saveLdflags -Wl,-R,/"
33875 cat >conftest.$ac_ext <<_ACEOF
33878 cat confdefs.h >>conftest.$ac_ext
33879 cat >>conftest.$ac_ext <<_ACEOF
33880 /* end confdefs.h. */
33890 rm -f conftest.$ac_objext conftest$ac_exeext
33891 if { (ac_try="$ac_link"
33892 case "(($ac_try" in
33893 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33894 *) ac_try_echo
=$ac_try;;
33896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33897 (eval "$ac_link") 2>conftest.er1
33899 grep -v '^ *+' conftest.er1
>conftest.err
33901 cat conftest.err
>&5
33902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33903 (exit $ac_status); } && {
33904 test -z "$ac_c_werror_flag" ||
33905 test ! -s conftest.err
33906 } && test -s conftest
$ac_exeext &&
33907 $as_test_x conftest
$ac_exeext; then
33909 { echo "$as_me:$LINENO: result: yes" >&5
33910 echo "${ECHO_T}yes" >&6; }
33911 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33912 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33915 echo "$as_me: failed program was:" >&5
33916 sed 's/^/| /' conftest.
$ac_ext >&5
33919 { echo "$as_me:$LINENO: result: no" >&5
33920 echo "${ECHO_T}no" >&6; }
33924 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33925 conftest
$ac_exeext conftest.
$ac_ext
33929 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33930 conftest
$ac_exeext conftest.
$ac_ext
33931 LDFLAGS
="$saveLdflags"
33935 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
33936 if test "$install_name_tool" -a -x "$install_name_tool"; then
33937 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
33938 cat <<EOF >change-install-names
33940 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33941 for i in \${libnames} ; do
33942 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
33943 for dep in \${libnames} ; do
33944 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
33948 chmod +x change
-install-names
33949 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
33952 HEADER_PAD_OPTION
="-headerpad_max_install_names"
33955 *-*-cygwin* | *-*-mingw32* )
33959 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33960 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33966 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33968 if test $wxUSE_RPATH = "no"; then
33969 SAMPLES_RPATH_FLAG
=''
33970 DYLIB_PATH_POSTLINK
=''
33978 config_linkage_component
="-static"
33985 lib_unicode_suffix
=
33987 if test "$wxUSE_UNICODE" = "yes"; then
33988 lib_unicode_suffix
=u
33989 WX_CHARTYPE
="unicode"
33994 WX_DEBUGTYPE
="release"
33996 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33998 WX_DEBUGTYPE
="debug"
34002 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34003 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34006 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34010 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34012 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34014 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34017 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34018 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34020 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34022 if test "${TOOLKIT_DIR}" = "os2"; then
34023 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34025 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34030 if test "$wxUSE_COCOA" = 1; then
34033 ac_cpp
='$CPP $CPPFLAGS'
34034 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34035 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34040 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34041 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34042 cat >conftest.
$ac_ext <<_ACEOF
34045 cat confdefs.h
>>conftest.
$ac_ext
34046 cat >>conftest.
$ac_ext <<_ACEOF
34047 /* end confdefs.h. */
34048 #include <AppKit/NSEvent.h>
34049 #include <CoreFoundation/CoreFoundation.h>
34059 rm -f conftest.
$ac_objext
34060 if { (ac_try
="$ac_compile"
34061 case "(($ac_try" in
34062 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34063 *) ac_try_echo=$ac_try;;
34065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34066 (eval "$ac_compile") 2>conftest.er1
34068 grep -v '^ *+' conftest.er1 >conftest.err
34070 cat conftest.err >&5
34071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34072 (exit $ac_status); } && {
34073 test -z "$ac_c_werror_flag" ||
34074 test ! -s conftest.err
34075 } && test -s conftest.$ac_objext; then
34076 { echo "$as_me:$LINENO: result: no" >&5
34077 echo "${ECHO_T}no" >&6; }
34079 echo "$as_me: failed program was:" >&5
34080 sed 's/^/| /' conftest.$ac_ext >&5
34082 { echo "$as_me:$LINENO: result: yes" >&5
34083 echo "${ECHO_T}yes" >&6; }
34084 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34085 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34086 cat >conftest.$ac_ext <<_ACEOF
34089 cat confdefs.h >>conftest.$ac_ext
34090 cat >>conftest.$ac_ext <<_ACEOF
34091 /* end confdefs.h. */
34092 #define __Point__ 1
34093 #include <AppKit/NSEvent.h>
34094 #include <CoreFoundation/CoreFoundation.h>
34104 rm -f conftest.$ac_objext
34105 if { (ac_try="$ac_compile"
34106 case "(($ac_try" in
34107 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34108 *) ac_try_echo
=$ac_try;;
34110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34111 (eval "$ac_compile") 2>conftest.er1
34113 grep -v '^ *+' conftest.er1
>conftest.err
34115 cat conftest.err
>&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); } && {
34118 test -z "$ac_c_werror_flag" ||
34119 test ! -s conftest.err
34120 } && test -s conftest.
$ac_objext; then
34121 { echo "$as_me:$LINENO: result: yes" >&5
34122 echo "${ECHO_T}yes" >&6; }
34123 cat >>confdefs.h
<<\_ACEOF
34124 #define __Point__ 1
34129 echo "$as_me: failed program was:" >&5
34130 sed 's/^/| /' conftest.
$ac_ext >&5
34132 { { echo "$as_me:$LINENO: error: no
34133 See \`config.log' for more details." >&5
34134 echo "$as_me: error: no
34135 See \`config.log' for more details." >&2;}
34136 { (exit 1); exit 1; }; }
34140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34146 ac_cpp
='$CPP $CPPFLAGS'
34147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34154 { echo "$as_me:$LINENO: checking for mode_t" >&5
34155 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34156 if test "${ac_cv_type_mode_t+set}" = set; then
34157 echo $ECHO_N "(cached) $ECHO_C" >&6
34159 cat >conftest.
$ac_ext <<_ACEOF
34162 cat confdefs.h
>>conftest.
$ac_ext
34163 cat >>conftest.
$ac_ext <<_ACEOF
34164 /* end confdefs.h. */
34165 $ac_includes_default
34166 typedef mode_t ac__type_new_;
34170 if ((ac__type_new_ *) 0)
34172 if (sizeof (ac__type_new_))
34178 rm -f conftest.
$ac_objext
34179 if { (ac_try
="$ac_compile"
34180 case "(($ac_try" in
34181 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34182 *) ac_try_echo=$ac_try;;
34184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34185 (eval "$ac_compile") 2>conftest.er1
34187 grep -v '^ *+' conftest.er1 >conftest.err
34189 cat conftest.err >&5
34190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34191 (exit $ac_status); } && {
34192 test -z "$ac_c_werror_flag" ||
34193 test ! -s conftest.err
34194 } && test -s conftest.$ac_objext; then
34195 ac_cv_type_mode_t=yes
34197 echo "$as_me: failed program was:" >&5
34198 sed 's/^/| /' conftest.$ac_ext >&5
34200 ac_cv_type_mode_t=no
34203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34205 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34206 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34207 if test $ac_cv_type_mode_t = yes; then
34211 cat >>confdefs.h <<_ACEOF
34217 { echo "$as_me:$LINENO: checking for off_t" >&5
34218 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34219 if test "${ac_cv_type_off_t+set}" = set; then
34220 echo $ECHO_N "(cached) $ECHO_C" >&6
34222 cat >conftest.$ac_ext <<_ACEOF
34225 cat confdefs.h >>conftest.$ac_ext
34226 cat >>conftest.$ac_ext <<_ACEOF
34227 /* end confdefs.h. */
34228 $ac_includes_default
34229 typedef off_t ac__type_new_;
34233 if ((ac__type_new_ *) 0)
34235 if (sizeof (ac__type_new_))
34241 rm -f conftest.$ac_objext
34242 if { (ac_try="$ac_compile"
34243 case "(($ac_try" in
34244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34245 *) ac_try_echo
=$ac_try;;
34247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34248 (eval "$ac_compile") 2>conftest.er1
34250 grep -v '^ *+' conftest.er1
>conftest.err
34252 cat conftest.err
>&5
34253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34254 (exit $ac_status); } && {
34255 test -z "$ac_c_werror_flag" ||
34256 test ! -s conftest.err
34257 } && test -s conftest.
$ac_objext; then
34258 ac_cv_type_off_t
=yes
34260 echo "$as_me: failed program was:" >&5
34261 sed 's/^/| /' conftest.
$ac_ext >&5
34263 ac_cv_type_off_t
=no
34266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34268 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34269 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34270 if test $ac_cv_type_off_t = yes; then
34274 cat >>confdefs.h
<<_ACEOF
34275 #define off_t long int
34280 { echo "$as_me:$LINENO: checking for pid_t" >&5
34281 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34282 if test "${ac_cv_type_pid_t+set}" = set; then
34283 echo $ECHO_N "(cached) $ECHO_C" >&6
34285 cat >conftest.
$ac_ext <<_ACEOF
34288 cat confdefs.h
>>conftest.
$ac_ext
34289 cat >>conftest.
$ac_ext <<_ACEOF
34290 /* end confdefs.h. */
34291 $ac_includes_default
34292 typedef pid_t ac__type_new_;
34296 if ((ac__type_new_ *) 0)
34298 if (sizeof (ac__type_new_))
34304 rm -f conftest.
$ac_objext
34305 if { (ac_try
="$ac_compile"
34306 case "(($ac_try" in
34307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34308 *) ac_try_echo=$ac_try;;
34310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34311 (eval "$ac_compile") 2>conftest.er1
34313 grep -v '^ *+' conftest.er1 >conftest.err
34315 cat conftest.err >&5
34316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34317 (exit $ac_status); } && {
34318 test -z "$ac_c_werror_flag" ||
34319 test ! -s conftest.err
34320 } && test -s conftest.$ac_objext; then
34321 ac_cv_type_pid_t=yes
34323 echo "$as_me: failed program was:" >&5
34324 sed 's/^/| /' conftest.$ac_ext >&5
34326 ac_cv_type_pid_t=no
34329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34331 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34332 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34333 if test $ac_cv_type_pid_t = yes; then
34337 cat >>confdefs.h <<_ACEOF
34343 { echo "$as_me:$LINENO: checking for size_t" >&5
34344 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34345 if test "${ac_cv_type_size_t+set}" = set; then
34346 echo $ECHO_N "(cached) $ECHO_C" >&6
34348 cat >conftest.$ac_ext <<_ACEOF
34351 cat confdefs.h >>conftest.$ac_ext
34352 cat >>conftest.$ac_ext <<_ACEOF
34353 /* end confdefs.h. */
34354 $ac_includes_default
34355 typedef size_t ac__type_new_;
34359 if ((ac__type_new_ *) 0)
34361 if (sizeof (ac__type_new_))
34367 rm -f conftest.$ac_objext
34368 if { (ac_try="$ac_compile"
34369 case "(($ac_try" in
34370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34371 *) ac_try_echo
=$ac_try;;
34373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34374 (eval "$ac_compile") 2>conftest.er1
34376 grep -v '^ *+' conftest.er1
>conftest.err
34378 cat conftest.err
>&5
34379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34380 (exit $ac_status); } && {
34381 test -z "$ac_c_werror_flag" ||
34382 test ! -s conftest.err
34383 } && test -s conftest.
$ac_objext; then
34384 ac_cv_type_size_t
=yes
34386 echo "$as_me: failed program was:" >&5
34387 sed 's/^/| /' conftest.
$ac_ext >&5
34389 ac_cv_type_size_t
=no
34392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34394 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34395 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34396 if test $ac_cv_type_size_t = yes; then
34400 cat >>confdefs.h
<<_ACEOF
34401 #define size_t unsigned int
34407 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34408 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34409 if test "${ac_cv_type_ssize_t+set}" = set; then
34410 echo $ECHO_N "(cached) $ECHO_C" >&6
34412 cat >conftest.
$ac_ext <<_ACEOF
34415 cat confdefs.h
>>conftest.
$ac_ext
34416 cat >>conftest.
$ac_ext <<_ACEOF
34417 /* end confdefs.h. */
34418 $ac_includes_default
34419 typedef ssize_t ac__type_new_;
34423 if ((ac__type_new_ *) 0)
34425 if (sizeof (ac__type_new_))
34431 rm -f conftest.
$ac_objext
34432 if { (ac_try
="$ac_compile"
34433 case "(($ac_try" in
34434 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34435 *) ac_try_echo=$ac_try;;
34437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34438 (eval "$ac_compile") 2>conftest.er1
34440 grep -v '^ *+' conftest.er1 >conftest.err
34442 cat conftest.err >&5
34443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34444 (exit $ac_status); } && {
34445 test -z "$ac_c_werror_flag" ||
34446 test ! -s conftest.err
34447 } && test -s conftest.$ac_objext; then
34448 ac_cv_type_ssize_t=yes
34450 echo "$as_me: failed program was:" >&5
34451 sed 's/^/| /' conftest.$ac_ext >&5
34453 ac_cv_type_ssize_t=no
34456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34458 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34459 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34460 if test $ac_cv_type_ssize_t = yes; then
34462 cat >>confdefs.h <<_ACEOF
34463 #define HAVE_SSIZE_T 1
34471 ac_cpp='$CXXCPP $CPPFLAGS'
34472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34475 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34476 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34477 if test "${wx_cv_size_t_is_uint+set}" = set; then
34478 echo $ECHO_N "(cached) $ECHO_C" >&6
34481 cat >conftest.$ac_ext <<_ACEOF
34484 cat confdefs.h >>conftest.$ac_ext
34485 cat >>conftest.$ac_ext <<_ACEOF
34486 /* end confdefs.h. */
34487 #include <stddef.h>
34494 struct Foo { void foo(size_t); void foo(unsigned int); };
34502 rm -f conftest.$ac_objext
34503 if { (ac_try="$ac_compile"
34504 case "(($ac_try" in
34505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34506 *) ac_try_echo
=$ac_try;;
34508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34509 (eval "$ac_compile") 2>conftest.er1
34511 grep -v '^ *+' conftest.er1
>conftest.err
34513 cat conftest.err
>&5
34514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34515 (exit $ac_status); } && {
34516 test -z "$ac_cxx_werror_flag" ||
34517 test ! -s conftest.err
34518 } && test -s conftest.
$ac_objext; then
34519 wx_cv_size_t_is_uint
=no
34521 echo "$as_me: failed program was:" >&5
34522 sed 's/^/| /' conftest.
$ac_ext >&5
34524 wx_cv_size_t_is_uint
=yes
34528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34532 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34533 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34535 if test "$wx_cv_size_t_is_uint" = "yes"; then
34536 cat >>confdefs.h
<<\_ACEOF
34537 #define wxSIZE_T_IS_UINT 1
34541 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34542 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34543 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34544 echo $ECHO_N "(cached) $ECHO_C" >&6
34546 cat >conftest.
$ac_ext <<_ACEOF
34549 cat confdefs.h
>>conftest.
$ac_ext
34550 cat >>conftest.
$ac_ext <<_ACEOF
34551 /* end confdefs.h. */
34552 #include <stddef.h>
34559 struct Foo { void foo(size_t); void foo(unsigned long); };
34567 rm -f conftest.
$ac_objext
34568 if { (ac_try
="$ac_compile"
34569 case "(($ac_try" in
34570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34571 *) ac_try_echo=$ac_try;;
34573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34574 (eval "$ac_compile") 2>conftest.er1
34576 grep -v '^ *+' conftest.er1 >conftest.err
34578 cat conftest.err >&5
34579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34580 (exit $ac_status); } && {
34581 test -z "$ac_cxx_werror_flag" ||
34582 test ! -s conftest.err
34583 } && test -s conftest.$ac_objext; then
34584 wx_cv_size_t_is_ulong=no
34586 echo "$as_me: failed program was:" >&5
34587 sed 's/^/| /' conftest.$ac_ext >&5
34589 wx_cv_size_t_is_ulong=yes
34593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34596 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34597 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34599 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34600 cat >>confdefs.h <<\_ACEOF
34601 #define wxSIZE_T_IS_ULONG 1
34607 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34608 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34609 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34610 echo $ECHO_N "(cached) $ECHO_C" >&6
34612 cat >conftest.$ac_ext <<_ACEOF
34615 cat confdefs.h >>conftest.$ac_ext
34616 cat >>conftest.$ac_ext <<_ACEOF
34617 /* end confdefs.h. */
34625 struct Foo { void foo(wchar_t);
34626 void foo(unsigned short);
34627 void foo(unsigned int);
34628 void foo(unsigned long); };
34636 rm -f conftest.$ac_objext
34637 if { (ac_try="$ac_compile"
34638 case "(($ac_try" in
34639 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34640 *) ac_try_echo
=$ac_try;;
34642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34643 (eval "$ac_compile") 2>conftest.er1
34645 grep -v '^ *+' conftest.er1
>conftest.err
34647 cat conftest.err
>&5
34648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34649 (exit $ac_status); } && {
34650 test -z "$ac_cxx_werror_flag" ||
34651 test ! -s conftest.err
34652 } && test -s conftest.
$ac_objext; then
34653 wx_cv_wchar_t_is_separate_type
=yes
34655 echo "$as_me: failed program was:" >&5
34656 sed 's/^/| /' conftest.
$ac_ext >&5
34658 wx_cv_wchar_t_is_separate_type
=no
34662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34665 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34666 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34668 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34669 cat >>confdefs.h
<<\_ACEOF
34670 #define wxWCHAR_T_IS_REAL_TYPE 1
34674 cat >>confdefs.h
<<\_ACEOF
34675 #define wxWCHAR_T_IS_REAL_TYPE 0
34681 ac_cpp
='$CPP $CPPFLAGS'
34682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34687 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34688 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34689 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34690 echo $ECHO_N "(cached) $ECHO_C" >&6
34693 cat >conftest.
$ac_ext <<_ACEOF
34696 cat confdefs.h
>>conftest.
$ac_ext
34697 cat >>conftest.
$ac_ext <<_ACEOF
34698 /* end confdefs.h. */
34712 rm -f conftest.
$ac_objext
34713 if { (ac_try
="$ac_compile"
34714 case "(($ac_try" in
34715 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34716 *) ac_try_echo=$ac_try;;
34718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34719 (eval "$ac_compile") 2>conftest.er1
34721 grep -v '^ *+' conftest.er1 >conftest.err
34723 cat conftest.err >&5
34724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34725 (exit $ac_status); } && {
34726 test -z "$ac_c_werror_flag" ||
34727 test ! -s conftest.err
34728 } && test -s conftest.$ac_objext; then
34730 wx_cv_struct_pw_gecos=yes
34733 echo "$as_me: failed program was:" >&5
34734 sed 's/^/| /' conftest.$ac_ext >&5
34737 wx_cv_struct_pw_gecos=no
34742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34746 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34747 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34749 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34750 cat >>confdefs.h <<\_ACEOF
34751 #define HAVE_PW_GECOS 1
34757 if test "$wxUSE_WCHAR_T" = "yes"; then
34758 cat >>confdefs.h <<\_ACEOF
34759 #define wxUSE_WCHAR_T 1
34766 for ac_func in wcslen
34768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34769 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34771 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34772 echo $ECHO_N "(cached) $ECHO_C" >&6
34774 cat >conftest.$ac_ext <<_ACEOF
34777 cat confdefs.h >>conftest.$ac_ext
34778 cat >>conftest.$ac_ext <<_ACEOF
34779 /* end confdefs.h. */
34780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34782 #define $ac_func innocuous_$ac_func
34784 /* System header to define __stub macros and hopefully few prototypes,
34785 which can conflict with char $ac_func (); below.
34786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34787 <limits.h> exists even on freestanding compilers. */
34790 # include <limits.h>
34792 # include <assert.h>
34797 /* Override any GCC internal prototype to avoid an error.
34798 Use char because int might match the return type of a GCC
34799 builtin and then its argument prototype would still apply. */
34804 /* The GNU C library defines this for functions which it implements
34805 to always fail with ENOSYS. Some functions are actually named
34806 something starting with __ and the normal name is an alias. */
34807 #if defined __stub_$ac_func || defined __stub___$ac_func
34814 return $ac_func ();
34819 rm -f conftest.$ac_objext conftest$ac_exeext
34820 if { (ac_try="$ac_link"
34821 case "(($ac_try" in
34822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34823 *) ac_try_echo
=$ac_try;;
34825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34826 (eval "$ac_link") 2>conftest.er1
34828 grep -v '^ *+' conftest.er1
>conftest.err
34830 cat conftest.err
>&5
34831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34832 (exit $ac_status); } && {
34833 test -z "$ac_c_werror_flag" ||
34834 test ! -s conftest.err
34835 } && test -s conftest
$ac_exeext &&
34836 $as_test_x conftest
$ac_exeext; then
34837 eval "$as_ac_var=yes"
34839 echo "$as_me: failed program was:" >&5
34840 sed 's/^/| /' conftest.
$ac_ext >&5
34842 eval "$as_ac_var=no"
34845 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34846 conftest
$ac_exeext conftest.
$ac_ext
34848 ac_res
=`eval echo '${'$as_ac_var'}'`
34849 { echo "$as_me:$LINENO: result: $ac_res" >&5
34850 echo "${ECHO_T}$ac_res" >&6; }
34851 if test `eval echo '${'$as_ac_var'}'` = yes; then
34852 cat >>confdefs.h
<<_ACEOF
34853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34860 if test "$WCSLEN_FOUND" = 0; then
34861 if test "$TOOLKIT" = "MSW"; then
34862 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34863 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34864 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34865 echo $ECHO_N "(cached) $ECHO_C" >&6
34867 ac_check_lib_save_LIBS
=$LIBS
34868 LIBS
="-lmsvcrt $LIBS"
34869 cat >conftest.
$ac_ext <<_ACEOF
34872 cat confdefs.h
>>conftest.
$ac_ext
34873 cat >>conftest.
$ac_ext <<_ACEOF
34874 /* end confdefs.h. */
34876 /* Override any GCC internal prototype to avoid an error.
34877 Use char because int might match the return type of a GCC
34878 builtin and then its argument prototype would still apply. */
34891 rm -f conftest.
$ac_objext conftest
$ac_exeext
34892 if { (ac_try
="$ac_link"
34893 case "(($ac_try" in
34894 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34895 *) ac_try_echo=$ac_try;;
34897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34898 (eval "$ac_link") 2>conftest.er1
34900 grep -v '^ *+' conftest.er1 >conftest.err
34902 cat conftest.err >&5
34903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904 (exit $ac_status); } && {
34905 test -z "$ac_c_werror_flag" ||
34906 test ! -s conftest.err
34907 } && test -s conftest$ac_exeext &&
34908 $as_test_x conftest$ac_exeext; then
34909 ac_cv_lib_msvcrt_wcslen=yes
34911 echo "$as_me: failed program was:" >&5
34912 sed 's/^/| /' conftest.$ac_ext >&5
34914 ac_cv_lib_msvcrt_wcslen=no
34917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34918 conftest$ac_exeext conftest.$ac_ext
34919 LIBS=$ac_check_lib_save_LIBS
34921 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34922 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34923 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34928 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34929 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34930 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34931 echo $ECHO_N "(cached) $ECHO_C" >&6
34933 ac_check_lib_save_LIBS=$LIBS
34935 cat >conftest.$ac_ext <<_ACEOF
34938 cat confdefs.h >>conftest.$ac_ext
34939 cat >>conftest.$ac_ext <<_ACEOF
34940 /* end confdefs.h. */
34942 /* Override any GCC internal prototype to avoid an error.
34943 Use char because int might match the return type of a GCC
34944 builtin and then its argument prototype would still apply. */
34957 rm -f conftest.$ac_objext conftest$ac_exeext
34958 if { (ac_try="$ac_link"
34959 case "(($ac_try" in
34960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34961 *) ac_try_echo
=$ac_try;;
34963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34964 (eval "$ac_link") 2>conftest.er1
34966 grep -v '^ *+' conftest.er1
>conftest.err
34968 cat conftest.err
>&5
34969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34970 (exit $ac_status); } && {
34971 test -z "$ac_c_werror_flag" ||
34972 test ! -s conftest.err
34973 } && test -s conftest
$ac_exeext &&
34974 $as_test_x conftest
$ac_exeext; then
34975 ac_cv_lib_w_wcslen
=yes
34977 echo "$as_me: failed program was:" >&5
34978 sed 's/^/| /' conftest.
$ac_ext >&5
34980 ac_cv_lib_w_wcslen
=no
34983 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34984 conftest
$ac_exeext conftest.
$ac_ext
34985 LIBS
=$ac_check_lib_save_LIBS
34987 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34988 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34989 if test $ac_cv_lib_w_wcslen = yes; then
34999 if test "$WCSLEN_FOUND" = 1; then
35000 cat >>confdefs.h
<<\_ACEOF
35001 #define HAVE_WCSLEN 1
35011 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35013 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35014 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35016 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35017 echo $ECHO_N "(cached) $ECHO_C" >&6
35019 cat >conftest.
$ac_ext <<_ACEOF
35022 cat confdefs.h
>>conftest.
$ac_ext
35023 cat >>conftest.
$ac_ext <<_ACEOF
35024 /* end confdefs.h. */
35025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35027 #define $ac_func innocuous_$ac_func
35029 /* System header to define __stub macros and hopefully few prototypes,
35030 which can conflict with char $ac_func (); below.
35031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35032 <limits.h> exists even on freestanding compilers. */
35035 # include <limits.h>
35037 # include <assert.h>
35042 /* Override any GCC internal prototype to avoid an error.
35043 Use char because int might match the return type of a GCC
35044 builtin and then its argument prototype would still apply. */
35049 /* The GNU C library defines this for functions which it implements
35050 to always fail with ENOSYS. Some functions are actually named
35051 something starting with __ and the normal name is an alias. */
35052 #if defined __stub_$ac_func || defined __stub___$ac_func
35059 return $ac_func ();
35064 rm -f conftest.
$ac_objext conftest
$ac_exeext
35065 if { (ac_try
="$ac_link"
35066 case "(($ac_try" in
35067 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35068 *) ac_try_echo=$ac_try;;
35070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35071 (eval "$ac_link") 2>conftest.er1
35073 grep -v '^ *+' conftest.er1 >conftest.err
35075 cat conftest.err >&5
35076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35077 (exit $ac_status); } && {
35078 test -z "$ac_c_werror_flag" ||
35079 test ! -s conftest.err
35080 } && test -s conftest$ac_exeext &&
35081 $as_test_x conftest$ac_exeext; then
35082 eval "$as_ac_var=yes"
35084 echo "$as_me: failed program was:" >&5
35085 sed 's/^/| /' conftest.$ac_ext >&5
35087 eval "$as_ac_var=no"
35090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35091 conftest$ac_exeext conftest.$ac_ext
35093 ac_res=`eval echo '${'$as_ac_var'}'`
35094 { echo "$as_me:$LINENO: result: $ac_res" >&5
35095 echo "${ECHO_T}$ac_res" >&6; }
35096 if test `eval echo '${'$as_ac_var'}'` = yes; then
35097 cat >>confdefs.h <<_ACEOF
35098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35105 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35106 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35109 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35110 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35111 if test "${ac_cv_type_mbstate_t+set}" = set; then
35112 echo $ECHO_N "(cached) $ECHO_C" >&6
35114 cat >conftest.$ac_ext <<_ACEOF
35117 cat confdefs.h >>conftest.$ac_ext
35118 cat >>conftest.$ac_ext <<_ACEOF
35119 /* end confdefs.h. */
35122 typedef mbstate_t ac__type_new_;
35126 if ((ac__type_new_ *) 0)
35128 if (sizeof (ac__type_new_))
35134 rm -f conftest.$ac_objext
35135 if { (ac_try="$ac_compile"
35136 case "(($ac_try" in
35137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35138 *) ac_try_echo
=$ac_try;;
35140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35141 (eval "$ac_compile") 2>conftest.er1
35143 grep -v '^ *+' conftest.er1
>conftest.err
35145 cat conftest.err
>&5
35146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35147 (exit $ac_status); } && {
35148 test -z "$ac_c_werror_flag" ||
35149 test ! -s conftest.err
35150 } && test -s conftest.
$ac_objext; then
35151 ac_cv_type_mbstate_t
=yes
35153 echo "$as_me: failed program was:" >&5
35154 sed 's/^/| /' conftest.
$ac_ext >&5
35156 ac_cv_type_mbstate_t
=no
35159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35161 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35162 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35163 if test $ac_cv_type_mbstate_t = yes; then
35165 cat >>confdefs.h
<<_ACEOF
35166 #define HAVE_MBSTATE_T 1
35170 for ac_func
in wcsrtombs
35172 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35173 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35175 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35176 echo $ECHO_N "(cached) $ECHO_C" >&6
35178 cat >conftest.
$ac_ext <<_ACEOF
35181 cat confdefs.h
>>conftest.
$ac_ext
35182 cat >>conftest.
$ac_ext <<_ACEOF
35183 /* end confdefs.h. */
35184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35186 #define $ac_func innocuous_$ac_func
35188 /* System header to define __stub macros and hopefully few prototypes,
35189 which can conflict with char $ac_func (); below.
35190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35191 <limits.h> exists even on freestanding compilers. */
35194 # include <limits.h>
35196 # include <assert.h>
35201 /* Override any GCC internal prototype to avoid an error.
35202 Use char because int might match the return type of a GCC
35203 builtin and then its argument prototype would still apply. */
35208 /* The GNU C library defines this for functions which it implements
35209 to always fail with ENOSYS. Some functions are actually named
35210 something starting with __ and the normal name is an alias. */
35211 #if defined __stub_$ac_func || defined __stub___$ac_func
35218 return $ac_func ();
35223 rm -f conftest.
$ac_objext conftest
$ac_exeext
35224 if { (ac_try
="$ac_link"
35225 case "(($ac_try" in
35226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35227 *) ac_try_echo=$ac_try;;
35229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35230 (eval "$ac_link") 2>conftest.er1
35232 grep -v '^ *+' conftest.er1 >conftest.err
35234 cat conftest.err >&5
35235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35236 (exit $ac_status); } && {
35237 test -z "$ac_c_werror_flag" ||
35238 test ! -s conftest.err
35239 } && test -s conftest$ac_exeext &&
35240 $as_test_x conftest$ac_exeext; then
35241 eval "$as_ac_var=yes"
35243 echo "$as_me: failed program was:" >&5
35244 sed 's/^/| /' conftest.$ac_ext >&5
35246 eval "$as_ac_var=no"
35249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35250 conftest$ac_exeext conftest.$ac_ext
35252 ac_res=`eval echo '${'$as_ac_var'}'`
35253 { echo "$as_me:$LINENO: result: $ac_res" >&5
35254 echo "${ECHO_T}$ac_res" >&6; }
35255 if test `eval echo '${'$as_ac_var'}'` = yes; then
35256 cat >>confdefs.h <<_ACEOF
35257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35266 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35267 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35273 for ac_func in snprintf vsnprintf vsscanf
35275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35276 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35278 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35279 echo $ECHO_N "(cached) $ECHO_C" >&6
35281 cat >conftest.$ac_ext <<_ACEOF
35284 cat confdefs.h >>conftest.$ac_ext
35285 cat >>conftest.$ac_ext <<_ACEOF
35286 /* end confdefs.h. */
35287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35289 #define $ac_func innocuous_$ac_func
35291 /* System header to define __stub macros and hopefully few prototypes,
35292 which can conflict with char $ac_func (); below.
35293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35294 <limits.h> exists even on freestanding compilers. */
35297 # include <limits.h>
35299 # include <assert.h>
35304 /* Override any GCC internal prototype to avoid an error.
35305 Use char because int might match the return type of a GCC
35306 builtin and then its argument prototype would still apply. */
35311 /* The GNU C library defines this for functions which it implements
35312 to always fail with ENOSYS. Some functions are actually named
35313 something starting with __ and the normal name is an alias. */
35314 #if defined __stub_$ac_func || defined __stub___$ac_func
35321 return $ac_func ();
35326 rm -f conftest.$ac_objext conftest$ac_exeext
35327 if { (ac_try="$ac_link"
35328 case "(($ac_try" in
35329 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35330 *) ac_try_echo
=$ac_try;;
35332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35333 (eval "$ac_link") 2>conftest.er1
35335 grep -v '^ *+' conftest.er1
>conftest.err
35337 cat conftest.err
>&5
35338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35339 (exit $ac_status); } && {
35340 test -z "$ac_c_werror_flag" ||
35341 test ! -s conftest.err
35342 } && test -s conftest
$ac_exeext &&
35343 $as_test_x conftest
$ac_exeext; then
35344 eval "$as_ac_var=yes"
35346 echo "$as_me: failed program was:" >&5
35347 sed 's/^/| /' conftest.
$ac_ext >&5
35349 eval "$as_ac_var=no"
35352 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35353 conftest
$ac_exeext conftest.
$ac_ext
35355 ac_res
=`eval echo '${'$as_ac_var'}'`
35356 { echo "$as_me:$LINENO: result: $ac_res" >&5
35357 echo "${ECHO_T}$ac_res" >&6; }
35358 if test `eval echo '${'$as_ac_var'}'` = yes; then
35359 cat >>confdefs.h
<<_ACEOF
35360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35368 ac_cpp
='$CXXCPP $CPPFLAGS'
35369 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35370 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35371 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35373 if test "$ac_cv_func_vsnprintf" = "yes"; then
35374 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35375 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35376 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35377 echo $ECHO_N "(cached) $ECHO_C" >&6
35380 cat >conftest.
$ac_ext <<_ACEOF
35383 cat confdefs.h
>>conftest.
$ac_ext
35384 cat >>conftest.
$ac_ext <<_ACEOF
35385 /* end confdefs.h. */
35388 #include <stdarg.h>
35390 #if __MSL__ >= 0x6000
35392 using namespace std;
35402 vsnprintf(buf, 10u, "%s", ap);
35408 rm -f conftest.
$ac_objext
35409 if { (ac_try
="$ac_compile"
35410 case "(($ac_try" in
35411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35412 *) ac_try_echo=$ac_try;;
35414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35415 (eval "$ac_compile") 2>conftest.er1
35417 grep -v '^ *+' conftest.er1 >conftest.err
35419 cat conftest.err >&5
35420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35421 (exit $ac_status); } && {
35422 test -z "$ac_cxx_werror_flag" ||
35423 test ! -s conftest.err
35424 } && test -s conftest.$ac_objext; then
35425 wx_cv_func_vsnprintf_decl=yes
35427 echo "$as_me: failed program was:" >&5
35428 sed 's/^/| /' conftest.$ac_ext >&5
35430 wx_cv_func_vsnprintf_decl=no
35434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35438 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35439 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35441 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35442 cat >>confdefs.h <<\_ACEOF
35443 #define HAVE_VSNPRINTF_DECL 1
35447 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35448 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35449 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35450 echo $ECHO_N "(cached) $ECHO_C" >&6
35453 cat >conftest.$ac_ext <<_ACEOF
35456 cat confdefs.h >>conftest.$ac_ext
35457 cat >>conftest.$ac_ext <<_ACEOF
35458 /* end confdefs.h. */
35461 #include <stdarg.h>
35463 #if __MSL__ >= 0x6000
35465 using namespace std;
35475 const char *fmt = "%s";
35476 vsnprintf(buf, 10u, fmt, ap);
35482 rm -f conftest.$ac_objext
35483 if { (ac_try="$ac_compile"
35484 case "(($ac_try" in
35485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35486 *) ac_try_echo
=$ac_try;;
35488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35489 (eval "$ac_compile") 2>conftest.er1
35491 grep -v '^ *+' conftest.er1
>conftest.err
35493 cat conftest.err
>&5
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); } && {
35496 test -z "$ac_cxx_werror_flag" ||
35497 test ! -s conftest.err
35498 } && test -s conftest.
$ac_objext; then
35499 wx_cv_func_broken_vsnprintf_decl
=no
35501 echo "$as_me: failed program was:" >&5
35502 sed 's/^/| /' conftest.
$ac_ext >&5
35504 wx_cv_func_broken_vsnprintf_decl
=yes
35508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35512 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35513 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35515 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35516 cat >>confdefs.h
<<\_ACEOF
35517 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35524 if test "$ac_cv_func_snprintf" = "yes"; then
35525 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35526 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35527 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35528 echo $ECHO_N "(cached) $ECHO_C" >&6
35531 cat >conftest.
$ac_ext <<_ACEOF
35534 cat confdefs.h
>>conftest.
$ac_ext
35535 cat >>conftest.
$ac_ext <<_ACEOF
35536 /* end confdefs.h. */
35539 #include <stdarg.h>
35541 #if __MSL__ >= 0x6000
35543 using namespace std;
35552 snprintf(buf, 10u, "%s", "wx");
35558 rm -f conftest.
$ac_objext
35559 if { (ac_try
="$ac_compile"
35560 case "(($ac_try" in
35561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35562 *) ac_try_echo=$ac_try;;
35564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35565 (eval "$ac_compile") 2>conftest.er1
35567 grep -v '^ *+' conftest.er1 >conftest.err
35569 cat conftest.err >&5
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); } && {
35572 test -z "$ac_cxx_werror_flag" ||
35573 test ! -s conftest.err
35574 } && test -s conftest.$ac_objext; then
35575 wx_cv_func_snprintf_decl=yes
35577 echo "$as_me: failed program was:" >&5
35578 sed 's/^/| /' conftest.$ac_ext >&5
35580 wx_cv_func_snprintf_decl=no
35584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35588 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35589 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35591 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35592 cat >>confdefs.h <<\_ACEOF
35593 #define HAVE_SNPRINTF_DECL 1
35598 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35600 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35601 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35602 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35603 echo $ECHO_N "(cached) $ECHO_C" >&6
35606 if test "$cross_compiling" = yes; then
35608 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35609 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35610 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35611 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35612 wx_cv_func_snprintf_pos_params=no
35616 cat >conftest.$ac_ext <<_ACEOF
35619 cat confdefs.h >>conftest.$ac_ext
35620 cat >>conftest.$ac_ext <<_ACEOF
35621 /* end confdefs.h. */
35628 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35629 if (strcmp ("2 3 1", buffer) == 0)
35635 rm -f conftest$ac_exeext
35636 if { (ac_try="$ac_link"
35637 case "(($ac_try" in
35638 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35639 *) ac_try_echo
=$ac_try;;
35641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35642 (eval "$ac_link") 2>&5
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35646 { (case "(($ac_try" in
35647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35648 *) ac_try_echo=$ac_try;;
35650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35651 (eval "$ac_try") 2>&5
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); }; }; then
35655 wx_cv_func_snprintf_pos_params=no
35657 echo "$as_me: program exited with status $ac_status" >&5
35658 echo "$as_me: failed program was:" >&5
35659 sed 's/^/| /' conftest.$ac_ext >&5
35661 ( exit $ac_status )
35662 wx_cv_func_snprintf_pos_params=yes
35664 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35671 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35672 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35674 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35675 cat >>confdefs.h <<\_ACEOF
35676 #define HAVE_UNIX98_PRINTF 1
35683 if test "$ac_cv_func_vsscanf" = "yes"; then
35684 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35685 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35686 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35687 echo $ECHO_N "(cached) $ECHO_C" >&6
35690 cat >conftest.$ac_ext <<_ACEOF
35693 cat confdefs.h >>conftest.$ac_ext
35694 cat >>conftest.$ac_ext <<_ACEOF
35695 /* end confdefs.h. */
35698 #include <stdarg.h>
35700 #if __MSL__ >= 0x6000
35702 using namespace std;
35712 vsscanf(buf, "%s", args);
35718 rm -f conftest.$ac_objext
35719 if { (ac_try="$ac_compile"
35720 case "(($ac_try" in
35721 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35722 *) ac_try_echo
=$ac_try;;
35724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35725 (eval "$ac_compile") 2>conftest.er1
35727 grep -v '^ *+' conftest.er1
>conftest.err
35729 cat conftest.err
>&5
35730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35731 (exit $ac_status); } && {
35732 test -z "$ac_cxx_werror_flag" ||
35733 test ! -s conftest.err
35734 } && test -s conftest.
$ac_objext; then
35735 wx_cv_func_vsscanf_decl
=yes
35737 echo "$as_me: failed program was:" >&5
35738 sed 's/^/| /' conftest.
$ac_ext >&5
35740 wx_cv_func_vsscanf_decl
=no
35744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35748 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35749 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35751 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35752 cat >>confdefs.h
<<\_ACEOF
35753 #define HAVE_VSSCANF_DECL 1
35759 ac_cpp
='$CPP $CPPFLAGS'
35760 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35761 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35762 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35765 if test "$wxUSE_UNICODE" = yes; then
35767 wchar_headers
="#include <stdio.h>
35768 #include <wchar.h>"
35772 for ac_header
in widec.h
35774 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35775 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35777 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35778 echo $ECHO_N "(cached) $ECHO_C" >&6
35780 cat >conftest.
$ac_ext <<_ACEOF
35783 cat confdefs.h
>>conftest.
$ac_ext
35784 cat >>conftest.
$ac_ext <<_ACEOF
35785 /* end confdefs.h. */
35786 $ac_includes_default
35788 #include <$ac_header>
35790 rm -f conftest.
$ac_objext
35791 if { (ac_try
="$ac_compile"
35792 case "(($ac_try" in
35793 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35794 *) ac_try_echo=$ac_try;;
35796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35797 (eval "$ac_compile") 2>conftest.er1
35799 grep -v '^ *+' conftest.er1 >conftest.err
35801 cat conftest.err >&5
35802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35803 (exit $ac_status); } && {
35804 test -z "$ac_c_werror_flag" ||
35805 test ! -s conftest.err
35806 } && test -s conftest.$ac_objext; then
35807 eval "$as_ac_Header=yes"
35809 echo "$as_me: failed program was:" >&5
35810 sed 's/^/| /' conftest.$ac_ext >&5
35812 eval "$as_ac_Header=no"
35815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35817 ac_res=`eval echo '${'$as_ac_Header'}'`
35818 { echo "$as_me:$LINENO: result: $ac_res" >&5
35819 echo "${ECHO_T}$ac_res" >&6; }
35820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35821 cat >>confdefs.h <<_ACEOF
35822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35829 if test "$ac_cv_header_widec_h" = "yes"; then
35830 wchar_headers="$wchar_headers
35831 #include <widec.h>"
35836 for wx_func in putws fputws wprintf vswprintf vswscanf
35838 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35839 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35840 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35841 echo $ECHO_N "(cached) $ECHO_C" >&6
35844 cat >conftest.$ac_ext <<_ACEOF
35848 cat confdefs.h >>conftest.$ac_ext
35849 cat >>conftest.$ac_ext <<_ACEOF
35850 /* end confdefs.h. */
35853 $ac_includes_default
35869 rm -f conftest.$ac_objext conftest$ac_exeext
35870 if { (ac_try="$ac_link"
35871 case "(($ac_try" in
35872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35873 *) ac_try_echo
=$ac_try;;
35875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35876 (eval "$ac_link") 2>conftest.er1
35878 grep -v '^ *+' conftest.er1
>conftest.err
35880 cat conftest.err
>&5
35881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35882 (exit $ac_status); } && {
35883 test -z "$ac_c_werror_flag" ||
35884 test ! -s conftest.err
35885 } && test -s conftest
$ac_exeext &&
35886 $as_test_x conftest
$ac_exeext; then
35887 eval wx_cv_func_
$wx_func=yes
35889 echo "$as_me: failed program was:" >&5
35890 sed 's/^/| /' conftest.
$ac_ext >&5
35892 eval wx_cv_func_
$wx_func=no
35895 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35896 conftest
$ac_exeext conftest.
$ac_ext
35899 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35900 { echo "$as_me:$LINENO: result: $ac_res" >&5
35901 echo "${ECHO_T}$ac_res" >&6; }
35903 if eval test \
$wx_cv_func_$wx_func = yes
35905 cat >>confdefs.h
<<_ACEOF
35906 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35917 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35918 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35919 cat >conftest.
$ac_ext <<_ACEOF
35922 cat confdefs.h
>>conftest.
$ac_ext
35923 cat >>conftest.
$ac_ext <<_ACEOF
35924 /* end confdefs.h. */
35934 rm -f conftest.
$ac_objext
35935 if { (ac_try
="$ac_compile"
35936 case "(($ac_try" in
35937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35938 *) ac_try_echo=$ac_try;;
35940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35941 (eval "$ac_compile") 2>conftest.er1
35943 grep -v '^ *+' conftest.er1 >conftest.err
35945 cat conftest.err >&5
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); } && {
35948 test -z "$ac_c_werror_flag" ||
35949 test ! -s conftest.err
35950 } && test -s conftest.$ac_objext; then
35951 { echo "$as_me:$LINENO: result: yes" >&5
35952 echo "${ECHO_T}yes" >&6; }
35953 cat >>confdefs.h <<\_ACEOF
35954 #define HAVE__VSNWPRINTF 1
35958 echo "$as_me: failed program was:" >&5
35959 sed 's/^/| /' conftest.$ac_ext >&5
35961 { echo "$as_me:$LINENO: result: no" >&5
35962 echo "${ECHO_T}no" >&6; }
35965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35968 if test "$wxUSE_FILE" = "yes"; then
35970 for wx_func in fsync
35972 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35973 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35974 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35975 echo $ECHO_N "(cached) $ECHO_C" >&6
35978 cat >conftest.$ac_ext <<_ACEOF
35982 cat confdefs.h >>conftest.$ac_ext
35983 cat >>conftest.$ac_ext <<_ACEOF
35984 /* end confdefs.h. */
35987 $ac_includes_default
36003 rm -f conftest.$ac_objext conftest$ac_exeext
36004 if { (ac_try="$ac_link"
36005 case "(($ac_try" in
36006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36007 *) ac_try_echo
=$ac_try;;
36009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36010 (eval "$ac_link") 2>conftest.er1
36012 grep -v '^ *+' conftest.er1
>conftest.err
36014 cat conftest.err
>&5
36015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36016 (exit $ac_status); } && {
36017 test -z "$ac_c_werror_flag" ||
36018 test ! -s conftest.err
36019 } && test -s conftest
$ac_exeext &&
36020 $as_test_x conftest
$ac_exeext; then
36021 eval wx_cv_func_
$wx_func=yes
36023 echo "$as_me: failed program was:" >&5
36024 sed 's/^/| /' conftest.
$ac_ext >&5
36026 eval wx_cv_func_
$wx_func=no
36029 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36030 conftest
$ac_exeext conftest.
$ac_ext
36033 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36034 { echo "$as_me:$LINENO: result: $ac_res" >&5
36035 echo "${ECHO_T}$ac_res" >&6; }
36037 if eval test \
$wx_cv_func_$wx_func = yes
36039 cat >>confdefs.h
<<_ACEOF
36040 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36053 ac_cpp
='$CXXCPP $CPPFLAGS'
36054 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36055 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36056 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36059 for wx_func
in round
36061 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36062 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36063 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36064 echo $ECHO_N "(cached) $ECHO_C" >&6
36067 cat >conftest.
$ac_ext <<_ACEOF
36071 cat confdefs.h
>>conftest.
$ac_ext
36072 cat >>conftest.
$ac_ext <<_ACEOF
36073 /* end confdefs.h. */
36076 $ac_includes_default
36092 rm -f conftest.
$ac_objext conftest
$ac_exeext
36093 if { (ac_try
="$ac_link"
36094 case "(($ac_try" in
36095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36096 *) ac_try_echo=$ac_try;;
36098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36099 (eval "$ac_link") 2>conftest.er1
36101 grep -v '^ *+' conftest.er1 >conftest.err
36103 cat conftest.err >&5
36104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36105 (exit $ac_status); } && {
36106 test -z "$ac_cxx_werror_flag" ||
36107 test ! -s conftest.err
36108 } && test -s conftest$ac_exeext &&
36109 $as_test_x conftest$ac_exeext; then
36110 eval wx_cv_func_$wx_func=yes
36112 echo "$as_me: failed program was:" >&5
36113 sed 's/^/| /' conftest.$ac_ext >&5
36115 eval wx_cv_func_$wx_func=no
36118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36119 conftest$ac_exeext conftest.$ac_ext
36122 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36123 { echo "$as_me:$LINENO: result: $ac_res" >&5
36124 echo "${ECHO_T}$ac_res" >&6; }
36126 if eval test \$wx_cv_func_$wx_func = yes
36128 cat >>confdefs.h <<_ACEOF
36129 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36140 ac_cpp='$CPP $CPPFLAGS'
36141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36146 if test "$TOOLKIT" != "MSW"; then
36148 if test "$wxUSE_LIBICONV" != "no" ; then
36152 # Check whether --with-libiconv-prefix was given.
36153 if test "${with_libiconv_prefix+set}" = set; then
36154 withval=$with_libiconv_prefix;
36155 for dir in `echo "$withval" | tr : ' '`; do
36156 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36157 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36163 { echo "$as_me:$LINENO: checking for iconv" >&5
36164 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36165 if test "${am_cv_func_iconv+set}" = set; then
36166 echo $ECHO_N "(cached) $ECHO_C" >&6
36169 am_cv_func_iconv="no, consider installing GNU libiconv"
36171 cat >conftest.$ac_ext <<_ACEOF
36174 cat confdefs.h >>conftest.$ac_ext
36175 cat >>conftest.$ac_ext <<_ACEOF
36176 /* end confdefs.h. */
36177 #include <stdlib.h>
36182 iconv_t cd = iconv_open("","");
36183 iconv(cd,NULL,NULL,NULL,NULL);
36189 rm -f conftest.$ac_objext conftest$ac_exeext
36190 if { (ac_try="$ac_link"
36191 case "(($ac_try" in
36192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36193 *) ac_try_echo
=$ac_try;;
36195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36196 (eval "$ac_link") 2>conftest.er1
36198 grep -v '^ *+' conftest.er1
>conftest.err
36200 cat conftest.err
>&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); } && {
36203 test -z "$ac_c_werror_flag" ||
36204 test ! -s conftest.err
36205 } && test -s conftest
$ac_exeext &&
36206 $as_test_x conftest
$ac_exeext; then
36207 am_cv_func_iconv
=yes
36209 echo "$as_me: failed program was:" >&5
36210 sed 's/^/| /' conftest.
$ac_ext >&5
36215 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36216 conftest
$ac_exeext conftest.
$ac_ext
36217 if test "$am_cv_func_iconv" != yes; then
36218 am_save_LIBS
="$LIBS"
36219 LIBS
="$LIBS -liconv"
36220 cat >conftest.
$ac_ext <<_ACEOF
36223 cat confdefs.h
>>conftest.
$ac_ext
36224 cat >>conftest.
$ac_ext <<_ACEOF
36225 /* end confdefs.h. */
36226 #include <stdlib.h>
36231 iconv_t cd = iconv_open("","");
36232 iconv(cd,NULL,NULL,NULL,NULL);
36238 rm -f conftest.
$ac_objext conftest
$ac_exeext
36239 if { (ac_try
="$ac_link"
36240 case "(($ac_try" in
36241 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36242 *) ac_try_echo=$ac_try;;
36244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36245 (eval "$ac_link") 2>conftest.er1
36247 grep -v '^ *+' conftest.er1 >conftest.err
36249 cat conftest.err >&5
36250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251 (exit $ac_status); } && {
36252 test -z "$ac_c_werror_flag" ||
36253 test ! -s conftest.err
36254 } && test -s conftest$ac_exeext &&
36255 $as_test_x conftest$ac_exeext; then
36256 am_cv_lib_iconv=yes
36257 am_cv_func_iconv=yes
36259 echo "$as_me: failed program was:" >&5
36260 sed 's/^/| /' conftest.$ac_ext >&5
36265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36266 conftest$ac_exeext conftest.$ac_ext
36267 LIBS="$am_save_LIBS"
36271 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36272 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36273 if test "$am_cv_func_iconv" = yes; then
36275 cat >>confdefs.h <<\_ACEOF
36276 #define HAVE_ICONV 1
36279 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36280 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36281 if test "${wx_cv_func_iconv_const+set}" = set; then
36282 echo $ECHO_N "(cached) $ECHO_C" >&6
36284 cat >conftest.$ac_ext <<_ACEOF
36287 cat confdefs.h >>conftest.$ac_ext
36288 cat >>conftest.$ac_ext <<_ACEOF
36289 /* end confdefs.h. */
36291 #include <stdlib.h>
36297 #if defined(__STDC__) || defined(__cplusplus)
36298 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36311 rm -f conftest.$ac_objext
36312 if { (ac_try="$ac_compile"
36313 case "(($ac_try" in
36314 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36315 *) ac_try_echo
=$ac_try;;
36317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36318 (eval "$ac_compile") 2>conftest.er1
36320 grep -v '^ *+' conftest.er1
>conftest.err
36322 cat conftest.err
>&5
36323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36324 (exit $ac_status); } && {
36325 test -z "$ac_c_werror_flag" ||
36326 test ! -s conftest.err
36327 } && test -s conftest.
$ac_objext; then
36328 wx_cv_func_iconv_const
="no"
36330 echo "$as_me: failed program was:" >&5
36331 sed 's/^/| /' conftest.
$ac_ext >&5
36333 wx_cv_func_iconv_const
="yes"
36337 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36340 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36341 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36344 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36345 iconv_const
="const"
36349 cat >>confdefs.h
<<_ACEOF
36350 #define ICONV_CONST $iconv_const
36355 if test "$am_cv_lib_iconv" = yes; then
36360 LIBS
="$LIBICONV $LIBS"
36363 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36365 for ac_func
in sigaction
36367 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36368 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36370 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36371 echo $ECHO_N "(cached) $ECHO_C" >&6
36373 cat >conftest.
$ac_ext <<_ACEOF
36376 cat confdefs.h
>>conftest.
$ac_ext
36377 cat >>conftest.
$ac_ext <<_ACEOF
36378 /* end confdefs.h. */
36379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36381 #define $ac_func innocuous_$ac_func
36383 /* System header to define __stub macros and hopefully few prototypes,
36384 which can conflict with char $ac_func (); below.
36385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36386 <limits.h> exists even on freestanding compilers. */
36389 # include <limits.h>
36391 # include <assert.h>
36396 /* Override any GCC internal prototype to avoid an error.
36397 Use char because int might match the return type of a GCC
36398 builtin and then its argument prototype would still apply. */
36403 /* The GNU C library defines this for functions which it implements
36404 to always fail with ENOSYS. Some functions are actually named
36405 something starting with __ and the normal name is an alias. */
36406 #if defined __stub_$ac_func || defined __stub___$ac_func
36413 return $ac_func ();
36418 rm -f conftest.
$ac_objext conftest
$ac_exeext
36419 if { (ac_try
="$ac_link"
36420 case "(($ac_try" in
36421 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36422 *) ac_try_echo=$ac_try;;
36424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36425 (eval "$ac_link") 2>conftest.er1
36427 grep -v '^ *+' conftest.er1 >conftest.err
36429 cat conftest.err >&5
36430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36431 (exit $ac_status); } && {
36432 test -z "$ac_c_werror_flag" ||
36433 test ! -s conftest.err
36434 } && test -s conftest$ac_exeext &&
36435 $as_test_x conftest$ac_exeext; then
36436 eval "$as_ac_var=yes"
36438 echo "$as_me: failed program was:" >&5
36439 sed 's/^/| /' conftest.$ac_ext >&5
36441 eval "$as_ac_var=no"
36444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36445 conftest$ac_exeext conftest.$ac_ext
36447 ac_res=`eval echo '${'$as_ac_var'}'`
36448 { echo "$as_me:$LINENO: result: $ac_res" >&5
36449 echo "${ECHO_T}$ac_res" >&6; }
36450 if test `eval echo '${'$as_ac_var'}'` = yes; then
36451 cat >>confdefs.h <<_ACEOF
36452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36459 if test "$ac_cv_func_sigaction" = "no"; then
36460 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36461 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36462 wxUSE_ON_FATAL_EXCEPTION=no
36465 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36466 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36467 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36468 if test "${wx_cv_type_sa_handler+set}" = set; then
36469 echo $ECHO_N "(cached) $ECHO_C" >&6
36473 ac_cpp='$CXXCPP $CPPFLAGS'
36474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36478 cat >conftest.$ac_ext <<_ACEOF
36481 cat confdefs.h >>conftest.$ac_ext
36482 cat >>conftest.$ac_ext <<_ACEOF
36483 /* end confdefs.h. */
36484 #include <signal.h>
36489 extern void testSigHandler(int);
36491 struct sigaction sa;
36492 sa.sa_handler = testSigHandler;
36498 rm -f conftest.$ac_objext
36499 if { (ac_try="$ac_compile"
36500 case "(($ac_try" in
36501 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36502 *) ac_try_echo
=$ac_try;;
36504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36505 (eval "$ac_compile") 2>conftest.er1
36507 grep -v '^ *+' conftest.er1
>conftest.err
36509 cat conftest.err
>&5
36510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36511 (exit $ac_status); } && {
36512 test -z "$ac_cxx_werror_flag" ||
36513 test ! -s conftest.err
36514 } && test -s conftest.
$ac_objext; then
36516 wx_cv_type_sa_handler
=int
36519 echo "$as_me: failed program was:" >&5
36520 sed 's/^/| /' conftest.
$ac_ext >&5
36523 wx_cv_type_sa_handler
=void
36527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36529 ac_cpp
='$CPP $CPPFLAGS'
36530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36536 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36537 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36539 cat >>confdefs.h
<<_ACEOF
36540 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36546 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36547 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36548 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36549 if test "${wx_cv_func_backtrace+set}" = set; then
36550 echo $ECHO_N "(cached) $ECHO_C" >&6
36554 ac_cpp
='$CXXCPP $CPPFLAGS'
36555 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36556 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36557 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36559 cat >conftest.
$ac_ext <<_ACEOF
36562 cat confdefs.h
>>conftest.
$ac_ext
36563 cat >>conftest.
$ac_ext <<_ACEOF
36564 /* end confdefs.h. */
36565 #include <execinfo.h>
36573 backtrace(trace, 1);
36574 messages = backtrace_symbols(trace, 1);
36580 rm -f conftest.
$ac_objext
36581 if { (ac_try
="$ac_compile"
36582 case "(($ac_try" in
36583 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36584 *) ac_try_echo=$ac_try;;
36586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36587 (eval "$ac_compile") 2>conftest.er1
36589 grep -v '^ *+' conftest.er1 >conftest.err
36591 cat conftest.err >&5
36592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36593 (exit $ac_status); } && {
36594 test -z "$ac_cxx_werror_flag" ||
36595 test ! -s conftest.err
36596 } && test -s conftest.$ac_objext; then
36597 wx_cv_func_backtrace=yes
36599 echo "$as_me: failed program was:" >&5
36600 sed 's/^/| /' conftest.$ac_ext >&5
36602 wx_cv_func_backtrace=no
36606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36608 ac_cpp='$CPP $CPPFLAGS'
36609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36616 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36617 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36620 if test "$wx_cv_func_backtrace" = "no"; then
36621 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36622 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36623 wxUSE_STACKWALKER=no
36625 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36626 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36627 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36628 echo $ECHO_N "(cached) $ECHO_C" >&6
36632 ac_cpp='$CXXCPP $CPPFLAGS'
36633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36637 cat >conftest.$ac_ext <<_ACEOF
36640 cat confdefs.h >>conftest.$ac_ext
36641 cat >>conftest.$ac_ext <<_ACEOF
36642 /* end confdefs.h. */
36643 #include <cxxabi.h>
36649 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36655 rm -f conftest.$ac_objext conftest$ac_exeext
36656 if { (ac_try="$ac_link"
36657 case "(($ac_try" in
36658 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36659 *) ac_try_echo
=$ac_try;;
36661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36662 (eval "$ac_link") 2>conftest.er1
36664 grep -v '^ *+' conftest.er1
>conftest.err
36666 cat conftest.err
>&5
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); } && {
36669 test -z "$ac_cxx_werror_flag" ||
36670 test ! -s conftest.err
36671 } && test -s conftest
$ac_exeext &&
36672 $as_test_x conftest
$ac_exeext; then
36673 wx_cv_func_cxa_demangle
=yes
36675 echo "$as_me: failed program was:" >&5
36676 sed 's/^/| /' conftest.
$ac_ext >&5
36678 wx_cv_func_cxa_demangle
=no
36682 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36683 conftest
$ac_exeext conftest.
$ac_ext
36685 ac_cpp
='$CPP $CPPFLAGS'
36686 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36687 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36688 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36693 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36694 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36696 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36697 cat >>confdefs.h
<<\_ACEOF
36698 #define HAVE_CXA_DEMANGLE 1
36705 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36706 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36707 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36708 wxUSE_STACKWALKER
=no
36714 for ac_func
in mkstemp mktemp
36716 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36717 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36719 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36720 echo $ECHO_N "(cached) $ECHO_C" >&6
36722 cat >conftest.
$ac_ext <<_ACEOF
36725 cat confdefs.h
>>conftest.
$ac_ext
36726 cat >>conftest.
$ac_ext <<_ACEOF
36727 /* end confdefs.h. */
36728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36730 #define $ac_func innocuous_$ac_func
36732 /* System header to define __stub macros and hopefully few prototypes,
36733 which can conflict with char $ac_func (); below.
36734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36735 <limits.h> exists even on freestanding compilers. */
36738 # include <limits.h>
36740 # include <assert.h>
36745 /* Override any GCC internal prototype to avoid an error.
36746 Use char because int might match the return type of a GCC
36747 builtin and then its argument prototype would still apply. */
36752 /* The GNU C library defines this for functions which it implements
36753 to always fail with ENOSYS. Some functions are actually named
36754 something starting with __ and the normal name is an alias. */
36755 #if defined __stub_$ac_func || defined __stub___$ac_func
36762 return $ac_func ();
36767 rm -f conftest.
$ac_objext conftest
$ac_exeext
36768 if { (ac_try
="$ac_link"
36769 case "(($ac_try" in
36770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36771 *) ac_try_echo=$ac_try;;
36773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36774 (eval "$ac_link") 2>conftest.er1
36776 grep -v '^ *+' conftest.er1 >conftest.err
36778 cat conftest.err >&5
36779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36780 (exit $ac_status); } && {
36781 test -z "$ac_c_werror_flag" ||
36782 test ! -s conftest.err
36783 } && test -s conftest$ac_exeext &&
36784 $as_test_x conftest$ac_exeext; then
36785 eval "$as_ac_var=yes"
36787 echo "$as_me: failed program was:" >&5
36788 sed 's/^/| /' conftest.$ac_ext >&5
36790 eval "$as_ac_var=no"
36793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36794 conftest$ac_exeext conftest.$ac_ext
36796 ac_res=`eval echo '${'$as_ac_var'}'`
36797 { echo "$as_me:$LINENO: result: $ac_res" >&5
36798 echo "${ECHO_T}$ac_res" >&6; }
36799 if test `eval echo '${'$as_ac_var'}'` = yes; then
36800 cat >>confdefs.h <<_ACEOF
36801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36808 { echo "$as_me:$LINENO: checking for statfs" >&5
36809 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36810 if test "${wx_cv_func_statfs+set}" = set; then
36811 echo $ECHO_N "(cached) $ECHO_C" >&6
36813 cat >conftest.$ac_ext <<_ACEOF
36816 cat confdefs.h >>conftest.$ac_ext
36817 cat >>conftest.$ac_ext <<_ACEOF
36818 /* end confdefs.h. */
36820 #if defined(__BSD__)
36821 #include <sys/param.h>
36822 #include <sys/mount.h>
36824 #include <sys/vfs.h>
36842 rm -f conftest.$ac_objext
36843 if { (ac_try="$ac_compile"
36844 case "(($ac_try" in
36845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36846 *) ac_try_echo
=$ac_try;;
36848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36849 (eval "$ac_compile") 2>conftest.er1
36851 grep -v '^ *+' conftest.er1
>conftest.err
36853 cat conftest.err
>&5
36854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36855 (exit $ac_status); } && {
36856 test -z "$ac_c_werror_flag" ||
36857 test ! -s conftest.err
36858 } && test -s conftest.
$ac_objext; then
36859 wx_cv_func_statfs
=yes
36861 echo "$as_me: failed program was:" >&5
36862 sed 's/^/| /' conftest.
$ac_ext >&5
36864 wx_cv_func_statfs
=no
36868 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36871 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36872 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36874 if test "$wx_cv_func_statfs" = "yes"; then
36875 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36876 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36877 if test "${wx_cv_func_statfs_decl+set}" = set; then
36878 echo $ECHO_N "(cached) $ECHO_C" >&6
36881 ac_cpp
='$CXXCPP $CPPFLAGS'
36882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36886 cat >conftest.
$ac_ext <<_ACEOF
36889 cat confdefs.h
>>conftest.
$ac_ext
36890 cat >>conftest.
$ac_ext <<_ACEOF
36891 /* end confdefs.h. */
36893 #if defined(__BSD__)
36894 #include <sys/param.h>
36895 #include <sys/mount.h>
36897 #include <sys/vfs.h>
36911 rm -f conftest.
$ac_objext
36912 if { (ac_try
="$ac_compile"
36913 case "(($ac_try" in
36914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36915 *) ac_try_echo=$ac_try;;
36917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36918 (eval "$ac_compile") 2>conftest.er1
36920 grep -v '^ *+' conftest.er1 >conftest.err
36922 cat conftest.err >&5
36923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36924 (exit $ac_status); } && {
36925 test -z "$ac_cxx_werror_flag" ||
36926 test ! -s conftest.err
36927 } && test -s conftest.$ac_objext; then
36928 wx_cv_func_statfs_decl=yes
36930 echo "$as_me: failed program was:" >&5
36931 sed 's/^/| /' conftest.$ac_ext >&5
36933 wx_cv_func_statfs_decl=no
36937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36939 ac_cpp='$CPP $CPPFLAGS'
36940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36946 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36947 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36949 if test "$wx_cv_func_statfs_decl" = "yes"; then
36950 cat >>confdefs.h <<\_ACEOF
36951 #define HAVE_STATFS_DECL 1
36956 wx_cv_type_statvfs_t="struct statfs"
36957 cat >>confdefs.h <<\_ACEOF
36958 #define HAVE_STATFS 1
36962 { echo "$as_me:$LINENO: checking for statvfs" >&5
36963 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36964 if test "${wx_cv_func_statvfs+set}" = set; then
36965 echo $ECHO_N "(cached) $ECHO_C" >&6
36967 cat >conftest.$ac_ext <<_ACEOF
36970 cat confdefs.h >>conftest.$ac_ext
36971 cat >>conftest.$ac_ext <<_ACEOF
36972 /* end confdefs.h. */
36974 #include <stddef.h>
36975 #include <sys/statvfs.h>
36981 statvfs("/", NULL);
36987 rm -f conftest.$ac_objext
36988 if { (ac_try="$ac_compile"
36989 case "(($ac_try" in
36990 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36991 *) ac_try_echo
=$ac_try;;
36993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36994 (eval "$ac_compile") 2>conftest.er1
36996 grep -v '^ *+' conftest.er1
>conftest.err
36998 cat conftest.err
>&5
36999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000 (exit $ac_status); } && {
37001 test -z "$ac_c_werror_flag" ||
37002 test ! -s conftest.err
37003 } && test -s conftest.
$ac_objext; then
37004 wx_cv_func_statvfs
=yes
37006 echo "$as_me: failed program was:" >&5
37007 sed 's/^/| /' conftest.
$ac_ext >&5
37009 wx_cv_func_statvfs
=no
37013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37016 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37017 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37019 if test "$wx_cv_func_statvfs" = "yes"; then
37020 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37021 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37022 if test "${wx_cv_type_statvfs_t+set}" = set; then
37023 echo $ECHO_N "(cached) $ECHO_C" >&6
37026 ac_cpp
='$CXXCPP $CPPFLAGS'
37027 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37028 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37029 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37031 cat >conftest.
$ac_ext <<_ACEOF
37034 cat confdefs.h
>>conftest.
$ac_ext
37035 cat >>conftest.
$ac_ext <<_ACEOF
37036 /* end confdefs.h. */
37038 #include <sys/statvfs.h>
37055 rm -f conftest.
$ac_objext
37056 if { (ac_try
="$ac_compile"
37057 case "(($ac_try" in
37058 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37059 *) ac_try_echo=$ac_try;;
37061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37062 (eval "$ac_compile") 2>conftest.er1
37064 grep -v '^ *+' conftest.er1 >conftest.err
37066 cat conftest.err >&5
37067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37068 (exit $ac_status); } && {
37069 test -z "$ac_cxx_werror_flag" ||
37070 test ! -s conftest.err
37071 } && test -s conftest.$ac_objext; then
37072 wx_cv_type_statvfs_t=statvfs_t
37074 echo "$as_me: failed program was:" >&5
37075 sed 's/^/| /' conftest.$ac_ext >&5
37078 cat >conftest.$ac_ext <<_ACEOF
37081 cat confdefs.h >>conftest.$ac_ext
37082 cat >>conftest.$ac_ext <<_ACEOF
37083 /* end confdefs.h. */
37085 #include <sys/statvfs.h>
37102 rm -f conftest.$ac_objext
37103 if { (ac_try="$ac_compile"
37104 case "(($ac_try" in
37105 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37106 *) ac_try_echo
=$ac_try;;
37108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37109 (eval "$ac_compile") 2>conftest.er1
37111 grep -v '^ *+' conftest.er1
>conftest.err
37113 cat conftest.err
>&5
37114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37115 (exit $ac_status); } && {
37116 test -z "$ac_cxx_werror_flag" ||
37117 test ! -s conftest.err
37118 } && test -s conftest.
$ac_objext; then
37119 wx_cv_type_statvfs_t
="struct statvfs"
37121 echo "$as_me: failed program was:" >&5
37122 sed 's/^/| /' conftest.
$ac_ext >&5
37124 wx_cv_type_statvfs_t
="unknown"
37128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37135 ac_cpp
='$CPP $CPPFLAGS'
37136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37142 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37143 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37145 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37146 cat >>confdefs.h
<<\_ACEOF
37147 #define HAVE_STATVFS 1
37152 wx_cv_type_statvfs_t
="unknown"
37156 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37157 cat >>confdefs.h
<<_ACEOF
37158 #define WX_STATFS_T $wx_cv_type_statvfs_t
37162 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37163 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37166 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37169 for ac_func
in fcntl flock
37171 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37172 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37174 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37175 echo $ECHO_N "(cached) $ECHO_C" >&6
37177 cat >conftest.
$ac_ext <<_ACEOF
37180 cat confdefs.h
>>conftest.
$ac_ext
37181 cat >>conftest.
$ac_ext <<_ACEOF
37182 /* end confdefs.h. */
37183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37185 #define $ac_func innocuous_$ac_func
37187 /* System header to define __stub macros and hopefully few prototypes,
37188 which can conflict with char $ac_func (); below.
37189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37190 <limits.h> exists even on freestanding compilers. */
37193 # include <limits.h>
37195 # include <assert.h>
37200 /* Override any GCC internal prototype to avoid an error.
37201 Use char because int might match the return type of a GCC
37202 builtin and then its argument prototype would still apply. */
37207 /* The GNU C library defines this for functions which it implements
37208 to always fail with ENOSYS. Some functions are actually named
37209 something starting with __ and the normal name is an alias. */
37210 #if defined __stub_$ac_func || defined __stub___$ac_func
37217 return $ac_func ();
37222 rm -f conftest.
$ac_objext conftest
$ac_exeext
37223 if { (ac_try
="$ac_link"
37224 case "(($ac_try" in
37225 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37226 *) ac_try_echo=$ac_try;;
37228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37229 (eval "$ac_link") 2>conftest.er1
37231 grep -v '^ *+' conftest.er1 >conftest.err
37233 cat conftest.err >&5
37234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37235 (exit $ac_status); } && {
37236 test -z "$ac_c_werror_flag" ||
37237 test ! -s conftest.err
37238 } && test -s conftest$ac_exeext &&
37239 $as_test_x conftest$ac_exeext; then
37240 eval "$as_ac_var=yes"
37242 echo "$as_me: failed program was:" >&5
37243 sed 's/^/| /' conftest.$ac_ext >&5
37245 eval "$as_ac_var=no"
37248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37249 conftest$ac_exeext conftest.$ac_ext
37251 ac_res=`eval echo '${'$as_ac_var'}'`
37252 { echo "$as_me:$LINENO: result: $ac_res" >&5
37253 echo "${ECHO_T}$ac_res" >&6; }
37254 if test `eval echo '${'$as_ac_var'}'` = yes; then
37255 cat >>confdefs.h <<_ACEOF
37256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37263 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37264 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37265 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37266 wxUSE_SNGLINST_CHECKER=no
37272 for ac_func in setenv putenv
37274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37275 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37277 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37278 echo $ECHO_N "(cached) $ECHO_C" >&6
37280 cat >conftest.$ac_ext <<_ACEOF
37283 cat confdefs.h >>conftest.$ac_ext
37284 cat >>conftest.$ac_ext <<_ACEOF
37285 /* end confdefs.h. */
37286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37288 #define $ac_func innocuous_$ac_func
37290 /* System header to define __stub macros and hopefully few prototypes,
37291 which can conflict with char $ac_func (); below.
37292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37293 <limits.h> exists even on freestanding compilers. */
37296 # include <limits.h>
37298 # include <assert.h>
37303 /* Override any GCC internal prototype to avoid an error.
37304 Use char because int might match the return type of a GCC
37305 builtin and then its argument prototype would still apply. */
37310 /* The GNU C library defines this for functions which it implements
37311 to always fail with ENOSYS. Some functions are actually named
37312 something starting with __ and the normal name is an alias. */
37313 #if defined __stub_$ac_func || defined __stub___$ac_func
37320 return $ac_func ();
37325 rm -f conftest.$ac_objext conftest$ac_exeext
37326 if { (ac_try="$ac_link"
37327 case "(($ac_try" in
37328 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37329 *) ac_try_echo
=$ac_try;;
37331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37332 (eval "$ac_link") 2>conftest.er1
37334 grep -v '^ *+' conftest.er1
>conftest.err
37336 cat conftest.err
>&5
37337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37338 (exit $ac_status); } && {
37339 test -z "$ac_c_werror_flag" ||
37340 test ! -s conftest.err
37341 } && test -s conftest
$ac_exeext &&
37342 $as_test_x conftest
$ac_exeext; then
37343 eval "$as_ac_var=yes"
37345 echo "$as_me: failed program was:" >&5
37346 sed 's/^/| /' conftest.
$ac_ext >&5
37348 eval "$as_ac_var=no"
37351 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37352 conftest
$ac_exeext conftest.
$ac_ext
37354 ac_res
=`eval echo '${'$as_ac_var'}'`
37355 { echo "$as_me:$LINENO: result: $ac_res" >&5
37356 echo "${ECHO_T}$ac_res" >&6; }
37357 if test `eval echo '${'$as_ac_var'}'` = yes; then
37358 cat >>confdefs.h
<<_ACEOF
37359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37365 if test "$ac_cv_func_setenv" = "yes"; then
37367 for ac_func
in unsetenv
37369 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37370 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37372 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37373 echo $ECHO_N "(cached) $ECHO_C" >&6
37375 cat >conftest.
$ac_ext <<_ACEOF
37378 cat confdefs.h
>>conftest.
$ac_ext
37379 cat >>conftest.
$ac_ext <<_ACEOF
37380 /* end confdefs.h. */
37381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37383 #define $ac_func innocuous_$ac_func
37385 /* System header to define __stub macros and hopefully few prototypes,
37386 which can conflict with char $ac_func (); below.
37387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37388 <limits.h> exists even on freestanding compilers. */
37391 # include <limits.h>
37393 # include <assert.h>
37398 /* Override any GCC internal prototype to avoid an error.
37399 Use char because int might match the return type of a GCC
37400 builtin and then its argument prototype would still apply. */
37405 /* The GNU C library defines this for functions which it implements
37406 to always fail with ENOSYS. Some functions are actually named
37407 something starting with __ and the normal name is an alias. */
37408 #if defined __stub_$ac_func || defined __stub___$ac_func
37415 return $ac_func ();
37420 rm -f conftest.
$ac_objext conftest
$ac_exeext
37421 if { (ac_try
="$ac_link"
37422 case "(($ac_try" in
37423 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37424 *) ac_try_echo=$ac_try;;
37426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37427 (eval "$ac_link") 2>conftest.er1
37429 grep -v '^ *+' conftest.er1 >conftest.err
37431 cat conftest.err >&5
37432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37433 (exit $ac_status); } && {
37434 test -z "$ac_c_werror_flag" ||
37435 test ! -s conftest.err
37436 } && test -s conftest$ac_exeext &&
37437 $as_test_x conftest$ac_exeext; then
37438 eval "$as_ac_var=yes"
37440 echo "$as_me: failed program was:" >&5
37441 sed 's/^/| /' conftest.$ac_ext >&5
37443 eval "$as_ac_var=no"
37446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37447 conftest$ac_exeext conftest.$ac_ext
37449 ac_res=`eval echo '${'$as_ac_var'}'`
37450 { echo "$as_me:$LINENO: result: $ac_res" >&5
37451 echo "${ECHO_T}$ac_res" >&6; }
37452 if test `eval echo '${'$as_ac_var'}'` = yes; then
37453 cat >>confdefs.h <<_ACEOF
37454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37462 HAVE_SOME_SLEEP_FUNC=0
37463 if test "$USE_BEOS" = 1; then
37464 cat >>confdefs.h <<\_ACEOF
37465 #define HAVE_SLEEP 1
37468 HAVE_SOME_SLEEP_FUNC=1
37471 if test "$USE_DARWIN" = 1; then
37472 cat >>confdefs.h <<\_ACEOF
37473 #define HAVE_USLEEP 1
37476 HAVE_SOME_SLEEP_FUNC=1
37479 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37482 for ac_func in nanosleep
37484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37485 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37487 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37488 echo $ECHO_N "(cached) $ECHO_C" >&6
37490 cat >conftest.$ac_ext <<_ACEOF
37493 cat confdefs.h >>conftest.$ac_ext
37494 cat >>conftest.$ac_ext <<_ACEOF
37495 /* end confdefs.h. */
37496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37498 #define $ac_func innocuous_$ac_func
37500 /* System header to define __stub macros and hopefully few prototypes,
37501 which can conflict with char $ac_func (); below.
37502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37503 <limits.h> exists even on freestanding compilers. */
37506 # include <limits.h>
37508 # include <assert.h>
37513 /* Override any GCC internal prototype to avoid an error.
37514 Use char because int might match the return type of a GCC
37515 builtin and then its argument prototype would still apply. */
37520 /* The GNU C library defines this for functions which it implements
37521 to always fail with ENOSYS. Some functions are actually named
37522 something starting with __ and the normal name is an alias. */
37523 #if defined __stub_$ac_func || defined __stub___$ac_func
37530 return $ac_func ();
37535 rm -f conftest.$ac_objext conftest$ac_exeext
37536 if { (ac_try="$ac_link"
37537 case "(($ac_try" in
37538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37539 *) ac_try_echo
=$ac_try;;
37541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37542 (eval "$ac_link") 2>conftest.er1
37544 grep -v '^ *+' conftest.er1
>conftest.err
37546 cat conftest.err
>&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); } && {
37549 test -z "$ac_c_werror_flag" ||
37550 test ! -s conftest.err
37551 } && test -s conftest
$ac_exeext &&
37552 $as_test_x conftest
$ac_exeext; then
37553 eval "$as_ac_var=yes"
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.
$ac_ext >&5
37558 eval "$as_ac_var=no"
37561 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37562 conftest
$ac_exeext conftest.
$ac_ext
37564 ac_res
=`eval echo '${'$as_ac_var'}'`
37565 { echo "$as_me:$LINENO: result: $ac_res" >&5
37566 echo "${ECHO_T}$ac_res" >&6; }
37567 if test `eval echo '${'$as_ac_var'}'` = yes; then
37568 cat >>confdefs.h
<<_ACEOF
37569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37571 cat >>confdefs.h
<<\_ACEOF
37572 #define HAVE_NANOSLEEP 1
37577 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37578 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37579 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37580 echo $ECHO_N "(cached) $ECHO_C" >&6
37582 ac_check_lib_save_LIBS
=$LIBS
37583 LIBS
="-lposix4 $LIBS"
37584 cat >conftest.
$ac_ext <<_ACEOF
37587 cat confdefs.h
>>conftest.
$ac_ext
37588 cat >>conftest.
$ac_ext <<_ACEOF
37589 /* end confdefs.h. */
37591 /* Override any GCC internal prototype to avoid an error.
37592 Use char because int might match the return type of a GCC
37593 builtin and then its argument prototype would still apply. */
37601 return nanosleep ();
37606 rm -f conftest.
$ac_objext conftest
$ac_exeext
37607 if { (ac_try
="$ac_link"
37608 case "(($ac_try" in
37609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37610 *) ac_try_echo=$ac_try;;
37612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37613 (eval "$ac_link") 2>conftest.er1
37615 grep -v '^ *+' conftest.er1 >conftest.err
37617 cat conftest.err >&5
37618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37619 (exit $ac_status); } && {
37620 test -z "$ac_c_werror_flag" ||
37621 test ! -s conftest.err
37622 } && test -s conftest$ac_exeext &&
37623 $as_test_x conftest$ac_exeext; then
37624 ac_cv_lib_posix4_nanosleep=yes
37626 echo "$as_me: failed program was:" >&5
37627 sed 's/^/| /' conftest.$ac_ext >&5
37629 ac_cv_lib_posix4_nanosleep=no
37632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37633 conftest$ac_exeext conftest.$ac_ext
37634 LIBS=$ac_check_lib_save_LIBS
37636 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37637 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37638 if test $ac_cv_lib_posix4_nanosleep = yes; then
37640 cat >>confdefs.h <<\_ACEOF
37641 #define HAVE_NANOSLEEP 1
37644 POSIX4_LINK=" -lposix4"
37649 for wx_func in usleep
37651 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37652 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37653 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37654 echo $ECHO_N "(cached) $ECHO_C" >&6
37657 cat >conftest.$ac_ext <<_ACEOF
37661 cat confdefs.h >>conftest.$ac_ext
37662 cat >>conftest.$ac_ext <<_ACEOF
37663 /* end confdefs.h. */
37666 $ac_includes_default
37682 rm -f conftest.$ac_objext conftest$ac_exeext
37683 if { (ac_try="$ac_link"
37684 case "(($ac_try" in
37685 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37686 *) ac_try_echo
=$ac_try;;
37688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37689 (eval "$ac_link") 2>conftest.er1
37691 grep -v '^ *+' conftest.er1
>conftest.err
37693 cat conftest.err
>&5
37694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37695 (exit $ac_status); } && {
37696 test -z "$ac_c_werror_flag" ||
37697 test ! -s conftest.err
37698 } && test -s conftest
$ac_exeext &&
37699 $as_test_x conftest
$ac_exeext; then
37700 eval wx_cv_func_
$wx_func=yes
37702 echo "$as_me: failed program was:" >&5
37703 sed 's/^/| /' conftest.
$ac_ext >&5
37705 eval wx_cv_func_
$wx_func=no
37708 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37709 conftest
$ac_exeext conftest.
$ac_ext
37712 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37713 { echo "$as_me:$LINENO: result: $ac_res" >&5
37714 echo "${ECHO_T}$ac_res" >&6; }
37716 if eval test \
$wx_cv_func_$wx_func = yes
37718 cat >>confdefs.h
<<_ACEOF
37719 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37725 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37726 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37743 for wx_func
in uname
37745 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37746 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37747 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37748 echo $ECHO_N "(cached) $ECHO_C" >&6
37751 cat >conftest.
$ac_ext <<_ACEOF
37755 cat confdefs.h
>>conftest.
$ac_ext
37756 cat >>conftest.
$ac_ext <<_ACEOF
37757 /* end confdefs.h. */
37759 #include <sys/utsname.h>
37760 $ac_includes_default
37776 rm -f conftest.
$ac_objext conftest
$ac_exeext
37777 if { (ac_try
="$ac_link"
37778 case "(($ac_try" in
37779 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37780 *) ac_try_echo=$ac_try;;
37782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37783 (eval "$ac_link") 2>conftest.er1
37785 grep -v '^ *+' conftest.er1 >conftest.err
37787 cat conftest.err >&5
37788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37789 (exit $ac_status); } && {
37790 test -z "$ac_c_werror_flag" ||
37791 test ! -s conftest.err
37792 } && test -s conftest$ac_exeext &&
37793 $as_test_x conftest$ac_exeext; then
37794 eval wx_cv_func_$wx_func=yes
37796 echo "$as_me: failed program was:" >&5
37797 sed 's/^/| /' conftest.$ac_ext >&5
37799 eval wx_cv_func_$wx_func=no
37802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37803 conftest$ac_exeext conftest.$ac_ext
37806 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37807 { echo "$as_me:$LINENO: result: $ac_res" >&5
37808 echo "${ECHO_T}$ac_res" >&6; }
37810 if eval test \$wx_cv_func_$wx_func = yes
37812 cat >>confdefs.h <<_ACEOF
37813 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37823 if test "$wx_cv_func_uname" != yes; then
37825 for wx_func in gethostname
37827 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37828 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37829 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37830 echo $ECHO_N "(cached) $ECHO_C" >&6
37833 cat >conftest.$ac_ext <<_ACEOF
37837 cat confdefs.h >>conftest.$ac_ext
37838 cat >>conftest.$ac_ext <<_ACEOF
37839 /* end confdefs.h. */
37842 $ac_includes_default
37858 rm -f conftest.$ac_objext conftest$ac_exeext
37859 if { (ac_try="$ac_link"
37860 case "(($ac_try" in
37861 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37862 *) ac_try_echo
=$ac_try;;
37864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37865 (eval "$ac_link") 2>conftest.er1
37867 grep -v '^ *+' conftest.er1
>conftest.err
37869 cat conftest.err
>&5
37870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871 (exit $ac_status); } && {
37872 test -z "$ac_c_werror_flag" ||
37873 test ! -s conftest.err
37874 } && test -s conftest
$ac_exeext &&
37875 $as_test_x conftest
$ac_exeext; then
37876 eval wx_cv_func_
$wx_func=yes
37878 echo "$as_me: failed program was:" >&5
37879 sed 's/^/| /' conftest.
$ac_ext >&5
37881 eval wx_cv_func_
$wx_func=no
37884 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37885 conftest
$ac_exeext conftest.
$ac_ext
37888 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37889 { echo "$as_me:$LINENO: result: $ac_res" >&5
37890 echo "${ECHO_T}$ac_res" >&6; }
37892 if eval test \
$wx_cv_func_$wx_func = yes
37894 cat >>confdefs.h
<<_ACEOF
37895 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37908 for wx_func
in strtok_r
37910 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37911 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37912 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37913 echo $ECHO_N "(cached) $ECHO_C" >&6
37916 cat >conftest.
$ac_ext <<_ACEOF
37920 cat confdefs.h
>>conftest.
$ac_ext
37921 cat >>conftest.
$ac_ext <<_ACEOF
37922 /* end confdefs.h. */
37925 $ac_includes_default
37941 rm -f conftest.
$ac_objext conftest
$ac_exeext
37942 if { (ac_try
="$ac_link"
37943 case "(($ac_try" in
37944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37945 *) ac_try_echo=$ac_try;;
37947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37948 (eval "$ac_link") 2>conftest.er1
37950 grep -v '^ *+' conftest.er1 >conftest.err
37952 cat conftest.err >&5
37953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37954 (exit $ac_status); } && {
37955 test -z "$ac_c_werror_flag" ||
37956 test ! -s conftest.err
37957 } && test -s conftest$ac_exeext &&
37958 $as_test_x conftest$ac_exeext; then
37959 eval wx_cv_func_$wx_func=yes
37961 echo "$as_me: failed program was:" >&5
37962 sed 's/^/| /' conftest.$ac_ext >&5
37964 eval wx_cv_func_$wx_func=no
37967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37968 conftest$ac_exeext conftest.$ac_ext
37971 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37972 { echo "$as_me:$LINENO: result: $ac_res" >&5
37973 echo "${ECHO_T}$ac_res" >&6; }
37975 if eval test \$wx_cv_func_$wx_func = yes
37977 cat >>confdefs.h <<_ACEOF
37978 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37991 for ac_func in inet_addr
37993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37994 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37996 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37997 echo $ECHO_N "(cached) $ECHO_C" >&6
37999 cat >conftest.$ac_ext <<_ACEOF
38002 cat confdefs.h >>conftest.$ac_ext
38003 cat >>conftest.$ac_ext <<_ACEOF
38004 /* end confdefs.h. */
38005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38007 #define $ac_func innocuous_$ac_func
38009 /* System header to define __stub macros and hopefully few prototypes,
38010 which can conflict with char $ac_func (); below.
38011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38012 <limits.h> exists even on freestanding compilers. */
38015 # include <limits.h>
38017 # include <assert.h>
38022 /* Override any GCC internal prototype to avoid an error.
38023 Use char because int might match the return type of a GCC
38024 builtin and then its argument prototype would still apply. */
38029 /* The GNU C library defines this for functions which it implements
38030 to always fail with ENOSYS. Some functions are actually named
38031 something starting with __ and the normal name is an alias. */
38032 #if defined __stub_$ac_func || defined __stub___$ac_func
38039 return $ac_func ();
38044 rm -f conftest.$ac_objext conftest$ac_exeext
38045 if { (ac_try="$ac_link"
38046 case "(($ac_try" in
38047 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38048 *) ac_try_echo
=$ac_try;;
38050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38051 (eval "$ac_link") 2>conftest.er1
38053 grep -v '^ *+' conftest.er1
>conftest.err
38055 cat conftest.err
>&5
38056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38057 (exit $ac_status); } && {
38058 test -z "$ac_c_werror_flag" ||
38059 test ! -s conftest.err
38060 } && test -s conftest
$ac_exeext &&
38061 $as_test_x conftest
$ac_exeext; then
38062 eval "$as_ac_var=yes"
38064 echo "$as_me: failed program was:" >&5
38065 sed 's/^/| /' conftest.
$ac_ext >&5
38067 eval "$as_ac_var=no"
38070 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38071 conftest
$ac_exeext conftest.
$ac_ext
38073 ac_res
=`eval echo '${'$as_ac_var'}'`
38074 { echo "$as_me:$LINENO: result: $ac_res" >&5
38075 echo "${ECHO_T}$ac_res" >&6; }
38076 if test `eval echo '${'$as_ac_var'}'` = yes; then
38077 cat >>confdefs.h
<<_ACEOF
38078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38080 cat >>confdefs.h
<<\_ACEOF
38081 #define HAVE_INET_ADDR 1
38086 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38087 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38088 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38089 echo $ECHO_N "(cached) $ECHO_C" >&6
38091 ac_check_lib_save_LIBS
=$LIBS
38093 cat >conftest.
$ac_ext <<_ACEOF
38096 cat confdefs.h
>>conftest.
$ac_ext
38097 cat >>conftest.
$ac_ext <<_ACEOF
38098 /* end confdefs.h. */
38100 /* Override any GCC internal prototype to avoid an error.
38101 Use char because int might match the return type of a GCC
38102 builtin and then its argument prototype would still apply. */
38110 return inet_addr ();
38115 rm -f conftest.
$ac_objext conftest
$ac_exeext
38116 if { (ac_try
="$ac_link"
38117 case "(($ac_try" in
38118 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38119 *) ac_try_echo=$ac_try;;
38121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38122 (eval "$ac_link") 2>conftest.er1
38124 grep -v '^ *+' conftest.er1 >conftest.err
38126 cat conftest.err >&5
38127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38128 (exit $ac_status); } && {
38129 test -z "$ac_c_werror_flag" ||
38130 test ! -s conftest.err
38131 } && test -s conftest$ac_exeext &&
38132 $as_test_x conftest$ac_exeext; then
38133 ac_cv_lib_nsl_inet_addr=yes
38135 echo "$as_me: failed program was:" >&5
38136 sed 's/^/| /' conftest.$ac_ext >&5
38138 ac_cv_lib_nsl_inet_addr=no
38141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38142 conftest$ac_exeext conftest.$ac_ext
38143 LIBS=$ac_check_lib_save_LIBS
38145 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38146 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38147 if test $ac_cv_lib_nsl_inet_addr = yes; then
38151 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38152 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38153 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38154 echo $ECHO_N "(cached) $ECHO_C" >&6
38156 ac_check_lib_save_LIBS=$LIBS
38157 LIBS="-lresolv $LIBS"
38158 cat >conftest.$ac_ext <<_ACEOF
38161 cat confdefs.h >>conftest.$ac_ext
38162 cat >>conftest.$ac_ext <<_ACEOF
38163 /* end confdefs.h. */
38165 /* Override any GCC internal prototype to avoid an error.
38166 Use char because int might match the return type of a GCC
38167 builtin and then its argument prototype would still apply. */
38175 return inet_addr ();
38180 rm -f conftest.$ac_objext conftest$ac_exeext
38181 if { (ac_try="$ac_link"
38182 case "(($ac_try" in
38183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38184 *) ac_try_echo
=$ac_try;;
38186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38187 (eval "$ac_link") 2>conftest.er1
38189 grep -v '^ *+' conftest.er1
>conftest.err
38191 cat conftest.err
>&5
38192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38193 (exit $ac_status); } && {
38194 test -z "$ac_c_werror_flag" ||
38195 test ! -s conftest.err
38196 } && test -s conftest
$ac_exeext &&
38197 $as_test_x conftest
$ac_exeext; then
38198 ac_cv_lib_resolv_inet_addr
=yes
38200 echo "$as_me: failed program was:" >&5
38201 sed 's/^/| /' conftest.
$ac_ext >&5
38203 ac_cv_lib_resolv_inet_addr
=no
38206 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38207 conftest
$ac_exeext conftest.
$ac_ext
38208 LIBS
=$ac_check_lib_save_LIBS
38210 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38211 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38212 if test $ac_cv_lib_resolv_inet_addr = yes; then
38216 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38217 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38218 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38219 echo $ECHO_N "(cached) $ECHO_C" >&6
38221 ac_check_lib_save_LIBS
=$LIBS
38222 LIBS
="-lsocket $LIBS"
38223 cat >conftest.
$ac_ext <<_ACEOF
38226 cat confdefs.h
>>conftest.
$ac_ext
38227 cat >>conftest.
$ac_ext <<_ACEOF
38228 /* end confdefs.h. */
38230 /* Override any GCC internal prototype to avoid an error.
38231 Use char because int might match the return type of a GCC
38232 builtin and then its argument prototype would still apply. */
38240 return inet_addr ();
38245 rm -f conftest.
$ac_objext conftest
$ac_exeext
38246 if { (ac_try
="$ac_link"
38247 case "(($ac_try" in
38248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38249 *) ac_try_echo=$ac_try;;
38251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38252 (eval "$ac_link") 2>conftest.er1
38254 grep -v '^ *+' conftest.er1 >conftest.err
38256 cat conftest.err >&5
38257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38258 (exit $ac_status); } && {
38259 test -z "$ac_c_werror_flag" ||
38260 test ! -s conftest.err
38261 } && test -s conftest$ac_exeext &&
38262 $as_test_x conftest$ac_exeext; then
38263 ac_cv_lib_socket_inet_addr=yes
38265 echo "$as_me: failed program was:" >&5
38266 sed 's/^/| /' conftest.$ac_ext >&5
38268 ac_cv_lib_socket_inet_addr=no
38271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38272 conftest$ac_exeext conftest.$ac_ext
38273 LIBS=$ac_check_lib_save_LIBS
38275 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38276 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38277 if test $ac_cv_lib_socket_inet_addr = yes; then
38297 for ac_func in inet_aton
38299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38300 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38302 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38303 echo $ECHO_N "(cached) $ECHO_C" >&6
38305 cat >conftest.$ac_ext <<_ACEOF
38308 cat confdefs.h >>conftest.$ac_ext
38309 cat >>conftest.$ac_ext <<_ACEOF
38310 /* end confdefs.h. */
38311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38313 #define $ac_func innocuous_$ac_func
38315 /* System header to define __stub macros and hopefully few prototypes,
38316 which can conflict with char $ac_func (); below.
38317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38318 <limits.h> exists even on freestanding compilers. */
38321 # include <limits.h>
38323 # include <assert.h>
38328 /* Override any GCC internal prototype to avoid an error.
38329 Use char because int might match the return type of a GCC
38330 builtin and then its argument prototype would still apply. */
38335 /* The GNU C library defines this for functions which it implements
38336 to always fail with ENOSYS. Some functions are actually named
38337 something starting with __ and the normal name is an alias. */
38338 #if defined __stub_$ac_func || defined __stub___$ac_func
38345 return $ac_func ();
38350 rm -f conftest.$ac_objext conftest$ac_exeext
38351 if { (ac_try="$ac_link"
38352 case "(($ac_try" in
38353 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38354 *) ac_try_echo
=$ac_try;;
38356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38357 (eval "$ac_link") 2>conftest.er1
38359 grep -v '^ *+' conftest.er1
>conftest.err
38361 cat conftest.err
>&5
38362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363 (exit $ac_status); } && {
38364 test -z "$ac_c_werror_flag" ||
38365 test ! -s conftest.err
38366 } && test -s conftest
$ac_exeext &&
38367 $as_test_x conftest
$ac_exeext; then
38368 eval "$as_ac_var=yes"
38370 echo "$as_me: failed program was:" >&5
38371 sed 's/^/| /' conftest.
$ac_ext >&5
38373 eval "$as_ac_var=no"
38376 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38377 conftest
$ac_exeext conftest.
$ac_ext
38379 ac_res
=`eval echo '${'$as_ac_var'}'`
38380 { echo "$as_me:$LINENO: result: $ac_res" >&5
38381 echo "${ECHO_T}$ac_res" >&6; }
38382 if test `eval echo '${'$as_ac_var'}'` = yes; then
38383 cat >>confdefs.h
<<_ACEOF
38384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38386 cat >>confdefs.h
<<\_ACEOF
38387 #define HAVE_INET_ATON 1
38392 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38393 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38394 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38395 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38396 echo $ECHO_N "(cached) $ECHO_C" >&6
38398 ac_check_lib_save_LIBS
=$LIBS
38399 LIBS
="-l$INET_LINK $LIBS"
38400 cat >conftest.
$ac_ext <<_ACEOF
38403 cat confdefs.h
>>conftest.
$ac_ext
38404 cat >>conftest.
$ac_ext <<_ACEOF
38405 /* end confdefs.h. */
38407 /* Override any GCC internal prototype to avoid an error.
38408 Use char because int might match the return type of a GCC
38409 builtin and then its argument prototype would still apply. */
38417 return inet_aton ();
38422 rm -f conftest.
$ac_objext conftest
$ac_exeext
38423 if { (ac_try
="$ac_link"
38424 case "(($ac_try" in
38425 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38426 *) ac_try_echo=$ac_try;;
38428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38429 (eval "$ac_link") 2>conftest.er1
38431 grep -v '^ *+' conftest.er1 >conftest.err
38433 cat conftest.err >&5
38434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38435 (exit $ac_status); } && {
38436 test -z "$ac_c_werror_flag" ||
38437 test ! -s conftest.err
38438 } && test -s conftest$ac_exeext &&
38439 $as_test_x conftest$ac_exeext; then
38440 eval "$as_ac_Lib=yes"
38442 echo "$as_me: failed program was:" >&5
38443 sed 's/^/| /' conftest.$ac_ext >&5
38445 eval "$as_ac_Lib=no"
38448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38449 conftest$ac_exeext conftest.$ac_ext
38450 LIBS=$ac_check_lib_save_LIBS
38452 ac_res=`eval echo '${'$as_ac_Lib'}'`
38453 { echo "$as_me:$LINENO: result: $ac_res" >&5
38454 echo "${ECHO_T}$ac_res" >&6; }
38455 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38456 cat >>confdefs.h <<\_ACEOF
38457 #define HAVE_INET_ATON 1
38467 if test "x$INET_LINK" != "x"; then
38468 cat >>confdefs.h <<\_ACEOF
38469 #define HAVE_INET_ADDR 1
38472 INET_LINK=" -l$INET_LINK"
38476 for wx_func in fdopen
38478 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38479 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38480 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38481 echo $ECHO_N "(cached) $ECHO_C" >&6
38484 cat >conftest.$ac_ext <<_ACEOF
38488 cat confdefs.h >>conftest.$ac_ext
38489 cat >>conftest.$ac_ext <<_ACEOF
38490 /* end confdefs.h. */
38493 $ac_includes_default
38509 rm -f conftest.$ac_objext conftest$ac_exeext
38510 if { (ac_try="$ac_link"
38511 case "(($ac_try" in
38512 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38513 *) ac_try_echo
=$ac_try;;
38515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38516 (eval "$ac_link") 2>conftest.er1
38518 grep -v '^ *+' conftest.er1
>conftest.err
38520 cat conftest.err
>&5
38521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38522 (exit $ac_status); } && {
38523 test -z "$ac_c_werror_flag" ||
38524 test ! -s conftest.err
38525 } && test -s conftest
$ac_exeext &&
38526 $as_test_x conftest
$ac_exeext; then
38527 eval wx_cv_func_
$wx_func=yes
38529 echo "$as_me: failed program was:" >&5
38530 sed 's/^/| /' conftest.
$ac_ext >&5
38532 eval wx_cv_func_
$wx_func=no
38535 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38536 conftest
$ac_exeext conftest.
$ac_ext
38539 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38540 { echo "$as_me:$LINENO: result: $ac_res" >&5
38541 echo "${ECHO_T}$ac_res" >&6; }
38543 if eval test \
$wx_cv_func_$wx_func = yes
38545 cat >>confdefs.h
<<_ACEOF
38546 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38557 if test "$wxUSE_TARSTREAM" = "yes"; then
38559 for wx_func
in sysconf
38561 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38562 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38563 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38564 echo $ECHO_N "(cached) $ECHO_C" >&6
38567 cat >conftest.
$ac_ext <<_ACEOF
38571 cat confdefs.h
>>conftest.
$ac_ext
38572 cat >>conftest.
$ac_ext <<_ACEOF
38573 /* end confdefs.h. */
38576 $ac_includes_default
38592 rm -f conftest.
$ac_objext conftest
$ac_exeext
38593 if { (ac_try
="$ac_link"
38594 case "(($ac_try" in
38595 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38596 *) ac_try_echo=$ac_try;;
38598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38599 (eval "$ac_link") 2>conftest.er1
38601 grep -v '^ *+' conftest.er1 >conftest.err
38603 cat conftest.err >&5
38604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38605 (exit $ac_status); } && {
38606 test -z "$ac_c_werror_flag" ||
38607 test ! -s conftest.err
38608 } && test -s conftest$ac_exeext &&
38609 $as_test_x conftest$ac_exeext; then
38610 eval wx_cv_func_$wx_func=yes
38612 echo "$as_me: failed program was:" >&5
38613 sed 's/^/| /' conftest.$ac_ext >&5
38615 eval wx_cv_func_$wx_func=no
38618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38619 conftest$ac_exeext conftest.$ac_ext
38622 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38623 { echo "$as_me:$LINENO: result: $ac_res" >&5
38624 echo "${ECHO_T}$ac_res" >&6; }
38626 if eval test \$wx_cv_func_$wx_func = yes
38628 cat >>confdefs.h <<_ACEOF
38629 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38641 for wx_func in getpwuid_r
38643 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38644 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38645 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38646 echo $ECHO_N "(cached) $ECHO_C" >&6
38649 cat >conftest.$ac_ext <<_ACEOF
38653 cat confdefs.h >>conftest.$ac_ext
38654 cat >>conftest.$ac_ext <<_ACEOF
38655 /* end confdefs.h. */
38661 $ac_includes_default
38671 struct passwd pw, *ppw;
38673 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38681 rm -f conftest.$ac_objext conftest$ac_exeext
38682 if { (ac_try="$ac_link"
38683 case "(($ac_try" in
38684 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38685 *) ac_try_echo
=$ac_try;;
38687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38688 (eval "$ac_link") 2>conftest.er1
38690 grep -v '^ *+' conftest.er1
>conftest.err
38692 cat conftest.err
>&5
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); } && {
38695 test -z "$ac_c_werror_flag" ||
38696 test ! -s conftest.err
38697 } && test -s conftest
$ac_exeext &&
38698 $as_test_x conftest
$ac_exeext; then
38699 eval wx_cv_func_
$wx_func=yes
38701 echo "$as_me: failed program was:" >&5
38702 sed 's/^/| /' conftest.
$ac_ext >&5
38704 eval wx_cv_func_
$wx_func=no
38707 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38708 conftest
$ac_exeext conftest.
$ac_ext
38711 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38712 { echo "$as_me:$LINENO: result: $ac_res" >&5
38713 echo "${ECHO_T}$ac_res" >&6; }
38715 if eval test \
$wx_cv_func_$wx_func = yes
38717 cat >>confdefs.h
<<_ACEOF
38718 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38730 for wx_func
in getgrgid_r
38732 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38733 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38734 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38735 echo $ECHO_N "(cached) $ECHO_C" >&6
38738 cat >conftest.
$ac_ext <<_ACEOF
38742 cat confdefs.h
>>conftest.
$ac_ext
38743 cat >>conftest.
$ac_ext <<_ACEOF
38744 /* end confdefs.h. */
38750 $ac_includes_default
38760 struct group grp, *pgrp;
38762 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38770 rm -f conftest.
$ac_objext conftest
$ac_exeext
38771 if { (ac_try
="$ac_link"
38772 case "(($ac_try" in
38773 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38774 *) ac_try_echo=$ac_try;;
38776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38777 (eval "$ac_link") 2>conftest.er1
38779 grep -v '^ *+' conftest.er1 >conftest.err
38781 cat conftest.err >&5
38782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38783 (exit $ac_status); } && {
38784 test -z "$ac_c_werror_flag" ||
38785 test ! -s conftest.err
38786 } && test -s conftest$ac_exeext &&
38787 $as_test_x conftest$ac_exeext; then
38788 eval wx_cv_func_$wx_func=yes
38790 echo "$as_me: failed program was:" >&5
38791 sed 's/^/| /' conftest.$ac_ext >&5
38793 eval wx_cv_func_$wx_func=no
38796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38797 conftest$ac_exeext conftest.$ac_ext
38800 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38801 { echo "$as_me:$LINENO: result: $ac_res" >&5
38802 echo "${ECHO_T}$ac_res" >&6; }
38804 if eval test \$wx_cv_func_$wx_func = yes
38806 cat >>confdefs.h <<_ACEOF
38807 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38823 cat >confcache <<\_ACEOF
38824 # This file is a shell script that caches the results of configure
38825 # tests run on this system so they can be shared between configure
38826 # scripts and configure runs, see configure's option --config-cache.
38827 # It is not useful on other systems. If it contains results you don't
38828 # want to keep, you may remove or edit it.
38830 # config.status only pays attention to the cache file if you give it
38831 # the --recheck option to rerun configure.
38833 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38834 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38835 # following values.
38839 # The following way of writing the cache mishandles newlines in values,
38840 # but we know of no workaround that is simple, portable, and efficient.
38841 # So, we kill variables containing newlines.
38842 # Ultrix sh set writes to stderr and can't be redirected directly,
38843 # and sets the high bit in the cache file unless we assign to the vars.
38845 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38846 eval ac_val
=\$
$ac_var
38850 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38851 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38854 _
| IFS
| as_nl
) ;; #(
38855 *) $as_unset $ac_var ;;
38861 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38862 *${as_nl}ac_space
=\
*)
38863 # `set' does not quote correctly, so add quotes (double-quote
38864 # substitution turns \\\\ into \\, and sed turns \\ into \).
38867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38870 # `set' quotes correctly as required by POSIX, so do not add quotes.
38871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38880 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38882 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38884 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38885 if test -w "$cache_file"; then
38886 test "x$cache_file" != "x/dev/null" &&
38887 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38888 echo "$as_me: updating cache $cache_file" >&6;}
38889 cat confcache
>$cache_file
38891 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38892 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38898 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38904 if test "$wxUSE_THREADS" = "yes" ; then
38905 if test "$USE_BEOS" = 1; then
38906 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38907 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38912 if test "$wxUSE_THREADS" = "yes" ; then
38915 THREAD_OPTS
="-pthread"
38916 if test "x$SUNCXX" = xyes
; then
38917 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38921 *-*-solaris2* | *-*-sunos4* )
38922 if test "x$GCC" = "xyes"; then
38923 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38927 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38929 *-*-darwin* | *-*-cygwin* )
38933 THREAD_OPTS
="pthreads"
38936 if test "x$GCC" = "xyes"; then
38937 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38945 if test "x$GCC" = "xyes"; then
38951 if test "x$GCC" != "xyes"; then
38952 THREAD_OPTS
="-Ethread"
38957 THREAD_OPTS
="$THREAD_OPTS pthread none"
38960 for flag
in $THREAD_OPTS; do
38963 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38964 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38968 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38969 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38970 THREADS_CFLAGS
="$flag"
38974 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38975 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38976 THREADS_LINK
="-l$flag"
38981 save_CFLAGS
="$CFLAGS"
38982 LIBS
="$THREADS_LINK $LIBS"
38983 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38985 cat >conftest.
$ac_ext <<_ACEOF
38988 cat confdefs.h
>>conftest.
$ac_ext
38989 cat >>conftest.
$ac_ext <<_ACEOF
38990 /* end confdefs.h. */
38991 #include <pthread.h>
38995 pthread_create(0,0,0,0);
39000 rm -f conftest.
$ac_objext conftest
$ac_exeext
39001 if { (ac_try
="$ac_link"
39002 case "(($ac_try" in
39003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39004 *) ac_try_echo=$ac_try;;
39006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39007 (eval "$ac_link") 2>conftest.er1
39009 grep -v '^ *+' conftest.er1 >conftest.err
39011 cat conftest.err >&5
39012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39013 (exit $ac_status); } && {
39014 test -z "$ac_c_werror_flag" ||
39015 test ! -s conftest.err
39016 } && test -s conftest$ac_exeext &&
39017 $as_test_x conftest$ac_exeext; then
39020 echo "$as_me: failed program was:" >&5
39021 sed 's/^/| /' conftest.$ac_ext >&5
39026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39027 conftest$ac_exeext conftest.$ac_ext
39030 CFLAGS="$save_CFLAGS"
39032 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39033 echo "${ECHO_T}$THREADS_OK" >&6; }
39034 if test "x$THREADS_OK" = "xyes"; then
39042 if test "x$THREADS_OK" != "xyes"; then
39044 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39045 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39047 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39048 LIBS="$THREADS_LINK $LIBS"
39050 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39051 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39055 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39056 flag="-D_THREAD_SAFE"
39059 flag="-D_THREAD_SAFE"
39062 flag="-D_REENTRANT"
39063 if test "x$GCC" != "xyes"; then
39064 flag="$flag -D_RWSTD_MULTI_THREAD"
39067 *solaris* | alpha*-osf*)
39068 flag="-D_REENTRANT"
39071 { echo "$as_me:$LINENO: result: ${flag}" >&5
39072 echo "${ECHO_T}${flag}" >&6; }
39073 if test "x$flag" != xno; then
39074 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39077 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39081 if test "$wxUSE_THREADS" = "yes" ; then
39083 for ac_func in thr_setconcurrency
39085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39086 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39088 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39089 echo $ECHO_N "(cached) $ECHO_C" >&6
39091 cat >conftest.$ac_ext <<_ACEOF
39094 cat confdefs.h >>conftest.$ac_ext
39095 cat >>conftest.$ac_ext <<_ACEOF
39096 /* end confdefs.h. */
39097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39099 #define $ac_func innocuous_$ac_func
39101 /* System header to define __stub macros and hopefully few prototypes,
39102 which can conflict with char $ac_func (); below.
39103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39104 <limits.h> exists even on freestanding compilers. */
39107 # include <limits.h>
39109 # include <assert.h>
39114 /* Override any GCC internal prototype to avoid an error.
39115 Use char because int might match the return type of a GCC
39116 builtin and then its argument prototype would still apply. */
39121 /* The GNU C library defines this for functions which it implements
39122 to always fail with ENOSYS. Some functions are actually named
39123 something starting with __ and the normal name is an alias. */
39124 #if defined __stub_$ac_func || defined __stub___$ac_func
39131 return $ac_func ();
39136 rm -f conftest.$ac_objext conftest$ac_exeext
39137 if { (ac_try="$ac_link"
39138 case "(($ac_try" in
39139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39140 *) ac_try_echo
=$ac_try;;
39142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39143 (eval "$ac_link") 2>conftest.er1
39145 grep -v '^ *+' conftest.er1
>conftest.err
39147 cat conftest.err
>&5
39148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39149 (exit $ac_status); } && {
39150 test -z "$ac_c_werror_flag" ||
39151 test ! -s conftest.err
39152 } && test -s conftest
$ac_exeext &&
39153 $as_test_x conftest
$ac_exeext; then
39154 eval "$as_ac_var=yes"
39156 echo "$as_me: failed program was:" >&5
39157 sed 's/^/| /' conftest.
$ac_ext >&5
39159 eval "$as_ac_var=no"
39162 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39163 conftest
$ac_exeext conftest.
$ac_ext
39165 ac_res
=`eval echo '${'$as_ac_var'}'`
39166 { echo "$as_me:$LINENO: result: $ac_res" >&5
39167 echo "${ECHO_T}$ac_res" >&6; }
39168 if test `eval echo '${'$as_ac_var'}'` = yes; then
39169 cat >>confdefs.h
<<_ACEOF
39170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39177 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39178 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39179 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39180 echo $ECHO_N "(cached) $ECHO_C" >&6
39184 ac_cpp
='$CXXCPP $CPPFLAGS'
39185 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39186 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39187 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39189 cat >conftest.
$ac_ext <<_ACEOF
39192 cat confdefs.h
>>conftest.
$ac_ext
39193 cat >>conftest.
$ac_ext <<_ACEOF
39194 /* end confdefs.h. */
39195 #include <pthread.h>
39196 void ThreadCleanupFunc(void *p);
39203 pthread_cleanup_push(ThreadCleanupFunc, p);
39204 pthread_cleanup_pop(0);
39210 rm -f conftest.
$ac_objext
39211 if { (ac_try
="$ac_compile"
39212 case "(($ac_try" in
39213 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39214 *) ac_try_echo=$ac_try;;
39216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39217 (eval "$ac_compile") 2>conftest.er1
39219 grep -v '^ *+' conftest.er1 >conftest.err
39221 cat conftest.err >&5
39222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39223 (exit $ac_status); } && {
39224 test -z "$ac_cxx_werror_flag" ||
39225 test ! -s conftest.err
39226 } && test -s conftest.$ac_objext; then
39228 wx_cv_func_pthread_cleanup=yes
39231 echo "$as_me: failed program was:" >&5
39232 sed 's/^/| /' conftest.$ac_ext >&5
39235 wx_cv_func_pthread_cleanup=no
39240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39242 ac_cpp='$CPP $CPPFLAGS'
39243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39249 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39250 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39251 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39252 cat >>confdefs.h <<\_ACEOF
39253 #define wxHAVE_PTHREAD_CLEANUP 1
39259 for ac_header in sched.h
39261 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39262 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39265 echo $ECHO_N "(cached) $ECHO_C" >&6
39267 cat >conftest.$ac_ext <<_ACEOF
39270 cat confdefs.h >>conftest.$ac_ext
39271 cat >>conftest.$ac_ext <<_ACEOF
39272 /* end confdefs.h. */
39273 $ac_includes_default
39275 #include <$ac_header>
39277 rm -f conftest.$ac_objext
39278 if { (ac_try="$ac_compile"
39279 case "(($ac_try" in
39280 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39281 *) ac_try_echo
=$ac_try;;
39283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39284 (eval "$ac_compile") 2>conftest.er1
39286 grep -v '^ *+' conftest.er1
>conftest.err
39288 cat conftest.err
>&5
39289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39290 (exit $ac_status); } && {
39291 test -z "$ac_c_werror_flag" ||
39292 test ! -s conftest.err
39293 } && test -s conftest.
$ac_objext; then
39294 eval "$as_ac_Header=yes"
39296 echo "$as_me: failed program was:" >&5
39297 sed 's/^/| /' conftest.
$ac_ext >&5
39299 eval "$as_ac_Header=no"
39302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39304 ac_res
=`eval echo '${'$as_ac_Header'}'`
39305 { echo "$as_me:$LINENO: result: $ac_res" >&5
39306 echo "${ECHO_T}$ac_res" >&6; }
39307 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39308 cat >>confdefs.h
<<_ACEOF
39309 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39316 if test "$ac_cv_header_sched_h" = "yes"; then
39317 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39318 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39319 if test "${ac_cv_func_sched_yield+set}" = set; then
39320 echo $ECHO_N "(cached) $ECHO_C" >&6
39322 cat >conftest.
$ac_ext <<_ACEOF
39325 cat confdefs.h
>>conftest.
$ac_ext
39326 cat >>conftest.
$ac_ext <<_ACEOF
39327 /* end confdefs.h. */
39328 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39330 #define sched_yield innocuous_sched_yield
39332 /* System header to define __stub macros and hopefully few prototypes,
39333 which can conflict with char sched_yield (); below.
39334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39335 <limits.h> exists even on freestanding compilers. */
39338 # include <limits.h>
39340 # include <assert.h>
39345 /* Override any GCC internal prototype to avoid an error.
39346 Use char because int might match the return type of a GCC
39347 builtin and then its argument prototype would still apply. */
39351 char sched_yield ();
39352 /* The GNU C library defines this for functions which it implements
39353 to always fail with ENOSYS. Some functions are actually named
39354 something starting with __ and the normal name is an alias. */
39355 #if defined __stub_sched_yield || defined __stub___sched_yield
39362 return sched_yield ();
39367 rm -f conftest.
$ac_objext conftest
$ac_exeext
39368 if { (ac_try
="$ac_link"
39369 case "(($ac_try" in
39370 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39371 *) ac_try_echo=$ac_try;;
39373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39374 (eval "$ac_link") 2>conftest.er1
39376 grep -v '^ *+' conftest.er1 >conftest.err
39378 cat conftest.err >&5
39379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39380 (exit $ac_status); } && {
39381 test -z "$ac_c_werror_flag" ||
39382 test ! -s conftest.err
39383 } && test -s conftest$ac_exeext &&
39384 $as_test_x conftest$ac_exeext; then
39385 ac_cv_func_sched_yield=yes
39387 echo "$as_me: failed program was:" >&5
39388 sed 's/^/| /' conftest.$ac_ext >&5
39390 ac_cv_func_sched_yield=no
39393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39394 conftest$ac_exeext conftest.$ac_ext
39396 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39397 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39398 if test $ac_cv_func_sched_yield = yes; then
39399 cat >>confdefs.h <<\_ACEOF
39400 #define HAVE_SCHED_YIELD 1
39405 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39406 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39407 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39408 echo $ECHO_N "(cached) $ECHO_C" >&6
39410 ac_check_lib_save_LIBS=$LIBS
39411 LIBS="-lposix4 $LIBS"
39412 cat >conftest.$ac_ext <<_ACEOF
39415 cat confdefs.h >>conftest.$ac_ext
39416 cat >>conftest.$ac_ext <<_ACEOF
39417 /* end confdefs.h. */
39419 /* Override any GCC internal prototype to avoid an error.
39420 Use char because int might match the return type of a GCC
39421 builtin and then its argument prototype would still apply. */
39425 char sched_yield ();
39429 return sched_yield ();
39434 rm -f conftest.$ac_objext conftest$ac_exeext
39435 if { (ac_try="$ac_link"
39436 case "(($ac_try" in
39437 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39438 *) ac_try_echo
=$ac_try;;
39440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39441 (eval "$ac_link") 2>conftest.er1
39443 grep -v '^ *+' conftest.er1
>conftest.err
39445 cat conftest.err
>&5
39446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39447 (exit $ac_status); } && {
39448 test -z "$ac_c_werror_flag" ||
39449 test ! -s conftest.err
39450 } && test -s conftest
$ac_exeext &&
39451 $as_test_x conftest
$ac_exeext; then
39452 ac_cv_lib_posix4_sched_yield
=yes
39454 echo "$as_me: failed program was:" >&5
39455 sed 's/^/| /' conftest.
$ac_ext >&5
39457 ac_cv_lib_posix4_sched_yield
=no
39460 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39461 conftest
$ac_exeext conftest.
$ac_ext
39462 LIBS
=$ac_check_lib_save_LIBS
39464 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39465 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39466 if test $ac_cv_lib_posix4_sched_yield = yes; then
39467 cat >>confdefs.h
<<\_ACEOF
39468 #define HAVE_SCHED_YIELD 1
39470 POSIX4_LINK
=" -lposix4"
39472 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39473 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39484 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39485 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39486 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39487 echo $ECHO_N "(cached) $ECHO_C" >&6
39489 cat >conftest.
$ac_ext <<_ACEOF
39492 cat confdefs.h
>>conftest.
$ac_ext
39493 cat >>conftest.
$ac_ext <<_ACEOF
39494 /* end confdefs.h. */
39495 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39497 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39499 /* System header to define __stub macros and hopefully few prototypes,
39500 which can conflict with char pthread_attr_getschedpolicy (); below.
39501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39502 <limits.h> exists even on freestanding compilers. */
39505 # include <limits.h>
39507 # include <assert.h>
39510 #undef pthread_attr_getschedpolicy
39512 /* Override any GCC internal prototype to avoid an error.
39513 Use char because int might match the return type of a GCC
39514 builtin and then its argument prototype would still apply. */
39518 char pthread_attr_getschedpolicy ();
39519 /* The GNU C library defines this for functions which it implements
39520 to always fail with ENOSYS. Some functions are actually named
39521 something starting with __ and the normal name is an alias. */
39522 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39529 return pthread_attr_getschedpolicy ();
39534 rm -f conftest.
$ac_objext conftest
$ac_exeext
39535 if { (ac_try
="$ac_link"
39536 case "(($ac_try" in
39537 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39538 *) ac_try_echo=$ac_try;;
39540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39541 (eval "$ac_link") 2>conftest.er1
39543 grep -v '^ *+' conftest.er1 >conftest.err
39545 cat conftest.err >&5
39546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 (exit $ac_status); } && {
39548 test -z "$ac_c_werror_flag" ||
39549 test ! -s conftest.err
39550 } && test -s conftest$ac_exeext &&
39551 $as_test_x conftest$ac_exeext; then
39552 ac_cv_func_pthread_attr_getschedpolicy=yes
39554 echo "$as_me: failed program was:" >&5
39555 sed 's/^/| /' conftest.$ac_ext >&5
39557 ac_cv_func_pthread_attr_getschedpolicy=no
39560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39561 conftest$ac_exeext conftest.$ac_ext
39563 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39564 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39565 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39566 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39567 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39568 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39569 echo $ECHO_N "(cached) $ECHO_C" >&6
39571 cat >conftest.$ac_ext <<_ACEOF
39574 cat confdefs.h >>conftest.$ac_ext
39575 cat >>conftest.$ac_ext <<_ACEOF
39576 /* end confdefs.h. */
39577 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39579 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39581 /* System header to define __stub macros and hopefully few prototypes,
39582 which can conflict with char pthread_attr_setschedparam (); below.
39583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39584 <limits.h> exists even on freestanding compilers. */
39587 # include <limits.h>
39589 # include <assert.h>
39592 #undef pthread_attr_setschedparam
39594 /* Override any GCC internal prototype to avoid an error.
39595 Use char because int might match the return type of a GCC
39596 builtin and then its argument prototype would still apply. */
39600 char pthread_attr_setschedparam ();
39601 /* The GNU C library defines this for functions which it implements
39602 to always fail with ENOSYS. Some functions are actually named
39603 something starting with __ and the normal name is an alias. */
39604 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39611 return pthread_attr_setschedparam ();
39616 rm -f conftest.$ac_objext conftest$ac_exeext
39617 if { (ac_try="$ac_link"
39618 case "(($ac_try" in
39619 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39620 *) ac_try_echo
=$ac_try;;
39622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39623 (eval "$ac_link") 2>conftest.er1
39625 grep -v '^ *+' conftest.er1
>conftest.err
39627 cat conftest.err
>&5
39628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39629 (exit $ac_status); } && {
39630 test -z "$ac_c_werror_flag" ||
39631 test ! -s conftest.err
39632 } && test -s conftest
$ac_exeext &&
39633 $as_test_x conftest
$ac_exeext; then
39634 ac_cv_func_pthread_attr_setschedparam
=yes
39636 echo "$as_me: failed program was:" >&5
39637 sed 's/^/| /' conftest.
$ac_ext >&5
39639 ac_cv_func_pthread_attr_setschedparam
=no
39642 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39643 conftest
$ac_exeext conftest.
$ac_ext
39645 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39646 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39647 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39648 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39649 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39650 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39651 echo $ECHO_N "(cached) $ECHO_C" >&6
39653 cat >conftest.
$ac_ext <<_ACEOF
39656 cat confdefs.h
>>conftest.
$ac_ext
39657 cat >>conftest.
$ac_ext <<_ACEOF
39658 /* end confdefs.h. */
39659 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39661 #define sched_get_priority_max innocuous_sched_get_priority_max
39663 /* System header to define __stub macros and hopefully few prototypes,
39664 which can conflict with char sched_get_priority_max (); below.
39665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39666 <limits.h> exists even on freestanding compilers. */
39669 # include <limits.h>
39671 # include <assert.h>
39674 #undef sched_get_priority_max
39676 /* Override any GCC internal prototype to avoid an error.
39677 Use char because int might match the return type of a GCC
39678 builtin and then its argument prototype would still apply. */
39682 char sched_get_priority_max ();
39683 /* The GNU C library defines this for functions which it implements
39684 to always fail with ENOSYS. Some functions are actually named
39685 something starting with __ and the normal name is an alias. */
39686 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39693 return sched_get_priority_max ();
39698 rm -f conftest.
$ac_objext conftest
$ac_exeext
39699 if { (ac_try
="$ac_link"
39700 case "(($ac_try" in
39701 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39702 *) ac_try_echo=$ac_try;;
39704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39705 (eval "$ac_link") 2>conftest.er1
39707 grep -v '^ *+' conftest.er1 >conftest.err
39709 cat conftest.err >&5
39710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39711 (exit $ac_status); } && {
39712 test -z "$ac_c_werror_flag" ||
39713 test ! -s conftest.err
39714 } && test -s conftest$ac_exeext &&
39715 $as_test_x conftest$ac_exeext; then
39716 ac_cv_func_sched_get_priority_max=yes
39718 echo "$as_me: failed program was:" >&5
39719 sed 's/^/| /' conftest.$ac_ext >&5
39721 ac_cv_func_sched_get_priority_max=no
39724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39725 conftest$ac_exeext conftest.$ac_ext
39727 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39728 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39729 if test $ac_cv_func_sched_get_priority_max = yes; then
39732 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39733 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39734 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39735 echo $ECHO_N "(cached) $ECHO_C" >&6
39737 ac_check_lib_save_LIBS=$LIBS
39738 LIBS="-lposix4 $LIBS"
39739 cat >conftest.$ac_ext <<_ACEOF
39742 cat confdefs.h >>conftest.$ac_ext
39743 cat >>conftest.$ac_ext <<_ACEOF
39744 /* end confdefs.h. */
39746 /* Override any GCC internal prototype to avoid an error.
39747 Use char because int might match the return type of a GCC
39748 builtin and then its argument prototype would still apply. */
39752 char sched_get_priority_max ();
39756 return sched_get_priority_max ();
39761 rm -f conftest.$ac_objext conftest$ac_exeext
39762 if { (ac_try="$ac_link"
39763 case "(($ac_try" in
39764 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39765 *) ac_try_echo
=$ac_try;;
39767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39768 (eval "$ac_link") 2>conftest.er1
39770 grep -v '^ *+' conftest.er1
>conftest.err
39772 cat conftest.err
>&5
39773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39774 (exit $ac_status); } && {
39775 test -z "$ac_c_werror_flag" ||
39776 test ! -s conftest.err
39777 } && test -s conftest
$ac_exeext &&
39778 $as_test_x conftest
$ac_exeext; then
39779 ac_cv_lib_posix4_sched_get_priority_max
=yes
39781 echo "$as_me: failed program was:" >&5
39782 sed 's/^/| /' conftest.
$ac_ext >&5
39784 ac_cv_lib_posix4_sched_get_priority_max
=no
39787 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39788 conftest
$ac_exeext conftest.
$ac_ext
39789 LIBS
=$ac_check_lib_save_LIBS
39791 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39792 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39793 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39796 POSIX4_LINK
=" -lposix4"
39810 if test "$HAVE_PRIOR_FUNCS" = 1; then
39811 cat >>confdefs.h
<<\_ACEOF
39812 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39816 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39817 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39820 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39821 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39822 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39823 echo $ECHO_N "(cached) $ECHO_C" >&6
39825 cat >conftest.
$ac_ext <<_ACEOF
39828 cat confdefs.h
>>conftest.
$ac_ext
39829 cat >>conftest.
$ac_ext <<_ACEOF
39830 /* end confdefs.h. */
39831 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39833 #define pthread_cancel innocuous_pthread_cancel
39835 /* System header to define __stub macros and hopefully few prototypes,
39836 which can conflict with char pthread_cancel (); below.
39837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39838 <limits.h> exists even on freestanding compilers. */
39841 # include <limits.h>
39843 # include <assert.h>
39846 #undef pthread_cancel
39848 /* Override any GCC internal prototype to avoid an error.
39849 Use char because int might match the return type of a GCC
39850 builtin and then its argument prototype would still apply. */
39854 char pthread_cancel ();
39855 /* The GNU C library defines this for functions which it implements
39856 to always fail with ENOSYS. Some functions are actually named
39857 something starting with __ and the normal name is an alias. */
39858 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39865 return pthread_cancel ();
39870 rm -f conftest.
$ac_objext conftest
$ac_exeext
39871 if { (ac_try
="$ac_link"
39872 case "(($ac_try" in
39873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39874 *) ac_try_echo=$ac_try;;
39876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39877 (eval "$ac_link") 2>conftest.er1
39879 grep -v '^ *+' conftest.er1 >conftest.err
39881 cat conftest.err >&5
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); } && {
39884 test -z "$ac_c_werror_flag" ||
39885 test ! -s conftest.err
39886 } && test -s conftest$ac_exeext &&
39887 $as_test_x conftest$ac_exeext; then
39888 ac_cv_func_pthread_cancel=yes
39890 echo "$as_me: failed program was:" >&5
39891 sed 's/^/| /' conftest.$ac_ext >&5
39893 ac_cv_func_pthread_cancel=no
39896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39897 conftest$ac_exeext conftest.$ac_ext
39899 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39900 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39901 if test $ac_cv_func_pthread_cancel = yes; then
39902 cat >>confdefs.h <<\_ACEOF
39903 #define HAVE_PTHREAD_CANCEL 1
39907 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39908 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39912 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39913 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39914 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39915 echo $ECHO_N "(cached) $ECHO_C" >&6
39917 cat >conftest.$ac_ext <<_ACEOF
39920 cat confdefs.h >>conftest.$ac_ext
39921 cat >>conftest.$ac_ext <<_ACEOF
39922 /* end confdefs.h. */
39923 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39925 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39927 /* System header to define __stub macros and hopefully few prototypes,
39928 which can conflict with char pthread_mutex_timedlock (); below.
39929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39930 <limits.h> exists even on freestanding compilers. */
39933 # include <limits.h>
39935 # include <assert.h>
39938 #undef pthread_mutex_timedlock
39940 /* Override any GCC internal prototype to avoid an error.
39941 Use char because int might match the return type of a GCC
39942 builtin and then its argument prototype would still apply. */
39946 char pthread_mutex_timedlock ();
39947 /* The GNU C library defines this for functions which it implements
39948 to always fail with ENOSYS. Some functions are actually named
39949 something starting with __ and the normal name is an alias. */
39950 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39957 return pthread_mutex_timedlock ();
39962 rm -f conftest.$ac_objext conftest$ac_exeext
39963 if { (ac_try="$ac_link"
39964 case "(($ac_try" in
39965 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39966 *) ac_try_echo
=$ac_try;;
39968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39969 (eval "$ac_link") 2>conftest.er1
39971 grep -v '^ *+' conftest.er1
>conftest.err
39973 cat conftest.err
>&5
39974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39975 (exit $ac_status); } && {
39976 test -z "$ac_c_werror_flag" ||
39977 test ! -s conftest.err
39978 } && test -s conftest
$ac_exeext &&
39979 $as_test_x conftest
$ac_exeext; then
39980 ac_cv_func_pthread_mutex_timedlock
=yes
39982 echo "$as_me: failed program was:" >&5
39983 sed 's/^/| /' conftest.
$ac_ext >&5
39985 ac_cv_func_pthread_mutex_timedlock
=no
39988 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39989 conftest
$ac_exeext conftest.
$ac_ext
39991 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39992 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39993 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39994 cat >>confdefs.h
<<\_ACEOF
39995 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39999 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40000 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40004 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40005 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40006 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40007 echo $ECHO_N "(cached) $ECHO_C" >&6
40009 cat >conftest.
$ac_ext <<_ACEOF
40012 cat confdefs.h
>>conftest.
$ac_ext
40013 cat >>conftest.
$ac_ext <<_ACEOF
40014 /* end confdefs.h. */
40015 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40017 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40019 /* System header to define __stub macros and hopefully few prototypes,
40020 which can conflict with char pthread_attr_setstacksize (); below.
40021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40022 <limits.h> exists even on freestanding compilers. */
40025 # include <limits.h>
40027 # include <assert.h>
40030 #undef pthread_attr_setstacksize
40032 /* Override any GCC internal prototype to avoid an error.
40033 Use char because int might match the return type of a GCC
40034 builtin and then its argument prototype would still apply. */
40038 char pthread_attr_setstacksize ();
40039 /* The GNU C library defines this for functions which it implements
40040 to always fail with ENOSYS. Some functions are actually named
40041 something starting with __ and the normal name is an alias. */
40042 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40049 return pthread_attr_setstacksize ();
40054 rm -f conftest.
$ac_objext conftest
$ac_exeext
40055 if { (ac_try
="$ac_link"
40056 case "(($ac_try" in
40057 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40058 *) ac_try_echo=$ac_try;;
40060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40061 (eval "$ac_link") 2>conftest.er1
40063 grep -v '^ *+' conftest.er1 >conftest.err
40065 cat conftest.err >&5
40066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40067 (exit $ac_status); } && {
40068 test -z "$ac_c_werror_flag" ||
40069 test ! -s conftest.err
40070 } && test -s conftest$ac_exeext &&
40071 $as_test_x conftest$ac_exeext; then
40072 ac_cv_func_pthread_attr_setstacksize=yes
40074 echo "$as_me: failed program was:" >&5
40075 sed 's/^/| /' conftest.$ac_ext >&5
40077 ac_cv_func_pthread_attr_setstacksize=no
40080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40081 conftest$ac_exeext conftest.$ac_ext
40083 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40084 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40085 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40086 cat >>confdefs.h <<\_ACEOF
40087 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40094 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40095 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40096 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40097 echo $ECHO_N "(cached) $ECHO_C" >&6
40100 cat >conftest.$ac_ext <<_ACEOF
40103 cat confdefs.h >>conftest.$ac_ext
40104 cat >>conftest.$ac_ext <<_ACEOF
40105 /* end confdefs.h. */
40106 #include <pthread.h>
40111 pthread_mutexattr_t attr;
40112 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40118 rm -f conftest.$ac_objext
40119 if { (ac_try="$ac_compile"
40120 case "(($ac_try" in
40121 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40122 *) ac_try_echo
=$ac_try;;
40124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40125 (eval "$ac_compile") 2>conftest.er1
40127 grep -v '^ *+' conftest.er1
>conftest.err
40129 cat conftest.err
>&5
40130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40131 (exit $ac_status); } && {
40132 test -z "$ac_c_werror_flag" ||
40133 test ! -s conftest.err
40134 } && test -s conftest.
$ac_objext; then
40135 wx_cv_type_pthread_mutexattr_t
=yes
40137 echo "$as_me: failed program was:" >&5
40138 sed 's/^/| /' conftest.
$ac_ext >&5
40140 wx_cv_type_pthread_mutexattr_t
=no
40144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40147 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40148 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40150 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40151 cat >>confdefs.h
<<\_ACEOF
40152 #define HAVE_PTHREAD_MUTEXATTR_T 1
40156 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40157 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40158 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40159 echo $ECHO_N "(cached) $ECHO_C" >&6
40162 cat >conftest.
$ac_ext <<_ACEOF
40165 cat confdefs.h
>>conftest.
$ac_ext
40166 cat >>conftest.
$ac_ext <<_ACEOF
40167 /* end confdefs.h. */
40168 #include <pthread.h>
40173 pthread_mutexattr_t attr;
40174 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40180 rm -f conftest.
$ac_objext
40181 if { (ac_try
="$ac_compile"
40182 case "(($ac_try" in
40183 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40184 *) ac_try_echo=$ac_try;;
40186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40187 (eval "$ac_compile") 2>conftest.er1
40189 grep -v '^ *+' conftest.er1 >conftest.err
40191 cat conftest.err >&5
40192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40193 (exit $ac_status); } && {
40194 test -z "$ac_c_werror_flag" ||
40195 test ! -s conftest.err
40196 } && test -s conftest.$ac_objext; then
40197 wx_cv_func_pthread_mutexattr_settype_decl=yes
40199 echo "$as_me: failed program was:" >&5
40200 sed 's/^/| /' conftest.$ac_ext >&5
40202 wx_cv_func_pthread_mutexattr_settype_decl=no
40206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40209 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40210 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40211 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40212 cat >>confdefs.h <<\_ACEOF
40213 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40218 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40219 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40220 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40221 echo $ECHO_N "(cached) $ECHO_C" >&6
40224 cat >conftest.$ac_ext <<_ACEOF
40227 cat confdefs.h >>conftest.$ac_ext
40228 cat >>conftest.$ac_ext <<_ACEOF
40229 /* end confdefs.h. */
40230 #include <pthread.h>
40235 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40241 rm -f conftest.$ac_objext
40242 if { (ac_try="$ac_compile"
40243 case "(($ac_try" in
40244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40245 *) ac_try_echo
=$ac_try;;
40247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40248 (eval "$ac_compile") 2>conftest.er1
40250 grep -v '^ *+' conftest.er1
>conftest.err
40252 cat conftest.err
>&5
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); } && {
40255 test -z "$ac_c_werror_flag" ||
40256 test ! -s conftest.err
40257 } && test -s conftest.
$ac_objext; then
40259 wx_cv_type_pthread_rec_mutex_init
=yes
40262 echo "$as_me: failed program was:" >&5
40263 sed 's/^/| /' conftest.
$ac_ext >&5
40266 wx_cv_type_pthread_rec_mutex_init
=no
40271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40274 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40275 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40276 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40277 cat >>confdefs.h
<<\_ACEOF
40278 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40282 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40283 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40287 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40288 if test "$USE_NETBSD" = 1; then
40289 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40290 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40291 wxUSE_COMPILER_TLS
=no
40293 wxUSE_COMPILER_TLS
=yes
40297 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40298 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40299 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40300 if test "${wx_cv_cc___thread+set}" = set; then
40301 echo $ECHO_N "(cached) $ECHO_C" >&6
40304 cat >conftest.
$ac_ext <<_ACEOF
40307 cat confdefs.h
>>conftest.
$ac_ext
40308 cat >>conftest.
$ac_ext <<_ACEOF
40309 /* end confdefs.h. */
40310 #include <pthread.h>
40315 static __thread int n = 0;
40316 static __thread int *p = 0;
40322 rm -f conftest.
$ac_objext
40323 if { (ac_try
="$ac_compile"
40324 case "(($ac_try" in
40325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40326 *) ac_try_echo=$ac_try;;
40328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40329 (eval "$ac_compile") 2>conftest.er1
40331 grep -v '^ *+' conftest.er1 >conftest.err
40333 cat conftest.err >&5
40334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335 (exit $ac_status); } && {
40336 test -z "$ac_c_werror_flag" ||
40337 test ! -s conftest.err
40338 } && test -s conftest.$ac_objext; then
40339 wx_cv_cc___thread=yes
40341 echo "$as_me: failed program was:" >&5
40342 sed 's/^/| /' conftest.$ac_ext >&5
40344 wx_cv_cc___thread=no
40348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40352 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40353 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40355 if test "$wx_cv_cc___thread" = "yes"; then
40361 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40362 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40364 if test "x$GCC" = "xyes" ; then
40366 if test -z "" ; then
40368 ax_gcc_option_test="int main()
40375 ax_gcc_option_test=""
40380 # Dump the test program to file
40381 cat <<EOF > conftest.c
40382 $ax_gcc_option_test
40385 # Dump back the file to the log, useful for debugging purposes
40386 { ac_try='cat conftest.c 1>&5'
40387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40388 (eval $ac_try) 2>&5
40390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40391 (exit $ac_status); }; }
40393 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40395 (eval $ac_try) 2>&5
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); }; } ; then
40400 { echo "$as_me:$LINENO: result: yes" >&5
40401 echo "${ECHO_T}yes" >&6; }
40403 ax_gcc_version_option=yes
40408 { echo "$as_me:$LINENO: result: no" >&5
40409 echo "${ECHO_T}no" >&6; }
40411 ax_gcc_version_option=no
40419 { echo "$as_me:$LINENO: result: no gcc available" >&5
40420 echo "${ECHO_T}no gcc available" >&6; }
40425 if test "x$GXX" = "xyes"; then
40427 if test "x$ax_gxx_version_option" != "no"; then
40429 { echo "$as_me:$LINENO: checking gxx version" >&5
40430 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40431 if test "${ax_cv_gxx_version+set}" = set; then
40432 echo $ECHO_N "(cached) $ECHO_C" >&6
40435 ax_cv_gxx_version="`$CXX -dumpversion`"
40436 if test "x$ax_cv_gxx_version" = "x"; then
40438 ax_cv_gxx_version=""
40444 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40445 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40446 GXX_VERSION=$ax_cv_gxx_version
40455 if test -n "$ax_cv_gxx_version"; then
40456 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40457 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40458 case "$ax_cv_gxx_version" in
40460 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40461 echo "${ECHO_T}no, it's broken" >&6; }
40462 wx_cv_cc___thread=no
40465 { echo "$as_me:$LINENO: result: yes, it works" >&5
40466 echo "${ECHO_T}yes, it works" >&6; }
40472 if test "$wx_cv_cc___thread" = "yes"; then
40473 cat >>confdefs.h <<\_ACEOF
40474 #define HAVE___THREAD_KEYWORD 1
40482 if test "$wxUSE_THREADS" = "yes" ; then
40484 x86_64-*-mingw32* )
40487 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40488 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40489 if test "${wx_cv_cflags_mthread+set}" = set; then
40490 echo $ECHO_N "(cached) $ECHO_C" >&6
40493 CFLAGS_OLD="$CFLAGS"
40494 CFLAGS="-mthreads $CFLAGS"
40495 cat >conftest.$ac_ext <<_ACEOF
40498 cat confdefs.h >>conftest.$ac_ext
40499 cat >>conftest.$ac_ext <<_ACEOF
40500 /* end confdefs.h. */
40510 rm -f conftest.$ac_objext
40511 if { (ac_try="$ac_compile"
40512 case "(($ac_try" in
40513 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40514 *) ac_try_echo
=$ac_try;;
40516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40517 (eval "$ac_compile") 2>conftest.er1
40519 grep -v '^ *+' conftest.er1
>conftest.err
40521 cat conftest.err
>&5
40522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40523 (exit $ac_status); } && {
40524 test -z "$ac_c_werror_flag" ||
40525 test ! -s conftest.err
40526 } && test -s conftest.
$ac_objext; then
40527 wx_cv_cflags_mthread
=yes
40529 echo "$as_me: failed program was:" >&5
40530 sed 's/^/| /' conftest.
$ac_ext >&5
40532 wx_cv_cflags_mthread
=no
40536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40540 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40541 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40543 if test "$wx_cv_cflags_mthread" = "yes"; then
40544 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40545 LDFLAGS
="$LDFLAGS -mthreads"
40547 CFLAGS
="$CFLAGS_OLD"
40551 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40552 LDFLAGS
="$LDFLAGS -Zmt"
40558 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40559 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40560 if test "${ac_cv_func_localtime_r+set}" = set; then
40561 echo $ECHO_N "(cached) $ECHO_C" >&6
40563 cat >conftest.
$ac_ext <<_ACEOF
40566 cat confdefs.h
>>conftest.
$ac_ext
40567 cat >>conftest.
$ac_ext <<_ACEOF
40568 /* end confdefs.h. */
40569 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40571 #define localtime_r innocuous_localtime_r
40573 /* System header to define __stub macros and hopefully few prototypes,
40574 which can conflict with char localtime_r (); below.
40575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40576 <limits.h> exists even on freestanding compilers. */
40579 # include <limits.h>
40581 # include <assert.h>
40586 /* Override any GCC internal prototype to avoid an error.
40587 Use char because int might match the return type of a GCC
40588 builtin and then its argument prototype would still apply. */
40592 char localtime_r ();
40593 /* The GNU C library defines this for functions which it implements
40594 to always fail with ENOSYS. Some functions are actually named
40595 something starting with __ and the normal name is an alias. */
40596 #if defined __stub_localtime_r || defined __stub___localtime_r
40603 return localtime_r ();
40608 rm -f conftest.
$ac_objext conftest
$ac_exeext
40609 if { (ac_try
="$ac_link"
40610 case "(($ac_try" in
40611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40612 *) ac_try_echo=$ac_try;;
40614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40615 (eval "$ac_link") 2>conftest.er1
40617 grep -v '^ *+' conftest.er1 >conftest.err
40619 cat conftest.err >&5
40620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40621 (exit $ac_status); } && {
40622 test -z "$ac_c_werror_flag" ||
40623 test ! -s conftest.err
40624 } && test -s conftest$ac_exeext &&
40625 $as_test_x conftest$ac_exeext; then
40626 ac_cv_func_localtime_r=yes
40628 echo "$as_me: failed program was:" >&5
40629 sed 's/^/| /' conftest.$ac_ext >&5
40631 ac_cv_func_localtime_r=no
40634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40635 conftest$ac_exeext conftest.$ac_ext
40637 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40638 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40639 if test $ac_cv_func_localtime_r = yes; then
40640 cat >>confdefs.h <<\_ACEOF
40641 #define HAVE_LOCALTIME_R 1
40646 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40647 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40648 if test "${ac_cv_func_gmtime_r+set}" = set; then
40649 echo $ECHO_N "(cached) $ECHO_C" >&6
40651 cat >conftest.$ac_ext <<_ACEOF
40654 cat confdefs.h >>conftest.$ac_ext
40655 cat >>conftest.$ac_ext <<_ACEOF
40656 /* end confdefs.h. */
40657 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40659 #define gmtime_r innocuous_gmtime_r
40661 /* System header to define __stub macros and hopefully few prototypes,
40662 which can conflict with char gmtime_r (); below.
40663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40664 <limits.h> exists even on freestanding compilers. */
40667 # include <limits.h>
40669 # include <assert.h>
40674 /* Override any GCC internal prototype to avoid an error.
40675 Use char because int might match the return type of a GCC
40676 builtin and then its argument prototype would still apply. */
40681 /* The GNU C library defines this for functions which it implements
40682 to always fail with ENOSYS. Some functions are actually named
40683 something starting with __ and the normal name is an alias. */
40684 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40691 return gmtime_r ();
40696 rm -f conftest.$ac_objext conftest$ac_exeext
40697 if { (ac_try="$ac_link"
40698 case "(($ac_try" in
40699 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40700 *) ac_try_echo
=$ac_try;;
40702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40703 (eval "$ac_link") 2>conftest.er1
40705 grep -v '^ *+' conftest.er1
>conftest.err
40707 cat conftest.err
>&5
40708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40709 (exit $ac_status); } && {
40710 test -z "$ac_c_werror_flag" ||
40711 test ! -s conftest.err
40712 } && test -s conftest
$ac_exeext &&
40713 $as_test_x conftest
$ac_exeext; then
40714 ac_cv_func_gmtime_r
=yes
40716 echo "$as_me: failed program was:" >&5
40717 sed 's/^/| /' conftest.
$ac_ext >&5
40719 ac_cv_func_gmtime_r
=no
40722 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40723 conftest
$ac_exeext conftest.
$ac_ext
40725 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40726 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40727 if test $ac_cv_func_gmtime_r = yes; then
40728 cat >>confdefs.h
<<\_ACEOF
40729 #define HAVE_GMTIME_R 1
40738 ac_cpp
='$CPP $CPPFLAGS'
40739 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40740 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40741 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40743 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40744 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40746 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40747 echo $ECHO_N "(cached) $ECHO_C" >&6
40751 ################################################################
40753 ac_cv_func_which_gethostbyname_r
=unknown
40756 # ONE ARGUMENT (sanity check)
40759 # This should fail, as there is no variant of gethostbyname_r() that takes
40760 # a single argument. If it actually compiles, then we can assume that
40761 # netdb.h is not declaring the function, and the compiler is thereby
40762 # assuming an implicit prototype. In which case, we're out of luck.
40764 cat >conftest.
$ac_ext <<_ACEOF
40767 cat confdefs.h
>>conftest.
$ac_ext
40768 cat >>conftest.
$ac_ext <<_ACEOF
40769 /* end confdefs.h. */
40775 char *name = "www.gnu.org";
40776 (void)gethostbyname_r(name) /* ; */
40782 rm -f conftest.
$ac_objext
40783 if { (ac_try
="$ac_compile"
40784 case "(($ac_try" in
40785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40786 *) ac_try_echo=$ac_try;;
40788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40789 (eval "$ac_compile") 2>conftest.er1
40791 grep -v '^ *+' conftest.er1 >conftest.err
40793 cat conftest.err >&5
40794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40795 (exit $ac_status); } && {
40796 test -z "$ac_c_werror_flag" ||
40797 test ! -s conftest.err
40798 } && test -s conftest.$ac_objext; then
40799 ac_cv_func_which_gethostbyname_r=no
40801 echo "$as_me: failed program was:" >&5
40802 sed 's/^/| /' conftest.$ac_ext >&5
40807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40814 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40816 cat >conftest.$ac_ext <<_ACEOF
40819 cat confdefs.h >>conftest.$ac_ext
40820 cat >>conftest.$ac_ext <<_ACEOF
40821 /* end confdefs.h. */
40827 char *name = "www.gnu.org";
40828 struct hostent ret, *retp;
40832 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40838 rm -f conftest.$ac_objext
40839 if { (ac_try="$ac_compile"
40840 case "(($ac_try" in
40841 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40842 *) ac_try_echo
=$ac_try;;
40844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40845 (eval "$ac_compile") 2>conftest.er1
40847 grep -v '^ *+' conftest.er1
>conftest.err
40849 cat conftest.err
>&5
40850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40851 (exit $ac_status); } && {
40852 test -z "$ac_c_werror_flag" ||
40853 test ! -s conftest.err
40854 } && test -s conftest.
$ac_objext; then
40855 ac_cv_func_which_gethostbyname_r
=six
40857 echo "$as_me: failed program was:" >&5
40858 sed 's/^/| /' conftest.
$ac_ext >&5
40863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40872 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40874 cat >conftest.
$ac_ext <<_ACEOF
40877 cat confdefs.h
>>conftest.
$ac_ext
40878 cat >>conftest.
$ac_ext <<_ACEOF
40879 /* end confdefs.h. */
40885 char *name = "www.gnu.org";
40886 struct hostent ret;
40890 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40896 rm -f conftest.
$ac_objext
40897 if { (ac_try
="$ac_compile"
40898 case "(($ac_try" in
40899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40900 *) ac_try_echo=$ac_try;;
40902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40903 (eval "$ac_compile") 2>conftest.er1
40905 grep -v '^ *+' conftest.er1 >conftest.err
40907 cat conftest.err >&5
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); } && {
40910 test -z "$ac_c_werror_flag" ||
40911 test ! -s conftest.err
40912 } && test -s conftest.$ac_objext; then
40913 ac_cv_func_which_gethostbyname_r=five
40915 echo "$as_me: failed program was:" >&5
40916 sed 's/^/| /' conftest.$ac_ext >&5
40921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40927 # (e.g. AIX, HP-UX, Tru64)
40930 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40932 cat >conftest.$ac_ext <<_ACEOF
40935 cat confdefs.h >>conftest.$ac_ext
40936 cat >>conftest.$ac_ext <<_ACEOF
40937 /* end confdefs.h. */
40943 char *name = "www.gnu.org";
40944 struct hostent ret;
40945 struct hostent_data data;
40946 (void)gethostbyname_r(name, &ret, &data) /* ; */
40952 rm -f conftest.$ac_objext
40953 if { (ac_try="$ac_compile"
40954 case "(($ac_try" in
40955 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40956 *) ac_try_echo
=$ac_try;;
40958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40959 (eval "$ac_compile") 2>conftest.er1
40961 grep -v '^ *+' conftest.er1
>conftest.err
40963 cat conftest.err
>&5
40964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40965 (exit $ac_status); } && {
40966 test -z "$ac_c_werror_flag" ||
40967 test ! -s conftest.err
40968 } && test -s conftest.
$ac_objext; then
40969 ac_cv_func_which_gethostbyname_r
=three
40971 echo "$as_me: failed program was:" >&5
40972 sed 's/^/| /' conftest.
$ac_ext >&5
40977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40981 ################################################################
40986 case "$ac_cv_func_which_gethostbyname_r" in
40988 { echo "$as_me:$LINENO: result: three" >&5
40989 echo "${ECHO_T}three" >&6; }
40990 cat >>confdefs.h
<<\_ACEOF
40991 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40997 { echo "$as_me:$LINENO: result: five" >&5
40998 echo "${ECHO_T}five" >&6; }
40999 cat >>confdefs.h
<<\_ACEOF
41000 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41006 { echo "$as_me:$LINENO: result: six" >&5
41007 echo "${ECHO_T}six" >&6; }
41008 cat >>confdefs.h
<<\_ACEOF
41009 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41015 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41016 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41020 { echo "$as_me:$LINENO: result: can't tell" >&5
41021 echo "${ECHO_T}can't tell" >&6; }
41025 { { echo "$as_me:$LINENO: error: internal error" >&5
41026 echo "$as_me: error: internal error" >&2;}
41027 { (exit 1); exit 1; }; }
41032 ac_cpp
='$CPP $CPPFLAGS'
41033 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41034 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41035 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41039 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41040 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41041 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41042 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41043 if test "${ac_cv_func_gethostbyname+set}" = set; then
41044 echo $ECHO_N "(cached) $ECHO_C" >&6
41046 cat >conftest.
$ac_ext <<_ACEOF
41049 cat confdefs.h
>>conftest.
$ac_ext
41050 cat >>conftest.
$ac_ext <<_ACEOF
41051 /* end confdefs.h. */
41052 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41054 #define gethostbyname innocuous_gethostbyname
41056 /* System header to define __stub macros and hopefully few prototypes,
41057 which can conflict with char gethostbyname (); below.
41058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41059 <limits.h> exists even on freestanding compilers. */
41062 # include <limits.h>
41064 # include <assert.h>
41067 #undef gethostbyname
41069 /* Override any GCC internal prototype to avoid an error.
41070 Use char because int might match the return type of a GCC
41071 builtin and then its argument prototype would still apply. */
41075 char gethostbyname ();
41076 /* The GNU C library defines this for functions which it implements
41077 to always fail with ENOSYS. Some functions are actually named
41078 something starting with __ and the normal name is an alias. */
41079 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41086 return gethostbyname ();
41091 rm -f conftest.
$ac_objext conftest
$ac_exeext
41092 if { (ac_try
="$ac_link"
41093 case "(($ac_try" in
41094 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41095 *) ac_try_echo=$ac_try;;
41097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41098 (eval "$ac_link") 2>conftest.er1
41100 grep -v '^ *+' conftest.er1 >conftest.err
41102 cat conftest.err >&5
41103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41104 (exit $ac_status); } && {
41105 test -z "$ac_c_werror_flag" ||
41106 test ! -s conftest.err
41107 } && test -s conftest$ac_exeext &&
41108 $as_test_x conftest$ac_exeext; then
41109 ac_cv_func_gethostbyname=yes
41111 echo "$as_me: failed program was:" >&5
41112 sed 's/^/| /' conftest.$ac_ext >&5
41114 ac_cv_func_gethostbyname=no
41117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41118 conftest$ac_exeext conftest.$ac_ext
41120 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41121 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41122 if test $ac_cv_func_gethostbyname = yes; then
41123 cat >>confdefs.h <<\_ACEOF
41124 #define HAVE_GETHOSTBYNAME 1
41131 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41132 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41133 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41134 echo $ECHO_N "(cached) $ECHO_C" >&6
41138 ac_cpp='$CXXCPP $CPPFLAGS'
41139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41144 cat >conftest.$ac_ext <<_ACEOF
41147 cat confdefs.h >>conftest.$ac_ext
41148 cat >>conftest.$ac_ext <<_ACEOF
41149 /* end confdefs.h. */
41157 struct servent *se, *res;
41160 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41166 rm -f conftest.$ac_objext
41167 if { (ac_try="$ac_compile"
41168 case "(($ac_try" in
41169 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41170 *) ac_try_echo
=$ac_try;;
41172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41173 (eval "$ac_compile") 2>conftest.er1
41175 grep -v '^ *+' conftest.er1
>conftest.err
41177 cat conftest.err
>&5
41178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41179 (exit $ac_status); } && {
41180 test -z "$ac_cxx_werror_flag" ||
41181 test ! -s conftest.err
41182 } && test -s conftest.
$ac_objext; then
41183 ac_cv_func_which_getservbyname_r
=six
41185 echo "$as_me: failed program was:" >&5
41186 sed 's/^/| /' conftest.
$ac_ext >&5
41189 cat >conftest.
$ac_ext <<_ACEOF
41192 cat confdefs.h
>>conftest.
$ac_ext
41193 cat >>conftest.
$ac_ext <<_ACEOF
41194 /* end confdefs.h. */
41202 struct servent *se;
41205 (void) getservbyname_r(name, proto, se, buffer, buflen)
41211 rm -f conftest.
$ac_objext
41212 if { (ac_try
="$ac_compile"
41213 case "(($ac_try" in
41214 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41215 *) ac_try_echo=$ac_try;;
41217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41218 (eval "$ac_compile") 2>conftest.er1
41220 grep -v '^ *+' conftest.er1 >conftest.err
41222 cat conftest.err >&5
41223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41224 (exit $ac_status); } && {
41225 test -z "$ac_cxx_werror_flag" ||
41226 test ! -s conftest.err
41227 } && test -s conftest.$ac_objext; then
41228 ac_cv_func_which_getservbyname_r=five
41230 echo "$as_me: failed program was:" >&5
41231 sed 's/^/| /' conftest.$ac_ext >&5
41234 cat >conftest.$ac_ext <<_ACEOF
41237 cat confdefs.h >>conftest.$ac_ext
41238 cat >>conftest.$ac_ext <<_ACEOF
41239 /* end confdefs.h. */
41247 struct servent *se;
41248 struct servent_data data;
41249 (void) getservbyname_r(name, proto, se, &data);
41255 rm -f conftest.$ac_objext
41256 if { (ac_try="$ac_compile"
41257 case "(($ac_try" in
41258 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41259 *) ac_try_echo
=$ac_try;;
41261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41262 (eval "$ac_compile") 2>conftest.er1
41264 grep -v '^ *+' conftest.er1
>conftest.err
41266 cat conftest.err
>&5
41267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41268 (exit $ac_status); } && {
41269 test -z "$ac_cxx_werror_flag" ||
41270 test ! -s conftest.err
41271 } && test -s conftest.
$ac_objext; then
41272 ac_cv_func_which_getservbyname_r
=four
41274 echo "$as_me: failed program was:" >&5
41275 sed 's/^/| /' conftest.
$ac_ext >&5
41277 ac_cv_func_which_getservbyname_r
=no
41281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41293 ac_cpp
='$CPP $CPPFLAGS'
41294 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41295 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41296 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41301 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41302 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41304 if test $ac_cv_func_which_getservbyname_r = six
; then
41305 cat >>confdefs.h
<<\_ACEOF
41306 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41309 elif test $ac_cv_func_which_getservbyname_r = five
; then
41310 cat >>confdefs.h
<<\_ACEOF
41311 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41314 elif test $ac_cv_func_which_getservbyname_r = four
; then
41315 cat >>confdefs.h
<<\_ACEOF
41316 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41322 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41323 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41325 for ac_func
in getservbyname
41327 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41328 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41330 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41331 echo $ECHO_N "(cached) $ECHO_C" >&6
41333 cat >conftest.
$ac_ext <<_ACEOF
41336 cat confdefs.h
>>conftest.
$ac_ext
41337 cat >>conftest.
$ac_ext <<_ACEOF
41338 /* end confdefs.h. */
41339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41341 #define $ac_func innocuous_$ac_func
41343 /* System header to define __stub macros and hopefully few prototypes,
41344 which can conflict with char $ac_func (); below.
41345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41346 <limits.h> exists even on freestanding compilers. */
41349 # include <limits.h>
41351 # include <assert.h>
41356 /* Override any GCC internal prototype to avoid an error.
41357 Use char because int might match the return type of a GCC
41358 builtin and then its argument prototype would still apply. */
41363 /* The GNU C library defines this for functions which it implements
41364 to always fail with ENOSYS. Some functions are actually named
41365 something starting with __ and the normal name is an alias. */
41366 #if defined __stub_$ac_func || defined __stub___$ac_func
41373 return $ac_func ();
41378 rm -f conftest.
$ac_objext conftest
$ac_exeext
41379 if { (ac_try
="$ac_link"
41380 case "(($ac_try" in
41381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41382 *) ac_try_echo=$ac_try;;
41384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41385 (eval "$ac_link") 2>conftest.er1
41387 grep -v '^ *+' conftest.er1 >conftest.err
41389 cat conftest.err >&5
41390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41391 (exit $ac_status); } && {
41392 test -z "$ac_c_werror_flag" ||
41393 test ! -s conftest.err
41394 } && test -s conftest$ac_exeext &&
41395 $as_test_x conftest$ac_exeext; then
41396 eval "$as_ac_var=yes"
41398 echo "$as_me: failed program was:" >&5
41399 sed 's/^/| /' conftest.$ac_ext >&5
41401 eval "$as_ac_var=no"
41404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41405 conftest$ac_exeext conftest.$ac_ext
41407 ac_res=`eval echo '${'$as_ac_var'}'`
41408 { echo "$as_me:$LINENO: result: $ac_res" >&5
41409 echo "${ECHO_T}$ac_res" >&6; }
41410 if test `eval echo '${'$as_ac_var'}'` = yes; then
41411 cat >>confdefs.h <<_ACEOF
41412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41414 cat >>confdefs.h <<\_ACEOF
41415 #define HAVE_GETSERVBYNAME 1
41423 if test "$wxUSE_THREADS" = "yes"; then
41424 cat >>confdefs.h <<\_ACEOF
41425 #define wxUSE_THREADS 1
41429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41431 if test "$wx_cv_func_strtok_r" = "yes"; then
41432 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41433 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41434 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41435 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41436 { echo "$as_me:$LINENO: result: yes" >&5
41437 echo "${ECHO_T}yes" >&6; }
41439 { echo "$as_me:$LINENO: result: no" >&5
41440 echo "${ECHO_T}no" >&6; }
41445 if test "$WXGTK2" = 1 ; then
41446 cat >>confdefs.h <<_ACEOF
41447 #define __WXGTK20__ $WXGTK2
41453 if test "$WXGTK12" = 1 ; then
41454 cat >>confdefs.h <<_ACEOF
41455 #define __WXGTK12__ $WXGTK12
41460 if test "$WXGTK127" = 1 ; then
41461 cat >>confdefs.h <<_ACEOF
41462 #define __WXGTK127__ $WXGTK127
41467 if test "$WXGPE" = 1 ; then
41468 cat >>confdefs.h <<_ACEOF
41469 #define __WXGPE__ $WXGPE
41475 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
41476 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41477 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41478 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41482 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41483 wxUSE_DEBUG_INFO=yes
41484 if test "$GCC" = yes; then
41485 DEBUG_CFLAGS="-ggdb"
41489 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41490 cat >>confdefs.h <<\_ACEOF
41494 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41496 if test "$wxUSE_GTK" = 1 ; then
41497 if test "x$wxGTK_VERSION" = "x1" ; then
41498 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41503 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41504 cat >>confdefs.h <<\_ACEOF
41505 #define wxUSE_MEMORY_TRACING 1
41508 cat >>confdefs.h <<\_ACEOF
41509 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41512 cat >>confdefs.h <<\_ACEOF
41513 #define wxUSE_DEBUG_NEW_ALWAYS 1
41516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41519 if test "$wxUSE_DMALLOC" = "yes" ; then
41520 DMALLOC_LIBS="-ldmallocthcxx"
41524 if test "$wxUSE_PROFILE" = "yes" ; then
41525 PROFILE_FLAGS=" -pg"
41528 if test "$GCC" = "yes" ; then
41529 if test "$wxUSE_NO_RTTI" = "yes" ; then
41530 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41532 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41533 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41535 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41536 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41541 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41544 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41550 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
41551 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41552 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41554 if test "$wxUSE_OPTIMISE" = "no" ; then
41555 if test "$GCC" = yes ; then
41556 OPTIMISE_CFLAGS="-O0"
41559 if test "$GCC" = yes ; then
41561 *-pc-os2_emx | *-pc-os2-emx )
41562 OPTIMISE_CFLAGS="-O2"
41565 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41569 OPTIMISE_CFLAGS="-O"
41575 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41576 cat >>confdefs.h <<\_ACEOF
41577 #define WXWIN_COMPATIBILITY_2_6 1
41581 WXWIN_COMPATIBILITY_2_8="yes"
41584 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41585 cat >>confdefs.h <<\_ACEOF
41586 #define WXWIN_COMPATIBILITY_2_8 1
41592 if test "$wxUSE_GUI" = "yes"; then
41593 cat >>confdefs.h <<\_ACEOF
41594 #define wxUSE_GUI 1
41601 if test "$wxUSE_UNIX" = "yes"; then
41602 cat >>confdefs.h <<\_ACEOF
41603 #define wxUSE_UNIX 1
41609 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41613 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41614 if test "$USE_DOS" = 1; then
41618 for ac_func in dlopen
41620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41621 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41623 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41624 echo $ECHO_N "(cached) $ECHO_C" >&6
41626 cat >conftest.$ac_ext <<_ACEOF
41629 cat confdefs.h >>conftest.$ac_ext
41630 cat >>conftest.$ac_ext <<_ACEOF
41631 /* end confdefs.h. */
41632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41634 #define $ac_func innocuous_$ac_func
41636 /* System header to define __stub macros and hopefully few prototypes,
41637 which can conflict with char $ac_func (); below.
41638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41639 <limits.h> exists even on freestanding compilers. */
41642 # include <limits.h>
41644 # include <assert.h>
41649 /* Override any GCC internal prototype to avoid an error.
41650 Use char because int might match the return type of a GCC
41651 builtin and then its argument prototype would still apply. */
41656 /* The GNU C library defines this for functions which it implements
41657 to always fail with ENOSYS. Some functions are actually named
41658 something starting with __ and the normal name is an alias. */
41659 #if defined __stub_$ac_func || defined __stub___$ac_func
41666 return $ac_func ();
41671 rm -f conftest.$ac_objext conftest$ac_exeext
41672 if { (ac_try="$ac_link"
41673 case "(($ac_try" in
41674 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41675 *) ac_try_echo
=$ac_try;;
41677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41678 (eval "$ac_link") 2>conftest.er1
41680 grep -v '^ *+' conftest.er1
>conftest.err
41682 cat conftest.err
>&5
41683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41684 (exit $ac_status); } && {
41685 test -z "$ac_c_werror_flag" ||
41686 test ! -s conftest.err
41687 } && test -s conftest
$ac_exeext &&
41688 $as_test_x conftest
$ac_exeext; then
41689 eval "$as_ac_var=yes"
41691 echo "$as_me: failed program was:" >&5
41692 sed 's/^/| /' conftest.
$ac_ext >&5
41694 eval "$as_ac_var=no"
41697 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41698 conftest
$ac_exeext conftest.
$ac_ext
41700 ac_res
=`eval echo '${'$as_ac_var'}'`
41701 { echo "$as_me:$LINENO: result: $ac_res" >&5
41702 echo "${ECHO_T}$ac_res" >&6; }
41703 if test `eval echo '${'$as_ac_var'}'` = yes; then
41704 cat >>confdefs.h
<<_ACEOF
41705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41708 cat >>confdefs.h
<<\_ACEOF
41709 #define HAVE_DLOPEN 1
41716 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41717 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41718 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41719 echo $ECHO_N "(cached) $ECHO_C" >&6
41721 ac_check_lib_save_LIBS
=$LIBS
41723 cat >conftest.
$ac_ext <<_ACEOF
41726 cat confdefs.h
>>conftest.
$ac_ext
41727 cat >>conftest.
$ac_ext <<_ACEOF
41728 /* end confdefs.h. */
41730 /* Override any GCC internal prototype to avoid an error.
41731 Use char because int might match the return type of a GCC
41732 builtin and then its argument prototype would still apply. */
41745 rm -f conftest.
$ac_objext conftest
$ac_exeext
41746 if { (ac_try
="$ac_link"
41747 case "(($ac_try" in
41748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41749 *) ac_try_echo=$ac_try;;
41751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41752 (eval "$ac_link") 2>conftest.er1
41754 grep -v '^ *+' conftest.er1 >conftest.err
41756 cat conftest.err >&5
41757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41758 (exit $ac_status); } && {
41759 test -z "$ac_c_werror_flag" ||
41760 test ! -s conftest.err
41761 } && test -s conftest$ac_exeext &&
41762 $as_test_x conftest$ac_exeext; then
41763 ac_cv_lib_dl_dlopen=yes
41765 echo "$as_me: failed program was:" >&5
41766 sed 's/^/| /' conftest.$ac_ext >&5
41768 ac_cv_lib_dl_dlopen=no
41771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41772 conftest$ac_exeext conftest.$ac_ext
41773 LIBS=$ac_check_lib_save_LIBS
41775 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41776 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41777 if test $ac_cv_lib_dl_dlopen = yes; then
41779 cat >>confdefs.h <<\_ACEOF
41780 #define HAVE_DLOPEN 1
41784 DL_LINK=" -ldl$DL_LINK"
41789 for ac_func in shl_load
41791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41792 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41794 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41795 echo $ECHO_N "(cached) $ECHO_C" >&6
41797 cat >conftest.$ac_ext <<_ACEOF
41800 cat confdefs.h >>conftest.$ac_ext
41801 cat >>conftest.$ac_ext <<_ACEOF
41802 /* end confdefs.h. */
41803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41805 #define $ac_func innocuous_$ac_func
41807 /* System header to define __stub macros and hopefully few prototypes,
41808 which can conflict with char $ac_func (); below.
41809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41810 <limits.h> exists even on freestanding compilers. */
41813 # include <limits.h>
41815 # include <assert.h>
41820 /* Override any GCC internal prototype to avoid an error.
41821 Use char because int might match the return type of a GCC
41822 builtin and then its argument prototype would still apply. */
41827 /* The GNU C library defines this for functions which it implements
41828 to always fail with ENOSYS. Some functions are actually named
41829 something starting with __ and the normal name is an alias. */
41830 #if defined __stub_$ac_func || defined __stub___$ac_func
41837 return $ac_func ();
41842 rm -f conftest.$ac_objext conftest$ac_exeext
41843 if { (ac_try="$ac_link"
41844 case "(($ac_try" in
41845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41846 *) ac_try_echo
=$ac_try;;
41848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41849 (eval "$ac_link") 2>conftest.er1
41851 grep -v '^ *+' conftest.er1
>conftest.err
41853 cat conftest.err
>&5
41854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855 (exit $ac_status); } && {
41856 test -z "$ac_c_werror_flag" ||
41857 test ! -s conftest.err
41858 } && test -s conftest
$ac_exeext &&
41859 $as_test_x conftest
$ac_exeext; then
41860 eval "$as_ac_var=yes"
41862 echo "$as_me: failed program was:" >&5
41863 sed 's/^/| /' conftest.
$ac_ext >&5
41865 eval "$as_ac_var=no"
41868 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41869 conftest
$ac_exeext conftest.
$ac_ext
41871 ac_res
=`eval echo '${'$as_ac_var'}'`
41872 { echo "$as_me:$LINENO: result: $ac_res" >&5
41873 echo "${ECHO_T}$ac_res" >&6; }
41874 if test `eval echo '${'$as_ac_var'}'` = yes; then
41875 cat >>confdefs.h
<<_ACEOF
41876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41879 cat >>confdefs.h
<<\_ACEOF
41880 #define HAVE_SHL_LOAD 1
41887 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41888 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41889 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41890 echo $ECHO_N "(cached) $ECHO_C" >&6
41892 ac_check_lib_save_LIBS
=$LIBS
41893 LIBS
="-lshl_load $LIBS"
41894 cat >conftest.
$ac_ext <<_ACEOF
41897 cat confdefs.h
>>conftest.
$ac_ext
41898 cat >>conftest.
$ac_ext <<_ACEOF
41899 /* end confdefs.h. */
41901 /* Override any GCC internal prototype to avoid an error.
41902 Use char because int might match the return type of a GCC
41903 builtin and then its argument prototype would still apply. */
41916 rm -f conftest.
$ac_objext conftest
$ac_exeext
41917 if { (ac_try
="$ac_link"
41918 case "(($ac_try" in
41919 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41920 *) ac_try_echo=$ac_try;;
41922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41923 (eval "$ac_link") 2>conftest.er1
41925 grep -v '^ *+' conftest.er1 >conftest.err
41927 cat conftest.err >&5
41928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41929 (exit $ac_status); } && {
41930 test -z "$ac_c_werror_flag" ||
41931 test ! -s conftest.err
41932 } && test -s conftest$ac_exeext &&
41933 $as_test_x conftest$ac_exeext; then
41934 ac_cv_lib_shl_load_dld=yes
41936 echo "$as_me: failed program was:" >&5
41937 sed 's/^/| /' conftest.$ac_ext >&5
41939 ac_cv_lib_shl_load_dld=no
41942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41943 conftest$ac_exeext conftest.$ac_ext
41944 LIBS=$ac_check_lib_save_LIBS
41946 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41947 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41948 if test $ac_cv_lib_shl_load_dld = yes; then
41951 DL_LINK=" -ldld$DL_LINK"
41967 if test "$HAVE_DL_FUNCS" = 1; then
41969 for ac_func in dlerror
41971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41972 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41974 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41975 echo $ECHO_N "(cached) $ECHO_C" >&6
41977 cat >conftest.$ac_ext <<_ACEOF
41980 cat confdefs.h >>conftest.$ac_ext
41981 cat >>conftest.$ac_ext <<_ACEOF
41982 /* end confdefs.h. */
41983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41985 #define $ac_func innocuous_$ac_func
41987 /* System header to define __stub macros and hopefully few prototypes,
41988 which can conflict with char $ac_func (); below.
41989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41990 <limits.h> exists even on freestanding compilers. */
41993 # include <limits.h>
41995 # include <assert.h>
42000 /* Override any GCC internal prototype to avoid an error.
42001 Use char because int might match the return type of a GCC
42002 builtin and then its argument prototype would still apply. */
42007 /* The GNU C library defines this for functions which it implements
42008 to always fail with ENOSYS. Some functions are actually named
42009 something starting with __ and the normal name is an alias. */
42010 #if defined __stub_$ac_func || defined __stub___$ac_func
42017 return $ac_func ();
42022 rm -f conftest.$ac_objext conftest$ac_exeext
42023 if { (ac_try="$ac_link"
42024 case "(($ac_try" in
42025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42026 *) ac_try_echo
=$ac_try;;
42028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42029 (eval "$ac_link") 2>conftest.er1
42031 grep -v '^ *+' conftest.er1
>conftest.err
42033 cat conftest.err
>&5
42034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42035 (exit $ac_status); } && {
42036 test -z "$ac_c_werror_flag" ||
42037 test ! -s conftest.err
42038 } && test -s conftest
$ac_exeext &&
42039 $as_test_x conftest
$ac_exeext; then
42040 eval "$as_ac_var=yes"
42042 echo "$as_me: failed program was:" >&5
42043 sed 's/^/| /' conftest.
$ac_ext >&5
42045 eval "$as_ac_var=no"
42048 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42049 conftest
$ac_exeext conftest.
$ac_ext
42051 ac_res
=`eval echo '${'$as_ac_var'}'`
42052 { echo "$as_me:$LINENO: result: $ac_res" >&5
42053 echo "${ECHO_T}$ac_res" >&6; }
42054 if test `eval echo '${'$as_ac_var'}'` = yes; then
42055 cat >>confdefs.h
<<_ACEOF
42056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42058 cat >>confdefs.h
<<\_ACEOF
42059 #define HAVE_DLERROR 1
42064 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42065 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42066 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42067 echo $ECHO_N "(cached) $ECHO_C" >&6
42069 ac_check_lib_save_LIBS
=$LIBS
42071 cat >conftest.
$ac_ext <<_ACEOF
42074 cat confdefs.h
>>conftest.
$ac_ext
42075 cat >>conftest.
$ac_ext <<_ACEOF
42076 /* end confdefs.h. */
42078 /* Override any GCC internal prototype to avoid an error.
42079 Use char because int might match the return type of a GCC
42080 builtin and then its argument prototype would still apply. */
42093 rm -f conftest.
$ac_objext conftest
$ac_exeext
42094 if { (ac_try
="$ac_link"
42095 case "(($ac_try" in
42096 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42097 *) ac_try_echo=$ac_try;;
42099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42100 (eval "$ac_link") 2>conftest.er1
42102 grep -v '^ *+' conftest.er1 >conftest.err
42104 cat conftest.err >&5
42105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42106 (exit $ac_status); } && {
42107 test -z "$ac_c_werror_flag" ||
42108 test ! -s conftest.err
42109 } && test -s conftest$ac_exeext &&
42110 $as_test_x conftest$ac_exeext; then
42111 ac_cv_lib_dl_dlerror=yes
42113 echo "$as_me: failed program was:" >&5
42114 sed 's/^/| /' conftest.$ac_ext >&5
42116 ac_cv_lib_dl_dlerror=no
42119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42120 conftest$ac_exeext conftest.$ac_ext
42121 LIBS=$ac_check_lib_save_LIBS
42123 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42124 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42125 if test $ac_cv_lib_dl_dlerror = yes; then
42126 cat >>confdefs.h <<\_ACEOF
42127 #define HAVE_DLERROR 1
42140 if test "$USE_DARWIN" = 1; then
42144 if test "$HAVE_DL_FUNCS" = 0; then
42145 if test "$HAVE_SHL_FUNCS" = 0; then
42146 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42147 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42148 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42149 wxUSE_DYNAMIC_LOADER=no
42150 wxUSE_DYNLIB_CLASS=no
42152 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42153 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42160 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42161 cat >>confdefs.h <<\_ACEOF
42162 #define wxUSE_DYNAMIC_LOADER 1
42166 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42167 cat >>confdefs.h <<\_ACEOF
42168 #define wxUSE_DYNLIB_CLASS 1
42175 if test "$wxUSE_PLUGINS" = "yes" ; then
42176 if test "$wxUSE_SHARED" = "no" ; then
42177 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42178 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42181 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42182 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42183 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42186 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42187 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42188 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42191 if test "$wxUSE_PLUGINS" = "yes" ; then
42192 cat >>confdefs.h <<\_ACEOF
42193 #define wxUSE_PLUGINS 1
42200 if test "$wxUSE_STL" = "yes"; then
42201 cat >>confdefs.h <<\_ACEOF
42202 #define wxUSE_STL 1
42207 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42208 cat >>confdefs.h <<\_ACEOF
42209 #define wxUSE_EXTENDED_RTTI 1
42214 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42215 cat >>confdefs.h <<\_ACEOF
42216 #define wxUSE_APPLE_IEEE 1
42221 if test "$wxUSE_TIMER" = "yes"; then
42222 cat >>confdefs.h <<\_ACEOF
42223 #define wxUSE_TIMER 1
42228 if test "$USE_UNIX" = 1 ; then
42229 if test "$wxUSE_MGL" != 1; then
42230 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42231 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42232 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42233 echo $ECHO_N "(cached) $ECHO_C" >&6
42236 cat >conftest.$ac_ext <<_ACEOF
42239 cat confdefs.h >>conftest.$ac_ext
42240 cat >>conftest.$ac_ext <<_ACEOF
42241 /* end confdefs.h. */
42243 #include <sys/ioctl.h>
42244 #include <sys/soundcard.h>
42250 ioctl(0, SNDCTL_DSP_SPEED, 0);
42256 rm -f conftest.$ac_objext conftest$ac_exeext
42257 if { (ac_try="$ac_link"
42258 case "(($ac_try" in
42259 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42260 *) ac_try_echo
=$ac_try;;
42262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42263 (eval "$ac_link") 2>conftest.er1
42265 grep -v '^ *+' conftest.er1
>conftest.err
42267 cat conftest.err
>&5
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); } && {
42270 test -z "$ac_c_werror_flag" ||
42271 test ! -s conftest.err
42272 } && test -s conftest
$ac_exeext &&
42273 $as_test_x conftest
$ac_exeext; then
42274 ac_cv_header_sys_soundcard
=yes
42276 echo "$as_me: failed program was:" >&5
42277 sed 's/^/| /' conftest.
$ac_ext >&5
42281 LIBS
="$saveLibs -lossaudio"
42282 cat >conftest.
$ac_ext <<_ACEOF
42285 cat confdefs.h
>>conftest.
$ac_ext
42286 cat >>conftest.
$ac_ext <<_ACEOF
42287 /* end confdefs.h. */
42289 #include <sys/ioctl.h>
42290 #include <sys/soundcard.h>
42296 ioctl(0, SNDCTL_DSP_SPEED, 0);
42302 rm -f conftest.
$ac_objext conftest
$ac_exeext
42303 if { (ac_try
="$ac_link"
42304 case "(($ac_try" in
42305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42306 *) ac_try_echo=$ac_try;;
42308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42309 (eval "$ac_link") 2>conftest.er1
42311 grep -v '^ *+' conftest.er1 >conftest.err
42313 cat conftest.err >&5
42314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42315 (exit $ac_status); } && {
42316 test -z "$ac_c_werror_flag" ||
42317 test ! -s conftest.err
42318 } && test -s conftest$ac_exeext &&
42319 $as_test_x conftest$ac_exeext; then
42320 ac_cv_header_sys_soundcard=yes
42322 echo "$as_me: failed program was:" >&5
42323 sed 's/^/| /' conftest.$ac_ext >&5
42327 ac_cv_header_sys_soundcard=no
42332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42333 conftest$ac_exeext conftest.$ac_ext
42338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42339 conftest$ac_exeext conftest.$ac_ext
42342 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42343 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42346 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42347 cat >>confdefs.h <<\_ACEOF
42348 #define HAVE_SYS_SOUNDCARD_H 1
42355 if test "$wxUSE_SOUND" = "yes"; then
42356 if test "$USE_UNIX" = 1 ; then
42357 if test "$wxUSE_LIBSDL" != "no"; then
42359 # Check whether --with-sdl-prefix was given.
42360 if test "${with_sdl_prefix+set}" = set; then
42361 withval=$with_sdl_prefix; sdl_prefix="$withval"
42367 # Check whether --with-sdl-exec-prefix was given.
42368 if test "${with_sdl_exec_prefix+set}" = set; then
42369 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42374 # Check whether --enable-sdltest was given.
42375 if test "${enable_sdltest+set}" = set; then
42376 enableval=$enable_sdltest;
42382 if test x$sdl_exec_prefix != x ; then
42383 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42384 if test x${SDL_CONFIG+set} != xset ; then
42385 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42388 if test x$sdl_prefix != x ; then
42389 sdl_args="$sdl_args --prefix=$sdl_prefix"
42390 if test x${SDL_CONFIG+set} != xset ; then
42391 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42395 if test "x$prefix" != xNONE; then
42396 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42398 # Extract the first word of "sdl-config", so it can be a program name with args.
42399 set dummy sdl-config; ac_word=$2
42400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42402 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42403 echo $ECHO_N "(cached) $ECHO_C" >&6
42405 case $SDL_CONFIG in
42407 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42411 for as_dir in $PATH
42414 test -z "$as_dir" && as_dir=.
42415 for ac_exec_ext in '' $ac_executable_extensions; do
42416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42417 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42425 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42429 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42430 if test -n "$SDL_CONFIG"; then
42431 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42432 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42434 { echo "$as_me:$LINENO: result: no" >&5
42435 echo "${ECHO_T}no" >&6; }
42439 min_sdl_version=1.2.0
42440 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42441 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42443 if test "$SDL_CONFIG" = "no" ; then
42446 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42447 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42449 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42450 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42451 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42452 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42453 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42454 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42455 if test "x$enable_sdltest" = "xyes" ; then
42456 ac_save_CFLAGS="$CFLAGS"
42457 ac_save_CXXFLAGS="$CXXFLAGS"
42458 ac_save_LIBS="$LIBS"
42459 CFLAGS="$CFLAGS $SDL_CFLAGS"
42460 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42461 LIBS="$LIBS $SDL_LIBS"
42463 if test "$cross_compiling" = yes; then
42464 echo $ac_n "cross compiling; assumed OK... $ac_c"
42466 cat >conftest.$ac_ext <<_ACEOF
42469 cat confdefs.h >>conftest.$ac_ext
42470 cat >>conftest.$ac_ext <<_ACEOF
42471 /* end confdefs.h. */
42474 #include <stdlib.h>
42475 #include <string.h>
42479 my_strdup (char *str)
42485 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42486 strcpy (new_str, str);
42494 int main (int argc, char *argv[])
42496 int major, minor, micro;
42499 /* This hangs on some systems (?)
42500 system ("touch conf.sdltest");
42502 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42504 /* HP/UX 9 (%@#!) writes to sscanf strings */
42505 tmp_version = my_strdup("$min_sdl_version");
42506 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42507 printf("%s, bad version string\n", "$min_sdl_version");
42511 if (($sdl_major_version > major) ||
42512 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42513 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42519 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42520 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42521 printf("*** best to upgrade to the required version.\n");
42522 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42523 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42524 printf("*** config.cache before re-running configure\n");
42531 rm -f conftest$ac_exeext
42532 if { (ac_try="$ac_link"
42533 case "(($ac_try" in
42534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42535 *) ac_try_echo
=$ac_try;;
42537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42538 (eval "$ac_link") 2>&5
42540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42541 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42542 { (case "(($ac_try" in
42543 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42544 *) ac_try_echo=$ac_try;;
42546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42547 (eval "$ac_try") 2>&5
42549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42550 (exit $ac_status); }; }; then
42553 echo "$as_me: program exited with status $ac_status" >&5
42554 echo "$as_me: failed program was:" >&5
42555 sed 's/^/| /' conftest.$ac_ext >&5
42557 ( exit $ac_status )
42560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42564 CFLAGS="$ac_save_CFLAGS"
42565 CXXFLAGS="$ac_save_CXXFLAGS"
42566 LIBS="$ac_save_LIBS"
42569 if test "x$no_sdl" = x ; then
42570 { echo "$as_me:$LINENO: result: yes" >&5
42571 echo "${ECHO_T}yes" >&6; }
42573 EXTRALIBS_SDL="$SDL_LIBS"
42574 CFLAGS="$SDL_CFLAGS $CFLAGS"
42575 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42576 cat >>confdefs.h <<\_ACEOF
42577 #define wxUSE_LIBSDL 1
42582 { echo "$as_me:$LINENO: result: no" >&5
42583 echo "${ECHO_T}no" >&6; }
42584 if test "$SDL_CONFIG" = "no" ; then
42585 echo "*** The sdl-config script installed by SDL could not be found"
42586 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42587 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42588 echo "*** full path to sdl-config."
42590 if test -f conf.sdltest ; then
42593 echo "*** Could not run SDL test program, checking why..."
42594 CFLAGS="$CFLAGS $SDL_CFLAGS"
42595 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42596 LIBS="$LIBS $SDL_LIBS"
42597 cat >conftest.$ac_ext <<_ACEOF
42600 cat confdefs.h >>conftest.$ac_ext
42601 cat >>conftest.$ac_ext <<_ACEOF
42602 /* end confdefs.h. */
42607 int main(int argc, char *argv[])
42610 #define main K_and_R_C_main
42620 rm -f conftest.$ac_objext conftest$ac_exeext
42621 if { (ac_try="$ac_link"
42622 case "(($ac_try" in
42623 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42624 *) ac_try_echo
=$ac_try;;
42626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42627 (eval "$ac_link") 2>conftest.er1
42629 grep -v '^ *+' conftest.er1
>conftest.err
42631 cat conftest.err
>&5
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); } && {
42634 test -z "$ac_c_werror_flag" ||
42635 test ! -s conftest.err
42636 } && test -s conftest
$ac_exeext &&
42637 $as_test_x conftest
$ac_exeext; then
42638 echo "*** The test program compiled, but did not run. This usually means"
42639 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42640 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42641 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42642 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42643 echo "*** is required on your system"
42645 echo "*** If you have an old version installed, it is best to remove it, although"
42646 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42648 echo "$as_me: failed program was:" >&5
42649 sed 's/^/| /' conftest.
$ac_ext >&5
42651 echo "*** The test program failed to compile or link. See the file config.log for the"
42652 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42653 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42654 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42657 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42658 conftest
$ac_exeext conftest.
$ac_ext
42659 CFLAGS
="$ac_save_CFLAGS"
42660 CXXFLAGS
="$ac_save_CXXFLAGS"
42661 LIBS
="$ac_save_LIBS"
42672 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42677 if test "$wxUSE_MGL" = 1; then
42678 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42679 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42685 if test "$wxUSE_SOUND" = "yes"; then
42686 cat >>confdefs.h
<<\_ACEOF
42687 #define wxUSE_SOUND 1
42690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42693 if test "$WXGTK2" = 1; then
42696 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42697 if test -n "$ac_tool_prefix"; then
42698 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42699 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42702 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42703 echo $ECHO_N "(cached) $ECHO_C" >&6
42705 case $PKG_CONFIG in
42707 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42711 for as_dir
in $PATH
42714 test -z "$as_dir" && as_dir
=.
42715 for ac_exec_ext
in '' $ac_executable_extensions; do
42716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42717 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42728 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42729 if test -n "$PKG_CONFIG"; then
42730 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42731 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42733 { echo "$as_me:$LINENO: result: no" >&5
42734 echo "${ECHO_T}no" >&6; }
42739 if test -z "$ac_cv_path_PKG_CONFIG"; then
42740 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42741 # Extract the first word of "pkg-config", so it can be a program name with args.
42742 set dummy pkg
-config; ac_word
=$2
42743 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42745 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42746 echo $ECHO_N "(cached) $ECHO_C" >&6
42748 case $ac_pt_PKG_CONFIG in
42750 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42754 for as_dir
in $PATH
42757 test -z "$as_dir" && as_dir
=.
42758 for ac_exec_ext
in '' $ac_executable_extensions; do
42759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42760 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42771 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42772 if test -n "$ac_pt_PKG_CONFIG"; then
42773 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42774 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42776 { echo "$as_me:$LINENO: result: no" >&5
42777 echo "${ECHO_T}no" >&6; }
42780 if test "x$ac_pt_PKG_CONFIG" = x
; then
42783 case $cross_compiling:$ac_tool_warned in
42785 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42786 whose name does not start with the host triplet. If you think this
42787 configuration is useful to you, please write to autoconf@gnu.org." >&5
42788 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42789 whose name does not start with the host triplet. If you think this
42790 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42791 ac_tool_warned
=yes ;;
42793 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42796 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42800 if test -n "$PKG_CONFIG"; then
42801 _pkg_min_version
=0.9.0
42802 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42803 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42804 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42805 { echo "$as_me:$LINENO: result: yes" >&5
42806 echo "${ECHO_T}yes" >&6; }
42808 { echo "$as_me:$LINENO: result: no" >&5
42809 echo "${ECHO_T}no" >&6; }
42815 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42817 if test "$wxUSE_GTKPRINT" = "yes" ; then
42821 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42822 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42824 if test -n "$PKG_CONFIG"; then
42825 if test -n "$GTKPRINT_CFLAGS"; then
42826 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42828 if test -n "$PKG_CONFIG" && \
42829 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42830 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42833 (exit $ac_status); }; then
42834 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42842 if test -n "$PKG_CONFIG"; then
42843 if test -n "$GTKPRINT_LIBS"; then
42844 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42846 if test -n "$PKG_CONFIG" && \
42847 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42848 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42851 (exit $ac_status); }; then
42852 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42863 if test $pkg_failed = yes; then
42865 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42866 _pkg_short_errors_supported
=yes
42868 _pkg_short_errors_supported
=no
42870 if test $_pkg_short_errors_supported = yes; then
42871 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42873 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42875 # Put the nasty error message in config.log where it belongs
42876 echo "$GTKPRINT_PKG_ERRORS" >&5
42879 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42880 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42881 wxUSE_GTKPRINT
="no"
42884 elif test $pkg_failed = untried
; then
42886 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42887 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42888 wxUSE_GTKPRINT
="no"
42892 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42893 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42894 { echo "$as_me:$LINENO: result: yes" >&5
42895 echo "${ECHO_T}yes" >&6; }
42897 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42898 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42899 cat >>confdefs.h
<<\_ACEOF
42900 #define wxUSE_GTKPRINT 1
42907 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42911 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42912 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42914 if test -n "$PKG_CONFIG"; then
42915 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42916 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42918 if test -n "$PKG_CONFIG" && \
42919 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42920 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42923 (exit $ac_status); }; then
42924 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42932 if test -n "$PKG_CONFIG"; then
42933 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42934 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42936 if test -n "$PKG_CONFIG" && \
42937 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42938 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42941 (exit $ac_status); }; then
42942 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42953 if test $pkg_failed = yes; then
42955 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42956 _pkg_short_errors_supported
=yes
42958 _pkg_short_errors_supported
=no
42960 if test $_pkg_short_errors_supported = yes; then
42961 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42963 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42965 # Put the nasty error message in config.log where it belongs
42966 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42969 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42970 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42971 wxUSE_LIBGNOMEPRINT
="no"
42974 elif test $pkg_failed = untried
; then
42976 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42977 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42978 wxUSE_LIBGNOMEPRINT
="no"
42982 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42983 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42984 { echo "$as_me:$LINENO: result: yes" >&5
42985 echo "${ECHO_T}yes" >&6; }
42987 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42988 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42989 cat >>confdefs.h
<<\_ACEOF
42990 #define wxUSE_LIBGNOMEPRINT 1
42998 if test "$wxUSE_MIMETYPE" = "yes" ; then
42999 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43003 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43004 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43006 if test -n "$PKG_CONFIG"; then
43007 if test -n "$GNOMEVFS_CFLAGS"; then
43008 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43010 if test -n "$PKG_CONFIG" && \
43011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43012 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43015 (exit $ac_status); }; then
43016 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43024 if test -n "$PKG_CONFIG"; then
43025 if test -n "$GNOMEVFS_LIBS"; then
43026 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43028 if test -n "$PKG_CONFIG" && \
43029 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43030 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43033 (exit $ac_status); }; then
43034 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43045 if test $pkg_failed = yes; then
43047 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43048 _pkg_short_errors_supported
=yes
43050 _pkg_short_errors_supported
=no
43052 if test $_pkg_short_errors_supported = yes; then
43053 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43055 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43057 # Put the nasty error message in config.log where it belongs
43058 echo "$GNOMEVFS_PKG_ERRORS" >&5
43061 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43062 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43063 wxUSE_LIBGNOMEVFS
="no"
43066 elif test $pkg_failed = untried
; then
43068 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43069 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43070 wxUSE_LIBGNOMEVFS
="no"
43074 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43075 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43076 { echo "$as_me:$LINENO: result: yes" >&5
43077 echo "${ECHO_T}yes" >&6; }
43079 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43080 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43081 cat >>confdefs.h
<<\_ACEOF
43082 #define wxUSE_LIBGNOMEVFS 1
43090 if test "$wxUSE_LIBHILDON" = "yes" ; then
43093 { echo "$as_me:$LINENO: checking for HILDON" >&5
43094 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43096 if test -n "$PKG_CONFIG"; then
43097 if test -n "$HILDON_CFLAGS"; then
43098 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43100 if test -n "$PKG_CONFIG" && \
43101 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43102 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); }; then
43106 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43114 if test -n "$PKG_CONFIG"; then
43115 if test -n "$HILDON_LIBS"; then
43116 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43118 if test -n "$PKG_CONFIG" && \
43119 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43120 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43123 (exit $ac_status); }; then
43124 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43135 if test $pkg_failed = yes; then
43137 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43138 _pkg_short_errors_supported
=yes
43140 _pkg_short_errors_supported
=no
43142 if test $_pkg_short_errors_supported = yes; then
43143 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43145 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43147 # Put the nasty error message in config.log where it belongs
43148 echo "$HILDON_PKG_ERRORS" >&5
43151 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43152 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43153 wxUSE_LIBHILDON
="no"
43156 elif test $pkg_failed = untried
; then
43158 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43159 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43160 wxUSE_LIBHILDON
="no"
43164 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43165 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43166 { echo "$as_me:$LINENO: result: yes" >&5
43167 echo "${ECHO_T}yes" >&6; }
43169 EXTRALIBS_HILDON
="$HILDON_LIBS"
43170 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43171 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43172 cat >>confdefs.h
<<\_ACEOF
43173 #define wxUSE_LIBHILDON 1
43181 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43182 cat >>confdefs.h
<<\_ACEOF
43183 #define wxUSE_CMDLINE_PARSER 1
43188 if test "$wxUSE_STOPWATCH" = "yes"; then
43189 cat >>confdefs.h
<<\_ACEOF
43190 #define wxUSE_STOPWATCH 1
43195 if test "$wxUSE_DATETIME" = "yes"; then
43196 cat >>confdefs.h
<<\_ACEOF
43197 #define wxUSE_DATETIME 1
43202 if test "$wxUSE_FILE" = "yes"; then
43203 cat >>confdefs.h
<<\_ACEOF
43204 #define wxUSE_FILE 1
43209 if test "$wxUSE_FFILE" = "yes"; then
43210 cat >>confdefs.h
<<\_ACEOF
43211 #define wxUSE_FFILE 1
43216 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43217 if test "$wxUSE_STREAMS" != yes; then
43218 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43219 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43220 wxUSE_ARCHIVE_STREAMS
=no
43222 cat >>confdefs.h
<<\_ACEOF
43223 #define wxUSE_ARCHIVE_STREAMS 1
43229 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43230 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43231 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43232 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43233 elif test "$wxUSE_ZLIB" = "no"; then
43234 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43235 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43237 cat >>confdefs.h
<<\_ACEOF
43238 #define wxUSE_ZIPSTREAM 1
43244 if test "$wxUSE_TARSTREAM" = "yes"; then
43245 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43246 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43247 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43249 cat >>confdefs.h
<<\_ACEOF
43250 #define wxUSE_TARSTREAM 1
43256 if test "$wxUSE_FILESYSTEM" = "yes"; then
43257 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43258 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43259 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43260 wxUSE_FILESYSTEM
=no
43262 cat >>confdefs.h
<<\_ACEOF
43263 #define wxUSE_FILESYSTEM 1
43269 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43270 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43271 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43272 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43274 cat >>confdefs.h
<<\_ACEOF
43275 #define wxUSE_FS_ARCHIVE 1
43281 if test "$wxUSE_FS_ZIP" = "yes"; then
43282 if test "$wxUSE_FS_ARCHIVE" != yes; then
43283 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43284 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43286 cat >>confdefs.h
<<\_ACEOF
43287 #define wxUSE_FS_ZIP 1
43293 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43294 if test "$USE_UNIX" != 1; then
43295 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43296 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43297 wxUSE_ON_FATAL_EXCEPTION
=no
43299 cat >>confdefs.h
<<\_ACEOF
43300 #define wxUSE_ON_FATAL_EXCEPTION 1
43306 if test "$wxUSE_STACKWALKER" = "yes"; then
43307 cat >>confdefs.h
<<\_ACEOF
43308 #define wxUSE_STACKWALKER 1
43313 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43314 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43315 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43316 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43317 wxUSE_DEBUGREPORT
=no
43319 cat >>confdefs.h
<<\_ACEOF
43320 #define wxUSE_DEBUGREPORT 1
43323 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43329 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43330 cat >>confdefs.h
<<\_ACEOF
43331 #define wxUSE_SNGLINST_CHECKER 1
43336 if test "$wxUSE_BUSYINFO" = "yes"; then
43337 cat >>confdefs.h
<<\_ACEOF
43338 #define wxUSE_BUSYINFO 1
43343 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43344 cat >>confdefs.h
<<\_ACEOF
43345 #define wxUSE_STD_IOSTREAM 1
43350 if test "$wxUSE_STD_STRING" = "yes"; then
43351 cat >>confdefs.h
<<\_ACEOF
43352 #define wxUSE_STD_STRING 1
43357 if test "$wxUSE_STDPATHS" = "yes"; then
43358 cat >>confdefs.h
<<\_ACEOF
43359 #define wxUSE_STDPATHS 1
43364 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43365 cat >>confdefs.h
<<\_ACEOF
43366 #define wxUSE_TEXTBUFFER 1
43371 if test "$wxUSE_TEXTFILE" = "yes"; then
43372 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43373 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43374 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43376 cat >>confdefs.h
<<\_ACEOF
43377 #define wxUSE_TEXTFILE 1
43383 if test "$wxUSE_CONFIG" = "yes" ; then
43384 if test "$wxUSE_TEXTFILE" != "yes"; then
43385 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43386 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43388 cat >>confdefs.h
<<\_ACEOF
43389 #define wxUSE_CONFIG 1
43392 cat >>confdefs.h
<<\_ACEOF
43393 #define wxUSE_CONFIG_NATIVE 1
43396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43400 if test "$wxUSE_INTL" = "yes" ; then
43401 if test "$wxUSE_FILE" != "yes"; then
43402 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43403 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43405 cat >>confdefs.h
<<\_ACEOF
43406 #define wxUSE_INTL 1
43409 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43410 GUIDIST
="$GUIDIST INTL_DIST"
43414 if test "$wxUSE_XLOCALE" = "yes" ; then
43415 cat >>confdefs.h
<<\_ACEOF
43416 #define wxUSE_XLOCALE 1
43419 { echo "$as_me:$LINENO: checking for locale_t" >&5
43420 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43421 if test "${ac_cv_type_locale_t+set}" = set; then
43422 echo $ECHO_N "(cached) $ECHO_C" >&6
43424 cat >conftest.
$ac_ext <<_ACEOF
43427 cat confdefs.h
>>conftest.
$ac_ext
43428 cat >>conftest.
$ac_ext <<_ACEOF
43429 /* end confdefs.h. */
43430 #include <xlocale.h>
43431 #include <locale.h>
43433 typedef locale_t ac__type_new_;
43437 if ((ac__type_new_ *) 0)
43439 if (sizeof (ac__type_new_))
43445 rm -f conftest.
$ac_objext
43446 if { (ac_try
="$ac_compile"
43447 case "(($ac_try" in
43448 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43449 *) ac_try_echo=$ac_try;;
43451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43452 (eval "$ac_compile") 2>conftest.er1
43454 grep -v '^ *+' conftest.er1 >conftest.err
43456 cat conftest.err >&5
43457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43458 (exit $ac_status); } && {
43459 test -z "$ac_c_werror_flag" ||
43460 test ! -s conftest.err
43461 } && test -s conftest.$ac_objext; then
43462 ac_cv_type_locale_t=yes
43464 echo "$as_me: failed program was:" >&5
43465 sed 's/^/| /' conftest.$ac_ext >&5
43467 ac_cv_type_locale_t=no
43470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43472 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43473 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43474 if test $ac_cv_type_locale_t = yes; then
43476 cat >>confdefs.h <<_ACEOF
43477 #define HAVE_LOCALE_T 1
43485 if test "$wxUSE_LOG" = "yes"; then
43486 cat >>confdefs.h <<\_ACEOF
43487 #define wxUSE_LOG 1
43491 if test "$wxUSE_LOGGUI" = "yes"; then
43492 cat >>confdefs.h <<\_ACEOF
43493 #define wxUSE_LOGGUI 1
43498 if test "$wxUSE_LOGWINDOW" = "yes"; then
43499 cat >>confdefs.h <<\_ACEOF
43500 #define wxUSE_LOGWINDOW 1
43505 if test "$wxUSE_LOGDIALOG" = "yes"; then
43506 cat >>confdefs.h <<\_ACEOF
43507 #define wxUSE_LOG_DIALOG 1
43512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43515 if test "$wxUSE_LONGLONG" = "yes"; then
43516 cat >>confdefs.h <<\_ACEOF
43517 #define wxUSE_LONGLONG 1
43522 if test "$wxUSE_GEOMETRY" = "yes"; then
43523 cat >>confdefs.h <<\_ACEOF
43524 #define wxUSE_GEOMETRY 1
43529 if test "$wxUSE_BASE64" = "yes"; then
43530 cat >>confdefs.h <<\_ACEOF
43531 #define wxUSE_BASE64 1
43536 if test "$wxUSE_STREAMS" = "yes" ; then
43537 cat >>confdefs.h <<\_ACEOF
43538 #define wxUSE_STREAMS 1
43543 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43544 cat >>confdefs.h <<\_ACEOF
43545 #define wxUSE_PRINTF_POS_PARAMS 1
43550 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43551 cat >>confdefs.h <<\_ACEOF
43552 #define wxUSE_OBJC_UNIQUIFYING 1
43558 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43559 cat >>confdefs.h <<\_ACEOF
43560 #define wxUSE_CONSOLE_EVENTLOOP 1
43564 if test "$wxUSE_UNIX" = "yes"; then
43565 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43566 cat >>confdefs.h <<\_ACEOF
43567 #define wxUSE_SELECT_DISPATCHER 1
43572 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43574 for ac_header in sys/epoll.h
43576 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43577 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43579 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43580 echo $ECHO_N "(cached) $ECHO_C" >&6
43582 cat >conftest.$ac_ext <<_ACEOF
43585 cat confdefs.h >>conftest.$ac_ext
43586 cat >>conftest.$ac_ext <<_ACEOF
43587 /* end confdefs.h. */
43588 $ac_includes_default
43590 #include <$ac_header>
43592 rm -f conftest.$ac_objext
43593 if { (ac_try="$ac_compile"
43594 case "(($ac_try" in
43595 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43596 *) ac_try_echo
=$ac_try;;
43598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43599 (eval "$ac_compile") 2>conftest.er1
43601 grep -v '^ *+' conftest.er1
>conftest.err
43603 cat conftest.err
>&5
43604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43605 (exit $ac_status); } && {
43606 test -z "$ac_c_werror_flag" ||
43607 test ! -s conftest.err
43608 } && test -s conftest.
$ac_objext; then
43609 eval "$as_ac_Header=yes"
43611 echo "$as_me: failed program was:" >&5
43612 sed 's/^/| /' conftest.
$ac_ext >&5
43614 eval "$as_ac_Header=no"
43617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43619 ac_res
=`eval echo '${'$as_ac_Header'}'`
43620 { echo "$as_me:$LINENO: result: $ac_res" >&5
43621 echo "${ECHO_T}$ac_res" >&6; }
43622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43623 cat >>confdefs.h
<<_ACEOF
43624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43631 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43632 cat >>confdefs.h
<<\_ACEOF
43633 #define wxUSE_EPOLL_DISPATCHER 1
43637 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43638 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43647 for ac_func
in gettimeofday ftime
43649 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43650 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43652 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43653 echo $ECHO_N "(cached) $ECHO_C" >&6
43655 cat >conftest.
$ac_ext <<_ACEOF
43658 cat confdefs.h
>>conftest.
$ac_ext
43659 cat >>conftest.
$ac_ext <<_ACEOF
43660 /* end confdefs.h. */
43661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43663 #define $ac_func innocuous_$ac_func
43665 /* System header to define __stub macros and hopefully few prototypes,
43666 which can conflict with char $ac_func (); below.
43667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43668 <limits.h> exists even on freestanding compilers. */
43671 # include <limits.h>
43673 # include <assert.h>
43678 /* Override any GCC internal prototype to avoid an error.
43679 Use char because int might match the return type of a GCC
43680 builtin and then its argument prototype would still apply. */
43685 /* The GNU C library defines this for functions which it implements
43686 to always fail with ENOSYS. Some functions are actually named
43687 something starting with __ and the normal name is an alias. */
43688 #if defined __stub_$ac_func || defined __stub___$ac_func
43695 return $ac_func ();
43700 rm -f conftest.
$ac_objext conftest
$ac_exeext
43701 if { (ac_try
="$ac_link"
43702 case "(($ac_try" in
43703 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43704 *) ac_try_echo=$ac_try;;
43706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43707 (eval "$ac_link") 2>conftest.er1
43709 grep -v '^ *+' conftest.er1 >conftest.err
43711 cat conftest.err >&5
43712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43713 (exit $ac_status); } && {
43714 test -z "$ac_c_werror_flag" ||
43715 test ! -s conftest.err
43716 } && test -s conftest$ac_exeext &&
43717 $as_test_x conftest$ac_exeext; then
43718 eval "$as_ac_var=yes"
43720 echo "$as_me: failed program was:" >&5
43721 sed 's/^/| /' conftest.$ac_ext >&5
43723 eval "$as_ac_var=no"
43726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43727 conftest$ac_exeext conftest.$ac_ext
43729 ac_res=`eval echo '${'$as_ac_var'}'`
43730 { echo "$as_me:$LINENO: result: $ac_res" >&5
43731 echo "${ECHO_T}$ac_res" >&6; }
43732 if test `eval echo '${'$as_ac_var'}'` = yes; then
43733 cat >>confdefs.h <<_ACEOF
43734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43741 if test "$ac_cv_func_gettimeofday" = "yes"; then
43742 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43743 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43744 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43745 echo $ECHO_N "(cached) $ECHO_C" >&6
43748 cat >conftest.$ac_ext <<_ACEOF
43751 cat confdefs.h >>conftest.$ac_ext
43752 cat >>conftest.$ac_ext <<_ACEOF
43753 /* end confdefs.h. */
43755 #include <sys/time.h>
43756 #include <unistd.h>
43763 gettimeofday(&tv, NULL);
43769 rm -f conftest.$ac_objext
43770 if { (ac_try="$ac_compile"
43771 case "(($ac_try" in
43772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43773 *) ac_try_echo
=$ac_try;;
43775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43776 (eval "$ac_compile") 2>conftest.er1
43778 grep -v '^ *+' conftest.er1
>conftest.err
43780 cat conftest.err
>&5
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); } && {
43783 test -z "$ac_c_werror_flag" ||
43784 test ! -s conftest.err
43785 } && test -s conftest.
$ac_objext; then
43786 wx_cv_func_gettimeofday_has_2_args
=yes
43788 echo "$as_me: failed program was:" >&5
43789 sed 's/^/| /' conftest.
$ac_ext >&5
43791 cat >conftest.
$ac_ext <<_ACEOF
43794 cat confdefs.h
>>conftest.
$ac_ext
43795 cat >>conftest.
$ac_ext <<_ACEOF
43796 /* end confdefs.h. */
43798 #include <sys/time.h>
43799 #include <unistd.h>
43812 rm -f conftest.
$ac_objext
43813 if { (ac_try
="$ac_compile"
43814 case "(($ac_try" in
43815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43816 *) ac_try_echo=$ac_try;;
43818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43819 (eval "$ac_compile") 2>conftest.er1
43821 grep -v '^ *+' conftest.er1 >conftest.err
43823 cat conftest.err >&5
43824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43825 (exit $ac_status); } && {
43826 test -z "$ac_c_werror_flag" ||
43827 test ! -s conftest.err
43828 } && test -s conftest.$ac_objext; then
43829 wx_cv_func_gettimeofday_has_2_args=no
43831 echo "$as_me: failed program was:" >&5
43832 sed 's/^/| /' conftest.$ac_ext >&5
43835 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43836 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43837 wx_cv_func_gettimeofday_has_2_args=unknown
43842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43849 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43850 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43852 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43853 cat >>confdefs.h <<\_ACEOF
43854 #define WX_GETTIMEOFDAY_NO_TZ 1
43860 if test "$wxUSE_DATETIME" = "yes"; then
43861 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43862 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43863 if test "${wx_cv_var_timezone+set}" = set; then
43864 echo $ECHO_N "(cached) $ECHO_C" >&6
43868 ac_cpp='$CXXCPP $CPPFLAGS'
43869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43873 cat >conftest.$ac_ext <<_ACEOF
43876 cat confdefs.h >>conftest.$ac_ext
43877 cat >>conftest.$ac_ext <<_ACEOF
43878 /* end confdefs.h. */
43893 rm -f conftest.$ac_objext
43894 if { (ac_try="$ac_compile"
43895 case "(($ac_try" in
43896 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43897 *) ac_try_echo
=$ac_try;;
43899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43900 (eval "$ac_compile") 2>conftest.er1
43902 grep -v '^ *+' conftest.er1
>conftest.err
43904 cat conftest.err
>&5
43905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43906 (exit $ac_status); } && {
43907 test -z "$ac_cxx_werror_flag" ||
43908 test ! -s conftest.err
43909 } && test -s conftest.
$ac_objext; then
43911 wx_cv_var_timezone
=timezone
43914 echo "$as_me: failed program was:" >&5
43915 sed 's/^/| /' conftest.
$ac_ext >&5
43918 cat >conftest.
$ac_ext <<_ACEOF
43921 cat confdefs.h
>>conftest.
$ac_ext
43922 cat >>conftest.
$ac_ext <<_ACEOF
43923 /* end confdefs.h. */
43938 rm -f conftest.
$ac_objext
43939 if { (ac_try
="$ac_compile"
43940 case "(($ac_try" in
43941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43942 *) ac_try_echo=$ac_try;;
43944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43945 (eval "$ac_compile") 2>conftest.er1
43947 grep -v '^ *+' conftest.er1 >conftest.err
43949 cat conftest.err >&5
43950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43951 (exit $ac_status); } && {
43952 test -z "$ac_cxx_werror_flag" ||
43953 test ! -s conftest.err
43954 } && test -s conftest.$ac_objext; then
43956 wx_cv_var_timezone=_timezone
43959 echo "$as_me: failed program was:" >&5
43960 sed 's/^/| /' conftest.$ac_ext >&5
43963 cat >conftest.$ac_ext <<_ACEOF
43966 cat confdefs.h >>conftest.$ac_ext
43967 cat >>conftest.$ac_ext <<_ACEOF
43968 /* end confdefs.h. */
43983 rm -f conftest.$ac_objext
43984 if { (ac_try="$ac_compile"
43985 case "(($ac_try" in
43986 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43987 *) ac_try_echo
=$ac_try;;
43989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43990 (eval "$ac_compile") 2>conftest.er1
43992 grep -v '^ *+' conftest.er1
>conftest.err
43994 cat conftest.err
>&5
43995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43996 (exit $ac_status); } && {
43997 test -z "$ac_cxx_werror_flag" ||
43998 test ! -s conftest.err
43999 } && test -s conftest.
$ac_objext; then
44001 wx_cv_var_timezone
=__timezone
44004 echo "$as_me: failed program was:" >&5
44005 sed 's/^/| /' conftest.
$ac_ext >&5
44008 if test "$USE_DOS" = 0 ; then
44009 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44010 echo "$as_me: WARNING: no timezone variable" >&2;}
44016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44028 ac_cpp
='$CPP $CPPFLAGS'
44029 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44030 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44031 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44036 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44037 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44039 if test "x$wx_cv_var_timezone" != x
; then
44040 cat >>confdefs.h
<<_ACEOF
44041 #define WX_TIMEZONE $wx_cv_var_timezone
44047 for ac_func
in localtime
44049 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44050 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44052 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44053 echo $ECHO_N "(cached) $ECHO_C" >&6
44055 cat >conftest.
$ac_ext <<_ACEOF
44058 cat confdefs.h
>>conftest.
$ac_ext
44059 cat >>conftest.
$ac_ext <<_ACEOF
44060 /* end confdefs.h. */
44061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44063 #define $ac_func innocuous_$ac_func
44065 /* System header to define __stub macros and hopefully few prototypes,
44066 which can conflict with char $ac_func (); below.
44067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44068 <limits.h> exists even on freestanding compilers. */
44071 # include <limits.h>
44073 # include <assert.h>
44078 /* Override any GCC internal prototype to avoid an error.
44079 Use char because int might match the return type of a GCC
44080 builtin and then its argument prototype would still apply. */
44085 /* The GNU C library defines this for functions which it implements
44086 to always fail with ENOSYS. Some functions are actually named
44087 something starting with __ and the normal name is an alias. */
44088 #if defined __stub_$ac_func || defined __stub___$ac_func
44095 return $ac_func ();
44100 rm -f conftest.
$ac_objext conftest
$ac_exeext
44101 if { (ac_try
="$ac_link"
44102 case "(($ac_try" in
44103 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44104 *) ac_try_echo=$ac_try;;
44106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44107 (eval "$ac_link") 2>conftest.er1
44109 grep -v '^ *+' conftest.er1 >conftest.err
44111 cat conftest.err >&5
44112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44113 (exit $ac_status); } && {
44114 test -z "$ac_c_werror_flag" ||
44115 test ! -s conftest.err
44116 } && test -s conftest$ac_exeext &&
44117 $as_test_x conftest$ac_exeext; then
44118 eval "$as_ac_var=yes"
44120 echo "$as_me: failed program was:" >&5
44121 sed 's/^/| /' conftest.$ac_ext >&5
44123 eval "$as_ac_var=no"
44126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44127 conftest$ac_exeext conftest.$ac_ext
44129 ac_res=`eval echo '${'$as_ac_var'}'`
44130 { echo "$as_me:$LINENO: result: $ac_res" >&5
44131 echo "${ECHO_T}$ac_res" >&6; }
44132 if test `eval echo '${'$as_ac_var'}'` = yes; then
44133 cat >>confdefs.h <<_ACEOF
44134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44141 if test "$ac_cv_func_localtime" = "yes"; then
44142 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44143 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44144 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44145 echo $ECHO_N "(cached) $ECHO_C" >&6
44148 cat >conftest.$ac_ext <<_ACEOF
44151 cat confdefs.h >>conftest.$ac_ext
44152 cat >>conftest.$ac_ext <<_ACEOF
44153 /* end confdefs.h. */
44168 rm -f conftest.$ac_objext
44169 if { (ac_try="$ac_compile"
44170 case "(($ac_try" in
44171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44172 *) ac_try_echo
=$ac_try;;
44174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44175 (eval "$ac_compile") 2>conftest.er1
44177 grep -v '^ *+' conftest.er1
>conftest.err
44179 cat conftest.err
>&5
44180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44181 (exit $ac_status); } && {
44182 test -z "$ac_c_werror_flag" ||
44183 test ! -s conftest.err
44184 } && test -s conftest.
$ac_objext; then
44186 wx_cv_struct_tm_has_gmtoff
=yes
44189 echo "$as_me: failed program was:" >&5
44190 sed 's/^/| /' conftest.
$ac_ext >&5
44192 wx_cv_struct_tm_has_gmtoff
=no
44196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44199 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44200 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44203 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44204 cat >>confdefs.h
<<\_ACEOF
44205 #define WX_GMTOFF_IN_TM 1
44210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44214 if test "$wxUSE_SOCKETS" = "yes"; then
44215 if test "$wxUSE_MGL" = 1; then
44216 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44217 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44222 if test "$wxUSE_SOCKETS" = "yes"; then
44223 if test "$TOOLKIT" != "MSW"; then
44224 { echo "$as_me:$LINENO: checking for socket" >&5
44225 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44226 if test "${ac_cv_func_socket+set}" = set; then
44227 echo $ECHO_N "(cached) $ECHO_C" >&6
44229 cat >conftest.
$ac_ext <<_ACEOF
44232 cat confdefs.h
>>conftest.
$ac_ext
44233 cat >>conftest.
$ac_ext <<_ACEOF
44234 /* end confdefs.h. */
44235 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44237 #define socket innocuous_socket
44239 /* System header to define __stub macros and hopefully few prototypes,
44240 which can conflict with char socket (); below.
44241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44242 <limits.h> exists even on freestanding compilers. */
44245 # include <limits.h>
44247 # include <assert.h>
44252 /* Override any GCC internal prototype to avoid an error.
44253 Use char because int might match the return type of a GCC
44254 builtin and then its argument prototype would still apply. */
44259 /* The GNU C library defines this for functions which it implements
44260 to always fail with ENOSYS. Some functions are actually named
44261 something starting with __ and the normal name is an alias. */
44262 #if defined __stub_socket || defined __stub___socket
44274 rm -f conftest.
$ac_objext conftest
$ac_exeext
44275 if { (ac_try
="$ac_link"
44276 case "(($ac_try" in
44277 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44278 *) ac_try_echo=$ac_try;;
44280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44281 (eval "$ac_link") 2>conftest.er1
44283 grep -v '^ *+' conftest.er1 >conftest.err
44285 cat conftest.err >&5
44286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44287 (exit $ac_status); } && {
44288 test -z "$ac_c_werror_flag" ||
44289 test ! -s conftest.err
44290 } && test -s conftest$ac_exeext &&
44291 $as_test_x conftest$ac_exeext; then
44292 ac_cv_func_socket=yes
44294 echo "$as_me: failed program was:" >&5
44295 sed 's/^/| /' conftest.$ac_ext >&5
44297 ac_cv_func_socket=no
44300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44301 conftest$ac_exeext conftest.$ac_ext
44303 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44304 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44305 if test $ac_cv_func_socket = yes; then
44309 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44310 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44311 if test "${ac_cv_lib_socket_socket+set}" = set; then
44312 echo $ECHO_N "(cached) $ECHO_C" >&6
44314 ac_check_lib_save_LIBS=$LIBS
44315 LIBS="-lsocket $LIBS"
44316 cat >conftest.$ac_ext <<_ACEOF
44319 cat confdefs.h >>conftest.$ac_ext
44320 cat >>conftest.$ac_ext <<_ACEOF
44321 /* end confdefs.h. */
44323 /* Override any GCC internal prototype to avoid an error.
44324 Use char because int might match the return type of a GCC
44325 builtin and then its argument prototype would still apply. */
44338 rm -f conftest.$ac_objext conftest$ac_exeext
44339 if { (ac_try="$ac_link"
44340 case "(($ac_try" in
44341 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44342 *) ac_try_echo
=$ac_try;;
44344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44345 (eval "$ac_link") 2>conftest.er1
44347 grep -v '^ *+' conftest.er1
>conftest.err
44349 cat conftest.err
>&5
44350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44351 (exit $ac_status); } && {
44352 test -z "$ac_c_werror_flag" ||
44353 test ! -s conftest.err
44354 } && test -s conftest
$ac_exeext &&
44355 $as_test_x conftest
$ac_exeext; then
44356 ac_cv_lib_socket_socket
=yes
44358 echo "$as_me: failed program was:" >&5
44359 sed 's/^/| /' conftest.
$ac_ext >&5
44361 ac_cv_lib_socket_socket
=no
44364 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44365 conftest
$ac_exeext conftest.
$ac_ext
44366 LIBS
=$ac_check_lib_save_LIBS
44368 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44369 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44370 if test $ac_cv_lib_socket_socket = yes; then
44371 if test "$INET_LINK" != " -lsocket"; then
44372 INET_LINK
="$INET_LINK -lsocket"
44376 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44377 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44390 if test "$wxUSE_SOCKETS" = "yes" ; then
44391 if test "$TOOLKIT" != "MSW"; then
44392 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44393 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44394 if test "${wx_cv_type_getsockname3+set}" = set; then
44395 echo $ECHO_N "(cached) $ECHO_C" >&6
44399 ac_cpp
='$CXXCPP $CPPFLAGS'
44400 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44401 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44402 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44404 cat >conftest.
$ac_ext <<_ACEOF
44407 cat confdefs.h
>>conftest.
$ac_ext
44408 cat >>conftest.
$ac_ext <<_ACEOF
44409 /* end confdefs.h. */
44411 #include <sys/types.h>
44412 #include <sys/socket.h>
44419 getsockname(0, 0, &len);
44425 rm -f conftest.
$ac_objext
44426 if { (ac_try
="$ac_compile"
44427 case "(($ac_try" in
44428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44429 *) ac_try_echo=$ac_try;;
44431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44432 (eval "$ac_compile") 2>conftest.er1
44434 grep -v '^ *+' conftest.er1 >conftest.err
44436 cat conftest.err >&5
44437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44438 (exit $ac_status); } && {
44439 test -z "$ac_cxx_werror_flag" ||
44440 test ! -s conftest.err
44441 } && test -s conftest.$ac_objext; then
44442 wx_cv_type_getsockname3=socklen_t
44444 echo "$as_me: failed program was:" >&5
44445 sed 's/^/| /' conftest.$ac_ext >&5
44448 CFLAGS_OLD="$CFLAGS"
44449 if test "$GCC" = yes ; then
44450 CFLAGS="-Werror $CFLAGS"
44453 cat >conftest.$ac_ext <<_ACEOF
44456 cat confdefs.h >>conftest.$ac_ext
44457 cat >>conftest.$ac_ext <<_ACEOF
44458 /* end confdefs.h. */
44460 #include <sys/types.h>
44461 #include <sys/socket.h>
44468 getsockname(0, 0, &len);
44474 rm -f conftest.$ac_objext
44475 if { (ac_try="$ac_compile"
44476 case "(($ac_try" in
44477 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44478 *) ac_try_echo
=$ac_try;;
44480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44481 (eval "$ac_compile") 2>conftest.er1
44483 grep -v '^ *+' conftest.er1
>conftest.err
44485 cat conftest.err
>&5
44486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44487 (exit $ac_status); } && {
44488 test -z "$ac_cxx_werror_flag" ||
44489 test ! -s conftest.err
44490 } && test -s conftest.
$ac_objext; then
44491 wx_cv_type_getsockname3
=size_t
44493 echo "$as_me: failed program was:" >&5
44494 sed 's/^/| /' conftest.
$ac_ext >&5
44496 cat >conftest.
$ac_ext <<_ACEOF
44499 cat confdefs.h
>>conftest.
$ac_ext
44500 cat >>conftest.
$ac_ext <<_ACEOF
44501 /* end confdefs.h. */
44503 #include <sys/types.h>
44504 #include <sys/socket.h>
44511 getsockname(0, 0, &len);
44517 rm -f conftest.
$ac_objext
44518 if { (ac_try
="$ac_compile"
44519 case "(($ac_try" in
44520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44521 *) ac_try_echo=$ac_try;;
44523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44524 (eval "$ac_compile") 2>conftest.er1
44526 grep -v '^ *+' conftest.er1 >conftest.err
44528 cat conftest.err >&5
44529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44530 (exit $ac_status); } && {
44531 test -z "$ac_cxx_werror_flag" ||
44532 test ! -s conftest.err
44533 } && test -s conftest.$ac_objext; then
44534 wx_cv_type_getsockname3=int
44536 echo "$as_me: failed program was:" >&5
44537 sed 's/^/| /' conftest.$ac_ext >&5
44539 wx_cv_type_getsockname3=unknown
44543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44549 CFLAGS="$CFLAGS_OLD"
44554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44556 ac_cpp='$CPP $CPPFLAGS'
44557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44563 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44564 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44566 if test "$wx_cv_type_getsockname3" = "unknown"; then
44568 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44569 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44571 cat >>confdefs.h <<_ACEOF
44572 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44576 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44577 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44578 if test "${wx_cv_type_getsockopt5+set}" = set; then
44579 echo $ECHO_N "(cached) $ECHO_C" >&6
44583 ac_cpp='$CXXCPP $CPPFLAGS'
44584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44588 cat >conftest.$ac_ext <<_ACEOF
44591 cat confdefs.h >>conftest.$ac_ext
44592 cat >>conftest.$ac_ext <<_ACEOF
44593 /* end confdefs.h. */
44595 #include <sys/types.h>
44596 #include <sys/socket.h>
44603 getsockopt(0, 0, 0, 0, &len);
44609 rm -f conftest.$ac_objext
44610 if { (ac_try="$ac_compile"
44611 case "(($ac_try" in
44612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44613 *) ac_try_echo
=$ac_try;;
44615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44616 (eval "$ac_compile") 2>conftest.er1
44618 grep -v '^ *+' conftest.er1
>conftest.err
44620 cat conftest.err
>&5
44621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44622 (exit $ac_status); } && {
44623 test -z "$ac_cxx_werror_flag" ||
44624 test ! -s conftest.err
44625 } && test -s conftest.
$ac_objext; then
44626 wx_cv_type_getsockopt5
=socklen_t
44628 echo "$as_me: failed program was:" >&5
44629 sed 's/^/| /' conftest.
$ac_ext >&5
44632 cat >conftest.
$ac_ext <<_ACEOF
44635 cat confdefs.h
>>conftest.
$ac_ext
44636 cat >>conftest.
$ac_ext <<_ACEOF
44637 /* end confdefs.h. */
44639 #include <sys/types.h>
44640 #include <sys/socket.h>
44647 getsockopt(0, 0, 0, 0, &len);
44653 rm -f conftest.
$ac_objext
44654 if { (ac_try
="$ac_compile"
44655 case "(($ac_try" in
44656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44657 *) ac_try_echo=$ac_try;;
44659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44660 (eval "$ac_compile") 2>conftest.er1
44662 grep -v '^ *+' conftest.er1 >conftest.err
44664 cat conftest.err >&5
44665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44666 (exit $ac_status); } && {
44667 test -z "$ac_cxx_werror_flag" ||
44668 test ! -s conftest.err
44669 } && test -s conftest.$ac_objext; then
44670 wx_cv_type_getsockopt5=size_t
44672 echo "$as_me: failed program was:" >&5
44673 sed 's/^/| /' conftest.$ac_ext >&5
44675 cat >conftest.$ac_ext <<_ACEOF
44678 cat confdefs.h >>conftest.$ac_ext
44679 cat >>conftest.$ac_ext <<_ACEOF
44680 /* end confdefs.h. */
44682 #include <sys/types.h>
44683 #include <sys/socket.h>
44690 getsockopt(0, 0, 0, 0, &len);
44696 rm -f conftest.$ac_objext
44697 if { (ac_try="$ac_compile"
44698 case "(($ac_try" in
44699 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44700 *) ac_try_echo
=$ac_try;;
44702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44703 (eval "$ac_compile") 2>conftest.er1
44705 grep -v '^ *+' conftest.er1
>conftest.err
44707 cat conftest.err
>&5
44708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44709 (exit $ac_status); } && {
44710 test -z "$ac_cxx_werror_flag" ||
44711 test ! -s conftest.err
44712 } && test -s conftest.
$ac_objext; then
44713 wx_cv_type_getsockopt5
=int
44715 echo "$as_me: failed program was:" >&5
44716 sed 's/^/| /' conftest.
$ac_ext >&5
44718 wx_cv_type_getsockopt5
=unknown
44722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44733 ac_cpp
='$CPP $CPPFLAGS'
44734 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44735 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44736 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44740 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44741 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44743 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44745 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44746 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44748 cat >>confdefs.h
<<_ACEOF
44749 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44756 if test "$wxUSE_SOCKETS" = "yes" ; then
44757 if test "$wxUSE_IPV6" = "yes"; then
44758 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44759 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44760 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44761 echo $ECHO_N "(cached) $ECHO_C" >&6
44764 cat >conftest.
$ac_ext <<_ACEOF
44767 cat confdefs.h
>>conftest.
$ac_ext
44768 cat >>conftest.
$ac_ext <<_ACEOF
44769 /* end confdefs.h. */
44771 #include <sys/types.h>
44772 #include <sys/socket.h>
44773 #include <netinet/in.h>
44779 struct sockaddr_in6 sa6;
44785 rm -f conftest.
$ac_objext
44786 if { (ac_try
="$ac_compile"
44787 case "(($ac_try" in
44788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44789 *) ac_try_echo=$ac_try;;
44791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44792 (eval "$ac_compile") 2>conftest.er1
44794 grep -v '^ *+' conftest.er1 >conftest.err
44796 cat conftest.err >&5
44797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44798 (exit $ac_status); } && {
44799 test -z "$ac_c_werror_flag" ||
44800 test ! -s conftest.err
44801 } && test -s conftest.$ac_objext; then
44802 wx_cv_type_sockaddr_in6=yes
44804 echo "$as_me: failed program was:" >&5
44805 sed 's/^/| /' conftest.$ac_ext >&5
44807 wx_cv_type_sockaddr_in6=no
44811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44815 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44816 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44818 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44819 cat >>confdefs.h <<\_ACEOF
44820 #define wxUSE_IPV6 1
44824 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44825 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44829 cat >>confdefs.h <<\_ACEOF
44830 #define wxUSE_SOCKETS 1
44833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44836 if test "$wxUSE_PROTOCOL" = "yes"; then
44837 if test "$wxUSE_SOCKETS" != "yes"; then
44838 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44839 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44844 if test "$wxUSE_PROTOCOL" = "yes"; then
44845 cat >>confdefs.h <<\_ACEOF
44846 #define wxUSE_PROTOCOL 1
44850 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44851 cat >>confdefs.h <<\_ACEOF
44852 #define wxUSE_PROTOCOL_HTTP 1
44856 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44857 cat >>confdefs.h <<\_ACEOF
44858 #define wxUSE_PROTOCOL_FTP 1
44862 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44863 cat >>confdefs.h <<\_ACEOF
44864 #define wxUSE_PROTOCOL_FILE 1
44869 if test "$wxUSE_FS_INET" = "yes"; then
44870 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44871 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44876 if test "$wxUSE_URL" = "yes"; then
44877 if test "$wxUSE_PROTOCOL" != "yes"; then
44878 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44879 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44882 if test "$wxUSE_URL" = "yes"; then
44883 cat >>confdefs.h <<\_ACEOF
44884 #define wxUSE_URL 1
44890 if test "$wxUSE_VARIANT" = "yes"; then
44891 cat >>confdefs.h <<\_ACEOF
44892 #define wxUSE_VARIANT 1
44897 if test "$wxUSE_FS_INET" = "yes"; then
44898 cat >>confdefs.h <<\_ACEOF
44899 #define wxUSE_FS_INET 1
44905 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44908 if test "$TOOLKIT" = "MSW"; then
44911 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44912 if test "$USE_DARWIN" = 1; then
44913 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44914 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44916 ac_cpp='$CXXCPP $CPPFLAGS'
44917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44921 cat >conftest.$ac_ext <<_ACEOF
44924 cat confdefs.h >>conftest.$ac_ext
44925 cat >>conftest.$ac_ext <<_ACEOF
44926 /* end confdefs.h. */
44927 #include <IOKit/hid/IOHIDLib.h>
44931 IOHIDQueueInterface *qi = NULL;
44932 IOHIDCallbackFunction cb = NULL;
44933 qi->setEventCallout(NULL, cb, NULL, NULL);
44938 rm -f conftest.$ac_objext
44939 if { (ac_try="$ac_compile"
44940 case "(($ac_try" in
44941 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44942 *) ac_try_echo
=$ac_try;;
44944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44945 (eval "$ac_compile") 2>conftest.er1
44947 grep -v '^ *+' conftest.er1
>conftest.err
44949 cat conftest.err
>&5
44950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44951 (exit $ac_status); } && {
44952 test -z "$ac_cxx_werror_flag" ||
44953 test ! -s conftest.err
44954 } && test -s conftest.
$ac_objext; then
44958 echo "$as_me: failed program was:" >&5
44959 sed 's/^/| /' conftest.
$ac_ext >&5
44964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44966 ac_cpp
='$CPP $CPPFLAGS'
44967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44971 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44972 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44976 if test "$wxUSE_MGL" != 1; then
44978 for ac_header
in linux
/joystick.h
44980 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44981 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44983 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44984 echo $ECHO_N "(cached) $ECHO_C" >&6
44986 cat >conftest.
$ac_ext <<_ACEOF
44989 cat confdefs.h
>>conftest.
$ac_ext
44990 cat >>conftest.
$ac_ext <<_ACEOF
44991 /* end confdefs.h. */
44992 $ac_includes_default
44994 #include <$ac_header>
44996 rm -f conftest.
$ac_objext
44997 if { (ac_try
="$ac_compile"
44998 case "(($ac_try" in
44999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45000 *) ac_try_echo=$ac_try;;
45002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45003 (eval "$ac_compile") 2>conftest.er1
45005 grep -v '^ *+' conftest.er1 >conftest.err
45007 cat conftest.err >&5
45008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45009 (exit $ac_status); } && {
45010 test -z "$ac_c_werror_flag" ||
45011 test ! -s conftest.err
45012 } && test -s conftest.$ac_objext; then
45013 eval "$as_ac_Header=yes"
45015 echo "$as_me: failed program was:" >&5
45016 sed 's/^/| /' conftest.$ac_ext >&5
45018 eval "$as_ac_Header=no"
45021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45023 ac_res=`eval echo '${'$as_ac_Header'}'`
45024 { echo "$as_me:$LINENO: result: $ac_res" >&5
45025 echo "${ECHO_T}$ac_res" >&6; }
45026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45027 cat >>confdefs.h <<_ACEOF
45028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45038 if test "$wxUSE_JOYSTICK" = "yes"; then
45039 cat >>confdefs.h <<\_ACEOF
45040 #define wxUSE_JOYSTICK 1
45043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45045 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45046 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45052 if test "$wxUSE_FONTENUM" = "yes" ; then
45053 cat >>confdefs.h <<\_ACEOF
45054 #define wxUSE_FONTENUM 1
45059 if test "$wxUSE_FONTMAP" = "yes" ; then
45060 cat >>confdefs.h <<\_ACEOF
45061 #define wxUSE_FONTMAP 1
45066 if test "$wxUSE_UNICODE" = "yes" ; then
45067 cat >>confdefs.h <<\_ACEOF
45068 #define wxUSE_UNICODE 1
45072 if test "$USE_WIN32" != 1; then
45073 wxUSE_UNICODE_MSLU=no
45076 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45077 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45078 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45079 if test "${ac_cv_lib_unicows_main+set}" = set; then
45080 echo $ECHO_N "(cached) $ECHO_C" >&6
45082 ac_check_lib_save_LIBS=$LIBS
45083 LIBS="-lunicows $LIBS"
45084 cat >conftest.$ac_ext <<_ACEOF
45087 cat confdefs.h >>conftest.$ac_ext
45088 cat >>conftest.$ac_ext <<_ACEOF
45089 /* end confdefs.h. */
45100 rm -f conftest.$ac_objext conftest$ac_exeext
45101 if { (ac_try="$ac_link"
45102 case "(($ac_try" in
45103 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45104 *) ac_try_echo
=$ac_try;;
45106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45107 (eval "$ac_link") 2>conftest.er1
45109 grep -v '^ *+' conftest.er1
>conftest.err
45111 cat conftest.err
>&5
45112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45113 (exit $ac_status); } && {
45114 test -z "$ac_c_werror_flag" ||
45115 test ! -s conftest.err
45116 } && test -s conftest
$ac_exeext &&
45117 $as_test_x conftest
$ac_exeext; then
45118 ac_cv_lib_unicows_main
=yes
45120 echo "$as_me: failed program was:" >&5
45121 sed 's/^/| /' conftest.
$ac_ext >&5
45123 ac_cv_lib_unicows_main
=no
45126 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45127 conftest
$ac_exeext conftest.
$ac_ext
45128 LIBS
=$ac_check_lib_save_LIBS
45130 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45131 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45132 if test $ac_cv_lib_unicows_main = yes; then
45134 cat >>confdefs.h
<<\_ACEOF
45135 #define wxUSE_UNICODE_MSLU 1
45141 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45142 Applications will only run on Windows NT/2000/XP!" >&5
45143 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45144 Applications will only run on Windows NT/2000/XP!" >&2;}
45145 wxUSE_UNICODE_MSLU
=no
45152 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45153 cat >>confdefs.h
<<\_ACEOF
45154 #define wxUSE_UNICODE_UTF8 1
45158 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45159 cat >>confdefs.h
<<\_ACEOF
45160 #define wxUSE_UTF8_LOCALE_ONLY 1
45167 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45168 cat >>confdefs.h
<<\_ACEOF
45169 #define wxUSE_CONSTRAINTS 1
45172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45175 if test "$wxUSE_MDI" = "yes"; then
45176 cat >>confdefs.h
<<\_ACEOF
45177 #define wxUSE_MDI 1
45181 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45182 cat >>confdefs.h
<<\_ACEOF
45183 #define wxUSE_MDI_ARCHITECTURE 1
45186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45190 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45191 cat >>confdefs.h
<<\_ACEOF
45192 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45198 if test "$wxUSE_HELP" = "yes"; then
45199 cat >>confdefs.h
<<\_ACEOF
45200 #define wxUSE_HELP 1
45203 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45205 if test "$wxUSE_MSW" = 1; then
45206 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45207 cat >>confdefs.h
<<\_ACEOF
45208 #define wxUSE_MS_HTML_HELP 1
45214 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45215 if test "$wxUSE_HTML" = "yes"; then
45216 cat >>confdefs.h
<<\_ACEOF
45217 #define wxUSE_WXHTML_HELP 1
45221 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45222 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45223 wxUSE_WXHTML_HELP
=no
45228 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45229 cat >>confdefs.h
<<\_ACEOF
45230 #define wxUSE_PRINTING_ARCHITECTURE 1
45233 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45236 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45237 cat >>confdefs.h
<<\_ACEOF
45238 #define wxUSE_POSTSCRIPT 1
45243 cat >>confdefs.h
<<\_ACEOF
45244 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45248 if test "$wxUSE_SVG" = "yes"; then
45249 cat >>confdefs.h
<<\_ACEOF
45250 #define wxUSE_SVG 1
45256 if test "$wxUSE_METAFILE" = "yes"; then
45257 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45258 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45259 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45265 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45266 -o "$wxUSE_CLIPBOARD" = "yes" \
45267 -o "$wxUSE_OLE" = "yes" \
45268 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45269 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45270 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45271 if test "${ac_cv_header_ole2_h+set}" = set; then
45272 echo $ECHO_N "(cached) $ECHO_C" >&6
45274 cat >conftest.
$ac_ext <<_ACEOF
45277 cat confdefs.h
>>conftest.
$ac_ext
45278 cat >>conftest.
$ac_ext <<_ACEOF
45279 /* end confdefs.h. */
45284 rm -f conftest.
$ac_objext
45285 if { (ac_try
="$ac_compile"
45286 case "(($ac_try" in
45287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45288 *) ac_try_echo=$ac_try;;
45290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45291 (eval "$ac_compile") 2>conftest.er1
45293 grep -v '^ *+' conftest.er1 >conftest.err
45295 cat conftest.err >&5
45296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45297 (exit $ac_status); } && {
45298 test -z "$ac_c_werror_flag" ||
45299 test ! -s conftest.err
45300 } && test -s conftest.$ac_objext; then
45301 ac_cv_header_ole2_h=yes
45303 echo "$as_me: failed program was:" >&5
45304 sed 's/^/| /' conftest.$ac_ext >&5
45306 ac_cv_header_ole2_h=no
45309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45311 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45312 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45316 if test "$ac_cv_header_ole2_h" = "yes" ; then
45317 if test "$GCC" = yes ; then
45318 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45319 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45320 cat >conftest.$ac_ext <<_ACEOF
45323 cat confdefs.h >>conftest.$ac_ext
45324 cat >>conftest.$ac_ext <<_ACEOF
45325 /* end confdefs.h. */
45326 #include <windows.h>
45336 rm -f conftest.$ac_objext
45337 if { (ac_try="$ac_compile"
45338 case "(($ac_try" in
45339 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45340 *) ac_try_echo
=$ac_try;;
45342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45343 (eval "$ac_compile") 2>conftest.er1
45345 grep -v '^ *+' conftest.er1
>conftest.err
45347 cat conftest.err
>&5
45348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45349 (exit $ac_status); } && {
45350 test -z "$ac_c_werror_flag" ||
45351 test ! -s conftest.err
45352 } && test -s conftest.
$ac_objext; then
45353 { echo "$as_me:$LINENO: result: no" >&5
45354 echo "${ECHO_T}no" >&6; }
45356 echo "$as_me: failed program was:" >&5
45357 sed 's/^/| /' conftest.
$ac_ext >&5
45359 { echo "$as_me:$LINENO: result: yes" >&5
45360 echo "${ECHO_T}yes" >&6; }
45361 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45365 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45366 if test "$wxUSE_OLE" = "yes" ; then
45367 cat >>confdefs.h
<<\_ACEOF
45368 #define wxUSE_OLE 1
45371 cat >>confdefs.h
<<\_ACEOF
45372 #define wxUSE_OLE_AUTOMATION 1
45375 cat >>confdefs.h
<<\_ACEOF
45376 #define wxUSE_ACTIVEX 1
45379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45383 if test "$wxUSE_DATAOBJ" = "yes" ; then
45384 cat >>confdefs.h
<<\_ACEOF
45385 #define wxUSE_DATAOBJ 1
45390 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45391 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45394 wxUSE_DRAG_AND_DROP
=no
45399 if test "$wxUSE_METAFILE" = "yes"; then
45400 cat >>confdefs.h
<<\_ACEOF
45401 #define wxUSE_METAFILE 1
45405 cat >>confdefs.h
<<\_ACEOF
45406 #define wxUSE_ENH_METAFILE 1
45412 if test "$wxUSE_IPC" = "yes"; then
45413 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45414 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45415 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45419 if test "$wxUSE_IPC" = "yes"; then
45420 cat >>confdefs.h
<<\_ACEOF
45421 #define wxUSE_IPC 1
45424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45428 if test "$wxUSE_DATAOBJ" = "yes"; then
45429 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45430 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45431 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45434 cat >>confdefs.h
<<\_ACEOF
45435 #define wxUSE_DATAOBJ 1
45440 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45441 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45443 wxUSE_DRAG_AND_DROP
=no
45446 if test "$wxUSE_CLIPBOARD" = "yes"; then
45447 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45448 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45449 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45453 if test "$wxUSE_CLIPBOARD" = "yes"; then
45454 cat >>confdefs.h
<<\_ACEOF
45455 #define wxUSE_CLIPBOARD 1
45461 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45462 if test "$wxUSE_GTK" = 1; then
45463 if test "$WXGTK12" != 1; then
45464 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45465 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45466 wxUSE_DRAG_AND_DROP
=no
45470 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45471 "$wxUSE_DFB" = 1; then
45472 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45473 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45474 wxUSE_DRAG_AND_DROP
=no
45477 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45478 cat >>confdefs.h
<<\_ACEOF
45479 #define wxUSE_DRAG_AND_DROP 1
45486 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45490 if test "$wxUSE_CLIPBOARD" = "yes"; then
45491 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
45494 if test "$wxUSE_SPLINES" = "yes" ; then
45495 cat >>confdefs.h
<<\_ACEOF
45496 #define wxUSE_SPLINES 1
45501 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45502 cat >>confdefs.h
<<\_ACEOF
45503 #define wxUSE_MOUSEWHEEL 1
45510 if test "$wxUSE_CONTROLS" = "yes"; then
45514 if test "$wxUSE_ACCEL" = "yes"; then
45515 cat >>confdefs.h
<<\_ACEOF
45516 #define wxUSE_ACCEL 1
45522 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45523 cat >>confdefs.h
<<\_ACEOF
45524 #define wxUSE_ANIMATIONCTRL 1
45528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45531 if test "$wxUSE_BUTTON" = "yes"; then
45532 cat >>confdefs.h
<<\_ACEOF
45533 #define wxUSE_BUTTON 1
45539 if test "$wxUSE_BMPBUTTON" = "yes"; then
45540 cat >>confdefs.h
<<\_ACEOF
45541 #define wxUSE_BMPBUTTON 1
45547 if test "$wxUSE_CALCTRL" = "yes"; then
45548 cat >>confdefs.h
<<\_ACEOF
45549 #define wxUSE_CALENDARCTRL 1
45553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45556 if test "$wxUSE_CARET" = "yes"; then
45557 cat >>confdefs.h
<<\_ACEOF
45558 #define wxUSE_CARET 1
45562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45565 if test "$wxUSE_COLLPANE" = "yes"; then
45566 cat >>confdefs.h
<<\_ACEOF
45567 #define wxUSE_COLLPANE 1
45571 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45574 if test "$wxUSE_COMBOBOX" = "yes"; then
45575 cat >>confdefs.h
<<\_ACEOF
45576 #define wxUSE_COMBOBOX 1
45582 if test "$wxUSE_COMBOCTRL" = "yes"; then
45583 cat >>confdefs.h
<<\_ACEOF
45584 #define wxUSE_COMBOCTRL 1
45590 if test "$wxUSE_CHOICE" = "yes"; then
45591 cat >>confdefs.h
<<\_ACEOF
45592 #define wxUSE_CHOICE 1
45598 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45599 cat >>confdefs.h
<<\_ACEOF
45600 #define wxUSE_CHOICEBOOK 1
45606 if test "$wxUSE_CHECKBOX" = "yes"; then
45607 cat >>confdefs.h
<<\_ACEOF
45608 #define wxUSE_CHECKBOX 1
45614 if test "$wxUSE_CHECKLST" = "yes"; then
45615 cat >>confdefs.h
<<\_ACEOF
45616 #define wxUSE_CHECKLISTBOX 1
45622 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45623 cat >>confdefs.h
<<\_ACEOF
45624 #define wxUSE_COLOURPICKERCTRL 1
45630 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45631 cat >>confdefs.h
<<\_ACEOF
45632 #define wxUSE_DATEPICKCTRL 1
45638 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45639 cat >>confdefs.h
<<\_ACEOF
45640 #define wxUSE_DIRPICKERCTRL 1
45646 if test "$wxUSE_FILECTRL" = "yes"; then
45647 cat >>confdefs.h
<<\_ACEOF
45648 #define wxUSE_FILECTRL 1
45654 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45655 cat >>confdefs.h
<<\_ACEOF
45656 #define wxUSE_FILEPICKERCTRL 1
45662 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45663 cat >>confdefs.h
<<\_ACEOF
45664 #define wxUSE_FONTPICKERCTRL 1
45670 if test "$wxUSE_DISPLAY" = "yes"; then
45671 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45672 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45673 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45676 cat >>confdefs.h
<<\_ACEOF
45677 #define wxUSE_DISPLAY 1
45680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45684 if test "$wxUSE_DETECT_SM" = "yes"; then
45685 cat >>confdefs.h
<<\_ACEOF
45686 #define wxUSE_DETECT_SM 1
45691 if test "$wxUSE_GAUGE" = "yes"; then
45692 cat >>confdefs.h
<<\_ACEOF
45693 #define wxUSE_GAUGE 1
45699 if test "$wxUSE_GRID" = "yes"; then
45700 cat >>confdefs.h
<<\_ACEOF
45701 #define wxUSE_GRID 1
45705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45708 if test "$wxUSE_HEADERCTRL" = "yes"; then
45709 cat >>confdefs.h
<<\_ACEOF
45710 #define wxUSE_HEADERCTRL 1
45716 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45717 cat >>confdefs.h
<<\_ACEOF
45718 #define wxUSE_HYPERLINKCTRL 1
45724 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45725 cat >>confdefs.h
<<\_ACEOF
45726 #define wxUSE_BITMAPCOMBOBOX 1
45732 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45733 cat >>confdefs.h
<<\_ACEOF
45734 #define wxUSE_DATAVIEWCTRL 1
45738 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45741 if test "$wxUSE_IMAGLIST" = "yes"; then
45742 cat >>confdefs.h
<<\_ACEOF
45743 #define wxUSE_IMAGLIST 1
45748 if test "$wxUSE_LISTBOOK" = "yes"; then
45749 cat >>confdefs.h
<<\_ACEOF
45750 #define wxUSE_LISTBOOK 1
45756 if test "$wxUSE_LISTBOX" = "yes"; then
45757 cat >>confdefs.h
<<\_ACEOF
45758 #define wxUSE_LISTBOX 1
45764 if test "$wxUSE_LISTCTRL" = "yes"; then
45765 if test "$wxUSE_IMAGLIST" = "yes"; then
45766 cat >>confdefs.h
<<\_ACEOF
45767 #define wxUSE_LISTCTRL 1
45771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45773 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45774 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45778 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45779 cat >>confdefs.h
<<\_ACEOF
45780 #define wxUSE_EDITABLELISTBOX 1
45786 if test "$wxUSE_NOTEBOOK" = "yes"; then
45787 cat >>confdefs.h
<<\_ACEOF
45788 #define wxUSE_NOTEBOOK 1
45792 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45795 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45796 cat >>confdefs.h
<<\_ACEOF
45797 #define wxUSE_NOTIFICATION_MESSAGE 1
45802 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45803 cat >>confdefs.h
<<\_ACEOF
45804 #define wxUSE_ODCOMBOBOX 1
45808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45811 if test "$wxUSE_RADIOBOX" = "yes"; then
45812 cat >>confdefs.h
<<\_ACEOF
45813 #define wxUSE_RADIOBOX 1
45819 if test "$wxUSE_RADIOBTN" = "yes"; then
45820 cat >>confdefs.h
<<\_ACEOF
45821 #define wxUSE_RADIOBTN 1
45827 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45828 cat >>confdefs.h
<<\_ACEOF
45829 #define wxUSE_REARRANGECTRL 1
45834 if test "$wxUSE_SASH" = "yes"; then
45835 cat >>confdefs.h
<<\_ACEOF
45836 #define wxUSE_SASH 1
45839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45842 if test "$wxUSE_SCROLLBAR" = "yes"; then
45843 cat >>confdefs.h
<<\_ACEOF
45844 #define wxUSE_SCROLLBAR 1
45848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
45851 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45852 cat >>confdefs.h
<<\_ACEOF
45853 #define wxUSE_SEARCHCTRL 1
45859 if test "$wxUSE_SLIDER" = "yes"; then
45860 cat >>confdefs.h
<<\_ACEOF
45861 #define wxUSE_SLIDER 1
45867 if test "$wxUSE_SPINBTN" = "yes"; then
45868 cat >>confdefs.h
<<\_ACEOF
45869 #define wxUSE_SPINBTN 1
45875 if test "$wxUSE_SPINCTRL" = "yes"; then
45876 cat >>confdefs.h
<<\_ACEOF
45877 #define wxUSE_SPINCTRL 1
45883 if test "$wxUSE_SPLITTER" = "yes"; then
45884 cat >>confdefs.h
<<\_ACEOF
45885 #define wxUSE_SPLITTER 1
45888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
45891 if test "$wxUSE_STATBMP" = "yes"; then
45892 cat >>confdefs.h
<<\_ACEOF
45893 #define wxUSE_STATBMP 1
45899 if test "$wxUSE_STATBOX" = "yes"; then
45900 cat >>confdefs.h
<<\_ACEOF
45901 #define wxUSE_STATBOX 1
45907 if test "$wxUSE_STATTEXT" = "yes"; then
45908 cat >>confdefs.h
<<\_ACEOF
45909 #define wxUSE_STATTEXT 1
45915 if test "$wxUSE_STATLINE" = "yes"; then
45916 cat >>confdefs.h
<<\_ACEOF
45917 #define wxUSE_STATLINE 1
45923 if test "$wxUSE_STATUSBAR" = "yes"; then
45924 cat >>confdefs.h
<<\_ACEOF
45925 #define wxUSE_NATIVE_STATUSBAR 1
45928 cat >>confdefs.h
<<\_ACEOF
45929 #define wxUSE_STATUSBAR 1
45934 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
45937 if test "$wxUSE_TEXTCTRL" = "yes"; then
45938 cat >>confdefs.h
<<\_ACEOF
45939 #define wxUSE_TEXTCTRL 1
45943 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
45945 cat >>confdefs.h
<<\_ACEOF
45946 #define wxUSE_RICHEDIT 1
45949 cat >>confdefs.h
<<\_ACEOF
45950 #define wxUSE_RICHEDIT2 1
45955 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45956 if test "$wxUSE_COCOA" = 1 ; then
45957 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45958 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45962 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45963 cat >>confdefs.h
<<\_ACEOF
45964 #define wxUSE_TOGGLEBTN 1
45971 if test "$wxUSE_TOOLBAR" = "yes"; then
45972 cat >>confdefs.h
<<\_ACEOF
45973 #define wxUSE_TOOLBAR 1
45978 if test "$wxUSE_UNIVERSAL" = "yes"; then
45979 wxUSE_TOOLBAR_NATIVE
="no"
45981 wxUSE_TOOLBAR_NATIVE
="yes"
45982 cat >>confdefs.h
<<\_ACEOF
45983 #define wxUSE_TOOLBAR_NATIVE 1
45988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
45991 if test "$wxUSE_TOOLTIPS" = "yes"; then
45992 if test "$wxUSE_MOTIF" = 1; then
45993 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45994 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45996 if test "$wxUSE_UNIVERSAL" = "yes"; then
45997 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45998 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46000 cat >>confdefs.h
<<\_ACEOF
46001 #define wxUSE_TOOLTIPS 1
46008 if test "$wxUSE_TREEBOOK" = "yes"; then
46009 cat >>confdefs.h
<<\_ACEOF
46010 #define wxUSE_TREEBOOK 1
46016 if test "$wxUSE_TOOLBOOK" = "yes"; then
46017 cat >>confdefs.h
<<\_ACEOF
46018 #define wxUSE_TOOLBOOK 1
46024 if test "$wxUSE_TREECTRL" = "yes"; then
46025 if test "$wxUSE_IMAGLIST" = "yes"; then
46026 cat >>confdefs.h
<<\_ACEOF
46027 #define wxUSE_TREECTRL 1
46031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46033 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46034 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46038 if test "$wxUSE_POPUPWIN" = "yes"; then
46039 if test "$wxUSE_COCOA" = 1 ; then
46040 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46041 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46043 if test "$wxUSE_PM" = 1; then
46044 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46045 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46047 cat >>confdefs.h
<<\_ACEOF
46048 #define wxUSE_POPUPWIN 1
46051 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46058 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46059 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46060 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46061 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46063 cat >>confdefs.h
<<\_ACEOF
46064 #define wxUSE_DIALUP_MANAGER 1
46067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46071 if test "$wxUSE_TIPWINDOW" = "yes"; then
46072 if test "$wxUSE_PM" = 1; then
46073 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46074 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46076 cat >>confdefs.h
<<\_ACEOF
46077 #define wxUSE_TIPWINDOW 1
46083 if test "$USES_CONTROLS" = 1; then
46084 cat >>confdefs.h
<<\_ACEOF
46085 #define wxUSE_CONTROLS 1
46091 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46092 cat >>confdefs.h
<<\_ACEOF
46093 #define wxUSE_ACCESSIBILITY 1
46096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46099 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46100 cat >>confdefs.h
<<\_ACEOF
46101 #define wxUSE_DRAGIMAGE 1
46104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46107 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46108 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46109 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46110 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46112 cat >>confdefs.h
<<\_ACEOF
46113 #define wxUSE_EXCEPTIONS 1
46116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46121 if test "$wxUSE_HTML" = "yes"; then
46122 cat >>confdefs.h
<<\_ACEOF
46123 #define wxUSE_HTML 1
46127 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46129 if test "$wxUSE_WEBKIT" = "yes"; then
46130 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46131 old_CPPFLAGS
="$CPPFLAGS"
46132 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46133 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46134 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46135 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46136 echo $ECHO_N "(cached) $ECHO_C" >&6
46138 cat >conftest.
$ac_ext <<_ACEOF
46141 cat confdefs.h
>>conftest.
$ac_ext
46142 cat >>conftest.
$ac_ext <<_ACEOF
46143 /* end confdefs.h. */
46145 #include <Carbon/Carbon.h>
46146 #include <WebKit/WebKit.h>
46149 #include <WebKit/HIWebView.h>
46151 rm -f conftest.
$ac_objext
46152 if { (ac_try
="$ac_compile"
46153 case "(($ac_try" in
46154 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46155 *) ac_try_echo=$ac_try;;
46157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46158 (eval "$ac_compile") 2>conftest.er1
46160 grep -v '^ *+' conftest.er1 >conftest.err
46162 cat conftest.err >&5
46163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46164 (exit $ac_status); } && {
46165 test -z "$ac_c_werror_flag" ||
46166 test ! -s conftest.err
46167 } && test -s conftest.$ac_objext; then
46168 ac_cv_header_WebKit_HIWebView_h=yes
46170 echo "$as_me: failed program was:" >&5
46171 sed 's/^/| /' conftest.$ac_ext >&5
46173 ac_cv_header_WebKit_HIWebView_h=no
46176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46178 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46179 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46180 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46182 cat >>confdefs.h <<\_ACEOF
46183 #define wxUSE_WEBKIT 1
46186 WEBKIT_LINK="-framework WebKit"
46190 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46191 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46197 CPPFLAGS="$old_CPPFLAGS"
46198 elif test "$wxUSE_COCOA" = 1; then
46199 cat >>confdefs.h <<\_ACEOF
46200 #define wxUSE_WEBKIT 1
46206 if test "$wxUSE_WEBKIT" = "yes"; then
46207 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46212 if test "$wxUSE_XRC" = "yes"; then
46213 if test "$wxUSE_XML" != "yes"; then
46214 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46215 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46218 cat >>confdefs.h <<\_ACEOF
46219 #define wxUSE_XRC 1
46223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46228 if test "$wxUSE_AUI" = "yes"; then
46229 cat >>confdefs.h <<\_ACEOF
46230 #define wxUSE_AUI 1
46234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46238 if test "$wxUSE_PROPGRID" = "yes"; then
46239 cat >>confdefs.h <<\_ACEOF
46240 #define wxUSE_PROPGRID 1
46244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46248 if test "$wxUSE_STC" = "yes"; then
46249 cat >>confdefs.h <<\_ACEOF
46250 #define wxUSE_STC 1
46254 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46256 # Extract the first word of "python", so it can be a program name with args.
46257 set dummy python; ac_word=$2
46258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46260 if test "${ac_cv_path_PYTHON+set}" = set; then
46261 echo $ECHO_N "(cached) $ECHO_C" >&6
46265 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46269 for as_dir in $PATH
46272 test -z "$as_dir" && as_dir=.
46273 for ac_exec_ext in '' $ac_executable_extensions; do
46274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46275 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46286 PYTHON=$ac_cv_path_PYTHON
46287 if test -n "$PYTHON"; then
46288 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46289 echo "${ECHO_T}$PYTHON" >&6; }
46291 { echo "$as_me:$LINENO: result: no" >&5
46292 echo "${ECHO_T}no" >&6; }
46296 if test "x$PYTHON" = "x"; then
46302 if test "$wxUSE_MENUS" = "yes"; then
46303 cat >>confdefs.h <<\_ACEOF
46304 #define wxUSE_MENUS 1
46307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46310 if test "$wxUSE_METAFILE" = "yes"; then
46311 cat >>confdefs.h <<\_ACEOF
46312 #define wxUSE_METAFILE 1
46317 if test "$wxUSE_MIMETYPE" = "yes"; then
46318 cat >>confdefs.h <<\_ACEOF
46319 #define wxUSE_MIMETYPE 1
46324 if test "$wxUSE_MINIFRAME" = "yes"; then
46325 cat >>confdefs.h <<\_ACEOF
46326 #define wxUSE_MINIFRAME 1
46331 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46332 cat >>confdefs.h <<\_ACEOF
46333 #define wxUSE_SYSTEM_OPTIONS 1
46338 if test "$wxUSE_TASKBARICON" = "yes"; then
46339 cat >>confdefs.h <<\_ACEOF
46340 #define wxUSE_TASKBARICON 1
46343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46347 if test "$wxUSE_VALIDATORS" = "yes"; then
46348 cat >>confdefs.h <<\_ACEOF
46349 #define wxUSE_VALIDATORS 1
46352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46355 if test "$wxUSE_PALETTE" = "yes" ; then
46356 if test "$wxUSE_DFB" = 1; then
46357 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46358 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46361 cat >>confdefs.h <<\_ACEOF
46362 #define wxUSE_PALETTE 1
46368 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46369 LIBS=" -lunicows $LIBS"
46373 if test "$wxUSE_RICHTEXT" = "yes"; then
46374 cat >>confdefs.h <<\_ACEOF
46375 #define wxUSE_RICHTEXT 1
46379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46383 if test "$wxUSE_IMAGE" = "yes" ; then
46384 cat >>confdefs.h <<\_ACEOF
46385 #define wxUSE_IMAGE 1
46389 if test "$wxUSE_GIF" = "yes" ; then
46390 cat >>confdefs.h <<\_ACEOF
46391 #define wxUSE_GIF 1
46396 if test "$wxUSE_PCX" = "yes" ; then
46397 cat >>confdefs.h <<\_ACEOF
46398 #define wxUSE_PCX 1
46403 if test "$wxUSE_TGA" = "yes" ; then
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_TGA 1
46410 if test "$wxUSE_IFF" = "yes" ; then
46411 cat >>confdefs.h <<\_ACEOF
46412 #define wxUSE_IFF 1
46417 if test "$wxUSE_PNM" = "yes" ; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_PNM 1
46424 if test "$wxUSE_XPM" = "yes" ; then
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_XPM 1
46431 if test "$wxUSE_ICO_CUR" = "yes" ; then
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_ICO_CUR 1
46440 if test "$wxUSE_ABOUTDLG" = "yes"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_ABOUTDLG 1
46447 if test "$wxUSE_CHOICEDLG" = "yes"; then
46448 cat >>confdefs.h <<\_ACEOF
46449 #define wxUSE_CHOICEDLG 1
46454 if test "$wxUSE_COLOURDLG" = "yes"; then
46455 cat >>confdefs.h <<\_ACEOF
46456 #define wxUSE_COLOURDLG 1
46461 if test "$wxUSE_FILEDLG" = "yes"; then
46462 cat >>confdefs.h <<\_ACEOF
46463 #define wxUSE_FILEDLG 1
46468 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46469 cat >>confdefs.h <<\_ACEOF
46470 #define wxUSE_FINDREPLDLG 1
46475 if test "$wxUSE_FONTDLG" = "yes"; then
46476 cat >>confdefs.h <<\_ACEOF
46477 #define wxUSE_FONTDLG 1
46482 if test "$wxUSE_DIRDLG" = "yes"; then
46483 if test "$wxUSE_TREECTRL" != "yes"; then
46484 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46485 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46487 cat >>confdefs.h <<\_ACEOF
46488 #define wxUSE_DIRDLG 1
46494 if test "$wxUSE_MSGDLG" = "yes"; then
46495 cat >>confdefs.h <<\_ACEOF
46496 #define wxUSE_MSGDLG 1
46501 if test "$wxUSE_NUMBERDLG" = "yes"; then
46502 cat >>confdefs.h <<\_ACEOF
46503 #define wxUSE_NUMBERDLG 1
46508 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46509 cat >>confdefs.h <<\_ACEOF
46510 #define wxUSE_PROGRESSDLG 1
46515 if test "$wxUSE_SPLASH" = "yes"; then
46516 cat >>confdefs.h <<\_ACEOF
46517 #define wxUSE_SPLASH 1
46520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46523 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46524 cat >>confdefs.h <<\_ACEOF
46525 #define wxUSE_STARTUP_TIPS 1
46530 if test "$wxUSE_TEXTDLG" = "yes"; then
46531 cat >>confdefs.h <<\_ACEOF
46532 #define wxUSE_TEXTDLG 1
46537 if test "$wxUSE_WIZARDDLG" = "yes"; then
46538 cat >>confdefs.h <<\_ACEOF
46539 #define wxUSE_WIZARDDLG 1
46542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46546 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46547 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46548 cat >>confdefs.h <<\_ACEOF
46549 #define wxUSE_OWNER_DRAWN 1
46556 if test "$wxUSE_MSW" = 1 ; then
46558 if test "$wxUSE_DC_CACHEING" = "yes"; then
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_DC_CACHEING 1
46565 if test "$wxUSE_DIB" = "yes"; then
46566 cat >>confdefs.h <<\_ACEOF
46567 #define wxUSE_WXDIB 1
46572 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46579 if test "$wxUSE_UXTHEME" = "yes"; then
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_UXTHEME 1
46588 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46589 cat >>confdefs.h <<\_ACEOF
46590 #define wxUSE_AUTOID_MANAGEMENT 1
46595 if test "$USE_WIN32" = 1 ; then
46596 if test "$wxUSE_INICONF" = "yes"; then
46597 cat >>confdefs.h <<\_ACEOF
46598 #define wxUSE_INICONF 1
46603 if test "$wxUSE_REGKEY" = "yes"; then
46604 cat >>confdefs.h <<\_ACEOF
46605 #define wxUSE_REGKEY 1
46612 if test "$wxUSE_MAC" = 1; then
46613 wxUSE_GRAPHICS_CONTEXT="yes"
46616 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46617 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46618 cat >>confdefs.h <<\_ACEOF
46619 #define wxUSE_GRAPHICS_CONTEXT 1
46622 elif test "$wxUSE_GTK" != 1; then
46623 cat >>confdefs.h <<\_ACEOF
46624 #define wxUSE_GRAPHICS_CONTEXT 1
46630 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46631 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46633 if test -n "$PKG_CONFIG"; then
46634 if test -n "$CAIRO_CFLAGS"; then
46635 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46637 if test -n "$PKG_CONFIG" && \
46638 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46639 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46642 (exit $ac_status); }; then
46643 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46651 if test -n "$PKG_CONFIG"; then
46652 if test -n "$CAIRO_LIBS"; then
46653 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46655 if test -n "$PKG_CONFIG" && \
46656 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46657 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46660 (exit $ac_status); }; then
46661 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46672 if test $pkg_failed = yes; then
46674 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46675 _pkg_short_errors_supported=yes
46677 _pkg_short_errors_supported=no
46679 if test $_pkg_short_errors_supported = yes; then
46680 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46682 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46684 # Put the nasty error message in config.log where it belongs
46685 echo "$CAIRO_PKG_ERRORS" >&5
46687 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46688 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46690 elif test $pkg_failed = untried; then
46691 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46692 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46695 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46696 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46697 { echo "$as_me:$LINENO: result: yes" >&5
46698 echo "${ECHO_T}yes" >&6; }
46699 cat >>confdefs.h <<\_ACEOF
46700 #define wxUSE_GRAPHICS_CONTEXT 1
46710 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46713 if test "$wxUSE_GTK" = 1; then
46714 wxUSE_GSTREAMER="no"
46716 GST_VERSION_MAJOR=0
46717 GST_VERSION_MINOR=10
46718 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46720 if test "$wxUSE_GSTREAMER8" = "no"; then
46723 { echo "$as_me:$LINENO: checking for GST" >&5
46724 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46726 if test -n "$PKG_CONFIG"; then
46727 if test -n "$GST_CFLAGS"; then
46728 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46730 if test -n "$PKG_CONFIG" && \
46731 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46732 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46735 (exit $ac_status); }; then
46736 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46744 if test -n "$PKG_CONFIG"; then
46745 if test -n "$GST_LIBS"; then
46746 pkg_cv_GST_LIBS="$GST_LIBS"
46748 if test -n "$PKG_CONFIG" && \
46749 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46750 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753 (exit $ac_status); }; then
46754 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46765 if test $pkg_failed = yes; then
46767 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46768 _pkg_short_errors_supported=yes
46770 _pkg_short_errors_supported=no
46772 if test $_pkg_short_errors_supported = yes; then
46773 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46775 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46777 # Put the nasty error message in config.log where it belongs
46778 echo "$GST_PKG_ERRORS" >&5
46781 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46782 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46783 GST_VERSION_MINOR=8
46786 elif test $pkg_failed = untried; then
46788 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46789 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46790 GST_VERSION_MINOR=8
46794 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46795 GST_LIBS=$pkg_cv_GST_LIBS
46796 { echo "$as_me:$LINENO: result: yes" >&5
46797 echo "${ECHO_T}yes" >&6; }
46799 wxUSE_GSTREAMER="yes"
46800 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46804 GST_VERSION_MINOR=8
46807 if test $GST_VERSION_MINOR = "8"; then
46808 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46811 { echo "$as_me:$LINENO: checking for GST" >&5
46812 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46814 if test -n "$PKG_CONFIG"; then
46815 if test -n "$GST_CFLAGS"; then
46816 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46818 if test -n "$PKG_CONFIG" && \
46819 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46820 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46823 (exit $ac_status); }; then
46824 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46832 if test -n "$PKG_CONFIG"; then
46833 if test -n "$GST_LIBS"; then
46834 pkg_cv_GST_LIBS="$GST_LIBS"
46836 if test -n "$PKG_CONFIG" && \
46837 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46838 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46841 (exit $ac_status); }; then
46842 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46853 if test $pkg_failed = yes; then
46855 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46856 _pkg_short_errors_supported=yes
46858 _pkg_short_errors_supported=no
46860 if test $_pkg_short_errors_supported = yes; then
46861 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46863 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46865 # Put the nasty error message in config.log where it belongs
46866 echo "$GST_PKG_ERRORS" >&5
46869 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46870 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46872 elif test $pkg_failed = untried; then
46874 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46875 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46878 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46879 GST_LIBS=$pkg_cv_GST_LIBS
46880 { echo "$as_me:$LINENO: result: yes" >&5
46881 echo "${ECHO_T}yes" >&6; }
46882 wxUSE_GSTREAMER="yes"
46887 if test "$wxUSE_GSTREAMER" = "yes"; then
46888 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46889 EXTRALIBS_MEDIA="$GST_LIBS"
46891 cat >>confdefs.h <<\_ACEOF
46892 #define wxUSE_GSTREAMER 1
46900 if test $USE_MEDIA = 1; then
46901 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46902 cat >>confdefs.h <<\_ACEOF
46903 #define wxUSE_MEDIACTRL 1
46907 if test "$wxUSE_MEDIACTRL" = "yes"; then
46908 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
46909 echo "$as_me: error: GStreamer not available" >&2;}
46910 { (exit 1); exit 1; }; }
46912 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
46913 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
46919 if test "$cross_compiling" != "no"; then
46922 OSINFO=`uname
-s -r -m`
46923 OSINFO="\"$OSINFO\""
46926 cat >>confdefs.h <<_ACEOF
46927 #define WXWIN_OS_DESCRIPTION $OSINFO
46932 if test "x$prefix" != "xNONE"; then
46935 wxPREFIX=$ac_default_prefix
46938 cat >>confdefs.h <<_ACEOF
46939 #define wxINSTALL_PREFIX "$wxPREFIX"
46945 STD_BASE_LIBS="base"
46947 BUILT_WX_LIBS="base"
46948 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46950 if test "$wxUSE_SOCKETS" = "yes" ; then
46951 STD_BASE_LIBS="net $STD_BASE_LIBS"
46952 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46954 if test "$wxUSE_XML" = "yes" ; then
46955 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46956 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46959 if test "$wxUSE_GUI" = "yes"; then
46960 STD_GUI_LIBS="adv core"
46961 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46963 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46964 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46965 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46967 if test "$wxUSE_HTML" = "yes" ; then
46968 STD_GUI_LIBS="html $STD_GUI_LIBS"
46969 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46971 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46972 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46974 if test "$wxUSE_OPENGL" = "yes" ; then
46975 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46977 if test "$wxUSE_AUI" = "yes" ; then
46978 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46980 if test "$wxUSE_PROPGRID" = "yes" ; then
46981 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46983 if test "$wxUSE_RICHTEXT" = "yes" ; then
46984 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
46986 if test "$wxUSE_STC" = "yes" ; then
46987 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46989 if test "$wxUSE_XRC" = "yes" ; then
46990 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46991 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47002 if test "$wxUSE_MAC" = 1 ; then
47003 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47004 if test "$USE_DARWIN" = 1; then
47005 LDFLAGS="$LDFLAGS -framework QuickTime"
47008 if test "$USE_DARWIN" = 1; then
47009 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47012 if test "$wxUSE_COCOA" = 1 ; then
47013 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47014 if test "$wxUSE_MEDIACTRL" = "yes"; then
47015 LDFLAGS="$LDFLAGS -framework QuickTime"
47018 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47019 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47022 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47024 if test "$wxUSE_GUI" = "yes"; then
47027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47028 erase event exec font image minimal render \
47029 shaped svg taborder vscroll widgets wrapsizer"
47031 if test "$wxUSE_MONOLITHIC" != "yes"; then
47032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47034 if test "$TOOLKIT" = "MSW"; then
47035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47036 if test "$wxUSE_UNIVERSAL" != "yes"; then
47037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47040 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47044 SAMPLES_SUBDIRS="console"
47045 if test "$wxUSE_SOCKETS" = "yes" ; then
47046 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47048 if test "$wxUSE_IPC" = "yes" ; then
47049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47054 if test "x$INTELCC" = "xyes" ; then
47055 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47056 elif test "$GCC" = yes ; then
47057 CWARNINGS="-Wall -Wundef"
47060 if test "x$INTELCXX" = "xyes" ; then
47061 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47062 elif test "$GXX" = yes ; then
47063 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47064 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47065 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47066 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47067 echo $ECHO_N "(cached) $ECHO_C" >&6
47069 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47072 ac_cpp='$CXXCPP $CPPFLAGS'
47073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47077 ac_save_CXXFLAGS="$CXXFLAGS"
47078 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47079 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47080 cat >conftest.$ac_ext <<_ACEOF
47083 cat confdefs.h >>conftest.$ac_ext
47084 cat >>conftest.$ac_ext <<_ACEOF
47085 /* end confdefs.h. */
47095 rm -f conftest.$ac_objext
47096 if { (ac_try="$ac_compile"
47097 case "(($ac_try" in
47098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47099 *) ac_try_echo
=$ac_try;;
47101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47102 (eval "$ac_compile") 2>conftest.er1
47104 grep -v '^ *+' conftest.er1
>conftest.err
47106 cat conftest.err
>&5
47107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47108 (exit $ac_status); } && {
47109 test -z "$ac_cxx_werror_flag" ||
47110 test ! -s conftest.err
47111 } && test -s conftest.
$ac_objext; then
47112 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47114 echo "$as_me: failed program was:" >&5
47115 sed 's/^/| /' conftest.
$ac_ext >&5
47120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47122 CXXFLAGS
="$ac_save_CXXFLAGS"
47124 ac_cpp
='$CPP $CPPFLAGS'
47125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47131 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47132 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47133 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47137 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47138 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47139 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47142 (exit $ac_status); }
47143 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47144 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47147 (exit $ac_status); }
47148 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47154 if test "$wxUSE_MAC" = 1 ; then
47155 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
47160 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47161 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47164 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47165 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47166 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47169 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47170 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47171 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47172 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47173 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47175 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47178 if test "x$MWCC" = "xyes"; then
47180 CC
="$CC -cwd source -I-"
47181 CXX
="$CXX -cwd source -I-"
47186 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47187 EXTRALIBS_XML
="$EXPAT_LINK"
47188 EXTRALIBS_HTML
="$MSPACK_LINK"
47189 EXTRALIBS_MEDIA
="$GST_LIBS"
47190 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47191 if test "$wxUSE_GUI" = "yes"; then
47192 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47194 if test "$wxUSE_OPENGL" = "yes"; then
47195 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47198 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47200 WXCONFIG_LIBS
="$LIBS"
47202 if test "$wxUSE_REGEX" = "builtin" ; then
47203 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47205 if test "$wxUSE_EXPAT" = "builtin" ; then
47206 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47208 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47209 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47211 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47212 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47214 if test "$wxUSE_LIBPNG" = "builtin" ; then
47215 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47217 if test "$wxUSE_ZLIB" = "builtin" ; then
47218 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47221 for i
in $wxconfig_3rdparty ; do
47222 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47226 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47229 case "$wxUNIV_THEMES" in
47231 cat >>confdefs.h
<<\_ACEOF
47232 #define wxUSE_ALL_THEMES 1
47238 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47239 cat >>confdefs.h
<<_ACEOF
47240 #define wxUSE_THEME_$t 1
47256 if test $wxUSE_MONOLITHIC = "yes" ; then
47262 if test $wxUSE_PLUGINS = "yes" ; then
47268 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47274 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47307 TOOLKIT_LOWERCASE
=xxx
47308 if test "$TOOLKIT" = "MAC"; then
47309 TOOLKIT_LOWERCASE
=osx_carbon
47311 if test "$TOOLKIT" = "OSX_CARBON"; then
47312 TOOLKIT_LOWERCASE
=osx_carbon
47314 if test "$TOOLKIT" = "OSX_COCOA"; then
47315 TOOLKIT_LOWERCASE
=osx_cocoa
47317 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47318 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47332 TOOLKIT_DESC
="GTK+"
47333 if test "$WXGTK2" = 1; then
47334 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47335 if test "$wxUSE_GTKPRINT" = "yes" ; then
47336 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47338 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47339 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47341 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47342 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47344 if test "$wxUSE_LIBHILDON" = "yes"; then
47345 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47348 if test "$TOOLKIT_EXTRA" != ""; then
47349 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47355 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47359 TOOLKIT_DESC
="base only"
47363 if test "$wxUSE_WINE" = "yes"; then
47364 BAKEFILE_FORCE_PLATFORM
=win32
47367 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47369 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47370 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47371 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47372 echo $ECHO_N "(cached) $ECHO_C" >&6
47375 echo '#include <stdio.h>
47376 const wchar_t test_var[] = L"awidetest";' > conftest.h
47378 echo '#include "conftest.h"
47381 printf("%ls", test_var);
47385 wx_cv_gcc_pch_bug
="pch not supported"
47387 if $CXX conftest.h
>/dev
/null
2>&1
47391 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47393 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47394 grep awidetest
>/dev
/null
47396 wx_cv_gcc_pch_bug
=no
47398 wx_cv_gcc_pch_bug
=yes
47403 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47406 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47407 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47409 if test "$wx_cv_gcc_pch_bug" = yes; then
47420 if test "x$BAKEFILE_HOST" = "x"; then
47421 if test "x${host}" = "x" ; then
47422 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47423 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47424 { (exit 1); exit 1; }; }
47427 BAKEFILE_HOST
="${host}"
47430 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47432 if test -n "$ac_tool_prefix"; then
47433 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47434 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47435 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47437 if test "${ac_cv_prog_RANLIB+set}" = set; then
47438 echo $ECHO_N "(cached) $ECHO_C" >&6
47440 if test -n "$RANLIB"; then
47441 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47444 for as_dir
in $PATH
47447 test -z "$as_dir" && as_dir
=.
47448 for ac_exec_ext
in '' $ac_executable_extensions; do
47449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47450 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47460 RANLIB
=$ac_cv_prog_RANLIB
47461 if test -n "$RANLIB"; then
47462 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47463 echo "${ECHO_T}$RANLIB" >&6; }
47465 { echo "$as_me:$LINENO: result: no" >&5
47466 echo "${ECHO_T}no" >&6; }
47471 if test -z "$ac_cv_prog_RANLIB"; then
47472 ac_ct_RANLIB
=$RANLIB
47473 # Extract the first word of "ranlib", so it can be a program name with args.
47474 set dummy ranlib
; ac_word
=$2
47475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47477 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47478 echo $ECHO_N "(cached) $ECHO_C" >&6
47480 if test -n "$ac_ct_RANLIB"; then
47481 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47484 for as_dir
in $PATH
47487 test -z "$as_dir" && as_dir
=.
47488 for ac_exec_ext
in '' $ac_executable_extensions; do
47489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47490 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47500 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47501 if test -n "$ac_ct_RANLIB"; then
47502 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47503 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47505 { echo "$as_me:$LINENO: result: no" >&5
47506 echo "${ECHO_T}no" >&6; }
47509 if test "x$ac_ct_RANLIB" = x
; then
47512 case $cross_compiling:$ac_tool_warned in
47514 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47515 whose name does not start with the host triplet. If you think this
47516 configuration is useful to you, please write to autoconf@gnu.org." >&5
47517 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47518 whose name does not start with the host triplet. If you think this
47519 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47520 ac_tool_warned
=yes ;;
47522 RANLIB
=$ac_ct_RANLIB
47525 RANLIB
="$ac_cv_prog_RANLIB"
47528 # Find a good install program. We prefer a C program (faster),
47529 # so one script is as good as another. But avoid the broken or
47530 # incompatible versions:
47531 # SysV /etc/install, /usr/sbin/install
47532 # SunOS /usr/etc/install
47533 # IRIX /sbin/install
47535 # AmigaOS /C/install, which installs bootblocks on floppy discs
47536 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47537 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47538 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47539 # OS/2's system install, which has a completely different semantic
47540 # ./install, which can be erroneously created by make from ./install.sh.
47541 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47542 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47543 if test -z "$INSTALL"; then
47544 if test "${ac_cv_path_install+set}" = set; then
47545 echo $ECHO_N "(cached) $ECHO_C" >&6
47547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47548 for as_dir
in $PATH
47551 test -z "$as_dir" && as_dir
=.
47552 # Account for people who put trailing slashes in PATH elements.
47554 .
/ | .
// | /cC
/* | \
47555 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47556 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47559 # OSF1 and SCO ODT 3.0 have their own names for install.
47560 # Don't use installbsd from OSF since it installs stuff as root
47562 for ac_prog
in ginstall scoinst
install; do
47563 for ac_exec_ext
in '' $ac_executable_extensions; do
47564 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47565 if test $ac_prog = install &&
47566 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47567 # AIX install. It has an incompatible calling convention.
47569 elif test $ac_prog = install &&
47570 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47571 # program-specific install script used by HP pwplus--don't use.
47574 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47587 if test "${ac_cv_path_install+set}" = set; then
47588 INSTALL
=$ac_cv_path_install
47590 # As a last resort, use the slow shell script. Don't cache a
47591 # value for INSTALL within a source directory, because that will
47592 # break other packages using the cache if that directory is
47593 # removed, or if the value is a relative name.
47594 INSTALL
=$ac_install_sh
47597 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47598 echo "${ECHO_T}$INSTALL" >&6; }
47600 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47601 # It thinks the first close brace ends the variable substitution.
47602 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47604 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47606 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47608 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47609 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47611 if test "$LN_S" = "ln -s"; then
47612 { echo "$as_me:$LINENO: result: yes" >&5
47613 echo "${ECHO_T}yes" >&6; }
47615 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47616 echo "${ECHO_T}no, using $LN_S" >&6; }
47620 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47621 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47622 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47623 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47624 echo $ECHO_N "(cached) $ECHO_C" >&6
47626 cat >conftest.
make <<\_ACEOF
47629 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47631 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47632 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47633 *@@@
%%%=?
*=@@@
%%%*)
47634 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47636 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47638 rm -f conftest.
make
47640 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47641 { echo "$as_me:$LINENO: result: yes" >&5
47642 echo "${ECHO_T}yes" >&6; }
47645 { echo "$as_me:$LINENO: result: no" >&5
47646 echo "${ECHO_T}no" >&6; }
47647 SET_MAKE
="MAKE=${MAKE-make}"
47652 if test "x$SUNCXX" = "xyes"; then
47654 AROPTIONS
="-xar -o"
47656 elif test "x$SGICC" = "xyes"; then
47661 if test -n "$ac_tool_prefix"; then
47662 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47663 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47666 if test "${ac_cv_prog_AR+set}" = set; then
47667 echo $ECHO_N "(cached) $ECHO_C" >&6
47669 if test -n "$AR"; then
47670 ac_cv_prog_AR
="$AR" # Let the user override the test.
47672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47673 for as_dir
in $PATH
47676 test -z "$as_dir" && as_dir
=.
47677 for ac_exec_ext
in '' $ac_executable_extensions; do
47678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47679 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47690 if test -n "$AR"; then
47691 { echo "$as_me:$LINENO: result: $AR" >&5
47692 echo "${ECHO_T}$AR" >&6; }
47694 { echo "$as_me:$LINENO: result: no" >&5
47695 echo "${ECHO_T}no" >&6; }
47700 if test -z "$ac_cv_prog_AR"; then
47702 # Extract the first word of "ar", so it can be a program name with args.
47703 set dummy
ar; ac_word
=$2
47704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47706 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47707 echo $ECHO_N "(cached) $ECHO_C" >&6
47709 if test -n "$ac_ct_AR"; then
47710 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47713 for as_dir
in $PATH
47716 test -z "$as_dir" && as_dir
=.
47717 for ac_exec_ext
in '' $ac_executable_extensions; do
47718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47719 ac_cv_prog_ac_ct_AR
="ar"
47720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47729 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47730 if test -n "$ac_ct_AR"; then
47731 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47732 echo "${ECHO_T}$ac_ct_AR" >&6; }
47734 { echo "$as_me:$LINENO: result: no" >&5
47735 echo "${ECHO_T}no" >&6; }
47738 if test "x$ac_ct_AR" = x
; then
47741 case $cross_compiling:$ac_tool_warned in
47743 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47744 whose name does not start with the host triplet. If you think this
47745 configuration is useful to you, please write to autoconf@gnu.org." >&5
47746 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47747 whose name does not start with the host triplet. If you think this
47748 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47749 ac_tool_warned
=yes ;;
47754 AR
="$ac_cv_prog_AR"
47761 if test -n "$ac_tool_prefix"; then
47762 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47763 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47766 if test "${ac_cv_prog_STRIP+set}" = set; then
47767 echo $ECHO_N "(cached) $ECHO_C" >&6
47769 if test -n "$STRIP"; then
47770 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47773 for as_dir
in $PATH
47776 test -z "$as_dir" && as_dir
=.
47777 for ac_exec_ext
in '' $ac_executable_extensions; do
47778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47779 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47789 STRIP
=$ac_cv_prog_STRIP
47790 if test -n "$STRIP"; then
47791 { echo "$as_me:$LINENO: result: $STRIP" >&5
47792 echo "${ECHO_T}$STRIP" >&6; }
47794 { echo "$as_me:$LINENO: result: no" >&5
47795 echo "${ECHO_T}no" >&6; }
47800 if test -z "$ac_cv_prog_STRIP"; then
47802 # Extract the first word of "strip", so it can be a program name with args.
47803 set dummy strip
; ac_word
=$2
47804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47806 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47807 echo $ECHO_N "(cached) $ECHO_C" >&6
47809 if test -n "$ac_ct_STRIP"; then
47810 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47813 for as_dir
in $PATH
47816 test -z "$as_dir" && as_dir
=.
47817 for ac_exec_ext
in '' $ac_executable_extensions; do
47818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47819 ac_cv_prog_ac_ct_STRIP
="strip"
47820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47829 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47830 if test -n "$ac_ct_STRIP"; then
47831 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47832 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47834 { echo "$as_me:$LINENO: result: no" >&5
47835 echo "${ECHO_T}no" >&6; }
47838 if test "x$ac_ct_STRIP" = x
; then
47841 case $cross_compiling:$ac_tool_warned in
47843 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47844 whose name does not start with the host triplet. If you think this
47845 configuration is useful to you, please write to autoconf@gnu.org." >&5
47846 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47847 whose name does not start with the host triplet. If you think this
47848 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47849 ac_tool_warned
=yes ;;
47854 STRIP
="$ac_cv_prog_STRIP"
47857 if test -n "$ac_tool_prefix"; then
47858 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47859 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47862 if test "${ac_cv_prog_NM+set}" = set; then
47863 echo $ECHO_N "(cached) $ECHO_C" >&6
47865 if test -n "$NM"; then
47866 ac_cv_prog_NM
="$NM" # Let the user override the test.
47868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47869 for as_dir
in $PATH
47872 test -z "$as_dir" && as_dir
=.
47873 for ac_exec_ext
in '' $ac_executable_extensions; do
47874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47875 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47886 if test -n "$NM"; then
47887 { echo "$as_me:$LINENO: result: $NM" >&5
47888 echo "${ECHO_T}$NM" >&6; }
47890 { echo "$as_me:$LINENO: result: no" >&5
47891 echo "${ECHO_T}no" >&6; }
47896 if test -z "$ac_cv_prog_NM"; then
47898 # Extract the first word of "nm", so it can be a program name with args.
47899 set dummy nm
; ac_word
=$2
47900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47902 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47903 echo $ECHO_N "(cached) $ECHO_C" >&6
47905 if test -n "$ac_ct_NM"; then
47906 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
47908 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47909 for as_dir
in $PATH
47912 test -z "$as_dir" && as_dir
=.
47913 for ac_exec_ext
in '' $ac_executable_extensions; do
47914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47915 ac_cv_prog_ac_ct_NM
="nm"
47916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47925 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
47926 if test -n "$ac_ct_NM"; then
47927 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47928 echo "${ECHO_T}$ac_ct_NM" >&6; }
47930 { echo "$as_me:$LINENO: result: no" >&5
47931 echo "${ECHO_T}no" >&6; }
47934 if test "x$ac_ct_NM" = x
; then
47937 case $cross_compiling:$ac_tool_warned in
47939 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47940 whose name does not start with the host triplet. If you think this
47941 configuration is useful to you, please write to autoconf@gnu.org." >&5
47942 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47943 whose name does not start with the host triplet. If you think this
47944 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47945 ac_tool_warned
=yes ;;
47950 NM
="$ac_cv_prog_NM"
47954 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47955 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47956 INSTALL_TEST_DIR
=acbftest$$
47957 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
47958 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
47959 rmdir $INSTALL_TEST_DIR
47960 INSTALL_DIR
='$(INSTALL) -d'
47961 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47962 echo "${ECHO_T}$INSTALL -d" >&6; }
47964 INSTALL_DIR
="mkdir -p"
47965 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47966 echo "${ECHO_T}mkdir -p" >&6; }
47971 case ${BAKEFILE_HOST} in
47972 *-*-cygwin* | *-*-mingw32* )
47973 LDFLAGS_GUI
="-mwindows"
47979 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47980 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47981 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47982 echo $ECHO_N "(cached) $ECHO_C" >&6
47985 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
47986 egrep -s GNU
> /dev
/null
); then
47987 bakefile_cv_prog_makeisgnu
="yes"
47989 bakefile_cv_prog_makeisgnu
="no"
47993 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47994 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47996 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48013 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48014 case "${BAKEFILE_HOST}" in
48021 *-pc-os2_emx | *-pc-os2-emx )
48031 powerpc
-apple-macos* )
48040 case "$BAKEFILE_FORCE_PLATFORM" in
48075 # Check whether --enable-omf was given.
48076 if test "${enable_omf+set}" = set; then
48077 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
48081 case "${BAKEFILE_HOST}" in
48083 if test "x$GCC" = "xyes"; then
48084 CFLAGS
="$CFLAGS -fno-common"
48085 CXXFLAGS
="$CXXFLAGS -fno-common"
48087 if test "x$XLCC" = "xyes"; then
48088 CFLAGS
="$CFLAGS -qnocommon"
48089 CXXFLAGS
="$CXXFLAGS -qnocommon"
48093 *-pc-os2_emx | *-pc-os2-emx )
48094 if test "x$bk_os2_use_omf" = "xyes" ; then
48097 LDFLAGS
="-Zomf $LDFLAGS"
48098 CFLAGS
="-Zomf $CFLAGS"
48099 CXXFLAGS
="-Zomf $CXXFLAGS"
48107 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48113 SO_SUFFIX_MODULE
="so"
48118 DLLPREFIX_MODULE
=""
48122 case "${BAKEFILE_HOST}" in
48127 SO_SUFFIX_MODULE
="sl"
48131 SO_SUFFIX_MODULE
="a"
48135 SO_SUFFIX_MODULE
="dll"
48136 DLLIMP_SUFFIX
="dll.a"
48143 SO_SUFFIX_MODULE
="dll"
48144 DLLIMP_SUFFIX
="dll.a"
48154 *-pc-os2_emx | *-pc-os2-emx )
48156 SO_SUFFIX_MODULE
="dll"
48157 DLLIMP_SUFFIX
=$OS2_LIBEXT
48161 LIBEXT
=".$OS2_LIBEXT"
48166 SO_SUFFIX_MODULE
="bundle"
48170 if test "x$DLLIMP_SUFFIX" = "x" ; then
48171 DLLIMP_SUFFIX
="$SO_SUFFIX"
48186 if test "x$GCC" = "xyes"; then
48190 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48191 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48194 case "${BAKEFILE_HOST}" in
48196 if test "x$GCC" != "xyes"; then
48197 LDFLAGS
="$LDFLAGS -L/usr/lib"
48199 SHARED_LD_CC
="${CC} -b -o"
48200 SHARED_LD_CXX
="${CXX} -b -o"
48206 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48208 elif test "x$SUNCXX" = "xyes"; then
48209 SHARED_LD_CC
="${CC} -G -o"
48210 SHARED_LD_CXX
="${CXX} -G -o"
48216 if test "x$SUNCXX" = xyes
; then
48217 SHARED_LD_CC
="${CC} -G -o"
48218 SHARED_LD_CXX
="${CXX} -G -o"
48226 cat <<EOF >shared-ld-sh
48228 #-----------------------------------------------------------------------------
48229 #-- Name: distrib/mac/shared-ld-sh
48230 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48231 #-- Author: Gilles Depeyrot
48232 #-- Copyright: (c) 2002 Gilles Depeyrot
48233 #-- Licence: any use permitted
48234 #-----------------------------------------------------------------------------
48239 linking_flag="-dynamiclib"
48240 ldargs="-r -keep_private_externs -nostdlib"
48242 if test "x${D}CXX" = "x"; then
48246 while test ${D}# -gt 0; do
48253 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48254 # collect these options and values
48255 args="${D}{args} ${D}1 ${D}2"
48260 # collect these options and values
48261 ldargs="${D}{ldargs} ${D}1 ${D}2"
48266 # collect these load args
48267 ldargs="${D}{ldargs} ${D}1"
48270 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48271 # collect these options
48272 args="${D}{args} ${D}1"
48275 -dynamiclib|-bundle)
48276 linking_flag="${D}1"
48280 echo "shared-ld: unhandled option '${D}1'"
48284 *.o | *.a | *.dylib)
48285 # collect object files
48286 objects="${D}{objects} ${D}1"
48290 echo "shared-ld: unhandled argument '${D}1'"
48301 # Link one module containing all the others
48303 if test ${D}{verbose} = 1; then
48304 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48306 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48310 # Link the shared library from the single module created, but only if the
48311 # previous command didn't fail:
48313 if test ${D}{status} = 0; then
48314 if test ${D}{verbose} = 1; then
48315 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48317 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48322 # Remove intermediate module
48324 rm -f master.${D}${D}.o
48329 chmod +x shared
-ld-sh
48331 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48332 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48335 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48336 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48337 if test "${bakefile_cv_gcc31+set}" = set; then
48338 echo $ECHO_N "(cached) $ECHO_C" >&6
48341 cat >conftest.
$ac_ext <<_ACEOF
48344 cat confdefs.h
>>conftest.
$ac_ext
48345 cat >>conftest.
$ac_ext <<_ACEOF
48346 /* end confdefs.h. */
48352 #if (__GNUC__ < 3) || \
48353 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48361 rm -f conftest.
$ac_objext
48362 if { (ac_try
="$ac_compile"
48363 case "(($ac_try" in
48364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48365 *) ac_try_echo=$ac_try;;
48367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48368 (eval "$ac_compile") 2>conftest.er1
48370 grep -v '^ *+' conftest.er1 >conftest.err
48372 cat conftest.err >&5
48373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48374 (exit $ac_status); } && {
48375 test -z "$ac_c_werror_flag" ||
48376 test ! -s conftest.err
48377 } && test -s conftest.$ac_objext; then
48379 bakefile_cv_gcc31=yes
48382 echo "$as_me: failed program was:" >&5
48383 sed 's/^/| /' conftest.$ac_ext >&5
48386 bakefile_cv_gcc31=no
48391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48394 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48395 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48396 if test "$bakefile_cv_gcc31" = "no"; then
48397 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48398 SHARED_LD_CXX="$SHARED_LD_CC"
48400 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48401 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48404 if test "x$GCC" == "xyes"; then
48405 PIC_FLAG="-dynamic -fPIC"
48407 if test "x$XLCC" = "xyes"; then
48408 PIC_FLAG="-dynamic -DPIC"
48413 if test "x$GCC" = "xyes"; then
48416 case "${BAKEFILE_HOST}" in
48418 LD_EXPFULL="-Wl,-bexpfull"
48422 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48423 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48425 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48426 set dummy makeC++SharedLib; ac_word=$2
48427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48429 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48430 echo $ECHO_N "(cached) $ECHO_C" >&6
48432 if test -n "$AIX_CXX_LD"; then
48433 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48436 for as_dir in $PATH
48439 test -z "$as_dir" && as_dir=.
48440 for ac_exec_ext in '' $ac_executable_extensions; do
48441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48442 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48450 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48453 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48454 if test -n "$AIX_CXX_LD"; then
48455 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48456 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48458 { echo "$as_me:$LINENO: result: no" >&5
48459 echo "${ECHO_T}no" >&6; }
48463 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48464 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48469 SHARED_LD_CC="${LD} -nostart -o"
48470 SHARED_LD_CXX="${LD} -nostart -o"
48474 if test "x$GCC" != "xyes"; then
48479 *-*-cygwin* | *-*-mingw32* )
48481 SHARED_LD_CC="\$(CC) -shared -o"
48482 SHARED_LD_CXX="\$(CXX) -shared -o"
48486 *-pc-os2_emx | *-pc-os2-emx )
48487 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48488 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48492 cat <<EOF >dllar.sh
48495 # dllar - a tool to build both a .dll and an .a file
48496 # from a set of object (.o) files for EMX/OS2.
48498 # Written by Andrew Zabolotny, bit@freya.etu.ru
48499 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48501 # This script will accept a set of files on the command line.
48502 # All the public symbols from the .o files will be exported into
48503 # a .DEF file, then linker will be run (through gcc) against them to
48504 # build a shared library consisting of all given .o files. All libraries
48505 # (.a) will be first decompressed into component .o files then act as
48506 # described above. You can optionally give a description (-d "description")
48507 # which will be put into .DLL. To see the list of accepted options (as well
48508 # as command-line format) simply run this program without options. The .DLL
48509 # is built to be imported by name (there is no guarantee that new versions
48510 # of the library you build will have same ordinals for same symbols).
48512 # dllar is free software; you can redistribute it and/or modify
48513 # it under the terms of the GNU General Public License as published by
48514 # the Free Software Foundation; either version 2, or (at your option)
48515 # any later version.
48517 # dllar is distributed in the hope that it will be useful,
48518 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48519 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48520 # GNU General Public License for more details.
48522 # You should have received a copy of the GNU General Public License
48523 # along with dllar; see the file COPYING. If not, write to the Free
48524 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48527 # To successfuly run this program you will need:
48528 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48529 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48531 # (used to build the .dll)
48533 # (used to create .def file from .o files)
48535 # (used to create .a file from .def file)
48536 # - GNU text utilites (cat, sort, uniq)
48537 # used to process emxexp output
48538 # - GNU file utilities (mv, rm)
48540 # - lxlite (optional, see flag below)
48541 # (used for general .dll cleanup)
48548 # basnam, variant of basename, which does _not_ remove the path, _iff_
48549 # second argument (suffix to remove) is given
48553 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48556 echo ${D}1 | sed 's/'${D}2'${D}//'
48559 echo "error in basnam ${D}*"
48565 # Cleanup temporary files and output
48568 for i in ${D}inputFiles ; do
48571 rm -rf \`basnam
${D}i
!\
`
48578 # Kill result in case of failure as there is just to many stupid make/nmake
48579 # things out there which doesn't do this.
48580 if [ ${D}# -eq 0 ]; then
48581 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48585 # Print usage and exit script with rc=1.
48587 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48588 echo ' [-name-mangler-script script.sh]'
48589 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48590 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48591 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48592 echo ' [*.o] [*.a]'
48593 echo '*> "output_file" should have no extension.'
48594 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48595 echo ' The import library name is derived from this and is set to "name".a,'
48596 echo ' unless overridden by -import'
48597 echo '*> "importlib_name" should have no extension.'
48598 echo ' If it has the .o, or .a extension, it is automatically removed.'
48599 echo ' This name is used as the import library name and may be longer and'
48600 echo ' more descriptive than the DLL name which has to follow the old '
48601 echo ' 8.3 convention of FAT.'
48602 echo '*> "script.sh may be given to override the output_file name by a'
48603 echo ' different name. It is mainly useful if the regular make process'
48604 echo ' of some package does not take into account OS/2 restriction of'
48605 echo ' DLL name lengths. It takes the importlib name as input and is'
48606 echo ' supposed to procude a shorter name as output. The script should'
48607 echo ' expect to get importlib_name without extension and should produce'
48608 echo ' a (max.) 8 letter name without extension.'
48609 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48610 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48611 echo ' These flags will be put at the start of GCC command line.'
48612 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48613 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48614 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48615 echo ' If the last character of a symbol is "*", all symbols beginning'
48616 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48617 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48618 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48619 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48620 echo ' C runtime DLLs.'
48621 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48622 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48623 echo ' unchanged to GCC at the end of command line.'
48624 echo '*> If you create a DLL from a library and you do not specify -o,'
48625 echo ' the basename for DLL and import library will be set to library name,'
48626 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48627 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48628 echo ' library will be renamed into gcc_s.a.'
48631 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48632 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48637 # Execute a command.
48638 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48639 # @Uses Whatever CleanUp() uses.
48645 if [ ${D}rcCmd -ne 0 ]; then
48646 echo "command failed, exit code="${D}rcCmd
48661 CFLAGS="-s -Zcrtdll"
48663 EXPORT_BY_ORDINALS=0
48668 case ${D}curDirS in
48672 curDirS=${D}{curDirS}"/"
48675 # Parse commandline
48678 while [ ${D}1 ]; do
48681 EXPORT_BY_ORDINALS=1;
48691 -name-mangler-script)
48712 exclude_symbols=${D}{exclude_symbols}${D}1" "
48716 library_flags=${D}{library_flags}${D}1" "
48735 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48738 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48739 if [ ${D}omfLinking -eq 1 ]; then
48740 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48742 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48747 if [ ${D}libsToLink -ne 0 ]; then
48748 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48750 for file in ${D}1 ; do
48751 if [ -f ${D}file ]; then
48752 inputFiles="${D}{inputFiles} ${D}file"
48756 if [ ${D}found -eq 0 ]; then
48757 echo "ERROR: No file(s) found: "${D}1
48764 done # iterate cmdline words
48767 if [ -z "${D}inputFiles" ]; then
48768 echo "dllar: no input files"
48772 # Now extract all .o files from .a files
48774 for file in ${D}inputFiles ; do
48785 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48790 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48792 if [ ${D}? -ne 0 ]; then
48793 echo "Failed to create subdirectory ./${D}dirname"
48797 # Append '!' to indicate archive
48798 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48799 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48802 for subfile in ${D}dirname/*.o* ; do
48803 if [ -f ${D}subfile ]; then
48805 if [ -s ${D}subfile ]; then
48806 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48807 newInputFiles="${D}newInputFiles ${D}subfile"
48811 if [ ${D}found -eq 0 ]; then
48812 echo "WARNING: there are no files in archive \\'${D}file\\'"
48816 newInputFiles="${D}{newInputFiles} ${D}file"
48820 inputFiles="${D}newInputFiles"
48822 # Output filename(s).
48824 if [ -z ${D}outFile ]; then
48826 set outFile ${D}inputFiles; outFile=${D}2
48829 # If it is an archive, remove the '!' and the '_%' suffixes
48830 case ${D}outFile in
48832 outFile=\`basnam
${D}outFile _
%!\
`
48837 case ${D}outFile in
48839 outFile=\`basnam
${D}outFile .dll\
`
48842 outFile=\`basnam
${D}outFile .DLL\
`
48845 outFile=\`basnam
${D}outFile .o\
`
48848 outFile=\`basnam
${D}outFile .obj\
`
48851 outFile=\`basnam
${D}outFile .a\
`
48854 outFile=\`basnam
${D}outFile .lib\
`
48859 case ${D}outimpFile in
48861 outimpFile=\`basnam
${D}outimpFile .a\
`
48864 outimpFile=\`basnam
${D}outimpFile .lib\
`
48869 if [ -z ${D}outimpFile ]; then
48870 outimpFile=${D}outFile
48872 defFile="${D}{outFile}.def"
48873 arcFile="${D}{outimpFile}.a"
48874 arcFile2="${D}{outimpFile}.lib"
48876 #create ${D}dllFile as something matching 8.3 restrictions,
48877 if [ -z ${D}renameScript ] ; then
48878 dllFile="${D}outFile"
48880 dllFile=\`${D}renameScript
${D}outimpFile\
`
48883 if [ ${D}do_backup -ne 0 ] ; then
48884 if [ -f ${D}arcFile ] ; then
48885 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48887 if [ -f ${D}arcFile2 ] ; then
48888 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48892 # Extract public symbols from all the object files.
48893 tmpdefFile=${D}{defFile}_%
48894 rm -f ${D}tmpdefFile
48895 for file in ${D}inputFiles ; do
48900 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48905 # Create the def file.
48907 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
48908 dllFile="${D}{dllFile}.dll"
48909 if [ ! -z ${D}description ]; then
48910 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48912 echo "EXPORTS" >> ${D}defFile
48914 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48915 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48917 # Checks if the export is ok or not.
48918 for word in ${D}exclude_symbols; do
48919 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48920 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48924 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48925 sed "=" < ${D}tmpdefFile | \\
48929 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48931 ' > ${D}{tmpdefFile}%
48932 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48934 rm -f ${D}{tmpdefFile}%
48936 cat ${D}tmpdefFile >> ${D}defFile
48937 rm -f ${D}tmpdefFile
48939 # Do linking, create implib, and apply lxlite.
48941 for file in ${D}inputFiles ; do
48946 gccCmdl="${D}gccCmdl ${D}file"
48950 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48951 touch "${D}{outFile}.dll"
48953 doCommand "emximp -o ${D}arcFile ${D}defFile"
48954 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48956 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48959 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48961 doCommand "emxomf -s -l ${D}arcFile"
48971 powerpc-apple-macos* | \
48972 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48982 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48983 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48984 { (exit 1); exit 1; }; }
48987 if test "x$PIC_FLAG" != "x" ; then
48988 PIC_FLAG="$PIC_FLAG -DPIC"
48991 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48992 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48994 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48995 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49014 case "${BAKEFILE_HOST}" in
49015 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49016 *-*-k*bsd*-gnu | *-*-mirbsd* )
49017 if test "x$SUNCXX" = "xyes"; then
49020 SONAME_FLAG="-Wl,-soname,"
49055 # Check whether --enable-dependency-tracking was given.
49056 if test "${enable_dependency_tracking+set}" = set; then
49057 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49061 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49062 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49065 if test "x$bk_use_trackdeps" = "xno" ; then
49067 { echo "$as_me:$LINENO: result: disabled" >&5
49068 echo "${ECHO_T}disabled" >&6; }
49072 if test "x$GCC" = "xyes"; then
49074 case "${BAKEFILE_HOST}" in
49076 DEPSFLAG="-no-cpp-precomp -MMD"
49082 { echo "$as_me:$LINENO: result: gcc" >&5
49083 echo "${ECHO_T}gcc" >&6; }
49084 elif test "x$MWCC" = "xyes"; then
49087 { echo "$as_me:$LINENO: result: mwcc" >&5
49088 echo "${ECHO_T}mwcc" >&6; }
49089 elif test "x$SUNCC" = "xyes"; then
49092 { echo "$as_me:$LINENO: result: Sun cc" >&5
49093 echo "${ECHO_T}Sun cc" >&6; }
49094 elif test "x$SGICC" = "xyes"; then
49097 { echo "$as_me:$LINENO: result: SGI cc" >&5
49098 echo "${ECHO_T}SGI cc" >&6; }
49099 elif test "x$HPCC" = "xyes"; then
49102 { echo "$as_me:$LINENO: result: HP cc" >&5
49103 echo "${ECHO_T}HP cc" >&6; }
49104 elif test "x$COMPAQCC" = "xyes"; then
49107 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49108 echo "${ECHO_T}Compaq cc" >&6; }
49111 { echo "$as_me:$LINENO: result: none" >&5
49112 echo "${ECHO_T}none" >&6; }
49115 if test $DEPS_TRACKING = 1 ; then
49121 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49122 # script. It is used to track C/C++ files dependencies in portable way.
49124 # Permission is given to use this file in any way.
49126 DEPSMODE=${DEPSMODE}
49127 DEPSFLAG="${DEPSFLAG}"
49130 if test ${D}DEPSMODE = gcc ; then
49131 ${D}* ${D}{DEPSFLAG}
49134 # determine location of created files:
49135 while test ${D}# -gt 0; do
49149 objfilebase=\`basename ${D}objfile\
`
49150 builddir=\`dirname ${D}objfile\
`
49151 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49152 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49153 depsdir=${D}builddir/${D}DEPSDIRBASE
49154 mkdir -p ${D}depsdir
49156 # if the compiler failed, we're done:
49157 if test ${D}{status} != 0 ; then
49162 # move created file to the location we want it in:
49163 if test -f ${D}depfile ; then
49164 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49167 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49168 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49169 if test ! -f ${D}depfile ; then
49170 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49171 depfile="${D}objfile.d"
49173 if test -f ${D}depfile ; then
49174 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49180 elif test ${D}DEPSMODE = mwcc ; then
49181 ${D}* || exit ${D}?
49182 # Run mwcc again with -MM and redirect into the dep file we want
49183 # NOTE: We can't use shift here because we need ${D}* to be valid
49185 for arg in ${D}* ; do
49186 if test "${D}prevarg" = "-o"; then
49200 objfilebase=\`basename ${D}objfile\
`
49201 builddir=\`dirname ${D}objfile\
`
49202 depsdir=${D}builddir/${D}DEPSDIRBASE
49203 mkdir -p ${D}depsdir
49205 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49208 elif test ${D}DEPSMODE = unixcc; then
49209 ${D}* || exit ${D}?
49210 # Run compiler again with deps flag and redirect into the dep file.
49211 # It doesn't work if the '-o FILE' option is used, but without it the
49212 # dependency file will contain the wrong name for the object. So it is
49213 # removed from the command line, and the dep file is fixed with sed.
49215 while test ${D}# -gt 0; do
49222 eval arg${D}#=\\${D}1
49223 cmd="${D}cmd \\${D}arg${D}#"
49229 objfilebase=\`basename ${D}objfile\
`
49230 builddir=\`dirname ${D}objfile\
`
49231 depsdir=${D}builddir/${D}DEPSDIRBASE
49232 mkdir -p ${D}depsdir
49234 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49244 BK_DEPS="`pwd`/bk-deps"
49252 case ${BAKEFILE_HOST} in
49253 *-*-cygwin* | *-*-mingw32* )
49254 if test -n "$ac_tool_prefix"; then
49255 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49256 set dummy ${ac_tool_prefix}windres; ac_word=$2
49257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49259 if test "${ac_cv_prog_WINDRES+set}" = set; then
49260 echo $ECHO_N "(cached) $ECHO_C" >&6
49262 if test -n "$WINDRES"; then
49263 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49266 for as_dir in $PATH
49269 test -z "$as_dir" && as_dir=.
49270 for ac_exec_ext in '' $ac_executable_extensions; do
49271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49272 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49282 WINDRES=$ac_cv_prog_WINDRES
49283 if test -n "$WINDRES"; then
49284 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49285 echo "${ECHO_T}$WINDRES" >&6; }
49287 { echo "$as_me:$LINENO: result: no" >&5
49288 echo "${ECHO_T}no" >&6; }
49293 if test -z "$ac_cv_prog_WINDRES"; then
49294 ac_ct_WINDRES=$WINDRES
49295 # Extract the first word of "windres", so it can be a program name with args.
49296 set dummy windres; ac_word=$2
49297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49299 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49300 echo $ECHO_N "(cached) $ECHO_C" >&6
49302 if test -n "$ac_ct_WINDRES"; then
49303 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49306 for as_dir in $PATH
49309 test -z "$as_dir" && as_dir=.
49310 for ac_exec_ext in '' $ac_executable_extensions; do
49311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49312 ac_cv_prog_ac_ct_WINDRES="windres"
49313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49322 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49323 if test -n "$ac_ct_WINDRES"; then
49324 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49325 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49327 { echo "$as_me:$LINENO: result: no" >&5
49328 echo "${ECHO_T}no" >&6; }
49331 if test "x$ac_ct_WINDRES" = x; then
49334 case $cross_compiling:$ac_tool_warned in
49336 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49337 whose name does not start with the host triplet. If you think this
49338 configuration is useful to you, please write to autoconf@gnu.org." >&5
49339 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49340 whose name does not start with the host triplet. If you think this
49341 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49342 ac_tool_warned=yes ;;
49344 WINDRES=$ac_ct_WINDRES
49347 WINDRES="$ac_cv_prog_WINDRES"
49352 *-*-darwin* | powerpc-apple-macos* )
49353 # Extract the first word of "Rez", so it can be a program name with args.
49354 set dummy Rez; ac_word=$2
49355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49357 if test "${ac_cv_prog_REZ+set}" = set; then
49358 echo $ECHO_N "(cached) $ECHO_C" >&6
49360 if test -n "$REZ"; then
49361 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49364 for as_dir in $PATH
49367 test -z "$as_dir" && as_dir=.
49368 for ac_exec_ext in '' $ac_executable_extensions; do
49369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49370 ac_cv_prog_REZ="Rez"
49371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49378 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49381 REZ=$ac_cv_prog_REZ
49382 if test -n "$REZ"; then
49383 { echo "$as_me:$LINENO: result: $REZ" >&5
49384 echo "${ECHO_T}$REZ" >&6; }
49386 { echo "$as_me:$LINENO: result: no" >&5
49387 echo "${ECHO_T}no" >&6; }
49391 # Extract the first word of "SetFile", so it can be a program name with args.
49392 set dummy SetFile; ac_word=$2
49393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49395 if test "${ac_cv_prog_SETFILE+set}" = set; then
49396 echo $ECHO_N "(cached) $ECHO_C" >&6
49398 if test -n "$SETFILE"; then
49399 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49402 for as_dir in $PATH
49405 test -z "$as_dir" && as_dir=.
49406 for ac_exec_ext in '' $ac_executable_extensions; do
49407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49408 ac_cv_prog_SETFILE="SetFile"
49409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49416 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49419 SETFILE=$ac_cv_prog_SETFILE
49420 if test -n "$SETFILE"; then
49421 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49422 echo "${ECHO_T}$SETFILE" >&6; }
49424 { echo "$as_me:$LINENO: result: no" >&5
49425 echo "${ECHO_T}no" >&6; }
49440 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49443 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49447 # Check whether --enable-precomp-headers was given.
49448 if test "${enable_precomp_headers+set}" = set; then
49449 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49458 case ${BAKEFILE_HOST} in
49464 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49465 if test "x$GCC" = "xyes"; then
49466 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49467 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49468 cat >conftest.$ac_ext <<_ACEOF
49471 cat confdefs.h >>conftest.$ac_ext
49472 cat >>conftest.$ac_ext <<_ACEOF
49473 /* end confdefs.h. */
49479 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49480 There is no PCH support
49483 There is no PCH support
49485 #if (__GNUC__ == 3) && \
49486 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49487 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49488 ( defined(__INTEL_COMPILER) )
49489 There is no PCH support
49496 rm -f conftest.$ac_objext
49497 if { (ac_try="$ac_compile"
49498 case "(($ac_try" in
49499 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49500 *) ac_try_echo
=$ac_try;;
49502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49503 (eval "$ac_compile") 2>conftest.er1
49505 grep -v '^ *+' conftest.er1
>conftest.err
49507 cat conftest.err
>&5
49508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49509 (exit $ac_status); } && {
49510 test -z "$ac_c_werror_flag" ||
49511 test ! -s conftest.err
49512 } && test -s conftest.
$ac_objext; then
49514 { echo "$as_me:$LINENO: result: yes" >&5
49515 echo "${ECHO_T}yes" >&6; }
49519 echo "$as_me: failed program was:" >&5
49520 sed 's/^/| /' conftest.
$ac_ext >&5
49523 if test "$INTELCXX8" = "yes"; then
49524 { echo "$as_me:$LINENO: result: yes" >&5
49525 echo "${ECHO_T}yes" >&6; }
49527 if test "$INTELCXX10" = "yes"; then
49528 ICC_PCH_CREATE_SWITCH
="-pch-create"
49529 ICC_PCH_USE_SWITCH
="-pch-use"
49531 ICC_PCH_CREATE_SWITCH
="-create-pch"
49532 ICC_PCH_USE_SWITCH
="-use-pch"
49535 { echo "$as_me:$LINENO: result: no" >&5
49536 echo "${ECHO_T}no" >&6; }
49541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49542 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49546 cat <<EOF >bk-make-pch
49549 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49550 # script. It is used to generated precompiled headers.
49552 # Permission is given to use this file in any way.
49559 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49564 while test ${D}{#} -gt 0; do
49568 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49569 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49570 headerfile="${D}{incdir}/${D}{header}"
49573 -use-pch|-use_pch|-pch-use )
49578 if test ${D}add_to_cmdline = 1 ; then
49579 compiler="${D}{compiler} ${D}{1}"
49584 if test "x${D}{headerfile}" = "x" ; then
49585 echo "error: can't find header ${D}{header} in include paths" >&2
49587 if test -f ${D}{outfile} ; then
49588 rm -f ${D}{outfile}
49590 mkdir -p \`dirname ${D}{outfile}\`
49592 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49593 mkdir -p ${D}{builddir}/.deps
49594 if test "x${GCC_PCH}" = "x1" ; then
49595 # can do this because gcc is >= 3.4:
49596 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49597 elif test "x${ICC_PCH}" = "x1" ; then
49598 filename=pch_gen-${D}${D}
49599 file=${D}{filename}.c
49600 dfile=${D}{filename}.d
49601 cat > ${D}file <<EOT
49602 #include "${D}header"
49604 # using -MF icc complains about differing command lines in creation/use
49605 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49606 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49607 rm -f ${D}file ${D}dfile ${D}{filename}.o
49613 chmod +x bk
-make-pch
49614 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49625 COND_BUILD_DEBUG
="#"
49626 if test "x$BUILD" = "xdebug" ; then
49627 COND_BUILD_DEBUG
=""
49630 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49631 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49632 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49635 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49636 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49637 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49640 COND_BUILD_DEBUG_UNICODE_0
="#"
49641 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49642 COND_BUILD_DEBUG_UNICODE_0
=""
49645 COND_BUILD_DEBUG_UNICODE_1
="#"
49646 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49647 COND_BUILD_DEBUG_UNICODE_1
=""
49650 COND_BUILD_RELEASE
="#"
49651 if test "x$BUILD" = "xrelease" ; then
49652 COND_BUILD_RELEASE
=""
49655 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49656 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49657 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49660 COND_BUILD_RELEASE_UNICODE_0
="#"
49661 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49662 COND_BUILD_RELEASE_UNICODE_0
=""
49665 COND_BUILD_RELEASE_UNICODE_1
="#"
49666 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49667 COND_BUILD_RELEASE_UNICODE_1
=""
49670 COND_BUILD_debug
="#"
49671 if test "x$BUILD" = "xdebug" ; then
49672 COND_BUILD_debug
=""
49675 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49676 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49677 COND_BUILD_debug_DEBUG_FLAG_default
=""
49680 COND_BUILD_debug_DEBUG_INFO_default
="#"
49681 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49682 COND_BUILD_debug_DEBUG_INFO_default
=""
49685 COND_BUILD_debug_UNICODE_0
="#"
49686 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49687 COND_BUILD_debug_UNICODE_0
=""
49690 COND_BUILD_debug_UNICODE_1
="#"
49691 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49692 COND_BUILD_debug_UNICODE_1
=""
49695 COND_BUILD_release
="#"
49696 if test "x$BUILD" = "xrelease" ; then
49697 COND_BUILD_release
=""
49700 COND_BUILD_release_DEBUG_INFO_default
="#"
49701 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49702 COND_BUILD_release_DEBUG_INFO_default
=""
49705 COND_BUILD_release_UNICODE_0
="#"
49706 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49707 COND_BUILD_release_UNICODE_0
=""
49710 COND_BUILD_release_UNICODE_1
="#"
49711 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49712 COND_BUILD_release_UNICODE_1
=""
49715 COND_DEBUG_FLAG_1
="#"
49716 if test "x$DEBUG_FLAG" = "x1" ; then
49717 COND_DEBUG_FLAG_1
=""
49720 COND_DEBUG_INFO_0
="#"
49721 if test "x$DEBUG_INFO" = "x0" ; then
49722 COND_DEBUG_INFO_0
=""
49725 COND_DEBUG_INFO_1
="#"
49726 if test "x$DEBUG_INFO" = "x1" ; then
49727 COND_DEBUG_INFO_1
=""
49730 COND_DEPS_TRACKING_0
="#"
49731 if test "x$DEPS_TRACKING" = "x0" ; then
49732 COND_DEPS_TRACKING_0
=""
49735 COND_DEPS_TRACKING_1
="#"
49736 if test "x$DEPS_TRACKING" = "x1" ; then
49737 COND_DEPS_TRACKING_1
=""
49741 if test "x$GCC_PCH" = "x1" ; then
49746 if test "x$ICC_PCH" = "x1" ; then
49750 COND_MONOLITHIC_0
="#"
49751 if test "x$MONOLITHIC" = "x0" ; then
49752 COND_MONOLITHIC_0
=""
49755 COND_MONOLITHIC_0_SHARED_0
="#"
49756 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49757 COND_MONOLITHIC_0_SHARED_0
=""
49760 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49761 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49762 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49765 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49766 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49767 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49770 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49771 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49772 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49775 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49776 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49777 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49780 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49781 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49782 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49785 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49786 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49787 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49790 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49791 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49792 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49795 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49796 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49797 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49800 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49801 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49802 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49805 COND_MONOLITHIC_0_SHARED_1
="#"
49806 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49807 COND_MONOLITHIC_0_SHARED_1
=""
49810 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49811 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49812 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49815 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49817 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49820 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49825 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49827 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49835 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49836 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49837 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49840 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49841 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49845 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49846 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49847 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49850 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49851 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49852 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49855 COND_MONOLITHIC_0_USE_AUI_1
="#"
49856 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49857 COND_MONOLITHIC_0_USE_AUI_1
=""
49860 COND_MONOLITHIC_0_USE_GUI_1
="#"
49861 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49862 COND_MONOLITHIC_0_USE_GUI_1
=""
49865 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49866 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49867 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49870 COND_MONOLITHIC_0_USE_HTML_1
="#"
49871 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49872 COND_MONOLITHIC_0_USE_HTML_1
=""
49875 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49876 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49877 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49880 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
49881 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49882 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
49885 COND_MONOLITHIC_0_USE_QA_1
="#"
49886 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49887 COND_MONOLITHIC_0_USE_QA_1
=""
49890 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49891 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49892 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49895 COND_MONOLITHIC_0_USE_STC_1
="#"
49896 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49897 COND_MONOLITHIC_0_USE_STC_1
=""
49900 COND_MONOLITHIC_0_USE_XRC_1
="#"
49901 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49902 COND_MONOLITHIC_0_USE_XRC_1
=""
49905 COND_MONOLITHIC_1
="#"
49906 if test "x$MONOLITHIC" = "x1" ; then
49907 COND_MONOLITHIC_1
=""
49910 COND_MONOLITHIC_1_SHARED_0
="#"
49911 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49912 COND_MONOLITHIC_1_SHARED_0
=""
49915 COND_MONOLITHIC_1_SHARED_1
="#"
49916 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49917 COND_MONOLITHIC_1_SHARED_1
=""
49920 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
49921 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49922 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
49925 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
49926 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49927 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
49930 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
49931 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49932 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
49935 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
49936 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49937 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
49940 COND_PLATFORM_MACOSX_1
="#"
49941 if test "x$PLATFORM_MACOSX" = "x1" ; then
49942 COND_PLATFORM_MACOSX_1
=""
49945 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
49946 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49947 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
49950 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
49951 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49952 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
49955 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
49956 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49957 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
49960 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
49961 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49962 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
49965 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
49966 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49967 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
49970 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
49971 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49972 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
49975 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
49976 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49977 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
49980 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
49981 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49982 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
49985 COND_PLATFORM_MACOS_1
="#"
49986 if test "x$PLATFORM_MACOS" = "x1" ; then
49987 COND_PLATFORM_MACOS_1
=""
49990 COND_PLATFORM_MAC_0
="#"
49991 if test "x$PLATFORM_MAC" = "x0" ; then
49992 COND_PLATFORM_MAC_0
=""
49995 COND_PLATFORM_MAC_1
="#"
49996 if test "x$PLATFORM_MAC" = "x1" ; then
49997 COND_PLATFORM_MAC_1
=""
50000 COND_PLATFORM_MSDOS_0
="#"
50001 if test "x$PLATFORM_MSDOS" = "x0" ; then
50002 COND_PLATFORM_MSDOS_0
=""
50005 COND_PLATFORM_MSDOS_1
="#"
50006 if test "x$PLATFORM_MSDOS" = "x1" ; then
50007 COND_PLATFORM_MSDOS_1
=""
50010 COND_PLATFORM_OS2_1
="#"
50011 if test "x$PLATFORM_OS2" = "x1" ; then
50012 COND_PLATFORM_OS2_1
=""
50015 COND_PLATFORM_UNIX_0
="#"
50016 if test "x$PLATFORM_UNIX" = "x0" ; then
50017 COND_PLATFORM_UNIX_0
=""
50020 COND_PLATFORM_UNIX_1
="#"
50021 if test "x$PLATFORM_UNIX" = "x1" ; then
50022 COND_PLATFORM_UNIX_1
=""
50025 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50026 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50027 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50030 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50031 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50032 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50035 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50036 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50037 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50040 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50041 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50042 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50045 COND_PLATFORM_WIN32_0
="#"
50046 if test "x$PLATFORM_WIN32" = "x0" ; then
50047 COND_PLATFORM_WIN32_0
=""
50050 COND_PLATFORM_WIN32_1
="#"
50051 if test "x$PLATFORM_WIN32" = "x1" ; then
50052 COND_PLATFORM_WIN32_1
=""
50056 if test "x$SHARED" = "x0" ; then
50060 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50061 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50062 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50065 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50066 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50067 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50070 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50071 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50072 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50075 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50076 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50077 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50080 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50081 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50082 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50085 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50086 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50087 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50090 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50091 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50092 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50095 COND_SHARED_0_USE_STC_1
="#"
50096 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50097 COND_SHARED_0_USE_STC_1
=""
50100 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50101 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50102 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50105 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50106 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50107 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50110 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50111 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50112 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50116 if test "x$SHARED" = "x1" ; then
50120 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50121 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50122 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50126 if test "x$TOOLKIT" = "x" ; then
50130 COND_TOOLKIT_COCOA
="#"
50131 if test "x$TOOLKIT" = "xCOCOA" ; then
50132 COND_TOOLKIT_COCOA
=""
50135 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50136 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50137 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50140 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50141 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50142 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50145 COND_TOOLKIT_DFB
="#"
50146 if test "x$TOOLKIT" = "xDFB" ; then
50147 COND_TOOLKIT_DFB
=""
50150 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50151 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50152 COND_TOOLKIT_DFB_USE_GUI_1
=""
50155 COND_TOOLKIT_GTK
="#"
50156 if test "x$TOOLKIT" = "xGTK" ; then
50157 COND_TOOLKIT_GTK
=""
50160 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50161 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50162 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50165 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50166 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50167 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50170 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50171 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50172 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50175 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50176 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50177 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50180 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50181 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50182 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50185 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50186 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50187 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50190 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50191 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50192 COND_TOOLKIT_GTK_USE_GUI_1
=""
50195 COND_TOOLKIT_MAC
="#"
50196 if test "x$TOOLKIT" = "xMAC" ; then
50197 COND_TOOLKIT_MAC
=""
50200 COND_TOOLKIT_MGL
="#"
50201 if test "x$TOOLKIT" = "xMGL" ; then
50202 COND_TOOLKIT_MGL
=""
50205 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50206 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50207 COND_TOOLKIT_MGL_USE_GUI_1
=""
50210 COND_TOOLKIT_MOTIF
="#"
50211 if test "x$TOOLKIT" = "xMOTIF" ; then
50212 COND_TOOLKIT_MOTIF
=""
50215 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50216 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50217 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50220 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50221 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50222 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50225 COND_TOOLKIT_MSW
="#"
50226 if test "x$TOOLKIT" = "xMSW" ; then
50227 COND_TOOLKIT_MSW
=""
50230 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50231 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50232 COND_TOOLKIT_MSW_USE_GUI_1
=""
50235 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50236 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50237 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50240 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50241 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50242 COND_TOOLKIT_MSW_WXUNIV_0
=""
50245 COND_TOOLKIT_OSX_CARBON
="#"
50246 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50247 COND_TOOLKIT_OSX_CARBON
=""
50250 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50251 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50252 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50255 COND_TOOLKIT_OSX_COCOA
="#"
50256 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50257 COND_TOOLKIT_OSX_COCOA
=""
50260 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50261 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50262 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50265 COND_TOOLKIT_OSX_IPHONE
="#"
50266 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50267 COND_TOOLKIT_OSX_IPHONE
=""
50270 COND_TOOLKIT_PM
="#"
50271 if test "x$TOOLKIT" = "xPM" ; then
50275 COND_TOOLKIT_PM_USE_GUI_1
="#"
50276 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50277 COND_TOOLKIT_PM_USE_GUI_1
=""
50280 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50281 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50282 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50285 COND_TOOLKIT_WINCE
="#"
50286 if test "x$TOOLKIT" = "xWINCE" ; then
50287 COND_TOOLKIT_WINCE
=""
50290 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50291 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50292 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50295 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50296 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50297 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50300 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50301 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50302 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50305 COND_TOOLKIT_X11
="#"
50306 if test "x$TOOLKIT" = "xX11" ; then
50307 COND_TOOLKIT_X11
=""
50310 COND_TOOLKIT_X11_USE_GUI_1
="#"
50311 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50312 COND_TOOLKIT_X11_USE_GUI_1
=""
50316 if test "x$UNICODE" = "x1" ; then
50320 COND_USE_EXCEPTIONS_0
="#"
50321 if test "x$USE_EXCEPTIONS" = "x0" ; then
50322 COND_USE_EXCEPTIONS_0
=""
50325 COND_USE_EXCEPTIONS_1
="#"
50326 if test "x$USE_EXCEPTIONS" = "x1" ; then
50327 COND_USE_EXCEPTIONS_1
=""
50331 if test "x$USE_GUI" = "x0" ; then
50336 if test "x$USE_GUI" = "x1" ; then
50340 COND_USE_GUI_1_USE_OPENGL_1
="#"
50341 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50342 COND_USE_GUI_1_USE_OPENGL_1
=""
50345 COND_USE_GUI_1_WXUNIV_0
="#"
50346 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50347 COND_USE_GUI_1_WXUNIV_0
=""
50350 COND_USE_GUI_1_WXUNIV_1
="#"
50351 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50352 COND_USE_GUI_1_WXUNIV_1
=""
50355 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50356 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50357 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50360 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50361 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50362 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50365 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50366 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50367 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50370 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50371 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50372 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50375 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50376 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50377 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50380 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50381 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50382 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50385 COND_USE_OPENGL_1
="#"
50386 if test "x$USE_OPENGL" = "x1" ; then
50387 COND_USE_OPENGL_1
=""
50391 if test "x$USE_PCH" = "x1" ; then
50395 COND_USE_PLUGINS_0
="#"
50396 if test "x$USE_PLUGINS" = "x0" ; then
50397 COND_USE_PLUGINS_0
=""
50400 COND_USE_RTTI_0
="#"
50401 if test "x$USE_RTTI" = "x0" ; then
50405 COND_USE_RTTI_1
="#"
50406 if test "x$USE_RTTI" = "x1" ; then
50410 COND_USE_SOSYMLINKS_1
="#"
50411 if test "x$USE_SOSYMLINKS" = "x1" ; then
50412 COND_USE_SOSYMLINKS_1
=""
50415 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50416 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50417 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50420 COND_USE_SOVERLINUX_1
="#"
50421 if test "x$USE_SOVERLINUX" = "x1" ; then
50422 COND_USE_SOVERLINUX_1
=""
50425 COND_USE_SOVERSION_0
="#"
50426 if test "x$USE_SOVERSION" = "x0" ; then
50427 COND_USE_SOVERSION_0
=""
50430 COND_USE_SOVERSOLARIS_1
="#"
50431 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50432 COND_USE_SOVERSOLARIS_1
=""
50436 if test "x$USE_STC" = "x1" ; then
50440 COND_USE_THREADS_0
="#"
50441 if test "x$USE_THREADS" = "x0" ; then
50442 COND_USE_THREADS_0
=""
50445 COND_USE_THREADS_1
="#"
50446 if test "x$USE_THREADS" = "x1" ; then
50447 COND_USE_THREADS_1
=""
50451 if test "x$USE_XRC" = "x1" ; then
50455 COND_WINDOWS_IMPLIB_1
="#"
50456 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50457 COND_WINDOWS_IMPLIB_1
=""
50460 COND_WITH_PLUGIN_SDL_1
="#"
50461 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50462 COND_WITH_PLUGIN_SDL_1
=""
50466 if test "x$WXUNIV" = "x0" ; then
50471 if test "x$WXUNIV" = "x1" ; then
50475 COND_WXUSE_EXPAT_BUILTIN
="#"
50476 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50477 COND_WXUSE_EXPAT_BUILTIN
=""
50480 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50481 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50482 COND_WXUSE_LIBJPEG_BUILTIN
=""
50485 COND_WXUSE_LIBPNG_BUILTIN
="#"
50486 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50487 COND_WXUSE_LIBPNG_BUILTIN
=""
50490 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50491 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50492 COND_WXUSE_LIBTIFF_BUILTIN
=""
50495 COND_WXUSE_REGEX_BUILTIN
="#"
50496 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50497 COND_WXUSE_REGEX_BUILTIN
=""
50500 COND_WXUSE_ZLIB_BUILTIN
="#"
50501 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50502 COND_WXUSE_ZLIB_BUILTIN
=""
50505 COND_wxUSE_EXPAT_builtin
="#"
50506 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50507 COND_wxUSE_EXPAT_builtin
=""
50510 COND_wxUSE_LIBJPEG_builtin
="#"
50511 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50512 COND_wxUSE_LIBJPEG_builtin
=""
50515 COND_wxUSE_LIBPNG_builtin
="#"
50516 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50517 COND_wxUSE_LIBPNG_builtin
=""
50520 COND_wxUSE_LIBTIFF_builtin
="#"
50521 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50522 COND_wxUSE_LIBTIFF_builtin
=""
50525 COND_wxUSE_REGEX_builtin
="#"
50526 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50527 COND_wxUSE_REGEX_builtin
=""
50530 COND_wxUSE_ZLIB_builtin
="#"
50531 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50532 COND_wxUSE_ZLIB_builtin
=""
50537 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50538 { { 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
50539 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;}
50540 { (exit 1); exit 1; }; }
50543 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50544 { { 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
50545 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;}
50546 { (exit 1); exit 1; }; }
50553 ?
:* ) # Drive letter, considered as absolute.
50556 INSTALL
=`pwd`/${INSTALL} ;;
50559 if test "$wxUSE_GUI" = "yes"; then
50561 if test "$wxUSE_MSW" = 1 ; then
50562 if test "x$WINDRES" = "x"; then
50563 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50564 echo "$as_me: error: Required windres program not found" >&2;}
50565 { (exit 1); exit 1; }; }
50571 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50572 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50573 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50575 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50577 # Extract the first word of "DeRez", so it can be a program name with args.
50578 set dummy DeRez
; ac_word
=$2
50579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50581 if test "${ac_cv_prog_DEREZ+set}" = set; then
50582 echo $ECHO_N "(cached) $ECHO_C" >&6
50584 if test -n "$DEREZ"; then
50585 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50588 for as_dir
in $PATH
50591 test -z "$as_dir" && as_dir
=.
50592 for ac_exec_ext
in '' $ac_executable_extensions; do
50593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50594 ac_cv_prog_DEREZ
="DeRez"
50595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50602 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50605 DEREZ
=$ac_cv_prog_DEREZ
50606 if test -n "$DEREZ"; then
50607 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50608 echo "${ECHO_T}$DEREZ" >&6; }
50610 { echo "$as_me:$LINENO: result: no" >&5
50611 echo "${ECHO_T}no" >&6; }
50616 MACSETFILE
="\$(SETFILE)"
50618 if test "$wxUSE_OSX_CARBON" = 1; then
50619 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50621 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50623 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50624 RESCOMP
="cat /dev/null \| $REZ"
50625 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50631 if test "$wxUSE_PM" = 1; then
50633 WXCONFIG_RESFLAGS
="-ep"
50635 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50637 POSTLINK_COMMAND
="@true"
50644 if test $GCC_PCH = 1
50646 if test "$wx_cv_gcc_pch_bug" = yes; then
50647 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50648 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50649 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50650 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50651 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50652 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50655 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50656 # the headers that benefit from precompilation are mostly C++ headers.
50657 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50658 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50659 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50663 if test "$wxUSE_MAC" = 1 ; then
50664 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50665 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50671 if test "$wxUSE_SHARED" = "yes"; then
50673 *-pc-os2_emx | *-pc-os2-emx )
50674 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50675 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50676 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50677 cp -p ${srcdir}/src
/os
2/dllar.sh .
50681 if test "$wxUSE_OMF" = "yes"; then
50683 *-pc-os2_emx | *-pc-os2-emx )
50684 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50685 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50686 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50691 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50696 if test "$GCC" = yes; then
50697 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50698 LIBS
=`echo $LIBS | sed 's/-mt//'`
50699 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50704 if test "x$SUNCXX" = xyes
; then
50705 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50706 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50707 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50712 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50713 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50714 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50715 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50717 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50778 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50779 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50780 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50781 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50782 echo $ECHO_N "(cached) $ECHO_C" >&6
50784 cat >conftest.
make <<\_ACEOF
50787 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50789 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50790 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50791 *@@@
%%%=?
*=@@@
%%%*)
50792 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50794 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50796 rm -f conftest.
make
50798 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50799 { echo "$as_me:$LINENO: result: yes" >&5
50800 echo "${ECHO_T}yes" >&6; }
50803 { echo "$as_me:$LINENO: result: no" >&5
50804 echo "${ECHO_T}no" >&6; }
50805 SET_MAKE
="MAKE=${MAKE-make}"
50810 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50813 if test "$USE_WIN32" = 1; then
50814 ac_config_commands
="$ac_config_commands rcdefs.h"
50818 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50821 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50824 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50827 if test "$wx_cv_version_script" = "yes"; then
50828 ac_config_files
="$ac_config_files version-script"
50831 ac_config_files
="$ac_config_files Makefile"
50834 ac_config_commands
="$ac_config_commands wx-config"
50838 if test "$wxWITH_SUBDIRS" != "no"; then
50839 if test "$wxUSE_GUI" = "yes"; then
50840 SUBDIRS
="samples demos utils"
50842 SUBDIRS
="samples utils"
50847 # Check whether --with-cppunit-prefix was given.
50848 if test "${with_cppunit_prefix+set}" = set; then
50849 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50851 cppunit_config_prefix
=""
50855 # Check whether --with-cppunit-exec-prefix was given.
50856 if test "${with_cppunit_exec_prefix+set}" = set; then
50857 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50859 cppunit_config_exec_prefix
=""
50863 if test x
$cppunit_config_exec_prefix != x
; then
50864 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50865 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50866 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50869 if test x
$cppunit_config_prefix != x
; then
50870 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50871 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50872 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50876 # Extract the first word of "cppunit-config", so it can be a program name with args.
50877 set dummy cppunit
-config; ac_word
=$2
50878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50880 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50881 echo $ECHO_N "(cached) $ECHO_C" >&6
50883 case $CPPUNIT_CONFIG in
50885 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50889 for as_dir
in $PATH
50892 test -z "$as_dir" && as_dir
=.
50893 for ac_exec_ext
in '' $ac_executable_extensions; do
50894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50895 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
50896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50903 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
50907 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
50908 if test -n "$CPPUNIT_CONFIG"; then
50909 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50910 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50912 { echo "$as_me:$LINENO: result: no" >&5
50913 echo "${ECHO_T}no" >&6; }
50917 cppunit_version_min
=1.8.0
50919 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50920 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50922 if test "$CPPUNIT_CONFIG" = "no" ; then
50923 { echo "$as_me:$LINENO: result: no" >&5
50924 echo "${ECHO_T}no" >&6; }
50927 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
50928 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
50929 cppunit_version
=`$CPPUNIT_CONFIG --version`
50931 cppunit_major_version
=`echo $cppunit_version | \
50932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50933 cppunit_minor_version
=`echo $cppunit_version | \
50934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50935 cppunit_micro_version
=`echo $cppunit_version | \
50936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50938 cppunit_major_min
=`echo $cppunit_version_min | \
50939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50940 cppunit_minor_min
=`echo $cppunit_version_min | \
50941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50942 cppunit_micro_min
=`echo $cppunit_version_min | \
50943 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50945 cppunit_version_proper
=`expr \
50946 $cppunit_major_version \> $cppunit_major_min \| \
50947 $cppunit_major_version \= $cppunit_major_min \& \
50948 $cppunit_minor_version \> $cppunit_minor_min \| \
50949 $cppunit_major_version \= $cppunit_major_min \& \
50950 $cppunit_minor_version \= $cppunit_minor_min \& \
50951 $cppunit_micro_version \>= $cppunit_micro_min `
50953 if test "$cppunit_version_proper" = "1" ; then
50954 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50955 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50957 { echo "$as_me:$LINENO: result: no" >&5
50958 echo "${ECHO_T}no" >&6; }
50963 if test "x$no_cppunit" = x
; then
50964 SUBDIRS
="$SUBDIRS tests"
50975 for subdir
in $SUBDIRS; do
50976 if test -d ${srcdir}/${subdir} ; then
50977 if test "$wxUSE_GUI" = "yes"; then
50978 if test ${subdir} = "samples"; then
50979 makefiles
="samples/Makefile.in $makefiles"
50980 for sample
in $SAMPLES_SUBDIRS; do
50981 if test -d $srcdir/samples
/$sample; then
50982 makefiles
="samples/$sample/Makefile.in $makefiles"
50986 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
50987 eval "disabled=\$$disabled_var"
50988 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
50989 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50992 if test ${subdir} = "samples"; then
50993 makefiles
="samples/Makefile.in $makefiles"
50994 for sample
in `echo $SAMPLES_SUBDIRS`; do
50995 if test -d $srcdir/samples
/$sample; then
50996 makefiles
="samples/$sample/Makefile.in $makefiles"
50999 elif test ${subdir} = "utils"; then
51001 for util
in ifacecheck
; do
51002 if test -d $srcdir/utils
/$util ; then
51003 makefiles
="utils/$util/src/Makefile.in \
51008 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51012 for mkin
in $makefiles ; do
51013 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51014 ac_config_files
="$ac_config_files $mk"
51020 cat >confcache
<<\_ACEOF
51021 # This file is a shell script that caches the results of configure
51022 # tests run on this system so they can be shared between configure
51023 # scripts and configure runs, see configure's option --config-cache.
51024 # It is not useful on other systems. If it contains results you don't
51025 # want to keep, you may remove or edit it.
51027 # config.status only pays attention to the cache file if you give it
51028 # the --recheck option to rerun configure.
51030 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51031 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51032 # following values.
51036 # The following way of writing the cache mishandles newlines in values,
51037 # but we know of no workaround that is simple, portable, and efficient.
51038 # So, we kill variables containing newlines.
51039 # Ultrix sh set writes to stderr and can't be redirected directly,
51040 # and sets the high bit in the cache file unless we assign to the vars.
51042 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51043 eval ac_val
=\$
$ac_var
51047 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51048 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51051 _
| IFS
| as_nl
) ;; #(
51052 *) $as_unset $ac_var ;;
51058 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51059 *${as_nl}ac_space
=\
*)
51060 # `set' does not quote correctly, so add quotes (double-quote
51061 # substitution turns \\\\ into \\, and sed turns \\ into \).
51064 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51067 # `set' quotes correctly as required by POSIX, so do not add quotes.
51068 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51077 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51079 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51081 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51082 if test -w "$cache_file"; then
51083 test "x$cache_file" != "x/dev/null" &&
51084 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51085 echo "$as_me: updating cache $cache_file" >&6;}
51086 cat confcache
>$cache_file
51088 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51089 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51094 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51095 # Let make expand exec_prefix.
51096 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51098 DEFS
=-DHAVE_CONFIG_H
51102 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51103 # 1. Remove the extension, and $U if already installed.
51104 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51105 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51106 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51107 # will be set to the directory where LIBOBJS objects are built.
51108 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51109 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51111 LIBOBJS
=$ac_libobjs
51113 LTLIBOBJS
=$ac_ltlibobjs
51117 : ${CONFIG_STATUS=./config.status}
51118 ac_clean_files_save
=$ac_clean_files
51119 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51120 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51121 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51122 cat >$CONFIG_STATUS <<_ACEOF
51124 # Generated by $as_me.
51125 # Run this file to recreate the current configuration.
51126 # Compiler output produced by configure, useful for debugging
51127 # configure, is in config.log if it exists.
51130 ac_cs_recheck=false
51132 SHELL=\${CONFIG_SHELL-$SHELL}
51135 cat >>$CONFIG_STATUS <<\_ACEOF
51136 ## --------------------- ##
51137 ## M4sh Initialization. ##
51138 ## --------------------- ##
51140 # Be more Bourne compatible
51141 DUALCASE
=1; export DUALCASE
# for MKS sh
51142 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51145 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51146 # is contrary to our usage. Disable this feature.
51147 alias -g '${1+"$@"}'='"$@"'
51148 setopt NO_GLOB_SUBST
51150 case `(set -o) 2>/dev/null` in
51151 *posix
*) set -o posix
;;
51160 # Avoid depending upon Character Ranges.
51161 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51162 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51163 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51164 as_cr_digits
='0123456789'
51165 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51167 # The user is always right.
51168 if test "${PATH_SEPARATOR+set}" != set; then
51169 echo "#! /bin/sh" >conf$$.sh
51170 echo "exit 0" >>conf$$.sh
51172 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51180 # Support unset when possible.
51181 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51189 # We need space, tab and new line, in precisely that order. Quoting is
51190 # there to prevent editors from complaining about space-tab.
51191 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51192 # splitting by setting IFS to empty value.)
51197 # Find who we are. Look in the path if we contain no directory separator.
51199 *[\\/]* ) as_myself
=$0 ;;
51200 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51201 for as_dir
in $PATH
51204 test -z "$as_dir" && as_dir
=.
51205 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51211 # We did not find ourselves, most probably we were run as `sh COMMAND'
51212 # in which case we are not to be found in the path.
51213 if test "x$as_myself" = x
; then
51216 if test ! -f "$as_myself"; then
51217 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51218 { (exit 1); exit 1; }
51221 # Work around bugs in pre-3.0 UWIN ksh.
51222 for as_var
in ENV MAIL MAILPATH
51223 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51231 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51232 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51233 LC_TELEPHONE LC_TIME
51235 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51236 eval $as_var=C
; export $as_var
51238 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51242 # Required to use basename.
51243 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51244 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51250 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51251 as_basename
=basename
51257 # Name of the executable.
51258 as_me
=`$as_basename -- "$0" ||
51259 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51260 X"$0" : 'X\(//\)$' \| \
51261 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51263 sed '/^.*\/\([^/][^/]*\)\/*$/{
51282 as_lineno_1
=$LINENO
51283 as_lineno_2
=$LINENO
51284 test "x$as_lineno_1" != "x$as_lineno_2" &&
51285 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51287 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51288 # uniformly replaced by the line number. The first 'sed' inserts a
51289 # line-number line after each line using $LINENO; the second 'sed'
51290 # does the real work. The second script uses 'N' to pair each
51291 # line-number line with the line containing $LINENO, and appends
51292 # trailing '-' during substitution so that $LINENO is not a special
51293 # case at line end.
51294 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51295 # scripts with optimization help from Paolo Bonzini. Blame Lee
51296 # E. McMahon (1931-1989) for sed's syntax. :-)
51308 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51311 ' >$as_me.lineno
&&
51312 chmod +x
"$as_me.lineno" ||
51313 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51314 { (exit 1); exit 1; }; }
51316 # Don't try to exec as it changes $[0], causing all sort of problems
51317 # (the dirname of $[0] is not the place where we might find the
51318 # original and so on. Autoconf is especially sensitive to this).
51319 .
"./$as_me.lineno"
51320 # Exit status is that of the last command.
51325 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51331 ECHO_C
= ECHO_N
= ECHO_T
=
51332 case `echo -n x` in
51334 case `echo 'x\c'` in
51335 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51342 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51343 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51349 rm -f conf$$ conf$$.exe conf$$.
file
51350 if test -d conf$$.dir
; then
51351 rm -f conf$$.dir
/conf$$.
file
51357 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51359 # ... but there are two gotchas:
51360 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51361 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51362 # In both cases, we have to default to `cp -p'.
51363 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51365 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51370 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51371 rmdir conf$$.dir
2>/dev
/null
51373 if mkdir -p .
2>/dev
/null
; then
51376 test -d .
/-p && rmdir .
/-p
51380 if test -x / >/dev
/null
2>&1; then
51381 as_test_x
='test -x'
51383 if ls -dL / >/dev
/null
2>&1; then
51390 if test -d "$1"; then
51396 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51397 ???[sx]*):;;*)false;;esac;fi
51401 as_executable_p
=$as_test_x
51403 # Sed expression to map a string onto a valid CPP name.
51404 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51406 # Sed expression to map a string onto a valid variable name.
51407 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51412 # Save the log message, to keep $[0] and so on meaningful, and to
51413 # report actual input values of CONFIG_FILES etc. instead of their
51414 # values after options handling.
51416 This file was extended by wxWidgets $as_me 2.9.0, which was
51417 generated by GNU Autoconf 2.61. Invocation command line was
51419 CONFIG_FILES = $CONFIG_FILES
51420 CONFIG_HEADERS = $CONFIG_HEADERS
51421 CONFIG_LINKS = $CONFIG_LINKS
51422 CONFIG_COMMANDS = $CONFIG_COMMANDS
51425 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51430 cat >>$CONFIG_STATUS <<_ACEOF
51431 # Files that config.status was made for.
51432 config_files="$ac_config_files"
51433 config_headers="$ac_config_headers"
51434 config_commands="$ac_config_commands"
51438 cat >>$CONFIG_STATUS <<\_ACEOF
51440 \`$as_me' instantiates files from templates according to the
51441 current configuration.
51443 Usage: $0 [OPTIONS] [FILE]...
51445 -h, --help print this help, then exit
51446 -V, --version print version number and configuration settings, then exit
51447 -q, --quiet do not print progress messages
51448 -d, --debug don't remove temporary files
51449 --recheck update $as_me by reconfiguring in the same conditions
51450 --file=FILE[:TEMPLATE]
51451 instantiate the configuration file FILE
51452 --header=FILE[:TEMPLATE]
51453 instantiate the configuration header FILE
51455 Configuration files:
51458 Configuration headers:
51461 Configuration commands:
51464 Report bugs to <bug-autoconf@gnu.org>."
51467 cat >>$CONFIG_STATUS <<_ACEOF
51469 wxWidgets config.status 2.9.0
51470 configured by $0, generated by GNU Autoconf 2.61,
51471 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51473 Copyright (C) 2006 Free Software Foundation, Inc.
51474 This config.status script is free software; the Free Software Foundation
51475 gives unlimited permission to copy, distribute and modify it."
51482 cat >>$CONFIG_STATUS <<\_ACEOF
51483 # If no file are specified by the user, then we need to provide default
51484 # value. By we need to know if files were specified by the user.
51490 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51491 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51502 # Handling of the options.
51503 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51505 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51506 echo "$ac_cs_version"; exit ;;
51507 --debug | --debu | --deb | --de | --d | -d )
51509 --file | --fil | --fi | --f )
51511 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51512 ac_need_defaults
=false
;;
51513 --header | --heade | --head | --hea )
51515 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51516 ac_need_defaults
=false
;;
51518 # Conflict between --help and --header
51519 { echo "$as_me: error: ambiguous option: $1
51520 Try \`$0 --help' for more information." >&2
51521 { (exit 1); exit 1; }; };;
51522 --help | --hel | -h )
51523 echo "$ac_cs_usage"; exit ;;
51524 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51525 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51528 # This is an error.
51529 -*) { echo "$as_me: error: unrecognized option: $1
51530 Try \`$0 --help' for more information." >&2
51531 { (exit 1); exit 1; }; } ;;
51533 *) ac_config_targets
="$ac_config_targets $1"
51534 ac_need_defaults
=false
;;
51540 ac_configure_extra_args
=
51542 if $ac_cs_silent; then
51544 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51548 cat >>$CONFIG_STATUS <<_ACEOF
51549 if \$ac_cs_recheck; then
51550 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51551 CONFIG_SHELL=$SHELL
51552 export CONFIG_SHELL
51553 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51557 cat >>$CONFIG_STATUS <<\_ACEOF
51561 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51562 ## Running $as_me. ##
51568 cat >>$CONFIG_STATUS <<_ACEOF
51574 infile="$srcdir/include/wx/msw/genrcdefs.h"
51575 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51578 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51579 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51580 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51586 cat >>$CONFIG_STATUS <<\_ACEOF
51588 # Handling of arguments.
51589 for ac_config_target
in $ac_config_targets
51591 case $ac_config_target in
51592 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51593 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51594 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51595 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51596 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51597 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51598 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51599 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51600 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51602 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51603 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51604 { (exit 1); exit 1; }; };;
51609 # If the user did not use the arguments to specify the items to instantiate,
51610 # then the envvar interface is used. Set only those that are not.
51611 # We use the long form for the default assignment because of an extremely
51612 # bizarre bug on SunOS 4.1.3.
51613 if $ac_need_defaults; then
51614 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51615 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51616 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51619 # Have a temporary directory for convenience. Make it in the build tree
51620 # simply because there is no reason against having it here, and in addition,
51621 # creating and moving files from /tmp can sometimes cause problems.
51622 # Hook for its removal unless debugging.
51623 # Note that there is a small window in which the directory will not be cleaned:
51624 # after its creation but before its name has been assigned to `$tmp'.
51628 trap 'exit_status=$?
51629 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51631 trap '{ (exit 1); exit 1; }' 1 2 13 15
51633 # Create a (secure) tmp directory for tmp files.
51636 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51637 test -n "$tmp" && test -d "$tmp"
51640 tmp
=.
/conf$$
-$RANDOM
51641 (umask 077 && mkdir "$tmp")
51644 echo "$me: cannot create a temporary directory in ." >&2
51645 { (exit 1); exit 1; }
51649 # Set up the sed scripts for CONFIG_FILES section.
51652 # No need to generate the scripts if there are no CONFIG_FILES.
51653 # This happens for instance when ./config.status config.h
51654 if test -n "$CONFIG_FILES"; then
51661 for ac_last_try
in false false false false false
:; do
51662 cat >conf$
$subs.
sed <<_ACEOF
51663 SHELL!$SHELL$ac_delim
51664 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51665 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51666 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51667 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51668 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51669 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51670 exec_prefix!$exec_prefix$ac_delim
51671 prefix!$prefix$ac_delim
51672 program_transform_name!$program_transform_name$ac_delim
51673 bindir!$bindir$ac_delim
51674 sbindir!$sbindir$ac_delim
51675 libexecdir!$libexecdir$ac_delim
51676 datarootdir!$datarootdir$ac_delim
51677 datadir!$datadir$ac_delim
51678 sysconfdir!$sysconfdir$ac_delim
51679 sharedstatedir!$sharedstatedir$ac_delim
51680 localstatedir!$localstatedir$ac_delim
51681 includedir!$includedir$ac_delim
51682 oldincludedir!$oldincludedir$ac_delim
51683 docdir!$docdir$ac_delim
51684 infodir!$infodir$ac_delim
51685 htmldir!$htmldir$ac_delim
51686 dvidir!$dvidir$ac_delim
51687 pdfdir!$pdfdir$ac_delim
51688 psdir!$psdir$ac_delim
51689 libdir!$libdir$ac_delim
51690 localedir!$localedir$ac_delim
51691 mandir!$mandir$ac_delim
51692 DEFS!$DEFS$ac_delim
51693 ECHO_C!$ECHO_C$ac_delim
51694 ECHO_N!$ECHO_N$ac_delim
51695 ECHO_T!$ECHO_T$ac_delim
51696 LIBS!$LIBS$ac_delim
51697 build_alias!$build_alias$ac_delim
51698 host_alias!$host_alias$ac_delim
51699 target_alias!$target_alias$ac_delim
51700 build!$build$ac_delim
51701 build_cpu!$build_cpu$ac_delim
51702 build_vendor!$build_vendor$ac_delim
51703 build_os!$build_os$ac_delim
51704 host!$host$ac_delim
51705 host_cpu!$host_cpu$ac_delim
51706 host_vendor!$host_vendor$ac_delim
51707 host_os!$host_os$ac_delim
51708 wx_top_builddir!$wx_top_builddir$ac_delim
51710 CFLAGS!$CFLAGS$ac_delim
51711 LDFLAGS!$LDFLAGS$ac_delim
51712 CPPFLAGS!$CPPFLAGS$ac_delim
51713 ac_ct_CC!$ac_ct_CC$ac_delim
51714 EXEEXT!$EXEEXT$ac_delim
51715 OBJEXT!$OBJEXT$ac_delim
51717 GREP!$GREP$ac_delim
51718 EGREP!$EGREP$ac_delim
51720 CXXFLAGS!$CXXFLAGS$ac_delim
51721 ac_ct_CXX!$ac_ct_CXX$ac_delim
51723 subdirs!$subdirs$ac_delim
51724 PKG_CONFIG!$PKG_CONFIG$ac_delim
51725 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51726 GTK_LIBS!$GTK_LIBS$ac_delim
51727 GTK_CONFIG!$GTK_CONFIG$ac_delim
51728 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51729 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51730 XMKMF!$XMKMF$ac_delim
51731 X_CFLAGS!$X_CFLAGS$ac_delim
51732 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51733 X_LIBS!$X_LIBS$ac_delim
51734 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51735 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51736 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51737 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51738 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51739 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51740 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51741 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51742 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51743 LIBICONV!$LIBICONV$ac_delim
51744 GXX_VERSION!$GXX_VERSION$ac_delim
51745 SDL_CONFIG!$SDL_CONFIG$ac_delim
51746 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51747 SDL_LIBS!$SDL_LIBS$ac_delim
51748 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51749 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51750 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51751 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51752 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51753 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51754 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51755 HILDON_LIBS!$HILDON_LIBS$ac_delim
51756 PYTHON!$PYTHON$ac_delim
51757 COND_PYTHON!$COND_PYTHON$ac_delim
51758 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51759 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51762 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51764 elif $ac_last_try; then
51765 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51766 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51767 { (exit 1); exit 1; }; }
51769 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51773 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51774 if test -n "$ac_eof"; then
51775 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51776 ac_eof
=`expr $ac_eof + 1`
51779 cat >>$CONFIG_STATUS <<_ACEOF
51780 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51781 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51784 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51785 s/^/s,@/; s/!/@,|#_!!_#|/
51788 s/'"$ac_delim"'$/,g/; t
51790 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51791 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51792 rm -f conf$
$subs.
sed
51793 cat >>$CONFIG_STATUS <<_ACEOF
51799 for ac_last_try
in false false false false false
:; do
51800 cat >conf$
$subs.
sed <<_ACEOF
51801 GST_CFLAGS!$GST_CFLAGS$ac_delim
51802 GST_LIBS!$GST_LIBS$ac_delim
51803 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51804 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51805 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51806 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51807 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51808 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51809 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51810 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51811 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51812 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51813 VENDOR!$VENDOR$ac_delim
51814 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51815 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51816 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51817 WXUNIV!$WXUNIV$ac_delim
51818 MONOLITHIC!$MONOLITHIC$ac_delim
51819 USE_PLUGINS!$USE_PLUGINS$ac_delim
51820 CXXWARNINGS!$CXXWARNINGS$ac_delim
51821 EXTRALIBS!$EXTRALIBS$ac_delim
51822 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51823 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51824 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51825 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51826 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51827 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51828 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51829 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51830 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51831 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51832 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51833 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51834 UNICODE!$UNICODE$ac_delim
51835 BUILD!$BUILD$ac_delim
51836 DEBUG_INFO!$DEBUG_INFO$ac_delim
51837 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51838 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51839 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51840 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51841 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51842 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51843 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51844 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51845 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51846 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51847 RANLIB!$RANLIB$ac_delim
51848 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51849 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51850 INSTALL_DATA!$INSTALL_DATA$ac_delim
51851 LN_S!$LN_S$ac_delim
51852 SET_MAKE!$SET_MAKE$ac_delim
51853 MAKE_SET!$MAKE_SET$ac_delim
51854 AROPTIONS!$AROPTIONS$ac_delim
51855 STRIP!$STRIP$ac_delim
51857 INSTALL_DIR!$INSTALL_DIR$ac_delim
51858 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51859 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51860 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51861 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51862 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51863 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51864 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51865 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51866 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51867 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51868 SO_SUFFIX!$SO_SUFFIX$ac_delim
51869 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51870 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51871 LIBPREFIX!$LIBPREFIX$ac_delim
51872 LIBEXT!$LIBEXT$ac_delim
51873 DLLPREFIX!$DLLPREFIX$ac_delim
51874 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51875 dlldir!$dlldir$ac_delim
51876 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51877 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51878 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51879 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51880 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51881 PIC_FLAG!$PIC_FLAG$ac_delim
51882 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51883 USE_SOVERSION!$USE_SOVERSION$ac_delim
51884 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51885 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51886 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51887 USE_MACVERSION!$USE_MACVERSION$ac_delim
51888 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51889 SONAME_FLAG!$SONAME_FLAG$ac_delim
51890 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51891 BK_DEPS!$BK_DEPS$ac_delim
51892 WINDRES!$WINDRES$ac_delim
51894 SETFILE!$SETFILE$ac_delim
51895 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51896 GCC_PCH!$GCC_PCH$ac_delim
51897 ICC_PCH!$ICC_PCH$ac_delim
51900 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51902 elif $ac_last_try; then
51903 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51904 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51905 { (exit 1); exit 1; }; }
51907 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51911 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51912 if test -n "$ac_eof"; then
51913 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51914 ac_eof
=`expr $ac_eof + 1`
51917 cat >>$CONFIG_STATUS <<_ACEOF
51918 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51919 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51922 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51923 s/^/s,@/; s/!/@,|#_!!_#|/
51926 s/'"$ac_delim"'$/,g/; t
51928 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51929 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51930 rm -f conf$
$subs.
sed
51931 cat >>$CONFIG_STATUS <<_ACEOF
51937 for ac_last_try
in false false false false false
:; do
51938 cat >conf$
$subs.
sed <<_ACEOF
51939 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51940 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
51941 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51942 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51943 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51944 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51945 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51946 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51947 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51948 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51949 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51950 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51951 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51952 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51953 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51954 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51955 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51956 COND_BUILD_release!$COND_BUILD_release$ac_delim
51957 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51958 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51959 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51960 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51961 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51962 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51963 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51964 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51965 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51966 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51967 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51968 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51969 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51970 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51971 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51972 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51973 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51974 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51975 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51976 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51977 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51978 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51979 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51980 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51981 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51982 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51983 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51984 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51985 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51986 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51987 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51988 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51989 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51990 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51991 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51992 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51993 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51994 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51995 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51996 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51997 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51998 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51999 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52000 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52001 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52002 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52003 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52004 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52005 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52006 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52007 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52008 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
52009 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52010 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
52011 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52012 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52013 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52014 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52015 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52016 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52017 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52018 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52019 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52020 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52021 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52022 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52023 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52024 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52025 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52026 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52027 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52028 COND_SHARED_0!$COND_SHARED_0$ac_delim
52029 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52030 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52031 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52032 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52033 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52034 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52035 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52038 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52040 elif $ac_last_try; then
52041 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52042 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52043 { (exit 1); exit 1; }; }
52045 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52049 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52050 if test -n "$ac_eof"; then
52051 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52052 ac_eof
=`expr $ac_eof + 1`
52055 cat >>$CONFIG_STATUS <<_ACEOF
52056 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52057 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52060 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52061 s/^/s,@/; s/!/@,|#_!!_#|/
52064 s/'"$ac_delim"'$/,g/; t
52066 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52067 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52068 rm -f conf$
$subs.
sed
52069 cat >>$CONFIG_STATUS <<_ACEOF
52075 for ac_last_try
in false false false false false
:; do
52076 cat >conf$
$subs.
sed <<_ACEOF
52077 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52078 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52079 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52080 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52081 COND_SHARED_1!$COND_SHARED_1$ac_delim
52082 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52083 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52084 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52085 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52086 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52087 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52088 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52089 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52090 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52091 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52092 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52093 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52094 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52095 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52096 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52097 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52098 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52099 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52100 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52101 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52102 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52103 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52104 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52105 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52106 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52107 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52108 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52109 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52110 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52111 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52112 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52113 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52114 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52115 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52116 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52117 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52118 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52119 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52120 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52121 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52122 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52123 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52124 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52125 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52126 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52127 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52128 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52129 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52130 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52131 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52132 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52133 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52134 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52135 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52136 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52137 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52138 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52139 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52140 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52141 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52142 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52143 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52144 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52145 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52146 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52147 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52148 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52149 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52150 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52151 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52152 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52153 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52154 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52155 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52156 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52157 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52158 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52159 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52160 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52161 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52162 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52163 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52164 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52165 DEREZ!$DEREZ$ac_delim
52166 SHARED!$SHARED$ac_delim
52167 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52168 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52169 USE_GUI!$USE_GUI$ac_delim
52170 AFMINSTALL!$AFMINSTALL$ac_delim
52171 WIN32INSTALL!$WIN32INSTALL$ac_delim
52172 TOOLKIT!$TOOLKIT$ac_delim
52173 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52176 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52178 elif $ac_last_try; then
52179 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52180 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52181 { (exit 1); exit 1; }; }
52183 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52187 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52188 if test -n "$ac_eof"; then
52189 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52190 ac_eof
=`expr $ac_eof + 1`
52193 cat >>$CONFIG_STATUS <<_ACEOF
52194 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52195 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52198 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52199 s/^/s,@/; s/!/@,|#_!!_#|/
52202 s/'"$ac_delim"'$/,g/; t
52204 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52205 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52206 rm -f conf$
$subs.
sed
52207 cat >>$CONFIG_STATUS <<_ACEOF
52213 for ac_last_try
in false false false false false
:; do
52214 cat >conf$
$subs.
sed <<_ACEOF
52215 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52216 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52217 cross_compiling!$cross_compiling$ac_delim
52218 WIDGET_SET!$WIDGET_SET$ac_delim
52219 WX_RELEASE!$WX_RELEASE$ac_delim
52220 WX_VERSION!$WX_VERSION$ac_delim
52221 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52222 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52223 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52224 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52225 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52226 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52227 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52228 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52229 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52230 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52231 GUIDIST!$GUIDIST$ac_delim
52232 DISTDIR!$DISTDIR$ac_delim
52233 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52234 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52235 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52236 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52237 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52238 RESCOMP!$RESCOMP$ac_delim
52239 RESFLAGS!$RESFLAGS$ac_delim
52240 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52241 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52242 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52243 LIBWXMACRES!$LIBWXMACRES$ac_delim
52244 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52245 MACSETFILE!$MACSETFILE$ac_delim
52247 DLLTOOL!$DLLTOOL$ac_delim
52248 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52249 LIBOBJS!$LIBOBJS$ac_delim
52250 LTLIBOBJS!$LTLIBOBJS$ac_delim
52253 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
52255 elif $ac_last_try; then
52256 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52257 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52258 { (exit 1); exit 1; }; }
52260 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52264 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52265 if test -n "$ac_eof"; then
52266 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52267 ac_eof
=`expr $ac_eof + 1`
52270 cat >>$CONFIG_STATUS <<_ACEOF
52271 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52272 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52275 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52276 s/^/s,@/; s/!/@,|#_!!_#|/
52279 s/'"$ac_delim"'$/,g/; t
52281 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52282 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52283 rm -f conf$
$subs.
sed
52284 cat >>$CONFIG_STATUS <<_ACEOF
52291 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52292 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52293 # trailing colons and then remove the whole line if VPATH becomes empty
52294 # (actually we leave an empty line to preserve line numbers).
52295 if test "x$srcdir" = x.
; then
52296 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52297 s/:*\$(srcdir):*/:/
52298 s/:*\${srcdir}:*/:/
52300 s/^\([^=]*=[ ]*\):*/\1/
52306 cat >>$CONFIG_STATUS <<\_ACEOF
52307 fi # test -n "$CONFIG_FILES"
52310 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52313 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52315 case $ac_mode$ac_tag in
52317 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52318 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52319 { (exit 1); exit 1; }; };;
52320 :[FH
]-) ac_tag
=-:-;;
52321 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52338 -) ac_f
="$tmp/stdin";;
52339 *) # Look for the file first in the build tree, then in the source tree
52340 # (if the path is not absolute). The absolute path cannot be DOS-style,
52341 # because $ac_f cannot contain `:'.
52345 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52347 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52348 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52349 { (exit 1); exit 1; }; };;
52351 ac_file_inputs
="$ac_file_inputs $ac_f"
52354 # Let's still pretend it is `configure' which instantiates (i.e., don't
52355 # use $as_me), people would be surprised to read:
52356 # /* config.h. Generated by config.status. */
52357 configure_input
="Generated from "`IFS=:
52358 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52359 if test x
"$ac_file" != x
-; then
52360 configure_input
="$ac_file. $configure_input"
52361 { echo "$as_me:$LINENO: creating $ac_file" >&5
52362 echo "$as_me: creating $ac_file" >&6;}
52366 *:-:* | *:-) cat >"$tmp/stdin";;
52371 ac_dir
=`$as_dirname -- "$ac_file" ||
52372 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52373 X"$ac_file" : 'X\(//\)[^/]' \| \
52374 X"$ac_file" : 'X\(//\)$' \| \
52375 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52381 /^X\(\/\/\)[^/].*/{
52396 -*) as_dir
=.
/$as_dir;;
52398 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52402 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52403 *) as_qdir
=$as_dir;;
52405 as_dirs
="'$as_qdir' $as_dirs"
52406 as_dir
=`$as_dirname -- "$as_dir" ||
52407 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52408 X"$as_dir" : 'X\(//\)[^/]' \| \
52409 X"$as_dir" : 'X\(//\)$' \| \
52410 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52416 /^X\(\/\/\)[^/].*/{
52429 test -d "$as_dir" && break
52431 test -z "$as_dirs" || eval "mkdir $as_dirs"
52432 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52433 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52434 { (exit 1); exit 1; }; }; }
52438 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52440 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52441 # A ".." for each directory in $ac_dir_suffix.
52442 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52443 case $ac_top_builddir_sub in
52444 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52445 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52448 ac_abs_top_builddir
=$ac_pwd
52449 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52450 # for backward compatibility:
52451 ac_top_builddir
=$ac_top_build_prefix
52454 .
) # We are building in place.
52456 ac_top_srcdir
=$ac_top_builddir_sub
52457 ac_abs_top_srcdir
=$ac_pwd ;;
52458 [\\/]* | ?
:[\\/]* ) # Absolute name.
52459 ac_srcdir
=$srcdir$ac_dir_suffix;
52460 ac_top_srcdir
=$srcdir
52461 ac_abs_top_srcdir
=$srcdir ;;
52462 *) # Relative name.
52463 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52464 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52465 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52467 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52477 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52478 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52482 cat >>$CONFIG_STATUS <<\_ACEOF
52483 # If the template does not know about datarootdir, expand it.
52484 # FIXME: This hack should be removed a few years after 2.60.
52485 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52487 case `sed -n '/datarootdir/ {
52496 ' $ac_file_inputs` in
52497 *datarootdir
*) ac_datarootdir_seen
=yes;;
52498 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52499 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52500 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52502 cat >>$CONFIG_STATUS <<_ACEOF
52503 ac_datarootdir_hack='
52504 s&@datadir@&$datadir&g
52505 s&@docdir@&$docdir&g
52506 s&@infodir@&$infodir&g
52507 s&@localedir@&$localedir&g
52508 s&@mandir@&$mandir&g
52509 s&\\\${datarootdir}&$datarootdir&g' ;;
52513 # Neutralize VPATH when `$srcdir' = `.'.
52514 # Shell code in configure.ac might set extrasub.
52515 # FIXME: do we really want to maintain this feature?
52516 cat >>$CONFIG_STATUS <<_ACEOF
52520 cat >>$CONFIG_STATUS <<\_ACEOF
52522 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52523 s
&@configure_input@
&$configure_input&;t t
52524 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52525 s
&@srcdir@
&$ac_srcdir&;t t
52526 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52527 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52528 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52529 s
&@builddir@
&$ac_builddir&;t t
52530 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52531 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52532 s
&@INSTALL@
&$ac_INSTALL&;t t
52533 $ac_datarootdir_hack
52534 " $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
52536 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52537 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52538 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52539 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52540 which seems to be undefined. Please make sure it is defined." >&5
52541 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52542 which seems to be undefined. Please make sure it is defined." >&2;}
52546 -) cat "$tmp/out"; rm -f "$tmp/out";;
52547 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52556 # Transform confdefs.h into a sed script `conftest.defines', that
52557 # substitutes the proper values into config.h.in to produce config.h.
52558 rm -f conftest.defines conftest.
tail
52559 # First, append a space to every undef/define line, to ease matching.
52560 echo 's/$/ /' >conftest.defines
52561 # Then, protect against being on the right side of a sed subst, or in
52562 # an unquoted here document, in config.status. If some macros were
52563 # called several times there might be several #defines for the same
52564 # symbol, which is useless. But do not sort them, since the last
52565 # AC_DEFINE must be honored.
52566 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52567 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52568 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52569 # PARAMS is the parameter list in the macro definition--in most cases, it's
52570 # just an empty string.
52571 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52572 ac_dB
='\\)[ (].*,\\1define\\2'
52580 s/^[ ]*#[ ]*define[ ][ ]*//
52585 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52586 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52587 ' >>conftest.defines
52589 # Remove the space that was appended to ease matching.
52590 # Then replace #undef with comments. This is necessary, for
52591 # example, in the case of _POSIX_SOURCE, which is predefined and required
52592 # on some systems where configure will not decide to define it.
52593 # (The regexp can be short, since the line contains either #define or #undef.)
52595 s,^[ #]*u.*,/* & */,' >>conftest.defines
52597 # Break up conftest.defines:
52598 ac_max_sed_lines
=50
52600 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52601 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52602 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52604 ac_in
='$ac_file_inputs'
52605 ac_out
='"$tmp/out1"'
52606 ac_nxt
='"$tmp/out2"'
52610 # Write a here document:
52611 cat >>$CONFIG_STATUS <<_ACEOF
52612 # First, check the format of the line:
52613 cat >"\$tmp/defines.sed" <<\\CEOF
52614 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52615 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52619 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52621 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52622 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52623 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52624 grep . conftest.
tail >/dev
/null
|| break
52625 rm -f conftest.defines
52626 mv conftest.
tail conftest.defines
52628 rm -f conftest.defines conftest.
tail
52630 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52631 cat >>$CONFIG_STATUS <<\_ACEOF
52632 if test x
"$ac_file" != x
-; then
52633 echo "/* $configure_input */" >"$tmp/config.h"
52634 cat "$ac_result" >>"$tmp/config.h"
52635 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52636 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52637 echo "$as_me: $ac_file is unchanged" >&6;}
52640 mv "$tmp/config.h" $ac_file
52643 echo "/* $configure_input */"
52649 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52650 echo "$as_me: executing $ac_file commands" >&6;}
52655 case $ac_file$ac_mode in
52657 mkdir -p $outdir &&
52658 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52660 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52661 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52662 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52663 "wx-config":C
) rm -f wx
-config
52664 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52671 { (exit 0); exit 0; }
52673 chmod +x
$CONFIG_STATUS
52674 ac_clean_files
=$ac_clean_files_save
52677 # configure is writing to config.log, and then calls config.status.
52678 # config.status does its own redirection, appending to config.log.
52679 # Unfortunately, on DOS this fails, as config.log is still kept open
52680 # by configure, so config.status won't be able to write to it; its
52681 # output is simply discarded. So we exec the FD to /dev/null,
52682 # effectively closing config.log, so it can be properly (re)opened and
52683 # appended to by config.status. When coming back to configure, we
52684 # need to make the FD available again.
52685 if test "$no_create" != yes; then
52687 ac_config_status_args
=
52688 test "$silent" = yes &&
52689 ac_config_status_args
="$ac_config_status_args --quiet"
52691 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52693 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52694 # would make configure fail if this is the last instruction.
52695 $ac_cs_success || { (exit 1); exit 1; }
52699 # CONFIG_SUBDIRS section.
52701 if test "$no_recursion" != yes; then
52703 # Remove --cache-file and --srcdir arguments so they do not pile up.
52704 ac_sub_configure_args
=
52706 eval "set x $ac_configure_args"
52710 if test -n "$ac_prev"; then
52715 -cache-file | --cache-file | --cache-fil | --cache-fi \
52716 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52717 ac_prev
=cache_file
;;
52718 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52719 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52722 --config-cache | -C)
52724 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52726 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52728 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52730 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52734 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52736 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52740 # Always prepend --prefix to ensure using the same prefix
52741 # in subdir configurations.
52742 ac_arg
="--prefix=$prefix"
52744 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52746 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52749 if test "$silent" = yes; then
52750 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52754 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52756 # Do not complain, so a configure script can configure whichever
52757 # parts of a large source tree are present.
52758 test -d "$srcdir/$ac_dir" || continue
52760 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52761 echo "$as_me:$LINENO: $ac_msg" >&5
52765 -*) as_dir
=.
/$as_dir;;
52767 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52771 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52772 *) as_qdir
=$as_dir;;
52774 as_dirs
="'$as_qdir' $as_dirs"
52775 as_dir
=`$as_dirname -- "$as_dir" ||
52776 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52777 X"$as_dir" : 'X\(//\)[^/]' \| \
52778 X"$as_dir" : 'X\(//\)$' \| \
52779 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52785 /^X\(\/\/\)[^/].*/{
52798 test -d "$as_dir" && break
52800 test -z "$as_dirs" || eval "mkdir $as_dirs"
52801 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52802 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52803 { (exit 1); exit 1; }; }; }
52807 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52809 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52810 # A ".." for each directory in $ac_dir_suffix.
52811 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52812 case $ac_top_builddir_sub in
52813 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52814 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52817 ac_abs_top_builddir
=$ac_pwd
52818 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52819 # for backward compatibility:
52820 ac_top_builddir
=$ac_top_build_prefix
52823 .
) # We are building in place.
52825 ac_top_srcdir
=$ac_top_builddir_sub
52826 ac_abs_top_srcdir
=$ac_pwd ;;
52827 [\\/]* | ?
:[\\/]* ) # Absolute name.
52828 ac_srcdir
=$srcdir$ac_dir_suffix;
52829 ac_top_srcdir
=$srcdir
52830 ac_abs_top_srcdir
=$srcdir ;;
52831 *) # Relative name.
52832 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52833 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52834 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52836 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52841 # Check for guested configure; otherwise get Cygnus style configure.
52842 if test -f "$ac_srcdir/configure.gnu"; then
52843 ac_sub_configure
=$ac_srcdir/configure.gnu
52844 elif test -f "$ac_srcdir/configure"; then
52845 ac_sub_configure
=$ac_srcdir/configure
52846 elif test -f "$ac_srcdir/configure.in"; then
52847 # This should be Cygnus configure.
52848 ac_sub_configure
=$ac_aux_dir/configure
52850 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52851 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52855 # The recursion is here.
52856 if test -n "$ac_sub_configure"; then
52857 # Make the cache file name correct relative to the subdirectory.
52858 case $cache_file in
52859 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52860 *) # Relative name.
52861 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52864 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52865 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52866 # The eval makes quoting arguments work.
52867 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52868 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52869 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52870 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52871 { (exit 1); exit 1; }; }
52880 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52882 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52883 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52885 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52886 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52887 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52888 if test "$wxUSE_UNICODE" = "yes"; then
52889 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52890 echo " (using UTF-8)"
52892 echo " (using wchar_t)"
52898 echo " What level of wxWidgets compatibility should be enabled?"
52899 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52900 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52902 echo " Which libraries should wxWidgets use?"
52903 echo " STL ${wxUSE_STL}"
52904 echo " jpeg ${wxUSE_LIBJPEG-none}"
52905 echo " png ${wxUSE_LIBPNG-none}"
52906 echo " regex ${wxUSE_REGEX}"
52907 echo " tiff ${wxUSE_LIBTIFF-none}"
52908 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52909 echo " xpm ${wxUSE_LIBXPM-none}"
52911 echo " zlib ${wxUSE_ZLIB}"
52912 echo " expat ${wxUSE_EXPAT}"
52913 echo " libmspack ${wxUSE_LIBMSPACK}"
52914 echo " sdl ${wxUSE_LIBSDL}"