2 # From configure.in Id: configure.in 56928 2008-11-23 01:53:24Z 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
710 LIBGNOMEPRINTUI_CFLAGS
758 SAMPLES_RPATH_POSTLINK
813 ICC_PCH_CREATE_SWITCH
817 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
818 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
819 COND_BUILD_DEBUG_UNICODE_0
820 COND_BUILD_DEBUG_UNICODE_1
822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
823 COND_BUILD_RELEASE_UNICODE_0
824 COND_BUILD_RELEASE_UNICODE_1
826 COND_BUILD_debug_DEBUG_FLAG_default
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_UNICODE_0
829 COND_BUILD_debug_UNICODE_1
831 COND_BUILD_release_DEBUG_INFO_default
832 COND_BUILD_release_UNICODE_0
833 COND_BUILD_release_UNICODE_1
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
850 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
851 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
852 COND_MONOLITHIC_0_SHARED_1
853 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
859 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
862 COND_MONOLITHIC_0_USE_AUI_1
863 COND_MONOLITHIC_0_USE_GUI_1
864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_USE_HTML_1
866 COND_MONOLITHIC_0_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_USE_QA_1
869 COND_MONOLITHIC_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_USE_STC_1
871 COND_MONOLITHIC_0_USE_XRC_1
873 COND_MONOLITHIC_1_SHARED_0
874 COND_MONOLITHIC_1_SHARED_1
875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
877 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_1
880 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
885 COND_PLATFORM_MACOSX_1_USE_GUI_1
886 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
888 COND_PLATFORM_MACOS_1
891 COND_PLATFORM_MSDOS_0
892 COND_PLATFORM_MSDOS_1
896 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
898 COND_PLATFORM_UNIX_1_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
900 COND_PLATFORM_WIN32_0
901 COND_PLATFORM_WIN32_1
903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
904 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
906 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
910 COND_SHARED_0_USE_STC_1
911 COND_SHARED_0_wxUSE_EXPAT_builtin
912 COND_SHARED_0_wxUSE_REGEX_builtin
913 COND_SHARED_0_wxUSE_ZLIB_builtin
915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
918 COND_TOOLKIT_COCOA_USE_GUI_1
919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_DFB_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_GTK_USE_GUI_1
932 COND_TOOLKIT_MGL_USE_GUI_1
934 COND_TOOLKIT_MOTIF_USE_GUI_1
935 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_MSW_USE_GUI_1
938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW_WXUNIV_0
940 COND_TOOLKIT_OSX_CARBON
941 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
942 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_COCOA
944 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
945 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
946 COND_TOOLKIT_OSX_IPHONE
948 COND_TOOLKIT_PM_USE_GUI_1
949 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_WINCE_USE_GUI_1
952 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_WINCE_WXUNIV_0
955 COND_TOOLKIT_X11_USE_GUI_1
957 COND_USE_EXCEPTIONS_0
958 COND_USE_EXCEPTIONS_1
961 COND_USE_GUI_1_USE_OPENGL_1
962 COND_USE_GUI_1_WXUNIV_0
963 COND_USE_GUI_1_WXUNIV_1
964 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
965 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
966 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
967 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
968 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
969 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
975 COND_USE_SOSYMLINKS_1
976 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
977 COND_USE_SOVERLINUX_1
979 COND_USE_SOVERSOLARIS_1
984 COND_WINDOWS_IMPLIB_1
985 COND_WITH_PLUGIN_SDL_1
988 COND_WXUSE_EXPAT_BUILTIN
989 COND_WXUSE_LIBJPEG_BUILTIN
990 COND_WXUSE_LIBPNG_BUILTIN
991 COND_WXUSE_LIBTIFF_BUILTIN
992 COND_WXUSE_REGEX_BUILTIN
993 COND_WXUSE_ZLIB_BUILTIN
994 COND_wxUSE_EXPAT_builtin
995 COND_wxUSE_LIBJPEG_builtin
996 COND_wxUSE_LIBPNG_builtin
997 COND_wxUSE_LIBTIFF_builtin
998 COND_wxUSE_REGEX_builtin
999 COND_wxUSE_ZLIB_builtin
1002 WX_LIBRARY_BASENAME_NOGUI
1003 WX_LIBRARY_BASENAME_GUI
1023 WXCONFIG_LDFLAGS_GUI
1035 WX_RESOURCES_MACOSX_ASCII
1036 WX_RESOURCES_MACOSX_DATA
1046 ac_precious_vars
='build_alias
1070 LIBGNOMEPRINTUI_CFLAGS
1071 LIBGNOMEPRINTUI_LIBS
1080 ac_subdirs_all
='src/tiff
1083 # Initialize some variables set by options.
1085 ac_init_version
=false
1086 # The variables have the same names as the options, with
1087 # dashes changed to underlines.
1088 cache_file
=/dev
/null
1095 program_transform_name
=s
,x
,x
,
1103 # Installation directory options.
1104 # These are left unexpanded so users can "make install exec_prefix=/foo"
1105 # and all the variables that are supposed to be based on exec_prefix
1106 # by default will actually change.
1107 # Use braces instead of parens because sh, perl, etc. also accept them.
1108 # (The list follows the same order as the GNU Coding Standards.)
1109 bindir
='${exec_prefix}/bin'
1110 sbindir
='${exec_prefix}/sbin'
1111 libexecdir
='${exec_prefix}/libexec'
1112 datarootdir
='${prefix}/share'
1113 datadir
='${datarootdir}'
1114 sysconfdir
='${prefix}/etc'
1115 sharedstatedir
='${prefix}/com'
1116 localstatedir
='${prefix}/var'
1117 includedir
='${prefix}/include'
1118 oldincludedir
='/usr/include'
1119 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1120 infodir
='${datarootdir}/info'
1125 libdir
='${exec_prefix}/lib'
1126 localedir
='${datarootdir}/locale'
1127 mandir
='${datarootdir}/man'
1133 # If the previous option needs an argument, assign it.
1134 if test -n "$ac_prev"; then
1135 eval $ac_prev=\
$ac_option
1141 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1145 # Accept the important Cygnus configure options, so we can diagnose typos.
1147 case $ac_dashdash$ac_option in
1151 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1153 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1154 bindir
=$ac_optarg ;;
1156 -build | --build | --buil | --bui | --bu)
1157 ac_prev
=build_alias
;;
1158 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1159 build_alias
=$ac_optarg ;;
1161 -cache-file | --cache-file | --cache-fil | --cache-fi \
1162 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1163 ac_prev
=cache_file
;;
1164 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1165 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1166 cache_file
=$ac_optarg ;;
1168 --config-cache | -C)
1169 cache_file
=config.cache
;;
1171 -datadir | --datadir | --datadi | --datad)
1173 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1174 datadir
=$ac_optarg ;;
1176 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1177 | --dataroo | --dataro | --datar)
1178 ac_prev
=datarootdir
;;
1179 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1180 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1181 datarootdir
=$ac_optarg ;;
1183 -disable-* | --disable-*)
1184 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1187 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1190 eval enable_
$ac_feature=no
;;
1192 -docdir | --docdir | --docdi | --doc | --do)
1194 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1195 docdir
=$ac_optarg ;;
1197 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1199 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1200 dvidir
=$ac_optarg ;;
1202 -enable-* | --enable-*)
1203 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1206 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1207 { (exit 1); exit 1; }; }
1208 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1209 eval enable_
$ac_feature=\
$ac_optarg ;;
1211 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1212 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1213 | --exec | --exe | --ex)
1214 ac_prev
=exec_prefix
;;
1215 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1216 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1217 | --exec=* | --exe=* | --ex=*)
1218 exec_prefix
=$ac_optarg ;;
1220 -gas | --gas | --ga | --g)
1221 # Obsolete; use --with-gas.
1224 -help | --help | --hel | --he | -h)
1225 ac_init_help
=long
;;
1226 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1227 ac_init_help
=recursive
;;
1228 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1229 ac_init_help
=short
;;
1231 -host | --host | --hos | --ho)
1232 ac_prev
=host_alias
;;
1233 -host=* | --host=* | --hos=* | --ho=*)
1234 host_alias
=$ac_optarg ;;
1236 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1238 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1240 htmldir
=$ac_optarg ;;
1242 -includedir | --includedir | --includedi | --included | --include \
1243 | --includ | --inclu | --incl | --inc)
1244 ac_prev
=includedir
;;
1245 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1246 | --includ=* | --inclu=* | --incl=* | --inc=*)
1247 includedir
=$ac_optarg ;;
1249 -infodir | --infodir | --infodi | --infod | --info | --inf)
1251 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1252 infodir
=$ac_optarg ;;
1254 -libdir | --libdir | --libdi | --libd)
1256 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1257 libdir
=$ac_optarg ;;
1259 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1260 | --libexe | --libex | --libe)
1261 ac_prev
=libexecdir
;;
1262 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1263 | --libexe=* | --libex=* | --libe=*)
1264 libexecdir
=$ac_optarg ;;
1266 -localedir | --localedir | --localedi | --localed | --locale)
1267 ac_prev
=localedir
;;
1268 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1269 localedir
=$ac_optarg ;;
1271 -localstatedir | --localstatedir | --localstatedi | --localstated \
1272 | --localstate | --localstat | --localsta | --localst | --locals)
1273 ac_prev
=localstatedir
;;
1274 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1275 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1276 localstatedir
=$ac_optarg ;;
1278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1281 mandir
=$ac_optarg ;;
1283 -nfp | --nfp | --nf)
1284 # Obsolete; use --without-fp.
1287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1288 | --no-cr | --no-c | -n)
1291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1297 | --oldin | --oldi | --old | --ol | --o)
1298 ac_prev
=oldincludedir
;;
1299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1302 oldincludedir
=$ac_optarg ;;
1304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1307 prefix
=$ac_optarg ;;
1309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1310 | --program-pre | --program-pr | --program-p)
1311 ac_prev
=program_prefix
;;
1312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1314 program_prefix
=$ac_optarg ;;
1316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1317 | --program-suf | --program-su | --program-s)
1318 ac_prev
=program_suffix
;;
1319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1321 program_suffix
=$ac_optarg ;;
1323 -program-transform-name | --program-transform-name \
1324 | --program-transform-nam | --program-transform-na \
1325 | --program-transform-n | --program-transform- \
1326 | --program-transform | --program-transfor \
1327 | --program-transfo | --program-transf \
1328 | --program-trans | --program-tran \
1329 | --progr-tra | --program-tr | --program-t)
1330 ac_prev
=program_transform_name
;;
1331 -program-transform-name=* | --program-transform-name=* \
1332 | --program-transform-nam=* | --program-transform-na=* \
1333 | --program-transform-n=* | --program-transform-=* \
1334 | --program-transform=* | --program-transfor=* \
1335 | --program-transfo=* | --program-transf=* \
1336 | --program-trans=* | --program-tran=* \
1337 | --progr-tra=* | --program-tr=* | --program-t=*)
1338 program_transform_name
=$ac_optarg ;;
1340 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1342 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1343 pdfdir
=$ac_optarg ;;
1345 -psdir | --psdir | --psdi | --psd | --ps)
1347 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1351 | -silent | --silent | --silen | --sile | --sil)
1354 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1356 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1358 sbindir
=$ac_optarg ;;
1360 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1361 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1362 | --sharedst | --shareds | --shared | --share | --shar \
1364 ac_prev
=sharedstatedir
;;
1365 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1366 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1367 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1369 sharedstatedir
=$ac_optarg ;;
1371 -site | --site | --sit)
1373 -site=* | --site=* | --sit=*)
1376 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1378 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1379 srcdir
=$ac_optarg ;;
1381 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1382 | --syscon | --sysco | --sysc | --sys | --sy)
1383 ac_prev
=sysconfdir
;;
1384 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1385 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1386 sysconfdir
=$ac_optarg ;;
1388 -target | --target | --targe | --targ | --tar | --ta | --t)
1389 ac_prev
=target_alias
;;
1390 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1391 target_alias
=$ac_optarg ;;
1393 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1396 -version | --version | --versio | --versi | --vers | -V)
1397 ac_init_version
=: ;;
1400 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1401 # Reject names that are not valid shell variable names.
1402 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1403 { echo "$as_me: error: invalid package name: $ac_package" >&2
1404 { (exit 1); exit 1; }; }
1405 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1406 eval with_
$ac_package=\
$ac_optarg ;;
1408 -without-* | --without-*)
1409 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1412 { echo "$as_me: error: invalid package name: $ac_package" >&2
1413 { (exit 1); exit 1; }; }
1414 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1415 eval with_
$ac_package=no
;;
1418 # Obsolete; use --with-x.
1421 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1422 | --x-incl | --x-inc | --x-in | --x-i)
1423 ac_prev
=x_includes
;;
1424 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1425 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1426 x_includes
=$ac_optarg ;;
1428 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1429 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1430 ac_prev
=x_libraries
;;
1431 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1432 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1433 x_libraries
=$ac_optarg ;;
1435 -*) { echo "$as_me: error: unrecognized option: $ac_option
1436 Try \`$0 --help' for more information." >&2
1437 { (exit 1); exit 1; }; }
1441 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1442 # Reject names that are not valid shell variable names.
1443 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1444 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1445 { (exit 1); exit 1; }; }
1446 eval $ac_envvar=\
$ac_optarg
1447 export $ac_envvar ;;
1450 # FIXME: should be removed in autoconf 3.0.
1451 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1452 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1453 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1454 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1460 if test -n "$ac_prev"; then
1461 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1462 { echo "$as_me: error: missing argument to $ac_option" >&2
1463 { (exit 1); exit 1; }; }
1466 # Be sure to have absolute directory names.
1467 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1468 datadir sysconfdir sharedstatedir localstatedir includedir \
1469 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1470 libdir localedir mandir
1472 eval ac_val
=\$
$ac_var
1474 [\\/$
]* | ?
:[\\/]* ) continue;;
1475 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1477 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1478 { (exit 1); exit 1; }; }
1481 # There might be people who depend on the old broken behavior: `$host'
1482 # used to hold the argument of --host etc.
1483 # FIXME: To remove some day.
1486 target
=$target_alias
1488 # FIXME: To remove some day.
1489 if test "x$host_alias" != x
; then
1490 if test "x$build_alias" = x
; then
1491 cross_compiling
=maybe
1492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1493 If a cross compiler is detected then cross compile mode will be used." >&2
1494 elif test "x$build_alias" != "x$host_alias"; then
1500 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1502 test "$silent" = yes && exec 6>/dev
/null
1505 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1506 ac_ls_di
=`ls -di .` &&
1507 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1508 { echo "$as_me: error: Working directory cannot be determined" >&2
1509 { (exit 1); exit 1; }; }
1510 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1511 { echo "$as_me: error: pwd does not report name of working directory" >&2
1512 { (exit 1); exit 1; }; }
1515 # Find the source files, if location was not specified.
1516 if test -z "$srcdir"; then
1517 ac_srcdir_defaulted
=yes
1518 # Try the directory containing this script, then the parent directory.
1519 ac_confdir
=`$as_dirname -- "$0" ||
1520 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1521 X"$0" : 'X\(//\)[^/]' \| \
1522 X"$0" : 'X\(//\)$' \| \
1523 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1543 if test ! -r "$srcdir/$ac_unique_file"; then
1547 ac_srcdir_defaulted
=no
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1550 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1551 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1552 { (exit 1); exit 1; }; }
1554 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1556 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1557 { (exit 1); exit 1; }; }
1559 # When building in place, set srcdir=.
1560 if test "$ac_abs_confdir" = "$ac_pwd"; then
1563 # Remove unnecessary trailing slashes from srcdir.
1564 # Double slashes in file names in object file debugging info
1565 # mess up M-x gdb in Emacs.
1567 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1569 for ac_var
in $ac_precious_vars; do
1570 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1571 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1572 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1573 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1577 # Report the --help message.
1579 if test "$ac_init_help" = "long"; then
1580 # Omit some internal or obsolete options to make the list less imposing.
1581 # This message is too long to be a string in the A/UX 3.1 sh.
1583 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1585 Usage: $0 [OPTION]... [VAR=VALUE]...
1587 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1588 VAR=VALUE. See below for descriptions of some of the useful variables.
1590 Defaults for the options are specified in brackets.
1593 -h, --help display this help and exit
1594 --help=short display options specific to this package
1595 --help=recursive display the short help of all the included packages
1596 -V, --version display version information and exit
1597 -q, --quiet, --silent do not print \`checking...' messages
1598 --cache-file=FILE cache test results in FILE [disabled]
1599 -C, --config-cache alias for \`--cache-file=config.cache'
1600 -n, --no-create do not create output files
1601 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1603 Installation directories:
1604 --prefix=PREFIX install architecture-independent files in PREFIX
1605 [$ac_default_prefix]
1606 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1609 By default, \`make install' will install all the files in
1610 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1611 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1612 for instance \`--prefix=\$HOME'.
1614 For better control, use the options below.
1616 Fine tuning of the installation directories:
1617 --bindir=DIR user executables [EPREFIX/bin]
1618 --sbindir=DIR system admin executables [EPREFIX/sbin]
1619 --libexecdir=DIR program executables [EPREFIX/libexec]
1620 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1621 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1622 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1623 --libdir=DIR object code libraries [EPREFIX/lib]
1624 --includedir=DIR C header files [PREFIX/include]
1625 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1626 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1627 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1628 --infodir=DIR info documentation [DATAROOTDIR/info]
1629 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1630 --mandir=DIR man documentation [DATAROOTDIR/man]
1631 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1632 --htmldir=DIR html documentation [DOCDIR]
1633 --dvidir=DIR dvi documentation [DOCDIR]
1634 --pdfdir=DIR pdf documentation [DOCDIR]
1635 --psdir=DIR ps documentation [DOCDIR]
1641 --x-includes=DIR X include files are
in DIR
1642 --x-libraries=DIR X library files are
in DIR
1645 --build=BUILD configure
for building on BUILD
[guessed
]
1646 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1647 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1651 if test -n "$ac_init_help"; then
1652 case $ac_init_help in
1653 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1658 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1659 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1660 --disable-gui don
't build GUI parts of the library
1661 --enable-monolithic build wxWidgets as single library
1662 --enable-plugins build parts of wxWidgets as loadable components
1663 --enable-official_build official build of wxWidgets (win32 DLL only)
1664 --enable-vendor=VENDOR vendor name (win32 DLL only)
1665 --disable-all-features disable all optional features to build minimal library
1666 --enable-universal use wxWidgets GUI controls instead of native ones
1667 --enable-nanox use NanoX
1668 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1669 --enable-gpe use GNOME PDA Environment features if possible
1670 --disable-shared create static library instead of shared
1671 --enable-debug same as debug_flag and debug_info
1672 --enable-stl use STL for containers
1673 --enable-std_iostreams use standard C++ stream classes
1674 --enable-std_string use standard C++ string classes
1675 --disable-unicode compile without Unicode support
1676 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1677 --enable-utf8 use UTF-8 representation for strings (Unix only)
1678 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1679 --enable-extended_rtti use extended RTTI (XTI)
1680 --enable-omf use OMF object format
1681 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1682 --enable-debug_info create code with debugging information
1683 --disable-optimise compile without optimisations
1684 --enable-debug_gdb create code with extra GDB debugging information
1685 --enable-debug_cntxt use wxDebugContext
1686 --enable-mem_tracing create code with memory tracing
1687 --enable-profile create code with profiling information
1688 --enable-no_rtti create code without RTTI information
1689 --enable-no_exceptions create code without C++ exceptions handling
1690 --enable-permissive compile code disregarding strict ANSI
1691 --enable-no_deps create code without dependency information
1692 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1693 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1694 --enable-compat26 enable wxWidgets
2.6 compatibility
1695 --disable-compat28 disable wxWidgets
2.8 compatibility
1696 --disable-rpath disable use of rpath
for uninstalled builds
1697 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1698 --disable-visibility disable use of ELF symbols visibility even
if supported
1699 --enable-intl use internationalization system
1700 --enable-xlocale use x
-locale support
(requires wxLocale
)
1701 --enable-config use wxConfig
(and derived
) classes
1702 --enable-protocols use wxProtocol and derived classes
1703 --enable-ftp use wxFTP
(requires wxProtocol
1704 --enable-http use wxHTTP
(requires wxProtocol
1705 --enable-fileproto use wxFileProto class
(requires wxProtocol
1706 --enable-sockets use socket
/network classes
1707 --enable-ipv6 enable IPv6 support
in wxSocket
1708 --enable-ole use OLE classes
(Win32 only
)
1709 --enable-dataobj use data object classes
1710 --enable-ipc use interprocess communication
(wxSocket etc.
)
1711 --enable-baseevtloop use event loop
in console programs too
1712 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1713 --enable-selectloop use wxSelectDispatcher class
1714 --enable-apple_ieee use the Apple IEEE codec
1715 --enable-arcstream use wxArchive streams
1716 --enable-base64 use base64 encoding
/decoding functions
1717 --enable-backtrace use wxStackWalker class
for getting backtraces
1718 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1719 --enable-cmdline use wxCmdLineParser class
1720 --enable-datetime use wxDateTime class
1721 --enable-debugreport use wxDebugReport class
1722 --enable-dialupman use dialup network classes
1723 --enable-dynlib use wxLibrary class
for DLL loading
1724 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1725 --enable-exceptions build exception
-safe library
1726 --enable-ffile use wxFFile class
1727 --enable-file use wxFile class
1728 --enable-filesystem use virtual
file systems classes
1729 --enable-fontenum use wxFontEnumerator class
1730 --enable-fontmap use font encodings conversion classes
1731 --enable-fs_archive use virtual archive filesystems
1732 --enable-fs_inet use virtual HTTP
/FTP filesystems
1733 --enable-fs_zip now replaced by fs_archive
1734 --enable-geometry use geometry class
1735 --enable-log use logging system
1736 --enable-longlong use wxLongLong class
1737 --enable-mimetype use wxMimeTypesManager
1738 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1739 --enable-snglinst use wxSingleInstanceChecker class
1740 --enable-sound use wxSound class
1741 --enable-stdpaths use wxStandardPaths class
1742 --enable-stopwatch use wxStopWatch class
1743 --enable-streams use wxStream etc classes
1744 --enable-sysoptions use wxSystemOptions
1745 --enable-tarstream use wxTar streams
1746 --enable-textbuf use wxTextBuffer class
1747 --enable-textfile use wxTextFile class
1748 --enable-timer use wxTimer class
1749 --enable-variant use wxVariant class
1750 --enable-zipstream use wxZip streams
1751 --enable-url use wxURL class
1752 --enable-protocol use wxProtocol class
1753 --enable-protocol-http HTTP support
in wxProtocol
1754 --enable-protocol-ftp FTP support
in wxProtocol
1755 --enable-protocol-file FILE support
in wxProtocol
1756 --enable-threads use threads
1757 --enable-iniconf use wxIniConfig
(Win32 only
)
1758 --enable-regkey use wxRegKey class
(Win32 only
)
1759 --enable-docview use document view architecture
1760 --enable-help use
help subsystem
1761 --enable-mshtmlhelp use MS HTML Help
(win32
)
1762 --enable-html use wxHTML sub
-library
1763 --enable-htmlhelp use wxHTML
-based help
1764 --enable-xrc use XRC resources sub
-library
1765 --enable-aui use AUI docking library
1766 --enable-propgrid use wxPropertyGrid library
1767 --enable-stc use wxStyledTextCtrl library
1768 --enable-constraints use layout
-constraints system
1769 --enable-loggui use standard GUI logger
1770 --enable-logwin use wxLogWindow
1771 --enable-logdialog use wxLogDialog
1772 --enable-mdi use multiple document interface architecture
1773 --enable-mdidoc use docview architecture with MDI
1774 --enable-mediactrl use wxMediaCtrl class
1775 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1776 --enable-webkit use wxWebKitCtrl
(Mac
)
1777 --enable-richtext use wxRichTextCtrl
1778 --enable-graphics_ctx use graphics context
2D drawing API
1779 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1780 --enable-printarch use printing architecture
1781 --enable-svg use wxSVGFileDC device context
1782 --enable-clipboard use wxClipboard class
1783 --enable-dnd use Drag
'n'Drop classes
1784 --enable-metafile use win32 metafiles
1785 --disable-controls disable compilation of all standard controls
1786 --enable-accel use accelerators
1787 --enable-animatectrl use wxAnimationCtrl class
1788 --enable-button use wxButton class
1789 --enable-bmpbutton use wxBitmapButton class
1790 --enable-bmpcombobox use wxBitmapComboBox class
1791 --enable-calendar use wxCalendarCtrl class
1792 --enable-caret use wxCaret class
1793 --enable-checkbox use wxCheckBox class
1794 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1795 --enable-choice use wxChoice class
1796 --enable-choicebook use wxChoicebook class
1797 --enable-collpane use wxCollapsiblePane class
1798 --enable-colourpicker use wxColourPickerCtrl class
1799 --enable-combobox use wxComboBox class
1800 --enable-comboctrl use wxComboCtrl class
1801 --enable-datepick use wxDatePickerCtrl class
1802 --enable-dirpicker use wxDirPickerCtrl class
1803 --enable-display use wxDisplay class
1804 --enable-detect_sm use code to detect X11 session manager
1805 --enable-editablebox use wxEditableListBox class
1806 --enable-filepicker use wxFilePickerCtrl class
1807 --enable-filectrl use wxFileCtrl class
1808 --enable-fontpicker use wxFontPickerCtrl class
1809 --enable-gauge use wxGauge class
1810 --enable-grid use wxGrid class
1811 --enable-dataviewctrl use wxDataViewCtrl class
1812 --enable-hyperlink use wxHyperlinkCtrl class
1813 --enable-imaglist use wxImageList class
1814 --enable-listbook use wxListbook class
1815 --enable-listbox use wxListBox class
1816 --enable-listctrl use wxListCtrl class
1817 --enable-notebook use wxNotebook class
1818 --enable-notifmsg use wxNotificationMessage class
1819 --enable-odcombobox use wxOwnerDrawnComboBox class
1820 --enable-radiobox use wxRadioBox class
1821 --enable-radiobtn use wxRadioButton class
1822 --enable-sash use wxSashWindow class
1823 --enable-scrollbar use wxScrollBar class and scrollable windows
1824 --enable-searchctrl use wxSearchCtrl class
1825 --enable-slider use wxSlider class
1826 --enable-spinbtn use wxSpinButton class
1827 --enable-spinctrl use wxSpinCtrl class
1828 --enable-splitter use wxSplitterWindow class
1829 --enable-statbmp use wxStaticBitmap class
1830 --enable-statbox use wxStaticBox class
1831 --enable-statline use wxStaticLine class
1832 --enable-stattext use wxStaticText class
1833 --enable-statusbar use wxStatusBar class
1834 --enable-tabdialog use wxTabControl class
1835 --enable-taskbaricon use wxTaskBarIcon class
1836 --enable-textctrl use wxTextCtrl class
1837 --enable-togglebtn use wxToggleButton class
1838 --enable-toolbar use wxToolBar class
1839 --enable-tbarnative use native wxToolBar class
1840 --enable-treebook use wxTreebook class
1841 --enable-toolbook use wxToolbook class
1842 --enable-treectrl use wxTreeCtrl class
1843 --enable-tipwindow use wxTipWindow class
1844 --enable-popupwin use wxPopUpWindow class
1845 --enable-commondlg use all common dialogs
1846 --enable-aboutdlg use wxAboutBox
1847 --enable-choicedlg use wxChoiceDialog
1848 --enable-coldlg use wxColourDialog
1849 --enable-filedlg use wxFileDialog
1850 --enable-finddlg use wxFindReplaceDialog
1851 --enable-fontdlg use wxFontDialog
1852 --enable-dirdlg use wxDirDialog
1853 --enable-msgdlg use wxMessageDialog
1854 --enable-numberdlg use wxNumberEntryDialog
1855 --enable-splash use wxSplashScreen
1856 --enable-textdlg use wxTextDialog
1857 --enable-tipdlg use startup tips
1858 --enable-progressdlg use wxProgressDialog
1859 --enable-wizarddlg use wxWizard
1860 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1861 --enable-miniframe use wxMiniFrame class
1862 --enable-tooltips use wxToolTip class
1863 --enable-splines use spline drawing code
1864 --enable-mousewheel use mousewheel
1865 --enable-validators use wxValidator and derived classes
1866 --enable-busyinfo use wxBusyInfo
1867 --enable-joystick use wxJoystick
1868 --enable-metafiles use wxMetaFile
(Win32 only
)
1869 --enable-dragimage use wxDragImage
1870 --enable-accessibility enable accessibility support
1871 --enable-palette use wxPalette class
1872 --enable-image use wxImage class
1873 --enable-gif use gif images
(GIF
file format
)
1874 --enable-pcx use pcx images
(PCX
file format
)
1875 --enable-tga use tga images
(TGA
file format
)
1876 --enable-iff use iff images
(IFF
file format
)
1877 --enable-pnm use pnm images
(PNM
file format
)
1878 --enable-xpm use xpm images
(XPM
file format
)
1879 --enable-ico_cur use Windows ICO and CUR formats
1880 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1881 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1882 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1883 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1884 --enable-wxdib use wxDIB class
(Win32 only
)
1885 --enable-autoidman use automatic ids management
1886 --disable-largefile omit support
for large files
1887 --disable-gtktest do not try to compile and run a
test GTK
+ program
1888 --disable-gtktest Do not try to compile and run a
test GTK program
1889 --disable-sdltest Do not try to compile and run a
test SDL program
1890 --enable-omf use OMF object format
(OS
/2)
1891 --disable-dependency-tracking
1892 don
't use dependency tracking even if the compiler
1894 --disable-precomp-headers
1895 don't use precompiled headers even
if compiler can
1898 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1899 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1900 --without-subdirs don
't generate makefiles for samples/demos/...
1901 --with-flavour=NAME specify a name to identify this build
1902 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1903 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1904 --with-motif use Motif/Lesstif
1905 --with-osx_carbon use Mac OS X (Carbon)
1906 --with-osx_cocoa use Mac OS X (Cocoa)
1907 --with-mac use Mac OS X (Default)
1908 --with-cocoa use Cocoa
1909 --with-wine use Wine
1910 --with-msw use MS-Windows
1911 --with-pm use OS/2 Presentation Manager
1912 --with-mgl use SciTech MGL
1913 --with-directfb use DirectFB
1914 --with-microwin use MicroWindows
1916 --with-libpng use libpng (PNG image format)
1917 --with-libjpeg use libjpeg (JPEG file format)
1918 --with-libtiff use libtiff (TIFF file format)
1919 --with-libxpm use libxpm (XPM file format)
1920 --with-libiconv use libiconv (character conversion)
1921 --with-libmspack use libmspack (CHM help files loading)
1922 --without-gtkprint don't use GTK printing support
1923 --without-gnomeprint don
't use GNOME printing libraries
1924 --with-gnomevfs use GNOME VFS for associating MIME types
1925 --with-hildon use Hildon framework for Nokia 770
1926 --with-opengl use OpenGL (or Mesa)
1927 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1928 --with-sdl use SDL for audio on Unix
1929 --with-regex enable support for wxRegEx class
1930 --with-zlib use zlib for LZW compression
1931 --with-expat enable XML support using expat parser
1932 --with-macosx-sdk=PATH use an OS X SDK at PATH
1933 --with-macosx-version-min=VER build binaries which require at least this OS X version
1934 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1935 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1936 --with-x use the X Window System
1937 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1938 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1939 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1940 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1941 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1943 Some influential environment variables:
1944 CC C compiler command
1945 CFLAGS C compiler flags
1946 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1947 nonstandard directory <lib dir>
1948 LIBS libraries to pass to the linker, e.g. -l<library>
1949 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1950 you have headers in a nonstandard directory <include dir>
1952 CXX C++ compiler command
1953 CXXFLAGS C++ compiler flags
1954 PKG_CONFIG path to pkg-config utility
1956 C compiler flags for DIRECTFB, overriding pkg-config
1958 linker flags for DIRECTFB, overriding pkg-config
1959 XMKMF Path to xmkmf, Makefile generator for X Window System
1961 C compiler flags for PANGOX, overriding pkg-config
1962 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1964 C compiler flags for PANGOFT2, overriding pkg-config
1966 linker flags for PANGOFT2, overriding pkg-config
1968 C compiler flags for PANGOXFT, overriding pkg-config
1970 linker flags for PANGOXFT, overriding pkg-config
1972 C compiler flags for GTKPRINT, overriding pkg-config
1974 linker flags for GTKPRINT, overriding pkg-config
1975 LIBGNOMEPRINTUI_CFLAGS
1976 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1977 LIBGNOMEPRINTUI_LIBS
1978 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1980 C compiler flags for GNOMEVFS, overriding pkg-config
1982 linker flags for GNOMEVFS, overriding pkg-config
1984 C compiler flags for HILDON, overriding pkg-config
1985 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1987 C compiler flags for CAIRO, overriding pkg-config
1988 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1989 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1990 GST_LIBS linker flags for GST, overriding pkg-config
1992 Use these variables to override the choices made by `configure' or to
help
1993 it to
find libraries and programs with nonstandard names
/locations.
1995 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2000 if test "$ac_init_help" = "recursive"; then
2001 # If there are subdirs, report their specific --help.
2002 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2003 test -d "$ac_dir" || continue
2007 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2009 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2010 # A ".." for each directory in $ac_dir_suffix.
2011 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2012 case $ac_top_builddir_sub in
2013 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2014 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2017 ac_abs_top_builddir
=$ac_pwd
2018 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2019 # for backward compatibility:
2020 ac_top_builddir
=$ac_top_build_prefix
2023 .
) # We are building in place.
2025 ac_top_srcdir
=$ac_top_builddir_sub
2026 ac_abs_top_srcdir
=$ac_pwd ;;
2027 [\\/]* | ?
:[\\/]* ) # Absolute name.
2028 ac_srcdir
=$srcdir$ac_dir_suffix;
2029 ac_top_srcdir
=$srcdir
2030 ac_abs_top_srcdir
=$srcdir ;;
2032 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2033 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2034 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2036 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2038 cd "$ac_dir" || { ac_status
=$?
; continue; }
2039 # Check for guested configure.
2040 if test -f "$ac_srcdir/configure.gnu"; then
2042 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2043 elif test -f "$ac_srcdir/configure"; then
2045 $SHELL "$ac_srcdir/configure" --help=recursive
2047 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2049 cd "$ac_pwd" || { ac_status
=$?
; break; }
2053 test -n "$ac_init_help" && exit $ac_status
2054 if $ac_init_version; then
2056 wxWidgets configure
2.9.0
2057 generated by GNU Autoconf
2.61
2059 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2060 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2061 This configure
script is free software
; the Free Software Foundation
2062 gives unlimited permission to copy
, distribute and modify it.
2066 cat >config.log
<<_ACEOF
2067 This file contains any messages produced by compilers while
2068 running configure, to aid debugging if configure makes a mistake.
2070 It was created by wxWidgets $as_me 2.9.0, which was
2071 generated by GNU Autoconf 2.61. Invocation command line was
2083 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2084 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2085 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2086 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2087 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2089 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2090 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2092 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2093 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2094 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2095 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2096 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2097 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2098 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir
=.
2107 echo "PATH: $as_dir"
2123 # Keep a trace of the command line.
2124 # Strip out --no-create and --no-recursion so they do not pile up.
2125 # Strip out --silent because we don't want to record it for future runs.
2126 # Also quote any args containing shell meta-characters.
2127 # Make two passes to allow for proper duplicate-argument suppression.
2131 ac_must_keep_next
=false
2137 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2138 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2139 | -silent | --silent | --silen | --sile | --sil)
2142 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2145 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2147 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2148 if test $ac_must_keep_next = true
; then
2149 ac_must_keep_next
=false
# Got value, back to normal.
2152 *=* | --config-cache | -C | -disable-* | --disable-* \
2153 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2154 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2155 | -with-* | --with-* | -without-* | --without-* | --x)
2156 case "$ac_configure_args0 " in
2157 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2160 -* ) ac_must_keep_next
=true
;;
2163 ac_configure_args
="$ac_configure_args '$ac_arg'"
2168 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2169 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2171 # When interrupted or exit'd, cleanup temporary files, and complete
2172 # config.log. We remove comments because anyway the quotes in there
2173 # would cause problems or look ugly.
2174 # WARNING: Use '\'' to represent an apostrophe within the trap.
2175 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2176 trap 'exit_status=$?
2177 # Save into config.log some information that might help in debugging.
2182 ## ---------------- ##
2183 ## Cache variables. ##
2184 ## ---------------- ##
2187 # The following way of writing the cache mishandles newlines in values,
2189 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2190 eval ac_val=\$$ac_var
2194 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2195 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2198 _ | IFS | as_nl) ;; #(
2199 *) $as_unset $ac_var ;;
2204 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2205 *${as_nl}ac_space=\ *)
2207 "s/'\''/'\''\\\\'\'''\''/g;
2208 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2211 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2219 ## ----------------- ##
2220 ## Output variables. ##
2221 ## ----------------- ##
2224 for ac_var in $ac_subst_vars
2226 eval ac_val=\$$ac_var
2228 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2230 echo "$ac_var='\''$ac_val'\''"
2234 if test -n "$ac_subst_files"; then
2236 ## ------------------- ##
2237 ## File substitutions. ##
2238 ## ------------------- ##
2241 for ac_var
in $ac_subst_files
2243 eval ac_val
=\$
$ac_var
2245 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2247 echo "$ac_var='\''$ac_val'\''"
2252 if test -s confdefs.h; then
2262 test "$ac_signal" != 0 &&
2263 echo "$as_me: caught signal $ac_signal"
2264 echo "$as_me: exit $exit_status"
2266 rm -f core *.core core.conftest.* &&
2267 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2270 for ac_signal
in 1 2 13 15; do
2271 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2275 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2276 rm -f -r conftest
* confdefs.h
2278 # Predefined preprocessor variables.
2280 cat >>confdefs.h
<<_ACEOF
2281 #define PACKAGE_NAME "$PACKAGE_NAME"
2285 cat >>confdefs.h
<<_ACEOF
2286 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2290 cat >>confdefs.h
<<_ACEOF
2291 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2295 cat >>confdefs.h
<<_ACEOF
2296 #define PACKAGE_STRING "$PACKAGE_STRING"
2300 cat >>confdefs.h
<<_ACEOF
2301 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2305 # Let the site file select an alternate cache file if it wants to.
2306 # Prefer explicitly selected file to automatically selected ones.
2307 if test -n "$CONFIG_SITE"; then
2308 set x
"$CONFIG_SITE"
2309 elif test "x$prefix" != xNONE
; then
2310 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2312 set x
"$ac_default_prefix/share/config.site" \
2313 "$ac_default_prefix/etc/config.site"
2318 if test -r "$ac_site_file"; then
2319 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2320 echo "$as_me: loading site script $ac_site_file" >&6;}
2321 sed 's/^/| /' "$ac_site_file" >&5
2326 if test -r "$cache_file"; then
2327 # Some versions of bash will fail to source /dev/null (special
2328 # files actually), so we avoid doing that.
2329 if test -f "$cache_file"; then
2330 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2331 echo "$as_me: loading cache $cache_file" >&6;}
2333 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2334 *) .
"./$cache_file";;
2338 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2339 echo "$as_me: creating cache $cache_file" >&6;}
2343 # Check that the precious variables saved in the cache have kept the same
2345 ac_cache_corrupted
=false
2346 for ac_var
in $ac_precious_vars; do
2347 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2348 eval ac_new_set
=\
$ac_env_${ac_var}_set
2349 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2350 eval ac_new_val
=\
$ac_env_${ac_var}_value
2351 case $ac_old_set,$ac_new_set in
2353 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2354 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2355 ac_cache_corrupted
=: ;;
2357 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2358 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2359 ac_cache_corrupted
=: ;;
2362 if test "x$ac_old_val" != "x$ac_new_val"; then
2363 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2364 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2365 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2366 echo "$as_me: former value: $ac_old_val" >&2;}
2367 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2368 echo "$as_me: current value: $ac_new_val" >&2;}
2369 ac_cache_corrupted
=:
2372 # Pass precious variables to config.status.
2373 if test "$ac_new_set" = set; then
2375 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2376 *) ac_arg
=$ac_var=$ac_new_val ;;
2378 case " $ac_configure_args " in
2379 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2380 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2384 if $ac_cache_corrupted; then
2385 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2386 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2387 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2388 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2389 { (exit 1); exit 1; }; }
2417 ac_cpp
='$CPP $CPPFLAGS'
2418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2427 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2428 if test -f "$ac_dir/install-sh"; then
2430 ac_install_sh
="$ac_aux_dir/install-sh -c"
2432 elif test -f "$ac_dir/install.sh"; then
2434 ac_install_sh
="$ac_aux_dir/install.sh -c"
2436 elif test -f "$ac_dir/shtool"; then
2438 ac_install_sh
="$ac_aux_dir/shtool install -c"
2442 if test -z "$ac_aux_dir"; then
2443 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2444 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2445 { (exit 1); exit 1; }; }
2448 # These three variables are undocumented and unsupported,
2449 # and are intended to be withdrawn in a future Autoconf release.
2450 # They can cause serious problems if a builder's source tree is in a directory
2451 # whose full name contains unusual characters.
2452 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2453 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2454 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2457 # Make sure we can run config.sub.
2458 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2459 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2460 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2461 { (exit 1); exit 1; }; }
2463 { echo "$as_me:$LINENO: checking build system type" >&5
2464 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2465 if test "${ac_cv_build+set}" = set; then
2466 echo $ECHO_N "(cached) $ECHO_C" >&6
2468 ac_build_alias
=$build_alias
2469 test "x$ac_build_alias" = x
&&
2470 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2471 test "x$ac_build_alias" = x
&&
2472 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2474 { (exit 1); exit 1; }; }
2475 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2476 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2477 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2478 { (exit 1); exit 1; }; }
2481 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2482 echo "${ECHO_T}$ac_cv_build" >&6; }
2483 case $ac_cv_build in
2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2486 echo "$as_me: error: invalid value of canonical build" >&2;}
2487 { (exit 1); exit 1; }; };;
2490 ac_save_IFS
=$IFS; IFS
='-'
2496 # Remember, the first character of IFS is used to create $*,
2497 # except with old shells:
2500 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2503 { echo "$as_me:$LINENO: checking host system type" >&5
2504 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2505 if test "${ac_cv_host+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 if test "x$host_alias" = x
; then
2509 ac_cv_host
=$ac_cv_build
2511 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2512 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2513 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2514 { (exit 1); exit 1; }; }
2518 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2519 echo "${ECHO_T}$ac_cv_host" >&6; }
2522 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2523 echo "$as_me: error: invalid value of canonical host" >&2;}
2524 { (exit 1); exit 1; }; };;
2527 ac_save_IFS
=$IFS; IFS
='-'
2533 # Remember, the first character of IFS is used to create $*,
2534 # except with old shells:
2537 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2540 { echo "$as_me:$LINENO: checking target system type" >&5
2541 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2542 if test "${ac_cv_target+set}" = set; then
2543 echo $ECHO_N "(cached) $ECHO_C" >&6
2545 if test "x$target_alias" = x
; then
2546 ac_cv_target
=$ac_cv_host
2548 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2549 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2550 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2551 { (exit 1); exit 1; }; }
2555 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2556 echo "${ECHO_T}$ac_cv_target" >&6; }
2557 case $ac_cv_target in
2559 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2560 echo "$as_me: error: invalid value of canonical target" >&2;}
2561 { (exit 1); exit 1; }; };;
2563 target
=$ac_cv_target
2564 ac_save_IFS
=$IFS; IFS
='-'
2570 # Remember, the first character of IFS is used to create $*,
2571 # except with old shells:
2574 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2577 # The aliases save the names the user supplied, while $host etc.
2578 # will get canonicalized.
2579 test -n "$target_alias" &&
2580 test "$program_prefix$program_suffix$program_transform_name" = \
2582 program_prefix
=${target_alias}-
2586 wx_major_version_number
=2
2587 wx_minor_version_number
=9
2589 wx_subrelease_number
=0
2591 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2592 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2593 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2595 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2598 wx_top_builddir
="`pwd`"
2611 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2617 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2623 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2625 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2627 DEFAULT_wxUSE_COCOA
=0
2629 DEFAULT_wxUSE_OSX_CARBON
=0
2630 DEFAULT_wxUSE_OSX_COCOA
=0
2632 DEFAULT_wxUSE_MICROWIN
=0
2633 DEFAULT_wxUSE_MOTIF
=0
2639 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2640 DEFAULT_DEFAULT_wxUSE_GTK
=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2642 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2643 DEFAULT_DEFAULT_wxUSE_MGL
=0
2644 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2645 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2646 DEFAULT_DEFAULT_wxUSE_MSW
=0
2647 DEFAULT_DEFAULT_wxUSE_PM
=0
2648 DEFAULT_DEFAULT_wxUSE_X11
=0
2649 DEFAULT_DEFAULT_wxUSE_DFB
=0
2653 SAMPLES_RPATH_POSTLINK
=
2655 DEFAULT_STD_FLAG
=yes
2660 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2661 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2662 cat >>confdefs.h
<<\_ACEOF
2667 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2671 cat >>confdefs.h
<<\_ACEOF
2676 if test "x$TMP" = "xalpha"; then
2678 cat >>confdefs.h
<<\_ACEOF
2683 DEFAULT_DEFAULT_wxUSE_GTK
=1
2685 *-*-gnu* | *-*-k*bsd
*-gnu )
2688 if test "x$TMP" = "xalpha"; then
2690 cat >>confdefs.h
<<\_ACEOF
2695 DEFAULT_DEFAULT_wxUSE_GTK
=1
2697 *-*-irix5* | *-*-irix6* )
2700 cat >>confdefs.h
<<\_ACEOF
2704 cat >>confdefs.h
<<\_ACEOF
2708 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2714 cat >>confdefs.h
<<\_ACEOF
2718 cat >>confdefs.h
<<\_ACEOF
2719 #define __SOLARIS__ 1
2722 cat >>confdefs.h
<<\_ACEOF
2726 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2727 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2733 cat >>confdefs.h
<<\_ACEOF
2737 cat >>confdefs.h
<<\_ACEOF
2741 cat >>confdefs.h
<<\_ACEOF
2745 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2750 cat >>confdefs.h
<<\_ACEOF
2751 #define __FREEBSD__ 1
2754 cat >>confdefs.h
<<\_ACEOF
2758 DEFAULT_DEFAULT_wxUSE_GTK
=1
2760 *-*-openbsd*|*-*-mirbsd*)
2763 cat >>confdefs.h
<<\_ACEOF
2764 #define __OPENBSD__ 1
2767 cat >>confdefs.h
<<\_ACEOF
2771 DEFAULT_DEFAULT_wxUSE_GTK
=1
2776 cat >>confdefs.h
<<\_ACEOF
2777 #define __NETBSD__ 1
2780 cat >>confdefs.h
<<\_ACEOF
2784 DEFAULT_DEFAULT_wxUSE_GTK
=1
2785 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2787 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2792 cat >>confdefs.h
<<\_ACEOF
2796 cat >>confdefs.h
<<\_ACEOF
2800 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2801 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2806 cat >>confdefs.h
<<\_ACEOF
2810 cat >>confdefs.h
<<\_ACEOF
2814 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2819 cat >>confdefs.h
<<\_ACEOF
2823 cat >>confdefs.h
<<\_ACEOF
2827 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2833 cat >>confdefs.h
<<\_ACEOF
2837 cat >>confdefs.h
<<\_ACEOF
2841 cat >>confdefs.h
<<\_ACEOF
2845 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2852 cat >>confdefs.h
<<\_ACEOF
2853 #define __UNIXWARE__ 1
2858 *-*-cygwin* | *-*-mingw32* )
2860 DEFAULT_DEFAULT_wxUSE_MSW
=1
2866 cat >>confdefs.h
<<\_ACEOF
2871 DEFAULT_DEFAULT_wxUSE_MGL
=1
2874 *-pc-os2_emx | *-pc-os2-emx )
2875 cat >>confdefs.h
<<\_ACEOF
2880 cat >>confdefs.h
<<\_ACEOF
2885 DEFAULT_DEFAULT_wxUSE_PM
=1
2887 LDFLAGS
="$LDFLAGS -Zcrtdll"
2888 ac_executable_extensions
=".exe"
2889 export ac_executable_extensions
2893 for ac_dir
in $PATH; do
2895 if test -z "$ac_TEMP_PATH"; then
2896 ac_TEMP_PATH
="$ac_dir"
2898 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2901 export PATH
="$ac_TEMP_PATH"
2909 cat >>confdefs.h
<<\_ACEOF
2913 cat >>confdefs.h
<<\_ACEOF
2914 #define __DARWIN__ 1
2917 cat >>confdefs.h
<<\_ACEOF
2918 #define TARGET_CARBON 1
2921 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2924 powerpc
-apple-macos* )
2926 ac_cv_c_bigendian
=yes
2927 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2933 cat >>confdefs.h
<<\_ACEOF
2940 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2941 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2942 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2943 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2945 DEFAULT_DEFAULT_wxUSE_X11
=1
2946 DEFAULT_wxUSE_SHARED
=no
2951 DEFAULT_wxUSE_ALL_FEATURES
=yes
2953 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2954 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2956 DEFAULT_wxUSE_DMALLOC
=no
2957 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2958 DEFAULT_wxUSE_LIBHILDON
=no
2959 DEFAULT_wxUSE_LIBMSPACK
=no
2960 DEFAULT_wxUSE_LIBSDL
=no
2961 DEFAULT_wxUSE_OPENGL
=no
2963 DEFAULT_wxUSE_ACCESSIBILITY
=no
2964 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2965 DEFAULT_wxUSE_IPV6
=no
2966 DEFAULT_wxUSE_MEDIACTRL
=no
2967 DEFAULT_wxUSE_TAB_DIALOG
=no
2968 DEFAULT_wxUSE_GSTREAMER8
=no
2970 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2971 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2973 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2975 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2977 DEFAULT_wxUSE_GTK2
=yes
2979 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2985 enablestring
=disable
2987 if test -z "$defaultval"; then
2988 if test x
"$enablestring" = xdisable
; then
2995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2996 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2997 # Check whether --enable-gui was given.
2998 if test "${enable_gui+set}" = set; then
2999 enableval
=$enable_gui;
3000 if test "$enableval" = yes; then
3001 wx_cv_use_gui
='wxUSE_GUI=yes'
3003 wx_cv_use_gui
='wxUSE_GUI=no'
3008 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3013 eval "$wx_cv_use_gui"
3015 if test x"$enablestring" = xdisable; then
3016 if test $wxUSE_GUI = yes; then
3025 { echo "$as_me:$LINENO: result: $result" >&5
3026 echo "${ECHO_T}$result" >&6; }
3031 if test -z "$defaultval"; then
3032 if test x"$enablestring" = xdisable; then
3039 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3040 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3041 # Check whether --enable-monolithic was given.
3042 if test "${enable_monolithic+set}" = set; then
3043 enableval=$enable_monolithic;
3044 if test "$enableval" = yes; then
3045 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3047 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3052 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3057 eval "$wx_cv_use_monolithic"
3059 if test x"$enablestring" = xdisable; then
3060 if test $wxUSE_MONOLITHIC = yes; then
3066 result=$wxUSE_MONOLITHIC
3069 { echo "$as_me:$LINENO: result
: $result" >&5
3070 echo "${ECHO_T}$result" >&6; }
3075 if test -z "$defaultval"; then
3076 if test x"$enablestring" = xdisable; then
3083 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3084 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3085 # Check whether --enable-plugins was given.
3086 if test "${enable_plugins+set}" = set; then
3087 enableval=$enable_plugins;
3088 if test "$enableval" = yes; then
3089 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3091 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3096 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3101 eval "$wx_cv_use_plugins"
3103 if test x
"$enablestring" = xdisable
; then
3104 if test $wxUSE_PLUGINS = yes; then
3110 result
=$wxUSE_PLUGINS
3113 { echo "$as_me:$LINENO: result: $result" >&5
3114 echo "${ECHO_T}$result" >&6; }
3118 defaultval
=$wxUSE_ALL_FEATURES
3119 if test -z "$defaultval"; then
3120 if test x
"$withstring" = xwithout
; then
3126 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3127 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3129 # Check whether --with-subdirs was given.
3130 if test "${with_subdirs+set}" = set; then
3131 withval
=$with_subdirs;
3132 if test "$withval" = yes; then
3133 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3135 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3140 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3145 eval "$wx_cv_use_subdirs"
3147 if test x"$withstring" = xwithout; then
3148 if test $wxWITH_SUBDIRS = yes; then
3154 result=$wxWITH_SUBDIRS
3157 { echo "$as_me:$LINENO: result: $result" >&5
3158 echo "${ECHO_T}$result" >&6; }
3161 # Check whether --with-flavour was given.
3162 if test "${with_flavour+set}" = set; then
3163 withval=$with_flavour; WX_FLAVOUR="$withval"
3169 if test -z "$defaultval"; then
3170 if test x"$enablestring" = xdisable; then
3177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3178 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3179 # Check whether --enable-official_build was given.
3180 if test "${enable_official_build+set}" = set; then
3181 enableval=$enable_official_build;
3182 if test "$enableval" = yes; then
3183 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3185 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3190 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3195 eval "$wx_cv_use_official_build"
3197 if test x"$enablestring" = xdisable; then
3198 if test $wxUSE_OFFICIAL_BUILD = yes; then
3204 result=$wxUSE_OFFICIAL_BUILD
3207 { echo "$as_me:$LINENO: result
: $result" >&5
3208 echo "${ECHO_T}$result" >&6; }
3210 # Check whether --enable-vendor was given.
3211 if test "${enable_vendor+set}" = set; then
3212 enableval=$enable_vendor; VENDOR="$enableval"
3215 if test "x
$VENDOR" = "x
"; then
3220 enablestring=disable
3222 if test -z "$defaultval"; then
3223 if test x"$enablestring" = xdisable; then
3230 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3231 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3232 # Check whether --enable-all-features was given.
3233 if test "${enable_all_features+set}" = set; then
3234 enableval=$enable_all_features;
3235 if test "$enableval" = yes; then
3236 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3238 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3243 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3248 eval "$wx_cv_use_all_features"
3250 if test x
"$enablestring" = xdisable
; then
3251 if test $wxUSE_ALL_FEATURES = yes; then
3257 result
=$wxUSE_ALL_FEATURES
3260 { echo "$as_me:$LINENO: result: $result" >&5
3261 echo "${ECHO_T}$result" >&6; }
3265 if test "$wxUSE_GUI" = "yes"; then
3270 if test -z "$defaultval"; then
3271 if test x
"$enablestring" = xdisable
; then
3278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3279 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3280 # Check whether --enable-universal was given.
3281 if test "${enable_universal+set}" = set; then
3282 enableval
=$enable_universal;
3283 if test "$enableval" = yes; then
3284 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3286 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3291 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3296 eval "$wx_cv_use_universal"
3298 if test x"$enablestring" = xdisable; then
3299 if test $wxUSE_UNIVERSAL = yes; then
3305 result=$wxUSE_UNIVERSAL
3308 { echo "$as_me:$LINENO: result: $result" >&5
3309 echo "${ECHO_T}$result" >&6; }
3311 if test "$wxUSE_UNIVERSAL" = "yes"; then
3313 # Check whether --with-themes was given.
3314 if test "${with_themes+set}" = set; then
3315 withval=$with_themes; wxUNIV_THEMES="$withval"
3321 # Check whether --with-gtk was given.
3322 if test "${with_gtk+set}" = set; then
3323 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3327 # Check whether --with-motif was given.
3328 if test "${with_motif+set}" = set; then
3329 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3333 # Check whether --with-osx_carbon was given.
3334 if test "${with_osx_carbon+set}" = set; then
3335 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3339 # Check whether --with-osx_cocoa was given.
3340 if test "${with_osx_cocoa+set}" = set; then
3341 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3345 # Check whether --with-mac was given.
3346 if test "${with_mac+set}" = set; then
3347 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3351 # Check whether --with-cocoa was given.
3352 if test "${with_cocoa+set}" = set; then
3353 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3357 # Check whether --with-wine was given.
3358 if test "${with_wine+set}" = set; then
3359 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3363 # Check whether --with-msw was given.
3364 if test "${with_msw+set}" = set; then
3365 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3369 # Check whether --with-pm was given.
3370 if test "${with_pm+set}" = set; then
3371 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3375 # Check whether --with-mgl was given.
3376 if test "${with_mgl+set}" = set; then
3377 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3381 # Check whether --with-directfb was given.
3382 if test "${with_directfb+set}" = set; then
3383 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3387 # Check whether --with-microwin was given.
3388 if test "${with_microwin+set}" = set; then
3389 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3393 # Check whether --with-x11 was given.
3394 if test "${with_x11+set}" = set; then
3395 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3401 if test -z "$defaultval"; then
3402 if test x"$enablestring" = xdisable; then
3409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3410 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3411 # Check whether --enable-nanox was given.
3412 if test "${enable_nanox+set}" = set; then
3413 enableval=$enable_nanox;
3414 if test "$enableval" = yes; then
3415 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3417 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3422 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3427 eval "$wx_cv_use_nanox"
3429 if test x"$enablestring" = xdisable; then
3430 if test $wxUSE_NANOX = yes; then
3439 { echo "$as_me:$LINENO: result
: $result" >&5
3440 echo "${ECHO_T}$result" >&6; }
3443 # Check whether --enable-gtk2 was given.
3444 if test "${enable_gtk2+set}" = set; then
3445 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3451 if test -z "$defaultval"; then
3452 if test x"$enablestring" = xdisable; then
3459 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3460 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3461 # Check whether --enable-gpe was given.
3462 if test "${enable_gpe+set}" = set; then
3463 enableval=$enable_gpe;
3464 if test "$enableval" = yes; then
3465 wx_cv_use_gpe='wxUSE_GPE=yes'
3467 wx_cv_use_gpe='wxUSE_GPE=no'
3472 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3477 eval "$wx_cv_use_gpe"
3479 if test x
"$enablestring" = xdisable
; then
3480 if test $wxUSE_GPE = yes; then
3489 { echo "$as_me:$LINENO: result: $result" >&5
3490 echo "${ECHO_T}$result" >&6; }
3494 { echo "$as_me:$LINENO: checking for toolkit" >&5
3495 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3499 # In Wine, we need to default to MSW, not GTK or MOTIF
3500 if test "$wxUSE_WINE" = "yes"; then
3501 DEFAULT_DEFAULT_wxUSE_GTK
=0
3502 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3503 DEFAULT_DEFAULT_wxUSE_MSW
=1
3510 if test "$wxUSE_GUI" = "yes"; then
3512 if test "$USE_BEOS" = 1; then
3513 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3514 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3515 { (exit 1); exit 1; }; }
3518 if test "$TOOLKIT_GIVEN" = 1; then
3519 for toolkit
in $ALL_TOOLKITS; do
3521 eval "value=\$${var}"
3522 if test "x$value" = "xno"; then
3524 elif test "x$value" != "x"; then
3528 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3529 eval "wx${toolkit}_VERSION=$value"
3533 for toolkit
in $ALL_TOOLKITS; do
3534 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3535 eval "wxUSE_$toolkit=\$${var}"
3539 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3540 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3541 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3544 *-pc-os2_emx | *-pc-os2-emx )
3545 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3548 case "$NUM_TOOLKITS" in
3552 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3553 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3554 { (exit 1); exit 1; }; }
3557 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3558 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3559 { (exit 1); exit 1; }; }
3562 # to be removed when --disable-gtk2 isn't needed
3563 if test "x$wxUSE_GTK2" = "xyes"; then
3565 elif test "x$wxUSE_GTK2" = "xno"; then
3569 for toolkit
in $ALL_TOOLKITS; do
3571 eval "value=\$${var}"
3572 if test "$value" = 1; then
3573 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3574 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3575 echo "${ECHO_T}$toolkit_echo" >&6; }
3579 if test "x$host_alias" != "x"; then
3580 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3581 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3583 { echo "$as_me:$LINENO: result: base only" >&5
3584 echo "${ECHO_T}base only" >&6; }
3589 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3595 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3596 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3598 # Check whether --with-libpng was given.
3599 if test "${with_libpng+set}" = set; then
3600 withval
=$with_libpng;
3601 if test "$withval" = yes; then
3602 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3603 elif test "$withval" = no
; then
3604 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3605 elif test "$withval" = sys
; then
3606 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3607 elif test "$withval" = builtin; then
3608 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3610 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3611 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3612 { (exit 1); exit 1; }; }
3617 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3622 eval "$wx_cv_use_libpng"
3624 if test "$wxUSE_LIBPNG" = yes; then
3625 { echo "$as_me:$LINENO: result: yes" >&5
3626 echo "${ECHO_T}yes" >&6; }
3627 elif test "$wxUSE_LIBPNG" = no; then
3628 { echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6; }
3630 elif test "$wxUSE_LIBPNG" = sys; then
3631 { echo "$as_me:$LINENO: result: system version" >&5
3632 echo "${ECHO_T}system version" >&6; }
3633 elif test "$wxUSE_LIBPNG" = builtin; then
3634 { echo "$as_me:$LINENO: result: builtin version" >&5
3635 echo "${ECHO_T}builtin version" >&6; }
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3643 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3644 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3646 # Check whether --with-libjpeg was given.
3647 if test "${with_libjpeg+set}" = set; then
3648 withval=$with_libjpeg;
3649 if test "$withval" = yes; then
3650 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3651 elif test "$withval" = no; then
3652 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3653 elif test "$withval" = sys; then
3654 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3655 elif test "$withval" = builtin; then
3656 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3658 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3659 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3660 { (exit 1); exit 1; }; }
3665 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3670 eval "$wx_cv_use_libjpeg"
3672 if test "$wxUSE_LIBJPEG" = yes; then
3673 { echo "$as_me:$LINENO: result
: yes" >&5
3674 echo "${ECHO_T}yes" >&6; }
3675 elif test "$wxUSE_LIBJPEG" = no; then
3676 { echo "$as_me:$LINENO: result
: no
" >&5
3677 echo "${ECHO_T}no
" >&6; }
3678 elif test "$wxUSE_LIBJPEG" = sys; then
3679 { echo "$as_me:$LINENO: result
: system version
" >&5
3680 echo "${ECHO_T}system version
" >&6; }
3681 elif test "$wxUSE_LIBJPEG" = builtin; then
3682 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3683 echo "${ECHO_T}builtin version
" >&6; }
3685 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3686 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3687 { (exit 1); exit 1; }; }
3691 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3692 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3694 # Check whether --with-libtiff was given.
3695 if test "${with_libtiff+set}" = set; then
3696 withval=$with_libtiff;
3697 if test "$withval" = yes; then
3698 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3699 elif test "$withval" = no; then
3700 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3701 elif test "$withval" = sys; then
3702 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3703 elif test "$withval" = builtin; then
3704 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3706 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3707 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3708 { (exit 1); exit 1; }; }
3713 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3718 eval "$wx_cv_use_libtiff"
3720 if test "$wxUSE_LIBTIFF" = yes; then
3721 { echo "$as_me:$LINENO: result: yes" >&5
3722 echo "${ECHO_T}yes" >&6; }
3723 elif test "$wxUSE_LIBTIFF" = no
; then
3724 { echo "$as_me:$LINENO: result: no" >&5
3725 echo "${ECHO_T}no" >&6; }
3726 elif test "$wxUSE_LIBTIFF" = sys
; then
3727 { echo "$as_me:$LINENO: result: system version" >&5
3728 echo "${ECHO_T}system version" >&6; }
3729 elif test "$wxUSE_LIBTIFF" = builtin; then
3730 { echo "$as_me:$LINENO: result: builtin version" >&5
3731 echo "${ECHO_T}builtin version" >&6; }
3733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3734 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3735 { (exit 1); exit 1; }; }
3739 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3740 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3742 # Check whether --with-libxpm was given.
3743 if test "${with_libxpm+set}" = set; then
3744 withval
=$with_libxpm;
3745 if test "$withval" = yes; then
3746 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3747 elif test "$withval" = no
; then
3748 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3749 elif test "$withval" = sys
; then
3750 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3751 elif test "$withval" = builtin; then
3752 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3754 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3755 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3761 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3766 eval "$wx_cv_use_libxpm"
3768 if test "$wxUSE_LIBXPM" = yes; then
3769 { echo "$as_me:$LINENO: result: yes" >&5
3770 echo "${ECHO_T}yes" >&6; }
3771 elif test "$wxUSE_LIBXPM" = no; then
3772 { echo "$as_me:$LINENO: result: no" >&5
3773 echo "${ECHO_T}no" >&6; }
3774 elif test "$wxUSE_LIBXPM" = sys; then
3775 { echo "$as_me:$LINENO: result: system version" >&5
3776 echo "${ECHO_T}system version" >&6; }
3777 elif test "$wxUSE_LIBXPM" = builtin; then
3778 { echo "$as_me:$LINENO: result: builtin version" >&5
3779 echo "${ECHO_T}builtin version" >&6; }
3781 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3782 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3783 { (exit 1); exit 1; }; }
3788 defaultval=$wxUSE_ALL_FEATURES
3789 if test -z "$defaultval"; then
3790 if test x"$withstring" = xwithout; then
3796 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3797 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3799 # Check whether --with-libiconv was given.
3800 if test "${with_libiconv+set}" = set; then
3801 withval=$with_libiconv;
3802 if test "$withval" = yes; then
3803 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3805 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3810 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3815 eval "$wx_cv_use_libiconv"
3817 if test x"$withstring" = xwithout; then
3818 if test $wxUSE_LIBICONV = yes; then
3824 result=$wxUSE_LIBICONV
3827 { echo "$as_me:$LINENO: result
: $result" >&5
3828 echo "${ECHO_T}$result" >&6; }
3832 defaultval=$wxUSE_ALL_FEATURES
3833 if test -z "$defaultval"; then
3834 if test x"$withstring" = xwithout; then
3840 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3841 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3843 # Check whether --with-libmspack was given.
3844 if test "${with_libmspack+set}" = set; then
3845 withval=$with_libmspack;
3846 if test "$withval" = yes; then
3847 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3849 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3854 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3859 eval "$wx_cv_use_libmspack"
3861 if test x
"$withstring" = xwithout
; then
3862 if test $wxUSE_LIBMSPACK = yes; then
3868 result
=$wxUSE_LIBMSPACK
3871 { echo "$as_me:$LINENO: result: $result" >&5
3872 echo "${ECHO_T}$result" >&6; }
3876 defaultval
=$wxUSE_ALL_FEATURES
3877 if test -z "$defaultval"; then
3878 if test x
"$withstring" = xwithout
; then
3884 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3885 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3887 # Check whether --with-gtkprint was given.
3888 if test "${with_gtkprint+set}" = set; then
3889 withval
=$with_gtkprint;
3890 if test "$withval" = yes; then
3891 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3893 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3898 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3903 eval "$wx_cv_use_gtkprint"
3905 if test x"$withstring" = xwithout; then
3906 if test $wxUSE_GTKPRINT = yes; then
3912 result=$wxUSE_GTKPRINT
3915 { echo "$as_me:$LINENO: result: $result" >&5
3916 echo "${ECHO_T}$result" >&6; }
3920 defaultval=$wxUSE_ALL_FEATURES
3921 if test -z "$defaultval"; then
3922 if test x"$withstring" = xwithout; then
3928 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3929 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3931 # Check whether --with-gnomeprint was given.
3932 if test "${with_gnomeprint+set}" = set; then
3933 withval=$with_gnomeprint;
3934 if test "$withval" = yes; then
3935 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3937 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3942 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3947 eval "$wx_cv_use_gnomeprint"
3949 if test x"$withstring" = xwithout; then
3950 if test $wxUSE_LIBGNOMEPRINT = yes; then
3956 result=$wxUSE_LIBGNOMEPRINT
3959 { echo "$as_me:$LINENO: result
: $result" >&5
3960 echo "${ECHO_T}$result" >&6; }
3964 defaultval=$wxUSE_ALL_FEATURES
3965 if test -z "$defaultval"; then
3966 if test x"$withstring" = xwithout; then
3972 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3973 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3975 # Check whether --with-gnomevfs was given.
3976 if test "${with_gnomevfs+set}" = set; then
3977 withval=$with_gnomevfs;
3978 if test "$withval" = yes; then
3979 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3981 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3986 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3991 eval "$wx_cv_use_gnomevfs"
3993 if test x
"$withstring" = xwithout
; then
3994 if test $wxUSE_LIBGNOMEVFS = yes; then
4000 result
=$wxUSE_LIBGNOMEVFS
4003 { echo "$as_me:$LINENO: result: $result" >&5
4004 echo "${ECHO_T}$result" >&6; }
4008 defaultval
=$wxUSE_ALL_FEATURES
4009 if test -z "$defaultval"; then
4010 if test x
"$withstring" = xwithout
; then
4016 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4017 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4019 # Check whether --with-hildon was given.
4020 if test "${with_hildon+set}" = set; then
4021 withval
=$with_hildon;
4022 if test "$withval" = yes; then
4023 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4025 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4030 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4035 eval "$wx_cv_use_hildon"
4037 if test x"$withstring" = xwithout; then
4038 if test $wxUSE_LIBHILDON = yes; then
4044 result=$wxUSE_LIBHILDON
4047 { echo "$as_me:$LINENO: result: $result" >&5
4048 echo "${ECHO_T}$result" >&6; }
4052 defaultval=$wxUSE_ALL_FEATURES
4053 if test -z "$defaultval"; then
4054 if test x"$withstring" = xwithout; then
4060 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4061 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4063 # Check whether --with-opengl was given.
4064 if test "${with_opengl+set}" = set; then
4065 withval=$with_opengl;
4066 if test "$withval" = yes; then
4067 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4069 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4074 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4079 eval "$wx_cv_use_opengl"
4081 if test x"$withstring" = xwithout; then
4082 if test $wxUSE_OPENGL = yes; then
4088 result=$wxUSE_OPENGL
4091 { echo "$as_me:$LINENO: result
: $result" >&5
4092 echo "${ECHO_T}$result" >&6; }
4099 defaultval=$wxUSE_ALL_FEATURES
4100 if test -z "$defaultval"; then
4101 if test x"$withstring" = xwithout; then
4107 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4108 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4110 # Check whether --with-dmalloc was given.
4111 if test "${with_dmalloc+set}" = set; then
4112 withval=$with_dmalloc;
4113 if test "$withval" = yes; then
4114 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4116 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4121 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4126 eval "$wx_cv_use_dmalloc"
4128 if test x
"$withstring" = xwithout
; then
4129 if test $wxUSE_DMALLOC = yes; then
4135 result
=$wxUSE_DMALLOC
4138 { echo "$as_me:$LINENO: result: $result" >&5
4139 echo "${ECHO_T}$result" >&6; }
4143 defaultval
=$wxUSE_ALL_FEATURES
4144 if test -z "$defaultval"; then
4145 if test x
"$withstring" = xwithout
; then
4151 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4152 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4154 # Check whether --with-sdl was given.
4155 if test "${with_sdl+set}" = set; then
4157 if test "$withval" = yes; then
4158 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4160 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4165 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4170 eval "$wx_cv_use_sdl"
4172 if test x"$withstring" = xwithout; then
4173 if test $wxUSE_LIBSDL = yes; then
4179 result=$wxUSE_LIBSDL
4182 { echo "$as_me:$LINENO: result: $result" >&5
4183 echo "${ECHO_T}$result" >&6; }
4186 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4187 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4189 # Check whether --with-regex was given.
4190 if test "${with_regex+set}" = set; then
4191 withval=$with_regex;
4192 if test "$withval" = yes; then
4193 wx_cv_use_regex='wxUSE_REGEX
=yes'
4194 elif test "$withval" = no; then
4195 wx_cv_use_regex='wxUSE_REGEX
=no
'
4196 elif test "$withval" = sys; then
4197 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4198 elif test "$withval" = builtin; then
4199 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4201 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4202 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4203 { (exit 1); exit 1; }; }
4208 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4213 eval "$wx_cv_use_regex"
4215 if test "$wxUSE_REGEX" = yes; then
4216 { echo "$as_me:$LINENO: result
: yes" >&5
4217 echo "${ECHO_T}yes" >&6; }
4218 elif test "$wxUSE_REGEX" = no; then
4219 { echo "$as_me:$LINENO: result
: no
" >&5
4220 echo "${ECHO_T}no
" >&6; }
4221 elif test "$wxUSE_REGEX" = sys; then
4222 { echo "$as_me:$LINENO: result
: system version
" >&5
4223 echo "${ECHO_T}system version
" >&6; }
4224 elif test "$wxUSE_REGEX" = builtin; then
4225 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4226 echo "${ECHO_T}builtin version
" >&6; }
4228 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4229 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4230 { (exit 1); exit 1; }; }
4234 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4235 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4237 # Check whether --with-zlib was given.
4238 if test "${with_zlib+set}" = set; then
4240 if test "$withval" = yes; then
4241 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4242 elif test "$withval" = no; then
4243 wx_cv_use_zlib='wxUSE_ZLIB=no'
4244 elif test "$withval" = sys; then
4245 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4246 elif test "$withval" = builtin; then
4247 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4249 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4250 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4251 { (exit 1); exit 1; }; }
4256 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4261 eval "$wx_cv_use_zlib"
4263 if test "$wxUSE_ZLIB" = yes; then
4264 { echo "$as_me:$LINENO: result: yes" >&5
4265 echo "${ECHO_T}yes" >&6; }
4266 elif test "$wxUSE_ZLIB" = no
; then
4267 { echo "$as_me:$LINENO: result: no" >&5
4268 echo "${ECHO_T}no" >&6; }
4269 elif test "$wxUSE_ZLIB" = sys
; then
4270 { echo "$as_me:$LINENO: result: system version" >&5
4271 echo "${ECHO_T}system version" >&6; }
4272 elif test "$wxUSE_ZLIB" = builtin; then
4273 { echo "$as_me:$LINENO: result: builtin version" >&5
4274 echo "${ECHO_T}builtin version" >&6; }
4276 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4277 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4278 { (exit 1); exit 1; }; }
4282 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4283 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4285 # Check whether --with-expat was given.
4286 if test "${with_expat+set}" = set; then
4287 withval
=$with_expat;
4288 if test "$withval" = yes; then
4289 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4290 elif test "$withval" = no
; then
4291 wx_cv_use_expat
='wxUSE_EXPAT=no'
4292 elif test "$withval" = sys
; then
4293 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4294 elif test "$withval" = builtin; then
4295 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4297 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4298 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4299 { (exit 1); exit 1; }; }
4304 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4309 eval "$wx_cv_use_expat"
4311 if test "$wxUSE_EXPAT" = yes; then
4312 { echo "$as_me:$LINENO: result: yes" >&5
4313 echo "${ECHO_T}yes" >&6; }
4314 elif test "$wxUSE_EXPAT" = no; then
4315 { echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6; }
4317 elif test "$wxUSE_EXPAT" = sys; then
4318 { echo "$as_me:$LINENO: result: system version" >&5
4319 echo "${ECHO_T}system version" >&6; }
4320 elif test "$wxUSE_EXPAT" = builtin; then
4321 { echo "$as_me:$LINENO: result: builtin version" >&5
4322 echo "${ECHO_T}builtin version" >&6; }
4324 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4325 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4326 { (exit 1); exit 1; }; }
4330 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4331 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4333 # Check whether --with-macosx-sdk was given.
4334 if test "${with_macosx_sdk+set}" = set; then
4335 withval=$with_macosx_sdk;
4336 wxUSE_MACOSX_SDK=$withval
4337 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4341 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4342 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4344 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4345 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4347 # Check whether --with-macosx-version-min was given.
4348 if test "${with_macosx_version_min+set}" = set; then
4349 withval=$with_macosx_version_min;
4350 wxUSE_MACOSX_VERSION_MIN=$withval
4351 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4355 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4356 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4360 enablestring=disable
4362 if test -z "$defaultval"; then
4363 if test x"$enablestring" = xdisable; then
4370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4371 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4372 # Check whether --enable-shared was given.
4373 if test "${enable_shared+set}" = set; then
4374 enableval=$enable_shared;
4375 if test "$enableval" = yes; then
4376 wx_cv_use_shared='wxUSE_SHARED
=yes'
4378 wx_cv_use_shared='wxUSE_SHARED
=no
'
4383 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4388 eval "$wx_cv_use_shared"
4390 if test x"$enablestring" = xdisable; then
4391 if test $wxUSE_SHARED = yes; then
4397 result=$wxUSE_SHARED
4400 { echo "$as_me:$LINENO: result
: $result" >&5
4401 echo "${ECHO_T}$result" >&6; }
4406 if test -z "$defaultval"; then
4407 if test x"$enablestring" = xdisable; then
4414 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4415 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4416 # Check whether --enable-debug was given.
4417 if test "${enable_debug+set}" = set; then
4418 enableval=$enable_debug;
4419 if test "$enableval" = yes; then
4420 wx_cv_use_debug='wxUSE_DEBUG=yes'
4422 wx_cv_use_debug='wxUSE_DEBUG=no'
4427 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4432 eval "$wx_cv_use_debug"
4434 if test x
"$enablestring" = xdisable
; then
4435 if test $wxUSE_DEBUG = yes; then
4444 { echo "$as_me:$LINENO: result: $result" >&5
4445 echo "${ECHO_T}$result" >&6; }
4450 if test -z "$defaultval"; then
4451 if test x
"$enablestring" = xdisable
; then
4458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4459 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4460 # Check whether --enable-stl was given.
4461 if test "${enable_stl+set}" = set; then
4462 enableval
=$enable_stl;
4463 if test "$enableval" = yes; then
4464 wx_cv_use_stl
='wxUSE_STL=yes'
4466 wx_cv_use_stl
='wxUSE_STL=no'
4471 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4476 eval "$wx_cv_use_stl"
4478 if test x"$enablestring" = xdisable; then
4479 if test $wxUSE_STL = yes; then
4488 { echo "$as_me:$LINENO: result: $result" >&5
4489 echo "${ECHO_T}$result" >&6; }
4494 if test -z "$defaultval"; then
4495 if test x"$enablestring" = xdisable; then
4502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4503 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4504 # Check whether --enable-std_iostreams was given.
4505 if test "${enable_std_iostreams+set}" = set; then
4506 enableval=$enable_std_iostreams;
4507 if test "$enableval" = yes; then
4508 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4510 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4515 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4520 eval "$wx_cv_use_std_iostreams"
4522 if test x"$enablestring" = xdisable; then
4523 if test $wxUSE_STD_IOSTREAM = yes; then
4529 result=$wxUSE_STD_IOSTREAM
4532 { echo "$as_me:$LINENO: result
: $result" >&5
4533 echo "${ECHO_T}$result" >&6; }
4538 if test -z "$defaultval"; then
4539 if test x"$enablestring" = xdisable; then
4546 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4547 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4548 # Check whether --enable-std_string was given.
4549 if test "${enable_std_string+set}" = set; then
4550 enableval=$enable_std_string;
4551 if test "$enableval" = yes; then
4552 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4554 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4559 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4564 eval "$wx_cv_use_std_string"
4566 if test x
"$enablestring" = xdisable
; then
4567 if test $wxUSE_STD_STRING = yes; then
4573 result
=$wxUSE_STD_STRING
4576 { echo "$as_me:$LINENO: result: $result" >&5
4577 echo "${ECHO_T}$result" >&6; }
4580 enablestring
=disable
4582 if test -z "$defaultval"; then
4583 if test x
"$enablestring" = xdisable
; then
4590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4592 # Check whether --enable-unicode was given.
4593 if test "${enable_unicode+set}" = set; then
4594 enableval
=$enable_unicode;
4595 if test "$enableval" = yes; then
4596 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4598 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4603 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4608 eval "$wx_cv_use_unicode"
4610 if test x"$enablestring" = xdisable; then
4611 if test $wxUSE_UNICODE = yes; then
4617 result=$wxUSE_UNICODE
4620 { echo "$as_me:$LINENO: result: $result" >&5
4621 echo "${ECHO_T}$result" >&6; }
4626 if test -z "$defaultval"; then
4627 if test x"$enablestring" = xdisable; then
4634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4635 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4636 # Check whether --enable-mslu was given.
4637 if test "${enable_mslu+set}" = set; then
4638 enableval=$enable_mslu;
4639 if test "$enableval" = yes; then
4640 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4642 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4647 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4652 eval "$wx_cv_use_mslu"
4654 if test x"$enablestring" = xdisable; then
4655 if test $wxUSE_UNICODE_MSLU = yes; then
4661 result=$wxUSE_UNICODE_MSLU
4664 { echo "$as_me:$LINENO: result
: $result" >&5
4665 echo "${ECHO_T}$result" >&6; }
4669 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4670 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4671 # Check whether --enable-utf8 was given.
4672 if test "${enable_utf8+set}" = set; then
4673 enableval=$enable_utf8;
4674 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4678 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4683 eval "$wx_cv_use_utf8"
4685 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4686 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4691 if test -z "$defaultval"; then
4692 if test x"$enablestring" = xdisable; then
4699 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4700 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4701 # Check whether --enable-utf8only was given.
4702 if test "${enable_utf8only+set}" = set; then
4703 enableval=$enable_utf8only;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4707 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4712 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4717 eval "$wx_cv_use_utf8only"
4719 if test x
"$enablestring" = xdisable
; then
4720 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4726 result
=$wxUSE_UNICODE_UTF8_LOCALE
4729 { echo "$as_me:$LINENO: result: $result" >&5
4730 echo "${ECHO_T}$result" >&6; }
4735 if test -z "$defaultval"; then
4736 if test x
"$enablestring" = xdisable
; then
4743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4745 # Check whether --enable-extended_rtti was given.
4746 if test "${enable_extended_rtti+set}" = set; then
4747 enableval
=$enable_extended_rtti;
4748 if test "$enableval" = yes; then
4749 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4751 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4756 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4761 eval "$wx_cv_use_extended_rtti"
4763 if test x"$enablestring" = xdisable; then
4764 if test $wxUSE_EXTENDED_RTTI = yes; then
4770 result=$wxUSE_EXTENDED_RTTI
4773 { echo "$as_me:$LINENO: result: $result" >&5
4774 echo "${ECHO_T}$result" >&6; }
4776 if test "$USE_OS2" = 1; then
4777 DEFAULT_wxUSE_OMF=no
4781 if test -z "$defaultval"; then
4782 if test x"$enablestring" = xdisable; then
4789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4790 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4791 # Check whether --enable-omf was given.
4792 if test "${enable_omf+set}" = set; then
4793 enableval=$enable_omf;
4794 if test "$enableval" = yes; then
4795 wx_cv_use_omf='wxUSE_OMF
=yes'
4797 wx_cv_use_omf='wxUSE_OMF
=no
'
4802 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4807 eval "$wx_cv_use_omf"
4809 if test x"$enablestring" = xdisable; then
4810 if test $wxUSE_OMF = yes; then
4819 { echo "$as_me:$LINENO: result
: $result" >&5
4820 echo "${ECHO_T}$result" >&6; }
4824 if test "$wxUSE_DEBUG" = "yes"; then
4825 DEFAULT_wxUSE_DEBUG_FLAG=yes
4826 DEFAULT_wxUSE_DEBUG_INFO=yes
4828 elif test "$wxUSE_DEBUG" = "no
"; then
4829 DEFAULT_wxUSE_DEBUG_FLAG=no
4830 DEFAULT_wxUSE_DEBUG_INFO=no
4837 if test -z "$defaultval"; then
4838 if test x"$enablestring" = xdisable; then
4845 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4846 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4847 # Check whether --enable-debug_flag was given.
4848 if test "${enable_debug_flag+set}" = set; then
4849 enableval=$enable_debug_flag;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4853 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4858 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4863 eval "$wx_cv_use_debug_flag"
4865 if test x
"$enablestring" = xdisable
; then
4866 if test $wxUSE_DEBUG_FLAG = yes; then
4872 result
=$wxUSE_DEBUG_FLAG
4875 { echo "$as_me:$LINENO: result: $result" >&5
4876 echo "${ECHO_T}$result" >&6; }
4881 if test -z "$defaultval"; then
4882 if test x
"$enablestring" = xdisable
; then
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4891 # Check whether --enable-debug_info was given.
4892 if test "${enable_debug_info+set}" = set; then
4893 enableval
=$enable_debug_info;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4897 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4902 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4907 eval "$wx_cv_use_debug_info"
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_DEBUG_INFO = yes; then
4916 result=$wxUSE_DEBUG_INFO
4919 { echo "$as_me:$LINENO: result: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4923 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4928 if test "$wxUSE_DEBUG" = "yes"; then
4929 DEFAULT_wxUSE_OPTIMISE=no
4933 enablestring=disable
4935 if test -z "$defaultval"; then
4936 if test x"$enablestring" = xdisable; then
4943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4944 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4945 # Check whether --enable-optimise was given.
4946 if test "${enable_optimise+set}" = set; then
4947 enableval=$enable_optimise;
4948 if test "$enableval" = yes; then
4949 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4951 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4956 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4961 eval "$wx_cv_use_optimise"
4963 if test x"$enablestring" = xdisable; then
4964 if test $wxUSE_OPTIMISE = yes; then
4970 result=$wxUSE_OPTIMISE
4973 { echo "$as_me:$LINENO: result
: $result" >&5
4974 echo "${ECHO_T}$result" >&6; }
4980 if test -z "$defaultval"; then
4981 if test x"$enablestring" = xdisable; then
4988 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4989 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4990 # Check whether --enable-debug_gdb was given.
4991 if test "${enable_debug_gdb+set}" = set; then
4992 enableval=$enable_debug_gdb;
4993 if test "$enableval" = yes; then
4994 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4996 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5001 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5006 eval "$wx_cv_use_debug_gdb"
5008 if test x
"$enablestring" = xdisable
; then
5009 if test $wxUSE_DEBUG_GDB = yes; then
5015 result
=$wxUSE_DEBUG_GDB
5018 { echo "$as_me:$LINENO: result: $result" >&5
5019 echo "${ECHO_T}$result" >&6; }
5024 if test -z "$defaultval"; then
5025 if test x
"$enablestring" = xdisable
; then
5032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5033 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5034 # Check whether --enable-debug_cntxt was given.
5035 if test "${enable_debug_cntxt+set}" = set; then
5036 enableval
=$enable_debug_cntxt;
5037 if test "$enableval" = yes; then
5038 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
5040 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5045 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5050 eval "$wx_cv_use_debug_cntxt"
5052 if test x"$enablestring" = xdisable; then
5053 if test $wxUSE_DEBUG_CONTEXT = yes; then
5059 result=$wxUSE_DEBUG_CONTEXT
5062 { echo "$as_me:$LINENO: result: $result" >&5
5063 echo "${ECHO_T}$result" >&6; }
5068 if test -z "$defaultval"; then
5069 if test x"$enablestring" = xdisable; then
5076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5077 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5078 # Check whether --enable-mem_tracing was given.
5079 if test "${enable_mem_tracing+set}" = set; then
5080 enableval=$enable_mem_tracing;
5081 if test "$enableval" = yes; then
5082 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5084 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5089 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5094 eval "$wx_cv_use_mem_tracing"
5096 if test x"$enablestring" = xdisable; then
5097 if test $wxUSE_MEM_TRACING = yes; then
5103 result=$wxUSE_MEM_TRACING
5106 { echo "$as_me:$LINENO: result
: $result" >&5
5107 echo "${ECHO_T}$result" >&6; }
5112 if test -z "$defaultval"; then
5113 if test x"$enablestring" = xdisable; then
5120 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5121 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5122 # Check whether --enable-profile was given.
5123 if test "${enable_profile+set}" = set; then
5124 enableval=$enable_profile;
5125 if test "$enableval" = yes; then
5126 wx_cv_use_profile='wxUSE_PROFILE=yes'
5128 wx_cv_use_profile='wxUSE_PROFILE=no'
5133 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5138 eval "$wx_cv_use_profile"
5140 if test x
"$enablestring" = xdisable
; then
5141 if test $wxUSE_PROFILE = yes; then
5147 result
=$wxUSE_PROFILE
5150 { echo "$as_me:$LINENO: result: $result" >&5
5151 echo "${ECHO_T}$result" >&6; }
5156 if test -z "$defaultval"; then
5157 if test x
"$enablestring" = xdisable
; then
5164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5165 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5166 # Check whether --enable-no_rtti was given.
5167 if test "${enable_no_rtti+set}" = set; then
5168 enableval
=$enable_no_rtti;
5169 if test "$enableval" = yes; then
5170 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5172 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5177 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5182 eval "$wx_cv_use_no_rtti"
5184 if test x"$enablestring" = xdisable; then
5185 if test $wxUSE_NO_RTTI = yes; then
5191 result=$wxUSE_NO_RTTI
5194 { echo "$as_me:$LINENO: result: $result" >&5
5195 echo "${ECHO_T}$result" >&6; }
5200 if test -z "$defaultval"; then
5201 if test x"$enablestring" = xdisable; then
5208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5209 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5210 # Check whether --enable-no_exceptions was given.
5211 if test "${enable_no_exceptions+set}" = set; then
5212 enableval=$enable_no_exceptions;
5213 if test "$enableval" = yes; then
5214 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5216 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5221 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5226 eval "$wx_cv_use_no_exceptions"
5228 if test x"$enablestring" = xdisable; then
5229 if test $wxUSE_NO_EXCEPTIONS = yes; then
5235 result=$wxUSE_NO_EXCEPTIONS
5238 { echo "$as_me:$LINENO: result
: $result" >&5
5239 echo "${ECHO_T}$result" >&6; }
5244 if test -z "$defaultval"; then
5245 if test x"$enablestring" = xdisable; then
5252 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5253 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5254 # Check whether --enable-permissive was given.
5255 if test "${enable_permissive+set}" = set; then
5256 enableval=$enable_permissive;
5257 if test "$enableval" = yes; then
5258 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5260 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5265 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5270 eval "$wx_cv_use_permissive"
5272 if test x
"$enablestring" = xdisable
; then
5273 if test $wxUSE_PERMISSIVE = yes; then
5279 result
=$wxUSE_PERMISSIVE
5282 { echo "$as_me:$LINENO: result: $result" >&5
5283 echo "${ECHO_T}$result" >&6; }
5288 if test -z "$defaultval"; then
5289 if test x
"$enablestring" = xdisable
; then
5296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5298 # Check whether --enable-no_deps was given.
5299 if test "${enable_no_deps+set}" = set; then
5300 enableval
=$enable_no_deps;
5301 if test "$enableval" = yes; then
5302 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5304 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5309 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5314 eval "$wx_cv_use_no_deps"
5316 if test x"$enablestring" = xdisable; then
5317 if test $wxUSE_NO_DEPS = yes; then
5323 result=$wxUSE_NO_DEPS
5326 { echo "$as_me:$LINENO: result: $result" >&5
5327 echo "${ECHO_T}$result" >&6; }
5330 enablestring=disable
5332 if test -z "$defaultval"; then
5333 if test x"$enablestring" = xdisable; then
5340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5341 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5342 # Check whether --enable-vararg_macros was given.
5343 if test "${enable_vararg_macros+set}" = set; then
5344 enableval=$enable_vararg_macros;
5345 if test "$enableval" = yes; then
5346 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5348 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5353 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5358 eval "$wx_cv_use_vararg_macros"
5360 if test x"$enablestring" = xdisable; then
5361 if test $wxUSE_VARARG_MACROS = yes; then
5367 result=$wxUSE_VARARG_MACROS
5370 { echo "$as_me:$LINENO: result
: $result" >&5
5371 echo "${ECHO_T}$result" >&6; }
5375 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5376 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5377 # Check whether --enable-universal_binary was given.
5378 if test "${enable_universal_binary+set}" = set; then
5379 enableval=$enable_universal_binary;
5380 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5384 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5389 eval "$wx_cv_use_universal_binary"
5391 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5392 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5398 if test -z "$defaultval"; then
5399 if test x"$enablestring" = xdisable; then
5406 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5407 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5408 # Check whether --enable-compat26 was given.
5409 if test "${enable_compat26+set}" = set; then
5410 enableval=$enable_compat26;
5411 if test "$enableval" = yes; then
5412 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5414 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5419 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5424 eval "$wx_cv_use_compat26"
5426 if test x
"$enablestring" = xdisable
; then
5427 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5433 result
=$WXWIN_COMPATIBILITY_2_6
5436 { echo "$as_me:$LINENO: result: $result" >&5
5437 echo "${ECHO_T}$result" >&6; }
5440 enablestring
=disable
5442 if test -z "$defaultval"; then
5443 if test x
"$enablestring" = xdisable
; then
5450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5451 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5452 # Check whether --enable-compat28 was given.
5453 if test "${enable_compat28+set}" = set; then
5454 enableval
=$enable_compat28;
5455 if test "$enableval" = yes; then
5456 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5458 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5463 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5468 eval "$wx_cv_use_compat28"
5470 if test x"$enablestring" = xdisable; then
5471 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5477 result=$WXWIN_COMPATIBILITY_2_8
5480 { echo "$as_me:$LINENO: result: $result" >&5
5481 echo "${ECHO_T}$result" >&6; }
5485 enablestring=disable
5487 if test -z "$defaultval"; then
5488 if test x"$enablestring" = xdisable; then
5495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5496 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5497 # Check whether --enable-rpath was given.
5498 if test "${enable_rpath+set}" = set; then
5499 enableval=$enable_rpath;
5500 if test "$enableval" = yes; then
5501 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5503 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5508 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5513 eval "$wx_cv_use_rpath"
5515 if test x"$enablestring" = xdisable; then
5516 if test $wxUSE_RPATH = yes; then
5525 { echo "$as_me:$LINENO: result
: $result" >&5
5526 echo "${ECHO_T}$result" >&6; }
5532 if test -z "$defaultval"; then
5533 if test x"$enablestring" = xdisable; then
5540 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5541 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5542 # Check whether --enable-objc_uniquifying was given.
5543 if test "${enable_objc_uniquifying+set}" = set; then
5544 enableval=$enable_objc_uniquifying;
5545 if test "$enableval" = yes; then
5546 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5548 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5553 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5558 eval "$wx_cv_use_objc_uniquifying"
5560 if test x
"$enablestring" = xdisable
; then
5561 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5567 result
=$wxUSE_OBJC_UNIQUIFYING
5570 { echo "$as_me:$LINENO: result: $result" >&5
5571 echo "${ECHO_T}$result" >&6; }
5575 enablestring
=disable
5577 if test -z "$defaultval"; then
5578 if test x
"$enablestring" = xdisable
; then
5585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5586 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5587 # Check whether --enable-visibility was given.
5588 if test "${enable_visibility+set}" = set; then
5589 enableval
=$enable_visibility;
5590 if test "$enableval" = yes; then
5591 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5593 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5598 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5603 eval "$wx_cv_use_visibility"
5605 if test x"$enablestring" = xdisable; then
5606 if test $wxUSE_VISIBILITY = yes; then
5612 result=$wxUSE_VISIBILITY
5615 { echo "$as_me:$LINENO: result: $result" >&5
5616 echo "${ECHO_T}$result" >&6; }
5622 defaultval=$wxUSE_ALL_FEATURES
5623 if test -z "$defaultval"; then
5624 if test x"$enablestring" = xdisable; then
5631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5632 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5633 # Check whether --enable-intl was given.
5634 if test "${enable_intl+set}" = set; then
5635 enableval=$enable_intl;
5636 if test "$enableval" = yes; then
5637 wx_cv_use_intl='wxUSE_INTL
=yes'
5639 wx_cv_use_intl='wxUSE_INTL
=no
'
5644 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5649 eval "$wx_cv_use_intl"
5651 if test x"$enablestring" = xdisable; then
5652 if test $wxUSE_INTL = yes; then
5661 { echo "$as_me:$LINENO: result
: $result" >&5
5662 echo "${ECHO_T}$result" >&6; }
5666 defaultval=$wxUSE_ALL_FEATURES
5667 if test -z "$defaultval"; then
5668 if test x"$enablestring" = xdisable; then
5675 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5676 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5677 # Check whether --enable-xlocale was given.
5678 if test "${enable_xlocale+set}" = set; then
5679 enableval=$enable_xlocale;
5680 if test "$enableval" = yes; then
5681 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5683 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5688 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5693 eval "$wx_cv_use_xlocale"
5695 if test x
"$enablestring" = xdisable
; then
5696 if test $wxUSE_XLOCALE = yes; then
5702 result
=$wxUSE_XLOCALE
5705 { echo "$as_me:$LINENO: result: $result" >&5
5706 echo "${ECHO_T}$result" >&6; }
5710 defaultval
=$wxUSE_ALL_FEATURES
5711 if test -z "$defaultval"; then
5712 if test x
"$enablestring" = xdisable
; then
5719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5720 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5721 # Check whether --enable-config was given.
5722 if test "${enable_config+set}" = set; then
5723 enableval
=$enable_config;
5724 if test "$enableval" = yes; then
5725 wx_cv_use_config
='wxUSE_CONFIG=yes'
5727 wx_cv_use_config
='wxUSE_CONFIG=no'
5732 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5737 eval "$wx_cv_use_config"
5739 if test x"$enablestring" = xdisable; then
5740 if test $wxUSE_CONFIG = yes; then
5746 result=$wxUSE_CONFIG
5749 { echo "$as_me:$LINENO: result: $result" >&5
5750 echo "${ECHO_T}$result" >&6; }
5755 defaultval=$wxUSE_ALL_FEATURES
5756 if test -z "$defaultval"; then
5757 if test x"$enablestring" = xdisable; then
5764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5765 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5766 # Check whether --enable-protocols was given.
5767 if test "${enable_protocols+set}" = set; then
5768 enableval=$enable_protocols;
5769 if test "$enableval" = yes; then
5770 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5772 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5777 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5782 eval "$wx_cv_use_protocols"
5784 if test x"$enablestring" = xdisable; then
5785 if test $wxUSE_PROTOCOL = yes; then
5791 result=$wxUSE_PROTOCOL
5794 { echo "$as_me:$LINENO: result
: $result" >&5
5795 echo "${ECHO_T}$result" >&6; }
5799 defaultval=$wxUSE_ALL_FEATURES
5800 if test -z "$defaultval"; then
5801 if test x"$enablestring" = xdisable; then
5808 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5809 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5810 # Check whether --enable-ftp was given.
5811 if test "${enable_ftp+set}" = set; then
5812 enableval=$enable_ftp;
5813 if test "$enableval" = yes; then
5814 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5816 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5821 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5826 eval "$wx_cv_use_ftp"
5828 if test x
"$enablestring" = xdisable
; then
5829 if test $wxUSE_PROTOCOL_FTP = yes; then
5835 result
=$wxUSE_PROTOCOL_FTP
5838 { echo "$as_me:$LINENO: result: $result" >&5
5839 echo "${ECHO_T}$result" >&6; }
5843 defaultval
=$wxUSE_ALL_FEATURES
5844 if test -z "$defaultval"; then
5845 if test x
"$enablestring" = xdisable
; then
5852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5853 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5854 # Check whether --enable-http was given.
5855 if test "${enable_http+set}" = set; then
5856 enableval
=$enable_http;
5857 if test "$enableval" = yes; then
5858 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5860 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5865 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5870 eval "$wx_cv_use_http"
5872 if test x"$enablestring" = xdisable; then
5873 if test $wxUSE_PROTOCOL_HTTP = yes; then
5879 result=$wxUSE_PROTOCOL_HTTP
5882 { echo "$as_me:$LINENO: result: $result" >&5
5883 echo "${ECHO_T}$result" >&6; }
5887 defaultval=$wxUSE_ALL_FEATURES
5888 if test -z "$defaultval"; then
5889 if test x"$enablestring" = xdisable; then
5896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5897 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5898 # Check whether --enable-fileproto was given.
5899 if test "${enable_fileproto+set}" = set; then
5900 enableval=$enable_fileproto;
5901 if test "$enableval" = yes; then
5902 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5904 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5909 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5914 eval "$wx_cv_use_fileproto"
5916 if test x"$enablestring" = xdisable; then
5917 if test $wxUSE_PROTOCOL_FILE = yes; then
5923 result=$wxUSE_PROTOCOL_FILE
5926 { echo "$as_me:$LINENO: result
: $result" >&5
5927 echo "${ECHO_T}$result" >&6; }
5931 defaultval=$wxUSE_ALL_FEATURES
5932 if test -z "$defaultval"; then
5933 if test x"$enablestring" = xdisable; then
5940 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5941 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5942 # Check whether --enable-sockets was given.
5943 if test "${enable_sockets+set}" = set; then
5944 enableval=$enable_sockets;
5945 if test "$enableval" = yes; then
5946 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5948 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5953 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5958 eval "$wx_cv_use_sockets"
5960 if test x
"$enablestring" = xdisable
; then
5961 if test $wxUSE_SOCKETS = yes; then
5967 result
=$wxUSE_SOCKETS
5970 { echo "$as_me:$LINENO: result: $result" >&5
5971 echo "${ECHO_T}$result" >&6; }
5975 defaultval
=$wxUSE_ALL_FEATURES
5976 if test -z "$defaultval"; then
5977 if test x
"$enablestring" = xdisable
; then
5984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5985 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5986 # Check whether --enable-ipv6 was given.
5987 if test "${enable_ipv6+set}" = set; then
5988 enableval
=$enable_ipv6;
5989 if test "$enableval" = yes; then
5990 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5992 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5997 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6002 eval "$wx_cv_use_ipv6"
6004 if test x"$enablestring" = xdisable; then
6005 if test $wxUSE_IPV6 = yes; then
6014 { echo "$as_me:$LINENO: result: $result" >&5
6015 echo "${ECHO_T}$result" >&6; }
6019 defaultval=$wxUSE_ALL_FEATURES
6020 if test -z "$defaultval"; then
6021 if test x"$enablestring" = xdisable; then
6028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6029 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6030 # Check whether --enable-ole was given.
6031 if test "${enable_ole+set}" = set; then
6032 enableval=$enable_ole;
6033 if test "$enableval" = yes; then
6034 wx_cv_use_ole='wxUSE_OLE
=yes'
6036 wx_cv_use_ole='wxUSE_OLE
=no
'
6041 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6046 eval "$wx_cv_use_ole"
6048 if test x"$enablestring" = xdisable; then
6049 if test $wxUSE_OLE = yes; then
6058 { echo "$as_me:$LINENO: result
: $result" >&5
6059 echo "${ECHO_T}$result" >&6; }
6063 defaultval=$wxUSE_ALL_FEATURES
6064 if test -z "$defaultval"; then
6065 if test x"$enablestring" = xdisable; then
6072 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6073 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6074 # Check whether --enable-dataobj was given.
6075 if test "${enable_dataobj+set}" = set; then
6076 enableval=$enable_dataobj;
6077 if test "$enableval" = yes; then
6078 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6080 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6085 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6090 eval "$wx_cv_use_dataobj"
6092 if test x
"$enablestring" = xdisable
; then
6093 if test $wxUSE_DATAOBJ = yes; then
6099 result
=$wxUSE_DATAOBJ
6102 { echo "$as_me:$LINENO: result: $result" >&5
6103 echo "${ECHO_T}$result" >&6; }
6108 defaultval
=$wxUSE_ALL_FEATURES
6109 if test -z "$defaultval"; then
6110 if test x
"$enablestring" = xdisable
; then
6117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6118 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6119 # Check whether --enable-ipc was given.
6120 if test "${enable_ipc+set}" = set; then
6121 enableval
=$enable_ipc;
6122 if test "$enableval" = yes; then
6123 wx_cv_use_ipc
='wxUSE_IPC=yes'
6125 wx_cv_use_ipc
='wxUSE_IPC=no'
6130 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6135 eval "$wx_cv_use_ipc"
6137 if test x"$enablestring" = xdisable; then
6138 if test $wxUSE_IPC = yes; then
6147 { echo "$as_me:$LINENO: result: $result" >&5
6148 echo "${ECHO_T}$result" >&6; }
6153 defaultval=$wxUSE_ALL_FEATURES
6154 if test -z "$defaultval"; then
6155 if test x"$enablestring" = xdisable; then
6162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6163 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6164 # Check whether --enable-baseevtloop was given.
6165 if test "${enable_baseevtloop+set}" = set; then
6166 enableval=$enable_baseevtloop;
6167 if test "$enableval" = yes; then
6168 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6170 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6175 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6180 eval "$wx_cv_use_baseevtloop"
6182 if test x"$enablestring" = xdisable; then
6183 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6189 result=$wxUSE_CONSOLE_EVENTLOOP
6192 { echo "$as_me:$LINENO: result
: $result" >&5
6193 echo "${ECHO_T}$result" >&6; }
6197 defaultval=$wxUSE_ALL_FEATURES
6198 if test -z "$defaultval"; then
6199 if test x"$enablestring" = xdisable; then
6206 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6207 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6208 # Check whether --enable-epollloop was given.
6209 if test "${enable_epollloop+set}" = set; then
6210 enableval=$enable_epollloop;
6211 if test "$enableval" = yes; then
6212 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6214 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6219 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6224 eval "$wx_cv_use_epollloop"
6226 if test x
"$enablestring" = xdisable
; then
6227 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6233 result
=$wxUSE_EPOLL_DISPATCHER
6236 { echo "$as_me:$LINENO: result: $result" >&5
6237 echo "${ECHO_T}$result" >&6; }
6241 defaultval
=$wxUSE_ALL_FEATURES
6242 if test -z "$defaultval"; then
6243 if test x
"$enablestring" = xdisable
; then
6250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6251 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6252 # Check whether --enable-selectloop was given.
6253 if test "${enable_selectloop+set}" = set; then
6254 enableval
=$enable_selectloop;
6255 if test "$enableval" = yes; then
6256 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6258 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6263 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6268 eval "$wx_cv_use_selectloop"
6270 if test x"$enablestring" = xdisable; then
6271 if test $wxUSE_SELECT_DISPATCHER = yes; then
6277 result=$wxUSE_SELECT_DISPATCHER
6280 { echo "$as_me:$LINENO: result: $result" >&5
6281 echo "${ECHO_T}$result" >&6; }
6286 defaultval=$wxUSE_ALL_FEATURES
6287 if test -z "$defaultval"; then
6288 if test x"$enablestring" = xdisable; then
6295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6296 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6297 # Check whether --enable-apple_ieee was given.
6298 if test "${enable_apple_ieee+set}" = set; then
6299 enableval=$enable_apple_ieee;
6300 if test "$enableval" = yes; then
6301 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6303 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6308 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6313 eval "$wx_cv_use_apple_ieee"
6315 if test x"$enablestring" = xdisable; then
6316 if test $wxUSE_APPLE_IEEE = yes; then
6322 result=$wxUSE_APPLE_IEEE
6325 { echo "$as_me:$LINENO: result
: $result" >&5
6326 echo "${ECHO_T}$result" >&6; }
6330 defaultval=$wxUSE_ALL_FEATURES
6331 if test -z "$defaultval"; then
6332 if test x"$enablestring" = xdisable; then
6339 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6340 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6341 # Check whether --enable-arcstream was given.
6342 if test "${enable_arcstream+set}" = set; then
6343 enableval=$enable_arcstream;
6344 if test "$enableval" = yes; then
6345 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6347 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6352 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6357 eval "$wx_cv_use_arcstream"
6359 if test x
"$enablestring" = xdisable
; then
6360 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6366 result
=$wxUSE_ARCHIVE_STREAMS
6369 { echo "$as_me:$LINENO: result: $result" >&5
6370 echo "${ECHO_T}$result" >&6; }
6374 defaultval
=$wxUSE_ALL_FEATURES
6375 if test -z "$defaultval"; then
6376 if test x
"$enablestring" = xdisable
; then
6383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6384 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6385 # Check whether --enable-base64 was given.
6386 if test "${enable_base64+set}" = set; then
6387 enableval
=$enable_base64;
6388 if test "$enableval" = yes; then
6389 wx_cv_use_base64
='wxUSE_BASE64=yes'
6391 wx_cv_use_base64
='wxUSE_BASE64=no'
6396 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6401 eval "$wx_cv_use_base64"
6403 if test x"$enablestring" = xdisable; then
6404 if test $wxUSE_BASE64 = yes; then
6410 result=$wxUSE_BASE64
6413 { echo "$as_me:$LINENO: result: $result" >&5
6414 echo "${ECHO_T}$result" >&6; }
6418 defaultval=$wxUSE_ALL_FEATURES
6419 if test -z "$defaultval"; then
6420 if test x"$enablestring" = xdisable; then
6427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6429 # Check whether --enable-backtrace was given.
6430 if test "${enable_backtrace+set}" = set; then
6431 enableval=$enable_backtrace;
6432 if test "$enableval" = yes; then
6433 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6435 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6440 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6445 eval "$wx_cv_use_backtrace"
6447 if test x"$enablestring" = xdisable; then
6448 if test $wxUSE_STACKWALKER = yes; then
6454 result=$wxUSE_STACKWALKER
6457 { echo "$as_me:$LINENO: result
: $result" >&5
6458 echo "${ECHO_T}$result" >&6; }
6462 defaultval=$wxUSE_ALL_FEATURES
6463 if test -z "$defaultval"; then
6464 if test x"$enablestring" = xdisable; then
6471 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6472 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6473 # Check whether --enable-catch_segvs was given.
6474 if test "${enable_catch_segvs+set}" = set; then
6475 enableval=$enable_catch_segvs;
6476 if test "$enableval" = yes; then
6477 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6479 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6484 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6489 eval "$wx_cv_use_catch_segvs"
6491 if test x
"$enablestring" = xdisable
; then
6492 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6498 result
=$wxUSE_ON_FATAL_EXCEPTION
6501 { echo "$as_me:$LINENO: result: $result" >&5
6502 echo "${ECHO_T}$result" >&6; }
6506 defaultval
=$wxUSE_ALL_FEATURES
6507 if test -z "$defaultval"; then
6508 if test x
"$enablestring" = xdisable
; then
6515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6517 # Check whether --enable-cmdline was given.
6518 if test "${enable_cmdline+set}" = set; then
6519 enableval
=$enable_cmdline;
6520 if test "$enableval" = yes; then
6521 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6523 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6528 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6533 eval "$wx_cv_use_cmdline"
6535 if test x"$enablestring" = xdisable; then
6536 if test $wxUSE_CMDLINE_PARSER = yes; then
6542 result=$wxUSE_CMDLINE_PARSER
6545 { echo "$as_me:$LINENO: result: $result" >&5
6546 echo "${ECHO_T}$result" >&6; }
6550 defaultval=$wxUSE_ALL_FEATURES
6551 if test -z "$defaultval"; then
6552 if test x"$enablestring" = xdisable; then
6559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6560 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6561 # Check whether --enable-datetime was given.
6562 if test "${enable_datetime+set}" = set; then
6563 enableval=$enable_datetime;
6564 if test "$enableval" = yes; then
6565 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6567 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6572 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6577 eval "$wx_cv_use_datetime"
6579 if test x"$enablestring" = xdisable; then
6580 if test $wxUSE_DATETIME = yes; then
6586 result=$wxUSE_DATETIME
6589 { echo "$as_me:$LINENO: result
: $result" >&5
6590 echo "${ECHO_T}$result" >&6; }
6594 defaultval=$wxUSE_ALL_FEATURES
6595 if test -z "$defaultval"; then
6596 if test x"$enablestring" = xdisable; then
6603 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6604 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6605 # Check whether --enable-debugreport was given.
6606 if test "${enable_debugreport+set}" = set; then
6607 enableval=$enable_debugreport;
6608 if test "$enableval" = yes; then
6609 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6611 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6616 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6621 eval "$wx_cv_use_debugreport"
6623 if test x
"$enablestring" = xdisable
; then
6624 if test $wxUSE_DEBUGREPORT = yes; then
6630 result
=$wxUSE_DEBUGREPORT
6633 { echo "$as_me:$LINENO: result: $result" >&5
6634 echo "${ECHO_T}$result" >&6; }
6638 defaultval
=$wxUSE_ALL_FEATURES
6639 if test -z "$defaultval"; then
6640 if test x
"$enablestring" = xdisable
; then
6647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6649 # Check whether --enable-dialupman was given.
6650 if test "${enable_dialupman+set}" = set; then
6651 enableval
=$enable_dialupman;
6652 if test "$enableval" = yes; then
6653 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6655 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6660 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6665 eval "$wx_cv_use_dialupman"
6667 if test x"$enablestring" = xdisable; then
6668 if test $wxUSE_DIALUP_MANAGER = yes; then
6674 result=$wxUSE_DIALUP_MANAGER
6677 { echo "$as_me:$LINENO: result: $result" >&5
6678 echo "${ECHO_T}$result" >&6; }
6682 defaultval=$wxUSE_ALL_FEATURES
6683 if test -z "$defaultval"; then
6684 if test x"$enablestring" = xdisable; then
6691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6692 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6693 # Check whether --enable-dynlib was given.
6694 if test "${enable_dynlib+set}" = set; then
6695 enableval=$enable_dynlib;
6696 if test "$enableval" = yes; then
6697 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6699 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6704 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6709 eval "$wx_cv_use_dynlib"
6711 if test x"$enablestring" = xdisable; then
6712 if test $wxUSE_DYNLIB_CLASS = yes; then
6718 result=$wxUSE_DYNLIB_CLASS
6721 { echo "$as_me:$LINENO: result
: $result" >&5
6722 echo "${ECHO_T}$result" >&6; }
6726 defaultval=$wxUSE_ALL_FEATURES
6727 if test -z "$defaultval"; then
6728 if test x"$enablestring" = xdisable; then
6735 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6736 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6737 # Check whether --enable-dynamicloader was given.
6738 if test "${enable_dynamicloader+set}" = set; then
6739 enableval=$enable_dynamicloader;
6740 if test "$enableval" = yes; then
6741 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6743 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6748 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6753 eval "$wx_cv_use_dynamicloader"
6755 if test x
"$enablestring" = xdisable
; then
6756 if test $wxUSE_DYNAMIC_LOADER = yes; then
6762 result
=$wxUSE_DYNAMIC_LOADER
6765 { echo "$as_me:$LINENO: result: $result" >&5
6766 echo "${ECHO_T}$result" >&6; }
6770 defaultval
=$wxUSE_ALL_FEATURES
6771 if test -z "$defaultval"; then
6772 if test x
"$enablestring" = xdisable
; then
6779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6780 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6781 # Check whether --enable-exceptions was given.
6782 if test "${enable_exceptions+set}" = set; then
6783 enableval
=$enable_exceptions;
6784 if test "$enableval" = yes; then
6785 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6787 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6792 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6797 eval "$wx_cv_use_exceptions"
6799 if test x"$enablestring" = xdisable; then
6800 if test $wxUSE_EXCEPTIONS = yes; then
6806 result=$wxUSE_EXCEPTIONS
6809 { echo "$as_me:$LINENO: result: $result" >&5
6810 echo "${ECHO_T}$result" >&6; }
6814 defaultval=$wxUSE_ALL_FEATURES
6815 if test -z "$defaultval"; then
6816 if test x"$enablestring" = xdisable; then
6823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6824 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6825 # Check whether --enable-ffile was given.
6826 if test "${enable_ffile+set}" = set; then
6827 enableval=$enable_ffile;
6828 if test "$enableval" = yes; then
6829 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6831 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6836 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6841 eval "$wx_cv_use_ffile"
6843 if test x"$enablestring" = xdisable; then
6844 if test $wxUSE_FFILE = yes; then
6853 { echo "$as_me:$LINENO: result
: $result" >&5
6854 echo "${ECHO_T}$result" >&6; }
6858 defaultval=$wxUSE_ALL_FEATURES
6859 if test -z "$defaultval"; then
6860 if test x"$enablestring" = xdisable; then
6867 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6868 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6869 # Check whether --enable-file was given.
6870 if test "${enable_file+set}" = set; then
6871 enableval=$enable_file;
6872 if test "$enableval" = yes; then
6873 wx_cv_use_file='wxUSE_FILE=yes'
6875 wx_cv_use_file='wxUSE_FILE=no'
6880 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6885 eval "$wx_cv_use_file"
6887 if test x
"$enablestring" = xdisable
; then
6888 if test $wxUSE_FILE = yes; then
6897 { echo "$as_me:$LINENO: result: $result" >&5
6898 echo "${ECHO_T}$result" >&6; }
6902 defaultval
=$wxUSE_ALL_FEATURES
6903 if test -z "$defaultval"; then
6904 if test x
"$enablestring" = xdisable
; then
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6913 # Check whether --enable-filesystem was given.
6914 if test "${enable_filesystem+set}" = set; then
6915 enableval
=$enable_filesystem;
6916 if test "$enableval" = yes; then
6917 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6919 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6924 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6929 eval "$wx_cv_use_filesystem"
6931 if test x"$enablestring" = xdisable; then
6932 if test $wxUSE_FILESYSTEM = yes; then
6938 result=$wxUSE_FILESYSTEM
6941 { echo "$as_me:$LINENO: result: $result" >&5
6942 echo "${ECHO_T}$result" >&6; }
6946 defaultval=$wxUSE_ALL_FEATURES
6947 if test -z "$defaultval"; then
6948 if test x"$enablestring" = xdisable; then
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6957 # Check whether --enable-fontenum was given.
6958 if test "${enable_fontenum+set}" = set; then
6959 enableval=$enable_fontenum;
6960 if test "$enableval" = yes; then
6961 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6963 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6968 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6973 eval "$wx_cv_use_fontenum"
6975 if test x"$enablestring" = xdisable; then
6976 if test $wxUSE_FONTENUM = yes; then
6982 result=$wxUSE_FONTENUM
6985 { echo "$as_me:$LINENO: result
: $result" >&5
6986 echo "${ECHO_T}$result" >&6; }
6990 defaultval=$wxUSE_ALL_FEATURES
6991 if test -z "$defaultval"; then
6992 if test x"$enablestring" = xdisable; then
6999 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
7000 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
7001 # Check whether --enable-fontmap was given.
7002 if test "${enable_fontmap+set}" = set; then
7003 enableval=$enable_fontmap;
7004 if test "$enableval" = yes; then
7005 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7007 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7012 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7017 eval "$wx_cv_use_fontmap"
7019 if test x
"$enablestring" = xdisable
; then
7020 if test $wxUSE_FONTMAP = yes; then
7026 result
=$wxUSE_FONTMAP
7029 { echo "$as_me:$LINENO: result: $result" >&5
7030 echo "${ECHO_T}$result" >&6; }
7034 defaultval
=$wxUSE_ALL_FEATURES
7035 if test -z "$defaultval"; then
7036 if test x
"$enablestring" = xdisable
; then
7043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7044 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7045 # Check whether --enable-fs_archive was given.
7046 if test "${enable_fs_archive+set}" = set; then
7047 enableval
=$enable_fs_archive;
7048 if test "$enableval" = yes; then
7049 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7051 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7056 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7061 eval "$wx_cv_use_fs_archive"
7063 if test x"$enablestring" = xdisable; then
7064 if test $wxUSE_FS_ARCHIVE = yes; then
7070 result=$wxUSE_FS_ARCHIVE
7073 { echo "$as_me:$LINENO: result: $result" >&5
7074 echo "${ECHO_T}$result" >&6; }
7078 defaultval=$wxUSE_ALL_FEATURES
7079 if test -z "$defaultval"; then
7080 if test x"$enablestring" = xdisable; then
7087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7088 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7089 # Check whether --enable-fs_inet was given.
7090 if test "${enable_fs_inet+set}" = set; then
7091 enableval=$enable_fs_inet;
7092 if test "$enableval" = yes; then
7093 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7095 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7100 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7105 eval "$wx_cv_use_fs_inet"
7107 if test x"$enablestring" = xdisable; then
7108 if test $wxUSE_FS_INET = yes; then
7114 result=$wxUSE_FS_INET
7117 { echo "$as_me:$LINENO: result
: $result" >&5
7118 echo "${ECHO_T}$result" >&6; }
7122 defaultval=$wxUSE_ALL_FEATURES
7123 if test -z "$defaultval"; then
7124 if test x"$enablestring" = xdisable; then
7131 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7132 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7133 # Check whether --enable-fs_zip was given.
7134 if test "${enable_fs_zip+set}" = set; then
7135 enableval=$enable_fs_zip;
7136 if test "$enableval" = yes; then
7137 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7139 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7144 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7149 eval "$wx_cv_use_fs_zip"
7151 if test x
"$enablestring" = xdisable
; then
7152 if test $wxUSE_FS_ZIP = yes; then
7158 result
=$wxUSE_FS_ZIP
7161 { echo "$as_me:$LINENO: result: $result" >&5
7162 echo "${ECHO_T}$result" >&6; }
7166 defaultval
=$wxUSE_ALL_FEATURES
7167 if test -z "$defaultval"; then
7168 if test x
"$enablestring" = xdisable
; then
7175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7176 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7177 # Check whether --enable-geometry was given.
7178 if test "${enable_geometry+set}" = set; then
7179 enableval
=$enable_geometry;
7180 if test "$enableval" = yes; then
7181 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7183 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7188 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7193 eval "$wx_cv_use_geometry"
7195 if test x"$enablestring" = xdisable; then
7196 if test $wxUSE_GEOMETRY = yes; then
7202 result=$wxUSE_GEOMETRY
7205 { echo "$as_me:$LINENO: result: $result" >&5
7206 echo "${ECHO_T}$result" >&6; }
7210 defaultval=$wxUSE_ALL_FEATURES
7211 if test -z "$defaultval"; then
7212 if test x"$enablestring" = xdisable; then
7219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7220 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7221 # Check whether --enable-log was given.
7222 if test "${enable_log+set}" = set; then
7223 enableval=$enable_log;
7224 if test "$enableval" = yes; then
7225 wx_cv_use_log='wxUSE_LOG
=yes'
7227 wx_cv_use_log='wxUSE_LOG
=no
'
7232 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7237 eval "$wx_cv_use_log"
7239 if test x"$enablestring" = xdisable; then
7240 if test $wxUSE_LOG = yes; then
7249 { echo "$as_me:$LINENO: result
: $result" >&5
7250 echo "${ECHO_T}$result" >&6; }
7254 defaultval=$wxUSE_ALL_FEATURES
7255 if test -z "$defaultval"; then
7256 if test x"$enablestring" = xdisable; then
7263 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7264 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7265 # Check whether --enable-longlong was given.
7266 if test "${enable_longlong+set}" = set; then
7267 enableval=$enable_longlong;
7268 if test "$enableval" = yes; then
7269 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7271 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7276 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7281 eval "$wx_cv_use_longlong"
7283 if test x
"$enablestring" = xdisable
; then
7284 if test $wxUSE_LONGLONG = yes; then
7290 result
=$wxUSE_LONGLONG
7293 { echo "$as_me:$LINENO: result: $result" >&5
7294 echo "${ECHO_T}$result" >&6; }
7298 defaultval
=$wxUSE_ALL_FEATURES
7299 if test -z "$defaultval"; then
7300 if test x
"$enablestring" = xdisable
; then
7307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7309 # Check whether --enable-mimetype was given.
7310 if test "${enable_mimetype+set}" = set; then
7311 enableval
=$enable_mimetype;
7312 if test "$enableval" = yes; then
7313 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7315 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7320 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7325 eval "$wx_cv_use_mimetype"
7327 if test x"$enablestring" = xdisable; then
7328 if test $wxUSE_MIMETYPE = yes; then
7334 result=$wxUSE_MIMETYPE
7337 { echo "$as_me:$LINENO: result: $result" >&5
7338 echo "${ECHO_T}$result" >&6; }
7342 defaultval=$wxUSE_ALL_FEATURES
7343 if test -z "$defaultval"; then
7344 if test x"$enablestring" = xdisable; then
7351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7353 # Check whether --enable-printfposparam was given.
7354 if test "${enable_printfposparam+set}" = set; then
7355 enableval=$enable_printfposparam;
7356 if test "$enableval" = yes; then
7357 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7359 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7364 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7369 eval "$wx_cv_use_printfposparam"
7371 if test x"$enablestring" = xdisable; then
7372 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7378 result=$wxUSE_PRINTF_POS_PARAMS
7381 { echo "$as_me:$LINENO: result
: $result" >&5
7382 echo "${ECHO_T}$result" >&6; }
7386 defaultval=$wxUSE_ALL_FEATURES
7387 if test -z "$defaultval"; then
7388 if test x"$enablestring" = xdisable; then
7395 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7396 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7397 # Check whether --enable-snglinst was given.
7398 if test "${enable_snglinst+set}" = set; then
7399 enableval=$enable_snglinst;
7400 if test "$enableval" = yes; then
7401 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7403 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7408 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7413 eval "$wx_cv_use_snglinst"
7415 if test x
"$enablestring" = xdisable
; then
7416 if test $wxUSE_SNGLINST_CHECKER = yes; then
7422 result
=$wxUSE_SNGLINST_CHECKER
7425 { echo "$as_me:$LINENO: result: $result" >&5
7426 echo "${ECHO_T}$result" >&6; }
7430 defaultval
=$wxUSE_ALL_FEATURES
7431 if test -z "$defaultval"; then
7432 if test x
"$enablestring" = xdisable
; then
7439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7440 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7441 # Check whether --enable-sound was given.
7442 if test "${enable_sound+set}" = set; then
7443 enableval
=$enable_sound;
7444 if test "$enableval" = yes; then
7445 wx_cv_use_sound
='wxUSE_SOUND=yes'
7447 wx_cv_use_sound
='wxUSE_SOUND=no'
7452 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7457 eval "$wx_cv_use_sound"
7459 if test x"$enablestring" = xdisable; then
7460 if test $wxUSE_SOUND = yes; then
7469 { echo "$as_me:$LINENO: result: $result" >&5
7470 echo "${ECHO_T}$result" >&6; }
7474 defaultval=$wxUSE_ALL_FEATURES
7475 if test -z "$defaultval"; then
7476 if test x"$enablestring" = xdisable; then
7483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7484 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7485 # Check whether --enable-stdpaths was given.
7486 if test "${enable_stdpaths+set}" = set; then
7487 enableval=$enable_stdpaths;
7488 if test "$enableval" = yes; then
7489 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7491 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7496 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7501 eval "$wx_cv_use_stdpaths"
7503 if test x"$enablestring" = xdisable; then
7504 if test $wxUSE_STDPATHS = yes; then
7510 result=$wxUSE_STDPATHS
7513 { echo "$as_me:$LINENO: result
: $result" >&5
7514 echo "${ECHO_T}$result" >&6; }
7518 defaultval=$wxUSE_ALL_FEATURES
7519 if test -z "$defaultval"; then
7520 if test x"$enablestring" = xdisable; then
7527 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7528 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7529 # Check whether --enable-stopwatch was given.
7530 if test "${enable_stopwatch+set}" = set; then
7531 enableval=$enable_stopwatch;
7532 if test "$enableval" = yes; then
7533 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7535 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7540 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7545 eval "$wx_cv_use_stopwatch"
7547 if test x
"$enablestring" = xdisable
; then
7548 if test $wxUSE_STOPWATCH = yes; then
7554 result
=$wxUSE_STOPWATCH
7557 { echo "$as_me:$LINENO: result: $result" >&5
7558 echo "${ECHO_T}$result" >&6; }
7562 defaultval
=$wxUSE_ALL_FEATURES
7563 if test -z "$defaultval"; then
7564 if test x
"$enablestring" = xdisable
; then
7571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7572 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7573 # Check whether --enable-streams was given.
7574 if test "${enable_streams+set}" = set; then
7575 enableval
=$enable_streams;
7576 if test "$enableval" = yes; then
7577 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7579 wx_cv_use_streams
='wxUSE_STREAMS=no'
7584 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7589 eval "$wx_cv_use_streams"
7591 if test x"$enablestring" = xdisable; then
7592 if test $wxUSE_STREAMS = yes; then
7598 result=$wxUSE_STREAMS
7601 { echo "$as_me:$LINENO: result: $result" >&5
7602 echo "${ECHO_T}$result" >&6; }
7606 defaultval=$wxUSE_ALL_FEATURES
7607 if test -z "$defaultval"; then
7608 if test x"$enablestring" = xdisable; then
7615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7616 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7617 # Check whether --enable-system_options was given.
7618 if test "${enable_system_options+set}" = set; then
7619 enableval=$enable_system_options;
7620 if test "$enableval" = yes; then
7621 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7623 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7628 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7633 eval "$wx_cv_use_system_options"
7635 if test x"$enablestring" = xdisable; then
7636 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7642 result=$wxUSE_SYSTEM_OPTIONS
7645 { echo "$as_me:$LINENO: result
: $result" >&5
7646 echo "${ECHO_T}$result" >&6; }
7650 defaultval=$wxUSE_ALL_FEATURES
7651 if test -z "$defaultval"; then
7652 if test x"$enablestring" = xdisable; then
7659 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7660 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7661 # Check whether --enable-tarstream was given.
7662 if test "${enable_tarstream+set}" = set; then
7663 enableval=$enable_tarstream;
7664 if test "$enableval" = yes; then
7665 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7667 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7672 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7677 eval "$wx_cv_use_tarstream"
7679 if test x
"$enablestring" = xdisable
; then
7680 if test $wxUSE_TARSTREAM = yes; then
7686 result
=$wxUSE_TARSTREAM
7689 { echo "$as_me:$LINENO: result: $result" >&5
7690 echo "${ECHO_T}$result" >&6; }
7694 defaultval
=$wxUSE_ALL_FEATURES
7695 if test -z "$defaultval"; then
7696 if test x
"$enablestring" = xdisable
; then
7703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7705 # Check whether --enable-textbuf was given.
7706 if test "${enable_textbuf+set}" = set; then
7707 enableval
=$enable_textbuf;
7708 if test "$enableval" = yes; then
7709 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7711 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7716 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7721 eval "$wx_cv_use_textbuf"
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_TEXTBUFFER = yes; then
7730 result=$wxUSE_TEXTBUFFER
7733 { echo "$as_me:$LINENO: result: $result" >&5
7734 echo "${ECHO_T}$result" >&6; }
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7749 # Check whether --enable-textfile was given.
7750 if test "${enable_textfile+set}" = set; then
7751 enableval=$enable_textfile;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7755 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7760 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7765 eval "$wx_cv_use_textfile"
7767 if test x"$enablestring" = xdisable; then
7768 if test $wxUSE_TEXTFILE = yes; then
7774 result=$wxUSE_TEXTFILE
7777 { echo "$as_me:$LINENO: result
: $result" >&5
7778 echo "${ECHO_T}$result" >&6; }
7782 defaultval=$wxUSE_ALL_FEATURES
7783 if test -z "$defaultval"; then
7784 if test x"$enablestring" = xdisable; then
7791 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7792 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7793 # Check whether --enable-timer was given.
7794 if test "${enable_timer+set}" = set; then
7795 enableval=$enable_timer;
7796 if test "$enableval" = yes; then
7797 wx_cv_use_timer='wxUSE_TIMER=yes'
7799 wx_cv_use_timer='wxUSE_TIMER=no'
7804 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7809 eval "$wx_cv_use_timer"
7811 if test x
"$enablestring" = xdisable
; then
7812 if test $wxUSE_TIMER = yes; then
7821 { echo "$as_me:$LINENO: result: $result" >&5
7822 echo "${ECHO_T}$result" >&6; }
7826 defaultval
=$wxUSE_ALL_FEATURES
7827 if test -z "$defaultval"; then
7828 if test x
"$enablestring" = xdisable
; then
7835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7837 # Check whether --enable-variant was given.
7838 if test "${enable_variant+set}" = set; then
7839 enableval
=$enable_variant;
7840 if test "$enableval" = yes; then
7841 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7843 wx_cv_use_variant
='wxUSE_VARIANT=no'
7848 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7853 eval "$wx_cv_use_variant"
7855 if test x"$enablestring" = xdisable; then
7856 if test $wxUSE_VARIANT = yes; then
7862 result=$wxUSE_VARIANT
7865 { echo "$as_me:$LINENO: result: $result" >&5
7866 echo "${ECHO_T}$result" >&6; }
7870 defaultval=$wxUSE_ALL_FEATURES
7871 if test -z "$defaultval"; then
7872 if test x"$enablestring" = xdisable; then
7879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7881 # Check whether --enable-zipstream was given.
7882 if test "${enable_zipstream+set}" = set; then
7883 enableval=$enable_zipstream;
7884 if test "$enableval" = yes; then
7885 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7887 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7892 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7897 eval "$wx_cv_use_zipstream"
7899 if test x"$enablestring" = xdisable; then
7900 if test $wxUSE_ZIPSTREAM = yes; then
7906 result=$wxUSE_ZIPSTREAM
7909 { echo "$as_me:$LINENO: result
: $result" >&5
7910 echo "${ECHO_T}$result" >&6; }
7915 defaultval=$wxUSE_ALL_FEATURES
7916 if test -z "$defaultval"; then
7917 if test x"$enablestring" = xdisable; then
7924 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7925 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7926 # Check whether --enable-url was given.
7927 if test "${enable_url+set}" = set; then
7928 enableval=$enable_url;
7929 if test "$enableval" = yes; then
7930 wx_cv_use_url='wxUSE_URL=yes'
7932 wx_cv_use_url='wxUSE_URL=no'
7937 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7942 eval "$wx_cv_use_url"
7944 if test x
"$enablestring" = xdisable
; then
7945 if test $wxUSE_URL = yes; then
7954 { echo "$as_me:$LINENO: result: $result" >&5
7955 echo "${ECHO_T}$result" >&6; }
7959 defaultval
=$wxUSE_ALL_FEATURES
7960 if test -z "$defaultval"; then
7961 if test x
"$enablestring" = xdisable
; then
7968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7969 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7970 # Check whether --enable-protocol was given.
7971 if test "${enable_protocol+set}" = set; then
7972 enableval
=$enable_protocol;
7973 if test "$enableval" = yes; then
7974 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7976 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7981 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7986 eval "$wx_cv_use_protocol"
7988 if test x"$enablestring" = xdisable; then
7989 if test $wxUSE_PROTOCOL = yes; then
7995 result=$wxUSE_PROTOCOL
7998 { echo "$as_me:$LINENO: result: $result" >&5
7999 echo "${ECHO_T}$result" >&6; }
8003 defaultval=$wxUSE_ALL_FEATURES
8004 if test -z "$defaultval"; then
8005 if test x"$enablestring" = xdisable; then
8012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8013 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8014 # Check whether --enable-protocol_http was given.
8015 if test "${enable_protocol_http+set}" = set; then
8016 enableval=$enable_protocol_http;
8017 if test "$enableval" = yes; then
8018 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8020 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8025 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8030 eval "$wx_cv_use_protocol_http"
8032 if test x"$enablestring" = xdisable; then
8033 if test $wxUSE_PROTOCOL_HTTP = yes; then
8039 result=$wxUSE_PROTOCOL_HTTP
8042 { echo "$as_me:$LINENO: result
: $result" >&5
8043 echo "${ECHO_T}$result" >&6; }
8047 defaultval=$wxUSE_ALL_FEATURES
8048 if test -z "$defaultval"; then
8049 if test x"$enablestring" = xdisable; then
8056 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8057 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8058 # Check whether --enable-protocol_ftp was given.
8059 if test "${enable_protocol_ftp+set}" = set; then
8060 enableval=$enable_protocol_ftp;
8061 if test "$enableval" = yes; then
8062 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8064 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8069 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8074 eval "$wx_cv_use_protocol_ftp"
8076 if test x
"$enablestring" = xdisable
; then
8077 if test $wxUSE_PROTOCOL_FTP = yes; then
8083 result
=$wxUSE_PROTOCOL_FTP
8086 { echo "$as_me:$LINENO: result: $result" >&5
8087 echo "${ECHO_T}$result" >&6; }
8091 defaultval
=$wxUSE_ALL_FEATURES
8092 if test -z "$defaultval"; then
8093 if test x
"$enablestring" = xdisable
; then
8100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8101 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8102 # Check whether --enable-protocol_file was given.
8103 if test "${enable_protocol_file+set}" = set; then
8104 enableval
=$enable_protocol_file;
8105 if test "$enableval" = yes; then
8106 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8108 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8113 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8118 eval "$wx_cv_use_protocol_file"
8120 if test x"$enablestring" = xdisable; then
8121 if test $wxUSE_PROTOCOL_FILE = yes; then
8127 result=$wxUSE_PROTOCOL_FILE
8130 { echo "$as_me:$LINENO: result: $result" >&5
8131 echo "${ECHO_T}$result" >&6; }
8136 defaultval=$wxUSE_ALL_FEATURES
8137 if test -z "$defaultval"; then
8138 if test x"$enablestring" = xdisable; then
8145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8146 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8147 # Check whether --enable-threads was given.
8148 if test "${enable_threads+set}" = set; then
8149 enableval=$enable_threads;
8150 if test "$enableval" = yes; then
8151 wx_cv_use_threads='wxUSE_THREADS
=yes'
8153 wx_cv_use_threads='wxUSE_THREADS
=no
'
8158 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8163 eval "$wx_cv_use_threads"
8165 if test x"$enablestring" = xdisable; then
8166 if test $wxUSE_THREADS = yes; then
8172 result=$wxUSE_THREADS
8175 { echo "$as_me:$LINENO: result
: $result" >&5
8176 echo "${ECHO_T}$result" >&6; }
8182 if test -z "$defaultval"; then
8183 if test x"$enablestring" = xdisable; then
8190 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8191 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8192 # Check whether --enable-iniconf was given.
8193 if test "${enable_iniconf+set}" = set; then
8194 enableval=$enable_iniconf;
8195 if test "$enableval" = yes; then
8196 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8198 wx_cv_use_iniconf='wxUSE_INICONF=no'
8203 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8208 eval "$wx_cv_use_iniconf"
8210 if test x
"$enablestring" = xdisable
; then
8211 if test $wxUSE_INICONF = yes; then
8217 result
=$wxUSE_INICONF
8220 { echo "$as_me:$LINENO: result: $result" >&5
8221 echo "${ECHO_T}$result" >&6; }
8225 defaultval
=$wxUSE_ALL_FEATURES
8226 if test -z "$defaultval"; then
8227 if test x
"$enablestring" = xdisable
; then
8234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8235 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8236 # Check whether --enable-regkey was given.
8237 if test "${enable_regkey+set}" = set; then
8238 enableval
=$enable_regkey;
8239 if test "$enableval" = yes; then
8240 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8242 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8247 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8252 eval "$wx_cv_use_regkey"
8254 if test x"$enablestring" = xdisable; then
8255 if test $wxUSE_REGKEY = yes; then
8261 result=$wxUSE_REGKEY
8264 { echo "$as_me:$LINENO: result: $result" >&5
8265 echo "${ECHO_T}$result" >&6; }
8268 if test "$wxUSE_GUI" = "yes"; then
8273 defaultval=$wxUSE_ALL_FEATURES
8274 if test -z "$defaultval"; then
8275 if test x"$enablestring" = xdisable; then
8282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8283 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8284 # Check whether --enable-docview was given.
8285 if test "${enable_docview+set}" = set; then
8286 enableval=$enable_docview;
8287 if test "$enableval" = yes; then
8288 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8290 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8295 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8300 eval "$wx_cv_use_docview"
8302 if test x"$enablestring" = xdisable; then
8303 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8309 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8312 { echo "$as_me:$LINENO: result
: $result" >&5
8313 echo "${ECHO_T}$result" >&6; }
8317 defaultval=$wxUSE_ALL_FEATURES
8318 if test -z "$defaultval"; then
8319 if test x"$enablestring" = xdisable; then
8326 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8327 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8328 # Check whether --enable-help was given.
8329 if test "${enable_help+set}" = set; then
8330 enableval=$enable_help;
8331 if test "$enableval" = yes; then
8332 wx_cv_use_help='wxUSE_HELP=yes'
8334 wx_cv_use_help='wxUSE_HELP=no'
8339 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8344 eval "$wx_cv_use_help"
8346 if test x
"$enablestring" = xdisable
; then
8347 if test $wxUSE_HELP = yes; then
8356 { echo "$as_me:$LINENO: result: $result" >&5
8357 echo "${ECHO_T}$result" >&6; }
8361 defaultval
=$wxUSE_ALL_FEATURES
8362 if test -z "$defaultval"; then
8363 if test x
"$enablestring" = xdisable
; then
8370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8371 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8372 # Check whether --enable-mshtmlhelp was given.
8373 if test "${enable_mshtmlhelp+set}" = set; then
8374 enableval
=$enable_mshtmlhelp;
8375 if test "$enableval" = yes; then
8376 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8378 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8383 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8388 eval "$wx_cv_use_mshtmlhelp"
8390 if test x"$enablestring" = xdisable; then
8391 if test $wxUSE_MS_HTML_HELP = yes; then
8397 result=$wxUSE_MS_HTML_HELP
8400 { echo "$as_me:$LINENO: result: $result" >&5
8401 echo "${ECHO_T}$result" >&6; }
8405 defaultval=$wxUSE_ALL_FEATURES
8406 if test -z "$defaultval"; then
8407 if test x"$enablestring" = xdisable; then
8414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8415 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8416 # Check whether --enable-html was given.
8417 if test "${enable_html+set}" = set; then
8418 enableval=$enable_html;
8419 if test "$enableval" = yes; then
8420 wx_cv_use_html='wxUSE_HTML
=yes'
8422 wx_cv_use_html='wxUSE_HTML
=no
'
8427 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8432 eval "$wx_cv_use_html"
8434 if test x"$enablestring" = xdisable; then
8435 if test $wxUSE_HTML = yes; then
8444 { echo "$as_me:$LINENO: result
: $result" >&5
8445 echo "${ECHO_T}$result" >&6; }
8449 defaultval=$wxUSE_ALL_FEATURES
8450 if test -z "$defaultval"; then
8451 if test x"$enablestring" = xdisable; then
8458 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8459 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8460 # Check whether --enable-htmlhelp was given.
8461 if test "${enable_htmlhelp+set}" = set; then
8462 enableval=$enable_htmlhelp;
8463 if test "$enableval" = yes; then
8464 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8466 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8471 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8476 eval "$wx_cv_use_htmlhelp"
8478 if test x
"$enablestring" = xdisable
; then
8479 if test $wxUSE_WXHTML_HELP = yes; then
8485 result
=$wxUSE_WXHTML_HELP
8488 { echo "$as_me:$LINENO: result: $result" >&5
8489 echo "${ECHO_T}$result" >&6; }
8493 defaultval
=$wxUSE_ALL_FEATURES
8494 if test -z "$defaultval"; then
8495 if test x
"$enablestring" = xdisable
; then
8502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8503 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8504 # Check whether --enable-xrc was given.
8505 if test "${enable_xrc+set}" = set; then
8506 enableval
=$enable_xrc;
8507 if test "$enableval" = yes; then
8508 wx_cv_use_xrc
='wxUSE_XRC=yes'
8510 wx_cv_use_xrc
='wxUSE_XRC=no'
8515 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8520 eval "$wx_cv_use_xrc"
8522 if test x"$enablestring" = xdisable; then
8523 if test $wxUSE_XRC = yes; then
8532 { echo "$as_me:$LINENO: result: $result" >&5
8533 echo "${ECHO_T}$result" >&6; }
8537 defaultval=$wxUSE_ALL_FEATURES
8538 if test -z "$defaultval"; then
8539 if test x"$enablestring" = xdisable; then
8546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8547 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8548 # Check whether --enable-aui was given.
8549 if test "${enable_aui+set}" = set; then
8550 enableval=$enable_aui;
8551 if test "$enableval" = yes; then
8552 wx_cv_use_aui='wxUSE_AUI
=yes'
8554 wx_cv_use_aui='wxUSE_AUI
=no
'
8559 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8564 eval "$wx_cv_use_aui"
8566 if test x"$enablestring" = xdisable; then
8567 if test $wxUSE_AUI = yes; then
8576 { echo "$as_me:$LINENO: result
: $result" >&5
8577 echo "${ECHO_T}$result" >&6; }
8581 defaultval=$wxUSE_ALL_FEATURES
8582 if test -z "$defaultval"; then
8583 if test x"$enablestring" = xdisable; then
8590 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8591 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8592 # Check whether --enable-propgrid was given.
8593 if test "${enable_propgrid+set}" = set; then
8594 enableval=$enable_propgrid;
8595 if test "$enableval" = yes; then
8596 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8598 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8603 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8608 eval "$wx_cv_use_propgrid"
8610 if test x
"$enablestring" = xdisable
; then
8611 if test $wxUSE_PROPGRID = yes; then
8617 result
=$wxUSE_PROPGRID
8620 { echo "$as_me:$LINENO: result: $result" >&5
8621 echo "${ECHO_T}$result" >&6; }
8625 defaultval
=$wxUSE_ALL_FEATURES
8626 if test -z "$defaultval"; then
8627 if test x
"$enablestring" = xdisable
; then
8634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8636 # Check whether --enable-stc was given.
8637 if test "${enable_stc+set}" = set; then
8638 enableval
=$enable_stc;
8639 if test "$enableval" = yes; then
8640 wx_cv_use_stc
='wxUSE_STC=yes'
8642 wx_cv_use_stc
='wxUSE_STC=no'
8647 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8652 eval "$wx_cv_use_stc"
8654 if test x"$enablestring" = xdisable; then
8655 if test $wxUSE_STC = yes; then
8664 { echo "$as_me:$LINENO: result: $result" >&5
8665 echo "${ECHO_T}$result" >&6; }
8669 defaultval=$wxUSE_ALL_FEATURES
8670 if test -z "$defaultval"; then
8671 if test x"$enablestring" = xdisable; then
8678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8679 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8680 # Check whether --enable-constraints was given.
8681 if test "${enable_constraints+set}" = set; then
8682 enableval=$enable_constraints;
8683 if test "$enableval" = yes; then
8684 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8686 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8691 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8696 eval "$wx_cv_use_constraints"
8698 if test x"$enablestring" = xdisable; then
8699 if test $wxUSE_CONSTRAINTS = yes; then
8705 result=$wxUSE_CONSTRAINTS
8708 { echo "$as_me:$LINENO: result
: $result" >&5
8709 echo "${ECHO_T}$result" >&6; }
8713 defaultval=$wxUSE_ALL_FEATURES
8714 if test -z "$defaultval"; then
8715 if test x"$enablestring" = xdisable; then
8722 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8723 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8724 # Check whether --enable-loggui was given.
8725 if test "${enable_loggui+set}" = set; then
8726 enableval=$enable_loggui;
8727 if test "$enableval" = yes; then
8728 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8730 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8735 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8740 eval "$wx_cv_use_loggui"
8742 if test x
"$enablestring" = xdisable
; then
8743 if test $wxUSE_LOGGUI = yes; then
8749 result
=$wxUSE_LOGGUI
8752 { echo "$as_me:$LINENO: result: $result" >&5
8753 echo "${ECHO_T}$result" >&6; }
8757 defaultval
=$wxUSE_ALL_FEATURES
8758 if test -z "$defaultval"; then
8759 if test x
"$enablestring" = xdisable
; then
8766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8767 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8768 # Check whether --enable-logwin was given.
8769 if test "${enable_logwin+set}" = set; then
8770 enableval
=$enable_logwin;
8771 if test "$enableval" = yes; then
8772 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8774 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8779 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8784 eval "$wx_cv_use_logwin"
8786 if test x"$enablestring" = xdisable; then
8787 if test $wxUSE_LOGWINDOW = yes; then
8793 result=$wxUSE_LOGWINDOW
8796 { echo "$as_me:$LINENO: result: $result" >&5
8797 echo "${ECHO_T}$result" >&6; }
8801 defaultval=$wxUSE_ALL_FEATURES
8802 if test -z "$defaultval"; then
8803 if test x"$enablestring" = xdisable; then
8810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8811 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8812 # Check whether --enable-logdialog was given.
8813 if test "${enable_logdialog+set}" = set; then
8814 enableval=$enable_logdialog;
8815 if test "$enableval" = yes; then
8816 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8818 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8823 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8828 eval "$wx_cv_use_logdialog"
8830 if test x"$enablestring" = xdisable; then
8831 if test $wxUSE_LOGDIALOG = yes; then
8837 result=$wxUSE_LOGDIALOG
8840 { echo "$as_me:$LINENO: result
: $result" >&5
8841 echo "${ECHO_T}$result" >&6; }
8845 defaultval=$wxUSE_ALL_FEATURES
8846 if test -z "$defaultval"; then
8847 if test x"$enablestring" = xdisable; then
8854 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8855 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8856 # Check whether --enable-mdi was given.
8857 if test "${enable_mdi+set}" = set; then
8858 enableval=$enable_mdi;
8859 if test "$enableval" = yes; then
8860 wx_cv_use_mdi='wxUSE_MDI=yes'
8862 wx_cv_use_mdi='wxUSE_MDI=no'
8867 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8872 eval "$wx_cv_use_mdi"
8874 if test x
"$enablestring" = xdisable
; then
8875 if test $wxUSE_MDI = yes; then
8884 { echo "$as_me:$LINENO: result: $result" >&5
8885 echo "${ECHO_T}$result" >&6; }
8889 defaultval
=$wxUSE_ALL_FEATURES
8890 if test -z "$defaultval"; then
8891 if test x
"$enablestring" = xdisable
; then
8898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8899 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8900 # Check whether --enable-mdidoc was given.
8901 if test "${enable_mdidoc+set}" = set; then
8902 enableval
=$enable_mdidoc;
8903 if test "$enableval" = yes; then
8904 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8906 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8911 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8916 eval "$wx_cv_use_mdidoc"
8918 if test x"$enablestring" = xdisable; then
8919 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8925 result=$wxUSE_MDI_ARCHITECTURE
8928 { echo "$as_me:$LINENO: result: $result" >&5
8929 echo "${ECHO_T}$result" >&6; }
8933 defaultval=$wxUSE_ALL_FEATURES
8934 if test -z "$defaultval"; then
8935 if test x"$enablestring" = xdisable; then
8942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8944 # Check whether --enable-mediactrl was given.
8945 if test "${enable_mediactrl+set}" = set; then
8946 enableval=$enable_mediactrl;
8947 if test "$enableval" = yes; then
8948 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
8950 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
8955 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8960 eval "$wx_cv_use_mediactrl"
8962 if test x"$enablestring" = xdisable; then
8963 if test $wxUSE_MEDIACTRL = yes; then
8969 result=$wxUSE_MEDIACTRL
8972 { echo "$as_me:$LINENO: result
: $result" >&5
8973 echo "${ECHO_T}$result" >&6; }
8977 defaultval=$wxUSE_ALL_FEATURES
8978 if test -z "$defaultval"; then
8979 if test x"$enablestring" = xdisable; then
8986 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
8987 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
8988 # Check whether --enable-gstreamer8 was given.
8989 if test "${enable_gstreamer8+set}" = set; then
8990 enableval=$enable_gstreamer8;
8991 if test "$enableval" = yes; then
8992 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8994 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8999 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9004 eval "$wx_cv_use_gstreamer8"
9006 if test x
"$enablestring" = xdisable
; then
9007 if test $wxUSE_GSTREAMER8 = yes; then
9013 result
=$wxUSE_GSTREAMER8
9016 { echo "$as_me:$LINENO: result: $result" >&5
9017 echo "${ECHO_T}$result" >&6; }
9021 defaultval
=$wxUSE_ALL_FEATURES
9022 if test -z "$defaultval"; then
9023 if test x
"$enablestring" = xdisable
; then
9030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9032 # Check whether --enable-webkit was given.
9033 if test "${enable_webkit+set}" = set; then
9034 enableval
=$enable_webkit;
9035 if test "$enableval" = yes; then
9036 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9038 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9043 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9048 eval "$wx_cv_use_webkit"
9050 if test x"$enablestring" = xdisable; then
9051 if test $wxUSE_WEBKIT = yes; then
9057 result=$wxUSE_WEBKIT
9060 { echo "$as_me:$LINENO: result: $result" >&5
9061 echo "${ECHO_T}$result" >&6; }
9065 defaultval=$wxUSE_ALL_FEATURES
9066 if test -z "$defaultval"; then
9067 if test x"$enablestring" = xdisable; then
9074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9075 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9076 # Check whether --enable-richtext was given.
9077 if test "${enable_richtext+set}" = set; then
9078 enableval=$enable_richtext;
9079 if test "$enableval" = yes; then
9080 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9082 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9087 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9092 eval "$wx_cv_use_richtext"
9094 if test x"$enablestring" = xdisable; then
9095 if test $wxUSE_RICHTEXT = yes; then
9101 result=$wxUSE_RICHTEXT
9104 { echo "$as_me:$LINENO: result
: $result" >&5
9105 echo "${ECHO_T}$result" >&6; }
9109 defaultval=$wxUSE_ALL_FEATURES
9110 if test -z "$defaultval"; then
9111 if test x"$enablestring" = xdisable; then
9118 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9119 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9120 # Check whether --enable-graphics_ctx was given.
9121 if test "${enable_graphics_ctx+set}" = set; then
9122 enableval=$enable_graphics_ctx;
9123 if test "$enableval" = yes; then
9124 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9126 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9131 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9136 eval "$wx_cv_use_graphics_ctx"
9138 if test x
"$enablestring" = xdisable
; then
9139 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9145 result
=$wxUSE_GRAPHICS_CONTEXT
9148 { echo "$as_me:$LINENO: result: $result" >&5
9149 echo "${ECHO_T}$result" >&6; }
9153 defaultval
=$wxUSE_ALL_FEATURES
9154 if test -z "$defaultval"; then
9155 if test x
"$enablestring" = xdisable
; then
9162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9163 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9164 # Check whether --enable-postscript was given.
9165 if test "${enable_postscript+set}" = set; then
9166 enableval
=$enable_postscript;
9167 if test "$enableval" = yes; then
9168 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9170 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9175 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9180 eval "$wx_cv_use_postscript"
9182 if test x"$enablestring" = xdisable; then
9183 if test $wxUSE_POSTSCRIPT = yes; then
9189 result=$wxUSE_POSTSCRIPT
9192 { echo "$as_me:$LINENO: result: $result" >&5
9193 echo "${ECHO_T}$result" >&6; }
9197 defaultval=$wxUSE_ALL_FEATURES
9198 if test -z "$defaultval"; then
9199 if test x"$enablestring" = xdisable; then
9206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9207 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9208 # Check whether --enable-printarch was given.
9209 if test "${enable_printarch+set}" = set; then
9210 enableval=$enable_printarch;
9211 if test "$enableval" = yes; then
9212 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9214 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9219 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9224 eval "$wx_cv_use_printarch"
9226 if test x"$enablestring" = xdisable; then
9227 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9233 result=$wxUSE_PRINTING_ARCHITECTURE
9236 { echo "$as_me:$LINENO: result
: $result" >&5
9237 echo "${ECHO_T}$result" >&6; }
9241 defaultval=$wxUSE_ALL_FEATURES
9242 if test -z "$defaultval"; then
9243 if test x"$enablestring" = xdisable; then
9250 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9251 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9252 # Check whether --enable-svg was given.
9253 if test "${enable_svg+set}" = set; then
9254 enableval=$enable_svg;
9255 if test "$enableval" = yes; then
9256 wx_cv_use_svg='wxUSE_SVG=yes'
9258 wx_cv_use_svg='wxUSE_SVG=no'
9263 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9268 eval "$wx_cv_use_svg"
9270 if test x
"$enablestring" = xdisable
; then
9271 if test $wxUSE_SVG = yes; then
9280 { echo "$as_me:$LINENO: result: $result" >&5
9281 echo "${ECHO_T}$result" >&6; }
9287 defaultval
=$wxUSE_ALL_FEATURES
9288 if test -z "$defaultval"; then
9289 if test x
"$enablestring" = xdisable
; then
9296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9297 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9298 # Check whether --enable-clipboard was given.
9299 if test "${enable_clipboard+set}" = set; then
9300 enableval
=$enable_clipboard;
9301 if test "$enableval" = yes; then
9302 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9304 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9309 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9314 eval "$wx_cv_use_clipboard"
9316 if test x"$enablestring" = xdisable; then
9317 if test $wxUSE_CLIPBOARD = yes; then
9323 result=$wxUSE_CLIPBOARD
9326 { echo "$as_me:$LINENO: result: $result" >&5
9327 echo "${ECHO_T}$result" >&6; }
9331 defaultval=$wxUSE_ALL_FEATURES
9332 if test -z "$defaultval"; then
9333 if test x"$enablestring" = xdisable; then
9340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9341 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9342 # Check whether --enable-dnd was given.
9343 if test "${enable_dnd+set}" = set; then
9344 enableval=$enable_dnd;
9345 if test "$enableval" = yes; then
9346 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9348 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9353 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9358 eval "$wx_cv_use_dnd"
9360 if test x"$enablestring" = xdisable; then
9361 if test $wxUSE_DRAG_AND_DROP = yes; then
9367 result=$wxUSE_DRAG_AND_DROP
9370 { echo "$as_me:$LINENO: result
: $result" >&5
9371 echo "${ECHO_T}$result" >&6; }
9375 defaultval=$wxUSE_ALL_FEATURES
9376 if test -z "$defaultval"; then
9377 if test x"$enablestring" = xdisable; then
9384 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9385 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9386 # Check whether --enable-metafile was given.
9387 if test "${enable_metafile+set}" = set; then
9388 enableval=$enable_metafile;
9389 if test "$enableval" = yes; then
9390 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9392 wx_cv_use_metafile='wxUSE_METAFILE=no'
9397 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9402 eval "$wx_cv_use_metafile"
9404 if test x
"$enablestring" = xdisable
; then
9405 if test $wxUSE_METAFILE = yes; then
9411 result
=$wxUSE_METAFILE
9414 { echo "$as_me:$LINENO: result: $result" >&5
9415 echo "${ECHO_T}$result" >&6; }
9419 DEFAULT_wxUSE_CONTROLS
=none
9421 enablestring
=disable
9423 if test -z "$defaultval"; then
9424 if test x
"$enablestring" = xdisable
; then
9431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9432 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9433 # Check whether --enable-controls was given.
9434 if test "${enable_controls+set}" = set; then
9435 enableval
=$enable_controls;
9436 if test "$enableval" = yes; then
9437 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9439 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9444 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9449 eval "$wx_cv_use_controls"
9451 if test x"$enablestring" = xdisable; then
9452 if test $wxUSE_CONTROLS = yes; then
9458 result=$wxUSE_CONTROLS
9461 { echo "$as_me:$LINENO: result: $result" >&5
9462 echo "${ECHO_T}$result" >&6; }
9465 if test "$wxUSE_CONTROLS" = "yes"; then
9466 DEFAULT_wxUSE_ACCEL=yes
9467 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9468 DEFAULT_wxUSE_BMPBUTTON=yes
9469 DEFAULT_wxUSE_BUTTON=yes
9470 DEFAULT_wxUSE_CALCTRL=yes
9471 DEFAULT_wxUSE_CARET=yes
9472 DEFAULT_wxUSE_COMBOBOX=yes
9473 DEFAULT_wxUSE_CHECKBOX=yes
9474 DEFAULT_wxUSE_CHECKLISTBOX=yes
9475 DEFAULT_wxUSE_CHOICE=yes
9476 DEFAULT_wxUSE_CHOICEBOOK=yes
9477 DEFAULT_wxUSE_COLLPANE=yes
9478 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9479 DEFAULT_wxUSE_COMBOBOX=yes
9480 DEFAULT_wxUSE_DATEPICKCTRL=yes
9481 DEFAULT_wxUSE_DISPLAY=yes
9482 DEFAULT_wxUSE_DETECT_SM=yes
9483 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9484 DEFAULT_wxUSE_FILECTRL=yes
9485 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9486 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9487 DEFAULT_wxUSE_GAUGE=yes
9488 DEFAULT_wxUSE_GRID=yes
9489 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9490 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9491 DEFAULT_wxUSE_IMAGLIST=yes
9492 DEFAULT_wxUSE_LISTBOOK=yes
9493 DEFAULT_wxUSE_LISTBOX=yes
9494 DEFAULT_wxUSE_LISTCTRL=yes
9495 DEFAULT_wxUSE_NOTEBOOK=yes
9496 DEFAULT_wxUSE_RADIOBOX=yes
9497 DEFAULT_wxUSE_RADIOBTN=yes
9498 DEFAULT_wxUSE_SASH=yes
9499 DEFAULT_wxUSE_SCROLLBAR=yes
9500 DEFAULT_wxUSE_SEARCHCTRL=yes
9501 DEFAULT_wxUSE_SLIDER=yes
9502 DEFAULT_wxUSE_SPINBTN=yes
9503 DEFAULT_wxUSE_SPINCTRL=yes
9504 DEFAULT_wxUSE_SPLITTER=yes
9505 DEFAULT_wxUSE_STATBMP=yes
9506 DEFAULT_wxUSE_STATBOX=yes
9507 DEFAULT_wxUSE_STATLINE=yes
9508 DEFAULT_wxUSE_STATUSBAR=yes
9509 DEFAULT_wxUSE_TAB_DIALOG=yes
9510 DEFAULT_wxUSE_TOGGLEBTN=yes
9511 DEFAULT_wxUSE_TOOLBAR=yes
9512 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9513 DEFAULT_wxUSE_TOOLTIPS=yes
9514 DEFAULT_wxUSE_TREEBOOK=yes
9515 DEFAULT_wxUSE_TOOLBOOK=yes
9516 DEFAULT_wxUSE_TREECTRL=yes
9517 DEFAULT_wxUSE_POPUPWIN=yes
9518 DEFAULT_wxUSE_TIPWINDOW=yes
9519 elif test "$wxUSE_CONTROLS" = "no"; then
9520 DEFAULT_wxUSE_ACCEL=no
9521 DEFAULT_wxUSE_ANIMATIONCTRL=no
9522 DEFAULT_wxUSE_BMPBUTTON=no
9523 DEFAULT_wxUSE_BUTTON=no
9524 DEFAULT_wxUSE_CALCTRL=no
9525 DEFAULT_wxUSE_CARET=no
9526 DEFAULT_wxUSE_COLLPANE=no
9527 DEFAULT_wxUSE_COMBOBOX=no
9528 DEFAULT_wxUSE_CHECKBOX=no
9529 DEFAULT_wxUSE_CHECKLISTBOX=no
9530 DEFAULT_wxUSE_CHOICE=no
9531 DEFAULT_wxUSE_CHOICEBOOK=no
9532 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9533 DEFAULT_wxUSE_COMBOBOX=no
9534 DEFAULT_wxUSE_DATEPICKCTRL=no
9535 DEFAULT_wxUSE_DISPLAY=no
9536 DEFAULT_wxUSE_DETECT_SM=no
9537 DEFAULT_wxUSE_DIRPICKERCTRL=no
9538 DEFAULT_wxUSE_FILECTRL=no
9539 DEFAULT_wxUSE_FILEPICKERCTRL=no
9540 DEFAULT_wxUSE_FONTPICKERCTRL=no
9541 DEFAULT_wxUSE_GAUGE=no
9542 DEFAULT_wxUSE_GRID=no
9543 DEFAULT_wxUSE_HYPERLINKCTRL=no
9544 DEFAULT_wxUSE_DATAVIEWCTRL=no
9545 DEFAULT_wxUSE_IMAGLIST=no
9546 DEFAULT_wxUSE_LISTBOOK=no
9547 DEFAULT_wxUSE_LISTBOX=no
9548 DEFAULT_wxUSE_LISTCTRL=no
9549 DEFAULT_wxUSE_NOTEBOOK=no
9550 DEFAULT_wxUSE_RADIOBOX=no
9551 DEFAULT_wxUSE_RADIOBTN=no
9552 DEFAULT_wxUSE_SASH=no
9553 DEFAULT_wxUSE_SCROLLBAR=no
9554 DEFAULT_wxUSE_SEARCHCTRL=no
9555 DEFAULT_wxUSE_SLIDER=no
9556 DEFAULT_wxUSE_SPINBTN=no
9557 DEFAULT_wxUSE_SPINCTRL=no
9558 DEFAULT_wxUSE_SPLITTER=no
9559 DEFAULT_wxUSE_STATBMP=no
9560 DEFAULT_wxUSE_STATBOX=no
9561 DEFAULT_wxUSE_STATLINE=no
9562 DEFAULT_wxUSE_STATUSBAR=no
9563 DEFAULT_wxUSE_TAB_DIALOG=no
9564 DEFAULT_wxUSE_TOGGLEBTN=no
9565 DEFAULT_wxUSE_TOOLBAR=no
9566 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9567 DEFAULT_wxUSE_TOOLTIPS=no
9568 DEFAULT_wxUSE_TREEBOOK=no
9569 DEFAULT_wxUSE_TOOLBOOK=no
9570 DEFAULT_wxUSE_TREECTRL=no
9571 DEFAULT_wxUSE_POPUPWIN=no
9572 DEFAULT_wxUSE_TIPWINDOW=no
9577 defaultval=$wxUSE_ALL_FEATURES
9578 if test -z "$defaultval"; then
9579 if test x"$enablestring" = xdisable; then
9586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9587 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9588 # Check whether --enable-accel was given.
9589 if test "${enable_accel+set}" = set; then
9590 enableval=$enable_accel;
9591 if test "$enableval" = yes; then
9592 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9594 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9599 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9604 eval "$wx_cv_use_accel"
9606 if test x"$enablestring" = xdisable; then
9607 if test $wxUSE_ACCEL = yes; then
9616 { echo "$as_me:$LINENO: result
: $result" >&5
9617 echo "${ECHO_T}$result" >&6; }
9621 defaultval=$wxUSE_ALL_FEATURES
9622 if test -z "$defaultval"; then
9623 if test x"$enablestring" = xdisable; then
9630 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9631 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9632 # Check whether --enable-animatectrl was given.
9633 if test "${enable_animatectrl+set}" = set; then
9634 enableval=$enable_animatectrl;
9635 if test "$enableval" = yes; then
9636 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9638 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9643 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9648 eval "$wx_cv_use_animatectrl"
9650 if test x
"$enablestring" = xdisable
; then
9651 if test $wxUSE_ANIMATIONCTRL = yes; then
9657 result
=$wxUSE_ANIMATIONCTRL
9660 { echo "$as_me:$LINENO: result: $result" >&5
9661 echo "${ECHO_T}$result" >&6; }
9665 defaultval
=$wxUSE_ALL_FEATURES
9666 if test -z "$defaultval"; then
9667 if test x
"$enablestring" = xdisable
; then
9674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9675 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9676 # Check whether --enable-button was given.
9677 if test "${enable_button+set}" = set; then
9678 enableval
=$enable_button;
9679 if test "$enableval" = yes; then
9680 wx_cv_use_button
='wxUSE_BUTTON=yes'
9682 wx_cv_use_button
='wxUSE_BUTTON=no'
9687 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9692 eval "$wx_cv_use_button"
9694 if test x"$enablestring" = xdisable; then
9695 if test $wxUSE_BUTTON = yes; then
9701 result=$wxUSE_BUTTON
9704 { echo "$as_me:$LINENO: result: $result" >&5
9705 echo "${ECHO_T}$result" >&6; }
9709 defaultval=$wxUSE_ALL_FEATURES
9710 if test -z "$defaultval"; then
9711 if test x"$enablestring" = xdisable; then
9718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9719 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9720 # Check whether --enable-bmpbutton was given.
9721 if test "${enable_bmpbutton+set}" = set; then
9722 enableval=$enable_bmpbutton;
9723 if test "$enableval" = yes; then
9724 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9726 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9731 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9736 eval "$wx_cv_use_bmpbutton"
9738 if test x"$enablestring" = xdisable; then
9739 if test $wxUSE_BMPBUTTON = yes; then
9745 result=$wxUSE_BMPBUTTON
9748 { echo "$as_me:$LINENO: result
: $result" >&5
9749 echo "${ECHO_T}$result" >&6; }
9753 defaultval=$wxUSE_ALL_FEATURES
9754 if test -z "$defaultval"; then
9755 if test x"$enablestring" = xdisable; then
9762 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9763 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9764 # Check whether --enable-bmpcombobox was given.
9765 if test "${enable_bmpcombobox+set}" = set; then
9766 enableval=$enable_bmpcombobox;
9767 if test "$enableval" = yes; then
9768 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9770 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9775 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9780 eval "$wx_cv_use_bmpcombobox"
9782 if test x
"$enablestring" = xdisable
; then
9783 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9789 result
=$wxUSE_BITMAPCOMBOBOX
9792 { echo "$as_me:$LINENO: result: $result" >&5
9793 echo "${ECHO_T}$result" >&6; }
9797 defaultval
=$wxUSE_ALL_FEATURES
9798 if test -z "$defaultval"; then
9799 if test x
"$enablestring" = xdisable
; then
9806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9807 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9808 # Check whether --enable-calendar was given.
9809 if test "${enable_calendar+set}" = set; then
9810 enableval
=$enable_calendar;
9811 if test "$enableval" = yes; then
9812 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9814 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9819 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9824 eval "$wx_cv_use_calendar"
9826 if test x"$enablestring" = xdisable; then
9827 if test $wxUSE_CALCTRL = yes; then
9833 result=$wxUSE_CALCTRL
9836 { echo "$as_me:$LINENO: result: $result" >&5
9837 echo "${ECHO_T}$result" >&6; }
9841 defaultval=$wxUSE_ALL_FEATURES
9842 if test -z "$defaultval"; then
9843 if test x"$enablestring" = xdisable; then
9850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9851 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9852 # Check whether --enable-caret was given.
9853 if test "${enable_caret+set}" = set; then
9854 enableval=$enable_caret;
9855 if test "$enableval" = yes; then
9856 wx_cv_use_caret='wxUSE_CARET
=yes'
9858 wx_cv_use_caret='wxUSE_CARET
=no
'
9863 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9868 eval "$wx_cv_use_caret"
9870 if test x"$enablestring" = xdisable; then
9871 if test $wxUSE_CARET = yes; then
9880 { echo "$as_me:$LINENO: result
: $result" >&5
9881 echo "${ECHO_T}$result" >&6; }
9885 defaultval=$wxUSE_ALL_FEATURES
9886 if test -z "$defaultval"; then
9887 if test x"$enablestring" = xdisable; then
9894 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9895 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9896 # Check whether --enable-checkbox was given.
9897 if test "${enable_checkbox+set}" = set; then
9898 enableval=$enable_checkbox;
9899 if test "$enableval" = yes; then
9900 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9902 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9907 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9912 eval "$wx_cv_use_checkbox"
9914 if test x
"$enablestring" = xdisable
; then
9915 if test $wxUSE_CHECKBOX = yes; then
9921 result
=$wxUSE_CHECKBOX
9924 { echo "$as_me:$LINENO: result: $result" >&5
9925 echo "${ECHO_T}$result" >&6; }
9929 defaultval
=$wxUSE_ALL_FEATURES
9930 if test -z "$defaultval"; then
9931 if test x
"$enablestring" = xdisable
; then
9938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9939 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9940 # Check whether --enable-checklst was given.
9941 if test "${enable_checklst+set}" = set; then
9942 enableval
=$enable_checklst;
9943 if test "$enableval" = yes; then
9944 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9946 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9951 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9956 eval "$wx_cv_use_checklst"
9958 if test x"$enablestring" = xdisable; then
9959 if test $wxUSE_CHECKLST = yes; then
9965 result=$wxUSE_CHECKLST
9968 { echo "$as_me:$LINENO: result: $result" >&5
9969 echo "${ECHO_T}$result" >&6; }
9973 defaultval=$wxUSE_ALL_FEATURES
9974 if test -z "$defaultval"; then
9975 if test x"$enablestring" = xdisable; then
9982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9983 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9984 # Check whether --enable-choice was given.
9985 if test "${enable_choice+set}" = set; then
9986 enableval=$enable_choice;
9987 if test "$enableval" = yes; then
9988 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9990 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9995 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10000 eval "$wx_cv_use_choice"
10002 if test x"$enablestring" = xdisable; then
10003 if test $wxUSE_CHOICE = yes; then
10009 result=$wxUSE_CHOICE
10012 { echo "$as_me:$LINENO: result
: $result" >&5
10013 echo "${ECHO_T}$result" >&6; }
10017 defaultval=$wxUSE_ALL_FEATURES
10018 if test -z "$defaultval"; then
10019 if test x"$enablestring" = xdisable; then
10026 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
10027 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10028 # Check whether --enable-choicebook was given.
10029 if test "${enable_choicebook+set}" = set; then
10030 enableval=$enable_choicebook;
10031 if test "$enableval" = yes; then
10032 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10034 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10039 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10044 eval "$wx_cv_use_choicebook"
10046 if test x
"$enablestring" = xdisable
; then
10047 if test $wxUSE_CHOICEBOOK = yes; then
10053 result
=$wxUSE_CHOICEBOOK
10056 { echo "$as_me:$LINENO: result: $result" >&5
10057 echo "${ECHO_T}$result" >&6; }
10061 defaultval
=$wxUSE_ALL_FEATURES
10062 if test -z "$defaultval"; then
10063 if test x
"$enablestring" = xdisable
; then
10070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10071 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10072 # Check whether --enable-collpane was given.
10073 if test "${enable_collpane+set}" = set; then
10074 enableval
=$enable_collpane;
10075 if test "$enableval" = yes; then
10076 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10078 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10083 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10088 eval "$wx_cv_use_collpane"
10090 if test x"$enablestring" = xdisable; then
10091 if test $wxUSE_COLLPANE = yes; then
10097 result=$wxUSE_COLLPANE
10100 { echo "$as_me:$LINENO: result: $result" >&5
10101 echo "${ECHO_T}$result" >&6; }
10105 defaultval=$wxUSE_ALL_FEATURES
10106 if test -z "$defaultval"; then
10107 if test x"$enablestring" = xdisable; then
10114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10116 # Check whether --enable-colourpicker was given.
10117 if test "${enable_colourpicker+set}" = set; then
10118 enableval=$enable_colourpicker;
10119 if test "$enableval" = yes; then
10120 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10122 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10127 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10132 eval "$wx_cv_use_colourpicker"
10134 if test x"$enablestring" = xdisable; then
10135 if test $wxUSE_COLOURPICKERCTRL = yes; then
10141 result=$wxUSE_COLOURPICKERCTRL
10144 { echo "$as_me:$LINENO: result
: $result" >&5
10145 echo "${ECHO_T}$result" >&6; }
10149 defaultval=$wxUSE_ALL_FEATURES
10150 if test -z "$defaultval"; then
10151 if test x"$enablestring" = xdisable; then
10158 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10159 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10160 # Check whether --enable-combobox was given.
10161 if test "${enable_combobox+set}" = set; then
10162 enableval=$enable_combobox;
10163 if test "$enableval" = yes; then
10164 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10166 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10171 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10176 eval "$wx_cv_use_combobox"
10178 if test x
"$enablestring" = xdisable
; then
10179 if test $wxUSE_COMBOBOX = yes; then
10185 result
=$wxUSE_COMBOBOX
10188 { echo "$as_me:$LINENO: result: $result" >&5
10189 echo "${ECHO_T}$result" >&6; }
10193 defaultval
=$wxUSE_ALL_FEATURES
10194 if test -z "$defaultval"; then
10195 if test x
"$enablestring" = xdisable
; then
10202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10203 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10204 # Check whether --enable-comboctrl was given.
10205 if test "${enable_comboctrl+set}" = set; then
10206 enableval
=$enable_comboctrl;
10207 if test "$enableval" = yes; then
10208 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10210 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10215 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10220 eval "$wx_cv_use_comboctrl"
10222 if test x"$enablestring" = xdisable; then
10223 if test $wxUSE_COMBOCTRL = yes; then
10229 result=$wxUSE_COMBOCTRL
10232 { echo "$as_me:$LINENO: result: $result" >&5
10233 echo "${ECHO_T}$result" >&6; }
10237 defaultval=$wxUSE_ALL_FEATURES
10238 if test -z "$defaultval"; then
10239 if test x"$enablestring" = xdisable; then
10246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10248 # Check whether --enable-datepick was given.
10249 if test "${enable_datepick+set}" = set; then
10250 enableval=$enable_datepick;
10251 if test "$enableval" = yes; then
10252 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10254 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10259 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10264 eval "$wx_cv_use_datepick"
10266 if test x"$enablestring" = xdisable; then
10267 if test $wxUSE_DATEPICKCTRL = yes; then
10273 result=$wxUSE_DATEPICKCTRL
10276 { echo "$as_me:$LINENO: result
: $result" >&5
10277 echo "${ECHO_T}$result" >&6; }
10281 defaultval=$wxUSE_ALL_FEATURES
10282 if test -z "$defaultval"; then
10283 if test x"$enablestring" = xdisable; then
10290 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10291 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10292 # Check whether --enable-dirpicker was given.
10293 if test "${enable_dirpicker+set}" = set; then
10294 enableval=$enable_dirpicker;
10295 if test "$enableval" = yes; then
10296 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10298 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10303 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10308 eval "$wx_cv_use_dirpicker"
10310 if test x
"$enablestring" = xdisable
; then
10311 if test $wxUSE_DIRPICKERCTRL = yes; then
10317 result
=$wxUSE_DIRPICKERCTRL
10320 { echo "$as_me:$LINENO: result: $result" >&5
10321 echo "${ECHO_T}$result" >&6; }
10325 defaultval
=$wxUSE_ALL_FEATURES
10326 if test -z "$defaultval"; then
10327 if test x
"$enablestring" = xdisable
; then
10334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10335 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10336 # Check whether --enable-display was given.
10337 if test "${enable_display+set}" = set; then
10338 enableval
=$enable_display;
10339 if test "$enableval" = yes; then
10340 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10342 wx_cv_use_display
='wxUSE_DISPLAY=no'
10347 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10352 eval "$wx_cv_use_display"
10354 if test x"$enablestring" = xdisable; then
10355 if test $wxUSE_DISPLAY = yes; then
10361 result=$wxUSE_DISPLAY
10364 { echo "$as_me:$LINENO: result: $result" >&5
10365 echo "${ECHO_T}$result" >&6; }
10369 defaultval=$wxUSE_ALL_FEATURES
10370 if test -z "$defaultval"; then
10371 if test x"$enablestring" = xdisable; then
10378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10379 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10380 # Check whether --enable-detect_sm was given.
10381 if test "${enable_detect_sm+set}" = set; then
10382 enableval=$enable_detect_sm;
10383 if test "$enableval" = yes; then
10384 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10386 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10391 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10396 eval "$wx_cv_use_detect_sm"
10398 if test x"$enablestring" = xdisable; then
10399 if test $wxUSE_DETECT_SM = yes; then
10405 result=$wxUSE_DETECT_SM
10408 { echo "$as_me:$LINENO: result
: $result" >&5
10409 echo "${ECHO_T}$result" >&6; }
10413 defaultval=$wxUSE_ALL_FEATURES
10414 if test -z "$defaultval"; then
10415 if test x"$enablestring" = xdisable; then
10422 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10423 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10424 # Check whether --enable-editablebox was given.
10425 if test "${enable_editablebox+set}" = set; then
10426 enableval=$enable_editablebox;
10427 if test "$enableval" = yes; then
10428 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10430 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10435 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10440 eval "$wx_cv_use_editablebox"
10442 if test x
"$enablestring" = xdisable
; then
10443 if test $wxUSE_EDITABLELISTBOX = yes; then
10449 result
=$wxUSE_EDITABLELISTBOX
10452 { echo "$as_me:$LINENO: result: $result" >&5
10453 echo "${ECHO_T}$result" >&6; }
10457 defaultval
=$wxUSE_ALL_FEATURES
10458 if test -z "$defaultval"; then
10459 if test x
"$enablestring" = xdisable
; then
10466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10467 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10468 # Check whether --enable-filepicker was given.
10469 if test "${enable_filepicker+set}" = set; then
10470 enableval
=$enable_filepicker;
10471 if test "$enableval" = yes; then
10472 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10474 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10479 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10484 eval "$wx_cv_use_filepicker"
10486 if test x"$enablestring" = xdisable; then
10487 if test $wxUSE_FILEPICKERCTRL = yes; then
10493 result=$wxUSE_FILEPICKERCTRL
10496 { echo "$as_me:$LINENO: result: $result" >&5
10497 echo "${ECHO_T}$result" >&6; }
10501 defaultval=$wxUSE_ALL_FEATURES
10502 if test -z "$defaultval"; then
10503 if test x"$enablestring" = xdisable; then
10510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10511 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10512 # Check whether --enable-filectrl was given.
10513 if test "${enable_filectrl+set}" = set; then
10514 enableval=$enable_filectrl;
10515 if test "$enableval" = yes; then
10516 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10518 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10523 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10528 eval "$wx_cv_use_filectrl"
10530 if test x"$enablestring" = xdisable; then
10531 if test $wxUSE_FILECTRL = yes; then
10537 result=$wxUSE_FILECTRL
10540 { echo "$as_me:$LINENO: result
: $result" >&5
10541 echo "${ECHO_T}$result" >&6; }
10545 defaultval=$wxUSE_ALL_FEATURES
10546 if test -z "$defaultval"; then
10547 if test x"$enablestring" = xdisable; then
10554 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10555 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10556 # Check whether --enable-fontpicker was given.
10557 if test "${enable_fontpicker+set}" = set; then
10558 enableval=$enable_fontpicker;
10559 if test "$enableval" = yes; then
10560 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10562 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10567 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10572 eval "$wx_cv_use_fontpicker"
10574 if test x
"$enablestring" = xdisable
; then
10575 if test $wxUSE_FONTPICKERCTRL = yes; then
10581 result
=$wxUSE_FONTPICKERCTRL
10584 { echo "$as_me:$LINENO: result: $result" >&5
10585 echo "${ECHO_T}$result" >&6; }
10589 defaultval
=$wxUSE_ALL_FEATURES
10590 if test -z "$defaultval"; then
10591 if test x
"$enablestring" = xdisable
; then
10598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10599 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10600 # Check whether --enable-gauge was given.
10601 if test "${enable_gauge+set}" = set; then
10602 enableval
=$enable_gauge;
10603 if test "$enableval" = yes; then
10604 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10606 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10611 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10616 eval "$wx_cv_use_gauge"
10618 if test x"$enablestring" = xdisable; then
10619 if test $wxUSE_GAUGE = yes; then
10625 result=$wxUSE_GAUGE
10628 { echo "$as_me:$LINENO: result: $result" >&5
10629 echo "${ECHO_T}$result" >&6; }
10633 defaultval=$wxUSE_ALL_FEATURES
10634 if test -z "$defaultval"; then
10635 if test x"$enablestring" = xdisable; then
10642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10643 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10644 # Check whether --enable-grid was given.
10645 if test "${enable_grid+set}" = set; then
10646 enableval=$enable_grid;
10647 if test "$enableval" = yes; then
10648 wx_cv_use_grid='wxUSE_GRID
=yes'
10650 wx_cv_use_grid='wxUSE_GRID
=no
'
10655 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10660 eval "$wx_cv_use_grid"
10662 if test x"$enablestring" = xdisable; then
10663 if test $wxUSE_GRID = yes; then
10672 { echo "$as_me:$LINENO: result
: $result" >&5
10673 echo "${ECHO_T}$result" >&6; }
10677 defaultval=$wxUSE_ALL_FEATURES
10678 if test -z "$defaultval"; then
10679 if test x"$enablestring" = xdisable; then
10686 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10687 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10688 # Check whether --enable-dataviewctrl was given.
10689 if test "${enable_dataviewctrl+set}" = set; then
10690 enableval=$enable_dataviewctrl;
10691 if test "$enableval" = yes; then
10692 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10694 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10699 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10704 eval "$wx_cv_use_dataviewctrl"
10706 if test x
"$enablestring" = xdisable
; then
10707 if test $wxUSE_DATAVIEWCTRL = yes; then
10713 result
=$wxUSE_DATAVIEWCTRL
10716 { echo "$as_me:$LINENO: result: $result" >&5
10717 echo "${ECHO_T}$result" >&6; }
10721 defaultval
=$wxUSE_ALL_FEATURES
10722 if test -z "$defaultval"; then
10723 if test x
"$enablestring" = xdisable
; then
10730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10731 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10732 # Check whether --enable-hyperlink was given.
10733 if test "${enable_hyperlink+set}" = set; then
10734 enableval
=$enable_hyperlink;
10735 if test "$enableval" = yes; then
10736 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
10738 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
10743 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10748 eval "$wx_cv_use_hyperlink"
10750 if test x"$enablestring" = xdisable; then
10751 if test $wxUSE_HYPERLINKCTRL = yes; then
10757 result=$wxUSE_HYPERLINKCTRL
10760 { echo "$as_me:$LINENO: result: $result" >&5
10761 echo "${ECHO_T}$result" >&6; }
10765 defaultval=$wxUSE_ALL_FEATURES
10766 if test -z "$defaultval"; then
10767 if test x"$enablestring" = xdisable; then
10774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10775 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10776 # Check whether --enable-imaglist was given.
10777 if test "${enable_imaglist+set}" = set; then
10778 enableval=$enable_imaglist;
10779 if test "$enableval" = yes; then
10780 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
10782 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
10787 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10792 eval "$wx_cv_use_imaglist"
10794 if test x"$enablestring" = xdisable; then
10795 if test $wxUSE_IMAGLIST = yes; then
10801 result=$wxUSE_IMAGLIST
10804 { echo "$as_me:$LINENO: result
: $result" >&5
10805 echo "${ECHO_T}$result" >&6; }
10809 defaultval=$wxUSE_ALL_FEATURES
10810 if test -z "$defaultval"; then
10811 if test x"$enablestring" = xdisable; then
10818 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
10819 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
10820 # Check whether --enable-listbook was given.
10821 if test "${enable_listbook+set}" = set; then
10822 enableval=$enable_listbook;
10823 if test "$enableval" = yes; then
10824 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10826 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10831 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10836 eval "$wx_cv_use_listbook"
10838 if test x
"$enablestring" = xdisable
; then
10839 if test $wxUSE_LISTBOOK = yes; then
10845 result
=$wxUSE_LISTBOOK
10848 { echo "$as_me:$LINENO: result: $result" >&5
10849 echo "${ECHO_T}$result" >&6; }
10853 defaultval
=$wxUSE_ALL_FEATURES
10854 if test -z "$defaultval"; then
10855 if test x
"$enablestring" = xdisable
; then
10862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10863 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10864 # Check whether --enable-listbox was given.
10865 if test "${enable_listbox+set}" = set; then
10866 enableval
=$enable_listbox;
10867 if test "$enableval" = yes; then
10868 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
10870 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
10875 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10880 eval "$wx_cv_use_listbox"
10882 if test x"$enablestring" = xdisable; then
10883 if test $wxUSE_LISTBOX = yes; then
10889 result=$wxUSE_LISTBOX
10892 { echo "$as_me:$LINENO: result: $result" >&5
10893 echo "${ECHO_T}$result" >&6; }
10897 defaultval=$wxUSE_ALL_FEATURES
10898 if test -z "$defaultval"; then
10899 if test x"$enablestring" = xdisable; then
10906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10907 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10908 # Check whether --enable-listctrl was given.
10909 if test "${enable_listctrl+set}" = set; then
10910 enableval=$enable_listctrl;
10911 if test "$enableval" = yes; then
10912 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
10914 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
10919 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10924 eval "$wx_cv_use_listctrl"
10926 if test x"$enablestring" = xdisable; then
10927 if test $wxUSE_LISTCTRL = yes; then
10933 result=$wxUSE_LISTCTRL
10936 { echo "$as_me:$LINENO: result
: $result" >&5
10937 echo "${ECHO_T}$result" >&6; }
10941 defaultval=$wxUSE_ALL_FEATURES
10942 if test -z "$defaultval"; then
10943 if test x"$enablestring" = xdisable; then
10950 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
10951 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
10952 # Check whether --enable-notebook was given.
10953 if test "${enable_notebook+set}" = set; then
10954 enableval=$enable_notebook;
10955 if test "$enableval" = yes; then
10956 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10958 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10963 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10968 eval "$wx_cv_use_notebook"
10970 if test x
"$enablestring" = xdisable
; then
10971 if test $wxUSE_NOTEBOOK = yes; then
10977 result
=$wxUSE_NOTEBOOK
10980 { echo "$as_me:$LINENO: result: $result" >&5
10981 echo "${ECHO_T}$result" >&6; }
10985 defaultval
=$wxUSE_ALL_FEATURES
10986 if test -z "$defaultval"; then
10987 if test x
"$enablestring" = xdisable
; then
10994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10995 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10996 # Check whether --enable-notifmsg was given.
10997 if test "${enable_notifmsg+set}" = set; then
10998 enableval
=$enable_notifmsg;
10999 if test "$enableval" = yes; then
11000 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
11002 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
11007 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11012 eval "$wx_cv_use_notifmsg"
11014 if test x"$enablestring" = xdisable; then
11015 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11021 result=$wxUSE_NOTIFICATION_MESSAGE
11024 { echo "$as_me:$LINENO: result: $result" >&5
11025 echo "${ECHO_T}$result" >&6; }
11029 defaultval=$wxUSE_ALL_FEATURES
11030 if test -z "$defaultval"; then
11031 if test x"$enablestring" = xdisable; then
11038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11039 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11040 # Check whether --enable-odcombobox was given.
11041 if test "${enable_odcombobox+set}" = set; then
11042 enableval=$enable_odcombobox;
11043 if test "$enableval" = yes; then
11044 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11046 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11051 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11056 eval "$wx_cv_use_odcombobox"
11058 if test x"$enablestring" = xdisable; then
11059 if test $wxUSE_ODCOMBOBOX = yes; then
11065 result=$wxUSE_ODCOMBOBOX
11068 { echo "$as_me:$LINENO: result
: $result" >&5
11069 echo "${ECHO_T}$result" >&6; }
11073 defaultval=$wxUSE_ALL_FEATURES
11074 if test -z "$defaultval"; then
11075 if test x"$enablestring" = xdisable; then
11082 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11083 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11084 # Check whether --enable-radiobox was given.
11085 if test "${enable_radiobox+set}" = set; then
11086 enableval=$enable_radiobox;
11087 if test "$enableval" = yes; then
11088 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11090 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11095 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11100 eval "$wx_cv_use_radiobox"
11102 if test x
"$enablestring" = xdisable
; then
11103 if test $wxUSE_RADIOBOX = yes; then
11109 result
=$wxUSE_RADIOBOX
11112 { echo "$as_me:$LINENO: result: $result" >&5
11113 echo "${ECHO_T}$result" >&6; }
11117 defaultval
=$wxUSE_ALL_FEATURES
11118 if test -z "$defaultval"; then
11119 if test x
"$enablestring" = xdisable
; then
11126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11127 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11128 # Check whether --enable-radiobtn was given.
11129 if test "${enable_radiobtn+set}" = set; then
11130 enableval
=$enable_radiobtn;
11131 if test "$enableval" = yes; then
11132 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11134 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11139 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11144 eval "$wx_cv_use_radiobtn"
11146 if test x"$enablestring" = xdisable; then
11147 if test $wxUSE_RADIOBTN = yes; then
11153 result=$wxUSE_RADIOBTN
11156 { echo "$as_me:$LINENO: result: $result" >&5
11157 echo "${ECHO_T}$result" >&6; }
11161 defaultval=$wxUSE_ALL_FEATURES
11162 if test -z "$defaultval"; then
11163 if test x"$enablestring" = xdisable; then
11170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11171 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11172 # Check whether --enable-sash was given.
11173 if test "${enable_sash+set}" = set; then
11174 enableval=$enable_sash;
11175 if test "$enableval" = yes; then
11176 wx_cv_use_sash='wxUSE_SASH
=yes'
11178 wx_cv_use_sash='wxUSE_SASH
=no
'
11183 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11188 eval "$wx_cv_use_sash"
11190 if test x"$enablestring" = xdisable; then
11191 if test $wxUSE_SASH = yes; then
11200 { echo "$as_me:$LINENO: result
: $result" >&5
11201 echo "${ECHO_T}$result" >&6; }
11205 defaultval=$wxUSE_ALL_FEATURES
11206 if test -z "$defaultval"; then
11207 if test x"$enablestring" = xdisable; then
11214 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11215 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11216 # Check whether --enable-scrollbar was given.
11217 if test "${enable_scrollbar+set}" = set; then
11218 enableval=$enable_scrollbar;
11219 if test "$enableval" = yes; then
11220 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11222 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11227 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11232 eval "$wx_cv_use_scrollbar"
11234 if test x
"$enablestring" = xdisable
; then
11235 if test $wxUSE_SCROLLBAR = yes; then
11241 result
=$wxUSE_SCROLLBAR
11244 { echo "$as_me:$LINENO: result: $result" >&5
11245 echo "${ECHO_T}$result" >&6; }
11249 defaultval
=$wxUSE_ALL_FEATURES
11250 if test -z "$defaultval"; then
11251 if test x
"$enablestring" = xdisable
; then
11258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11259 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11260 # Check whether --enable-searchctrl was given.
11261 if test "${enable_searchctrl+set}" = set; then
11262 enableval
=$enable_searchctrl;
11263 if test "$enableval" = yes; then
11264 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11266 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11271 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11276 eval "$wx_cv_use_searchctrl"
11278 if test x"$enablestring" = xdisable; then
11279 if test $wxUSE_SEARCHCTRL = yes; then
11285 result=$wxUSE_SEARCHCTRL
11288 { echo "$as_me:$LINENO: result: $result" >&5
11289 echo "${ECHO_T}$result" >&6; }
11293 defaultval=$wxUSE_ALL_FEATURES
11294 if test -z "$defaultval"; then
11295 if test x"$enablestring" = xdisable; then
11302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11303 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11304 # Check whether --enable-slider was given.
11305 if test "${enable_slider+set}" = set; then
11306 enableval=$enable_slider;
11307 if test "$enableval" = yes; then
11308 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11310 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11315 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11320 eval "$wx_cv_use_slider"
11322 if test x"$enablestring" = xdisable; then
11323 if test $wxUSE_SLIDER = yes; then
11329 result=$wxUSE_SLIDER
11332 { echo "$as_me:$LINENO: result
: $result" >&5
11333 echo "${ECHO_T}$result" >&6; }
11337 defaultval=$wxUSE_ALL_FEATURES
11338 if test -z "$defaultval"; then
11339 if test x"$enablestring" = xdisable; then
11346 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11347 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11348 # Check whether --enable-spinbtn was given.
11349 if test "${enable_spinbtn+set}" = set; then
11350 enableval=$enable_spinbtn;
11351 if test "$enableval" = yes; then
11352 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11354 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11359 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11364 eval "$wx_cv_use_spinbtn"
11366 if test x
"$enablestring" = xdisable
; then
11367 if test $wxUSE_SPINBTN = yes; then
11373 result
=$wxUSE_SPINBTN
11376 { echo "$as_me:$LINENO: result: $result" >&5
11377 echo "${ECHO_T}$result" >&6; }
11381 defaultval
=$wxUSE_ALL_FEATURES
11382 if test -z "$defaultval"; then
11383 if test x
"$enablestring" = xdisable
; then
11390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11391 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11392 # Check whether --enable-spinctrl was given.
11393 if test "${enable_spinctrl+set}" = set; then
11394 enableval
=$enable_spinctrl;
11395 if test "$enableval" = yes; then
11396 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11398 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11403 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11408 eval "$wx_cv_use_spinctrl"
11410 if test x"$enablestring" = xdisable; then
11411 if test $wxUSE_SPINCTRL = yes; then
11417 result=$wxUSE_SPINCTRL
11420 { echo "$as_me:$LINENO: result: $result" >&5
11421 echo "${ECHO_T}$result" >&6; }
11425 defaultval=$wxUSE_ALL_FEATURES
11426 if test -z "$defaultval"; then
11427 if test x"$enablestring" = xdisable; then
11434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11435 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11436 # Check whether --enable-splitter was given.
11437 if test "${enable_splitter+set}" = set; then
11438 enableval=$enable_splitter;
11439 if test "$enableval" = yes; then
11440 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11442 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11447 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11452 eval "$wx_cv_use_splitter"
11454 if test x"$enablestring" = xdisable; then
11455 if test $wxUSE_SPLITTER = yes; then
11461 result=$wxUSE_SPLITTER
11464 { echo "$as_me:$LINENO: result
: $result" >&5
11465 echo "${ECHO_T}$result" >&6; }
11469 defaultval=$wxUSE_ALL_FEATURES
11470 if test -z "$defaultval"; then
11471 if test x"$enablestring" = xdisable; then
11478 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11479 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11480 # Check whether --enable-statbmp was given.
11481 if test "${enable_statbmp+set}" = set; then
11482 enableval=$enable_statbmp;
11483 if test "$enableval" = yes; then
11484 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11486 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11491 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11496 eval "$wx_cv_use_statbmp"
11498 if test x
"$enablestring" = xdisable
; then
11499 if test $wxUSE_STATBMP = yes; then
11505 result
=$wxUSE_STATBMP
11508 { echo "$as_me:$LINENO: result: $result" >&5
11509 echo "${ECHO_T}$result" >&6; }
11513 defaultval
=$wxUSE_ALL_FEATURES
11514 if test -z "$defaultval"; then
11515 if test x
"$enablestring" = xdisable
; then
11522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11523 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11524 # Check whether --enable-statbox was given.
11525 if test "${enable_statbox+set}" = set; then
11526 enableval
=$enable_statbox;
11527 if test "$enableval" = yes; then
11528 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11530 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11535 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11540 eval "$wx_cv_use_statbox"
11542 if test x"$enablestring" = xdisable; then
11543 if test $wxUSE_STATBOX = yes; then
11549 result=$wxUSE_STATBOX
11552 { echo "$as_me:$LINENO: result: $result" >&5
11553 echo "${ECHO_T}$result" >&6; }
11557 defaultval=$wxUSE_ALL_FEATURES
11558 if test -z "$defaultval"; then
11559 if test x"$enablestring" = xdisable; then
11566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11567 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11568 # Check whether --enable-statline was given.
11569 if test "${enable_statline+set}" = set; then
11570 enableval=$enable_statline;
11571 if test "$enableval" = yes; then
11572 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11574 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11579 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11584 eval "$wx_cv_use_statline"
11586 if test x"$enablestring" = xdisable; then
11587 if test $wxUSE_STATLINE = yes; then
11593 result=$wxUSE_STATLINE
11596 { echo "$as_me:$LINENO: result
: $result" >&5
11597 echo "${ECHO_T}$result" >&6; }
11601 defaultval=$wxUSE_ALL_FEATURES
11602 if test -z "$defaultval"; then
11603 if test x"$enablestring" = xdisable; then
11610 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11611 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11612 # Check whether --enable-stattext was given.
11613 if test "${enable_stattext+set}" = set; then
11614 enableval=$enable_stattext;
11615 if test "$enableval" = yes; then
11616 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11618 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11623 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11628 eval "$wx_cv_use_stattext"
11630 if test x
"$enablestring" = xdisable
; then
11631 if test $wxUSE_STATTEXT = yes; then
11637 result
=$wxUSE_STATTEXT
11640 { echo "$as_me:$LINENO: result: $result" >&5
11641 echo "${ECHO_T}$result" >&6; }
11645 defaultval
=$wxUSE_ALL_FEATURES
11646 if test -z "$defaultval"; then
11647 if test x
"$enablestring" = xdisable
; then
11654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11655 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11656 # Check whether --enable-statusbar was given.
11657 if test "${enable_statusbar+set}" = set; then
11658 enableval
=$enable_statusbar;
11659 if test "$enableval" = yes; then
11660 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11662 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11667 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11672 eval "$wx_cv_use_statusbar"
11674 if test x"$enablestring" = xdisable; then
11675 if test $wxUSE_STATUSBAR = yes; then
11681 result=$wxUSE_STATUSBAR
11684 { echo "$as_me:$LINENO: result: $result" >&5
11685 echo "${ECHO_T}$result" >&6; }
11689 defaultval=$wxUSE_ALL_FEATURES
11690 if test -z "$defaultval"; then
11691 if test x"$enablestring" = xdisable; then
11698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11699 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11700 # Check whether --enable-tabdialog was given.
11701 if test "${enable_tabdialog+set}" = set; then
11702 enableval=$enable_tabdialog;
11703 if test "$enableval" = yes; then
11704 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=yes'
11706 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=no
'
11711 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG
=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11716 eval "$wx_cv_use_tabdialog"
11718 if test x"$enablestring" = xdisable; then
11719 if test $wxUSE_TAB_DIALOG = yes; then
11725 result=$wxUSE_TAB_DIALOG
11728 { echo "$as_me:$LINENO: result
: $result" >&5
11729 echo "${ECHO_T}$result" >&6; }
11733 defaultval=$wxUSE_ALL_FEATURES
11734 if test -z "$defaultval"; then
11735 if test x"$enablestring" = xdisable; then
11742 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
11743 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11744 # Check whether --enable-taskbaricon was given.
11745 if test "${enable_taskbaricon+set}" = set; then
11746 enableval=$enable_taskbaricon;
11747 if test "$enableval" = yes; then
11748 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11750 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11755 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11760 eval "$wx_cv_use_taskbaricon"
11762 if test x
"$enablestring" = xdisable
; then
11763 if test $wxUSE_TASKBARICON = yes; then
11769 result
=$wxUSE_TASKBARICON
11772 { echo "$as_me:$LINENO: result: $result" >&5
11773 echo "${ECHO_T}$result" >&6; }
11777 defaultval
=$wxUSE_ALL_FEATURES
11778 if test -z "$defaultval"; then
11779 if test x
"$enablestring" = xdisable
; then
11786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11787 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11788 # Check whether --enable-textctrl was given.
11789 if test "${enable_textctrl+set}" = set; then
11790 enableval
=$enable_textctrl;
11791 if test "$enableval" = yes; then
11792 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
11794 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
11799 wx_cv_use_textctrl
='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11804 eval "$wx_cv_use_textctrl"
11806 if test x"$enablestring" = xdisable; then
11807 if test $wxUSE_TEXTCTRL = yes; then
11813 result=$wxUSE_TEXTCTRL
11816 { echo "$as_me:$LINENO: result: $result" >&5
11817 echo "${ECHO_T}$result" >&6; }
11821 defaultval=$wxUSE_ALL_FEATURES
11822 if test -z "$defaultval"; then
11823 if test x"$enablestring" = xdisable; then
11830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11831 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11832 # Check whether --enable-togglebtn was given.
11833 if test "${enable_togglebtn+set}" = set; then
11834 enableval=$enable_togglebtn;
11835 if test "$enableval" = yes; then
11836 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
11838 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
11843 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11848 eval "$wx_cv_use_togglebtn"
11850 if test x"$enablestring" = xdisable; then
11851 if test $wxUSE_TOGGLEBTN = yes; then
11857 result=$wxUSE_TOGGLEBTN
11860 { echo "$as_me:$LINENO: result
: $result" >&5
11861 echo "${ECHO_T}$result" >&6; }
11865 defaultval=$wxUSE_ALL_FEATURES
11866 if test -z "$defaultval"; then
11867 if test x"$enablestring" = xdisable; then
11874 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
11875 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
11876 # Check whether --enable-toolbar was given.
11877 if test "${enable_toolbar+set}" = set; then
11878 enableval=$enable_toolbar;
11879 if test "$enableval" = yes; then
11880 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11882 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11887 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11892 eval "$wx_cv_use_toolbar"
11894 if test x
"$enablestring" = xdisable
; then
11895 if test $wxUSE_TOOLBAR = yes; then
11901 result
=$wxUSE_TOOLBAR
11904 { echo "$as_me:$LINENO: result: $result" >&5
11905 echo "${ECHO_T}$result" >&6; }
11909 defaultval
=$wxUSE_ALL_FEATURES
11910 if test -z "$defaultval"; then
11911 if test x
"$enablestring" = xdisable
; then
11918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11919 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11920 # Check whether --enable-tbarnative was given.
11921 if test "${enable_tbarnative+set}" = set; then
11922 enableval
=$enable_tbarnative;
11923 if test "$enableval" = yes; then
11924 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
11926 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
11931 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11936 eval "$wx_cv_use_tbarnative"
11938 if test x"$enablestring" = xdisable; then
11939 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11945 result=$wxUSE_TOOLBAR_NATIVE
11948 { echo "$as_me:$LINENO: result: $result" >&5
11949 echo "${ECHO_T}$result" >&6; }
11953 defaultval=$wxUSE_ALL_FEATURES
11954 if test -z "$defaultval"; then
11955 if test x"$enablestring" = xdisable; then
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11964 # Check whether --enable-treebook was given.
11965 if test "${enable_treebook+set}" = set; then
11966 enableval=$enable_treebook;
11967 if test "$enableval" = yes; then
11968 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
11970 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
11975 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11980 eval "$wx_cv_use_treebook"
11982 if test x"$enablestring" = xdisable; then
11983 if test $wxUSE_TREEBOOK = yes; then
11989 result=$wxUSE_TREEBOOK
11992 { echo "$as_me:$LINENO: result
: $result" >&5
11993 echo "${ECHO_T}$result" >&6; }
11997 defaultval=$wxUSE_ALL_FEATURES
11998 if test -z "$defaultval"; then
11999 if test x"$enablestring" = xdisable; then
12006 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12007 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12008 # Check whether --enable-toolbook was given.
12009 if test "${enable_toolbook+set}" = set; then
12010 enableval=$enable_toolbook;
12011 if test "$enableval" = yes; then
12012 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12014 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12019 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12024 eval "$wx_cv_use_toolbook"
12026 if test x
"$enablestring" = xdisable
; then
12027 if test $wxUSE_TOOLBOOK = yes; then
12033 result
=$wxUSE_TOOLBOOK
12036 { echo "$as_me:$LINENO: result: $result" >&5
12037 echo "${ECHO_T}$result" >&6; }
12041 defaultval
=$wxUSE_ALL_FEATURES
12042 if test -z "$defaultval"; then
12043 if test x
"$enablestring" = xdisable
; then
12050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12051 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12052 # Check whether --enable-treectrl was given.
12053 if test "${enable_treectrl+set}" = set; then
12054 enableval
=$enable_treectrl;
12055 if test "$enableval" = yes; then
12056 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12058 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12063 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12068 eval "$wx_cv_use_treectrl"
12070 if test x"$enablestring" = xdisable; then
12071 if test $wxUSE_TREECTRL = yes; then
12077 result=$wxUSE_TREECTRL
12080 { echo "$as_me:$LINENO: result: $result" >&5
12081 echo "${ECHO_T}$result" >&6; }
12085 defaultval=$wxUSE_ALL_FEATURES
12086 if test -z "$defaultval"; then
12087 if test x"$enablestring" = xdisable; then
12094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12095 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12096 # Check whether --enable-tipwindow was given.
12097 if test "${enable_tipwindow+set}" = set; then
12098 enableval=$enable_tipwindow;
12099 if test "$enableval" = yes; then
12100 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12102 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12107 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12112 eval "$wx_cv_use_tipwindow"
12114 if test x"$enablestring" = xdisable; then
12115 if test $wxUSE_TIPWINDOW = yes; then
12121 result=$wxUSE_TIPWINDOW
12124 { echo "$as_me:$LINENO: result
: $result" >&5
12125 echo "${ECHO_T}$result" >&6; }
12129 defaultval=$wxUSE_ALL_FEATURES
12130 if test -z "$defaultval"; then
12131 if test x"$enablestring" = xdisable; then
12138 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-popupwin" >&5
12139 echo $ECHO_N "checking
for --${enablestring:-enable}-popupwin...
$ECHO_C" >&6; }
12140 # Check whether --enable-popupwin was given.
12141 if test "${enable_popupwin+set}" = set; then
12142 enableval=$enable_popupwin;
12143 if test "$enableval" = yes; then
12144 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12146 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12151 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12156 eval "$wx_cv_use_popupwin"
12158 if test x
"$enablestring" = xdisable
; then
12159 if test $wxUSE_POPUPWIN = yes; then
12165 result
=$wxUSE_POPUPWIN
12168 { echo "$as_me:$LINENO: result: $result" >&5
12169 echo "${ECHO_T}$result" >&6; }
12175 defaultval
=$wxUSE_ALL_FEATURES
12176 if test -z "$defaultval"; then
12177 if test x
"$enablestring" = xdisable
; then
12184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12185 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12186 # Check whether --enable-commondlg was given.
12187 if test "${enable_commondlg+set}" = set; then
12188 enableval
=$enable_commondlg;
12189 if test "$enableval" = yes; then
12190 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
12192 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
12197 wx_cv_use_commondlg
='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12202 eval "$wx_cv_use_commondlg"
12204 if test x"$enablestring" = xdisable; then
12205 if test $wxUSE_COMMONDLGS = yes; then
12211 result=$wxUSE_COMMONDLGS
12214 { echo "$as_me:$LINENO: result: $result" >&5
12215 echo "${ECHO_T}$result" >&6; }
12219 defaultval=$wxUSE_ALL_FEATURES
12220 if test -z "$defaultval"; then
12221 if test x"$enablestring" = xdisable; then
12228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12229 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12230 # Check whether --enable-aboutdlg was given.
12231 if test "${enable_aboutdlg+set}" = set; then
12232 enableval=$enable_aboutdlg;
12233 if test "$enableval" = yes; then
12234 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=yes'
12236 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=no
'
12241 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG
=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12246 eval "$wx_cv_use_aboutdlg"
12248 if test x"$enablestring" = xdisable; then
12249 if test $wxUSE_ABOUTDLG = yes; then
12255 result=$wxUSE_ABOUTDLG
12258 { echo "$as_me:$LINENO: result
: $result" >&5
12259 echo "${ECHO_T}$result" >&6; }
12263 defaultval=$wxUSE_ALL_FEATURES
12264 if test -z "$defaultval"; then
12265 if test x"$enablestring" = xdisable; then
12272 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicedlg" >&5
12273 echo $ECHO_N "checking
for --${enablestring:-enable}-choicedlg...
$ECHO_C" >&6; }
12274 # Check whether --enable-choicedlg was given.
12275 if test "${enable_choicedlg+set}" = set; then
12276 enableval=$enable_choicedlg;
12277 if test "$enableval" = yes; then
12278 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12280 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12285 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12290 eval "$wx_cv_use_choicedlg"
12292 if test x
"$enablestring" = xdisable
; then
12293 if test $wxUSE_CHOICEDLG = yes; then
12299 result
=$wxUSE_CHOICEDLG
12302 { echo "$as_me:$LINENO: result: $result" >&5
12303 echo "${ECHO_T}$result" >&6; }
12307 defaultval
=$wxUSE_ALL_FEATURES
12308 if test -z "$defaultval"; then
12309 if test x
"$enablestring" = xdisable
; then
12316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12317 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12318 # Check whether --enable-coldlg was given.
12319 if test "${enable_coldlg+set}" = set; then
12320 enableval
=$enable_coldlg;
12321 if test "$enableval" = yes; then
12322 wx_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
12324 wx_cv_use_coldlg
='wxUSE_COLOURDLG=no'
12329 wx_cv_use_coldlg
='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12334 eval "$wx_cv_use_coldlg"
12336 if test x"$enablestring" = xdisable; then
12337 if test $wxUSE_COLOURDLG = yes; then
12343 result=$wxUSE_COLOURDLG
12346 { echo "$as_me:$LINENO: result: $result" >&5
12347 echo "${ECHO_T}$result" >&6; }
12351 defaultval=$wxUSE_ALL_FEATURES
12352 if test -z "$defaultval"; then
12353 if test x"$enablestring" = xdisable; then
12360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12361 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12362 # Check whether --enable-filedlg was given.
12363 if test "${enable_filedlg+set}" = set; then
12364 enableval=$enable_filedlg;
12365 if test "$enableval" = yes; then
12366 wx_cv_use_filedlg='wxUSE_FILEDLG
=yes'
12368 wx_cv_use_filedlg='wxUSE_FILEDLG
=no
'
12373 wx_cv_use_filedlg='wxUSE_FILEDLG
=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12378 eval "$wx_cv_use_filedlg"
12380 if test x"$enablestring" = xdisable; then
12381 if test $wxUSE_FILEDLG = yes; then
12387 result=$wxUSE_FILEDLG
12390 { echo "$as_me:$LINENO: result
: $result" >&5
12391 echo "${ECHO_T}$result" >&6; }
12395 defaultval=$wxUSE_ALL_FEATURES
12396 if test -z "$defaultval"; then
12397 if test x"$enablestring" = xdisable; then
12404 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-finddlg" >&5
12405 echo $ECHO_N "checking
for --${enablestring:-enable}-finddlg...
$ECHO_C" >&6; }
12406 # Check whether --enable-finddlg was given.
12407 if test "${enable_finddlg+set}" = set; then
12408 enableval=$enable_finddlg;
12409 if test "$enableval" = yes; then
12410 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12412 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12417 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12422 eval "$wx_cv_use_finddlg"
12424 if test x
"$enablestring" = xdisable
; then
12425 if test $wxUSE_FINDREPLDLG = yes; then
12431 result
=$wxUSE_FINDREPLDLG
12434 { echo "$as_me:$LINENO: result: $result" >&5
12435 echo "${ECHO_T}$result" >&6; }
12439 defaultval
=$wxUSE_ALL_FEATURES
12440 if test -z "$defaultval"; then
12441 if test x
"$enablestring" = xdisable
; then
12448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12449 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12450 # Check whether --enable-fontdlg was given.
12451 if test "${enable_fontdlg+set}" = set; then
12452 enableval
=$enable_fontdlg;
12453 if test "$enableval" = yes; then
12454 wx_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
12456 wx_cv_use_fontdlg
='wxUSE_FONTDLG=no'
12461 wx_cv_use_fontdlg
='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12466 eval "$wx_cv_use_fontdlg"
12468 if test x"$enablestring" = xdisable; then
12469 if test $wxUSE_FONTDLG = yes; then
12475 result=$wxUSE_FONTDLG
12478 { echo "$as_me:$LINENO: result: $result" >&5
12479 echo "${ECHO_T}$result" >&6; }
12483 defaultval=$wxUSE_ALL_FEATURES
12484 if test -z "$defaultval"; then
12485 if test x"$enablestring" = xdisable; then
12492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12493 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12494 # Check whether --enable-dirdlg was given.
12495 if test "${enable_dirdlg+set}" = set; then
12496 enableval=$enable_dirdlg;
12497 if test "$enableval" = yes; then
12498 wx_cv_use_dirdlg='wxUSE_DIRDLG
=yes'
12500 wx_cv_use_dirdlg='wxUSE_DIRDLG
=no
'
12505 wx_cv_use_dirdlg='wxUSE_DIRDLG
=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12510 eval "$wx_cv_use_dirdlg"
12512 if test x"$enablestring" = xdisable; then
12513 if test $wxUSE_DIRDLG = yes; then
12519 result=$wxUSE_DIRDLG
12522 { echo "$as_me:$LINENO: result
: $result" >&5
12523 echo "${ECHO_T}$result" >&6; }
12527 defaultval=$wxUSE_ALL_FEATURES
12528 if test -z "$defaultval"; then
12529 if test x"$enablestring" = xdisable; then
12536 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-msgdlg" >&5
12537 echo $ECHO_N "checking
for --${enablestring:-enable}-msgdlg...
$ECHO_C" >&6; }
12538 # Check whether --enable-msgdlg was given.
12539 if test "${enable_msgdlg+set}" = set; then
12540 enableval=$enable_msgdlg;
12541 if test "$enableval" = yes; then
12542 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12544 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12549 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12554 eval "$wx_cv_use_msgdlg"
12556 if test x
"$enablestring" = xdisable
; then
12557 if test $wxUSE_MSGDLG = yes; then
12563 result
=$wxUSE_MSGDLG
12566 { echo "$as_me:$LINENO: result: $result" >&5
12567 echo "${ECHO_T}$result" >&6; }
12571 defaultval
=$wxUSE_ALL_FEATURES
12572 if test -z "$defaultval"; then
12573 if test x
"$enablestring" = xdisable
; then
12580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12581 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12582 # Check whether --enable-numberdlg was given.
12583 if test "${enable_numberdlg+set}" = set; then
12584 enableval
=$enable_numberdlg;
12585 if test "$enableval" = yes; then
12586 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
12588 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
12593 wx_cv_use_numberdlg
='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12598 eval "$wx_cv_use_numberdlg"
12600 if test x"$enablestring" = xdisable; then
12601 if test $wxUSE_NUMBERDLG = yes; then
12607 result=$wxUSE_NUMBERDLG
12610 { echo "$as_me:$LINENO: result: $result" >&5
12611 echo "${ECHO_T}$result" >&6; }
12615 defaultval=$wxUSE_ALL_FEATURES
12616 if test -z "$defaultval"; then
12617 if test x"$enablestring" = xdisable; then
12624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12625 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12626 # Check whether --enable-splash was given.
12627 if test "${enable_splash+set}" = set; then
12628 enableval=$enable_splash;
12629 if test "$enableval" = yes; then
12630 wx_cv_use_splash='wxUSE_SPLASH
=yes'
12632 wx_cv_use_splash='wxUSE_SPLASH
=no
'
12637 wx_cv_use_splash='wxUSE_SPLASH
=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12642 eval "$wx_cv_use_splash"
12644 if test x"$enablestring" = xdisable; then
12645 if test $wxUSE_SPLASH = yes; then
12651 result=$wxUSE_SPLASH
12654 { echo "$as_me:$LINENO: result
: $result" >&5
12655 echo "${ECHO_T}$result" >&6; }
12659 defaultval=$wxUSE_ALL_FEATURES
12660 if test -z "$defaultval"; then
12661 if test x"$enablestring" = xdisable; then
12668 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textdlg" >&5
12669 echo $ECHO_N "checking
for --${enablestring:-enable}-textdlg...
$ECHO_C" >&6; }
12670 # Check whether --enable-textdlg was given.
12671 if test "${enable_textdlg+set}" = set; then
12672 enableval=$enable_textdlg;
12673 if test "$enableval" = yes; then
12674 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12676 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12681 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12686 eval "$wx_cv_use_textdlg"
12688 if test x
"$enablestring" = xdisable
; then
12689 if test $wxUSE_TEXTDLG = yes; then
12695 result
=$wxUSE_TEXTDLG
12698 { echo "$as_me:$LINENO: result: $result" >&5
12699 echo "${ECHO_T}$result" >&6; }
12703 defaultval
=$wxUSE_ALL_FEATURES
12704 if test -z "$defaultval"; then
12705 if test x
"$enablestring" = xdisable
; then
12712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12713 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12714 # Check whether --enable-tipdlg was given.
12715 if test "${enable_tipdlg+set}" = set; then
12716 enableval
=$enable_tipdlg;
12717 if test "$enableval" = yes; then
12718 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
12720 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
12725 wx_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12730 eval "$wx_cv_use_tipdlg"
12732 if test x"$enablestring" = xdisable; then
12733 if test $wxUSE_STARTUP_TIPS = yes; then
12739 result=$wxUSE_STARTUP_TIPS
12742 { echo "$as_me:$LINENO: result: $result" >&5
12743 echo "${ECHO_T}$result" >&6; }
12747 defaultval=$wxUSE_ALL_FEATURES
12748 if test -z "$defaultval"; then
12749 if test x"$enablestring" = xdisable; then
12756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12757 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12758 # Check whether --enable-progressdlg was given.
12759 if test "${enable_progressdlg+set}" = set; then
12760 enableval=$enable_progressdlg;
12761 if test "$enableval" = yes; then
12762 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=yes'
12764 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=no
'
12769 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG
=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12774 eval "$wx_cv_use_progressdlg"
12776 if test x"$enablestring" = xdisable; then
12777 if test $wxUSE_PROGRESSDLG = yes; then
12783 result=$wxUSE_PROGRESSDLG
12786 { echo "$as_me:$LINENO: result
: $result" >&5
12787 echo "${ECHO_T}$result" >&6; }
12791 defaultval=$wxUSE_ALL_FEATURES
12792 if test -z "$defaultval"; then
12793 if test x"$enablestring" = xdisable; then
12800 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wizarddlg" >&5
12801 echo $ECHO_N "checking
for --${enablestring:-enable}-wizarddlg...
$ECHO_C" >&6; }
12802 # Check whether --enable-wizarddlg was given.
12803 if test "${enable_wizarddlg+set}" = set; then
12804 enableval=$enable_wizarddlg;
12805 if test "$enableval" = yes; then
12806 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12808 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12813 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12818 eval "$wx_cv_use_wizarddlg"
12820 if test x
"$enablestring" = xdisable
; then
12821 if test $wxUSE_WIZARDDLG = yes; then
12827 result
=$wxUSE_WIZARDDLG
12830 { echo "$as_me:$LINENO: result: $result" >&5
12831 echo "${ECHO_T}$result" >&6; }
12837 defaultval
=$wxUSE_ALL_FEATURES
12838 if test -z "$defaultval"; then
12839 if test x
"$enablestring" = xdisable
; then
12846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12847 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12848 # Check whether --enable-menus was given.
12849 if test "${enable_menus+set}" = set; then
12850 enableval
=$enable_menus;
12851 if test "$enableval" = yes; then
12852 wx_cv_use_menus
='wxUSE_MENUS=yes'
12854 wx_cv_use_menus
='wxUSE_MENUS=no'
12859 wx_cv_use_menus
='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12864 eval "$wx_cv_use_menus"
12866 if test x"$enablestring" = xdisable; then
12867 if test $wxUSE_MENUS = yes; then
12873 result=$wxUSE_MENUS
12876 { echo "$as_me:$LINENO: result: $result" >&5
12877 echo "${ECHO_T}$result" >&6; }
12881 defaultval=$wxUSE_ALL_FEATURES
12882 if test -z "$defaultval"; then
12883 if test x"$enablestring" = xdisable; then
12890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12891 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12892 # Check whether --enable-miniframe was given.
12893 if test "${enable_miniframe+set}" = set; then
12894 enableval=$enable_miniframe;
12895 if test "$enableval" = yes; then
12896 wx_cv_use_miniframe='wxUSE_MINIFRAME
=yes'
12898 wx_cv_use_miniframe='wxUSE_MINIFRAME
=no
'
12903 wx_cv_use_miniframe='wxUSE_MINIFRAME
=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12908 eval "$wx_cv_use_miniframe"
12910 if test x"$enablestring" = xdisable; then
12911 if test $wxUSE_MINIFRAME = yes; then
12917 result=$wxUSE_MINIFRAME
12920 { echo "$as_me:$LINENO: result
: $result" >&5
12921 echo "${ECHO_T}$result" >&6; }
12925 defaultval=$wxUSE_ALL_FEATURES
12926 if test -z "$defaultval"; then
12927 if test x"$enablestring" = xdisable; then
12934 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tooltips" >&5
12935 echo $ECHO_N "checking
for --${enablestring:-enable}-tooltips...
$ECHO_C" >&6; }
12936 # Check whether --enable-tooltips was given.
12937 if test "${enable_tooltips+set}" = set; then
12938 enableval=$enable_tooltips;
12939 if test "$enableval" = yes; then
12940 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12942 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12947 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12952 eval "$wx_cv_use_tooltips"
12954 if test x
"$enablestring" = xdisable
; then
12955 if test $wxUSE_TOOLTIPS = yes; then
12961 result
=$wxUSE_TOOLTIPS
12964 { echo "$as_me:$LINENO: result: $result" >&5
12965 echo "${ECHO_T}$result" >&6; }
12969 defaultval
=$wxUSE_ALL_FEATURES
12970 if test -z "$defaultval"; then
12971 if test x
"$enablestring" = xdisable
; then
12978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12979 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12980 # Check whether --enable-splines was given.
12981 if test "${enable_splines+set}" = set; then
12982 enableval
=$enable_splines;
12983 if test "$enableval" = yes; then
12984 wx_cv_use_splines
='wxUSE_SPLINES=yes'
12986 wx_cv_use_splines
='wxUSE_SPLINES=no'
12991 wx_cv_use_splines
='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12996 eval "$wx_cv_use_splines"
12998 if test x"$enablestring" = xdisable; then
12999 if test $wxUSE_SPLINES = yes; then
13005 result=$wxUSE_SPLINES
13008 { echo "$as_me:$LINENO: result: $result" >&5
13009 echo "${ECHO_T}$result" >&6; }
13013 defaultval=$wxUSE_ALL_FEATURES
13014 if test -z "$defaultval"; then
13015 if test x"$enablestring" = xdisable; then
13022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13023 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13024 # Check whether --enable-mousewheel was given.
13025 if test "${enable_mousewheel+set}" = set; then
13026 enableval=$enable_mousewheel;
13027 if test "$enableval" = yes; then
13028 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=yes'
13030 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=no
'
13035 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL
=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13040 eval "$wx_cv_use_mousewheel"
13042 if test x"$enablestring" = xdisable; then
13043 if test $wxUSE_MOUSEWHEEL = yes; then
13049 result=$wxUSE_MOUSEWHEEL
13052 { echo "$as_me:$LINENO: result
: $result" >&5
13053 echo "${ECHO_T}$result" >&6; }
13057 defaultval=$wxUSE_ALL_FEATURES
13058 if test -z "$defaultval"; then
13059 if test x"$enablestring" = xdisable; then
13066 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-validators" >&5
13067 echo $ECHO_N "checking
for --${enablestring:-enable}-validators...
$ECHO_C" >&6; }
13068 # Check whether --enable-validators was given.
13069 if test "${enable_validators+set}" = set; then
13070 enableval=$enable_validators;
13071 if test "$enableval" = yes; then
13072 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13074 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13079 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13084 eval "$wx_cv_use_validators"
13086 if test x
"$enablestring" = xdisable
; then
13087 if test $wxUSE_VALIDATORS = yes; then
13093 result
=$wxUSE_VALIDATORS
13096 { echo "$as_me:$LINENO: result: $result" >&5
13097 echo "${ECHO_T}$result" >&6; }
13101 defaultval
=$wxUSE_ALL_FEATURES
13102 if test -z "$defaultval"; then
13103 if test x
"$enablestring" = xdisable
; then
13110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13111 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13112 # Check whether --enable-busyinfo was given.
13113 if test "${enable_busyinfo+set}" = set; then
13114 enableval
=$enable_busyinfo;
13115 if test "$enableval" = yes; then
13116 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
13118 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
13123 wx_cv_use_busyinfo
='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13128 eval "$wx_cv_use_busyinfo"
13130 if test x"$enablestring" = xdisable; then
13131 if test $wxUSE_BUSYINFO = yes; then
13137 result=$wxUSE_BUSYINFO
13140 { echo "$as_me:$LINENO: result: $result" >&5
13141 echo "${ECHO_T}$result" >&6; }
13145 defaultval=$wxUSE_ALL_FEATURES
13146 if test -z "$defaultval"; then
13147 if test x"$enablestring" = xdisable; then
13154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13155 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13156 # Check whether --enable-joystick was given.
13157 if test "${enable_joystick+set}" = set; then
13158 enableval=$enable_joystick;
13159 if test "$enableval" = yes; then
13160 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
13162 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
13167 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13172 eval "$wx_cv_use_joystick"
13174 if test x"$enablestring" = xdisable; then
13175 if test $wxUSE_JOYSTICK = yes; then
13181 result=$wxUSE_JOYSTICK
13184 { echo "$as_me:$LINENO: result
: $result" >&5
13185 echo "${ECHO_T}$result" >&6; }
13189 defaultval=$wxUSE_ALL_FEATURES
13190 if test -z "$defaultval"; then
13191 if test x"$enablestring" = xdisable; then
13198 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
13199 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
13200 # Check whether --enable-metafile was given.
13201 if test "${enable_metafile+set}" = set; then
13202 enableval=$enable_metafile;
13203 if test "$enableval" = yes; then
13204 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13206 wx_cv_use_metafile='wxUSE_METAFILE=no'
13211 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13216 eval "$wx_cv_use_metafile"
13218 if test x
"$enablestring" = xdisable
; then
13219 if test $wxUSE_METAFILE = yes; then
13225 result
=$wxUSE_METAFILE
13228 { echo "$as_me:$LINENO: result: $result" >&5
13229 echo "${ECHO_T}$result" >&6; }
13233 defaultval
=$wxUSE_ALL_FEATURES
13234 if test -z "$defaultval"; then
13235 if test x
"$enablestring" = xdisable
; then
13242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13243 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13244 # Check whether --enable-dragimage was given.
13245 if test "${enable_dragimage+set}" = set; then
13246 enableval
=$enable_dragimage;
13247 if test "$enableval" = yes; then
13248 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
13250 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
13255 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13260 eval "$wx_cv_use_dragimage"
13262 if test x"$enablestring" = xdisable; then
13263 if test $wxUSE_DRAGIMAGE = yes; then
13269 result=$wxUSE_DRAGIMAGE
13272 { echo "$as_me:$LINENO: result: $result" >&5
13273 echo "${ECHO_T}$result" >&6; }
13277 defaultval=$wxUSE_ALL_FEATURES
13278 if test -z "$defaultval"; then
13279 if test x"$enablestring" = xdisable; then
13286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13287 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13288 # Check whether --enable-accessibility was given.
13289 if test "${enable_accessibility+set}" = set; then
13290 enableval=$enable_accessibility;
13291 if test "$enableval" = yes; then
13292 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
13294 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
13299 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13304 eval "$wx_cv_use_accessibility"
13306 if test x"$enablestring" = xdisable; then
13307 if test $wxUSE_ACCESSIBILITY = yes; then
13313 result=$wxUSE_ACCESSIBILITY
13316 { echo "$as_me:$LINENO: result
: $result" >&5
13317 echo "${ECHO_T}$result" >&6; }
13323 defaultval=$wxUSE_ALL_FEATURES
13324 if test -z "$defaultval"; then
13325 if test x"$enablestring" = xdisable; then
13332 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
13333 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
13334 # Check whether --enable-palette was given.
13335 if test "${enable_palette+set}" = set; then
13336 enableval=$enable_palette;
13337 if test "$enableval" = yes; then
13338 wx_cv_use_palette='wxUSE_PALETTE=yes'
13340 wx_cv_use_palette='wxUSE_PALETTE=no'
13345 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13350 eval "$wx_cv_use_palette"
13352 if test x
"$enablestring" = xdisable
; then
13353 if test $wxUSE_PALETTE = yes; then
13359 result
=$wxUSE_PALETTE
13362 { echo "$as_me:$LINENO: result: $result" >&5
13363 echo "${ECHO_T}$result" >&6; }
13367 defaultval
=$wxUSE_ALL_FEATURES
13368 if test -z "$defaultval"; then
13369 if test x
"$enablestring" = xdisable
; then
13376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13377 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13378 # Check whether --enable-image was given.
13379 if test "${enable_image+set}" = set; then
13380 enableval
=$enable_image;
13381 if test "$enableval" = yes; then
13382 wx_cv_use_image
='wxUSE_IMAGE=yes'
13384 wx_cv_use_image
='wxUSE_IMAGE=no'
13389 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13394 eval "$wx_cv_use_image"
13396 if test x"$enablestring" = xdisable; then
13397 if test $wxUSE_IMAGE = yes; then
13403 result=$wxUSE_IMAGE
13406 { echo "$as_me:$LINENO: result: $result" >&5
13407 echo "${ECHO_T}$result" >&6; }
13411 defaultval=$wxUSE_ALL_FEATURES
13412 if test -z "$defaultval"; then
13413 if test x"$enablestring" = xdisable; then
13420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13421 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13422 # Check whether --enable-gif was given.
13423 if test "${enable_gif+set}" = set; then
13424 enableval=$enable_gif;
13425 if test "$enableval" = yes; then
13426 wx_cv_use_gif='wxUSE_GIF
=yes'
13428 wx_cv_use_gif='wxUSE_GIF
=no
'
13433 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13438 eval "$wx_cv_use_gif"
13440 if test x"$enablestring" = xdisable; then
13441 if test $wxUSE_GIF = yes; then
13450 { echo "$as_me:$LINENO: result
: $result" >&5
13451 echo "${ECHO_T}$result" >&6; }
13455 defaultval=$wxUSE_ALL_FEATURES
13456 if test -z "$defaultval"; then
13457 if test x"$enablestring" = xdisable; then
13464 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
13465 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
13466 # Check whether --enable-pcx was given.
13467 if test "${enable_pcx+set}" = set; then
13468 enableval=$enable_pcx;
13469 if test "$enableval" = yes; then
13470 wx_cv_use_pcx='wxUSE_PCX=yes'
13472 wx_cv_use_pcx='wxUSE_PCX=no'
13477 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13482 eval "$wx_cv_use_pcx"
13484 if test x
"$enablestring" = xdisable
; then
13485 if test $wxUSE_PCX = yes; then
13494 { echo "$as_me:$LINENO: result: $result" >&5
13495 echo "${ECHO_T}$result" >&6; }
13499 defaultval
=$wxUSE_ALL_FEATURES
13500 if test -z "$defaultval"; then
13501 if test x
"$enablestring" = xdisable
; then
13508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13509 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13510 # Check whether --enable-tga was given.
13511 if test "${enable_tga+set}" = set; then
13512 enableval
=$enable_tga;
13513 if test "$enableval" = yes; then
13514 wx_cv_use_tga
='wxUSE_TGA=yes'
13516 wx_cv_use_tga
='wxUSE_TGA=no'
13521 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13526 eval "$wx_cv_use_tga"
13528 if test x"$enablestring" = xdisable; then
13529 if test $wxUSE_TGA = yes; then
13538 { echo "$as_me:$LINENO: result: $result" >&5
13539 echo "${ECHO_T}$result" >&6; }
13543 defaultval=$wxUSE_ALL_FEATURES
13544 if test -z "$defaultval"; then
13545 if test x"$enablestring" = xdisable; then
13552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13553 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13554 # Check whether --enable-iff was given.
13555 if test "${enable_iff+set}" = set; then
13556 enableval=$enable_iff;
13557 if test "$enableval" = yes; then
13558 wx_cv_use_iff='wxUSE_IFF
=yes'
13560 wx_cv_use_iff='wxUSE_IFF
=no
'
13565 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13570 eval "$wx_cv_use_iff"
13572 if test x"$enablestring" = xdisable; then
13573 if test $wxUSE_IFF = yes; then
13582 { echo "$as_me:$LINENO: result
: $result" >&5
13583 echo "${ECHO_T}$result" >&6; }
13587 defaultval=$wxUSE_ALL_FEATURES
13588 if test -z "$defaultval"; then
13589 if test x"$enablestring" = xdisable; then
13596 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
13597 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
13598 # Check whether --enable-pnm was given.
13599 if test "${enable_pnm+set}" = set; then
13600 enableval=$enable_pnm;
13601 if test "$enableval" = yes; then
13602 wx_cv_use_pnm='wxUSE_PNM=yes'
13604 wx_cv_use_pnm='wxUSE_PNM=no'
13609 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13614 eval "$wx_cv_use_pnm"
13616 if test x
"$enablestring" = xdisable
; then
13617 if test $wxUSE_PNM = yes; then
13626 { echo "$as_me:$LINENO: result: $result" >&5
13627 echo "${ECHO_T}$result" >&6; }
13631 defaultval
=$wxUSE_ALL_FEATURES
13632 if test -z "$defaultval"; then
13633 if test x
"$enablestring" = xdisable
; then
13640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13641 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13642 # Check whether --enable-xpm was given.
13643 if test "${enable_xpm+set}" = set; then
13644 enableval
=$enable_xpm;
13645 if test "$enableval" = yes; then
13646 wx_cv_use_xpm
='wxUSE_XPM=yes'
13648 wx_cv_use_xpm
='wxUSE_XPM=no'
13653 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13658 eval "$wx_cv_use_xpm"
13660 if test x"$enablestring" = xdisable; then
13661 if test $wxUSE_XPM = yes; then
13670 { echo "$as_me:$LINENO: result: $result" >&5
13671 echo "${ECHO_T}$result" >&6; }
13675 defaultval=$wxUSE_ALL_FEATURES
13676 if test -z "$defaultval"; then
13677 if test x"$enablestring" = xdisable; then
13684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13685 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13686 # Check whether --enable-ico_cur was given.
13687 if test "${enable_ico_cur+set}" = set; then
13688 enableval=$enable_ico_cur;
13689 if test "$enableval" = yes; then
13690 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
13692 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
13697 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13702 eval "$wx_cv_use_ico_cur"
13704 if test x"$enablestring" = xdisable; then
13705 if test $wxUSE_ICO_CUR = yes; then
13711 result=$wxUSE_ICO_CUR
13714 { echo "$as_me:$LINENO: result
: $result" >&5
13715 echo "${ECHO_T}$result" >&6; }
13721 defaultval=$wxUSE_ALL_FEATURES
13722 if test -z "$defaultval"; then
13723 if test x"$enablestring" = xdisable; then
13730 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
13731 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
13732 # Check whether --enable-dccache was given.
13733 if test "${enable_dccache+set}" = set; then
13734 enableval=$enable_dccache;
13735 if test "$enableval" = yes; then
13736 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13738 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13743 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13748 eval "$wx_cv_use_dccache"
13750 if test x
"$enablestring" = xdisable
; then
13751 if test $wxUSE_DC_CACHEING = yes; then
13757 result
=$wxUSE_DC_CACHEING
13760 { echo "$as_me:$LINENO: result: $result" >&5
13761 echo "${ECHO_T}$result" >&6; }
13765 defaultval
=$wxUSE_ALL_FEATURES
13766 if test -z "$defaultval"; then
13767 if test x
"$enablestring" = xdisable
; then
13774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13775 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13776 # Check whether --enable-ps-in-msw was given.
13777 if test "${enable_ps_in_msw+set}" = set; then
13778 enableval
=$enable_ps_in_msw;
13779 if test "$enableval" = yes; then
13780 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13782 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13787 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13792 eval "$wx_cv_use_ps_in_msw"
13794 if test x"$enablestring" = xdisable; then
13795 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13801 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13804 { echo "$as_me:$LINENO: result: $result" >&5
13805 echo "${ECHO_T}$result" >&6; }
13809 defaultval=$wxUSE_ALL_FEATURES
13810 if test -z "$defaultval"; then
13811 if test x"$enablestring" = xdisable; then
13818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13819 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13820 # Check whether --enable-ownerdrawn was given.
13821 if test "${enable_ownerdrawn+set}" = set; then
13822 enableval=$enable_ownerdrawn;
13823 if test "$enableval" = yes; then
13824 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
13826 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
13831 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13836 eval "$wx_cv_use_ownerdrawn"
13838 if test x"$enablestring" = xdisable; then
13839 if test $wxUSE_OWNER_DRAWN = yes; then
13845 result=$wxUSE_OWNER_DRAWN
13848 { echo "$as_me:$LINENO: result
: $result" >&5
13849 echo "${ECHO_T}$result" >&6; }
13853 defaultval=$wxUSE_ALL_FEATURES
13854 if test -z "$defaultval"; then
13855 if test x"$enablestring" = xdisable; then
13862 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
13863 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
13864 # Check whether --enable-uxtheme was given.
13865 if test "${enable_uxtheme+set}" = set; then
13866 enableval=$enable_uxtheme;
13867 if test "$enableval" = yes; then
13868 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13870 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13875 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13880 eval "$wx_cv_use_uxtheme"
13882 if test x
"$enablestring" = xdisable
; then
13883 if test $wxUSE_UXTHEME = yes; then
13889 result
=$wxUSE_UXTHEME
13892 { echo "$as_me:$LINENO: result: $result" >&5
13893 echo "${ECHO_T}$result" >&6; }
13897 defaultval
=$wxUSE_ALL_FEATURES
13898 if test -z "$defaultval"; then
13899 if test x
"$enablestring" = xdisable
; then
13906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13907 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13908 # Check whether --enable-wxdib was given.
13909 if test "${enable_wxdib+set}" = set; then
13910 enableval
=$enable_wxdib;
13911 if test "$enableval" = yes; then
13912 wx_cv_use_wxdib
='wxUSE_DIB=yes'
13914 wx_cv_use_wxdib
='wxUSE_DIB=no'
13919 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13924 eval "$wx_cv_use_wxdib"
13926 if test x"$enablestring" = xdisable; then
13927 if test $wxUSE_DIB = yes; then
13936 { echo "$as_me:$LINENO: result: $result" >&5
13937 echo "${ECHO_T}$result" >&6; }
13940 if test "$wxUSE_MSW" != 1; then
13941 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13946 defaultval=$wxUSE_ALL_FEATURES
13947 if test -z "$defaultval"; then
13948 if test x"$enablestring" = xdisable; then
13955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13956 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13957 # Check whether --enable-autoidman was given.
13958 if test "${enable_autoidman+set}" = set; then
13959 enableval=$enable_autoidman;
13960 if test "$enableval" = yes; then
13961 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
13963 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
13968 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13973 eval "$wx_cv_use_autoidman"
13975 if test x"$enablestring" = xdisable; then
13976 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13982 result=$wxUSE_AUTOID_MANAGEMENT
13985 { echo "$as_me:$LINENO: result
: $result" >&5
13986 echo "${ECHO_T}$result" >&6; }
13992 cat >confcache <<\_ACEOF
13993 # This file is a shell script that caches the results of configure
13994 # tests run on this system so they can be shared between configure
13995 # scripts and configure runs, see configure's option --config-cache.
13996 # It is not useful on other systems. If it contains results you don't
13997 # want to keep, you may remove or edit it.
13999 # config.status only pays attention to the cache file if you give it
14000 # the --recheck option to rerun configure.
14002 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14003 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14004 # following values.
14008 # The following way of writing the cache mishandles newlines in values,
14009 # but we know of no workaround that is simple, portable, and efficient.
14010 # So, we kill variables containing newlines.
14011 # Ultrix sh set writes to stderr and can't be redirected directly,
14012 # and sets the high bit in the cache file unless we assign to the vars.
14014 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14015 eval ac_val=\$$ac_var
14019 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
14020 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
14023 _ | IFS | as_nl) ;; #(
14024 *) $as_unset $ac_var ;;
14030 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14031 *${as_nl}ac_space=\ *)
14032 # `set' does not quote correctly, so add quotes (double-quote
14033 # substitution turns \\\\ into \\, and sed turns \\ into \).
14036 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14039 # `set' quotes correctly as required by POSIX, so do not add quotes.
14040 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14049 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14051 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14053 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14054 if test -w "$cache_file"; then
14055 test "x
$cache_file" != "x
/dev
/null
" &&
14056 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
14057 echo "$as_me: updating cache
$cache_file" >&6;}
14058 cat confcache >$cache_file
14060 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
14061 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14071 ac_cpp='$CPP $CPPFLAGS'
14072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14075 if test -n "$ac_tool_prefix"; then
14076 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
14077 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14078 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14079 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14080 if test "${ac_cv_prog_CC+set}" = set; then
14081 echo $ECHO_N "(cached
) $ECHO_C" >&6
14083 if test -n "$CC"; then
14084 ac_cv_prog_CC="$CC" # Let the user override the test.
14086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14087 for as_dir in $PATH
14090 test -z "$as_dir" && as_dir=.
14091 for ac_exec_ext in '' $ac_executable_extensions; do
14092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14093 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
14094 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14104 if test -n "$CC"; then
14105 { echo "$as_me:$LINENO: result
: $CC" >&5
14106 echo "${ECHO_T}$CC" >&6; }
14108 { echo "$as_me:$LINENO: result
: no
" >&5
14109 echo "${ECHO_T}no
" >&6; }
14114 if test -z "$ac_cv_prog_CC"; then
14116 # Extract the first word of "gcc
", so it can be a program name with args.
14117 set dummy gcc; ac_word=$2
14118 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14119 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14120 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14121 echo $ECHO_N "(cached
) $ECHO_C" >&6
14123 if test -n "$ac_ct_CC"; then
14124 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14127 for as_dir in $PATH
14130 test -z "$as_dir" && as_dir=.
14131 for ac_exec_ext in '' $ac_executable_extensions; do
14132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14133 ac_cv_prog_ac_ct_CC="gcc
"
14134 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14143 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14144 if test -n "$ac_ct_CC"; then
14145 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14146 echo "${ECHO_T}$ac_ct_CC" >&6; }
14148 { echo "$as_me:$LINENO: result
: no
" >&5
14149 echo "${ECHO_T}no
" >&6; }
14152 if test "x
$ac_ct_CC" = x; then
14155 case $cross_compiling:$ac_tool_warned in
14157 { echo "$as_me:$LINENO: 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.
" >&5
14160 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14161 whose name does not start with the
host triplet. If you think this
14162 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14163 ac_tool_warned=yes ;;
14168 CC="$ac_cv_prog_CC"
14171 if test -z "$CC"; then
14172 if test -n "$ac_tool_prefix"; then
14173 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
14174 set dummy ${ac_tool_prefix}cc; ac_word=$2
14175 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14176 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14177 if test "${ac_cv_prog_CC+set}" = set; then
14178 echo $ECHO_N "(cached
) $ECHO_C" >&6
14180 if test -n "$CC"; then
14181 ac_cv_prog_CC="$CC" # Let the user override the test.
14183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14184 for as_dir in $PATH
14187 test -z "$as_dir" && as_dir=.
14188 for ac_exec_ext in '' $ac_executable_extensions; do
14189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14190 ac_cv_prog_CC="${ac_tool_prefix}cc
"
14191 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14201 if test -n "$CC"; then
14202 { echo "$as_me:$LINENO: result
: $CC" >&5
14203 echo "${ECHO_T}$CC" >&6; }
14205 { echo "$as_me:$LINENO: result
: no
" >&5
14206 echo "${ECHO_T}no
" >&6; }
14212 if test -z "$CC"; then
14213 # Extract the first word of "cc
", so it can be a program name with args.
14214 set dummy cc; ac_word=$2
14215 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14216 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14217 if test "${ac_cv_prog_CC+set}" = set; then
14218 echo $ECHO_N "(cached
) $ECHO_C" >&6
14220 if test -n "$CC"; then
14221 ac_cv_prog_CC="$CC" # Let the user override the test.
14223 ac_prog_rejected=no
14224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14225 for as_dir in $PATH
14228 test -z "$as_dir" && as_dir=.
14229 for ac_exec_ext in '' $ac_executable_extensions; do
14230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14231 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
14232 ac_prog_rejected=yes
14236 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14243 if test $ac_prog_rejected = yes; then
14244 # We found a bogon in the path, so make sure we never use it.
14245 set dummy $ac_cv_prog_CC
14247 if test $# != 0; then
14248 # We chose a different compiler from the bogus one.
14249 # However, it has the same basename, so the bogon will be chosen
14250 # first if we set CC to just the basename; use the full file name.
14252 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
14258 if test -n "$CC"; then
14259 { echo "$as_me:$LINENO: result
: $CC" >&5
14260 echo "${ECHO_T}$CC" >&6; }
14262 { echo "$as_me:$LINENO: result
: no
" >&5
14263 echo "${ECHO_T}no
" >&6; }
14268 if test -z "$CC"; then
14269 if test -n "$ac_tool_prefix"; then
14270 for ac_prog in cl.exe
14272 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14273 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14274 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14275 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14276 if test "${ac_cv_prog_CC+set}" = set; then
14277 echo $ECHO_N "(cached
) $ECHO_C" >&6
14279 if test -n "$CC"; then
14280 ac_cv_prog_CC="$CC" # Let the user override the test.
14282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14283 for as_dir in $PATH
14286 test -z "$as_dir" && as_dir=.
14287 for ac_exec_ext in '' $ac_executable_extensions; do
14288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14289 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14290 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14300 if test -n "$CC"; then
14301 { echo "$as_me:$LINENO: result
: $CC" >&5
14302 echo "${ECHO_T}$CC" >&6; }
14304 { echo "$as_me:$LINENO: result
: no
" >&5
14305 echo "${ECHO_T}no
" >&6; }
14309 test -n "$CC" && break
14312 if test -z "$CC"; then
14314 for ac_prog in cl.exe
14316 # Extract the first word of "$ac_prog", so it can be a program name with args.
14317 set dummy $ac_prog; ac_word=$2
14318 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
14319 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
14320 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14321 echo $ECHO_N "(cached
) $ECHO_C" >&6
14323 if test -n "$ac_ct_CC"; then
14324 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14327 for as_dir in $PATH
14330 test -z "$as_dir" && as_dir=.
14331 for ac_exec_ext in '' $ac_executable_extensions; do
14332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14333 ac_cv_prog_ac_ct_CC="$ac_prog"
14334 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
14343 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14344 if test -n "$ac_ct_CC"; then
14345 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
14346 echo "${ECHO_T}$ac_ct_CC" >&6; }
14348 { echo "$as_me:$LINENO: result
: no
" >&5
14349 echo "${ECHO_T}no
" >&6; }
14353 test -n "$ac_ct_CC" && break
14356 if test "x
$ac_ct_CC" = x; then
14359 case $cross_compiling:$ac_tool_warned in
14361 { echo "$as_me:$LINENO: 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.
" >&5
14364 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
14365 whose name does not start with the
host triplet. If you think this
14366 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
14367 ac_tool_warned=yes ;;
14376 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
14377 See \
`config.log' for more details." >&5
14378 echo "$as_me: error: no acceptable C compiler found in \$PATH
14379 See \`config.log
' for more details." >&2;}
14380 { (exit 1); exit 1; }; }
14382 # Provide some information about the compiler.
14383 echo "$as_me:$LINENO: checking for C compiler version" >&5
14384 ac_compiler=`set X $ac_compile; echo $2`
14385 { (ac_try="$ac_compiler --version >&5"
14386 case "(($ac_try" in
14387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14388 *) ac_try_echo=$ac_try;;
14390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14391 (eval "$ac_compiler --version >&5") 2>&5
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }
14395 { (ac_try="$ac_compiler -v >&5"
14396 case "(($ac_try" in
14397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14398 *) ac_try_echo=$ac_try;;
14400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14401 (eval "$ac_compiler -v >&5") 2>&5
14403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); }
14405 { (ac_try="$ac_compiler -V >&5"
14406 case "(($ac_try" in
14407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14408 *) ac_try_echo=$ac_try;;
14410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14411 (eval "$ac_compiler -V >&5") 2>&5
14413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14414 (exit $ac_status); }
14416 cat >conftest.$ac_ext <<_ACEOF
14419 cat confdefs.h >>conftest.$ac_ext
14420 cat >>conftest.$ac_ext <<_ACEOF
14421 /* end confdefs.h. */
14431 ac_clean_files_save=$ac_clean_files
14432 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14433 # Try to create an executable without -o first, disregard a.out.
14434 # It will help us diagnose broken compilers, and finding out an intuition
14436 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14437 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14438 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
14440 # List of possible output files, starting from the most likely.
14441 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
14442 # only as a last resort. b.out is created by i960 compilers.
14443 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14445 # The IRIX 6 linker writes into existing files which may not be
14446 # executable, retaining their permissions. Remove them first so a
14447 # subsequent execution test works.
14449 for ac_file
in $ac_files
14452 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14453 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
14458 if { (ac_try
="$ac_link_default"
14459 case "(($ac_try" in
14460 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14461 *) ac_try_echo=$ac_try;;
14463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14464 (eval "$ac_link_default") 2>&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; then
14468 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
14469 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
14470 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14471 # so that the user can short-circuit this test for compilers unknown to
14473 for ac_file in $ac_files ''
14475 test -f "$ac_file" || continue
14477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14480 # We found the default executable, but exeext='' is most
14484 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14486 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14488 # We set ac_cv_exeext here because the later test for it is not
14489 # safe: cross compilers may not add the suffix if given an `-o'
14490 # argument, so we may need to know it at that point already.
14491 # Even if this section looks crufty: it has the advantage of
14492 # actually working.
14498 test "$ac_cv_exeext" = no && ac_cv_exeext=
14504 { echo "$as_me:$LINENO: result: $ac_file" >&5
14505 echo "${ECHO_T}$ac_file" >&6; }
14506 if test -z "$ac_file"; then
14507 echo "$as_me: failed program was:" >&5
14508 sed 's
/^
/| /' conftest.$ac_ext >&5
14510 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14511 See \`config.log' for more details.
" >&5
14512 echo "$as_me: error
: C compiler cannot create executables
14513 See \
`config.log' for more details." >&2;}
14514 { (exit 77); exit 77; }; }
14517 ac_exeext=$ac_cv_exeext
14519 # Check that the compiler produces executables we can run. If not, either
14520 # the compiler is broken, or we cross compile.
14521 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14522 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14523 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14524 # If not cross compiling, check that we can run a simple program.
14525 if test "$cross_compiling" != yes; then
14526 if { ac_try='./$ac_file'
14527 { (case "(($ac_try" in
14528 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14529 *) ac_try_echo
=$ac_try;;
14531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14532 (eval "$ac_try") 2>&5
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); }; }; then
14538 if test "$cross_compiling" = maybe
; then
14539 cross_compiling
=yes
14541 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14542 If you meant to cross compile, use \`--host'.
14543 See \`config.log' for more details." >&5
14544 echo "$as_me: error: cannot run C compiled programs.
14545 If you meant to cross compile, use \`--host'.
14546 See \`config.log' for more details." >&2;}
14547 { (exit 1); exit 1; }; }
14551 { echo "$as_me:$LINENO: result: yes" >&5
14552 echo "${ECHO_T}yes" >&6; }
14554 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
14555 ac_clean_files
=$ac_clean_files_save
14556 # Check that the compiler produces executables we can run. If not, either
14557 # the compiler is broken, or we cross compile.
14558 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14559 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14560 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14561 echo "${ECHO_T}$cross_compiling" >&6; }
14563 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14564 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14565 if { (ac_try
="$ac_link"
14566 case "(($ac_try" in
14567 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14568 *) ac_try_echo=$ac_try;;
14570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14571 (eval "$ac_link") 2>&5
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); }; then
14575 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
14576 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
14577 # work properly (i.e., refer to `conftest.exe'), while it won't with
14579 for ac_file
in conftest.exe conftest conftest.
*; do
14580 test -f "$ac_file" || continue
14582 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14583 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14589 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14590 See \`config.log' for more details." >&5
14591 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14592 See \`config.log' for more details." >&2;}
14593 { (exit 1); exit 1; }; }
14596 rm -f conftest
$ac_cv_exeext
14597 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14598 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14600 rm -f conftest.
$ac_ext
14601 EXEEXT
=$ac_cv_exeext
14603 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14604 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14605 if test "${ac_cv_objext+set}" = set; then
14606 echo $ECHO_N "(cached) $ECHO_C" >&6
14608 cat >conftest.
$ac_ext <<_ACEOF
14611 cat confdefs.h
>>conftest.
$ac_ext
14612 cat >>conftest.
$ac_ext <<_ACEOF
14613 /* end confdefs.h. */
14623 rm -f conftest.o conftest.obj
14624 if { (ac_try
="$ac_compile"
14625 case "(($ac_try" in
14626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14627 *) ac_try_echo=$ac_try;;
14629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14630 (eval "$ac_compile") 2>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; then
14634 for ac_file in conftest.o conftest.obj conftest.*; do
14635 test -f "$ac_file" || continue;
14637 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14638 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14643 echo "$as_me: failed program was:" >&5
14644 sed 's/^/| /' conftest.$ac_ext >&5
14646 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14647 See \`config.log
' for more details." >&5
14648 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14649 See \`config.log' for more details.
" >&2;}
14650 { (exit 1); exit 1; }; }
14653 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14655 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14656 echo "${ECHO_T}$ac_cv_objext" >&6; }
14657 OBJEXT=$ac_cv_objext
14659 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14660 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14661 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14662 echo $ECHO_N "(cached
) $ECHO_C" >&6
14664 cat >conftest.$ac_ext <<_ACEOF
14667 cat confdefs.h >>conftest.$ac_ext
14668 cat >>conftest.$ac_ext <<_ACEOF
14669 /* end confdefs.h. */
14682 rm -f conftest.$ac_objext
14683 if { (ac_try="$ac_compile"
14684 case "(($ac_try" in
14685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14686 *) ac_try_echo=$ac_try;;
14688 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14689 (eval "$ac_compile") 2>conftest.er1
14691 grep -v '^ *+' conftest.er1 >conftest.err
14693 cat conftest.err >&5
14694 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14695 (exit $ac_status); } && {
14696 test -z "$ac_c_werror_flag" ||
14697 test ! -s conftest.err
14698 } && test -s conftest.$ac_objext; then
14699 ac_compiler_gnu=yes
14701 echo "$as_me: failed program was
:" >&5
14702 sed 's/^/| /' conftest.$ac_ext >&5
14707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14708 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14711 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14712 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14713 GCC=`test $ac_compiler_gnu = yes && echo yes`
14714 ac_test_CFLAGS=${CFLAGS+set}
14715 ac_save_CFLAGS=$CFLAGS
14716 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14717 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14718 if test "${ac_cv_prog_cc_g+set}" = set; then
14719 echo $ECHO_N "(cached
) $ECHO_C" >&6
14721 ac_save_c_werror_flag=$ac_c_werror_flag
14722 ac_c_werror_flag=yes
14725 cat >conftest.$ac_ext <<_ACEOF
14728 cat confdefs.h >>conftest.$ac_ext
14729 cat >>conftest.$ac_ext <<_ACEOF
14730 /* end confdefs.h. */
14740 rm -f conftest.$ac_objext
14741 if { (ac_try="$ac_compile"
14742 case "(($ac_try" in
14743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14744 *) ac_try_echo=$ac_try;;
14746 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14747 (eval "$ac_compile") 2>conftest.er1
14749 grep -v '^ *+' conftest.er1 >conftest.err
14751 cat conftest.err >&5
14752 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14753 (exit $ac_status); } && {
14754 test -z "$ac_c_werror_flag" ||
14755 test ! -s conftest.err
14756 } && test -s conftest.$ac_objext; then
14757 ac_cv_prog_cc_g=yes
14759 echo "$as_me: failed program was
:" >&5
14760 sed 's/^/| /' conftest.$ac_ext >&5
14763 cat >conftest.$ac_ext <<_ACEOF
14766 cat confdefs.h >>conftest.$ac_ext
14767 cat >>conftest.$ac_ext <<_ACEOF
14768 /* end confdefs.h. */
14778 rm -f conftest.$ac_objext
14779 if { (ac_try="$ac_compile"
14780 case "(($ac_try" in
14781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14782 *) ac_try_echo=$ac_try;;
14784 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14785 (eval "$ac_compile") 2>conftest.er1
14787 grep -v '^ *+' conftest.er1 >conftest.err
14789 cat conftest.err >&5
14790 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14791 (exit $ac_status); } && {
14792 test -z "$ac_c_werror_flag" ||
14793 test ! -s conftest.err
14794 } && test -s conftest.$ac_objext; then
14797 echo "$as_me: failed program was
:" >&5
14798 sed 's/^/| /' conftest.$ac_ext >&5
14800 ac_c_werror_flag=$ac_save_c_werror_flag
14802 cat >conftest.$ac_ext <<_ACEOF
14805 cat confdefs.h >>conftest.$ac_ext
14806 cat >>conftest.$ac_ext <<_ACEOF
14807 /* end confdefs.h. */
14817 rm -f conftest.$ac_objext
14818 if { (ac_try="$ac_compile"
14819 case "(($ac_try" in
14820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14821 *) ac_try_echo=$ac_try;;
14823 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14824 (eval "$ac_compile") 2>conftest.er1
14826 grep -v '^ *+' conftest.er1 >conftest.err
14828 cat conftest.err >&5
14829 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14830 (exit $ac_status); } && {
14831 test -z "$ac_c_werror_flag" ||
14832 test ! -s conftest.err
14833 } && test -s conftest.$ac_objext; then
14834 ac_cv_prog_cc_g=yes
14836 echo "$as_me: failed program was
:" >&5
14837 sed 's/^/| /' conftest.$ac_ext >&5
14842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14849 ac_c_werror_flag=$ac_save_c_werror_flag
14851 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14852 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14853 if test "$ac_test_CFLAGS" = set; then
14854 CFLAGS=$ac_save_CFLAGS
14855 elif test $ac_cv_prog_cc_g = yes; then
14856 if test "$GCC" = yes; then
14862 if test "$GCC" = yes; then
14868 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14869 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14870 if test "${ac_cv_prog_cc_c89+set}" = set; then
14871 echo $ECHO_N "(cached
) $ECHO_C" >&6
14873 ac_cv_prog_cc_c89=no
14875 cat >conftest.$ac_ext <<_ACEOF
14878 cat confdefs.h >>conftest.$ac_ext
14879 cat >>conftest.$ac_ext <<_ACEOF
14880 /* end confdefs.h. */
14881 #include <stdarg.h>
14883 #include <sys/types.h>
14884 #include <sys/stat.h>
14885 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14886 struct buf { int x; };
14887 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14888 static char *e (p, i)
14894 static char *f (char * (*g) (char **, int), char **p, ...)
14899 s = g (p, va_arg (v,int));
14904 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14905 function prototypes and stuff, but not '\xHH' hex character constants.
14906 These don't provoke an error unfortunately, instead are silently treated
14907 as 'x'. The following induces an error, until -std is added to get
14908 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14909 array size at least. It's necessary to write '\x00'==0 to get something
14910 that's true only with -std. */
14911 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14913 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14914 inside strings and character constants. */
14916 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14918 int test (int i, double x);
14919 struct s1 {int (*f) (int a);};
14920 struct s2 {int (*f) (double a);};
14921 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14927 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14932 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14933 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14935 CC="$ac_save_CC $ac_arg"
14936 rm -f conftest.$ac_objext
14937 if { (ac_try="$ac_compile"
14938 case "(($ac_try" in
14939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14940 *) ac_try_echo=$ac_try;;
14942 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14943 (eval "$ac_compile") 2>conftest.er1
14945 grep -v '^ *+' conftest.er1 >conftest.err
14947 cat conftest.err >&5
14948 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14949 (exit $ac_status); } && {
14950 test -z "$ac_c_werror_flag" ||
14951 test ! -s conftest.err
14952 } && test -s conftest.$ac_objext; then
14953 ac_cv_prog_cc_c89=$ac_arg
14955 echo "$as_me: failed program was
:" >&5
14956 sed 's/^/| /' conftest.$ac_ext >&5
14961 rm -f core conftest.err conftest.$ac_objext
14962 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14964 rm -f conftest.$ac_ext
14969 case "x
$ac_cv_prog_cc_c89" in
14971 { echo "$as_me:$LINENO: result
: none needed
" >&5
14972 echo "${ECHO_T}none needed
" >&6; } ;;
14974 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14975 echo "${ECHO_T}unsupported
" >&6; } ;;
14977 CC="$CC $ac_cv_prog_cc_c89"
14978 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14979 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14984 ac_cpp='$CPP $CPPFLAGS'
14985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14993 ac_cpp='$CPP $CPPFLAGS'
14994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14998 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14999 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15000 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15001 echo $ECHO_N "(cached
) $ECHO_C" >&6
15003 cat >conftest.$ac_ext <<_ACEOF
15006 cat confdefs.h >>conftest.$ac_ext
15007 cat >>conftest.$ac_ext <<_ACEOF
15008 /* end confdefs.h. */
15014 #ifndef __INTEL_COMPILER
15022 rm -f conftest.$ac_objext
15023 if { (ac_try="$ac_compile"
15024 case "(($ac_try" in
15025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15026 *) ac_try_echo=$ac_try;;
15028 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15029 (eval "$ac_compile") 2>conftest.er1
15031 grep -v '^ *+' conftest.er1 >conftest.err
15033 cat conftest.err >&5
15034 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15035 (exit $ac_status); } && {
15036 test -z "$ac_c_werror_flag" ||
15037 test ! -s conftest.err
15038 } && test -s conftest.$ac_objext; then
15039 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15041 echo "$as_me: failed program was
:" >&5
15042 sed 's/^/| /' conftest.$ac_ext >&5
15044 bakefile_cv_c_compiler___INTEL_COMPILER=no
15048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15052 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15053 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15054 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15060 ac_cpp='$CPP $CPPFLAGS'
15061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15068 if test "$INTELCC" = "yes"; then
15072 ac_cpp='$CPP $CPPFLAGS'
15073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15077 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15078 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15079 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15080 echo $ECHO_N "(cached
) $ECHO_C" >&6
15082 cat >conftest.$ac_ext <<_ACEOF
15085 cat confdefs.h >>conftest.$ac_ext
15086 cat >>conftest.$ac_ext <<_ACEOF
15087 /* end confdefs.h. */
15093 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15101 rm -f conftest.$ac_objext
15102 if { (ac_try="$ac_compile"
15103 case "(($ac_try" in
15104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15105 *) ac_try_echo=$ac_try;;
15107 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15108 (eval "$ac_compile") 2>conftest.er1
15110 grep -v '^ *+' conftest.er1 >conftest.err
15112 cat conftest.err >&5
15113 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15114 (exit $ac_status); } && {
15115 test -z "$ac_c_werror_flag" ||
15116 test ! -s conftest.err
15117 } && test -s conftest.$ac_objext; then
15118 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15120 echo "$as_me: failed program was
:" >&5
15121 sed 's/^/| /' conftest.$ac_ext >&5
15123 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15131 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15132 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15133 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15139 ac_cpp='$CPP $CPPFLAGS'
15140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15149 ac_cpp='$CPP $CPPFLAGS'
15150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15154 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15155 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15156 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15157 echo $ECHO_N "(cached
) $ECHO_C" >&6
15159 cat >conftest.$ac_ext <<_ACEOF
15162 cat confdefs.h >>conftest.$ac_ext
15163 cat >>conftest.$ac_ext <<_ACEOF
15164 /* end confdefs.h. */
15170 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15178 rm -f conftest.$ac_objext
15179 if { (ac_try="$ac_compile"
15180 case "(($ac_try" in
15181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15182 *) ac_try_echo=$ac_try;;
15184 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15185 (eval "$ac_compile") 2>conftest.er1
15187 grep -v '^ *+' conftest.er1 >conftest.err
15189 cat conftest.err >&5
15190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15191 (exit $ac_status); } && {
15192 test -z "$ac_c_werror_flag" ||
15193 test ! -s conftest.err
15194 } && test -s conftest.$ac_objext; then
15195 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15197 echo "$as_me: failed program was
:" >&5
15198 sed 's/^/| /' conftest.$ac_ext >&5
15200 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15208 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15209 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15210 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15216 ac_cpp='$CPP $CPPFLAGS'
15217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15225 if test "x
$GCC" != "xyes
"; then
15226 if test "xCC
" = "xC
"; then
15227 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15228 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15229 if test "${bakefile_cv_c_exto+set}" = set; then
15230 echo $ECHO_N "(cached
) $ECHO_C" >&6
15232 cat >conftest.$ac_ext <<_ACEOF
15235 cat confdefs.h >>conftest.$ac_ext
15236 cat >>conftest.$ac_ext <<_ACEOF
15237 /* end confdefs.h. */
15247 rm -f conftest.$ac_objext conftest.$ac_ext.o
15248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15249 (eval $ac_compile) 2>&5
15251 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15252 (exit $ac_status); }; then
15253 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15255 conftest.$ac_ext.o)
15256 bakefile_cv_c_exto="-ext o
"
15263 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15264 See \
`config.log' for more details." >&5
15265 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15266 See \`config.log
' for more details." >&2;}
15267 { (exit 1); exit 1; }; }
15271 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15274 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15275 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15276 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15277 if test "c" = "c"; then
15278 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15280 if test "c" = "cxx"; then
15281 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15285 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15286 unset ac_cv_prog_cc_g
15287 ac_test_CFLAGS=${CFLAGS+set}
15288 ac_save_CFLAGS=$CFLAGS
15289 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15290 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15291 if test "${ac_cv_prog_cc_g+set}" = set; then
15292 echo $ECHO_N "(cached) $ECHO_C" >&6
15294 ac_save_c_werror_flag=$ac_c_werror_flag
15295 ac_c_werror_flag=yes
15298 cat >conftest.$ac_ext <<_ACEOF
15301 cat confdefs.h >>conftest.$ac_ext
15302 cat >>conftest.$ac_ext <<_ACEOF
15303 /* end confdefs.h. */
15313 rm -f conftest.$ac_objext
15314 if { (ac_try="$ac_compile"
15315 case "(($ac_try" in
15316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15317 *) ac_try_echo=$ac_try;;
15319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15320 (eval "$ac_compile") 2>conftest.er1
15322 grep -v '^
*+' conftest.er1 >conftest.err
15324 cat conftest.err >&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); } && {
15327 test -z "$ac_c_werror_flag" ||
15328 test ! -s conftest.err
15329 } && test -s conftest.$ac_objext; then
15330 ac_cv_prog_cc_g=yes
15332 echo "$as_me: failed program was:" >&5
15333 sed 's
/^
/| /' conftest.$ac_ext >&5
15336 cat >conftest.$ac_ext <<_ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15351 rm -f conftest.$ac_objext
15352 if { (ac_try="$ac_compile"
15353 case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_compile") 2>conftest.er1
15360 grep -v '^
*+' conftest.er1 >conftest.err
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_c_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest.$ac_objext; then
15370 echo "$as_me: failed program was:" >&5
15371 sed 's
/^
/| /' conftest.$ac_ext >&5
15373 ac_c_werror_flag=$ac_save_c_werror_flag
15375 cat >conftest.$ac_ext <<_ACEOF
15378 cat confdefs.h >>conftest.$ac_ext
15379 cat >>conftest.$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15390 rm -f conftest.$ac_objext
15391 if { (ac_try="$ac_compile"
15392 case "(($ac_try" in
15393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15394 *) ac_try_echo=$ac_try;;
15396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15397 (eval "$ac_compile") 2>conftest.er1
15399 grep -v '^
*+' conftest.er1 >conftest.err
15401 cat conftest.err >&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } && {
15404 test -z "$ac_c_werror_flag" ||
15405 test ! -s conftest.err
15406 } && test -s conftest.$ac_objext; then
15407 ac_cv_prog_cc_g=yes
15409 echo "$as_me: failed program was:" >&5
15410 sed 's
/^
/| /' conftest.$ac_ext >&5
15415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15422 ac_c_werror_flag=$ac_save_c_werror_flag
15424 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15425 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15426 if test "$ac_test_CFLAGS" = set; then
15427 CFLAGS=$ac_save_CFLAGS
15428 elif test $ac_cv_prog_cc_g = yes; then
15429 if test "$GCC" = yes; then
15435 if test "$GCC" = yes; then
15449 ac_cpp='$CPP $CPPFLAGS'
15450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15451 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15454 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15455 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15456 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15457 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 cat >conftest.$ac_ext <<_ACEOF
15462 cat confdefs.h >>conftest.$ac_ext
15463 cat >>conftest.$ac_ext <<_ACEOF
15464 /* end confdefs.h. */
15478 rm -f conftest.$ac_objext
15479 if { (ac_try="$ac_compile"
15480 case "(($ac_try" in
15481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15482 *) ac_try_echo=$ac_try;;
15484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15485 (eval "$ac_compile") 2>conftest.er1
15487 grep -v '^
*+' conftest.er1 >conftest.err
15489 cat conftest.err >&5
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); } && {
15492 test -z "$ac_c_werror_flag" ||
15493 test ! -s conftest.err
15494 } && test -s conftest.$ac_objext; then
15495 bakefile_cv_c_compiler___xlC__=yes
15497 echo "$as_me: failed program was:" >&5
15498 sed 's
/^
/| /' conftest.$ac_ext >&5
15500 bakefile_cv_c_compiler___xlC__=no
15504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15508 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15509 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15510 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15516 ac_cpp='$CPP $CPPFLAGS'
15517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15518 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15529 ac_cpp='$CPP $CPPFLAGS'
15530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15531 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15534 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15535 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15536 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15537 echo $ECHO_N "(cached) $ECHO_C" >&6
15539 cat >conftest.$ac_ext <<_ACEOF
15542 cat confdefs.h >>conftest.$ac_ext
15543 cat >>conftest.$ac_ext <<_ACEOF
15544 /* end confdefs.h. */
15558 rm -f conftest.$ac_objext
15559 if { (ac_try="$ac_compile"
15560 case "(($ac_try" in
15561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15562 *) ac_try_echo=$ac_try;;
15564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15565 (eval "$ac_compile") 2>conftest.er1
15567 grep -v '^
*+' conftest.er1 >conftest.err
15569 cat conftest.err >&5
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); } && {
15572 test -z "$ac_c_werror_flag" ||
15573 test ! -s conftest.err
15574 } && test -s conftest.$ac_objext; then
15575 bakefile_cv_c_compiler___MWERKS__=yes
15577 echo "$as_me: failed program was:" >&5
15578 sed 's
/^
/| /' conftest.$ac_ext >&5
15580 bakefile_cv_c_compiler___MWERKS__=no
15584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15588 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15589 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15590 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15596 ac_cpp='$CPP $CPPFLAGS'
15597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15598 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15603 if test "$MWCC" != "yes"; then
15607 ac_cpp='$CPP $CPPFLAGS'
15608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15609 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15612 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15613 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15614 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15615 echo $ECHO_N "(cached) $ECHO_C" >&6
15617 cat >conftest.$ac_ext <<_ACEOF
15620 cat confdefs.h >>conftest.$ac_ext
15621 cat >>conftest.$ac_ext <<_ACEOF
15622 /* end confdefs.h. */
15636 rm -f conftest.$ac_objext
15637 if { (ac_try="$ac_compile"
15638 case "(($ac_try" in
15639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15640 *) ac_try_echo=$ac_try;;
15642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15643 (eval "$ac_compile") 2>conftest.er1
15645 grep -v '^
*+' conftest.er1 >conftest.err
15647 cat conftest.err >&5
15648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15649 (exit $ac_status); } && {
15650 test -z "$ac_c_werror_flag" ||
15651 test ! -s conftest.err
15652 } && test -s conftest.$ac_objext; then
15653 bakefile_cv_c_compiler___xlC__=yes
15655 echo "$as_me: failed program was:" >&5
15656 sed 's
/^
/| /' conftest.$ac_ext >&5
15658 bakefile_cv_c_compiler___xlC__=no
15662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15666 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15667 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15668 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15674 ac_cpp='$CPP $CPPFLAGS'
15675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15676 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15688 ac_cpp='$CPP $CPPFLAGS'
15689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15690 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15693 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15694 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15695 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 cat >conftest.$ac_ext <<_ACEOF
15701 cat confdefs.h >>conftest.$ac_ext
15702 cat >>conftest.$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15709 #ifndef _SGI_COMPILER_VERSION
15717 rm -f conftest.$ac_objext
15718 if { (ac_try="$ac_compile"
15719 case "(($ac_try" in
15720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15721 *) ac_try_echo=$ac_try;;
15723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15724 (eval "$ac_compile") 2>conftest.er1
15726 grep -v '^
*+' conftest.er1 >conftest.err
15728 cat conftest.err >&5
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); } && {
15731 test -z "$ac_c_werror_flag" ||
15732 test ! -s conftest.err
15733 } && test -s conftest.$ac_objext; then
15734 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15736 echo "$as_me: failed program was:" >&5
15737 sed 's
/^
/| /' conftest.$ac_ext >&5
15739 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15747 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15748 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15749 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15755 ac_cpp='$CPP $CPPFLAGS'
15756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15757 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15765 if test "$INTELCC" != "yes"; then
15769 ac_cpp='$CPP $CPPFLAGS'
15770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15771 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15774 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15775 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15776 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15777 echo $ECHO_N "(cached) $ECHO_C" >&6
15779 cat >conftest.$ac_ext <<_ACEOF
15782 cat confdefs.h >>conftest.$ac_ext
15783 cat >>conftest.$ac_ext <<_ACEOF
15784 /* end confdefs.h. */
15798 rm -f conftest.$ac_objext
15799 if { (ac_try="$ac_compile"
15800 case "(($ac_try" in
15801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15802 *) ac_try_echo=$ac_try;;
15804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15805 (eval "$ac_compile") 2>conftest.er1
15807 grep -v '^
*+' conftest.er1 >conftest.err
15809 cat conftest.err >&5
15810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811 (exit $ac_status); } && {
15812 test -z "$ac_c_werror_flag" ||
15813 test ! -s conftest.err
15814 } && test -s conftest.$ac_objext; then
15815 bakefile_cv_c_compiler___SUNPRO_C=yes
15817 echo "$as_me: failed program was:" >&5
15818 sed 's
/^
/| /' conftest.$ac_ext >&5
15820 bakefile_cv_c_compiler___SUNPRO_C=no
15824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15828 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15829 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15830 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15836 ac_cpp='$CPP $CPPFLAGS'
15837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15838 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15850 ac_cpp='$CPP $CPPFLAGS'
15851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15852 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15855 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15856 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15857 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15858 echo $ECHO_N "(cached) $ECHO_C" >&6
15860 cat >conftest.$ac_ext <<_ACEOF
15863 cat confdefs.h >>conftest.$ac_ext
15864 cat >>conftest.$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15879 rm -f conftest.$ac_objext
15880 if { (ac_try="$ac_compile"
15881 case "(($ac_try" in
15882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15883 *) ac_try_echo=$ac_try;;
15885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15886 (eval "$ac_compile") 2>conftest.er1
15888 grep -v '^
*+' conftest.er1 >conftest.err
15890 cat conftest.err >&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); } && {
15893 test -z "$ac_c_werror_flag" ||
15894 test ! -s conftest.err
15895 } && test -s conftest.$ac_objext; then
15896 bakefile_cv_c_compiler___HP_cc=yes
15898 echo "$as_me: failed program was:" >&5
15899 sed 's
/^
/| /' conftest.$ac_ext >&5
15901 bakefile_cv_c_compiler___HP_cc=no
15905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15909 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15910 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15911 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15917 ac_cpp='$CPP $CPPFLAGS'
15918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15919 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15930 ac_cpp='$CPP $CPPFLAGS'
15931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15932 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15935 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15936 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15937 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15938 echo $ECHO_N "(cached) $ECHO_C" >&6
15940 cat >conftest.$ac_ext <<_ACEOF
15943 cat confdefs.h >>conftest.$ac_ext
15944 cat >>conftest.$ac_ext <<_ACEOF
15945 /* end confdefs.h. */
15959 rm -f conftest.$ac_objext
15960 if { (ac_try="$ac_compile"
15961 case "(($ac_try" in
15962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15963 *) ac_try_echo=$ac_try;;
15965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15966 (eval "$ac_compile") 2>conftest.er1
15968 grep -v '^
*+' conftest.er1 >conftest.err
15970 cat conftest.err >&5
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); } && {
15973 test -z "$ac_c_werror_flag" ||
15974 test ! -s conftest.err
15975 } && test -s conftest.$ac_objext; then
15976 bakefile_cv_c_compiler___DECC=yes
15978 echo "$as_me: failed program was:" >&5
15979 sed 's
/^
/| /' conftest.$ac_ext >&5
15981 bakefile_cv_c_compiler___DECC=no
15985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15989 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15990 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15991 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15997 ac_cpp='$CPP $CPPFLAGS'
15998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15999 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16010 ac_cpp='$CPP $CPPFLAGS'
16011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16012 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16015 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16016 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16017 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16018 echo $ECHO_N "(cached) $ECHO_C" >&6
16020 cat >conftest.$ac_ext <<_ACEOF
16023 cat confdefs.h >>conftest.$ac_ext
16024 cat >>conftest.$ac_ext <<_ACEOF
16025 /* end confdefs.h. */
16039 rm -f conftest.$ac_objext
16040 if { (ac_try="$ac_compile"
16041 case "(($ac_try" in
16042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16043 *) ac_try_echo=$ac_try;;
16045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16046 (eval "$ac_compile") 2>conftest.er1
16048 grep -v '^
*+' conftest.er1 >conftest.err
16050 cat conftest.err >&5
16051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16052 (exit $ac_status); } && {
16053 test -z "$ac_c_werror_flag" ||
16054 test ! -s conftest.err
16055 } && test -s conftest.$ac_objext; then
16056 bakefile_cv_c_compiler___SUNPRO_C=yes
16058 echo "$as_me: failed program was:" >&5
16059 sed 's
/^
/| /' conftest.$ac_ext >&5
16061 bakefile_cv_c_compiler___SUNPRO_C=no
16065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16069 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16070 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16071 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16077 ac_cpp='$CPP $CPPFLAGS'
16078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16079 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16091 ac_cpp='$CPP $CPPFLAGS'
16092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16093 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16095 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16096 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16097 # On Suns, sometimes $CPP names a directory.
16098 if test -n "$CPP" && test -d "$CPP"; then
16101 if test -z "$CPP"; then
16102 if test "${ac_cv_prog_CPP+set}" = set; then
16103 echo $ECHO_N "(cached) $ECHO_C" >&6
16105 # Double quotes because CPP needs to be expanded
16106 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16108 ac_preproc_ok=false
16109 for ac_c_preproc_warn_flag in '' yes
16111 # Use a header file that comes with gcc, so configuring glibc
16112 # with a fresh cross-compiler works.
16113 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16114 # <limits.h> exists even on freestanding compilers.
16115 # On the NeXT, cc -E runs the code through the compiler's parser
,
16116 # not just through cpp. "Syntax error" is here to catch this case.
16117 cat >conftest.
$ac_ext <<_ACEOF
16120 cat confdefs.h
>>conftest.
$ac_ext
16121 cat >>conftest.
$ac_ext <<_ACEOF
16122 /* end confdefs.h. */
16124 # include <limits.h>
16126 # include <assert.h>
16130 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16131 case "(($ac_try" in
16132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16133 *) ac_try_echo=$ac_try;;
16135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16136 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16138 grep -v '^ *+' conftest.er1 >conftest.err
16140 cat conftest.err >&5
16141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16142 (exit $ac_status); } >/dev/null && {
16143 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16144 test ! -s conftest.err
16148 echo "$as_me: failed program was:" >&5
16149 sed 's/^/| /' conftest.$ac_ext >&5
16151 # Broken: fails on valid input.
16155 rm -f conftest.err conftest.$ac_ext
16157 # OK, works on sane cases. Now check whether nonexistent headers
16158 # can be detected and how.
16159 cat >conftest.$ac_ext <<_ACEOF
16162 cat confdefs.h >>conftest.$ac_ext
16163 cat >>conftest.$ac_ext <<_ACEOF
16164 /* end confdefs.h. */
16165 #include <ac_nonexistent.h>
16167 if { (ac_try="$ac_cpp conftest.$ac_ext"
16168 case "(($ac_try" in
16169 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16170 *) ac_try_echo
=$ac_try;;
16172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16173 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16175 grep -v '^ *+' conftest.er1
>conftest.err
16177 cat conftest.err
>&5
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); } >/dev
/null
&& {
16180 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16181 test ! -s conftest.err
16183 # Broken: success on invalid input.
16186 echo "$as_me: failed program was:" >&5
16187 sed 's/^/| /' conftest.
$ac_ext >&5
16189 # Passes both tests.
16194 rm -f conftest.err conftest.
$ac_ext
16197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16198 rm -f conftest.err conftest.
$ac_ext
16199 if $ac_preproc_ok; then
16204 ac_cv_prog_CPP
=$CPP
16207 CPP
=$ac_cv_prog_CPP
16209 ac_cv_prog_CPP
=$CPP
16211 { echo "$as_me:$LINENO: result: $CPP" >&5
16212 echo "${ECHO_T}$CPP" >&6; }
16213 ac_preproc_ok
=false
16214 for ac_c_preproc_warn_flag
in '' yes
16216 # Use a header file that comes with gcc, so configuring glibc
16217 # with a fresh cross-compiler works.
16218 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16219 # <limits.h> exists even on freestanding compilers.
16220 # On the NeXT, cc -E runs the code through the compiler's parser,
16221 # not just through cpp. "Syntax error" is here to catch this case.
16222 cat >conftest.
$ac_ext <<_ACEOF
16225 cat confdefs.h
>>conftest.
$ac_ext
16226 cat >>conftest.
$ac_ext <<_ACEOF
16227 /* end confdefs.h. */
16229 # include <limits.h>
16231 # include <assert.h>
16235 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16236 case "(($ac_try" in
16237 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16238 *) ac_try_echo=$ac_try;;
16240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16241 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16243 grep -v '^ *+' conftest.er1 >conftest.err
16245 cat conftest.err >&5
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); } >/dev/null && {
16248 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16249 test ! -s conftest.err
16253 echo "$as_me: failed program was:" >&5
16254 sed 's/^/| /' conftest.$ac_ext >&5
16256 # Broken: fails on valid input.
16260 rm -f conftest.err conftest.$ac_ext
16262 # OK, works on sane cases. Now check whether nonexistent headers
16263 # can be detected and how.
16264 cat >conftest.$ac_ext <<_ACEOF
16267 cat confdefs.h >>conftest.$ac_ext
16268 cat >>conftest.$ac_ext <<_ACEOF
16269 /* end confdefs.h. */
16270 #include <ac_nonexistent.h>
16272 if { (ac_try="$ac_cpp conftest.$ac_ext"
16273 case "(($ac_try" in
16274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16275 *) ac_try_echo
=$ac_try;;
16277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16278 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16280 grep -v '^ *+' conftest.er1
>conftest.err
16282 cat conftest.err
>&5
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); } >/dev
/null
&& {
16285 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16286 test ! -s conftest.err
16288 # Broken: success on invalid input.
16291 echo "$as_me: failed program was:" >&5
16292 sed 's/^/| /' conftest.
$ac_ext >&5
16294 # Passes both tests.
16299 rm -f conftest.err conftest.
$ac_ext
16302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16303 rm -f conftest.err conftest.
$ac_ext
16304 if $ac_preproc_ok; then
16307 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16308 See \`config.log' for more details." >&5
16309 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16310 See \`config.log' for more details." >&2;}
16311 { (exit 1); exit 1; }; }
16315 ac_cpp
='$CPP $CPPFLAGS'
16316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16321 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16322 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16323 if test "${ac_cv_path_GREP+set}" = set; then
16324 echo $ECHO_N "(cached) $ECHO_C" >&6
16326 # Extract the first word of "grep ggrep" to use in msg output
16327 if test -z "$GREP"; then
16328 set dummy
grep ggrep
; ac_prog_name
=$2
16329 if test "${ac_cv_path_GREP+set}" = set; then
16330 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 ac_path_GREP_found
=false
16333 # Loop through the user's path and test for each of PROGNAME-LIST
16334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16335 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16338 test -z "$as_dir" && as_dir
=.
16339 for ac_prog
in grep ggrep
; do
16340 for ac_exec_ext
in '' $ac_executable_extensions; do
16341 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16342 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16343 # Check for GNU ac_path_GREP and select it if it is found.
16344 # Check for GNU $ac_path_GREP
16345 case `"$ac_path_GREP" --version 2>&1` in
16347 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16350 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16353 cat "conftest.in" "conftest.in" >"conftest.tmp"
16354 mv "conftest.tmp" "conftest.in"
16355 cp "conftest.in" "conftest.nl"
16356 echo 'GREP' >> "conftest.nl"
16357 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16358 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16359 ac_count
=`expr $ac_count + 1`
16360 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16361 # Best one so far, save it but keep looking for a better one
16362 ac_cv_path_GREP
="$ac_path_GREP"
16363 ac_path_GREP_max
=$ac_count
16365 # 10*(2^10) chars as input seems more than enough
16366 test $ac_count -gt 10 && break
16368 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16372 $ac_path_GREP_found && break 3
16382 GREP
="$ac_cv_path_GREP"
16383 if test -z "$GREP"; then
16384 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16385 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16386 { (exit 1); exit 1; }; }
16390 ac_cv_path_GREP
=$GREP
16395 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16396 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16397 GREP
="$ac_cv_path_GREP"
16400 { echo "$as_me:$LINENO: checking for egrep" >&5
16401 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16402 if test "${ac_cv_path_EGREP+set}" = set; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16405 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16406 then ac_cv_path_EGREP
="$GREP -E"
16408 # Extract the first word of "egrep" to use in msg output
16409 if test -z "$EGREP"; then
16410 set dummy
egrep; ac_prog_name
=$2
16411 if test "${ac_cv_path_EGREP+set}" = set; then
16412 echo $ECHO_N "(cached) $ECHO_C" >&6
16414 ac_path_EGREP_found
=false
16415 # Loop through the user's path and test for each of PROGNAME-LIST
16416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16417 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16420 test -z "$as_dir" && as_dir
=.
16421 for ac_prog
in egrep; do
16422 for ac_exec_ext
in '' $ac_executable_extensions; do
16423 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16424 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16425 # Check for GNU ac_path_EGREP and select it if it is found.
16426 # Check for GNU $ac_path_EGREP
16427 case `"$ac_path_EGREP" --version 2>&1` in
16429 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16432 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16435 cat "conftest.in" "conftest.in" >"conftest.tmp"
16436 mv "conftest.tmp" "conftest.in"
16437 cp "conftest.in" "conftest.nl"
16438 echo 'EGREP' >> "conftest.nl"
16439 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16440 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16441 ac_count
=`expr $ac_count + 1`
16442 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16443 # Best one so far, save it but keep looking for a better one
16444 ac_cv_path_EGREP
="$ac_path_EGREP"
16445 ac_path_EGREP_max
=$ac_count
16447 # 10*(2^10) chars as input seems more than enough
16448 test $ac_count -gt 10 && break
16450 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16454 $ac_path_EGREP_found && break 3
16464 EGREP
="$ac_cv_path_EGREP"
16465 if test -z "$EGREP"; then
16466 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16467 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16468 { (exit 1); exit 1; }; }
16472 ac_cv_path_EGREP
=$EGREP
16478 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16479 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16480 EGREP
="$ac_cv_path_EGREP"
16483 if test $ac_cv_c_compiler_gnu = yes; then
16484 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16485 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16486 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16487 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 ac_pattern
="Autoconf.*'x'"
16490 cat >conftest.
$ac_ext <<_ACEOF
16493 cat confdefs.h
>>conftest.
$ac_ext
16494 cat >>conftest.
$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16500 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16501 ac_cv_prog_gcc_traditional
=yes
16503 ac_cv_prog_gcc_traditional
=no
16508 if test $ac_cv_prog_gcc_traditional = no
; then
16509 cat >conftest.
$ac_ext <<_ACEOF
16512 cat confdefs.h
>>conftest.
$ac_ext
16513 cat >>conftest.
$ac_ext <<_ACEOF
16514 /* end confdefs.h. */
16515 #include <termio.h>
16518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16519 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16520 ac_cv_prog_gcc_traditional
=yes
16526 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16527 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16528 if test $ac_cv_prog_gcc_traditional = yes; then
16529 CC
="$CC -traditional"
16534 CXXFLAGS
=${CXXFLAGS:=}
16539 ac_cpp
='$CXXCPP $CPPFLAGS'
16540 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16541 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16542 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16543 if test -z "$CXX"; then
16544 if test -n "$CCC"; then
16547 if test -n "$ac_tool_prefix"; then
16548 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16550 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16551 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16554 if test "${ac_cv_prog_CXX+set}" = set; then
16555 echo $ECHO_N "(cached) $ECHO_C" >&6
16557 if test -n "$CXX"; then
16558 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16561 for as_dir
in $PATH
16564 test -z "$as_dir" && as_dir
=.
16565 for ac_exec_ext
in '' $ac_executable_extensions; do
16566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16567 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16577 CXX
=$ac_cv_prog_CXX
16578 if test -n "$CXX"; then
16579 { echo "$as_me:$LINENO: result: $CXX" >&5
16580 echo "${ECHO_T}$CXX" >&6; }
16582 { echo "$as_me:$LINENO: result: no" >&5
16583 echo "${ECHO_T}no" >&6; }
16587 test -n "$CXX" && break
16590 if test -z "$CXX"; then
16592 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16594 # Extract the first word of "$ac_prog", so it can be a program name with args.
16595 set dummy
$ac_prog; ac_word
=$2
16596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16598 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16599 echo $ECHO_N "(cached) $ECHO_C" >&6
16601 if test -n "$ac_ct_CXX"; then
16602 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16605 for as_dir
in $PATH
16608 test -z "$as_dir" && as_dir
=.
16609 for ac_exec_ext
in '' $ac_executable_extensions; do
16610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16611 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16621 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16622 if test -n "$ac_ct_CXX"; then
16623 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16624 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16626 { echo "$as_me:$LINENO: result: no" >&5
16627 echo "${ECHO_T}no" >&6; }
16631 test -n "$ac_ct_CXX" && break
16634 if test "x$ac_ct_CXX" = x
; then
16637 case $cross_compiling:$ac_tool_warned in
16639 { echo "$as_me:$LINENO: 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." >&5
16642 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16643 whose name does not start with the host triplet. If you think this
16644 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16645 ac_tool_warned
=yes ;;
16653 # Provide some information about the compiler.
16654 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16655 ac_compiler
=`set X $ac_compile; echo $2`
16656 { (ac_try
="$ac_compiler --version >&5"
16657 case "(($ac_try" in
16658 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16659 *) ac_try_echo=$ac_try;;
16661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16662 (eval "$ac_compiler --version >&5") 2>&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); }
16666 { (ac_try="$ac_compiler -v >&5"
16667 case "(($ac_try" in
16668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16669 *) ac_try_echo
=$ac_try;;
16671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16672 (eval "$ac_compiler -v >&5") 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }
16676 { (ac_try
="$ac_compiler -V >&5"
16677 case "(($ac_try" in
16678 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16679 *) ac_try_echo=$ac_try;;
16681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16682 (eval "$ac_compiler -V >&5") 2>&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); }
16687 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16688 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16689 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16690 echo $ECHO_N "(cached) $ECHO_C" >&6
16692 cat >conftest.$ac_ext <<_ACEOF
16695 cat confdefs.h >>conftest.$ac_ext
16696 cat >>conftest.$ac_ext <<_ACEOF
16697 /* end confdefs.h. */
16710 rm -f conftest.$ac_objext
16711 if { (ac_try="$ac_compile"
16712 case "(($ac_try" in
16713 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16714 *) ac_try_echo
=$ac_try;;
16716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16717 (eval "$ac_compile") 2>conftest.er1
16719 grep -v '^ *+' conftest.er1
>conftest.err
16721 cat conftest.err
>&5
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); } && {
16724 test -z "$ac_cxx_werror_flag" ||
16725 test ! -s conftest.err
16726 } && test -s conftest.
$ac_objext; then
16727 ac_compiler_gnu
=yes
16729 echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.
$ac_ext >&5
16735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16736 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16739 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16740 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16741 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16742 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16743 ac_save_CXXFLAGS
=$CXXFLAGS
16744 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16745 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16746 if test "${ac_cv_prog_cxx_g+set}" = set; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16749 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16750 ac_cxx_werror_flag
=yes
16751 ac_cv_prog_cxx_g
=no
16753 cat >conftest.
$ac_ext <<_ACEOF
16756 cat confdefs.h
>>conftest.
$ac_ext
16757 cat >>conftest.
$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16768 rm -f conftest.
$ac_objext
16769 if { (ac_try
="$ac_compile"
16770 case "(($ac_try" in
16771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16772 *) ac_try_echo=$ac_try;;
16774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16775 (eval "$ac_compile") 2>conftest.er1
16777 grep -v '^ *+' conftest.er1 >conftest.err
16779 cat conftest.err >&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); } && {
16782 test -z "$ac_cxx_werror_flag" ||
16783 test ! -s conftest.err
16784 } && test -s conftest.$ac_objext; then
16785 ac_cv_prog_cxx_g=yes
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16791 cat >conftest.$ac_ext <<_ACEOF
16794 cat confdefs.h >>conftest.$ac_ext
16795 cat >>conftest.$ac_ext <<_ACEOF
16796 /* end confdefs.h. */
16806 rm -f conftest.$ac_objext
16807 if { (ac_try="$ac_compile"
16808 case "(($ac_try" in
16809 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16810 *) ac_try_echo
=$ac_try;;
16812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16813 (eval "$ac_compile") 2>conftest.er1
16815 grep -v '^ *+' conftest.er1
>conftest.err
16817 cat conftest.err
>&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); } && {
16820 test -z "$ac_cxx_werror_flag" ||
16821 test ! -s conftest.err
16822 } && test -s conftest.
$ac_objext; then
16825 echo "$as_me: failed program was:" >&5
16826 sed 's/^/| /' conftest.
$ac_ext >&5
16828 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16830 cat >conftest.
$ac_ext <<_ACEOF
16833 cat confdefs.h
>>conftest.
$ac_ext
16834 cat >>conftest.
$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16845 rm -f conftest.
$ac_objext
16846 if { (ac_try
="$ac_compile"
16847 case "(($ac_try" in
16848 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16849 *) ac_try_echo=$ac_try;;
16851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16852 (eval "$ac_compile") 2>conftest.er1
16854 grep -v '^ *+' conftest.er1 >conftest.err
16856 cat conftest.err >&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); } && {
16859 test -z "$ac_cxx_werror_flag" ||
16860 test ! -s conftest.err
16861 } && test -s conftest.$ac_objext; then
16862 ac_cv_prog_cxx_g=yes
16864 echo "$as_me: failed program was:" >&5
16865 sed 's/^/| /' conftest.$ac_ext >&5
16870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16877 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16879 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16880 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16881 if test "$ac_test_CXXFLAGS" = set; then
16882 CXXFLAGS=$ac_save_CXXFLAGS
16883 elif test $ac_cv_prog_cxx_g = yes; then
16884 if test "$GXX" = yes; then
16890 if test "$GXX" = yes; then
16897 ac_cpp='$CPP $CPPFLAGS'
16898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16906 ac_cpp='$CXXCPP $CPPFLAGS'
16907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16911 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16912 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16913 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16914 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 cat >conftest.$ac_ext <<_ACEOF
16919 cat confdefs.h >>conftest.$ac_ext
16920 cat >>conftest.$ac_ext <<_ACEOF
16921 /* end confdefs.h. */
16927 #ifndef __INTEL_COMPILER
16935 rm -f conftest.$ac_objext
16936 if { (ac_try="$ac_compile"
16937 case "(($ac_try" in
16938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16939 *) ac_try_echo
=$ac_try;;
16941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16942 (eval "$ac_compile") 2>conftest.er1
16944 grep -v '^ *+' conftest.er1
>conftest.err
16946 cat conftest.err
>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } && {
16949 test -z "$ac_cxx_werror_flag" ||
16950 test ! -s conftest.err
16951 } && test -s conftest.
$ac_objext; then
16952 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16954 echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.
$ac_ext >&5
16957 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16965 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16966 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16967 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16973 ac_cpp
='$CPP $CPPFLAGS'
16974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16981 if test "$INTELCXX" = "yes"; then
16985 ac_cpp
='$CXXCPP $CPPFLAGS'
16986 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16987 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16988 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16990 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16991 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16992 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16993 echo $ECHO_N "(cached) $ECHO_C" >&6
16995 cat >conftest.
$ac_ext <<_ACEOF
16998 cat confdefs.h
>>conftest.
$ac_ext
16999 cat >>conftest.
$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17006 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17014 rm -f conftest.
$ac_objext
17015 if { (ac_try
="$ac_compile"
17016 case "(($ac_try" in
17017 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17018 *) ac_try_echo=$ac_try;;
17020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17021 (eval "$ac_compile") 2>conftest.er1
17023 grep -v '^ *+' conftest.er1 >conftest.err
17025 cat conftest.err >&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); } && {
17028 test -z "$ac_cxx_werror_flag" ||
17029 test ! -s conftest.err
17030 } && test -s conftest.$ac_objext; then
17031 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17033 echo "$as_me: failed program was:" >&5
17034 sed 's/^/| /' conftest.$ac_ext >&5
17036 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17044 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17045 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17046 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17052 ac_cpp='$CPP $CPPFLAGS'
17053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17062 ac_cpp='$CXXCPP $CPPFLAGS'
17063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17067 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17068 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17069 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17070 echo $ECHO_N "(cached) $ECHO_C" >&6
17072 cat >conftest.$ac_ext <<_ACEOF
17075 cat confdefs.h >>conftest.$ac_ext
17076 cat >>conftest.$ac_ext <<_ACEOF
17077 /* end confdefs.h. */
17083 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17091 rm -f conftest.$ac_objext
17092 if { (ac_try="$ac_compile"
17093 case "(($ac_try" in
17094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17095 *) ac_try_echo
=$ac_try;;
17097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17098 (eval "$ac_compile") 2>conftest.er1
17100 grep -v '^ *+' conftest.er1
>conftest.err
17102 cat conftest.err
>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } && {
17105 test -z "$ac_cxx_werror_flag" ||
17106 test ! -s conftest.err
17107 } && test -s conftest.
$ac_objext; then
17108 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17110 echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.
$ac_ext >&5
17113 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17121 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17122 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17123 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17129 ac_cpp
='$CPP $CPPFLAGS'
17130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17138 if test "x$GCXX" != "xyes"; then
17139 if test "xCXX" = "xC"; then
17140 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17141 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17142 if test "${bakefile_cv_c_exto+set}" = set; then
17143 echo $ECHO_N "(cached) $ECHO_C" >&6
17145 cat >conftest.
$ac_ext <<_ACEOF
17148 cat confdefs.h
>>conftest.
$ac_ext
17149 cat >>conftest.
$ac_ext <<_ACEOF
17150 /* end confdefs.h. */
17160 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17162 (eval $ac_compile) 2>&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); }; then
17166 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17168 conftest.
$ac_ext.o
)
17169 bakefile_cv_c_exto
="-ext o"
17176 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17177 See \`config.log' for more details." >&5
17178 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17179 See \`config.log' for more details." >&2;}
17180 { (exit 1); exit 1; }; }
17184 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17187 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17188 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17189 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17190 if test "c" = "c"; then
17191 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17193 if test "c" = "cxx"; then
17194 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17198 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17199 unset ac_cv_prog_cc_g
17200 ac_test_CFLAGS
=${CFLAGS+set}
17201 ac_save_CFLAGS
=$CFLAGS
17202 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17203 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17204 if test "${ac_cv_prog_cc_g+set}" = set; then
17205 echo $ECHO_N "(cached) $ECHO_C" >&6
17207 ac_save_c_werror_flag
=$ac_c_werror_flag
17208 ac_c_werror_flag
=yes
17211 cat >conftest.
$ac_ext <<_ACEOF
17214 cat confdefs.h
>>conftest.
$ac_ext
17215 cat >>conftest.
$ac_ext <<_ACEOF
17216 /* end confdefs.h. */
17226 rm -f conftest.
$ac_objext
17227 if { (ac_try
="$ac_compile"
17228 case "(($ac_try" in
17229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17230 *) ac_try_echo=$ac_try;;
17232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17233 (eval "$ac_compile") 2>conftest.er1
17235 grep -v '^ *+' conftest.er1 >conftest.err
17237 cat conftest.err >&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } && {
17240 test -z "$ac_c_werror_flag" ||
17241 test ! -s conftest.err
17242 } && test -s conftest.$ac_objext; then
17243 ac_cv_prog_cc_g=yes
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.$ac_ext >&5
17249 cat >conftest.$ac_ext <<_ACEOF
17252 cat confdefs.h >>conftest.$ac_ext
17253 cat >>conftest.$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17264 rm -f conftest.$ac_objext
17265 if { (ac_try="$ac_compile"
17266 case "(($ac_try" in
17267 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17268 *) ac_try_echo
=$ac_try;;
17270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17271 (eval "$ac_compile") 2>conftest.er1
17273 grep -v '^ *+' conftest.er1
>conftest.err
17275 cat conftest.err
>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } && {
17278 test -z "$ac_c_werror_flag" ||
17279 test ! -s conftest.err
17280 } && test -s conftest.
$ac_objext; then
17283 echo "$as_me: failed program was:" >&5
17284 sed 's/^/| /' conftest.
$ac_ext >&5
17286 ac_c_werror_flag
=$ac_save_c_werror_flag
17288 cat >conftest.
$ac_ext <<_ACEOF
17291 cat confdefs.h
>>conftest.
$ac_ext
17292 cat >>conftest.
$ac_ext <<_ACEOF
17293 /* end confdefs.h. */
17303 rm -f conftest.
$ac_objext
17304 if { (ac_try
="$ac_compile"
17305 case "(($ac_try" in
17306 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17307 *) ac_try_echo=$ac_try;;
17309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17310 (eval "$ac_compile") 2>conftest.er1
17312 grep -v '^ *+' conftest.er1 >conftest.err
17314 cat conftest.err >&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } && {
17317 test -z "$ac_c_werror_flag" ||
17318 test ! -s conftest.err
17319 } && test -s conftest.$ac_objext; then
17320 ac_cv_prog_cc_g=yes
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.$ac_ext >&5
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17335 ac_c_werror_flag=$ac_save_c_werror_flag
17337 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17338 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17339 if test "$ac_test_CFLAGS" = set; then
17340 CFLAGS=$ac_save_CFLAGS
17341 elif test $ac_cv_prog_cc_g = yes; then
17342 if test "$GCC" = yes; then
17348 if test "$GCC" = yes; then
17362 ac_cpp='$CXXCPP $CPPFLAGS'
17363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17367 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17368 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17369 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17370 echo $ECHO_N "(cached) $ECHO_C" >&6
17372 cat >conftest.$ac_ext <<_ACEOF
17375 cat confdefs.h >>conftest.$ac_ext
17376 cat >>conftest.$ac_ext <<_ACEOF
17377 /* end confdefs.h. */
17391 rm -f conftest.$ac_objext
17392 if { (ac_try="$ac_compile"
17393 case "(($ac_try" in
17394 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17395 *) ac_try_echo
=$ac_try;;
17397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17398 (eval "$ac_compile") 2>conftest.er1
17400 grep -v '^ *+' conftest.er1
>conftest.err
17402 cat conftest.err
>&5
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); } && {
17405 test -z "$ac_cxx_werror_flag" ||
17406 test ! -s conftest.err
17407 } && test -s conftest.
$ac_objext; then
17408 bakefile_cv_cxx_compiler___xlC__
=yes
17410 echo "$as_me: failed program was:" >&5
17411 sed 's/^/| /' conftest.
$ac_ext >&5
17413 bakefile_cv_cxx_compiler___xlC__
=no
17417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17421 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17422 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17423 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17429 ac_cpp
='$CPP $CPPFLAGS'
17430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17442 ac_cpp
='$CXXCPP $CPPFLAGS'
17443 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17444 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17445 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17447 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17448 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17449 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 cat >conftest.
$ac_ext <<_ACEOF
17455 cat confdefs.h
>>conftest.
$ac_ext
17456 cat >>conftest.
$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17471 rm -f conftest.
$ac_objext
17472 if { (ac_try
="$ac_compile"
17473 case "(($ac_try" in
17474 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17475 *) ac_try_echo=$ac_try;;
17477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17478 (eval "$ac_compile") 2>conftest.er1
17480 grep -v '^ *+' conftest.er1 >conftest.err
17482 cat conftest.err >&5
17483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17484 (exit $ac_status); } && {
17485 test -z "$ac_cxx_werror_flag" ||
17486 test ! -s conftest.err
17487 } && test -s conftest.$ac_objext; then
17488 bakefile_cv_cxx_compiler___MWERKS__=yes
17490 echo "$as_me: failed program was:" >&5
17491 sed 's/^/| /' conftest.$ac_ext >&5
17493 bakefile_cv_cxx_compiler___MWERKS__=no
17497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17501 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17502 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17503 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17509 ac_cpp='$CPP $CPPFLAGS'
17510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17516 if test "$MWCXX" != "yes"; then
17520 ac_cpp='$CXXCPP $CPPFLAGS'
17521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17525 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17526 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17527 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17528 echo $ECHO_N "(cached) $ECHO_C" >&6
17530 cat >conftest.$ac_ext <<_ACEOF
17533 cat confdefs.h >>conftest.$ac_ext
17534 cat >>conftest.$ac_ext <<_ACEOF
17535 /* end confdefs.h. */
17549 rm -f conftest.$ac_objext
17550 if { (ac_try="$ac_compile"
17551 case "(($ac_try" in
17552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17553 *) ac_try_echo
=$ac_try;;
17555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17556 (eval "$ac_compile") 2>conftest.er1
17558 grep -v '^ *+' conftest.er1
>conftest.err
17560 cat conftest.err
>&5
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); } && {
17563 test -z "$ac_cxx_werror_flag" ||
17564 test ! -s conftest.err
17565 } && test -s conftest.
$ac_objext; then
17566 bakefile_cv_cxx_compiler___xlC__
=yes
17568 echo "$as_me: failed program was:" >&5
17569 sed 's/^/| /' conftest.
$ac_ext >&5
17571 bakefile_cv_cxx_compiler___xlC__
=no
17575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17579 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17580 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17581 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17587 ac_cpp
='$CPP $CPPFLAGS'
17588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17601 ac_cpp
='$CXXCPP $CPPFLAGS'
17602 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17603 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17604 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17606 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17607 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17608 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17609 echo $ECHO_N "(cached) $ECHO_C" >&6
17611 cat >conftest.
$ac_ext <<_ACEOF
17614 cat confdefs.h
>>conftest.
$ac_ext
17615 cat >>conftest.
$ac_ext <<_ACEOF
17616 /* end confdefs.h. */
17622 #ifndef _SGI_COMPILER_VERSION
17630 rm -f conftest.
$ac_objext
17631 if { (ac_try
="$ac_compile"
17632 case "(($ac_try" in
17633 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17634 *) ac_try_echo=$ac_try;;
17636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17637 (eval "$ac_compile") 2>conftest.er1
17639 grep -v '^ *+' conftest.er1 >conftest.err
17641 cat conftest.err >&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); } && {
17644 test -z "$ac_cxx_werror_flag" ||
17645 test ! -s conftest.err
17646 } && test -s conftest.$ac_objext; then
17647 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17649 echo "$as_me: failed program was:" >&5
17650 sed 's/^/| /' conftest.$ac_ext >&5
17652 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17660 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17661 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17662 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17668 ac_cpp='$CPP $CPPFLAGS'
17669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17678 if test "$INTELCXX" != "yes"; then
17682 ac_cpp='$CXXCPP $CPPFLAGS'
17683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17687 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17688 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17689 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17690 echo $ECHO_N "(cached) $ECHO_C" >&6
17692 cat >conftest.$ac_ext <<_ACEOF
17695 cat confdefs.h >>conftest.$ac_ext
17696 cat >>conftest.$ac_ext <<_ACEOF
17697 /* end confdefs.h. */
17703 #ifndef __SUNPRO_CC
17711 rm -f conftest.$ac_objext
17712 if { (ac_try="$ac_compile"
17713 case "(($ac_try" in
17714 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17715 *) ac_try_echo
=$ac_try;;
17717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17718 (eval "$ac_compile") 2>conftest.er1
17720 grep -v '^ *+' conftest.er1
>conftest.err
17722 cat conftest.err
>&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); } && {
17725 test -z "$ac_cxx_werror_flag" ||
17726 test ! -s conftest.err
17727 } && test -s conftest.
$ac_objext; then
17728 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17730 echo "$as_me: failed program was:" >&5
17731 sed 's/^/| /' conftest.
$ac_ext >&5
17733 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17741 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17742 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17743 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17749 ac_cpp
='$CPP $CPPFLAGS'
17750 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17751 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17752 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17763 ac_cpp
='$CXXCPP $CPPFLAGS'
17764 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17765 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17766 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17768 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17769 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17770 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17771 echo $ECHO_N "(cached) $ECHO_C" >&6
17773 cat >conftest.
$ac_ext <<_ACEOF
17776 cat confdefs.h
>>conftest.
$ac_ext
17777 cat >>conftest.
$ac_ext <<_ACEOF
17778 /* end confdefs.h. */
17792 rm -f conftest.
$ac_objext
17793 if { (ac_try
="$ac_compile"
17794 case "(($ac_try" in
17795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17796 *) ac_try_echo=$ac_try;;
17798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17799 (eval "$ac_compile") 2>conftest.er1
17801 grep -v '^ *+' conftest.er1 >conftest.err
17803 cat conftest.err >&5
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } && {
17806 test -z "$ac_cxx_werror_flag" ||
17807 test ! -s conftest.err
17808 } && test -s conftest.$ac_objext; then
17809 bakefile_cv_cxx_compiler___HP_aCC=yes
17811 echo "$as_me: failed program was:" >&5
17812 sed 's/^/| /' conftest.$ac_ext >&5
17814 bakefile_cv_cxx_compiler___HP_aCC=no
17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17822 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17823 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17824 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17830 ac_cpp='$CPP $CPPFLAGS'
17831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17843 ac_cpp='$CXXCPP $CPPFLAGS'
17844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17848 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17849 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17850 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17851 echo $ECHO_N "(cached) $ECHO_C" >&6
17853 cat >conftest.$ac_ext <<_ACEOF
17856 cat confdefs.h >>conftest.$ac_ext
17857 cat >>conftest.$ac_ext <<_ACEOF
17858 /* end confdefs.h. */
17872 rm -f conftest.$ac_objext
17873 if { (ac_try="$ac_compile"
17874 case "(($ac_try" in
17875 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17876 *) ac_try_echo
=$ac_try;;
17878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17879 (eval "$ac_compile") 2>conftest.er1
17881 grep -v '^ *+' conftest.er1
>conftest.err
17883 cat conftest.err
>&5
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); } && {
17886 test -z "$ac_cxx_werror_flag" ||
17887 test ! -s conftest.err
17888 } && test -s conftest.
$ac_objext; then
17889 bakefile_cv_cxx_compiler___DECCXX
=yes
17891 echo "$as_me: failed program was:" >&5
17892 sed 's/^/| /' conftest.
$ac_ext >&5
17894 bakefile_cv_cxx_compiler___DECCXX
=no
17898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17902 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17903 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17904 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17910 ac_cpp
='$CPP $CPPFLAGS'
17911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17923 ac_cpp
='$CXXCPP $CPPFLAGS'
17924 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17925 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17926 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17928 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17929 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17930 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17931 echo $ECHO_N "(cached) $ECHO_C" >&6
17933 cat >conftest.
$ac_ext <<_ACEOF
17936 cat confdefs.h
>>conftest.
$ac_ext
17937 cat >>conftest.
$ac_ext <<_ACEOF
17938 /* end confdefs.h. */
17944 #ifndef __SUNPRO_CC
17952 rm -f conftest.
$ac_objext
17953 if { (ac_try
="$ac_compile"
17954 case "(($ac_try" in
17955 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17956 *) ac_try_echo=$ac_try;;
17958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17959 (eval "$ac_compile") 2>conftest.er1
17961 grep -v '^ *+' conftest.er1 >conftest.err
17963 cat conftest.err >&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } && {
17966 test -z "$ac_cxx_werror_flag" ||
17967 test ! -s conftest.err
17968 } && test -s conftest.$ac_objext; then
17969 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17971 echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.$ac_ext >&5
17974 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17982 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17983 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17984 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17990 ac_cpp='$CPP $CPPFLAGS'
17991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18003 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18004 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18005 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18006 { (exit 1); exit 1; }; }
18009 if test "x$SUNCXX" != xyes; then
18010 if test -n "$ac_tool_prefix"; then
18011 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18012 set dummy ${ac_tool_prefix}ar; ac_word=$2
18013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18015 if test "${ac_cv_prog_AR+set}" = set; then
18016 echo $ECHO_N "(cached) $ECHO_C" >&6
18018 if test -n "$AR"; then
18019 ac_cv_prog_AR="$AR" # Let the user override the test.
18021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18022 for as_dir in $PATH
18025 test -z "$as_dir" && as_dir=.
18026 for ac_exec_ext in '' $ac_executable_extensions; do
18027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18028 ac_cv_prog_AR="${ac_tool_prefix}ar"
18029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18039 if test -n "$AR"; then
18040 { echo "$as_me:$LINENO: result: $AR" >&5
18041 echo "${ECHO_T}$AR" >&6; }
18043 { echo "$as_me:$LINENO: result: no" >&5
18044 echo "${ECHO_T}no" >&6; }
18049 if test -z "$ac_cv_prog_AR"; then
18051 # Extract the first word of "ar", so it can be a program name with args.
18052 set dummy ar; ac_word=$2
18053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18055 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18056 echo $ECHO_N "(cached) $ECHO_C" >&6
18058 if test -n "$ac_ct_AR"; then
18059 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18062 for as_dir in $PATH
18065 test -z "$as_dir" && as_dir=.
18066 for ac_exec_ext in '' $ac_executable_extensions; do
18067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18068 ac_cv_prog_ac_ct_AR="ar"
18069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18078 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18079 if test -n "$ac_ct_AR"; then
18080 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18081 echo "${ECHO_T}$ac_ct_AR" >&6; }
18083 { echo "$as_me:$LINENO: result: no" >&5
18084 echo "${ECHO_T}no" >&6; }
18087 if test "x$ac_ct_AR" = x; then
18090 case $cross_compiling:$ac_tool_warned in
18092 { echo "$as_me:$LINENO: 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." >&5
18095 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18096 whose name does not start with the host triplet. If you think this
18097 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18098 ac_tool_warned=yes ;;
18103 AR="$ac_cv_prog_AR"
18106 if test "x$AR" = "x" ; then
18107 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18108 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18109 { (exit 1); exit 1; }; }
18113 retest_macosx_linking=no
18115 #if test "$wxUSE_MAC" = 1; then
18116 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18117 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18118 # Implicitly turn on the new --with-macosx-sdk using the default
18119 # SDK which provides the behavior this option has always had.
18120 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18121 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18122 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18123 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18124 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18125 wxUSE_MACOSX_SDK=yes
18128 # Complain to user if he specified an argument to --enable-universal_binary
18129 # and also 1) specified --with-macosx-sdk using the default (yes) or
18130 # 2) specified --with-macosx-sdk using a path or 3) specified
18131 # --without-macosx-sdk (no).
18132 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18133 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18134 See \`config.log
' for more details." >&5
18135 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18136 See \`config.log' for more details.
" >&2;}
18137 { (exit 1); exit 1; }; }
18139 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18140 # special-case the empty string because the below test simply
18141 # converts "no
" to the empty string anyway.
18142 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18143 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18144 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18147 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18148 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18149 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18150 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18151 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18152 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18153 retest_macosx_linking=yes
18155 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18156 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18161 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18163 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18164 # TODO: Search for most recent SDK and use it.
18165 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18169 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18170 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18171 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18172 if ! test -d "$wxUSE_MACOSX_SDK"; then
18173 { { echo "$as_me:$LINENO: error
: not found
18174 See \
`config.log' for more details." >&5
18175 echo "$as_me: error: not found
18176 See \`config.log
' for more details." >&2;}
18177 { (exit 1); exit 1; }; }
18179 { echo "$as_me:$LINENO: result: exists" >&5
18180 echo "${ECHO_T}exists" >&6; }
18182 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18183 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18184 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18185 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18186 retest_macosx_linking=yes
18189 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18190 wxUSE_MACOSX_VERSION_MIN=
18191 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18192 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18193 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18194 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18196 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/'`
18198 # If that failed, try again with the new key
18199 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18201 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/'`
18205 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18206 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18207 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18208 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18210 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18211 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18212 wxUSE_MACOSX_VERSION_MIN=
18215 wxUSE_MACOSX_VERSION_MIN=
18217 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18218 if test "$wxUSE_MAC" = 1; then
18219 # otherwise configure stops on leopard for universal_binary
18220 wxUSE_MACOSX_VERSION_MIN=10.4
18224 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18225 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18226 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18227 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18228 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18229 retest_macosx_linking=yes
18232 if test "x$retest_macosx_linking" = "xyes"; then
18234 ac_cpp='$CPP $CPPFLAGS'
18235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18236 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18239 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18240 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18241 cat >conftest.$ac_ext <<_ACEOF
18244 cat confdefs.h >>conftest.$ac_ext
18245 cat >>conftest.$ac_ext <<_ACEOF
18246 /* end confdefs.h. */
18256 rm -f conftest.$ac_objext conftest$ac_exeext
18257 if { (ac_try="$ac_link"
18258 case "(($ac_try" in
18259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18260 *) ac_try_echo=$ac_try;;
18262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18263 (eval "$ac_link") 2>conftest.er1
18265 grep -v '^
*+' conftest.er1 >conftest.err
18267 cat conftest.err >&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } && {
18270 test -z "$ac_c_werror_flag" ||
18271 test ! -s conftest.err
18272 } && test -s conftest$ac_exeext &&
18273 $as_test_x conftest$ac_exeext; then
18274 { echo "$as_me:$LINENO: result: yes" >&5
18275 echo "${ECHO_T}yes" >&6; }
18277 echo "$as_me: failed program was:" >&5
18278 sed 's
/^
/| /' conftest.$ac_ext >&5
18280 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18281 See \`config.log' for more details.
" >&5
18282 echo "$as_me: error
: no. Try a different SDK
18283 See \
`config.log' for more details." >&2;}
18284 { (exit 1); exit 1; }; }; exit 1
18287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18288 conftest$ac_exeext conftest.$ac_ext
18290 ac_cpp='$CPP $CPPFLAGS'
18291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18297 ac_cpp='$CXXCPP $CPPFLAGS'
18298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18302 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18303 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18304 cat >conftest.$ac_ext <<_ACEOF
18307 cat confdefs.h >>conftest.$ac_ext
18308 cat >>conftest.$ac_ext <<_ACEOF
18309 /* end confdefs.h. */
18319 rm -f conftest.$ac_objext conftest$ac_exeext
18320 if { (ac_try="$ac_link"
18321 case "(($ac_try" in
18322 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18323 *) ac_try_echo
=$ac_try;;
18325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18326 (eval "$ac_link") 2>conftest.er1
18328 grep -v '^ *+' conftest.er1
>conftest.err
18330 cat conftest.err
>&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); } && {
18333 test -z "$ac_cxx_werror_flag" ||
18334 test ! -s conftest.err
18335 } && test -s conftest
$ac_exeext &&
18336 $as_test_x conftest
$ac_exeext; then
18337 { echo "$as_me:$LINENO: result: yes" >&5
18338 echo "${ECHO_T}yes" >&6; }
18340 echo "$as_me: failed program was:" >&5
18341 sed 's/^/| /' conftest.
$ac_ext >&5
18343 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18344 See \`config.log' for more details." >&5
18345 echo "$as_me: error: no. Try a different SDK
18346 See \`config.log' for more details." >&2;}
18347 { (exit 1); exit 1; }; }; exit 1
18350 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18351 conftest
$ac_exeext conftest.
$ac_ext
18353 ac_cpp
='$CPP $CPPFLAGS'
18354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18364 INSTALL_PROGRAM
="cp -fp"
18365 INSTALL_DATA
="cp -fp"
18372 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18373 CXXFLAGS
="-qunique $CXXFLAGS"
18377 powerpc
-*-darwin* )
18378 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18379 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18380 cat >conftest.
$ac_ext <<_ACEOF
18383 cat confdefs.h
>>conftest.
$ac_ext
18384 cat >>conftest.
$ac_ext <<_ACEOF
18385 /* end confdefs.h. */
18390 #ifndef __POWERPC__
18391 choke me for lack of PowerPC
18398 rm -f conftest.
$ac_objext
18399 if { (ac_try
="$ac_compile"
18400 case "(($ac_try" in
18401 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18402 *) ac_try_echo=$ac_try;;
18404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18405 (eval "$ac_compile") 2>conftest.er1
18407 grep -v '^ *+' conftest.er1 >conftest.err
18409 cat conftest.err >&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); } && {
18412 test -z "$ac_c_werror_flag" ||
18413 test ! -s conftest.err
18414 } && test -s conftest.$ac_objext; then
18415 { echo "$as_me:$LINENO: result: yes" >&5
18416 echo "${ECHO_T}yes" >&6; }
18418 echo "$as_me: failed program was:" >&5
18419 sed 's/^/| /' conftest.$ac_ext >&5
18421 { echo "$as_me:$LINENO: result: no" >&5
18422 echo "${ECHO_T}no" >&6; }
18423 cat >>confdefs.h <<\_ACEOF
18424 #define __POWERPC__ 1
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18436 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18437 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18438 cat >conftest.$ac_ext <<_ACEOF
18441 cat confdefs.h >>conftest.$ac_ext
18442 cat >>conftest.$ac_ext <<_ACEOF
18443 /* end confdefs.h. */
18444 #include <CoreFoundation/CFBase.h>
18454 rm -f conftest.$ac_objext
18455 if { (ac_try="$ac_compile"
18456 case "(($ac_try" in
18457 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18458 *) ac_try_echo
=$ac_try;;
18460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18461 (eval "$ac_compile") 2>conftest.er1
18463 grep -v '^ *+' conftest.er1
>conftest.err
18465 cat conftest.err
>&5
18466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18467 (exit $ac_status); } && {
18468 test -z "$ac_c_werror_flag" ||
18469 test ! -s conftest.err
18470 } && test -s conftest.
$ac_objext; then
18471 { echo "$as_me:$LINENO: result: yes" >&5
18472 echo "${ECHO_T}yes" >&6; }
18474 echo "$as_me: failed program was:" >&5
18475 sed 's/^/| /' conftest.
$ac_ext >&5
18477 { echo "$as_me:$LINENO: result: no" >&5
18478 echo "${ECHO_T}no" >&6; }
18479 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18480 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18481 cat >conftest.
$ac_ext <<_ACEOF
18484 cat confdefs.h
>>conftest.
$ac_ext
18485 cat >>conftest.
$ac_ext <<_ACEOF
18486 /* end confdefs.h. */
18487 #define __CF_USE_FRAMEWORK_INCLUDES__
18488 #include <CoreFoundation/CFBase.h>
18498 rm -f conftest.
$ac_objext
18499 if { (ac_try
="$ac_compile"
18500 case "(($ac_try" in
18501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18502 *) ac_try_echo=$ac_try;;
18504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18505 (eval "$ac_compile") 2>conftest.er1
18507 grep -v '^ *+' conftest.er1 >conftest.err
18509 cat conftest.err >&5
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); } && {
18512 test -z "$ac_c_werror_flag" ||
18513 test ! -s conftest.err
18514 } && test -s conftest.$ac_objext; then
18515 { echo "$as_me:$LINENO: result: yes" >&5
18516 echo "${ECHO_T}yes" >&6; }
18517 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18519 echo "$as_me: failed program was:" >&5
18520 sed 's/^/| /' conftest.$ac_ext >&5
18522 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18523 See \`config.log
' for more details." >&5
18524 echo "$as_me: error: no. CoreFoundation not available.
18525 See \`config.log' for more details.
" >&2;}
18526 { (exit 1); exit 1; }; }
18530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18540 doesnt_want_win32=0
18543 if test "$wxUSE_MSW" = 1 ; then
18546 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18547 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18548 if test "${wx_cv_nocygwin+set}" = set; then
18549 echo $ECHO_N "(cached
) $ECHO_C" >&6
18552 cat >conftest.$ac_ext <<_ACEOF
18555 cat confdefs.h >>conftest.$ac_ext
18556 cat >>conftest.$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18571 rm -f conftest.$ac_objext
18572 if { (ac_try="$ac_compile"
18573 case "(($ac_try" in
18574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18575 *) ac_try_echo=$ac_try;;
18577 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18578 (eval "$ac_compile") 2>conftest.er1
18580 grep -v '^ *+' conftest.er1 >conftest.err
18582 cat conftest.err >&5
18583 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18584 (exit $ac_status); } && {
18585 test -z "$ac_c_werror_flag" ||
18586 test ! -s conftest.err
18587 } && test -s conftest.$ac_objext; then
18590 echo "$as_me: failed program was
:" >&5
18591 sed 's/^/| /' conftest.$ac_ext >&5
18597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18601 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18602 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18604 if test "$wx_cv_nocygwin" = "yes"; then
18607 doesnt_want_win32=1
18610 if test "$wants_win32" = 1 ; then
18611 BAKEFILE_FORCE_PLATFORM=win32
18619 if test "$wxUSE_WINE" = "yes"; then
18621 LDFLAGS_GUI="-mwindows"
18624 if test "$wants_win32" = 1 ; then
18627 cat >>confdefs.h <<\_ACEOF
18628 #define __WIN32__ 1
18631 cat >>confdefs.h <<\_ACEOF
18632 #define __WIN95__ 1
18635 cat >>confdefs.h <<\_ACEOF
18636 #define __WINDOWS__ 1
18639 cat >>confdefs.h <<\_ACEOF
18640 #define __GNUWIN32__ 1
18643 cat >>confdefs.h <<\_ACEOF
18648 if test "$doesnt_want_win32" = 1 ; then
18653 if test "$USE_UNIX" = 1 ; then
18655 cat >>confdefs.h <<\_ACEOF
18662 *-pc-os2_emx | *-pc-os2-emx )
18663 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18664 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18665 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18666 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18667 echo $ECHO_N "(cached
) $ECHO_C" >&6
18669 ac_check_lib_save_LIBS=$LIBS
18670 LIBS="-lcExt $LIBS"
18671 cat >conftest.$ac_ext <<_ACEOF
18674 cat confdefs.h >>conftest.$ac_ext
18675 cat >>conftest.$ac_ext <<_ACEOF
18676 /* end confdefs.h. */
18678 /* Override any GCC internal prototype to avoid an error.
18679 Use char because int might match the return type of a GCC
18680 builtin and then its argument prototype would still apply. */
18693 rm -f conftest.$ac_objext conftest$ac_exeext
18694 if { (ac_try="$ac_link"
18695 case "(($ac_try" in
18696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18697 *) ac_try_echo=$ac_try;;
18699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18700 (eval "$ac_link") 2>conftest.er1
18702 grep -v '^ *+' conftest.er1 >conftest.err
18704 cat conftest.err >&5
18705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18706 (exit $ac_status); } && {
18707 test -z "$ac_c_werror_flag" ||
18708 test ! -s conftest.err
18709 } && test -s conftest$ac_exeext &&
18710 $as_test_x conftest$ac_exeext; then
18711 ac_cv_lib_cExt_drand48=yes
18713 echo "$as_me: failed program was
:" >&5
18714 sed 's/^/| /' conftest.$ac_ext >&5
18716 ac_cv_lib_cExt_drand48=no
18719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18720 conftest$ac_exeext conftest.$ac_ext
18721 LIBS=$ac_check_lib_save_LIBS
18723 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18724 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18725 if test $ac_cv_lib_cExt_drand48 = yes; then
18726 LIBS="$LIBS -lcExt"
18730 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18732 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18733 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18734 if test "${wx_cv_gccversion+set}" = set; then
18735 echo $ECHO_N "(cached
) $ECHO_C" >&6
18738 if test "$cross_compiling" = yes; then
18739 wx_cv_gccversion="EMX2
"
18742 cat >conftest.$ac_ext <<_ACEOF
18745 cat confdefs.h >>conftest.$ac_ext
18746 cat >>conftest.$ac_ext <<_ACEOF
18747 /* end confdefs.h. */
18753 FILE *f=fopen("conftestval
", "w
");
18758 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18760 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18770 rm -f conftest$ac_exeext
18771 if { (ac_try="$ac_link"
18772 case "(($ac_try" in
18773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18774 *) ac_try_echo=$ac_try;;
18776 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18777 (eval "$ac_link") 2>&5
18779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18780 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18781 { (case "(($ac_try" in
18782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18783 *) ac_try_echo=$ac_try;;
18785 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18786 (eval "$ac_try") 2>&5
18788 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18789 (exit $ac_status); }; }; then
18790 wx_cv_gccversion=`cat conftestval`
18792 echo "$as_me: program exited with status
$ac_status" >&5
18793 echo "$as_me: failed program was
:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18796 ( exit $ac_status )
18797 wx_cv_gccversion="EMX2
"
18799 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18805 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18806 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18807 if test "$wx_cv_gccversion" = "EMX2
"; then
18808 LIBS="$LIBS -lstdcpp"
18809 LDFLAGS="$LDFLAGS -Zsysv-signals"
18811 if test "$wx_cv_gccversion" = "EMX3
"; then
18812 LIBS="$LIBS -lstdcxx -lgcc"
18813 LDFLAGS="$LDFLAGS -Zsysv-signals"
18815 LIBS="$LIBS -lstdc++"
18818 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18819 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18820 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18827 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18828 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18829 if test "${ac_cv_string_strcasecmp+set}" = set; then
18830 echo $ECHO_N "(cached
) $ECHO_C" >&6
18833 cat >conftest.$ac_ext <<_ACEOF
18836 cat confdefs.h >>conftest.$ac_ext
18837 cat >>conftest.$ac_ext <<_ACEOF
18838 /* end confdefs.h. */
18840 #include <string.h>
18846 strcasecmp("foo
", "bar
");
18852 rm -f conftest.$ac_objext conftest$ac_exeext
18853 if { (ac_try="$ac_link"
18854 case "(($ac_try" in
18855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18856 *) ac_try_echo=$ac_try;;
18858 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18859 (eval "$ac_link") 2>conftest.er1
18861 grep -v '^ *+' conftest.er1 >conftest.err
18863 cat conftest.err >&5
18864 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18865 (exit $ac_status); } && {
18866 test -z "$ac_c_werror_flag" ||
18867 test ! -s conftest.err
18868 } && test -s conftest$ac_exeext &&
18869 $as_test_x conftest$ac_exeext; then
18870 ac_cv_string_strcasecmp=yes
18872 echo "$as_me: failed program was
:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18875 ac_cv_string_strcasecmp=no
18879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18880 conftest$ac_exeext conftest.$ac_ext
18883 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18884 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18886 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18887 cat >>confdefs.h <<\_ACEOF
18888 #define HAVE_STRCASECMP_IN_STRING_H 1
18892 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18893 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18894 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18895 echo $ECHO_N "(cached
) $ECHO_C" >&6
18898 cat >conftest.$ac_ext <<_ACEOF
18901 cat confdefs.h >>conftest.$ac_ext
18902 cat >>conftest.$ac_ext <<_ACEOF
18903 /* end confdefs.h. */
18905 #include <strings.h>
18911 strcasecmp("foo
", "bar
");
18917 rm -f conftest.$ac_objext conftest$ac_exeext
18918 if { (ac_try="$ac_link"
18919 case "(($ac_try" in
18920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18921 *) ac_try_echo=$ac_try;;
18923 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18924 (eval "$ac_link") 2>conftest.er1
18926 grep -v '^ *+' conftest.er1 >conftest.err
18928 cat conftest.err >&5
18929 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18930 (exit $ac_status); } && {
18931 test -z "$ac_c_werror_flag" ||
18932 test ! -s conftest.err
18933 } && test -s conftest$ac_exeext &&
18934 $as_test_x conftest$ac_exeext; then
18935 ac_cv_strings_strcasecmp=yes
18937 echo "$as_me: failed program was
:" >&5
18938 sed 's/^/| /' conftest.$ac_ext >&5
18940 ac_cv_strings_strcasecmp=no
18944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18945 conftest$ac_exeext conftest.$ac_ext
18948 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18949 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18951 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18952 cat >>confdefs.h <<\_ACEOF
18953 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18957 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18958 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18959 { (exit 1); exit 1; }; }
18967 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18968 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18969 if test "${ac_cv_header_stdc+set}" = set; then
18970 echo $ECHO_N "(cached
) $ECHO_C" >&6
18972 cat >conftest.$ac_ext <<_ACEOF
18975 cat confdefs.h >>conftest.$ac_ext
18976 cat >>conftest.$ac_ext <<_ACEOF
18977 /* end confdefs.h. */
18978 #include <stdlib.h>
18979 #include <stdarg.h>
18980 #include <string.h>
18991 rm -f conftest.$ac_objext
18992 if { (ac_try="$ac_compile"
18993 case "(($ac_try" in
18994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18995 *) ac_try_echo=$ac_try;;
18997 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18998 (eval "$ac_compile") 2>conftest.er1
19000 grep -v '^ *+' conftest.er1 >conftest.err
19002 cat conftest.err >&5
19003 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19004 (exit $ac_status); } && {
19005 test -z "$ac_c_werror_flag" ||
19006 test ! -s conftest.err
19007 } && test -s conftest.$ac_objext; then
19008 ac_cv_header_stdc=yes
19010 echo "$as_me: failed program was
:" >&5
19011 sed 's/^/| /' conftest.$ac_ext >&5
19013 ac_cv_header_stdc=no
19016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018 if test $ac_cv_header_stdc = yes; then
19019 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19020 cat >conftest.$ac_ext <<_ACEOF
19023 cat confdefs.h >>conftest.$ac_ext
19024 cat >>conftest.$ac_ext <<_ACEOF
19025 /* end confdefs.h. */
19026 #include <string.h>
19029 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19030 $EGREP "memchr
" >/dev/null 2>&1; then
19033 ac_cv_header_stdc=no
19039 if test $ac_cv_header_stdc = yes; then
19040 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19041 cat >conftest.$ac_ext <<_ACEOF
19044 cat confdefs.h >>conftest.$ac_ext
19045 cat >>conftest.$ac_ext <<_ACEOF
19046 /* end confdefs.h. */
19047 #include <stdlib.h>
19050 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19051 $EGREP "free
" >/dev/null 2>&1; then
19054 ac_cv_header_stdc=no
19060 if test $ac_cv_header_stdc = yes; then
19061 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19062 if test "$cross_compiling" = yes; then
19065 cat >conftest.$ac_ext <<_ACEOF
19068 cat confdefs.h >>conftest.$ac_ext
19069 cat >>conftest.$ac_ext <<_ACEOF
19070 /* end confdefs.h. */
19072 #include <stdlib.h>
19073 #if ((' ' & 0x0FF) == 0x020)
19074 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19075 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19077 # define ISLOWER(c) \
19078 (('a' <= (c) && (c) <= 'i') \
19079 || ('j' <= (c) && (c) <= 'r') \
19080 || ('s' <= (c) && (c) <= 'z'))
19081 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19084 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19089 for (i = 0; i < 256; i++)
19090 if (XOR (islower (i), ISLOWER (i))
19091 || toupper (i) != TOUPPER (i))
19096 rm -f conftest$ac_exeext
19097 if { (ac_try="$ac_link"
19098 case "(($ac_try" in
19099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19100 *) ac_try_echo=$ac_try;;
19102 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19103 (eval "$ac_link") 2>&5
19105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19106 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19107 { (case "(($ac_try" in
19108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19109 *) ac_try_echo=$ac_try;;
19111 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19112 (eval "$ac_try") 2>&5
19114 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19115 (exit $ac_status); }; }; then
19118 echo "$as_me: program exited with status
$ac_status" >&5
19119 echo "$as_me: failed program was
:" >&5
19120 sed 's/^/| /' conftest.$ac_ext >&5
19122 ( exit $ac_status )
19123 ac_cv_header_stdc=no
19125 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19131 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19132 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19133 if test $ac_cv_header_stdc = yes; then
19135 cat >>confdefs.h <<\_ACEOF
19136 #define STDC_HEADERS 1
19141 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19151 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19152 inttypes.h stdint.h unistd.h
19154 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19155 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19156 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19157 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19158 echo $ECHO_N "(cached
) $ECHO_C" >&6
19160 cat >conftest.$ac_ext <<_ACEOF
19163 cat confdefs.h >>conftest.$ac_ext
19164 cat >>conftest.$ac_ext <<_ACEOF
19165 /* end confdefs.h. */
19166 $ac_includes_default
19168 #include <$ac_header>
19170 rm -f conftest.$ac_objext
19171 if { (ac_try="$ac_compile"
19172 case "(($ac_try" in
19173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19174 *) ac_try_echo=$ac_try;;
19176 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19177 (eval "$ac_compile") 2>conftest.er1
19179 grep -v '^ *+' conftest.er1 >conftest.err
19181 cat conftest.err >&5
19182 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19183 (exit $ac_status); } && {
19184 test -z "$ac_c_werror_flag" ||
19185 test ! -s conftest.err
19186 } && test -s conftest.$ac_objext; then
19187 eval "$as_ac_Header=yes"
19189 echo "$as_me: failed program was
:" >&5
19190 sed 's/^/| /' conftest.$ac_ext >&5
19192 eval "$as_ac_Header=no
"
19195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19197 ac_res=`eval echo '${'$as_ac_Header'}'`
19198 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19199 echo "${ECHO_T}$ac_res" >&6; }
19200 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19201 cat >>confdefs.h <<_ACEOF
19202 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19212 for ac_header in langinfo.h wchar.h
19214 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19215 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19216 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19217 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19218 echo $ECHO_N "(cached
) $ECHO_C" >&6
19220 cat >conftest.$ac_ext <<_ACEOF
19223 cat confdefs.h >>conftest.$ac_ext
19224 cat >>conftest.$ac_ext <<_ACEOF
19225 /* end confdefs.h. */
19226 $ac_includes_default
19228 #include <$ac_header>
19230 rm -f conftest.$ac_objext
19231 if { (ac_try="$ac_compile"
19232 case "(($ac_try" in
19233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19234 *) ac_try_echo=$ac_try;;
19236 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19237 (eval "$ac_compile") 2>conftest.er1
19239 grep -v '^ *+' conftest.er1 >conftest.err
19241 cat conftest.err >&5
19242 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19243 (exit $ac_status); } && {
19244 test -z "$ac_c_werror_flag" ||
19245 test ! -s conftest.err
19246 } && test -s conftest.$ac_objext; then
19247 eval "$as_ac_Header=yes"
19249 echo "$as_me: failed program was
:" >&5
19250 sed 's/^/| /' conftest.$ac_ext >&5
19252 eval "$as_ac_Header=no
"
19255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19257 ac_res=`eval echo '${'$as_ac_Header'}'`
19258 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19259 echo "${ECHO_T}$ac_res" >&6; }
19260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19261 cat >>confdefs.h <<_ACEOF
19262 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19270 if test "$ac_cv_header_wchar_h" != "yes"; then
19272 for ac_header in wcstr.h
19274 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19275 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19276 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19277 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19278 echo $ECHO_N "(cached
) $ECHO_C" >&6
19280 cat >conftest.$ac_ext <<_ACEOF
19283 cat confdefs.h >>conftest.$ac_ext
19284 cat >>conftest.$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19286 $ac_includes_default
19288 #include <$ac_header>
19290 rm -f conftest.$ac_objext
19291 if { (ac_try="$ac_compile"
19292 case "(($ac_try" in
19293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19294 *) ac_try_echo=$ac_try;;
19296 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19297 (eval "$ac_compile") 2>conftest.er1
19299 grep -v '^ *+' conftest.er1 >conftest.err
19301 cat conftest.err >&5
19302 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19303 (exit $ac_status); } && {
19304 test -z "$ac_c_werror_flag" ||
19305 test ! -s conftest.err
19306 } && test -s conftest.$ac_objext; then
19307 eval "$as_ac_Header=yes"
19309 echo "$as_me: failed program was
:" >&5
19310 sed 's/^/| /' conftest.$ac_ext >&5
19312 eval "$as_ac_Header=no
"
19315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19317 ac_res=`eval echo '${'$as_ac_Header'}'`
19318 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19319 echo "${ECHO_T}$ac_res" >&6; }
19320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19321 cat >>confdefs.h <<_ACEOF
19322 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19332 *-pc-os2_emx | *-pc-os2-emx )
19333 if test $ac_cv_header_langinfo_h = "yes" \
19334 -a \( "$wx_cv_gccversion" = "EMX2
" \
19335 -o "$wx_cv_gccversion" = "EMX3
" \
19336 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19337 LIBS="$LIBS -lintl"
19342 if test "$USE_UNIX" = 1 ; then
19344 for ac_header in sys/select.h
19346 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19347 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19348 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19349 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19350 echo $ECHO_N "(cached
) $ECHO_C" >&6
19352 cat >conftest.$ac_ext <<_ACEOF
19355 cat confdefs.h >>conftest.$ac_ext
19356 cat >>conftest.$ac_ext <<_ACEOF
19357 /* end confdefs.h. */
19358 $ac_includes_default
19360 #include <$ac_header>
19362 rm -f conftest.$ac_objext
19363 if { (ac_try="$ac_compile"
19364 case "(($ac_try" in
19365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19366 *) ac_try_echo=$ac_try;;
19368 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19369 (eval "$ac_compile") 2>conftest.er1
19371 grep -v '^ *+' conftest.er1 >conftest.err
19373 cat conftest.err >&5
19374 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19375 (exit $ac_status); } && {
19376 test -z "$ac_c_werror_flag" ||
19377 test ! -s conftest.err
19378 } && test -s conftest.$ac_objext; then
19379 eval "$as_ac_Header=yes"
19381 echo "$as_me: failed program was
:" >&5
19382 sed 's/^/| /' conftest.$ac_ext >&5
19384 eval "$as_ac_Header=no
"
19387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19389 ac_res=`eval echo '${'$as_ac_Header'}'`
19390 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19391 echo "${ECHO_T}$ac_res" >&6; }
19392 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19393 cat >>confdefs.h <<_ACEOF
19394 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19404 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19405 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19406 if test "${ac_cv_c_const+set}" = set; then
19407 echo $ECHO_N "(cached
) $ECHO_C" >&6
19409 cat >conftest.$ac_ext <<_ACEOF
19412 cat confdefs.h >>conftest.$ac_ext
19413 cat >>conftest.$ac_ext <<_ACEOF
19414 /* end confdefs.h. */
19419 /* FIXME: Include the comments suggested by Paul. */
19420 #ifndef __cplusplus
19421 /* Ultrix mips cc rejects this. */
19422 typedef int charset[2];
19424 /* SunOS 4.1.1 cc rejects this. */
19425 char const *const *pcpcc;
19427 /* NEC SVR4.0.2 mips cc rejects this. */
19428 struct point {int x, y;};
19429 static struct point const zero = {0,0};
19430 /* AIX XL C 1.02.0.0 rejects this.
19431 It does not let you subtract one const X* pointer from another in
19432 an arm of an if-expression whose if-part is not a constant
19434 const char *g = "string
";
19435 pcpcc = &g + (g ? g-g : 0);
19436 /* HPUX 7.0 cc rejects these. */
19438 ppc = (char**) pcpcc;
19439 pcpcc = (char const *const *) ppc;
19440 { /* SCO 3.2v4 cc rejects this. */
19442 char const *s = 0 ? (char *) 0 : (char const *) 0;
19447 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19448 int x[] = {25, 17};
19449 const int *foo = &x[0];
19452 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19453 typedef const int *iptr;
19457 { /* AIX XL C 1.02.0.0 rejects this saying
19458 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19459 struct s { int j; const int *ap[3]; };
19460 struct s *b; b->j = 5;
19462 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19463 const int foo = 10;
19464 if (!foo) return 0;
19466 return !cs[0] && !zero.x;
19473 rm -f conftest.$ac_objext
19474 if { (ac_try="$ac_compile"
19475 case "(($ac_try" in
19476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19477 *) ac_try_echo=$ac_try;;
19479 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19480 (eval "$ac_compile") 2>conftest.er1
19482 grep -v '^ *+' conftest.er1 >conftest.err
19484 cat conftest.err >&5
19485 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19486 (exit $ac_status); } && {
19487 test -z "$ac_c_werror_flag" ||
19488 test ! -s conftest.err
19489 } && test -s conftest.$ac_objext; then
19492 echo "$as_me: failed program was
:" >&5
19493 sed 's/^/| /' conftest.$ac_ext >&5
19498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19500 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19501 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19502 if test $ac_cv_c_const = no; then
19504 cat >>confdefs.h <<\_ACEOF
19510 { echo "$as_me:$LINENO: checking
for inline
" >&5
19511 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19512 if test "${ac_cv_c_inline+set}" = set; then
19513 echo $ECHO_N "(cached
) $ECHO_C" >&6
19516 for ac_kw in inline __inline__ __inline; do
19517 cat >conftest.$ac_ext <<_ACEOF
19520 cat confdefs.h >>conftest.$ac_ext
19521 cat >>conftest.$ac_ext <<_ACEOF
19522 /* end confdefs.h. */
19523 #ifndef __cplusplus
19525 static $ac_kw foo_t static_foo () {return 0; }
19526 $ac_kw foo_t foo () {return 0; }
19530 rm -f conftest.$ac_objext
19531 if { (ac_try="$ac_compile"
19532 case "(($ac_try" in
19533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19534 *) ac_try_echo=$ac_try;;
19536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19537 (eval "$ac_compile") 2>conftest.er1
19539 grep -v '^ *+' conftest.er1 >conftest.err
19541 cat conftest.err >&5
19542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19543 (exit $ac_status); } && {
19544 test -z "$ac_c_werror_flag" ||
19545 test ! -s conftest.err
19546 } && test -s conftest.$ac_objext; then
19547 ac_cv_c_inline=$ac_kw
19549 echo "$as_me: failed program was
:" >&5
19550 sed 's/^/| /' conftest.$ac_ext >&5
19555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19556 test "$ac_cv_c_inline" != no && break
19560 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19561 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19564 case $ac_cv_c_inline in
19567 case $ac_cv_c_inline in
19569 *) ac_val=$ac_cv_c_inline;;
19571 cat >>confdefs.h <<_ACEOF
19572 #ifndef __cplusplus
19573 #define inline $ac_val
19580 { echo "$as_me:$LINENO: checking
for short
" >&5
19581 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19582 if test "${ac_cv_type_short+set}" = set; then
19583 echo $ECHO_N "(cached
) $ECHO_C" >&6
19585 cat >conftest.$ac_ext <<_ACEOF
19588 cat confdefs.h >>conftest.$ac_ext
19589 cat >>conftest.$ac_ext <<_ACEOF
19590 /* end confdefs.h. */
19591 $ac_includes_default
19592 typedef short ac__type_new_;
19596 if ((ac__type_new_ *) 0)
19598 if (sizeof (ac__type_new_))
19604 rm -f conftest.$ac_objext
19605 if { (ac_try="$ac_compile"
19606 case "(($ac_try" in
19607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19608 *) ac_try_echo=$ac_try;;
19610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19611 (eval "$ac_compile") 2>conftest.er1
19613 grep -v '^ *+' conftest.er1 >conftest.err
19615 cat conftest.err >&5
19616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19617 (exit $ac_status); } && {
19618 test -z "$ac_c_werror_flag" ||
19619 test ! -s conftest.err
19620 } && test -s conftest.$ac_objext; then
19621 ac_cv_type_short=yes
19623 echo "$as_me: failed program was
:" >&5
19624 sed 's/^/| /' conftest.$ac_ext >&5
19626 ac_cv_type_short=no
19629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19631 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19632 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19634 # The cast to long int works around a bug in the HP C Compiler
19635 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19636 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19637 # This bug is HP SR number 8606223364.
19638 { echo "$as_me:$LINENO: checking size of short
" >&5
19639 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19640 if test "${ac_cv_sizeof_short+set}" = set; then
19641 echo $ECHO_N "(cached
) $ECHO_C" >&6
19643 if test "$cross_compiling" = yes; then
19644 # Depending upon the size, compute the lo and hi bounds.
19645 cat >conftest.$ac_ext <<_ACEOF
19648 cat confdefs.h >>conftest.$ac_ext
19649 cat >>conftest.$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 $ac_includes_default
19652 typedef short ac__type_sizeof_;
19656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19663 rm -f conftest.$ac_objext
19664 if { (ac_try="$ac_compile"
19665 case "(($ac_try" in
19666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19667 *) ac_try_echo=$ac_try;;
19669 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19670 (eval "$ac_compile") 2>conftest.er1
19672 grep -v '^ *+' conftest.er1 >conftest.err
19674 cat conftest.err >&5
19675 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19676 (exit $ac_status); } && {
19677 test -z "$ac_c_werror_flag" ||
19678 test ! -s conftest.err
19679 } && test -s conftest.$ac_objext; then
19682 cat >conftest.$ac_ext <<_ACEOF
19685 cat confdefs.h >>conftest.$ac_ext
19686 cat >>conftest.$ac_ext <<_ACEOF
19687 /* end confdefs.h. */
19688 $ac_includes_default
19689 typedef short ac__type_sizeof_;
19693 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19700 rm -f conftest.$ac_objext
19701 if { (ac_try="$ac_compile"
19702 case "(($ac_try" in
19703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19704 *) ac_try_echo=$ac_try;;
19706 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19707 (eval "$ac_compile") 2>conftest.er1
19709 grep -v '^ *+' conftest.er1 >conftest.err
19711 cat conftest.err >&5
19712 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19713 (exit $ac_status); } && {
19714 test -z "$ac_c_werror_flag" ||
19715 test ! -s conftest.err
19716 } && test -s conftest.$ac_objext; then
19717 ac_hi=$ac_mid; break
19719 echo "$as_me: failed program was
:" >&5
19720 sed 's/^/| /' conftest.$ac_ext >&5
19722 ac_lo=`expr $ac_mid + 1`
19723 if test $ac_lo -le $ac_mid; then
19727 ac_mid=`expr 2 '*' $ac_mid + 1`
19730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19733 echo "$as_me: failed program was
:" >&5
19734 sed 's/^/| /' conftest.$ac_ext >&5
19736 cat >conftest.$ac_ext <<_ACEOF
19739 cat confdefs.h >>conftest.$ac_ext
19740 cat >>conftest.$ac_ext <<_ACEOF
19741 /* end confdefs.h. */
19742 $ac_includes_default
19743 typedef short ac__type_sizeof_;
19747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19754 rm -f conftest.$ac_objext
19755 if { (ac_try="$ac_compile"
19756 case "(($ac_try" in
19757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19758 *) ac_try_echo=$ac_try;;
19760 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19761 (eval "$ac_compile") 2>conftest.er1
19763 grep -v '^ *+' conftest.er1 >conftest.err
19765 cat conftest.err >&5
19766 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19767 (exit $ac_status); } && {
19768 test -z "$ac_c_werror_flag" ||
19769 test ! -s conftest.err
19770 } && test -s conftest.$ac_objext; then
19773 cat >conftest.$ac_ext <<_ACEOF
19776 cat confdefs.h >>conftest.$ac_ext
19777 cat >>conftest.$ac_ext <<_ACEOF
19778 /* end confdefs.h. */
19779 $ac_includes_default
19780 typedef short ac__type_sizeof_;
19784 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19791 rm -f conftest.$ac_objext
19792 if { (ac_try="$ac_compile"
19793 case "(($ac_try" in
19794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19795 *) ac_try_echo=$ac_try;;
19797 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19798 (eval "$ac_compile") 2>conftest.er1
19800 grep -v '^ *+' conftest.er1 >conftest.err
19802 cat conftest.err >&5
19803 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19804 (exit $ac_status); } && {
19805 test -z "$ac_c_werror_flag" ||
19806 test ! -s conftest.err
19807 } && test -s conftest.$ac_objext; then
19808 ac_lo=$ac_mid; break
19810 echo "$as_me: failed program was
:" >&5
19811 sed 's/^/| /' conftest.$ac_ext >&5
19813 ac_hi=`expr '(' $ac_mid ')' - 1`
19814 if test $ac_mid -le $ac_hi; then
19818 ac_mid=`expr 2 '*' $ac_mid`
19821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19824 echo "$as_me: failed program was
:" >&5
19825 sed 's/^/| /' conftest.$ac_ext >&5
19830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19834 # Binary search between lo and hi bounds.
19835 while test "x
$ac_lo" != "x
$ac_hi"; do
19836 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19837 cat >conftest.$ac_ext <<_ACEOF
19840 cat confdefs.h >>conftest.$ac_ext
19841 cat >>conftest.$ac_ext <<_ACEOF
19842 /* end confdefs.h. */
19843 $ac_includes_default
19844 typedef short ac__type_sizeof_;
19848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19855 rm -f conftest.$ac_objext
19856 if { (ac_try="$ac_compile"
19857 case "(($ac_try" in
19858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19859 *) ac_try_echo=$ac_try;;
19861 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19862 (eval "$ac_compile") 2>conftest.er1
19864 grep -v '^ *+' conftest.er1 >conftest.err
19866 cat conftest.err >&5
19867 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19868 (exit $ac_status); } && {
19869 test -z "$ac_c_werror_flag" ||
19870 test ! -s conftest.err
19871 } && test -s conftest.$ac_objext; then
19874 echo "$as_me: failed program was
:" >&5
19875 sed 's/^/| /' conftest.$ac_ext >&5
19877 ac_lo=`expr '(' $ac_mid ')' + 1`
19880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19883 ?*) ac_cv_sizeof_short=$ac_lo;;
19884 '') if test "$ac_cv_type_short" = yes; then
19885 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19886 See \
`config.log' for more details." >&5
19887 echo "$as_me: error: cannot compute sizeof (short)
19888 See \`config.log
' for more details." >&2;}
19889 { (exit 77); exit 77; }; }
19891 ac_cv_sizeof_short=0
19895 cat >conftest.$ac_ext <<_ACEOF
19898 cat confdefs.h >>conftest.$ac_ext
19899 cat >>conftest.$ac_ext <<_ACEOF
19900 /* end confdefs.h. */
19901 $ac_includes_default
19902 typedef short ac__type_sizeof_;
19903 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19904 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19906 #include <stdlib.h>
19911 FILE *f = fopen ("conftest.val", "w");
19914 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19916 long int i = longval ();
19917 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19919 fprintf (f, "%ld\n", i);
19923 unsigned long int i = ulongval ();
19924 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19926 fprintf (f, "%lu\n", i);
19928 return ferror (f) || fclose (f) != 0;
19934 rm -f conftest$ac_exeext
19935 if { (ac_try="$ac_link"
19936 case "(($ac_try" in
19937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19938 *) ac_try_echo=$ac_try;;
19940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19941 (eval "$ac_link") 2>&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19945 { (case "(($ac_try" in
19946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19947 *) ac_try_echo=$ac_try;;
19949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 (eval "$ac_try") 2>&5
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); }; }; then
19954 ac_cv_sizeof_short=`cat conftest.val`
19956 echo "$as_me: program exited with status $ac_status" >&5
19957 echo "$as_me: failed program was:" >&5
19958 sed 's
/^
/| /' conftest.$ac_ext >&5
19960 ( exit $ac_status )
19961 if test "$ac_cv_type_short" = yes; then
19962 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19963 See \`config.log' for more details.
" >&5
19964 echo "$as_me: error
: cannot compute sizeof
(short
)
19965 See \
`config.log' for more details." >&2;}
19966 { (exit 77); exit 77; }; }
19968 ac_cv_sizeof_short=0
19971 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19975 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19976 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19980 cat >>confdefs.h <<_ACEOF
19981 #define SIZEOF_SHORT $ac_cv_sizeof_short
19985 { echo "$as_me:$LINENO: checking for void *" >&5
19986 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19987 if test "${ac_cv_type_void_p+set}" = set; then
19988 echo $ECHO_N "(cached) $ECHO_C" >&6
19990 cat >conftest.$ac_ext <<_ACEOF
19993 cat confdefs.h >>conftest.$ac_ext
19994 cat >>conftest.$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 $ac_includes_default
19997 typedef void * ac__type_new_;
20001 if ((ac__type_new_ *) 0)
20003 if (sizeof (ac__type_new_))
20009 rm -f conftest.$ac_objext
20010 if { (ac_try="$ac_compile"
20011 case "(($ac_try" in
20012 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20013 *) ac_try_echo
=$ac_try;;
20015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20016 (eval "$ac_compile") 2>conftest.er1
20018 grep -v '^ *+' conftest.er1
>conftest.err
20020 cat conftest.err
>&5
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); } && {
20023 test -z "$ac_c_werror_flag" ||
20024 test ! -s conftest.err
20025 } && test -s conftest.
$ac_objext; then
20026 ac_cv_type_void_p
=yes
20028 echo "$as_me: failed program was:" >&5
20029 sed 's/^/| /' conftest.
$ac_ext >&5
20031 ac_cv_type_void_p
=no
20034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20036 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20037 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20039 # The cast to long int works around a bug in the HP C Compiler
20040 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20041 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20042 # This bug is HP SR number 8606223364.
20043 { echo "$as_me:$LINENO: checking size of void *" >&5
20044 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20045 if test "${ac_cv_sizeof_void_p+set}" = set; then
20046 echo $ECHO_N "(cached) $ECHO_C" >&6
20048 if test "$cross_compiling" = yes; then
20049 # Depending upon the size, compute the lo and hi bounds.
20050 cat >conftest.
$ac_ext <<_ACEOF
20053 cat confdefs.h
>>conftest.
$ac_ext
20054 cat >>conftest.
$ac_ext <<_ACEOF
20055 /* end confdefs.h. */
20056 $ac_includes_default
20057 typedef void * ac__type_sizeof_;
20061 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20068 rm -f conftest.
$ac_objext
20069 if { (ac_try
="$ac_compile"
20070 case "(($ac_try" in
20071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20072 *) ac_try_echo=$ac_try;;
20074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20075 (eval "$ac_compile") 2>conftest.er1
20077 grep -v '^ *+' conftest.er1 >conftest.err
20079 cat conftest.err >&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); } && {
20082 test -z "$ac_c_werror_flag" ||
20083 test ! -s conftest.err
20084 } && test -s conftest.$ac_objext; then
20087 cat >conftest.$ac_ext <<_ACEOF
20090 cat confdefs.h >>conftest.$ac_ext
20091 cat >>conftest.$ac_ext <<_ACEOF
20092 /* end confdefs.h. */
20093 $ac_includes_default
20094 typedef void * ac__type_sizeof_;
20098 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20105 rm -f conftest.$ac_objext
20106 if { (ac_try="$ac_compile"
20107 case "(($ac_try" in
20108 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20109 *) ac_try_echo
=$ac_try;;
20111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20112 (eval "$ac_compile") 2>conftest.er1
20114 grep -v '^ *+' conftest.er1
>conftest.err
20116 cat conftest.err
>&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } && {
20119 test -z "$ac_c_werror_flag" ||
20120 test ! -s conftest.err
20121 } && test -s conftest.
$ac_objext; then
20122 ac_hi
=$ac_mid; break
20124 echo "$as_me: failed program was:" >&5
20125 sed 's/^/| /' conftest.
$ac_ext >&5
20127 ac_lo
=`expr $ac_mid + 1`
20128 if test $ac_lo -le $ac_mid; then
20132 ac_mid
=`expr 2 '*' $ac_mid + 1`
20135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20138 echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.
$ac_ext >&5
20141 cat >conftest.
$ac_ext <<_ACEOF
20144 cat confdefs.h
>>conftest.
$ac_ext
20145 cat >>conftest.
$ac_ext <<_ACEOF
20146 /* end confdefs.h. */
20147 $ac_includes_default
20148 typedef void * ac__type_sizeof_;
20152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20159 rm -f conftest.
$ac_objext
20160 if { (ac_try
="$ac_compile"
20161 case "(($ac_try" in
20162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20163 *) ac_try_echo=$ac_try;;
20165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20166 (eval "$ac_compile") 2>conftest.er1
20168 grep -v '^ *+' conftest.er1 >conftest.err
20170 cat conftest.err >&5
20171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); } && {
20173 test -z "$ac_c_werror_flag" ||
20174 test ! -s conftest.err
20175 } && test -s conftest.$ac_objext; then
20178 cat >conftest.$ac_ext <<_ACEOF
20181 cat confdefs.h >>conftest.$ac_ext
20182 cat >>conftest.$ac_ext <<_ACEOF
20183 /* end confdefs.h. */
20184 $ac_includes_default
20185 typedef void * ac__type_sizeof_;
20189 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20196 rm -f conftest.$ac_objext
20197 if { (ac_try="$ac_compile"
20198 case "(($ac_try" in
20199 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20200 *) ac_try_echo
=$ac_try;;
20202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20203 (eval "$ac_compile") 2>conftest.er1
20205 grep -v '^ *+' conftest.er1
>conftest.err
20207 cat conftest.err
>&5
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); } && {
20210 test -z "$ac_c_werror_flag" ||
20211 test ! -s conftest.err
20212 } && test -s conftest.
$ac_objext; then
20213 ac_lo
=$ac_mid; break
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.
$ac_ext >&5
20218 ac_hi
=`expr '(' $ac_mid ')' - 1`
20219 if test $ac_mid -le $ac_hi; then
20223 ac_mid
=`expr 2 '*' $ac_mid`
20226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.
$ac_ext >&5
20235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20239 # Binary search between lo and hi bounds.
20240 while test "x$ac_lo" != "x$ac_hi"; do
20241 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20242 cat >conftest.
$ac_ext <<_ACEOF
20245 cat confdefs.h
>>conftest.
$ac_ext
20246 cat >>conftest.
$ac_ext <<_ACEOF
20247 /* end confdefs.h. */
20248 $ac_includes_default
20249 typedef void * ac__type_sizeof_;
20253 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20260 rm -f conftest.
$ac_objext
20261 if { (ac_try
="$ac_compile"
20262 case "(($ac_try" in
20263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20264 *) ac_try_echo=$ac_try;;
20266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20267 (eval "$ac_compile") 2>conftest.er1
20269 grep -v '^ *+' conftest.er1 >conftest.err
20271 cat conftest.err >&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } && {
20274 test -z "$ac_c_werror_flag" ||
20275 test ! -s conftest.err
20276 } && test -s conftest.$ac_objext; then
20279 echo "$as_me: failed program was:" >&5
20280 sed 's/^/| /' conftest.$ac_ext >&5
20282 ac_lo=`expr '(' $ac_mid ')' + 1`
20285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20288 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20289 '') if test "$ac_cv_type_void_p" = yes; then
20290 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20291 See \`config.log
' for more details." >&5
20292 echo "$as_me: error: cannot compute sizeof (void *)
20293 See \`config.log' for more details.
" >&2;}
20294 { (exit 77); exit 77; }; }
20296 ac_cv_sizeof_void_p=0
20300 cat >conftest.$ac_ext <<_ACEOF
20303 cat confdefs.h >>conftest.$ac_ext
20304 cat >>conftest.$ac_ext <<_ACEOF
20305 /* end confdefs.h. */
20306 $ac_includes_default
20307 typedef void * ac__type_sizeof_;
20308 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20309 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20311 #include <stdlib.h>
20316 FILE *f = fopen ("conftest.val
", "w
");
20319 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20321 long int i = longval ();
20322 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20324 fprintf (f, "%ld
\n", i);
20328 unsigned long int i = ulongval ();
20329 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20331 fprintf (f, "%lu
\n", i);
20333 return ferror (f) || fclose (f) != 0;
20339 rm -f conftest$ac_exeext
20340 if { (ac_try="$ac_link"
20341 case "(($ac_try" in
20342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20343 *) ac_try_echo=$ac_try;;
20345 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20346 (eval "$ac_link") 2>&5
20348 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20349 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20350 { (case "(($ac_try" in
20351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20352 *) ac_try_echo=$ac_try;;
20354 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20355 (eval "$ac_try") 2>&5
20357 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20358 (exit $ac_status); }; }; then
20359 ac_cv_sizeof_void_p=`cat conftest.val`
20361 echo "$as_me: program exited with status
$ac_status" >&5
20362 echo "$as_me: failed program was
:" >&5
20363 sed 's/^/| /' conftest.$ac_ext >&5
20365 ( exit $ac_status )
20366 if test "$ac_cv_type_void_p" = yes; then
20367 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20368 See \
`config.log' for more details." >&5
20369 echo "$as_me: error: cannot compute sizeof (void *)
20370 See \`config.log
' for more details." >&2;}
20371 { (exit 77); exit 77; }; }
20373 ac_cv_sizeof_void_p=0
20376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20380 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20381 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20385 cat >>confdefs.h <<_ACEOF
20386 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20390 { echo "$as_me:$LINENO: checking for int" >&5
20391 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20392 if test "${ac_cv_type_int+set}" = set; then
20393 echo $ECHO_N "(cached) $ECHO_C" >&6
20395 cat >conftest.$ac_ext <<_ACEOF
20398 cat confdefs.h >>conftest.$ac_ext
20399 cat >>conftest.$ac_ext <<_ACEOF
20400 /* end confdefs.h. */
20401 $ac_includes_default
20402 typedef int ac__type_new_;
20406 if ((ac__type_new_ *) 0)
20408 if (sizeof (ac__type_new_))
20414 rm -f conftest.$ac_objext
20415 if { (ac_try="$ac_compile"
20416 case "(($ac_try" in
20417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20418 *) ac_try_echo=$ac_try;;
20420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20421 (eval "$ac_compile") 2>conftest.er1
20423 grep -v '^
*+' conftest.er1 >conftest.err
20425 cat conftest.err >&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); } && {
20428 test -z "$ac_c_werror_flag" ||
20429 test ! -s conftest.err
20430 } && test -s conftest.$ac_objext; then
20433 echo "$as_me: failed program was:" >&5
20434 sed 's
/^
/| /' conftest.$ac_ext >&5
20439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20441 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20442 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20444 # The cast to long int works around a bug in the HP C Compiler
20445 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20446 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20447 # This bug is HP SR number 8606223364.
20448 { echo "$as_me:$LINENO: checking size of int" >&5
20449 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20450 if test "${ac_cv_sizeof_int+set}" = set; then
20451 echo $ECHO_N "(cached) $ECHO_C" >&6
20453 if test "$cross_compiling" = yes; then
20454 # Depending upon the size, compute the lo and hi bounds.
20455 cat >conftest.
$ac_ext <<_ACEOF
20458 cat confdefs.h
>>conftest.
$ac_ext
20459 cat >>conftest.
$ac_ext <<_ACEOF
20460 /* end confdefs.h. */
20461 $ac_includes_default
20462 typedef int ac__type_sizeof_;
20466 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20473 rm -f conftest.
$ac_objext
20474 if { (ac_try
="$ac_compile"
20475 case "(($ac_try" in
20476 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20477 *) ac_try_echo=$ac_try;;
20479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20480 (eval "$ac_compile") 2>conftest.er1
20482 grep -v '^ *+' conftest.er1 >conftest.err
20484 cat conftest.err >&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); } && {
20487 test -z "$ac_c_werror_flag" ||
20488 test ! -s conftest.err
20489 } && test -s conftest.$ac_objext; then
20492 cat >conftest.$ac_ext <<_ACEOF
20495 cat confdefs.h >>conftest.$ac_ext
20496 cat >>conftest.$ac_ext <<_ACEOF
20497 /* end confdefs.h. */
20498 $ac_includes_default
20499 typedef int ac__type_sizeof_;
20503 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20510 rm -f conftest.$ac_objext
20511 if { (ac_try="$ac_compile"
20512 case "(($ac_try" in
20513 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20514 *) ac_try_echo
=$ac_try;;
20516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20517 (eval "$ac_compile") 2>conftest.er1
20519 grep -v '^ *+' conftest.er1
>conftest.err
20521 cat conftest.err
>&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } && {
20524 test -z "$ac_c_werror_flag" ||
20525 test ! -s conftest.err
20526 } && test -s conftest.
$ac_objext; then
20527 ac_hi
=$ac_mid; break
20529 echo "$as_me: failed program was:" >&5
20530 sed 's/^/| /' conftest.
$ac_ext >&5
20532 ac_lo
=`expr $ac_mid + 1`
20533 if test $ac_lo -le $ac_mid; then
20537 ac_mid
=`expr 2 '*' $ac_mid + 1`
20540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20543 echo "$as_me: failed program was:" >&5
20544 sed 's/^/| /' conftest.
$ac_ext >&5
20546 cat >conftest.
$ac_ext <<_ACEOF
20549 cat confdefs.h
>>conftest.
$ac_ext
20550 cat >>conftest.
$ac_ext <<_ACEOF
20551 /* end confdefs.h. */
20552 $ac_includes_default
20553 typedef int ac__type_sizeof_;
20557 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20564 rm -f conftest.
$ac_objext
20565 if { (ac_try
="$ac_compile"
20566 case "(($ac_try" in
20567 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20568 *) ac_try_echo=$ac_try;;
20570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20571 (eval "$ac_compile") 2>conftest.er1
20573 grep -v '^ *+' conftest.er1 >conftest.err
20575 cat conftest.err >&5
20576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577 (exit $ac_status); } && {
20578 test -z "$ac_c_werror_flag" ||
20579 test ! -s conftest.err
20580 } && test -s conftest.$ac_objext; then
20583 cat >conftest.$ac_ext <<_ACEOF
20586 cat confdefs.h >>conftest.$ac_ext
20587 cat >>conftest.$ac_ext <<_ACEOF
20588 /* end confdefs.h. */
20589 $ac_includes_default
20590 typedef int ac__type_sizeof_;
20594 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20601 rm -f conftest.$ac_objext
20602 if { (ac_try="$ac_compile"
20603 case "(($ac_try" in
20604 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20605 *) ac_try_echo
=$ac_try;;
20607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20608 (eval "$ac_compile") 2>conftest.er1
20610 grep -v '^ *+' conftest.er1
>conftest.err
20612 cat conftest.err
>&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } && {
20615 test -z "$ac_c_werror_flag" ||
20616 test ! -s conftest.err
20617 } && test -s conftest.
$ac_objext; then
20618 ac_lo
=$ac_mid; break
20620 echo "$as_me: failed program was:" >&5
20621 sed 's/^/| /' conftest.
$ac_ext >&5
20623 ac_hi
=`expr '(' $ac_mid ')' - 1`
20624 if test $ac_mid -le $ac_hi; then
20628 ac_mid
=`expr 2 '*' $ac_mid`
20631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20634 echo "$as_me: failed program was:" >&5
20635 sed 's/^/| /' conftest.
$ac_ext >&5
20640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20643 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20644 # Binary search between lo and hi bounds.
20645 while test "x$ac_lo" != "x$ac_hi"; do
20646 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20647 cat >conftest.
$ac_ext <<_ACEOF
20650 cat confdefs.h
>>conftest.
$ac_ext
20651 cat >>conftest.
$ac_ext <<_ACEOF
20652 /* end confdefs.h. */
20653 $ac_includes_default
20654 typedef int ac__type_sizeof_;
20658 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20665 rm -f conftest.
$ac_objext
20666 if { (ac_try
="$ac_compile"
20667 case "(($ac_try" in
20668 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20669 *) ac_try_echo=$ac_try;;
20671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20672 (eval "$ac_compile") 2>conftest.er1
20674 grep -v '^ *+' conftest.er1 >conftest.err
20676 cat conftest.err >&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); } && {
20679 test -z "$ac_c_werror_flag" ||
20680 test ! -s conftest.err
20681 } && test -s conftest.$ac_objext; then
20684 echo "$as_me: failed program was:" >&5
20685 sed 's/^/| /' conftest.$ac_ext >&5
20687 ac_lo=`expr '(' $ac_mid ')' + 1`
20690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20693 ?*) ac_cv_sizeof_int=$ac_lo;;
20694 '') if test "$ac_cv_type_int" = yes; then
20695 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20696 See \`config.log
' for more details." >&5
20697 echo "$as_me: error: cannot compute sizeof (int)
20698 See \`config.log' for more details.
" >&2;}
20699 { (exit 77); exit 77; }; }
20705 cat >conftest.$ac_ext <<_ACEOF
20708 cat confdefs.h >>conftest.$ac_ext
20709 cat >>conftest.$ac_ext <<_ACEOF
20710 /* end confdefs.h. */
20711 $ac_includes_default
20712 typedef int ac__type_sizeof_;
20713 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20714 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20716 #include <stdlib.h>
20721 FILE *f = fopen ("conftest.val
", "w
");
20724 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20726 long int i = longval ();
20727 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20729 fprintf (f, "%ld
\n", i);
20733 unsigned long int i = ulongval ();
20734 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20736 fprintf (f, "%lu
\n", i);
20738 return ferror (f) || fclose (f) != 0;
20744 rm -f conftest$ac_exeext
20745 if { (ac_try="$ac_link"
20746 case "(($ac_try" in
20747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20748 *) ac_try_echo=$ac_try;;
20750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20751 (eval "$ac_link") 2>&5
20753 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20754 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20755 { (case "(($ac_try" in
20756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20757 *) ac_try_echo=$ac_try;;
20759 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20760 (eval "$ac_try") 2>&5
20762 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20763 (exit $ac_status); }; }; then
20764 ac_cv_sizeof_int=`cat conftest.val`
20766 echo "$as_me: program exited with status
$ac_status" >&5
20767 echo "$as_me: failed program was
:" >&5
20768 sed 's/^/| /' conftest.$ac_ext >&5
20770 ( exit $ac_status )
20771 if test "$ac_cv_type_int" = yes; then
20772 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20773 See \
`config.log' for more details." >&5
20774 echo "$as_me: error: cannot compute sizeof (int)
20775 See \`config.log
' for more details." >&2;}
20776 { (exit 77); exit 77; }; }
20781 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20785 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20786 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20790 cat >>confdefs.h <<_ACEOF
20791 #define SIZEOF_INT $ac_cv_sizeof_int
20795 { echo "$as_me:$LINENO: checking for long" >&5
20796 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20797 if test "${ac_cv_type_long+set}" = set; then
20798 echo $ECHO_N "(cached) $ECHO_C" >&6
20800 cat >conftest.$ac_ext <<_ACEOF
20803 cat confdefs.h >>conftest.$ac_ext
20804 cat >>conftest.$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20806 $ac_includes_default
20807 typedef long ac__type_new_;
20811 if ((ac__type_new_ *) 0)
20813 if (sizeof (ac__type_new_))
20819 rm -f conftest.$ac_objext
20820 if { (ac_try="$ac_compile"
20821 case "(($ac_try" in
20822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20823 *) ac_try_echo=$ac_try;;
20825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20826 (eval "$ac_compile") 2>conftest.er1
20828 grep -v '^
*+' conftest.er1 >conftest.err
20830 cat conftest.err >&5
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); } && {
20833 test -z "$ac_c_werror_flag" ||
20834 test ! -s conftest.err
20835 } && test -s conftest.$ac_objext; then
20836 ac_cv_type_long=yes
20838 echo "$as_me: failed program was:" >&5
20839 sed 's
/^
/| /' conftest.$ac_ext >&5
20844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20846 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20847 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20849 # The cast to long int works around a bug in the HP C Compiler
20850 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20851 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20852 # This bug is HP SR number 8606223364.
20853 { echo "$as_me:$LINENO: checking size of long" >&5
20854 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20855 if test "${ac_cv_sizeof_long+set}" = set; then
20856 echo $ECHO_N "(cached) $ECHO_C" >&6
20858 if test "$cross_compiling" = yes; then
20859 # Depending upon the size, compute the lo and hi bounds.
20860 cat >conftest.
$ac_ext <<_ACEOF
20863 cat confdefs.h
>>conftest.
$ac_ext
20864 cat >>conftest.
$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 $ac_includes_default
20867 typedef long ac__type_sizeof_;
20871 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20878 rm -f conftest.
$ac_objext
20879 if { (ac_try
="$ac_compile"
20880 case "(($ac_try" in
20881 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20882 *) ac_try_echo=$ac_try;;
20884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20885 (eval "$ac_compile") 2>conftest.er1
20887 grep -v '^ *+' conftest.er1 >conftest.err
20889 cat conftest.err >&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); } && {
20892 test -z "$ac_c_werror_flag" ||
20893 test ! -s conftest.err
20894 } && test -s conftest.$ac_objext; then
20897 cat >conftest.$ac_ext <<_ACEOF
20900 cat confdefs.h >>conftest.$ac_ext
20901 cat >>conftest.$ac_ext <<_ACEOF
20902 /* end confdefs.h. */
20903 $ac_includes_default
20904 typedef long ac__type_sizeof_;
20908 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20915 rm -f conftest.$ac_objext
20916 if { (ac_try="$ac_compile"
20917 case "(($ac_try" in
20918 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20919 *) ac_try_echo
=$ac_try;;
20921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20922 (eval "$ac_compile") 2>conftest.er1
20924 grep -v '^ *+' conftest.er1
>conftest.err
20926 cat conftest.err
>&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); } && {
20929 test -z "$ac_c_werror_flag" ||
20930 test ! -s conftest.err
20931 } && test -s conftest.
$ac_objext; then
20932 ac_hi
=$ac_mid; break
20934 echo "$as_me: failed program was:" >&5
20935 sed 's/^/| /' conftest.
$ac_ext >&5
20937 ac_lo
=`expr $ac_mid + 1`
20938 if test $ac_lo -le $ac_mid; then
20942 ac_mid
=`expr 2 '*' $ac_mid + 1`
20945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20948 echo "$as_me: failed program was:" >&5
20949 sed 's/^/| /' conftest.
$ac_ext >&5
20951 cat >conftest.
$ac_ext <<_ACEOF
20954 cat confdefs.h
>>conftest.
$ac_ext
20955 cat >>conftest.
$ac_ext <<_ACEOF
20956 /* end confdefs.h. */
20957 $ac_includes_default
20958 typedef long ac__type_sizeof_;
20962 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20969 rm -f conftest.
$ac_objext
20970 if { (ac_try
="$ac_compile"
20971 case "(($ac_try" in
20972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20973 *) ac_try_echo=$ac_try;;
20975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20976 (eval "$ac_compile") 2>conftest.er1
20978 grep -v '^ *+' conftest.er1 >conftest.err
20980 cat conftest.err >&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } && {
20983 test -z "$ac_c_werror_flag" ||
20984 test ! -s conftest.err
20985 } && test -s conftest.$ac_objext; then
20988 cat >conftest.$ac_ext <<_ACEOF
20991 cat confdefs.h >>conftest.$ac_ext
20992 cat >>conftest.$ac_ext <<_ACEOF
20993 /* end confdefs.h. */
20994 $ac_includes_default
20995 typedef long ac__type_sizeof_;
20999 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21006 rm -f conftest.$ac_objext
21007 if { (ac_try="$ac_compile"
21008 case "(($ac_try" in
21009 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21010 *) ac_try_echo
=$ac_try;;
21012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21013 (eval "$ac_compile") 2>conftest.er1
21015 grep -v '^ *+' conftest.er1
>conftest.err
21017 cat conftest.err
>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } && {
21020 test -z "$ac_c_werror_flag" ||
21021 test ! -s conftest.err
21022 } && test -s conftest.
$ac_objext; then
21023 ac_lo
=$ac_mid; break
21025 echo "$as_me: failed program was:" >&5
21026 sed 's/^/| /' conftest.
$ac_ext >&5
21028 ac_hi
=`expr '(' $ac_mid ')' - 1`
21029 if test $ac_mid -le $ac_hi; then
21033 ac_mid
=`expr 2 '*' $ac_mid`
21036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21039 echo "$as_me: failed program was:" >&5
21040 sed 's/^/| /' conftest.
$ac_ext >&5
21045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21049 # Binary search between lo and hi bounds.
21050 while test "x$ac_lo" != "x$ac_hi"; do
21051 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21052 cat >conftest.
$ac_ext <<_ACEOF
21055 cat confdefs.h
>>conftest.
$ac_ext
21056 cat >>conftest.
$ac_ext <<_ACEOF
21057 /* end confdefs.h. */
21058 $ac_includes_default
21059 typedef long ac__type_sizeof_;
21063 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21070 rm -f conftest.
$ac_objext
21071 if { (ac_try
="$ac_compile"
21072 case "(($ac_try" in
21073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21074 *) ac_try_echo=$ac_try;;
21076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21077 (eval "$ac_compile") 2>conftest.er1
21079 grep -v '^ *+' conftest.er1 >conftest.err
21081 cat conftest.err >&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); } && {
21084 test -z "$ac_c_werror_flag" ||
21085 test ! -s conftest.err
21086 } && test -s conftest.$ac_objext; then
21089 echo "$as_me: failed program was:" >&5
21090 sed 's/^/| /' conftest.$ac_ext >&5
21092 ac_lo=`expr '(' $ac_mid ')' + 1`
21095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21098 ?*) ac_cv_sizeof_long=$ac_lo;;
21099 '') if test "$ac_cv_type_long" = yes; then
21100 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21101 See \`config.log
' for more details." >&5
21102 echo "$as_me: error: cannot compute sizeof (long)
21103 See \`config.log' for more details.
" >&2;}
21104 { (exit 77); exit 77; }; }
21106 ac_cv_sizeof_long=0
21110 cat >conftest.$ac_ext <<_ACEOF
21113 cat confdefs.h >>conftest.$ac_ext
21114 cat >>conftest.$ac_ext <<_ACEOF
21115 /* end confdefs.h. */
21116 $ac_includes_default
21117 typedef long ac__type_sizeof_;
21118 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21119 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21121 #include <stdlib.h>
21126 FILE *f = fopen ("conftest.val
", "w
");
21129 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21131 long int i = longval ();
21132 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21134 fprintf (f, "%ld
\n", i);
21138 unsigned long int i = ulongval ();
21139 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21141 fprintf (f, "%lu
\n", i);
21143 return ferror (f) || fclose (f) != 0;
21149 rm -f conftest$ac_exeext
21150 if { (ac_try="$ac_link"
21151 case "(($ac_try" in
21152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21153 *) ac_try_echo=$ac_try;;
21155 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21156 (eval "$ac_link") 2>&5
21158 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21160 { (case "(($ac_try" in
21161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21162 *) ac_try_echo=$ac_try;;
21164 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21165 (eval "$ac_try") 2>&5
21167 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21168 (exit $ac_status); }; }; then
21169 ac_cv_sizeof_long=`cat conftest.val`
21171 echo "$as_me: program exited with status
$ac_status" >&5
21172 echo "$as_me: failed program was
:" >&5
21173 sed 's/^/| /' conftest.$ac_ext >&5
21175 ( exit $ac_status )
21176 if test "$ac_cv_type_long" = yes; then
21177 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21178 See \
`config.log' for more details." >&5
21179 echo "$as_me: error: cannot compute sizeof (long)
21180 See \`config.log
' for more details." >&2;}
21181 { (exit 77); exit 77; }; }
21183 ac_cv_sizeof_long=0
21186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21190 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21191 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21195 cat >>confdefs.h <<_ACEOF
21196 #define SIZEOF_LONG $ac_cv_sizeof_long
21200 { echo "$as_me:$LINENO: checking for size_t" >&5
21201 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21202 if test "${ac_cv_type_size_t+set}" = set; then
21203 echo $ECHO_N "(cached) $ECHO_C" >&6
21205 cat >conftest.$ac_ext <<_ACEOF
21208 cat confdefs.h >>conftest.$ac_ext
21209 cat >>conftest.$ac_ext <<_ACEOF
21210 /* end confdefs.h. */
21211 $ac_includes_default
21212 typedef size_t ac__type_new_;
21216 if ((ac__type_new_ *) 0)
21218 if (sizeof (ac__type_new_))
21224 rm -f conftest.$ac_objext
21225 if { (ac_try="$ac_compile"
21226 case "(($ac_try" in
21227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21228 *) ac_try_echo=$ac_try;;
21230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21231 (eval "$ac_compile") 2>conftest.er1
21233 grep -v '^
*+' conftest.er1 >conftest.err
21235 cat conftest.err >&5
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); } && {
21238 test -z "$ac_c_werror_flag" ||
21239 test ! -s conftest.err
21240 } && test -s conftest.$ac_objext; then
21241 ac_cv_type_size_t=yes
21243 echo "$as_me: failed program was:" >&5
21244 sed 's
/^
/| /' conftest.$ac_ext >&5
21246 ac_cv_type_size_t=no
21249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21252 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21254 # The cast to long int works around a bug in the HP C Compiler
21255 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21256 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21257 # This bug is HP SR number 8606223364.
21258 { echo "$as_me:$LINENO: checking size of size_t" >&5
21259 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21260 if test "${ac_cv_sizeof_size_t+set}" = set; then
21261 echo $ECHO_N "(cached) $ECHO_C" >&6
21263 if test "$cross_compiling" = yes; then
21264 # Depending upon the size, compute the lo and hi bounds.
21265 cat >conftest.
$ac_ext <<_ACEOF
21268 cat confdefs.h
>>conftest.
$ac_ext
21269 cat >>conftest.
$ac_ext <<_ACEOF
21270 /* end confdefs.h. */
21271 $ac_includes_default
21272 typedef size_t ac__type_sizeof_;
21276 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21283 rm -f conftest.
$ac_objext
21284 if { (ac_try
="$ac_compile"
21285 case "(($ac_try" in
21286 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21287 *) ac_try_echo=$ac_try;;
21289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21290 (eval "$ac_compile") 2>conftest.er1
21292 grep -v '^ *+' conftest.er1 >conftest.err
21294 cat conftest.err >&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); } && {
21297 test -z "$ac_c_werror_flag" ||
21298 test ! -s conftest.err
21299 } && test -s conftest.$ac_objext; then
21302 cat >conftest.$ac_ext <<_ACEOF
21305 cat confdefs.h >>conftest.$ac_ext
21306 cat >>conftest.$ac_ext <<_ACEOF
21307 /* end confdefs.h. */
21308 $ac_includes_default
21309 typedef size_t ac__type_sizeof_;
21313 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21320 rm -f conftest.$ac_objext
21321 if { (ac_try="$ac_compile"
21322 case "(($ac_try" in
21323 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21324 *) ac_try_echo
=$ac_try;;
21326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21327 (eval "$ac_compile") 2>conftest.er1
21329 grep -v '^ *+' conftest.er1
>conftest.err
21331 cat conftest.err
>&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } && {
21334 test -z "$ac_c_werror_flag" ||
21335 test ! -s conftest.err
21336 } && test -s conftest.
$ac_objext; then
21337 ac_hi
=$ac_mid; break
21339 echo "$as_me: failed program was:" >&5
21340 sed 's/^/| /' conftest.
$ac_ext >&5
21342 ac_lo
=`expr $ac_mid + 1`
21343 if test $ac_lo -le $ac_mid; then
21347 ac_mid
=`expr 2 '*' $ac_mid + 1`
21350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21353 echo "$as_me: failed program was:" >&5
21354 sed 's/^/| /' conftest.
$ac_ext >&5
21356 cat >conftest.
$ac_ext <<_ACEOF
21359 cat confdefs.h
>>conftest.
$ac_ext
21360 cat >>conftest.
$ac_ext <<_ACEOF
21361 /* end confdefs.h. */
21362 $ac_includes_default
21363 typedef size_t ac__type_sizeof_;
21367 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21374 rm -f conftest.
$ac_objext
21375 if { (ac_try
="$ac_compile"
21376 case "(($ac_try" in
21377 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21378 *) ac_try_echo=$ac_try;;
21380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21381 (eval "$ac_compile") 2>conftest.er1
21383 grep -v '^ *+' conftest.er1 >conftest.err
21385 cat conftest.err >&5
21386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21387 (exit $ac_status); } && {
21388 test -z "$ac_c_werror_flag" ||
21389 test ! -s conftest.err
21390 } && test -s conftest.$ac_objext; then
21393 cat >conftest.$ac_ext <<_ACEOF
21396 cat confdefs.h >>conftest.$ac_ext
21397 cat >>conftest.$ac_ext <<_ACEOF
21398 /* end confdefs.h. */
21399 $ac_includes_default
21400 typedef size_t ac__type_sizeof_;
21404 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21411 rm -f conftest.$ac_objext
21412 if { (ac_try="$ac_compile"
21413 case "(($ac_try" in
21414 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21415 *) ac_try_echo
=$ac_try;;
21417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21418 (eval "$ac_compile") 2>conftest.er1
21420 grep -v '^ *+' conftest.er1
>conftest.err
21422 cat conftest.err
>&5
21423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21424 (exit $ac_status); } && {
21425 test -z "$ac_c_werror_flag" ||
21426 test ! -s conftest.err
21427 } && test -s conftest.
$ac_objext; then
21428 ac_lo
=$ac_mid; break
21430 echo "$as_me: failed program was:" >&5
21431 sed 's/^/| /' conftest.
$ac_ext >&5
21433 ac_hi
=`expr '(' $ac_mid ')' - 1`
21434 if test $ac_mid -le $ac_hi; then
21438 ac_mid
=`expr 2 '*' $ac_mid`
21441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21444 echo "$as_me: failed program was:" >&5
21445 sed 's/^/| /' conftest.
$ac_ext >&5
21450 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21454 # Binary search between lo and hi bounds.
21455 while test "x$ac_lo" != "x$ac_hi"; do
21456 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21457 cat >conftest.
$ac_ext <<_ACEOF
21460 cat confdefs.h
>>conftest.
$ac_ext
21461 cat >>conftest.
$ac_ext <<_ACEOF
21462 /* end confdefs.h. */
21463 $ac_includes_default
21464 typedef size_t ac__type_sizeof_;
21468 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21475 rm -f conftest.
$ac_objext
21476 if { (ac_try
="$ac_compile"
21477 case "(($ac_try" in
21478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21479 *) ac_try_echo=$ac_try;;
21481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21482 (eval "$ac_compile") 2>conftest.er1
21484 grep -v '^ *+' conftest.er1 >conftest.err
21486 cat conftest.err >&5
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); } && {
21489 test -z "$ac_c_werror_flag" ||
21490 test ! -s conftest.err
21491 } && test -s conftest.$ac_objext; then
21494 echo "$as_me: failed program was:" >&5
21495 sed 's/^/| /' conftest.$ac_ext >&5
21497 ac_lo=`expr '(' $ac_mid ')' + 1`
21500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21503 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21504 '') if test "$ac_cv_type_size_t" = yes; then
21505 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21506 See \`config.log
' for more details." >&5
21507 echo "$as_me: error: cannot compute sizeof (size_t)
21508 See \`config.log' for more details.
" >&2;}
21509 { (exit 77); exit 77; }; }
21511 ac_cv_sizeof_size_t=0
21515 cat >conftest.$ac_ext <<_ACEOF
21518 cat confdefs.h >>conftest.$ac_ext
21519 cat >>conftest.$ac_ext <<_ACEOF
21520 /* end confdefs.h. */
21521 $ac_includes_default
21522 typedef size_t ac__type_sizeof_;
21523 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21524 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21526 #include <stdlib.h>
21531 FILE *f = fopen ("conftest.val
", "w
");
21534 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21536 long int i = longval ();
21537 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21539 fprintf (f, "%ld
\n", i);
21543 unsigned long int i = ulongval ();
21544 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21546 fprintf (f, "%lu
\n", i);
21548 return ferror (f) || fclose (f) != 0;
21554 rm -f conftest$ac_exeext
21555 if { (ac_try="$ac_link"
21556 case "(($ac_try" in
21557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21558 *) ac_try_echo=$ac_try;;
21560 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21561 (eval "$ac_link") 2>&5
21563 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21564 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21565 { (case "(($ac_try" in
21566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21567 *) ac_try_echo=$ac_try;;
21569 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21570 (eval "$ac_try") 2>&5
21572 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21573 (exit $ac_status); }; }; then
21574 ac_cv_sizeof_size_t=`cat conftest.val`
21576 echo "$as_me: program exited with status
$ac_status" >&5
21577 echo "$as_me: failed program was
:" >&5
21578 sed 's/^/| /' conftest.$ac_ext >&5
21580 ( exit $ac_status )
21581 if test "$ac_cv_type_size_t" = yes; then
21582 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21583 See \
`config.log' for more details." >&5
21584 echo "$as_me: error: cannot compute sizeof (size_t)
21585 See \`config.log
' for more details." >&2;}
21586 { (exit 77); exit 77; }; }
21588 ac_cv_sizeof_size_t=0
21591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21595 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21596 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21600 cat >>confdefs.h <<_ACEOF
21601 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21608 { echo "$as_me:$LINENO: checking for long long" >&5
21609 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21610 if test "${ac_cv_type_long_long+set}" = set; then
21611 echo $ECHO_N "(cached) $ECHO_C" >&6
21613 cat >conftest.$ac_ext <<_ACEOF
21616 cat confdefs.h >>conftest.$ac_ext
21617 cat >>conftest.$ac_ext <<_ACEOF
21618 /* end confdefs.h. */
21619 $ac_includes_default
21620 typedef long long ac__type_new_;
21624 if ((ac__type_new_ *) 0)
21626 if (sizeof (ac__type_new_))
21632 rm -f conftest.$ac_objext
21633 if { (ac_try="$ac_compile"
21634 case "(($ac_try" in
21635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21636 *) ac_try_echo=$ac_try;;
21638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21639 (eval "$ac_compile") 2>conftest.er1
21641 grep -v '^
*+' conftest.er1 >conftest.err
21643 cat conftest.err >&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); } && {
21646 test -z "$ac_c_werror_flag" ||
21647 test ! -s conftest.err
21648 } && test -s conftest.$ac_objext; then
21649 ac_cv_type_long_long=yes
21651 echo "$as_me: failed program was:" >&5
21652 sed 's
/^
/| /' conftest.$ac_ext >&5
21654 ac_cv_type_long_long=no
21657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21659 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21660 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21662 # The cast to long int works around a bug in the HP C Compiler
21663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21665 # This bug is HP SR number 8606223364.
21666 { echo "$as_me:$LINENO: checking size of long long" >&5
21667 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21668 if test "${ac_cv_sizeof_long_long+set}" = set; then
21669 echo $ECHO_N "(cached) $ECHO_C" >&6
21671 if test "$cross_compiling" = yes; then
21672 # Depending upon the size, compute the lo and hi bounds.
21673 cat >conftest.
$ac_ext <<_ACEOF
21676 cat confdefs.h
>>conftest.
$ac_ext
21677 cat >>conftest.
$ac_ext <<_ACEOF
21678 /* end confdefs.h. */
21679 $ac_includes_default
21680 typedef long long ac__type_sizeof_;
21684 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21691 rm -f conftest.
$ac_objext
21692 if { (ac_try
="$ac_compile"
21693 case "(($ac_try" in
21694 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21695 *) ac_try_echo=$ac_try;;
21697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21698 (eval "$ac_compile") 2>conftest.er1
21700 grep -v '^ *+' conftest.er1 >conftest.err
21702 cat conftest.err >&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } && {
21705 test -z "$ac_c_werror_flag" ||
21706 test ! -s conftest.err
21707 } && test -s conftest.$ac_objext; then
21710 cat >conftest.$ac_ext <<_ACEOF
21713 cat confdefs.h >>conftest.$ac_ext
21714 cat >>conftest.$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 $ac_includes_default
21717 typedef long long ac__type_sizeof_;
21721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21728 rm -f conftest.$ac_objext
21729 if { (ac_try="$ac_compile"
21730 case "(($ac_try" in
21731 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21732 *) ac_try_echo
=$ac_try;;
21734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21735 (eval "$ac_compile") 2>conftest.er1
21737 grep -v '^ *+' conftest.er1
>conftest.err
21739 cat conftest.err
>&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } && {
21742 test -z "$ac_c_werror_flag" ||
21743 test ! -s conftest.err
21744 } && test -s conftest.
$ac_objext; then
21745 ac_hi
=$ac_mid; break
21747 echo "$as_me: failed program was:" >&5
21748 sed 's/^/| /' conftest.
$ac_ext >&5
21750 ac_lo
=`expr $ac_mid + 1`
21751 if test $ac_lo -le $ac_mid; then
21755 ac_mid
=`expr 2 '*' $ac_mid + 1`
21758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.
$ac_ext >&5
21764 cat >conftest.
$ac_ext <<_ACEOF
21767 cat confdefs.h
>>conftest.
$ac_ext
21768 cat >>conftest.
$ac_ext <<_ACEOF
21769 /* end confdefs.h. */
21770 $ac_includes_default
21771 typedef long long ac__type_sizeof_;
21775 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21782 rm -f conftest.
$ac_objext
21783 if { (ac_try
="$ac_compile"
21784 case "(($ac_try" in
21785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21786 *) ac_try_echo=$ac_try;;
21788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21789 (eval "$ac_compile") 2>conftest.er1
21791 grep -v '^ *+' conftest.er1 >conftest.err
21793 cat conftest.err >&5
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); } && {
21796 test -z "$ac_c_werror_flag" ||
21797 test ! -s conftest.err
21798 } && test -s conftest.$ac_objext; then
21801 cat >conftest.$ac_ext <<_ACEOF
21804 cat confdefs.h >>conftest.$ac_ext
21805 cat >>conftest.$ac_ext <<_ACEOF
21806 /* end confdefs.h. */
21807 $ac_includes_default
21808 typedef long long ac__type_sizeof_;
21812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21819 rm -f conftest.$ac_objext
21820 if { (ac_try="$ac_compile"
21821 case "(($ac_try" in
21822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21823 *) ac_try_echo
=$ac_try;;
21825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21826 (eval "$ac_compile") 2>conftest.er1
21828 grep -v '^ *+' conftest.er1
>conftest.err
21830 cat conftest.err
>&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); } && {
21833 test -z "$ac_c_werror_flag" ||
21834 test ! -s conftest.err
21835 } && test -s conftest.
$ac_objext; then
21836 ac_lo
=$ac_mid; break
21838 echo "$as_me: failed program was:" >&5
21839 sed 's/^/| /' conftest.
$ac_ext >&5
21841 ac_hi
=`expr '(' $ac_mid ')' - 1`
21842 if test $ac_mid -le $ac_hi; then
21846 ac_mid
=`expr 2 '*' $ac_mid`
21849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.
$ac_ext >&5
21858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21862 # Binary search between lo and hi bounds.
21863 while test "x$ac_lo" != "x$ac_hi"; do
21864 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21865 cat >conftest.
$ac_ext <<_ACEOF
21868 cat confdefs.h
>>conftest.
$ac_ext
21869 cat >>conftest.
$ac_ext <<_ACEOF
21870 /* end confdefs.h. */
21871 $ac_includes_default
21872 typedef long long ac__type_sizeof_;
21876 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21883 rm -f conftest.
$ac_objext
21884 if { (ac_try
="$ac_compile"
21885 case "(($ac_try" in
21886 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21887 *) ac_try_echo=$ac_try;;
21889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21890 (eval "$ac_compile") 2>conftest.er1
21892 grep -v '^ *+' conftest.er1 >conftest.err
21894 cat conftest.err >&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } && {
21897 test -z "$ac_c_werror_flag" ||
21898 test ! -s conftest.err
21899 } && test -s conftest.$ac_objext; then
21902 echo "$as_me: failed program was:" >&5
21903 sed 's/^/| /' conftest.$ac_ext >&5
21905 ac_lo=`expr '(' $ac_mid ')' + 1`
21908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21911 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21912 '') if test "$ac_cv_type_long_long" = yes; then
21913 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21914 See \`config.log
' for more details." >&5
21915 echo "$as_me: error: cannot compute sizeof (long long)
21916 See \`config.log' for more details.
" >&2;}
21917 { (exit 77); exit 77; }; }
21919 ac_cv_sizeof_long_long=0
21923 cat >conftest.$ac_ext <<_ACEOF
21926 cat confdefs.h >>conftest.$ac_ext
21927 cat >>conftest.$ac_ext <<_ACEOF
21928 /* end confdefs.h. */
21929 $ac_includes_default
21930 typedef long long ac__type_sizeof_;
21931 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21932 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21934 #include <stdlib.h>
21939 FILE *f = fopen ("conftest.val
", "w
");
21942 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21944 long int i = longval ();
21945 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21947 fprintf (f, "%ld
\n", i);
21951 unsigned long int i = ulongval ();
21952 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21954 fprintf (f, "%lu
\n", i);
21956 return ferror (f) || fclose (f) != 0;
21962 rm -f conftest$ac_exeext
21963 if { (ac_try="$ac_link"
21964 case "(($ac_try" in
21965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21966 *) ac_try_echo=$ac_try;;
21968 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21969 (eval "$ac_link") 2>&5
21971 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21972 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21973 { (case "(($ac_try" in
21974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21975 *) ac_try_echo=$ac_try;;
21977 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21978 (eval "$ac_try") 2>&5
21980 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21981 (exit $ac_status); }; }; then
21982 ac_cv_sizeof_long_long=`cat conftest.val`
21984 echo "$as_me: program exited with status
$ac_status" >&5
21985 echo "$as_me: failed program was
:" >&5
21986 sed 's/^/| /' conftest.$ac_ext >&5
21988 ( exit $ac_status )
21989 if test "$ac_cv_type_long_long" = yes; then
21990 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21991 See \
`config.log' for more details." >&5
21992 echo "$as_me: error: cannot compute sizeof (long long)
21993 See \`config.log
' for more details." >&2;}
21994 { (exit 77); exit 77; }; }
21996 ac_cv_sizeof_long_long=0
21999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22003 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22004 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22008 cat >>confdefs.h <<_ACEOF
22009 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22015 { echo "$as_me:$LINENO: checking for long long" >&5
22016 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22017 if test "${ac_cv_type_long_long+set}" = set; then
22018 echo $ECHO_N "(cached) $ECHO_C" >&6
22020 cat >conftest.$ac_ext <<_ACEOF
22023 cat confdefs.h >>conftest.$ac_ext
22024 cat >>conftest.$ac_ext <<_ACEOF
22025 /* end confdefs.h. */
22026 $ac_includes_default
22027 typedef long long ac__type_new_;
22031 if ((ac__type_new_ *) 0)
22033 if (sizeof (ac__type_new_))
22039 rm -f conftest.$ac_objext
22040 if { (ac_try="$ac_compile"
22041 case "(($ac_try" in
22042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22043 *) ac_try_echo=$ac_try;;
22045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22046 (eval "$ac_compile") 2>conftest.er1
22048 grep -v '^
*+' conftest.er1 >conftest.err
22050 cat conftest.err >&5
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); } && {
22053 test -z "$ac_c_werror_flag" ||
22054 test ! -s conftest.err
22055 } && test -s conftest.$ac_objext; then
22056 ac_cv_type_long_long=yes
22058 echo "$as_me: failed program was:" >&5
22059 sed 's
/^
/| /' conftest.$ac_ext >&5
22061 ac_cv_type_long_long=no
22064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22066 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22067 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22069 # The cast to long int works around a bug in the HP C Compiler
22070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22072 # This bug is HP SR number 8606223364.
22073 { echo "$as_me:$LINENO: checking size of long long" >&5
22074 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22075 if test "${ac_cv_sizeof_long_long+set}" = set; then
22076 echo $ECHO_N "(cached) $ECHO_C" >&6
22078 if test "$cross_compiling" = yes; then
22079 # Depending upon the size, compute the lo and hi bounds.
22080 cat >conftest.
$ac_ext <<_ACEOF
22083 cat confdefs.h
>>conftest.
$ac_ext
22084 cat >>conftest.
$ac_ext <<_ACEOF
22085 /* end confdefs.h. */
22086 $ac_includes_default
22087 typedef long long ac__type_sizeof_;
22091 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22098 rm -f conftest.
$ac_objext
22099 if { (ac_try
="$ac_compile"
22100 case "(($ac_try" in
22101 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22102 *) ac_try_echo=$ac_try;;
22104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22105 (eval "$ac_compile") 2>conftest.er1
22107 grep -v '^ *+' conftest.er1 >conftest.err
22109 cat conftest.err >&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); } && {
22112 test -z "$ac_c_werror_flag" ||
22113 test ! -s conftest.err
22114 } && test -s conftest.$ac_objext; then
22117 cat >conftest.$ac_ext <<_ACEOF
22120 cat confdefs.h >>conftest.$ac_ext
22121 cat >>conftest.$ac_ext <<_ACEOF
22122 /* end confdefs.h. */
22123 $ac_includes_default
22124 typedef long long ac__type_sizeof_;
22128 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22135 rm -f conftest.$ac_objext
22136 if { (ac_try="$ac_compile"
22137 case "(($ac_try" in
22138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22139 *) ac_try_echo
=$ac_try;;
22141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22142 (eval "$ac_compile") 2>conftest.er1
22144 grep -v '^ *+' conftest.er1
>conftest.err
22146 cat conftest.err
>&5
22147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22148 (exit $ac_status); } && {
22149 test -z "$ac_c_werror_flag" ||
22150 test ! -s conftest.err
22151 } && test -s conftest.
$ac_objext; then
22152 ac_hi
=$ac_mid; break
22154 echo "$as_me: failed program was:" >&5
22155 sed 's/^/| /' conftest.
$ac_ext >&5
22157 ac_lo
=`expr $ac_mid + 1`
22158 if test $ac_lo -le $ac_mid; then
22162 ac_mid
=`expr 2 '*' $ac_mid + 1`
22165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22168 echo "$as_me: failed program was:" >&5
22169 sed 's/^/| /' conftest.
$ac_ext >&5
22171 cat >conftest.
$ac_ext <<_ACEOF
22174 cat confdefs.h
>>conftest.
$ac_ext
22175 cat >>conftest.
$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 $ac_includes_default
22178 typedef long long ac__type_sizeof_;
22182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22189 rm -f conftest.
$ac_objext
22190 if { (ac_try
="$ac_compile"
22191 case "(($ac_try" in
22192 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22193 *) ac_try_echo=$ac_try;;
22195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22196 (eval "$ac_compile") 2>conftest.er1
22198 grep -v '^ *+' conftest.er1 >conftest.err
22200 cat conftest.err >&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } && {
22203 test -z "$ac_c_werror_flag" ||
22204 test ! -s conftest.err
22205 } && test -s conftest.$ac_objext; then
22208 cat >conftest.$ac_ext <<_ACEOF
22211 cat confdefs.h >>conftest.$ac_ext
22212 cat >>conftest.$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22214 $ac_includes_default
22215 typedef long long ac__type_sizeof_;
22219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22226 rm -f conftest.$ac_objext
22227 if { (ac_try="$ac_compile"
22228 case "(($ac_try" in
22229 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22230 *) ac_try_echo
=$ac_try;;
22232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22233 (eval "$ac_compile") 2>conftest.er1
22235 grep -v '^ *+' conftest.er1
>conftest.err
22237 cat conftest.err
>&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } && {
22240 test -z "$ac_c_werror_flag" ||
22241 test ! -s conftest.err
22242 } && test -s conftest.
$ac_objext; then
22243 ac_lo
=$ac_mid; break
22245 echo "$as_me: failed program was:" >&5
22246 sed 's/^/| /' conftest.
$ac_ext >&5
22248 ac_hi
=`expr '(' $ac_mid ')' - 1`
22249 if test $ac_mid -le $ac_hi; then
22253 ac_mid
=`expr 2 '*' $ac_mid`
22256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.
$ac_ext >&5
22265 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22269 # Binary search between lo and hi bounds.
22270 while test "x$ac_lo" != "x$ac_hi"; do
22271 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22272 cat >conftest.
$ac_ext <<_ACEOF
22275 cat confdefs.h
>>conftest.
$ac_ext
22276 cat >>conftest.
$ac_ext <<_ACEOF
22277 /* end confdefs.h. */
22278 $ac_includes_default
22279 typedef long long ac__type_sizeof_;
22283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22290 rm -f conftest.
$ac_objext
22291 if { (ac_try
="$ac_compile"
22292 case "(($ac_try" in
22293 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22294 *) ac_try_echo=$ac_try;;
22296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22297 (eval "$ac_compile") 2>conftest.er1
22299 grep -v '^ *+' conftest.er1 >conftest.err
22301 cat conftest.err >&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); } && {
22304 test -z "$ac_c_werror_flag" ||
22305 test ! -s conftest.err
22306 } && test -s conftest.$ac_objext; then
22309 echo "$as_me: failed program was:" >&5
22310 sed 's/^/| /' conftest.$ac_ext >&5
22312 ac_lo=`expr '(' $ac_mid ')' + 1`
22315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22318 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22319 '') if test "$ac_cv_type_long_long" = yes; then
22320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22321 See \`config.log
' for more details." >&5
22322 echo "$as_me: error: cannot compute sizeof (long long)
22323 See \`config.log' for more details.
" >&2;}
22324 { (exit 77); exit 77; }; }
22326 ac_cv_sizeof_long_long=0
22330 cat >conftest.$ac_ext <<_ACEOF
22333 cat confdefs.h >>conftest.$ac_ext
22334 cat >>conftest.$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22336 $ac_includes_default
22337 typedef long long ac__type_sizeof_;
22338 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22339 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22341 #include <stdlib.h>
22346 FILE *f = fopen ("conftest.val
", "w
");
22349 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22351 long int i = longval ();
22352 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22354 fprintf (f, "%ld
\n", i);
22358 unsigned long int i = ulongval ();
22359 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22361 fprintf (f, "%lu
\n", i);
22363 return ferror (f) || fclose (f) != 0;
22369 rm -f conftest$ac_exeext
22370 if { (ac_try="$ac_link"
22371 case "(($ac_try" in
22372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22373 *) ac_try_echo=$ac_try;;
22375 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22376 (eval "$ac_link") 2>&5
22378 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22380 { (case "(($ac_try" in
22381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22382 *) ac_try_echo=$ac_try;;
22384 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22385 (eval "$ac_try") 2>&5
22387 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22388 (exit $ac_status); }; }; then
22389 ac_cv_sizeof_long_long=`cat conftest.val`
22391 echo "$as_me: program exited with status
$ac_status" >&5
22392 echo "$as_me: failed program was
:" >&5
22393 sed 's/^/| /' conftest.$ac_ext >&5
22395 ( exit $ac_status )
22396 if test "$ac_cv_type_long_long" = yes; then
22397 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22398 See \
`config.log' for more details." >&5
22399 echo "$as_me: error: cannot compute sizeof (long long)
22400 See \`config.log
' for more details." >&2;}
22401 { (exit 77); exit 77; }; }
22403 ac_cv_sizeof_long_long=0
22406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22410 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22411 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22415 cat >>confdefs.h <<_ACEOF
22416 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22420 if test "$ac_cv_sizeof_long_long" != 0; then
22421 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22425 { echo "$as_me:$LINENO: checking for long long" >&5
22426 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22427 if test "${ac_cv_type_long_long+set}" = set; then
22428 echo $ECHO_N "(cached) $ECHO_C" >&6
22430 cat >conftest.$ac_ext <<_ACEOF
22433 cat confdefs.h >>conftest.$ac_ext
22434 cat >>conftest.$ac_ext <<_ACEOF
22435 /* end confdefs.h. */
22436 $ac_includes_default
22437 typedef long long ac__type_new_;
22441 if ((ac__type_new_ *) 0)
22443 if (sizeof (ac__type_new_))
22449 rm -f conftest.$ac_objext
22450 if { (ac_try="$ac_compile"
22451 case "(($ac_try" in
22452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22453 *) ac_try_echo=$ac_try;;
22455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22456 (eval "$ac_compile") 2>conftest.er1
22458 grep -v '^
*+' conftest.er1 >conftest.err
22460 cat conftest.err >&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } && {
22463 test -z "$ac_c_werror_flag" ||
22464 test ! -s conftest.err
22465 } && test -s conftest.$ac_objext; then
22466 ac_cv_type_long_long=yes
22468 echo "$as_me: failed program was:" >&5
22469 sed 's
/^
/| /' conftest.$ac_ext >&5
22471 ac_cv_type_long_long=no
22474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22477 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22479 # The cast to long int works around a bug in the HP C Compiler
22480 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22481 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22482 # This bug is HP SR number 8606223364.
22483 { echo "$as_me:$LINENO: checking size of long long" >&5
22484 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22485 if test "${ac_cv_sizeof_long_long+set}" = set; then
22486 echo $ECHO_N "(cached) $ECHO_C" >&6
22488 if test "$cross_compiling" = yes; then
22489 # Depending upon the size, compute the lo and hi bounds.
22490 cat >conftest.
$ac_ext <<_ACEOF
22493 cat confdefs.h
>>conftest.
$ac_ext
22494 cat >>conftest.
$ac_ext <<_ACEOF
22495 /* end confdefs.h. */
22496 $ac_includes_default
22497 typedef long long ac__type_sizeof_;
22501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22508 rm -f conftest.
$ac_objext
22509 if { (ac_try
="$ac_compile"
22510 case "(($ac_try" in
22511 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22512 *) ac_try_echo=$ac_try;;
22514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22515 (eval "$ac_compile") 2>conftest.er1
22517 grep -v '^ *+' conftest.er1 >conftest.err
22519 cat conftest.err >&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); } && {
22522 test -z "$ac_c_werror_flag" ||
22523 test ! -s conftest.err
22524 } && test -s conftest.$ac_objext; then
22527 cat >conftest.$ac_ext <<_ACEOF
22530 cat confdefs.h >>conftest.$ac_ext
22531 cat >>conftest.$ac_ext <<_ACEOF
22532 /* end confdefs.h. */
22533 $ac_includes_default
22534 typedef long long ac__type_sizeof_;
22538 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22545 rm -f conftest.$ac_objext
22546 if { (ac_try="$ac_compile"
22547 case "(($ac_try" in
22548 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22549 *) ac_try_echo
=$ac_try;;
22551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22552 (eval "$ac_compile") 2>conftest.er1
22554 grep -v '^ *+' conftest.er1
>conftest.err
22556 cat conftest.err
>&5
22557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558 (exit $ac_status); } && {
22559 test -z "$ac_c_werror_flag" ||
22560 test ! -s conftest.err
22561 } && test -s conftest.
$ac_objext; then
22562 ac_hi
=$ac_mid; break
22564 echo "$as_me: failed program was:" >&5
22565 sed 's/^/| /' conftest.
$ac_ext >&5
22567 ac_lo
=`expr $ac_mid + 1`
22568 if test $ac_lo -le $ac_mid; then
22572 ac_mid
=`expr 2 '*' $ac_mid + 1`
22575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22578 echo "$as_me: failed program was:" >&5
22579 sed 's/^/| /' conftest.
$ac_ext >&5
22581 cat >conftest.
$ac_ext <<_ACEOF
22584 cat confdefs.h
>>conftest.
$ac_ext
22585 cat >>conftest.
$ac_ext <<_ACEOF
22586 /* end confdefs.h. */
22587 $ac_includes_default
22588 typedef long long ac__type_sizeof_;
22592 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22599 rm -f conftest.
$ac_objext
22600 if { (ac_try
="$ac_compile"
22601 case "(($ac_try" in
22602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22603 *) ac_try_echo=$ac_try;;
22605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22606 (eval "$ac_compile") 2>conftest.er1
22608 grep -v '^ *+' conftest.er1 >conftest.err
22610 cat conftest.err >&5
22611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612 (exit $ac_status); } && {
22613 test -z "$ac_c_werror_flag" ||
22614 test ! -s conftest.err
22615 } && test -s conftest.$ac_objext; then
22618 cat >conftest.$ac_ext <<_ACEOF
22621 cat confdefs.h >>conftest.$ac_ext
22622 cat >>conftest.$ac_ext <<_ACEOF
22623 /* end confdefs.h. */
22624 $ac_includes_default
22625 typedef long long ac__type_sizeof_;
22629 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22636 rm -f conftest.$ac_objext
22637 if { (ac_try="$ac_compile"
22638 case "(($ac_try" in
22639 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22640 *) ac_try_echo
=$ac_try;;
22642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22643 (eval "$ac_compile") 2>conftest.er1
22645 grep -v '^ *+' conftest.er1
>conftest.err
22647 cat conftest.err
>&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); } && {
22650 test -z "$ac_c_werror_flag" ||
22651 test ! -s conftest.err
22652 } && test -s conftest.
$ac_objext; then
22653 ac_lo
=$ac_mid; break
22655 echo "$as_me: failed program was:" >&5
22656 sed 's/^/| /' conftest.
$ac_ext >&5
22658 ac_hi
=`expr '(' $ac_mid ')' - 1`
22659 if test $ac_mid -le $ac_hi; then
22663 ac_mid
=`expr 2 '*' $ac_mid`
22666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22669 echo "$as_me: failed program was:" >&5
22670 sed 's/^/| /' conftest.
$ac_ext >&5
22675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22679 # Binary search between lo and hi bounds.
22680 while test "x$ac_lo" != "x$ac_hi"; do
22681 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22682 cat >conftest.
$ac_ext <<_ACEOF
22685 cat confdefs.h
>>conftest.
$ac_ext
22686 cat >>conftest.
$ac_ext <<_ACEOF
22687 /* end confdefs.h. */
22688 $ac_includes_default
22689 typedef long long ac__type_sizeof_;
22693 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22700 rm -f conftest.
$ac_objext
22701 if { (ac_try
="$ac_compile"
22702 case "(($ac_try" in
22703 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22704 *) ac_try_echo=$ac_try;;
22706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22707 (eval "$ac_compile") 2>conftest.er1
22709 grep -v '^ *+' conftest.er1 >conftest.err
22711 cat conftest.err >&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); } && {
22714 test -z "$ac_c_werror_flag" ||
22715 test ! -s conftest.err
22716 } && test -s conftest.$ac_objext; then
22719 echo "$as_me: failed program was:" >&5
22720 sed 's/^/| /' conftest.$ac_ext >&5
22722 ac_lo=`expr '(' $ac_mid ')' + 1`
22725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22728 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22729 '') if test "$ac_cv_type_long_long" = yes; then
22730 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22731 See \`config.log
' for more details." >&5
22732 echo "$as_me: error: cannot compute sizeof (long long)
22733 See \`config.log' for more details.
" >&2;}
22734 { (exit 77); exit 77; }; }
22736 ac_cv_sizeof_long_long=0
22740 cat >conftest.$ac_ext <<_ACEOF
22743 cat confdefs.h >>conftest.$ac_ext
22744 cat >>conftest.$ac_ext <<_ACEOF
22745 /* end confdefs.h. */
22746 $ac_includes_default
22747 typedef long long ac__type_sizeof_;
22748 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22749 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22751 #include <stdlib.h>
22756 FILE *f = fopen ("conftest.val
", "w
");
22759 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22761 long int i = longval ();
22762 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22764 fprintf (f, "%ld
\n", i);
22768 unsigned long int i = ulongval ();
22769 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22771 fprintf (f, "%lu
\n", i);
22773 return ferror (f) || fclose (f) != 0;
22779 rm -f conftest$ac_exeext
22780 if { (ac_try="$ac_link"
22781 case "(($ac_try" in
22782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22783 *) ac_try_echo=$ac_try;;
22785 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22786 (eval "$ac_link") 2>&5
22788 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22789 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22790 { (case "(($ac_try" in
22791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22792 *) ac_try_echo=$ac_try;;
22794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22795 (eval "$ac_try") 2>&5
22797 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22798 (exit $ac_status); }; }; then
22799 ac_cv_sizeof_long_long=`cat conftest.val`
22801 echo "$as_me: program exited with status
$ac_status" >&5
22802 echo "$as_me: failed program was
:" >&5
22803 sed 's/^/| /' conftest.$ac_ext >&5
22805 ( exit $ac_status )
22806 if test "$ac_cv_type_long_long" = yes; then
22807 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22808 See \
`config.log' for more details." >&5
22809 echo "$as_me: error: cannot compute sizeof (long long)
22810 See \`config.log
' for more details." >&2;}
22811 { (exit 77); exit 77; }; }
22813 ac_cv_sizeof_long_long=0
22816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22820 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22821 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22825 cat >>confdefs.h <<_ACEOF
22826 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22832 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22833 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22834 if test "${ac_cv_type_wchar_t+set}" = set; then
22835 echo $ECHO_N "(cached) $ECHO_C" >&6
22837 cat >conftest.$ac_ext <<_ACEOF
22840 cat confdefs.h >>conftest.$ac_ext
22841 cat >>conftest.$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22844 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22845 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22846 # error "fake wchar_t"
22848 #ifdef HAVE_WCHAR_H
22850 # include <stddef.h>
22852 # include <wchar.h>
22854 #ifdef HAVE_STDLIB_H
22855 # include <stdlib.h>
22861 typedef wchar_t ac__type_new_
;
22865 if ((ac__type_new_
*) 0)
22867 if (sizeof
(ac__type_new_
))
22873 rm -f conftest.
$ac_objext
22874 if { (ac_try
="$ac_compile"
22875 case "(($ac_try" in
22876 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22877 *) ac_try_echo=$ac_try;;
22879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22880 (eval "$ac_compile") 2>conftest.er1
22882 grep -v '^ *+' conftest.er1 >conftest.err
22884 cat conftest.err >&5
22885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886 (exit $ac_status); } && {
22887 test -z "$ac_c_werror_flag" ||
22888 test ! -s conftest.err
22889 } && test -s conftest.$ac_objext; then
22890 ac_cv_type_wchar_t=yes
22892 echo "$as_me: failed program was:" >&5
22893 sed 's/^/| /' conftest.$ac_ext >&5
22895 ac_cv_type_wchar_t=no
22898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22900 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22901 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22903 # The cast to long int works around a bug in the HP C Compiler
22904 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22905 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22906 # This bug is HP SR number 8606223364.
22907 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22908 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22909 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22910 echo $ECHO_N "(cached) $ECHO_C" >&6
22912 if test "$cross_compiling" = yes; then
22913 # Depending upon the size, compute the lo and hi bounds.
22914 cat >conftest.$ac_ext <<_ACEOF
22917 cat confdefs.h >>conftest.$ac_ext
22918 cat >>conftest.$ac_ext <<_ACEOF
22919 /* end confdefs.h. */
22921 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22922 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22923 # error "fake wchar_t"
22925 #ifdef HAVE_WCHAR_H
22927 # include <stddef.h>
22929 # include <wchar.h>
22931 #ifdef HAVE_STDLIB_H
22932 # include <stdlib.h>
22938 typedef wchar_t ac__type_sizeof_
;
22942 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22949 rm -f conftest.
$ac_objext
22950 if { (ac_try
="$ac_compile"
22951 case "(($ac_try" in
22952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22953 *) ac_try_echo=$ac_try;;
22955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22956 (eval "$ac_compile") 2>conftest.er1
22958 grep -v '^ *+' conftest.er1 >conftest.err
22960 cat conftest.err >&5
22961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22962 (exit $ac_status); } && {
22963 test -z "$ac_c_werror_flag" ||
22964 test ! -s conftest.err
22965 } && test -s conftest.$ac_objext; then
22968 cat >conftest.$ac_ext <<_ACEOF
22971 cat confdefs.h >>conftest.$ac_ext
22972 cat >>conftest.$ac_ext <<_ACEOF
22973 /* end confdefs.h. */
22975 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22976 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22977 # error "fake wchar_t"
22979 #ifdef HAVE_WCHAR_H
22981 # include <stddef.h>
22983 # include <wchar.h>
22985 #ifdef HAVE_STDLIB_H
22986 # include <stdlib.h>
22992 typedef wchar_t ac__type_sizeof_;
22996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23003 rm -f conftest.$ac_objext
23004 if { (ac_try="$ac_compile"
23005 case "(($ac_try" in
23006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23007 *) ac_try_echo
=$ac_try;;
23009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23010 (eval "$ac_compile") 2>conftest.er1
23012 grep -v '^ *+' conftest.er1
>conftest.err
23014 cat conftest.err
>&5
23015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23016 (exit $ac_status); } && {
23017 test -z "$ac_c_werror_flag" ||
23018 test ! -s conftest.err
23019 } && test -s conftest.
$ac_objext; then
23020 ac_hi
=$ac_mid; break
23022 echo "$as_me: failed program was:" >&5
23023 sed 's/^/| /' conftest.
$ac_ext >&5
23025 ac_lo
=`expr $ac_mid + 1`
23026 if test $ac_lo -le $ac_mid; then
23030 ac_mid
=`expr 2 '*' $ac_mid + 1`
23033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23036 echo "$as_me: failed program was:" >&5
23037 sed 's/^/| /' conftest.
$ac_ext >&5
23039 cat >conftest.
$ac_ext <<_ACEOF
23042 cat confdefs.h
>>conftest.
$ac_ext
23043 cat >>conftest.
$ac_ext <<_ACEOF
23044 /* end confdefs.h. */
23046 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23047 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23048 # error "fake wchar_t"
23050 #ifdef HAVE_WCHAR_H
23052 # include <stddef.h>
23054 # include <wchar.h>
23056 #ifdef HAVE_STDLIB_H
23057 # include <stdlib.h>
23063 typedef wchar_t ac__type_sizeof_;
23067 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23074 rm -f conftest.
$ac_objext
23075 if { (ac_try
="$ac_compile"
23076 case "(($ac_try" in
23077 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23078 *) ac_try_echo=$ac_try;;
23080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23081 (eval "$ac_compile") 2>conftest.er1
23083 grep -v '^ *+' conftest.er1 >conftest.err
23085 cat conftest.err >&5
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); } && {
23088 test -z "$ac_c_werror_flag" ||
23089 test ! -s conftest.err
23090 } && test -s conftest.$ac_objext; then
23093 cat >conftest.$ac_ext <<_ACEOF
23096 cat confdefs.h >>conftest.$ac_ext
23097 cat >>conftest.$ac_ext <<_ACEOF
23098 /* end confdefs.h. */
23100 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23101 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23102 # error "fake wchar_t"
23104 #ifdef HAVE_WCHAR_H
23106 # include <stddef.h>
23108 # include <wchar.h>
23110 #ifdef HAVE_STDLIB_H
23111 # include <stdlib.h>
23117 typedef wchar_t ac__type_sizeof_;
23121 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23128 rm -f conftest.$ac_objext
23129 if { (ac_try="$ac_compile"
23130 case "(($ac_try" in
23131 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23132 *) ac_try_echo
=$ac_try;;
23134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23135 (eval "$ac_compile") 2>conftest.er1
23137 grep -v '^ *+' conftest.er1
>conftest.err
23139 cat conftest.err
>&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); } && {
23142 test -z "$ac_c_werror_flag" ||
23143 test ! -s conftest.err
23144 } && test -s conftest.
$ac_objext; then
23145 ac_lo
=$ac_mid; break
23147 echo "$as_me: failed program was:" >&5
23148 sed 's/^/| /' conftest.
$ac_ext >&5
23150 ac_hi
=`expr '(' $ac_mid ')' - 1`
23151 if test $ac_mid -le $ac_hi; then
23155 ac_mid
=`expr 2 '*' $ac_mid`
23158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23161 echo "$as_me: failed program was:" >&5
23162 sed 's/^/| /' conftest.
$ac_ext >&5
23167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23171 # Binary search between lo and hi bounds.
23172 while test "x$ac_lo" != "x$ac_hi"; do
23173 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23174 cat >conftest.
$ac_ext <<_ACEOF
23177 cat confdefs.h
>>conftest.
$ac_ext
23178 cat >>conftest.
$ac_ext <<_ACEOF
23179 /* end confdefs.h. */
23181 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23182 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23183 # error "fake wchar_t"
23185 #ifdef HAVE_WCHAR_H
23187 # include <stddef.h>
23189 # include <wchar.h>
23191 #ifdef HAVE_STDLIB_H
23192 # include <stdlib.h>
23198 typedef wchar_t ac__type_sizeof_;
23202 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23209 rm -f conftest.
$ac_objext
23210 if { (ac_try
="$ac_compile"
23211 case "(($ac_try" in
23212 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23213 *) ac_try_echo=$ac_try;;
23215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23216 (eval "$ac_compile") 2>conftest.er1
23218 grep -v '^ *+' conftest.er1 >conftest.err
23220 cat conftest.err >&5
23221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23222 (exit $ac_status); } && {
23223 test -z "$ac_c_werror_flag" ||
23224 test ! -s conftest.err
23225 } && test -s conftest.$ac_objext; then
23228 echo "$as_me: failed program was:" >&5
23229 sed 's/^/| /' conftest.$ac_ext >&5
23231 ac_lo=`expr '(' $ac_mid ')' + 1`
23234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23237 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23238 '') if test "$ac_cv_type_wchar_t" = yes; then
23239 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23240 See \`config.log
' for more details." >&5
23241 echo "$as_me: error: cannot compute sizeof (wchar_t)
23242 See \`config.log' for more details.
" >&2;}
23243 { (exit 77); exit 77; }; }
23245 ac_cv_sizeof_wchar_t=0
23249 cat >conftest.$ac_ext <<_ACEOF
23252 cat confdefs.h >>conftest.$ac_ext
23253 cat >>conftest.$ac_ext <<_ACEOF
23254 /* end confdefs.h. */
23256 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23257 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23258 # error "fake wchar_t
"
23260 #ifdef HAVE_WCHAR_H
23262 # include <stddef.h>
23264 # include <wchar.h>
23266 #ifdef HAVE_STDLIB_H
23267 # include <stdlib.h>
23273 typedef wchar_t ac__type_sizeof_;
23274 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23275 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23277 #include <stdlib.h>
23282 FILE *f = fopen ("conftest.val
", "w
");
23285 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23287 long int i = longval ();
23288 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23290 fprintf (f, "%ld
\n", i);
23294 unsigned long int i = ulongval ();
23295 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23297 fprintf (f, "%lu
\n", i);
23299 return ferror (f) || fclose (f) != 0;
23305 rm -f conftest$ac_exeext
23306 if { (ac_try="$ac_link"
23307 case "(($ac_try" in
23308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23309 *) ac_try_echo=$ac_try;;
23311 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23312 (eval "$ac_link") 2>&5
23314 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23315 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23316 { (case "(($ac_try" in
23317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23318 *) ac_try_echo=$ac_try;;
23320 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23321 (eval "$ac_try") 2>&5
23323 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23324 (exit $ac_status); }; }; then
23325 ac_cv_sizeof_wchar_t=`cat conftest.val`
23327 echo "$as_me: program exited with status
$ac_status" >&5
23328 echo "$as_me: failed program was
:" >&5
23329 sed 's/^/| /' conftest.$ac_ext >&5
23331 ( exit $ac_status )
23332 if test "$ac_cv_type_wchar_t" = yes; then
23333 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23334 See \
`config.log' for more details." >&5
23335 echo "$as_me: error: cannot compute sizeof (wchar_t)
23336 See \`config.log
' for more details." >&2;}
23337 { (exit 77); exit 77; }; }
23339 ac_cv_sizeof_wchar_t=0
23342 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23346 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23347 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23351 cat >>confdefs.h <<_ACEOF
23352 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23356 if test "$ac_cv_sizeof_wchar_t" != 0; then
23362 { echo "$as_me:$LINENO: checking for va_copy" >&5
23363 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23364 if test "${wx_cv_func_va_copy+set}" = set; then
23365 echo $ECHO_N "(cached) $ECHO_C" >&6
23369 ac_cpp='$CXXCPP $CPPFLAGS'
23370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23371 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23374 cat >conftest.$ac_ext <<_ACEOF
23376 #include <stdarg.h>
23377 void foo(char *f, ...)
23391 rm -f conftest.$ac_objext conftest$ac_exeext
23392 if { (ac_try="$ac_link"
23393 case "(($ac_try" in
23394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23395 *) ac_try_echo=$ac_try;;
23397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23398 (eval "$ac_link") 2>conftest.er1
23400 grep -v '^
*+' conftest.er1 >conftest.err
23402 cat conftest.err >&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } && {
23405 test -z "$ac_cxx_werror_flag" ||
23406 test ! -s conftest.err
23407 } && test -s conftest$ac_exeext &&
23408 $as_test_x conftest$ac_exeext; then
23409 wx_cv_func_va_copy=yes
23411 echo "$as_me: failed program was:" >&5
23412 sed 's
/^
/| /' conftest.$ac_ext >&5
23414 wx_cv_func_va_copy=no
23418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23419 conftest$ac_exeext conftest.$ac_ext
23421 ac_cpp='$CPP $CPPFLAGS'
23422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23423 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23429 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23430 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23432 if test $wx_cv_func_va_copy = "yes"; then
23433 cat >>confdefs.h <<\_ACEOF
23434 #define HAVE_VA_COPY 1
23438 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23439 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23440 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23441 echo $ECHO_N "(cached) $ECHO_C" >&6
23444 if test "$cross_compiling" = yes; then
23445 wx_cv_type_va_list_lvalue=yes
23448 cat >conftest.$ac_ext <<_ACEOF
23450 #include <stdarg.h>
23451 int foo(char *f, ...)
23456 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23464 return foo("hi", 17);
23467 rm -f conftest$ac_exeext
23468 if { (ac_try="$ac_link"
23469 case "(($ac_try" in
23470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23471 *) ac_try_echo=$ac_try;;
23473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23474 (eval "$ac_link") 2>&5
23476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23477 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23478 { (case "(($ac_try" in
23479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23480 *) ac_try_echo=$ac_try;;
23482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23483 (eval "$ac_try") 2>&5
23485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23486 (exit $ac_status); }; }; then
23487 wx_cv_type_va_list_lvalue=yes
23489 echo "$as_me: program exited with status $ac_status" >&5
23490 echo "$as_me: failed program was:" >&5
23491 sed 's
/^
/| /' conftest.$ac_ext >&5
23493 ( exit $ac_status )
23494 wx_cv_type_va_list_lvalue=no
23496 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23503 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23504 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23506 if test $wx_cv_type_va_list_lvalue != "yes"; then
23507 cat >>confdefs.h <<\_ACEOF
23508 #define VA_LIST_IS_ARRAY 1
23514 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23516 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23517 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23518 if test "${wx_cv_have_variadic_macros+set}" = set; then
23519 echo $ECHO_N "(cached) $ECHO_C" >&6
23523 ac_cpp='$CXXCPP $CPPFLAGS'
23524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23525 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23528 cat >conftest.$ac_ext <<_ACEOF
23531 cat confdefs.h >>conftest.$ac_ext
23532 cat >>conftest.$ac_ext <<_ACEOF
23533 /* end confdefs.h. */
23536 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23542 test("%s %d %p", "test", 1, 0);
23549 rm -f conftest.$ac_objext
23550 if { (ac_try="$ac_compile"
23551 case "(($ac_try" in
23552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23553 *) ac_try_echo=$ac_try;;
23555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23556 (eval "$ac_compile") 2>conftest.er1
23558 grep -v '^
*+' conftest.er1 >conftest.err
23560 cat conftest.err >&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } && {
23563 test -z "$ac_cxx_werror_flag" ||
23564 test ! -s conftest.err
23565 } && test -s conftest.$ac_objext; then
23566 wx_cv_have_variadic_macros=yes
23568 echo "$as_me: failed program was:" >&5
23569 sed 's
/^
/| /' conftest.$ac_ext >&5
23571 wx_cv_have_variadic_macros=no
23575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23577 ac_cpp='$CPP $CPPFLAGS'
23578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23579 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23585 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23586 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23588 if test $wx_cv_have_variadic_macros = "yes"; then
23589 cat >>confdefs.h <<\_ACEOF
23590 #define HAVE_VARIADIC_MACROS 1
23597 LARGEFILE_CPPFLAGS=
23598 # Check whether --enable-largefile was given.
23599 if test "${enable_largefile+set}" = set; then
23600 enableval=$enable_largefile;
23603 if test "$enable_largefile" != no; then
23606 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23607 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23608 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23609 echo $ECHO_N "(cached) $ECHO_C" >&6
23612 cat >conftest.$ac_ext <<_ACEOF
23615 cat confdefs.h >>conftest.$ac_ext
23616 cat >>conftest.$ac_ext <<_ACEOF
23617 /* end confdefs.h. */
23618 #define _FILE_OFFSET_BITS 64
23619 #include <sys/types.h>
23624 unsigned int field: sizeof(off_t) == 8;
23631 rm -f conftest.$ac_objext
23632 if { (ac_try="$ac_compile"
23633 case "(($ac_try" in
23634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23635 *) ac_try_echo=$ac_try;;
23637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23638 (eval "$ac_compile") 2>conftest.er1
23640 grep -v '^
*+' conftest.er1 >conftest.err
23642 cat conftest.err >&5
23643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644 (exit $ac_status); } && {
23645 test -z "$ac_c_werror_flag" ||
23646 test ! -s conftest.err
23647 } && test -s conftest.$ac_objext; then
23648 ac_cv_sys_file_offset_bits=64
23650 echo "$as_me: failed program was:" >&5
23651 sed 's
/^
/| /' conftest.$ac_ext >&5
23653 ac_cv_sys_file_offset_bits=no
23656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23660 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23661 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23663 if test "$ac_cv_sys_file_offset_bits" != no; then
23665 cat >>confdefs.h <<_ACEOF
23666 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23671 if test "x$wx_largefile" != "xyes"; then
23673 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23674 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23675 if test "${ac_cv_sys_large_files+set}" = set; then
23676 echo $ECHO_N "(cached) $ECHO_C" >&6
23679 cat >conftest.$ac_ext <<_ACEOF
23682 cat confdefs.h >>conftest.$ac_ext
23683 cat >>conftest.$ac_ext <<_ACEOF
23684 /* end confdefs.h. */
23685 #define _LARGE_FILES 1
23686 #include <sys/types.h>
23691 unsigned int field: sizeof(off_t) == 8;
23698 rm -f conftest.$ac_objext
23699 if { (ac_try="$ac_compile"
23700 case "(($ac_try" in
23701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23702 *) ac_try_echo=$ac_try;;
23704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23705 (eval "$ac_compile") 2>conftest.er1
23707 grep -v '^
*+' conftest.er1 >conftest.err
23709 cat conftest.err >&5
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); } && {
23712 test -z "$ac_c_werror_flag" ||
23713 test ! -s conftest.err
23714 } && test -s conftest.$ac_objext; then
23715 ac_cv_sys_large_files=1
23717 echo "$as_me: failed program was:" >&5
23718 sed 's
/^
/| /' conftest.$ac_ext >&5
23720 ac_cv_sys_large_files=no
23723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23727 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23728 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23730 if test "$ac_cv_sys_large_files" != no; then
23732 cat >>confdefs.h <<_ACEOF
23733 #define _LARGE_FILES $ac_cv_sys_large_files
23740 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23741 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23742 if test "x$wx_largefile" = "xyes"; then
23743 cat >>confdefs.h <<\_ACEOF
23744 #define HAVE_LARGEFILE_SUPPORT 1
23748 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23749 echo "${ECHO_T}$wx_largefile" >&6; }
23752 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23753 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23754 elif test "$ac_cv_sys_large_files" = 1; then
23755 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23758 if test -n "$LARGEFILE_CPPFLAGS"; then
23759 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23761 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23762 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23763 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23764 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23765 echo $ECHO_N "(cached) $ECHO_C" >&6
23769 ac_cpp='$CXXCPP $CPPFLAGS'
23770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23771 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23774 cat >conftest.$ac_ext <<_ACEOF
23777 cat confdefs.h >>conftest.$ac_ext
23778 cat >>conftest.$ac_ext <<_ACEOF
23779 /* end confdefs.h. */
23785 #ifndef __STDC_EXT__
23793 rm -f conftest.$ac_objext
23794 if { (ac_try="$ac_compile"
23795 case "(($ac_try" in
23796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23797 *) ac_try_echo=$ac_try;;
23799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23800 (eval "$ac_compile") 2>conftest.er1
23802 grep -v '^
*+' conftest.er1 >conftest.err
23804 cat conftest.err >&5
23805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23806 (exit $ac_status); } && {
23807 test -z "$ac_cxx_werror_flag" ||
23808 test ! -s conftest.err
23809 } && test -s conftest.$ac_objext; then
23810 wx_cv_STDC_EXT_required=no
23812 echo "$as_me: failed program was:" >&5
23813 sed 's
/^
/| /' conftest.$ac_ext >&5
23815 wx_cv_STDC_EXT_required=yes
23819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23821 ac_cpp='$CPP $CPPFLAGS'
23822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23823 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23829 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23830 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23831 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23832 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23838 ac_cpp='$CXXCPP $CPPFLAGS'
23839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23840 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23843 old_CPPFLAGS="$CPPFLAGS"
23844 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23845 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23846 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23847 if test "${ac_cv_sys_largefile_source+set}" = set; then
23848 echo $ECHO_N "(cached) $ECHO_C" >&6
23851 cat >conftest.$ac_ext <<_ACEOF
23854 cat confdefs.h >>conftest.$ac_ext
23855 cat >>conftest.$ac_ext <<_ACEOF
23856 /* end confdefs.h. */
23857 #include <sys/types.h> /* for off_t */
23862 int (*fp) (FILE *, off_t, int) = fseeko;
23863 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23868 rm -f conftest.$ac_objext conftest$ac_exeext
23869 if { (ac_try="$ac_link"
23870 case "(($ac_try" in
23871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23872 *) ac_try_echo=$ac_try;;
23874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23875 (eval "$ac_link") 2>conftest.er1
23877 grep -v '^
*+' conftest.er1 >conftest.err
23879 cat conftest.err >&5
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); } && {
23882 test -z "$ac_cxx_werror_flag" ||
23883 test ! -s conftest.err
23884 } && test -s conftest$ac_exeext &&
23885 $as_test_x conftest$ac_exeext; then
23886 ac_cv_sys_largefile_source=no; break
23888 echo "$as_me: failed program was:" >&5
23889 sed 's
/^
/| /' conftest.$ac_ext >&5
23894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23895 conftest$ac_exeext conftest.$ac_ext
23896 cat >conftest.$ac_ext <<_ACEOF
23899 cat confdefs.h >>conftest.$ac_ext
23900 cat >>conftest.$ac_ext <<_ACEOF
23901 /* end confdefs.h. */
23902 #define _LARGEFILE_SOURCE 1
23903 #include <sys/types.h> /* for off_t */
23908 int (*fp) (FILE *, off_t, int) = fseeko;
23909 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23914 rm -f conftest.$ac_objext conftest$ac_exeext
23915 if { (ac_try="$ac_link"
23916 case "(($ac_try" in
23917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23918 *) ac_try_echo=$ac_try;;
23920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23921 (eval "$ac_link") 2>conftest.er1
23923 grep -v '^
*+' conftest.er1 >conftest.err
23925 cat conftest.err >&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } && {
23928 test -z "$ac_cxx_werror_flag" ||
23929 test ! -s conftest.err
23930 } && test -s conftest$ac_exeext &&
23931 $as_test_x conftest$ac_exeext; then
23932 ac_cv_sys_largefile_source=1; break
23934 echo "$as_me: failed program was:" >&5
23935 sed 's
/^
/| /' conftest.$ac_ext >&5
23940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23941 conftest$ac_exeext conftest.$ac_ext
23942 ac_cv_sys_largefile_source=unknown
23946 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23947 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23948 case $ac_cv_sys_largefile_source in #(
23951 cat >>confdefs.h <<_ACEOF
23952 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23958 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23959 # in glibc 2.1.3, but that breaks too many other things.
23960 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23961 if test $ac_cv_sys_largefile_source != unknown; then
23963 cat >>confdefs.h <<\_ACEOF
23964 #define HAVE_FSEEKO 1
23969 CPPFLAGS="$old_CPPFLAGS"
23971 ac_cpp='$CPP $CPPFLAGS'
23972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23973 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23976 if test "$ac_cv_sys_largefile_source" != no; then
23977 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23980 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23981 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23982 if test "${ac_cv_c_bigendian+set}" = set; then
23983 echo $ECHO_N "(cached) $ECHO_C" >&6
23985 ac_cv_c_bigendian=unknown
23986 # See if sys/param.h defines the BYTE_ORDER macro.
23987 cat >conftest.$ac_ext <<_ACEOF
23990 cat confdefs.h >>conftest.$ac_ext
23991 cat >>conftest.$ac_ext <<_ACEOF
23992 /* end confdefs.h. */
23993 #include <sys/types.h>
23994 #include <sys/param.h>
23999 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24000 bogus endian macros
24006 rm -f conftest.$ac_objext
24007 if { (ac_try="$ac_compile"
24008 case "(($ac_try" in
24009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24010 *) ac_try_echo=$ac_try;;
24012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24013 (eval "$ac_compile") 2>conftest.er1
24015 grep -v '^
*+' conftest.er1 >conftest.err
24017 cat conftest.err >&5
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); } && {
24020 test -z "$ac_c_werror_flag" ||
24021 test ! -s conftest.err
24022 } && test -s conftest.$ac_objext; then
24023 # It does; now see whether it defined to BIG_ENDIAN or not.
24024 cat >conftest.$ac_ext <<_ACEOF
24027 cat confdefs.h >>conftest.$ac_ext
24028 cat >>conftest.$ac_ext <<_ACEOF
24029 /* end confdefs.h. */
24030 #include <sys/types.h>
24031 #include <sys/param.h>
24036 #if BYTE_ORDER != BIG_ENDIAN
24043 rm -f conftest.$ac_objext
24044 if { (ac_try="$ac_compile"
24045 case "(($ac_try" in
24046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24047 *) ac_try_echo=$ac_try;;
24049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24050 (eval "$ac_compile") 2>conftest.er1
24052 grep -v '^
*+' conftest.er1 >conftest.err
24054 cat conftest.err >&5
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); } && {
24057 test -z "$ac_c_werror_flag" ||
24058 test ! -s conftest.err
24059 } && test -s conftest.$ac_objext; then
24060 ac_cv_c_bigendian=yes
24062 echo "$as_me: failed program was:" >&5
24063 sed 's
/^
/| /' conftest.$ac_ext >&5
24065 ac_cv_c_bigendian=no
24068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24070 echo "$as_me: failed program was:" >&5
24071 sed 's
/^
/| /' conftest.$ac_ext >&5
24076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24077 if test $ac_cv_c_bigendian = unknown; then
24078 if test "$cross_compiling" = yes; then
24079 ac_cv_c_bigendian=unknown
24081 cat >conftest.$ac_ext <<_ACEOF
24084 cat confdefs.h >>conftest.$ac_ext
24085 cat >>conftest.$ac_ext <<_ACEOF
24086 /* end confdefs.h. */
24088 /* Are we little or big endian? From Harbison&Steele. */
24092 char c[sizeof (long)];
24095 exit (u.c[sizeof (long) - 1] == 1);
24098 rm -f conftest$ac_exeext
24099 if { (ac_try="$ac_link"
24100 case "(($ac_try" in
24101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24102 *) ac_try_echo=$ac_try;;
24104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24105 (eval "$ac_link") 2>&5
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24109 { (case "(($ac_try" in
24110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24111 *) ac_try_echo=$ac_try;;
24113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24114 (eval "$ac_try") 2>&5
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); }; }; then
24118 ac_cv_c_bigendian=no
24120 echo "$as_me: program exited with status $ac_status" >&5
24121 echo "$as_me: failed program was:" >&5
24122 sed 's
/^
/| /' conftest.$ac_ext >&5
24124 ( exit $ac_status )
24125 ac_cv_c_bigendian=yes
24127 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24133 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24134 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24135 if test $ac_cv_c_bigendian = unknown; then
24136 { 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
24137 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;}
24139 if test $ac_cv_c_bigendian = yes; then
24140 cat >>confdefs.h <<\_ACEOF
24141 #define WORDS_BIGENDIAN 1
24150 ac_cpp='$CXXCPP $CPPFLAGS'
24151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24152 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24157 for ac_header in iostream
24159 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24160 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24162 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24163 echo $ECHO_N "(cached) $ECHO_C" >&6
24165 cat >conftest.$ac_ext <<_ACEOF
24168 cat confdefs.h >>conftest.$ac_ext
24169 cat >>conftest.$ac_ext <<_ACEOF
24170 /* end confdefs.h. */
24173 #include <$ac_header>
24175 rm -f conftest.$ac_objext
24176 if { (ac_try="$ac_compile"
24177 case "(($ac_try" in
24178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24179 *) ac_try_echo=$ac_try;;
24181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24182 (eval "$ac_compile") 2>conftest.er1
24184 grep -v '^
*+' conftest.er1 >conftest.err
24186 cat conftest.err >&5
24187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24188 (exit $ac_status); } && {
24189 test -z "$ac_cxx_werror_flag" ||
24190 test ! -s conftest.err
24191 } && test -s conftest.$ac_objext; then
24192 eval "$as_ac_Header=yes"
24194 echo "$as_me: failed program was:" >&5
24195 sed 's
/^
/| /' conftest.$ac_ext >&5
24197 eval "$as_ac_Header=no"
24200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24202 ac_res=`eval echo '${'$as_ac_Header'}'`
24203 { echo "$as_me:$LINENO: result: $ac_res" >&5
24204 echo "${ECHO_T}$ac_res" >&6; }
24205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24206 cat >>confdefs.h <<_ACEOF
24207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24215 if test "$ac_cv_header_iostream" = "yes" ; then
24218 cat >>confdefs.h <<\_ACEOF
24219 #define wxUSE_IOSTREAMH 1
24225 ac_cpp='$CPP $CPPFLAGS'
24226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24227 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24233 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24234 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24235 if test "${wx_cv_explicit+set}" = set; then
24236 echo $ECHO_N "(cached) $ECHO_C" >&6
24241 ac_cpp='$CXXCPP $CPPFLAGS'
24242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24243 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24247 cat >conftest.$ac_ext <<_ACEOF
24250 cat confdefs.h >>conftest.$ac_ext
24251 cat >>conftest.$ac_ext <<_ACEOF
24252 /* end confdefs.h. */
24254 class Foo { public: explicit Foo(int) {} };
24266 rm -f conftest.$ac_objext
24267 if { (ac_try="$ac_compile"
24268 case "(($ac_try" in
24269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24270 *) ac_try_echo=$ac_try;;
24272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24273 (eval "$ac_compile") 2>conftest.er1
24275 grep -v '^
*+' conftest.er1 >conftest.err
24277 cat conftest.err >&5
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); } && {
24280 test -z "$ac_cxx_werror_flag" ||
24281 test ! -s conftest.err
24282 } && test -s conftest.$ac_objext; then
24284 cat >conftest.$ac_ext <<_ACEOF
24287 cat confdefs.h >>conftest.$ac_ext
24288 cat >>conftest.$ac_ext <<_ACEOF
24289 /* end confdefs.h. */
24291 class Foo { public: explicit Foo(int) {} };
24292 static void TakeFoo(const Foo& foo) { }
24305 rm -f conftest.$ac_objext
24306 if { (ac_try="$ac_compile"
24307 case "(($ac_try" in
24308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24309 *) ac_try_echo=$ac_try;;
24311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24312 (eval "$ac_compile") 2>conftest.er1
24314 grep -v '^
*+' conftest.er1 >conftest.err
24316 cat conftest.err >&5
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); } && {
24319 test -z "$ac_cxx_werror_flag" ||
24320 test ! -s conftest.err
24321 } && test -s conftest.$ac_objext; then
24324 echo "$as_me: failed program was:" >&5
24325 sed 's
/^
/| /' conftest.$ac_ext >&5
24331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24334 echo "$as_me: failed program was:" >&5
24335 sed 's
/^
/| /' conftest.$ac_ext >&5
24341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24344 ac_cpp='$CPP $CPPFLAGS'
24345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24346 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24351 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24352 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24354 if test "$wx_cv_explicit" = "yes"; then
24355 cat >>confdefs.h <<\_ACEOF
24356 #define HAVE_EXPLICIT 1
24362 if test "x$SUNCXX" = xyes; then
24363 CXXFLAGS="-features=tmplife $CXXFLAGS"
24366 if test "x$SUNCC" = xyes; then
24367 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24370 if test "x$SGICC" = "xyes"; then
24371 CFLAGS="-woff 3970 $CFLAGS"
24373 if test "x$SGICXX" = "xyes"; then
24374 CXXFLAGS="-woff 3970 $CXXFLAGS"
24377 if test "x$HPCC" = "xyes"; then
24378 CFLAGS="+W 2011,2450 $CFLAGS"
24380 if test "x$HPCXX" = "xyes"; then
24381 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24384 if test "x$COMPAQCXX" = "xyes"; then
24385 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24389 ac_cpp='$CXXCPP $CPPFLAGS'
24390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24391 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24395 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24396 if test "$wxUSE_UNICODE" = "yes"; then
24397 std_string="std::wstring"
24398 char_type="wchar_t"
24400 std_string="std::string"
24404 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24405 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24406 if test "${wx_cv_class_stdstring+set}" = set; then
24407 echo $ECHO_N "(cached) $ECHO_C" >&6
24410 cat >conftest.$ac_ext <<_ACEOF
24413 cat confdefs.h >>conftest.$ac_ext
24414 cat >>conftest.$ac_ext <<_ACEOF
24415 /* end confdefs.h. */
24425 rm -f conftest.$ac_objext
24426 if { (ac_try="$ac_compile"
24427 case "(($ac_try" in
24428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24429 *) ac_try_echo=$ac_try;;
24431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24432 (eval "$ac_compile") 2>conftest.er1
24434 grep -v '^
*+' conftest.er1 >conftest.err
24436 cat conftest.err >&5
24437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438 (exit $ac_status); } && {
24439 test -z "$ac_cxx_werror_flag" ||
24440 test ! -s conftest.err
24441 } && test -s conftest.$ac_objext; then
24442 wx_cv_class_stdstring=yes
24444 echo "$as_me: failed program was:" >&5
24445 sed 's
/^
/| /' conftest.$ac_ext >&5
24447 wx_cv_class_stdstring=no
24451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24455 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24456 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24458 if test "$wx_cv_class_stdstring" = yes; then
24459 if test "$wxUSE_UNICODE" = "yes"; then
24460 cat >>confdefs.h <<\_ACEOF
24461 #define HAVE_STD_WSTRING 1
24466 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24467 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24468 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24469 echo $ECHO_N "(cached) $ECHO_C" >&6
24472 cat >conftest.$ac_ext <<_ACEOF
24475 cat confdefs.h >>conftest.$ac_ext
24476 cat >>conftest.$ac_ext <<_ACEOF
24477 /* end confdefs.h. */
24479 #ifdef HAVE_WCHAR_H
24481 # include <stddef.h>
24483 # include <wchar.h>
24485 #ifdef HAVE_STDLIB_H
24486 # include <stdlib.h>
24494 std::basic_string<$char_type> foo;
24495 const $char_type* dummy = foo.c_str();
24500 rm -f conftest.$ac_objext
24501 if { (ac_try="$ac_compile"
24502 case "(($ac_try" in
24503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24504 *) ac_try_echo=$ac_try;;
24506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24507 (eval "$ac_compile") 2>conftest.er1
24509 grep -v '^
*+' conftest.er1 >conftest.err
24511 cat conftest.err >&5
24512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24513 (exit $ac_status); } && {
24514 test -z "$ac_cxx_werror_flag" ||
24515 test ! -s conftest.err
24516 } && test -s conftest.$ac_objext; then
24517 wx_cv_class_stdbasicstring=yes
24519 echo "$as_me: failed program was:" >&5
24520 sed 's
/^
/| /' conftest.$ac_ext >&5
24522 wx_cv_class_stdbasicstring=no
24526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24530 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24531 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24533 if test "$wx_cv_class_stdbasicstring" != yes; then
24534 if test "$wxUSE_STL" = "yes"; then
24535 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24536 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24537 { (exit 1); exit 1; }; }
24538 elif test "$wxUSE_STD_STRING" = "yes"; then
24539 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24540 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24541 { (exit 1); exit 1; }; }
24543 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24544 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24545 wxUSE_STD_STRING=no
24551 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24552 { echo "$as_me:$LINENO: checking for std::istream" >&5
24553 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24554 if test "${ac_cv_type_std__istream+set}" = set; then
24555 echo $ECHO_N "(cached) $ECHO_C" >&6
24557 cat >conftest.$ac_ext <<_ACEOF
24560 cat confdefs.h >>conftest.$ac_ext
24561 cat >>conftest.$ac_ext <<_ACEOF
24562 /* end confdefs.h. */
24563 #include <iostream>
24565 typedef std::istream ac__type_new_;
24569 if ((ac__type_new_ *) 0)
24571 if (sizeof (ac__type_new_))
24577 rm -f conftest.$ac_objext
24578 if { (ac_try="$ac_compile"
24579 case "(($ac_try" in
24580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24581 *) ac_try_echo=$ac_try;;
24583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24584 (eval "$ac_compile") 2>conftest.er1
24586 grep -v '^
*+' conftest.er1 >conftest.err
24588 cat conftest.err >&5
24589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590 (exit $ac_status); } && {
24591 test -z "$ac_cxx_werror_flag" ||
24592 test ! -s conftest.err
24593 } && test -s conftest.$ac_objext; then
24594 ac_cv_type_std__istream=yes
24596 echo "$as_me: failed program was:" >&5
24597 sed 's
/^
/| /' conftest.$ac_ext >&5
24599 ac_cv_type_std__istream=no
24602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24604 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24605 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24606 if test $ac_cv_type_std__istream = yes; then
24608 cat >>confdefs.h <<_ACEOF
24609 #define HAVE_STD__ISTREAM 1
24614 wxUSE_STD_IOSTREAM=no
24616 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24617 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24618 if test "${ac_cv_type_std__ostream+set}" = set; then
24619 echo $ECHO_N "(cached) $ECHO_C" >&6
24621 cat >conftest.$ac_ext <<_ACEOF
24624 cat confdefs.h >>conftest.$ac_ext
24625 cat >>conftest.$ac_ext <<_ACEOF
24626 /* end confdefs.h. */
24627 #include <iostream>
24629 typedef std::ostream ac__type_new_;
24633 if ((ac__type_new_ *) 0)
24635 if (sizeof (ac__type_new_))
24641 rm -f conftest.$ac_objext
24642 if { (ac_try="$ac_compile"
24643 case "(($ac_try" in
24644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24645 *) ac_try_echo=$ac_try;;
24647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24648 (eval "$ac_compile") 2>conftest.er1
24650 grep -v '^
*+' conftest.er1 >conftest.err
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } && {
24655 test -z "$ac_cxx_werror_flag" ||
24656 test ! -s conftest.err
24657 } && test -s conftest.$ac_objext; then
24658 ac_cv_type_std__ostream=yes
24660 echo "$as_me: failed program was:" >&5
24661 sed 's
/^
/| /' conftest.$ac_ext >&5
24663 ac_cv_type_std__ostream=no
24666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24668 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24669 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24670 if test $ac_cv_type_std__ostream = yes; then
24672 cat >>confdefs.h <<_ACEOF
24673 #define HAVE_STD__OSTREAM 1
24678 wxUSE_STD_IOSTREAM=no
24682 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24683 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24684 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24685 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24686 { (exit 1); exit 1; }; }
24688 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24689 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24694 if test "$wxUSE_STL" = "yes"; then
24695 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24696 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24697 if test "${wx_cv_lib_stl+set}" = set; then
24698 echo $ECHO_N "(cached) $ECHO_C" >&6
24700 cat >conftest.$ac_ext <<_ACEOF
24703 cat confdefs.h >>conftest.$ac_ext
24704 cat >>conftest.$ac_ext <<_ACEOF
24705 /* end confdefs.h. */
24707 #include <functional>
24708 #include <algorithm>
24714 std::vector<int> moo;
24715 std::list<int> foo;
24716 std::vector<int>::iterator it =
24717 std::find_if(moo.begin(), moo.end(),
24718 std::bind2nd(std::less<int>(), 3));
24723 rm -f conftest.$ac_objext
24724 if { (ac_try="$ac_compile"
24725 case "(($ac_try" in
24726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24727 *) ac_try_echo=$ac_try;;
24729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24730 (eval "$ac_compile") 2>conftest.er1
24732 grep -v '^
*+' conftest.er1 >conftest.err
24734 cat conftest.err >&5
24735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); } && {
24737 test -z "$ac_cxx_werror_flag" ||
24738 test ! -s conftest.err
24739 } && test -s conftest.$ac_objext; then
24742 echo "$as_me: failed program was:" >&5
24743 sed 's
/^
/| /' conftest.$ac_ext >&5
24749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24752 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24753 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24755 if test "$wx_cv_lib_stl" != yes; then
24756 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24757 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24758 { (exit 1); exit 1; }; }
24761 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24762 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24763 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24764 echo $ECHO_N "(cached) $ECHO_C" >&6
24766 cat >conftest.$ac_ext <<_ACEOF
24769 cat confdefs.h >>conftest.$ac_ext
24770 cat >>conftest.$ac_ext <<_ACEOF
24771 /* end confdefs.h. */
24776 std::string foo, bar;
24778 foo.compare(1, 1, bar);
24779 foo.compare(1, 1, bar, 1, 1);
24781 foo.compare(1, 1, "");
24782 foo.compare(1, 1, "", 2);
24787 rm -f conftest.$ac_objext
24788 if { (ac_try="$ac_compile"
24789 case "(($ac_try" in
24790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24791 *) ac_try_echo=$ac_try;;
24793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24794 (eval "$ac_compile") 2>conftest.er1
24796 grep -v '^
*+' conftest.er1 >conftest.err
24798 cat conftest.err >&5
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); } && {
24801 test -z "$ac_cxx_werror_flag" ||
24802 test ! -s conftest.err
24803 } && test -s conftest.$ac_objext; then
24804 wx_cv_func_stdstring_compare=yes
24806 echo "$as_me: failed program was:" >&5
24807 sed 's
/^
/| /' conftest.$ac_ext >&5
24809 wx_cv_func_stdstring_compare=no
24813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24816 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24817 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24819 if test "$wx_cv_func_stdstring_compare" = yes; then
24820 cat >>confdefs.h <<\_ACEOF
24821 #define HAVE_STD_STRING_COMPARE 1
24826 if test "$wx_cv_class_gnuhashmapset" = yes; then
24827 cat >>confdefs.h <<\_ACEOF
24828 #define HAVE_EXT_HASH_MAP 1
24831 cat >>confdefs.h <<\_ACEOF
24832 #define HAVE_GNU_CXX_HASH_MAP 1
24837 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24838 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24839 if test "${ac_cv_header_unordered_map+set}" = set; then
24840 echo $ECHO_N "(cached) $ECHO_C" >&6
24842 cat >conftest.$ac_ext <<_ACEOF
24845 cat confdefs.h >>conftest.$ac_ext
24846 cat >>conftest.$ac_ext <<_ACEOF
24847 /* end confdefs.h. */
24851 #include <unordered_map>
24853 rm -f conftest.$ac_objext
24854 if { (ac_try="$ac_compile"
24855 case "(($ac_try" in
24856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24857 *) ac_try_echo=$ac_try;;
24859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24860 (eval "$ac_compile") 2>conftest.er1
24862 grep -v '^
*+' conftest.er1 >conftest.err
24864 cat conftest.err >&5
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); } && {
24867 test -z "$ac_cxx_werror_flag" ||
24868 test ! -s conftest.err
24869 } && test -s conftest.$ac_objext; then
24870 ac_cv_header_unordered_map=yes
24872 echo "$as_me: failed program was:" >&5
24873 sed 's
/^
/| /' conftest.$ac_ext >&5
24875 ac_cv_header_unordered_map=no
24878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24880 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24881 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24882 if test $ac_cv_header_unordered_map = yes; then
24883 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24884 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24885 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24886 echo $ECHO_N "(cached) $ECHO_C" >&6
24888 cat >conftest.$ac_ext <<_ACEOF
24891 cat confdefs.h >>conftest.$ac_ext
24892 cat >>conftest.$ac_ext <<_ACEOF
24893 /* end confdefs.h. */
24894 #include <unordered_map>
24895 #include <unordered_set>
24899 std::unordered_map<double*, char*> test1;
24900 std::unordered_set<char*> test2;
24905 rm -f conftest.$ac_objext
24906 if { (ac_try="$ac_compile"
24907 case "(($ac_try" in
24908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24909 *) ac_try_echo=$ac_try;;
24911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24912 (eval "$ac_compile") 2>conftest.er1
24914 grep -v '^
*+' conftest.er1 >conftest.err
24916 cat conftest.err >&5
24917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24918 (exit $ac_status); } && {
24919 test -z "$ac_cxx_werror_flag" ||
24920 test ! -s conftest.err
24921 } && test -s conftest.$ac_objext; then
24922 wx_cv_class_stdunorderedmapset=yes
24924 echo "$as_me: failed program was:" >&5
24925 sed 's
/^
/| /' conftest.$ac_ext >&5
24927 wx_cv_class_stdunorderedmapset=no
24930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24934 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24935 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24940 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24941 cat >>confdefs.h <<\_ACEOF
24942 #define HAVE_STD_UNORDERED_MAP 1
24945 cat >>confdefs.h <<\_ACEOF
24946 #define HAVE_STD_UNORDERED_SET 1
24950 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24951 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24952 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24955 cat >conftest.$ac_ext <<_ACEOF
24958 cat confdefs.h >>conftest.$ac_ext
24959 cat >>conftest.$ac_ext <<_ACEOF
24960 /* end confdefs.h. */
24964 #include <tr1/unordered_map>
24966 rm -f conftest.$ac_objext
24967 if { (ac_try="$ac_compile"
24968 case "(($ac_try" in
24969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24970 *) ac_try_echo=$ac_try;;
24972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24973 (eval "$ac_compile") 2>conftest.er1
24975 grep -v '^
*+' conftest.er1 >conftest.err
24977 cat conftest.err >&5
24978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24979 (exit $ac_status); } && {
24980 test -z "$ac_cxx_werror_flag" ||
24981 test ! -s conftest.err
24982 } && test -s conftest.$ac_objext; then
24983 ac_cv_header_tr1_unordered_map=yes
24985 echo "$as_me: failed program was:" >&5
24986 sed 's
/^
/| /' conftest.$ac_ext >&5
24988 ac_cv_header_tr1_unordered_map=no
24991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24993 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24994 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24995 if test $ac_cv_header_tr1_unordered_map = yes; then
24996 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24997 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24998 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24999 echo $ECHO_N "(cached) $ECHO_C" >&6
25001 cat >conftest.$ac_ext <<_ACEOF
25004 cat confdefs.h >>conftest.$ac_ext
25005 cat >>conftest.$ac_ext <<_ACEOF
25006 /* end confdefs.h. */
25007 #include <tr1/unordered_map>
25008 #include <tr1/unordered_set>
25012 std::tr1::unordered_map<double*, char*> test1;
25013 std::tr1::unordered_set<char*> test2;
25014 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25015 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25021 rm -f conftest.
$ac_objext
25022 if { (ac_try
="$ac_compile"
25023 case "(($ac_try" in
25024 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25025 *) ac_try_echo=$ac_try;;
25027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25028 (eval "$ac_compile") 2>conftest.er1
25030 grep -v '^ *+' conftest.er1 >conftest.err
25032 cat conftest.err >&5
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); } && {
25035 test -z "$ac_cxx_werror_flag" ||
25036 test ! -s conftest.err
25037 } && test -s conftest.$ac_objext; then
25038 wx_cv_class_tr1unorderedmapset=yes
25040 echo "$as_me: failed program was:" >&5
25041 sed 's/^/| /' conftest.$ac_ext >&5
25043 wx_cv_class_tr1unorderedmapset=no
25046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25050 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25051 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25056 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25057 cat >>confdefs.h <<\_ACEOF
25058 #define HAVE_TR1_UNORDERED_MAP 1
25061 cat >>confdefs.h <<\_ACEOF
25062 #define HAVE_TR1_UNORDERED_SET 1
25066 { echo "$as_me:$LINENO: checking for hash_map" >&5
25067 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25068 if test "${ac_cv_header_hash_map+set}" = set; then
25069 echo $ECHO_N "(cached) $ECHO_C" >&6
25071 cat >conftest.$ac_ext <<_ACEOF
25074 cat confdefs.h >>conftest.$ac_ext
25075 cat >>conftest.$ac_ext <<_ACEOF
25076 /* end confdefs.h. */
25080 #include <hash_map>
25082 rm -f conftest.$ac_objext
25083 if { (ac_try="$ac_compile"
25084 case "(($ac_try" in
25085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25086 *) ac_try_echo
=$ac_try;;
25088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25089 (eval "$ac_compile") 2>conftest.er1
25091 grep -v '^ *+' conftest.er1
>conftest.err
25093 cat conftest.err
>&5
25094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25095 (exit $ac_status); } && {
25096 test -z "$ac_cxx_werror_flag" ||
25097 test ! -s conftest.err
25098 } && test -s conftest.
$ac_objext; then
25099 ac_cv_header_hash_map
=yes
25101 echo "$as_me: failed program was:" >&5
25102 sed 's/^/| /' conftest.
$ac_ext >&5
25104 ac_cv_header_hash_map
=no
25107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25109 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25110 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25111 if test $ac_cv_header_hash_map = yes; then
25112 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25113 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25114 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25115 echo $ECHO_N "(cached) $ECHO_C" >&6
25117 cat >conftest.
$ac_ext <<_ACEOF
25120 cat confdefs.h
>>conftest.
$ac_ext
25121 cat >>conftest.
$ac_ext <<_ACEOF
25122 /* end confdefs.h. */
25123 #include <hash_map>
25124 #include <hash_set>
25128 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25129 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25134 rm -f conftest.
$ac_objext
25135 if { (ac_try
="$ac_compile"
25136 case "(($ac_try" in
25137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25138 *) ac_try_echo=$ac_try;;
25140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25141 (eval "$ac_compile") 2>conftest.er1
25143 grep -v '^ *+' conftest.er1 >conftest.err
25145 cat conftest.err >&5
25146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147 (exit $ac_status); } && {
25148 test -z "$ac_cxx_werror_flag" ||
25149 test ! -s conftest.err
25150 } && test -s conftest.$ac_objext; then
25151 wx_cv_class_stdhashmapset=yes
25153 echo "$as_me: failed program was:" >&5
25154 sed 's/^/| /' conftest.$ac_ext >&5
25156 wx_cv_class_stdhashmapset=no
25159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25163 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25164 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25169 if test "$wx_cv_class_stdhashmapset" = yes; then
25170 cat >>confdefs.h <<\_ACEOF
25171 #define HAVE_HASH_MAP 1
25174 cat >>confdefs.h <<\_ACEOF
25175 #define HAVE_STD_HASH_MAP 1
25180 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25181 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25182 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25183 echo $ECHO_N "(cached) $ECHO_C" >&6
25185 cat >conftest.$ac_ext <<_ACEOF
25188 cat confdefs.h >>conftest.$ac_ext
25189 cat >>conftest.$ac_ext <<_ACEOF
25190 /* end confdefs.h. */
25194 #include <ext/hash_map>
25196 rm -f conftest.$ac_objext
25197 if { (ac_try="$ac_compile"
25198 case "(($ac_try" in
25199 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25200 *) ac_try_echo
=$ac_try;;
25202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25203 (eval "$ac_compile") 2>conftest.er1
25205 grep -v '^ *+' conftest.er1
>conftest.err
25207 cat conftest.err
>&5
25208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25209 (exit $ac_status); } && {
25210 test -z "$ac_cxx_werror_flag" ||
25211 test ! -s conftest.err
25212 } && test -s conftest.
$ac_objext; then
25213 ac_cv_header_ext_hash_map
=yes
25215 echo "$as_me: failed program was:" >&5
25216 sed 's/^/| /' conftest.
$ac_ext >&5
25218 ac_cv_header_ext_hash_map
=no
25221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25223 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25224 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25225 if test $ac_cv_header_ext_hash_map = yes; then
25226 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25227 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25228 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25229 echo $ECHO_N "(cached) $ECHO_C" >&6
25231 cat >conftest.
$ac_ext <<_ACEOF
25234 cat confdefs.h
>>conftest.
$ac_ext
25235 cat >>conftest.
$ac_ext <<_ACEOF
25236 /* end confdefs.h. */
25237 #include <ext/hash_map>
25238 #include <ext/hash_set>
25242 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25243 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25248 rm -f conftest.
$ac_objext
25249 if { (ac_try
="$ac_compile"
25250 case "(($ac_try" in
25251 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25252 *) ac_try_echo=$ac_try;;
25254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25255 (eval "$ac_compile") 2>conftest.er1
25257 grep -v '^ *+' conftest.er1 >conftest.err
25259 cat conftest.err >&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } && {
25262 test -z "$ac_cxx_werror_flag" ||
25263 test ! -s conftest.err
25264 } && test -s conftest.$ac_objext; then
25265 wx_cv_class_gnuhashmapset=yes
25267 echo "$as_me: failed program was:" >&5
25268 sed 's/^/| /' conftest.$ac_ext >&5
25270 wx_cv_class_gnuhashmapset=no
25273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25277 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25278 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25289 if test -n "$GCC"; then
25290 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25291 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25292 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25293 echo $ECHO_N "(cached) $ECHO_C" >&6
25296 cat >conftest.$ac_ext <<_ACEOF
25299 cat confdefs.h >>conftest.$ac_ext
25300 cat >>conftest.$ac_ext <<_ACEOF
25301 /* end confdefs.h. */
25307 unsigned int value=0;
25308 /* wxAtomicInc doesn't use return value here */
25309 __sync_fetch_and_add(&value, 2);
25310 __sync_sub_and_fetch(&value, 1);
25311 /* but wxAtomicDec does, so mimic that: */
25312 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25318 rm -f conftest.$ac_objext conftest$ac_exeext
25319 if { (ac_try="$ac_link"
25320 case "(($ac_try" in
25321 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25322 *) ac_try_echo
=$ac_try;;
25324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25325 (eval "$ac_link") 2>conftest.er1
25327 grep -v '^ *+' conftest.er1
>conftest.err
25329 cat conftest.err
>&5
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); } && {
25332 test -z "$ac_cxx_werror_flag" ||
25333 test ! -s conftest.err
25334 } && test -s conftest
$ac_exeext &&
25335 $as_test_x conftest
$ac_exeext; then
25336 wx_cv_cc_gcc_atomic_builtins
=yes
25338 echo "$as_me: failed program was:" >&5
25339 sed 's/^/| /' conftest.
$ac_ext >&5
25341 wx_cv_cc_gcc_atomic_builtins
=no
25344 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25345 conftest
$ac_exeext conftest.
$ac_ext
25349 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25350 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25351 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25352 cat >>confdefs.h
<<\_ACEOF
25353 #define HAVE_GCC_ATOMIC_BUILTINS 1
25361 ac_cpp
='$CPP $CPPFLAGS'
25362 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25363 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25364 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25369 /usr/local/include \
25370 /usr/local/X11/include \
25371 /usr/local/include/X11 \
25372 /usr/local/X11R6/include \
25373 /usr/local/include/X11R6 \
25375 /usr/Motif-2.1/include \
25376 /usr/Motif-1.2/include \
25377 /usr/include/Motif1.2 \
25380 /usr/openwin/include \
25384 /usr/X11R6/include \
25385 /usr/X11R6.4/include \
25387 /usr/include/X11R6 \
25392 /usr/XFree86/include/X11 \
25395 /usr/local/X1R5/include \
25396 /usr/local/include/X11R5 \
25397 /usr/X11R5/include \
25398 /usr/include/X11R5 \
25400 /usr/local/X11R4/include \
25401 /usr/local/include/X11R4 \
25402 /usr/X11R4/include \
25403 /usr/include/X11R4 \
25405 /usr/openwin/share/include"
25407 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25408 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25412 if test "${wx_cv_std_libpath+set}" = set; then
25413 echo $ECHO_N "(cached) $ECHO_C" >&6
25416 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25417 for e
in a so sl dylib dll.a
; do
25419 if test -f $libc; then
25422 cat >conftest.
$ac_ext <<_ACEOF
25423 int main() { return 0; }
25425 rm -f conftest.
$ac_objext conftest
$ac_exeext
25426 if { (ac_try
="$ac_link"
25427 case "(($ac_try" in
25428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25429 *) ac_try_echo=$ac_try;;
25431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25432 (eval "$ac_link") 2>conftest.er1
25434 grep -v '^ *+' conftest.er1 >conftest.err
25436 cat conftest.err >&5
25437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25438 (exit $ac_status); } && {
25439 test -z "$ac_c_werror_flag" ||
25440 test ! -s conftest.err
25441 } && test -s conftest$ac_exeext &&
25442 $as_test_x conftest$ac_exeext; then
25443 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25445 echo "$as_me: failed program was:" >&5
25446 sed 's/^/| /' conftest.$ac_ext >&5
25451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25452 conftest$ac_exeext conftest.$ac_ext
25454 if test "x$wx_cv_std_libpath" != "x"; then
25460 if test "x$wx_cv_std_libpath" = "x"; then
25461 wx_cv_std_libpath="lib"
25470 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25471 wx_cv_std_libpath="lib/64"
25473 wx_cv_std_libpath="lib"
25478 if test "$ac_cv_sizeof_void_p" = 8 -a \
25479 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25480 wx_cv_std_libpath="lib64"
25482 wx_cv_std_libpath="lib"
25487 wx_cv_std_libpath="lib";
25491 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25492 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25494 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25496 if test "$build" != "$host" -a "$GCC" = yes; then
25497 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25498 cross_root=`dirname $cross_root`
25499 cross_root=`dirname $cross_root`
25501 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25502 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25503 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25505 if test -z "$PKG_CONFIG_PATH"; then
25506 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25507 export PKG_CONFIG_PATH
25510 if test -z "$x_includes" -o "$x_includes" = NONE; then
25513 for ac_dir in $SEARCH_INCLUDE /usr/include;
25515 if test -f "$ac_dir/X11/Intrinsic.h"; then
25516 ac_find_includes=$ac_dir
25521 x_includes=$ac_find_includes
25523 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25526 for ac_dir in $SEARCH_LIB;
25528 for ac_extension in a so sl dylib dll.a; do
25529 if test -f "$ac_dir/libXt.$ac_extension"; then
25530 ac_find_libraries=$ac_dir
25536 x_libraries=$ac_find_libraries
25542 cat >confcache <<\_ACEOF
25543 # This file is a shell script that caches the results of configure
25544 # tests run on this system so they can be shared between configure
25545 # scripts and configure runs, see configure's option --config-cache.
25546 # It is not useful on other systems. If it contains results you don't
25547 # want to keep, you may remove or edit it.
25549 # config.status only pays attention to the cache file if you give it
25550 # the --recheck option to rerun configure.
25552 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25553 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25554 # following values.
25558 # The following way of writing the cache mishandles newlines in values,
25559 # but we know of no workaround that is simple, portable, and efficient.
25560 # So, we kill variables containing newlines.
25561 # Ultrix sh set writes to stderr and can't be redirected directly,
25562 # and sets the high bit in the cache file unless we assign to the vars.
25564 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25565 eval ac_val
=\$
$ac_var
25569 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25570 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25573 _
| IFS
| as_nl
) ;; #(
25574 *) $as_unset $ac_var ;;
25580 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25581 *${as_nl}ac_space
=\
*)
25582 # `set' does not quote correctly, so add quotes (double-quote
25583 # substitution turns \\\\ into \\, and sed turns \\ into \).
25586 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25589 # `set' quotes correctly as required by POSIX, so do not add quotes.
25590 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25599 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25601 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25603 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25604 if test -w "$cache_file"; then
25605 test "x$cache_file" != "x/dev/null" &&
25606 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25607 echo "$as_me: updating cache $cache_file" >&6;}
25608 cat confcache
>$cache_file
25610 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25611 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25616 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25617 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25618 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25619 if test "${wx_cv_lib_glibc21+set}" = set; then
25620 echo $ECHO_N "(cached) $ECHO_C" >&6
25623 cat >conftest.
$ac_ext <<_ACEOF
25626 cat confdefs.h
>>conftest.
$ac_ext
25627 cat >>conftest.
$ac_ext <<_ACEOF
25628 /* end confdefs.h. */
25629 #include <features.h>
25634 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25642 rm -f conftest.
$ac_objext
25643 if { (ac_try
="$ac_compile"
25644 case "(($ac_try" in
25645 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25646 *) ac_try_echo=$ac_try;;
25648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25649 (eval "$ac_compile") 2>conftest.er1
25651 grep -v '^ *+' conftest.er1 >conftest.err
25653 cat conftest.err >&5
25654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655 (exit $ac_status); } && {
25656 test -z "$ac_c_werror_flag" ||
25657 test ! -s conftest.err
25658 } && test -s conftest.$ac_objext; then
25660 wx_cv_lib_glibc21=yes
25663 echo "$as_me: failed program was:" >&5
25664 sed 's/^/| /' conftest.$ac_ext >&5
25667 wx_cv_lib_glibc21=no
25672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25675 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25676 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25677 if test "$wx_cv_lib_glibc21" = "yes"; then
25678 cat >>confdefs.h <<\_ACEOF
25679 #define wxHAVE_GLIBC2 1
25685 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25686 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25687 cat >>confdefs.h <<\_ACEOF
25688 #define _GNU_SOURCE 1
25699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25700 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25702 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25705 cat >conftest.$ac_ext <<_ACEOF
25708 cat confdefs.h >>conftest.$ac_ext
25709 cat >>conftest.$ac_ext <<_ACEOF
25710 /* end confdefs.h. */
25711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25713 #define $ac_func innocuous_$ac_func
25715 /* System header to define __stub macros and hopefully few prototypes,
25716 which can conflict with char $ac_func (); below.
25717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25718 <limits.h> exists even on freestanding compilers. */
25721 # include <limits.h>
25723 # include <assert.h>
25728 /* Override any GCC internal prototype to avoid an error.
25729 Use char because int might match the return type of a GCC
25730 builtin and then its argument prototype would still apply. */
25735 /* The GNU C library defines this for functions which it implements
25736 to always fail with ENOSYS. Some functions are actually named
25737 something starting with __ and the normal name is an alias. */
25738 #if defined __stub_$ac_func || defined __stub___$ac_func
25745 return $ac_func ();
25750 rm -f conftest.$ac_objext conftest$ac_exeext
25751 if { (ac_try="$ac_link"
25752 case "(($ac_try" in
25753 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25754 *) ac_try_echo
=$ac_try;;
25756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25757 (eval "$ac_link") 2>conftest.er1
25759 grep -v '^ *+' conftest.er1
>conftest.err
25761 cat conftest.err
>&5
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); } && {
25764 test -z "$ac_c_werror_flag" ||
25765 test ! -s conftest.err
25766 } && test -s conftest
$ac_exeext &&
25767 $as_test_x conftest
$ac_exeext; then
25768 eval "$as_ac_var=yes"
25770 echo "$as_me: failed program was:" >&5
25771 sed 's/^/| /' conftest.
$ac_ext >&5
25773 eval "$as_ac_var=no"
25776 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25777 conftest
$ac_exeext conftest.
$ac_ext
25779 ac_res
=`eval echo '${'$as_ac_var'}'`
25780 { echo "$as_me:$LINENO: result: $ac_res" >&5
25781 echo "${ECHO_T}$ac_res" >&6; }
25782 if test `eval echo '${'$as_ac_var'}'` = yes; then
25783 cat >>confdefs.h
<<_ACEOF
25784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25791 for ac_func
in floor
25793 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25794 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25796 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25797 echo $ECHO_N "(cached) $ECHO_C" >&6
25799 cat >conftest.
$ac_ext <<_ACEOF
25802 cat confdefs.h
>>conftest.
$ac_ext
25803 cat >>conftest.
$ac_ext <<_ACEOF
25804 /* end confdefs.h. */
25805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25807 #define $ac_func innocuous_$ac_func
25809 /* System header to define __stub macros and hopefully few prototypes,
25810 which can conflict with char $ac_func (); below.
25811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25812 <limits.h> exists even on freestanding compilers. */
25815 # include <limits.h>
25817 # include <assert.h>
25822 /* Override any GCC internal prototype to avoid an error.
25823 Use char because int might match the return type of a GCC
25824 builtin and then its argument prototype would still apply. */
25829 /* The GNU C library defines this for functions which it implements
25830 to always fail with ENOSYS. Some functions are actually named
25831 something starting with __ and the normal name is an alias. */
25832 #if defined __stub_$ac_func || defined __stub___$ac_func
25839 return $ac_func ();
25844 rm -f conftest.
$ac_objext conftest
$ac_exeext
25845 if { (ac_try
="$ac_link"
25846 case "(($ac_try" in
25847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25848 *) ac_try_echo=$ac_try;;
25850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25851 (eval "$ac_link") 2>conftest.er1
25853 grep -v '^ *+' conftest.er1 >conftest.err
25855 cat conftest.err >&5
25856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25857 (exit $ac_status); } && {
25858 test -z "$ac_c_werror_flag" ||
25859 test ! -s conftest.err
25860 } && test -s conftest$ac_exeext &&
25861 $as_test_x conftest$ac_exeext; then
25862 eval "$as_ac_var=yes"
25864 echo "$as_me: failed program was:" >&5
25865 sed 's/^/| /' conftest.$ac_ext >&5
25867 eval "$as_ac_var=no"
25870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25871 conftest$ac_exeext conftest.$ac_ext
25873 ac_res=`eval echo '${'$as_ac_var'}'`
25874 { echo "$as_me:$LINENO: result: $ac_res" >&5
25875 echo "${ECHO_T}$ac_res" >&6; }
25876 if test `eval echo '${'$as_ac_var'}'` = yes; then
25877 cat >>confdefs.h <<_ACEOF
25878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25884 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25885 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25886 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25887 { echo "$as_me:$LINENO: result: yes" >&5
25888 echo "${ECHO_T}yes" >&6; }
25890 { echo "$as_me:$LINENO: result: no" >&5
25891 echo "${ECHO_T}no" >&6; }
25893 # use different functions to avoid configure caching
25899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25900 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25902 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25903 echo $ECHO_N "(cached) $ECHO_C" >&6
25905 cat >conftest.$ac_ext <<_ACEOF
25908 cat confdefs.h >>conftest.$ac_ext
25909 cat >>conftest.$ac_ext <<_ACEOF
25910 /* end confdefs.h. */
25911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25913 #define $ac_func innocuous_$ac_func
25915 /* System header to define __stub macros and hopefully few prototypes,
25916 which can conflict with char $ac_func (); below.
25917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25918 <limits.h> exists even on freestanding compilers. */
25921 # include <limits.h>
25923 # include <assert.h>
25928 /* Override any GCC internal prototype to avoid an error.
25929 Use char because int might match the return type of a GCC
25930 builtin and then its argument prototype would still apply. */
25935 /* The GNU C library defines this for functions which it implements
25936 to always fail with ENOSYS. Some functions are actually named
25937 something starting with __ and the normal name is an alias. */
25938 #if defined __stub_$ac_func || defined __stub___$ac_func
25945 return $ac_func ();
25950 rm -f conftest.$ac_objext conftest$ac_exeext
25951 if { (ac_try="$ac_link"
25952 case "(($ac_try" in
25953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25954 *) ac_try_echo
=$ac_try;;
25956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25957 (eval "$ac_link") 2>conftest.er1
25959 grep -v '^ *+' conftest.er1
>conftest.err
25961 cat conftest.err
>&5
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); } && {
25964 test -z "$ac_c_werror_flag" ||
25965 test ! -s conftest.err
25966 } && test -s conftest
$ac_exeext &&
25967 $as_test_x conftest
$ac_exeext; then
25968 eval "$as_ac_var=yes"
25970 echo "$as_me: failed program was:" >&5
25971 sed 's/^/| /' conftest.
$ac_ext >&5
25973 eval "$as_ac_var=no"
25976 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25977 conftest
$ac_exeext conftest.
$ac_ext
25979 ac_res
=`eval echo '${'$as_ac_var'}'`
25980 { echo "$as_me:$LINENO: result: $ac_res" >&5
25981 echo "${ECHO_T}$ac_res" >&6; }
25982 if test `eval echo '${'$as_ac_var'}'` = yes; then
25983 cat >>confdefs.h
<<_ACEOF
25984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25991 for ac_func
in ceil
25993 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25994 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25996 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25997 echo $ECHO_N "(cached) $ECHO_C" >&6
25999 cat >conftest.
$ac_ext <<_ACEOF
26002 cat confdefs.h
>>conftest.
$ac_ext
26003 cat >>conftest.
$ac_ext <<_ACEOF
26004 /* end confdefs.h. */
26005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26007 #define $ac_func innocuous_$ac_func
26009 /* System header to define __stub macros and hopefully few prototypes,
26010 which can conflict with char $ac_func (); below.
26011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26012 <limits.h> exists even on freestanding compilers. */
26015 # include <limits.h>
26017 # include <assert.h>
26022 /* Override any GCC internal prototype to avoid an error.
26023 Use char because int might match the return type of a GCC
26024 builtin and then its argument prototype would still apply. */
26029 /* The GNU C library defines this for functions which it implements
26030 to always fail with ENOSYS. Some functions are actually named
26031 something starting with __ and the normal name is an alias. */
26032 #if defined __stub_$ac_func || defined __stub___$ac_func
26039 return $ac_func ();
26044 rm -f conftest.
$ac_objext conftest
$ac_exeext
26045 if { (ac_try
="$ac_link"
26046 case "(($ac_try" in
26047 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26048 *) ac_try_echo=$ac_try;;
26050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26051 (eval "$ac_link") 2>conftest.er1
26053 grep -v '^ *+' conftest.er1 >conftest.err
26055 cat conftest.err >&5
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); } && {
26058 test -z "$ac_c_werror_flag" ||
26059 test ! -s conftest.err
26060 } && test -s conftest$ac_exeext &&
26061 $as_test_x conftest$ac_exeext; then
26062 eval "$as_ac_var=yes"
26064 echo "$as_me: failed program was:" >&5
26065 sed 's/^/| /' conftest.$ac_ext >&5
26067 eval "$as_ac_var=no"
26070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26071 conftest$ac_exeext conftest.$ac_ext
26073 ac_res=`eval echo '${'$as_ac_var'}'`
26074 { echo "$as_me:$LINENO: result: $ac_res" >&5
26075 echo "${ECHO_T}$ac_res" >&6; }
26076 if test `eval echo '${'$as_ac_var'}'` = yes; then
26077 cat >>confdefs.h <<_ACEOF
26078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26084 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26085 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26086 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26087 { echo "$as_me:$LINENO: result: yes" >&5
26088 echo "${ECHO_T}yes" >&6; }
26090 { echo "$as_me:$LINENO: result: no" >&5
26091 echo "${ECHO_T}no" >&6; }
26092 # not sure we should warn the user, crash, etc.
26097 ac_cpp='$CXXCPP $CPPFLAGS'
26098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26102 if test "wxUSE_UNICODE" = "yes"; then
26104 for wx_func in wcstoull
26106 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26107 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26108 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26109 echo $ECHO_N "(cached) $ECHO_C" >&6
26112 cat >conftest.$ac_ext <<_ACEOF
26116 cat confdefs.h >>conftest.$ac_ext
26117 cat >>conftest.$ac_ext <<_ACEOF
26118 /* end confdefs.h. */
26121 $ac_includes_default
26137 rm -f conftest.$ac_objext conftest$ac_exeext
26138 if { (ac_try="$ac_link"
26139 case "(($ac_try" in
26140 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26141 *) ac_try_echo
=$ac_try;;
26143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26144 (eval "$ac_link") 2>conftest.er1
26146 grep -v '^ *+' conftest.er1
>conftest.err
26148 cat conftest.err
>&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); } && {
26151 test -z "$ac_cxx_werror_flag" ||
26152 test ! -s conftest.err
26153 } && test -s conftest
$ac_exeext &&
26154 $as_test_x conftest
$ac_exeext; then
26155 eval wx_cv_func_
$wx_func=yes
26157 echo "$as_me: failed program was:" >&5
26158 sed 's/^/| /' conftest.
$ac_ext >&5
26160 eval wx_cv_func_
$wx_func=no
26163 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26164 conftest
$ac_exeext conftest.
$ac_ext
26167 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26168 { echo "$as_me:$LINENO: result: $ac_res" >&5
26169 echo "${ECHO_T}$ac_res" >&6; }
26171 if eval test \
$wx_cv_func_$wx_func = yes
26173 cat >>confdefs.h
<<_ACEOF
26174 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26186 for wx_func
in strtoull
26188 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26189 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26190 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26191 echo $ECHO_N "(cached) $ECHO_C" >&6
26194 cat >conftest.
$ac_ext <<_ACEOF
26198 cat confdefs.h
>>conftest.
$ac_ext
26199 cat >>conftest.
$ac_ext <<_ACEOF
26200 /* end confdefs.h. */
26203 $ac_includes_default
26219 rm -f conftest.
$ac_objext conftest
$ac_exeext
26220 if { (ac_try
="$ac_link"
26221 case "(($ac_try" in
26222 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26223 *) ac_try_echo=$ac_try;;
26225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26226 (eval "$ac_link") 2>conftest.er1
26228 grep -v '^ *+' conftest.er1 >conftest.err
26230 cat conftest.err >&5
26231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26232 (exit $ac_status); } && {
26233 test -z "$ac_cxx_werror_flag" ||
26234 test ! -s conftest.err
26235 } && test -s conftest$ac_exeext &&
26236 $as_test_x conftest$ac_exeext; then
26237 eval wx_cv_func_$wx_func=yes
26239 echo "$as_me: failed program was:" >&5
26240 sed 's/^/| /' conftest.$ac_ext >&5
26242 eval wx_cv_func_$wx_func=no
26245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26246 conftest$ac_exeext conftest.$ac_ext
26249 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26250 { echo "$as_me:$LINENO: result: $ac_res" >&5
26251 echo "${ECHO_T}$ac_res" >&6; }
26253 if eval test \$wx_cv_func_$wx_func = yes
26255 cat >>confdefs.h <<_ACEOF
26256 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26268 ac_cpp='$CPP $CPPFLAGS'
26269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26276 if test "$wxUSE_REGEX" != "no"; then
26277 cat >>confdefs.h <<\_ACEOF
26278 #define wxUSE_REGEX 1
26282 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26283 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26284 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26285 wxUSE_REGEX=builtin
26288 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26289 { echo "$as_me:$LINENO: checking for regex.h" >&5
26290 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26291 if test "${ac_cv_header_regex_h+set}" = set; then
26292 echo $ECHO_N "(cached) $ECHO_C" >&6
26294 cat >conftest.$ac_ext <<_ACEOF
26297 cat confdefs.h >>conftest.$ac_ext
26298 cat >>conftest.$ac_ext <<_ACEOF
26299 /* end confdefs.h. */
26304 rm -f conftest.$ac_objext
26305 if { (ac_try="$ac_compile"
26306 case "(($ac_try" in
26307 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26308 *) ac_try_echo
=$ac_try;;
26310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26311 (eval "$ac_compile") 2>conftest.er1
26313 grep -v '^ *+' conftest.er1
>conftest.err
26315 cat conftest.err
>&5
26316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317 (exit $ac_status); } && {
26318 test -z "$ac_c_werror_flag" ||
26319 test ! -s conftest.err
26320 } && test -s conftest.
$ac_objext; then
26321 ac_cv_header_regex_h
=yes
26323 echo "$as_me: failed program was:" >&5
26324 sed 's/^/| /' conftest.
$ac_ext >&5
26326 ac_cv_header_regex_h
=no
26329 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26331 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26332 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26333 if test $ac_cv_header_regex_h = yes; then
26336 for ac_func
in regcomp re_search
26338 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26339 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26341 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26342 echo $ECHO_N "(cached) $ECHO_C" >&6
26344 cat >conftest.
$ac_ext <<_ACEOF
26347 cat confdefs.h
>>conftest.
$ac_ext
26348 cat >>conftest.
$ac_ext <<_ACEOF
26349 /* end confdefs.h. */
26350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26352 #define $ac_func innocuous_$ac_func
26354 /* System header to define __stub macros and hopefully few prototypes,
26355 which can conflict with char $ac_func (); below.
26356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26357 <limits.h> exists even on freestanding compilers. */
26360 # include <limits.h>
26362 # include <assert.h>
26367 /* Override any GCC internal prototype to avoid an error.
26368 Use char because int might match the return type of a GCC
26369 builtin and then its argument prototype would still apply. */
26374 /* The GNU C library defines this for functions which it implements
26375 to always fail with ENOSYS. Some functions are actually named
26376 something starting with __ and the normal name is an alias. */
26377 #if defined __stub_$ac_func || defined __stub___$ac_func
26384 return $ac_func ();
26389 rm -f conftest.
$ac_objext conftest
$ac_exeext
26390 if { (ac_try
="$ac_link"
26391 case "(($ac_try" in
26392 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26393 *) ac_try_echo=$ac_try;;
26395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26396 (eval "$ac_link") 2>conftest.er1
26398 grep -v '^ *+' conftest.er1 >conftest.err
26400 cat conftest.err >&5
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); } && {
26403 test -z "$ac_c_werror_flag" ||
26404 test ! -s conftest.err
26405 } && test -s conftest$ac_exeext &&
26406 $as_test_x conftest$ac_exeext; then
26407 eval "$as_ac_var=yes"
26409 echo "$as_me: failed program was:" >&5
26410 sed 's/^/| /' conftest.$ac_ext >&5
26412 eval "$as_ac_var=no"
26415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26416 conftest$ac_exeext conftest.$ac_ext
26418 ac_res=`eval echo '${'$as_ac_var'}'`
26419 { echo "$as_me:$LINENO: result: $ac_res" >&5
26420 echo "${ECHO_T}$ac_res" >&6; }
26421 if test `eval echo '${'$as_ac_var'}'` = yes; then
26422 cat >>confdefs.h <<_ACEOF
26423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26433 if test "x$ac_cv_func_regcomp" != "xyes"; then
26434 if test "$wxUSE_REGEX" = "sys" ; then
26435 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26436 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26437 { (exit 1); exit 1; }; }
26439 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26440 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26441 wxUSE_REGEX=builtin
26445 cat >>confdefs.h <<\_ACEOF
26446 #define WX_NO_REGEX_ADVANCED 1
26455 if test "$wxUSE_ZLIB" != "no" ; then
26456 cat >>confdefs.h <<\_ACEOF
26457 #define wxUSE_ZLIB 1
26461 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26462 if test "$USE_DARWIN" = 1; then
26463 system_zlib_h_ok="yes"
26465 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26466 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26467 if test "${ac_cv_header_zlib_h+set}" = set; then
26468 echo $ECHO_N "(cached) $ECHO_C" >&6
26470 if test "$cross_compiling" = yes; then
26471 unset ac_cv_header_zlib_h
26474 cat >conftest.$ac_ext <<_ACEOF
26477 cat confdefs.h >>conftest.$ac_ext
26478 cat >>conftest.$ac_ext <<_ACEOF
26479 /* end confdefs.h. */
26486 FILE *f=fopen("conftestval", "w");
26489 ZLIB_VERSION[0] == '1' &&
26490 (ZLIB_VERSION[2] > '1' ||
26491 (ZLIB_VERSION[2] == '1' &&
26492 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26497 rm -f conftest$ac_exeext
26498 if { (ac_try="$ac_link"
26499 case "(($ac_try" in
26500 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26501 *) ac_try_echo
=$ac_try;;
26503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26504 (eval "$ac_link") 2>&5
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26508 { (case "(($ac_try" in
26509 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26510 *) ac_try_echo=$ac_try;;
26512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26513 (eval "$ac_try") 2>&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); }; }; then
26517 ac_cv_header_zlib_h=`cat conftestval
`
26519 echo "$as_me: program exited with status $ac_status" >&5
26520 echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.$ac_ext >&5
26523 ( exit $ac_status )
26524 ac_cv_header_zlib_h=no
26526 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26532 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26533 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26534 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26535 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26536 if test "${ac_cv_header_zlib_h+set}" = set; then
26537 echo $ECHO_N "(cached) $ECHO_C" >&6
26539 cat >conftest.$ac_ext <<_ACEOF
26542 cat confdefs.h >>conftest.$ac_ext
26543 cat >>conftest.$ac_ext <<_ACEOF
26544 /* end confdefs.h. */
26549 rm -f conftest.$ac_objext
26550 if { (ac_try="$ac_compile"
26551 case "(($ac_try" in
26552 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26553 *) ac_try_echo
=$ac_try;;
26555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26556 (eval "$ac_compile") 2>conftest.er1
26558 grep -v '^ *+' conftest.er1
>conftest.err
26560 cat conftest.err
>&5
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); } && {
26563 test -z "$ac_c_werror_flag" ||
26564 test ! -s conftest.err
26565 } && test -s conftest.
$ac_objext; then
26566 ac_cv_header_zlib_h
=yes
26568 echo "$as_me: failed program was:" >&5
26569 sed 's/^/| /' conftest.
$ac_ext >&5
26571 ac_cv_header_zlib_h
=no
26574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26576 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26577 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26581 system_zlib_h_ok
=$ac_cv_header_zlib_h
26584 if test "$system_zlib_h_ok" = "yes"; then
26585 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26586 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26587 if test "${ac_cv_lib_z_deflate+set}" = set; then
26588 echo $ECHO_N "(cached) $ECHO_C" >&6
26590 ac_check_lib_save_LIBS
=$LIBS
26592 cat >conftest.
$ac_ext <<_ACEOF
26595 cat confdefs.h
>>conftest.
$ac_ext
26596 cat >>conftest.
$ac_ext <<_ACEOF
26597 /* end confdefs.h. */
26599 /* Override any GCC internal prototype to avoid an error.
26600 Use char because int might match the return type of a GCC
26601 builtin and then its argument prototype would still apply. */
26614 rm -f conftest.
$ac_objext conftest
$ac_exeext
26615 if { (ac_try
="$ac_link"
26616 case "(($ac_try" in
26617 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26618 *) ac_try_echo=$ac_try;;
26620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26621 (eval "$ac_link") 2>conftest.er1
26623 grep -v '^ *+' conftest.er1 >conftest.err
26625 cat conftest.err >&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); } && {
26628 test -z "$ac_c_werror_flag" ||
26629 test ! -s conftest.err
26630 } && test -s conftest$ac_exeext &&
26631 $as_test_x conftest$ac_exeext; then
26632 ac_cv_lib_z_deflate=yes
26634 echo "$as_me: failed program was:" >&5
26635 sed 's/^/| /' conftest.$ac_ext >&5
26637 ac_cv_lib_z_deflate=no
26640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26641 conftest$ac_exeext conftest.$ac_ext
26642 LIBS=$ac_check_lib_save_LIBS
26644 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26645 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26646 if test $ac_cv_lib_z_deflate = yes; then
26652 if test "x$ZLIB_LINK" = "x" ; then
26653 if test "$wxUSE_ZLIB" = "sys" ; then
26654 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26655 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26656 { (exit 1); exit 1; }; }
26658 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26659 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26670 if test "$wxUSE_LIBPNG" != "no" ; then
26671 cat >>confdefs.h <<\_ACEOF
26672 #define wxUSE_LIBPNG 1
26676 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26677 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26678 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26682 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26683 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26684 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26685 wxUSE_LIBPNG=builtin
26688 if test "$wxUSE_MGL" != 1 ; then
26689 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26690 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26691 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26692 if test "${ac_cv_header_png_h+set}" = set; then
26693 echo $ECHO_N "(cached) $ECHO_C" >&6
26695 if test "$cross_compiling" = yes; then
26696 unset ac_cv_header_png_h
26699 cat >conftest.$ac_ext <<_ACEOF
26702 cat confdefs.h >>conftest.$ac_ext
26703 cat >>conftest.$ac_ext <<_ACEOF
26704 /* end confdefs.h. */
26711 FILE *f=fopen("conftestval", "w");
26714 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26719 rm -f conftest$ac_exeext
26720 if { (ac_try="$ac_link"
26721 case "(($ac_try" in
26722 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26723 *) ac_try_echo
=$ac_try;;
26725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26726 (eval "$ac_link") 2>&5
26728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26729 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26730 { (case "(($ac_try" in
26731 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26732 *) ac_try_echo=$ac_try;;
26734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26735 (eval "$ac_try") 2>&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); }; }; then
26739 ac_cv_header_png_h=`cat conftestval
`
26741 echo "$as_me: program exited with status $ac_status" >&5
26742 echo "$as_me: failed program was:" >&5
26743 sed 's/^/| /' conftest.$ac_ext >&5
26745 ( exit $ac_status )
26746 ac_cv_header_png_h=no
26748 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26754 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26755 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26756 { echo "$as_me:$LINENO: checking for png.h" >&5
26757 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26758 if test "${ac_cv_header_png_h+set}" = set; then
26759 echo $ECHO_N "(cached) $ECHO_C" >&6
26761 cat >conftest.$ac_ext <<_ACEOF
26764 cat confdefs.h >>conftest.$ac_ext
26765 cat >>conftest.$ac_ext <<_ACEOF
26766 /* end confdefs.h. */
26771 rm -f conftest.$ac_objext
26772 if { (ac_try="$ac_compile"
26773 case "(($ac_try" in
26774 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26775 *) ac_try_echo
=$ac_try;;
26777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26778 (eval "$ac_compile") 2>conftest.er1
26780 grep -v '^ *+' conftest.er1
>conftest.err
26782 cat conftest.err
>&5
26783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26784 (exit $ac_status); } && {
26785 test -z "$ac_c_werror_flag" ||
26786 test ! -s conftest.err
26787 } && test -s conftest.
$ac_objext; then
26788 ac_cv_header_png_h
=yes
26790 echo "$as_me: failed program was:" >&5
26791 sed 's/^/| /' conftest.
$ac_ext >&5
26793 ac_cv_header_png_h
=no
26796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26798 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26799 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26803 if test "$ac_cv_header_png_h" = "yes"; then
26804 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26805 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26806 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26807 echo $ECHO_N "(cached) $ECHO_C" >&6
26809 ac_check_lib_save_LIBS
=$LIBS
26810 LIBS
="-lpng -lz -lm $LIBS"
26811 cat >conftest.
$ac_ext <<_ACEOF
26814 cat confdefs.h
>>conftest.
$ac_ext
26815 cat >>conftest.
$ac_ext <<_ACEOF
26816 /* end confdefs.h. */
26818 /* Override any GCC internal prototype to avoid an error.
26819 Use char because int might match the return type of a GCC
26820 builtin and then its argument prototype would still apply. */
26824 char png_check_sig ();
26828 return png_check_sig ();
26833 rm -f conftest.
$ac_objext conftest
$ac_exeext
26834 if { (ac_try
="$ac_link"
26835 case "(($ac_try" in
26836 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26837 *) ac_try_echo=$ac_try;;
26839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26840 (eval "$ac_link") 2>conftest.er1
26842 grep -v '^ *+' conftest.er1 >conftest.err
26844 cat conftest.err >&5
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); } && {
26847 test -z "$ac_c_werror_flag" ||
26848 test ! -s conftest.err
26849 } && test -s conftest$ac_exeext &&
26850 $as_test_x conftest$ac_exeext; then
26851 ac_cv_lib_png_png_check_sig=yes
26853 echo "$as_me: failed program was:" >&5
26854 sed 's/^/| /' conftest.$ac_ext >&5
26856 ac_cv_lib_png_png_check_sig=no
26859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26860 conftest$ac_exeext conftest.$ac_ext
26861 LIBS=$ac_check_lib_save_LIBS
26863 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26864 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26865 if test $ac_cv_lib_png_png_check_sig = yes; then
26866 PNG_LINK=" -lpng -lz"
26871 if test "x$PNG_LINK" = "x" ; then
26872 if test "$wxUSE_LIBPNG" = "sys" ; then
26873 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26874 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26875 { (exit 1); exit 1; }; }
26877 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26878 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26879 wxUSE_LIBPNG=builtin
26890 if test "$wxUSE_LIBJPEG" != "no" ; then
26891 cat >>confdefs.h <<\_ACEOF
26892 #define wxUSE_LIBJPEG 1
26896 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26897 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26898 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26902 if test "$wxUSE_MGL" != 1 ; then
26903 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26904 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26905 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26906 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26907 echo $ECHO_N "(cached) $ECHO_C" >&6
26909 cat >conftest.$ac_ext <<_ACEOF
26912 cat confdefs.h >>conftest.$ac_ext
26913 cat >>conftest.$ac_ext <<_ACEOF
26914 /* end confdefs.h. */
26916 #undef HAVE_STDLIB_H
26918 #include <jpeglib.h>
26929 rm -f conftest.$ac_objext
26930 if { (ac_try="$ac_compile"
26931 case "(($ac_try" in
26932 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26933 *) ac_try_echo
=$ac_try;;
26935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26936 (eval "$ac_compile") 2>conftest.er1
26938 grep -v '^ *+' conftest.er1
>conftest.err
26940 cat conftest.err
>&5
26941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26942 (exit $ac_status); } && {
26943 test -z "$ac_c_werror_flag" ||
26944 test ! -s conftest.err
26945 } && test -s conftest.
$ac_objext; then
26946 ac_cv_header_jpeglib_h
=yes
26948 echo "$as_me: failed program was:" >&5
26949 sed 's/^/| /' conftest.
$ac_ext >&5
26951 ac_cv_header_jpeglib_h
=no
26955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26959 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26960 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26962 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26963 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26964 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26965 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26966 echo $ECHO_N "(cached) $ECHO_C" >&6
26968 ac_check_lib_save_LIBS
=$LIBS
26969 LIBS
="-ljpeg $LIBS"
26970 cat >conftest.
$ac_ext <<_ACEOF
26973 cat confdefs.h
>>conftest.
$ac_ext
26974 cat >>conftest.
$ac_ext <<_ACEOF
26975 /* end confdefs.h. */
26977 /* Override any GCC internal prototype to avoid an error.
26978 Use char because int might match the return type of a GCC
26979 builtin and then its argument prototype would still apply. */
26983 char jpeg_read_header ();
26987 return jpeg_read_header ();
26992 rm -f conftest.
$ac_objext conftest
$ac_exeext
26993 if { (ac_try
="$ac_link"
26994 case "(($ac_try" in
26995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26996 *) ac_try_echo=$ac_try;;
26998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26999 (eval "$ac_link") 2>conftest.er1
27001 grep -v '^ *+' conftest.er1 >conftest.err
27003 cat conftest.err >&5
27004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005 (exit $ac_status); } && {
27006 test -z "$ac_c_werror_flag" ||
27007 test ! -s conftest.err
27008 } && test -s conftest$ac_exeext &&
27009 $as_test_x conftest$ac_exeext; then
27010 ac_cv_lib_jpeg_jpeg_read_header=yes
27012 echo "$as_me: failed program was:" >&5
27013 sed 's/^/| /' conftest.$ac_ext >&5
27015 ac_cv_lib_jpeg_jpeg_read_header=no
27018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27019 conftest$ac_exeext conftest.$ac_ext
27020 LIBS=$ac_check_lib_save_LIBS
27022 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27023 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27024 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27025 JPEG_LINK=" -ljpeg"
27030 if test "x$JPEG_LINK" = "x" ; then
27031 if test "$wxUSE_LIBJPEG" = "sys" ; then
27032 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27033 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27034 { (exit 1); exit 1; }; }
27036 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27037 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27038 wxUSE_LIBJPEG=builtin
27043 if test "$wxUSE_MSW" = 1; then
27044 { echo "$as_me:$LINENO: checking for boolean" >&5
27045 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27046 if test "${ac_cv_type_boolean+set}" = set; then
27047 echo $ECHO_N "(cached) $ECHO_C" >&6
27049 cat >conftest.$ac_ext <<_ACEOF
27052 cat confdefs.h >>conftest.$ac_ext
27053 cat >>conftest.$ac_ext <<_ACEOF
27054 /* end confdefs.h. */
27055 #include <windows.h>
27057 typedef boolean ac__type_new_;
27061 if ((ac__type_new_ *) 0)
27063 if (sizeof (ac__type_new_))
27069 rm -f conftest.$ac_objext
27070 if { (ac_try="$ac_compile"
27071 case "(($ac_try" in
27072 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27073 *) ac_try_echo
=$ac_try;;
27075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27076 (eval "$ac_compile") 2>conftest.er1
27078 grep -v '^ *+' conftest.er1
>conftest.err
27080 cat conftest.err
>&5
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); } && {
27083 test -z "$ac_c_werror_flag" ||
27084 test ! -s conftest.err
27085 } && test -s conftest.
$ac_objext; then
27086 ac_cv_type_boolean
=yes
27088 echo "$as_me: failed program was:" >&5
27089 sed 's/^/| /' conftest.
$ac_ext >&5
27091 ac_cv_type_boolean
=no
27094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27096 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27097 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27098 if test $ac_cv_type_boolean = yes; then
27100 cat >>confdefs.h
<<_ACEOF
27101 #define HAVE_BOOLEAN 1
27105 { echo "$as_me:$LINENO: checking for boolean" >&5
27106 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27107 if test "${ac_cv_type_boolean+set}" = set; then
27108 echo $ECHO_N "(cached) $ECHO_C" >&6
27110 cat >conftest.
$ac_ext <<_ACEOF
27113 cat confdefs.h
>>conftest.
$ac_ext
27114 cat >>conftest.
$ac_ext <<_ACEOF
27115 /* end confdefs.h. */
27117 #undef HAVE_BOOLEAN
27119 #include <jpeglib.h>
27122 typedef boolean ac__type_new_;
27126 if ((ac__type_new_ *) 0)
27128 if (sizeof (ac__type_new_))
27134 rm -f conftest.
$ac_objext
27135 if { (ac_try
="$ac_compile"
27136 case "(($ac_try" in
27137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27138 *) ac_try_echo=$ac_try;;
27140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27141 (eval "$ac_compile") 2>conftest.er1
27143 grep -v '^ *+' conftest.er1 >conftest.err
27145 cat conftest.err >&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); } && {
27148 test -z "$ac_c_werror_flag" ||
27149 test ! -s conftest.err
27150 } && test -s conftest.$ac_objext; then
27151 ac_cv_type_boolean=yes
27153 echo "$as_me: failed program was:" >&5
27154 sed 's/^/| /' conftest.$ac_ext >&5
27156 ac_cv_type_boolean=no
27159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27161 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27162 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27164 # The cast to long int works around a bug in the HP C Compiler
27165 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27166 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27167 # This bug is HP SR number 8606223364.
27168 { echo "$as_me:$LINENO: checking size of boolean" >&5
27169 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27170 if test "${ac_cv_sizeof_boolean+set}" = set; then
27171 echo $ECHO_N "(cached) $ECHO_C" >&6
27173 if test "$cross_compiling" = yes; then
27174 # Depending upon the size, compute the lo and hi bounds.
27175 cat >conftest.$ac_ext <<_ACEOF
27178 cat confdefs.h >>conftest.$ac_ext
27179 cat >>conftest.$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27182 #undef HAVE_BOOLEAN
27184 #include <jpeglib.h>
27187 typedef boolean ac__type_sizeof_;
27191 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27198 rm -f conftest.$ac_objext
27199 if { (ac_try="$ac_compile"
27200 case "(($ac_try" in
27201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27202 *) ac_try_echo=$ac_try;;
27204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27205 (eval "$ac_compile") 2>conftest.er1
27207 grep -v '^
*+' conftest.er1 >conftest.err
27209 cat conftest.err >&5
27210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211 (exit $ac_status); } && {
27212 test -z "$ac_c_werror_flag" ||
27213 test ! -s conftest.err
27214 } && test -s conftest.$ac_objext; then
27217 cat >conftest.$ac_ext <<_ACEOF
27220 cat confdefs.h >>conftest.$ac_ext
27221 cat >>conftest.$ac_ext <<_ACEOF
27222 /* end confdefs.h. */
27224 #undef HAVE_BOOLEAN
27226 #include <jpeglib.h>
27229 typedef boolean ac__type_sizeof_;
27233 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27240 rm -f conftest.$ac_objext
27241 if { (ac_try="$ac_compile"
27242 case "(($ac_try" in
27243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27244 *) ac_try_echo=$ac_try;;
27246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27247 (eval "$ac_compile") 2>conftest.er1
27249 grep -v '^
*+' conftest.er1 >conftest.err
27251 cat conftest.err >&5
27252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27253 (exit $ac_status); } && {
27254 test -z "$ac_c_werror_flag" ||
27255 test ! -s conftest.err
27256 } && test -s conftest.$ac_objext; then
27257 ac_hi=$ac_mid; break
27259 echo "$as_me: failed program was:" >&5
27260 sed 's
/^
/| /' conftest.$ac_ext >&5
27262 ac_lo=`expr $ac_mid + 1`
27263 if test $ac_lo -le $ac_mid; then
27267 ac_mid=`expr 2 '*' $ac_mid + 1`
27270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27273 echo "$as_me: failed program was:" >&5
27274 sed 's
/^
/| /' conftest.$ac_ext >&5
27276 cat >conftest.$ac_ext <<_ACEOF
27279 cat confdefs.h >>conftest.$ac_ext
27280 cat >>conftest.$ac_ext <<_ACEOF
27281 /* end confdefs.h. */
27283 #undef HAVE_BOOLEAN
27285 #include <jpeglib.h>
27288 typedef boolean ac__type_sizeof_;
27292 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27299 rm -f conftest.$ac_objext
27300 if { (ac_try="$ac_compile"
27301 case "(($ac_try" in
27302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27303 *) ac_try_echo=$ac_try;;
27305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27306 (eval "$ac_compile") 2>conftest.er1
27308 grep -v '^
*+' conftest.er1 >conftest.err
27310 cat conftest.err >&5
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); } && {
27313 test -z "$ac_c_werror_flag" ||
27314 test ! -s conftest.err
27315 } && test -s conftest.$ac_objext; then
27318 cat >conftest.$ac_ext <<_ACEOF
27321 cat confdefs.h >>conftest.$ac_ext
27322 cat >>conftest.$ac_ext <<_ACEOF
27323 /* end confdefs.h. */
27325 #undef HAVE_BOOLEAN
27327 #include <jpeglib.h>
27330 typedef boolean ac__type_sizeof_;
27334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27341 rm -f conftest.$ac_objext
27342 if { (ac_try="$ac_compile"
27343 case "(($ac_try" in
27344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27345 *) ac_try_echo=$ac_try;;
27347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27348 (eval "$ac_compile") 2>conftest.er1
27350 grep -v '^
*+' conftest.er1 >conftest.err
27352 cat conftest.err >&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } && {
27355 test -z "$ac_c_werror_flag" ||
27356 test ! -s conftest.err
27357 } && test -s conftest.$ac_objext; then
27358 ac_lo=$ac_mid; break
27360 echo "$as_me: failed program was:" >&5
27361 sed 's
/^
/| /' conftest.$ac_ext >&5
27363 ac_hi=`expr '(' $ac_mid ')' - 1`
27364 if test $ac_mid -le $ac_hi; then
27368 ac_mid=`expr 2 '*' $ac_mid`
27371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27374 echo "$as_me: failed program was:" >&5
27375 sed 's
/^
/| /' conftest.$ac_ext >&5
27380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27384 # Binary search between lo and hi bounds.
27385 while test "x$ac_lo" != "x$ac_hi"; do
27386 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27387 cat >conftest.$ac_ext <<_ACEOF
27390 cat confdefs.h >>conftest.$ac_ext
27391 cat >>conftest.$ac_ext <<_ACEOF
27392 /* end confdefs.h. */
27394 #undef HAVE_BOOLEAN
27396 #include <jpeglib.h>
27399 typedef boolean ac__type_sizeof_;
27403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27410 rm -f conftest.$ac_objext
27411 if { (ac_try="$ac_compile"
27412 case "(($ac_try" in
27413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27414 *) ac_try_echo=$ac_try;;
27416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27417 (eval "$ac_compile") 2>conftest.er1
27419 grep -v '^
*+' conftest.er1 >conftest.err
27421 cat conftest.err >&5
27422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423 (exit $ac_status); } && {
27424 test -z "$ac_c_werror_flag" ||
27425 test ! -s conftest.err
27426 } && test -s conftest.$ac_objext; then
27429 echo "$as_me: failed program was:" >&5
27430 sed 's
/^
/| /' conftest.$ac_ext >&5
27432 ac_lo=`expr '(' $ac_mid ')' + 1`
27435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27438 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27439 '') if test "$ac_cv_type_boolean" = yes; then
27440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27441 See \`config.log' for more details.
" >&5
27442 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27443 See \
`config.log' for more details." >&2;}
27444 { (exit 77); exit 77; }; }
27446 ac_cv_sizeof_boolean=0
27450 cat >conftest.$ac_ext <<_ACEOF
27453 cat confdefs.h >>conftest.$ac_ext
27454 cat >>conftest.$ac_ext <<_ACEOF
27455 /* end confdefs.h. */
27457 #undef HAVE_BOOLEAN
27459 #include <jpeglib.h>
27462 typedef boolean ac__type_sizeof_;
27463 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27464 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27466 #include <stdlib.h>
27471 FILE *f = fopen ("conftest.val", "w");
27474 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27476 long int i = longval ();
27477 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27479 fprintf (f, "%ld\n", i);
27483 unsigned long int i = ulongval ();
27484 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27486 fprintf (f, "%lu\n", i);
27488 return ferror (f) || fclose (f) != 0;
27494 rm -f conftest$ac_exeext
27495 if { (ac_try="$ac_link"
27496 case "(($ac_try" in
27497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27498 *) ac_try_echo
=$ac_try;;
27500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27501 (eval "$ac_link") 2>&5
27503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27504 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27505 { (case "(($ac_try" in
27506 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27507 *) ac_try_echo=$ac_try;;
27509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27510 (eval "$ac_try") 2>&5
27512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27513 (exit $ac_status); }; }; then
27514 ac_cv_sizeof_boolean=`cat conftest.val
`
27516 echo "$as_me: program exited with status $ac_status" >&5
27517 echo "$as_me: failed program was:" >&5
27518 sed 's/^/| /' conftest.$ac_ext >&5
27520 ( exit $ac_status )
27521 if test "$ac_cv_type_boolean" = yes; then
27522 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27523 See \`config.log
' for more details." >&5
27524 echo "$as_me: error: cannot compute sizeof (boolean)
27525 See \`config.log' for more details.
" >&2;}
27526 { (exit 77); exit 77; }; }
27528 ac_cv_sizeof_boolean=0
27531 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27535 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27536 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27540 cat >>confdefs.h <<_ACEOF
27541 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27545 cat >>confdefs.h <<_ACEOF
27546 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27560 TIFF_PREREQ_LINKS=-lm
27561 if test "$wxUSE_LIBTIFF" != "no
" ; then
27562 cat >>confdefs.h <<\_ACEOF
27563 #define wxUSE_LIBTIFF 1
27567 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27568 if test "$wxUSE_LIBJPEG" = "sys
"; then
27569 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27571 if test "$wxUSE_ZLIB" = "sys
"; then
27572 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27574 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27575 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27576 if test "${ac_cv_header_tiffio_h+set}" = set; then
27577 echo $ECHO_N "(cached
) $ECHO_C" >&6
27579 cat >conftest.$ac_ext <<_ACEOF
27582 cat confdefs.h >>conftest.$ac_ext
27583 cat >>conftest.$ac_ext <<_ACEOF
27584 /* end confdefs.h. */
27588 #include <tiffio.h>
27590 rm -f conftest.$ac_objext
27591 if { (ac_try="$ac_compile"
27592 case "(($ac_try" in
27593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27594 *) ac_try_echo=$ac_try;;
27596 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27597 (eval "$ac_compile") 2>conftest.er1
27599 grep -v '^ *+' conftest.er1 >conftest.err
27601 cat conftest.err >&5
27602 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27603 (exit $ac_status); } && {
27604 test -z "$ac_c_werror_flag" ||
27605 test ! -s conftest.err
27606 } && test -s conftest.$ac_objext; then
27607 ac_cv_header_tiffio_h=yes
27609 echo "$as_me: failed program was
:" >&5
27610 sed 's/^/| /' conftest.$ac_ext >&5
27612 ac_cv_header_tiffio_h=no
27615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27617 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27618 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27619 if test $ac_cv_header_tiffio_h = yes; then
27621 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27622 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27623 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27624 echo $ECHO_N "(cached
) $ECHO_C" >&6
27626 ac_check_lib_save_LIBS=$LIBS
27627 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27628 cat >conftest.$ac_ext <<_ACEOF
27631 cat confdefs.h >>conftest.$ac_ext
27632 cat >>conftest.$ac_ext <<_ACEOF
27633 /* end confdefs.h. */
27635 /* Override any GCC internal prototype to avoid an error.
27636 Use char because int might match the return type of a GCC
27637 builtin and then its argument prototype would still apply. */
27645 return TIFFError ();
27650 rm -f conftest.$ac_objext conftest$ac_exeext
27651 if { (ac_try="$ac_link"
27652 case "(($ac_try" in
27653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27654 *) ac_try_echo=$ac_try;;
27656 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27657 (eval "$ac_link") 2>conftest.er1
27659 grep -v '^ *+' conftest.er1 >conftest.err
27661 cat conftest.err >&5
27662 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27663 (exit $ac_status); } && {
27664 test -z "$ac_c_werror_flag" ||
27665 test ! -s conftest.err
27666 } && test -s conftest$ac_exeext &&
27667 $as_test_x conftest$ac_exeext; then
27668 ac_cv_lib_tiff_TIFFError=yes
27670 echo "$as_me: failed program was
:" >&5
27671 sed 's/^/| /' conftest.$ac_ext >&5
27673 ac_cv_lib_tiff_TIFFError=no
27676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27677 conftest$ac_exeext conftest.$ac_ext
27678 LIBS=$ac_check_lib_save_LIBS
27680 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27681 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27682 if test $ac_cv_lib_tiff_TIFFError = yes; then
27683 TIFF_LINK=" -ltiff"
27691 if test "x
$TIFF_LINK" = "x
" ; then
27692 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27693 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27694 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27695 { (exit 1); exit 1; }; }
27697 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27698 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27699 wxUSE_LIBTIFF=builtin
27705 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27706 if test "$wxUSE_LIBJPEG" = "no
"; then
27707 ac_configure_args="$ac_configure_args --disable-jpeg"
27709 subdirs="$subdirs src
/tiff
"
27715 if test "$wxUSE_WCHAR_T" != "yes"; then
27716 if test "$wxUSE_EXPAT" != "no
"; then
27717 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27718 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27721 if test "$wxUSE_XML" != "no
"; then
27722 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27723 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27728 if test "$wxUSE_EXPAT" != "no
"; then
27730 cat >>confdefs.h <<\_ACEOF
27731 #define wxUSE_EXPAT 1
27734 cat >>confdefs.h <<\_ACEOF
27735 #define wxUSE_XML 1
27739 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27740 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27741 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27742 if test "${ac_cv_header_expat_h+set}" = set; then
27743 echo $ECHO_N "(cached
) $ECHO_C" >&6
27745 cat >conftest.$ac_ext <<_ACEOF
27748 cat confdefs.h >>conftest.$ac_ext
27749 cat >>conftest.$ac_ext <<_ACEOF
27750 /* end confdefs.h. */
27755 rm -f conftest.$ac_objext
27756 if { (ac_try="$ac_compile"
27757 case "(($ac_try" in
27758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27759 *) ac_try_echo=$ac_try;;
27761 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27762 (eval "$ac_compile") 2>conftest.er1
27764 grep -v '^ *+' conftest.er1 >conftest.err
27766 cat conftest.err >&5
27767 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27768 (exit $ac_status); } && {
27769 test -z "$ac_c_werror_flag" ||
27770 test ! -s conftest.err
27771 } && test -s conftest.$ac_objext; then
27772 ac_cv_header_expat_h=yes
27774 echo "$as_me: failed program was
:" >&5
27775 sed 's/^/| /' conftest.$ac_ext >&5
27777 ac_cv_header_expat_h=no
27780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27782 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27783 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27784 if test $ac_cv_header_expat_h = yes; then
27789 if test "x
$found_expat_h" = "x1
"; then
27790 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27791 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27792 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27793 echo $ECHO_N "(cached
) $ECHO_C" >&6
27797 ac_cpp='$CXXCPP $CPPFLAGS'
27798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27802 cat >conftest.$ac_ext <<_ACEOF
27805 cat confdefs.h >>conftest.$ac_ext
27806 cat >>conftest.$ac_ext <<_ACEOF
27807 /* end confdefs.h. */
27817 rm -f conftest.$ac_objext
27818 if { (ac_try="$ac_compile"
27819 case "(($ac_try" in
27820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27821 *) ac_try_echo=$ac_try;;
27823 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27824 (eval "$ac_compile") 2>conftest.er1
27826 grep -v '^ *+' conftest.er1 >conftest.err
27828 cat conftest.err >&5
27829 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27830 (exit $ac_status); } && {
27831 test -z "$ac_cxx_werror_flag" ||
27832 test ! -s conftest.err
27833 } && test -s conftest.$ac_objext; then
27834 wx_cv_expat_is_not_broken=yes
27836 echo "$as_me: failed program was
:" >&5
27837 sed 's/^/| /' conftest.$ac_ext >&5
27839 wx_cv_expat_is_not_broken=no
27843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27845 ac_cpp='$CPP $CPPFLAGS'
27846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27853 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27854 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27855 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27856 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27857 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27858 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27859 echo $ECHO_N "(cached
) $ECHO_C" >&6
27861 ac_check_lib_save_LIBS=$LIBS
27862 LIBS="-lexpat $LIBS"
27863 cat >conftest.$ac_ext <<_ACEOF
27866 cat confdefs.h >>conftest.$ac_ext
27867 cat >>conftest.$ac_ext <<_ACEOF
27868 /* end confdefs.h. */
27870 /* Override any GCC internal prototype to avoid an error.
27871 Use char because int might match the return type of a GCC
27872 builtin and then its argument prototype would still apply. */
27876 char XML_ParserCreate ();
27880 return XML_ParserCreate ();
27885 rm -f conftest.$ac_objext conftest$ac_exeext
27886 if { (ac_try="$ac_link"
27887 case "(($ac_try" in
27888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27889 *) ac_try_echo=$ac_try;;
27891 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27892 (eval "$ac_link") 2>conftest.er1
27894 grep -v '^ *+' conftest.er1 >conftest.err
27896 cat conftest.err >&5
27897 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27898 (exit $ac_status); } && {
27899 test -z "$ac_c_werror_flag" ||
27900 test ! -s conftest.err
27901 } && test -s conftest$ac_exeext &&
27902 $as_test_x conftest$ac_exeext; then
27903 ac_cv_lib_expat_XML_ParserCreate=yes
27905 echo "$as_me: failed program was
:" >&5
27906 sed 's/^/| /' conftest.$ac_ext >&5
27908 ac_cv_lib_expat_XML_ParserCreate=no
27911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27912 conftest$ac_exeext conftest.$ac_ext
27913 LIBS=$ac_check_lib_save_LIBS
27915 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27916 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27917 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27918 EXPAT_LINK=" -lexpat"
27923 if test "x
$EXPAT_LINK" = "x
" ; then
27924 if test "$wxUSE_EXPAT" = "sys
" ; then
27925 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27926 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27927 { (exit 1); exit 1; }; }
27929 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27930 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27931 wxUSE_EXPAT=builtin
27937 if test "$wxUSE_EXPAT" = "builtin" ; then
27938 subdirs="$subdirs src
/expat
"
27945 if test "$wxUSE_LIBMSPACK" != "no
"; then
27946 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27947 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27948 if test "${ac_cv_header_mspack_h+set}" = set; then
27949 echo $ECHO_N "(cached
) $ECHO_C" >&6
27951 cat >conftest.$ac_ext <<_ACEOF
27954 cat confdefs.h >>conftest.$ac_ext
27955 cat >>conftest.$ac_ext <<_ACEOF
27956 /* end confdefs.h. */
27959 #include <mspack.h>
27961 rm -f conftest.$ac_objext
27962 if { (ac_try="$ac_compile"
27963 case "(($ac_try" in
27964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27965 *) ac_try_echo=$ac_try;;
27967 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27968 (eval "$ac_compile") 2>conftest.er1
27970 grep -v '^ *+' conftest.er1 >conftest.err
27972 cat conftest.err >&5
27973 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27974 (exit $ac_status); } && {
27975 test -z "$ac_c_werror_flag" ||
27976 test ! -s conftest.err
27977 } && test -s conftest.$ac_objext; then
27978 ac_cv_header_mspack_h=yes
27980 echo "$as_me: failed program was
:" >&5
27981 sed 's/^/| /' conftest.$ac_ext >&5
27983 ac_cv_header_mspack_h=no
27986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27988 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27989 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27990 if test $ac_cv_header_mspack_h = yes; then
27995 if test "x
$found_mspack_h" = "x1
"; then
27996 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27997 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27998 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27999 echo $ECHO_N "(cached
) $ECHO_C" >&6
28001 ac_check_lib_save_LIBS=$LIBS
28002 LIBS="-lmspack $LIBS"
28003 cat >conftest.$ac_ext <<_ACEOF
28006 cat confdefs.h >>conftest.$ac_ext
28007 cat >>conftest.$ac_ext <<_ACEOF
28008 /* end confdefs.h. */
28010 /* Override any GCC internal prototype to avoid an error.
28011 Use char because int might match the return type of a GCC
28012 builtin and then its argument prototype would still apply. */
28016 char mspack_create_chm_decompressor ();
28020 return mspack_create_chm_decompressor ();
28025 rm -f conftest.$ac_objext conftest$ac_exeext
28026 if { (ac_try="$ac_link"
28027 case "(($ac_try" in
28028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28029 *) ac_try_echo=$ac_try;;
28031 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28032 (eval "$ac_link") 2>conftest.er1
28034 grep -v '^ *+' conftest.er1 >conftest.err
28036 cat conftest.err >&5
28037 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28038 (exit $ac_status); } && {
28039 test -z "$ac_c_werror_flag" ||
28040 test ! -s conftest.err
28041 } && test -s conftest$ac_exeext &&
28042 $as_test_x conftest$ac_exeext; then
28043 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28045 echo "$as_me: failed program was
:" >&5
28046 sed 's/^/| /' conftest.$ac_ext >&5
28048 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28052 conftest$ac_exeext conftest.$ac_ext
28053 LIBS=$ac_check_lib_save_LIBS
28055 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28056 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28057 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28058 MSPACK_LINK=" -lmspack"
28062 if test "x
$MSPACK_LINK" = "x
" ; then
28067 if test "$wxUSE_LIBMSPACK" != "no
"; then
28068 cat >>confdefs.h <<\_ACEOF
28069 #define wxUSE_LIBMSPACK 1
28083 if test "$USE_WIN32" = 1 ; then
28085 for ac_header in w32api.h
28087 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28088 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28089 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28090 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28091 echo $ECHO_N "(cached
) $ECHO_C" >&6
28093 cat >conftest.$ac_ext <<_ACEOF
28096 cat confdefs.h >>conftest.$ac_ext
28097 cat >>conftest.$ac_ext <<_ACEOF
28098 /* end confdefs.h. */
28101 #include <$ac_header>
28103 rm -f conftest.$ac_objext
28104 if { (ac_try="$ac_compile"
28105 case "(($ac_try" in
28106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28107 *) ac_try_echo=$ac_try;;
28109 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28110 (eval "$ac_compile") 2>conftest.er1
28112 grep -v '^ *+' conftest.er1 >conftest.err
28114 cat conftest.err >&5
28115 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28116 (exit $ac_status); } && {
28117 test -z "$ac_c_werror_flag" ||
28118 test ! -s conftest.err
28119 } && test -s conftest.$ac_objext; then
28120 eval "$as_ac_Header=yes"
28122 echo "$as_me: failed program was
:" >&5
28123 sed 's/^/| /' conftest.$ac_ext >&5
28125 eval "$as_ac_Header=no
"
28128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28130 ac_res=`eval echo '${'$as_ac_Header'}'`
28131 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28132 echo "${ECHO_T}$ac_res" >&6; }
28133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28134 cat >>confdefs.h <<_ACEOF
28135 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28142 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28143 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28144 if test "${ac_cv_header_windows_h+set}" = set; then
28145 echo $ECHO_N "(cached
) $ECHO_C" >&6
28147 cat >conftest.$ac_ext <<_ACEOF
28150 cat confdefs.h >>conftest.$ac_ext
28151 cat >>conftest.$ac_ext <<_ACEOF
28152 /* end confdefs.h. */
28155 #include <windows.h>
28157 rm -f conftest.$ac_objext
28158 if { (ac_try="$ac_compile"
28159 case "(($ac_try" in
28160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28161 *) ac_try_echo=$ac_try;;
28163 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28164 (eval "$ac_compile") 2>conftest.er1
28166 grep -v '^ *+' conftest.er1 >conftest.err
28168 cat conftest.err >&5
28169 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28170 (exit $ac_status); } && {
28171 test -z "$ac_c_werror_flag" ||
28172 test ! -s conftest.err
28173 } && test -s conftest.$ac_objext; then
28174 ac_cv_header_windows_h=yes
28176 echo "$as_me: failed program was
:" >&5
28177 sed 's/^/| /' conftest.$ac_ext >&5
28179 ac_cv_header_windows_h=no
28182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28184 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28185 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28186 if test $ac_cv_header_windows_h = yes; then
28190 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28191 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28192 { (exit 1); exit 1; }; }
28199 x86_64-*-mingw32* )
28200 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28203 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28206 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28207 LIBS="$LIBS -loleacc"
28212 LIBS="$LIBS -lkernel32 -luser32"
28215 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28216 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28218 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28220 WIN32INSTALL=win32install
28222 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28223 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28224 if test "${ac_cv_header_pbt_h+set}" = set; then
28225 echo $ECHO_N "(cached
) $ECHO_C" >&6
28227 cat >conftest.$ac_ext <<_ACEOF
28230 cat confdefs.h >>conftest.$ac_ext
28231 cat >>conftest.$ac_ext <<_ACEOF
28232 /* end confdefs.h. */
28237 rm -f conftest.$ac_objext
28238 if { (ac_try="$ac_compile"
28239 case "(($ac_try" in
28240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28241 *) ac_try_echo=$ac_try;;
28243 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28244 (eval "$ac_compile") 2>conftest.er1
28246 grep -v '^ *+' conftest.er1 >conftest.err
28248 cat conftest.err >&5
28249 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28250 (exit $ac_status); } && {
28251 test -z "$ac_c_werror_flag" ||
28252 test ! -s conftest.err
28253 } && test -s conftest.$ac_objext; then
28254 ac_cv_header_pbt_h=yes
28256 echo "$as_me: failed program was
:" >&5
28257 sed 's/^/| /' conftest.$ac_ext >&5
28259 ac_cv_header_pbt_h=no
28262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28264 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28265 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28266 if test $ac_cv_header_pbt_h = yes; then
28269 cat >>confdefs.h <<\_ACEOF
28270 #define NEED_PBT_H 1
28278 if test "$wxUSE_GUI" = "yes"; then
28288 if test "$wxUSE_COCOA" = 1 ; then
28289 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28290 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28291 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28292 wxUSE_PRINTING_ARCHITECTURE=no
28294 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28295 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28296 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28297 wxUSE_DRAG_AND_DROP=no
28299 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28300 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28301 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28306 if test "$wxUSE_MSW" = 1 ; then
28312 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28316 if test "$wxUSE_GTK" = 1; then
28317 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28318 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28320 gtk_version_cached=1
28321 if test "${wx_cv_lib_gtk+set}" = set; then
28322 echo $ECHO_N "(cached
) $ECHO_C" >&6
28325 gtk_version_cached=0
28326 { echo "$as_me:$LINENO: result
: " >&5
28327 echo "${ECHO_T}" >&6; }
28330 if test "$wxUSE_THREADS" = "yes"; then
28331 GTK_MODULES=gthread
28335 if test "x
$wxGTK_VERSION" != "x1
"
28339 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28344 # Check whether --enable-gtktest was given.
28345 if test "${enable_gtktest+set}" = set; then
28346 enableval=$enable_gtktest;
28352 pkg_config_args=gtk+-2.0
28353 for module in . $GTK_MODULES
28357 pkg_config_args="$pkg_config_args gthread
-2.0
"
28364 # Extract the first word of "pkg
-config", so it can be a program name with args.
28365 set dummy pkg-config; ac_word=$2
28366 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28367 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28368 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28369 echo $ECHO_N "(cached
) $ECHO_C" >&6
28371 case $PKG_CONFIG in
28373 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28377 for as_dir in $PATH
28380 test -z "$as_dir" && as_dir=.
28381 for ac_exec_ext in '' $ac_executable_extensions; do
28382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28383 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28384 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28391 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28395 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28396 if test -n "$PKG_CONFIG"; then
28397 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28398 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28400 { echo "$as_me:$LINENO: result
: no
" >&5
28401 echo "${ECHO_T}no
" >&6; }
28406 if test x$PKG_CONFIG != xno ; then
28407 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28410 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28418 min_gtk_version=2.4.0
28419 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28420 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28422 if test x$PKG_CONFIG != xno ; then
28423 ## don't try to run the test against uninstalled libtool libs
28424 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28425 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28429 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28436 if test x"$no_gtk" = x ; then
28437 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28438 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28439 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28441 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28442 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28443 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28444 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28445 if test "x
$enable_gtktest" = "xyes
" ; then
28446 ac_save_CFLAGS="$CFLAGS"
28447 ac_save_LIBS="$LIBS"
28448 CFLAGS="$CFLAGS $GTK_CFLAGS"
28449 LIBS="$GTK_LIBS $LIBS"
28451 if test "$cross_compiling" = yes; then
28452 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28454 cat >conftest.$ac_ext <<_ACEOF
28457 cat confdefs.h >>conftest.$ac_ext
28458 cat >>conftest.$ac_ext <<_ACEOF
28459 /* end confdefs.h. */
28461 #include <gtk/gtk.h>
28463 #include <stdlib.h>
28468 int major, minor, micro;
28471 system ("touch conf.gtktest
");
28473 /* HP/UX 9 (%@#!) writes to sscanf strings */
28474 tmp_version = g_strdup("$min_gtk_version");
28475 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28476 printf("%s
, bad version string
\n", "$min_gtk_version");
28480 if ((gtk_major_version != $gtk_config_major_version) ||
28481 (gtk_minor_version != $gtk_config_minor_version) ||
28482 (gtk_micro_version != $gtk_config_micro_version))
28484 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28485 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28486 gtk_major_version, gtk_minor_version, gtk_micro_version);
28487 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28488 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28489 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28490 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28491 printf("*** required on your system.
\n");
28492 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28493 printf("*** to point to the correct configuration files
\n");
28495 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28496 (gtk_minor_version != GTK_MINOR_VERSION) ||
28497 (gtk_micro_version != GTK_MICRO_VERSION))
28499 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28500 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28501 printf("*** library
(version
%d.
%d.
%d
)\n",
28502 gtk_major_version, gtk_minor_version, gtk_micro_version);
28506 if ((gtk_major_version > major) ||
28507 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28508 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28514 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28515 gtk_major_version, gtk_minor_version, gtk_micro_version);
28516 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28517 major, minor, micro);
28518 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28520 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28521 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28522 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28523 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28524 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28525 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28526 printf("*** so that the correct libraries are found
at run
-time))\n");
28533 rm -f conftest$ac_exeext
28534 if { (ac_try="$ac_link"
28535 case "(($ac_try" in
28536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28537 *) ac_try_echo=$ac_try;;
28539 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28540 (eval "$ac_link") 2>&5
28542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28544 { (case "(($ac_try" in
28545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28546 *) ac_try_echo=$ac_try;;
28548 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28549 (eval "$ac_try") 2>&5
28551 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28552 (exit $ac_status); }; }; then
28555 echo "$as_me: program exited with status
$ac_status" >&5
28556 echo "$as_me: failed program was
:" >&5
28557 sed 's/^/| /' conftest.$ac_ext >&5
28559 ( exit $ac_status )
28562 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28566 CFLAGS="$ac_save_CFLAGS"
28567 LIBS="$ac_save_LIBS"
28570 if test "x
$no_gtk" = x ; then
28571 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28572 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28575 { echo "$as_me:$LINENO: result
: no
" >&5
28576 echo "${ECHO_T}no
" >&6; }
28577 if test "$PKG_CONFIG" = "no
" ; then
28578 echo "*** A new enough version of pkg
-config was not found.
"
28579 echo "*** See http
://pkgconfig.sourceforge.net
"
28581 if test -f conf.gtktest ; then
28584 echo "*** Could not run GTK
+ test program
, checking why...
"
28585 ac_save_CFLAGS="$CFLAGS"
28586 ac_save_LIBS="$LIBS"
28587 CFLAGS="$CFLAGS $GTK_CFLAGS"
28588 LIBS="$LIBS $GTK_LIBS"
28589 cat >conftest.$ac_ext <<_ACEOF
28592 cat confdefs.h >>conftest.$ac_ext
28593 cat >>conftest.$ac_ext <<_ACEOF
28594 /* end confdefs.h. */
28596 #include <gtk/gtk.h>
28602 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28607 rm -f conftest.$ac_objext conftest$ac_exeext
28608 if { (ac_try="$ac_link"
28609 case "(($ac_try" in
28610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28611 *) ac_try_echo=$ac_try;;
28613 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28614 (eval "$ac_link") 2>conftest.er1
28616 grep -v '^ *+' conftest.er1 >conftest.err
28618 cat conftest.err >&5
28619 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28620 (exit $ac_status); } && {
28621 test -z "$ac_c_werror_flag" ||
28622 test ! -s conftest.err
28623 } && test -s conftest$ac_exeext &&
28624 $as_test_x conftest$ac_exeext; then
28625 echo "*** The
test program compiled
, but did not run. This usually means
"
28626 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28627 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28628 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28629 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28630 echo "*** is required on your system"
28632 echo "*** If you have an old version installed, it is best to remove it, although"
28633 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28635 echo "$as_me: failed program was:" >&5
28636 sed 's
/^
/| /' conftest.$ac_ext >&5
28638 echo "*** The test program failed to compile or link. See the file config.log for the"
28639 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28643 conftest$ac_exeext conftest.$ac_ext
28644 CFLAGS="$ac_save_CFLAGS"
28645 LIBS="$ac_save_LIBS"
28659 if test "$wxUSE_SHARED" != "yes"; then
28660 GTK_LIBS="$GTK_LIBS -lX11"
28665 if test -z "$wx_cv_lib_gtk"; then
28666 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28668 # Check whether --with-gtk-prefix was given.
28669 if test "${with_gtk_prefix+set}" = set; then
28670 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28672 gtk_config_prefix=""
28676 # Check whether --with-gtk-exec-prefix was given.
28677 if test "${with_gtk_exec_prefix+set}" = set; then
28678 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28680 gtk_config_exec_prefix=""
28683 # Check whether --enable-gtktest was given.
28684 if test "${enable_gtktest+set}" = set; then
28685 enableval=$enable_gtktest;
28691 for module in . $GTK_MODULES
28695 gtk_config_args="$gtk_config_args gthread"
28700 if test x$gtk_config_exec_prefix != x ; then
28701 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28702 if test x${GTK_CONFIG+set} != xset ; then
28703 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28706 if test x$gtk_config_prefix != x ; then
28707 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28708 if test x${GTK_CONFIG+set} != xset ; then
28709 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28713 # Extract the first word of "gtk-config", so it can be a program name with args.
28714 set dummy gtk-config; ac_word=$2
28715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28717 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28718 echo $ECHO_N "(cached) $ECHO_C" >&6
28720 case $GTK_CONFIG in
28722 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28726 for as_dir in $PATH
28729 test -z "$as_dir" && as_dir=.
28730 for ac_exec_ext in '' $ac_executable_extensions; do
28731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28732 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28740 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28744 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28745 if test -n "$GTK_CONFIG"; then
28746 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28747 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28749 { echo "$as_me:$LINENO: result: no" >&5
28750 echo "${ECHO_T}no" >&6; }
28754 min_gtk_version=1.2.7
28755 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28756 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28758 if test "$GTK_CONFIG" = "no" ; then
28761 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28762 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28763 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28764 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28765 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28766 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28767 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28768 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28769 if test "x$enable_gtktest" = "xyes" ; then
28770 ac_save_CFLAGS="$CFLAGS"
28771 ac_save_LIBS="$LIBS"
28772 CFLAGS="$CFLAGS $GTK_CFLAGS"
28773 LIBS="$GTK_LIBS $LIBS"
28775 if test "$cross_compiling" = yes; then
28776 echo $ac_n "cross compiling; assumed OK... $ac_c"
28778 cat >conftest.$ac_ext <<_ACEOF
28781 cat confdefs.h >>conftest.$ac_ext
28782 cat >>conftest.$ac_ext <<_ACEOF
28783 /* end confdefs.h. */
28785 #include <gtk/gtk.h>
28787 #include <stdlib.h>
28792 int major, minor, micro;
28795 system ("touch conf.gtktest");
28797 /* HP/UX 9 (%@#!) writes to sscanf strings */
28798 tmp_version = g_strdup("$min_gtk_version");
28799 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28800 printf("%s, bad version string\n", "$min_gtk_version");
28804 if ((gtk_major_version != $gtk_config_major_version) ||
28805 (gtk_minor_version != $gtk_config_minor_version) ||
28806 (gtk_micro_version != $gtk_config_micro_version))
28808 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28809 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28810 gtk_major_version, gtk_minor_version, gtk_micro_version);
28811 printf ("*** was found! If gtk-config was correct, then it is best\n");
28812 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28813 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28814 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28815 printf("*** required on your system.\n");
28816 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28817 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28818 printf("*** before re-running configure\n");
28820 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28821 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28822 (gtk_minor_version != GTK_MINOR_VERSION) ||
28823 (gtk_micro_version != GTK_MICRO_VERSION))
28825 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28826 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28827 printf("*** library (version %d.%d.%d)\n",
28828 gtk_major_version, gtk_minor_version, gtk_micro_version);
28830 #endif /* defined (GTK_MAJOR_VERSION) ... */
28833 if ((gtk_major_version > major) ||
28834 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28835 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28841 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28842 gtk_major_version, gtk_minor_version, gtk_micro_version);
28843 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28844 major, minor, micro);
28845 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28847 printf("*** If you have already installed a sufficiently new version, this error\n");
28848 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28849 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28850 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28851 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28852 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28853 printf("*** so that the correct libraries are found at run-time))\n");
28860 rm -f conftest$ac_exeext
28861 if { (ac_try="$ac_link"
28862 case "(($ac_try" in
28863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28864 *) ac_try_echo=$ac_try;;
28866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28867 (eval "$ac_link") 2>&5
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28871 { (case "(($ac_try" in
28872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28873 *) ac_try_echo=$ac_try;;
28875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28876 (eval "$ac_try") 2>&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); }; }; then
28882 echo "$as_me: program exited with status $ac_status" >&5
28883 echo "$as_me: failed program was:" >&5
28884 sed 's
/^
/| /' conftest.$ac_ext >&5
28886 ( exit $ac_status )
28889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28893 CFLAGS="$ac_save_CFLAGS"
28894 LIBS="$ac_save_LIBS"
28897 if test "x$no_gtk" = x ; then
28898 { echo "$as_me:$LINENO: result: yes" >&5
28899 echo "${ECHO_T}yes" >&6; }
28900 wx_cv_lib_gtk=1.2.7
28902 { echo "$as_me:$LINENO: result: no" >&5
28903 echo "${ECHO_T}no" >&6; }
28904 if test "$GTK_CONFIG" = "no" ; then
28905 echo "*** The gtk-config script installed by GTK could not be found"
28906 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28907 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28908 echo "*** full path to gtk-config."
28910 if test -f conf.gtktest ; then
28913 echo "*** Could not run GTK test program, checking why..."
28914 CFLAGS="$CFLAGS $GTK_CFLAGS"
28915 LIBS="$LIBS $GTK_LIBS"
28916 cat >conftest.$ac_ext <<_ACEOF
28919 cat confdefs.h >>conftest.$ac_ext
28920 cat >>conftest.$ac_ext <<_ACEOF
28921 /* end confdefs.h. */
28923 #include <gtk/gtk.h>
28929 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28934 rm -f conftest.$ac_objext conftest$ac_exeext
28935 if { (ac_try="$ac_link"
28936 case "(($ac_try" in
28937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28938 *) ac_try_echo=$ac_try;;
28940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28941 (eval "$ac_link") 2>conftest.er1
28943 grep -v '^
*+' conftest.er1 >conftest.err
28945 cat conftest.err >&5
28946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28947 (exit $ac_status); } && {
28948 test -z "$ac_c_werror_flag" ||
28949 test ! -s conftest.err
28950 } && test -s conftest$ac_exeext &&
28951 $as_test_x conftest$ac_exeext; then
28952 echo "*** The test program compiled, but did not run. This usually means"
28953 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28954 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28955 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28956 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28957 echo "*** is required on your system
"
28959 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28960 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28962 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28963 echo "*** came with the system with the
command"
28965 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28967 echo "$as_me: failed program was
:" >&5
28968 sed 's/^/| /' conftest.$ac_ext >&5
28970 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28971 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28972 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28973 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28977 conftest$ac_exeext conftest.$ac_ext
28978 CFLAGS="$ac_save_CFLAGS"
28979 LIBS="$ac_save_LIBS"
28991 if test -z "$wx_cv_lib_gtk"; then
28993 # Check whether --with-gtk-prefix was given.
28994 if test "${with_gtk_prefix+set}" = set; then
28995 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28997 gtk_config_prefix=""
29001 # Check whether --with-gtk-exec-prefix was given.
29002 if test "${with_gtk_exec_prefix+set}" = set; then
29003 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29005 gtk_config_exec_prefix=""
29008 # Check whether --enable-gtktest was given.
29009 if test "${enable_gtktest+set}" = set; then
29010 enableval=$enable_gtktest;
29016 for module in . $GTK_MODULES
29020 gtk_config_args="$gtk_config_args gthread
"
29025 if test x$gtk_config_exec_prefix != x ; then
29026 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29027 if test x${GTK_CONFIG+set} != xset ; then
29028 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29031 if test x$gtk_config_prefix != x ; then
29032 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29033 if test x${GTK_CONFIG+set} != xset ; then
29034 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29038 # Extract the first word of "gtk
-config", so it can be a program name with args.
29039 set dummy gtk-config; ac_word=$2
29040 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29041 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29042 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29043 echo $ECHO_N "(cached
) $ECHO_C" >&6
29045 case $GTK_CONFIG in
29047 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29051 for as_dir in $PATH
29054 test -z "$as_dir" && as_dir=.
29055 for ac_exec_ext in '' $ac_executable_extensions; do
29056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29057 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29058 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29065 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29069 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29070 if test -n "$GTK_CONFIG"; then
29071 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29072 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29074 { echo "$as_me:$LINENO: result
: no
" >&5
29075 echo "${ECHO_T}no
" >&6; }
29079 min_gtk_version=1.2.3
29080 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29081 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29083 if test "$GTK_CONFIG" = "no
" ; then
29086 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29087 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29088 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29090 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29091 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29092 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29093 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29094 if test "x
$enable_gtktest" = "xyes
" ; then
29095 ac_save_CFLAGS="$CFLAGS"
29096 ac_save_LIBS="$LIBS"
29097 CFLAGS="$CFLAGS $GTK_CFLAGS"
29098 LIBS="$GTK_LIBS $LIBS"
29100 if test "$cross_compiling" = yes; then
29101 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29103 cat >conftest.$ac_ext <<_ACEOF
29106 cat confdefs.h >>conftest.$ac_ext
29107 cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29110 #include <gtk/gtk.h>
29112 #include <stdlib.h>
29117 int major, minor, micro;
29120 system ("touch conf.gtktest
");
29122 /* HP/UX 9 (%@#!) writes to sscanf strings */
29123 tmp_version = g_strdup("$min_gtk_version");
29124 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29125 printf("%s
, bad version string
\n", "$min_gtk_version");
29129 if ((gtk_major_version != $gtk_config_major_version) ||
29130 (gtk_minor_version != $gtk_config_minor_version) ||
29131 (gtk_micro_version != $gtk_config_micro_version))
29133 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29134 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29135 gtk_major_version, gtk_minor_version, gtk_micro_version);
29136 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29137 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29138 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29139 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29140 printf("*** required on your system.
\n");
29141 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29142 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29143 printf("*** before re
-running configure
\n");
29145 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29146 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29147 (gtk_minor_version != GTK_MINOR_VERSION) ||
29148 (gtk_micro_version != GTK_MICRO_VERSION))
29150 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29151 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29152 printf("*** library
(version
%d.
%d.
%d
)\n",
29153 gtk_major_version, gtk_minor_version, gtk_micro_version);
29155 #endif /* defined (GTK_MAJOR_VERSION) ... */
29158 if ((gtk_major_version > major) ||
29159 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29160 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29166 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29167 gtk_major_version, gtk_minor_version, gtk_micro_version);
29168 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29169 major, minor, micro);
29170 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29172 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29173 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29174 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29175 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29176 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29177 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29178 printf("*** so that the correct libraries are found
at run
-time))\n");
29185 rm -f conftest$ac_exeext
29186 if { (ac_try="$ac_link"
29187 case "(($ac_try" in
29188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29189 *) ac_try_echo=$ac_try;;
29191 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29192 (eval "$ac_link") 2>&5
29194 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29195 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29196 { (case "(($ac_try" in
29197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29198 *) ac_try_echo=$ac_try;;
29200 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29201 (eval "$ac_try") 2>&5
29203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29204 (exit $ac_status); }; }; then
29207 echo "$as_me: program exited with status
$ac_status" >&5
29208 echo "$as_me: failed program was
:" >&5
29209 sed 's/^/| /' conftest.$ac_ext >&5
29211 ( exit $ac_status )
29214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29218 CFLAGS="$ac_save_CFLAGS"
29219 LIBS="$ac_save_LIBS"
29222 if test "x
$no_gtk" = x ; then
29223 { echo "$as_me:$LINENO: result
: yes" >&5
29224 echo "${ECHO_T}yes" >&6; }
29225 wx_cv_lib_gtk=1.2.3
29227 { echo "$as_me:$LINENO: result
: no
" >&5
29228 echo "${ECHO_T}no
" >&6; }
29229 if test "$GTK_CONFIG" = "no
" ; then
29230 echo "*** The gtk
-config script installed by GTK could not be found
"
29231 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29232 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29233 echo "*** full path to gtk
-config.
"
29235 if test -f conf.gtktest ; then
29238 echo "*** Could not run GTK
test program
, checking why...
"
29239 CFLAGS="$CFLAGS $GTK_CFLAGS"
29240 LIBS="$LIBS $GTK_LIBS"
29241 cat >conftest.$ac_ext <<_ACEOF
29244 cat confdefs.h >>conftest.$ac_ext
29245 cat >>conftest.$ac_ext <<_ACEOF
29246 /* end confdefs.h. */
29248 #include <gtk/gtk.h>
29254 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29259 rm -f conftest.$ac_objext conftest$ac_exeext
29260 if { (ac_try="$ac_link"
29261 case "(($ac_try" in
29262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29263 *) ac_try_echo=$ac_try;;
29265 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29266 (eval "$ac_link") 2>conftest.er1
29268 grep -v '^ *+' conftest.er1 >conftest.err
29270 cat conftest.err >&5
29271 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29272 (exit $ac_status); } && {
29273 test -z "$ac_c_werror_flag" ||
29274 test ! -s conftest.err
29275 } && test -s conftest$ac_exeext &&
29276 $as_test_x conftest$ac_exeext; then
29277 echo "*** The
test program compiled
, but did not run. This usually means
"
29278 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29279 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29280 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29281 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29282 echo "*** is required on your system"
29284 echo "*** If you have an old version installed, it is best to remove it, although"
29285 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29287 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29288 echo "*** came with the system with the command"
29290 echo "*** rpm --erase --nodeps gtk gtk-devel"
29292 echo "$as_me: failed program was:" >&5
29293 sed 's
/^
/| /' conftest.$ac_ext >&5
29295 echo "*** The test program failed to compile or link. See the file config.log for the"
29296 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29297 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29298 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29302 conftest$ac_exeext conftest.$ac_ext
29303 CFLAGS="$ac_save_CFLAGS"
29304 LIBS="$ac_save_LIBS"
29319 if test -z "$wx_cv_lib_gtk"; then
29322 wx_cv_cflags_gtk=$GTK_CFLAGS
29323 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29330 if test "$gtk_version_cached" = 1; then
29331 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29332 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29335 case "$wx_cv_lib_gtk" in
29344 *) { { echo "$as_me:$LINENO: error:
29345 The development files for GTK+ were not found. For GTK+ 2, please
29346 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29347 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29348 and that the version is 1.2.3 or above. Also check that the
29349 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29350 --libs' are in the LD_LIBRARY_PATH or equivalent.
29352 echo "$as_me: error:
29353 The development files for GTK+ were not found. For GTK+ 2, please
29354 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29355 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29356 and that the version is 1.2.3 or above. Also check that the
29357 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29358 --libs' are in the LD_LIBRARY_PATH or equivalent.
29360 { (exit 1); exit 1; }; }
29364 if test "$WXGTK2" = 1; then
29365 save_CFLAGS="$CFLAGS"
29367 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29368 LIBS="$LIBS $wx_cv_libs_gtk"
29370 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29371 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29372 cat >conftest.$ac_ext <<_ACEOF
29375 cat confdefs.h >>conftest.$ac_ext
29376 cat >>conftest.$ac_ext <<_ACEOF
29377 /* end confdefs.h. */
29379 #include <gtk/gtk.h>
29385 #if !GTK_CHECK_VERSION(2,10,0)
29393 rm -f conftest.$ac_objext
29394 if { (ac_try="$ac_compile"
29395 case "(($ac_try" in
29396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29397 *) ac_try_echo=$ac_try;;
29399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29400 (eval "$ac_compile") 2>conftest.er1
29402 grep -v '^
*+' conftest.er1 >conftest.err
29404 cat conftest.err >&5
29405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29406 (exit $ac_status); } && {
29407 test -z "$ac_c_werror_flag" ||
29408 test ! -s conftest.err
29409 } && test -s conftest.$ac_objext; then
29411 cat >>confdefs.h <<\_ACEOF
29412 #define __WXGTK210__ 1
29415 cat >>confdefs.h <<\_ACEOF
29416 #define __WXGTK26__ 1
29419 { echo "$as_me:$LINENO: result: yes" >&5
29420 echo "${ECHO_T}yes" >&6; }
29424 echo "$as_me: failed program was:" >&5
29425 sed 's
/^
/| /' conftest.$ac_ext >&5
29428 { echo "$as_me:$LINENO: result: no" >&5
29429 echo "${ECHO_T}no" >&6; }
29434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29436 if test "$ac_wxgtk210" = 0; then
29437 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29438 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29439 cat >conftest.$ac_ext <<_ACEOF
29442 cat confdefs.h >>conftest.$ac_ext
29443 cat >>conftest.$ac_ext <<_ACEOF
29444 /* end confdefs.h. */
29446 #include <gtk/gtk.h>
29452 #if !GTK_CHECK_VERSION(2,6,0)
29460 rm -f conftest.$ac_objext
29461 if { (ac_try="$ac_compile"
29462 case "(($ac_try" in
29463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29464 *) ac_try_echo=$ac_try;;
29466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29467 (eval "$ac_compile") 2>conftest.er1
29469 grep -v '^
*+' conftest.er1 >conftest.err
29471 cat conftest.err >&5
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); } && {
29474 test -z "$ac_c_werror_flag" ||
29475 test ! -s conftest.err
29476 } && test -s conftest.$ac_objext; then
29478 cat >>confdefs.h <<\_ACEOF
29479 #define __WXGTK26__ 1
29482 { echo "$as_me:$LINENO: result: yes" >&5
29483 echo "${ECHO_T}yes" >&6; }
29487 echo "$as_me: failed program was:" >&5
29488 sed 's
/^
/| /' conftest.$ac_ext >&5
29491 { echo "$as_me:$LINENO: result: no" >&5
29492 echo "${ECHO_T}no" >&6; }
29497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29500 CFLAGS="$save_CFLAGS"
29503 if test "$wxUSE_UNICODE" = "yes"; then
29504 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29505 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29509 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29510 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29511 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29512 echo $ECHO_N "(cached) $ECHO_C" >&6
29514 ac_check_lib_save_LIBS=$LIBS
29516 cat >conftest.$ac_ext <<_ACEOF
29519 cat confdefs.h >>conftest.$ac_ext
29520 cat >>conftest.$ac_ext <<_ACEOF
29521 /* end confdefs.h. */
29523 /* Override any GCC internal prototype to avoid an error.
29524 Use char because int might match the return type of a GCC
29525 builtin and then its argument prototype would still apply. */
29529 char gdk_im_open ();
29533 return gdk_im_open ();
29538 rm -f conftest.$ac_objext conftest$ac_exeext
29539 if { (ac_try="$ac_link"
29540 case "(($ac_try" in
29541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29542 *) ac_try_echo=$ac_try;;
29544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29545 (eval "$ac_link") 2>conftest.er1
29547 grep -v '^
*+' conftest.er1 >conftest.err
29549 cat conftest.err >&5
29550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551 (exit $ac_status); } && {
29552 test -z "$ac_c_werror_flag" ||
29553 test ! -s conftest.err
29554 } && test -s conftest$ac_exeext &&
29555 $as_test_x conftest$ac_exeext; then
29556 ac_cv_lib_gdk_gdk_im_open=yes
29558 echo "$as_me: failed program was:" >&5
29559 sed 's
/^
/| /' conftest.$ac_ext >&5
29561 ac_cv_lib_gdk_gdk_im_open=no
29564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29565 conftest$ac_exeext conftest.$ac_ext
29566 LIBS=$ac_check_lib_save_LIBS
29568 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29569 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29570 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29571 cat >>confdefs.h <<\_ACEOF
29578 if test "$USE_DARWIN" != 1; then
29580 for ac_func in poll
29582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29583 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29585 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29586 echo $ECHO_N "(cached) $ECHO_C" >&6
29588 cat >conftest.$ac_ext <<_ACEOF
29591 cat confdefs.h >>conftest.$ac_ext
29592 cat >>conftest.$ac_ext <<_ACEOF
29593 /* end confdefs.h. */
29594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29596 #define $ac_func innocuous_$ac_func
29598 /* System header to define __stub macros and hopefully few prototypes,
29599 which can conflict with char $ac_func (); below.
29600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29601 <limits.h> exists even on freestanding compilers. */
29604 # include <limits.h>
29606 # include <assert.h>
29611 /* Override any GCC internal prototype to avoid an error.
29612 Use char because int might match the return type of a GCC
29613 builtin and then its argument prototype would still apply. */
29618 /* The GNU C library defines this for functions which it implements
29619 to always fail with ENOSYS. Some functions are actually named
29620 something starting with __ and the normal name is an alias. */
29621 #if defined __stub_$ac_func || defined __stub___$ac_func
29628 return $ac_func ();
29633 rm -f conftest.$ac_objext conftest$ac_exeext
29634 if { (ac_try="$ac_link"
29635 case "(($ac_try" in
29636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29637 *) ac_try_echo=$ac_try;;
29639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29640 (eval "$ac_link") 2>conftest.er1
29642 grep -v '^
*+' conftest.er1 >conftest.err
29644 cat conftest.err >&5
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); } && {
29647 test -z "$ac_c_werror_flag" ||
29648 test ! -s conftest.err
29649 } && test -s conftest$ac_exeext &&
29650 $as_test_x conftest$ac_exeext; then
29651 eval "$as_ac_var=yes"
29653 echo "$as_me: failed program was:" >&5
29654 sed 's
/^
/| /' conftest.$ac_ext >&5
29656 eval "$as_ac_var=no"
29659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29660 conftest$ac_exeext conftest.$ac_ext
29662 ac_res=`eval echo '${'$as_ac_var'}'`
29663 { echo "$as_me:$LINENO: result: $ac_res" >&5
29664 echo "${ECHO_T}$ac_res" >&6; }
29665 if test `eval echo '${'$as_ac_var'}'` = yes; then
29666 cat >>confdefs.h <<_ACEOF
29667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29676 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29677 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29679 AFMINSTALL=afminstall
29683 if test "$wxUSE_GPE" = "yes"; then
29684 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29685 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29688 for ac_dir in $SEARCH_LIB;
29690 for ac_extension in a so sl dylib dll.a; do
29691 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29692 ac_find_libraries=$ac_dir
29698 if test "$ac_find_libraries" != "" ; then
29700 if test "$ac_find_libraries" = "default location"; then
29703 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29705 if test $result = 0; then
29708 ac_path_to_link=" -L$ac_find_libraries"
29712 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29714 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29715 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29717 { echo "$as_me:$LINENO: result: not found" >&5
29718 echo "${ECHO_T}not found" >&6; }
29724 if test "$wxUSE_MGL" = 1; then
29725 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29726 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29727 if test "x$MGL_ROOT" = x ; then
29728 { echo "$as_me:$LINENO: result: not found" >&5
29729 echo "${ECHO_T}not found" >&6; }
29730 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29731 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29732 { (exit 1); exit 1; }; }
29734 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29735 echo "${ECHO_T}$MGL_ROOT" >&6; }
29738 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29739 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29742 if test "x$wxUSE_SHARED" = xyes ; then
29743 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29745 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29749 mgl_os_candidates="dos32/dj2"
29752 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29753 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29754 { (exit 1); exit 1; }; }
29760 for mgl_os_i in $mgl_os_candidates ; do
29761 if test "x$mgl_os" = x ; then
29762 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29763 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29764 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29769 if test "x$mgl_lib_type" = x ; then
29770 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29771 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29772 mgl_lib_type=release
29779 if test "x$mgl_os" = x ; then
29780 { echo "$as_me:$LINENO: result: not found" >&5
29781 echo "${ECHO_T}not found" >&6; }
29782 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29783 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29784 { (exit 1); exit 1; }; }
29786 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29787 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29789 wxUSE_UNIVERSAL="yes"
29791 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29792 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29794 AFMINSTALL=afminstall
29799 if test "$wxUSE_DFB" = 1; then
29802 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29803 if test -n "$ac_tool_prefix"; then
29804 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29805 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29808 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29809 echo $ECHO_N "(cached) $ECHO_C" >&6
29811 case $PKG_CONFIG in
29813 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29817 for as_dir in $PATH
29820 test -z "$as_dir" && as_dir=.
29821 for ac_exec_ext in '' $ac_executable_extensions; do
29822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29823 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29834 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29835 if test -n "$PKG_CONFIG"; then
29836 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29837 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29839 { echo "$as_me:$LINENO: result: no" >&5
29840 echo "${ECHO_T}no" >&6; }
29845 if test -z "$ac_cv_path_PKG_CONFIG"; then
29846 ac_pt_PKG_CONFIG=$PKG_CONFIG
29847 # Extract the first word of "pkg-config", so it can be a program name with args.
29848 set dummy pkg-config; ac_word=$2
29849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29851 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29852 echo $ECHO_N "(cached) $ECHO_C" >&6
29854 case $ac_pt_PKG_CONFIG in
29856 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29860 for as_dir in $PATH
29863 test -z "$as_dir" && as_dir=.
29864 for ac_exec_ext in '' $ac_executable_extensions; do
29865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29866 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29877 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29878 if test -n "$ac_pt_PKG_CONFIG"; then
29879 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29880 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29882 { echo "$as_me:$LINENO: result: no" >&5
29883 echo "${ECHO_T}no" >&6; }
29886 if test "x$ac_pt_PKG_CONFIG" = x; then
29889 case $cross_compiling:$ac_tool_warned in
29891 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29892 whose name does not start with the host triplet. If you think this
29893 configuration is useful to you, please write to autoconf@gnu.org." >&5
29894 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29895 whose name does not start with the host triplet. If you think this
29896 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29897 ac_tool_warned=yes ;;
29899 PKG_CONFIG=$ac_pt_PKG_CONFIG
29902 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29906 if test -n "$PKG_CONFIG"; then
29907 _pkg_min_version=0.9.0
29908 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29909 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29910 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29911 { echo "$as_me:$LINENO: result: yes" >&5
29912 echo "${ECHO_T}yes" >&6; }
29914 { echo "$as_me:$LINENO: result: no" >&5
29915 echo "${ECHO_T}no" >&6; }
29923 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29924 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29926 if test -n "$PKG_CONFIG"; then
29927 if test -n "$DIRECTFB_CFLAGS"; then
29928 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29930 if test -n "$PKG_CONFIG" && \
29931 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29932 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); }; then
29936 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29944 if test -n "$PKG_CONFIG"; then
29945 if test -n "$DIRECTFB_LIBS"; then
29946 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29948 if test -n "$PKG_CONFIG" && \
29949 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29950 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29953 (exit $ac_status); }; then
29954 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29965 if test $pkg_failed = yes; then
29967 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29968 _pkg_short_errors_supported=yes
29970 _pkg_short_errors_supported=no
29972 if test $_pkg_short_errors_supported = yes; then
29973 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29975 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29977 # Put the nasty error message in config.log where it belongs
29978 echo "$DIRECTFB_PKG_ERRORS" >&5
29981 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29982 echo "$as_me: error: DirectFB not found." >&2;}
29983 { (exit 1); exit 1; }; }
29986 elif test $pkg_failed = untried; then
29988 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29989 echo "$as_me: error: DirectFB not found." >&2;}
29990 { (exit 1); exit 1; }; }
29994 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29995 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29996 { echo "$as_me:$LINENO: result: yes" >&5
29997 echo "${ECHO_T}yes" >&6; }
29999 wxUSE_UNIVERSAL="yes"
30000 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30001 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30008 if test "$wxUSE_MICROWIN" = 1; then
30009 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30010 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30011 if test "x$MICROWINDOWS" = x ; then
30012 { echo "$as_me:$LINENO: result: not found" >&5
30013 echo "${ECHO_T}not found" >&6; }
30014 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30015 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30016 { (exit 1); exit 1; }; }
30018 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30019 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30022 if test -f $MICROWINDOWS/lib/libmwin.a; then
30023 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30024 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30026 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30027 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30028 { (exit 1); exit 1; }; }
30031 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30032 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30034 wxUSE_UNIVERSAL="yes"
30036 AFMINSTALL=afminstall
30038 GUIDIST=MICROWIN_DIST
30040 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30043 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30044 { echo "$as_me:$LINENO: checking for X" >&5
30045 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30048 # Check whether --with-x was given.
30049 if test "${with_x+set}" = set; then
30053 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30054 if test "x$with_x" = xno; then
30055 # The user explicitly disabled X.
30058 case $x_includes,$x_libraries in #(
30059 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30060 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30061 { (exit 1); exit 1; }; };; #(
30062 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30063 echo $ECHO_N "(cached) $ECHO_C" >&6
30065 # One or both of the vars are not set, and there is no cached value.
30066 ac_x_includes=no ac_x_libraries=no
30067 rm -f -r conftest.dir
30068 if mkdir conftest.dir; then
30070 cat >Imakefile <<'_ACEOF'
30072 @echo incroot='${INCROOT}'
30074 @echo usrlibdir='${USRLIBDIR}'
30076 @echo libdir='${LIBDIR}'
30078 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30079 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30080 for ac_var in incroot usrlibdir libdir; do
30081 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30083 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30084 for ac_extension in a so sl; do
30085 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30086 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30087 ac_im_usrlibdir=$ac_im_libdir; break
30090 # Screen out bogus values from the imake configuration. They are
30091 # bogus both because they are the default anyway, and because
30092 # using them would break gcc on systems where it needs fixed includes.
30093 case $ac_im_incroot in
30094 /usr/include) ac_x_includes= ;;
30095 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30097 case $ac_im_usrlibdir in
30098 /usr/lib | /lib) ;;
30099 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30103 rm -f -r conftest.dir
30106 # Standard set of common directories for X headers.
30107 # Check X11 before X11Rn because it is often a symlink to the current release.
30119 /usr
/local
/X
11/include
30120 /usr
/local
/X
11R
6/include
30121 /usr
/local
/X
11R
5/include
30122 /usr
/local
/X
11R
4/include
30124 /usr
/local
/include
/X11
30125 /usr
/local
/include
/X11R6
30126 /usr
/local
/include
/X11R5
30127 /usr
/local
/include
/X11R4
30131 /usr
/XFree
86/include
/X11
30135 /usr
/unsupported
/include
30136 /usr
/athena
/include
30137 /usr
/local
/x
11r
5/include
30138 /usr
/lpp
/Xamples
/include
30140 /usr
/openwin
/include
30141 /usr
/openwin
/share
/include
'
30143 if test "$ac_x_includes" = no; then
30144 # Guess where to find include files, by looking for Xlib.h.
30145 # First, try using that file with no special directory specified.
30146 cat >conftest.$ac_ext <<_ACEOF
30149 cat confdefs.h >>conftest.$ac_ext
30150 cat >>conftest.$ac_ext <<_ACEOF
30151 /* end confdefs.h. */
30152 #include <X11/Xlib.h>
30154 if { (ac_try="$ac_cpp conftest.$ac_ext"
30155 case "(($ac_try" in
30156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30157 *) ac_try_echo=$ac_try;;
30159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30160 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30162 grep -v '^
*+' conftest.er1 >conftest.err
30164 cat conftest.err >&5
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); } >/dev/null && {
30167 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30168 test ! -s conftest.err
30170 # We can compile using X headers with no special include directory.
30173 echo "$as_me: failed program was:" >&5
30174 sed 's
/^
/| /' conftest.$ac_ext >&5
30176 for ac_dir in $ac_x_header_dirs; do
30177 if test -r "$ac_dir/X11/Xlib.h"; then
30178 ac_x_includes=$ac_dir
30184 rm -f conftest.err conftest.$ac_ext
30185 fi # $ac_x_includes = no
30187 if test "$ac_x_libraries" = no; then
30188 # Check for the libraries.
30189 # See if we find them without any special options.
30190 # Don't add to
$LIBS permanently.
30193 cat >conftest.
$ac_ext <<_ACEOF
30196 cat confdefs.h
>>conftest.
$ac_ext
30197 cat >>conftest.
$ac_ext <<_ACEOF
30198 /* end confdefs.h. */
30199 #include <X11/Xlib.h>
30208 rm -f conftest.
$ac_objext conftest
$ac_exeext
30209 if { (ac_try
="$ac_link"
30210 case "(($ac_try" in
30211 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30212 *) ac_try_echo=$ac_try;;
30214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30215 (eval "$ac_link") 2>conftest.er1
30217 grep -v '^ *+' conftest.er1 >conftest.err
30219 cat conftest.err >&5
30220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30221 (exit $ac_status); } && {
30222 test -z "$ac_c_werror_flag" ||
30223 test ! -s conftest.err
30224 } && test -s conftest$ac_exeext &&
30225 $as_test_x conftest$ac_exeext; then
30227 # We can link X programs with no special library path.
30230 echo "$as_me: failed program was:" >&5
30231 sed 's/^/| /' conftest.$ac_ext >&5
30234 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30236 # Don't even attempt the hair of trying to link an X program!
30237 for ac_extension in a so sl; do
30238 if test -r "$ac_dir/libX11.$ac_extension"; then
30239 ac_x_libraries=$ac_dir
30246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30247 conftest$ac_exeext conftest.$ac_ext
30248 fi # $ac_x_libraries = no
30250 case $ac_x_includes,$ac_x_libraries in #(
30251 no,* | *,no | *\'*)
30252 # Didn't find X, or a directory has "'" in its name.
30253 ac_cv_have_x="have_x=no";; #(
30255 # Record where we found X for the cache.
30256 ac_cv_have_x="have_x=yes\
30257 ac_x_includes='$ac_x_includes'\
30258 ac_x_libraries='$ac_x_libraries'"
30264 eval "$ac_cv_have_x"
30267 if test "$have_x" != yes; then
30268 { echo "$as_me:$LINENO: result: $have_x" >&5
30269 echo "${ECHO_T}$have_x" >&6; }
30272 # If each of the values was on the command line, it overrides each guess.
30273 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30274 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30275 # Update the cache value to reflect the command line values.
30276 ac_cv_have_x="have_x=yes\
30277 ac_x_includes='$x_includes'\
30278 ac_x_libraries='$x_libraries'"
30279 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30280 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30283 if test "$no_x" = yes; then
30284 # Not all programs may use this symbol, but it does not hurt to define it.
30286 cat >>confdefs.h <<\_ACEOF
30287 #define X_DISPLAY_MISSING 1
30290 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30292 if test -n "$x_includes"; then
30293 X_CFLAGS="$X_CFLAGS -I$x_includes"
30296 # It would also be nice to do this for all -L options, not just this one.
30297 if test -n "$x_libraries"; then
30298 X_LIBS="$X_LIBS -L$x_libraries"
30299 # For Solaris; some versions of Sun CC require a space after -R and
30300 # others require no space. Words are not sufficient . . . .
30301 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30302 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30303 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30304 ac_xsave_c_werror_flag=$ac_c_werror_flag
30305 ac_c_werror_flag=yes
30306 cat >conftest.$ac_ext <<_ACEOF
30309 cat confdefs.h >>conftest.$ac_ext
30310 cat >>conftest.$ac_ext <<_ACEOF
30311 /* end confdefs.h. */
30321 rm -f conftest.$ac_objext conftest$ac_exeext
30322 if { (ac_try="$ac_link"
30323 case "(($ac_try" in
30324 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30325 *) ac_try_echo
=$ac_try;;
30327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30328 (eval "$ac_link") 2>conftest.er1
30330 grep -v '^ *+' conftest.er1
>conftest.err
30332 cat conftest.err
>&5
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); } && {
30335 test -z "$ac_c_werror_flag" ||
30336 test ! -s conftest.err
30337 } && test -s conftest
$ac_exeext &&
30338 $as_test_x conftest
$ac_exeext; then
30339 { echo "$as_me:$LINENO: result: no" >&5
30340 echo "${ECHO_T}no" >&6; }
30341 X_LIBS
="$X_LIBS -R$x_libraries"
30343 echo "$as_me: failed program was:" >&5
30344 sed 's/^/| /' conftest.
$ac_ext >&5
30346 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30347 cat >conftest.
$ac_ext <<_ACEOF
30350 cat confdefs.h
>>conftest.
$ac_ext
30351 cat >>conftest.
$ac_ext <<_ACEOF
30352 /* end confdefs.h. */
30362 rm -f conftest.
$ac_objext conftest
$ac_exeext
30363 if { (ac_try
="$ac_link"
30364 case "(($ac_try" in
30365 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30366 *) ac_try_echo=$ac_try;;
30368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30369 (eval "$ac_link") 2>conftest.er1
30371 grep -v '^ *+' conftest.er1 >conftest.err
30373 cat conftest.err >&5
30374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30375 (exit $ac_status); } && {
30376 test -z "$ac_c_werror_flag" ||
30377 test ! -s conftest.err
30378 } && test -s conftest$ac_exeext &&
30379 $as_test_x conftest$ac_exeext; then
30380 { echo "$as_me:$LINENO: result: yes" >&5
30381 echo "${ECHO_T}yes" >&6; }
30382 X_LIBS="$X_LIBS -R $x_libraries"
30384 echo "$as_me: failed program was:" >&5
30385 sed 's/^/| /' conftest.$ac_ext >&5
30387 { echo "$as_me:$LINENO: result: neither works" >&5
30388 echo "${ECHO_T}neither works" >&6; }
30391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30392 conftest$ac_exeext conftest.$ac_ext
30395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30396 conftest$ac_exeext conftest.$ac_ext
30397 ac_c_werror_flag=$ac_xsave_c_werror_flag
30398 LIBS=$ac_xsave_LIBS
30401 # Check for system-dependent libraries X programs must link with.
30402 # Do this before checking for the system-independent R6 libraries
30403 # (-lICE), since we may need -lsocket or whatever for X linking.
30405 if test "$ISC" = yes; then
30406 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30408 # Martyn Johnson says this is needed for Ultrix, if the X
30409 # libraries were built with DECnet support. And Karl Berry says
30410 # the Alpha needs dnet_stub (dnet does not exist).
30411 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30412 cat >conftest.$ac_ext <<_ACEOF
30415 cat confdefs.h >>conftest.$ac_ext
30416 cat >>conftest.$ac_ext <<_ACEOF
30417 /* end confdefs.h. */
30419 /* Override any GCC internal prototype to avoid an error.
30420 Use char because int might match the return type of a GCC
30421 builtin and then its argument prototype would still apply. */
30425 char XOpenDisplay ();
30429 return XOpenDisplay ();
30434 rm -f conftest.$ac_objext conftest$ac_exeext
30435 if { (ac_try="$ac_link"
30436 case "(($ac_try" in
30437 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30438 *) ac_try_echo
=$ac_try;;
30440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30441 (eval "$ac_link") 2>conftest.er1
30443 grep -v '^ *+' conftest.er1
>conftest.err
30445 cat conftest.err
>&5
30446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30447 (exit $ac_status); } && {
30448 test -z "$ac_c_werror_flag" ||
30449 test ! -s conftest.err
30450 } && test -s conftest
$ac_exeext &&
30451 $as_test_x conftest
$ac_exeext; then
30454 echo "$as_me: failed program was:" >&5
30455 sed 's/^/| /' conftest.
$ac_ext >&5
30457 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30458 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30459 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30460 echo $ECHO_N "(cached) $ECHO_C" >&6
30462 ac_check_lib_save_LIBS
=$LIBS
30463 LIBS
="-ldnet $LIBS"
30464 cat >conftest.
$ac_ext <<_ACEOF
30467 cat confdefs.h
>>conftest.
$ac_ext
30468 cat >>conftest.
$ac_ext <<_ACEOF
30469 /* end confdefs.h. */
30471 /* Override any GCC internal prototype to avoid an error.
30472 Use char because int might match the return type of a GCC
30473 builtin and then its argument prototype would still apply. */
30481 return dnet_ntoa ();
30486 rm -f conftest.
$ac_objext conftest
$ac_exeext
30487 if { (ac_try
="$ac_link"
30488 case "(($ac_try" in
30489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30490 *) ac_try_echo=$ac_try;;
30492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30493 (eval "$ac_link") 2>conftest.er1
30495 grep -v '^ *+' conftest.er1 >conftest.err
30497 cat conftest.err >&5
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); } && {
30500 test -z "$ac_c_werror_flag" ||
30501 test ! -s conftest.err
30502 } && test -s conftest$ac_exeext &&
30503 $as_test_x conftest$ac_exeext; then
30504 ac_cv_lib_dnet_dnet_ntoa=yes
30506 echo "$as_me: failed program was:" >&5
30507 sed 's/^/| /' conftest.$ac_ext >&5
30509 ac_cv_lib_dnet_dnet_ntoa=no
30512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30513 conftest$ac_exeext conftest.$ac_ext
30514 LIBS=$ac_check_lib_save_LIBS
30516 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30517 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30518 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30519 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30522 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30523 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30524 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30525 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30526 echo $ECHO_N "(cached) $ECHO_C" >&6
30528 ac_check_lib_save_LIBS=$LIBS
30529 LIBS="-ldnet_stub $LIBS"
30530 cat >conftest.$ac_ext <<_ACEOF
30533 cat confdefs.h >>conftest.$ac_ext
30534 cat >>conftest.$ac_ext <<_ACEOF
30535 /* end confdefs.h. */
30537 /* Override any GCC internal prototype to avoid an error.
30538 Use char because int might match the return type of a GCC
30539 builtin and then its argument prototype would still apply. */
30547 return dnet_ntoa ();
30552 rm -f conftest.$ac_objext conftest$ac_exeext
30553 if { (ac_try="$ac_link"
30554 case "(($ac_try" in
30555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30556 *) ac_try_echo
=$ac_try;;
30558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30559 (eval "$ac_link") 2>conftest.er1
30561 grep -v '^ *+' conftest.er1
>conftest.err
30563 cat conftest.err
>&5
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); } && {
30566 test -z "$ac_c_werror_flag" ||
30567 test ! -s conftest.err
30568 } && test -s conftest
$ac_exeext &&
30569 $as_test_x conftest
$ac_exeext; then
30570 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30572 echo "$as_me: failed program was:" >&5
30573 sed 's/^/| /' conftest.
$ac_ext >&5
30575 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30578 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30579 conftest
$ac_exeext conftest.
$ac_ext
30580 LIBS
=$ac_check_lib_save_LIBS
30582 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30583 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30584 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30585 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30591 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30592 conftest
$ac_exeext conftest.
$ac_ext
30593 LIBS
="$ac_xsave_LIBS"
30595 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30596 # to get the SysV transport functions.
30597 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30599 # The nsl library prevents programs from opening the X display
30600 # on Irix 5.2, according to T.E. Dickey.
30601 # The functions gethostbyname, getservbyname, and inet_addr are
30602 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30603 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30604 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30605 if test "${ac_cv_func_gethostbyname+set}" = set; then
30606 echo $ECHO_N "(cached) $ECHO_C" >&6
30608 cat >conftest.
$ac_ext <<_ACEOF
30611 cat confdefs.h
>>conftest.
$ac_ext
30612 cat >>conftest.
$ac_ext <<_ACEOF
30613 /* end confdefs.h. */
30614 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30616 #define gethostbyname innocuous_gethostbyname
30618 /* System header to define __stub macros and hopefully few prototypes,
30619 which can conflict with char gethostbyname (); below.
30620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30621 <limits.h> exists even on freestanding compilers. */
30624 # include <limits.h>
30626 # include <assert.h>
30629 #undef gethostbyname
30631 /* Override any GCC internal prototype to avoid an error.
30632 Use char because int might match the return type of a GCC
30633 builtin and then its argument prototype would still apply. */
30637 char gethostbyname ();
30638 /* The GNU C library defines this for functions which it implements
30639 to always fail with ENOSYS. Some functions are actually named
30640 something starting with __ and the normal name is an alias. */
30641 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30648 return gethostbyname ();
30653 rm -f conftest.
$ac_objext conftest
$ac_exeext
30654 if { (ac_try
="$ac_link"
30655 case "(($ac_try" in
30656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30657 *) ac_try_echo=$ac_try;;
30659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30660 (eval "$ac_link") 2>conftest.er1
30662 grep -v '^ *+' conftest.er1 >conftest.err
30664 cat conftest.err >&5
30665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30666 (exit $ac_status); } && {
30667 test -z "$ac_c_werror_flag" ||
30668 test ! -s conftest.err
30669 } && test -s conftest$ac_exeext &&
30670 $as_test_x conftest$ac_exeext; then
30671 ac_cv_func_gethostbyname=yes
30673 echo "$as_me: failed program was:" >&5
30674 sed 's/^/| /' conftest.$ac_ext >&5
30676 ac_cv_func_gethostbyname=no
30679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30680 conftest$ac_exeext conftest.$ac_ext
30682 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30683 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30685 if test $ac_cv_func_gethostbyname = no; then
30686 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30687 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30688 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30689 echo $ECHO_N "(cached) $ECHO_C" >&6
30691 ac_check_lib_save_LIBS=$LIBS
30693 cat >conftest.$ac_ext <<_ACEOF
30696 cat confdefs.h >>conftest.$ac_ext
30697 cat >>conftest.$ac_ext <<_ACEOF
30698 /* end confdefs.h. */
30700 /* Override any GCC internal prototype to avoid an error.
30701 Use char because int might match the return type of a GCC
30702 builtin and then its argument prototype would still apply. */
30706 char gethostbyname ();
30710 return gethostbyname ();
30715 rm -f conftest.$ac_objext conftest$ac_exeext
30716 if { (ac_try="$ac_link"
30717 case "(($ac_try" in
30718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30719 *) ac_try_echo
=$ac_try;;
30721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30722 (eval "$ac_link") 2>conftest.er1
30724 grep -v '^ *+' conftest.er1
>conftest.err
30726 cat conftest.err
>&5
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); } && {
30729 test -z "$ac_c_werror_flag" ||
30730 test ! -s conftest.err
30731 } && test -s conftest
$ac_exeext &&
30732 $as_test_x conftest
$ac_exeext; then
30733 ac_cv_lib_nsl_gethostbyname
=yes
30735 echo "$as_me: failed program was:" >&5
30736 sed 's/^/| /' conftest.
$ac_ext >&5
30738 ac_cv_lib_nsl_gethostbyname
=no
30741 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30742 conftest
$ac_exeext conftest.
$ac_ext
30743 LIBS
=$ac_check_lib_save_LIBS
30745 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30746 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30747 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30748 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30751 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30752 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30753 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30754 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30755 echo $ECHO_N "(cached) $ECHO_C" >&6
30757 ac_check_lib_save_LIBS
=$LIBS
30759 cat >conftest.
$ac_ext <<_ACEOF
30762 cat confdefs.h
>>conftest.
$ac_ext
30763 cat >>conftest.
$ac_ext <<_ACEOF
30764 /* end confdefs.h. */
30766 /* Override any GCC internal prototype to avoid an error.
30767 Use char because int might match the return type of a GCC
30768 builtin and then its argument prototype would still apply. */
30772 char gethostbyname ();
30776 return gethostbyname ();
30781 rm -f conftest.
$ac_objext conftest
$ac_exeext
30782 if { (ac_try
="$ac_link"
30783 case "(($ac_try" in
30784 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30785 *) ac_try_echo=$ac_try;;
30787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30788 (eval "$ac_link") 2>conftest.er1
30790 grep -v '^ *+' conftest.er1 >conftest.err
30792 cat conftest.err >&5
30793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30794 (exit $ac_status); } && {
30795 test -z "$ac_c_werror_flag" ||
30796 test ! -s conftest.err
30797 } && test -s conftest$ac_exeext &&
30798 $as_test_x conftest$ac_exeext; then
30799 ac_cv_lib_bsd_gethostbyname=yes
30801 echo "$as_me: failed program was:" >&5
30802 sed 's/^/| /' conftest.$ac_ext >&5
30804 ac_cv_lib_bsd_gethostbyname=no
30807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30808 conftest$ac_exeext conftest.$ac_ext
30809 LIBS=$ac_check_lib_save_LIBS
30811 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30812 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30813 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30814 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30820 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30821 # socket/setsockopt and other routines are undefined under SCO ODT
30822 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30823 # on later versions), says Simon Leinen: it contains gethostby*
30824 # variants that don't use the name server (or something). -lsocket
30825 # must be given before -lnsl if both are needed. We assume that
30826 # if connect needs -lnsl, so does gethostbyname.
30827 { echo "$as_me:$LINENO: checking for connect" >&5
30828 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30829 if test "${ac_cv_func_connect+set}" = set; then
30830 echo $ECHO_N "(cached) $ECHO_C" >&6
30832 cat >conftest.$ac_ext <<_ACEOF
30835 cat confdefs.h >>conftest.$ac_ext
30836 cat >>conftest.$ac_ext <<_ACEOF
30837 /* end confdefs.h. */
30838 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30840 #define connect innocuous_connect
30842 /* System header to define __stub macros and hopefully few prototypes,
30843 which can conflict with char connect (); below.
30844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30845 <limits.h> exists even on freestanding compilers. */
30848 # include <limits.h>
30850 # include <assert.h>
30855 /* Override any GCC internal prototype to avoid an error.
30856 Use char because int might match the return type of a GCC
30857 builtin and then its argument prototype would still apply. */
30862 /* The GNU C library defines this for functions which it implements
30863 to always fail with ENOSYS. Some functions are actually named
30864 something starting with __ and the normal name is an alias. */
30865 #if defined __stub_connect || defined __stub___connect
30877 rm -f conftest.$ac_objext conftest$ac_exeext
30878 if { (ac_try="$ac_link"
30879 case "(($ac_try" in
30880 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30881 *) ac_try_echo
=$ac_try;;
30883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30884 (eval "$ac_link") 2>conftest.er1
30886 grep -v '^ *+' conftest.er1
>conftest.err
30888 cat conftest.err
>&5
30889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30890 (exit $ac_status); } && {
30891 test -z "$ac_c_werror_flag" ||
30892 test ! -s conftest.err
30893 } && test -s conftest
$ac_exeext &&
30894 $as_test_x conftest
$ac_exeext; then
30895 ac_cv_func_connect
=yes
30897 echo "$as_me: failed program was:" >&5
30898 sed 's/^/| /' conftest.
$ac_ext >&5
30900 ac_cv_func_connect
=no
30903 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30904 conftest
$ac_exeext conftest.
$ac_ext
30906 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30907 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30909 if test $ac_cv_func_connect = no
; then
30910 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30911 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30912 if test "${ac_cv_lib_socket_connect+set}" = set; then
30913 echo $ECHO_N "(cached) $ECHO_C" >&6
30915 ac_check_lib_save_LIBS
=$LIBS
30916 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30917 cat >conftest.
$ac_ext <<_ACEOF
30920 cat confdefs.h
>>conftest.
$ac_ext
30921 cat >>conftest.
$ac_ext <<_ACEOF
30922 /* end confdefs.h. */
30924 /* Override any GCC internal prototype to avoid an error.
30925 Use char because int might match the return type of a GCC
30926 builtin and then its argument prototype would still apply. */
30939 rm -f conftest.
$ac_objext conftest
$ac_exeext
30940 if { (ac_try
="$ac_link"
30941 case "(($ac_try" in
30942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30943 *) ac_try_echo=$ac_try;;
30945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30946 (eval "$ac_link") 2>conftest.er1
30948 grep -v '^ *+' conftest.er1 >conftest.err
30950 cat conftest.err >&5
30951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30952 (exit $ac_status); } && {
30953 test -z "$ac_c_werror_flag" ||
30954 test ! -s conftest.err
30955 } && test -s conftest$ac_exeext &&
30956 $as_test_x conftest$ac_exeext; then
30957 ac_cv_lib_socket_connect=yes
30959 echo "$as_me: failed program was:" >&5
30960 sed 's/^/| /' conftest.$ac_ext >&5
30962 ac_cv_lib_socket_connect=no
30965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30966 conftest$ac_exeext conftest.$ac_ext
30967 LIBS=$ac_check_lib_save_LIBS
30969 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30970 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30971 if test $ac_cv_lib_socket_connect = yes; then
30972 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30977 # Guillermo Gomez says -lposix is necessary on A/UX.
30978 { echo "$as_me:$LINENO: checking for remove" >&5
30979 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30980 if test "${ac_cv_func_remove+set}" = set; then
30981 echo $ECHO_N "(cached) $ECHO_C" >&6
30983 cat >conftest.$ac_ext <<_ACEOF
30986 cat confdefs.h >>conftest.$ac_ext
30987 cat >>conftest.$ac_ext <<_ACEOF
30988 /* end confdefs.h. */
30989 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30991 #define remove innocuous_remove
30993 /* System header to define __stub macros and hopefully few prototypes,
30994 which can conflict with char remove (); below.
30995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30996 <limits.h> exists even on freestanding compilers. */
30999 # include <limits.h>
31001 # include <assert.h>
31006 /* Override any GCC internal prototype to avoid an error.
31007 Use char because int might match the return type of a GCC
31008 builtin and then its argument prototype would still apply. */
31013 /* The GNU C library defines this for functions which it implements
31014 to always fail with ENOSYS. Some functions are actually named
31015 something starting with __ and the normal name is an alias. */
31016 #if defined __stub_remove || defined __stub___remove
31028 rm -f conftest.$ac_objext conftest$ac_exeext
31029 if { (ac_try="$ac_link"
31030 case "(($ac_try" in
31031 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31032 *) ac_try_echo
=$ac_try;;
31034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31035 (eval "$ac_link") 2>conftest.er1
31037 grep -v '^ *+' conftest.er1
>conftest.err
31039 cat conftest.err
>&5
31040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31041 (exit $ac_status); } && {
31042 test -z "$ac_c_werror_flag" ||
31043 test ! -s conftest.err
31044 } && test -s conftest
$ac_exeext &&
31045 $as_test_x conftest
$ac_exeext; then
31046 ac_cv_func_remove
=yes
31048 echo "$as_me: failed program was:" >&5
31049 sed 's/^/| /' conftest.
$ac_ext >&5
31051 ac_cv_func_remove
=no
31054 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31055 conftest
$ac_exeext conftest.
$ac_ext
31057 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31058 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31060 if test $ac_cv_func_remove = no
; then
31061 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31062 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31063 if test "${ac_cv_lib_posix_remove+set}" = set; then
31064 echo $ECHO_N "(cached) $ECHO_C" >&6
31066 ac_check_lib_save_LIBS
=$LIBS
31067 LIBS
="-lposix $LIBS"
31068 cat >conftest.
$ac_ext <<_ACEOF
31071 cat confdefs.h
>>conftest.
$ac_ext
31072 cat >>conftest.
$ac_ext <<_ACEOF
31073 /* end confdefs.h. */
31075 /* Override any GCC internal prototype to avoid an error.
31076 Use char because int might match the return type of a GCC
31077 builtin and then its argument prototype would still apply. */
31090 rm -f conftest.
$ac_objext conftest
$ac_exeext
31091 if { (ac_try
="$ac_link"
31092 case "(($ac_try" in
31093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31094 *) ac_try_echo=$ac_try;;
31096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31097 (eval "$ac_link") 2>conftest.er1
31099 grep -v '^ *+' conftest.er1 >conftest.err
31101 cat conftest.err >&5
31102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31103 (exit $ac_status); } && {
31104 test -z "$ac_c_werror_flag" ||
31105 test ! -s conftest.err
31106 } && test -s conftest$ac_exeext &&
31107 $as_test_x conftest$ac_exeext; then
31108 ac_cv_lib_posix_remove=yes
31110 echo "$as_me: failed program was:" >&5
31111 sed 's/^/| /' conftest.$ac_ext >&5
31113 ac_cv_lib_posix_remove=no
31116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31117 conftest$ac_exeext conftest.$ac_ext
31118 LIBS=$ac_check_lib_save_LIBS
31120 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31121 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31122 if test $ac_cv_lib_posix_remove = yes; then
31123 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31128 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31129 { echo "$as_me:$LINENO: checking for shmat" >&5
31130 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31131 if test "${ac_cv_func_shmat+set}" = set; then
31132 echo $ECHO_N "(cached) $ECHO_C" >&6
31134 cat >conftest.$ac_ext <<_ACEOF
31137 cat confdefs.h >>conftest.$ac_ext
31138 cat >>conftest.$ac_ext <<_ACEOF
31139 /* end confdefs.h. */
31140 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31142 #define shmat innocuous_shmat
31144 /* System header to define __stub macros and hopefully few prototypes,
31145 which can conflict with char shmat (); below.
31146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31147 <limits.h> exists even on freestanding compilers. */
31150 # include <limits.h>
31152 # include <assert.h>
31157 /* Override any GCC internal prototype to avoid an error.
31158 Use char because int might match the return type of a GCC
31159 builtin and then its argument prototype would still apply. */
31164 /* The GNU C library defines this for functions which it implements
31165 to always fail with ENOSYS. Some functions are actually named
31166 something starting with __ and the normal name is an alias. */
31167 #if defined __stub_shmat || defined __stub___shmat
31179 rm -f conftest.$ac_objext conftest$ac_exeext
31180 if { (ac_try="$ac_link"
31181 case "(($ac_try" in
31182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31183 *) ac_try_echo
=$ac_try;;
31185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31186 (eval "$ac_link") 2>conftest.er1
31188 grep -v '^ *+' conftest.er1
>conftest.err
31190 cat conftest.err
>&5
31191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31192 (exit $ac_status); } && {
31193 test -z "$ac_c_werror_flag" ||
31194 test ! -s conftest.err
31195 } && test -s conftest
$ac_exeext &&
31196 $as_test_x conftest
$ac_exeext; then
31197 ac_cv_func_shmat
=yes
31199 echo "$as_me: failed program was:" >&5
31200 sed 's/^/| /' conftest.
$ac_ext >&5
31202 ac_cv_func_shmat
=no
31205 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31206 conftest
$ac_exeext conftest.
$ac_ext
31208 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31209 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31211 if test $ac_cv_func_shmat = no
; then
31212 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31213 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31214 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31215 echo $ECHO_N "(cached) $ECHO_C" >&6
31217 ac_check_lib_save_LIBS
=$LIBS
31219 cat >conftest.
$ac_ext <<_ACEOF
31222 cat confdefs.h
>>conftest.
$ac_ext
31223 cat >>conftest.
$ac_ext <<_ACEOF
31224 /* end confdefs.h. */
31226 /* Override any GCC internal prototype to avoid an error.
31227 Use char because int might match the return type of a GCC
31228 builtin and then its argument prototype would still apply. */
31241 rm -f conftest.
$ac_objext conftest
$ac_exeext
31242 if { (ac_try
="$ac_link"
31243 case "(($ac_try" in
31244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31245 *) ac_try_echo=$ac_try;;
31247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31248 (eval "$ac_link") 2>conftest.er1
31250 grep -v '^ *+' conftest.er1 >conftest.err
31252 cat conftest.err >&5
31253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31254 (exit $ac_status); } && {
31255 test -z "$ac_c_werror_flag" ||
31256 test ! -s conftest.err
31257 } && test -s conftest$ac_exeext &&
31258 $as_test_x conftest$ac_exeext; then
31259 ac_cv_lib_ipc_shmat=yes
31261 echo "$as_me: failed program was:" >&5
31262 sed 's/^/| /' conftest.$ac_ext >&5
31264 ac_cv_lib_ipc_shmat=no
31267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31268 conftest$ac_exeext conftest.$ac_ext
31269 LIBS=$ac_check_lib_save_LIBS
31271 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31272 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31273 if test $ac_cv_lib_ipc_shmat = yes; then
31274 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31280 # Check for libraries that X11R6 Xt/Xaw programs need.
31281 ac_save_LDFLAGS=$LDFLAGS
31282 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31283 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31284 # check for ICE first), but we must link in the order -lSM -lICE or
31285 # we get undefined symbols. So assume we have SM if we have ICE.
31286 # These have to be linked with before -lX11, unlike the other
31287 # libraries we check for below, so use a different variable.
31288 # John Interrante, Karl Berry
31289 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31290 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31291 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31292 echo $ECHO_N "(cached) $ECHO_C" >&6
31294 ac_check_lib_save_LIBS=$LIBS
31295 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31296 cat >conftest.$ac_ext <<_ACEOF
31299 cat confdefs.h >>conftest.$ac_ext
31300 cat >>conftest.$ac_ext <<_ACEOF
31301 /* end confdefs.h. */
31303 /* Override any GCC internal prototype to avoid an error.
31304 Use char because int might match the return type of a GCC
31305 builtin and then its argument prototype would still apply. */
31309 char IceConnectionNumber ();
31313 return IceConnectionNumber ();
31318 rm -f conftest.$ac_objext conftest$ac_exeext
31319 if { (ac_try="$ac_link"
31320 case "(($ac_try" in
31321 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31322 *) ac_try_echo
=$ac_try;;
31324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31325 (eval "$ac_link") 2>conftest.er1
31327 grep -v '^ *+' conftest.er1
>conftest.err
31329 cat conftest.err
>&5
31330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31331 (exit $ac_status); } && {
31332 test -z "$ac_c_werror_flag" ||
31333 test ! -s conftest.err
31334 } && test -s conftest
$ac_exeext &&
31335 $as_test_x conftest
$ac_exeext; then
31336 ac_cv_lib_ICE_IceConnectionNumber
=yes
31338 echo "$as_me: failed program was:" >&5
31339 sed 's/^/| /' conftest.
$ac_ext >&5
31341 ac_cv_lib_ICE_IceConnectionNumber
=no
31344 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31345 conftest
$ac_exeext conftest.
$ac_ext
31346 LIBS
=$ac_check_lib_save_LIBS
31348 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31349 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31350 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31351 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31354 LDFLAGS
=$ac_save_LDFLAGS
31359 if test "$no_x" = "yes"; then
31360 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31361 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31362 { (exit 1); exit 1; }; }
31365 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31366 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31367 AFMINSTALL
=afminstall
31368 COMPILED_X_PROGRAM
=0
31372 if test "$wxUSE_X11" = 1; then
31373 if test "$wxUSE_NANOX" = "yes"; then
31374 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31375 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31376 if test "x$MICROWIN" = x
; then
31377 { echo "$as_me:$LINENO: result: not found" >&5
31378 echo "${ECHO_T}not found" >&6; }
31379 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31380 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31381 { (exit 1); exit 1; }; }
31383 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31384 echo "${ECHO_T}$MICROWIN" >&6; }
31385 cat >>confdefs.h
<<\_ACEOF
31386 #define wxUSE_NANOX 1
31392 if test "$wxUSE_UNICODE" = "yes"; then
31395 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31396 if test -n "$ac_tool_prefix"; then
31397 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31398 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31401 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31402 echo $ECHO_N "(cached) $ECHO_C" >&6
31404 case $PKG_CONFIG in
31406 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31410 for as_dir
in $PATH
31413 test -z "$as_dir" && as_dir
=.
31414 for ac_exec_ext
in '' $ac_executable_extensions; do
31415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31416 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31427 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31428 if test -n "$PKG_CONFIG"; then
31429 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31430 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31432 { echo "$as_me:$LINENO: result: no" >&5
31433 echo "${ECHO_T}no" >&6; }
31438 if test -z "$ac_cv_path_PKG_CONFIG"; then
31439 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31440 # Extract the first word of "pkg-config", so it can be a program name with args.
31441 set dummy pkg
-config; ac_word
=$2
31442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31444 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31445 echo $ECHO_N "(cached) $ECHO_C" >&6
31447 case $ac_pt_PKG_CONFIG in
31449 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31453 for as_dir
in $PATH
31456 test -z "$as_dir" && as_dir
=.
31457 for ac_exec_ext
in '' $ac_executable_extensions; do
31458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31459 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31470 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31471 if test -n "$ac_pt_PKG_CONFIG"; then
31472 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31473 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31475 { echo "$as_me:$LINENO: result: no" >&5
31476 echo "${ECHO_T}no" >&6; }
31479 if test "x$ac_pt_PKG_CONFIG" = x
; then
31482 case $cross_compiling:$ac_tool_warned in
31484 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31485 whose name does not start with the host triplet. If you think this
31486 configuration is useful to you, please write to autoconf@gnu.org." >&5
31487 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31488 whose name does not start with the host triplet. If you think this
31489 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31490 ac_tool_warned
=yes ;;
31492 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31495 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31499 if test -n "$PKG_CONFIG"; then
31500 _pkg_min_version
=0.9.0
31501 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31502 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31503 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31504 { echo "$as_me:$LINENO: result: yes" >&5
31505 echo "${ECHO_T}yes" >&6; }
31507 { echo "$as_me:$LINENO: result: no" >&5
31508 echo "${ECHO_T}no" >&6; }
31516 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31517 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31519 if test -n "$PKG_CONFIG"; then
31520 if test -n "$PANGOX_CFLAGS"; then
31521 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31523 if test -n "$PKG_CONFIG" && \
31524 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31525 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); }; then
31529 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31537 if test -n "$PKG_CONFIG"; then
31538 if test -n "$PANGOX_LIBS"; then
31539 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31541 if test -n "$PKG_CONFIG" && \
31542 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31543 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); }; then
31547 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31558 if test $pkg_failed = yes; then
31560 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31561 _pkg_short_errors_supported
=yes
31563 _pkg_short_errors_supported
=no
31565 if test $_pkg_short_errors_supported = yes; then
31566 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31568 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31570 # Put the nasty error message in config.log where it belongs
31571 echo "$PANGOX_PKG_ERRORS" >&5
31574 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31575 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31576 { (exit 1); exit 1; }; }
31579 elif test $pkg_failed = untried
; then
31581 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31582 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31583 { (exit 1); exit 1; }; }
31587 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31588 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31589 { echo "$as_me:$LINENO: result: yes" >&5
31590 echo "${ECHO_T}yes" >&6; }
31592 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31593 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31594 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31599 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31600 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31602 if test -n "$PKG_CONFIG"; then
31603 if test -n "$PANGOFT2_CFLAGS"; then
31604 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31606 if test -n "$PKG_CONFIG" && \
31607 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31608 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); }; then
31612 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31620 if test -n "$PKG_CONFIG"; then
31621 if test -n "$PANGOFT2_LIBS"; then
31622 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31624 if test -n "$PKG_CONFIG" && \
31625 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31626 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); }; then
31630 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31641 if test $pkg_failed = yes; then
31643 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31644 _pkg_short_errors_supported
=yes
31646 _pkg_short_errors_supported
=no
31648 if test $_pkg_short_errors_supported = yes; then
31649 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31651 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31653 # Put the nasty error message in config.log where it belongs
31654 echo "$PANGOFT2_PKG_ERRORS" >&5
31657 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31658 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31659 wxUSE_PRINTING_ARCHITECTURE
="no"
31662 elif test $pkg_failed = untried
; then
31664 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31665 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31666 wxUSE_PRINTING_ARCHITECTURE
="no"
31670 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31671 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31672 { echo "$as_me:$LINENO: result: yes" >&5
31673 echo "${ECHO_T}yes" >&6; }
31675 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31676 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31677 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31682 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31683 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31685 if test -n "$PKG_CONFIG"; then
31686 if test -n "$PANGOXFT_CFLAGS"; then
31687 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31689 if test -n "$PKG_CONFIG" && \
31690 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31691 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31694 (exit $ac_status); }; then
31695 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31703 if test -n "$PKG_CONFIG"; then
31704 if test -n "$PANGOXFT_LIBS"; then
31705 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31707 if test -n "$PKG_CONFIG" && \
31708 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31709 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); }; then
31713 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31724 if test $pkg_failed = yes; then
31726 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31727 _pkg_short_errors_supported
=yes
31729 _pkg_short_errors_supported
=no
31731 if test $_pkg_short_errors_supported = yes; then
31732 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31734 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31736 # Put the nasty error message in config.log where it belongs
31737 echo "$PANGOXFT_PKG_ERRORS" >&5
31740 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31741 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31744 elif test $pkg_failed = untried
; then
31746 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31747 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31751 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31752 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31753 { echo "$as_me:$LINENO: result: yes" >&5
31754 echo "${ECHO_T}yes" >&6; }
31756 cat >>confdefs.h
<<\_ACEOF
31757 #define HAVE_PANGO_XFT 1
31760 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31761 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31762 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31766 LIBS
="$LIBS $PANGOX_LIBS"
31768 for ac_func
in pango_font_family_is_monospace
31770 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31771 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31773 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31774 echo $ECHO_N "(cached) $ECHO_C" >&6
31776 cat >conftest.
$ac_ext <<_ACEOF
31779 cat confdefs.h
>>conftest.
$ac_ext
31780 cat >>conftest.
$ac_ext <<_ACEOF
31781 /* end confdefs.h. */
31782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31784 #define $ac_func innocuous_$ac_func
31786 /* System header to define __stub macros and hopefully few prototypes,
31787 which can conflict with char $ac_func (); below.
31788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31789 <limits.h> exists even on freestanding compilers. */
31792 # include <limits.h>
31794 # include <assert.h>
31799 /* Override any GCC internal prototype to avoid an error.
31800 Use char because int might match the return type of a GCC
31801 builtin and then its argument prototype would still apply. */
31806 /* The GNU C library defines this for functions which it implements
31807 to always fail with ENOSYS. Some functions are actually named
31808 something starting with __ and the normal name is an alias. */
31809 #if defined __stub_$ac_func || defined __stub___$ac_func
31816 return $ac_func ();
31821 rm -f conftest.
$ac_objext conftest
$ac_exeext
31822 if { (ac_try
="$ac_link"
31823 case "(($ac_try" in
31824 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31825 *) ac_try_echo=$ac_try;;
31827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31828 (eval "$ac_link") 2>conftest.er1
31830 grep -v '^ *+' conftest.er1 >conftest.err
31832 cat conftest.err >&5
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); } && {
31835 test -z "$ac_c_werror_flag" ||
31836 test ! -s conftest.err
31837 } && test -s conftest$ac_exeext &&
31838 $as_test_x conftest$ac_exeext; then
31839 eval "$as_ac_var=yes"
31841 echo "$as_me: failed program was:" >&5
31842 sed 's/^/| /' conftest.$ac_ext >&5
31844 eval "$as_ac_var=no"
31847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31848 conftest$ac_exeext conftest.$ac_ext
31850 ac_res=`eval echo '${'$as_ac_var'}'`
31851 { echo "$as_me:$LINENO: result: $ac_res" >&5
31852 echo "${ECHO_T}$ac_res" >&6; }
31853 if test `eval echo '${'$as_ac_var'}'` = yes; then
31854 cat >>confdefs.h <<_ACEOF
31855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31864 wxUSE_UNIVERSAL="yes"
31866 if test "$wxUSE_NANOX" = "yes"; then
31867 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31868 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"
31869 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31871 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31878 if test "$wxUSE_MOTIF" = 1; then
31879 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31880 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31883 for ac_dir in $SEARCH_INCLUDE /usr/include;
31885 if test -f "$ac_dir/Xm/Xm.h"; then
31886 ac_find_includes=$ac_dir
31891 if test "$ac_find_includes" != "" ; then
31892 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31893 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31895 if test "x$ac_find_includes" = "x/usr/include"; then
31896 ac_path_to_include=""
31898 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31900 if test $result = 0; then
31901 ac_path_to_include=""
31903 ac_path_to_include=" -I$ac_find_includes"
31907 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31909 save_CFLAGS=$CFLAGS
31910 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31912 cat >conftest.$ac_ext <<_ACEOF
31915 cat confdefs.h >>conftest.$ac_ext
31916 cat >>conftest.$ac_ext <<_ACEOF
31917 /* end confdefs.h. */
31926 version = xmUseVersion;
31932 rm -f conftest.$ac_objext
31933 if { (ac_try="$ac_compile"
31934 case "(($ac_try" in
31935 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31936 *) ac_try_echo
=$ac_try;;
31938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31939 (eval "$ac_compile") 2>conftest.er1
31941 grep -v '^ *+' conftest.er1
>conftest.err
31943 cat conftest.err
>&5
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 (exit $ac_status); } && {
31946 test -z "$ac_c_werror_flag" ||
31947 test ! -s conftest.err
31948 } && test -s conftest.
$ac_objext; then
31950 { echo "$as_me:$LINENO: result: found in default search path" >&5
31951 echo "${ECHO_T}found in default search path" >&6; }
31952 COMPILED_X_PROGRAM
=1
31955 echo "$as_me: failed program was:" >&5
31956 sed 's/^/| /' conftest.
$ac_ext >&5
31959 { echo "$as_me:$LINENO: result: no" >&5
31960 echo "${ECHO_T}no" >&6; }
31961 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31962 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31963 { (exit 1); exit 1; }; }
31968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31970 CFLAGS
=$save_CFLAGS
31974 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31975 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31978 for ac_dir
in $SEARCH_LIB;
31980 for ac_extension
in a so sl dylib dll.a
; do
31981 if test -f "$ac_dir/libXm.$ac_extension"; then
31982 ac_find_libraries
=$ac_dir
31989 if test "x$ac_find_libraries" != "x" ; then
31990 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31991 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31994 if test "$ac_find_libraries" = "default location"; then
31997 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31999 if test $result = 0; then
32002 ac_path_to_link
=" -L$ac_find_libraries"
32006 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32008 save_CFLAGS
=$CFLAGS
32009 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32011 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32013 cat >conftest.
$ac_ext <<_ACEOF
32016 cat confdefs.h
>>conftest.
$ac_ext
32017 cat >>conftest.
$ac_ext <<_ACEOF
32018 /* end confdefs.h. */
32027 version = xmUseVersion;
32033 rm -f conftest.
$ac_objext conftest
$ac_exeext
32034 if { (ac_try
="$ac_link"
32035 case "(($ac_try" in
32036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32037 *) ac_try_echo=$ac_try;;
32039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32040 (eval "$ac_link") 2>conftest.er1
32042 grep -v '^ *+' conftest.er1 >conftest.err
32044 cat conftest.err >&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); } && {
32047 test -z "$ac_c_werror_flag" ||
32048 test ! -s conftest.err
32049 } && test -s conftest$ac_exeext &&
32050 $as_test_x conftest$ac_exeext; then
32052 { echo "$as_me:$LINENO: result: found in default search path" >&5
32053 echo "${ECHO_T}found in default search path" >&6; }
32054 COMPILED_X_PROGRAM=1
32057 echo "$as_me: failed program was:" >&5
32058 sed 's/^/| /' conftest.$ac_ext >&5
32061 { echo "$as_me:$LINENO: result: no" >&5
32062 echo "${ECHO_T}no" >&6; }
32063 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32064 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32065 { (exit 1); exit 1; }; }
32070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32071 conftest$ac_exeext conftest.$ac_ext
32073 CFLAGS=$save_CFLAGS
32077 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32078 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32082 for libp in "" " -lXp"; do
32083 if test "$libs_found" = 0; then
32084 for libsm_ice in "" " -lSM -lICE"; do
32085 if test "$libs_found" = 0; then
32087 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32088 save_CFLAGS=$CFLAGS
32089 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32091 cat >conftest.$ac_ext <<_ACEOF
32094 cat confdefs.h >>conftest.$ac_ext
32095 cat >>conftest.$ac_ext <<_ACEOF
32096 /* end confdefs.h. */
32099 #include <Xm/List.h>
32105 XmString string = NULL;
32108 XmListAddItem(w, string, position);
32114 rm -f conftest.$ac_objext conftest$ac_exeext
32115 if { (ac_try="$ac_link"
32116 case "(($ac_try" in
32117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32118 *) ac_try_echo
=$ac_try;;
32120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32121 (eval "$ac_link") 2>conftest.er1
32123 grep -v '^ *+' conftest.er1
>conftest.err
32125 cat conftest.err
>&5
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); } && {
32128 test -z "$ac_c_werror_flag" ||
32129 test ! -s conftest.err
32130 } && test -s conftest
$ac_exeext &&
32131 $as_test_x conftest
$ac_exeext; then
32134 libsm_ice_link
="$libsm_ice"
32135 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32136 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32140 echo "$as_me: failed program was:" >&5
32141 sed 's/^/| /' conftest.
$ac_ext >&5
32147 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32148 conftest
$ac_exeext conftest.
$ac_ext
32151 CFLAGS
=$save_CFLAGS
32157 if test "$libs_found" = 0; then
32158 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32159 echo "${ECHO_T}can't find the right libraries" >&6; }
32160 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32161 echo "$as_me: error: can't link a simple motif program" >&2;}
32162 { (exit 1); exit 1; }; }
32165 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32166 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32167 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32168 echo $ECHO_N "(cached) $ECHO_C" >&6
32170 ac_check_lib_save_LIBS
=$LIBS
32172 cat >conftest.
$ac_ext <<_ACEOF
32175 cat confdefs.h
>>conftest.
$ac_ext
32176 cat >>conftest.
$ac_ext <<_ACEOF
32177 /* end confdefs.h. */
32179 /* Override any GCC internal prototype to avoid an error.
32180 Use char because int might match the return type of a GCC
32181 builtin and then its argument prototype would still apply. */
32185 char SgCreateList ();
32189 return SgCreateList ();
32194 rm -f conftest.
$ac_objext conftest
$ac_exeext
32195 if { (ac_try
="$ac_link"
32196 case "(($ac_try" in
32197 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32198 *) ac_try_echo=$ac_try;;
32200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32201 (eval "$ac_link") 2>conftest.er1
32203 grep -v '^ *+' conftest.er1 >conftest.err
32205 cat conftest.err >&5
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); } && {
32208 test -z "$ac_c_werror_flag" ||
32209 test ! -s conftest.err
32210 } && test -s conftest$ac_exeext &&
32211 $as_test_x conftest$ac_exeext; then
32212 ac_cv_lib_Sgm_SgCreateList=yes
32214 echo "$as_me: failed program was:" >&5
32215 sed 's/^/| /' conftest.$ac_ext >&5
32217 ac_cv_lib_Sgm_SgCreateList=no
32220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32221 conftest$ac_exeext conftest.$ac_ext
32222 LIBS=$ac_check_lib_save_LIBS
32224 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32225 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32226 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32227 libsgm_link=" -lSgm"
32231 save_CFLAGS=$CFLAGS
32232 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32234 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32235 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32236 if test "${wx_cv_lib_motif2+set}" = set; then
32237 echo $ECHO_N "(cached) $ECHO_C" >&6
32239 cat >conftest.$ac_ext <<_ACEOF
32242 cat confdefs.h >>conftest.$ac_ext
32243 cat >>conftest.$ac_ext <<_ACEOF
32244 /* end confdefs.h. */
32252 #if XmVersion < 2000
32260 rm -f conftest.$ac_objext
32261 if { (ac_try="$ac_compile"
32262 case "(($ac_try" in
32263 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32264 *) ac_try_echo
=$ac_try;;
32266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32267 (eval "$ac_compile") 2>conftest.er1
32269 grep -v '^ *+' conftest.er1
>conftest.err
32271 cat conftest.err
>&5
32272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32273 (exit $ac_status); } && {
32274 test -z "$ac_c_werror_flag" ||
32275 test ! -s conftest.err
32276 } && test -s conftest.
$ac_objext; then
32277 wx_cv_lib_motif2
="yes"
32279 echo "$as_me: failed program was:" >&5
32280 sed 's/^/| /' conftest.
$ac_ext >&5
32282 wx_cv_lib_motif2
="no"
32285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32287 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32288 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32289 if test "$wx_cv_lib_motif2" = "yes"; then
32290 cat >>confdefs.h
<<\_ACEOF
32291 #define __WXMOTIF20__ 1
32295 cat >>confdefs.h
<<\_ACEOF
32296 #define __WXMOTIF20__ 0
32301 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32302 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32303 if test "${wx_cv_lib_lesstif+set}" = set; then
32304 echo $ECHO_N "(cached) $ECHO_C" >&6
32306 cat >conftest.
$ac_ext <<_ACEOF
32309 cat confdefs.h
>>conftest.
$ac_ext
32310 cat >>conftest.
$ac_ext <<_ACEOF
32311 /* end confdefs.h. */
32319 #if !defined(LesstifVersion) || LesstifVersion <= 0
32327 rm -f conftest.
$ac_objext
32328 if { (ac_try
="$ac_compile"
32329 case "(($ac_try" in
32330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32331 *) ac_try_echo=$ac_try;;
32333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32334 (eval "$ac_compile") 2>conftest.er1
32336 grep -v '^ *+' conftest.er1 >conftest.err
32338 cat conftest.err >&5
32339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32340 (exit $ac_status); } && {
32341 test -z "$ac_c_werror_flag" ||
32342 test ! -s conftest.err
32343 } && test -s conftest.$ac_objext; then
32344 wx_cv_lib_lesstif="yes"
32346 echo "$as_me: failed program was:" >&5
32347 sed 's/^/| /' conftest.$ac_ext >&5
32349 wx_cv_lib_lesstif="no"
32352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32355 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32356 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32357 if test "$wx_cv_lib_lesstif" = "yes"; then
32358 cat >>confdefs.h <<\_ACEOF
32359 #define __WXLESSTIF__ 1
32363 cat >>confdefs.h <<\_ACEOF
32364 #define __WXLESSTIF__ 0
32369 CFLAGS=$save_CFLAGS
32371 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32376 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32377 if test "$wxUSE_LIBXPM" = "sys"; then
32378 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32379 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32382 for ac_dir in $SEARCH_LIB;
32384 for ac_extension in a so sl dylib dll.a; do
32385 if test -f "$ac_dir/libXpm.$ac_extension"; then
32386 ac_find_libraries=$ac_dir
32392 if test "$ac_find_libraries" != "" ; then
32394 if test "$ac_find_libraries" = "default location"; then
32397 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32399 if test $result = 0; then
32402 ac_path_to_link=" -L$ac_find_libraries"
32406 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32407 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32408 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32410 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32411 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32412 if test "${wx_cv_x11_xpm_h+set}" = set; then
32413 echo $ECHO_N "(cached) $ECHO_C" >&6
32416 save_CFLAGS=$CFLAGS
32417 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32419 cat >conftest.$ac_ext <<_ACEOF
32422 cat confdefs.h >>conftest.$ac_ext
32423 cat >>conftest.$ac_ext <<_ACEOF
32424 /* end confdefs.h. */
32426 #include <X11/xpm.h>
32433 version = XpmLibraryVersion();
32439 rm -f conftest.$ac_objext
32440 if { (ac_try="$ac_compile"
32441 case "(($ac_try" in
32442 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32443 *) ac_try_echo
=$ac_try;;
32445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32446 (eval "$ac_compile") 2>conftest.er1
32448 grep -v '^ *+' conftest.er1
>conftest.err
32450 cat conftest.err
>&5
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); } && {
32453 test -z "$ac_c_werror_flag" ||
32454 test ! -s conftest.err
32455 } && test -s conftest.
$ac_objext; then
32456 wx_cv_x11_xpm_h
=yes
32458 echo "$as_me: failed program was:" >&5
32459 sed 's/^/| /' conftest.
$ac_ext >&5
32465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32467 CFLAGS
=$save_CFLAGS
32471 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32472 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32474 if test $wx_cv_x11_xpm_h = "yes"; then
32475 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32476 cat >>confdefs.h
<<\_ACEOF
32477 #define wxHAVE_LIB_XPM 1
32481 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32482 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32488 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32489 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32490 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32491 echo $ECHO_N "(cached) $ECHO_C" >&6
32493 ac_check_lib_save_LIBS
=$LIBS
32494 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32495 cat >conftest.
$ac_ext <<_ACEOF
32498 cat confdefs.h
>>conftest.
$ac_ext
32499 cat >>conftest.
$ac_ext <<_ACEOF
32500 /* end confdefs.h. */
32502 /* Override any GCC internal prototype to avoid an error.
32503 Use char because int might match the return type of a GCC
32504 builtin and then its argument prototype would still apply. */
32508 char XShapeQueryExtension ();
32512 return XShapeQueryExtension ();
32517 rm -f conftest.
$ac_objext conftest
$ac_exeext
32518 if { (ac_try
="$ac_link"
32519 case "(($ac_try" in
32520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32521 *) ac_try_echo=$ac_try;;
32523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32524 (eval "$ac_link") 2>conftest.er1
32526 grep -v '^ *+' conftest.er1 >conftest.err
32528 cat conftest.err >&5
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); } && {
32531 test -z "$ac_c_werror_flag" ||
32532 test ! -s conftest.err
32533 } && test -s conftest$ac_exeext &&
32534 $as_test_x conftest$ac_exeext; then
32535 ac_cv_lib_Xext_XShapeQueryExtension=yes
32537 echo "$as_me: failed program was:" >&5
32538 sed 's/^/| /' conftest.$ac_ext >&5
32540 ac_cv_lib_Xext_XShapeQueryExtension=no
32543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32544 conftest$ac_exeext conftest.$ac_ext
32545 LIBS=$ac_check_lib_save_LIBS
32547 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32548 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32549 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32551 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32557 if test "$wxHAVE_XEXT_LIB" = 1; then
32558 save_CFLAGS="$CFLAGS"
32559 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32561 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32562 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32563 cat >conftest.$ac_ext <<_ACEOF
32566 cat confdefs.h >>conftest.$ac_ext
32567 cat >>conftest.$ac_ext <<_ACEOF
32568 /* end confdefs.h. */
32570 #include <X11/Xlib.h>
32571 #include <X11/extensions/shape.h>
32577 int dummy1, dummy2;
32578 XShapeQueryExtension((Display*)NULL,
32579 (int*)NULL, (int*)NULL);
32585 rm -f conftest.$ac_objext
32586 if { (ac_try="$ac_compile"
32587 case "(($ac_try" in
32588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32589 *) ac_try_echo
=$ac_try;;
32591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32592 (eval "$ac_compile") 2>conftest.er1
32594 grep -v '^ *+' conftest.er1
>conftest.err
32596 cat conftest.err
>&5
32597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598 (exit $ac_status); } && {
32599 test -z "$ac_c_werror_flag" ||
32600 test ! -s conftest.err
32601 } && test -s conftest.
$ac_objext; then
32603 cat >>confdefs.h
<<\_ACEOF
32604 #define HAVE_XSHAPE 1
32607 { echo "$as_me:$LINENO: result: found" >&5
32608 echo "${ECHO_T}found" >&6; }
32611 echo "$as_me: failed program was:" >&5
32612 sed 's/^/| /' conftest.
$ac_ext >&5
32615 { echo "$as_me:$LINENO: result: not found" >&5
32616 echo "${ECHO_T}not found" >&6; }
32620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32621 CFLAGS
="$save_CFLAGS"
32626 if test "$wxUSE_OSX_CARBON" = 1; then
32627 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32628 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32629 if test "$GCC" = yes; then
32630 { echo "$as_me:$LINENO: result: gcc" >&5
32631 echo "${ECHO_T}gcc" >&6; }
32632 CPPFLAGS_PASCAL
="-fpascal-strings"
32633 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32634 { echo "$as_me:$LINENO: result: xlc" >&5
32635 echo "${ECHO_T}xlc" >&6; }
32636 CPPFLAGS_PASCAL
="-qmacpstr"
32638 { echo "$as_me:$LINENO: result: none" >&5
32639 echo "${ECHO_T}none" >&6; }
32642 if test "x$wxUSE_UNIX" = "xyes"; then
32643 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32645 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32649 GUIDIST
=OSX_CARBON_DIST
32650 WXBASEPORT
="_carbon"
32653 if test "$wxUSE_OSX_COCOA" = 1; then
32655 GUIDIST
=OSX_COCOA_DIST
32658 if test "$wxUSE_COCOA" = 1; then
32663 if test "$wxUSE_PM" = 1; then
32666 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32667 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32668 if test "${wx_cv_spbcdata+set}" = set; then
32669 echo $ECHO_N "(cached) $ECHO_C" >&6
32672 cat >conftest.
$ac_ext <<_ACEOF
32675 cat confdefs.h
>>conftest.
$ac_ext
32676 cat >>conftest.
$ac_ext <<_ACEOF
32677 /* end confdefs.h. */
32692 rm -f conftest.
$ac_objext
32693 if { (ac_try
="$ac_compile"
32694 case "(($ac_try" in
32695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32696 *) ac_try_echo=$ac_try;;
32698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32699 (eval "$ac_compile") 2>conftest.er1
32701 grep -v '^ *+' conftest.er1 >conftest.err
32703 cat conftest.err >&5
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); } && {
32706 test -z "$ac_c_werror_flag" ||
32707 test ! -s conftest.err
32708 } && test -s conftest.$ac_objext; then
32711 echo "$as_me: failed program was:" >&5
32712 sed 's/^/| /' conftest.$ac_ext >&5
32718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32722 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32723 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32725 if test $wx_cv_spbcdata = "yes"; then
32726 cat >>confdefs.h <<\_ACEOF
32727 #define HAVE_SPBCDATA 1
32733 if test "$TOOLKIT" = "PM" ; then
32736 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32739 if test "$wxUSE_UNIVERSAL" = "yes"; then
32740 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32744 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32745 DISTDIR="wx\$(TOOLKIT)"
32751 if test "$USE_WIN32" = 1 ; then
32755 GUIDIST="BASE_DIST"
32761 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32762 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32763 wxUSE_UNICODE_UTF8=yes
32764 elif test "$USE_OS2" = 1 ; then
32765 wxUSE_UNICODE_UTF8=yes
32767 wxUSE_UNICODE_UTF8=no
32772 if test "$wxUSE_GUI" = "yes"; then
32773 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32775 for ac_header in X11/Xlib.h
32777 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32778 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32780 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32781 echo $ECHO_N "(cached) $ECHO_C" >&6
32783 cat >conftest.$ac_ext <<_ACEOF
32786 cat confdefs.h >>conftest.$ac_ext
32787 cat >>conftest.$ac_ext <<_ACEOF
32788 /* end confdefs.h. */
32791 #include <$ac_header>
32793 rm -f conftest.$ac_objext
32794 if { (ac_try="$ac_compile"
32795 case "(($ac_try" in
32796 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32797 *) ac_try_echo
=$ac_try;;
32799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32800 (eval "$ac_compile") 2>conftest.er1
32802 grep -v '^ *+' conftest.er1
>conftest.err
32804 cat conftest.err
>&5
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); } && {
32807 test -z "$ac_c_werror_flag" ||
32808 test ! -s conftest.err
32809 } && test -s conftest.
$ac_objext; then
32810 eval "$as_ac_Header=yes"
32812 echo "$as_me: failed program was:" >&5
32813 sed 's/^/| /' conftest.
$ac_ext >&5
32815 eval "$as_ac_Header=no"
32818 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32820 ac_res
=`eval echo '${'$as_ac_Header'}'`
32821 { echo "$as_me:$LINENO: result: $ac_res" >&5
32822 echo "${ECHO_T}$ac_res" >&6; }
32823 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32824 cat >>confdefs.h
<<_ACEOF
32825 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32833 for ac_header
in X
11/XKBlib.h
32835 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32836 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32838 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32839 echo $ECHO_N "(cached) $ECHO_C" >&6
32841 cat >conftest.
$ac_ext <<_ACEOF
32844 cat confdefs.h
>>conftest.
$ac_ext
32845 cat >>conftest.
$ac_ext <<_ACEOF
32846 /* end confdefs.h. */
32848 #if HAVE_X11_XLIB_H
32849 #include <X11/Xlib.h>
32853 #include <$ac_header>
32855 rm -f conftest.
$ac_objext
32856 if { (ac_try
="$ac_compile"
32857 case "(($ac_try" in
32858 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32859 *) ac_try_echo=$ac_try;;
32861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32862 (eval "$ac_compile") 2>conftest.er1
32864 grep -v '^ *+' conftest.er1 >conftest.err
32866 cat conftest.err >&5
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); } && {
32869 test -z "$ac_c_werror_flag" ||
32870 test ! -s conftest.err
32871 } && test -s conftest.$ac_objext; then
32872 eval "$as_ac_Header=yes"
32874 echo "$as_me: failed program was:" >&5
32875 sed 's/^/| /' conftest.$ac_ext >&5
32877 eval "$as_ac_Header=no"
32880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32882 ac_res=`eval echo '${'$as_ac_Header'}'`
32883 { echo "$as_me:$LINENO: result: $ac_res" >&5
32884 echo "${ECHO_T}$ac_res" >&6; }
32885 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32886 cat >>confdefs.h <<_ACEOF
32887 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32899 if test "$wxUSE_DISPLAY" = "yes"; then
32900 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32901 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32902 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32905 for ac_dir in $SEARCH_LIB;
32907 for ac_extension in a so sl dylib dll.a; do
32908 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32909 ac_find_libraries=$ac_dir
32915 if test "$ac_find_libraries" != "" ; then
32917 if test "$ac_find_libraries" = "default location"; then
32920 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32922 if test $result = 0; then
32925 ac_path_to_link=" -L$ac_find_libraries"
32929 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32930 LDFLAGS="$LDFLAGS $ac_path_to_link"
32932 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32933 { echo "$as_me:$LINENO: result: yes" >&5
32934 echo "${ECHO_T}yes" >&6; }
32936 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32937 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32940 for ac_dir in $SEARCH_LIB;
32942 for ac_extension in a so sl dylib dll.a; do
32943 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32944 ac_find_libraries=$ac_dir
32950 if test "$ac_find_libraries" != "" ; then
32951 { echo "$as_me:$LINENO: result: yes" >&5
32952 echo "${ECHO_T}yes" >&6; }
32954 for ac_header in X11/extensions/xf86vmode.h
32956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32957 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32960 echo $ECHO_N "(cached) $ECHO_C" >&6
32962 cat >conftest.$ac_ext <<_ACEOF
32965 cat confdefs.h >>conftest.$ac_ext
32966 cat >>conftest.$ac_ext <<_ACEOF
32967 /* end confdefs.h. */
32969 #if HAVE_X11_XLIB_H
32970 #include <X11/Xlib.h>
32974 #include <$ac_header>
32976 rm -f conftest.$ac_objext
32977 if { (ac_try="$ac_compile"
32978 case "(($ac_try" in
32979 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32980 *) ac_try_echo
=$ac_try;;
32982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32983 (eval "$ac_compile") 2>conftest.er1
32985 grep -v '^ *+' conftest.er1
>conftest.err
32987 cat conftest.err
>&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); } && {
32990 test -z "$ac_c_werror_flag" ||
32991 test ! -s conftest.err
32992 } && test -s conftest.
$ac_objext; then
32993 eval "$as_ac_Header=yes"
32995 echo "$as_me: failed program was:" >&5
32996 sed 's/^/| /' conftest.
$ac_ext >&5
32998 eval "$as_ac_Header=no"
33001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33003 ac_res
=`eval echo '${'$as_ac_Header'}'`
33004 { echo "$as_me:$LINENO: result: $ac_res" >&5
33005 echo "${ECHO_T}$ac_res" >&6; }
33006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33007 cat >>confdefs.h
<<_ACEOF
33008 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33011 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33018 { echo "$as_me:$LINENO: result: no" >&5
33019 echo "${ECHO_T}no" >&6; }
33023 { echo "$as_me:$LINENO: result: no" >&5
33024 echo "${ECHO_T}no" >&6; }
33025 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33026 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33029 elif test "$wxUSE_MSW" = 1; then
33030 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33031 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33032 if test "${ac_cv_header_ddraw_h+set}" = set; then
33033 echo $ECHO_N "(cached) $ECHO_C" >&6
33035 cat >conftest.
$ac_ext <<_ACEOF
33038 cat confdefs.h
>>conftest.
$ac_ext
33039 cat >>conftest.
$ac_ext <<_ACEOF
33040 /* end confdefs.h. */
33041 #include <windows.h>
33045 rm -f conftest.
$ac_objext
33046 if { (ac_try
="$ac_compile"
33047 case "(($ac_try" in
33048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33049 *) ac_try_echo=$ac_try;;
33051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33052 (eval "$ac_compile") 2>conftest.er1
33054 grep -v '^ *+' conftest.er1 >conftest.err
33056 cat conftest.err >&5
33057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33058 (exit $ac_status); } && {
33059 test -z "$ac_c_werror_flag" ||
33060 test ! -s conftest.err
33061 } && test -s conftest.$ac_objext; then
33062 ac_cv_header_ddraw_h=yes
33064 echo "$as_me: failed program was:" >&5
33065 sed 's/^/| /' conftest.$ac_ext >&5
33067 ac_cv_header_ddraw_h=no
33070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33072 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33073 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33079 if test "$wxUSE_DETECT_SM" = "yes"; then
33080 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33081 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33082 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33085 for ac_dir in $SEARCH_LIB;
33087 for ac_extension in a so sl dylib dll.a; do
33088 if test -f "$ac_dir/libSM.$ac_extension"; then
33089 ac_find_libraries=$ac_dir
33095 if test "$ac_find_libraries" != "" ; then
33097 if test "$ac_find_libraries" = "default location"; then
33100 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33102 if test $result = 0; then
33105 ac_path_to_link=" -L$ac_find_libraries"
33109 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33110 LDFLAGS="$LDFLAGS $ac_path_to_link"
33112 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33113 { echo "$as_me:$LINENO: result: yes" >&5
33114 echo "${ECHO_T}yes" >&6; }
33116 { echo "$as_me:$LINENO: result: no" >&5
33117 echo "${ECHO_T}no" >&6; }
33118 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33119 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33120 wxUSE_DETECT_SM="no"
33123 wxUSE_DETECT_SM="no"
33130 if test "$wxUSE_OPENGL" = "yes"; then
33131 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33132 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33133 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33135 elif test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33136 OPENGL_LIBS="-framework OpenGL -framework AGL"
33137 elif test "$wxUSE_MSW" = 1; then
33138 OPENGL_LIBS="-lopengl32 -lglu32"
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 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33398 echo "$as_me: error: OpenGL libraries not available" >&2;}
33399 { (exit 1); exit 1; }; }
33403 if test "$wxUSE_OPENGL" = "yes"; then
33405 cat >>confdefs.h <<\_ACEOF
33406 #define wxUSE_OPENGL 1
33409 cat >>confdefs.h <<\_ACEOF
33410 #define wxUSE_GLCANVAS 1
33413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33418 if test -n "$TOOLKIT" ; then
33419 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33424 if test "$wxUSE_SHARED" = "yes"; then
33428 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33429 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33434 if test "$wxUSE_SHARED" = "yes"; then
33438 *-*-cygwin* | *-*-mingw* )
33439 wx_cv_version_script=no
33443 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33444 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33445 if test "${wx_cv_version_script+set}" = set; then
33446 echo $ECHO_N "(cached) $ECHO_C" >&6
33449 echo "VER_1 { *; };" >conftest.sym
33450 echo "int main() { return 0; }" >conftest.cpp
33453 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33454 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33456 (eval $ac_try) 2>&5
33458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33459 (exit $ac_status); }; } ; then
33460 if test -s conftest.stderr ; then
33461 wx_cv_version_script=no
33463 wx_cv_version_script=yes
33466 wx_cv_version_script=no
33469 if test $wx_cv_version_script = yes
33471 echo "struct B { virtual ~B() { } }; \
33472 struct D : public B { }; \
33473 void F() { D d; }" > conftest.cpp
33476 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33477 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33479 (eval $ac_try) 2>&5
33481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33482 (exit $ac_status); }; } &&
33484 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33485 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33487 (eval $ac_try) 2>&5
33489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490 (exit $ac_status); }; }
33493 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33494 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33496 (eval $ac_try) 2>&5
33498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33499 (exit $ac_status); }; }
33501 wx_cv_version_script=yes
33503 wx_cv_version_script=no
33508 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33509 rm -f conftest1.output conftest2.output conftest3.output
33512 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33513 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33515 if test $wx_cv_version_script = yes ; then
33516 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33522 if test "$wxUSE_VISIBILITY" != "no"; then
33525 if test -n "$GCC"; then
33526 CFLAGS_VISIBILITY="-fvisibility=hidden"
33527 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33528 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33529 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33530 if test "${wx_cv_cc_visibility+set}" = set; then
33531 echo $ECHO_N "(cached) $ECHO_C" >&6
33534 wx_save_CXXFLAGS="$CXXFLAGS"
33535 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33537 ac_cpp='$CXXCPP $CPPFLAGS'
33538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33542 cat >conftest.$ac_ext <<_ACEOF
33545 cat confdefs.h >>conftest.$ac_ext
33546 cat >>conftest.$ac_ext <<_ACEOF
33547 /* end confdefs.h. */
33549 /* we need gcc >= 4.0, older versions with visibility support
33550 didn't have class visibility: */
33551 #if defined(__GNUC__) && __GNUC__ < 4
33552 error this gcc is too old;
33555 /* visibility only makes sense for ELF shared libs: */
33556 #if !defined(__ELF__) && !defined(__APPLE__)
33557 error this platform has no visibility;
33560 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33561 extern __attribute__((__visibility__("default"))) int exportedvar;
33562 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33563 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33564 class __attribute__((__visibility__("default"))) Foo {
33576 rm -f conftest.$ac_objext
33577 if { (ac_try="$ac_compile"
33578 case "(($ac_try" in
33579 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33580 *) ac_try_echo
=$ac_try;;
33582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33583 (eval "$ac_compile") 2>conftest.er1
33585 grep -v '^ *+' conftest.er1
>conftest.err
33587 cat conftest.err
>&5
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); } && {
33590 test -z "$ac_cxx_werror_flag" ||
33591 test ! -s conftest.err
33592 } && test -s conftest.
$ac_objext; then
33593 wx_cv_cc_visibility
=yes
33595 echo "$as_me: failed program was:" >&5
33596 sed 's/^/| /' conftest.
$ac_ext >&5
33598 wx_cv_cc_visibility
=no
33601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33603 ac_cpp
='$CPP $CPPFLAGS'
33604 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33608 CXXFLAGS
="$wx_save_CXXFLAGS"
33611 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33612 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33613 if test $wx_cv_cc_visibility = yes; then
33614 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33615 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33616 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33617 echo $ECHO_N "(cached) $ECHO_C" >&6
33620 wx_save_CXXFLAGS
="$CXXFLAGS"
33621 wx_save_LDFLAGS
="$LDFLAGS"
33622 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33623 LDFLAGS
="$LDFLAGS -shared -fPIC"
33625 ac_cpp
='$CXXCPP $CPPFLAGS'
33626 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33627 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33628 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33630 cat >conftest.
$ac_ext <<_ACEOF
33633 cat confdefs.h
>>conftest.
$ac_ext
33634 cat >>conftest.
$ac_ext <<_ACEOF
33635 /* end confdefs.h. */
33643 std::string s("hello");
33650 rm -f conftest.
$ac_objext conftest
$ac_exeext
33651 if { (ac_try
="$ac_link"
33652 case "(($ac_try" in
33653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33654 *) ac_try_echo=$ac_try;;
33656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33657 (eval "$ac_link") 2>conftest.er1
33659 grep -v '^ *+' conftest.er1 >conftest.err
33661 cat conftest.err >&5
33662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33663 (exit $ac_status); } && {
33664 test -z "$ac_cxx_werror_flag" ||
33665 test ! -s conftest.err
33666 } && test -s conftest$ac_exeext &&
33667 $as_test_x conftest$ac_exeext; then
33668 wx_cv_cc_broken_libstdcxx_visibility=no
33670 echo "$as_me: failed program was:" >&5
33671 sed 's/^/| /' conftest.$ac_ext >&5
33673 wx_cv_cc_broken_libstdcxx_visibility=yes
33676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33677 conftest$ac_exeext conftest.$ac_ext
33679 ac_cpp='$CPP $CPPFLAGS'
33680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33684 CXXFLAGS="$wx_save_CXXFLAGS"
33685 LDFLAGS="$wx_save_LDFLAGS"
33688 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33689 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33691 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33692 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33693 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33694 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33695 echo $ECHO_N "(cached) $ECHO_C" >&6
33699 ac_cpp='$CXXCPP $CPPFLAGS'
33700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33704 cat >conftest.$ac_ext <<_ACEOF
33707 cat confdefs.h >>conftest.$ac_ext
33708 cat >>conftest.$ac_ext <<_ACEOF
33709 /* end confdefs.h. */
33711 #pragma GCC visibility push(default)
33713 #pragma GCC visibility pop
33719 std::string s("hello");
33726 rm -f conftest.$ac_objext conftest$ac_exeext
33727 if { (ac_try="$ac_link"
33728 case "(($ac_try" in
33729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33730 *) ac_try_echo
=$ac_try;;
33732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33733 (eval "$ac_link") 2>conftest.er1
33735 grep -v '^ *+' conftest.er1
>conftest.err
33737 cat conftest.err
>&5
33738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33739 (exit $ac_status); } && {
33740 test -z "$ac_cxx_werror_flag" ||
33741 test ! -s conftest.err
33742 } && test -s conftest
$ac_exeext &&
33743 $as_test_x conftest
$ac_exeext; then
33744 wx_cv_cc_visibility_workaround
=no
33746 echo "$as_me: failed program was:" >&5
33747 sed 's/^/| /' conftest.
$ac_ext >&5
33749 wx_cv_cc_visibility_workaround
=yes
33752 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33753 conftest
$ac_exeext conftest.
$ac_ext
33755 ac_cpp
='$CPP $CPPFLAGS'
33756 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33757 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33758 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33763 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33764 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33766 if test $wx_cv_cc_visibility_workaround = no
; then
33767 wx_cv_cc_visibility
=no
33772 if test $wx_cv_cc_visibility = yes; then
33773 cat >>confdefs.h
<<\_ACEOF
33774 #define HAVE_VISIBILITY 1
33777 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33778 cat >>confdefs.h
<<\_ACEOF
33779 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33784 CFLAGS_VISIBILITY
=""
33785 CXXFLAGS_VISIBILITY
=""
33793 if test "x$SUNCXX" = xyes
; then
33794 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33795 WXCONFIG_RPATH
="-R\$libdir"
33798 *-*-linux* | *-*-gnu* )
33799 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33800 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33805 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33807 saveLdflags
="$LDFLAGS"
33808 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33809 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33810 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33811 cat >conftest.
$ac_ext <<_ACEOF
33814 cat confdefs.h
>>conftest.
$ac_ext
33815 cat >>conftest.
$ac_ext <<_ACEOF
33816 /* end confdefs.h. */
33826 rm -f conftest.
$ac_objext conftest
$ac_exeext
33827 if { (ac_try
="$ac_link"
33828 case "(($ac_try" in
33829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33830 *) ac_try_echo=$ac_try;;
33832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33833 (eval "$ac_link") 2>conftest.er1
33835 grep -v '^ *+' conftest.er1 >conftest.err
33837 cat conftest.err >&5
33838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33839 (exit $ac_status); } && {
33840 test -z "$ac_c_werror_flag" ||
33841 test ! -s conftest.err
33842 } && test -s conftest$ac_exeext &&
33843 $as_test_x conftest$ac_exeext; then
33845 { echo "$as_me:$LINENO: result: yes" >&5
33846 echo "${ECHO_T}yes" >&6; }
33847 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33848 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33851 echo "$as_me: failed program was:" >&5
33852 sed 's/^/| /' conftest.$ac_ext >&5
33855 { echo "$as_me:$LINENO: result: no" >&5
33856 echo "${ECHO_T}no" >&6; }
33857 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33858 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33859 LDFLAGS="$saveLdflags -Wl,-R,/"
33860 cat >conftest.$ac_ext <<_ACEOF
33863 cat confdefs.h >>conftest.$ac_ext
33864 cat >>conftest.$ac_ext <<_ACEOF
33865 /* end confdefs.h. */
33875 rm -f conftest.$ac_objext conftest$ac_exeext
33876 if { (ac_try="$ac_link"
33877 case "(($ac_try" in
33878 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33879 *) ac_try_echo
=$ac_try;;
33881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33882 (eval "$ac_link") 2>conftest.er1
33884 grep -v '^ *+' conftest.er1
>conftest.err
33886 cat conftest.err
>&5
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); } && {
33889 test -z "$ac_c_werror_flag" ||
33890 test ! -s conftest.err
33891 } && test -s conftest
$ac_exeext &&
33892 $as_test_x conftest
$ac_exeext; then
33894 { echo "$as_me:$LINENO: result: yes" >&5
33895 echo "${ECHO_T}yes" >&6; }
33896 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33897 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33900 echo "$as_me: failed program was:" >&5
33901 sed 's/^/| /' conftest.
$ac_ext >&5
33904 { echo "$as_me:$LINENO: result: no" >&5
33905 echo "${ECHO_T}no" >&6; }
33909 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33910 conftest
$ac_exeext conftest.
$ac_ext
33914 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33915 conftest
$ac_exeext conftest.
$ac_ext
33916 LDFLAGS
="$saveLdflags"
33920 install_name_tool
=`which install_name_tool`
33921 if test "$install_name_tool" -a -x "$install_name_tool"; then
33922 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33923 cat <<EOF >change-install-names
33925 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33926 inst_cmd="install_name_tool "
33927 for i in \${libnames} ; do
33928 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33932 chmod +x change
-install-names
33936 *-*-cygwin* | *-*-mingw32* )
33940 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33941 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33947 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33949 if test $wxUSE_RPATH = "no"; then
33950 SAMPLES_RPATH_FLAG
=''
33951 SAMPLES_RPATH_POSTLINK
=''
33959 config_linkage_component
="-static"
33966 lib_unicode_suffix
=
33968 if test "$wxUSE_UNICODE" = "yes"; then
33969 lib_unicode_suffix
=u
33970 WX_CHARTYPE
="unicode"
33975 WX_DEBUGTYPE
="release"
33977 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33979 WX_DEBUGTYPE
="debug"
33983 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33984 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33987 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33991 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33993 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33995 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33997 if test "$cross_compiling" = "yes"; then
33998 HOST_SUFFIX
="-$host_alias"
33999 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
34000 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
34003 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34004 if test "${TOOLKIT_DIR}" = "os2"; then
34005 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34007 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34012 if test "$wxUSE_COCOA" = 1; then
34015 ac_cpp
='$CPP $CPPFLAGS'
34016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34022 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34023 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34024 cat >conftest.
$ac_ext <<_ACEOF
34027 cat confdefs.h
>>conftest.
$ac_ext
34028 cat >>conftest.
$ac_ext <<_ACEOF
34029 /* end confdefs.h. */
34030 #include <AppKit/NSEvent.h>
34031 #include <CoreFoundation/CoreFoundation.h>
34041 rm -f conftest.
$ac_objext
34042 if { (ac_try
="$ac_compile"
34043 case "(($ac_try" in
34044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34045 *) ac_try_echo=$ac_try;;
34047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34048 (eval "$ac_compile") 2>conftest.er1
34050 grep -v '^ *+' conftest.er1 >conftest.err
34052 cat conftest.err >&5
34053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34054 (exit $ac_status); } && {
34055 test -z "$ac_c_werror_flag" ||
34056 test ! -s conftest.err
34057 } && test -s conftest.$ac_objext; then
34058 { echo "$as_me:$LINENO: result: no" >&5
34059 echo "${ECHO_T}no" >&6; }
34061 echo "$as_me: failed program was:" >&5
34062 sed 's/^/| /' conftest.$ac_ext >&5
34064 { echo "$as_me:$LINENO: result: yes" >&5
34065 echo "${ECHO_T}yes" >&6; }
34066 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34067 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34068 cat >conftest.$ac_ext <<_ACEOF
34071 cat confdefs.h >>conftest.$ac_ext
34072 cat >>conftest.$ac_ext <<_ACEOF
34073 /* end confdefs.h. */
34074 #define __Point__ 1
34075 #include <AppKit/NSEvent.h>
34076 #include <CoreFoundation/CoreFoundation.h>
34086 rm -f conftest.$ac_objext
34087 if { (ac_try="$ac_compile"
34088 case "(($ac_try" in
34089 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34090 *) ac_try_echo
=$ac_try;;
34092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34093 (eval "$ac_compile") 2>conftest.er1
34095 grep -v '^ *+' conftest.er1
>conftest.err
34097 cat conftest.err
>&5
34098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099 (exit $ac_status); } && {
34100 test -z "$ac_c_werror_flag" ||
34101 test ! -s conftest.err
34102 } && test -s conftest.
$ac_objext; then
34103 { echo "$as_me:$LINENO: result: yes" >&5
34104 echo "${ECHO_T}yes" >&6; }
34105 cat >>confdefs.h
<<\_ACEOF
34106 #define __Point__ 1
34111 echo "$as_me: failed program was:" >&5
34112 sed 's/^/| /' conftest.
$ac_ext >&5
34114 { { echo "$as_me:$LINENO: error: no
34115 See \`config.log' for more details." >&5
34116 echo "$as_me: error: no
34117 See \`config.log' for more details." >&2;}
34118 { (exit 1); exit 1; }; }
34122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34128 ac_cpp
='$CPP $CPPFLAGS'
34129 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34130 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34131 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34136 { echo "$as_me:$LINENO: checking for mode_t" >&5
34137 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34138 if test "${ac_cv_type_mode_t+set}" = set; then
34139 echo $ECHO_N "(cached) $ECHO_C" >&6
34141 cat >conftest.
$ac_ext <<_ACEOF
34144 cat confdefs.h
>>conftest.
$ac_ext
34145 cat >>conftest.
$ac_ext <<_ACEOF
34146 /* end confdefs.h. */
34147 $ac_includes_default
34148 typedef mode_t ac__type_new_;
34152 if ((ac__type_new_ *) 0)
34154 if (sizeof (ac__type_new_))
34160 rm -f conftest.
$ac_objext
34161 if { (ac_try
="$ac_compile"
34162 case "(($ac_try" in
34163 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34164 *) ac_try_echo=$ac_try;;
34166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34167 (eval "$ac_compile") 2>conftest.er1
34169 grep -v '^ *+' conftest.er1 >conftest.err
34171 cat conftest.err >&5
34172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34173 (exit $ac_status); } && {
34174 test -z "$ac_c_werror_flag" ||
34175 test ! -s conftest.err
34176 } && test -s conftest.$ac_objext; then
34177 ac_cv_type_mode_t=yes
34179 echo "$as_me: failed program was:" >&5
34180 sed 's/^/| /' conftest.$ac_ext >&5
34182 ac_cv_type_mode_t=no
34185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34187 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34188 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34189 if test $ac_cv_type_mode_t = yes; then
34193 cat >>confdefs.h <<_ACEOF
34199 { echo "$as_me:$LINENO: checking for off_t" >&5
34200 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34201 if test "${ac_cv_type_off_t+set}" = set; then
34202 echo $ECHO_N "(cached) $ECHO_C" >&6
34204 cat >conftest.$ac_ext <<_ACEOF
34207 cat confdefs.h >>conftest.$ac_ext
34208 cat >>conftest.$ac_ext <<_ACEOF
34209 /* end confdefs.h. */
34210 $ac_includes_default
34211 typedef off_t ac__type_new_;
34215 if ((ac__type_new_ *) 0)
34217 if (sizeof (ac__type_new_))
34223 rm -f conftest.$ac_objext
34224 if { (ac_try="$ac_compile"
34225 case "(($ac_try" in
34226 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34227 *) ac_try_echo
=$ac_try;;
34229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34230 (eval "$ac_compile") 2>conftest.er1
34232 grep -v '^ *+' conftest.er1
>conftest.err
34234 cat conftest.err
>&5
34235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34236 (exit $ac_status); } && {
34237 test -z "$ac_c_werror_flag" ||
34238 test ! -s conftest.err
34239 } && test -s conftest.
$ac_objext; then
34240 ac_cv_type_off_t
=yes
34242 echo "$as_me: failed program was:" >&5
34243 sed 's/^/| /' conftest.
$ac_ext >&5
34245 ac_cv_type_off_t
=no
34248 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34250 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34251 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34252 if test $ac_cv_type_off_t = yes; then
34256 cat >>confdefs.h
<<_ACEOF
34257 #define off_t long int
34262 { echo "$as_me:$LINENO: checking for pid_t" >&5
34263 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34264 if test "${ac_cv_type_pid_t+set}" = set; then
34265 echo $ECHO_N "(cached) $ECHO_C" >&6
34267 cat >conftest.
$ac_ext <<_ACEOF
34270 cat confdefs.h
>>conftest.
$ac_ext
34271 cat >>conftest.
$ac_ext <<_ACEOF
34272 /* end confdefs.h. */
34273 $ac_includes_default
34274 typedef pid_t ac__type_new_;
34278 if ((ac__type_new_ *) 0)
34280 if (sizeof (ac__type_new_))
34286 rm -f conftest.
$ac_objext
34287 if { (ac_try
="$ac_compile"
34288 case "(($ac_try" in
34289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34290 *) ac_try_echo=$ac_try;;
34292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34293 (eval "$ac_compile") 2>conftest.er1
34295 grep -v '^ *+' conftest.er1 >conftest.err
34297 cat conftest.err >&5
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); } && {
34300 test -z "$ac_c_werror_flag" ||
34301 test ! -s conftest.err
34302 } && test -s conftest.$ac_objext; then
34303 ac_cv_type_pid_t=yes
34305 echo "$as_me: failed program was:" >&5
34306 sed 's/^/| /' conftest.$ac_ext >&5
34308 ac_cv_type_pid_t=no
34311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34313 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34314 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34315 if test $ac_cv_type_pid_t = yes; then
34319 cat >>confdefs.h <<_ACEOF
34325 { echo "$as_me:$LINENO: checking for size_t" >&5
34326 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34327 if test "${ac_cv_type_size_t+set}" = set; then
34328 echo $ECHO_N "(cached) $ECHO_C" >&6
34330 cat >conftest.$ac_ext <<_ACEOF
34333 cat confdefs.h >>conftest.$ac_ext
34334 cat >>conftest.$ac_ext <<_ACEOF
34335 /* end confdefs.h. */
34336 $ac_includes_default
34337 typedef size_t ac__type_new_;
34341 if ((ac__type_new_ *) 0)
34343 if (sizeof (ac__type_new_))
34349 rm -f conftest.$ac_objext
34350 if { (ac_try="$ac_compile"
34351 case "(($ac_try" in
34352 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34353 *) ac_try_echo
=$ac_try;;
34355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34356 (eval "$ac_compile") 2>conftest.er1
34358 grep -v '^ *+' conftest.er1
>conftest.err
34360 cat conftest.err
>&5
34361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34362 (exit $ac_status); } && {
34363 test -z "$ac_c_werror_flag" ||
34364 test ! -s conftest.err
34365 } && test -s conftest.
$ac_objext; then
34366 ac_cv_type_size_t
=yes
34368 echo "$as_me: failed program was:" >&5
34369 sed 's/^/| /' conftest.
$ac_ext >&5
34371 ac_cv_type_size_t
=no
34374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34376 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34377 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34378 if test $ac_cv_type_size_t = yes; then
34382 cat >>confdefs.h
<<_ACEOF
34383 #define size_t unsigned int
34389 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34390 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34391 if test "${ac_cv_type_ssize_t+set}" = set; then
34392 echo $ECHO_N "(cached) $ECHO_C" >&6
34394 cat >conftest.
$ac_ext <<_ACEOF
34397 cat confdefs.h
>>conftest.
$ac_ext
34398 cat >>conftest.
$ac_ext <<_ACEOF
34399 /* end confdefs.h. */
34400 $ac_includes_default
34401 typedef ssize_t ac__type_new_;
34405 if ((ac__type_new_ *) 0)
34407 if (sizeof (ac__type_new_))
34413 rm -f conftest.
$ac_objext
34414 if { (ac_try
="$ac_compile"
34415 case "(($ac_try" in
34416 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34417 *) ac_try_echo=$ac_try;;
34419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34420 (eval "$ac_compile") 2>conftest.er1
34422 grep -v '^ *+' conftest.er1 >conftest.err
34424 cat conftest.err >&5
34425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426 (exit $ac_status); } && {
34427 test -z "$ac_c_werror_flag" ||
34428 test ! -s conftest.err
34429 } && test -s conftest.$ac_objext; then
34430 ac_cv_type_ssize_t=yes
34432 echo "$as_me: failed program was:" >&5
34433 sed 's/^/| /' conftest.$ac_ext >&5
34435 ac_cv_type_ssize_t=no
34438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34440 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34441 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34442 if test $ac_cv_type_ssize_t = yes; then
34444 cat >>confdefs.h <<_ACEOF
34445 #define HAVE_SSIZE_T 1
34453 ac_cpp='$CXXCPP $CPPFLAGS'
34454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34457 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34458 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34459 if test "${wx_cv_size_t_is_uint+set}" = set; then
34460 echo $ECHO_N "(cached) $ECHO_C" >&6
34463 cat >conftest.$ac_ext <<_ACEOF
34466 cat confdefs.h >>conftest.$ac_ext
34467 cat >>conftest.$ac_ext <<_ACEOF
34468 /* end confdefs.h. */
34469 #include <stddef.h>
34476 struct Foo { void foo(size_t); void foo(unsigned int); };
34484 rm -f conftest.$ac_objext
34485 if { (ac_try="$ac_compile"
34486 case "(($ac_try" in
34487 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34488 *) ac_try_echo
=$ac_try;;
34490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34491 (eval "$ac_compile") 2>conftest.er1
34493 grep -v '^ *+' conftest.er1
>conftest.err
34495 cat conftest.err
>&5
34496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34497 (exit $ac_status); } && {
34498 test -z "$ac_cxx_werror_flag" ||
34499 test ! -s conftest.err
34500 } && test -s conftest.
$ac_objext; then
34501 wx_cv_size_t_is_uint
=no
34503 echo "$as_me: failed program was:" >&5
34504 sed 's/^/| /' conftest.
$ac_ext >&5
34506 wx_cv_size_t_is_uint
=yes
34510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34514 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34515 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34517 if test "$wx_cv_size_t_is_uint" = "yes"; then
34518 cat >>confdefs.h
<<\_ACEOF
34519 #define wxSIZE_T_IS_UINT 1
34523 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34524 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34525 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34526 echo $ECHO_N "(cached) $ECHO_C" >&6
34528 cat >conftest.
$ac_ext <<_ACEOF
34531 cat confdefs.h
>>conftest.
$ac_ext
34532 cat >>conftest.
$ac_ext <<_ACEOF
34533 /* end confdefs.h. */
34534 #include <stddef.h>
34541 struct Foo { void foo(size_t); void foo(unsigned long); };
34549 rm -f conftest.
$ac_objext
34550 if { (ac_try
="$ac_compile"
34551 case "(($ac_try" in
34552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34553 *) ac_try_echo=$ac_try;;
34555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34556 (eval "$ac_compile") 2>conftest.er1
34558 grep -v '^ *+' conftest.er1 >conftest.err
34560 cat conftest.err >&5
34561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34562 (exit $ac_status); } && {
34563 test -z "$ac_cxx_werror_flag" ||
34564 test ! -s conftest.err
34565 } && test -s conftest.$ac_objext; then
34566 wx_cv_size_t_is_ulong=no
34568 echo "$as_me: failed program was:" >&5
34569 sed 's/^/| /' conftest.$ac_ext >&5
34571 wx_cv_size_t_is_ulong=yes
34575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34578 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34579 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34581 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34582 cat >>confdefs.h <<\_ACEOF
34583 #define wxSIZE_T_IS_ULONG 1
34589 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34590 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34591 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34592 echo $ECHO_N "(cached) $ECHO_C" >&6
34594 cat >conftest.$ac_ext <<_ACEOF
34597 cat confdefs.h >>conftest.$ac_ext
34598 cat >>conftest.$ac_ext <<_ACEOF
34599 /* end confdefs.h. */
34607 struct Foo { void foo(wchar_t);
34608 void foo(unsigned short);
34609 void foo(unsigned int);
34610 void foo(unsigned long); };
34618 rm -f conftest.$ac_objext
34619 if { (ac_try="$ac_compile"
34620 case "(($ac_try" in
34621 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34622 *) ac_try_echo
=$ac_try;;
34624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34625 (eval "$ac_compile") 2>conftest.er1
34627 grep -v '^ *+' conftest.er1
>conftest.err
34629 cat conftest.err
>&5
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); } && {
34632 test -z "$ac_cxx_werror_flag" ||
34633 test ! -s conftest.err
34634 } && test -s conftest.
$ac_objext; then
34635 wx_cv_wchar_t_is_separate_type
=yes
34637 echo "$as_me: failed program was:" >&5
34638 sed 's/^/| /' conftest.
$ac_ext >&5
34640 wx_cv_wchar_t_is_separate_type
=no
34644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34647 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34648 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34650 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34651 cat >>confdefs.h
<<\_ACEOF
34652 #define wxWCHAR_T_IS_REAL_TYPE 1
34656 cat >>confdefs.h
<<\_ACEOF
34657 #define wxWCHAR_T_IS_REAL_TYPE 0
34663 ac_cpp
='$CPP $CPPFLAGS'
34664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34669 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34670 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34671 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34672 echo $ECHO_N "(cached) $ECHO_C" >&6
34675 cat >conftest.
$ac_ext <<_ACEOF
34678 cat confdefs.h
>>conftest.
$ac_ext
34679 cat >>conftest.
$ac_ext <<_ACEOF
34680 /* end confdefs.h. */
34694 rm -f conftest.
$ac_objext
34695 if { (ac_try
="$ac_compile"
34696 case "(($ac_try" in
34697 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34698 *) ac_try_echo=$ac_try;;
34700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34701 (eval "$ac_compile") 2>conftest.er1
34703 grep -v '^ *+' conftest.er1 >conftest.err
34705 cat conftest.err >&5
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); } && {
34708 test -z "$ac_c_werror_flag" ||
34709 test ! -s conftest.err
34710 } && test -s conftest.$ac_objext; then
34712 wx_cv_struct_pw_gecos=yes
34715 echo "$as_me: failed program was:" >&5
34716 sed 's/^/| /' conftest.$ac_ext >&5
34719 wx_cv_struct_pw_gecos=no
34724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34728 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34729 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34731 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34732 cat >>confdefs.h <<\_ACEOF
34733 #define HAVE_PW_GECOS 1
34739 if test "$wxUSE_WCHAR_T" = "yes"; then
34740 cat >>confdefs.h <<\_ACEOF
34741 #define wxUSE_WCHAR_T 1
34748 for ac_func in wcslen
34750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34751 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34753 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34754 echo $ECHO_N "(cached) $ECHO_C" >&6
34756 cat >conftest.$ac_ext <<_ACEOF
34759 cat confdefs.h >>conftest.$ac_ext
34760 cat >>conftest.$ac_ext <<_ACEOF
34761 /* end confdefs.h. */
34762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34764 #define $ac_func innocuous_$ac_func
34766 /* System header to define __stub macros and hopefully few prototypes,
34767 which can conflict with char $ac_func (); below.
34768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34769 <limits.h> exists even on freestanding compilers. */
34772 # include <limits.h>
34774 # include <assert.h>
34779 /* Override any GCC internal prototype to avoid an error.
34780 Use char because int might match the return type of a GCC
34781 builtin and then its argument prototype would still apply. */
34786 /* The GNU C library defines this for functions which it implements
34787 to always fail with ENOSYS. Some functions are actually named
34788 something starting with __ and the normal name is an alias. */
34789 #if defined __stub_$ac_func || defined __stub___$ac_func
34796 return $ac_func ();
34801 rm -f conftest.$ac_objext conftest$ac_exeext
34802 if { (ac_try="$ac_link"
34803 case "(($ac_try" in
34804 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34805 *) ac_try_echo
=$ac_try;;
34807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34808 (eval "$ac_link") 2>conftest.er1
34810 grep -v '^ *+' conftest.er1
>conftest.err
34812 cat conftest.err
>&5
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); } && {
34815 test -z "$ac_c_werror_flag" ||
34816 test ! -s conftest.err
34817 } && test -s conftest
$ac_exeext &&
34818 $as_test_x conftest
$ac_exeext; then
34819 eval "$as_ac_var=yes"
34821 echo "$as_me: failed program was:" >&5
34822 sed 's/^/| /' conftest.
$ac_ext >&5
34824 eval "$as_ac_var=no"
34827 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34828 conftest
$ac_exeext conftest.
$ac_ext
34830 ac_res
=`eval echo '${'$as_ac_var'}'`
34831 { echo "$as_me:$LINENO: result: $ac_res" >&5
34832 echo "${ECHO_T}$ac_res" >&6; }
34833 if test `eval echo '${'$as_ac_var'}'` = yes; then
34834 cat >>confdefs.h
<<_ACEOF
34835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34842 if test "$WCSLEN_FOUND" = 0; then
34843 if test "$TOOLKIT" = "MSW"; then
34844 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34845 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34846 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34847 echo $ECHO_N "(cached) $ECHO_C" >&6
34849 ac_check_lib_save_LIBS
=$LIBS
34850 LIBS
="-lmsvcrt $LIBS"
34851 cat >conftest.
$ac_ext <<_ACEOF
34854 cat confdefs.h
>>conftest.
$ac_ext
34855 cat >>conftest.
$ac_ext <<_ACEOF
34856 /* end confdefs.h. */
34858 /* Override any GCC internal prototype to avoid an error.
34859 Use char because int might match the return type of a GCC
34860 builtin and then its argument prototype would still apply. */
34873 rm -f conftest.
$ac_objext conftest
$ac_exeext
34874 if { (ac_try
="$ac_link"
34875 case "(($ac_try" in
34876 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34877 *) ac_try_echo=$ac_try;;
34879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34880 (eval "$ac_link") 2>conftest.er1
34882 grep -v '^ *+' conftest.er1 >conftest.err
34884 cat conftest.err >&5
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); } && {
34887 test -z "$ac_c_werror_flag" ||
34888 test ! -s conftest.err
34889 } && test -s conftest$ac_exeext &&
34890 $as_test_x conftest$ac_exeext; then
34891 ac_cv_lib_msvcrt_wcslen=yes
34893 echo "$as_me: failed program was:" >&5
34894 sed 's/^/| /' conftest.$ac_ext >&5
34896 ac_cv_lib_msvcrt_wcslen=no
34899 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34900 conftest$ac_exeext conftest.$ac_ext
34901 LIBS=$ac_check_lib_save_LIBS
34903 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34904 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34905 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34910 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34911 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34912 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34913 echo $ECHO_N "(cached) $ECHO_C" >&6
34915 ac_check_lib_save_LIBS=$LIBS
34917 cat >conftest.$ac_ext <<_ACEOF
34920 cat confdefs.h >>conftest.$ac_ext
34921 cat >>conftest.$ac_ext <<_ACEOF
34922 /* end confdefs.h. */
34924 /* Override any GCC internal prototype to avoid an error.
34925 Use char because int might match the return type of a GCC
34926 builtin and then its argument prototype would still apply. */
34939 rm -f conftest.$ac_objext conftest$ac_exeext
34940 if { (ac_try="$ac_link"
34941 case "(($ac_try" in
34942 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34943 *) ac_try_echo
=$ac_try;;
34945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34946 (eval "$ac_link") 2>conftest.er1
34948 grep -v '^ *+' conftest.er1
>conftest.err
34950 cat conftest.err
>&5
34951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34952 (exit $ac_status); } && {
34953 test -z "$ac_c_werror_flag" ||
34954 test ! -s conftest.err
34955 } && test -s conftest
$ac_exeext &&
34956 $as_test_x conftest
$ac_exeext; then
34957 ac_cv_lib_w_wcslen
=yes
34959 echo "$as_me: failed program was:" >&5
34960 sed 's/^/| /' conftest.
$ac_ext >&5
34962 ac_cv_lib_w_wcslen
=no
34965 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34966 conftest
$ac_exeext conftest.
$ac_ext
34967 LIBS
=$ac_check_lib_save_LIBS
34969 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34970 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34971 if test $ac_cv_lib_w_wcslen = yes; then
34981 if test "$WCSLEN_FOUND" = 1; then
34982 cat >>confdefs.h
<<\_ACEOF
34983 #define HAVE_WCSLEN 1
34989 for ac_func
in wcsdup
34991 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34992 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34994 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34995 echo $ECHO_N "(cached) $ECHO_C" >&6
34997 cat >conftest.
$ac_ext <<_ACEOF
35000 cat confdefs.h
>>conftest.
$ac_ext
35001 cat >>conftest.
$ac_ext <<_ACEOF
35002 /* end confdefs.h. */
35003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35005 #define $ac_func innocuous_$ac_func
35007 /* System header to define __stub macros and hopefully few prototypes,
35008 which can conflict with char $ac_func (); below.
35009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35010 <limits.h> exists even on freestanding compilers. */
35013 # include <limits.h>
35015 # include <assert.h>
35020 /* Override any GCC internal prototype to avoid an error.
35021 Use char because int might match the return type of a GCC
35022 builtin and then its argument prototype would still apply. */
35027 /* The GNU C library defines this for functions which it implements
35028 to always fail with ENOSYS. Some functions are actually named
35029 something starting with __ and the normal name is an alias. */
35030 #if defined __stub_$ac_func || defined __stub___$ac_func
35037 return $ac_func ();
35042 rm -f conftest.
$ac_objext conftest
$ac_exeext
35043 if { (ac_try
="$ac_link"
35044 case "(($ac_try" in
35045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35046 *) ac_try_echo=$ac_try;;
35048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35049 (eval "$ac_link") 2>conftest.er1
35051 grep -v '^ *+' conftest.er1 >conftest.err
35053 cat conftest.err >&5
35054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35055 (exit $ac_status); } && {
35056 test -z "$ac_c_werror_flag" ||
35057 test ! -s conftest.err
35058 } && test -s conftest$ac_exeext &&
35059 $as_test_x conftest$ac_exeext; then
35060 eval "$as_ac_var=yes"
35062 echo "$as_me: failed program was:" >&5
35063 sed 's/^/| /' conftest.$ac_ext >&5
35065 eval "$as_ac_var=no"
35068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35069 conftest$ac_exeext conftest.$ac_ext
35071 ac_res=`eval echo '${'$as_ac_var'}'`
35072 { echo "$as_me:$LINENO: result: $ac_res" >&5
35073 echo "${ECHO_T}$ac_res" >&6; }
35074 if test `eval echo '${'$as_ac_var'}'` = yes; then
35075 cat >>confdefs.h <<_ACEOF
35076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35083 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35084 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35087 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35088 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35089 if test "${ac_cv_type_mbstate_t+set}" = set; then
35090 echo $ECHO_N "(cached) $ECHO_C" >&6
35092 cat >conftest.$ac_ext <<_ACEOF
35095 cat confdefs.h >>conftest.$ac_ext
35096 cat >>conftest.$ac_ext <<_ACEOF
35097 /* end confdefs.h. */
35100 typedef mbstate_t ac__type_new_;
35104 if ((ac__type_new_ *) 0)
35106 if (sizeof (ac__type_new_))
35112 rm -f conftest.$ac_objext
35113 if { (ac_try="$ac_compile"
35114 case "(($ac_try" in
35115 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35116 *) ac_try_echo
=$ac_try;;
35118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35119 (eval "$ac_compile") 2>conftest.er1
35121 grep -v '^ *+' conftest.er1
>conftest.err
35123 cat conftest.err
>&5
35124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35125 (exit $ac_status); } && {
35126 test -z "$ac_c_werror_flag" ||
35127 test ! -s conftest.err
35128 } && test -s conftest.
$ac_objext; then
35129 ac_cv_type_mbstate_t
=yes
35131 echo "$as_me: failed program was:" >&5
35132 sed 's/^/| /' conftest.
$ac_ext >&5
35134 ac_cv_type_mbstate_t
=no
35137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35139 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35140 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35141 if test $ac_cv_type_mbstate_t = yes; then
35143 cat >>confdefs.h
<<_ACEOF
35144 #define HAVE_MBSTATE_T 1
35148 for ac_func
in wcsrtombs
35150 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35151 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35153 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35154 echo $ECHO_N "(cached) $ECHO_C" >&6
35156 cat >conftest.
$ac_ext <<_ACEOF
35159 cat confdefs.h
>>conftest.
$ac_ext
35160 cat >>conftest.
$ac_ext <<_ACEOF
35161 /* end confdefs.h. */
35162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35164 #define $ac_func innocuous_$ac_func
35166 /* System header to define __stub macros and hopefully few prototypes,
35167 which can conflict with char $ac_func (); below.
35168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35169 <limits.h> exists even on freestanding compilers. */
35172 # include <limits.h>
35174 # include <assert.h>
35179 /* Override any GCC internal prototype to avoid an error.
35180 Use char because int might match the return type of a GCC
35181 builtin and then its argument prototype would still apply. */
35186 /* The GNU C library defines this for functions which it implements
35187 to always fail with ENOSYS. Some functions are actually named
35188 something starting with __ and the normal name is an alias. */
35189 #if defined __stub_$ac_func || defined __stub___$ac_func
35196 return $ac_func ();
35201 rm -f conftest.
$ac_objext conftest
$ac_exeext
35202 if { (ac_try
="$ac_link"
35203 case "(($ac_try" in
35204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35205 *) ac_try_echo=$ac_try;;
35207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35208 (eval "$ac_link") 2>conftest.er1
35210 grep -v '^ *+' conftest.er1 >conftest.err
35212 cat conftest.err >&5
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); } && {
35215 test -z "$ac_c_werror_flag" ||
35216 test ! -s conftest.err
35217 } && test -s conftest$ac_exeext &&
35218 $as_test_x conftest$ac_exeext; then
35219 eval "$as_ac_var=yes"
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.$ac_ext >&5
35224 eval "$as_ac_var=no"
35227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35228 conftest$ac_exeext conftest.$ac_ext
35230 ac_res=`eval echo '${'$as_ac_var'}'`
35231 { echo "$as_me:$LINENO: result: $ac_res" >&5
35232 echo "${ECHO_T}$ac_res" >&6; }
35233 if test `eval echo '${'$as_ac_var'}'` = yes; then
35234 cat >>confdefs.h <<_ACEOF
35235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35244 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35245 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35251 for ac_func in snprintf vsnprintf vsscanf
35253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35254 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35256 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35257 echo $ECHO_N "(cached) $ECHO_C" >&6
35259 cat >conftest.$ac_ext <<_ACEOF
35262 cat confdefs.h >>conftest.$ac_ext
35263 cat >>conftest.$ac_ext <<_ACEOF
35264 /* end confdefs.h. */
35265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35267 #define $ac_func innocuous_$ac_func
35269 /* System header to define __stub macros and hopefully few prototypes,
35270 which can conflict with char $ac_func (); below.
35271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35272 <limits.h> exists even on freestanding compilers. */
35275 # include <limits.h>
35277 # include <assert.h>
35282 /* Override any GCC internal prototype to avoid an error.
35283 Use char because int might match the return type of a GCC
35284 builtin and then its argument prototype would still apply. */
35289 /* The GNU C library defines this for functions which it implements
35290 to always fail with ENOSYS. Some functions are actually named
35291 something starting with __ and the normal name is an alias. */
35292 #if defined __stub_$ac_func || defined __stub___$ac_func
35299 return $ac_func ();
35304 rm -f conftest.$ac_objext conftest$ac_exeext
35305 if { (ac_try="$ac_link"
35306 case "(($ac_try" in
35307 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35308 *) ac_try_echo
=$ac_try;;
35310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35311 (eval "$ac_link") 2>conftest.er1
35313 grep -v '^ *+' conftest.er1
>conftest.err
35315 cat conftest.err
>&5
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); } && {
35318 test -z "$ac_c_werror_flag" ||
35319 test ! -s conftest.err
35320 } && test -s conftest
$ac_exeext &&
35321 $as_test_x conftest
$ac_exeext; then
35322 eval "$as_ac_var=yes"
35324 echo "$as_me: failed program was:" >&5
35325 sed 's/^/| /' conftest.
$ac_ext >&5
35327 eval "$as_ac_var=no"
35330 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35331 conftest
$ac_exeext conftest.
$ac_ext
35333 ac_res
=`eval echo '${'$as_ac_var'}'`
35334 { echo "$as_me:$LINENO: result: $ac_res" >&5
35335 echo "${ECHO_T}$ac_res" >&6; }
35336 if test `eval echo '${'$as_ac_var'}'` = yes; then
35337 cat >>confdefs.h
<<_ACEOF
35338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35346 ac_cpp
='$CXXCPP $CPPFLAGS'
35347 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35348 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35349 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35351 if test "$ac_cv_func_vsnprintf" = "yes"; then
35352 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35353 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35354 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35355 echo $ECHO_N "(cached) $ECHO_C" >&6
35358 cat >conftest.
$ac_ext <<_ACEOF
35361 cat confdefs.h
>>conftest.
$ac_ext
35362 cat >>conftest.
$ac_ext <<_ACEOF
35363 /* end confdefs.h. */
35366 #include <stdarg.h>
35368 #if __MSL__ >= 0x6000
35370 using namespace std;
35380 vsnprintf(buf, 10u, "%s", ap);
35386 rm -f conftest.
$ac_objext
35387 if { (ac_try
="$ac_compile"
35388 case "(($ac_try" in
35389 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35390 *) ac_try_echo=$ac_try;;
35392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35393 (eval "$ac_compile") 2>conftest.er1
35395 grep -v '^ *+' conftest.er1 >conftest.err
35397 cat conftest.err >&5
35398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 (exit $ac_status); } && {
35400 test -z "$ac_cxx_werror_flag" ||
35401 test ! -s conftest.err
35402 } && test -s conftest.$ac_objext; then
35403 wx_cv_func_vsnprintf_decl=yes
35405 echo "$as_me: failed program was:" >&5
35406 sed 's/^/| /' conftest.$ac_ext >&5
35408 wx_cv_func_vsnprintf_decl=no
35412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35416 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35417 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35419 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35420 cat >>confdefs.h <<\_ACEOF
35421 #define HAVE_VSNPRINTF_DECL 1
35425 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35426 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35427 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35428 echo $ECHO_N "(cached) $ECHO_C" >&6
35431 cat >conftest.$ac_ext <<_ACEOF
35434 cat confdefs.h >>conftest.$ac_ext
35435 cat >>conftest.$ac_ext <<_ACEOF
35436 /* end confdefs.h. */
35439 #include <stdarg.h>
35441 #if __MSL__ >= 0x6000
35443 using namespace std;
35453 const char *fmt = "%s";
35454 vsnprintf(buf, 10u, fmt, ap);
35460 rm -f conftest.$ac_objext
35461 if { (ac_try="$ac_compile"
35462 case "(($ac_try" in
35463 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35464 *) ac_try_echo
=$ac_try;;
35466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35467 (eval "$ac_compile") 2>conftest.er1
35469 grep -v '^ *+' conftest.er1
>conftest.err
35471 cat conftest.err
>&5
35472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35473 (exit $ac_status); } && {
35474 test -z "$ac_cxx_werror_flag" ||
35475 test ! -s conftest.err
35476 } && test -s conftest.
$ac_objext; then
35477 wx_cv_func_broken_vsnprintf_decl
=no
35479 echo "$as_me: failed program was:" >&5
35480 sed 's/^/| /' conftest.
$ac_ext >&5
35482 wx_cv_func_broken_vsnprintf_decl
=yes
35486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35490 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35491 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35493 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35494 cat >>confdefs.h
<<\_ACEOF
35495 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35502 if test "$ac_cv_func_snprintf" = "yes"; then
35503 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35504 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35505 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35506 echo $ECHO_N "(cached) $ECHO_C" >&6
35509 cat >conftest.
$ac_ext <<_ACEOF
35512 cat confdefs.h
>>conftest.
$ac_ext
35513 cat >>conftest.
$ac_ext <<_ACEOF
35514 /* end confdefs.h. */
35517 #include <stdarg.h>
35519 #if __MSL__ >= 0x6000
35521 using namespace std;
35530 snprintf(buf, 10u, "%s", "wx");
35536 rm -f conftest.
$ac_objext
35537 if { (ac_try
="$ac_compile"
35538 case "(($ac_try" in
35539 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35540 *) ac_try_echo=$ac_try;;
35542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35543 (eval "$ac_compile") 2>conftest.er1
35545 grep -v '^ *+' conftest.er1 >conftest.err
35547 cat conftest.err >&5
35548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35549 (exit $ac_status); } && {
35550 test -z "$ac_cxx_werror_flag" ||
35551 test ! -s conftest.err
35552 } && test -s conftest.$ac_objext; then
35553 wx_cv_func_snprintf_decl=yes
35555 echo "$as_me: failed program was:" >&5
35556 sed 's/^/| /' conftest.$ac_ext >&5
35558 wx_cv_func_snprintf_decl=no
35562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35566 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35567 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35569 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35570 cat >>confdefs.h <<\_ACEOF
35571 #define HAVE_SNPRINTF_DECL 1
35576 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35578 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35579 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35580 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35581 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 if test "$cross_compiling" = yes; then
35586 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35587 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35588 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35589 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35590 wx_cv_func_snprintf_pos_params=no
35594 cat >conftest.$ac_ext <<_ACEOF
35597 cat confdefs.h >>conftest.$ac_ext
35598 cat >>conftest.$ac_ext <<_ACEOF
35599 /* end confdefs.h. */
35606 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35607 if (strcmp ("2 3 1", buffer) == 0)
35613 rm -f conftest$ac_exeext
35614 if { (ac_try="$ac_link"
35615 case "(($ac_try" in
35616 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35617 *) ac_try_echo
=$ac_try;;
35619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35620 (eval "$ac_link") 2>&5
35622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35623 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35624 { (case "(($ac_try" in
35625 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35626 *) ac_try_echo=$ac_try;;
35628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35629 (eval "$ac_try") 2>&5
35631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35632 (exit $ac_status); }; }; then
35633 wx_cv_func_snprintf_pos_params=no
35635 echo "$as_me: program exited with status $ac_status" >&5
35636 echo "$as_me: failed program was:" >&5
35637 sed 's/^/| /' conftest.$ac_ext >&5
35639 ( exit $ac_status )
35640 wx_cv_func_snprintf_pos_params=yes
35642 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35649 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35650 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35652 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35653 cat >>confdefs.h <<\_ACEOF
35654 #define HAVE_UNIX98_PRINTF 1
35661 if test "$ac_cv_func_vsscanf" = "yes"; then
35662 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35663 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35664 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35665 echo $ECHO_N "(cached) $ECHO_C" >&6
35668 cat >conftest.$ac_ext <<_ACEOF
35671 cat confdefs.h >>conftest.$ac_ext
35672 cat >>conftest.$ac_ext <<_ACEOF
35673 /* end confdefs.h. */
35676 #include <stdarg.h>
35678 #if __MSL__ >= 0x6000
35680 using namespace std;
35690 vsscanf(buf, "%s", args);
35696 rm -f conftest.$ac_objext
35697 if { (ac_try="$ac_compile"
35698 case "(($ac_try" in
35699 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35700 *) ac_try_echo
=$ac_try;;
35702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35703 (eval "$ac_compile") 2>conftest.er1
35705 grep -v '^ *+' conftest.er1
>conftest.err
35707 cat conftest.err
>&5
35708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35709 (exit $ac_status); } && {
35710 test -z "$ac_cxx_werror_flag" ||
35711 test ! -s conftest.err
35712 } && test -s conftest.
$ac_objext; then
35713 wx_cv_func_vsscanf_decl
=yes
35715 echo "$as_me: failed program was:" >&5
35716 sed 's/^/| /' conftest.
$ac_ext >&5
35718 wx_cv_func_vsscanf_decl
=no
35722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35726 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35727 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35729 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35730 cat >>confdefs.h
<<\_ACEOF
35731 #define HAVE_VSSCANF_DECL 1
35737 ac_cpp
='$CPP $CPPFLAGS'
35738 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35739 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35743 if test "$wxUSE_UNICODE" = yes; then
35745 wchar_headers
="#include <stdio.h>
35746 #include <wchar.h>"
35750 for ac_header
in widec.h
35752 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35753 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35755 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35756 echo $ECHO_N "(cached) $ECHO_C" >&6
35758 cat >conftest.
$ac_ext <<_ACEOF
35761 cat confdefs.h
>>conftest.
$ac_ext
35762 cat >>conftest.
$ac_ext <<_ACEOF
35763 /* end confdefs.h. */
35764 $ac_includes_default
35766 #include <$ac_header>
35768 rm -f conftest.
$ac_objext
35769 if { (ac_try
="$ac_compile"
35770 case "(($ac_try" in
35771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35772 *) ac_try_echo=$ac_try;;
35774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35775 (eval "$ac_compile") 2>conftest.er1
35777 grep -v '^ *+' conftest.er1 >conftest.err
35779 cat conftest.err >&5
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); } && {
35782 test -z "$ac_c_werror_flag" ||
35783 test ! -s conftest.err
35784 } && test -s conftest.$ac_objext; then
35785 eval "$as_ac_Header=yes"
35787 echo "$as_me: failed program was:" >&5
35788 sed 's/^/| /' conftest.$ac_ext >&5
35790 eval "$as_ac_Header=no"
35793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35795 ac_res=`eval echo '${'$as_ac_Header'}'`
35796 { echo "$as_me:$LINENO: result: $ac_res" >&5
35797 echo "${ECHO_T}$ac_res" >&6; }
35798 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35799 cat >>confdefs.h <<_ACEOF
35800 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35807 if test "$ac_cv_header_widec_h" = "yes"; then
35808 wchar_headers="$wchar_headers
35809 #include <widec.h>"
35814 for wx_func in putws fputws wprintf vswprintf vswscanf
35816 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35817 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35818 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35819 echo $ECHO_N "(cached) $ECHO_C" >&6
35822 cat >conftest.$ac_ext <<_ACEOF
35826 cat confdefs.h >>conftest.$ac_ext
35827 cat >>conftest.$ac_ext <<_ACEOF
35828 /* end confdefs.h. */
35831 $ac_includes_default
35847 rm -f conftest.$ac_objext conftest$ac_exeext
35848 if { (ac_try="$ac_link"
35849 case "(($ac_try" in
35850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35851 *) ac_try_echo
=$ac_try;;
35853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35854 (eval "$ac_link") 2>conftest.er1
35856 grep -v '^ *+' conftest.er1
>conftest.err
35858 cat conftest.err
>&5
35859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35860 (exit $ac_status); } && {
35861 test -z "$ac_c_werror_flag" ||
35862 test ! -s conftest.err
35863 } && test -s conftest
$ac_exeext &&
35864 $as_test_x conftest
$ac_exeext; then
35865 eval wx_cv_func_
$wx_func=yes
35867 echo "$as_me: failed program was:" >&5
35868 sed 's/^/| /' conftest.
$ac_ext >&5
35870 eval wx_cv_func_
$wx_func=no
35873 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35874 conftest
$ac_exeext conftest.
$ac_ext
35877 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35878 { echo "$as_me:$LINENO: result: $ac_res" >&5
35879 echo "${ECHO_T}$ac_res" >&6; }
35881 if eval test \
$wx_cv_func_$wx_func = yes
35883 cat >>confdefs.h
<<_ACEOF
35884 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35895 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35896 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35897 cat >conftest.
$ac_ext <<_ACEOF
35900 cat confdefs.h
>>conftest.
$ac_ext
35901 cat >>conftest.
$ac_ext <<_ACEOF
35902 /* end confdefs.h. */
35912 rm -f conftest.
$ac_objext
35913 if { (ac_try
="$ac_compile"
35914 case "(($ac_try" in
35915 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35916 *) ac_try_echo=$ac_try;;
35918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35919 (eval "$ac_compile") 2>conftest.er1
35921 grep -v '^ *+' conftest.er1 >conftest.err
35923 cat conftest.err >&5
35924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35925 (exit $ac_status); } && {
35926 test -z "$ac_c_werror_flag" ||
35927 test ! -s conftest.err
35928 } && test -s conftest.$ac_objext; then
35929 { echo "$as_me:$LINENO: result: yes" >&5
35930 echo "${ECHO_T}yes" >&6; }
35931 cat >>confdefs.h <<\_ACEOF
35932 #define HAVE__VSNWPRINTF 1
35936 echo "$as_me: failed program was:" >&5
35937 sed 's/^/| /' conftest.$ac_ext >&5
35939 { echo "$as_me:$LINENO: result: no" >&5
35940 echo "${ECHO_T}no" >&6; }
35943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35946 if test "$wxUSE_FILE" = "yes"; then
35948 for wx_func in fsync
35950 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35951 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35952 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35953 echo $ECHO_N "(cached) $ECHO_C" >&6
35956 cat >conftest.$ac_ext <<_ACEOF
35960 cat confdefs.h >>conftest.$ac_ext
35961 cat >>conftest.$ac_ext <<_ACEOF
35962 /* end confdefs.h. */
35965 $ac_includes_default
35981 rm -f conftest.$ac_objext conftest$ac_exeext
35982 if { (ac_try="$ac_link"
35983 case "(($ac_try" in
35984 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35985 *) ac_try_echo
=$ac_try;;
35987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35988 (eval "$ac_link") 2>conftest.er1
35990 grep -v '^ *+' conftest.er1
>conftest.err
35992 cat conftest.err
>&5
35993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35994 (exit $ac_status); } && {
35995 test -z "$ac_c_werror_flag" ||
35996 test ! -s conftest.err
35997 } && test -s conftest
$ac_exeext &&
35998 $as_test_x conftest
$ac_exeext; then
35999 eval wx_cv_func_
$wx_func=yes
36001 echo "$as_me: failed program was:" >&5
36002 sed 's/^/| /' conftest.
$ac_ext >&5
36004 eval wx_cv_func_
$wx_func=no
36007 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36008 conftest
$ac_exeext conftest.
$ac_ext
36011 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36012 { echo "$as_me:$LINENO: result: $ac_res" >&5
36013 echo "${ECHO_T}$ac_res" >&6; }
36015 if eval test \
$wx_cv_func_$wx_func = yes
36017 cat >>confdefs.h
<<_ACEOF
36018 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36031 ac_cpp
='$CXXCPP $CPPFLAGS'
36032 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36033 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36034 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36037 for wx_func
in round
36039 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36040 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36041 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36042 echo $ECHO_N "(cached) $ECHO_C" >&6
36045 cat >conftest.
$ac_ext <<_ACEOF
36049 cat confdefs.h
>>conftest.
$ac_ext
36050 cat >>conftest.
$ac_ext <<_ACEOF
36051 /* end confdefs.h. */
36054 $ac_includes_default
36070 rm -f conftest.
$ac_objext conftest
$ac_exeext
36071 if { (ac_try
="$ac_link"
36072 case "(($ac_try" in
36073 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36074 *) ac_try_echo=$ac_try;;
36076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36077 (eval "$ac_link") 2>conftest.er1
36079 grep -v '^ *+' conftest.er1 >conftest.err
36081 cat conftest.err >&5
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); } && {
36084 test -z "$ac_cxx_werror_flag" ||
36085 test ! -s conftest.err
36086 } && test -s conftest$ac_exeext &&
36087 $as_test_x conftest$ac_exeext; then
36088 eval wx_cv_func_$wx_func=yes
36090 echo "$as_me: failed program was:" >&5
36091 sed 's/^/| /' conftest.$ac_ext >&5
36093 eval wx_cv_func_$wx_func=no
36096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36097 conftest$ac_exeext conftest.$ac_ext
36100 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36101 { echo "$as_me:$LINENO: result: $ac_res" >&5
36102 echo "${ECHO_T}$ac_res" >&6; }
36104 if eval test \$wx_cv_func_$wx_func = yes
36106 cat >>confdefs.h <<_ACEOF
36107 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36118 ac_cpp='$CPP $CPPFLAGS'
36119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36124 if test "$TOOLKIT" != "MSW"; then
36126 if test "$wxUSE_LIBICONV" != "no" ; then
36130 # Check whether --with-libiconv-prefix was given.
36131 if test "${with_libiconv_prefix+set}" = set; then
36132 withval=$with_libiconv_prefix;
36133 for dir in `echo "$withval" | tr : ' '`; do
36134 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36135 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36141 { echo "$as_me:$LINENO: checking for iconv" >&5
36142 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36143 if test "${am_cv_func_iconv+set}" = set; then
36144 echo $ECHO_N "(cached) $ECHO_C" >&6
36147 am_cv_func_iconv="no, consider installing GNU libiconv"
36149 cat >conftest.$ac_ext <<_ACEOF
36152 cat confdefs.h >>conftest.$ac_ext
36153 cat >>conftest.$ac_ext <<_ACEOF
36154 /* end confdefs.h. */
36155 #include <stdlib.h>
36160 iconv_t cd = iconv_open("","");
36161 iconv(cd,NULL,NULL,NULL,NULL);
36167 rm -f conftest.$ac_objext conftest$ac_exeext
36168 if { (ac_try="$ac_link"
36169 case "(($ac_try" in
36170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36171 *) ac_try_echo
=$ac_try;;
36173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36174 (eval "$ac_link") 2>conftest.er1
36176 grep -v '^ *+' conftest.er1
>conftest.err
36178 cat conftest.err
>&5
36179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36180 (exit $ac_status); } && {
36181 test -z "$ac_c_werror_flag" ||
36182 test ! -s conftest.err
36183 } && test -s conftest
$ac_exeext &&
36184 $as_test_x conftest
$ac_exeext; then
36185 am_cv_func_iconv
=yes
36187 echo "$as_me: failed program was:" >&5
36188 sed 's/^/| /' conftest.
$ac_ext >&5
36193 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36194 conftest
$ac_exeext conftest.
$ac_ext
36195 if test "$am_cv_func_iconv" != yes; then
36196 am_save_LIBS
="$LIBS"
36197 LIBS
="$LIBS -liconv"
36198 cat >conftest.
$ac_ext <<_ACEOF
36201 cat confdefs.h
>>conftest.
$ac_ext
36202 cat >>conftest.
$ac_ext <<_ACEOF
36203 /* end confdefs.h. */
36204 #include <stdlib.h>
36209 iconv_t cd = iconv_open("","");
36210 iconv(cd,NULL,NULL,NULL,NULL);
36216 rm -f conftest.
$ac_objext conftest
$ac_exeext
36217 if { (ac_try
="$ac_link"
36218 case "(($ac_try" in
36219 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36220 *) ac_try_echo=$ac_try;;
36222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36223 (eval "$ac_link") 2>conftest.er1
36225 grep -v '^ *+' conftest.er1 >conftest.err
36227 cat conftest.err >&5
36228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36229 (exit $ac_status); } && {
36230 test -z "$ac_c_werror_flag" ||
36231 test ! -s conftest.err
36232 } && test -s conftest$ac_exeext &&
36233 $as_test_x conftest$ac_exeext; then
36234 am_cv_lib_iconv=yes
36235 am_cv_func_iconv=yes
36237 echo "$as_me: failed program was:" >&5
36238 sed 's/^/| /' conftest.$ac_ext >&5
36243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36244 conftest$ac_exeext conftest.$ac_ext
36245 LIBS="$am_save_LIBS"
36249 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36250 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36251 if test "$am_cv_func_iconv" = yes; then
36253 cat >>confdefs.h <<\_ACEOF
36254 #define HAVE_ICONV 1
36257 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36258 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36259 if test "${wx_cv_func_iconv_const+set}" = set; then
36260 echo $ECHO_N "(cached) $ECHO_C" >&6
36262 cat >conftest.$ac_ext <<_ACEOF
36265 cat confdefs.h >>conftest.$ac_ext
36266 cat >>conftest.$ac_ext <<_ACEOF
36267 /* end confdefs.h. */
36269 #include <stdlib.h>
36275 #if defined(__STDC__) || defined(__cplusplus)
36276 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36289 rm -f conftest.$ac_objext
36290 if { (ac_try="$ac_compile"
36291 case "(($ac_try" in
36292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36293 *) ac_try_echo
=$ac_try;;
36295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36296 (eval "$ac_compile") 2>conftest.er1
36298 grep -v '^ *+' conftest.er1
>conftest.err
36300 cat conftest.err
>&5
36301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302 (exit $ac_status); } && {
36303 test -z "$ac_c_werror_flag" ||
36304 test ! -s conftest.err
36305 } && test -s conftest.
$ac_objext; then
36306 wx_cv_func_iconv_const
="no"
36308 echo "$as_me: failed program was:" >&5
36309 sed 's/^/| /' conftest.
$ac_ext >&5
36311 wx_cv_func_iconv_const
="yes"
36315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36318 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36319 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36322 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36323 iconv_const
="const"
36327 cat >>confdefs.h
<<_ACEOF
36328 #define ICONV_CONST $iconv_const
36333 if test "$am_cv_lib_iconv" = yes; then
36338 LIBS
="$LIBICONV $LIBS"
36341 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36343 for ac_func
in sigaction
36345 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36346 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36348 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36349 echo $ECHO_N "(cached) $ECHO_C" >&6
36351 cat >conftest.
$ac_ext <<_ACEOF
36354 cat confdefs.h
>>conftest.
$ac_ext
36355 cat >>conftest.
$ac_ext <<_ACEOF
36356 /* end confdefs.h. */
36357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36359 #define $ac_func innocuous_$ac_func
36361 /* System header to define __stub macros and hopefully few prototypes,
36362 which can conflict with char $ac_func (); below.
36363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36364 <limits.h> exists even on freestanding compilers. */
36367 # include <limits.h>
36369 # include <assert.h>
36374 /* Override any GCC internal prototype to avoid an error.
36375 Use char because int might match the return type of a GCC
36376 builtin and then its argument prototype would still apply. */
36381 /* The GNU C library defines this for functions which it implements
36382 to always fail with ENOSYS. Some functions are actually named
36383 something starting with __ and the normal name is an alias. */
36384 #if defined __stub_$ac_func || defined __stub___$ac_func
36391 return $ac_func ();
36396 rm -f conftest.
$ac_objext conftest
$ac_exeext
36397 if { (ac_try
="$ac_link"
36398 case "(($ac_try" in
36399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36400 *) ac_try_echo=$ac_try;;
36402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36403 (eval "$ac_link") 2>conftest.er1
36405 grep -v '^ *+' conftest.er1 >conftest.err
36407 cat conftest.err >&5
36408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409 (exit $ac_status); } && {
36410 test -z "$ac_c_werror_flag" ||
36411 test ! -s conftest.err
36412 } && test -s conftest$ac_exeext &&
36413 $as_test_x conftest$ac_exeext; then
36414 eval "$as_ac_var=yes"
36416 echo "$as_me: failed program was:" >&5
36417 sed 's/^/| /' conftest.$ac_ext >&5
36419 eval "$as_ac_var=no"
36422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36423 conftest$ac_exeext conftest.$ac_ext
36425 ac_res=`eval echo '${'$as_ac_var'}'`
36426 { echo "$as_me:$LINENO: result: $ac_res" >&5
36427 echo "${ECHO_T}$ac_res" >&6; }
36428 if test `eval echo '${'$as_ac_var'}'` = yes; then
36429 cat >>confdefs.h <<_ACEOF
36430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36437 if test "$ac_cv_func_sigaction" = "no"; then
36438 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36439 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36440 wxUSE_ON_FATAL_EXCEPTION=no
36443 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36444 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36445 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36446 if test "${wx_cv_type_sa_handler+set}" = set; then
36447 echo $ECHO_N "(cached) $ECHO_C" >&6
36451 ac_cpp='$CXXCPP $CPPFLAGS'
36452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36456 cat >conftest.$ac_ext <<_ACEOF
36459 cat confdefs.h >>conftest.$ac_ext
36460 cat >>conftest.$ac_ext <<_ACEOF
36461 /* end confdefs.h. */
36462 #include <signal.h>
36467 extern void testSigHandler(int);
36469 struct sigaction sa;
36470 sa.sa_handler = testSigHandler;
36476 rm -f conftest.$ac_objext
36477 if { (ac_try="$ac_compile"
36478 case "(($ac_try" in
36479 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36480 *) ac_try_echo
=$ac_try;;
36482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36483 (eval "$ac_compile") 2>conftest.er1
36485 grep -v '^ *+' conftest.er1
>conftest.err
36487 cat conftest.err
>&5
36488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36489 (exit $ac_status); } && {
36490 test -z "$ac_cxx_werror_flag" ||
36491 test ! -s conftest.err
36492 } && test -s conftest.
$ac_objext; then
36494 wx_cv_type_sa_handler
=int
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.
$ac_ext >&5
36501 wx_cv_type_sa_handler
=void
36505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36507 ac_cpp
='$CPP $CPPFLAGS'
36508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36514 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36515 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36517 cat >>confdefs.h
<<_ACEOF
36518 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36524 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36525 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36526 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36527 if test "${wx_cv_func_backtrace+set}" = set; then
36528 echo $ECHO_N "(cached) $ECHO_C" >&6
36532 ac_cpp
='$CXXCPP $CPPFLAGS'
36533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36537 cat >conftest.
$ac_ext <<_ACEOF
36540 cat confdefs.h
>>conftest.
$ac_ext
36541 cat >>conftest.
$ac_ext <<_ACEOF
36542 /* end confdefs.h. */
36543 #include <execinfo.h>
36551 backtrace(trace, 1);
36552 messages = backtrace_symbols(trace, 1);
36558 rm -f conftest.
$ac_objext
36559 if { (ac_try
="$ac_compile"
36560 case "(($ac_try" in
36561 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36562 *) ac_try_echo=$ac_try;;
36564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36565 (eval "$ac_compile") 2>conftest.er1
36567 grep -v '^ *+' conftest.er1 >conftest.err
36569 cat conftest.err >&5
36570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36571 (exit $ac_status); } && {
36572 test -z "$ac_cxx_werror_flag" ||
36573 test ! -s conftest.err
36574 } && test -s conftest.$ac_objext; then
36575 wx_cv_func_backtrace=yes
36577 echo "$as_me: failed program was:" >&5
36578 sed 's/^/| /' conftest.$ac_ext >&5
36580 wx_cv_func_backtrace=no
36584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36586 ac_cpp='$CPP $CPPFLAGS'
36587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36594 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36595 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36598 if test "$wx_cv_func_backtrace" = "no"; then
36599 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36600 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36601 wxUSE_STACKWALKER=no
36603 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36604 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36605 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36606 echo $ECHO_N "(cached) $ECHO_C" >&6
36610 ac_cpp='$CXXCPP $CPPFLAGS'
36611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36615 cat >conftest.$ac_ext <<_ACEOF
36618 cat confdefs.h >>conftest.$ac_ext
36619 cat >>conftest.$ac_ext <<_ACEOF
36620 /* end confdefs.h. */
36621 #include <cxxabi.h>
36627 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36633 rm -f conftest.$ac_objext conftest$ac_exeext
36634 if { (ac_try="$ac_link"
36635 case "(($ac_try" in
36636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36637 *) ac_try_echo
=$ac_try;;
36639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36640 (eval "$ac_link") 2>conftest.er1
36642 grep -v '^ *+' conftest.er1
>conftest.err
36644 cat conftest.err
>&5
36645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646 (exit $ac_status); } && {
36647 test -z "$ac_cxx_werror_flag" ||
36648 test ! -s conftest.err
36649 } && test -s conftest
$ac_exeext &&
36650 $as_test_x conftest
$ac_exeext; then
36651 wx_cv_func_cxa_demangle
=yes
36653 echo "$as_me: failed program was:" >&5
36654 sed 's/^/| /' conftest.
$ac_ext >&5
36656 wx_cv_func_cxa_demangle
=no
36660 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36661 conftest
$ac_exeext conftest.
$ac_ext
36663 ac_cpp
='$CPP $CPPFLAGS'
36664 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36665 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36666 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36671 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36672 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36674 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36675 cat >>confdefs.h
<<\_ACEOF
36676 #define HAVE_CXA_DEMANGLE 1
36683 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36684 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36685 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36686 wxUSE_STACKWALKER
=no
36692 for ac_func
in mkstemp mktemp
36694 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36695 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36697 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36698 echo $ECHO_N "(cached) $ECHO_C" >&6
36700 cat >conftest.
$ac_ext <<_ACEOF
36703 cat confdefs.h
>>conftest.
$ac_ext
36704 cat >>conftest.
$ac_ext <<_ACEOF
36705 /* end confdefs.h. */
36706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36708 #define $ac_func innocuous_$ac_func
36710 /* System header to define __stub macros and hopefully few prototypes,
36711 which can conflict with char $ac_func (); below.
36712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36713 <limits.h> exists even on freestanding compilers. */
36716 # include <limits.h>
36718 # include <assert.h>
36723 /* Override any GCC internal prototype to avoid an error.
36724 Use char because int might match the return type of a GCC
36725 builtin and then its argument prototype would still apply. */
36730 /* The GNU C library defines this for functions which it implements
36731 to always fail with ENOSYS. Some functions are actually named
36732 something starting with __ and the normal name is an alias. */
36733 #if defined __stub_$ac_func || defined __stub___$ac_func
36740 return $ac_func ();
36745 rm -f conftest.
$ac_objext conftest
$ac_exeext
36746 if { (ac_try
="$ac_link"
36747 case "(($ac_try" in
36748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36749 *) ac_try_echo=$ac_try;;
36751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36752 (eval "$ac_link") 2>conftest.er1
36754 grep -v '^ *+' conftest.er1 >conftest.err
36756 cat conftest.err >&5
36757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36758 (exit $ac_status); } && {
36759 test -z "$ac_c_werror_flag" ||
36760 test ! -s conftest.err
36761 } && test -s conftest$ac_exeext &&
36762 $as_test_x conftest$ac_exeext; then
36763 eval "$as_ac_var=yes"
36765 echo "$as_me: failed program was:" >&5
36766 sed 's/^/| /' conftest.$ac_ext >&5
36768 eval "$as_ac_var=no"
36771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36772 conftest$ac_exeext conftest.$ac_ext
36774 ac_res=`eval echo '${'$as_ac_var'}'`
36775 { echo "$as_me:$LINENO: result: $ac_res" >&5
36776 echo "${ECHO_T}$ac_res" >&6; }
36777 if test `eval echo '${'$as_ac_var'}'` = yes; then
36778 cat >>confdefs.h <<_ACEOF
36779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36786 { echo "$as_me:$LINENO: checking for statfs" >&5
36787 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36788 if test "${wx_cv_func_statfs+set}" = set; then
36789 echo $ECHO_N "(cached) $ECHO_C" >&6
36791 cat >conftest.$ac_ext <<_ACEOF
36794 cat confdefs.h >>conftest.$ac_ext
36795 cat >>conftest.$ac_ext <<_ACEOF
36796 /* end confdefs.h. */
36798 #if defined(__BSD__)
36799 #include <sys/param.h>
36800 #include <sys/mount.h>
36802 #include <sys/vfs.h>
36820 rm -f conftest.$ac_objext
36821 if { (ac_try="$ac_compile"
36822 case "(($ac_try" in
36823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36824 *) ac_try_echo
=$ac_try;;
36826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36827 (eval "$ac_compile") 2>conftest.er1
36829 grep -v '^ *+' conftest.er1
>conftest.err
36831 cat conftest.err
>&5
36832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36833 (exit $ac_status); } && {
36834 test -z "$ac_c_werror_flag" ||
36835 test ! -s conftest.err
36836 } && test -s conftest.
$ac_objext; then
36837 wx_cv_func_statfs
=yes
36839 echo "$as_me: failed program was:" >&5
36840 sed 's/^/| /' conftest.
$ac_ext >&5
36842 wx_cv_func_statfs
=no
36846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36849 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36850 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36852 if test "$wx_cv_func_statfs" = "yes"; then
36853 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36854 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36855 if test "${wx_cv_func_statfs_decl+set}" = set; then
36856 echo $ECHO_N "(cached) $ECHO_C" >&6
36859 ac_cpp
='$CXXCPP $CPPFLAGS'
36860 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36861 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36862 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36864 cat >conftest.
$ac_ext <<_ACEOF
36867 cat confdefs.h
>>conftest.
$ac_ext
36868 cat >>conftest.
$ac_ext <<_ACEOF
36869 /* end confdefs.h. */
36871 #if defined(__BSD__)
36872 #include <sys/param.h>
36873 #include <sys/mount.h>
36875 #include <sys/vfs.h>
36889 rm -f conftest.
$ac_objext
36890 if { (ac_try
="$ac_compile"
36891 case "(($ac_try" in
36892 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36893 *) ac_try_echo=$ac_try;;
36895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36896 (eval "$ac_compile") 2>conftest.er1
36898 grep -v '^ *+' conftest.er1 >conftest.err
36900 cat conftest.err >&5
36901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36902 (exit $ac_status); } && {
36903 test -z "$ac_cxx_werror_flag" ||
36904 test ! -s conftest.err
36905 } && test -s conftest.$ac_objext; then
36906 wx_cv_func_statfs_decl=yes
36908 echo "$as_me: failed program was:" >&5
36909 sed 's/^/| /' conftest.$ac_ext >&5
36911 wx_cv_func_statfs_decl=no
36915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36917 ac_cpp='$CPP $CPPFLAGS'
36918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36924 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36925 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36927 if test "$wx_cv_func_statfs_decl" = "yes"; then
36928 cat >>confdefs.h <<\_ACEOF
36929 #define HAVE_STATFS_DECL 1
36934 wx_cv_type_statvfs_t="struct statfs"
36935 cat >>confdefs.h <<\_ACEOF
36936 #define HAVE_STATFS 1
36940 { echo "$as_me:$LINENO: checking for statvfs" >&5
36941 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36942 if test "${wx_cv_func_statvfs+set}" = set; then
36943 echo $ECHO_N "(cached) $ECHO_C" >&6
36945 cat >conftest.$ac_ext <<_ACEOF
36948 cat confdefs.h >>conftest.$ac_ext
36949 cat >>conftest.$ac_ext <<_ACEOF
36950 /* end confdefs.h. */
36952 #include <stddef.h>
36953 #include <sys/statvfs.h>
36959 statvfs("/", NULL);
36965 rm -f conftest.$ac_objext
36966 if { (ac_try="$ac_compile"
36967 case "(($ac_try" in
36968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36969 *) ac_try_echo
=$ac_try;;
36971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36972 (eval "$ac_compile") 2>conftest.er1
36974 grep -v '^ *+' conftest.er1
>conftest.err
36976 cat conftest.err
>&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); } && {
36979 test -z "$ac_c_werror_flag" ||
36980 test ! -s conftest.err
36981 } && test -s conftest.
$ac_objext; then
36982 wx_cv_func_statvfs
=yes
36984 echo "$as_me: failed program was:" >&5
36985 sed 's/^/| /' conftest.
$ac_ext >&5
36987 wx_cv_func_statvfs
=no
36991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36994 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36995 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36997 if test "$wx_cv_func_statvfs" = "yes"; then
36998 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36999 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37000 if test "${wx_cv_type_statvfs_t+set}" = set; then
37001 echo $ECHO_N "(cached) $ECHO_C" >&6
37004 ac_cpp
='$CXXCPP $CPPFLAGS'
37005 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37006 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37007 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37009 cat >conftest.
$ac_ext <<_ACEOF
37012 cat confdefs.h
>>conftest.
$ac_ext
37013 cat >>conftest.
$ac_ext <<_ACEOF
37014 /* end confdefs.h. */
37016 #include <sys/statvfs.h>
37033 rm -f conftest.
$ac_objext
37034 if { (ac_try
="$ac_compile"
37035 case "(($ac_try" in
37036 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37037 *) ac_try_echo=$ac_try;;
37039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37040 (eval "$ac_compile") 2>conftest.er1
37042 grep -v '^ *+' conftest.er1 >conftest.err
37044 cat conftest.err >&5
37045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37046 (exit $ac_status); } && {
37047 test -z "$ac_cxx_werror_flag" ||
37048 test ! -s conftest.err
37049 } && test -s conftest.$ac_objext; then
37050 wx_cv_type_statvfs_t=statvfs_t
37052 echo "$as_me: failed program was:" >&5
37053 sed 's/^/| /' conftest.$ac_ext >&5
37056 cat >conftest.$ac_ext <<_ACEOF
37059 cat confdefs.h >>conftest.$ac_ext
37060 cat >>conftest.$ac_ext <<_ACEOF
37061 /* end confdefs.h. */
37063 #include <sys/statvfs.h>
37080 rm -f conftest.$ac_objext
37081 if { (ac_try="$ac_compile"
37082 case "(($ac_try" in
37083 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37084 *) ac_try_echo
=$ac_try;;
37086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37087 (eval "$ac_compile") 2>conftest.er1
37089 grep -v '^ *+' conftest.er1
>conftest.err
37091 cat conftest.err
>&5
37092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37093 (exit $ac_status); } && {
37094 test -z "$ac_cxx_werror_flag" ||
37095 test ! -s conftest.err
37096 } && test -s conftest.
$ac_objext; then
37097 wx_cv_type_statvfs_t
="struct statvfs"
37099 echo "$as_me: failed program was:" >&5
37100 sed 's/^/| /' conftest.
$ac_ext >&5
37102 wx_cv_type_statvfs_t
="unknown"
37106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37113 ac_cpp
='$CPP $CPPFLAGS'
37114 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37115 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37116 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37120 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37121 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37123 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37124 cat >>confdefs.h
<<\_ACEOF
37125 #define HAVE_STATVFS 1
37130 wx_cv_type_statvfs_t
="unknown"
37134 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37135 cat >>confdefs.h
<<_ACEOF
37136 #define WX_STATFS_T $wx_cv_type_statvfs_t
37140 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37141 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37144 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37147 for ac_func
in fcntl flock
37149 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37150 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37152 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37153 echo $ECHO_N "(cached) $ECHO_C" >&6
37155 cat >conftest.
$ac_ext <<_ACEOF
37158 cat confdefs.h
>>conftest.
$ac_ext
37159 cat >>conftest.
$ac_ext <<_ACEOF
37160 /* end confdefs.h. */
37161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37163 #define $ac_func innocuous_$ac_func
37165 /* System header to define __stub macros and hopefully few prototypes,
37166 which can conflict with char $ac_func (); below.
37167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37168 <limits.h> exists even on freestanding compilers. */
37171 # include <limits.h>
37173 # include <assert.h>
37178 /* Override any GCC internal prototype to avoid an error.
37179 Use char because int might match the return type of a GCC
37180 builtin and then its argument prototype would still apply. */
37185 /* The GNU C library defines this for functions which it implements
37186 to always fail with ENOSYS. Some functions are actually named
37187 something starting with __ and the normal name is an alias. */
37188 #if defined __stub_$ac_func || defined __stub___$ac_func
37195 return $ac_func ();
37200 rm -f conftest.
$ac_objext conftest
$ac_exeext
37201 if { (ac_try
="$ac_link"
37202 case "(($ac_try" in
37203 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37204 *) ac_try_echo=$ac_try;;
37206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37207 (eval "$ac_link") 2>conftest.er1
37209 grep -v '^ *+' conftest.er1 >conftest.err
37211 cat conftest.err >&5
37212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37213 (exit $ac_status); } && {
37214 test -z "$ac_c_werror_flag" ||
37215 test ! -s conftest.err
37216 } && test -s conftest$ac_exeext &&
37217 $as_test_x conftest$ac_exeext; then
37218 eval "$as_ac_var=yes"
37220 echo "$as_me: failed program was:" >&5
37221 sed 's/^/| /' conftest.$ac_ext >&5
37223 eval "$as_ac_var=no"
37226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37227 conftest$ac_exeext conftest.$ac_ext
37229 ac_res=`eval echo '${'$as_ac_var'}'`
37230 { echo "$as_me:$LINENO: result: $ac_res" >&5
37231 echo "${ECHO_T}$ac_res" >&6; }
37232 if test `eval echo '${'$as_ac_var'}'` = yes; then
37233 cat >>confdefs.h <<_ACEOF
37234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37241 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37242 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37243 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37244 wxUSE_SNGLINST_CHECKER=no
37250 for ac_func in setenv putenv
37252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37253 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37256 echo $ECHO_N "(cached) $ECHO_C" >&6
37258 cat >conftest.$ac_ext <<_ACEOF
37261 cat confdefs.h >>conftest.$ac_ext
37262 cat >>conftest.$ac_ext <<_ACEOF
37263 /* end confdefs.h. */
37264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37266 #define $ac_func innocuous_$ac_func
37268 /* System header to define __stub macros and hopefully few prototypes,
37269 which can conflict with char $ac_func (); below.
37270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37271 <limits.h> exists even on freestanding compilers. */
37274 # include <limits.h>
37276 # include <assert.h>
37281 /* Override any GCC internal prototype to avoid an error.
37282 Use char because int might match the return type of a GCC
37283 builtin and then its argument prototype would still apply. */
37288 /* The GNU C library defines this for functions which it implements
37289 to always fail with ENOSYS. Some functions are actually named
37290 something starting with __ and the normal name is an alias. */
37291 #if defined __stub_$ac_func || defined __stub___$ac_func
37298 return $ac_func ();
37303 rm -f conftest.$ac_objext conftest$ac_exeext
37304 if { (ac_try="$ac_link"
37305 case "(($ac_try" in
37306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37307 *) ac_try_echo
=$ac_try;;
37309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37310 (eval "$ac_link") 2>conftest.er1
37312 grep -v '^ *+' conftest.er1
>conftest.err
37314 cat conftest.err
>&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); } && {
37317 test -z "$ac_c_werror_flag" ||
37318 test ! -s conftest.err
37319 } && test -s conftest
$ac_exeext &&
37320 $as_test_x conftest
$ac_exeext; then
37321 eval "$as_ac_var=yes"
37323 echo "$as_me: failed program was:" >&5
37324 sed 's/^/| /' conftest.
$ac_ext >&5
37326 eval "$as_ac_var=no"
37329 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37330 conftest
$ac_exeext conftest.
$ac_ext
37332 ac_res
=`eval echo '${'$as_ac_var'}'`
37333 { echo "$as_me:$LINENO: result: $ac_res" >&5
37334 echo "${ECHO_T}$ac_res" >&6; }
37335 if test `eval echo '${'$as_ac_var'}'` = yes; then
37336 cat >>confdefs.h
<<_ACEOF
37337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37343 if test "$ac_cv_func_setenv" = "yes"; then
37345 for ac_func
in unsetenv
37347 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37348 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37350 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37351 echo $ECHO_N "(cached) $ECHO_C" >&6
37353 cat >conftest.
$ac_ext <<_ACEOF
37356 cat confdefs.h
>>conftest.
$ac_ext
37357 cat >>conftest.
$ac_ext <<_ACEOF
37358 /* end confdefs.h. */
37359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37361 #define $ac_func innocuous_$ac_func
37363 /* System header to define __stub macros and hopefully few prototypes,
37364 which can conflict with char $ac_func (); below.
37365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37366 <limits.h> exists even on freestanding compilers. */
37369 # include <limits.h>
37371 # include <assert.h>
37376 /* Override any GCC internal prototype to avoid an error.
37377 Use char because int might match the return type of a GCC
37378 builtin and then its argument prototype would still apply. */
37383 /* The GNU C library defines this for functions which it implements
37384 to always fail with ENOSYS. Some functions are actually named
37385 something starting with __ and the normal name is an alias. */
37386 #if defined __stub_$ac_func || defined __stub___$ac_func
37393 return $ac_func ();
37398 rm -f conftest.
$ac_objext conftest
$ac_exeext
37399 if { (ac_try
="$ac_link"
37400 case "(($ac_try" in
37401 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37402 *) ac_try_echo=$ac_try;;
37404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37405 (eval "$ac_link") 2>conftest.er1
37407 grep -v '^ *+' conftest.er1 >conftest.err
37409 cat conftest.err >&5
37410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37411 (exit $ac_status); } && {
37412 test -z "$ac_c_werror_flag" ||
37413 test ! -s conftest.err
37414 } && test -s conftest$ac_exeext &&
37415 $as_test_x conftest$ac_exeext; then
37416 eval "$as_ac_var=yes"
37418 echo "$as_me: failed program was:" >&5
37419 sed 's/^/| /' conftest.$ac_ext >&5
37421 eval "$as_ac_var=no"
37424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37425 conftest$ac_exeext conftest.$ac_ext
37427 ac_res=`eval echo '${'$as_ac_var'}'`
37428 { echo "$as_me:$LINENO: result: $ac_res" >&5
37429 echo "${ECHO_T}$ac_res" >&6; }
37430 if test `eval echo '${'$as_ac_var'}'` = yes; then
37431 cat >>confdefs.h <<_ACEOF
37432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37440 HAVE_SOME_SLEEP_FUNC=0
37441 if test "$USE_BEOS" = 1; then
37442 cat >>confdefs.h <<\_ACEOF
37443 #define HAVE_SLEEP 1
37446 HAVE_SOME_SLEEP_FUNC=1
37449 if test "$USE_DARWIN" = 1; then
37450 cat >>confdefs.h <<\_ACEOF
37451 #define HAVE_USLEEP 1
37454 HAVE_SOME_SLEEP_FUNC=1
37457 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37460 for ac_func in nanosleep
37462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37463 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37465 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37466 echo $ECHO_N "(cached) $ECHO_C" >&6
37468 cat >conftest.$ac_ext <<_ACEOF
37471 cat confdefs.h >>conftest.$ac_ext
37472 cat >>conftest.$ac_ext <<_ACEOF
37473 /* end confdefs.h. */
37474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37476 #define $ac_func innocuous_$ac_func
37478 /* System header to define __stub macros and hopefully few prototypes,
37479 which can conflict with char $ac_func (); below.
37480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37481 <limits.h> exists even on freestanding compilers. */
37484 # include <limits.h>
37486 # include <assert.h>
37491 /* Override any GCC internal prototype to avoid an error.
37492 Use char because int might match the return type of a GCC
37493 builtin and then its argument prototype would still apply. */
37498 /* The GNU C library defines this for functions which it implements
37499 to always fail with ENOSYS. Some functions are actually named
37500 something starting with __ and the normal name is an alias. */
37501 #if defined __stub_$ac_func || defined __stub___$ac_func
37508 return $ac_func ();
37513 rm -f conftest.$ac_objext conftest$ac_exeext
37514 if { (ac_try="$ac_link"
37515 case "(($ac_try" in
37516 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37517 *) ac_try_echo
=$ac_try;;
37519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37520 (eval "$ac_link") 2>conftest.er1
37522 grep -v '^ *+' conftest.er1
>conftest.err
37524 cat conftest.err
>&5
37525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37526 (exit $ac_status); } && {
37527 test -z "$ac_c_werror_flag" ||
37528 test ! -s conftest.err
37529 } && test -s conftest
$ac_exeext &&
37530 $as_test_x conftest
$ac_exeext; then
37531 eval "$as_ac_var=yes"
37533 echo "$as_me: failed program was:" >&5
37534 sed 's/^/| /' conftest.
$ac_ext >&5
37536 eval "$as_ac_var=no"
37539 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37540 conftest
$ac_exeext conftest.
$ac_ext
37542 ac_res
=`eval echo '${'$as_ac_var'}'`
37543 { echo "$as_me:$LINENO: result: $ac_res" >&5
37544 echo "${ECHO_T}$ac_res" >&6; }
37545 if test `eval echo '${'$as_ac_var'}'` = yes; then
37546 cat >>confdefs.h
<<_ACEOF
37547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37549 cat >>confdefs.h
<<\_ACEOF
37550 #define HAVE_NANOSLEEP 1
37555 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37556 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37557 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37558 echo $ECHO_N "(cached) $ECHO_C" >&6
37560 ac_check_lib_save_LIBS
=$LIBS
37561 LIBS
="-lposix4 $LIBS"
37562 cat >conftest.
$ac_ext <<_ACEOF
37565 cat confdefs.h
>>conftest.
$ac_ext
37566 cat >>conftest.
$ac_ext <<_ACEOF
37567 /* end confdefs.h. */
37569 /* Override any GCC internal prototype to avoid an error.
37570 Use char because int might match the return type of a GCC
37571 builtin and then its argument prototype would still apply. */
37579 return nanosleep ();
37584 rm -f conftest.
$ac_objext conftest
$ac_exeext
37585 if { (ac_try
="$ac_link"
37586 case "(($ac_try" in
37587 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37588 *) ac_try_echo=$ac_try;;
37590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37591 (eval "$ac_link") 2>conftest.er1
37593 grep -v '^ *+' conftest.er1 >conftest.err
37595 cat conftest.err >&5
37596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37597 (exit $ac_status); } && {
37598 test -z "$ac_c_werror_flag" ||
37599 test ! -s conftest.err
37600 } && test -s conftest$ac_exeext &&
37601 $as_test_x conftest$ac_exeext; then
37602 ac_cv_lib_posix4_nanosleep=yes
37604 echo "$as_me: failed program was:" >&5
37605 sed 's/^/| /' conftest.$ac_ext >&5
37607 ac_cv_lib_posix4_nanosleep=no
37610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37611 conftest$ac_exeext conftest.$ac_ext
37612 LIBS=$ac_check_lib_save_LIBS
37614 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37615 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37616 if test $ac_cv_lib_posix4_nanosleep = yes; then
37618 cat >>confdefs.h <<\_ACEOF
37619 #define HAVE_NANOSLEEP 1
37622 POSIX4_LINK=" -lposix4"
37627 for wx_func in usleep
37629 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37630 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37631 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37632 echo $ECHO_N "(cached) $ECHO_C" >&6
37635 cat >conftest.$ac_ext <<_ACEOF
37639 cat confdefs.h >>conftest.$ac_ext
37640 cat >>conftest.$ac_ext <<_ACEOF
37641 /* end confdefs.h. */
37644 $ac_includes_default
37660 rm -f conftest.$ac_objext conftest$ac_exeext
37661 if { (ac_try="$ac_link"
37662 case "(($ac_try" in
37663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37664 *) ac_try_echo
=$ac_try;;
37666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37667 (eval "$ac_link") 2>conftest.er1
37669 grep -v '^ *+' conftest.er1
>conftest.err
37671 cat conftest.err
>&5
37672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37673 (exit $ac_status); } && {
37674 test -z "$ac_c_werror_flag" ||
37675 test ! -s conftest.err
37676 } && test -s conftest
$ac_exeext &&
37677 $as_test_x conftest
$ac_exeext; then
37678 eval wx_cv_func_
$wx_func=yes
37680 echo "$as_me: failed program was:" >&5
37681 sed 's/^/| /' conftest.
$ac_ext >&5
37683 eval wx_cv_func_
$wx_func=no
37686 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37687 conftest
$ac_exeext conftest.
$ac_ext
37690 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37691 { echo "$as_me:$LINENO: result: $ac_res" >&5
37692 echo "${ECHO_T}$ac_res" >&6; }
37694 if eval test \
$wx_cv_func_$wx_func = yes
37696 cat >>confdefs.h
<<_ACEOF
37697 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37703 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37704 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37721 for wx_func
in uname
37723 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37724 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37725 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37726 echo $ECHO_N "(cached) $ECHO_C" >&6
37729 cat >conftest.
$ac_ext <<_ACEOF
37733 cat confdefs.h
>>conftest.
$ac_ext
37734 cat >>conftest.
$ac_ext <<_ACEOF
37735 /* end confdefs.h. */
37737 #include <sys/utsname.h>
37738 $ac_includes_default
37754 rm -f conftest.
$ac_objext conftest
$ac_exeext
37755 if { (ac_try
="$ac_link"
37756 case "(($ac_try" in
37757 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37758 *) ac_try_echo=$ac_try;;
37760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37761 (eval "$ac_link") 2>conftest.er1
37763 grep -v '^ *+' conftest.er1 >conftest.err
37765 cat conftest.err >&5
37766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37767 (exit $ac_status); } && {
37768 test -z "$ac_c_werror_flag" ||
37769 test ! -s conftest.err
37770 } && test -s conftest$ac_exeext &&
37771 $as_test_x conftest$ac_exeext; then
37772 eval wx_cv_func_$wx_func=yes
37774 echo "$as_me: failed program was:" >&5
37775 sed 's/^/| /' conftest.$ac_ext >&5
37777 eval wx_cv_func_$wx_func=no
37780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37781 conftest$ac_exeext conftest.$ac_ext
37784 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37785 { echo "$as_me:$LINENO: result: $ac_res" >&5
37786 echo "${ECHO_T}$ac_res" >&6; }
37788 if eval test \$wx_cv_func_$wx_func = yes
37790 cat >>confdefs.h <<_ACEOF
37791 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37801 if test "$wx_cv_func_uname" != yes; then
37803 for wx_func in gethostname
37805 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37806 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37807 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37808 echo $ECHO_N "(cached) $ECHO_C" >&6
37811 cat >conftest.$ac_ext <<_ACEOF
37815 cat confdefs.h >>conftest.$ac_ext
37816 cat >>conftest.$ac_ext <<_ACEOF
37817 /* end confdefs.h. */
37820 $ac_includes_default
37836 rm -f conftest.$ac_objext conftest$ac_exeext
37837 if { (ac_try="$ac_link"
37838 case "(($ac_try" in
37839 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37840 *) ac_try_echo
=$ac_try;;
37842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37843 (eval "$ac_link") 2>conftest.er1
37845 grep -v '^ *+' conftest.er1
>conftest.err
37847 cat conftest.err
>&5
37848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37849 (exit $ac_status); } && {
37850 test -z "$ac_c_werror_flag" ||
37851 test ! -s conftest.err
37852 } && test -s conftest
$ac_exeext &&
37853 $as_test_x conftest
$ac_exeext; then
37854 eval wx_cv_func_
$wx_func=yes
37856 echo "$as_me: failed program was:" >&5
37857 sed 's/^/| /' conftest.
$ac_ext >&5
37859 eval wx_cv_func_
$wx_func=no
37862 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37863 conftest
$ac_exeext conftest.
$ac_ext
37866 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37867 { echo "$as_me:$LINENO: result: $ac_res" >&5
37868 echo "${ECHO_T}$ac_res" >&6; }
37870 if eval test \
$wx_cv_func_$wx_func = yes
37872 cat >>confdefs.h
<<_ACEOF
37873 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37886 for wx_func
in strtok_r
37888 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37889 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37890 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37891 echo $ECHO_N "(cached) $ECHO_C" >&6
37894 cat >conftest.
$ac_ext <<_ACEOF
37898 cat confdefs.h
>>conftest.
$ac_ext
37899 cat >>conftest.
$ac_ext <<_ACEOF
37900 /* end confdefs.h. */
37903 $ac_includes_default
37919 rm -f conftest.
$ac_objext conftest
$ac_exeext
37920 if { (ac_try
="$ac_link"
37921 case "(($ac_try" in
37922 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37923 *) ac_try_echo=$ac_try;;
37925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37926 (eval "$ac_link") 2>conftest.er1
37928 grep -v '^ *+' conftest.er1 >conftest.err
37930 cat conftest.err >&5
37931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37932 (exit $ac_status); } && {
37933 test -z "$ac_c_werror_flag" ||
37934 test ! -s conftest.err
37935 } && test -s conftest$ac_exeext &&
37936 $as_test_x conftest$ac_exeext; then
37937 eval wx_cv_func_$wx_func=yes
37939 echo "$as_me: failed program was:" >&5
37940 sed 's/^/| /' conftest.$ac_ext >&5
37942 eval wx_cv_func_$wx_func=no
37945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37946 conftest$ac_exeext conftest.$ac_ext
37949 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37950 { echo "$as_me:$LINENO: result: $ac_res" >&5
37951 echo "${ECHO_T}$ac_res" >&6; }
37953 if eval test \$wx_cv_func_$wx_func = yes
37955 cat >>confdefs.h <<_ACEOF
37956 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37969 for ac_func in inet_addr
37971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37972 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37974 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37975 echo $ECHO_N "(cached) $ECHO_C" >&6
37977 cat >conftest.$ac_ext <<_ACEOF
37980 cat confdefs.h >>conftest.$ac_ext
37981 cat >>conftest.$ac_ext <<_ACEOF
37982 /* end confdefs.h. */
37983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37985 #define $ac_func innocuous_$ac_func
37987 /* System header to define __stub macros and hopefully few prototypes,
37988 which can conflict with char $ac_func (); below.
37989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37990 <limits.h> exists even on freestanding compilers. */
37993 # include <limits.h>
37995 # include <assert.h>
38000 /* Override any GCC internal prototype to avoid an error.
38001 Use char because int might match the return type of a GCC
38002 builtin and then its argument prototype would still apply. */
38007 /* The GNU C library defines this for functions which it implements
38008 to always fail with ENOSYS. Some functions are actually named
38009 something starting with __ and the normal name is an alias. */
38010 #if defined __stub_$ac_func || defined __stub___$ac_func
38017 return $ac_func ();
38022 rm -f conftest.$ac_objext conftest$ac_exeext
38023 if { (ac_try="$ac_link"
38024 case "(($ac_try" in
38025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38026 *) ac_try_echo
=$ac_try;;
38028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38029 (eval "$ac_link") 2>conftest.er1
38031 grep -v '^ *+' conftest.er1
>conftest.err
38033 cat conftest.err
>&5
38034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38035 (exit $ac_status); } && {
38036 test -z "$ac_c_werror_flag" ||
38037 test ! -s conftest.err
38038 } && test -s conftest
$ac_exeext &&
38039 $as_test_x conftest
$ac_exeext; then
38040 eval "$as_ac_var=yes"
38042 echo "$as_me: failed program was:" >&5
38043 sed 's/^/| /' conftest.
$ac_ext >&5
38045 eval "$as_ac_var=no"
38048 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38049 conftest
$ac_exeext conftest.
$ac_ext
38051 ac_res
=`eval echo '${'$as_ac_var'}'`
38052 { echo "$as_me:$LINENO: result: $ac_res" >&5
38053 echo "${ECHO_T}$ac_res" >&6; }
38054 if test `eval echo '${'$as_ac_var'}'` = yes; then
38055 cat >>confdefs.h
<<_ACEOF
38056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38058 cat >>confdefs.h
<<\_ACEOF
38059 #define HAVE_INET_ADDR 1
38064 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38065 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38066 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38067 echo $ECHO_N "(cached) $ECHO_C" >&6
38069 ac_check_lib_save_LIBS
=$LIBS
38071 cat >conftest.
$ac_ext <<_ACEOF
38074 cat confdefs.h
>>conftest.
$ac_ext
38075 cat >>conftest.
$ac_ext <<_ACEOF
38076 /* end confdefs.h. */
38078 /* Override any GCC internal prototype to avoid an error.
38079 Use char because int might match the return type of a GCC
38080 builtin and then its argument prototype would still apply. */
38088 return inet_addr ();
38093 rm -f conftest.
$ac_objext conftest
$ac_exeext
38094 if { (ac_try
="$ac_link"
38095 case "(($ac_try" in
38096 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38097 *) ac_try_echo=$ac_try;;
38099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38100 (eval "$ac_link") 2>conftest.er1
38102 grep -v '^ *+' conftest.er1 >conftest.err
38104 cat conftest.err >&5
38105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38106 (exit $ac_status); } && {
38107 test -z "$ac_c_werror_flag" ||
38108 test ! -s conftest.err
38109 } && test -s conftest$ac_exeext &&
38110 $as_test_x conftest$ac_exeext; then
38111 ac_cv_lib_nsl_inet_addr=yes
38113 echo "$as_me: failed program was:" >&5
38114 sed 's/^/| /' conftest.$ac_ext >&5
38116 ac_cv_lib_nsl_inet_addr=no
38119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38120 conftest$ac_exeext conftest.$ac_ext
38121 LIBS=$ac_check_lib_save_LIBS
38123 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38124 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38125 if test $ac_cv_lib_nsl_inet_addr = yes; then
38129 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38130 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38131 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38132 echo $ECHO_N "(cached) $ECHO_C" >&6
38134 ac_check_lib_save_LIBS=$LIBS
38135 LIBS="-lresolv $LIBS"
38136 cat >conftest.$ac_ext <<_ACEOF
38139 cat confdefs.h >>conftest.$ac_ext
38140 cat >>conftest.$ac_ext <<_ACEOF
38141 /* end confdefs.h. */
38143 /* Override any GCC internal prototype to avoid an error.
38144 Use char because int might match the return type of a GCC
38145 builtin and then its argument prototype would still apply. */
38153 return inet_addr ();
38158 rm -f conftest.$ac_objext conftest$ac_exeext
38159 if { (ac_try="$ac_link"
38160 case "(($ac_try" in
38161 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38162 *) ac_try_echo
=$ac_try;;
38164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38165 (eval "$ac_link") 2>conftest.er1
38167 grep -v '^ *+' conftest.er1
>conftest.err
38169 cat conftest.err
>&5
38170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38171 (exit $ac_status); } && {
38172 test -z "$ac_c_werror_flag" ||
38173 test ! -s conftest.err
38174 } && test -s conftest
$ac_exeext &&
38175 $as_test_x conftest
$ac_exeext; then
38176 ac_cv_lib_resolv_inet_addr
=yes
38178 echo "$as_me: failed program was:" >&5
38179 sed 's/^/| /' conftest.
$ac_ext >&5
38181 ac_cv_lib_resolv_inet_addr
=no
38184 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38185 conftest
$ac_exeext conftest.
$ac_ext
38186 LIBS
=$ac_check_lib_save_LIBS
38188 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38189 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38190 if test $ac_cv_lib_resolv_inet_addr = yes; then
38194 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38195 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38196 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38197 echo $ECHO_N "(cached) $ECHO_C" >&6
38199 ac_check_lib_save_LIBS
=$LIBS
38200 LIBS
="-lsocket $LIBS"
38201 cat >conftest.
$ac_ext <<_ACEOF
38204 cat confdefs.h
>>conftest.
$ac_ext
38205 cat >>conftest.
$ac_ext <<_ACEOF
38206 /* end confdefs.h. */
38208 /* Override any GCC internal prototype to avoid an error.
38209 Use char because int might match the return type of a GCC
38210 builtin and then its argument prototype would still apply. */
38218 return inet_addr ();
38223 rm -f conftest.
$ac_objext conftest
$ac_exeext
38224 if { (ac_try
="$ac_link"
38225 case "(($ac_try" in
38226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38227 *) ac_try_echo=$ac_try;;
38229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38230 (eval "$ac_link") 2>conftest.er1
38232 grep -v '^ *+' conftest.er1 >conftest.err
38234 cat conftest.err >&5
38235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38236 (exit $ac_status); } && {
38237 test -z "$ac_c_werror_flag" ||
38238 test ! -s conftest.err
38239 } && test -s conftest$ac_exeext &&
38240 $as_test_x conftest$ac_exeext; then
38241 ac_cv_lib_socket_inet_addr=yes
38243 echo "$as_me: failed program was:" >&5
38244 sed 's/^/| /' conftest.$ac_ext >&5
38246 ac_cv_lib_socket_inet_addr=no
38249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38250 conftest$ac_exeext conftest.$ac_ext
38251 LIBS=$ac_check_lib_save_LIBS
38253 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38254 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38255 if test $ac_cv_lib_socket_inet_addr = yes; then
38275 for ac_func in inet_aton
38277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38278 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38280 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38281 echo $ECHO_N "(cached) $ECHO_C" >&6
38283 cat >conftest.$ac_ext <<_ACEOF
38286 cat confdefs.h >>conftest.$ac_ext
38287 cat >>conftest.$ac_ext <<_ACEOF
38288 /* end confdefs.h. */
38289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38291 #define $ac_func innocuous_$ac_func
38293 /* System header to define __stub macros and hopefully few prototypes,
38294 which can conflict with char $ac_func (); below.
38295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38296 <limits.h> exists even on freestanding compilers. */
38299 # include <limits.h>
38301 # include <assert.h>
38306 /* Override any GCC internal prototype to avoid an error.
38307 Use char because int might match the return type of a GCC
38308 builtin and then its argument prototype would still apply. */
38313 /* The GNU C library defines this for functions which it implements
38314 to always fail with ENOSYS. Some functions are actually named
38315 something starting with __ and the normal name is an alias. */
38316 #if defined __stub_$ac_func || defined __stub___$ac_func
38323 return $ac_func ();
38328 rm -f conftest.$ac_objext conftest$ac_exeext
38329 if { (ac_try="$ac_link"
38330 case "(($ac_try" in
38331 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38332 *) ac_try_echo
=$ac_try;;
38334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38335 (eval "$ac_link") 2>conftest.er1
38337 grep -v '^ *+' conftest.er1
>conftest.err
38339 cat conftest.err
>&5
38340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38341 (exit $ac_status); } && {
38342 test -z "$ac_c_werror_flag" ||
38343 test ! -s conftest.err
38344 } && test -s conftest
$ac_exeext &&
38345 $as_test_x conftest
$ac_exeext; then
38346 eval "$as_ac_var=yes"
38348 echo "$as_me: failed program was:" >&5
38349 sed 's/^/| /' conftest.
$ac_ext >&5
38351 eval "$as_ac_var=no"
38354 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38355 conftest
$ac_exeext conftest.
$ac_ext
38357 ac_res
=`eval echo '${'$as_ac_var'}'`
38358 { echo "$as_me:$LINENO: result: $ac_res" >&5
38359 echo "${ECHO_T}$ac_res" >&6; }
38360 if test `eval echo '${'$as_ac_var'}'` = yes; then
38361 cat >>confdefs.h
<<_ACEOF
38362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38364 cat >>confdefs.h
<<\_ACEOF
38365 #define HAVE_INET_ATON 1
38370 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38371 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38372 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38373 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38374 echo $ECHO_N "(cached) $ECHO_C" >&6
38376 ac_check_lib_save_LIBS
=$LIBS
38377 LIBS
="-l$INET_LINK $LIBS"
38378 cat >conftest.
$ac_ext <<_ACEOF
38381 cat confdefs.h
>>conftest.
$ac_ext
38382 cat >>conftest.
$ac_ext <<_ACEOF
38383 /* end confdefs.h. */
38385 /* Override any GCC internal prototype to avoid an error.
38386 Use char because int might match the return type of a GCC
38387 builtin and then its argument prototype would still apply. */
38395 return inet_aton ();
38400 rm -f conftest.
$ac_objext conftest
$ac_exeext
38401 if { (ac_try
="$ac_link"
38402 case "(($ac_try" in
38403 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38404 *) ac_try_echo=$ac_try;;
38406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38407 (eval "$ac_link") 2>conftest.er1
38409 grep -v '^ *+' conftest.er1 >conftest.err
38411 cat conftest.err >&5
38412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38413 (exit $ac_status); } && {
38414 test -z "$ac_c_werror_flag" ||
38415 test ! -s conftest.err
38416 } && test -s conftest$ac_exeext &&
38417 $as_test_x conftest$ac_exeext; then
38418 eval "$as_ac_Lib=yes"
38420 echo "$as_me: failed program was:" >&5
38421 sed 's/^/| /' conftest.$ac_ext >&5
38423 eval "$as_ac_Lib=no"
38426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38427 conftest$ac_exeext conftest.$ac_ext
38428 LIBS=$ac_check_lib_save_LIBS
38430 ac_res=`eval echo '${'$as_ac_Lib'}'`
38431 { echo "$as_me:$LINENO: result: $ac_res" >&5
38432 echo "${ECHO_T}$ac_res" >&6; }
38433 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38434 cat >>confdefs.h <<\_ACEOF
38435 #define HAVE_INET_ATON 1
38445 if test "x$INET_LINK" != "x"; then
38446 cat >>confdefs.h <<\_ACEOF
38447 #define HAVE_INET_ADDR 1
38450 INET_LINK=" -l$INET_LINK"
38454 for wx_func in fdopen
38456 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38457 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38458 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38459 echo $ECHO_N "(cached) $ECHO_C" >&6
38462 cat >conftest.$ac_ext <<_ACEOF
38466 cat confdefs.h >>conftest.$ac_ext
38467 cat >>conftest.$ac_ext <<_ACEOF
38468 /* end confdefs.h. */
38471 $ac_includes_default
38487 rm -f conftest.$ac_objext conftest$ac_exeext
38488 if { (ac_try="$ac_link"
38489 case "(($ac_try" in
38490 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38491 *) ac_try_echo
=$ac_try;;
38493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38494 (eval "$ac_link") 2>conftest.er1
38496 grep -v '^ *+' conftest.er1
>conftest.err
38498 cat conftest.err
>&5
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); } && {
38501 test -z "$ac_c_werror_flag" ||
38502 test ! -s conftest.err
38503 } && test -s conftest
$ac_exeext &&
38504 $as_test_x conftest
$ac_exeext; then
38505 eval wx_cv_func_
$wx_func=yes
38507 echo "$as_me: failed program was:" >&5
38508 sed 's/^/| /' conftest.
$ac_ext >&5
38510 eval wx_cv_func_
$wx_func=no
38513 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38514 conftest
$ac_exeext conftest.
$ac_ext
38517 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38518 { echo "$as_me:$LINENO: result: $ac_res" >&5
38519 echo "${ECHO_T}$ac_res" >&6; }
38521 if eval test \
$wx_cv_func_$wx_func = yes
38523 cat >>confdefs.h
<<_ACEOF
38524 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38535 if test "$wxUSE_TARSTREAM" = "yes"; then
38537 for wx_func
in sysconf
38539 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38540 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38541 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38545 cat >conftest.
$ac_ext <<_ACEOF
38549 cat confdefs.h
>>conftest.
$ac_ext
38550 cat >>conftest.
$ac_ext <<_ACEOF
38551 /* end confdefs.h. */
38554 $ac_includes_default
38570 rm -f conftest.
$ac_objext conftest
$ac_exeext
38571 if { (ac_try
="$ac_link"
38572 case "(($ac_try" in
38573 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38574 *) ac_try_echo=$ac_try;;
38576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38577 (eval "$ac_link") 2>conftest.er1
38579 grep -v '^ *+' conftest.er1 >conftest.err
38581 cat conftest.err >&5
38582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38583 (exit $ac_status); } && {
38584 test -z "$ac_c_werror_flag" ||
38585 test ! -s conftest.err
38586 } && test -s conftest$ac_exeext &&
38587 $as_test_x conftest$ac_exeext; then
38588 eval wx_cv_func_$wx_func=yes
38590 echo "$as_me: failed program was:" >&5
38591 sed 's/^/| /' conftest.$ac_ext >&5
38593 eval wx_cv_func_$wx_func=no
38596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38597 conftest$ac_exeext conftest.$ac_ext
38600 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38601 { echo "$as_me:$LINENO: result: $ac_res" >&5
38602 echo "${ECHO_T}$ac_res" >&6; }
38604 if eval test \$wx_cv_func_$wx_func = yes
38606 cat >>confdefs.h <<_ACEOF
38607 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38619 for wx_func in getpwuid_r
38621 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38622 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38623 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38624 echo $ECHO_N "(cached) $ECHO_C" >&6
38627 cat >conftest.$ac_ext <<_ACEOF
38631 cat confdefs.h >>conftest.$ac_ext
38632 cat >>conftest.$ac_ext <<_ACEOF
38633 /* end confdefs.h. */
38639 $ac_includes_default
38649 struct passwd pw, *ppw;
38651 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38659 rm -f conftest.$ac_objext conftest$ac_exeext
38660 if { (ac_try="$ac_link"
38661 case "(($ac_try" in
38662 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38663 *) ac_try_echo
=$ac_try;;
38665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38666 (eval "$ac_link") 2>conftest.er1
38668 grep -v '^ *+' conftest.er1
>conftest.err
38670 cat conftest.err
>&5
38671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38672 (exit $ac_status); } && {
38673 test -z "$ac_c_werror_flag" ||
38674 test ! -s conftest.err
38675 } && test -s conftest
$ac_exeext &&
38676 $as_test_x conftest
$ac_exeext; then
38677 eval wx_cv_func_
$wx_func=yes
38679 echo "$as_me: failed program was:" >&5
38680 sed 's/^/| /' conftest.
$ac_ext >&5
38682 eval wx_cv_func_
$wx_func=no
38685 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38686 conftest
$ac_exeext conftest.
$ac_ext
38689 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38690 { echo "$as_me:$LINENO: result: $ac_res" >&5
38691 echo "${ECHO_T}$ac_res" >&6; }
38693 if eval test \
$wx_cv_func_$wx_func = yes
38695 cat >>confdefs.h
<<_ACEOF
38696 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38708 for wx_func
in getgrgid_r
38710 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38711 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38712 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38713 echo $ECHO_N "(cached) $ECHO_C" >&6
38716 cat >conftest.
$ac_ext <<_ACEOF
38720 cat confdefs.h
>>conftest.
$ac_ext
38721 cat >>conftest.
$ac_ext <<_ACEOF
38722 /* end confdefs.h. */
38728 $ac_includes_default
38738 struct group grp, *pgrp;
38740 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38748 rm -f conftest.
$ac_objext conftest
$ac_exeext
38749 if { (ac_try
="$ac_link"
38750 case "(($ac_try" in
38751 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38752 *) ac_try_echo=$ac_try;;
38754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38755 (eval "$ac_link") 2>conftest.er1
38757 grep -v '^ *+' conftest.er1 >conftest.err
38759 cat conftest.err >&5
38760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38761 (exit $ac_status); } && {
38762 test -z "$ac_c_werror_flag" ||
38763 test ! -s conftest.err
38764 } && test -s conftest$ac_exeext &&
38765 $as_test_x conftest$ac_exeext; then
38766 eval wx_cv_func_$wx_func=yes
38768 echo "$as_me: failed program was:" >&5
38769 sed 's/^/| /' conftest.$ac_ext >&5
38771 eval wx_cv_func_$wx_func=no
38774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38775 conftest$ac_exeext conftest.$ac_ext
38778 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38779 { echo "$as_me:$LINENO: result: $ac_res" >&5
38780 echo "${ECHO_T}$ac_res" >&6; }
38782 if eval test \$wx_cv_func_$wx_func = yes
38784 cat >>confdefs.h <<_ACEOF
38785 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38801 cat >confcache <<\_ACEOF
38802 # This file is a shell script that caches the results of configure
38803 # tests run on this system so they can be shared between configure
38804 # scripts and configure runs, see configure's option --config-cache.
38805 # It is not useful on other systems. If it contains results you don't
38806 # want to keep, you may remove or edit it.
38808 # config.status only pays attention to the cache file if you give it
38809 # the --recheck option to rerun configure.
38811 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38812 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38813 # following values.
38817 # The following way of writing the cache mishandles newlines in values,
38818 # but we know of no workaround that is simple, portable, and efficient.
38819 # So, we kill variables containing newlines.
38820 # Ultrix sh set writes to stderr and can't be redirected directly,
38821 # and sets the high bit in the cache file unless we assign to the vars.
38823 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38824 eval ac_val
=\$
$ac_var
38828 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38829 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38832 _
| IFS
| as_nl
) ;; #(
38833 *) $as_unset $ac_var ;;
38839 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38840 *${as_nl}ac_space
=\
*)
38841 # `set' does not quote correctly, so add quotes (double-quote
38842 # substitution turns \\\\ into \\, and sed turns \\ into \).
38845 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38848 # `set' quotes correctly as required by POSIX, so do not add quotes.
38849 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38858 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38860 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38862 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38863 if test -w "$cache_file"; then
38864 test "x$cache_file" != "x/dev/null" &&
38865 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38866 echo "$as_me: updating cache $cache_file" >&6;}
38867 cat confcache
>$cache_file
38869 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38870 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38876 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38882 if test "$wxUSE_THREADS" = "yes" ; then
38883 if test "$USE_BEOS" = 1; then
38884 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38885 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38890 if test "$wxUSE_THREADS" = "yes" ; then
38893 THREAD_OPTS
="-pthread"
38894 if test "x$SUNCXX" = xyes
; then
38895 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38899 *-*-solaris2* | *-*-sunos4* )
38900 if test "x$GCC" = "xyes"; then
38901 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38905 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38907 *-*-darwin* | *-*-cygwin* )
38911 THREAD_OPTS
="pthreads"
38914 if test "x$GCC" = "xyes"; then
38915 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38923 if test "x$GCC" = "xyes"; then
38929 if test "x$GCC" != "xyes"; then
38930 THREAD_OPTS
="-Ethread"
38935 THREAD_OPTS
="$THREAD_OPTS pthread none"
38938 for flag
in $THREAD_OPTS; do
38941 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38942 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38946 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38947 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38948 THREADS_CFLAGS
="$flag"
38952 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38953 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38954 THREADS_LINK
="-l$flag"
38959 save_CFLAGS
="$CFLAGS"
38960 LIBS
="$THREADS_LINK $LIBS"
38961 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38963 cat >conftest.
$ac_ext <<_ACEOF
38966 cat confdefs.h
>>conftest.
$ac_ext
38967 cat >>conftest.
$ac_ext <<_ACEOF
38968 /* end confdefs.h. */
38969 #include <pthread.h>
38973 pthread_create(0,0,0,0);
38978 rm -f conftest.
$ac_objext conftest
$ac_exeext
38979 if { (ac_try
="$ac_link"
38980 case "(($ac_try" in
38981 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38982 *) ac_try_echo=$ac_try;;
38984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38985 (eval "$ac_link") 2>conftest.er1
38987 grep -v '^ *+' conftest.er1 >conftest.err
38989 cat conftest.err >&5
38990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38991 (exit $ac_status); } && {
38992 test -z "$ac_c_werror_flag" ||
38993 test ! -s conftest.err
38994 } && test -s conftest$ac_exeext &&
38995 $as_test_x conftest$ac_exeext; then
38998 echo "$as_me: failed program was:" >&5
38999 sed 's/^/| /' conftest.$ac_ext >&5
39004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39005 conftest$ac_exeext conftest.$ac_ext
39008 CFLAGS="$save_CFLAGS"
39010 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39011 echo "${ECHO_T}$THREADS_OK" >&6; }
39012 if test "x$THREADS_OK" = "xyes"; then
39020 if test "x$THREADS_OK" != "xyes"; then
39022 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39023 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39025 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39026 LIBS="$THREADS_LINK $LIBS"
39028 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39029 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39033 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39034 flag="-D_THREAD_SAFE"
39037 flag="-D_THREAD_SAFE"
39040 flag="-D_REENTRANT"
39041 if test "x$GCC" != "xyes"; then
39042 flag="$flag -D_RWSTD_MULTI_THREAD"
39045 *solaris* | alpha*-osf*)
39046 flag="-D_REENTRANT"
39049 { echo "$as_me:$LINENO: result: ${flag}" >&5
39050 echo "${ECHO_T}${flag}" >&6; }
39051 if test "x$flag" != xno; then
39052 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39055 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39059 if test "$wxUSE_THREADS" = "yes" ; then
39061 for ac_func in thr_setconcurrency
39063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39064 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39066 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39067 echo $ECHO_N "(cached) $ECHO_C" >&6
39069 cat >conftest.$ac_ext <<_ACEOF
39072 cat confdefs.h >>conftest.$ac_ext
39073 cat >>conftest.$ac_ext <<_ACEOF
39074 /* end confdefs.h. */
39075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39077 #define $ac_func innocuous_$ac_func
39079 /* System header to define __stub macros and hopefully few prototypes,
39080 which can conflict with char $ac_func (); below.
39081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39082 <limits.h> exists even on freestanding compilers. */
39085 # include <limits.h>
39087 # include <assert.h>
39092 /* Override any GCC internal prototype to avoid an error.
39093 Use char because int might match the return type of a GCC
39094 builtin and then its argument prototype would still apply. */
39099 /* The GNU C library defines this for functions which it implements
39100 to always fail with ENOSYS. Some functions are actually named
39101 something starting with __ and the normal name is an alias. */
39102 #if defined __stub_$ac_func || defined __stub___$ac_func
39109 return $ac_func ();
39114 rm -f conftest.$ac_objext conftest$ac_exeext
39115 if { (ac_try="$ac_link"
39116 case "(($ac_try" in
39117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39118 *) ac_try_echo
=$ac_try;;
39120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39121 (eval "$ac_link") 2>conftest.er1
39123 grep -v '^ *+' conftest.er1
>conftest.err
39125 cat conftest.err
>&5
39126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39127 (exit $ac_status); } && {
39128 test -z "$ac_c_werror_flag" ||
39129 test ! -s conftest.err
39130 } && test -s conftest
$ac_exeext &&
39131 $as_test_x conftest
$ac_exeext; then
39132 eval "$as_ac_var=yes"
39134 echo "$as_me: failed program was:" >&5
39135 sed 's/^/| /' conftest.
$ac_ext >&5
39137 eval "$as_ac_var=no"
39140 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39141 conftest
$ac_exeext conftest.
$ac_ext
39143 ac_res
=`eval echo '${'$as_ac_var'}'`
39144 { echo "$as_me:$LINENO: result: $ac_res" >&5
39145 echo "${ECHO_T}$ac_res" >&6; }
39146 if test `eval echo '${'$as_ac_var'}'` = yes; then
39147 cat >>confdefs.h
<<_ACEOF
39148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39155 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39156 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39157 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39158 echo $ECHO_N "(cached) $ECHO_C" >&6
39162 ac_cpp
='$CXXCPP $CPPFLAGS'
39163 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39164 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39165 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39167 cat >conftest.
$ac_ext <<_ACEOF
39170 cat confdefs.h
>>conftest.
$ac_ext
39171 cat >>conftest.
$ac_ext <<_ACEOF
39172 /* end confdefs.h. */
39173 #include <pthread.h>
39174 void ThreadCleanupFunc(void *p);
39181 pthread_cleanup_push(ThreadCleanupFunc, p);
39182 pthread_cleanup_pop(0);
39188 rm -f conftest.
$ac_objext
39189 if { (ac_try
="$ac_compile"
39190 case "(($ac_try" in
39191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39192 *) ac_try_echo=$ac_try;;
39194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39195 (eval "$ac_compile") 2>conftest.er1
39197 grep -v '^ *+' conftest.er1 >conftest.err
39199 cat conftest.err >&5
39200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39201 (exit $ac_status); } && {
39202 test -z "$ac_cxx_werror_flag" ||
39203 test ! -s conftest.err
39204 } && test -s conftest.$ac_objext; then
39206 wx_cv_func_pthread_cleanup=yes
39209 echo "$as_me: failed program was:" >&5
39210 sed 's/^/| /' conftest.$ac_ext >&5
39213 wx_cv_func_pthread_cleanup=no
39218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39220 ac_cpp='$CPP $CPPFLAGS'
39221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39227 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39228 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39229 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39230 cat >>confdefs.h <<\_ACEOF
39231 #define wxHAVE_PTHREAD_CLEANUP 1
39237 for ac_header in sched.h
39239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39240 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39242 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39243 echo $ECHO_N "(cached) $ECHO_C" >&6
39245 cat >conftest.$ac_ext <<_ACEOF
39248 cat confdefs.h >>conftest.$ac_ext
39249 cat >>conftest.$ac_ext <<_ACEOF
39250 /* end confdefs.h. */
39251 $ac_includes_default
39253 #include <$ac_header>
39255 rm -f conftest.$ac_objext
39256 if { (ac_try="$ac_compile"
39257 case "(($ac_try" in
39258 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39259 *) ac_try_echo
=$ac_try;;
39261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39262 (eval "$ac_compile") 2>conftest.er1
39264 grep -v '^ *+' conftest.er1
>conftest.err
39266 cat conftest.err
>&5
39267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268 (exit $ac_status); } && {
39269 test -z "$ac_c_werror_flag" ||
39270 test ! -s conftest.err
39271 } && test -s conftest.
$ac_objext; then
39272 eval "$as_ac_Header=yes"
39274 echo "$as_me: failed program was:" >&5
39275 sed 's/^/| /' conftest.
$ac_ext >&5
39277 eval "$as_ac_Header=no"
39280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39282 ac_res
=`eval echo '${'$as_ac_Header'}'`
39283 { echo "$as_me:$LINENO: result: $ac_res" >&5
39284 echo "${ECHO_T}$ac_res" >&6; }
39285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39286 cat >>confdefs.h
<<_ACEOF
39287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39294 if test "$ac_cv_header_sched_h" = "yes"; then
39295 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39296 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39297 if test "${ac_cv_func_sched_yield+set}" = set; then
39298 echo $ECHO_N "(cached) $ECHO_C" >&6
39300 cat >conftest.
$ac_ext <<_ACEOF
39303 cat confdefs.h
>>conftest.
$ac_ext
39304 cat >>conftest.
$ac_ext <<_ACEOF
39305 /* end confdefs.h. */
39306 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39308 #define sched_yield innocuous_sched_yield
39310 /* System header to define __stub macros and hopefully few prototypes,
39311 which can conflict with char sched_yield (); below.
39312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39313 <limits.h> exists even on freestanding compilers. */
39316 # include <limits.h>
39318 # include <assert.h>
39323 /* Override any GCC internal prototype to avoid an error.
39324 Use char because int might match the return type of a GCC
39325 builtin and then its argument prototype would still apply. */
39329 char sched_yield ();
39330 /* The GNU C library defines this for functions which it implements
39331 to always fail with ENOSYS. Some functions are actually named
39332 something starting with __ and the normal name is an alias. */
39333 #if defined __stub_sched_yield || defined __stub___sched_yield
39340 return sched_yield ();
39345 rm -f conftest.
$ac_objext conftest
$ac_exeext
39346 if { (ac_try
="$ac_link"
39347 case "(($ac_try" in
39348 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39349 *) ac_try_echo=$ac_try;;
39351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39352 (eval "$ac_link") 2>conftest.er1
39354 grep -v '^ *+' conftest.er1 >conftest.err
39356 cat conftest.err >&5
39357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39358 (exit $ac_status); } && {
39359 test -z "$ac_c_werror_flag" ||
39360 test ! -s conftest.err
39361 } && test -s conftest$ac_exeext &&
39362 $as_test_x conftest$ac_exeext; then
39363 ac_cv_func_sched_yield=yes
39365 echo "$as_me: failed program was:" >&5
39366 sed 's/^/| /' conftest.$ac_ext >&5
39368 ac_cv_func_sched_yield=no
39371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39372 conftest$ac_exeext conftest.$ac_ext
39374 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39375 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39376 if test $ac_cv_func_sched_yield = yes; then
39377 cat >>confdefs.h <<\_ACEOF
39378 #define HAVE_SCHED_YIELD 1
39383 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39384 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39385 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39386 echo $ECHO_N "(cached) $ECHO_C" >&6
39388 ac_check_lib_save_LIBS=$LIBS
39389 LIBS="-lposix4 $LIBS"
39390 cat >conftest.$ac_ext <<_ACEOF
39393 cat confdefs.h >>conftest.$ac_ext
39394 cat >>conftest.$ac_ext <<_ACEOF
39395 /* end confdefs.h. */
39397 /* Override any GCC internal prototype to avoid an error.
39398 Use char because int might match the return type of a GCC
39399 builtin and then its argument prototype would still apply. */
39403 char sched_yield ();
39407 return sched_yield ();
39412 rm -f conftest.$ac_objext conftest$ac_exeext
39413 if { (ac_try="$ac_link"
39414 case "(($ac_try" in
39415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39416 *) ac_try_echo
=$ac_try;;
39418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39419 (eval "$ac_link") 2>conftest.er1
39421 grep -v '^ *+' conftest.er1
>conftest.err
39423 cat conftest.err
>&5
39424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39425 (exit $ac_status); } && {
39426 test -z "$ac_c_werror_flag" ||
39427 test ! -s conftest.err
39428 } && test -s conftest
$ac_exeext &&
39429 $as_test_x conftest
$ac_exeext; then
39430 ac_cv_lib_posix4_sched_yield
=yes
39432 echo "$as_me: failed program was:" >&5
39433 sed 's/^/| /' conftest.
$ac_ext >&5
39435 ac_cv_lib_posix4_sched_yield
=no
39438 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39439 conftest
$ac_exeext conftest.
$ac_ext
39440 LIBS
=$ac_check_lib_save_LIBS
39442 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39443 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39444 if test $ac_cv_lib_posix4_sched_yield = yes; then
39445 cat >>confdefs.h
<<\_ACEOF
39446 #define HAVE_SCHED_YIELD 1
39448 POSIX4_LINK
=" -lposix4"
39450 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39451 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39462 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39463 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39464 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39465 echo $ECHO_N "(cached) $ECHO_C" >&6
39467 cat >conftest.
$ac_ext <<_ACEOF
39470 cat confdefs.h
>>conftest.
$ac_ext
39471 cat >>conftest.
$ac_ext <<_ACEOF
39472 /* end confdefs.h. */
39473 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39475 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39477 /* System header to define __stub macros and hopefully few prototypes,
39478 which can conflict with char pthread_attr_getschedpolicy (); below.
39479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39480 <limits.h> exists even on freestanding compilers. */
39483 # include <limits.h>
39485 # include <assert.h>
39488 #undef pthread_attr_getschedpolicy
39490 /* Override any GCC internal prototype to avoid an error.
39491 Use char because int might match the return type of a GCC
39492 builtin and then its argument prototype would still apply. */
39496 char pthread_attr_getschedpolicy ();
39497 /* The GNU C library defines this for functions which it implements
39498 to always fail with ENOSYS. Some functions are actually named
39499 something starting with __ and the normal name is an alias. */
39500 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39507 return pthread_attr_getschedpolicy ();
39512 rm -f conftest.
$ac_objext conftest
$ac_exeext
39513 if { (ac_try
="$ac_link"
39514 case "(($ac_try" in
39515 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39516 *) ac_try_echo=$ac_try;;
39518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39519 (eval "$ac_link") 2>conftest.er1
39521 grep -v '^ *+' conftest.er1 >conftest.err
39523 cat conftest.err >&5
39524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39525 (exit $ac_status); } && {
39526 test -z "$ac_c_werror_flag" ||
39527 test ! -s conftest.err
39528 } && test -s conftest$ac_exeext &&
39529 $as_test_x conftest$ac_exeext; then
39530 ac_cv_func_pthread_attr_getschedpolicy=yes
39532 echo "$as_me: failed program was:" >&5
39533 sed 's/^/| /' conftest.$ac_ext >&5
39535 ac_cv_func_pthread_attr_getschedpolicy=no
39538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39539 conftest$ac_exeext conftest.$ac_ext
39541 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39542 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39543 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39544 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39545 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39546 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39547 echo $ECHO_N "(cached) $ECHO_C" >&6
39549 cat >conftest.$ac_ext <<_ACEOF
39552 cat confdefs.h >>conftest.$ac_ext
39553 cat >>conftest.$ac_ext <<_ACEOF
39554 /* end confdefs.h. */
39555 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39557 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39559 /* System header to define __stub macros and hopefully few prototypes,
39560 which can conflict with char pthread_attr_setschedparam (); below.
39561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39562 <limits.h> exists even on freestanding compilers. */
39565 # include <limits.h>
39567 # include <assert.h>
39570 #undef pthread_attr_setschedparam
39572 /* Override any GCC internal prototype to avoid an error.
39573 Use char because int might match the return type of a GCC
39574 builtin and then its argument prototype would still apply. */
39578 char pthread_attr_setschedparam ();
39579 /* The GNU C library defines this for functions which it implements
39580 to always fail with ENOSYS. Some functions are actually named
39581 something starting with __ and the normal name is an alias. */
39582 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39589 return pthread_attr_setschedparam ();
39594 rm -f conftest.$ac_objext conftest$ac_exeext
39595 if { (ac_try="$ac_link"
39596 case "(($ac_try" in
39597 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39598 *) ac_try_echo
=$ac_try;;
39600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39601 (eval "$ac_link") 2>conftest.er1
39603 grep -v '^ *+' conftest.er1
>conftest.err
39605 cat conftest.err
>&5
39606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39607 (exit $ac_status); } && {
39608 test -z "$ac_c_werror_flag" ||
39609 test ! -s conftest.err
39610 } && test -s conftest
$ac_exeext &&
39611 $as_test_x conftest
$ac_exeext; then
39612 ac_cv_func_pthread_attr_setschedparam
=yes
39614 echo "$as_me: failed program was:" >&5
39615 sed 's/^/| /' conftest.
$ac_ext >&5
39617 ac_cv_func_pthread_attr_setschedparam
=no
39620 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39621 conftest
$ac_exeext conftest.
$ac_ext
39623 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39624 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39625 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39626 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39627 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39628 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39629 echo $ECHO_N "(cached) $ECHO_C" >&6
39631 cat >conftest.
$ac_ext <<_ACEOF
39634 cat confdefs.h
>>conftest.
$ac_ext
39635 cat >>conftest.
$ac_ext <<_ACEOF
39636 /* end confdefs.h. */
39637 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39639 #define sched_get_priority_max innocuous_sched_get_priority_max
39641 /* System header to define __stub macros and hopefully few prototypes,
39642 which can conflict with char sched_get_priority_max (); below.
39643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39644 <limits.h> exists even on freestanding compilers. */
39647 # include <limits.h>
39649 # include <assert.h>
39652 #undef sched_get_priority_max
39654 /* Override any GCC internal prototype to avoid an error.
39655 Use char because int might match the return type of a GCC
39656 builtin and then its argument prototype would still apply. */
39660 char sched_get_priority_max ();
39661 /* The GNU C library defines this for functions which it implements
39662 to always fail with ENOSYS. Some functions are actually named
39663 something starting with __ and the normal name is an alias. */
39664 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39671 return sched_get_priority_max ();
39676 rm -f conftest.
$ac_objext conftest
$ac_exeext
39677 if { (ac_try
="$ac_link"
39678 case "(($ac_try" in
39679 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39680 *) ac_try_echo=$ac_try;;
39682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39683 (eval "$ac_link") 2>conftest.er1
39685 grep -v '^ *+' conftest.er1 >conftest.err
39687 cat conftest.err >&5
39688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39689 (exit $ac_status); } && {
39690 test -z "$ac_c_werror_flag" ||
39691 test ! -s conftest.err
39692 } && test -s conftest$ac_exeext &&
39693 $as_test_x conftest$ac_exeext; then
39694 ac_cv_func_sched_get_priority_max=yes
39696 echo "$as_me: failed program was:" >&5
39697 sed 's/^/| /' conftest.$ac_ext >&5
39699 ac_cv_func_sched_get_priority_max=no
39702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39703 conftest$ac_exeext conftest.$ac_ext
39705 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39706 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39707 if test $ac_cv_func_sched_get_priority_max = yes; then
39710 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39711 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39712 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39713 echo $ECHO_N "(cached) $ECHO_C" >&6
39715 ac_check_lib_save_LIBS=$LIBS
39716 LIBS="-lposix4 $LIBS"
39717 cat >conftest.$ac_ext <<_ACEOF
39720 cat confdefs.h >>conftest.$ac_ext
39721 cat >>conftest.$ac_ext <<_ACEOF
39722 /* end confdefs.h. */
39724 /* Override any GCC internal prototype to avoid an error.
39725 Use char because int might match the return type of a GCC
39726 builtin and then its argument prototype would still apply. */
39730 char sched_get_priority_max ();
39734 return sched_get_priority_max ();
39739 rm -f conftest.$ac_objext conftest$ac_exeext
39740 if { (ac_try="$ac_link"
39741 case "(($ac_try" in
39742 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39743 *) ac_try_echo
=$ac_try;;
39745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39746 (eval "$ac_link") 2>conftest.er1
39748 grep -v '^ *+' conftest.er1
>conftest.err
39750 cat conftest.err
>&5
39751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752 (exit $ac_status); } && {
39753 test -z "$ac_c_werror_flag" ||
39754 test ! -s conftest.err
39755 } && test -s conftest
$ac_exeext &&
39756 $as_test_x conftest
$ac_exeext; then
39757 ac_cv_lib_posix4_sched_get_priority_max
=yes
39759 echo "$as_me: failed program was:" >&5
39760 sed 's/^/| /' conftest.
$ac_ext >&5
39762 ac_cv_lib_posix4_sched_get_priority_max
=no
39765 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39766 conftest
$ac_exeext conftest.
$ac_ext
39767 LIBS
=$ac_check_lib_save_LIBS
39769 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39770 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39771 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39774 POSIX4_LINK
=" -lposix4"
39788 if test "$HAVE_PRIOR_FUNCS" = 1; then
39789 cat >>confdefs.h
<<\_ACEOF
39790 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39794 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39795 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39798 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39799 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39800 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39801 echo $ECHO_N "(cached) $ECHO_C" >&6
39803 cat >conftest.
$ac_ext <<_ACEOF
39806 cat confdefs.h
>>conftest.
$ac_ext
39807 cat >>conftest.
$ac_ext <<_ACEOF
39808 /* end confdefs.h. */
39809 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39811 #define pthread_cancel innocuous_pthread_cancel
39813 /* System header to define __stub macros and hopefully few prototypes,
39814 which can conflict with char pthread_cancel (); below.
39815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39816 <limits.h> exists even on freestanding compilers. */
39819 # include <limits.h>
39821 # include <assert.h>
39824 #undef pthread_cancel
39826 /* Override any GCC internal prototype to avoid an error.
39827 Use char because int might match the return type of a GCC
39828 builtin and then its argument prototype would still apply. */
39832 char pthread_cancel ();
39833 /* The GNU C library defines this for functions which it implements
39834 to always fail with ENOSYS. Some functions are actually named
39835 something starting with __ and the normal name is an alias. */
39836 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39843 return pthread_cancel ();
39848 rm -f conftest.
$ac_objext conftest
$ac_exeext
39849 if { (ac_try
="$ac_link"
39850 case "(($ac_try" in
39851 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39852 *) ac_try_echo=$ac_try;;
39854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39855 (eval "$ac_link") 2>conftest.er1
39857 grep -v '^ *+' conftest.er1 >conftest.err
39859 cat conftest.err >&5
39860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39861 (exit $ac_status); } && {
39862 test -z "$ac_c_werror_flag" ||
39863 test ! -s conftest.err
39864 } && test -s conftest$ac_exeext &&
39865 $as_test_x conftest$ac_exeext; then
39866 ac_cv_func_pthread_cancel=yes
39868 echo "$as_me: failed program was:" >&5
39869 sed 's/^/| /' conftest.$ac_ext >&5
39871 ac_cv_func_pthread_cancel=no
39874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39875 conftest$ac_exeext conftest.$ac_ext
39877 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39878 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39879 if test $ac_cv_func_pthread_cancel = yes; then
39880 cat >>confdefs.h <<\_ACEOF
39881 #define HAVE_PTHREAD_CANCEL 1
39885 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39886 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39890 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39891 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39892 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39893 echo $ECHO_N "(cached) $ECHO_C" >&6
39895 cat >conftest.$ac_ext <<_ACEOF
39898 cat confdefs.h >>conftest.$ac_ext
39899 cat >>conftest.$ac_ext <<_ACEOF
39900 /* end confdefs.h. */
39901 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39903 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39905 /* System header to define __stub macros and hopefully few prototypes,
39906 which can conflict with char pthread_mutex_timedlock (); below.
39907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39908 <limits.h> exists even on freestanding compilers. */
39911 # include <limits.h>
39913 # include <assert.h>
39916 #undef pthread_mutex_timedlock
39918 /* Override any GCC internal prototype to avoid an error.
39919 Use char because int might match the return type of a GCC
39920 builtin and then its argument prototype would still apply. */
39924 char pthread_mutex_timedlock ();
39925 /* The GNU C library defines this for functions which it implements
39926 to always fail with ENOSYS. Some functions are actually named
39927 something starting with __ and the normal name is an alias. */
39928 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39935 return pthread_mutex_timedlock ();
39940 rm -f conftest.$ac_objext conftest$ac_exeext
39941 if { (ac_try="$ac_link"
39942 case "(($ac_try" in
39943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39944 *) ac_try_echo
=$ac_try;;
39946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39947 (eval "$ac_link") 2>conftest.er1
39949 grep -v '^ *+' conftest.er1
>conftest.err
39951 cat conftest.err
>&5
39952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39953 (exit $ac_status); } && {
39954 test -z "$ac_c_werror_flag" ||
39955 test ! -s conftest.err
39956 } && test -s conftest
$ac_exeext &&
39957 $as_test_x conftest
$ac_exeext; then
39958 ac_cv_func_pthread_mutex_timedlock
=yes
39960 echo "$as_me: failed program was:" >&5
39961 sed 's/^/| /' conftest.
$ac_ext >&5
39963 ac_cv_func_pthread_mutex_timedlock
=no
39966 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39967 conftest
$ac_exeext conftest.
$ac_ext
39969 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39970 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39971 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39972 cat >>confdefs.h
<<\_ACEOF
39973 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39977 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39978 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39982 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39983 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39984 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39985 echo $ECHO_N "(cached) $ECHO_C" >&6
39987 cat >conftest.
$ac_ext <<_ACEOF
39990 cat confdefs.h
>>conftest.
$ac_ext
39991 cat >>conftest.
$ac_ext <<_ACEOF
39992 /* end confdefs.h. */
39993 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39995 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39997 /* System header to define __stub macros and hopefully few prototypes,
39998 which can conflict with char pthread_attr_setstacksize (); below.
39999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40000 <limits.h> exists even on freestanding compilers. */
40003 # include <limits.h>
40005 # include <assert.h>
40008 #undef pthread_attr_setstacksize
40010 /* Override any GCC internal prototype to avoid an error.
40011 Use char because int might match the return type of a GCC
40012 builtin and then its argument prototype would still apply. */
40016 char pthread_attr_setstacksize ();
40017 /* The GNU C library defines this for functions which it implements
40018 to always fail with ENOSYS. Some functions are actually named
40019 something starting with __ and the normal name is an alias. */
40020 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40027 return pthread_attr_setstacksize ();
40032 rm -f conftest.
$ac_objext conftest
$ac_exeext
40033 if { (ac_try
="$ac_link"
40034 case "(($ac_try" in
40035 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40036 *) ac_try_echo=$ac_try;;
40038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40039 (eval "$ac_link") 2>conftest.er1
40041 grep -v '^ *+' conftest.er1 >conftest.err
40043 cat conftest.err >&5
40044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40045 (exit $ac_status); } && {
40046 test -z "$ac_c_werror_flag" ||
40047 test ! -s conftest.err
40048 } && test -s conftest$ac_exeext &&
40049 $as_test_x conftest$ac_exeext; then
40050 ac_cv_func_pthread_attr_setstacksize=yes
40052 echo "$as_me: failed program was:" >&5
40053 sed 's/^/| /' conftest.$ac_ext >&5
40055 ac_cv_func_pthread_attr_setstacksize=no
40058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40059 conftest$ac_exeext conftest.$ac_ext
40061 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40062 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40063 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40064 cat >>confdefs.h <<\_ACEOF
40065 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40072 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40073 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40074 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40075 echo $ECHO_N "(cached) $ECHO_C" >&6
40078 cat >conftest.$ac_ext <<_ACEOF
40081 cat confdefs.h >>conftest.$ac_ext
40082 cat >>conftest.$ac_ext <<_ACEOF
40083 /* end confdefs.h. */
40084 #include <pthread.h>
40089 pthread_mutexattr_t attr;
40090 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40096 rm -f conftest.$ac_objext
40097 if { (ac_try="$ac_compile"
40098 case "(($ac_try" in
40099 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40100 *) ac_try_echo
=$ac_try;;
40102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40103 (eval "$ac_compile") 2>conftest.er1
40105 grep -v '^ *+' conftest.er1
>conftest.err
40107 cat conftest.err
>&5
40108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109 (exit $ac_status); } && {
40110 test -z "$ac_c_werror_flag" ||
40111 test ! -s conftest.err
40112 } && test -s conftest.
$ac_objext; then
40113 wx_cv_type_pthread_mutexattr_t
=yes
40115 echo "$as_me: failed program was:" >&5
40116 sed 's/^/| /' conftest.
$ac_ext >&5
40118 wx_cv_type_pthread_mutexattr_t
=no
40122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40125 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40126 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40128 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40129 cat >>confdefs.h
<<\_ACEOF
40130 #define HAVE_PTHREAD_MUTEXATTR_T 1
40134 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40135 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40136 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40137 echo $ECHO_N "(cached) $ECHO_C" >&6
40140 cat >conftest.
$ac_ext <<_ACEOF
40143 cat confdefs.h
>>conftest.
$ac_ext
40144 cat >>conftest.
$ac_ext <<_ACEOF
40145 /* end confdefs.h. */
40146 #include <pthread.h>
40151 pthread_mutexattr_t attr;
40152 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40158 rm -f conftest.
$ac_objext
40159 if { (ac_try
="$ac_compile"
40160 case "(($ac_try" in
40161 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40162 *) ac_try_echo=$ac_try;;
40164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40165 (eval "$ac_compile") 2>conftest.er1
40167 grep -v '^ *+' conftest.er1 >conftest.err
40169 cat conftest.err >&5
40170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40171 (exit $ac_status); } && {
40172 test -z "$ac_c_werror_flag" ||
40173 test ! -s conftest.err
40174 } && test -s conftest.$ac_objext; then
40175 wx_cv_func_pthread_mutexattr_settype_decl=yes
40177 echo "$as_me: failed program was:" >&5
40178 sed 's/^/| /' conftest.$ac_ext >&5
40180 wx_cv_func_pthread_mutexattr_settype_decl=no
40184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40187 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40188 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40189 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40190 cat >>confdefs.h <<\_ACEOF
40191 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40196 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40197 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40198 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40199 echo $ECHO_N "(cached) $ECHO_C" >&6
40202 cat >conftest.$ac_ext <<_ACEOF
40205 cat confdefs.h >>conftest.$ac_ext
40206 cat >>conftest.$ac_ext <<_ACEOF
40207 /* end confdefs.h. */
40208 #include <pthread.h>
40213 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40219 rm -f conftest.$ac_objext
40220 if { (ac_try="$ac_compile"
40221 case "(($ac_try" in
40222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40223 *) ac_try_echo
=$ac_try;;
40225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40226 (eval "$ac_compile") 2>conftest.er1
40228 grep -v '^ *+' conftest.er1
>conftest.err
40230 cat conftest.err
>&5
40231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40232 (exit $ac_status); } && {
40233 test -z "$ac_c_werror_flag" ||
40234 test ! -s conftest.err
40235 } && test -s conftest.
$ac_objext; then
40237 wx_cv_type_pthread_rec_mutex_init
=yes
40240 echo "$as_me: failed program was:" >&5
40241 sed 's/^/| /' conftest.
$ac_ext >&5
40244 wx_cv_type_pthread_rec_mutex_init
=no
40249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40252 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40253 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40254 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40255 cat >>confdefs.h
<<\_ACEOF
40256 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40260 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40261 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40265 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40266 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40267 if test "${wx_cv_cc___thread+set}" = set; then
40268 echo $ECHO_N "(cached) $ECHO_C" >&6
40271 cat >conftest.
$ac_ext <<_ACEOF
40274 cat confdefs.h
>>conftest.
$ac_ext
40275 cat >>conftest.
$ac_ext <<_ACEOF
40276 /* end confdefs.h. */
40277 #include <pthread.h>
40282 static __thread int n = 0;
40283 static __thread int *p = 0;
40289 rm -f conftest.
$ac_objext
40290 if { (ac_try
="$ac_compile"
40291 case "(($ac_try" in
40292 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40293 *) ac_try_echo=$ac_try;;
40295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40296 (eval "$ac_compile") 2>conftest.er1
40298 grep -v '^ *+' conftest.er1 >conftest.err
40300 cat conftest.err >&5
40301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40302 (exit $ac_status); } && {
40303 test -z "$ac_c_werror_flag" ||
40304 test ! -s conftest.err
40305 } && test -s conftest.$ac_objext; then
40306 wx_cv_cc___thread=yes
40308 echo "$as_me: failed program was:" >&5
40309 sed 's/^/| /' conftest.$ac_ext >&5
40311 wx_cv_cc___thread=no
40315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40319 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40320 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40322 if test "$wx_cv_cc___thread" = "yes"; then
40328 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40329 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40331 if test "x$GCC" = "xyes" ; then
40333 if test -z "" ; then
40335 ax_gcc_option_test="int main()
40342 ax_gcc_option_test=""
40347 # Dump the test program to file
40348 cat <<EOF > conftest.c
40349 $ax_gcc_option_test
40352 # Dump back the file to the log, useful for debugging purposes
40353 { ac_try='cat conftest.c 1>&5'
40354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40355 (eval $ac_try) 2>&5
40357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40358 (exit $ac_status); }; }
40360 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40362 (eval $ac_try) 2>&5
40364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365 (exit $ac_status); }; } ; then
40367 { echo "$as_me:$LINENO: result: yes" >&5
40368 echo "${ECHO_T}yes" >&6; }
40370 ax_gcc_version_option=yes
40375 { echo "$as_me:$LINENO: result: no" >&5
40376 echo "${ECHO_T}no" >&6; }
40378 ax_gcc_version_option=no
40386 { echo "$as_me:$LINENO: result: no gcc available" >&5
40387 echo "${ECHO_T}no gcc available" >&6; }
40392 if test "x$GXX" = "xyes"; then
40394 if test "x$ax_gxx_version_option" != "no"; then
40396 { echo "$as_me:$LINENO: checking gxx version" >&5
40397 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40398 if test "${ax_cv_gxx_version+set}" = set; then
40399 echo $ECHO_N "(cached) $ECHO_C" >&6
40402 ax_cv_gxx_version="`$CXX -dumpversion`"
40403 if test "x$ax_cv_gxx_version" = "x"; then
40405 ax_cv_gxx_version=""
40411 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40412 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40413 GXX_VERSION=$ax_cv_gxx_version
40422 if test -n "$ax_cv_gxx_version"; then
40423 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40424 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40425 case "$ax_cv_gxx_version" in
40427 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40428 echo "${ECHO_T}no, it's broken" >&6; }
40429 wx_cv_cc___thread=no
40432 { echo "$as_me:$LINENO: result: yes, it works" >&5
40433 echo "${ECHO_T}yes, it works" >&6; }
40439 if test "$wx_cv_cc___thread" = "yes"; then
40440 cat >>confdefs.h <<\_ACEOF
40441 #define HAVE___THREAD_KEYWORD 1
40448 if test "$wxUSE_THREADS" = "yes" ; then
40450 x86_64-*-mingw32* )
40453 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40454 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40455 if test "${wx_cv_cflags_mthread+set}" = set; then
40456 echo $ECHO_N "(cached) $ECHO_C" >&6
40459 CFLAGS_OLD="$CFLAGS"
40460 CFLAGS="-mthreads $CFLAGS"
40461 cat >conftest.$ac_ext <<_ACEOF
40464 cat confdefs.h >>conftest.$ac_ext
40465 cat >>conftest.$ac_ext <<_ACEOF
40466 /* end confdefs.h. */
40476 rm -f conftest.$ac_objext
40477 if { (ac_try="$ac_compile"
40478 case "(($ac_try" in
40479 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40480 *) ac_try_echo
=$ac_try;;
40482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40483 (eval "$ac_compile") 2>conftest.er1
40485 grep -v '^ *+' conftest.er1
>conftest.err
40487 cat conftest.err
>&5
40488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40489 (exit $ac_status); } && {
40490 test -z "$ac_c_werror_flag" ||
40491 test ! -s conftest.err
40492 } && test -s conftest.
$ac_objext; then
40493 wx_cv_cflags_mthread
=yes
40495 echo "$as_me: failed program was:" >&5
40496 sed 's/^/| /' conftest.
$ac_ext >&5
40498 wx_cv_cflags_mthread
=no
40502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40506 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40507 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40509 if test "$wx_cv_cflags_mthread" = "yes"; then
40510 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40511 LDFLAGS
="$LDFLAGS -mthreads"
40513 CFLAGS
="$CFLAGS_OLD"
40517 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40518 LDFLAGS
="$LDFLAGS -Zmt"
40524 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40525 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40526 if test "${ac_cv_func_localtime_r+set}" = set; then
40527 echo $ECHO_N "(cached) $ECHO_C" >&6
40529 cat >conftest.
$ac_ext <<_ACEOF
40532 cat confdefs.h
>>conftest.
$ac_ext
40533 cat >>conftest.
$ac_ext <<_ACEOF
40534 /* end confdefs.h. */
40535 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40537 #define localtime_r innocuous_localtime_r
40539 /* System header to define __stub macros and hopefully few prototypes,
40540 which can conflict with char localtime_r (); below.
40541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40542 <limits.h> exists even on freestanding compilers. */
40545 # include <limits.h>
40547 # include <assert.h>
40552 /* Override any GCC internal prototype to avoid an error.
40553 Use char because int might match the return type of a GCC
40554 builtin and then its argument prototype would still apply. */
40558 char localtime_r ();
40559 /* The GNU C library defines this for functions which it implements
40560 to always fail with ENOSYS. Some functions are actually named
40561 something starting with __ and the normal name is an alias. */
40562 #if defined __stub_localtime_r || defined __stub___localtime_r
40569 return localtime_r ();
40574 rm -f conftest.
$ac_objext conftest
$ac_exeext
40575 if { (ac_try
="$ac_link"
40576 case "(($ac_try" in
40577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40578 *) ac_try_echo=$ac_try;;
40580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40581 (eval "$ac_link") 2>conftest.er1
40583 grep -v '^ *+' conftest.er1 >conftest.err
40585 cat conftest.err >&5
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); } && {
40588 test -z "$ac_c_werror_flag" ||
40589 test ! -s conftest.err
40590 } && test -s conftest$ac_exeext &&
40591 $as_test_x conftest$ac_exeext; then
40592 ac_cv_func_localtime_r=yes
40594 echo "$as_me: failed program was:" >&5
40595 sed 's/^/| /' conftest.$ac_ext >&5
40597 ac_cv_func_localtime_r=no
40600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40601 conftest$ac_exeext conftest.$ac_ext
40603 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40604 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40605 if test $ac_cv_func_localtime_r = yes; then
40606 cat >>confdefs.h <<\_ACEOF
40607 #define HAVE_LOCALTIME_R 1
40612 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40613 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40614 if test "${ac_cv_func_gmtime_r+set}" = set; then
40615 echo $ECHO_N "(cached) $ECHO_C" >&6
40617 cat >conftest.$ac_ext <<_ACEOF
40620 cat confdefs.h >>conftest.$ac_ext
40621 cat >>conftest.$ac_ext <<_ACEOF
40622 /* end confdefs.h. */
40623 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40625 #define gmtime_r innocuous_gmtime_r
40627 /* System header to define __stub macros and hopefully few prototypes,
40628 which can conflict with char gmtime_r (); below.
40629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40630 <limits.h> exists even on freestanding compilers. */
40633 # include <limits.h>
40635 # include <assert.h>
40640 /* Override any GCC internal prototype to avoid an error.
40641 Use char because int might match the return type of a GCC
40642 builtin and then its argument prototype would still apply. */
40647 /* The GNU C library defines this for functions which it implements
40648 to always fail with ENOSYS. Some functions are actually named
40649 something starting with __ and the normal name is an alias. */
40650 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40657 return gmtime_r ();
40662 rm -f conftest.$ac_objext conftest$ac_exeext
40663 if { (ac_try="$ac_link"
40664 case "(($ac_try" in
40665 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40666 *) ac_try_echo
=$ac_try;;
40668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40669 (eval "$ac_link") 2>conftest.er1
40671 grep -v '^ *+' conftest.er1
>conftest.err
40673 cat conftest.err
>&5
40674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40675 (exit $ac_status); } && {
40676 test -z "$ac_c_werror_flag" ||
40677 test ! -s conftest.err
40678 } && test -s conftest
$ac_exeext &&
40679 $as_test_x conftest
$ac_exeext; then
40680 ac_cv_func_gmtime_r
=yes
40682 echo "$as_me: failed program was:" >&5
40683 sed 's/^/| /' conftest.
$ac_ext >&5
40685 ac_cv_func_gmtime_r
=no
40688 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40689 conftest
$ac_exeext conftest.
$ac_ext
40691 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40692 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40693 if test $ac_cv_func_gmtime_r = yes; then
40694 cat >>confdefs.h
<<\_ACEOF
40695 #define HAVE_GMTIME_R 1
40704 ac_cpp
='$CPP $CPPFLAGS'
40705 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40706 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40707 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40709 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40710 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40712 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40713 echo $ECHO_N "(cached) $ECHO_C" >&6
40717 ################################################################
40719 ac_cv_func_which_gethostbyname_r
=unknown
40722 # ONE ARGUMENT (sanity check)
40725 # This should fail, as there is no variant of gethostbyname_r() that takes
40726 # a single argument. If it actually compiles, then we can assume that
40727 # netdb.h is not declaring the function, and the compiler is thereby
40728 # assuming an implicit prototype. In which case, we're out of luck.
40730 cat >conftest.
$ac_ext <<_ACEOF
40733 cat confdefs.h
>>conftest.
$ac_ext
40734 cat >>conftest.
$ac_ext <<_ACEOF
40735 /* end confdefs.h. */
40741 char *name = "www.gnu.org";
40742 (void)gethostbyname_r(name) /* ; */
40748 rm -f conftest.
$ac_objext
40749 if { (ac_try
="$ac_compile"
40750 case "(($ac_try" in
40751 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40752 *) ac_try_echo=$ac_try;;
40754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40755 (eval "$ac_compile") 2>conftest.er1
40757 grep -v '^ *+' conftest.er1 >conftest.err
40759 cat conftest.err >&5
40760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40761 (exit $ac_status); } && {
40762 test -z "$ac_c_werror_flag" ||
40763 test ! -s conftest.err
40764 } && test -s conftest.$ac_objext; then
40765 ac_cv_func_which_gethostbyname_r=no
40767 echo "$as_me: failed program was:" >&5
40768 sed 's/^/| /' conftest.$ac_ext >&5
40773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40780 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40782 cat >conftest.$ac_ext <<_ACEOF
40785 cat confdefs.h >>conftest.$ac_ext
40786 cat >>conftest.$ac_ext <<_ACEOF
40787 /* end confdefs.h. */
40793 char *name = "www.gnu.org";
40794 struct hostent ret, *retp;
40798 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40804 rm -f conftest.$ac_objext
40805 if { (ac_try="$ac_compile"
40806 case "(($ac_try" in
40807 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40808 *) ac_try_echo
=$ac_try;;
40810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40811 (eval "$ac_compile") 2>conftest.er1
40813 grep -v '^ *+' conftest.er1
>conftest.err
40815 cat conftest.err
>&5
40816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40817 (exit $ac_status); } && {
40818 test -z "$ac_c_werror_flag" ||
40819 test ! -s conftest.err
40820 } && test -s conftest.
$ac_objext; then
40821 ac_cv_func_which_gethostbyname_r
=six
40823 echo "$as_me: failed program was:" >&5
40824 sed 's/^/| /' conftest.
$ac_ext >&5
40829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40838 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40840 cat >conftest.
$ac_ext <<_ACEOF
40843 cat confdefs.h
>>conftest.
$ac_ext
40844 cat >>conftest.
$ac_ext <<_ACEOF
40845 /* end confdefs.h. */
40851 char *name = "www.gnu.org";
40852 struct hostent ret;
40856 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40862 rm -f conftest.
$ac_objext
40863 if { (ac_try
="$ac_compile"
40864 case "(($ac_try" in
40865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40866 *) ac_try_echo=$ac_try;;
40868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40869 (eval "$ac_compile") 2>conftest.er1
40871 grep -v '^ *+' conftest.er1 >conftest.err
40873 cat conftest.err >&5
40874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40875 (exit $ac_status); } && {
40876 test -z "$ac_c_werror_flag" ||
40877 test ! -s conftest.err
40878 } && test -s conftest.$ac_objext; then
40879 ac_cv_func_which_gethostbyname_r=five
40881 echo "$as_me: failed program was:" >&5
40882 sed 's/^/| /' conftest.$ac_ext >&5
40887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40893 # (e.g. AIX, HP-UX, Tru64)
40896 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40898 cat >conftest.$ac_ext <<_ACEOF
40901 cat confdefs.h >>conftest.$ac_ext
40902 cat >>conftest.$ac_ext <<_ACEOF
40903 /* end confdefs.h. */
40909 char *name = "www.gnu.org";
40910 struct hostent ret;
40911 struct hostent_data data;
40912 (void)gethostbyname_r(name, &ret, &data) /* ; */
40918 rm -f conftest.$ac_objext
40919 if { (ac_try="$ac_compile"
40920 case "(($ac_try" in
40921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40922 *) ac_try_echo
=$ac_try;;
40924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40925 (eval "$ac_compile") 2>conftest.er1
40927 grep -v '^ *+' conftest.er1
>conftest.err
40929 cat conftest.err
>&5
40930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40931 (exit $ac_status); } && {
40932 test -z "$ac_c_werror_flag" ||
40933 test ! -s conftest.err
40934 } && test -s conftest.
$ac_objext; then
40935 ac_cv_func_which_gethostbyname_r
=three
40937 echo "$as_me: failed program was:" >&5
40938 sed 's/^/| /' conftest.
$ac_ext >&5
40943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40947 ################################################################
40952 case "$ac_cv_func_which_gethostbyname_r" in
40954 { echo "$as_me:$LINENO: result: three" >&5
40955 echo "${ECHO_T}three" >&6; }
40956 cat >>confdefs.h
<<\_ACEOF
40957 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40963 { echo "$as_me:$LINENO: result: five" >&5
40964 echo "${ECHO_T}five" >&6; }
40965 cat >>confdefs.h
<<\_ACEOF
40966 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40972 { echo "$as_me:$LINENO: result: six" >&5
40973 echo "${ECHO_T}six" >&6; }
40974 cat >>confdefs.h
<<\_ACEOF
40975 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40981 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40982 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40986 { echo "$as_me:$LINENO: result: can't tell" >&5
40987 echo "${ECHO_T}can't tell" >&6; }
40991 { { echo "$as_me:$LINENO: error: internal error" >&5
40992 echo "$as_me: error: internal error" >&2;}
40993 { (exit 1); exit 1; }; }
40998 ac_cpp
='$CPP $CPPFLAGS'
40999 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41000 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41001 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41005 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41006 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41007 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41008 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41009 if test "${ac_cv_func_gethostbyname+set}" = set; then
41010 echo $ECHO_N "(cached) $ECHO_C" >&6
41012 cat >conftest.
$ac_ext <<_ACEOF
41015 cat confdefs.h
>>conftest.
$ac_ext
41016 cat >>conftest.
$ac_ext <<_ACEOF
41017 /* end confdefs.h. */
41018 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41020 #define gethostbyname innocuous_gethostbyname
41022 /* System header to define __stub macros and hopefully few prototypes,
41023 which can conflict with char gethostbyname (); below.
41024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41025 <limits.h> exists even on freestanding compilers. */
41028 # include <limits.h>
41030 # include <assert.h>
41033 #undef gethostbyname
41035 /* Override any GCC internal prototype to avoid an error.
41036 Use char because int might match the return type of a GCC
41037 builtin and then its argument prototype would still apply. */
41041 char gethostbyname ();
41042 /* The GNU C library defines this for functions which it implements
41043 to always fail with ENOSYS. Some functions are actually named
41044 something starting with __ and the normal name is an alias. */
41045 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41052 return gethostbyname ();
41057 rm -f conftest.
$ac_objext conftest
$ac_exeext
41058 if { (ac_try
="$ac_link"
41059 case "(($ac_try" in
41060 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41061 *) ac_try_echo=$ac_try;;
41063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41064 (eval "$ac_link") 2>conftest.er1
41066 grep -v '^ *+' conftest.er1 >conftest.err
41068 cat conftest.err >&5
41069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41070 (exit $ac_status); } && {
41071 test -z "$ac_c_werror_flag" ||
41072 test ! -s conftest.err
41073 } && test -s conftest$ac_exeext &&
41074 $as_test_x conftest$ac_exeext; then
41075 ac_cv_func_gethostbyname=yes
41077 echo "$as_me: failed program was:" >&5
41078 sed 's/^/| /' conftest.$ac_ext >&5
41080 ac_cv_func_gethostbyname=no
41083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41084 conftest$ac_exeext conftest.$ac_ext
41086 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41087 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41088 if test $ac_cv_func_gethostbyname = yes; then
41089 cat >>confdefs.h <<\_ACEOF
41090 #define HAVE_GETHOSTBYNAME 1
41097 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41098 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41099 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41100 echo $ECHO_N "(cached) $ECHO_C" >&6
41104 ac_cpp='$CXXCPP $CPPFLAGS'
41105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41110 cat >conftest.$ac_ext <<_ACEOF
41113 cat confdefs.h >>conftest.$ac_ext
41114 cat >>conftest.$ac_ext <<_ACEOF
41115 /* end confdefs.h. */
41123 struct servent *se, *res;
41126 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41132 rm -f conftest.$ac_objext
41133 if { (ac_try="$ac_compile"
41134 case "(($ac_try" in
41135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41136 *) ac_try_echo
=$ac_try;;
41138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41139 (eval "$ac_compile") 2>conftest.er1
41141 grep -v '^ *+' conftest.er1
>conftest.err
41143 cat conftest.err
>&5
41144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41145 (exit $ac_status); } && {
41146 test -z "$ac_cxx_werror_flag" ||
41147 test ! -s conftest.err
41148 } && test -s conftest.
$ac_objext; then
41149 ac_cv_func_which_getservbyname_r
=six
41151 echo "$as_me: failed program was:" >&5
41152 sed 's/^/| /' conftest.
$ac_ext >&5
41155 cat >conftest.
$ac_ext <<_ACEOF
41158 cat confdefs.h
>>conftest.
$ac_ext
41159 cat >>conftest.
$ac_ext <<_ACEOF
41160 /* end confdefs.h. */
41168 struct servent *se;
41171 (void) getservbyname_r(name, proto, se, buffer, buflen)
41177 rm -f conftest.
$ac_objext
41178 if { (ac_try
="$ac_compile"
41179 case "(($ac_try" in
41180 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41181 *) ac_try_echo=$ac_try;;
41183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41184 (eval "$ac_compile") 2>conftest.er1
41186 grep -v '^ *+' conftest.er1 >conftest.err
41188 cat conftest.err >&5
41189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41190 (exit $ac_status); } && {
41191 test -z "$ac_cxx_werror_flag" ||
41192 test ! -s conftest.err
41193 } && test -s conftest.$ac_objext; then
41194 ac_cv_func_which_getservbyname_r=five
41196 echo "$as_me: failed program was:" >&5
41197 sed 's/^/| /' conftest.$ac_ext >&5
41200 cat >conftest.$ac_ext <<_ACEOF
41203 cat confdefs.h >>conftest.$ac_ext
41204 cat >>conftest.$ac_ext <<_ACEOF
41205 /* end confdefs.h. */
41213 struct servent *se;
41214 struct servent_data data;
41215 (void) getservbyname_r(name, proto, se, &data);
41221 rm -f conftest.$ac_objext
41222 if { (ac_try="$ac_compile"
41223 case "(($ac_try" in
41224 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41225 *) ac_try_echo
=$ac_try;;
41227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41228 (eval "$ac_compile") 2>conftest.er1
41230 grep -v '^ *+' conftest.er1
>conftest.err
41232 cat conftest.err
>&5
41233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41234 (exit $ac_status); } && {
41235 test -z "$ac_cxx_werror_flag" ||
41236 test ! -s conftest.err
41237 } && test -s conftest.
$ac_objext; then
41238 ac_cv_func_which_getservbyname_r
=four
41240 echo "$as_me: failed program was:" >&5
41241 sed 's/^/| /' conftest.
$ac_ext >&5
41243 ac_cv_func_which_getservbyname_r
=no
41247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41259 ac_cpp
='$CPP $CPPFLAGS'
41260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41267 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41268 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41270 if test $ac_cv_func_which_getservbyname_r = six
; then
41271 cat >>confdefs.h
<<\_ACEOF
41272 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41275 elif test $ac_cv_func_which_getservbyname_r = five
; then
41276 cat >>confdefs.h
<<\_ACEOF
41277 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41280 elif test $ac_cv_func_which_getservbyname_r = four
; then
41281 cat >>confdefs.h
<<\_ACEOF
41282 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41288 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41289 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41291 for ac_func
in getservbyname
41293 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41294 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41296 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41297 echo $ECHO_N "(cached) $ECHO_C" >&6
41299 cat >conftest.
$ac_ext <<_ACEOF
41302 cat confdefs.h
>>conftest.
$ac_ext
41303 cat >>conftest.
$ac_ext <<_ACEOF
41304 /* end confdefs.h. */
41305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41307 #define $ac_func innocuous_$ac_func
41309 /* System header to define __stub macros and hopefully few prototypes,
41310 which can conflict with char $ac_func (); below.
41311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41312 <limits.h> exists even on freestanding compilers. */
41315 # include <limits.h>
41317 # include <assert.h>
41322 /* Override any GCC internal prototype to avoid an error.
41323 Use char because int might match the return type of a GCC
41324 builtin and then its argument prototype would still apply. */
41329 /* The GNU C library defines this for functions which it implements
41330 to always fail with ENOSYS. Some functions are actually named
41331 something starting with __ and the normal name is an alias. */
41332 #if defined __stub_$ac_func || defined __stub___$ac_func
41339 return $ac_func ();
41344 rm -f conftest.
$ac_objext conftest
$ac_exeext
41345 if { (ac_try
="$ac_link"
41346 case "(($ac_try" in
41347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41348 *) ac_try_echo=$ac_try;;
41350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41351 (eval "$ac_link") 2>conftest.er1
41353 grep -v '^ *+' conftest.er1 >conftest.err
41355 cat conftest.err >&5
41356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41357 (exit $ac_status); } && {
41358 test -z "$ac_c_werror_flag" ||
41359 test ! -s conftest.err
41360 } && test -s conftest$ac_exeext &&
41361 $as_test_x conftest$ac_exeext; then
41362 eval "$as_ac_var=yes"
41364 echo "$as_me: failed program was:" >&5
41365 sed 's/^/| /' conftest.$ac_ext >&5
41367 eval "$as_ac_var=no"
41370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41371 conftest$ac_exeext conftest.$ac_ext
41373 ac_res=`eval echo '${'$as_ac_var'}'`
41374 { echo "$as_me:$LINENO: result: $ac_res" >&5
41375 echo "${ECHO_T}$ac_res" >&6; }
41376 if test `eval echo '${'$as_ac_var'}'` = yes; then
41377 cat >>confdefs.h <<_ACEOF
41378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41380 cat >>confdefs.h <<\_ACEOF
41381 #define HAVE_GETSERVBYNAME 1
41389 if test "$wxUSE_THREADS" = "yes"; then
41390 cat >>confdefs.h <<\_ACEOF
41391 #define wxUSE_THREADS 1
41395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41397 if test "$wx_cv_func_strtok_r" = "yes"; then
41398 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41399 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41400 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41401 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41402 { echo "$as_me:$LINENO: result: yes" >&5
41403 echo "${ECHO_T}yes" >&6; }
41405 { echo "$as_me:$LINENO: result: no" >&5
41406 echo "${ECHO_T}no" >&6; }
41411 if test "$WXGTK2" = 1 ; then
41412 cat >>confdefs.h <<_ACEOF
41413 #define __WXGTK20__ $WXGTK2
41419 if test "$WXGTK12" = 1 ; then
41420 cat >>confdefs.h <<_ACEOF
41421 #define __WXGTK12__ $WXGTK12
41426 if test "$WXGTK127" = 1 ; then
41427 cat >>confdefs.h <<_ACEOF
41428 #define __WXGTK127__ $WXGTK127
41433 if test "$WXGPE" = 1 ; then
41434 cat >>confdefs.h <<_ACEOF
41435 #define __WXGPE__ $WXGPE
41441 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41445 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41446 wxUSE_DEBUG_INFO=yes
41447 if test "$GCC" = yes; then
41448 DEBUG_CFLAGS="-ggdb"
41452 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41453 cat >>confdefs.h <<\_ACEOF
41457 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41459 if test "$wxUSE_GTK" = 1 ; then
41460 if test "x$wxGTK_VERSION" = "x1" ; then
41461 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41466 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41467 cat >>confdefs.h <<\_ACEOF
41468 #define wxUSE_MEMORY_TRACING 1
41471 cat >>confdefs.h <<\_ACEOF
41472 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41475 cat >>confdefs.h <<\_ACEOF
41476 #define wxUSE_DEBUG_NEW_ALWAYS 1
41479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41482 if test "$wxUSE_DMALLOC" = "yes" ; then
41483 DMALLOC_LIBS="-ldmallocthcxx"
41487 if test "$wxUSE_PROFILE" = "yes" ; then
41488 PROFILE_FLAGS=" -pg"
41491 if test "$GCC" = "yes" ; then
41492 if test "$wxUSE_NO_RTTI" = "yes" ; then
41493 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41495 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41496 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41498 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41499 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41504 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41507 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41513 if test "$wxUSE_OPTIMISE" = "no" ; then
41514 if test "$GCC" = yes ; then
41515 OPTIMISE_CFLAGS="-O0"
41518 if test "$GCC" = yes ; then
41520 *-pc-os2_emx | *-pc-os2-emx )
41521 OPTIMISE_CFLAGS="-O2"
41524 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41528 OPTIMISE_CFLAGS="-O"
41533 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41534 cat >>confdefs.h <<\_ACEOF
41535 #define WXWIN_COMPATIBILITY_2_6 1
41539 WXWIN_COMPATIBILITY_2_8="yes"
41542 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41543 cat >>confdefs.h <<\_ACEOF
41544 #define WXWIN_COMPATIBILITY_2_8 1
41550 if test "$wxUSE_GUI" = "yes"; then
41551 cat >>confdefs.h <<\_ACEOF
41552 #define wxUSE_GUI 1
41559 if test "$wxUSE_UNIX" = "yes"; then
41560 cat >>confdefs.h <<\_ACEOF
41561 #define wxUSE_UNIX 1
41567 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41571 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41572 if test "$USE_DOS" = 1; then
41576 for ac_func in dlopen
41578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41579 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41581 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41582 echo $ECHO_N "(cached) $ECHO_C" >&6
41584 cat >conftest.$ac_ext <<_ACEOF
41587 cat confdefs.h >>conftest.$ac_ext
41588 cat >>conftest.$ac_ext <<_ACEOF
41589 /* end confdefs.h. */
41590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41592 #define $ac_func innocuous_$ac_func
41594 /* System header to define __stub macros and hopefully few prototypes,
41595 which can conflict with char $ac_func (); below.
41596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41597 <limits.h> exists even on freestanding compilers. */
41600 # include <limits.h>
41602 # include <assert.h>
41607 /* Override any GCC internal prototype to avoid an error.
41608 Use char because int might match the return type of a GCC
41609 builtin and then its argument prototype would still apply. */
41614 /* The GNU C library defines this for functions which it implements
41615 to always fail with ENOSYS. Some functions are actually named
41616 something starting with __ and the normal name is an alias. */
41617 #if defined __stub_$ac_func || defined __stub___$ac_func
41624 return $ac_func ();
41629 rm -f conftest.$ac_objext conftest$ac_exeext
41630 if { (ac_try="$ac_link"
41631 case "(($ac_try" in
41632 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41633 *) ac_try_echo
=$ac_try;;
41635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41636 (eval "$ac_link") 2>conftest.er1
41638 grep -v '^ *+' conftest.er1
>conftest.err
41640 cat conftest.err
>&5
41641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41642 (exit $ac_status); } && {
41643 test -z "$ac_c_werror_flag" ||
41644 test ! -s conftest.err
41645 } && test -s conftest
$ac_exeext &&
41646 $as_test_x conftest
$ac_exeext; then
41647 eval "$as_ac_var=yes"
41649 echo "$as_me: failed program was:" >&5
41650 sed 's/^/| /' conftest.
$ac_ext >&5
41652 eval "$as_ac_var=no"
41655 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41656 conftest
$ac_exeext conftest.
$ac_ext
41658 ac_res
=`eval echo '${'$as_ac_var'}'`
41659 { echo "$as_me:$LINENO: result: $ac_res" >&5
41660 echo "${ECHO_T}$ac_res" >&6; }
41661 if test `eval echo '${'$as_ac_var'}'` = yes; then
41662 cat >>confdefs.h
<<_ACEOF
41663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41666 cat >>confdefs.h
<<\_ACEOF
41667 #define HAVE_DLOPEN 1
41674 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41675 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41676 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41677 echo $ECHO_N "(cached) $ECHO_C" >&6
41679 ac_check_lib_save_LIBS
=$LIBS
41681 cat >conftest.
$ac_ext <<_ACEOF
41684 cat confdefs.h
>>conftest.
$ac_ext
41685 cat >>conftest.
$ac_ext <<_ACEOF
41686 /* end confdefs.h. */
41688 /* Override any GCC internal prototype to avoid an error.
41689 Use char because int might match the return type of a GCC
41690 builtin and then its argument prototype would still apply. */
41703 rm -f conftest.
$ac_objext conftest
$ac_exeext
41704 if { (ac_try
="$ac_link"
41705 case "(($ac_try" in
41706 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41707 *) ac_try_echo=$ac_try;;
41709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41710 (eval "$ac_link") 2>conftest.er1
41712 grep -v '^ *+' conftest.er1 >conftest.err
41714 cat conftest.err >&5
41715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41716 (exit $ac_status); } && {
41717 test -z "$ac_c_werror_flag" ||
41718 test ! -s conftest.err
41719 } && test -s conftest$ac_exeext &&
41720 $as_test_x conftest$ac_exeext; then
41721 ac_cv_lib_dl_dlopen=yes
41723 echo "$as_me: failed program was:" >&5
41724 sed 's/^/| /' conftest.$ac_ext >&5
41726 ac_cv_lib_dl_dlopen=no
41729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41730 conftest$ac_exeext conftest.$ac_ext
41731 LIBS=$ac_check_lib_save_LIBS
41733 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41734 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41735 if test $ac_cv_lib_dl_dlopen = yes; then
41737 cat >>confdefs.h <<\_ACEOF
41738 #define HAVE_DLOPEN 1
41742 DL_LINK=" -ldl$DL_LINK"
41747 for ac_func in shl_load
41749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41750 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41752 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41753 echo $ECHO_N "(cached) $ECHO_C" >&6
41755 cat >conftest.$ac_ext <<_ACEOF
41758 cat confdefs.h >>conftest.$ac_ext
41759 cat >>conftest.$ac_ext <<_ACEOF
41760 /* end confdefs.h. */
41761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41763 #define $ac_func innocuous_$ac_func
41765 /* System header to define __stub macros and hopefully few prototypes,
41766 which can conflict with char $ac_func (); below.
41767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41768 <limits.h> exists even on freestanding compilers. */
41771 # include <limits.h>
41773 # include <assert.h>
41778 /* Override any GCC internal prototype to avoid an error.
41779 Use char because int might match the return type of a GCC
41780 builtin and then its argument prototype would still apply. */
41785 /* The GNU C library defines this for functions which it implements
41786 to always fail with ENOSYS. Some functions are actually named
41787 something starting with __ and the normal name is an alias. */
41788 #if defined __stub_$ac_func || defined __stub___$ac_func
41795 return $ac_func ();
41800 rm -f conftest.$ac_objext conftest$ac_exeext
41801 if { (ac_try="$ac_link"
41802 case "(($ac_try" in
41803 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41804 *) ac_try_echo
=$ac_try;;
41806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41807 (eval "$ac_link") 2>conftest.er1
41809 grep -v '^ *+' conftest.er1
>conftest.err
41811 cat conftest.err
>&5
41812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41813 (exit $ac_status); } && {
41814 test -z "$ac_c_werror_flag" ||
41815 test ! -s conftest.err
41816 } && test -s conftest
$ac_exeext &&
41817 $as_test_x conftest
$ac_exeext; then
41818 eval "$as_ac_var=yes"
41820 echo "$as_me: failed program was:" >&5
41821 sed 's/^/| /' conftest.
$ac_ext >&5
41823 eval "$as_ac_var=no"
41826 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41827 conftest
$ac_exeext conftest.
$ac_ext
41829 ac_res
=`eval echo '${'$as_ac_var'}'`
41830 { echo "$as_me:$LINENO: result: $ac_res" >&5
41831 echo "${ECHO_T}$ac_res" >&6; }
41832 if test `eval echo '${'$as_ac_var'}'` = yes; then
41833 cat >>confdefs.h
<<_ACEOF
41834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41837 cat >>confdefs.h
<<\_ACEOF
41838 #define HAVE_SHL_LOAD 1
41845 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41846 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41847 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41848 echo $ECHO_N "(cached) $ECHO_C" >&6
41850 ac_check_lib_save_LIBS
=$LIBS
41851 LIBS
="-lshl_load $LIBS"
41852 cat >conftest.
$ac_ext <<_ACEOF
41855 cat confdefs.h
>>conftest.
$ac_ext
41856 cat >>conftest.
$ac_ext <<_ACEOF
41857 /* end confdefs.h. */
41859 /* Override any GCC internal prototype to avoid an error.
41860 Use char because int might match the return type of a GCC
41861 builtin and then its argument prototype would still apply. */
41874 rm -f conftest.
$ac_objext conftest
$ac_exeext
41875 if { (ac_try
="$ac_link"
41876 case "(($ac_try" in
41877 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41878 *) ac_try_echo=$ac_try;;
41880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41881 (eval "$ac_link") 2>conftest.er1
41883 grep -v '^ *+' conftest.er1 >conftest.err
41885 cat conftest.err >&5
41886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41887 (exit $ac_status); } && {
41888 test -z "$ac_c_werror_flag" ||
41889 test ! -s conftest.err
41890 } && test -s conftest$ac_exeext &&
41891 $as_test_x conftest$ac_exeext; then
41892 ac_cv_lib_shl_load_dld=yes
41894 echo "$as_me: failed program was:" >&5
41895 sed 's/^/| /' conftest.$ac_ext >&5
41897 ac_cv_lib_shl_load_dld=no
41900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41901 conftest$ac_exeext conftest.$ac_ext
41902 LIBS=$ac_check_lib_save_LIBS
41904 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41905 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41906 if test $ac_cv_lib_shl_load_dld = yes; then
41909 DL_LINK=" -ldld$DL_LINK"
41925 if test "$HAVE_DL_FUNCS" = 1; then
41927 for ac_func in dlerror
41929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41930 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41932 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41933 echo $ECHO_N "(cached) $ECHO_C" >&6
41935 cat >conftest.$ac_ext <<_ACEOF
41938 cat confdefs.h >>conftest.$ac_ext
41939 cat >>conftest.$ac_ext <<_ACEOF
41940 /* end confdefs.h. */
41941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41943 #define $ac_func innocuous_$ac_func
41945 /* System header to define __stub macros and hopefully few prototypes,
41946 which can conflict with char $ac_func (); below.
41947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41948 <limits.h> exists even on freestanding compilers. */
41951 # include <limits.h>
41953 # include <assert.h>
41958 /* Override any GCC internal prototype to avoid an error.
41959 Use char because int might match the return type of a GCC
41960 builtin and then its argument prototype would still apply. */
41965 /* The GNU C library defines this for functions which it implements
41966 to always fail with ENOSYS. Some functions are actually named
41967 something starting with __ and the normal name is an alias. */
41968 #if defined __stub_$ac_func || defined __stub___$ac_func
41975 return $ac_func ();
41980 rm -f conftest.$ac_objext conftest$ac_exeext
41981 if { (ac_try="$ac_link"
41982 case "(($ac_try" in
41983 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41984 *) ac_try_echo
=$ac_try;;
41986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41987 (eval "$ac_link") 2>conftest.er1
41989 grep -v '^ *+' conftest.er1
>conftest.err
41991 cat conftest.err
>&5
41992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41993 (exit $ac_status); } && {
41994 test -z "$ac_c_werror_flag" ||
41995 test ! -s conftest.err
41996 } && test -s conftest
$ac_exeext &&
41997 $as_test_x conftest
$ac_exeext; then
41998 eval "$as_ac_var=yes"
42000 echo "$as_me: failed program was:" >&5
42001 sed 's/^/| /' conftest.
$ac_ext >&5
42003 eval "$as_ac_var=no"
42006 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42007 conftest
$ac_exeext conftest.
$ac_ext
42009 ac_res
=`eval echo '${'$as_ac_var'}'`
42010 { echo "$as_me:$LINENO: result: $ac_res" >&5
42011 echo "${ECHO_T}$ac_res" >&6; }
42012 if test `eval echo '${'$as_ac_var'}'` = yes; then
42013 cat >>confdefs.h
<<_ACEOF
42014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42016 cat >>confdefs.h
<<\_ACEOF
42017 #define HAVE_DLERROR 1
42022 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42023 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42024 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42025 echo $ECHO_N "(cached) $ECHO_C" >&6
42027 ac_check_lib_save_LIBS
=$LIBS
42029 cat >conftest.
$ac_ext <<_ACEOF
42032 cat confdefs.h
>>conftest.
$ac_ext
42033 cat >>conftest.
$ac_ext <<_ACEOF
42034 /* end confdefs.h. */
42036 /* Override any GCC internal prototype to avoid an error.
42037 Use char because int might match the return type of a GCC
42038 builtin and then its argument prototype would still apply. */
42051 rm -f conftest.
$ac_objext conftest
$ac_exeext
42052 if { (ac_try
="$ac_link"
42053 case "(($ac_try" in
42054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42055 *) ac_try_echo=$ac_try;;
42057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42058 (eval "$ac_link") 2>conftest.er1
42060 grep -v '^ *+' conftest.er1 >conftest.err
42062 cat conftest.err >&5
42063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42064 (exit $ac_status); } && {
42065 test -z "$ac_c_werror_flag" ||
42066 test ! -s conftest.err
42067 } && test -s conftest$ac_exeext &&
42068 $as_test_x conftest$ac_exeext; then
42069 ac_cv_lib_dl_dlerror=yes
42071 echo "$as_me: failed program was:" >&5
42072 sed 's/^/| /' conftest.$ac_ext >&5
42074 ac_cv_lib_dl_dlerror=no
42077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42078 conftest$ac_exeext conftest.$ac_ext
42079 LIBS=$ac_check_lib_save_LIBS
42081 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42082 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42083 if test $ac_cv_lib_dl_dlerror = yes; then
42084 cat >>confdefs.h <<\_ACEOF
42085 #define HAVE_DLERROR 1
42098 if test "$USE_DARWIN" = 1; then
42102 if test "$HAVE_DL_FUNCS" = 0; then
42103 if test "$HAVE_SHL_FUNCS" = 0; then
42104 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42105 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42106 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42107 wxUSE_DYNAMIC_LOADER=no
42108 wxUSE_DYNLIB_CLASS=no
42110 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42111 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42118 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42119 cat >>confdefs.h <<\_ACEOF
42120 #define wxUSE_DYNAMIC_LOADER 1
42124 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42125 cat >>confdefs.h <<\_ACEOF
42126 #define wxUSE_DYNLIB_CLASS 1
42133 if test "$wxUSE_PLUGINS" = "yes" ; then
42134 if test "$wxUSE_SHARED" = "no" ; then
42135 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42136 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42139 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42140 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42141 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42144 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42145 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42146 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42149 if test "$wxUSE_PLUGINS" = "yes" ; then
42150 cat >>confdefs.h <<\_ACEOF
42151 #define wxUSE_PLUGINS 1
42158 if test "$wxUSE_STL" = "yes"; then
42159 cat >>confdefs.h <<\_ACEOF
42160 #define wxUSE_STL 1
42165 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42166 cat >>confdefs.h <<\_ACEOF
42167 #define wxUSE_EXTENDED_RTTI 1
42172 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42173 cat >>confdefs.h <<\_ACEOF
42174 #define wxUSE_APPLE_IEEE 1
42179 if test "$wxUSE_TIMER" = "yes"; then
42180 cat >>confdefs.h <<\_ACEOF
42181 #define wxUSE_TIMER 1
42186 if test "$USE_UNIX" = 1 ; then
42187 if test "$wxUSE_MGL" != 1; then
42188 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42189 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42190 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42191 echo $ECHO_N "(cached) $ECHO_C" >&6
42194 cat >conftest.$ac_ext <<_ACEOF
42197 cat confdefs.h >>conftest.$ac_ext
42198 cat >>conftest.$ac_ext <<_ACEOF
42199 /* end confdefs.h. */
42201 #include <sys/ioctl.h>
42202 #include <sys/soundcard.h>
42208 ioctl(0, SNDCTL_DSP_SPEED, 0);
42214 rm -f conftest.$ac_objext conftest$ac_exeext
42215 if { (ac_try="$ac_link"
42216 case "(($ac_try" in
42217 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42218 *) ac_try_echo
=$ac_try;;
42220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42221 (eval "$ac_link") 2>conftest.er1
42223 grep -v '^ *+' conftest.er1
>conftest.err
42225 cat conftest.err
>&5
42226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227 (exit $ac_status); } && {
42228 test -z "$ac_c_werror_flag" ||
42229 test ! -s conftest.err
42230 } && test -s conftest
$ac_exeext &&
42231 $as_test_x conftest
$ac_exeext; then
42232 ac_cv_header_sys_soundcard
=yes
42234 echo "$as_me: failed program was:" >&5
42235 sed 's/^/| /' conftest.
$ac_ext >&5
42239 LIBS
="$saveLibs -lossaudio"
42240 cat >conftest.
$ac_ext <<_ACEOF
42243 cat confdefs.h
>>conftest.
$ac_ext
42244 cat >>conftest.
$ac_ext <<_ACEOF
42245 /* end confdefs.h. */
42247 #include <sys/ioctl.h>
42248 #include <sys/soundcard.h>
42254 ioctl(0, SNDCTL_DSP_SPEED, 0);
42260 rm -f conftest.
$ac_objext conftest
$ac_exeext
42261 if { (ac_try
="$ac_link"
42262 case "(($ac_try" in
42263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42264 *) ac_try_echo=$ac_try;;
42266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42267 (eval "$ac_link") 2>conftest.er1
42269 grep -v '^ *+' conftest.er1 >conftest.err
42271 cat conftest.err >&5
42272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42273 (exit $ac_status); } && {
42274 test -z "$ac_c_werror_flag" ||
42275 test ! -s conftest.err
42276 } && test -s conftest$ac_exeext &&
42277 $as_test_x conftest$ac_exeext; then
42278 ac_cv_header_sys_soundcard=yes
42280 echo "$as_me: failed program was:" >&5
42281 sed 's/^/| /' conftest.$ac_ext >&5
42285 ac_cv_header_sys_soundcard=no
42290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42291 conftest$ac_exeext conftest.$ac_ext
42296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42297 conftest$ac_exeext conftest.$ac_ext
42300 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42301 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42304 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42305 cat >>confdefs.h <<\_ACEOF
42306 #define HAVE_SYS_SOUNDCARD_H 1
42313 if test "$wxUSE_SOUND" = "yes"; then
42314 if test "$USE_UNIX" = 1 ; then
42315 if test "$wxUSE_LIBSDL" != "no"; then
42317 # Check whether --with-sdl-prefix was given.
42318 if test "${with_sdl_prefix+set}" = set; then
42319 withval=$with_sdl_prefix; sdl_prefix="$withval"
42325 # Check whether --with-sdl-exec-prefix was given.
42326 if test "${with_sdl_exec_prefix+set}" = set; then
42327 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42332 # Check whether --enable-sdltest was given.
42333 if test "${enable_sdltest+set}" = set; then
42334 enableval=$enable_sdltest;
42340 if test x$sdl_exec_prefix != x ; then
42341 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42342 if test x${SDL_CONFIG+set} != xset ; then
42343 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42346 if test x$sdl_prefix != x ; then
42347 sdl_args="$sdl_args --prefix=$sdl_prefix"
42348 if test x${SDL_CONFIG+set} != xset ; then
42349 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42353 if test "x$prefix" != xNONE; then
42354 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42356 # Extract the first word of "sdl-config", so it can be a program name with args.
42357 set dummy sdl-config; ac_word=$2
42358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42360 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42361 echo $ECHO_N "(cached) $ECHO_C" >&6
42363 case $SDL_CONFIG in
42365 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42369 for as_dir in $PATH
42372 test -z "$as_dir" && as_dir=.
42373 for ac_exec_ext in '' $ac_executable_extensions; do
42374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42375 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42383 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42387 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42388 if test -n "$SDL_CONFIG"; then
42389 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42390 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42392 { echo "$as_me:$LINENO: result: no" >&5
42393 echo "${ECHO_T}no" >&6; }
42397 min_sdl_version=1.2.0
42398 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42399 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42401 if test "$SDL_CONFIG" = "no" ; then
42404 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42405 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42407 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42408 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42409 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42410 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42411 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42412 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42413 if test "x$enable_sdltest" = "xyes" ; then
42414 ac_save_CFLAGS="$CFLAGS"
42415 ac_save_CXXFLAGS="$CXXFLAGS"
42416 ac_save_LIBS="$LIBS"
42417 CFLAGS="$CFLAGS $SDL_CFLAGS"
42418 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42419 LIBS="$LIBS $SDL_LIBS"
42421 if test "$cross_compiling" = yes; then
42422 echo $ac_n "cross compiling; assumed OK... $ac_c"
42424 cat >conftest.$ac_ext <<_ACEOF
42427 cat confdefs.h >>conftest.$ac_ext
42428 cat >>conftest.$ac_ext <<_ACEOF
42429 /* end confdefs.h. */
42432 #include <stdlib.h>
42433 #include <string.h>
42437 my_strdup (char *str)
42443 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42444 strcpy (new_str, str);
42452 int main (int argc, char *argv[])
42454 int major, minor, micro;
42457 /* This hangs on some systems (?)
42458 system ("touch conf.sdltest");
42460 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42462 /* HP/UX 9 (%@#!) writes to sscanf strings */
42463 tmp_version = my_strdup("$min_sdl_version");
42464 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42465 printf("%s, bad version string\n", "$min_sdl_version");
42469 if (($sdl_major_version > major) ||
42470 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42471 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42477 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42478 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42479 printf("*** best to upgrade to the required version.\n");
42480 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42481 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42482 printf("*** config.cache before re-running configure\n");
42489 rm -f conftest$ac_exeext
42490 if { (ac_try="$ac_link"
42491 case "(($ac_try" in
42492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42493 *) ac_try_echo
=$ac_try;;
42495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42496 (eval "$ac_link") 2>&5
42498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42499 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42500 { (case "(($ac_try" in
42501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42502 *) ac_try_echo=$ac_try;;
42504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42505 (eval "$ac_try") 2>&5
42507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42508 (exit $ac_status); }; }; then
42511 echo "$as_me: program exited with status $ac_status" >&5
42512 echo "$as_me: failed program was:" >&5
42513 sed 's/^/| /' conftest.$ac_ext >&5
42515 ( exit $ac_status )
42518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42522 CFLAGS="$ac_save_CFLAGS"
42523 CXXFLAGS="$ac_save_CXXFLAGS"
42524 LIBS="$ac_save_LIBS"
42527 if test "x$no_sdl" = x ; then
42528 { echo "$as_me:$LINENO: result: yes" >&5
42529 echo "${ECHO_T}yes" >&6; }
42531 EXTRALIBS_SDL="$SDL_LIBS"
42532 CFLAGS="$SDL_CFLAGS $CFLAGS"
42533 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42534 cat >>confdefs.h <<\_ACEOF
42535 #define wxUSE_LIBSDL 1
42540 { echo "$as_me:$LINENO: result: no" >&5
42541 echo "${ECHO_T}no" >&6; }
42542 if test "$SDL_CONFIG" = "no" ; then
42543 echo "*** The sdl-config script installed by SDL could not be found"
42544 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42545 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42546 echo "*** full path to sdl-config."
42548 if test -f conf.sdltest ; then
42551 echo "*** Could not run SDL test program, checking why..."
42552 CFLAGS="$CFLAGS $SDL_CFLAGS"
42553 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42554 LIBS="$LIBS $SDL_LIBS"
42555 cat >conftest.$ac_ext <<_ACEOF
42558 cat confdefs.h >>conftest.$ac_ext
42559 cat >>conftest.$ac_ext <<_ACEOF
42560 /* end confdefs.h. */
42565 int main(int argc, char *argv[])
42568 #define main K_and_R_C_main
42578 rm -f conftest.$ac_objext conftest$ac_exeext
42579 if { (ac_try="$ac_link"
42580 case "(($ac_try" in
42581 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42582 *) ac_try_echo
=$ac_try;;
42584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42585 (eval "$ac_link") 2>conftest.er1
42587 grep -v '^ *+' conftest.er1
>conftest.err
42589 cat conftest.err
>&5
42590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42591 (exit $ac_status); } && {
42592 test -z "$ac_c_werror_flag" ||
42593 test ! -s conftest.err
42594 } && test -s conftest
$ac_exeext &&
42595 $as_test_x conftest
$ac_exeext; then
42596 echo "*** The test program compiled, but did not run. This usually means"
42597 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42598 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42599 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42600 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42601 echo "*** is required on your system"
42603 echo "*** If you have an old version installed, it is best to remove it, although"
42604 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42606 echo "$as_me: failed program was:" >&5
42607 sed 's/^/| /' conftest.
$ac_ext >&5
42609 echo "*** The test program failed to compile or link. See the file config.log for the"
42610 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42611 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42612 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42615 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42616 conftest
$ac_exeext conftest.
$ac_ext
42617 CFLAGS
="$ac_save_CFLAGS"
42618 CXXFLAGS
="$ac_save_CXXFLAGS"
42619 LIBS
="$ac_save_LIBS"
42630 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42635 if test "$wxUSE_MGL" = 1; then
42636 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42637 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42643 if test "$wxUSE_SOUND" = "yes"; then
42644 cat >>confdefs.h
<<\_ACEOF
42645 #define wxUSE_SOUND 1
42648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42651 if test "$WXGTK2" = 1; then
42654 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42655 if test -n "$ac_tool_prefix"; then
42656 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42657 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42660 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42661 echo $ECHO_N "(cached) $ECHO_C" >&6
42663 case $PKG_CONFIG in
42665 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42669 for as_dir
in $PATH
42672 test -z "$as_dir" && as_dir
=.
42673 for ac_exec_ext
in '' $ac_executable_extensions; do
42674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42675 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42686 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42687 if test -n "$PKG_CONFIG"; then
42688 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42689 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42691 { echo "$as_me:$LINENO: result: no" >&5
42692 echo "${ECHO_T}no" >&6; }
42697 if test -z "$ac_cv_path_PKG_CONFIG"; then
42698 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42699 # Extract the first word of "pkg-config", so it can be a program name with args.
42700 set dummy pkg
-config; ac_word
=$2
42701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42703 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42704 echo $ECHO_N "(cached) $ECHO_C" >&6
42706 case $ac_pt_PKG_CONFIG in
42708 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42712 for as_dir
in $PATH
42715 test -z "$as_dir" && as_dir
=.
42716 for ac_exec_ext
in '' $ac_executable_extensions; do
42717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42718 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42729 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42730 if test -n "$ac_pt_PKG_CONFIG"; then
42731 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42732 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42734 { echo "$as_me:$LINENO: result: no" >&5
42735 echo "${ECHO_T}no" >&6; }
42738 if test "x$ac_pt_PKG_CONFIG" = x
; then
42741 case $cross_compiling:$ac_tool_warned in
42743 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42744 whose name does not start with the host triplet. If you think this
42745 configuration is useful to you, please write to autoconf@gnu.org." >&5
42746 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42747 whose name does not start with the host triplet. If you think this
42748 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42749 ac_tool_warned
=yes ;;
42751 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42754 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42758 if test -n "$PKG_CONFIG"; then
42759 _pkg_min_version
=0.9.0
42760 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42761 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42762 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42763 { echo "$as_me:$LINENO: result: yes" >&5
42764 echo "${ECHO_T}yes" >&6; }
42766 { echo "$as_me:$LINENO: result: no" >&5
42767 echo "${ECHO_T}no" >&6; }
42773 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42775 if test "$wxUSE_GTKPRINT" = "yes" ; then
42779 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42780 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42782 if test -n "$PKG_CONFIG"; then
42783 if test -n "$GTKPRINT_CFLAGS"; then
42784 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42786 if test -n "$PKG_CONFIG" && \
42787 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42788 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42791 (exit $ac_status); }; then
42792 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42800 if test -n "$PKG_CONFIG"; then
42801 if test -n "$GTKPRINT_LIBS"; then
42802 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42804 if test -n "$PKG_CONFIG" && \
42805 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42806 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42809 (exit $ac_status); }; then
42810 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42821 if test $pkg_failed = yes; then
42823 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42824 _pkg_short_errors_supported
=yes
42826 _pkg_short_errors_supported
=no
42828 if test $_pkg_short_errors_supported = yes; then
42829 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42831 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42833 # Put the nasty error message in config.log where it belongs
42834 echo "$GTKPRINT_PKG_ERRORS" >&5
42837 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42838 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42839 wxUSE_GTKPRINT
="no"
42842 elif test $pkg_failed = untried
; then
42844 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42845 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42846 wxUSE_GTKPRINT
="no"
42850 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42851 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42852 { echo "$as_me:$LINENO: result: yes" >&5
42853 echo "${ECHO_T}yes" >&6; }
42855 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42856 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42857 cat >>confdefs.h
<<\_ACEOF
42858 #define wxUSE_GTKPRINT 1
42865 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42869 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42870 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42872 if test -n "$PKG_CONFIG"; then
42873 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42874 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42876 if test -n "$PKG_CONFIG" && \
42877 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42878 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42881 (exit $ac_status); }; then
42882 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42890 if test -n "$PKG_CONFIG"; then
42891 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42892 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42894 if test -n "$PKG_CONFIG" && \
42895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42896 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42899 (exit $ac_status); }; then
42900 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42911 if test $pkg_failed = yes; then
42913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42914 _pkg_short_errors_supported
=yes
42916 _pkg_short_errors_supported
=no
42918 if test $_pkg_short_errors_supported = yes; then
42919 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42921 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42923 # Put the nasty error message in config.log where it belongs
42924 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42927 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42928 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42929 wxUSE_LIBGNOMEPRINT
="no"
42932 elif test $pkg_failed = untried
; then
42934 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42935 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42936 wxUSE_LIBGNOMEPRINT
="no"
42940 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42941 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42942 { echo "$as_me:$LINENO: result: yes" >&5
42943 echo "${ECHO_T}yes" >&6; }
42945 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42946 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42947 cat >>confdefs.h
<<\_ACEOF
42948 #define wxUSE_LIBGNOMEPRINT 1
42956 if test "$wxUSE_MIMETYPE" = "yes" ; then
42957 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42961 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42962 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42964 if test -n "$PKG_CONFIG"; then
42965 if test -n "$GNOMEVFS_CFLAGS"; then
42966 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42968 if test -n "$PKG_CONFIG" && \
42969 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42970 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42973 (exit $ac_status); }; then
42974 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42982 if test -n "$PKG_CONFIG"; then
42983 if test -n "$GNOMEVFS_LIBS"; then
42984 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42986 if test -n "$PKG_CONFIG" && \
42987 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42988 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42991 (exit $ac_status); }; then
42992 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43003 if test $pkg_failed = yes; then
43005 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43006 _pkg_short_errors_supported
=yes
43008 _pkg_short_errors_supported
=no
43010 if test $_pkg_short_errors_supported = yes; then
43011 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43013 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43015 # Put the nasty error message in config.log where it belongs
43016 echo "$GNOMEVFS_PKG_ERRORS" >&5
43019 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43020 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43021 wxUSE_LIBGNOMEVFS
="no"
43024 elif test $pkg_failed = untried
; then
43026 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43027 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43028 wxUSE_LIBGNOMEVFS
="no"
43032 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43033 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43034 { echo "$as_me:$LINENO: result: yes" >&5
43035 echo "${ECHO_T}yes" >&6; }
43037 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43038 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43039 cat >>confdefs.h
<<\_ACEOF
43040 #define wxUSE_LIBGNOMEVFS 1
43048 if test "$wxUSE_LIBHILDON" = "yes" ; then
43051 { echo "$as_me:$LINENO: checking for HILDON" >&5
43052 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43054 if test -n "$PKG_CONFIG"; then
43055 if test -n "$HILDON_CFLAGS"; then
43056 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43058 if test -n "$PKG_CONFIG" && \
43059 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43060 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43063 (exit $ac_status); }; then
43064 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43072 if test -n "$PKG_CONFIG"; then
43073 if test -n "$HILDON_LIBS"; then
43074 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43076 if test -n "$PKG_CONFIG" && \
43077 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43078 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43081 (exit $ac_status); }; then
43082 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43093 if test $pkg_failed = yes; then
43095 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43096 _pkg_short_errors_supported
=yes
43098 _pkg_short_errors_supported
=no
43100 if test $_pkg_short_errors_supported = yes; then
43101 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43103 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43105 # Put the nasty error message in config.log where it belongs
43106 echo "$HILDON_PKG_ERRORS" >&5
43109 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43110 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43111 wxUSE_LIBHILDON
="no"
43114 elif test $pkg_failed = untried
; then
43116 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43117 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43118 wxUSE_LIBHILDON
="no"
43122 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43123 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43124 { echo "$as_me:$LINENO: result: yes" >&5
43125 echo "${ECHO_T}yes" >&6; }
43127 EXTRALIBS_HILDON
="$HILDON_LIBS"
43128 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43129 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43130 cat >>confdefs.h
<<\_ACEOF
43131 #define wxUSE_LIBHILDON 1
43139 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43140 cat >>confdefs.h
<<\_ACEOF
43141 #define wxUSE_CMDLINE_PARSER 1
43146 if test "$wxUSE_STOPWATCH" = "yes"; then
43147 cat >>confdefs.h
<<\_ACEOF
43148 #define wxUSE_STOPWATCH 1
43153 if test "$wxUSE_DATETIME" = "yes"; then
43154 cat >>confdefs.h
<<\_ACEOF
43155 #define wxUSE_DATETIME 1
43160 if test "$wxUSE_FILE" = "yes"; then
43161 cat >>confdefs.h
<<\_ACEOF
43162 #define wxUSE_FILE 1
43167 if test "$wxUSE_FFILE" = "yes"; then
43168 cat >>confdefs.h
<<\_ACEOF
43169 #define wxUSE_FFILE 1
43174 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43175 if test "$wxUSE_STREAMS" != yes; then
43176 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43177 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43178 wxUSE_ARCHIVE_STREAMS
=no
43180 cat >>confdefs.h
<<\_ACEOF
43181 #define wxUSE_ARCHIVE_STREAMS 1
43187 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43188 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43189 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43190 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43191 elif test "$wxUSE_ZLIB" = "no"; then
43192 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43193 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43195 cat >>confdefs.h
<<\_ACEOF
43196 #define wxUSE_ZIPSTREAM 1
43202 if test "$wxUSE_TARSTREAM" = "yes"; then
43203 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43204 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43205 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43207 cat >>confdefs.h
<<\_ACEOF
43208 #define wxUSE_TARSTREAM 1
43214 if test "$wxUSE_FILESYSTEM" = "yes"; then
43215 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43216 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43217 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43218 wxUSE_FILESYSTEM
=no
43220 cat >>confdefs.h
<<\_ACEOF
43221 #define wxUSE_FILESYSTEM 1
43227 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43228 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43229 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43230 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43232 cat >>confdefs.h
<<\_ACEOF
43233 #define wxUSE_FS_ARCHIVE 1
43239 if test "$wxUSE_FS_ZIP" = "yes"; then
43240 if test "$wxUSE_FS_ARCHIVE" != yes; then
43241 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43242 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43244 cat >>confdefs.h
<<\_ACEOF
43245 #define wxUSE_FS_ZIP 1
43251 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43252 if test "$USE_UNIX" != 1; then
43253 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43254 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43255 wxUSE_ON_FATAL_EXCEPTION
=no
43257 cat >>confdefs.h
<<\_ACEOF
43258 #define wxUSE_ON_FATAL_EXCEPTION 1
43264 if test "$wxUSE_STACKWALKER" = "yes"; then
43265 cat >>confdefs.h
<<\_ACEOF
43266 #define wxUSE_STACKWALKER 1
43271 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43272 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43273 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43274 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43275 wxUSE_DEBUGREPORT
=no
43277 cat >>confdefs.h
<<\_ACEOF
43278 #define wxUSE_DEBUGREPORT 1
43281 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43287 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43288 cat >>confdefs.h
<<\_ACEOF
43289 #define wxUSE_SNGLINST_CHECKER 1
43294 if test "$wxUSE_BUSYINFO" = "yes"; then
43295 cat >>confdefs.h
<<\_ACEOF
43296 #define wxUSE_BUSYINFO 1
43301 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43302 cat >>confdefs.h
<<\_ACEOF
43303 #define wxUSE_STD_IOSTREAM 1
43308 if test "$wxUSE_STD_STRING" = "yes"; then
43309 cat >>confdefs.h
<<\_ACEOF
43310 #define wxUSE_STD_STRING 1
43315 if test "$wxUSE_STDPATHS" = "yes"; then
43316 cat >>confdefs.h
<<\_ACEOF
43317 #define wxUSE_STDPATHS 1
43322 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43323 cat >>confdefs.h
<<\_ACEOF
43324 #define wxUSE_TEXTBUFFER 1
43329 if test "$wxUSE_TEXTFILE" = "yes"; then
43330 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43331 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43332 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43334 cat >>confdefs.h
<<\_ACEOF
43335 #define wxUSE_TEXTFILE 1
43341 if test "$wxUSE_CONFIG" = "yes" ; then
43342 if test "$wxUSE_TEXTFILE" != "yes"; then
43343 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43344 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43346 cat >>confdefs.h
<<\_ACEOF
43347 #define wxUSE_CONFIG 1
43350 cat >>confdefs.h
<<\_ACEOF
43351 #define wxUSE_CONFIG_NATIVE 1
43354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43358 if test "$wxUSE_INTL" = "yes" ; then
43359 if test "$wxUSE_FILE" != "yes"; then
43360 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43361 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43363 cat >>confdefs.h
<<\_ACEOF
43364 #define wxUSE_INTL 1
43367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43368 GUIDIST
="$GUIDIST INTL_DIST"
43372 if test "$wxUSE_XLOCALE" = "yes" ; then
43373 cat >>confdefs.h
<<\_ACEOF
43374 #define wxUSE_XLOCALE 1
43377 { echo "$as_me:$LINENO: checking for locale_t" >&5
43378 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43379 if test "${ac_cv_type_locale_t+set}" = set; then
43380 echo $ECHO_N "(cached) $ECHO_C" >&6
43382 cat >conftest.
$ac_ext <<_ACEOF
43385 cat confdefs.h
>>conftest.
$ac_ext
43386 cat >>conftest.
$ac_ext <<_ACEOF
43387 /* end confdefs.h. */
43388 #include <xlocale.h>
43389 #include <locale.h>
43391 typedef locale_t ac__type_new_;
43395 if ((ac__type_new_ *) 0)
43397 if (sizeof (ac__type_new_))
43403 rm -f conftest.
$ac_objext
43404 if { (ac_try
="$ac_compile"
43405 case "(($ac_try" in
43406 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43407 *) ac_try_echo=$ac_try;;
43409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43410 (eval "$ac_compile") 2>conftest.er1
43412 grep -v '^ *+' conftest.er1 >conftest.err
43414 cat conftest.err >&5
43415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43416 (exit $ac_status); } && {
43417 test -z "$ac_c_werror_flag" ||
43418 test ! -s conftest.err
43419 } && test -s conftest.$ac_objext; then
43420 ac_cv_type_locale_t=yes
43422 echo "$as_me: failed program was:" >&5
43423 sed 's/^/| /' conftest.$ac_ext >&5
43425 ac_cv_type_locale_t=no
43428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43430 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43431 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43432 if test $ac_cv_type_locale_t = yes; then
43434 cat >>confdefs.h <<_ACEOF
43435 #define HAVE_LOCALE_T 1
43443 if test "$wxUSE_LOG" = "yes"; then
43444 cat >>confdefs.h <<\_ACEOF
43445 #define wxUSE_LOG 1
43449 if test "$wxUSE_LOGGUI" = "yes"; then
43450 cat >>confdefs.h <<\_ACEOF
43451 #define wxUSE_LOGGUI 1
43456 if test "$wxUSE_LOGWINDOW" = "yes"; then
43457 cat >>confdefs.h <<\_ACEOF
43458 #define wxUSE_LOGWINDOW 1
43463 if test "$wxUSE_LOGDIALOG" = "yes"; then
43464 cat >>confdefs.h <<\_ACEOF
43465 #define wxUSE_LOG_DIALOG 1
43470 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43473 if test "$wxUSE_LONGLONG" = "yes"; then
43474 cat >>confdefs.h <<\_ACEOF
43475 #define wxUSE_LONGLONG 1
43480 if test "$wxUSE_GEOMETRY" = "yes"; then
43481 cat >>confdefs.h <<\_ACEOF
43482 #define wxUSE_GEOMETRY 1
43487 if test "$wxUSE_BASE64" = "yes"; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_BASE64 1
43494 if test "$wxUSE_STREAMS" = "yes" ; then
43495 cat >>confdefs.h <<\_ACEOF
43496 #define wxUSE_STREAMS 1
43501 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43502 cat >>confdefs.h <<\_ACEOF
43503 #define wxUSE_PRINTF_POS_PARAMS 1
43508 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43509 cat >>confdefs.h <<\_ACEOF
43510 #define wxUSE_OBJC_UNIQUIFYING 1
43516 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43517 cat >>confdefs.h <<\_ACEOF
43518 #define wxUSE_CONSOLE_EVENTLOOP 1
43522 if test "$wxUSE_UNIX" = "yes"; then
43523 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43524 cat >>confdefs.h <<\_ACEOF
43525 #define wxUSE_SELECT_DISPATCHER 1
43530 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43532 for ac_header in sys/epoll.h
43534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43535 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43537 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43538 echo $ECHO_N "(cached) $ECHO_C" >&6
43540 cat >conftest.$ac_ext <<_ACEOF
43543 cat confdefs.h >>conftest.$ac_ext
43544 cat >>conftest.$ac_ext <<_ACEOF
43545 /* end confdefs.h. */
43546 $ac_includes_default
43548 #include <$ac_header>
43550 rm -f conftest.$ac_objext
43551 if { (ac_try="$ac_compile"
43552 case "(($ac_try" in
43553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43554 *) ac_try_echo
=$ac_try;;
43556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43557 (eval "$ac_compile") 2>conftest.er1
43559 grep -v '^ *+' conftest.er1
>conftest.err
43561 cat conftest.err
>&5
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); } && {
43564 test -z "$ac_c_werror_flag" ||
43565 test ! -s conftest.err
43566 } && test -s conftest.
$ac_objext; then
43567 eval "$as_ac_Header=yes"
43569 echo "$as_me: failed program was:" >&5
43570 sed 's/^/| /' conftest.
$ac_ext >&5
43572 eval "$as_ac_Header=no"
43575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43577 ac_res
=`eval echo '${'$as_ac_Header'}'`
43578 { echo "$as_me:$LINENO: result: $ac_res" >&5
43579 echo "${ECHO_T}$ac_res" >&6; }
43580 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43581 cat >>confdefs.h
<<_ACEOF
43582 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43589 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43590 cat >>confdefs.h
<<\_ACEOF
43591 #define wxUSE_EPOLL_DISPATCHER 1
43595 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43596 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43605 for ac_func
in gettimeofday ftime
43607 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43608 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43610 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43611 echo $ECHO_N "(cached) $ECHO_C" >&6
43613 cat >conftest.
$ac_ext <<_ACEOF
43616 cat confdefs.h
>>conftest.
$ac_ext
43617 cat >>conftest.
$ac_ext <<_ACEOF
43618 /* end confdefs.h. */
43619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43621 #define $ac_func innocuous_$ac_func
43623 /* System header to define __stub macros and hopefully few prototypes,
43624 which can conflict with char $ac_func (); below.
43625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43626 <limits.h> exists even on freestanding compilers. */
43629 # include <limits.h>
43631 # include <assert.h>
43636 /* Override any GCC internal prototype to avoid an error.
43637 Use char because int might match the return type of a GCC
43638 builtin and then its argument prototype would still apply. */
43643 /* The GNU C library defines this for functions which it implements
43644 to always fail with ENOSYS. Some functions are actually named
43645 something starting with __ and the normal name is an alias. */
43646 #if defined __stub_$ac_func || defined __stub___$ac_func
43653 return $ac_func ();
43658 rm -f conftest.
$ac_objext conftest
$ac_exeext
43659 if { (ac_try
="$ac_link"
43660 case "(($ac_try" in
43661 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43662 *) ac_try_echo=$ac_try;;
43664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43665 (eval "$ac_link") 2>conftest.er1
43667 grep -v '^ *+' conftest.er1 >conftest.err
43669 cat conftest.err >&5
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); } && {
43672 test -z "$ac_c_werror_flag" ||
43673 test ! -s conftest.err
43674 } && test -s conftest$ac_exeext &&
43675 $as_test_x conftest$ac_exeext; then
43676 eval "$as_ac_var=yes"
43678 echo "$as_me: failed program was:" >&5
43679 sed 's/^/| /' conftest.$ac_ext >&5
43681 eval "$as_ac_var=no"
43684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43685 conftest$ac_exeext conftest.$ac_ext
43687 ac_res=`eval echo '${'$as_ac_var'}'`
43688 { echo "$as_me:$LINENO: result: $ac_res" >&5
43689 echo "${ECHO_T}$ac_res" >&6; }
43690 if test `eval echo '${'$as_ac_var'}'` = yes; then
43691 cat >>confdefs.h <<_ACEOF
43692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43699 if test "$ac_cv_func_gettimeofday" = "yes"; then
43700 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43701 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43702 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43703 echo $ECHO_N "(cached) $ECHO_C" >&6
43706 cat >conftest.$ac_ext <<_ACEOF
43709 cat confdefs.h >>conftest.$ac_ext
43710 cat >>conftest.$ac_ext <<_ACEOF
43711 /* end confdefs.h. */
43713 #include <sys/time.h>
43714 #include <unistd.h>
43721 gettimeofday(&tv, NULL);
43727 rm -f conftest.$ac_objext
43728 if { (ac_try="$ac_compile"
43729 case "(($ac_try" in
43730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43731 *) ac_try_echo
=$ac_try;;
43733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43734 (eval "$ac_compile") 2>conftest.er1
43736 grep -v '^ *+' conftest.er1
>conftest.err
43738 cat conftest.err
>&5
43739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43740 (exit $ac_status); } && {
43741 test -z "$ac_c_werror_flag" ||
43742 test ! -s conftest.err
43743 } && test -s conftest.
$ac_objext; then
43744 wx_cv_func_gettimeofday_has_2_args
=yes
43746 echo "$as_me: failed program was:" >&5
43747 sed 's/^/| /' conftest.
$ac_ext >&5
43749 cat >conftest.
$ac_ext <<_ACEOF
43752 cat confdefs.h
>>conftest.
$ac_ext
43753 cat >>conftest.
$ac_ext <<_ACEOF
43754 /* end confdefs.h. */
43756 #include <sys/time.h>
43757 #include <unistd.h>
43770 rm -f conftest.
$ac_objext
43771 if { (ac_try
="$ac_compile"
43772 case "(($ac_try" in
43773 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43774 *) ac_try_echo=$ac_try;;
43776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43777 (eval "$ac_compile") 2>conftest.er1
43779 grep -v '^ *+' conftest.er1 >conftest.err
43781 cat conftest.err >&5
43782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43783 (exit $ac_status); } && {
43784 test -z "$ac_c_werror_flag" ||
43785 test ! -s conftest.err
43786 } && test -s conftest.$ac_objext; then
43787 wx_cv_func_gettimeofday_has_2_args=no
43789 echo "$as_me: failed program was:" >&5
43790 sed 's/^/| /' conftest.$ac_ext >&5
43793 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43794 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43795 wx_cv_func_gettimeofday_has_2_args=unknown
43800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43807 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43808 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43810 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43811 cat >>confdefs.h <<\_ACEOF
43812 #define WX_GETTIMEOFDAY_NO_TZ 1
43818 if test "$wxUSE_DATETIME" = "yes"; then
43819 { echo "$as_me:$LINENO: checking for strptime" >&5
43820 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43821 if test "${ac_cv_func_strptime+set}" = set; then
43822 echo $ECHO_N "(cached) $ECHO_C" >&6
43824 cat >conftest.$ac_ext <<_ACEOF
43827 cat confdefs.h >>conftest.$ac_ext
43828 cat >>conftest.$ac_ext <<_ACEOF
43829 /* end confdefs.h. */
43830 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43832 #define strptime innocuous_strptime
43834 /* System header to define __stub macros and hopefully few prototypes,
43835 which can conflict with char strptime (); below.
43836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43837 <limits.h> exists even on freestanding compilers. */
43840 # include <limits.h>
43842 # include <assert.h>
43847 /* Override any GCC internal prototype to avoid an error.
43848 Use char because int might match the return type of a GCC
43849 builtin and then its argument prototype would still apply. */
43854 /* The GNU C library defines this for functions which it implements
43855 to always fail with ENOSYS. Some functions are actually named
43856 something starting with __ and the normal name is an alias. */
43857 #if defined __stub_strptime || defined __stub___strptime
43864 return strptime ();
43869 rm -f conftest.$ac_objext conftest$ac_exeext
43870 if { (ac_try="$ac_link"
43871 case "(($ac_try" in
43872 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43873 *) ac_try_echo
=$ac_try;;
43875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43876 (eval "$ac_link") 2>conftest.er1
43878 grep -v '^ *+' conftest.er1
>conftest.err
43880 cat conftest.err
>&5
43881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43882 (exit $ac_status); } && {
43883 test -z "$ac_c_werror_flag" ||
43884 test ! -s conftest.err
43885 } && test -s conftest
$ac_exeext &&
43886 $as_test_x conftest
$ac_exeext; then
43887 ac_cv_func_strptime
=yes
43889 echo "$as_me: failed program was:" >&5
43890 sed 's/^/| /' conftest.
$ac_ext >&5
43892 ac_cv_func_strptime
=no
43895 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43896 conftest
$ac_exeext conftest.
$ac_ext
43898 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43899 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43901 if test "$ac_cv_func_strptime" = "yes"; then
43902 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43903 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43904 if test "${wx_cv_func_strptime_decl+set}" = set; then
43905 echo $ECHO_N "(cached) $ECHO_C" >&6
43909 ac_cpp
='$CXXCPP $CPPFLAGS'
43910 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43911 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43912 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43914 cat >conftest.
$ac_ext <<_ACEOF
43917 cat confdefs.h
>>conftest.
$ac_ext
43918 cat >>conftest.
$ac_ext <<_ACEOF
43919 /* end confdefs.h. */
43928 strptime("foo", "bar", &t);
43934 rm -f conftest.
$ac_objext
43935 if { (ac_try
="$ac_compile"
43936 case "(($ac_try" in
43937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43938 *) ac_try_echo=$ac_try;;
43940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43941 (eval "$ac_compile") 2>conftest.er1
43943 grep -v '^ *+' conftest.er1 >conftest.err
43945 cat conftest.err >&5
43946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947 (exit $ac_status); } && {
43948 test -z "$ac_cxx_werror_flag" ||
43949 test ! -s conftest.err
43950 } && test -s conftest.$ac_objext; then
43951 wx_cv_func_strptime_decl=yes
43953 echo "$as_me: failed program was:" >&5
43954 sed 's/^/| /' conftest.$ac_ext >&5
43956 wx_cv_func_strptime_decl=no
43960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43962 ac_cpp='$CPP $CPPFLAGS'
43963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43970 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43971 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43973 if test "$wx_cv_func_strptime_decl" = "yes"; then
43974 cat >>confdefs.h <<\_ACEOF
43975 #define HAVE_STRPTIME_DECL 1
43979 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43981 if test "$ac_cv_func_strptime" = "yes"; then
43982 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43983 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43984 if test "${wx_cv_func_strptime_ok+set}" = set; then
43985 echo $ECHO_N "(cached) $ECHO_C" >&6
43987 if test "$cross_compiling" = yes; then
43988 wx_cv_func_strptime_ok=no
43991 cat >conftest.$ac_ext <<_ACEOF
43993 #include <stdlib.h>
43995 #include "confdefs.h"
44002 return !!strptime("", "%x", &t);
44006 rm -f conftest$ac_exeext
44007 if { (ac_try="$ac_link"
44008 case "(($ac_try" in
44009 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44010 *) ac_try_echo
=$ac_try;;
44012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44013 (eval "$ac_link") 2>&5
44015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44016 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44017 { (case "(($ac_try" in
44018 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44019 *) ac_try_echo=$ac_try;;
44021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44022 (eval "$ac_try") 2>&5
44024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44025 (exit $ac_status); }; }; then
44026 wx_cv_func_strptime_ok=yes
44028 echo "$as_me: program exited with status $ac_status" >&5
44029 echo "$as_me: failed program was:" >&5
44030 sed 's/^/| /' conftest.$ac_ext >&5
44032 ( exit $ac_status )
44033 wx_cv_func_strptime_ok=no
44035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44041 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44042 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44044 if test "$wx_cv_func_strptime_ok" = "yes"; then
44045 cat >>confdefs.h <<\_ACEOF
44046 #define HAVE_STRPTIME 1
44052 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44053 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44054 if test "${wx_cv_var_timezone+set}" = set; then
44055 echo $ECHO_N "(cached) $ECHO_C" >&6
44059 ac_cpp='$CXXCPP $CPPFLAGS'
44060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44064 cat >conftest.$ac_ext <<_ACEOF
44067 cat confdefs.h >>conftest.$ac_ext
44068 cat >>conftest.$ac_ext <<_ACEOF
44069 /* end confdefs.h. */
44084 rm -f conftest.$ac_objext
44085 if { (ac_try="$ac_compile"
44086 case "(($ac_try" in
44087 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44088 *) ac_try_echo
=$ac_try;;
44090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44091 (eval "$ac_compile") 2>conftest.er1
44093 grep -v '^ *+' conftest.er1
>conftest.err
44095 cat conftest.err
>&5
44096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44097 (exit $ac_status); } && {
44098 test -z "$ac_cxx_werror_flag" ||
44099 test ! -s conftest.err
44100 } && test -s conftest.
$ac_objext; then
44102 wx_cv_var_timezone
=timezone
44105 echo "$as_me: failed program was:" >&5
44106 sed 's/^/| /' conftest.
$ac_ext >&5
44109 cat >conftest.
$ac_ext <<_ACEOF
44112 cat confdefs.h
>>conftest.
$ac_ext
44113 cat >>conftest.
$ac_ext <<_ACEOF
44114 /* end confdefs.h. */
44129 rm -f conftest.
$ac_objext
44130 if { (ac_try
="$ac_compile"
44131 case "(($ac_try" in
44132 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44133 *) ac_try_echo=$ac_try;;
44135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44136 (eval "$ac_compile") 2>conftest.er1
44138 grep -v '^ *+' conftest.er1 >conftest.err
44140 cat conftest.err >&5
44141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44142 (exit $ac_status); } && {
44143 test -z "$ac_cxx_werror_flag" ||
44144 test ! -s conftest.err
44145 } && test -s conftest.$ac_objext; then
44147 wx_cv_var_timezone=_timezone
44150 echo "$as_me: failed program was:" >&5
44151 sed 's/^/| /' conftest.$ac_ext >&5
44154 cat >conftest.$ac_ext <<_ACEOF
44157 cat confdefs.h >>conftest.$ac_ext
44158 cat >>conftest.$ac_ext <<_ACEOF
44159 /* end confdefs.h. */
44174 rm -f conftest.$ac_objext
44175 if { (ac_try="$ac_compile"
44176 case "(($ac_try" in
44177 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44178 *) ac_try_echo
=$ac_try;;
44180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44181 (eval "$ac_compile") 2>conftest.er1
44183 grep -v '^ *+' conftest.er1
>conftest.err
44185 cat conftest.err
>&5
44186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44187 (exit $ac_status); } && {
44188 test -z "$ac_cxx_werror_flag" ||
44189 test ! -s conftest.err
44190 } && test -s conftest.
$ac_objext; then
44192 wx_cv_var_timezone
=__timezone
44195 echo "$as_me: failed program was:" >&5
44196 sed 's/^/| /' conftest.
$ac_ext >&5
44199 if test "$USE_DOS" = 0 ; then
44200 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44201 echo "$as_me: WARNING: no timezone variable" >&2;}
44207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44219 ac_cpp
='$CPP $CPPFLAGS'
44220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44227 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44228 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44230 if test "x$wx_cv_var_timezone" != x
; then
44231 cat >>confdefs.h
<<_ACEOF
44232 #define WX_TIMEZONE $wx_cv_var_timezone
44238 for ac_func
in localtime
44240 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44241 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44243 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44244 echo $ECHO_N "(cached) $ECHO_C" >&6
44246 cat >conftest.
$ac_ext <<_ACEOF
44249 cat confdefs.h
>>conftest.
$ac_ext
44250 cat >>conftest.
$ac_ext <<_ACEOF
44251 /* end confdefs.h. */
44252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44254 #define $ac_func innocuous_$ac_func
44256 /* System header to define __stub macros and hopefully few prototypes,
44257 which can conflict with char $ac_func (); below.
44258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44259 <limits.h> exists even on freestanding compilers. */
44262 # include <limits.h>
44264 # include <assert.h>
44269 /* Override any GCC internal prototype to avoid an error.
44270 Use char because int might match the return type of a GCC
44271 builtin and then its argument prototype would still apply. */
44276 /* The GNU C library defines this for functions which it implements
44277 to always fail with ENOSYS. Some functions are actually named
44278 something starting with __ and the normal name is an alias. */
44279 #if defined __stub_$ac_func || defined __stub___$ac_func
44286 return $ac_func ();
44291 rm -f conftest.
$ac_objext conftest
$ac_exeext
44292 if { (ac_try
="$ac_link"
44293 case "(($ac_try" in
44294 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44295 *) ac_try_echo=$ac_try;;
44297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44298 (eval "$ac_link") 2>conftest.er1
44300 grep -v '^ *+' conftest.er1 >conftest.err
44302 cat conftest.err >&5
44303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44304 (exit $ac_status); } && {
44305 test -z "$ac_c_werror_flag" ||
44306 test ! -s conftest.err
44307 } && test -s conftest$ac_exeext &&
44308 $as_test_x conftest$ac_exeext; then
44309 eval "$as_ac_var=yes"
44311 echo "$as_me: failed program was:" >&5
44312 sed 's/^/| /' conftest.$ac_ext >&5
44314 eval "$as_ac_var=no"
44317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44318 conftest$ac_exeext conftest.$ac_ext
44320 ac_res=`eval echo '${'$as_ac_var'}'`
44321 { echo "$as_me:$LINENO: result: $ac_res" >&5
44322 echo "${ECHO_T}$ac_res" >&6; }
44323 if test `eval echo '${'$as_ac_var'}'` = yes; then
44324 cat >>confdefs.h <<_ACEOF
44325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44332 if test "$ac_cv_func_localtime" = "yes"; then
44333 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44334 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44335 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44336 echo $ECHO_N "(cached) $ECHO_C" >&6
44339 cat >conftest.$ac_ext <<_ACEOF
44342 cat confdefs.h >>conftest.$ac_ext
44343 cat >>conftest.$ac_ext <<_ACEOF
44344 /* end confdefs.h. */
44359 rm -f conftest.$ac_objext
44360 if { (ac_try="$ac_compile"
44361 case "(($ac_try" in
44362 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44363 *) ac_try_echo
=$ac_try;;
44365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44366 (eval "$ac_compile") 2>conftest.er1
44368 grep -v '^ *+' conftest.er1
>conftest.err
44370 cat conftest.err
>&5
44371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44372 (exit $ac_status); } && {
44373 test -z "$ac_c_werror_flag" ||
44374 test ! -s conftest.err
44375 } && test -s conftest.
$ac_objext; then
44377 wx_cv_struct_tm_has_gmtoff
=yes
44380 echo "$as_me: failed program was:" >&5
44381 sed 's/^/| /' conftest.
$ac_ext >&5
44383 wx_cv_struct_tm_has_gmtoff
=no
44387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44390 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44391 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44394 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44395 cat >>confdefs.h
<<\_ACEOF
44396 #define WX_GMTOFF_IN_TM 1
44401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44405 if test "$wxUSE_SOCKETS" = "yes"; then
44406 if test "$wxUSE_MGL" = 1; then
44407 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44408 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44413 if test "$wxUSE_SOCKETS" = "yes"; then
44414 if test "$TOOLKIT" != "MSW"; then
44415 { echo "$as_me:$LINENO: checking for socket" >&5
44416 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44417 if test "${ac_cv_func_socket+set}" = set; then
44418 echo $ECHO_N "(cached) $ECHO_C" >&6
44420 cat >conftest.
$ac_ext <<_ACEOF
44423 cat confdefs.h
>>conftest.
$ac_ext
44424 cat >>conftest.
$ac_ext <<_ACEOF
44425 /* end confdefs.h. */
44426 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44428 #define socket innocuous_socket
44430 /* System header to define __stub macros and hopefully few prototypes,
44431 which can conflict with char socket (); below.
44432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44433 <limits.h> exists even on freestanding compilers. */
44436 # include <limits.h>
44438 # include <assert.h>
44443 /* Override any GCC internal prototype to avoid an error.
44444 Use char because int might match the return type of a GCC
44445 builtin and then its argument prototype would still apply. */
44450 /* The GNU C library defines this for functions which it implements
44451 to always fail with ENOSYS. Some functions are actually named
44452 something starting with __ and the normal name is an alias. */
44453 #if defined __stub_socket || defined __stub___socket
44465 rm -f conftest.
$ac_objext conftest
$ac_exeext
44466 if { (ac_try
="$ac_link"
44467 case "(($ac_try" in
44468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44469 *) ac_try_echo=$ac_try;;
44471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44472 (eval "$ac_link") 2>conftest.er1
44474 grep -v '^ *+' conftest.er1 >conftest.err
44476 cat conftest.err >&5
44477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44478 (exit $ac_status); } && {
44479 test -z "$ac_c_werror_flag" ||
44480 test ! -s conftest.err
44481 } && test -s conftest$ac_exeext &&
44482 $as_test_x conftest$ac_exeext; then
44483 ac_cv_func_socket=yes
44485 echo "$as_me: failed program was:" >&5
44486 sed 's/^/| /' conftest.$ac_ext >&5
44488 ac_cv_func_socket=no
44491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44492 conftest$ac_exeext conftest.$ac_ext
44494 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44495 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44496 if test $ac_cv_func_socket = yes; then
44500 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44501 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44502 if test "${ac_cv_lib_socket_socket+set}" = set; then
44503 echo $ECHO_N "(cached) $ECHO_C" >&6
44505 ac_check_lib_save_LIBS=$LIBS
44506 LIBS="-lsocket $LIBS"
44507 cat >conftest.$ac_ext <<_ACEOF
44510 cat confdefs.h >>conftest.$ac_ext
44511 cat >>conftest.$ac_ext <<_ACEOF
44512 /* end confdefs.h. */
44514 /* Override any GCC internal prototype to avoid an error.
44515 Use char because int might match the return type of a GCC
44516 builtin and then its argument prototype would still apply. */
44529 rm -f conftest.$ac_objext conftest$ac_exeext
44530 if { (ac_try="$ac_link"
44531 case "(($ac_try" in
44532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44533 *) ac_try_echo
=$ac_try;;
44535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44536 (eval "$ac_link") 2>conftest.er1
44538 grep -v '^ *+' conftest.er1
>conftest.err
44540 cat conftest.err
>&5
44541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44542 (exit $ac_status); } && {
44543 test -z "$ac_c_werror_flag" ||
44544 test ! -s conftest.err
44545 } && test -s conftest
$ac_exeext &&
44546 $as_test_x conftest
$ac_exeext; then
44547 ac_cv_lib_socket_socket
=yes
44549 echo "$as_me: failed program was:" >&5
44550 sed 's/^/| /' conftest.
$ac_ext >&5
44552 ac_cv_lib_socket_socket
=no
44555 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44556 conftest
$ac_exeext conftest.
$ac_ext
44557 LIBS
=$ac_check_lib_save_LIBS
44559 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44560 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44561 if test $ac_cv_lib_socket_socket = yes; then
44562 if test "$INET_LINK" != " -lsocket"; then
44563 INET_LINK
="$INET_LINK -lsocket"
44567 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44568 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44581 if test "$wxUSE_SOCKETS" = "yes" ; then
44582 if test "$TOOLKIT" != "MSW"; then
44583 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44584 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44585 if test "${wx_cv_type_getsockname3+set}" = set; then
44586 echo $ECHO_N "(cached) $ECHO_C" >&6
44590 ac_cpp
='$CXXCPP $CPPFLAGS'
44591 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44592 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44593 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44595 cat >conftest.
$ac_ext <<_ACEOF
44598 cat confdefs.h
>>conftest.
$ac_ext
44599 cat >>conftest.
$ac_ext <<_ACEOF
44600 /* end confdefs.h. */
44602 #include <sys/types.h>
44603 #include <sys/socket.h>
44610 getsockname(0, 0, &len);
44616 rm -f conftest.
$ac_objext
44617 if { (ac_try
="$ac_compile"
44618 case "(($ac_try" in
44619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44620 *) ac_try_echo=$ac_try;;
44622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44623 (eval "$ac_compile") 2>conftest.er1
44625 grep -v '^ *+' conftest.er1 >conftest.err
44627 cat conftest.err >&5
44628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44629 (exit $ac_status); } && {
44630 test -z "$ac_cxx_werror_flag" ||
44631 test ! -s conftest.err
44632 } && test -s conftest.$ac_objext; then
44633 wx_cv_type_getsockname3=socklen_t
44635 echo "$as_me: failed program was:" >&5
44636 sed 's/^/| /' conftest.$ac_ext >&5
44639 CFLAGS_OLD="$CFLAGS"
44640 if test "$GCC" = yes ; then
44641 CFLAGS="-Werror $CFLAGS"
44644 cat >conftest.$ac_ext <<_ACEOF
44647 cat confdefs.h >>conftest.$ac_ext
44648 cat >>conftest.$ac_ext <<_ACEOF
44649 /* end confdefs.h. */
44651 #include <sys/types.h>
44652 #include <sys/socket.h>
44659 getsockname(0, 0, &len);
44665 rm -f conftest.$ac_objext
44666 if { (ac_try="$ac_compile"
44667 case "(($ac_try" in
44668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44669 *) ac_try_echo
=$ac_try;;
44671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44672 (eval "$ac_compile") 2>conftest.er1
44674 grep -v '^ *+' conftest.er1
>conftest.err
44676 cat conftest.err
>&5
44677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44678 (exit $ac_status); } && {
44679 test -z "$ac_cxx_werror_flag" ||
44680 test ! -s conftest.err
44681 } && test -s conftest.
$ac_objext; then
44682 wx_cv_type_getsockname3
=size_t
44684 echo "$as_me: failed program was:" >&5
44685 sed 's/^/| /' conftest.
$ac_ext >&5
44687 cat >conftest.
$ac_ext <<_ACEOF
44690 cat confdefs.h
>>conftest.
$ac_ext
44691 cat >>conftest.
$ac_ext <<_ACEOF
44692 /* end confdefs.h. */
44694 #include <sys/types.h>
44695 #include <sys/socket.h>
44702 getsockname(0, 0, &len);
44708 rm -f conftest.
$ac_objext
44709 if { (ac_try
="$ac_compile"
44710 case "(($ac_try" in
44711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44712 *) ac_try_echo=$ac_try;;
44714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44715 (eval "$ac_compile") 2>conftest.er1
44717 grep -v '^ *+' conftest.er1 >conftest.err
44719 cat conftest.err >&5
44720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44721 (exit $ac_status); } && {
44722 test -z "$ac_cxx_werror_flag" ||
44723 test ! -s conftest.err
44724 } && test -s conftest.$ac_objext; then
44725 wx_cv_type_getsockname3=int
44727 echo "$as_me: failed program was:" >&5
44728 sed 's/^/| /' conftest.$ac_ext >&5
44730 wx_cv_type_getsockname3=unknown
44734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44740 CFLAGS="$CFLAGS_OLD"
44745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44747 ac_cpp='$CPP $CPPFLAGS'
44748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44754 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44755 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44757 if test "$wx_cv_type_getsockname3" = "unknown"; then
44759 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44760 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44762 cat >>confdefs.h <<_ACEOF
44763 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44767 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44768 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44769 if test "${wx_cv_type_getsockopt5+set}" = set; then
44770 echo $ECHO_N "(cached) $ECHO_C" >&6
44774 ac_cpp='$CXXCPP $CPPFLAGS'
44775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44779 cat >conftest.$ac_ext <<_ACEOF
44782 cat confdefs.h >>conftest.$ac_ext
44783 cat >>conftest.$ac_ext <<_ACEOF
44784 /* end confdefs.h. */
44786 #include <sys/types.h>
44787 #include <sys/socket.h>
44794 getsockopt(0, 0, 0, 0, &len);
44800 rm -f conftest.$ac_objext
44801 if { (ac_try="$ac_compile"
44802 case "(($ac_try" in
44803 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44804 *) ac_try_echo
=$ac_try;;
44806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44807 (eval "$ac_compile") 2>conftest.er1
44809 grep -v '^ *+' conftest.er1
>conftest.err
44811 cat conftest.err
>&5
44812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44813 (exit $ac_status); } && {
44814 test -z "$ac_cxx_werror_flag" ||
44815 test ! -s conftest.err
44816 } && test -s conftest.
$ac_objext; then
44817 wx_cv_type_getsockopt5
=socklen_t
44819 echo "$as_me: failed program was:" >&5
44820 sed 's/^/| /' conftest.
$ac_ext >&5
44823 cat >conftest.
$ac_ext <<_ACEOF
44826 cat confdefs.h
>>conftest.
$ac_ext
44827 cat >>conftest.
$ac_ext <<_ACEOF
44828 /* end confdefs.h. */
44830 #include <sys/types.h>
44831 #include <sys/socket.h>
44838 getsockopt(0, 0, 0, 0, &len);
44844 rm -f conftest.
$ac_objext
44845 if { (ac_try
="$ac_compile"
44846 case "(($ac_try" in
44847 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44848 *) ac_try_echo=$ac_try;;
44850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44851 (eval "$ac_compile") 2>conftest.er1
44853 grep -v '^ *+' conftest.er1 >conftest.err
44855 cat conftest.err >&5
44856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44857 (exit $ac_status); } && {
44858 test -z "$ac_cxx_werror_flag" ||
44859 test ! -s conftest.err
44860 } && test -s conftest.$ac_objext; then
44861 wx_cv_type_getsockopt5=size_t
44863 echo "$as_me: failed program was:" >&5
44864 sed 's/^/| /' conftest.$ac_ext >&5
44866 cat >conftest.$ac_ext <<_ACEOF
44869 cat confdefs.h >>conftest.$ac_ext
44870 cat >>conftest.$ac_ext <<_ACEOF
44871 /* end confdefs.h. */
44873 #include <sys/types.h>
44874 #include <sys/socket.h>
44881 getsockopt(0, 0, 0, 0, &len);
44887 rm -f conftest.$ac_objext
44888 if { (ac_try="$ac_compile"
44889 case "(($ac_try" in
44890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44891 *) ac_try_echo
=$ac_try;;
44893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44894 (eval "$ac_compile") 2>conftest.er1
44896 grep -v '^ *+' conftest.er1
>conftest.err
44898 cat conftest.err
>&5
44899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44900 (exit $ac_status); } && {
44901 test -z "$ac_cxx_werror_flag" ||
44902 test ! -s conftest.err
44903 } && test -s conftest.
$ac_objext; then
44904 wx_cv_type_getsockopt5
=int
44906 echo "$as_me: failed program was:" >&5
44907 sed 's/^/| /' conftest.
$ac_ext >&5
44909 wx_cv_type_getsockopt5
=unknown
44913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44924 ac_cpp
='$CPP $CPPFLAGS'
44925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44931 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44932 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44934 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44936 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44937 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44939 cat >>confdefs.h
<<_ACEOF
44940 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44947 if test "$wxUSE_SOCKETS" = "yes" ; then
44948 if test "$wxUSE_IPV6" = "yes"; then
44949 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44950 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44951 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44952 echo $ECHO_N "(cached) $ECHO_C" >&6
44955 cat >conftest.
$ac_ext <<_ACEOF
44958 cat confdefs.h
>>conftest.
$ac_ext
44959 cat >>conftest.
$ac_ext <<_ACEOF
44960 /* end confdefs.h. */
44962 #include <sys/types.h>
44963 #include <sys/socket.h>
44964 #include <netinet/in.h>
44970 struct sockaddr_in6 sa6;
44976 rm -f conftest.
$ac_objext
44977 if { (ac_try
="$ac_compile"
44978 case "(($ac_try" in
44979 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44980 *) ac_try_echo=$ac_try;;
44982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44983 (eval "$ac_compile") 2>conftest.er1
44985 grep -v '^ *+' conftest.er1 >conftest.err
44987 cat conftest.err >&5
44988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44989 (exit $ac_status); } && {
44990 test -z "$ac_c_werror_flag" ||
44991 test ! -s conftest.err
44992 } && test -s conftest.$ac_objext; then
44993 wx_cv_type_sockaddr_in6=yes
44995 echo "$as_me: failed program was:" >&5
44996 sed 's/^/| /' conftest.$ac_ext >&5
44998 wx_cv_type_sockaddr_in6=no
45002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45006 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45007 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45009 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45010 cat >>confdefs.h <<\_ACEOF
45011 #define wxUSE_IPV6 1
45015 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45016 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45020 cat >>confdefs.h <<\_ACEOF
45021 #define wxUSE_SOCKETS 1
45024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45027 if test "$wxUSE_PROTOCOL" = "yes"; then
45028 if test "$wxUSE_SOCKETS" != "yes"; then
45029 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45030 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45035 if test "$wxUSE_PROTOCOL" = "yes"; then
45036 cat >>confdefs.h <<\_ACEOF
45037 #define wxUSE_PROTOCOL 1
45041 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45042 cat >>confdefs.h <<\_ACEOF
45043 #define wxUSE_PROTOCOL_HTTP 1
45047 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_PROTOCOL_FTP 1
45053 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45054 cat >>confdefs.h <<\_ACEOF
45055 #define wxUSE_PROTOCOL_FILE 1
45060 if test "$wxUSE_FS_INET" = "yes"; then
45061 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45062 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45067 if test "$wxUSE_URL" = "yes"; then
45068 if test "$wxUSE_PROTOCOL" != "yes"; then
45069 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45070 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45073 if test "$wxUSE_URL" = "yes"; then
45074 cat >>confdefs.h <<\_ACEOF
45075 #define wxUSE_URL 1
45081 if test "$wxUSE_VARIANT" = "yes"; then
45082 cat >>confdefs.h <<\_ACEOF
45083 #define wxUSE_VARIANT 1
45088 if test "$wxUSE_FS_INET" = "yes"; then
45089 cat >>confdefs.h <<\_ACEOF
45090 #define wxUSE_FS_INET 1
45096 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45099 if test "$TOOLKIT" = "MSW"; then
45102 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45103 if test "$USE_DARWIN" = 1; then
45104 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45105 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45107 ac_cpp='$CXXCPP $CPPFLAGS'
45108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45112 cat >conftest.$ac_ext <<_ACEOF
45115 cat confdefs.h >>conftest.$ac_ext
45116 cat >>conftest.$ac_ext <<_ACEOF
45117 /* end confdefs.h. */
45118 #include <IOKit/hid/IOHIDLib.h>
45122 IOHIDQueueInterface *qi = NULL;
45123 IOHIDCallbackFunction cb = NULL;
45124 qi->setEventCallout(NULL, cb, NULL, NULL);
45129 rm -f conftest.$ac_objext
45130 if { (ac_try="$ac_compile"
45131 case "(($ac_try" in
45132 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45133 *) ac_try_echo
=$ac_try;;
45135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45136 (eval "$ac_compile") 2>conftest.er1
45138 grep -v '^ *+' conftest.er1
>conftest.err
45140 cat conftest.err
>&5
45141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45142 (exit $ac_status); } && {
45143 test -z "$ac_cxx_werror_flag" ||
45144 test ! -s conftest.err
45145 } && test -s conftest.
$ac_objext; then
45149 echo "$as_me: failed program was:" >&5
45150 sed 's/^/| /' conftest.
$ac_ext >&5
45155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45157 ac_cpp
='$CPP $CPPFLAGS'
45158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45162 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45163 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45167 if test "$wxUSE_MGL" != 1; then
45169 for ac_header
in linux
/joystick.h
45171 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45172 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45174 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45175 echo $ECHO_N "(cached) $ECHO_C" >&6
45177 cat >conftest.
$ac_ext <<_ACEOF
45180 cat confdefs.h
>>conftest.
$ac_ext
45181 cat >>conftest.
$ac_ext <<_ACEOF
45182 /* end confdefs.h. */
45183 $ac_includes_default
45185 #include <$ac_header>
45187 rm -f conftest.
$ac_objext
45188 if { (ac_try
="$ac_compile"
45189 case "(($ac_try" in
45190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45191 *) ac_try_echo=$ac_try;;
45193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45194 (eval "$ac_compile") 2>conftest.er1
45196 grep -v '^ *+' conftest.er1 >conftest.err
45198 cat conftest.err >&5
45199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45200 (exit $ac_status); } && {
45201 test -z "$ac_c_werror_flag" ||
45202 test ! -s conftest.err
45203 } && test -s conftest.$ac_objext; then
45204 eval "$as_ac_Header=yes"
45206 echo "$as_me: failed program was:" >&5
45207 sed 's/^/| /' conftest.$ac_ext >&5
45209 eval "$as_ac_Header=no"
45212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45214 ac_res=`eval echo '${'$as_ac_Header'}'`
45215 { echo "$as_me:$LINENO: result: $ac_res" >&5
45216 echo "${ECHO_T}$ac_res" >&6; }
45217 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45218 cat >>confdefs.h <<_ACEOF
45219 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45229 if test "$wxUSE_JOYSTICK" = "yes"; then
45230 cat >>confdefs.h <<\_ACEOF
45231 #define wxUSE_JOYSTICK 1
45234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45236 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45237 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45243 if test "$wxUSE_FONTENUM" = "yes" ; then
45244 cat >>confdefs.h <<\_ACEOF
45245 #define wxUSE_FONTENUM 1
45250 if test "$wxUSE_FONTMAP" = "yes" ; then
45251 cat >>confdefs.h <<\_ACEOF
45252 #define wxUSE_FONTMAP 1
45257 if test "$wxUSE_UNICODE" = "yes" ; then
45258 cat >>confdefs.h <<\_ACEOF
45259 #define wxUSE_UNICODE 1
45263 if test "$USE_WIN32" != 1; then
45264 wxUSE_UNICODE_MSLU=no
45267 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45268 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45269 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45270 if test "${ac_cv_lib_unicows_main+set}" = set; then
45271 echo $ECHO_N "(cached) $ECHO_C" >&6
45273 ac_check_lib_save_LIBS=$LIBS
45274 LIBS="-lunicows $LIBS"
45275 cat >conftest.$ac_ext <<_ACEOF
45278 cat confdefs.h >>conftest.$ac_ext
45279 cat >>conftest.$ac_ext <<_ACEOF
45280 /* end confdefs.h. */
45291 rm -f conftest.$ac_objext conftest$ac_exeext
45292 if { (ac_try="$ac_link"
45293 case "(($ac_try" in
45294 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45295 *) ac_try_echo
=$ac_try;;
45297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45298 (eval "$ac_link") 2>conftest.er1
45300 grep -v '^ *+' conftest.er1
>conftest.err
45302 cat conftest.err
>&5
45303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45304 (exit $ac_status); } && {
45305 test -z "$ac_c_werror_flag" ||
45306 test ! -s conftest.err
45307 } && test -s conftest
$ac_exeext &&
45308 $as_test_x conftest
$ac_exeext; then
45309 ac_cv_lib_unicows_main
=yes
45311 echo "$as_me: failed program was:" >&5
45312 sed 's/^/| /' conftest.
$ac_ext >&5
45314 ac_cv_lib_unicows_main
=no
45317 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45318 conftest
$ac_exeext conftest.
$ac_ext
45319 LIBS
=$ac_check_lib_save_LIBS
45321 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45322 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45323 if test $ac_cv_lib_unicows_main = yes; then
45325 cat >>confdefs.h
<<\_ACEOF
45326 #define wxUSE_UNICODE_MSLU 1
45332 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45333 Applications will only run on Windows NT/2000/XP!" >&5
45334 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45335 Applications will only run on Windows NT/2000/XP!" >&2;}
45336 wxUSE_UNICODE_MSLU
=no
45343 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45344 cat >>confdefs.h
<<\_ACEOF
45345 #define wxUSE_UNICODE_UTF8 1
45349 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45350 cat >>confdefs.h
<<\_ACEOF
45351 #define wxUSE_UTF8_LOCALE_ONLY 1
45358 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45359 cat >>confdefs.h
<<\_ACEOF
45360 #define wxUSE_CONSTRAINTS 1
45363 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45366 if test "$wxUSE_MDI" = "yes"; then
45367 cat >>confdefs.h
<<\_ACEOF
45368 #define wxUSE_MDI 1
45372 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45373 cat >>confdefs.h
<<\_ACEOF
45374 #define wxUSE_MDI_ARCHITECTURE 1
45377 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45381 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45382 cat >>confdefs.h
<<\_ACEOF
45383 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45386 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45389 if test "$wxUSE_HELP" = "yes"; then
45390 cat >>confdefs.h
<<\_ACEOF
45391 #define wxUSE_HELP 1
45394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45396 if test "$wxUSE_MSW" = 1; then
45397 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45398 cat >>confdefs.h
<<\_ACEOF
45399 #define wxUSE_MS_HTML_HELP 1
45405 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45406 if test "$wxUSE_HTML" = "yes"; then
45407 cat >>confdefs.h
<<\_ACEOF
45408 #define wxUSE_WXHTML_HELP 1
45412 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45413 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45414 wxUSE_WXHTML_HELP
=no
45419 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45420 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45421 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45422 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45424 cat >>confdefs.h
<<\_ACEOF
45425 #define wxUSE_PRINTING_ARCHITECTURE 1
45429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45432 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45433 cat >>confdefs.h
<<\_ACEOF
45434 #define wxUSE_POSTSCRIPT 1
45439 cat >>confdefs.h
<<\_ACEOF
45440 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45444 if test "$wxUSE_SVG" = "yes"; then
45445 cat >>confdefs.h
<<\_ACEOF
45446 #define wxUSE_SVG 1
45452 if test "$wxUSE_METAFILE" = "yes"; then
45453 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45454 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45455 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45461 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45462 -o "$wxUSE_CLIPBOARD" = "yes" \
45463 -o "$wxUSE_OLE" = "yes" \
45464 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45465 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45466 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45467 if test "${ac_cv_header_ole2_h+set}" = set; then
45468 echo $ECHO_N "(cached) $ECHO_C" >&6
45470 cat >conftest.
$ac_ext <<_ACEOF
45473 cat confdefs.h
>>conftest.
$ac_ext
45474 cat >>conftest.
$ac_ext <<_ACEOF
45475 /* end confdefs.h. */
45480 rm -f conftest.
$ac_objext
45481 if { (ac_try
="$ac_compile"
45482 case "(($ac_try" in
45483 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45484 *) ac_try_echo=$ac_try;;
45486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45487 (eval "$ac_compile") 2>conftest.er1
45489 grep -v '^ *+' conftest.er1 >conftest.err
45491 cat conftest.err >&5
45492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45493 (exit $ac_status); } && {
45494 test -z "$ac_c_werror_flag" ||
45495 test ! -s conftest.err
45496 } && test -s conftest.$ac_objext; then
45497 ac_cv_header_ole2_h=yes
45499 echo "$as_me: failed program was:" >&5
45500 sed 's/^/| /' conftest.$ac_ext >&5
45502 ac_cv_header_ole2_h=no
45505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45507 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45508 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45512 if test "$ac_cv_header_ole2_h" = "yes" ; then
45513 if test "$GCC" = yes ; then
45514 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45515 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45516 cat >conftest.$ac_ext <<_ACEOF
45519 cat confdefs.h >>conftest.$ac_ext
45520 cat >>conftest.$ac_ext <<_ACEOF
45521 /* end confdefs.h. */
45522 #include <windows.h>
45532 rm -f conftest.$ac_objext
45533 if { (ac_try="$ac_compile"
45534 case "(($ac_try" in
45535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45536 *) ac_try_echo
=$ac_try;;
45538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45539 (eval "$ac_compile") 2>conftest.er1
45541 grep -v '^ *+' conftest.er1
>conftest.err
45543 cat conftest.err
>&5
45544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45545 (exit $ac_status); } && {
45546 test -z "$ac_c_werror_flag" ||
45547 test ! -s conftest.err
45548 } && test -s conftest.
$ac_objext; then
45549 { echo "$as_me:$LINENO: result: no" >&5
45550 echo "${ECHO_T}no" >&6; }
45552 echo "$as_me: failed program was:" >&5
45553 sed 's/^/| /' conftest.
$ac_ext >&5
45555 { echo "$as_me:$LINENO: result: yes" >&5
45556 echo "${ECHO_T}yes" >&6; }
45557 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45561 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45562 if test "$wxUSE_OLE" = "yes" ; then
45563 cat >>confdefs.h
<<\_ACEOF
45564 #define wxUSE_OLE 1
45567 cat >>confdefs.h
<<\_ACEOF
45568 #define wxUSE_OLE_AUTOMATION 1
45571 cat >>confdefs.h
<<\_ACEOF
45572 #define wxUSE_ACTIVEX 1
45575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45579 if test "$wxUSE_DATAOBJ" = "yes" ; then
45580 cat >>confdefs.h
<<\_ACEOF
45581 #define wxUSE_DATAOBJ 1
45586 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45587 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45590 wxUSE_DRAG_AND_DROP
=no
45595 if test "$wxUSE_METAFILE" = "yes"; then
45596 cat >>confdefs.h
<<\_ACEOF
45597 #define wxUSE_METAFILE 1
45601 cat >>confdefs.h
<<\_ACEOF
45602 #define wxUSE_ENH_METAFILE 1
45608 if test "$wxUSE_IPC" = "yes"; then
45609 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45610 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45611 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45615 if test "$wxUSE_IPC" = "yes"; then
45616 cat >>confdefs.h
<<\_ACEOF
45617 #define wxUSE_IPC 1
45620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45624 if test "$wxUSE_DATAOBJ" = "yes"; then
45625 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45626 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45627 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45630 cat >>confdefs.h
<<\_ACEOF
45631 #define wxUSE_DATAOBJ 1
45636 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45637 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45639 wxUSE_DRAG_AND_DROP
=no
45642 if test "$wxUSE_CLIPBOARD" = "yes"; then
45643 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45644 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45645 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45649 if test "$wxUSE_CLIPBOARD" = "yes"; then
45650 cat >>confdefs.h
<<\_ACEOF
45651 #define wxUSE_CLIPBOARD 1
45657 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45658 if test "$wxUSE_GTK" = 1; then
45659 if test "$WXGTK12" != 1; then
45660 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45661 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45662 wxUSE_DRAG_AND_DROP
=no
45666 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45667 "$wxUSE_DFB" = 1; then
45668 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45669 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45670 wxUSE_DRAG_AND_DROP
=no
45673 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45674 cat >>confdefs.h
<<\_ACEOF
45675 #define wxUSE_DRAG_AND_DROP 1
45682 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45686 if test "$wxUSE_SPLINES" = "yes" ; then
45687 cat >>confdefs.h
<<\_ACEOF
45688 #define wxUSE_SPLINES 1
45693 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45694 cat >>confdefs.h
<<\_ACEOF
45695 #define wxUSE_MOUSEWHEEL 1
45702 if test "$wxUSE_CONTROLS" = "yes"; then
45706 if test "$wxUSE_ACCEL" = "yes"; then
45707 cat >>confdefs.h
<<\_ACEOF
45708 #define wxUSE_ACCEL 1
45714 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45715 cat >>confdefs.h
<<\_ACEOF
45716 #define wxUSE_ANIMATIONCTRL 1
45720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45723 if test "$wxUSE_BUTTON" = "yes"; then
45724 cat >>confdefs.h
<<\_ACEOF
45725 #define wxUSE_BUTTON 1
45731 if test "$wxUSE_BMPBUTTON" = "yes"; then
45732 cat >>confdefs.h
<<\_ACEOF
45733 #define wxUSE_BMPBUTTON 1
45739 if test "$wxUSE_CALCTRL" = "yes"; then
45740 cat >>confdefs.h
<<\_ACEOF
45741 #define wxUSE_CALENDARCTRL 1
45745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45748 if test "$wxUSE_CARET" = "yes"; then
45749 cat >>confdefs.h
<<\_ACEOF
45750 #define wxUSE_CARET 1
45754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45757 if test "$wxUSE_COLLPANE" = "yes"; then
45758 cat >>confdefs.h
<<\_ACEOF
45759 #define wxUSE_COLLPANE 1
45763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45766 if test "$wxUSE_COMBOBOX" = "yes"; then
45767 cat >>confdefs.h
<<\_ACEOF
45768 #define wxUSE_COMBOBOX 1
45774 if test "$wxUSE_COMBOCTRL" = "yes"; then
45775 cat >>confdefs.h
<<\_ACEOF
45776 #define wxUSE_COMBOCTRL 1
45782 if test "$wxUSE_CHOICE" = "yes"; then
45783 cat >>confdefs.h
<<\_ACEOF
45784 #define wxUSE_CHOICE 1
45790 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45791 cat >>confdefs.h
<<\_ACEOF
45792 #define wxUSE_CHOICEBOOK 1
45798 if test "$wxUSE_CHECKBOX" = "yes"; then
45799 cat >>confdefs.h
<<\_ACEOF
45800 #define wxUSE_CHECKBOX 1
45806 if test "$wxUSE_CHECKLST" = "yes"; then
45807 cat >>confdefs.h
<<\_ACEOF
45808 #define wxUSE_CHECKLISTBOX 1
45814 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45815 cat >>confdefs.h
<<\_ACEOF
45816 #define wxUSE_COLOURPICKERCTRL 1
45822 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45823 cat >>confdefs.h
<<\_ACEOF
45824 #define wxUSE_DATEPICKCTRL 1
45830 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45831 cat >>confdefs.h
<<\_ACEOF
45832 #define wxUSE_DIRPICKERCTRL 1
45838 if test "$wxUSE_FILECTRL" = "yes"; then
45839 cat >>confdefs.h
<<\_ACEOF
45840 #define wxUSE_FILECTRL 1
45846 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45847 cat >>confdefs.h
<<\_ACEOF
45848 #define wxUSE_FILEPICKERCTRL 1
45854 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45855 cat >>confdefs.h
<<\_ACEOF
45856 #define wxUSE_FONTPICKERCTRL 1
45862 if test "$wxUSE_DISPLAY" = "yes"; then
45863 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45864 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45865 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45868 cat >>confdefs.h
<<\_ACEOF
45869 #define wxUSE_DISPLAY 1
45872 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45876 if test "$wxUSE_DETECT_SM" = "yes"; then
45877 cat >>confdefs.h
<<\_ACEOF
45878 #define wxUSE_DETECT_SM 1
45883 if test "$wxUSE_GAUGE" = "yes"; then
45884 cat >>confdefs.h
<<\_ACEOF
45885 #define wxUSE_GAUGE 1
45891 if test "$wxUSE_GRID" = "yes"; then
45892 cat >>confdefs.h
<<\_ACEOF
45893 #define wxUSE_GRID 1
45897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45900 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45901 cat >>confdefs.h
<<\_ACEOF
45902 #define wxUSE_HYPERLINKCTRL 1
45908 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45909 cat >>confdefs.h
<<\_ACEOF
45910 #define wxUSE_BITMAPCOMBOBOX 1
45916 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45917 cat >>confdefs.h
<<\_ACEOF
45918 #define wxUSE_DATAVIEWCTRL 1
45922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45925 if test "$wxUSE_IMAGLIST" = "yes"; then
45926 cat >>confdefs.h
<<\_ACEOF
45927 #define wxUSE_IMAGLIST 1
45932 if test "$wxUSE_LISTBOOK" = "yes"; then
45933 cat >>confdefs.h
<<\_ACEOF
45934 #define wxUSE_LISTBOOK 1
45940 if test "$wxUSE_LISTBOX" = "yes"; then
45941 cat >>confdefs.h
<<\_ACEOF
45942 #define wxUSE_LISTBOX 1
45948 if test "$wxUSE_LISTCTRL" = "yes"; then
45949 if test "$wxUSE_IMAGLIST" = "yes"; then
45950 cat >>confdefs.h
<<\_ACEOF
45951 #define wxUSE_LISTCTRL 1
45955 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45957 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45958 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45962 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45963 cat >>confdefs.h
<<\_ACEOF
45964 #define wxUSE_EDITABLELISTBOX 1
45968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45971 if test "$wxUSE_NOTEBOOK" = "yes"; then
45972 cat >>confdefs.h
<<\_ACEOF
45973 #define wxUSE_NOTEBOOK 1
45977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45980 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45981 cat >>confdefs.h
<<\_ACEOF
45982 #define wxUSE_NOTIFICATION_MESSAGE 1
45987 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45988 cat >>confdefs.h
<<\_ACEOF
45989 #define wxUSE_ODCOMBOBOX 1
45993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45996 if test "$wxUSE_RADIOBOX" = "yes"; then
45997 cat >>confdefs.h
<<\_ACEOF
45998 #define wxUSE_RADIOBOX 1
46004 if test "$wxUSE_RADIOBTN" = "yes"; then
46005 cat >>confdefs.h
<<\_ACEOF
46006 #define wxUSE_RADIOBTN 1
46012 if test "$wxUSE_SASH" = "yes"; then
46013 cat >>confdefs.h
<<\_ACEOF
46014 #define wxUSE_SASH 1
46017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46020 if test "$wxUSE_SCROLLBAR" = "yes"; then
46021 cat >>confdefs.h
<<\_ACEOF
46022 #define wxUSE_SCROLLBAR 1
46026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
46029 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46030 cat >>confdefs.h
<<\_ACEOF
46031 #define wxUSE_SEARCHCTRL 1
46037 if test "$wxUSE_SLIDER" = "yes"; then
46038 cat >>confdefs.h
<<\_ACEOF
46039 #define wxUSE_SLIDER 1
46045 if test "$wxUSE_SPINBTN" = "yes"; then
46046 cat >>confdefs.h
<<\_ACEOF
46047 #define wxUSE_SPINBTN 1
46053 if test "$wxUSE_SPINCTRL" = "yes"; then
46054 cat >>confdefs.h
<<\_ACEOF
46055 #define wxUSE_SPINCTRL 1
46061 if test "$wxUSE_SPLITTER" = "yes"; then
46062 cat >>confdefs.h
<<\_ACEOF
46063 #define wxUSE_SPLITTER 1
46066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46069 if test "$wxUSE_STATBMP" = "yes"; then
46070 cat >>confdefs.h
<<\_ACEOF
46071 #define wxUSE_STATBMP 1
46077 if test "$wxUSE_STATBOX" = "yes"; then
46078 cat >>confdefs.h
<<\_ACEOF
46079 #define wxUSE_STATBOX 1
46085 if test "$wxUSE_STATTEXT" = "yes"; then
46086 cat >>confdefs.h
<<\_ACEOF
46087 #define wxUSE_STATTEXT 1
46093 if test "$wxUSE_STATLINE" = "yes"; then
46094 cat >>confdefs.h
<<\_ACEOF
46095 #define wxUSE_STATLINE 1
46101 if test "$wxUSE_STATUSBAR" = "yes"; then
46102 cat >>confdefs.h
<<\_ACEOF
46103 #define wxUSE_NATIVE_STATUSBAR 1
46106 cat >>confdefs.h
<<\_ACEOF
46107 #define wxUSE_STATUSBAR 1
46112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46115 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46116 cat >>confdefs.h
<<\_ACEOF
46117 #define wxUSE_TAB_DIALOG 1
46122 if test "$wxUSE_TEXTCTRL" = "yes"; then
46123 cat >>confdefs.h
<<\_ACEOF
46124 #define wxUSE_TEXTCTRL 1
46128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46130 cat >>confdefs.h
<<\_ACEOF
46131 #define wxUSE_RICHEDIT 1
46134 cat >>confdefs.h
<<\_ACEOF
46135 #define wxUSE_RICHEDIT2 1
46140 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46141 if test "$wxUSE_COCOA" = 1 ; then
46142 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46143 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46147 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46148 cat >>confdefs.h
<<\_ACEOF
46149 #define wxUSE_TOGGLEBTN 1
46156 if test "$wxUSE_TOOLBAR" = "yes"; then
46157 cat >>confdefs.h
<<\_ACEOF
46158 #define wxUSE_TOOLBAR 1
46163 if test "$wxUSE_UNIVERSAL" = "yes"; then
46164 wxUSE_TOOLBAR_NATIVE
="no"
46166 wxUSE_TOOLBAR_NATIVE
="yes"
46167 cat >>confdefs.h
<<\_ACEOF
46168 #define wxUSE_TOOLBAR_NATIVE 1
46173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46176 if test "$wxUSE_TOOLTIPS" = "yes"; then
46177 if test "$wxUSE_MOTIF" = 1; then
46178 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46179 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46181 if test "$wxUSE_UNIVERSAL" = "yes"; then
46182 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46183 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46185 cat >>confdefs.h
<<\_ACEOF
46186 #define wxUSE_TOOLTIPS 1
46193 if test "$wxUSE_TREEBOOK" = "yes"; then
46194 cat >>confdefs.h
<<\_ACEOF
46195 #define wxUSE_TREEBOOK 1
46201 if test "$wxUSE_TOOLBOOK" = "yes"; then
46202 cat >>confdefs.h
<<\_ACEOF
46203 #define wxUSE_TOOLBOOK 1
46209 if test "$wxUSE_TREECTRL" = "yes"; then
46210 if test "$wxUSE_IMAGLIST" = "yes"; then
46211 cat >>confdefs.h
<<\_ACEOF
46212 #define wxUSE_TREECTRL 1
46216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46218 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46219 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46223 if test "$wxUSE_POPUPWIN" = "yes"; then
46224 if test "$wxUSE_COCOA" = 1 ; then
46225 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46226 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46228 if test "$wxUSE_PM" = 1; then
46229 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46230 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46232 cat >>confdefs.h
<<\_ACEOF
46233 #define wxUSE_POPUPWIN 1
46236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46243 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46244 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46245 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46246 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46248 cat >>confdefs.h
<<\_ACEOF
46249 #define wxUSE_DIALUP_MANAGER 1
46252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46256 if test "$wxUSE_TIPWINDOW" = "yes"; then
46257 if test "$wxUSE_PM" = 1; then
46258 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46259 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46261 cat >>confdefs.h
<<\_ACEOF
46262 #define wxUSE_TIPWINDOW 1
46268 if test "$USES_CONTROLS" = 1; then
46269 cat >>confdefs.h
<<\_ACEOF
46270 #define wxUSE_CONTROLS 1
46276 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46277 cat >>confdefs.h
<<\_ACEOF
46278 #define wxUSE_ACCESSIBILITY 1
46281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46284 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46285 cat >>confdefs.h
<<\_ACEOF
46286 #define wxUSE_DRAGIMAGE 1
46289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46292 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46293 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46294 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46295 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46297 cat >>confdefs.h
<<\_ACEOF
46298 #define wxUSE_EXCEPTIONS 1
46301 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46306 if test "$wxUSE_HTML" = "yes"; then
46307 cat >>confdefs.h
<<\_ACEOF
46308 #define wxUSE_HTML 1
46312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46314 if test "$wxUSE_WEBKIT" = "yes"; then
46315 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46316 old_CPPFLAGS
="$CPPFLAGS"
46317 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46318 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46319 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46320 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46321 echo $ECHO_N "(cached) $ECHO_C" >&6
46323 cat >conftest.
$ac_ext <<_ACEOF
46326 cat confdefs.h
>>conftest.
$ac_ext
46327 cat >>conftest.
$ac_ext <<_ACEOF
46328 /* end confdefs.h. */
46330 #include <Carbon/Carbon.h>
46331 #include <WebKit/WebKit.h>
46334 #include <WebKit/HIWebView.h>
46336 rm -f conftest.
$ac_objext
46337 if { (ac_try
="$ac_compile"
46338 case "(($ac_try" in
46339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46340 *) ac_try_echo=$ac_try;;
46342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46343 (eval "$ac_compile") 2>conftest.er1
46345 grep -v '^ *+' conftest.er1 >conftest.err
46347 cat conftest.err >&5
46348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46349 (exit $ac_status); } && {
46350 test -z "$ac_c_werror_flag" ||
46351 test ! -s conftest.err
46352 } && test -s conftest.$ac_objext; then
46353 ac_cv_header_WebKit_HIWebView_h=yes
46355 echo "$as_me: failed program was:" >&5
46356 sed 's/^/| /' conftest.$ac_ext >&5
46358 ac_cv_header_WebKit_HIWebView_h=no
46361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46363 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46364 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46365 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46367 cat >>confdefs.h <<\_ACEOF
46368 #define wxUSE_WEBKIT 1
46371 WEBKIT_LINK="-framework WebKit"
46375 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46376 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46382 CPPFLAGS="$old_CPPFLAGS"
46383 elif test "$wxUSE_COCOA" = 1; then
46384 cat >>confdefs.h <<\_ACEOF
46385 #define wxUSE_WEBKIT 1
46391 if test "$wxUSE_WEBKIT" = "yes"; then
46392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46397 if test "$wxUSE_XRC" = "yes"; then
46398 if test "$wxUSE_XML" != "yes"; then
46399 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46400 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46403 cat >>confdefs.h <<\_ACEOF
46404 #define wxUSE_XRC 1
46408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46413 if test "$wxUSE_AUI" = "yes"; then
46414 cat >>confdefs.h <<\_ACEOF
46415 #define wxUSE_AUI 1
46419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46423 if test "$wxUSE_PROPGRID" = "yes"; then
46424 cat >>confdefs.h <<\_ACEOF
46425 #define wxUSE_PROPGRID 1
46429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46433 if test "$wxUSE_STC" = "yes"; then
46434 cat >>confdefs.h <<\_ACEOF
46435 #define wxUSE_STC 1
46439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46442 if test "$wxUSE_MENUS" = "yes"; then
46443 cat >>confdefs.h <<\_ACEOF
46444 #define wxUSE_MENUS 1
46447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46450 if test "$wxUSE_METAFILE" = "yes"; then
46451 cat >>confdefs.h <<\_ACEOF
46452 #define wxUSE_METAFILE 1
46457 if test "$wxUSE_MIMETYPE" = "yes"; then
46458 cat >>confdefs.h <<\_ACEOF
46459 #define wxUSE_MIMETYPE 1
46464 if test "$wxUSE_MINIFRAME" = "yes"; then
46465 cat >>confdefs.h <<\_ACEOF
46466 #define wxUSE_MINIFRAME 1
46471 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46472 cat >>confdefs.h <<\_ACEOF
46473 #define wxUSE_SYSTEM_OPTIONS 1
46478 if test "$wxUSE_TASKBARICON" = "yes"; then
46479 cat >>confdefs.h <<\_ACEOF
46480 #define wxUSE_TASKBARICON 1
46483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46487 if test "$wxUSE_VALIDATORS" = "yes"; then
46488 cat >>confdefs.h <<\_ACEOF
46489 #define wxUSE_VALIDATORS 1
46492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46495 if test "$wxUSE_PALETTE" = "yes" ; then
46496 if test "$wxUSE_DFB" = 1; then
46497 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46498 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46501 cat >>confdefs.h <<\_ACEOF
46502 #define wxUSE_PALETTE 1
46508 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46509 LIBS=" -lunicows $LIBS"
46513 if test "$wxUSE_RICHTEXT" = "yes"; then
46514 cat >>confdefs.h <<\_ACEOF
46515 #define wxUSE_RICHTEXT 1
46519 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46523 if test "$wxUSE_IMAGE" = "yes" ; then
46524 cat >>confdefs.h <<\_ACEOF
46525 #define wxUSE_IMAGE 1
46529 if test "$wxUSE_GIF" = "yes" ; then
46530 cat >>confdefs.h <<\_ACEOF
46531 #define wxUSE_GIF 1
46536 if test "$wxUSE_PCX" = "yes" ; then
46537 cat >>confdefs.h <<\_ACEOF
46538 #define wxUSE_PCX 1
46543 if test "$wxUSE_TGA" = "yes" ; then
46544 cat >>confdefs.h <<\_ACEOF
46545 #define wxUSE_TGA 1
46550 if test "$wxUSE_IFF" = "yes" ; then
46551 cat >>confdefs.h <<\_ACEOF
46552 #define wxUSE_IFF 1
46557 if test "$wxUSE_PNM" = "yes" ; then
46558 cat >>confdefs.h <<\_ACEOF
46559 #define wxUSE_PNM 1
46564 if test "$wxUSE_XPM" = "yes" ; then
46565 cat >>confdefs.h <<\_ACEOF
46566 #define wxUSE_XPM 1
46571 if test "$wxUSE_ICO_CUR" = "yes" ; then
46572 cat >>confdefs.h <<\_ACEOF
46573 #define wxUSE_ICO_CUR 1
46580 if test "$wxUSE_ABOUTDLG" = "yes"; then
46581 cat >>confdefs.h <<\_ACEOF
46582 #define wxUSE_ABOUTDLG 1
46587 if test "$wxUSE_CHOICEDLG" = "yes"; then
46588 cat >>confdefs.h <<\_ACEOF
46589 #define wxUSE_CHOICEDLG 1
46594 if test "$wxUSE_COLOURDLG" = "yes"; then
46595 cat >>confdefs.h <<\_ACEOF
46596 #define wxUSE_COLOURDLG 1
46601 if test "$wxUSE_FILEDLG" = "yes"; then
46602 cat >>confdefs.h <<\_ACEOF
46603 #define wxUSE_FILEDLG 1
46608 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46609 cat >>confdefs.h <<\_ACEOF
46610 #define wxUSE_FINDREPLDLG 1
46615 if test "$wxUSE_FONTDLG" = "yes"; then
46616 cat >>confdefs.h <<\_ACEOF
46617 #define wxUSE_FONTDLG 1
46622 if test "$wxUSE_DIRDLG" = "yes"; then
46623 if test "$wxUSE_TREECTRL" != "yes"; then
46624 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46625 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46627 cat >>confdefs.h <<\_ACEOF
46628 #define wxUSE_DIRDLG 1
46634 if test "$wxUSE_MSGDLG" = "yes"; then
46635 cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_MSGDLG 1
46641 if test "$wxUSE_NUMBERDLG" = "yes"; then
46642 cat >>confdefs.h <<\_ACEOF
46643 #define wxUSE_NUMBERDLG 1
46648 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46649 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46650 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46651 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46653 cat >>confdefs.h <<\_ACEOF
46654 #define wxUSE_PROGRESSDLG 1
46660 if test "$wxUSE_SPLASH" = "yes"; then
46661 cat >>confdefs.h <<\_ACEOF
46662 #define wxUSE_SPLASH 1
46665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46668 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46669 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46670 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46671 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46673 cat >>confdefs.h <<\_ACEOF
46674 #define wxUSE_STARTUP_TIPS 1
46680 if test "$wxUSE_TEXTDLG" = "yes"; then
46681 cat >>confdefs.h <<\_ACEOF
46682 #define wxUSE_TEXTDLG 1
46687 if test "$wxUSE_WIZARDDLG" = "yes"; then
46688 cat >>confdefs.h <<\_ACEOF
46689 #define wxUSE_WIZARDDLG 1
46692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46696 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46697 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46698 cat >>confdefs.h <<\_ACEOF
46699 #define wxUSE_OWNER_DRAWN 1
46706 if test "$wxUSE_MSW" = 1 ; then
46708 if test "$wxUSE_DC_CACHEING" = "yes"; then
46709 cat >>confdefs.h <<\_ACEOF
46710 #define wxUSE_DC_CACHEING 1
46715 if test "$wxUSE_DIB" = "yes"; then
46716 cat >>confdefs.h <<\_ACEOF
46717 #define wxUSE_WXDIB 1
46722 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46723 cat >>confdefs.h <<\_ACEOF
46724 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46729 if test "$wxUSE_UXTHEME" = "yes"; then
46730 cat >>confdefs.h <<\_ACEOF
46731 #define wxUSE_UXTHEME 1
46738 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46739 cat >>confdefs.h <<\_ACEOF
46740 #define wxUSE_AUTOID_MANAGEMENT 1
46745 if test "$USE_WIN32" = 1 ; then
46746 if test "$wxUSE_INICONF" = "yes"; then
46747 cat >>confdefs.h <<\_ACEOF
46748 #define wxUSE_INICONF 1
46753 if test "$wxUSE_REGKEY" = "yes"; then
46754 cat >>confdefs.h <<\_ACEOF
46755 #define wxUSE_REGKEY 1
46762 if test "$wxUSE_MAC" = 1; then
46763 wxUSE_GRAPHICS_CONTEXT="yes"
46766 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46767 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46768 cat >>confdefs.h <<\_ACEOF
46769 #define wxUSE_GRAPHICS_CONTEXT 1
46772 elif test "$wxUSE_GTK" != 1; then
46773 cat >>confdefs.h <<\_ACEOF
46774 #define wxUSE_GRAPHICS_CONTEXT 1
46780 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46781 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46783 if test -n "$PKG_CONFIG"; then
46784 if test -n "$CAIRO_CFLAGS"; then
46785 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46787 if test -n "$PKG_CONFIG" && \
46788 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46789 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46792 (exit $ac_status); }; then
46793 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46801 if test -n "$PKG_CONFIG"; then
46802 if test -n "$CAIRO_LIBS"; then
46803 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46805 if test -n "$PKG_CONFIG" && \
46806 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46807 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46810 (exit $ac_status); }; then
46811 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46822 if test $pkg_failed = yes; then
46824 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46825 _pkg_short_errors_supported=yes
46827 _pkg_short_errors_supported=no
46829 if test $_pkg_short_errors_supported = yes; then
46830 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46832 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46834 # Put the nasty error message in config.log where it belongs
46835 echo "$CAIRO_PKG_ERRORS" >&5
46837 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46838 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46840 elif test $pkg_failed = untried; then
46841 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46842 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46845 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46846 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46847 { echo "$as_me:$LINENO: result: yes" >&5
46848 echo "${ECHO_T}yes" >&6; }
46849 cat >>confdefs.h <<\_ACEOF
46850 #define wxUSE_GRAPHICS_CONTEXT 1
46860 if test "$wxUSE_MEDIACTRL" = "yes"; then
46863 if test "$wxUSE_GTK" = 1; then
46864 wxUSE_GSTREAMER="no"
46866 GST_VERSION_MAJOR=0
46867 GST_VERSION_MINOR=10
46868 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46870 if test "$wxUSE_GSTREAMER8" = "no"; then
46873 { echo "$as_me:$LINENO: checking for GST" >&5
46874 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46876 if test -n "$PKG_CONFIG"; then
46877 if test -n "$GST_CFLAGS"; then
46878 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46880 if test -n "$PKG_CONFIG" && \
46881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46882 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46885 (exit $ac_status); }; then
46886 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46894 if test -n "$PKG_CONFIG"; then
46895 if test -n "$GST_LIBS"; then
46896 pkg_cv_GST_LIBS="$GST_LIBS"
46898 if test -n "$PKG_CONFIG" && \
46899 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46900 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46903 (exit $ac_status); }; then
46904 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46915 if test $pkg_failed = yes; then
46917 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46918 _pkg_short_errors_supported=yes
46920 _pkg_short_errors_supported=no
46922 if test $_pkg_short_errors_supported = yes; then
46923 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46925 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46927 # Put the nasty error message in config.log where it belongs
46928 echo "$GST_PKG_ERRORS" >&5
46931 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46932 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46933 GST_VERSION_MINOR=8
46936 elif test $pkg_failed = untried; then
46938 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46939 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46940 GST_VERSION_MINOR=8
46944 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46945 GST_LIBS=$pkg_cv_GST_LIBS
46946 { echo "$as_me:$LINENO: result: yes" >&5
46947 echo "${ECHO_T}yes" >&6; }
46949 wxUSE_GSTREAMER="yes"
46950 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46954 GST_VERSION_MINOR=8
46957 if test $GST_VERSION_MINOR = "8"; then
46958 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46961 { echo "$as_me:$LINENO: checking for GST" >&5
46962 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46964 if test -n "$PKG_CONFIG"; then
46965 if test -n "$GST_CFLAGS"; then
46966 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46968 if test -n "$PKG_CONFIG" && \
46969 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46970 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46973 (exit $ac_status); }; then
46974 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46982 if test -n "$PKG_CONFIG"; then
46983 if test -n "$GST_LIBS"; then
46984 pkg_cv_GST_LIBS="$GST_LIBS"
46986 if test -n "$PKG_CONFIG" && \
46987 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46988 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46991 (exit $ac_status); }; then
46992 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
47003 if test $pkg_failed = yes; then
47005 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47006 _pkg_short_errors_supported=yes
47008 _pkg_short_errors_supported=no
47010 if test $_pkg_short_errors_supported = yes; then
47011 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47013 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47015 # Put the nasty error message in config.log where it belongs
47016 echo "$GST_PKG_ERRORS" >&5
47019 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47020 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47022 elif test $pkg_failed = untried; then
47024 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47025 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47028 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47029 GST_LIBS=$pkg_cv_GST_LIBS
47030 { echo "$as_me:$LINENO: result: yes" >&5
47031 echo "${ECHO_T}yes" >&6; }
47032 wxUSE_GSTREAMER="yes"
47037 if test "$wxUSE_GSTREAMER" = "yes"; then
47038 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47039 EXTRALIBS_MEDIA="$GST_LIBS"
47041 cat >>confdefs.h <<\_ACEOF
47042 #define wxUSE_GSTREAMER 1
47050 if test $USE_MEDIA = 1; then
47051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47052 cat >>confdefs.h <<\_ACEOF
47053 #define wxUSE_MEDIACTRL 1
47060 if test "$cross_compiling" = "yes"; then
47063 OSINFO=`uname
-s -r -m`
47064 OSINFO="\"$OSINFO\""
47067 cat >>confdefs.h <<_ACEOF
47068 #define WXWIN_OS_DESCRIPTION $OSINFO
47073 if test "x$prefix" != "xNONE"; then
47076 wxPREFIX=$ac_default_prefix
47079 cat >>confdefs.h <<_ACEOF
47080 #define wxINSTALL_PREFIX "$wxPREFIX"
47086 STD_BASE_LIBS="base"
47088 BUILT_WX_LIBS="base"
47089 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47091 if test "$wxUSE_SOCKETS" = "yes" ; then
47092 STD_BASE_LIBS="net $STD_BASE_LIBS"
47093 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47095 if test "$wxUSE_XML" = "yes" ; then
47096 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47097 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47100 if test "$wxUSE_GUI" = "yes"; then
47101 STD_GUI_LIBS="adv core"
47102 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47104 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47105 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47106 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47108 if test "$wxUSE_HTML" = "yes" ; then
47109 STD_GUI_LIBS="html $STD_GUI_LIBS"
47110 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47112 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47113 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47115 if test "$wxUSE_OPENGL" = "yes" ; then
47116 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47118 if test "$wxUSE_AUI" = "yes" ; then
47119 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47121 if test "$wxUSE_PROPGRID" = "yes" ; then
47122 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47124 if test "$wxUSE_RICHTEXT" = "yes" ; then
47125 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47127 if test "$wxUSE_STC" = "yes" ; then
47128 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47130 if test "$wxUSE_XRC" = "yes" ; then
47131 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47132 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47143 if test "$wxUSE_MAC" = 1 ; then
47144 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47145 if test "$USE_DARWIN" = 1; then
47146 LDFLAGS="$LDFLAGS -framework QuickTime"
47149 if test "$USE_DARWIN" = 1; then
47150 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47153 if test "$wxUSE_COCOA" = 1 ; then
47154 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47155 if test "$wxUSE_MEDIACTRL" = "yes"; then
47156 LDFLAGS="$LDFLAGS -framework QuickTime"
47159 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47160 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47163 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47165 if test "$wxUSE_GUI" = "yes"; then
47168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47169 erase event exec font image minimal mobile \
47170 mobile/wxedit mobile/styles render \
47171 shaped svg taborder vscroll widgets"
47173 if test "$wxUSE_MONOLITHIC" != "yes"; then
47174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47176 if test "$TOOLKIT" = "MSW"; then
47177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47178 if test "$wxUSE_UNIVERSAL" != "yes"; then
47179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47182 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47186 SAMPLES_SUBDIRS="console"
47187 if test "$wxUSE_SOCKETS" = "yes" ; then
47188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47190 if test "$wxUSE_IPC" = "yes" ; then
47191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47196 if test "x$INTELCC" = "xyes" ; then
47197 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47198 elif test "$GCC" = yes ; then
47199 CWARNINGS="-Wall -Wundef"
47202 if test "x$INTELCXX" = "xyes" ; then
47203 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47204 elif test "$GXX" = yes ; then
47205 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47206 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47207 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47208 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47209 echo $ECHO_N "(cached) $ECHO_C" >&6
47211 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47214 ac_cpp='$CXXCPP $CPPFLAGS'
47215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47219 ac_save_CXXFLAGS="$CXXFLAGS"
47220 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47221 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47222 cat >conftest.$ac_ext <<_ACEOF
47225 cat confdefs.h >>conftest.$ac_ext
47226 cat >>conftest.$ac_ext <<_ACEOF
47227 /* end confdefs.h. */
47237 rm -f conftest.$ac_objext
47238 if { (ac_try="$ac_compile"
47239 case "(($ac_try" in
47240 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47241 *) ac_try_echo
=$ac_try;;
47243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47244 (eval "$ac_compile") 2>conftest.er1
47246 grep -v '^ *+' conftest.er1
>conftest.err
47248 cat conftest.err
>&5
47249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47250 (exit $ac_status); } && {
47251 test -z "$ac_cxx_werror_flag" ||
47252 test ! -s conftest.err
47253 } && test -s conftest.
$ac_objext; then
47254 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47256 echo "$as_me: failed program was:" >&5
47257 sed 's/^/| /' conftest.
$ac_ext >&5
47262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47264 CXXFLAGS
="$ac_save_CXXFLAGS"
47266 ac_cpp
='$CPP $CPPFLAGS'
47267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47273 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47274 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47275 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47279 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47280 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47281 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47284 (exit $ac_status); }
47285 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47286 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47289 (exit $ac_status); }
47290 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47298 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47299 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47302 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47303 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47304 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47307 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47308 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47309 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47310 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47311 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47313 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47316 if test "x$MWCC" = "xyes"; then
47318 CC
="$CC -cwd source -I-"
47319 CXX
="$CXX -cwd source -I-"
47324 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47325 EXTRALIBS_XML
="$EXPAT_LINK"
47326 EXTRALIBS_HTML
="$MSPACK_LINK"
47327 EXTRALIBS_MEDIA
="$GST_LIBS"
47328 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47329 if test "$wxUSE_GUI" = "yes"; then
47330 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47332 if test "$wxUSE_OPENGL" = "yes"; then
47333 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47336 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47338 WXCONFIG_LIBS
="$LIBS"
47340 if test "$wxUSE_REGEX" = "builtin" ; then
47341 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47343 if test "$wxUSE_EXPAT" = "builtin" ; then
47344 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47346 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47347 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47349 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47350 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47352 if test "$wxUSE_LIBPNG" = "builtin" ; then
47353 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47355 if test "$wxUSE_ZLIB" = "builtin" ; then
47356 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47359 for i
in $wxconfig_3rdparty ; do
47360 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47364 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47367 case "$wxUNIV_THEMES" in
47369 cat >>confdefs.h
<<\_ACEOF
47370 #define wxUSE_ALL_THEMES 1
47376 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47377 cat >>confdefs.h
<<_ACEOF
47378 #define wxUSE_THEME_$t 1
47394 if test $wxUSE_MONOLITHIC = "yes" ; then
47400 if test $wxUSE_PLUGINS = "yes" ; then
47406 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47412 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47445 TOOLKIT_LOWERCASE
=xxx
47446 if test "$TOOLKIT" = "MAC"; then
47447 TOOLKIT_LOWERCASE
=osx_carbon
47449 if test "$TOOLKIT" = "OSX_CARBON"; then
47450 TOOLKIT_LOWERCASE
=osx_carbon
47452 if test "$TOOLKIT" = "OSX_COCOA"; then
47453 TOOLKIT_LOWERCASE
=osx_cocoa
47455 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47456 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47468 TOOLKIT_DESC
="GTK+"
47469 if test "$WXGTK2" = 1; then
47470 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47471 if test "$wxUSE_GTKPRINT" = "yes" ; then
47472 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47474 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47475 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47477 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47478 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47480 if test "$wxUSE_LIBHILDON" = "yes"; then
47481 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47484 if test "$TOOLKIT_EXTRA" != ""; then
47485 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47491 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47495 TOOLKIT_DESC
="base only"
47499 if test "$wxUSE_WINE" = "yes"; then
47500 BAKEFILE_FORCE_PLATFORM
=win32
47503 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47505 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47506 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47507 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47508 echo $ECHO_N "(cached) $ECHO_C" >&6
47511 echo '#include <stdio.h>
47512 const wchar_t test_var[] = L"awidetest";' > conftest.h
47514 echo '#include "conftest.h"
47517 printf("%ls", test_var);
47521 wx_cv_gcc_pch_bug
="pch not supported"
47523 if $CXX conftest.h
>/dev
/null
2>&1
47527 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47529 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47530 grep awidetest
>/dev
/null
47532 wx_cv_gcc_pch_bug
=no
47534 wx_cv_gcc_pch_bug
=yes
47539 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47542 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47543 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47545 if test "$wx_cv_gcc_pch_bug" = yes; then
47556 if test "x$BAKEFILE_HOST" = "x"; then
47557 if test "x${host}" = "x" ; then
47558 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47559 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47560 { (exit 1); exit 1; }; }
47563 BAKEFILE_HOST
="${host}"
47566 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47568 if test -n "$ac_tool_prefix"; then
47569 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47570 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47573 if test "${ac_cv_prog_RANLIB+set}" = set; then
47574 echo $ECHO_N "(cached) $ECHO_C" >&6
47576 if test -n "$RANLIB"; then
47577 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47580 for as_dir
in $PATH
47583 test -z "$as_dir" && as_dir
=.
47584 for ac_exec_ext
in '' $ac_executable_extensions; do
47585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47586 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47596 RANLIB
=$ac_cv_prog_RANLIB
47597 if test -n "$RANLIB"; then
47598 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47599 echo "${ECHO_T}$RANLIB" >&6; }
47601 { echo "$as_me:$LINENO: result: no" >&5
47602 echo "${ECHO_T}no" >&6; }
47607 if test -z "$ac_cv_prog_RANLIB"; then
47608 ac_ct_RANLIB
=$RANLIB
47609 # Extract the first word of "ranlib", so it can be a program name with args.
47610 set dummy ranlib
; ac_word
=$2
47611 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47613 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47614 echo $ECHO_N "(cached) $ECHO_C" >&6
47616 if test -n "$ac_ct_RANLIB"; then
47617 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47620 for as_dir
in $PATH
47623 test -z "$as_dir" && as_dir
=.
47624 for ac_exec_ext
in '' $ac_executable_extensions; do
47625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47626 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47636 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47637 if test -n "$ac_ct_RANLIB"; then
47638 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47639 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47641 { echo "$as_me:$LINENO: result: no" >&5
47642 echo "${ECHO_T}no" >&6; }
47645 if test "x$ac_ct_RANLIB" = x
; then
47648 case $cross_compiling:$ac_tool_warned in
47650 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47651 whose name does not start with the host triplet. If you think this
47652 configuration is useful to you, please write to autoconf@gnu.org." >&5
47653 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47654 whose name does not start with the host triplet. If you think this
47655 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47656 ac_tool_warned
=yes ;;
47658 RANLIB
=$ac_ct_RANLIB
47661 RANLIB
="$ac_cv_prog_RANLIB"
47664 # Find a good install program. We prefer a C program (faster),
47665 # so one script is as good as another. But avoid the broken or
47666 # incompatible versions:
47667 # SysV /etc/install, /usr/sbin/install
47668 # SunOS /usr/etc/install
47669 # IRIX /sbin/install
47671 # AmigaOS /C/install, which installs bootblocks on floppy discs
47672 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47673 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47674 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47675 # OS/2's system install, which has a completely different semantic
47676 # ./install, which can be erroneously created by make from ./install.sh.
47677 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47678 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47679 if test -z "$INSTALL"; then
47680 if test "${ac_cv_path_install+set}" = set; then
47681 echo $ECHO_N "(cached) $ECHO_C" >&6
47683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47684 for as_dir
in $PATH
47687 test -z "$as_dir" && as_dir
=.
47688 # Account for people who put trailing slashes in PATH elements.
47690 .
/ | .
// | /cC
/* | \
47691 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47692 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47695 # OSF1 and SCO ODT 3.0 have their own names for install.
47696 # Don't use installbsd from OSF since it installs stuff as root
47698 for ac_prog
in ginstall scoinst
install; do
47699 for ac_exec_ext
in '' $ac_executable_extensions; do
47700 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47701 if test $ac_prog = install &&
47702 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47703 # AIX install. It has an incompatible calling convention.
47705 elif test $ac_prog = install &&
47706 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47707 # program-specific install script used by HP pwplus--don't use.
47710 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47723 if test "${ac_cv_path_install+set}" = set; then
47724 INSTALL
=$ac_cv_path_install
47726 # As a last resort, use the slow shell script. Don't cache a
47727 # value for INSTALL within a source directory, because that will
47728 # break other packages using the cache if that directory is
47729 # removed, or if the value is a relative name.
47730 INSTALL
=$ac_install_sh
47733 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47734 echo "${ECHO_T}$INSTALL" >&6; }
47736 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47737 # It thinks the first close brace ends the variable substitution.
47738 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47740 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47742 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47744 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47745 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47747 if test "$LN_S" = "ln -s"; then
47748 { echo "$as_me:$LINENO: result: yes" >&5
47749 echo "${ECHO_T}yes" >&6; }
47751 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47752 echo "${ECHO_T}no, using $LN_S" >&6; }
47756 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47757 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47758 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47759 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47760 echo $ECHO_N "(cached) $ECHO_C" >&6
47762 cat >conftest.
make <<\_ACEOF
47765 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47767 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47768 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47769 *@@@
%%%=?
*=@@@
%%%*)
47770 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47772 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47774 rm -f conftest.
make
47776 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47777 { echo "$as_me:$LINENO: result: yes" >&5
47778 echo "${ECHO_T}yes" >&6; }
47781 { echo "$as_me:$LINENO: result: no" >&5
47782 echo "${ECHO_T}no" >&6; }
47783 SET_MAKE
="MAKE=${MAKE-make}"
47788 if test "x$SUNCXX" = "xyes"; then
47790 AROPTIONS
="-xar -o"
47792 elif test "x$SGICC" = "xyes"; then
47797 if test -n "$ac_tool_prefix"; then
47798 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47799 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47802 if test "${ac_cv_prog_AR+set}" = set; then
47803 echo $ECHO_N "(cached) $ECHO_C" >&6
47805 if test -n "$AR"; then
47806 ac_cv_prog_AR
="$AR" # Let the user override the test.
47808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47809 for as_dir
in $PATH
47812 test -z "$as_dir" && as_dir
=.
47813 for ac_exec_ext
in '' $ac_executable_extensions; do
47814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47815 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47826 if test -n "$AR"; then
47827 { echo "$as_me:$LINENO: result: $AR" >&5
47828 echo "${ECHO_T}$AR" >&6; }
47830 { echo "$as_me:$LINENO: result: no" >&5
47831 echo "${ECHO_T}no" >&6; }
47836 if test -z "$ac_cv_prog_AR"; then
47838 # Extract the first word of "ar", so it can be a program name with args.
47839 set dummy
ar; ac_word
=$2
47840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47842 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47843 echo $ECHO_N "(cached) $ECHO_C" >&6
47845 if test -n "$ac_ct_AR"; then
47846 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47849 for as_dir
in $PATH
47852 test -z "$as_dir" && as_dir
=.
47853 for ac_exec_ext
in '' $ac_executable_extensions; do
47854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47855 ac_cv_prog_ac_ct_AR
="ar"
47856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47865 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47866 if test -n "$ac_ct_AR"; then
47867 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47868 echo "${ECHO_T}$ac_ct_AR" >&6; }
47870 { echo "$as_me:$LINENO: result: no" >&5
47871 echo "${ECHO_T}no" >&6; }
47874 if test "x$ac_ct_AR" = x
; then
47877 case $cross_compiling:$ac_tool_warned in
47879 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47880 whose name does not start with the host triplet. If you think this
47881 configuration is useful to you, please write to autoconf@gnu.org." >&5
47882 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47883 whose name does not start with the host triplet. If you think this
47884 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47885 ac_tool_warned
=yes ;;
47890 AR
="$ac_cv_prog_AR"
47897 if test -n "$ac_tool_prefix"; then
47898 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47899 set dummy
${ac_tool_prefix}strip
; 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_STRIP+set}" = set; then
47903 echo $ECHO_N "(cached) $ECHO_C" >&6
47905 if test -n "$STRIP"; then
47906 ac_cv_prog_STRIP
="$STRIP" # 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_STRIP
="${ac_tool_prefix}strip"
47916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47925 STRIP
=$ac_cv_prog_STRIP
47926 if test -n "$STRIP"; then
47927 { echo "$as_me:$LINENO: result: $STRIP" >&5
47928 echo "${ECHO_T}$STRIP" >&6; }
47930 { echo "$as_me:$LINENO: result: no" >&5
47931 echo "${ECHO_T}no" >&6; }
47936 if test -z "$ac_cv_prog_STRIP"; then
47938 # Extract the first word of "strip", so it can be a program name with args.
47939 set dummy strip
; ac_word
=$2
47940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47942 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47943 echo $ECHO_N "(cached) $ECHO_C" >&6
47945 if test -n "$ac_ct_STRIP"; then
47946 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47949 for as_dir
in $PATH
47952 test -z "$as_dir" && as_dir
=.
47953 for ac_exec_ext
in '' $ac_executable_extensions; do
47954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47955 ac_cv_prog_ac_ct_STRIP
="strip"
47956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47965 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47966 if test -n "$ac_ct_STRIP"; then
47967 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47968 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47970 { echo "$as_me:$LINENO: result: no" >&5
47971 echo "${ECHO_T}no" >&6; }
47974 if test "x$ac_ct_STRIP" = x
; then
47977 case $cross_compiling:$ac_tool_warned in
47979 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47980 whose name does not start with the host triplet. If you think this
47981 configuration is useful to you, please write to autoconf@gnu.org." >&5
47982 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47983 whose name does not start with the host triplet. If you think this
47984 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47985 ac_tool_warned
=yes ;;
47990 STRIP
="$ac_cv_prog_STRIP"
47993 if test -n "$ac_tool_prefix"; then
47994 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47995 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47998 if test "${ac_cv_prog_NM+set}" = set; then
47999 echo $ECHO_N "(cached) $ECHO_C" >&6
48001 if test -n "$NM"; then
48002 ac_cv_prog_NM
="$NM" # Let the user override the test.
48004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48005 for as_dir
in $PATH
48008 test -z "$as_dir" && as_dir
=.
48009 for ac_exec_ext
in '' $ac_executable_extensions; do
48010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48011 ac_cv_prog_NM
="${ac_tool_prefix}nm"
48012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48022 if test -n "$NM"; then
48023 { echo "$as_me:$LINENO: result: $NM" >&5
48024 echo "${ECHO_T}$NM" >&6; }
48026 { echo "$as_me:$LINENO: result: no" >&5
48027 echo "${ECHO_T}no" >&6; }
48032 if test -z "$ac_cv_prog_NM"; then
48034 # Extract the first word of "nm", so it can be a program name with args.
48035 set dummy nm
; ac_word
=$2
48036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48038 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48039 echo $ECHO_N "(cached) $ECHO_C" >&6
48041 if test -n "$ac_ct_NM"; then
48042 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48045 for as_dir
in $PATH
48048 test -z "$as_dir" && as_dir
=.
48049 for ac_exec_ext
in '' $ac_executable_extensions; do
48050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48051 ac_cv_prog_ac_ct_NM
="nm"
48052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48061 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48062 if test -n "$ac_ct_NM"; then
48063 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48064 echo "${ECHO_T}$ac_ct_NM" >&6; }
48066 { echo "$as_me:$LINENO: result: no" >&5
48067 echo "${ECHO_T}no" >&6; }
48070 if test "x$ac_ct_NM" = x
; then
48073 case $cross_compiling:$ac_tool_warned in
48075 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48076 whose name does not start with the host triplet. If you think this
48077 configuration is useful to you, please write to autoconf@gnu.org." >&5
48078 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48079 whose name does not start with the host triplet. If you think this
48080 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48081 ac_tool_warned
=yes ;;
48086 NM
="$ac_cv_prog_NM"
48090 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48091 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48092 INSTALL_TEST_DIR
=acbftest$$
48093 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
48094 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
48095 rmdir $INSTALL_TEST_DIR
48096 INSTALL_DIR
='$(INSTALL) -d'
48097 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48098 echo "${ECHO_T}$INSTALL -d" >&6; }
48100 INSTALL_DIR
="mkdir -p"
48101 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48102 echo "${ECHO_T}mkdir -p" >&6; }
48107 case ${BAKEFILE_HOST} in
48108 *-*-cygwin* | *-*-mingw32* )
48109 LDFLAGS_GUI
="-mwindows"
48115 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48116 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48117 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48118 echo $ECHO_N "(cached) $ECHO_C" >&6
48121 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48122 egrep -s GNU
> /dev
/null
); then
48123 bakefile_cv_prog_makeisgnu
="yes"
48125 bakefile_cv_prog_makeisgnu
="no"
48129 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48130 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48132 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48149 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48150 case "${BAKEFILE_HOST}" in
48157 *-pc-os2_emx | *-pc-os2-emx )
48167 powerpc
-apple-macos* )
48176 case "$BAKEFILE_FORCE_PLATFORM" in
48211 # Check whether --enable-omf was given.
48212 if test "${enable_omf+set}" = set; then
48213 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
48217 case "${BAKEFILE_HOST}" in
48219 if test "x$GCC" = "xyes"; then
48220 CFLAGS
="$CFLAGS -fno-common"
48221 CXXFLAGS
="$CXXFLAGS -fno-common"
48223 if test "x$XLCC" = "xyes"; then
48224 CFLAGS
="$CFLAGS -qnocommon"
48225 CXXFLAGS
="$CXXFLAGS -qnocommon"
48229 *-pc-os2_emx | *-pc-os2-emx )
48230 if test "x$bk_os2_use_omf" = "xyes" ; then
48233 LDFLAGS
="-Zomf $LDFLAGS"
48234 CFLAGS
="-Zomf $CFLAGS"
48235 CXXFLAGS
="-Zomf $CXXFLAGS"
48243 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48249 SO_SUFFIX_MODULE
="so"
48254 DLLPREFIX_MODULE
=""
48258 case "${BAKEFILE_HOST}" in
48263 SO_SUFFIX_MODULE
="sl"
48267 SO_SUFFIX_MODULE
="a"
48271 SO_SUFFIX_MODULE
="dll"
48272 DLLIMP_SUFFIX
="dll.a"
48279 SO_SUFFIX_MODULE
="dll"
48280 DLLIMP_SUFFIX
="dll.a"
48290 *-pc-os2_emx | *-pc-os2-emx )
48292 SO_SUFFIX_MODULE
="dll"
48293 DLLIMP_SUFFIX
=$OS2_LIBEXT
48297 LIBEXT
=".$OS2_LIBEXT"
48302 SO_SUFFIX_MODULE
="bundle"
48306 if test "x$DLLIMP_SUFFIX" = "x" ; then
48307 DLLIMP_SUFFIX
="$SO_SUFFIX"
48322 if test "x$GCC" = "xyes"; then
48326 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48327 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48330 case "${BAKEFILE_HOST}" in
48332 if test "x$GCC" != "xyes"; then
48333 LDFLAGS
="$LDFLAGS -L/usr/lib"
48335 SHARED_LD_CC
="${CC} -b -o"
48336 SHARED_LD_CXX
="${CXX} -b -o"
48342 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48344 elif test "x$SUNCXX" = "xyes"; then
48345 SHARED_LD_CC
="${CC} -G -o"
48346 SHARED_LD_CXX
="${CXX} -G -o"
48352 if test "x$SUNCXX" = xyes
; then
48353 SHARED_LD_CC
="${CC} -G -o"
48354 SHARED_LD_CXX
="${CXX} -G -o"
48362 cat <<EOF >shared-ld-sh
48364 #-----------------------------------------------------------------------------
48365 #-- Name: distrib/mac/shared-ld-sh
48366 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48367 #-- Author: Gilles Depeyrot
48368 #-- Copyright: (c) 2002 Gilles Depeyrot
48369 #-- Licence: any use permitted
48370 #-----------------------------------------------------------------------------
48375 linking_flag="-dynamiclib"
48376 ldargs="-r -keep_private_externs -nostdlib"
48378 if test "x${D}CXX" = "x"; then
48382 while test ${D}# -gt 0; do
48389 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48390 # collect these options and values
48391 args="${D}{args} ${D}1 ${D}2"
48396 # collect these options and values
48397 ldargs="${D}{ldargs} ${D}1 ${D}2"
48402 # collect these load args
48403 ldargs="${D}{ldargs} ${D}1"
48406 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48407 # collect these options
48408 args="${D}{args} ${D}1"
48411 -dynamiclib|-bundle)
48412 linking_flag="${D}1"
48416 echo "shared-ld: unhandled option '${D}1'"
48420 *.o | *.a | *.dylib)
48421 # collect object files
48422 objects="${D}{objects} ${D}1"
48426 echo "shared-ld: unhandled argument '${D}1'"
48437 # Link one module containing all the others
48439 if test ${D}{verbose} = 1; then
48440 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48442 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48446 # Link the shared library from the single module created, but only if the
48447 # previous command didn't fail:
48449 if test ${D}{status} = 0; then
48450 if test ${D}{verbose} = 1; then
48451 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48453 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48458 # Remove intermediate module
48460 rm -f master.${D}${D}.o
48465 chmod +x shared
-ld-sh
48467 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48468 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48471 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48472 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48473 if test "${bakefile_cv_gcc31+set}" = set; then
48474 echo $ECHO_N "(cached) $ECHO_C" >&6
48477 cat >conftest.
$ac_ext <<_ACEOF
48480 cat confdefs.h
>>conftest.
$ac_ext
48481 cat >>conftest.
$ac_ext <<_ACEOF
48482 /* end confdefs.h. */
48488 #if (__GNUC__ < 3) || \
48489 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48497 rm -f conftest.
$ac_objext
48498 if { (ac_try
="$ac_compile"
48499 case "(($ac_try" in
48500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48501 *) ac_try_echo=$ac_try;;
48503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48504 (eval "$ac_compile") 2>conftest.er1
48506 grep -v '^ *+' conftest.er1 >conftest.err
48508 cat conftest.err >&5
48509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48510 (exit $ac_status); } && {
48511 test -z "$ac_c_werror_flag" ||
48512 test ! -s conftest.err
48513 } && test -s conftest.$ac_objext; then
48515 bakefile_cv_gcc31=yes
48518 echo "$as_me: failed program was:" >&5
48519 sed 's/^/| /' conftest.$ac_ext >&5
48522 bakefile_cv_gcc31=no
48527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48530 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48531 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48532 if test "$bakefile_cv_gcc31" = "no"; then
48533 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48534 SHARED_LD_CXX="$SHARED_LD_CC"
48536 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48537 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48540 if test "x$GCC" == "xyes"; then
48541 PIC_FLAG="-dynamic -fPIC"
48543 if test "x$XLCC" = "xyes"; then
48544 PIC_FLAG="-dynamic -DPIC"
48549 if test "x$GCC" = "xyes"; then
48552 case "${BAKEFILE_HOST}" in
48554 LD_EXPFULL="-Wl,-bexpfull"
48558 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48559 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48561 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48562 set dummy makeC++SharedLib; ac_word=$2
48563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48565 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48566 echo $ECHO_N "(cached) $ECHO_C" >&6
48568 if test -n "$AIX_CXX_LD"; then
48569 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48572 for as_dir in $PATH
48575 test -z "$as_dir" && as_dir=.
48576 for ac_exec_ext in '' $ac_executable_extensions; do
48577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48578 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48586 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48589 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48590 if test -n "$AIX_CXX_LD"; then
48591 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48592 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48594 { echo "$as_me:$LINENO: result: no" >&5
48595 echo "${ECHO_T}no" >&6; }
48599 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48600 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48605 SHARED_LD_CC="${LD} -nostart -o"
48606 SHARED_LD_CXX="${LD} -nostart -o"
48610 if test "x$GCC" != "xyes"; then
48615 *-*-cygwin* | *-*-mingw32* )
48617 SHARED_LD_CC="\$(CC) -shared -o"
48618 SHARED_LD_CXX="\$(CXX) -shared -o"
48622 *-pc-os2_emx | *-pc-os2-emx )
48623 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48624 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48628 cat <<EOF >dllar.sh
48631 # dllar - a tool to build both a .dll and an .a file
48632 # from a set of object (.o) files for EMX/OS2.
48634 # Written by Andrew Zabolotny, bit@freya.etu.ru
48635 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48637 # This script will accept a set of files on the command line.
48638 # All the public symbols from the .o files will be exported into
48639 # a .DEF file, then linker will be run (through gcc) against them to
48640 # build a shared library consisting of all given .o files. All libraries
48641 # (.a) will be first decompressed into component .o files then act as
48642 # described above. You can optionally give a description (-d "description")
48643 # which will be put into .DLL. To see the list of accepted options (as well
48644 # as command-line format) simply run this program without options. The .DLL
48645 # is built to be imported by name (there is no guarantee that new versions
48646 # of the library you build will have same ordinals for same symbols).
48648 # dllar is free software; you can redistribute it and/or modify
48649 # it under the terms of the GNU General Public License as published by
48650 # the Free Software Foundation; either version 2, or (at your option)
48651 # any later version.
48653 # dllar is distributed in the hope that it will be useful,
48654 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48655 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48656 # GNU General Public License for more details.
48658 # You should have received a copy of the GNU General Public License
48659 # along with dllar; see the file COPYING. If not, write to the Free
48660 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48663 # To successfuly run this program you will need:
48664 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48665 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48667 # (used to build the .dll)
48669 # (used to create .def file from .o files)
48671 # (used to create .a file from .def file)
48672 # - GNU text utilites (cat, sort, uniq)
48673 # used to process emxexp output
48674 # - GNU file utilities (mv, rm)
48676 # - lxlite (optional, see flag below)
48677 # (used for general .dll cleanup)
48684 # basnam, variant of basename, which does _not_ remove the path, _iff_
48685 # second argument (suffix to remove) is given
48689 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48692 echo ${D}1 | sed 's/'${D}2'${D}//'
48695 echo "error in basnam ${D}*"
48701 # Cleanup temporary files and output
48704 for i in ${D}inputFiles ; do
48707 rm -rf \`basnam
${D}i
!\
`
48714 # Kill result in case of failure as there is just to many stupid make/nmake
48715 # things out there which doesn't do this.
48716 if [ ${D}# -eq 0 ]; then
48717 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48721 # Print usage and exit script with rc=1.
48723 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48724 echo ' [-name-mangler-script script.sh]'
48725 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48726 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48727 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48728 echo ' [*.o] [*.a]'
48729 echo '*> "output_file" should have no extension.'
48730 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48731 echo ' The import library name is derived from this and is set to "name".a,'
48732 echo ' unless overridden by -import'
48733 echo '*> "importlib_name" should have no extension.'
48734 echo ' If it has the .o, or .a extension, it is automatically removed.'
48735 echo ' This name is used as the import library name and may be longer and'
48736 echo ' more descriptive than the DLL name which has to follow the old '
48737 echo ' 8.3 convention of FAT.'
48738 echo '*> "script.sh may be given to override the output_file name by a'
48739 echo ' different name. It is mainly useful if the regular make process'
48740 echo ' of some package does not take into account OS/2 restriction of'
48741 echo ' DLL name lengths. It takes the importlib name as input and is'
48742 echo ' supposed to procude a shorter name as output. The script should'
48743 echo ' expect to get importlib_name without extension and should produce'
48744 echo ' a (max.) 8 letter name without extension.'
48745 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48746 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48747 echo ' These flags will be put at the start of GCC command line.'
48748 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48749 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48750 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48751 echo ' If the last character of a symbol is "*", all symbols beginning'
48752 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48753 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48754 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48755 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48756 echo ' C runtime DLLs.'
48757 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48758 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48759 echo ' unchanged to GCC at the end of command line.'
48760 echo '*> If you create a DLL from a library and you do not specify -o,'
48761 echo ' the basename for DLL and import library will be set to library name,'
48762 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48763 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48764 echo ' library will be renamed into gcc_s.a.'
48767 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48768 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48773 # Execute a command.
48774 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48775 # @Uses Whatever CleanUp() uses.
48781 if [ ${D}rcCmd -ne 0 ]; then
48782 echo "command failed, exit code="${D}rcCmd
48797 CFLAGS="-s -Zcrtdll"
48799 EXPORT_BY_ORDINALS=0
48804 case ${D}curDirS in
48808 curDirS=${D}{curDirS}"/"
48811 # Parse commandline
48814 while [ ${D}1 ]; do
48817 EXPORT_BY_ORDINALS=1;
48827 -name-mangler-script)
48848 exclude_symbols=${D}{exclude_symbols}${D}1" "
48852 library_flags=${D}{library_flags}${D}1" "
48871 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48874 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48875 if [ ${D}omfLinking -eq 1 ]; then
48876 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48878 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48883 if [ ${D}libsToLink -ne 0 ]; then
48884 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48886 for file in ${D}1 ; do
48887 if [ -f ${D}file ]; then
48888 inputFiles="${D}{inputFiles} ${D}file"
48892 if [ ${D}found -eq 0 ]; then
48893 echo "ERROR: No file(s) found: "${D}1
48900 done # iterate cmdline words
48903 if [ -z "${D}inputFiles" ]; then
48904 echo "dllar: no input files"
48908 # Now extract all .o files from .a files
48910 for file in ${D}inputFiles ; do
48921 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48926 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48928 if [ ${D}? -ne 0 ]; then
48929 echo "Failed to create subdirectory ./${D}dirname"
48933 # Append '!' to indicate archive
48934 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48935 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48938 for subfile in ${D}dirname/*.o* ; do
48939 if [ -f ${D}subfile ]; then
48941 if [ -s ${D}subfile ]; then
48942 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48943 newInputFiles="${D}newInputFiles ${D}subfile"
48947 if [ ${D}found -eq 0 ]; then
48948 echo "WARNING: there are no files in archive \\'${D}file\\'"
48952 newInputFiles="${D}{newInputFiles} ${D}file"
48956 inputFiles="${D}newInputFiles"
48958 # Output filename(s).
48960 if [ -z ${D}outFile ]; then
48962 set outFile ${D}inputFiles; outFile=${D}2
48965 # If it is an archive, remove the '!' and the '_%' suffixes
48966 case ${D}outFile in
48968 outFile=\`basnam
${D}outFile _
%!\
`
48973 case ${D}outFile in
48975 outFile=\`basnam
${D}outFile .dll\
`
48978 outFile=\`basnam
${D}outFile .DLL\
`
48981 outFile=\`basnam
${D}outFile .o\
`
48984 outFile=\`basnam
${D}outFile .obj\
`
48987 outFile=\`basnam
${D}outFile .a\
`
48990 outFile=\`basnam
${D}outFile .lib\
`
48995 case ${D}outimpFile in
48997 outimpFile=\`basnam
${D}outimpFile .a\
`
49000 outimpFile=\`basnam
${D}outimpFile .lib\
`
49005 if [ -z ${D}outimpFile ]; then
49006 outimpFile=${D}outFile
49008 defFile="${D}{outFile}.def"
49009 arcFile="${D}{outimpFile}.a"
49010 arcFile2="${D}{outimpFile}.lib"
49012 #create ${D}dllFile as something matching 8.3 restrictions,
49013 if [ -z ${D}renameScript ] ; then
49014 dllFile="${D}outFile"
49016 dllFile=\`${D}renameScript
${D}outimpFile\
`
49019 if [ ${D}do_backup -ne 0 ] ; then
49020 if [ -f ${D}arcFile ] ; then
49021 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49023 if [ -f ${D}arcFile2 ] ; then
49024 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49028 # Extract public symbols from all the object files.
49029 tmpdefFile=${D}{defFile}_%
49030 rm -f ${D}tmpdefFile
49031 for file in ${D}inputFiles ; do
49036 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49041 # Create the def file.
49043 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
49044 dllFile="${D}{dllFile}.dll"
49045 if [ ! -z ${D}description ]; then
49046 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49048 echo "EXPORTS" >> ${D}defFile
49050 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49051 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49053 # Checks if the export is ok or not.
49054 for word in ${D}exclude_symbols; do
49055 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49056 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49060 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49061 sed "=" < ${D}tmpdefFile | \\
49065 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49067 ' > ${D}{tmpdefFile}%
49068 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49070 rm -f ${D}{tmpdefFile}%
49072 cat ${D}tmpdefFile >> ${D}defFile
49073 rm -f ${D}tmpdefFile
49075 # Do linking, create implib, and apply lxlite.
49077 for file in ${D}inputFiles ; do
49082 gccCmdl="${D}gccCmdl ${D}file"
49086 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49087 touch "${D}{outFile}.dll"
49089 doCommand "emximp -o ${D}arcFile ${D}defFile"
49090 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49092 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49095 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49097 doCommand "emxomf -s -l ${D}arcFile"
49107 powerpc-apple-macos* | \
49108 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49118 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49119 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49120 { (exit 1); exit 1; }; }
49123 if test "x$PIC_FLAG" != "x" ; then
49124 PIC_FLAG="$PIC_FLAG -DPIC"
49127 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49128 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49130 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49131 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49150 case "${BAKEFILE_HOST}" in
49151 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49152 *-*-k*bsd*-gnu | *-*-mirbsd* )
49153 if test "x$SUNCXX" = "xyes"; then
49156 SONAME_FLAG="-Wl,-soname,"
49191 # Check whether --enable-dependency-tracking was given.
49192 if test "${enable_dependency_tracking+set}" = set; then
49193 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49197 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49198 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49201 if test "x$bk_use_trackdeps" = "xno" ; then
49203 { echo "$as_me:$LINENO: result: disabled" >&5
49204 echo "${ECHO_T}disabled" >&6; }
49208 if test "x$GCC" = "xyes"; then
49210 case "${BAKEFILE_HOST}" in
49212 DEPSFLAG="-no-cpp-precomp -MMD"
49218 { echo "$as_me:$LINENO: result: gcc" >&5
49219 echo "${ECHO_T}gcc" >&6; }
49220 elif test "x$MWCC" = "xyes"; then
49223 { echo "$as_me:$LINENO: result: mwcc" >&5
49224 echo "${ECHO_T}mwcc" >&6; }
49225 elif test "x$SUNCC" = "xyes"; then
49228 { echo "$as_me:$LINENO: result: Sun cc" >&5
49229 echo "${ECHO_T}Sun cc" >&6; }
49230 elif test "x$SGICC" = "xyes"; then
49233 { echo "$as_me:$LINENO: result: SGI cc" >&5
49234 echo "${ECHO_T}SGI cc" >&6; }
49235 elif test "x$HPCC" = "xyes"; then
49238 { echo "$as_me:$LINENO: result: HP cc" >&5
49239 echo "${ECHO_T}HP cc" >&6; }
49240 elif test "x$COMPAQCC" = "xyes"; then
49243 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49244 echo "${ECHO_T}Compaq cc" >&6; }
49247 { echo "$as_me:$LINENO: result: none" >&5
49248 echo "${ECHO_T}none" >&6; }
49251 if test $DEPS_TRACKING = 1 ; then
49257 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49258 # script. It is used to track C/C++ files dependencies in portable way.
49260 # Permission is given to use this file in any way.
49262 DEPSMODE=${DEPSMODE}
49263 DEPSFLAG="${DEPSFLAG}"
49266 if test ${D}DEPSMODE = gcc ; then
49267 ${D}* ${D}{DEPSFLAG}
49270 # determine location of created files:
49271 while test ${D}# -gt 0; do
49285 objfilebase=\`basename ${D}objfile\
`
49286 builddir=\`dirname ${D}objfile\
`
49287 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49288 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49289 depsdir=${D}builddir/${D}DEPSDIRBASE
49290 mkdir -p ${D}depsdir
49292 # if the compiler failed, we're done:
49293 if test ${D}{status} != 0 ; then
49298 # move created file to the location we want it in:
49299 if test -f ${D}depfile ; then
49300 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49303 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49304 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49305 if test ! -f ${D}depfile ; then
49306 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49307 depfile="${D}objfile.d"
49309 if test -f ${D}depfile ; then
49310 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49316 elif test ${D}DEPSMODE = mwcc ; then
49317 ${D}* || exit ${D}?
49318 # Run mwcc again with -MM and redirect into the dep file we want
49319 # NOTE: We can't use shift here because we need ${D}* to be valid
49321 for arg in ${D}* ; do
49322 if test "${D}prevarg" = "-o"; then
49336 objfilebase=\`basename ${D}objfile\
`
49337 builddir=\`dirname ${D}objfile\
`
49338 depsdir=${D}builddir/${D}DEPSDIRBASE
49339 mkdir -p ${D}depsdir
49341 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49344 elif test ${D}DEPSMODE = unixcc; then
49345 ${D}* || exit ${D}?
49346 # Run compiler again with deps flag and redirect into the dep file.
49347 # It doesn't work if the '-o FILE' option is used, but without it the
49348 # dependency file will contain the wrong name for the object. So it is
49349 # removed from the command line, and the dep file is fixed with sed.
49351 while test ${D}# -gt 0; do
49358 eval arg${D}#=\\${D}1
49359 cmd="${D}cmd \\${D}arg${D}#"
49365 objfilebase=\`basename ${D}objfile\
`
49366 builddir=\`dirname ${D}objfile\
`
49367 depsdir=${D}builddir/${D}DEPSDIRBASE
49368 mkdir -p ${D}depsdir
49370 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49380 BK_DEPS="`pwd`/bk-deps"
49388 case ${BAKEFILE_HOST} in
49389 *-*-cygwin* | *-*-mingw32* )
49390 if test -n "$ac_tool_prefix"; then
49391 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49392 set dummy ${ac_tool_prefix}windres; 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_WINDRES+set}" = set; then
49396 echo $ECHO_N "(cached) $ECHO_C" >&6
49398 if test -n "$WINDRES"; then
49399 ac_cv_prog_WINDRES="$WINDRES" # 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_WINDRES="${ac_tool_prefix}windres"
49409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49418 WINDRES=$ac_cv_prog_WINDRES
49419 if test -n "$WINDRES"; then
49420 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49421 echo "${ECHO_T}$WINDRES" >&6; }
49423 { echo "$as_me:$LINENO: result: no" >&5
49424 echo "${ECHO_T}no" >&6; }
49429 if test -z "$ac_cv_prog_WINDRES"; then
49430 ac_ct_WINDRES=$WINDRES
49431 # Extract the first word of "windres", so it can be a program name with args.
49432 set dummy windres; ac_word=$2
49433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49435 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49436 echo $ECHO_N "(cached) $ECHO_C" >&6
49438 if test -n "$ac_ct_WINDRES"; then
49439 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49442 for as_dir in $PATH
49445 test -z "$as_dir" && as_dir=.
49446 for ac_exec_ext in '' $ac_executable_extensions; do
49447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49448 ac_cv_prog_ac_ct_WINDRES="windres"
49449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49458 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49459 if test -n "$ac_ct_WINDRES"; then
49460 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49461 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49463 { echo "$as_me:$LINENO: result: no" >&5
49464 echo "${ECHO_T}no" >&6; }
49467 if test "x$ac_ct_WINDRES" = x; then
49470 case $cross_compiling:$ac_tool_warned in
49472 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49473 whose name does not start with the host triplet. If you think this
49474 configuration is useful to you, please write to autoconf@gnu.org." >&5
49475 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49476 whose name does not start with the host triplet. If you think this
49477 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49478 ac_tool_warned=yes ;;
49480 WINDRES=$ac_ct_WINDRES
49483 WINDRES="$ac_cv_prog_WINDRES"
49488 *-*-darwin* | powerpc-apple-macos* )
49489 # Extract the first word of "Rez", so it can be a program name with args.
49490 set dummy Rez; ac_word=$2
49491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49493 if test "${ac_cv_prog_REZ+set}" = set; then
49494 echo $ECHO_N "(cached) $ECHO_C" >&6
49496 if test -n "$REZ"; then
49497 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49500 for as_dir in $PATH
49503 test -z "$as_dir" && as_dir=.
49504 for ac_exec_ext in '' $ac_executable_extensions; do
49505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49506 ac_cv_prog_REZ="Rez"
49507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49514 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49517 REZ=$ac_cv_prog_REZ
49518 if test -n "$REZ"; then
49519 { echo "$as_me:$LINENO: result: $REZ" >&5
49520 echo "${ECHO_T}$REZ" >&6; }
49522 { echo "$as_me:$LINENO: result: no" >&5
49523 echo "${ECHO_T}no" >&6; }
49527 # Extract the first word of "SetFile", so it can be a program name with args.
49528 set dummy SetFile; ac_word=$2
49529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49531 if test "${ac_cv_prog_SETFILE+set}" = set; then
49532 echo $ECHO_N "(cached) $ECHO_C" >&6
49534 if test -n "$SETFILE"; then
49535 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49538 for as_dir in $PATH
49541 test -z "$as_dir" && as_dir=.
49542 for ac_exec_ext in '' $ac_executable_extensions; do
49543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49544 ac_cv_prog_SETFILE="SetFile"
49545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49552 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49555 SETFILE=$ac_cv_prog_SETFILE
49556 if test -n "$SETFILE"; then
49557 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49558 echo "${ECHO_T}$SETFILE" >&6; }
49560 { echo "$as_me:$LINENO: result: no" >&5
49561 echo "${ECHO_T}no" >&6; }
49576 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49579 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49583 # Check whether --enable-precomp-headers was given.
49584 if test "${enable_precomp_headers+set}" = set; then
49585 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49594 case ${BAKEFILE_HOST} in
49600 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49601 if test "x$GCC" = "xyes"; then
49602 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49603 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49604 cat >conftest.$ac_ext <<_ACEOF
49607 cat confdefs.h >>conftest.$ac_ext
49608 cat >>conftest.$ac_ext <<_ACEOF
49609 /* end confdefs.h. */
49615 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49616 There is no PCH support
49619 There is no PCH support
49621 #if (__GNUC__ == 3) && \
49622 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49623 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49624 ( defined(__INTEL_COMPILER) )
49625 There is no PCH support
49632 rm -f conftest.$ac_objext
49633 if { (ac_try="$ac_compile"
49634 case "(($ac_try" in
49635 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49636 *) ac_try_echo
=$ac_try;;
49638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49639 (eval "$ac_compile") 2>conftest.er1
49641 grep -v '^ *+' conftest.er1
>conftest.err
49643 cat conftest.err
>&5
49644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49645 (exit $ac_status); } && {
49646 test -z "$ac_c_werror_flag" ||
49647 test ! -s conftest.err
49648 } && test -s conftest.
$ac_objext; then
49650 { echo "$as_me:$LINENO: result: yes" >&5
49651 echo "${ECHO_T}yes" >&6; }
49655 echo "$as_me: failed program was:" >&5
49656 sed 's/^/| /' conftest.
$ac_ext >&5
49659 if test "$INTELCXX8" = "yes"; then
49660 { echo "$as_me:$LINENO: result: yes" >&5
49661 echo "${ECHO_T}yes" >&6; }
49663 if test "$INTELCXX10" = "yes"; then
49664 ICC_PCH_CREATE_SWITCH
="-pch-create"
49665 ICC_PCH_USE_SWITCH
="-pch-use"
49667 ICC_PCH_CREATE_SWITCH
="-create-pch"
49668 ICC_PCH_USE_SWITCH
="-use-pch"
49671 { echo "$as_me:$LINENO: result: no" >&5
49672 echo "${ECHO_T}no" >&6; }
49677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49678 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49682 cat <<EOF >bk-make-pch
49685 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49686 # script. It is used to generated precompiled headers.
49688 # Permission is given to use this file in any way.
49695 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49700 while test ${D}{#} -gt 0; do
49704 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49705 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49706 headerfile="${D}{incdir}/${D}{header}"
49709 -use-pch|-use_pch|-pch-use )
49714 if test ${D}add_to_cmdline = 1 ; then
49715 compiler="${D}{compiler} ${D}{1}"
49720 if test "x${D}{headerfile}" = "x" ; then
49721 echo "error: can't find header ${D}{header} in include paths" >&2
49723 if test -f ${D}{outfile} ; then
49724 rm -f ${D}{outfile}
49726 mkdir -p \`dirname ${D}{outfile}\`
49728 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49729 mkdir -p ${D}{builddir}/.deps
49730 if test "x${GCC_PCH}" = "x1" ; then
49731 # can do this because gcc is >= 3.4:
49732 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49733 elif test "x${ICC_PCH}" = "x1" ; then
49734 filename=pch_gen-${D}${D}
49735 file=${D}{filename}.c
49736 dfile=${D}{filename}.d
49737 cat > ${D}file <<EOT
49738 #include "${D}header"
49740 # using -MF icc complains about differing command lines in creation/use
49741 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49742 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49743 rm -f ${D}file ${D}dfile ${D}{filename}.o
49749 chmod +x bk
-make-pch
49750 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49761 COND_BUILD_DEBUG
="#"
49762 if test "x$BUILD" = "xdebug" ; then
49763 COND_BUILD_DEBUG
=""
49766 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49767 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49768 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49771 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49772 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49773 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49776 COND_BUILD_DEBUG_UNICODE_0
="#"
49777 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49778 COND_BUILD_DEBUG_UNICODE_0
=""
49781 COND_BUILD_DEBUG_UNICODE_1
="#"
49782 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49783 COND_BUILD_DEBUG_UNICODE_1
=""
49786 COND_BUILD_RELEASE
="#"
49787 if test "x$BUILD" = "xrelease" ; then
49788 COND_BUILD_RELEASE
=""
49791 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49792 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49793 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49796 COND_BUILD_RELEASE_UNICODE_0
="#"
49797 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49798 COND_BUILD_RELEASE_UNICODE_0
=""
49801 COND_BUILD_RELEASE_UNICODE_1
="#"
49802 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49803 COND_BUILD_RELEASE_UNICODE_1
=""
49806 COND_BUILD_debug
="#"
49807 if test "x$BUILD" = "xdebug" ; then
49808 COND_BUILD_debug
=""
49811 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49812 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49813 COND_BUILD_debug_DEBUG_FLAG_default
=""
49816 COND_BUILD_debug_DEBUG_INFO_default
="#"
49817 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49818 COND_BUILD_debug_DEBUG_INFO_default
=""
49821 COND_BUILD_debug_UNICODE_0
="#"
49822 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49823 COND_BUILD_debug_UNICODE_0
=""
49826 COND_BUILD_debug_UNICODE_1
="#"
49827 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49828 COND_BUILD_debug_UNICODE_1
=""
49831 COND_BUILD_release
="#"
49832 if test "x$BUILD" = "xrelease" ; then
49833 COND_BUILD_release
=""
49836 COND_BUILD_release_DEBUG_INFO_default
="#"
49837 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49838 COND_BUILD_release_DEBUG_INFO_default
=""
49841 COND_BUILD_release_UNICODE_0
="#"
49842 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49843 COND_BUILD_release_UNICODE_0
=""
49846 COND_BUILD_release_UNICODE_1
="#"
49847 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49848 COND_BUILD_release_UNICODE_1
=""
49851 COND_DEBUG_FLAG_1
="#"
49852 if test "x$DEBUG_FLAG" = "x1" ; then
49853 COND_DEBUG_FLAG_1
=""
49856 COND_DEBUG_INFO_0
="#"
49857 if test "x$DEBUG_INFO" = "x0" ; then
49858 COND_DEBUG_INFO_0
=""
49861 COND_DEBUG_INFO_1
="#"
49862 if test "x$DEBUG_INFO" = "x1" ; then
49863 COND_DEBUG_INFO_1
=""
49866 COND_DEPS_TRACKING_0
="#"
49867 if test "x$DEPS_TRACKING" = "x0" ; then
49868 COND_DEPS_TRACKING_0
=""
49871 COND_DEPS_TRACKING_1
="#"
49872 if test "x$DEPS_TRACKING" = "x1" ; then
49873 COND_DEPS_TRACKING_1
=""
49877 if test "x$GCC_PCH" = "x1" ; then
49882 if test "x$ICC_PCH" = "x1" ; then
49886 COND_MONOLITHIC_0
="#"
49887 if test "x$MONOLITHIC" = "x0" ; then
49888 COND_MONOLITHIC_0
=""
49891 COND_MONOLITHIC_0_SHARED_0
="#"
49892 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49893 COND_MONOLITHIC_0_SHARED_0
=""
49896 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49897 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49898 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49901 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49902 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49903 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49906 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49907 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49908 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49911 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49912 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49913 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49916 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49917 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49918 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49921 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49922 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49923 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49926 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49927 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49928 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49931 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49932 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49933 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49936 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49937 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49938 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49941 COND_MONOLITHIC_0_SHARED_1
="#"
49942 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49943 COND_MONOLITHIC_0_SHARED_1
=""
49946 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49947 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49948 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49951 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49952 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49953 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49956 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49957 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49958 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49961 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49962 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49963 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49966 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49967 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49968 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49971 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49972 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49973 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49976 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49977 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49978 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49981 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49982 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49983 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49986 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49987 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49988 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49991 COND_MONOLITHIC_0_USE_AUI_1
="#"
49992 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49993 COND_MONOLITHIC_0_USE_AUI_1
=""
49996 COND_MONOLITHIC_0_USE_GUI_1
="#"
49997 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49998 COND_MONOLITHIC_0_USE_GUI_1
=""
50001 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
50002 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50003 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
50006 COND_MONOLITHIC_0_USE_HTML_1
="#"
50007 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50008 COND_MONOLITHIC_0_USE_HTML_1
=""
50011 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
50012 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50013 COND_MONOLITHIC_0_USE_MEDIA_1
=""
50016 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
50017 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50018 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
50021 COND_MONOLITHIC_0_USE_QA_1
="#"
50022 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50023 COND_MONOLITHIC_0_USE_QA_1
=""
50026 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
50027 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50028 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
50031 COND_MONOLITHIC_0_USE_STC_1
="#"
50032 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50033 COND_MONOLITHIC_0_USE_STC_1
=""
50036 COND_MONOLITHIC_0_USE_XRC_1
="#"
50037 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50038 COND_MONOLITHIC_0_USE_XRC_1
=""
50041 COND_MONOLITHIC_1
="#"
50042 if test "x$MONOLITHIC" = "x1" ; then
50043 COND_MONOLITHIC_1
=""
50046 COND_MONOLITHIC_1_SHARED_0
="#"
50047 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50048 COND_MONOLITHIC_1_SHARED_0
=""
50051 COND_MONOLITHIC_1_SHARED_1
="#"
50052 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50053 COND_MONOLITHIC_1_SHARED_1
=""
50056 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50057 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50058 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50061 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50062 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50063 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50066 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50067 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50068 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50071 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50072 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50073 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50076 COND_PLATFORM_MACOSX_1
="#"
50077 if test "x$PLATFORM_MACOSX" = "x1" ; then
50078 COND_PLATFORM_MACOSX_1
=""
50081 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
50082 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50083 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
50086 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50087 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50088 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50091 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50092 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50093 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50096 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50097 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50098 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50101 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50102 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50103 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50106 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50107 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50108 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50111 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
50112 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50113 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
50116 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50117 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50118 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50121 COND_PLATFORM_MACOS_1
="#"
50122 if test "x$PLATFORM_MACOS" = "x1" ; then
50123 COND_PLATFORM_MACOS_1
=""
50126 COND_PLATFORM_MAC_0
="#"
50127 if test "x$PLATFORM_MAC" = "x0" ; then
50128 COND_PLATFORM_MAC_0
=""
50131 COND_PLATFORM_MAC_1
="#"
50132 if test "x$PLATFORM_MAC" = "x1" ; then
50133 COND_PLATFORM_MAC_1
=""
50136 COND_PLATFORM_MSDOS_0
="#"
50137 if test "x$PLATFORM_MSDOS" = "x0" ; then
50138 COND_PLATFORM_MSDOS_0
=""
50141 COND_PLATFORM_MSDOS_1
="#"
50142 if test "x$PLATFORM_MSDOS" = "x1" ; then
50143 COND_PLATFORM_MSDOS_1
=""
50146 COND_PLATFORM_OS2_1
="#"
50147 if test "x$PLATFORM_OS2" = "x1" ; then
50148 COND_PLATFORM_OS2_1
=""
50151 COND_PLATFORM_UNIX_0
="#"
50152 if test "x$PLATFORM_UNIX" = "x0" ; then
50153 COND_PLATFORM_UNIX_0
=""
50156 COND_PLATFORM_UNIX_1
="#"
50157 if test "x$PLATFORM_UNIX" = "x1" ; then
50158 COND_PLATFORM_UNIX_1
=""
50161 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50162 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50163 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50166 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50167 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50168 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50171 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50172 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50173 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50176 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50177 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50178 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50181 COND_PLATFORM_WIN32_0
="#"
50182 if test "x$PLATFORM_WIN32" = "x0" ; then
50183 COND_PLATFORM_WIN32_0
=""
50186 COND_PLATFORM_WIN32_1
="#"
50187 if test "x$PLATFORM_WIN32" = "x1" ; then
50188 COND_PLATFORM_WIN32_1
=""
50192 if test "x$SHARED" = "x0" ; then
50196 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50197 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50198 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50201 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50202 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50203 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50206 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50207 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50208 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50211 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50212 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50213 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50216 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50217 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50218 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50221 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50222 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50223 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50226 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50227 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50228 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50231 COND_SHARED_0_USE_STC_1
="#"
50232 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50233 COND_SHARED_0_USE_STC_1
=""
50236 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50237 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50238 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50241 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50242 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50243 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50246 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50247 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50248 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50252 if test "x$SHARED" = "x1" ; then
50256 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50257 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50258 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50262 if test "x$TOOLKIT" = "x" ; then
50266 COND_TOOLKIT_COCOA
="#"
50267 if test "x$TOOLKIT" = "xCOCOA" ; then
50268 COND_TOOLKIT_COCOA
=""
50271 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50272 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50273 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50276 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50277 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50278 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50281 COND_TOOLKIT_DFB
="#"
50282 if test "x$TOOLKIT" = "xDFB" ; then
50283 COND_TOOLKIT_DFB
=""
50286 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50287 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50288 COND_TOOLKIT_DFB_USE_GUI_1
=""
50291 COND_TOOLKIT_GTK
="#"
50292 if test "x$TOOLKIT" = "xGTK" ; then
50293 COND_TOOLKIT_GTK
=""
50296 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50297 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50298 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50301 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50302 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50303 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50306 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50307 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50308 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50311 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50312 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50313 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50316 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50317 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50318 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50321 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50322 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50323 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50326 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50327 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50328 COND_TOOLKIT_GTK_USE_GUI_1
=""
50331 COND_TOOLKIT_MAC
="#"
50332 if test "x$TOOLKIT" = "xMAC" ; then
50333 COND_TOOLKIT_MAC
=""
50336 COND_TOOLKIT_MGL
="#"
50337 if test "x$TOOLKIT" = "xMGL" ; then
50338 COND_TOOLKIT_MGL
=""
50341 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50342 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50343 COND_TOOLKIT_MGL_USE_GUI_1
=""
50346 COND_TOOLKIT_MOTIF
="#"
50347 if test "x$TOOLKIT" = "xMOTIF" ; then
50348 COND_TOOLKIT_MOTIF
=""
50351 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50352 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50353 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50356 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50357 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50358 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50361 COND_TOOLKIT_MSW
="#"
50362 if test "x$TOOLKIT" = "xMSW" ; then
50363 COND_TOOLKIT_MSW
=""
50366 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50367 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50368 COND_TOOLKIT_MSW_USE_GUI_1
=""
50371 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50372 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50373 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50376 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50377 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50378 COND_TOOLKIT_MSW_WXUNIV_0
=""
50381 COND_TOOLKIT_OSX_CARBON
="#"
50382 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50383 COND_TOOLKIT_OSX_CARBON
=""
50386 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50387 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50388 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50391 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50392 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50393 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50396 COND_TOOLKIT_OSX_COCOA
="#"
50397 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50398 COND_TOOLKIT_OSX_COCOA
=""
50401 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50402 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50403 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50406 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50407 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50408 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50411 COND_TOOLKIT_OSX_IPHONE
="#"
50412 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50413 COND_TOOLKIT_OSX_IPHONE
=""
50416 COND_TOOLKIT_PM
="#"
50417 if test "x$TOOLKIT" = "xPM" ; then
50421 COND_TOOLKIT_PM_USE_GUI_1
="#"
50422 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50423 COND_TOOLKIT_PM_USE_GUI_1
=""
50426 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50427 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50428 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50431 COND_TOOLKIT_WINCE
="#"
50432 if test "x$TOOLKIT" = "xWINCE" ; then
50433 COND_TOOLKIT_WINCE
=""
50436 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50437 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50438 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50441 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50442 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50443 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50446 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50447 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50448 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50451 COND_TOOLKIT_X11
="#"
50452 if test "x$TOOLKIT" = "xX11" ; then
50453 COND_TOOLKIT_X11
=""
50456 COND_TOOLKIT_X11_USE_GUI_1
="#"
50457 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50458 COND_TOOLKIT_X11_USE_GUI_1
=""
50462 if test "x$UNICODE" = "x1" ; then
50466 COND_USE_EXCEPTIONS_0
="#"
50467 if test "x$USE_EXCEPTIONS" = "x0" ; then
50468 COND_USE_EXCEPTIONS_0
=""
50471 COND_USE_EXCEPTIONS_1
="#"
50472 if test "x$USE_EXCEPTIONS" = "x1" ; then
50473 COND_USE_EXCEPTIONS_1
=""
50477 if test "x$USE_GUI" = "x0" ; then
50482 if test "x$USE_GUI" = "x1" ; then
50486 COND_USE_GUI_1_USE_OPENGL_1
="#"
50487 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50488 COND_USE_GUI_1_USE_OPENGL_1
=""
50491 COND_USE_GUI_1_WXUNIV_0
="#"
50492 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50493 COND_USE_GUI_1_WXUNIV_0
=""
50496 COND_USE_GUI_1_WXUNIV_1
="#"
50497 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50498 COND_USE_GUI_1_WXUNIV_1
=""
50501 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50502 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50503 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50506 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50507 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50508 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50511 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50512 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50513 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50516 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50517 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50518 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50521 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50522 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50523 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50526 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50527 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50528 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50531 COND_USE_OPENGL_1
="#"
50532 if test "x$USE_OPENGL" = "x1" ; then
50533 COND_USE_OPENGL_1
=""
50537 if test "x$USE_PCH" = "x1" ; then
50541 COND_USE_PLUGINS_0
="#"
50542 if test "x$USE_PLUGINS" = "x0" ; then
50543 COND_USE_PLUGINS_0
=""
50546 COND_USE_RTTI_0
="#"
50547 if test "x$USE_RTTI" = "x0" ; then
50551 COND_USE_RTTI_1
="#"
50552 if test "x$USE_RTTI" = "x1" ; then
50556 COND_USE_SOSYMLINKS_1
="#"
50557 if test "x$USE_SOSYMLINKS" = "x1" ; then
50558 COND_USE_SOSYMLINKS_1
=""
50561 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50562 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50563 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50566 COND_USE_SOVERLINUX_1
="#"
50567 if test "x$USE_SOVERLINUX" = "x1" ; then
50568 COND_USE_SOVERLINUX_1
=""
50571 COND_USE_SOVERSION_0
="#"
50572 if test "x$USE_SOVERSION" = "x0" ; then
50573 COND_USE_SOVERSION_0
=""
50576 COND_USE_SOVERSOLARIS_1
="#"
50577 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50578 COND_USE_SOVERSOLARIS_1
=""
50582 if test "x$USE_STC" = "x1" ; then
50586 COND_USE_THREADS_0
="#"
50587 if test "x$USE_THREADS" = "x0" ; then
50588 COND_USE_THREADS_0
=""
50591 COND_USE_THREADS_1
="#"
50592 if test "x$USE_THREADS" = "x1" ; then
50593 COND_USE_THREADS_1
=""
50597 if test "x$USE_XRC" = "x1" ; then
50601 COND_WINDOWS_IMPLIB_1
="#"
50602 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50603 COND_WINDOWS_IMPLIB_1
=""
50606 COND_WITH_PLUGIN_SDL_1
="#"
50607 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50608 COND_WITH_PLUGIN_SDL_1
=""
50612 if test "x$WXUNIV" = "x0" ; then
50617 if test "x$WXUNIV" = "x1" ; then
50621 COND_WXUSE_EXPAT_BUILTIN
="#"
50622 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50623 COND_WXUSE_EXPAT_BUILTIN
=""
50626 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50627 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50628 COND_WXUSE_LIBJPEG_BUILTIN
=""
50631 COND_WXUSE_LIBPNG_BUILTIN
="#"
50632 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50633 COND_WXUSE_LIBPNG_BUILTIN
=""
50636 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50637 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50638 COND_WXUSE_LIBTIFF_BUILTIN
=""
50641 COND_WXUSE_REGEX_BUILTIN
="#"
50642 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50643 COND_WXUSE_REGEX_BUILTIN
=""
50646 COND_WXUSE_ZLIB_BUILTIN
="#"
50647 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50648 COND_WXUSE_ZLIB_BUILTIN
=""
50651 COND_wxUSE_EXPAT_builtin
="#"
50652 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50653 COND_wxUSE_EXPAT_builtin
=""
50656 COND_wxUSE_LIBJPEG_builtin
="#"
50657 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50658 COND_wxUSE_LIBJPEG_builtin
=""
50661 COND_wxUSE_LIBPNG_builtin
="#"
50662 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50663 COND_wxUSE_LIBPNG_builtin
=""
50666 COND_wxUSE_LIBTIFF_builtin
="#"
50667 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50668 COND_wxUSE_LIBTIFF_builtin
=""
50671 COND_wxUSE_REGEX_builtin
="#"
50672 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50673 COND_wxUSE_REGEX_builtin
=""
50676 COND_wxUSE_ZLIB_builtin
="#"
50677 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50678 COND_wxUSE_ZLIB_builtin
=""
50683 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50684 { { 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
50685 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;}
50686 { (exit 1); exit 1; }; }
50689 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50690 { { 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
50691 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;}
50692 { (exit 1); exit 1; }; }
50699 ?
:* ) # Drive letter, considered as absolute.
50702 INSTALL
=`pwd`/${INSTALL} ;;
50705 if test "$wxUSE_GUI" = "yes"; then
50707 if test "$wxUSE_MSW" = 1 ; then
50708 if test "x$WINDRES" = "x"; then
50709 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50710 echo "$as_me: error: Required windres program not found" >&2;}
50711 { (exit 1); exit 1; }; }
50717 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50718 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50719 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50721 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50723 # Extract the first word of "DeRez", so it can be a program name with args.
50724 set dummy DeRez
; ac_word
=$2
50725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50727 if test "${ac_cv_prog_DEREZ+set}" = set; then
50728 echo $ECHO_N "(cached) $ECHO_C" >&6
50730 if test -n "$DEREZ"; then
50731 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50734 for as_dir
in $PATH
50737 test -z "$as_dir" && as_dir
=.
50738 for ac_exec_ext
in '' $ac_executable_extensions; do
50739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50740 ac_cv_prog_DEREZ
="DeRez"
50741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50748 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50751 DEREZ
=$ac_cv_prog_DEREZ
50752 if test -n "$DEREZ"; then
50753 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50754 echo "${ECHO_T}$DEREZ" >&6; }
50756 { echo "$as_me:$LINENO: result: no" >&5
50757 echo "${ECHO_T}no" >&6; }
50762 MACSETFILE
="\$(SETFILE)"
50764 if test "$wxUSE_OSX_CARBON" = 1; then
50765 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50767 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50769 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50770 RESCOMP
="cat /dev/null \| $REZ"
50771 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50777 if test "$wxUSE_PM" = 1; then
50779 WXCONFIG_RESFLAGS
="-ep"
50781 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50783 POSTLINK_COMMAND
="@true"
50790 if test $GCC_PCH = 1
50792 if test "$wx_cv_gcc_pch_bug" = yes; then
50793 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50794 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50795 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50796 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50797 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50798 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50801 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50802 # the headers that benefit from precompilation are mostly C++ headers.
50803 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50804 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50805 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50809 if test "$wxUSE_MAC" = 1 ; then
50810 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50811 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50817 if test "$wxUSE_SHARED" = "yes"; then
50819 *-pc-os2_emx | *-pc-os2-emx )
50820 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50821 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50822 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50823 cp -p ${srcdir}/src
/os
2/dllar.sh .
50827 if test "$wxUSE_OMF" = "yes"; then
50829 *-pc-os2_emx | *-pc-os2-emx )
50830 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50831 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50832 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50837 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50842 if test "$GCC" = yes; then
50843 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50844 LIBS
=`echo $LIBS | sed 's/-mt//'`
50845 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50850 if test "x$SUNCXX" = xyes
; then
50851 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50852 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50853 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50858 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50859 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50860 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50861 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50863 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50924 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50925 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50926 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50927 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50928 echo $ECHO_N "(cached) $ECHO_C" >&6
50930 cat >conftest.
make <<\_ACEOF
50933 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50935 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50936 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50937 *@@@
%%%=?
*=@@@
%%%*)
50938 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50940 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50942 rm -f conftest.
make
50944 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50945 { echo "$as_me:$LINENO: result: yes" >&5
50946 echo "${ECHO_T}yes" >&6; }
50949 { echo "$as_me:$LINENO: result: no" >&5
50950 echo "${ECHO_T}no" >&6; }
50951 SET_MAKE
="MAKE=${MAKE-make}"
50956 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50959 if test "$USE_WIN32" = 1; then
50960 ac_config_commands
="$ac_config_commands
50966 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50969 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50972 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50975 if test "$wx_cv_version_script" = "yes"; then
50976 ac_config_files
="$ac_config_files version-script"
50979 ac_config_files
="$ac_config_files Makefile"
50982 ac_config_commands
="$ac_config_commands wx-config"
50986 if test "$wxWITH_SUBDIRS" != "no"; then
50987 if test "$wxUSE_GUI" = "yes"; then
50988 SUBDIRS
="samples demos utils"
50990 SUBDIRS
="samples utils"
50995 # Check whether --with-cppunit-prefix was given.
50996 if test "${with_cppunit_prefix+set}" = set; then
50997 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50999 cppunit_config_prefix
=""
51003 # Check whether --with-cppunit-exec-prefix was given.
51004 if test "${with_cppunit_exec_prefix+set}" = set; then
51005 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
51007 cppunit_config_exec_prefix
=""
51011 if test x
$cppunit_config_exec_prefix != x
; then
51012 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51013 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51014 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
51017 if test x
$cppunit_config_prefix != x
; then
51018 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
51019 if test x
${CPPUNIT_CONFIG+set} != xset
; then
51020 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
51024 # Extract the first word of "cppunit-config", so it can be a program name with args.
51025 set dummy cppunit
-config; ac_word
=$2
51026 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51028 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51029 echo $ECHO_N "(cached) $ECHO_C" >&6
51031 case $CPPUNIT_CONFIG in
51033 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51037 for as_dir
in $PATH
51040 test -z "$as_dir" && as_dir
=.
51041 for ac_exec_ext
in '' $ac_executable_extensions; do
51042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51043 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
51044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51051 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
51055 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
51056 if test -n "$CPPUNIT_CONFIG"; then
51057 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51058 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51060 { echo "$as_me:$LINENO: result: no" >&5
51061 echo "${ECHO_T}no" >&6; }
51065 cppunit_version_min
=1.8.0
51067 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51068 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51070 if test "$CPPUNIT_CONFIG" = "no" ; then
51071 { echo "$as_me:$LINENO: result: no" >&5
51072 echo "${ECHO_T}no" >&6; }
51075 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
51076 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
51077 cppunit_version
=`$CPPUNIT_CONFIG --version`
51079 cppunit_major_version
=`echo $cppunit_version | \
51080 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51081 cppunit_minor_version
=`echo $cppunit_version | \
51082 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51083 cppunit_micro_version
=`echo $cppunit_version | \
51084 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51086 cppunit_major_min
=`echo $cppunit_version_min | \
51087 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51088 cppunit_minor_min
=`echo $cppunit_version_min | \
51089 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51090 cppunit_micro_min
=`echo $cppunit_version_min | \
51091 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51093 cppunit_version_proper
=`expr \
51094 $cppunit_major_version \> $cppunit_major_min \| \
51095 $cppunit_major_version \= $cppunit_major_min \& \
51096 $cppunit_minor_version \> $cppunit_minor_min \| \
51097 $cppunit_major_version \= $cppunit_major_min \& \
51098 $cppunit_minor_version \= $cppunit_minor_min \& \
51099 $cppunit_micro_version \>= $cppunit_micro_min `
51101 if test "$cppunit_version_proper" = "1" ; then
51102 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51103 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51105 { echo "$as_me:$LINENO: result: no" >&5
51106 echo "${ECHO_T}no" >&6; }
51111 if test "x$no_cppunit" = x
; then
51112 SUBDIRS
="$SUBDIRS tests"
51123 for subdir
in $SUBDIRS; do
51124 if test -d ${srcdir}/${subdir} ; then
51125 if test "$wxUSE_GUI" = "yes"; then
51126 if test ${subdir} = "samples"; then
51127 makefiles
="samples/Makefile.in $makefiles"
51128 for sample
in $SAMPLES_SUBDIRS; do
51129 if test -d $srcdir/samples
/$sample; then
51130 makefiles
="samples/$sample/Makefile.in $makefiles"
51134 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
51135 eval "disabled=\$$disabled_var"
51136 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51137 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51140 if test ${subdir} = "samples"; then
51141 makefiles
="samples/Makefile.in $makefiles"
51142 for sample
in `echo $SAMPLES_SUBDIRS`; do
51143 if test -d $srcdir/samples
/$sample; then
51144 makefiles
="samples/$sample/Makefile.in $makefiles"
51147 elif test ${subdir} = "utils"; then
51149 for util
in ifacecheck
; do
51150 if test -d $srcdir/utils
/$util ; then
51151 makefiles
="utils/$util/src/Makefile.in \
51156 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51160 for mkin
in $makefiles ; do
51161 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51162 ac_config_files
="$ac_config_files $mk"
51168 cat >confcache
<<\_ACEOF
51169 # This file is a shell script that caches the results of configure
51170 # tests run on this system so they can be shared between configure
51171 # scripts and configure runs, see configure's option --config-cache.
51172 # It is not useful on other systems. If it contains results you don't
51173 # want to keep, you may remove or edit it.
51175 # config.status only pays attention to the cache file if you give it
51176 # the --recheck option to rerun configure.
51178 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51179 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51180 # following values.
51184 # The following way of writing the cache mishandles newlines in values,
51185 # but we know of no workaround that is simple, portable, and efficient.
51186 # So, we kill variables containing newlines.
51187 # Ultrix sh set writes to stderr and can't be redirected directly,
51188 # and sets the high bit in the cache file unless we assign to the vars.
51190 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51191 eval ac_val
=\$
$ac_var
51195 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51196 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51199 _
| IFS
| as_nl
) ;; #(
51200 *) $as_unset $ac_var ;;
51206 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51207 *${as_nl}ac_space
=\
*)
51208 # `set' does not quote correctly, so add quotes (double-quote
51209 # substitution turns \\\\ into \\, and sed turns \\ into \).
51212 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51215 # `set' quotes correctly as required by POSIX, so do not add quotes.
51216 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51225 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51227 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51229 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51230 if test -w "$cache_file"; then
51231 test "x$cache_file" != "x/dev/null" &&
51232 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51233 echo "$as_me: updating cache $cache_file" >&6;}
51234 cat confcache
>$cache_file
51236 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51237 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51242 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51243 # Let make expand exec_prefix.
51244 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51246 DEFS
=-DHAVE_CONFIG_H
51250 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51251 # 1. Remove the extension, and $U if already installed.
51252 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51253 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51254 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51255 # will be set to the directory where LIBOBJS objects are built.
51256 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51257 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51259 LIBOBJS
=$ac_libobjs
51261 LTLIBOBJS
=$ac_ltlibobjs
51265 : ${CONFIG_STATUS=./config.status}
51266 ac_clean_files_save
=$ac_clean_files
51267 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51268 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51269 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51270 cat >$CONFIG_STATUS <<_ACEOF
51272 # Generated by $as_me.
51273 # Run this file to recreate the current configuration.
51274 # Compiler output produced by configure, useful for debugging
51275 # configure, is in config.log if it exists.
51278 ac_cs_recheck=false
51280 SHELL=\${CONFIG_SHELL-$SHELL}
51283 cat >>$CONFIG_STATUS <<\_ACEOF
51284 ## --------------------- ##
51285 ## M4sh Initialization. ##
51286 ## --------------------- ##
51288 # Be more Bourne compatible
51289 DUALCASE
=1; export DUALCASE
# for MKS sh
51290 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51293 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51294 # is contrary to our usage. Disable this feature.
51295 alias -g '${1+"$@"}'='"$@"'
51296 setopt NO_GLOB_SUBST
51298 case `(set -o) 2>/dev/null` in
51299 *posix
*) set -o posix
;;
51308 # Avoid depending upon Character Ranges.
51309 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51310 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51311 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51312 as_cr_digits
='0123456789'
51313 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51315 # The user is always right.
51316 if test "${PATH_SEPARATOR+set}" != set; then
51317 echo "#! /bin/sh" >conf$$.sh
51318 echo "exit 0" >>conf$$.sh
51320 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51328 # Support unset when possible.
51329 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51337 # We need space, tab and new line, in precisely that order. Quoting is
51338 # there to prevent editors from complaining about space-tab.
51339 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51340 # splitting by setting IFS to empty value.)
51345 # Find who we are. Look in the path if we contain no directory separator.
51347 *[\\/]* ) as_myself
=$0 ;;
51348 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51349 for as_dir
in $PATH
51352 test -z "$as_dir" && as_dir
=.
51353 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51359 # We did not find ourselves, most probably we were run as `sh COMMAND'
51360 # in which case we are not to be found in the path.
51361 if test "x$as_myself" = x
; then
51364 if test ! -f "$as_myself"; then
51365 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51366 { (exit 1); exit 1; }
51369 # Work around bugs in pre-3.0 UWIN ksh.
51370 for as_var
in ENV MAIL MAILPATH
51371 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51379 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51380 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51381 LC_TELEPHONE LC_TIME
51383 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51384 eval $as_var=C
; export $as_var
51386 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51390 # Required to use basename.
51391 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51392 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51398 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51399 as_basename
=basename
51405 # Name of the executable.
51406 as_me
=`$as_basename -- "$0" ||
51407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51408 X"$0" : 'X\(//\)$' \| \
51409 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51411 sed '/^.*\/\([^/][^/]*\)\/*$/{
51430 as_lineno_1
=$LINENO
51431 as_lineno_2
=$LINENO
51432 test "x$as_lineno_1" != "x$as_lineno_2" &&
51433 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51435 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51436 # uniformly replaced by the line number. The first 'sed' inserts a
51437 # line-number line after each line using $LINENO; the second 'sed'
51438 # does the real work. The second script uses 'N' to pair each
51439 # line-number line with the line containing $LINENO, and appends
51440 # trailing '-' during substitution so that $LINENO is not a special
51441 # case at line end.
51442 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51443 # scripts with optimization help from Paolo Bonzini. Blame Lee
51444 # E. McMahon (1931-1989) for sed's syntax. :-)
51456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51459 ' >$as_me.lineno
&&
51460 chmod +x
"$as_me.lineno" ||
51461 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51462 { (exit 1); exit 1; }; }
51464 # Don't try to exec as it changes $[0], causing all sort of problems
51465 # (the dirname of $[0] is not the place where we might find the
51466 # original and so on. Autoconf is especially sensitive to this).
51467 .
"./$as_me.lineno"
51468 # Exit status is that of the last command.
51473 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51479 ECHO_C
= ECHO_N
= ECHO_T
=
51480 case `echo -n x` in
51482 case `echo 'x\c'` in
51483 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51490 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51491 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51497 rm -f conf$$ conf$$.exe conf$$.
file
51498 if test -d conf$$.dir
; then
51499 rm -f conf$$.dir
/conf$$.
file
51505 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51507 # ... but there are two gotchas:
51508 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51509 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51510 # In both cases, we have to default to `cp -p'.
51511 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51513 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51518 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51519 rmdir conf$$.dir
2>/dev
/null
51521 if mkdir -p .
2>/dev
/null
; then
51524 test -d .
/-p && rmdir .
/-p
51528 if test -x / >/dev
/null
2>&1; then
51529 as_test_x
='test -x'
51531 if ls -dL / >/dev
/null
2>&1; then
51538 if test -d "$1"; then
51544 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51545 ???[sx]*):;;*)false;;esac;fi
51549 as_executable_p
=$as_test_x
51551 # Sed expression to map a string onto a valid CPP name.
51552 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51554 # Sed expression to map a string onto a valid variable name.
51555 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51560 # Save the log message, to keep $[0] and so on meaningful, and to
51561 # report actual input values of CONFIG_FILES etc. instead of their
51562 # values after options handling.
51564 This file was extended by wxWidgets $as_me 2.9.0, which was
51565 generated by GNU Autoconf 2.61. Invocation command line was
51567 CONFIG_FILES = $CONFIG_FILES
51568 CONFIG_HEADERS = $CONFIG_HEADERS
51569 CONFIG_LINKS = $CONFIG_LINKS
51570 CONFIG_COMMANDS = $CONFIG_COMMANDS
51573 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51578 cat >>$CONFIG_STATUS <<_ACEOF
51579 # Files that config.status was made for.
51580 config_files="$ac_config_files"
51581 config_headers="$ac_config_headers"
51582 config_commands="$ac_config_commands"
51586 cat >>$CONFIG_STATUS <<\_ACEOF
51588 \`$as_me' instantiates files from templates according to the
51589 current configuration.
51591 Usage: $0 [OPTIONS] [FILE]...
51593 -h, --help print this help, then exit
51594 -V, --version print version number and configuration settings, then exit
51595 -q, --quiet do not print progress messages
51596 -d, --debug don't remove temporary files
51597 --recheck update $as_me by reconfiguring in the same conditions
51598 --file=FILE[:TEMPLATE]
51599 instantiate the configuration file FILE
51600 --header=FILE[:TEMPLATE]
51601 instantiate the configuration header FILE
51603 Configuration files:
51606 Configuration headers:
51609 Configuration commands:
51612 Report bugs to <bug-autoconf@gnu.org>."
51615 cat >>$CONFIG_STATUS <<_ACEOF
51617 wxWidgets config.status 2.9.0
51618 configured by $0, generated by GNU Autoconf 2.61,
51619 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51621 Copyright (C) 2006 Free Software Foundation, Inc.
51622 This config.status script is free software; the Free Software Foundation
51623 gives unlimited permission to copy, distribute and modify it."
51630 cat >>$CONFIG_STATUS <<\_ACEOF
51631 # If no file are specified by the user, then we need to provide default
51632 # value. By we need to know if files were specified by the user.
51638 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51639 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51650 # Handling of the options.
51651 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51653 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51654 echo "$ac_cs_version"; exit ;;
51655 --debug | --debu | --deb | --de | --d | -d )
51657 --file | --fil | --fi | --f )
51659 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51660 ac_need_defaults
=false
;;
51661 --header | --heade | --head | --hea )
51663 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51664 ac_need_defaults
=false
;;
51666 # Conflict between --help and --header
51667 { echo "$as_me: error: ambiguous option: $1
51668 Try \`$0 --help' for more information." >&2
51669 { (exit 1); exit 1; }; };;
51670 --help | --hel | -h )
51671 echo "$ac_cs_usage"; exit ;;
51672 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51673 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51676 # This is an error.
51677 -*) { echo "$as_me: error: unrecognized option: $1
51678 Try \`$0 --help' for more information." >&2
51679 { (exit 1); exit 1; }; } ;;
51681 *) ac_config_targets
="$ac_config_targets $1"
51682 ac_need_defaults
=false
;;
51688 ac_configure_extra_args
=
51690 if $ac_cs_silent; then
51692 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51696 cat >>$CONFIG_STATUS <<_ACEOF
51697 if \$ac_cs_recheck; then
51698 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51699 CONFIG_SHELL=$SHELL
51700 export CONFIG_SHELL
51701 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51705 cat >>$CONFIG_STATUS <<\_ACEOF
51709 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51710 ## Running $as_me. ##
51716 cat >>$CONFIG_STATUS <<_ACEOF
51722 infile="$srcdir/include/wx/msw/genrcdefs.h"
51723 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51726 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51727 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51728 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51734 cat >>$CONFIG_STATUS <<\_ACEOF
51736 # Handling of arguments.
51737 for ac_config_target
in $ac_config_targets
51739 case $ac_config_target in
51740 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51741 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51742 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51743 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51744 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51745 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51746 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51747 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51748 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51750 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51751 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51752 { (exit 1); exit 1; }; };;
51757 # If the user did not use the arguments to specify the items to instantiate,
51758 # then the envvar interface is used. Set only those that are not.
51759 # We use the long form for the default assignment because of an extremely
51760 # bizarre bug on SunOS 4.1.3.
51761 if $ac_need_defaults; then
51762 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51763 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51764 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51767 # Have a temporary directory for convenience. Make it in the build tree
51768 # simply because there is no reason against having it here, and in addition,
51769 # creating and moving files from /tmp can sometimes cause problems.
51770 # Hook for its removal unless debugging.
51771 # Note that there is a small window in which the directory will not be cleaned:
51772 # after its creation but before its name has been assigned to `$tmp'.
51776 trap 'exit_status=$?
51777 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51779 trap '{ (exit 1); exit 1; }' 1 2 13 15
51781 # Create a (secure) tmp directory for tmp files.
51784 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51785 test -n "$tmp" && test -d "$tmp"
51788 tmp
=.
/conf$$
-$RANDOM
51789 (umask 077 && mkdir "$tmp")
51792 echo "$me: cannot create a temporary directory in ." >&2
51793 { (exit 1); exit 1; }
51797 # Set up the sed scripts for CONFIG_FILES section.
51800 # No need to generate the scripts if there are no CONFIG_FILES.
51801 # This happens for instance when ./config.status config.h
51802 if test -n "$CONFIG_FILES"; then
51809 for ac_last_try
in false false false false false
:; do
51810 cat >conf$
$subs.
sed <<_ACEOF
51811 SHELL!$SHELL$ac_delim
51812 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51813 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51814 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51815 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51816 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51817 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51818 exec_prefix!$exec_prefix$ac_delim
51819 prefix!$prefix$ac_delim
51820 program_transform_name!$program_transform_name$ac_delim
51821 bindir!$bindir$ac_delim
51822 sbindir!$sbindir$ac_delim
51823 libexecdir!$libexecdir$ac_delim
51824 datarootdir!$datarootdir$ac_delim
51825 datadir!$datadir$ac_delim
51826 sysconfdir!$sysconfdir$ac_delim
51827 sharedstatedir!$sharedstatedir$ac_delim
51828 localstatedir!$localstatedir$ac_delim
51829 includedir!$includedir$ac_delim
51830 oldincludedir!$oldincludedir$ac_delim
51831 docdir!$docdir$ac_delim
51832 infodir!$infodir$ac_delim
51833 htmldir!$htmldir$ac_delim
51834 dvidir!$dvidir$ac_delim
51835 pdfdir!$pdfdir$ac_delim
51836 psdir!$psdir$ac_delim
51837 libdir!$libdir$ac_delim
51838 localedir!$localedir$ac_delim
51839 mandir!$mandir$ac_delim
51840 DEFS!$DEFS$ac_delim
51841 ECHO_C!$ECHO_C$ac_delim
51842 ECHO_N!$ECHO_N$ac_delim
51843 ECHO_T!$ECHO_T$ac_delim
51844 LIBS!$LIBS$ac_delim
51845 build_alias!$build_alias$ac_delim
51846 host_alias!$host_alias$ac_delim
51847 target_alias!$target_alias$ac_delim
51848 build!$build$ac_delim
51849 build_cpu!$build_cpu$ac_delim
51850 build_vendor!$build_vendor$ac_delim
51851 build_os!$build_os$ac_delim
51852 host!$host$ac_delim
51853 host_cpu!$host_cpu$ac_delim
51854 host_vendor!$host_vendor$ac_delim
51855 host_os!$host_os$ac_delim
51856 target!$target$ac_delim
51857 target_cpu!$target_cpu$ac_delim
51858 target_vendor!$target_vendor$ac_delim
51859 target_os!$target_os$ac_delim
51860 wx_top_builddir!$wx_top_builddir$ac_delim
51862 CFLAGS!$CFLAGS$ac_delim
51863 LDFLAGS!$LDFLAGS$ac_delim
51864 CPPFLAGS!$CPPFLAGS$ac_delim
51865 ac_ct_CC!$ac_ct_CC$ac_delim
51866 EXEEXT!$EXEEXT$ac_delim
51867 OBJEXT!$OBJEXT$ac_delim
51869 GREP!$GREP$ac_delim
51870 EGREP!$EGREP$ac_delim
51872 CXXFLAGS!$CXXFLAGS$ac_delim
51873 ac_ct_CXX!$ac_ct_CXX$ac_delim
51875 subdirs!$subdirs$ac_delim
51876 PKG_CONFIG!$PKG_CONFIG$ac_delim
51877 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51878 GTK_LIBS!$GTK_LIBS$ac_delim
51879 GTK_CONFIG!$GTK_CONFIG$ac_delim
51880 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51881 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51882 XMKMF!$XMKMF$ac_delim
51883 X_CFLAGS!$X_CFLAGS$ac_delim
51884 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51885 X_LIBS!$X_LIBS$ac_delim
51886 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51887 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51888 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51889 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51890 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51891 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51892 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51893 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51894 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51895 LIBICONV!$LIBICONV$ac_delim
51896 GXX_VERSION!$GXX_VERSION$ac_delim
51897 SDL_CONFIG!$SDL_CONFIG$ac_delim
51898 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51899 SDL_LIBS!$SDL_LIBS$ac_delim
51900 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51901 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51902 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51903 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51904 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51905 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51906 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51907 HILDON_LIBS!$HILDON_LIBS$ac_delim
51910 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51912 elif $ac_last_try; then
51913 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51914 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51915 { (exit 1); exit 1; }; }
51917 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51921 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51922 if test -n "$ac_eof"; then
51923 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51924 ac_eof
=`expr $ac_eof + 1`
51927 cat >>$CONFIG_STATUS <<_ACEOF
51928 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51929 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51932 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51933 s/^/s,@/; s/!/@,|#_!!_#|/
51936 s/'"$ac_delim"'$/,g/; t
51938 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51939 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51940 rm -f conf$
$subs.
sed
51941 cat >>$CONFIG_STATUS <<_ACEOF
51947 for ac_last_try
in false false false false false
:; do
51948 cat >conf$
$subs.
sed <<_ACEOF
51949 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51950 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51951 GST_CFLAGS!$GST_CFLAGS$ac_delim
51952 GST_LIBS!$GST_LIBS$ac_delim
51953 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51954 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51955 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51956 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51957 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51958 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51959 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51960 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51961 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51962 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51963 VENDOR!$VENDOR$ac_delim
51964 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51965 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51966 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51967 WXUNIV!$WXUNIV$ac_delim
51968 MONOLITHIC!$MONOLITHIC$ac_delim
51969 USE_PLUGINS!$USE_PLUGINS$ac_delim
51970 CXXWARNINGS!$CXXWARNINGS$ac_delim
51971 EXTRALIBS!$EXTRALIBS$ac_delim
51972 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51973 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51974 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51975 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51976 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51977 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51978 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51979 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51980 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51981 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51982 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51983 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51984 UNICODE!$UNICODE$ac_delim
51985 BUILD!$BUILD$ac_delim
51986 DEBUG_INFO!$DEBUG_INFO$ac_delim
51987 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51988 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51989 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51990 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51991 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51992 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51993 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51994 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51995 RANLIB!$RANLIB$ac_delim
51996 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51997 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51998 INSTALL_DATA!$INSTALL_DATA$ac_delim
51999 LN_S!$LN_S$ac_delim
52000 SET_MAKE!$SET_MAKE$ac_delim
52001 MAKE_SET!$MAKE_SET$ac_delim
52002 AROPTIONS!$AROPTIONS$ac_delim
52003 STRIP!$STRIP$ac_delim
52005 INSTALL_DIR!$INSTALL_DIR$ac_delim
52006 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52007 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52008 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52009 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52010 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52011 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52012 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52013 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52014 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52015 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52016 SO_SUFFIX!$SO_SUFFIX$ac_delim
52017 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52018 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52019 LIBPREFIX!$LIBPREFIX$ac_delim
52020 LIBEXT!$LIBEXT$ac_delim
52021 DLLPREFIX!$DLLPREFIX$ac_delim
52022 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52023 dlldir!$dlldir$ac_delim
52024 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52025 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52026 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52027 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52028 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52029 PIC_FLAG!$PIC_FLAG$ac_delim
52030 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52031 USE_SOVERSION!$USE_SOVERSION$ac_delim
52032 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52033 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52034 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52035 USE_MACVERSION!$USE_MACVERSION$ac_delim
52036 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52037 SONAME_FLAG!$SONAME_FLAG$ac_delim
52038 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52039 BK_DEPS!$BK_DEPS$ac_delim
52040 WINDRES!$WINDRES$ac_delim
52042 SETFILE!$SETFILE$ac_delim
52043 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52044 GCC_PCH!$GCC_PCH$ac_delim
52045 ICC_PCH!$ICC_PCH$ac_delim
52048 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52050 elif $ac_last_try; then
52051 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52052 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52053 { (exit 1); exit 1; }; }
52055 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52059 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52060 if test -n "$ac_eof"; then
52061 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52062 ac_eof
=`expr $ac_eof + 1`
52065 cat >>$CONFIG_STATUS <<_ACEOF
52066 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52067 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52070 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52071 s/^/s,@/; s/!/@,|#_!!_#|/
52074 s/'"$ac_delim"'$/,g/; t
52076 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52077 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52078 rm -f conf$
$subs.
sed
52079 cat >>$CONFIG_STATUS <<_ACEOF
52085 for ac_last_try
in false false false false false
:; do
52086 cat >conf$
$subs.
sed <<_ACEOF
52087 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52088 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52089 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52090 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52091 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52092 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52093 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52094 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52095 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52096 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52097 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52098 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52099 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52100 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52101 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52102 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52103 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52104 COND_BUILD_release!$COND_BUILD_release$ac_delim
52105 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52106 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52107 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52108 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52109 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52110 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52111 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52112 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52113 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52114 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52115 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52116 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52117 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52118 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52119 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52120 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52121 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52122 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52123 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52124 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52125 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52126 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52127 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52128 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52129 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52130 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52131 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52132 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52133 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52134 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52135 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52136 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52137 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52138 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52139 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52140 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52141 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52142 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52143 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52144 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52145 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52146 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52147 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52148 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52149 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52150 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52151 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52152 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52153 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52154 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52155 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52156 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
52157 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52158 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
52159 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52160 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52161 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52162 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52163 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52164 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52165 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52166 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52167 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52168 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52169 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52170 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52171 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52172 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52173 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52174 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52175 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52176 COND_SHARED_0!$COND_SHARED_0$ac_delim
52177 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52178 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52179 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52180 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52181 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52182 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52183 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52186 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52188 elif $ac_last_try; then
52189 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52190 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52191 { (exit 1); exit 1; }; }
52193 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52197 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52198 if test -n "$ac_eof"; then
52199 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52200 ac_eof
=`expr $ac_eof + 1`
52203 cat >>$CONFIG_STATUS <<_ACEOF
52204 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52205 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52208 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52209 s/^/s,@/; s/!/@,|#_!!_#|/
52212 s/'"$ac_delim"'$/,g/; t
52214 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52215 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52216 rm -f conf$
$subs.
sed
52217 cat >>$CONFIG_STATUS <<_ACEOF
52223 for ac_last_try
in false false false false false
:; do
52224 cat >conf$
$subs.
sed <<_ACEOF
52225 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52226 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52227 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52228 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52229 COND_SHARED_1!$COND_SHARED_1$ac_delim
52230 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52231 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52232 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52233 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52234 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52235 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52236 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52237 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52238 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52239 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52240 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52241 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52242 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52243 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52244 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52245 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52246 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52247 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52248 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52249 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52250 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52251 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52252 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52253 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52254 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52255 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52256 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52257 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52258 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52259 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52260 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52261 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52262 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52263 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52264 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52265 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52266 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52267 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52268 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52269 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52270 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52271 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52272 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52273 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52274 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52275 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52276 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52277 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52278 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52279 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52280 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52281 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52282 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52283 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52284 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52285 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52286 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52287 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52288 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52289 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52290 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52291 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52292 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52293 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52294 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52295 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52296 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52297 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52298 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52299 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52300 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52301 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52302 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52303 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52304 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52305 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52306 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52307 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52308 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52309 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52310 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52311 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52312 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52313 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52314 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52315 DEREZ!$DEREZ$ac_delim
52316 SHARED!$SHARED$ac_delim
52317 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52318 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52319 USE_GUI!$USE_GUI$ac_delim
52320 AFMINSTALL!$AFMINSTALL$ac_delim
52321 WIN32INSTALL!$WIN32INSTALL$ac_delim
52324 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52326 elif $ac_last_try; then
52327 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52328 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52329 { (exit 1); exit 1; }; }
52331 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52335 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52336 if test -n "$ac_eof"; then
52337 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52338 ac_eof
=`expr $ac_eof + 1`
52341 cat >>$CONFIG_STATUS <<_ACEOF
52342 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52343 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52346 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52347 s/^/s,@/; s/!/@,|#_!!_#|/
52350 s/'"$ac_delim"'$/,g/; t
52352 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52353 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52354 rm -f conf$
$subs.
sed
52355 cat >>$CONFIG_STATUS <<_ACEOF
52361 for ac_last_try
in false false false false false
:; do
52362 cat >conf$
$subs.
sed <<_ACEOF
52363 TOOLKIT!$TOOLKIT$ac_delim
52364 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52365 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52366 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52367 cross_compiling!$cross_compiling$ac_delim
52368 WIDGET_SET!$WIDGET_SET$ac_delim
52369 WX_RELEASE!$WX_RELEASE$ac_delim
52370 WX_VERSION!$WX_VERSION$ac_delim
52371 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52372 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52373 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52374 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52375 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52376 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52377 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52378 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52379 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52380 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52381 GUIDIST!$GUIDIST$ac_delim
52382 DISTDIR!$DISTDIR$ac_delim
52383 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52384 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52385 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52386 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52387 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52388 RESCOMP!$RESCOMP$ac_delim
52389 RESFLAGS!$RESFLAGS$ac_delim
52390 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52391 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52392 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52393 LIBWXMACRES!$LIBWXMACRES$ac_delim
52394 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52395 MACSETFILE!$MACSETFILE$ac_delim
52397 DLLTOOL!$DLLTOOL$ac_delim
52398 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52399 LIBOBJS!$LIBOBJS$ac_delim
52400 LTLIBOBJS!$LTLIBOBJS$ac_delim
52403 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then
52405 elif $ac_last_try; then
52406 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52407 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52408 { (exit 1); exit 1; }; }
52410 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52414 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52415 if test -n "$ac_eof"; then
52416 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52417 ac_eof
=`expr $ac_eof + 1`
52420 cat >>$CONFIG_STATUS <<_ACEOF
52421 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52422 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52425 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52426 s/^/s,@/; s/!/@,|#_!!_#|/
52429 s/'"$ac_delim"'$/,g/; t
52431 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52432 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52433 rm -f conf$
$subs.
sed
52434 cat >>$CONFIG_STATUS <<_ACEOF
52441 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52442 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52443 # trailing colons and then remove the whole line if VPATH becomes empty
52444 # (actually we leave an empty line to preserve line numbers).
52445 if test "x$srcdir" = x.
; then
52446 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52447 s/:*\$(srcdir):*/:/
52448 s/:*\${srcdir}:*/:/
52450 s/^\([^=]*=[ ]*\):*/\1/
52456 cat >>$CONFIG_STATUS <<\_ACEOF
52457 fi # test -n "$CONFIG_FILES"
52460 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52463 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52465 case $ac_mode$ac_tag in
52467 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52468 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52469 { (exit 1); exit 1; }; };;
52470 :[FH
]-) ac_tag
=-:-;;
52471 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52488 -) ac_f
="$tmp/stdin";;
52489 *) # Look for the file first in the build tree, then in the source tree
52490 # (if the path is not absolute). The absolute path cannot be DOS-style,
52491 # because $ac_f cannot contain `:'.
52495 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52497 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52498 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52499 { (exit 1); exit 1; }; };;
52501 ac_file_inputs
="$ac_file_inputs $ac_f"
52504 # Let's still pretend it is `configure' which instantiates (i.e., don't
52505 # use $as_me), people would be surprised to read:
52506 # /* config.h. Generated by config.status. */
52507 configure_input
="Generated from "`IFS=:
52508 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52509 if test x
"$ac_file" != x
-; then
52510 configure_input
="$ac_file. $configure_input"
52511 { echo "$as_me:$LINENO: creating $ac_file" >&5
52512 echo "$as_me: creating $ac_file" >&6;}
52516 *:-:* | *:-) cat >"$tmp/stdin";;
52521 ac_dir
=`$as_dirname -- "$ac_file" ||
52522 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52523 X"$ac_file" : 'X\(//\)[^/]' \| \
52524 X"$ac_file" : 'X\(//\)$' \| \
52525 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52531 /^X\(\/\/\)[^/].*/{
52546 -*) as_dir
=.
/$as_dir;;
52548 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52552 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52553 *) as_qdir
=$as_dir;;
52555 as_dirs
="'$as_qdir' $as_dirs"
52556 as_dir
=`$as_dirname -- "$as_dir" ||
52557 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52558 X"$as_dir" : 'X\(//\)[^/]' \| \
52559 X"$as_dir" : 'X\(//\)$' \| \
52560 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52566 /^X\(\/\/\)[^/].*/{
52579 test -d "$as_dir" && break
52581 test -z "$as_dirs" || eval "mkdir $as_dirs"
52582 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52583 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52584 { (exit 1); exit 1; }; }; }
52588 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52590 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52591 # A ".." for each directory in $ac_dir_suffix.
52592 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52593 case $ac_top_builddir_sub in
52594 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52595 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52598 ac_abs_top_builddir
=$ac_pwd
52599 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52600 # for backward compatibility:
52601 ac_top_builddir
=$ac_top_build_prefix
52604 .
) # We are building in place.
52606 ac_top_srcdir
=$ac_top_builddir_sub
52607 ac_abs_top_srcdir
=$ac_pwd ;;
52608 [\\/]* | ?
:[\\/]* ) # Absolute name.
52609 ac_srcdir
=$srcdir$ac_dir_suffix;
52610 ac_top_srcdir
=$srcdir
52611 ac_abs_top_srcdir
=$srcdir ;;
52612 *) # Relative name.
52613 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52614 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52615 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52617 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52627 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52628 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52632 cat >>$CONFIG_STATUS <<\_ACEOF
52633 # If the template does not know about datarootdir, expand it.
52634 # FIXME: This hack should be removed a few years after 2.60.
52635 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52637 case `sed -n '/datarootdir/ {
52646 ' $ac_file_inputs` in
52647 *datarootdir
*) ac_datarootdir_seen
=yes;;
52648 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52649 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52650 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52652 cat >>$CONFIG_STATUS <<_ACEOF
52653 ac_datarootdir_hack='
52654 s&@datadir@&$datadir&g
52655 s&@docdir@&$docdir&g
52656 s&@infodir@&$infodir&g
52657 s&@localedir@&$localedir&g
52658 s&@mandir@&$mandir&g
52659 s&\\\${datarootdir}&$datarootdir&g' ;;
52663 # Neutralize VPATH when `$srcdir' = `.'.
52664 # Shell code in configure.ac might set extrasub.
52665 # FIXME: do we really want to maintain this feature?
52666 cat >>$CONFIG_STATUS <<_ACEOF
52670 cat >>$CONFIG_STATUS <<\_ACEOF
52672 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52673 s
&@configure_input@
&$configure_input&;t t
52674 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52675 s
&@srcdir@
&$ac_srcdir&;t t
52676 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52677 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52678 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52679 s
&@builddir@
&$ac_builddir&;t t
52680 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52681 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52682 s
&@INSTALL@
&$ac_INSTALL&;t t
52683 $ac_datarootdir_hack
52684 " $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
52686 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52687 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52688 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52689 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52690 which seems to be undefined. Please make sure it is defined." >&5
52691 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52692 which seems to be undefined. Please make sure it is defined." >&2;}
52696 -) cat "$tmp/out"; rm -f "$tmp/out";;
52697 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52706 # Transform confdefs.h into a sed script `conftest.defines', that
52707 # substitutes the proper values into config.h.in to produce config.h.
52708 rm -f conftest.defines conftest.
tail
52709 # First, append a space to every undef/define line, to ease matching.
52710 echo 's/$/ /' >conftest.defines
52711 # Then, protect against being on the right side of a sed subst, or in
52712 # an unquoted here document, in config.status. If some macros were
52713 # called several times there might be several #defines for the same
52714 # symbol, which is useless. But do not sort them, since the last
52715 # AC_DEFINE must be honored.
52716 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52717 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52718 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52719 # PARAMS is the parameter list in the macro definition--in most cases, it's
52720 # just an empty string.
52721 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52722 ac_dB
='\\)[ (].*,\\1define\\2'
52730 s/^[ ]*#[ ]*define[ ][ ]*//
52735 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52736 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52737 ' >>conftest.defines
52739 # Remove the space that was appended to ease matching.
52740 # Then replace #undef with comments. This is necessary, for
52741 # example, in the case of _POSIX_SOURCE, which is predefined and required
52742 # on some systems where configure will not decide to define it.
52743 # (The regexp can be short, since the line contains either #define or #undef.)
52745 s,^[ #]*u.*,/* & */,' >>conftest.defines
52747 # Break up conftest.defines:
52748 ac_max_sed_lines
=50
52750 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52751 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52752 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52754 ac_in
='$ac_file_inputs'
52755 ac_out
='"$tmp/out1"'
52756 ac_nxt
='"$tmp/out2"'
52760 # Write a here document:
52761 cat >>$CONFIG_STATUS <<_ACEOF
52762 # First, check the format of the line:
52763 cat >"\$tmp/defines.sed" <<\\CEOF
52764 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52765 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52769 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52771 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52772 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52773 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52774 grep . conftest.
tail >/dev
/null
|| break
52775 rm -f conftest.defines
52776 mv conftest.
tail conftest.defines
52778 rm -f conftest.defines conftest.
tail
52780 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52781 cat >>$CONFIG_STATUS <<\_ACEOF
52782 if test x
"$ac_file" != x
-; then
52783 echo "/* $configure_input */" >"$tmp/config.h"
52784 cat "$ac_result" >>"$tmp/config.h"
52785 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52786 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52787 echo "$as_me: $ac_file is unchanged" >&6;}
52790 mv "$tmp/config.h" $ac_file
52793 echo "/* $configure_input */"
52799 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52800 echo "$as_me: executing $ac_file commands" >&6;}
52805 case $ac_file$ac_mode in
52807 mkdir -p $outdir &&
52808 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52810 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52811 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52812 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52813 "wx-config":C
) rm -f wx
-config
52814 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52821 { (exit 0); exit 0; }
52823 chmod +x
$CONFIG_STATUS
52824 ac_clean_files
=$ac_clean_files_save
52827 # configure is writing to config.log, and then calls config.status.
52828 # config.status does its own redirection, appending to config.log.
52829 # Unfortunately, on DOS this fails, as config.log is still kept open
52830 # by configure, so config.status won't be able to write to it; its
52831 # output is simply discarded. So we exec the FD to /dev/null,
52832 # effectively closing config.log, so it can be properly (re)opened and
52833 # appended to by config.status. When coming back to configure, we
52834 # need to make the FD available again.
52835 if test "$no_create" != yes; then
52837 ac_config_status_args
=
52838 test "$silent" = yes &&
52839 ac_config_status_args
="$ac_config_status_args --quiet"
52841 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52843 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52844 # would make configure fail if this is the last instruction.
52845 $ac_cs_success || { (exit 1); exit 1; }
52849 # CONFIG_SUBDIRS section.
52851 if test "$no_recursion" != yes; then
52853 # Remove --cache-file and --srcdir arguments so they do not pile up.
52854 ac_sub_configure_args
=
52856 eval "set x $ac_configure_args"
52860 if test -n "$ac_prev"; then
52865 -cache-file | --cache-file | --cache-fil | --cache-fi \
52866 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52867 ac_prev
=cache_file
;;
52868 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52869 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52872 --config-cache | -C)
52874 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52876 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52878 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52880 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52884 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52886 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52890 # Always prepend --prefix to ensure using the same prefix
52891 # in subdir configurations.
52892 ac_arg
="--prefix=$prefix"
52894 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52896 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52899 if test "$silent" = yes; then
52900 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52904 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52906 # Do not complain, so a configure script can configure whichever
52907 # parts of a large source tree are present.
52908 test -d "$srcdir/$ac_dir" || continue
52910 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52911 echo "$as_me:$LINENO: $ac_msg" >&5
52915 -*) as_dir
=.
/$as_dir;;
52917 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52921 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52922 *) as_qdir
=$as_dir;;
52924 as_dirs
="'$as_qdir' $as_dirs"
52925 as_dir
=`$as_dirname -- "$as_dir" ||
52926 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52927 X"$as_dir" : 'X\(//\)[^/]' \| \
52928 X"$as_dir" : 'X\(//\)$' \| \
52929 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52935 /^X\(\/\/\)[^/].*/{
52948 test -d "$as_dir" && break
52950 test -z "$as_dirs" || eval "mkdir $as_dirs"
52951 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52952 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52953 { (exit 1); exit 1; }; }; }
52957 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52959 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52960 # A ".." for each directory in $ac_dir_suffix.
52961 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52962 case $ac_top_builddir_sub in
52963 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52964 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52967 ac_abs_top_builddir
=$ac_pwd
52968 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52969 # for backward compatibility:
52970 ac_top_builddir
=$ac_top_build_prefix
52973 .
) # We are building in place.
52975 ac_top_srcdir
=$ac_top_builddir_sub
52976 ac_abs_top_srcdir
=$ac_pwd ;;
52977 [\\/]* | ?
:[\\/]* ) # Absolute name.
52978 ac_srcdir
=$srcdir$ac_dir_suffix;
52979 ac_top_srcdir
=$srcdir
52980 ac_abs_top_srcdir
=$srcdir ;;
52981 *) # Relative name.
52982 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52983 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52984 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52986 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52991 # Check for guested configure; otherwise get Cygnus style configure.
52992 if test -f "$ac_srcdir/configure.gnu"; then
52993 ac_sub_configure
=$ac_srcdir/configure.gnu
52994 elif test -f "$ac_srcdir/configure"; then
52995 ac_sub_configure
=$ac_srcdir/configure
52996 elif test -f "$ac_srcdir/configure.in"; then
52997 # This should be Cygnus configure.
52998 ac_sub_configure
=$ac_aux_dir/configure
53000 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53001 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53005 # The recursion is here.
53006 if test -n "$ac_sub_configure"; then
53007 # Make the cache file name correct relative to the subdirectory.
53008 case $cache_file in
53009 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53010 *) # Relative name.
53011 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53014 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53015 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53016 # The eval makes quoting arguments work.
53017 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53018 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53019 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53020 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53021 { (exit 1); exit 1; }; }
53030 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53032 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53033 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53035 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53036 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53037 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53038 if test "$wxUSE_UNICODE" = "yes"; then
53039 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53040 echo " (using UTF-8)"
53042 echo " (using wchar_t)"
53048 echo " What level of wxWidgets compatibility should be enabled?"
53049 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53050 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53052 echo " Which libraries should wxWidgets use?"
53053 echo " STL ${wxUSE_STL}"
53054 echo " jpeg ${wxUSE_LIBJPEG-none}"
53055 echo " png ${wxUSE_LIBPNG-none}"
53056 echo " regex ${wxUSE_REGEX}"
53057 echo " tiff ${wxUSE_LIBTIFF-none}"
53058 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53059 echo " xpm ${wxUSE_LIBXPM-none}"
53061 echo " zlib ${wxUSE_ZLIB}"
53062 echo " expat ${wxUSE_EXPAT}"
53063 echo " libmspack ${wxUSE_LIBMSPACK}"
53064 echo " sdl ${wxUSE_LIBSDL}"