2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.1.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.1'
579 PACKAGE_STRING
='wxWidgets 2.9.1'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
706 LIBGNOMEPRINTUI_CFLAGS
814 ICC_PCH_CREATE_SWITCH
818 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
820 COND_BUILD_DEBUG_UNICODE_0
821 COND_BUILD_DEBUG_UNICODE_1
823 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
824 COND_BUILD_RELEASE_UNICODE_0
825 COND_BUILD_RELEASE_UNICODE_1
827 COND_BUILD_debug_DEBUG_FLAG_default
828 COND_BUILD_debug_DEBUG_INFO_default
829 COND_BUILD_debug_UNICODE_0
830 COND_BUILD_debug_UNICODE_1
832 COND_BUILD_release_DEBUG_INFO_default
833 COND_BUILD_release_UNICODE_0
834 COND_BUILD_release_UNICODE_1
844 COND_MONOLITHIC_0_SHARED_0
845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
850 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
851 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
852 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
854 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
855 COND_MONOLITHIC_0_SHARED_1
856 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
861 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
862 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
863 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
864 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
865 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
866 COND_MONOLITHIC_0_USE_AUI_1
867 COND_MONOLITHIC_0_USE_GUI_1
868 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
869 COND_MONOLITHIC_0_USE_HTML_1
870 COND_MONOLITHIC_0_USE_MEDIA_1
871 COND_MONOLITHIC_0_USE_PROPGRID_1
872 COND_MONOLITHIC_0_USE_QA_1
873 COND_MONOLITHIC_0_USE_RIBBON_1
874 COND_MONOLITHIC_0_USE_RICHTEXT_1
875 COND_MONOLITHIC_0_USE_STC_1
876 COND_MONOLITHIC_0_USE_XRC_1
878 COND_MONOLITHIC_1_SHARED_0
879 COND_MONOLITHIC_1_SHARED_1
880 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
881 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
882 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
883 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
884 COND_PLATFORM_MACOSX_1
885 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
886 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
889 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
890 COND_PLATFORM_MACOSX_1_USE_GUI_1
891 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
892 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
893 COND_PLATFORM_MACOS_1
896 COND_PLATFORM_MSDOS_0
897 COND_PLATFORM_MSDOS_1
901 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
903 COND_PLATFORM_UNIX_1_USE_GUI_1
904 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
905 COND_PLATFORM_WIN32_0
906 COND_PLATFORM_WIN32_1
908 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
909 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
910 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
911 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
912 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
913 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
914 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
915 COND_SHARED_0_USE_STC_1
916 COND_SHARED_0_wxUSE_EXPAT_builtin
917 COND_SHARED_0_wxUSE_REGEX_builtin
918 COND_SHARED_0_wxUSE_ZLIB_builtin
920 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
923 COND_TOOLKIT_COCOA_USE_GUI_1
924 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_DFB_USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
929 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
931 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
933 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_GTK_USE_GUI_1
937 COND_TOOLKIT_MGL_USE_GUI_1
939 COND_TOOLKIT_MOTIF_USE_GUI_1
940 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
942 COND_TOOLKIT_MSW_USE_GUI_1
943 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
944 COND_TOOLKIT_MSW_WXUNIV_0
945 COND_TOOLKIT_OSX_CARBON
946 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
947 COND_TOOLKIT_OSX_COCOA
948 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
949 COND_TOOLKIT_OSX_IPHONE
951 COND_TOOLKIT_PM_USE_GUI_1
952 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
954 COND_TOOLKIT_WINCE_USE_GUI_1
955 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
956 COND_TOOLKIT_WINCE_WXUNIV_0
958 COND_TOOLKIT_X11_USE_GUI_1
961 COND_USE_EXCEPTIONS_0
962 COND_USE_EXCEPTIONS_1
965 COND_USE_GUI_1_USE_OPENGL_1
966 COND_USE_GUI_1_WXUNIV_0
967 COND_USE_GUI_1_WXUNIV_1
968 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
969 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
970 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
971 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
972 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
973 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
979 COND_USE_SOTWOSYMLINKS_1
980 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
981 COND_USE_SOVERLINUX_1
983 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
984 COND_USE_SOVERSOLARIS_1
989 COND_WINDOWS_IMPLIB_1
990 COND_WITH_PLUGIN_SDL_1
993 COND_WXUSE_EXPAT_BUILTIN
994 COND_WXUSE_LIBJPEG_BUILTIN
995 COND_WXUSE_LIBPNG_BUILTIN
996 COND_WXUSE_LIBTIFF_BUILTIN
997 COND_WXUSE_REGEX_BUILTIN
998 COND_WXUSE_ZLIB_BUILTIN
999 COND_wxUSE_EXPAT_builtin
1000 COND_wxUSE_LIBJPEG_builtin
1001 COND_wxUSE_LIBPNG_builtin
1002 COND_wxUSE_LIBTIFF_builtin
1003 COND_wxUSE_REGEX_builtin
1004 COND_wxUSE_ZLIB_builtin
1007 WX_LIBRARY_BASENAME_NOGUI
1008 WX_LIBRARY_BASENAME_GUI
1028 WXCONFIG_LDFLAGS_GUI
1040 WX_RESOURCES_MACOSX_ASCII
1041 WX_RESOURCES_MACOSX_DATA
1051 ac_precious_vars
='build_alias
1075 LIBGNOMEPRINTUI_CFLAGS
1076 LIBGNOMEPRINTUI_LIBS
1087 ac_subdirs_all
='src/tiff
1090 # Initialize some variables set by options.
1092 ac_init_version
=false
1093 # The variables have the same names as the options, with
1094 # dashes changed to underlines.
1095 cache_file
=/dev
/null
1102 program_transform_name
=s
,x
,x
,
1110 # Installation directory options.
1111 # These are left unexpanded so users can "make install exec_prefix=/foo"
1112 # and all the variables that are supposed to be based on exec_prefix
1113 # by default will actually change.
1114 # Use braces instead of parens because sh, perl, etc. also accept them.
1115 # (The list follows the same order as the GNU Coding Standards.)
1116 bindir
='${exec_prefix}/bin'
1117 sbindir
='${exec_prefix}/sbin'
1118 libexecdir
='${exec_prefix}/libexec'
1119 datarootdir
='${prefix}/share'
1120 datadir
='${datarootdir}'
1121 sysconfdir
='${prefix}/etc'
1122 sharedstatedir
='${prefix}/com'
1123 localstatedir
='${prefix}/var'
1124 includedir
='${prefix}/include'
1125 oldincludedir
='/usr/include'
1126 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1127 infodir
='${datarootdir}/info'
1132 libdir
='${exec_prefix}/lib'
1133 localedir
='${datarootdir}/locale'
1134 mandir
='${datarootdir}/man'
1140 # If the previous option needs an argument, assign it.
1141 if test -n "$ac_prev"; then
1142 eval $ac_prev=\
$ac_option
1148 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1152 # Accept the important Cygnus configure options, so we can diagnose typos.
1154 case $ac_dashdash$ac_option in
1158 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1160 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1161 bindir
=$ac_optarg ;;
1163 -build | --build | --buil | --bui | --bu)
1164 ac_prev
=build_alias
;;
1165 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1166 build_alias
=$ac_optarg ;;
1168 -cache-file | --cache-file | --cache-fil | --cache-fi \
1169 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1170 ac_prev
=cache_file
;;
1171 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1172 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1173 cache_file
=$ac_optarg ;;
1175 --config-cache | -C)
1176 cache_file
=config.cache
;;
1178 -datadir | --datadir | --datadi | --datad)
1180 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1181 datadir
=$ac_optarg ;;
1183 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1184 | --dataroo | --dataro | --datar)
1185 ac_prev
=datarootdir
;;
1186 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1187 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1188 datarootdir
=$ac_optarg ;;
1190 -disable-* | --disable-*)
1191 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1194 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1195 { (exit 1); exit 1; }; }
1196 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1197 eval enable_
$ac_feature=no
;;
1199 -docdir | --docdir | --docdi | --doc | --do)
1201 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1202 docdir
=$ac_optarg ;;
1204 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1206 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1207 dvidir
=$ac_optarg ;;
1209 -enable-* | --enable-*)
1210 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1211 # Reject names that are not valid shell variable names.
1212 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1213 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1214 { (exit 1); exit 1; }; }
1215 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1216 eval enable_
$ac_feature=\
$ac_optarg ;;
1218 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1219 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1220 | --exec | --exe | --ex)
1221 ac_prev
=exec_prefix
;;
1222 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1223 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1224 | --exec=* | --exe=* | --ex=*)
1225 exec_prefix
=$ac_optarg ;;
1227 -gas | --gas | --ga | --g)
1228 # Obsolete; use --with-gas.
1231 -help | --help | --hel | --he | -h)
1232 ac_init_help
=long
;;
1233 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1234 ac_init_help
=recursive
;;
1235 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1236 ac_init_help
=short
;;
1238 -host | --host | --hos | --ho)
1239 ac_prev
=host_alias
;;
1240 -host=* | --host=* | --hos=* | --ho=*)
1241 host_alias
=$ac_optarg ;;
1243 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1245 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1247 htmldir
=$ac_optarg ;;
1249 -includedir | --includedir | --includedi | --included | --include \
1250 | --includ | --inclu | --incl | --inc)
1251 ac_prev
=includedir
;;
1252 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1253 | --includ=* | --inclu=* | --incl=* | --inc=*)
1254 includedir
=$ac_optarg ;;
1256 -infodir | --infodir | --infodi | --infod | --info | --inf)
1258 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1259 infodir
=$ac_optarg ;;
1261 -libdir | --libdir | --libdi | --libd)
1263 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1264 libdir
=$ac_optarg ;;
1266 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1267 | --libexe | --libex | --libe)
1268 ac_prev
=libexecdir
;;
1269 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1270 | --libexe=* | --libex=* | --libe=*)
1271 libexecdir
=$ac_optarg ;;
1273 -localedir | --localedir | --localedi | --localed | --locale)
1274 ac_prev
=localedir
;;
1275 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1276 localedir
=$ac_optarg ;;
1278 -localstatedir | --localstatedir | --localstatedi | --localstated \
1279 | --localstate | --localstat | --localsta | --localst | --locals)
1280 ac_prev
=localstatedir
;;
1281 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1282 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1283 localstatedir
=$ac_optarg ;;
1285 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1287 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1288 mandir
=$ac_optarg ;;
1290 -nfp | --nfp | --nf)
1291 # Obsolete; use --without-fp.
1294 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1295 | --no-cr | --no-c | -n)
1298 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1299 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1302 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1303 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1304 | --oldin | --oldi | --old | --ol | --o)
1305 ac_prev
=oldincludedir
;;
1306 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1307 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1308 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1309 oldincludedir
=$ac_optarg ;;
1311 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1313 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1314 prefix
=$ac_optarg ;;
1316 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1317 | --program-pre | --program-pr | --program-p)
1318 ac_prev
=program_prefix
;;
1319 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1320 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1321 program_prefix
=$ac_optarg ;;
1323 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1324 | --program-suf | --program-su | --program-s)
1325 ac_prev
=program_suffix
;;
1326 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1327 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1328 program_suffix
=$ac_optarg ;;
1330 -program-transform-name | --program-transform-name \
1331 | --program-transform-nam | --program-transform-na \
1332 | --program-transform-n | --program-transform- \
1333 | --program-transform | --program-transfor \
1334 | --program-transfo | --program-transf \
1335 | --program-trans | --program-tran \
1336 | --progr-tra | --program-tr | --program-t)
1337 ac_prev
=program_transform_name
;;
1338 -program-transform-name=* | --program-transform-name=* \
1339 | --program-transform-nam=* | --program-transform-na=* \
1340 | --program-transform-n=* | --program-transform-=* \
1341 | --program-transform=* | --program-transfor=* \
1342 | --program-transfo=* | --program-transf=* \
1343 | --program-trans=* | --program-tran=* \
1344 | --progr-tra=* | --program-tr=* | --program-t=*)
1345 program_transform_name
=$ac_optarg ;;
1347 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1349 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1350 pdfdir
=$ac_optarg ;;
1352 -psdir | --psdir | --psdi | --psd | --ps)
1354 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1357 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1358 | -silent | --silent | --silen | --sile | --sil)
1361 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1363 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1365 sbindir
=$ac_optarg ;;
1367 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1368 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1369 | --sharedst | --shareds | --shared | --share | --shar \
1371 ac_prev
=sharedstatedir
;;
1372 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1373 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1374 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1376 sharedstatedir
=$ac_optarg ;;
1378 -site | --site | --sit)
1380 -site=* | --site=* | --sit=*)
1383 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1385 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1386 srcdir
=$ac_optarg ;;
1388 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1389 | --syscon | --sysco | --sysc | --sys | --sy)
1390 ac_prev
=sysconfdir
;;
1391 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1392 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1393 sysconfdir
=$ac_optarg ;;
1395 -target | --target | --targe | --targ | --tar | --ta | --t)
1396 ac_prev
=target_alias
;;
1397 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1398 target_alias
=$ac_optarg ;;
1400 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1403 -version | --version | --versio | --versi | --vers | -V)
1404 ac_init_version
=: ;;
1407 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1410 { echo "$as_me: error: invalid package name: $ac_package" >&2
1411 { (exit 1); exit 1; }; }
1412 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1413 eval with_
$ac_package=\
$ac_optarg ;;
1415 -without-* | --without-*)
1416 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1419 { echo "$as_me: error: invalid package name: $ac_package" >&2
1420 { (exit 1); exit 1; }; }
1421 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1422 eval with_
$ac_package=no
;;
1425 # Obsolete; use --with-x.
1428 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1429 | --x-incl | --x-inc | --x-in | --x-i)
1430 ac_prev
=x_includes
;;
1431 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1432 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1433 x_includes
=$ac_optarg ;;
1435 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1436 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1437 ac_prev
=x_libraries
;;
1438 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1439 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1440 x_libraries
=$ac_optarg ;;
1442 -*) { echo "$as_me: error: unrecognized option: $ac_option
1443 Try \`$0 --help' for more information." >&2
1444 { (exit 1); exit 1; }; }
1448 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1449 # Reject names that are not valid shell variable names.
1450 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1451 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1452 { (exit 1); exit 1; }; }
1453 eval $ac_envvar=\
$ac_optarg
1454 export $ac_envvar ;;
1457 # FIXME: should be removed in autoconf 3.0.
1458 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1459 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1460 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1461 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1467 if test -n "$ac_prev"; then
1468 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1469 { echo "$as_me: error: missing argument to $ac_option" >&2
1470 { (exit 1); exit 1; }; }
1473 # Be sure to have absolute directory names.
1474 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1475 datadir sysconfdir sharedstatedir localstatedir includedir \
1476 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1477 libdir localedir mandir
1479 eval ac_val
=\$
$ac_var
1481 [\\/$
]* | ?
:[\\/]* ) continue;;
1482 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1484 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1485 { (exit 1); exit 1; }; }
1488 # There might be people who depend on the old broken behavior: `$host'
1489 # used to hold the argument of --host etc.
1490 # FIXME: To remove some day.
1493 target
=$target_alias
1495 # FIXME: To remove some day.
1496 if test "x$host_alias" != x
; then
1497 if test "x$build_alias" = x
; then
1498 cross_compiling
=maybe
1499 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1500 If a cross compiler is detected then cross compile mode will be used." >&2
1501 elif test "x$build_alias" != "x$host_alias"; then
1507 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1509 test "$silent" = yes && exec 6>/dev
/null
1512 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1513 ac_ls_di
=`ls -di .` &&
1514 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1515 { echo "$as_me: error: Working directory cannot be determined" >&2
1516 { (exit 1); exit 1; }; }
1517 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1518 { echo "$as_me: error: pwd does not report name of working directory" >&2
1519 { (exit 1); exit 1; }; }
1522 # Find the source files, if location was not specified.
1523 if test -z "$srcdir"; then
1524 ac_srcdir_defaulted
=yes
1525 # Try the directory containing this script, then the parent directory.
1526 ac_confdir
=`$as_dirname -- "$0" ||
1527 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1528 X"$0" : 'X\(//\)[^/]' \| \
1529 X"$0" : 'X\(//\)$' \| \
1530 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1550 if test ! -r "$srcdir/$ac_unique_file"; then
1554 ac_srcdir_defaulted
=no
1556 if test ! -r "$srcdir/$ac_unique_file"; then
1557 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1558 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1559 { (exit 1); exit 1; }; }
1561 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1563 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1564 { (exit 1); exit 1; }; }
1566 # When building in place, set srcdir=.
1567 if test "$ac_abs_confdir" = "$ac_pwd"; then
1570 # Remove unnecessary trailing slashes from srcdir.
1571 # Double slashes in file names in object file debugging info
1572 # mess up M-x gdb in Emacs.
1574 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1576 for ac_var
in $ac_precious_vars; do
1577 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1578 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1579 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1580 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1584 # Report the --help message.
1586 if test "$ac_init_help" = "long"; then
1587 # Omit some internal or obsolete options to make the list less imposing.
1588 # This message is too long to be a string in the A/UX 3.1 sh.
1590 \`configure' configures wxWidgets 2.9.1 to adapt to many kinds of systems.
1592 Usage: $0 [OPTION]... [VAR=VALUE]...
1594 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1595 VAR=VALUE. See below for descriptions of some of the useful variables.
1597 Defaults for the options are specified in brackets.
1600 -h, --help display this help and exit
1601 --help=short display options specific to this package
1602 --help=recursive display the short help of all the included packages
1603 -V, --version display version information and exit
1604 -q, --quiet, --silent do not print \`checking...' messages
1605 --cache-file=FILE cache test results in FILE [disabled]
1606 -C, --config-cache alias for \`--cache-file=config.cache'
1607 -n, --no-create do not create output files
1608 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1610 Installation directories:
1611 --prefix=PREFIX install architecture-independent files in PREFIX
1612 [$ac_default_prefix]
1613 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1616 By default, \`make install' will install all the files in
1617 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1618 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1619 for instance \`--prefix=\$HOME'.
1621 For better control, use the options below.
1623 Fine tuning of the installation directories:
1624 --bindir=DIR user executables [EPREFIX/bin]
1625 --sbindir=DIR system admin executables [EPREFIX/sbin]
1626 --libexecdir=DIR program executables [EPREFIX/libexec]
1627 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1628 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1629 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1630 --libdir=DIR object code libraries [EPREFIX/lib]
1631 --includedir=DIR C header files [PREFIX/include]
1632 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1633 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1634 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1635 --infodir=DIR info documentation [DATAROOTDIR/info]
1636 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1637 --mandir=DIR man documentation [DATAROOTDIR/man]
1638 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1639 --htmldir=DIR html documentation [DOCDIR]
1640 --dvidir=DIR dvi documentation [DOCDIR]
1641 --pdfdir=DIR pdf documentation [DOCDIR]
1642 --psdir=DIR ps documentation [DOCDIR]
1648 --x-includes=DIR X include files are
in DIR
1649 --x-libraries=DIR X library files are
in DIR
1652 --build=BUILD configure
for building on BUILD
[guessed
]
1653 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1657 if test -n "$ac_init_help"; then
1658 case $ac_init_help in
1659 short
| recursive
) echo "Configuration of wxWidgets 2.9.1:";;
1664 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1665 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1666 --disable-gui don
't build GUI parts of the library
1667 --enable-monolithic build wxWidgets as single library
1668 --enable-plugins build parts of wxWidgets as loadable components
1669 --enable-official_build official build of wxWidgets (win32 DLL only)
1670 --enable-vendor=VENDOR vendor name (win32 DLL only)
1671 --disable-all-features disable all optional features to build minimal library
1672 --enable-universal use wxWidgets GUI controls instead of native ones
1673 --enable-nanox use NanoX
1674 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1675 --enable-gpe use GNOME PDA Environment features if possible
1676 --enable-debug build library for debugging
1677 --disable-debug_flag disable all debugging support
1678 --enable-debug_info generate debug information
1679 --enable-debug_gdb create code with extra GDB debugging information
1680 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1681 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1682 --disable-shared create static library instead of shared
1683 --enable-stl use STL for containers
1684 --enable-std_iostreams use standard C++ stream classes
1685 --enable-std_string use standard C++ string classes
1686 --disable-unicode compile without Unicode support
1687 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1688 --enable-utf8 use UTF-8 representation for strings (Unix only)
1689 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1690 --enable-extended_rtti use extended RTTI (XTI)
1691 --enable-omf use OMF object format
1692 --disable-optimise compile without optimisations
1693 --enable-profile create code with profiling information
1694 --enable-no_rtti create code without RTTI information
1695 --enable-no_exceptions create code without C++ exceptions handling
1696 --enable-permissive compile code disregarding strict ANSI
1697 --enable-no_deps create code without dependency information
1698 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1699 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1700 --enable-compat26 enable wxWidgets
2.6 compatibility
1701 --disable-compat28 disable wxWidgets
2.8 compatibility
1702 --disable-rpath disable use of rpath
for uninstalled builds
1703 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1704 --disable-visibility disable use of ELF symbols visibility even
if supported
1705 --disable-tls disable use of compiler TLS support
1706 --enable-intl use internationalization system
1707 --enable-xlocale use x
-locale support
(requires wxLocale
)
1708 --enable-config use wxConfig
(and derived
) classes
1709 --enable-protocols use wxProtocol and derived classes
1710 --enable-ftp use wxFTP
(requires wxProtocol
1711 --enable-http use wxHTTP
(requires wxProtocol
1712 --enable-fileproto use wxFileProto class
(requires wxProtocol
1713 --enable-sockets use socket
/network classes
1714 --enable-ipv6 enable IPv6 support
in wxSocket
1715 --enable-ole use OLE classes
(Win32 only
)
1716 --enable-dataobj use data object classes
1717 --enable-ipc use interprocess communication
(wxSocket etc.
)
1718 --enable-baseevtloop use event loop
in console programs too
1719 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1720 --enable-selectloop use wxSelectDispatcher class
1721 --enable-any use wxAny class
1722 --enable-apple_ieee use the Apple IEEE codec
1723 --enable-arcstream use wxArchive streams
1724 --enable-base64 use base64 encoding
/decoding functions
1725 --enable-backtrace use wxStackWalker class
for getting backtraces
1726 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1727 --enable-cmdline use wxCmdLineParser class
1728 --enable-datetime use wxDateTime class
1729 --enable-debugreport use wxDebugReport class
1730 --enable-dialupman use dialup network classes
1731 --enable-dynlib use wxLibrary class
for DLL loading
1732 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1733 --enable-exceptions build exception
-safe library
1734 --enable-ffile use wxFFile class
1735 --enable-file use wxFile class
1736 --enable-filesystem use virtual
file systems classes
1737 --enable-fontenum use wxFontEnumerator class
1738 --enable-fontmap use font encodings conversion classes
1739 --enable-fs_archive use virtual archive filesystems
1740 --enable-fs_inet use virtual HTTP
/FTP filesystems
1741 --enable-fs_zip now replaced by fs_archive
1742 --enable-fswatcher use wxFileSystemWatcher class
1743 --enable-geometry use geometry class
1744 --enable-log use logging system
1745 --enable-longlong use wxLongLong class
1746 --enable-mimetype use wxMimeTypesManager
1747 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1748 --enable-snglinst use wxSingleInstanceChecker class
1749 --enable-sound use wxSound class
1750 --enable-stdpaths use wxStandardPaths class
1751 --enable-stopwatch use wxStopWatch class
1752 --enable-streams use wxStream etc classes
1753 --enable-sysoptions use wxSystemOptions
1754 --enable-tarstream use wxTar streams
1755 --enable-textbuf use wxTextBuffer class
1756 --enable-textfile use wxTextFile class
1757 --enable-timer use wxTimer class
1758 --enable-variant use wxVariant class
1759 --enable-zipstream use wxZip streams
1760 --enable-url use wxURL class
1761 --enable-protocol use wxProtocol class
1762 --enable-protocol-http HTTP support
in wxProtocol
1763 --enable-protocol-ftp FTP support
in wxProtocol
1764 --enable-protocol-file FILE support
in wxProtocol
1765 --enable-threads use threads
1766 --enable-iniconf use wxIniConfig
(Win32 only
)
1767 --enable-regkey use wxRegKey class
(Win32 only
)
1768 --enable-docview use document view architecture
1769 --enable-help use
help subsystem
1770 --enable-mshtmlhelp use MS HTML Help
(win32
)
1771 --enable-html use wxHTML sub
-library
1772 --enable-htmlhelp use wxHTML
-based help
1773 --enable-xrc use XRC resources sub
-library
1774 --enable-aui use AUI docking library
1775 --enable-propgrid use wxPropertyGrid library
1776 --enable-ribbon use wxRibbon library
1777 --enable-stc use wxStyledTextCtrl library
1778 --enable-constraints use layout
-constraints system
1779 --enable-loggui use standard GUI logger
1780 --enable-logwin use wxLogWindow
1781 --enable-logdialog use wxLogDialog
1782 --enable-mdi use multiple document interface architecture
1783 --enable-mdidoc use docview architecture with MDI
1784 --enable-mediactrl use wxMediaCtrl class
1785 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1786 --enable-webkit use wxWebKitCtrl
(Mac
)
1787 --enable-richtext use wxRichTextCtrl
1788 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1789 --enable-printarch use printing architecture
1790 --enable-svg use wxSVGFileDC device context
1791 --enable-graphics_ctx use graphics context
2D drawing API
1792 --enable-clipboard use wxClipboard class
1793 --enable-dnd use Drag
'n'Drop classes
1794 --enable-metafile use win32 metafiles
1795 --disable-controls disable compilation of all standard controls
1796 --enable-accel use accelerators
1797 --enable-animatectrl use wxAnimationCtrl class
1798 --enable-bmpbutton use wxBitmapButton class
1799 --enable-bmpcombobox use wxBitmapComboBox class
1800 --enable-button use wxButton class
1801 --enable-calendar use wxCalendarCtrl class
1802 --enable-caret use wxCaret class
1803 --enable-checkbox use wxCheckBox class
1804 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1805 --enable-choice use wxChoice class
1806 --enable-choicebook use wxChoicebook class
1807 --enable-collpane use wxCollapsiblePane class
1808 --enable-colourpicker use wxColourPickerCtrl class
1809 --enable-combobox use wxComboBox class
1810 --enable-comboctrl use wxComboCtrl class
1811 --enable-dataviewctrl use wxDataViewCtrl class
1812 --enable-datepick use wxDatePickerCtrl class
1813 --enable-detect_sm use code to detect X11 session manager
1814 --enable-dirpicker use wxDirPickerCtrl class
1815 --enable-display use wxDisplay class
1816 --enable-editablebox use wxEditableListBox class
1817 --enable-filectrl use wxFileCtrl class
1818 --enable-filepicker use wxFilePickerCtrl class
1819 --enable-fontpicker use wxFontPickerCtrl class
1820 --enable-gauge use wxGauge class
1821 --enable-grid use wxGrid class
1822 --enable-headerctrl use wxHeaderCtrl class
1823 --enable-hyperlink use wxHyperlinkCtrl class
1824 --enable-imaglist use wxImageList class
1825 --enable-infobar use wxInfoBar class
1826 --enable-listbook use wxListbook class
1827 --enable-listbox use wxListBox class
1828 --enable-listctrl use wxListCtrl class
1829 --enable-notebook use wxNotebook class
1830 --enable-notifmsg use wxNotificationMessage class
1831 --enable-odcombobox use wxOwnerDrawnComboBox class
1832 --enable-popupwin use wxPopUpWindow class
1833 --enable-radiobox use wxRadioBox class
1834 --enable-radiobtn use wxRadioButton class
1835 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1836 --enable-sash use wxSashWindow class
1837 --enable-scrollbar use wxScrollBar class and scrollable windows
1838 --enable-searchctrl use wxSearchCtrl class
1839 --enable-slider use wxSlider class
1840 --enable-spinbtn use wxSpinButton class
1841 --enable-spinctrl use wxSpinCtrl class
1842 --enable-splitter use wxSplitterWindow class
1843 --enable-statbmp use wxStaticBitmap class
1844 --enable-statbox use wxStaticBox class
1845 --enable-statline use wxStaticLine class
1846 --enable-stattext use wxStaticText class
1847 --enable-statusbar use wxStatusBar class
1848 --enable-taskbaricon use wxTaskBarIcon class
1849 --enable-tbarnative use native wxToolBar class
1850 --enable-textctrl use wxTextCtrl class
1851 --enable-tipwindow use wxTipWindow class
1852 --enable-togglebtn use wxToggleButton class
1853 --enable-toolbar use wxToolBar class
1854 --enable-toolbook use wxToolbook class
1855 --enable-treebook use wxTreebook class
1856 --enable-treectrl use wxTreeCtrl class
1857 --enable-commondlg use all common dialogs
1858 --enable-aboutdlg use wxAboutBox
1859 --enable-choicedlg use wxChoiceDialog
1860 --enable-coldlg use wxColourDialog
1861 --enable-filedlg use wxFileDialog
1862 --enable-finddlg use wxFindReplaceDialog
1863 --enable-fontdlg use wxFontDialog
1864 --enable-dirdlg use wxDirDialog
1865 --enable-msgdlg use wxMessageDialog
1866 --enable-numberdlg use wxNumberEntryDialog
1867 --enable-splash use wxSplashScreen
1868 --enable-textdlg use wxTextDialog
1869 --enable-tipdlg use startup tips
1870 --enable-progressdlg use wxProgressDialog
1871 --enable-wizarddlg use wxWizard
1872 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1873 --enable-miniframe use wxMiniFrame class
1874 --enable-tooltips use wxToolTip class
1875 --enable-splines use spline drawing code
1876 --enable-mousewheel use mousewheel
1877 --enable-validators use wxValidator and derived classes
1878 --enable-busyinfo use wxBusyInfo
1879 --enable-joystick use wxJoystick
1880 --enable-metafiles use wxMetaFile
(Win32 only
)
1881 --enable-dragimage use wxDragImage
1882 --enable-accessibility enable accessibility support
1883 --enable-palette use wxPalette class
1884 --enable-image use wxImage class
1885 --enable-gif use gif images
(GIF
file format
)
1886 --enable-pcx use pcx images
(PCX
file format
)
1887 --enable-tga use tga images
(TGA
file format
)
1888 --enable-iff use iff images
(IFF
file format
)
1889 --enable-pnm use pnm images
(PNM
file format
)
1890 --enable-xpm use xpm images
(XPM
file format
)
1891 --enable-ico_cur use Windows ICO and CUR formats
1892 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1893 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1894 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1895 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1896 --enable-wxdib use wxDIB class
(Win32 only
)
1897 --enable-autoidman use automatic ids management
1898 --disable-largefile omit support
for large files
1899 --disable-gtktest do not try to compile and run a
test GTK
+ program
1900 --disable-gtktest Do not try to compile and run a
test GTK program
1901 --disable-sdltest Do not try to compile and run a
test SDL program
1902 --enable-omf use OMF object format
(OS
/2)
1903 --disable-dependency-tracking
1904 don
't use dependency tracking even if the compiler
1906 --disable-precomp-headers
1907 don't use precompiled headers even
if compiler can
1910 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1911 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1912 --without-subdirs don
't generate makefiles for samples/demos/...
1913 --with-flavour=NAME specify a name to identify this build
1914 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1915 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1916 --with-motif use Motif/Lesstif
1917 --with-osx_carbon use Mac OS X (Carbon)
1918 --with-osx_cocoa use Mac OS X (Cocoa)
1919 --with-mac use Mac OS X (Default)
1920 --with-cocoa use Cocoa
1921 --with-wine use Wine
1922 --with-msw use MS-Windows
1923 --with-pm use OS/2 Presentation Manager
1924 --with-mgl use SciTech MGL
1925 --with-directfb use DirectFB
1926 --with-microwin use MicroWindows
1928 --with-libpng use libpng (PNG image format)
1929 --with-libjpeg use libjpeg (JPEG file format)
1930 --with-libtiff use libtiff (TIFF file format)
1931 --with-libxpm use libxpm (XPM file format)
1932 --with-libiconv use libiconv (character conversion)
1933 --with-libmspack use libmspack (CHM help files loading)
1934 --without-gtkprint don't use GTK printing support
1935 --without-gnomeprint don
't use GNOME printing libraries
1936 --with-gnomevfs use GNOME VFS for associating MIME types
1937 --with-hildon use Hildon framework for Nokia 770/800/810
1938 --with-opengl use OpenGL (or Mesa)
1939 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1940 --with-sdl use SDL for audio on Unix
1941 --with-regex enable support for wxRegEx class
1942 --with-zlib use zlib for LZW compression
1943 --with-expat enable XML support using expat parser
1944 --with-macosx-sdk=PATH use an OS X SDK at PATH
1945 --with-macosx-version-min=VER build binaries which require at least this OS X version
1946 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1947 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1948 --with-x use the X Window System
1949 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1950 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1951 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1952 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1953 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1955 Some influential environment variables:
1956 CC C compiler command
1957 CFLAGS C compiler flags
1958 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1959 nonstandard directory <lib dir>
1960 LIBS libraries to pass to the linker, e.g. -l<library>
1961 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1962 you have headers in a nonstandard directory <include dir>
1964 CXX C++ compiler command
1965 CXXFLAGS C++ compiler flags
1966 PKG_CONFIG path to pkg-config utility
1968 C compiler flags for DIRECTFB, overriding pkg-config
1970 linker flags for DIRECTFB, overriding pkg-config
1971 XMKMF Path to xmkmf, Makefile generator for X Window System
1973 C compiler flags for PANGOX, overriding pkg-config
1974 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1976 C compiler flags for PANGOFT2, overriding pkg-config
1978 linker flags for PANGOFT2, overriding pkg-config
1980 C compiler flags for PANGOXFT, overriding pkg-config
1982 linker flags for PANGOXFT, overriding pkg-config
1984 C compiler flags for GTKPRINT, overriding pkg-config
1986 linker flags for GTKPRINT, overriding pkg-config
1987 LIBGNOMEPRINTUI_CFLAGS
1988 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1989 LIBGNOMEPRINTUI_LIBS
1990 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1992 C compiler flags for GNOMEVFS, overriding pkg-config
1994 linker flags for GNOMEVFS, overriding pkg-config
1996 C compiler flags for HILDON, overriding pkg-config
1997 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1999 C compiler flags for HILDON2, overriding pkg-config
2001 linker flags for HILDON2, overriding pkg-config
2003 C compiler flags for CAIRO, overriding pkg-config
2004 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2005 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2006 GST_LIBS linker flags for GST, overriding pkg-config
2008 Use these variables to override the choices made by `configure' or to
help
2009 it to
find libraries and programs with nonstandard names
/locations.
2011 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2016 if test "$ac_init_help" = "recursive"; then
2017 # If there are subdirs, report their specific --help.
2018 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2019 test -d "$ac_dir" || continue
2023 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2025 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2026 # A ".." for each directory in $ac_dir_suffix.
2027 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2028 case $ac_top_builddir_sub in
2029 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2030 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2033 ac_abs_top_builddir
=$ac_pwd
2034 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2035 # for backward compatibility:
2036 ac_top_builddir
=$ac_top_build_prefix
2039 .
) # We are building in place.
2041 ac_top_srcdir
=$ac_top_builddir_sub
2042 ac_abs_top_srcdir
=$ac_pwd ;;
2043 [\\/]* | ?
:[\\/]* ) # Absolute name.
2044 ac_srcdir
=$srcdir$ac_dir_suffix;
2045 ac_top_srcdir
=$srcdir
2046 ac_abs_top_srcdir
=$srcdir ;;
2048 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2049 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2050 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2052 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2054 cd "$ac_dir" || { ac_status
=$?
; continue; }
2055 # Check for guested configure.
2056 if test -f "$ac_srcdir/configure.gnu"; then
2058 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2059 elif test -f "$ac_srcdir/configure"; then
2061 $SHELL "$ac_srcdir/configure" --help=recursive
2063 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2065 cd "$ac_pwd" || { ac_status
=$?
; break; }
2069 test -n "$ac_init_help" && exit $ac_status
2070 if $ac_init_version; then
2072 wxWidgets configure
2.9.1
2073 generated by GNU Autoconf
2.61
2075 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2076 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2077 This configure
script is free software
; the Free Software Foundation
2078 gives unlimited permission to copy
, distribute and modify it.
2082 cat >config.log
<<_ACEOF
2083 This file contains any messages produced by compilers while
2084 running configure, to aid debugging if configure makes a mistake.
2086 It was created by wxWidgets $as_me 2.9.1, which was
2087 generated by GNU Autoconf 2.61. Invocation command line was
2099 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2100 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2101 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2102 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2103 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2105 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2106 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2108 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2109 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2110 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2111 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2112 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2113 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2114 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2122 test -z "$as_dir" && as_dir
=.
2123 echo "PATH: $as_dir"
2139 # Keep a trace of the command line.
2140 # Strip out --no-create and --no-recursion so they do not pile up.
2141 # Strip out --silent because we don't want to record it for future runs.
2142 # Also quote any args containing shell meta-characters.
2143 # Make two passes to allow for proper duplicate-argument suppression.
2147 ac_must_keep_next
=false
2153 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2154 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2155 | -silent | --silent | --silen | --sile | --sil)
2158 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2161 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2163 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2164 if test $ac_must_keep_next = true
; then
2165 ac_must_keep_next
=false
# Got value, back to normal.
2168 *=* | --config-cache | -C | -disable-* | --disable-* \
2169 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2170 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2171 | -with-* | --with-* | -without-* | --without-* | --x)
2172 case "$ac_configure_args0 " in
2173 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2176 -* ) ac_must_keep_next
=true
;;
2179 ac_configure_args
="$ac_configure_args '$ac_arg'"
2184 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2185 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2187 # When interrupted or exit'd, cleanup temporary files, and complete
2188 # config.log. We remove comments because anyway the quotes in there
2189 # would cause problems or look ugly.
2190 # WARNING: Use '\'' to represent an apostrophe within the trap.
2191 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2192 trap 'exit_status=$?
2193 # Save into config.log some information that might help in debugging.
2198 ## ---------------- ##
2199 ## Cache variables. ##
2200 ## ---------------- ##
2203 # The following way of writing the cache mishandles newlines in values,
2205 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2206 eval ac_val=\$$ac_var
2210 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2211 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2214 _ | IFS | as_nl) ;; #(
2215 *) $as_unset $ac_var ;;
2220 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2221 *${as_nl}ac_space=\ *)
2223 "s/'\''/'\''\\\\'\'''\''/g;
2224 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2227 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2235 ## ----------------- ##
2236 ## Output variables. ##
2237 ## ----------------- ##
2240 for ac_var in $ac_subst_vars
2242 eval ac_val=\$$ac_var
2244 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2246 echo "$ac_var='\''$ac_val'\''"
2250 if test -n "$ac_subst_files"; then
2252 ## ------------------- ##
2253 ## File substitutions. ##
2254 ## ------------------- ##
2257 for ac_var
in $ac_subst_files
2259 eval ac_val
=\$
$ac_var
2261 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2263 echo "$ac_var='\''$ac_val'\''"
2268 if test -s confdefs.h; then
2278 test "$ac_signal" != 0 &&
2279 echo "$as_me: caught signal $ac_signal"
2280 echo "$as_me: exit $exit_status"
2282 rm -f core *.core core.conftest.* &&
2283 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2286 for ac_signal
in 1 2 13 15; do
2287 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2291 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2292 rm -f -r conftest
* confdefs.h
2294 # Predefined preprocessor variables.
2296 cat >>confdefs.h
<<_ACEOF
2297 #define PACKAGE_NAME "$PACKAGE_NAME"
2301 cat >>confdefs.h
<<_ACEOF
2302 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2306 cat >>confdefs.h
<<_ACEOF
2307 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2311 cat >>confdefs.h
<<_ACEOF
2312 #define PACKAGE_STRING "$PACKAGE_STRING"
2316 cat >>confdefs.h
<<_ACEOF
2317 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2321 # Let the site file select an alternate cache file if it wants to.
2322 # Prefer explicitly selected file to automatically selected ones.
2323 if test -n "$CONFIG_SITE"; then
2324 set x
"$CONFIG_SITE"
2325 elif test "x$prefix" != xNONE
; then
2326 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2328 set x
"$ac_default_prefix/share/config.site" \
2329 "$ac_default_prefix/etc/config.site"
2334 if test -r "$ac_site_file"; then
2335 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2336 echo "$as_me: loading site script $ac_site_file" >&6;}
2337 sed 's/^/| /' "$ac_site_file" >&5
2342 if test -r "$cache_file"; then
2343 # Some versions of bash will fail to source /dev/null (special
2344 # files actually), so we avoid doing that.
2345 if test -f "$cache_file"; then
2346 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2347 echo "$as_me: loading cache $cache_file" >&6;}
2349 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2350 *) .
"./$cache_file";;
2354 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2355 echo "$as_me: creating cache $cache_file" >&6;}
2359 # Check that the precious variables saved in the cache have kept the same
2361 ac_cache_corrupted
=false
2362 for ac_var
in $ac_precious_vars; do
2363 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2364 eval ac_new_set
=\
$ac_env_${ac_var}_set
2365 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2366 eval ac_new_val
=\
$ac_env_${ac_var}_value
2367 case $ac_old_set,$ac_new_set in
2369 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2370 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2371 ac_cache_corrupted
=: ;;
2373 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2374 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2375 ac_cache_corrupted
=: ;;
2378 if test "x$ac_old_val" != "x$ac_new_val"; then
2379 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2380 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2381 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2382 echo "$as_me: former value: $ac_old_val" >&2;}
2383 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2384 echo "$as_me: current value: $ac_new_val" >&2;}
2385 ac_cache_corrupted
=:
2388 # Pass precious variables to config.status.
2389 if test "$ac_new_set" = set; then
2391 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2392 *) ac_arg
=$ac_var=$ac_new_val ;;
2394 case " $ac_configure_args " in
2395 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2396 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2400 if $ac_cache_corrupted; then
2401 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2402 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2403 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2404 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2405 { (exit 1); exit 1; }; }
2433 ac_cpp
='$CPP $CPPFLAGS'
2434 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2435 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2436 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2443 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2444 if test -f "$ac_dir/install-sh"; then
2446 ac_install_sh
="$ac_aux_dir/install-sh -c"
2448 elif test -f "$ac_dir/install.sh"; then
2450 ac_install_sh
="$ac_aux_dir/install.sh -c"
2452 elif test -f "$ac_dir/shtool"; then
2454 ac_install_sh
="$ac_aux_dir/shtool install -c"
2458 if test -z "$ac_aux_dir"; then
2459 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2460 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2461 { (exit 1); exit 1; }; }
2464 # These three variables are undocumented and unsupported,
2465 # and are intended to be withdrawn in a future Autoconf release.
2466 # They can cause serious problems if a builder's source tree is in a directory
2467 # whose full name contains unusual characters.
2468 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2469 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2470 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2473 # Make sure we can run config.sub.
2474 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2475 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2476 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2477 { (exit 1); exit 1; }; }
2479 { echo "$as_me:$LINENO: checking build system type" >&5
2480 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2481 if test "${ac_cv_build+set}" = set; then
2482 echo $ECHO_N "(cached) $ECHO_C" >&6
2484 ac_build_alias
=$build_alias
2485 test "x$ac_build_alias" = x
&&
2486 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2487 test "x$ac_build_alias" = x
&&
2488 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2489 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2490 { (exit 1); exit 1; }; }
2491 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2492 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2493 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2494 { (exit 1); exit 1; }; }
2497 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2498 echo "${ECHO_T}$ac_cv_build" >&6; }
2499 case $ac_cv_build in
2501 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2502 echo "$as_me: error: invalid value of canonical build" >&2;}
2503 { (exit 1); exit 1; }; };;
2506 ac_save_IFS
=$IFS; IFS
='-'
2512 # Remember, the first character of IFS is used to create $*,
2513 # except with old shells:
2516 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2519 { echo "$as_me:$LINENO: checking host system type" >&5
2520 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2521 if test "${ac_cv_host+set}" = set; then
2522 echo $ECHO_N "(cached) $ECHO_C" >&6
2524 if test "x$host_alias" = x
; then
2525 ac_cv_host
=$ac_cv_build
2527 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2528 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2529 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2530 { (exit 1); exit 1; }; }
2534 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2535 echo "${ECHO_T}$ac_cv_host" >&6; }
2538 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2539 echo "$as_me: error: invalid value of canonical host" >&2;}
2540 { (exit 1); exit 1; }; };;
2543 ac_save_IFS
=$IFS; IFS
='-'
2549 # Remember, the first character of IFS is used to create $*,
2550 # except with old shells:
2553 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2557 if test "$cross_compiling" != "no"; then
2558 HOST_PREFIX
="${host_alias}-"
2559 HOST_SUFFIX
="-$host_alias"
2566 wx_major_version_number
=2
2567 wx_minor_version_number
=9
2569 wx_subrelease_number
=0
2571 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2572 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2573 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2575 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2578 wx_top_builddir
="`pwd`"
2591 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2597 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2603 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2605 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2607 DEFAULT_wxUSE_COCOA
=0
2609 DEFAULT_wxUSE_OSX_CARBON
=0
2610 DEFAULT_wxUSE_OSX_COCOA
=0
2612 DEFAULT_wxUSE_MICROWIN
=0
2613 DEFAULT_wxUSE_MOTIF
=0
2619 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2620 DEFAULT_DEFAULT_wxUSE_GTK
=0
2621 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2622 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2623 DEFAULT_DEFAULT_wxUSE_MGL
=0
2624 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2625 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2626 DEFAULT_DEFAULT_wxUSE_MSW
=0
2627 DEFAULT_DEFAULT_wxUSE_PM
=0
2628 DEFAULT_DEFAULT_wxUSE_X11
=0
2629 DEFAULT_DEFAULT_wxUSE_DFB
=0
2633 DYLIB_RPATH_INSTALL
=
2634 DYLIB_RPATH_POSTLINK
=
2636 DEFAULT_STD_FLAG
=yes
2641 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2642 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2643 cat >>confdefs.h
<<\_ACEOF
2648 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2652 cat >>confdefs.h
<<\_ACEOF
2657 if test "x$TMP" = "xalpha"; then
2659 cat >>confdefs.h
<<\_ACEOF
2664 DEFAULT_DEFAULT_wxUSE_GTK
=1
2666 *-*-gnu* | *-*-k*bsd
*-gnu )
2669 if test "x$TMP" = "xalpha"; then
2671 cat >>confdefs.h
<<\_ACEOF
2676 DEFAULT_DEFAULT_wxUSE_GTK
=1
2678 *-*-irix5* | *-*-irix6* )
2681 cat >>confdefs.h
<<\_ACEOF
2685 cat >>confdefs.h
<<\_ACEOF
2689 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2695 cat >>confdefs.h
<<\_ACEOF
2699 cat >>confdefs.h
<<\_ACEOF
2700 #define __SOLARIS__ 1
2703 cat >>confdefs.h
<<\_ACEOF
2707 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2708 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2714 cat >>confdefs.h
<<\_ACEOF
2718 cat >>confdefs.h
<<\_ACEOF
2722 cat >>confdefs.h
<<\_ACEOF
2726 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2731 cat >>confdefs.h
<<\_ACEOF
2732 #define __FREEBSD__ 1
2735 cat >>confdefs.h
<<\_ACEOF
2739 DEFAULT_DEFAULT_wxUSE_GTK
=1
2741 *-*-openbsd*|*-*-mirbsd*)
2744 cat >>confdefs.h
<<\_ACEOF
2745 #define __OPENBSD__ 1
2748 cat >>confdefs.h
<<\_ACEOF
2752 DEFAULT_DEFAULT_wxUSE_GTK
=1
2757 cat >>confdefs.h
<<\_ACEOF
2758 #define __NETBSD__ 1
2761 cat >>confdefs.h
<<\_ACEOF
2765 DEFAULT_DEFAULT_wxUSE_GTK
=1
2766 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2768 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2773 cat >>confdefs.h
<<\_ACEOF
2777 cat >>confdefs.h
<<\_ACEOF
2781 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2782 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2787 cat >>confdefs.h
<<\_ACEOF
2791 cat >>confdefs.h
<<\_ACEOF
2795 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2800 cat >>confdefs.h
<<\_ACEOF
2804 cat >>confdefs.h
<<\_ACEOF
2808 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2814 cat >>confdefs.h
<<\_ACEOF
2818 cat >>confdefs.h
<<\_ACEOF
2822 cat >>confdefs.h
<<\_ACEOF
2826 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2833 cat >>confdefs.h
<<\_ACEOF
2834 #define __UNIXWARE__ 1
2839 *-*-cygwin* | *-*-mingw32* )
2841 DEFAULT_DEFAULT_wxUSE_MSW
=1
2847 cat >>confdefs.h
<<\_ACEOF
2852 DEFAULT_DEFAULT_wxUSE_MGL
=1
2855 *-pc-os2_emx | *-pc-os2-emx )
2856 cat >>confdefs.h
<<\_ACEOF
2861 cat >>confdefs.h
<<\_ACEOF
2866 DEFAULT_DEFAULT_wxUSE_PM
=1
2868 LDFLAGS
="$LDFLAGS -Zcrtdll"
2869 ac_executable_extensions
=".exe"
2870 export ac_executable_extensions
2874 for ac_dir
in $PATH; do
2876 if test -z "$ac_TEMP_PATH"; then
2877 ac_TEMP_PATH
="$ac_dir"
2879 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2882 export PATH
="$ac_TEMP_PATH"
2890 cat >>confdefs.h
<<\_ACEOF
2894 cat >>confdefs.h
<<\_ACEOF
2895 #define __DARWIN__ 1
2898 cat >>confdefs.h
<<\_ACEOF
2899 #define TARGET_CARBON 1
2902 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2907 cat >>confdefs.h
<<\_ACEOF
2914 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2915 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2916 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2917 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2919 DEFAULT_DEFAULT_wxUSE_X11
=1
2920 DEFAULT_wxUSE_SHARED
=no
2925 DEFAULT_wxUSE_ALL_FEATURES
=yes
2927 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2928 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2930 DEFAULT_wxUSE_DMALLOC
=no
2931 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2932 DEFAULT_wxUSE_LIBHILDON
=no
2933 DEFAULT_wxUSE_LIBHILDON2
=no
2934 DEFAULT_wxUSE_LIBMSPACK
=no
2935 DEFAULT_wxUSE_LIBSDL
=no
2937 DEFAULT_wxUSE_ACCESSIBILITY
=no
2938 DEFAULT_wxUSE_IPV6
=no
2939 DEFAULT_wxUSE_GSTREAMER8
=no
2941 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2942 DEFAULT_wxUSE_OPENGL
=auto
2943 DEFAULT_wxUSE_MEDIACTRL
=auto
2944 DEFAULT_wxUSE_COMPILER_TLS
=auto
2946 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2948 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2950 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2952 DEFAULT_wxUSE_GTK2
=yes
2954 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2960 enablestring
=disable
2962 if test -z "$defaultval"; then
2963 if test x
"$enablestring" = xdisable
; then
2970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2971 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2972 # Check whether --enable-gui was given.
2973 if test "${enable_gui+set}" = set; then
2974 enableval
=$enable_gui;
2975 if test "$enableval" = yes; then
2976 wx_cv_use_gui
='wxUSE_GUI=yes'
2978 wx_cv_use_gui
='wxUSE_GUI=no'
2983 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2988 eval "$wx_cv_use_gui"
2990 if test x"$enablestring" = xdisable; then
2991 if test $wxUSE_GUI = no; then
3000 { echo "$as_me:$LINENO: result: $result" >&5
3001 echo "${ECHO_T}$result" >&6; }
3006 if test -z "$defaultval"; then
3007 if test x"$enablestring" = xdisable; then
3014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3015 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3016 # Check whether --enable-monolithic was given.
3017 if test "${enable_monolithic+set}" = set; then
3018 enableval=$enable_monolithic;
3019 if test "$enableval" = yes; then
3020 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3022 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3027 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3032 eval "$wx_cv_use_monolithic"
3034 if test x"$enablestring" = xdisable; then
3035 if test $wxUSE_MONOLITHIC = no; then
3041 result=$wxUSE_MONOLITHIC
3044 { echo "$as_me:$LINENO: result
: $result" >&5
3045 echo "${ECHO_T}$result" >&6; }
3050 if test -z "$defaultval"; then
3051 if test x"$enablestring" = xdisable; then
3058 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3059 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3060 # Check whether --enable-plugins was given.
3061 if test "${enable_plugins+set}" = set; then
3062 enableval=$enable_plugins;
3063 if test "$enableval" = yes; then
3064 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3066 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3071 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3076 eval "$wx_cv_use_plugins"
3078 if test x
"$enablestring" = xdisable
; then
3079 if test $wxUSE_PLUGINS = no
; then
3085 result
=$wxUSE_PLUGINS
3088 { echo "$as_me:$LINENO: result: $result" >&5
3089 echo "${ECHO_T}$result" >&6; }
3093 defaultval
=$wxUSE_ALL_FEATURES
3094 if test -z "$defaultval"; then
3095 if test x
"$withstring" = xwithout
; then
3101 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3102 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3104 # Check whether --with-subdirs was given.
3105 if test "${with_subdirs+set}" = set; then
3106 withval
=$with_subdirs;
3107 if test "$withval" = yes; then
3108 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3110 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3115 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3120 eval "$wx_cv_use_subdirs"
3122 if test x"$withstring" = xwithout; then
3123 if test $wxWITH_SUBDIRS = yes; then
3129 result=$wxWITH_SUBDIRS
3132 { echo "$as_me:$LINENO: result: $result" >&5
3133 echo "${ECHO_T}$result" >&6; }
3136 # Check whether --with-flavour was given.
3137 if test "${with_flavour+set}" = set; then
3138 withval=$with_flavour; WX_FLAVOUR="$withval"
3144 if test -z "$defaultval"; then
3145 if test x"$enablestring" = xdisable; then
3152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3153 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3154 # Check whether --enable-official_build was given.
3155 if test "${enable_official_build+set}" = set; then
3156 enableval=$enable_official_build;
3157 if test "$enableval" = yes; then
3158 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3160 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3165 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3170 eval "$wx_cv_use_official_build"
3172 if test x"$enablestring" = xdisable; then
3173 if test $wxUSE_OFFICIAL_BUILD = no; then
3179 result=$wxUSE_OFFICIAL_BUILD
3182 { echo "$as_me:$LINENO: result
: $result" >&5
3183 echo "${ECHO_T}$result" >&6; }
3185 # Check whether --enable-vendor was given.
3186 if test "${enable_vendor+set}" = set; then
3187 enableval=$enable_vendor; VENDOR="$enableval"
3190 if test "x
$VENDOR" = "x
"; then
3195 enablestring=disable
3197 if test -z "$defaultval"; then
3198 if test x"$enablestring" = xdisable; then
3205 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3206 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3207 # Check whether --enable-all-features was given.
3208 if test "${enable_all_features+set}" = set; then
3209 enableval=$enable_all_features;
3210 if test "$enableval" = yes; then
3211 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3213 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3218 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3223 eval "$wx_cv_use_all_features"
3225 if test x
"$enablestring" = xdisable
; then
3226 if test $wxUSE_ALL_FEATURES = no
; then
3232 result
=$wxUSE_ALL_FEATURES
3235 { echo "$as_me:$LINENO: result: $result" >&5
3236 echo "${ECHO_T}$result" >&6; }
3239 if test "$wxUSE_ALL_FEATURES" = "no"; then
3240 DEFAULT_wxUSE_MEDIACTRL
=no
3244 if test "$wxUSE_GUI" = "yes"; then
3249 if test -z "$defaultval"; then
3250 if test x
"$enablestring" = xdisable
; then
3257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3258 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3259 # Check whether --enable-universal was given.
3260 if test "${enable_universal+set}" = set; then
3261 enableval
=$enable_universal;
3262 if test "$enableval" = yes; then
3263 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3265 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3270 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3275 eval "$wx_cv_use_universal"
3277 if test x"$enablestring" = xdisable; then
3278 if test $wxUSE_UNIVERSAL = no; then
3284 result=$wxUSE_UNIVERSAL
3287 { echo "$as_me:$LINENO: result: $result" >&5
3288 echo "${ECHO_T}$result" >&6; }
3290 if test "$wxUSE_UNIVERSAL" = "yes"; then
3292 # Check whether --with-themes was given.
3293 if test "${with_themes+set}" = set; then
3294 withval=$with_themes; wxUNIV_THEMES="$withval"
3300 # Check whether --with-gtk was given.
3301 if test "${with_gtk+set}" = set; then
3302 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3306 # Check whether --with-motif was given.
3307 if test "${with_motif+set}" = set; then
3308 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3312 # Check whether --with-osx_carbon was given.
3313 if test "${with_osx_carbon+set}" = set; then
3314 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3318 # Check whether --with-osx_cocoa was given.
3319 if test "${with_osx_cocoa+set}" = set; then
3320 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3324 # Check whether --with-mac was given.
3325 if test "${with_mac+set}" = set; then
3326 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3330 # Check whether --with-cocoa was given.
3331 if test "${with_cocoa+set}" = set; then
3332 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3336 # Check whether --with-wine was given.
3337 if test "${with_wine+set}" = set; then
3338 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3342 # Check whether --with-msw was given.
3343 if test "${with_msw+set}" = set; then
3344 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3348 # Check whether --with-pm was given.
3349 if test "${with_pm+set}" = set; then
3350 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3354 # Check whether --with-mgl was given.
3355 if test "${with_mgl+set}" = set; then
3356 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3360 # Check whether --with-directfb was given.
3361 if test "${with_directfb+set}" = set; then
3362 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3366 # Check whether --with-microwin was given.
3367 if test "${with_microwin+set}" = set; then
3368 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3372 # Check whether --with-x11 was given.
3373 if test "${with_x11+set}" = set; then
3374 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3380 if test -z "$defaultval"; then
3381 if test x"$enablestring" = xdisable; then
3388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3389 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3390 # Check whether --enable-nanox was given.
3391 if test "${enable_nanox+set}" = set; then
3392 enableval=$enable_nanox;
3393 if test "$enableval" = yes; then
3394 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3396 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3401 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3406 eval "$wx_cv_use_nanox"
3408 if test x"$enablestring" = xdisable; then
3409 if test $wxUSE_NANOX = no; then
3418 { echo "$as_me:$LINENO: result
: $result" >&5
3419 echo "${ECHO_T}$result" >&6; }
3422 # Check whether --enable-gtk2 was given.
3423 if test "${enable_gtk2+set}" = set; then
3424 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3430 if test -z "$defaultval"; then
3431 if test x"$enablestring" = xdisable; then
3438 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3439 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3440 # Check whether --enable-gpe was given.
3441 if test "${enable_gpe+set}" = set; then
3442 enableval=$enable_gpe;
3443 if test "$enableval" = yes; then
3444 wx_cv_use_gpe='wxUSE_GPE=yes'
3446 wx_cv_use_gpe='wxUSE_GPE=no'
3451 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3456 eval "$wx_cv_use_gpe"
3458 if test x
"$enablestring" = xdisable
; then
3459 if test $wxUSE_GPE = no
; then
3468 { echo "$as_me:$LINENO: result: $result" >&5
3469 echo "${ECHO_T}$result" >&6; }
3473 { echo "$as_me:$LINENO: checking for toolkit" >&5
3474 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3478 # In Wine, we need to default to MSW, not GTK or MOTIF
3479 if test "$wxUSE_WINE" = "yes"; then
3480 DEFAULT_DEFAULT_wxUSE_GTK
=0
3481 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3482 DEFAULT_DEFAULT_wxUSE_MSW
=1
3489 if test "$wxUSE_GUI" = "yes"; then
3491 if test "$USE_BEOS" = 1; then
3492 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3493 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3494 { (exit 1); exit 1; }; }
3497 if test "$TOOLKIT_GIVEN" = 1; then
3498 for toolkit
in $ALL_TOOLKITS; do
3500 eval "value=\$${var}"
3501 if test "x$value" = "xno"; then
3503 elif test "x$value" != "x"; then
3507 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3508 eval "wx${toolkit}_VERSION=$value"
3512 for toolkit
in $ALL_TOOLKITS; do
3513 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3514 eval "wxUSE_$toolkit=\$${var}"
3518 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3519 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3520 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3523 *-pc-os2_emx | *-pc-os2-emx )
3524 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3527 case "$NUM_TOOLKITS" in
3531 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3532 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3533 { (exit 1); exit 1; }; }
3536 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3537 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3538 { (exit 1); exit 1; }; }
3541 # to be removed when --disable-gtk2 isn't needed
3542 if test "x$wxUSE_GTK2" = "xyes"; then
3544 elif test "x$wxUSE_GTK2" = "xno"; then
3548 for toolkit
in $ALL_TOOLKITS; do
3550 eval "value=\$${var}"
3551 if test "$value" = 1; then
3552 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3553 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3554 echo "${ECHO_T}$toolkit_echo" >&6; }
3558 if test "x$host_alias" != "x"; then
3559 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3560 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3562 { echo "$as_me:$LINENO: result: base only" >&5
3563 echo "${ECHO_T}base only" >&6; }
3568 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3574 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3575 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3577 # Check whether --with-libpng was given.
3578 if test "${with_libpng+set}" = set; then
3579 withval
=$with_libpng;
3580 if test "$withval" = yes; then
3581 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3582 elif test "$withval" = no
; then
3583 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3584 elif test "$withval" = sys
; then
3585 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3586 elif test "$withval" = builtin; then
3587 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3589 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3590 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3591 { (exit 1); exit 1; }; }
3596 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3601 eval "$wx_cv_use_libpng"
3603 if test "$wxUSE_LIBPNG" = yes; then
3604 { echo "$as_me:$LINENO: result: yes" >&5
3605 echo "${ECHO_T}yes" >&6; }
3606 elif test "$wxUSE_LIBPNG" = no; then
3607 { echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6; }
3609 elif test "$wxUSE_LIBPNG" = sys; then
3610 { echo "$as_me:$LINENO: result: system version" >&5
3611 echo "${ECHO_T}system version" >&6; }
3612 elif test "$wxUSE_LIBPNG" = builtin; then
3613 { echo "$as_me:$LINENO: result: builtin version" >&5
3614 echo "${ECHO_T}builtin version" >&6; }
3616 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3617 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3618 { (exit 1); exit 1; }; }
3622 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3623 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3625 # Check whether --with-libjpeg was given.
3626 if test "${with_libjpeg+set}" = set; then
3627 withval=$with_libjpeg;
3628 if test "$withval" = yes; then
3629 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3630 elif test "$withval" = no; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3632 elif test "$withval" = sys; then
3633 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3634 elif test "$withval" = builtin; then
3635 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3644 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3649 eval "$wx_cv_use_libjpeg"
3651 if test "$wxUSE_LIBJPEG" = yes; then
3652 { echo "$as_me:$LINENO: result
: yes" >&5
3653 echo "${ECHO_T}yes" >&6; }
3654 elif test "$wxUSE_LIBJPEG" = no; then
3655 { echo "$as_me:$LINENO: result
: no
" >&5
3656 echo "${ECHO_T}no
" >&6; }
3657 elif test "$wxUSE_LIBJPEG" = sys; then
3658 { echo "$as_me:$LINENO: result
: system version
" >&5
3659 echo "${ECHO_T}system version
" >&6; }
3660 elif test "$wxUSE_LIBJPEG" = builtin; then
3661 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3662 echo "${ECHO_T}builtin version
" >&6; }
3664 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3665 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3666 { (exit 1); exit 1; }; }
3670 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3671 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3673 # Check whether --with-libtiff was given.
3674 if test "${with_libtiff+set}" = set; then
3675 withval=$with_libtiff;
3676 if test "$withval" = yes; then
3677 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3678 elif test "$withval" = no; then
3679 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3680 elif test "$withval" = sys; then
3681 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3682 elif test "$withval" = builtin; then
3683 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3685 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3686 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3687 { (exit 1); exit 1; }; }
3692 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3697 eval "$wx_cv_use_libtiff"
3699 if test "$wxUSE_LIBTIFF" = yes; then
3700 { echo "$as_me:$LINENO: result: yes" >&5
3701 echo "${ECHO_T}yes" >&6; }
3702 elif test "$wxUSE_LIBTIFF" = no
; then
3703 { echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6; }
3705 elif test "$wxUSE_LIBTIFF" = sys
; then
3706 { echo "$as_me:$LINENO: result: system version" >&5
3707 echo "${ECHO_T}system version" >&6; }
3708 elif test "$wxUSE_LIBTIFF" = builtin; then
3709 { echo "$as_me:$LINENO: result: builtin version" >&5
3710 echo "${ECHO_T}builtin version" >&6; }
3712 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3713 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3714 { (exit 1); exit 1; }; }
3718 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3719 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3721 # Check whether --with-libxpm was given.
3722 if test "${with_libxpm+set}" = set; then
3723 withval
=$with_libxpm;
3724 if test "$withval" = yes; then
3725 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3726 elif test "$withval" = no
; then
3727 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3728 elif test "$withval" = sys
; then
3729 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3730 elif test "$withval" = builtin; then
3731 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3734 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3735 { (exit 1); exit 1; }; }
3740 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3745 eval "$wx_cv_use_libxpm"
3747 if test "$wxUSE_LIBXPM" = yes; then
3748 { echo "$as_me:$LINENO: result: yes" >&5
3749 echo "${ECHO_T}yes" >&6; }
3750 elif test "$wxUSE_LIBXPM" = no; then
3751 { echo "$as_me:$LINENO: result: no" >&5
3752 echo "${ECHO_T}no" >&6; }
3753 elif test "$wxUSE_LIBXPM" = sys; then
3754 { echo "$as_me:$LINENO: result: system version" >&5
3755 echo "${ECHO_T}system version" >&6; }
3756 elif test "$wxUSE_LIBXPM" = builtin; then
3757 { echo "$as_me:$LINENO: result: builtin version" >&5
3758 echo "${ECHO_T}builtin version" >&6; }
3760 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3761 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3762 { (exit 1); exit 1; }; }
3767 defaultval=$wxUSE_ALL_FEATURES
3768 if test -z "$defaultval"; then
3769 if test x"$withstring" = xwithout; then
3775 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3776 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3778 # Check whether --with-libiconv was given.
3779 if test "${with_libiconv+set}" = set; then
3780 withval=$with_libiconv;
3781 if test "$withval" = yes; then
3782 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3784 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3789 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3794 eval "$wx_cv_use_libiconv"
3796 if test x"$withstring" = xwithout; then
3797 if test $wxUSE_LIBICONV = yes; then
3803 result=$wxUSE_LIBICONV
3806 { echo "$as_me:$LINENO: result
: $result" >&5
3807 echo "${ECHO_T}$result" >&6; }
3811 defaultval=$wxUSE_ALL_FEATURES
3812 if test -z "$defaultval"; then
3813 if test x"$withstring" = xwithout; then
3819 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3820 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3822 # Check whether --with-libmspack was given.
3823 if test "${with_libmspack+set}" = set; then
3824 withval=$with_libmspack;
3825 if test "$withval" = yes; then
3826 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3828 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3833 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3838 eval "$wx_cv_use_libmspack"
3840 if test x
"$withstring" = xwithout
; then
3841 if test $wxUSE_LIBMSPACK = yes; then
3847 result
=$wxUSE_LIBMSPACK
3850 { echo "$as_me:$LINENO: result: $result" >&5
3851 echo "${ECHO_T}$result" >&6; }
3855 defaultval
=$wxUSE_ALL_FEATURES
3856 if test -z "$defaultval"; then
3857 if test x
"$withstring" = xwithout
; then
3863 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3864 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3866 # Check whether --with-gtkprint was given.
3867 if test "${with_gtkprint+set}" = set; then
3868 withval
=$with_gtkprint;
3869 if test "$withval" = yes; then
3870 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3872 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3877 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3882 eval "$wx_cv_use_gtkprint"
3884 if test x"$withstring" = xwithout; then
3885 if test $wxUSE_GTKPRINT = yes; then
3891 result=$wxUSE_GTKPRINT
3894 { echo "$as_me:$LINENO: result: $result" >&5
3895 echo "${ECHO_T}$result" >&6; }
3899 defaultval=$wxUSE_ALL_FEATURES
3900 if test -z "$defaultval"; then
3901 if test x"$withstring" = xwithout; then
3907 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3908 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3910 # Check whether --with-gnomeprint was given.
3911 if test "${with_gnomeprint+set}" = set; then
3912 withval=$with_gnomeprint;
3913 if test "$withval" = yes; then
3914 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3916 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3921 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3926 eval "$wx_cv_use_gnomeprint"
3928 if test x"$withstring" = xwithout; then
3929 if test $wxUSE_LIBGNOMEPRINT = yes; then
3935 result=$wxUSE_LIBGNOMEPRINT
3938 { echo "$as_me:$LINENO: result
: $result" >&5
3939 echo "${ECHO_T}$result" >&6; }
3943 defaultval=$wxUSE_ALL_FEATURES
3944 if test -z "$defaultval"; then
3945 if test x"$withstring" = xwithout; then
3951 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3952 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3954 # Check whether --with-gnomevfs was given.
3955 if test "${with_gnomevfs+set}" = set; then
3956 withval=$with_gnomevfs;
3957 if test "$withval" = yes; then
3958 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3960 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3965 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3970 eval "$wx_cv_use_gnomevfs"
3972 if test x
"$withstring" = xwithout
; then
3973 if test $wxUSE_LIBGNOMEVFS = yes; then
3979 result
=$wxUSE_LIBGNOMEVFS
3982 { echo "$as_me:$LINENO: result: $result" >&5
3983 echo "${ECHO_T}$result" >&6; }
3987 defaultval
=$wxUSE_ALL_FEATURES
3988 if test -z "$defaultval"; then
3989 if test x
"$withstring" = xwithout
; then
3995 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3996 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3998 # Check whether --with-hildon was given.
3999 if test "${with_hildon+set}" = set; then
4000 withval
=$with_hildon;
4001 if test "$withval" = yes; then
4002 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4004 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4009 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4014 eval "$wx_cv_use_hildon"
4016 if test x"$withstring" = xwithout; then
4017 if test $wxUSE_LIBHILDON = yes; then
4023 result=$wxUSE_LIBHILDON
4026 { echo "$as_me:$LINENO: result: $result" >&5
4027 echo "${ECHO_T}$result" >&6; }
4031 defaultval=$wxUSE_ALL_FEATURES
4032 if test -z "$defaultval"; then
4033 if test x"$withstring" = xwithout; then
4039 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4040 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4042 # Check whether --with-opengl was given.
4043 if test "${with_opengl+set}" = set; then
4044 withval=$with_opengl;
4045 if test "$withval" = yes; then
4046 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4048 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4053 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4058 eval "$wx_cv_use_opengl"
4060 if test x"$withstring" = xwithout; then
4061 if test $wxUSE_OPENGL = yes; then
4067 result=$wxUSE_OPENGL
4070 { echo "$as_me:$LINENO: result
: $result" >&5
4071 echo "${ECHO_T}$result" >&6; }
4078 defaultval=$wxUSE_ALL_FEATURES
4079 if test -z "$defaultval"; then
4080 if test x"$withstring" = xwithout; then
4086 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4087 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4089 # Check whether --with-dmalloc was given.
4090 if test "${with_dmalloc+set}" = set; then
4091 withval=$with_dmalloc;
4092 if test "$withval" = yes; then
4093 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4095 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4100 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4105 eval "$wx_cv_use_dmalloc"
4107 if test x
"$withstring" = xwithout
; then
4108 if test $wxUSE_DMALLOC = yes; then
4114 result
=$wxUSE_DMALLOC
4117 { echo "$as_me:$LINENO: result: $result" >&5
4118 echo "${ECHO_T}$result" >&6; }
4122 defaultval
=$wxUSE_ALL_FEATURES
4123 if test -z "$defaultval"; then
4124 if test x
"$withstring" = xwithout
; then
4130 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4131 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4133 # Check whether --with-sdl was given.
4134 if test "${with_sdl+set}" = set; then
4136 if test "$withval" = yes; then
4137 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4139 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4144 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4149 eval "$wx_cv_use_sdl"
4151 if test x"$withstring" = xwithout; then
4152 if test $wxUSE_LIBSDL = yes; then
4158 result=$wxUSE_LIBSDL
4161 { echo "$as_me:$LINENO: result: $result" >&5
4162 echo "${ECHO_T}$result" >&6; }
4165 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4166 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4168 # Check whether --with-regex was given.
4169 if test "${with_regex+set}" = set; then
4170 withval=$with_regex;
4171 if test "$withval" = yes; then
4172 wx_cv_use_regex='wxUSE_REGEX
=yes'
4173 elif test "$withval" = no; then
4174 wx_cv_use_regex='wxUSE_REGEX
=no
'
4175 elif test "$withval" = sys; then
4176 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4177 elif test "$withval" = builtin; then
4178 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4180 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4181 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4182 { (exit 1); exit 1; }; }
4187 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4192 eval "$wx_cv_use_regex"
4194 if test "$wxUSE_REGEX" = yes; then
4195 { echo "$as_me:$LINENO: result
: yes" >&5
4196 echo "${ECHO_T}yes" >&6; }
4197 elif test "$wxUSE_REGEX" = no; then
4198 { echo "$as_me:$LINENO: result
: no
" >&5
4199 echo "${ECHO_T}no
" >&6; }
4200 elif test "$wxUSE_REGEX" = sys; then
4201 { echo "$as_me:$LINENO: result
: system version
" >&5
4202 echo "${ECHO_T}system version
" >&6; }
4203 elif test "$wxUSE_REGEX" = builtin; then
4204 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4205 echo "${ECHO_T}builtin version
" >&6; }
4207 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4208 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4209 { (exit 1); exit 1; }; }
4213 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4214 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4216 # Check whether --with-zlib was given.
4217 if test "${with_zlib+set}" = set; then
4219 if test "$withval" = yes; then
4220 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4221 elif test "$withval" = no; then
4222 wx_cv_use_zlib='wxUSE_ZLIB=no'
4223 elif test "$withval" = sys; then
4224 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4225 elif test "$withval" = builtin; then
4226 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4228 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4229 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4230 { (exit 1); exit 1; }; }
4235 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4240 eval "$wx_cv_use_zlib"
4242 if test "$wxUSE_ZLIB" = yes; then
4243 { echo "$as_me:$LINENO: result: yes" >&5
4244 echo "${ECHO_T}yes" >&6; }
4245 elif test "$wxUSE_ZLIB" = no
; then
4246 { echo "$as_me:$LINENO: result: no" >&5
4247 echo "${ECHO_T}no" >&6; }
4248 elif test "$wxUSE_ZLIB" = sys
; then
4249 { echo "$as_me:$LINENO: result: system version" >&5
4250 echo "${ECHO_T}system version" >&6; }
4251 elif test "$wxUSE_ZLIB" = builtin; then
4252 { echo "$as_me:$LINENO: result: builtin version" >&5
4253 echo "${ECHO_T}builtin version" >&6; }
4255 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4256 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4257 { (exit 1); exit 1; }; }
4261 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4262 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4264 # Check whether --with-expat was given.
4265 if test "${with_expat+set}" = set; then
4266 withval
=$with_expat;
4267 if test "$withval" = yes; then
4268 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4269 elif test "$withval" = no
; then
4270 wx_cv_use_expat
='wxUSE_EXPAT=no'
4271 elif test "$withval" = sys
; then
4272 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4273 elif test "$withval" = builtin; then
4274 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4276 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4277 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4278 { (exit 1); exit 1; }; }
4283 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4288 eval "$wx_cv_use_expat"
4290 if test "$wxUSE_EXPAT" = yes; then
4291 { echo "$as_me:$LINENO: result: yes" >&5
4292 echo "${ECHO_T}yes" >&6; }
4293 elif test "$wxUSE_EXPAT" = no; then
4294 { echo "$as_me:$LINENO: result: no" >&5
4295 echo "${ECHO_T}no" >&6; }
4296 elif test "$wxUSE_EXPAT" = sys; then
4297 { echo "$as_me:$LINENO: result: system version" >&5
4298 echo "${ECHO_T}system version" >&6; }
4299 elif test "$wxUSE_EXPAT" = builtin; then
4300 { echo "$as_me:$LINENO: result: builtin version" >&5
4301 echo "${ECHO_T}builtin version" >&6; }
4303 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4304 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4305 { (exit 1); exit 1; }; }
4309 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4310 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4312 # Check whether --with-macosx-sdk was given.
4313 if test "${with_macosx_sdk+set}" = set; then
4314 withval=$with_macosx_sdk;
4315 wxUSE_MACOSX_SDK=$withval
4316 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4320 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4321 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4323 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4324 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4326 # Check whether --with-macosx-version-min was given.
4327 if test "${with_macosx_version_min+set}" = set; then
4328 withval=$with_macosx_version_min;
4329 wxUSE_MACOSX_VERSION_MIN=$withval
4330 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4334 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4335 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4338 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4339 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4340 # Check whether --enable-debug was given.
4341 if test "${enable_debug+set}" = set; then
4342 enableval=$enable_debug;
4343 if test "$enableval" = yes; then
4345 elif test "$enableval" = no; then
4347 elif test "$enableval" = max; then
4349 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4351 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4352 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4353 { (exit 1); exit 1; }; }
4362 case "$wxUSE_DEBUG" in
4364 DEFAULT_wxUSE_DEBUG_FLAG=yes
4365 DEFAULT_wxUSE_DEBUG_INFO=yes
4367 DEFAULT_wxUSE_OPTIMISE=no
4371 DEFAULT_wxUSE_DEBUG_FLAG=no
4372 DEFAULT_wxUSE_DEBUG_INFO=no
4376 DEFAULT_wxUSE_DEBUG_FLAG=yes
4377 DEFAULT_wxUSE_DEBUG_INFO=no
4382 enablestring=disable
4384 if test -z "$defaultval"; then
4385 if test x"$enablestring" = xdisable; then
4392 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4393 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4394 # Check whether --enable-debug_flag was given.
4395 if test "${enable_debug_flag+set}" = set; then
4396 enableval=$enable_debug_flag;
4397 if test "$enableval" = yes; then
4398 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4400 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4405 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4410 eval "$wx_cv_use_debug_flag"
4412 if test x"$enablestring" = xdisable; then
4413 if test $wxUSE_DEBUG_FLAG = no; then
4419 result=$wxUSE_DEBUG_FLAG
4422 { echo "$as_me:$LINENO: result
: $result" >&5
4423 echo "${ECHO_T}$result" >&6; }
4428 if test -z "$defaultval"; then
4429 if test x"$enablestring" = xdisable; then
4436 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4437 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4438 # Check whether --enable-debug_info was given.
4439 if test "${enable_debug_info+set}" = set; then
4440 enableval=$enable_debug_info;
4441 if test "$enableval" = yes; then
4442 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4444 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4449 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4454 eval "$wx_cv_use_debug_info"
4456 if test x
"$enablestring" = xdisable
; then
4457 if test $wxUSE_DEBUG_INFO = no
; then
4463 result
=$wxUSE_DEBUG_INFO
4466 { echo "$as_me:$LINENO: result: $result" >&5
4467 echo "${ECHO_T}$result" >&6; }
4474 if test -z "$defaultval"; then
4475 if test x
"$enablestring" = xdisable
; then
4482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4483 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4484 # Check whether --enable-debug_gdb was given.
4485 if test "${enable_debug_gdb+set}" = set; then
4486 enableval
=$enable_debug_gdb;
4487 if test "$enableval" = yes; then
4488 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4490 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4495 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4500 eval "$wx_cv_use_debug_gdb"
4502 if test x"$enablestring" = xdisable; then
4503 if test $wxUSE_DEBUG_GDB = no; then
4509 result=$wxUSE_DEBUG_GDB
4512 { echo "$as_me:$LINENO: result: $result" >&5
4513 echo "${ECHO_T}$result" >&6; }
4518 if test -z "$defaultval"; then
4519 if test x"$enablestring" = xdisable; then
4526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4527 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4528 # Check whether --enable-debug_cntxt was given.
4529 if test "${enable_debug_cntxt+set}" = set; then
4530 enableval=$enable_debug_cntxt;
4531 if test "$enableval" = yes; then
4532 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4534 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4539 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4544 eval "$wx_cv_use_debug_cntxt"
4546 if test x"$enablestring" = xdisable; then
4547 if test $wxUSE_DEBUG_CONTEXT = no; then
4553 result=$wxUSE_DEBUG_CONTEXT
4556 { echo "$as_me:$LINENO: result
: $result" >&5
4557 echo "${ECHO_T}$result" >&6; }
4562 if test -z "$defaultval"; then
4563 if test x"$enablestring" = xdisable; then
4570 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4571 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4572 # Check whether --enable-mem_tracing was given.
4573 if test "${enable_mem_tracing+set}" = set; then
4574 enableval=$enable_mem_tracing;
4575 if test "$enableval" = yes; then
4576 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4578 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4583 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4588 eval "$wx_cv_use_mem_tracing"
4590 if test x
"$enablestring" = xdisable
; then
4591 if test $wxUSE_MEM_TRACING = no
; then
4597 result
=$wxUSE_MEM_TRACING
4600 { echo "$as_me:$LINENO: result: $result" >&5
4601 echo "${ECHO_T}$result" >&6; }
4606 enablestring
=disable
4608 if test -z "$defaultval"; then
4609 if test x
"$enablestring" = xdisable
; then
4616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4617 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4618 # Check whether --enable-shared was given.
4619 if test "${enable_shared+set}" = set; then
4620 enableval
=$enable_shared;
4621 if test "$enableval" = yes; then
4622 wx_cv_use_shared
='wxUSE_SHARED=yes'
4624 wx_cv_use_shared
='wxUSE_SHARED=no'
4629 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4634 eval "$wx_cv_use_shared"
4636 if test x"$enablestring" = xdisable; then
4637 if test $wxUSE_SHARED = no; then
4643 result=$wxUSE_SHARED
4646 { echo "$as_me:$LINENO: result: $result" >&5
4647 echo "${ECHO_T}$result" >&6; }
4652 if test -z "$defaultval"; then
4653 if test x"$enablestring" = xdisable; then
4660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4662 # Check whether --enable-stl was given.
4663 if test "${enable_stl+set}" = set; then
4664 enableval=$enable_stl;
4665 if test "$enableval" = yes; then
4666 wx_cv_use_stl='wxUSE_STL
=yes'
4668 wx_cv_use_stl='wxUSE_STL
=no
'
4673 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4678 eval "$wx_cv_use_stl"
4680 if test x"$enablestring" = xdisable; then
4681 if test $wxUSE_STL = no; then
4690 { echo "$as_me:$LINENO: result
: $result" >&5
4691 echo "${ECHO_T}$result" >&6; }
4696 if test -z "$defaultval"; then
4697 if test x"$enablestring" = xdisable; then
4704 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_iostreams" >&5
4705 echo $ECHO_N "checking
for --${enablestring:-enable}-std_iostreams...
$ECHO_C" >&6; }
4706 # Check whether --enable-std_iostreams was given.
4707 if test "${enable_std_iostreams+set}" = set; then
4708 enableval=$enable_std_iostreams;
4709 if test "$enableval" = yes; then
4710 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4712 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4717 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4722 eval "$wx_cv_use_std_iostreams"
4724 if test x
"$enablestring" = xdisable
; then
4725 if test $wxUSE_STD_IOSTREAM = no
; then
4731 result
=$wxUSE_STD_IOSTREAM
4734 { echo "$as_me:$LINENO: result: $result" >&5
4735 echo "${ECHO_T}$result" >&6; }
4740 if test -z "$defaultval"; then
4741 if test x
"$enablestring" = xdisable
; then
4748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4749 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4750 # Check whether --enable-std_string was given.
4751 if test "${enable_std_string+set}" = set; then
4752 enableval
=$enable_std_string;
4753 if test "$enableval" = yes; then
4754 wx_cv_use_std_string
='wxUSE_STD_STRING=yes'
4756 wx_cv_use_std_string
='wxUSE_STD_STRING=no'
4761 wx_cv_use_std_string
='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4766 eval "$wx_cv_use_std_string"
4768 if test x"$enablestring" = xdisable; then
4769 if test $wxUSE_STD_STRING = no; then
4775 result=$wxUSE_STD_STRING
4778 { echo "$as_me:$LINENO: result: $result" >&5
4779 echo "${ECHO_T}$result" >&6; }
4782 enablestring=disable
4784 if test -z "$defaultval"; then
4785 if test x"$enablestring" = xdisable; then
4792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4793 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4794 # Check whether --enable-unicode was given.
4795 if test "${enable_unicode+set}" = set; then
4796 enableval=$enable_unicode;
4797 if test "$enableval" = yes; then
4798 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
4800 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
4805 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4810 eval "$wx_cv_use_unicode"
4812 if test x"$enablestring" = xdisable; then
4813 if test $wxUSE_UNICODE = no; then
4819 result=$wxUSE_UNICODE
4822 { echo "$as_me:$LINENO: result
: $result" >&5
4823 echo "${ECHO_T}$result" >&6; }
4828 if test -z "$defaultval"; then
4829 if test x"$enablestring" = xdisable; then
4836 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mslu" >&5
4837 echo $ECHO_N "checking
for --${enablestring:-enable}-mslu...
$ECHO_C" >&6; }
4838 # Check whether --enable-mslu was given.
4839 if test "${enable_mslu+set}" = set; then
4840 enableval=$enable_mslu;
4841 if test "$enableval" = yes; then
4842 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4844 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4849 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4854 eval "$wx_cv_use_mslu"
4856 if test x
"$enablestring" = xdisable
; then
4857 if test $wxUSE_UNICODE_MSLU = no
; then
4863 result
=$wxUSE_UNICODE_MSLU
4866 { echo "$as_me:$LINENO: result: $result" >&5
4867 echo "${ECHO_T}$result" >&6; }
4871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4872 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4873 # Check whether --enable-utf8 was given.
4874 if test "${enable_utf8+set}" = set; then
4875 enableval
=$enable_utf8;
4876 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
4880 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4885 eval "$wx_cv_use_utf8"
4887 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4888 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4893 if test -z "$defaultval"; then
4894 if test x
"$enablestring" = xdisable
; then
4901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4902 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4903 # Check whether --enable-utf8only was given.
4904 if test "${enable_utf8only+set}" = set; then
4905 enableval
=$enable_utf8only;
4906 if test "$enableval" = yes; then
4907 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
4909 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
4914 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4919 eval "$wx_cv_use_utf8only"
4921 if test x"$enablestring" = xdisable; then
4922 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
4928 result=$wxUSE_UNICODE_UTF8_LOCALE
4931 { echo "$as_me:$LINENO: result: $result" >&5
4932 echo "${ECHO_T}$result" >&6; }
4937 if test -z "$defaultval"; then
4938 if test x"$enablestring" = xdisable; then
4945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4947 # Check whether --enable-extended_rtti was given.
4948 if test "${enable_extended_rtti+set}" = set; then
4949 enableval=$enable_extended_rtti;
4950 if test "$enableval" = yes; then
4951 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
4953 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
4958 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4963 eval "$wx_cv_use_extended_rtti"
4965 if test x"$enablestring" = xdisable; then
4966 if test $wxUSE_EXTENDED_RTTI = no; then
4972 result=$wxUSE_EXTENDED_RTTI
4975 { echo "$as_me:$LINENO: result
: $result" >&5
4976 echo "${ECHO_T}$result" >&6; }
4978 if test "$USE_OS2" = 1; then
4979 DEFAULT_wxUSE_OMF=no
4983 if test -z "$defaultval"; then
4984 if test x"$enablestring" = xdisable; then
4991 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-omf" >&5
4992 echo $ECHO_N "checking
for --${enablestring:-enable}-omf...
$ECHO_C" >&6; }
4993 # Check whether --enable-omf was given.
4994 if test "${enable_omf+set}" = set; then
4995 enableval=$enable_omf;
4996 if test "$enableval" = yes; then
4997 wx_cv_use_omf='wxUSE_OMF=yes'
4999 wx_cv_use_omf='wxUSE_OMF=no'
5004 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5009 eval "$wx_cv_use_omf"
5011 if test x
"$enablestring" = xdisable
; then
5012 if test $wxUSE_OMF = no
; then
5021 { echo "$as_me:$LINENO: result: $result" >&5
5022 echo "${ECHO_T}$result" >&6; }
5027 enablestring
=disable
5029 if test -z "$defaultval"; then
5030 if test x
"$enablestring" = xdisable
; then
5037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5038 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5039 # Check whether --enable-optimise was given.
5040 if test "${enable_optimise+set}" = set; then
5041 enableval
=$enable_optimise;
5042 if test "$enableval" = yes; then
5043 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
5045 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
5050 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5055 eval "$wx_cv_use_optimise"
5057 if test x"$enablestring" = xdisable; then
5058 if test $wxUSE_OPTIMISE = no; then
5064 result=$wxUSE_OPTIMISE
5067 { echo "$as_me:$LINENO: result: $result" >&5
5068 echo "${ECHO_T}$result" >&6; }
5074 if test -z "$defaultval"; then
5075 if test x"$enablestring" = xdisable; then
5082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5083 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5084 # Check whether --enable-profile was given.
5085 if test "${enable_profile+set}" = set; then
5086 enableval=$enable_profile;
5087 if test "$enableval" = yes; then
5088 wx_cv_use_profile='wxUSE_PROFILE
=yes'
5090 wx_cv_use_profile='wxUSE_PROFILE
=no
'
5095 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5100 eval "$wx_cv_use_profile"
5102 if test x"$enablestring" = xdisable; then
5103 if test $wxUSE_PROFILE = no; then
5109 result=$wxUSE_PROFILE
5112 { echo "$as_me:$LINENO: result
: $result" >&5
5113 echo "${ECHO_T}$result" >&6; }
5118 if test -z "$defaultval"; then
5119 if test x"$enablestring" = xdisable; then
5126 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_rtti" >&5
5127 echo $ECHO_N "checking
for --${enablestring:-enable}-no_rtti...
$ECHO_C" >&6; }
5128 # Check whether --enable-no_rtti was given.
5129 if test "${enable_no_rtti+set}" = set; then
5130 enableval=$enable_no_rtti;
5131 if test "$enableval" = yes; then
5132 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5134 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5139 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5144 eval "$wx_cv_use_no_rtti"
5146 if test x
"$enablestring" = xdisable
; then
5147 if test $wxUSE_NO_RTTI = no
; then
5153 result
=$wxUSE_NO_RTTI
5156 { echo "$as_me:$LINENO: result: $result" >&5
5157 echo "${ECHO_T}$result" >&6; }
5162 if test -z "$defaultval"; then
5163 if test x
"$enablestring" = xdisable
; then
5170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5172 # Check whether --enable-no_exceptions was given.
5173 if test "${enable_no_exceptions+set}" = set; then
5174 enableval
=$enable_no_exceptions;
5175 if test "$enableval" = yes; then
5176 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
5178 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
5183 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5188 eval "$wx_cv_use_no_exceptions"
5190 if test x"$enablestring" = xdisable; then
5191 if test $wxUSE_NO_EXCEPTIONS = no; then
5197 result=$wxUSE_NO_EXCEPTIONS
5200 { echo "$as_me:$LINENO: result: $result" >&5
5201 echo "${ECHO_T}$result" >&6; }
5206 if test -z "$defaultval"; then
5207 if test x"$enablestring" = xdisable; then
5214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5215 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5216 # Check whether --enable-permissive was given.
5217 if test "${enable_permissive+set}" = set; then
5218 enableval=$enable_permissive;
5219 if test "$enableval" = yes; then
5220 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
5222 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
5227 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5232 eval "$wx_cv_use_permissive"
5234 if test x"$enablestring" = xdisable; then
5235 if test $wxUSE_PERMISSIVE = no; then
5241 result=$wxUSE_PERMISSIVE
5244 { echo "$as_me:$LINENO: result
: $result" >&5
5245 echo "${ECHO_T}$result" >&6; }
5250 if test -z "$defaultval"; then
5251 if test x"$enablestring" = xdisable; then
5258 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_deps" >&5
5259 echo $ECHO_N "checking
for --${enablestring:-enable}-no_deps...
$ECHO_C" >&6; }
5260 # Check whether --enable-no_deps was given.
5261 if test "${enable_no_deps+set}" = set; then
5262 enableval=$enable_no_deps;
5263 if test "$enableval" = yes; then
5264 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5266 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5271 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5276 eval "$wx_cv_use_no_deps"
5278 if test x
"$enablestring" = xdisable
; then
5279 if test $wxUSE_NO_DEPS = no
; then
5285 result
=$wxUSE_NO_DEPS
5288 { echo "$as_me:$LINENO: result: $result" >&5
5289 echo "${ECHO_T}$result" >&6; }
5292 enablestring
=disable
5294 if test -z "$defaultval"; then
5295 if test x
"$enablestring" = xdisable
; then
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5304 # Check whether --enable-vararg_macros was given.
5305 if test "${enable_vararg_macros+set}" = set; then
5306 enableval
=$enable_vararg_macros;
5307 if test "$enableval" = yes; then
5308 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
5310 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
5315 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5320 eval "$wx_cv_use_vararg_macros"
5322 if test x"$enablestring" = xdisable; then
5323 if test $wxUSE_VARARG_MACROS = no; then
5329 result=$wxUSE_VARARG_MACROS
5332 { echo "$as_me:$LINENO: result: $result" >&5
5333 echo "${ECHO_T}$result" >&6; }
5337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5339 # Check whether --enable-universal_binary was given.
5340 if test "${enable_universal_binary+set}" = set; then
5341 enableval=$enable_universal_binary;
5342 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5346 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5351 eval "$wx_cv_use_universal_binary"
5353 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5354 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5360 if test -z "$defaultval"; then
5361 if test x"$enablestring" = xdisable; then
5368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5369 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5370 # Check whether --enable-compat26 was given.
5371 if test "${enable_compat26+set}" = set; then
5372 enableval=$enable_compat26;
5373 if test "$enableval" = yes; then
5374 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
5376 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
5381 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5386 eval "$wx_cv_use_compat26"
5388 if test x"$enablestring" = xdisable; then
5389 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5395 result=$WXWIN_COMPATIBILITY_2_6
5398 { echo "$as_me:$LINENO: result
: $result" >&5
5399 echo "${ECHO_T}$result" >&6; }
5402 enablestring=disable
5404 if test -z "$defaultval"; then
5405 if test x"$enablestring" = xdisable; then
5412 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat28" >&5
5413 echo $ECHO_N "checking
for --${enablestring:-enable}-compat28...
$ECHO_C" >&6; }
5414 # Check whether --enable-compat28 was given.
5415 if test "${enable_compat28+set}" = set; then
5416 enableval=$enable_compat28;
5417 if test "$enableval" = yes; then
5418 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5420 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5425 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5430 eval "$wx_cv_use_compat28"
5432 if test x
"$enablestring" = xdisable
; then
5433 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
5439 result
=$WXWIN_COMPATIBILITY_2_8
5442 { echo "$as_me:$LINENO: result: $result" >&5
5443 echo "${ECHO_T}$result" >&6; }
5447 enablestring
=disable
5449 if test -z "$defaultval"; then
5450 if test x
"$enablestring" = xdisable
; then
5457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5459 # Check whether --enable-rpath was given.
5460 if test "${enable_rpath+set}" = set; then
5461 enableval
=$enable_rpath;
5462 if test "$enableval" = yes; then
5463 wx_cv_use_rpath
='wxUSE_RPATH=yes'
5465 wx_cv_use_rpath
='wxUSE_RPATH=no'
5470 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5475 eval "$wx_cv_use_rpath"
5477 if test x"$enablestring" = xdisable; then
5478 if test $wxUSE_RPATH = no; then
5487 { echo "$as_me:$LINENO: result: $result" >&5
5488 echo "${ECHO_T}$result" >&6; }
5494 if test -z "$defaultval"; then
5495 if test x"$enablestring" = xdisable; then
5502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5504 # Check whether --enable-objc_uniquifying was given.
5505 if test "${enable_objc_uniquifying+set}" = set; then
5506 enableval=$enable_objc_uniquifying;
5507 if test "$enableval" = yes; then
5508 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
5510 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
5515 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5520 eval "$wx_cv_use_objc_uniquifying"
5522 if test x"$enablestring" = xdisable; then
5523 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5529 result=$wxUSE_OBJC_UNIQUIFYING
5532 { echo "$as_me:$LINENO: result
: $result" >&5
5533 echo "${ECHO_T}$result" >&6; }
5537 enablestring=disable
5539 if test -z "$defaultval"; then
5540 if test x"$enablestring" = xdisable; then
5547 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-visibility" >&5
5548 echo $ECHO_N "checking
for --${enablestring:-enable}-visibility...
$ECHO_C" >&6; }
5549 # Check whether --enable-visibility was given.
5550 if test "${enable_visibility+set}" = set; then
5551 enableval=$enable_visibility;
5552 if test "$enableval" = yes; then
5553 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5555 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5560 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5565 eval "$wx_cv_use_visibility"
5567 if test x
"$enablestring" = xdisable
; then
5568 if test $wxUSE_VISIBILITY = no
; then
5574 result
=$wxUSE_VISIBILITY
5577 { echo "$as_me:$LINENO: result: $result" >&5
5578 echo "${ECHO_T}$result" >&6; }
5581 enablestring
=disable
5583 if test -z "$defaultval"; then
5584 if test x
"$enablestring" = xdisable
; then
5591 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5592 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5593 # Check whether --enable-tls was given.
5594 if test "${enable_tls+set}" = set; then
5595 enableval
=$enable_tls;
5596 if test "$enableval" = yes; then
5597 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
5599 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
5604 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5609 eval "$wx_cv_use_tls"
5611 if test x"$enablestring" = xdisable; then
5612 if test $wxUSE_COMPILER_TLS = no; then
5618 result=$wxUSE_COMPILER_TLS
5621 { echo "$as_me:$LINENO: result: $result" >&5
5622 echo "${ECHO_T}$result" >&6; }
5628 defaultval=$wxUSE_ALL_FEATURES
5629 if test -z "$defaultval"; then
5630 if test x"$enablestring" = xdisable; then
5637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5638 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5639 # Check whether --enable-intl was given.
5640 if test "${enable_intl+set}" = set; then
5641 enableval=$enable_intl;
5642 if test "$enableval" = yes; then
5643 wx_cv_use_intl='wxUSE_INTL
=yes'
5645 wx_cv_use_intl='wxUSE_INTL
=no
'
5650 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5655 eval "$wx_cv_use_intl"
5657 if test x"$enablestring" = xdisable; then
5658 if test $wxUSE_INTL = no; then
5667 { echo "$as_me:$LINENO: result
: $result" >&5
5668 echo "${ECHO_T}$result" >&6; }
5672 defaultval=$wxUSE_ALL_FEATURES
5673 if test -z "$defaultval"; then
5674 if test x"$enablestring" = xdisable; then
5681 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5682 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5683 # Check whether --enable-xlocale was given.
5684 if test "${enable_xlocale+set}" = set; then
5685 enableval=$enable_xlocale;
5686 if test "$enableval" = yes; then
5687 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5689 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5694 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5699 eval "$wx_cv_use_xlocale"
5701 if test x
"$enablestring" = xdisable
; then
5702 if test $wxUSE_XLOCALE = no
; then
5708 result
=$wxUSE_XLOCALE
5711 { echo "$as_me:$LINENO: result: $result" >&5
5712 echo "${ECHO_T}$result" >&6; }
5716 defaultval
=$wxUSE_ALL_FEATURES
5717 if test -z "$defaultval"; then
5718 if test x
"$enablestring" = xdisable
; then
5725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5726 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5727 # Check whether --enable-config was given.
5728 if test "${enable_config+set}" = set; then
5729 enableval
=$enable_config;
5730 if test "$enableval" = yes; then
5731 wx_cv_use_config
='wxUSE_CONFIG=yes'
5733 wx_cv_use_config
='wxUSE_CONFIG=no'
5738 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5743 eval "$wx_cv_use_config"
5745 if test x"$enablestring" = xdisable; then
5746 if test $wxUSE_CONFIG = no; then
5752 result=$wxUSE_CONFIG
5755 { echo "$as_me:$LINENO: result: $result" >&5
5756 echo "${ECHO_T}$result" >&6; }
5761 defaultval=$wxUSE_ALL_FEATURES
5762 if test -z "$defaultval"; then
5763 if test x"$enablestring" = xdisable; then
5770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5771 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5772 # Check whether --enable-protocols was given.
5773 if test "${enable_protocols+set}" = set; then
5774 enableval=$enable_protocols;
5775 if test "$enableval" = yes; then
5776 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5778 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5783 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5788 eval "$wx_cv_use_protocols"
5790 if test x"$enablestring" = xdisable; then
5791 if test $wxUSE_PROTOCOL = no; then
5797 result=$wxUSE_PROTOCOL
5800 { echo "$as_me:$LINENO: result
: $result" >&5
5801 echo "${ECHO_T}$result" >&6; }
5805 defaultval=$wxUSE_ALL_FEATURES
5806 if test -z "$defaultval"; then
5807 if test x"$enablestring" = xdisable; then
5814 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5815 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5816 # Check whether --enable-ftp was given.
5817 if test "${enable_ftp+set}" = set; then
5818 enableval=$enable_ftp;
5819 if test "$enableval" = yes; then
5820 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5822 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5827 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5832 eval "$wx_cv_use_ftp"
5834 if test x
"$enablestring" = xdisable
; then
5835 if test $wxUSE_PROTOCOL_FTP = no
; then
5841 result
=$wxUSE_PROTOCOL_FTP
5844 { echo "$as_me:$LINENO: result: $result" >&5
5845 echo "${ECHO_T}$result" >&6; }
5849 defaultval
=$wxUSE_ALL_FEATURES
5850 if test -z "$defaultval"; then
5851 if test x
"$enablestring" = xdisable
; then
5858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5859 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5860 # Check whether --enable-http was given.
5861 if test "${enable_http+set}" = set; then
5862 enableval
=$enable_http;
5863 if test "$enableval" = yes; then
5864 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5866 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5871 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5876 eval "$wx_cv_use_http"
5878 if test x"$enablestring" = xdisable; then
5879 if test $wxUSE_PROTOCOL_HTTP = no; then
5885 result=$wxUSE_PROTOCOL_HTTP
5888 { echo "$as_me:$LINENO: result: $result" >&5
5889 echo "${ECHO_T}$result" >&6; }
5893 defaultval=$wxUSE_ALL_FEATURES
5894 if test -z "$defaultval"; then
5895 if test x"$enablestring" = xdisable; then
5902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5903 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5904 # Check whether --enable-fileproto was given.
5905 if test "${enable_fileproto+set}" = set; then
5906 enableval=$enable_fileproto;
5907 if test "$enableval" = yes; then
5908 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5910 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5915 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5920 eval "$wx_cv_use_fileproto"
5922 if test x"$enablestring" = xdisable; then
5923 if test $wxUSE_PROTOCOL_FILE = no; then
5929 result=$wxUSE_PROTOCOL_FILE
5932 { echo "$as_me:$LINENO: result
: $result" >&5
5933 echo "${ECHO_T}$result" >&6; }
5937 defaultval=$wxUSE_ALL_FEATURES
5938 if test -z "$defaultval"; then
5939 if test x"$enablestring" = xdisable; then
5946 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5947 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5948 # Check whether --enable-sockets was given.
5949 if test "${enable_sockets+set}" = set; then
5950 enableval=$enable_sockets;
5951 if test "$enableval" = yes; then
5952 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5954 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5959 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5964 eval "$wx_cv_use_sockets"
5966 if test x
"$enablestring" = xdisable
; then
5967 if test $wxUSE_SOCKETS = no
; then
5973 result
=$wxUSE_SOCKETS
5976 { echo "$as_me:$LINENO: result: $result" >&5
5977 echo "${ECHO_T}$result" >&6; }
5981 defaultval
=$wxUSE_ALL_FEATURES
5982 if test -z "$defaultval"; then
5983 if test x
"$enablestring" = xdisable
; then
5990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5992 # Check whether --enable-ipv6 was given.
5993 if test "${enable_ipv6+set}" = set; then
5994 enableval
=$enable_ipv6;
5995 if test "$enableval" = yes; then
5996 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5998 wx_cv_use_ipv6
='wxUSE_IPV6=no'
6003 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6008 eval "$wx_cv_use_ipv6"
6010 if test x"$enablestring" = xdisable; then
6011 if test $wxUSE_IPV6 = no; then
6020 { echo "$as_me:$LINENO: result: $result" >&5
6021 echo "${ECHO_T}$result" >&6; }
6025 defaultval=$wxUSE_ALL_FEATURES
6026 if test -z "$defaultval"; then
6027 if test x"$enablestring" = xdisable; then
6034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6036 # Check whether --enable-ole was given.
6037 if test "${enable_ole+set}" = set; then
6038 enableval=$enable_ole;
6039 if test "$enableval" = yes; then
6040 wx_cv_use_ole='wxUSE_OLE
=yes'
6042 wx_cv_use_ole='wxUSE_OLE
=no
'
6047 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6052 eval "$wx_cv_use_ole"
6054 if test x"$enablestring" = xdisable; then
6055 if test $wxUSE_OLE = no; then
6064 { echo "$as_me:$LINENO: result
: $result" >&5
6065 echo "${ECHO_T}$result" >&6; }
6069 defaultval=$wxUSE_ALL_FEATURES
6070 if test -z "$defaultval"; then
6071 if test x"$enablestring" = xdisable; then
6078 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6079 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6080 # Check whether --enable-dataobj was given.
6081 if test "${enable_dataobj+set}" = set; then
6082 enableval=$enable_dataobj;
6083 if test "$enableval" = yes; then
6084 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6086 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6091 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6096 eval "$wx_cv_use_dataobj"
6098 if test x
"$enablestring" = xdisable
; then
6099 if test $wxUSE_DATAOBJ = no
; then
6105 result
=$wxUSE_DATAOBJ
6108 { echo "$as_me:$LINENO: result: $result" >&5
6109 echo "${ECHO_T}$result" >&6; }
6114 defaultval
=$wxUSE_ALL_FEATURES
6115 if test -z "$defaultval"; then
6116 if test x
"$enablestring" = xdisable
; then
6123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6124 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6125 # Check whether --enable-ipc was given.
6126 if test "${enable_ipc+set}" = set; then
6127 enableval
=$enable_ipc;
6128 if test "$enableval" = yes; then
6129 wx_cv_use_ipc
='wxUSE_IPC=yes'
6131 wx_cv_use_ipc
='wxUSE_IPC=no'
6136 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6141 eval "$wx_cv_use_ipc"
6143 if test x"$enablestring" = xdisable; then
6144 if test $wxUSE_IPC = no; then
6153 { echo "$as_me:$LINENO: result: $result" >&5
6154 echo "${ECHO_T}$result" >&6; }
6159 defaultval=$wxUSE_ALL_FEATURES
6160 if test -z "$defaultval"; then
6161 if test x"$enablestring" = xdisable; then
6168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6169 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6170 # Check whether --enable-baseevtloop was given.
6171 if test "${enable_baseevtloop+set}" = set; then
6172 enableval=$enable_baseevtloop;
6173 if test "$enableval" = yes; then
6174 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6176 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6181 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6186 eval "$wx_cv_use_baseevtloop"
6188 if test x"$enablestring" = xdisable; then
6189 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6195 result=$wxUSE_CONSOLE_EVENTLOOP
6198 { echo "$as_me:$LINENO: result
: $result" >&5
6199 echo "${ECHO_T}$result" >&6; }
6203 defaultval=$wxUSE_ALL_FEATURES
6204 if test -z "$defaultval"; then
6205 if test x"$enablestring" = xdisable; then
6212 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6213 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6214 # Check whether --enable-epollloop was given.
6215 if test "${enable_epollloop+set}" = set; then
6216 enableval=$enable_epollloop;
6217 if test "$enableval" = yes; then
6218 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6220 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6225 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6230 eval "$wx_cv_use_epollloop"
6232 if test x
"$enablestring" = xdisable
; then
6233 if test $wxUSE_EPOLL_DISPATCHER = no
; then
6239 result
=$wxUSE_EPOLL_DISPATCHER
6242 { echo "$as_me:$LINENO: result: $result" >&5
6243 echo "${ECHO_T}$result" >&6; }
6247 defaultval
=$wxUSE_ALL_FEATURES
6248 if test -z "$defaultval"; then
6249 if test x
"$enablestring" = xdisable
; then
6256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6257 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6258 # Check whether --enable-selectloop was given.
6259 if test "${enable_selectloop+set}" = set; then
6260 enableval
=$enable_selectloop;
6261 if test "$enableval" = yes; then
6262 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6264 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6269 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6274 eval "$wx_cv_use_selectloop"
6276 if test x"$enablestring" = xdisable; then
6277 if test $wxUSE_SELECT_DISPATCHER = no; then
6283 result=$wxUSE_SELECT_DISPATCHER
6286 { echo "$as_me:$LINENO: result: $result" >&5
6287 echo "${ECHO_T}$result" >&6; }
6292 defaultval=$wxUSE_ALL_FEATURES
6293 if test -z "$defaultval"; then
6294 if test x"$enablestring" = xdisable; then
6301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6303 # Check whether --enable-any was given.
6304 if test "${enable_any+set}" = set; then
6305 enableval=$enable_any;
6306 if test "$enableval" = yes; then
6307 wx_cv_use_any='wxUSE_ANY
=yes'
6309 wx_cv_use_any='wxUSE_ANY
=no
'
6314 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6319 eval "$wx_cv_use_any"
6321 if test x"$enablestring" = xdisable; then
6322 if test $wxUSE_ANY = no; then
6331 { echo "$as_me:$LINENO: result
: $result" >&5
6332 echo "${ECHO_T}$result" >&6; }
6336 defaultval=$wxUSE_ALL_FEATURES
6337 if test -z "$defaultval"; then
6338 if test x"$enablestring" = xdisable; then
6345 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-apple_ieee" >&5
6346 echo $ECHO_N "checking
for --${enablestring:-enable}-apple_ieee...
$ECHO_C" >&6; }
6347 # Check whether --enable-apple_ieee was given.
6348 if test "${enable_apple_ieee+set}" = set; then
6349 enableval=$enable_apple_ieee;
6350 if test "$enableval" = yes; then
6351 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6353 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6358 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6363 eval "$wx_cv_use_apple_ieee"
6365 if test x
"$enablestring" = xdisable
; then
6366 if test $wxUSE_APPLE_IEEE = no
; then
6372 result
=$wxUSE_APPLE_IEEE
6375 { echo "$as_me:$LINENO: result: $result" >&5
6376 echo "${ECHO_T}$result" >&6; }
6380 defaultval
=$wxUSE_ALL_FEATURES
6381 if test -z "$defaultval"; then
6382 if test x
"$enablestring" = xdisable
; then
6389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6391 # Check whether --enable-arcstream was given.
6392 if test "${enable_arcstream+set}" = set; then
6393 enableval
=$enable_arcstream;
6394 if test "$enableval" = yes; then
6395 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
6397 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
6402 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6407 eval "$wx_cv_use_arcstream"
6409 if test x"$enablestring" = xdisable; then
6410 if test $wxUSE_ARCHIVE_STREAMS = no; then
6416 result=$wxUSE_ARCHIVE_STREAMS
6419 { echo "$as_me:$LINENO: result: $result" >&5
6420 echo "${ECHO_T}$result" >&6; }
6424 defaultval=$wxUSE_ALL_FEATURES
6425 if test -z "$defaultval"; then
6426 if test x"$enablestring" = xdisable; then
6433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6434 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6435 # Check whether --enable-base64 was given.
6436 if test "${enable_base64+set}" = set; then
6437 enableval=$enable_base64;
6438 if test "$enableval" = yes; then
6439 wx_cv_use_base64='wxUSE_BASE64
=yes'
6441 wx_cv_use_base64='wxUSE_BASE64
=no
'
6446 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6451 eval "$wx_cv_use_base64"
6453 if test x"$enablestring" = xdisable; then
6454 if test $wxUSE_BASE64 = no; then
6460 result=$wxUSE_BASE64
6463 { echo "$as_me:$LINENO: result
: $result" >&5
6464 echo "${ECHO_T}$result" >&6; }
6468 defaultval=$wxUSE_ALL_FEATURES
6469 if test -z "$defaultval"; then
6470 if test x"$enablestring" = xdisable; then
6477 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-backtrace" >&5
6478 echo $ECHO_N "checking
for --${enablestring:-enable}-backtrace...
$ECHO_C" >&6; }
6479 # Check whether --enable-backtrace was given.
6480 if test "${enable_backtrace+set}" = set; then
6481 enableval=$enable_backtrace;
6482 if test "$enableval" = yes; then
6483 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6485 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6490 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6495 eval "$wx_cv_use_backtrace"
6497 if test x
"$enablestring" = xdisable
; then
6498 if test $wxUSE_STACKWALKER = no
; then
6504 result
=$wxUSE_STACKWALKER
6507 { echo "$as_me:$LINENO: result: $result" >&5
6508 echo "${ECHO_T}$result" >&6; }
6512 defaultval
=$wxUSE_ALL_FEATURES
6513 if test -z "$defaultval"; then
6514 if test x
"$enablestring" = xdisable
; then
6521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6522 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6523 # Check whether --enable-catch_segvs was given.
6524 if test "${enable_catch_segvs+set}" = set; then
6525 enableval
=$enable_catch_segvs;
6526 if test "$enableval" = yes; then
6527 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
6529 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
6534 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6539 eval "$wx_cv_use_catch_segvs"
6541 if test x"$enablestring" = xdisable; then
6542 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6548 result=$wxUSE_ON_FATAL_EXCEPTION
6551 { echo "$as_me:$LINENO: result: $result" >&5
6552 echo "${ECHO_T}$result" >&6; }
6556 defaultval=$wxUSE_ALL_FEATURES
6557 if test -z "$defaultval"; then
6558 if test x"$enablestring" = xdisable; then
6565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6566 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6567 # Check whether --enable-cmdline was given.
6568 if test "${enable_cmdline+set}" = set; then
6569 enableval=$enable_cmdline;
6570 if test "$enableval" = yes; then
6571 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
6573 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
6578 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6583 eval "$wx_cv_use_cmdline"
6585 if test x"$enablestring" = xdisable; then
6586 if test $wxUSE_CMDLINE_PARSER = no; then
6592 result=$wxUSE_CMDLINE_PARSER
6595 { echo "$as_me:$LINENO: result
: $result" >&5
6596 echo "${ECHO_T}$result" >&6; }
6600 defaultval=$wxUSE_ALL_FEATURES
6601 if test -z "$defaultval"; then
6602 if test x"$enablestring" = xdisable; then
6609 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datetime" >&5
6610 echo $ECHO_N "checking
for --${enablestring:-enable}-datetime...
$ECHO_C" >&6; }
6611 # Check whether --enable-datetime was given.
6612 if test "${enable_datetime+set}" = set; then
6613 enableval=$enable_datetime;
6614 if test "$enableval" = yes; then
6615 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6617 wx_cv_use_datetime='wxUSE_DATETIME=no'
6622 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6627 eval "$wx_cv_use_datetime"
6629 if test x
"$enablestring" = xdisable
; then
6630 if test $wxUSE_DATETIME = no
; then
6636 result
=$wxUSE_DATETIME
6639 { echo "$as_me:$LINENO: result: $result" >&5
6640 echo "${ECHO_T}$result" >&6; }
6644 defaultval
=$wxUSE_ALL_FEATURES
6645 if test -z "$defaultval"; then
6646 if test x
"$enablestring" = xdisable
; then
6653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6654 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6655 # Check whether --enable-debugreport was given.
6656 if test "${enable_debugreport+set}" = set; then
6657 enableval
=$enable_debugreport;
6658 if test "$enableval" = yes; then
6659 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
6661 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
6666 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6671 eval "$wx_cv_use_debugreport"
6673 if test x"$enablestring" = xdisable; then
6674 if test $wxUSE_DEBUGREPORT = no; then
6680 result=$wxUSE_DEBUGREPORT
6683 { echo "$as_me:$LINENO: result: $result" >&5
6684 echo "${ECHO_T}$result" >&6; }
6688 defaultval=$wxUSE_ALL_FEATURES
6689 if test -z "$defaultval"; then
6690 if test x"$enablestring" = xdisable; then
6697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6698 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6699 # Check whether --enable-dialupman was given.
6700 if test "${enable_dialupman+set}" = set; then
6701 enableval=$enable_dialupman;
6702 if test "$enableval" = yes; then
6703 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
6705 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
6710 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6715 eval "$wx_cv_use_dialupman"
6717 if test x"$enablestring" = xdisable; then
6718 if test $wxUSE_DIALUP_MANAGER = no; then
6724 result=$wxUSE_DIALUP_MANAGER
6727 { echo "$as_me:$LINENO: result
: $result" >&5
6728 echo "${ECHO_T}$result" >&6; }
6732 defaultval=$wxUSE_ALL_FEATURES
6733 if test -z "$defaultval"; then
6734 if test x"$enablestring" = xdisable; then
6741 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynlib" >&5
6742 echo $ECHO_N "checking
for --${enablestring:-enable}-dynlib...
$ECHO_C" >&6; }
6743 # Check whether --enable-dynlib was given.
6744 if test "${enable_dynlib+set}" = set; then
6745 enableval=$enable_dynlib;
6746 if test "$enableval" = yes; then
6747 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6749 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6754 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6759 eval "$wx_cv_use_dynlib"
6761 if test x
"$enablestring" = xdisable
; then
6762 if test $wxUSE_DYNLIB_CLASS = no
; then
6768 result
=$wxUSE_DYNLIB_CLASS
6771 { echo "$as_me:$LINENO: result: $result" >&5
6772 echo "${ECHO_T}$result" >&6; }
6776 defaultval
=$wxUSE_ALL_FEATURES
6777 if test -z "$defaultval"; then
6778 if test x
"$enablestring" = xdisable
; then
6785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6786 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6787 # Check whether --enable-dynamicloader was given.
6788 if test "${enable_dynamicloader+set}" = set; then
6789 enableval
=$enable_dynamicloader;
6790 if test "$enableval" = yes; then
6791 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
6793 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
6798 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6803 eval "$wx_cv_use_dynamicloader"
6805 if test x"$enablestring" = xdisable; then
6806 if test $wxUSE_DYNAMIC_LOADER = no; then
6812 result=$wxUSE_DYNAMIC_LOADER
6815 { echo "$as_me:$LINENO: result: $result" >&5
6816 echo "${ECHO_T}$result" >&6; }
6820 defaultval=$wxUSE_ALL_FEATURES
6821 if test -z "$defaultval"; then
6822 if test x"$enablestring" = xdisable; then
6829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6831 # Check whether --enable-exceptions was given.
6832 if test "${enable_exceptions+set}" = set; then
6833 enableval=$enable_exceptions;
6834 if test "$enableval" = yes; then
6835 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
6837 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
6842 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6847 eval "$wx_cv_use_exceptions"
6849 if test x"$enablestring" = xdisable; then
6850 if test $wxUSE_EXCEPTIONS = no; then
6856 result=$wxUSE_EXCEPTIONS
6859 { echo "$as_me:$LINENO: result
: $result" >&5
6860 echo "${ECHO_T}$result" >&6; }
6864 defaultval=$wxUSE_ALL_FEATURES
6865 if test -z "$defaultval"; then
6866 if test x"$enablestring" = xdisable; then
6873 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ffile" >&5
6874 echo $ECHO_N "checking
for --${enablestring:-enable}-ffile...
$ECHO_C" >&6; }
6875 # Check whether --enable-ffile was given.
6876 if test "${enable_ffile+set}" = set; then
6877 enableval=$enable_ffile;
6878 if test "$enableval" = yes; then
6879 wx_cv_use_ffile='wxUSE_FFILE=yes'
6881 wx_cv_use_ffile='wxUSE_FFILE=no'
6886 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6891 eval "$wx_cv_use_ffile"
6893 if test x
"$enablestring" = xdisable
; then
6894 if test $wxUSE_FFILE = no
; then
6903 { echo "$as_me:$LINENO: result: $result" >&5
6904 echo "${ECHO_T}$result" >&6; }
6908 defaultval
=$wxUSE_ALL_FEATURES
6909 if test -z "$defaultval"; then
6910 if test x
"$enablestring" = xdisable
; then
6917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6918 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6919 # Check whether --enable-file was given.
6920 if test "${enable_file+set}" = set; then
6921 enableval
=$enable_file;
6922 if test "$enableval" = yes; then
6923 wx_cv_use_file
='wxUSE_FILE=yes'
6925 wx_cv_use_file
='wxUSE_FILE=no'
6930 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6935 eval "$wx_cv_use_file"
6937 if test x"$enablestring" = xdisable; then
6938 if test $wxUSE_FILE = no; then
6947 { echo "$as_me:$LINENO: result: $result" >&5
6948 echo "${ECHO_T}$result" >&6; }
6952 defaultval=$wxUSE_ALL_FEATURES
6953 if test -z "$defaultval"; then
6954 if test x"$enablestring" = xdisable; then
6961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6962 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6963 # Check whether --enable-filesystem was given.
6964 if test "${enable_filesystem+set}" = set; then
6965 enableval=$enable_filesystem;
6966 if test "$enableval" = yes; then
6967 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
6969 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
6974 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6979 eval "$wx_cv_use_filesystem"
6981 if test x"$enablestring" = xdisable; then
6982 if test $wxUSE_FILESYSTEM = no; then
6988 result=$wxUSE_FILESYSTEM
6991 { echo "$as_me:$LINENO: result
: $result" >&5
6992 echo "${ECHO_T}$result" >&6; }
6996 defaultval=$wxUSE_ALL_FEATURES
6997 if test -z "$defaultval"; then
6998 if test x"$enablestring" = xdisable; then
7005 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7006 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7007 # Check whether --enable-fontenum was given.
7008 if test "${enable_fontenum+set}" = set; then
7009 enableval=$enable_fontenum;
7010 if test "$enableval" = yes; then
7011 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7013 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7018 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7023 eval "$wx_cv_use_fontenum"
7025 if test x
"$enablestring" = xdisable
; then
7026 if test $wxUSE_FONTENUM = no
; then
7032 result
=$wxUSE_FONTENUM
7035 { echo "$as_me:$LINENO: result: $result" >&5
7036 echo "${ECHO_T}$result" >&6; }
7040 defaultval
=$wxUSE_ALL_FEATURES
7041 if test -z "$defaultval"; then
7042 if test x
"$enablestring" = xdisable
; then
7049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7050 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7051 # Check whether --enable-fontmap was given.
7052 if test "${enable_fontmap+set}" = set; then
7053 enableval
=$enable_fontmap;
7054 if test "$enableval" = yes; then
7055 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7057 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7062 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7067 eval "$wx_cv_use_fontmap"
7069 if test x"$enablestring" = xdisable; then
7070 if test $wxUSE_FONTMAP = no; then
7076 result=$wxUSE_FONTMAP
7079 { echo "$as_me:$LINENO: result: $result" >&5
7080 echo "${ECHO_T}$result" >&6; }
7084 defaultval=$wxUSE_ALL_FEATURES
7085 if test -z "$defaultval"; then
7086 if test x"$enablestring" = xdisable; then
7093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7094 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7095 # Check whether --enable-fs_archive was given.
7096 if test "${enable_fs_archive+set}" = set; then
7097 enableval=$enable_fs_archive;
7098 if test "$enableval" = yes; then
7099 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7101 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7106 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7111 eval "$wx_cv_use_fs_archive"
7113 if test x"$enablestring" = xdisable; then
7114 if test $wxUSE_FS_ARCHIVE = no; then
7120 result=$wxUSE_FS_ARCHIVE
7123 { echo "$as_me:$LINENO: result
: $result" >&5
7124 echo "${ECHO_T}$result" >&6; }
7128 defaultval=$wxUSE_ALL_FEATURES
7129 if test -z "$defaultval"; then
7130 if test x"$enablestring" = xdisable; then
7137 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7138 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7139 # Check whether --enable-fs_inet was given.
7140 if test "${enable_fs_inet+set}" = set; then
7141 enableval=$enable_fs_inet;
7142 if test "$enableval" = yes; then
7143 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7145 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7150 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7155 eval "$wx_cv_use_fs_inet"
7157 if test x
"$enablestring" = xdisable
; then
7158 if test $wxUSE_FS_INET = no
; then
7164 result
=$wxUSE_FS_INET
7167 { echo "$as_me:$LINENO: result: $result" >&5
7168 echo "${ECHO_T}$result" >&6; }
7172 defaultval
=$wxUSE_ALL_FEATURES
7173 if test -z "$defaultval"; then
7174 if test x
"$enablestring" = xdisable
; then
7181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7182 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7183 # Check whether --enable-fs_zip was given.
7184 if test "${enable_fs_zip+set}" = set; then
7185 enableval
=$enable_fs_zip;
7186 if test "$enableval" = yes; then
7187 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7189 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7194 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7199 eval "$wx_cv_use_fs_zip"
7201 if test x"$enablestring" = xdisable; then
7202 if test $wxUSE_FS_ZIP = no; then
7208 result=$wxUSE_FS_ZIP
7211 { echo "$as_me:$LINENO: result: $result" >&5
7212 echo "${ECHO_T}$result" >&6; }
7216 defaultval=$wxUSE_ALL_FEATURES
7217 if test -z "$defaultval"; then
7218 if test x"$enablestring" = xdisable; then
7225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7226 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7227 # Check whether --enable-fswatcher was given.
7228 if test "${enable_fswatcher+set}" = set; then
7229 enableval=$enable_fswatcher;
7230 if test "$enableval" = yes; then
7231 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7233 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7238 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7243 eval "$wx_cv_use_fswatcher"
7245 if test x"$enablestring" = xdisable; then
7246 if test $wxUSE_FSWATCHER = no; then
7252 result=$wxUSE_FSWATCHER
7255 { echo "$as_me:$LINENO: result
: $result" >&5
7256 echo "${ECHO_T}$result" >&6; }
7260 defaultval=$wxUSE_ALL_FEATURES
7261 if test -z "$defaultval"; then
7262 if test x"$enablestring" = xdisable; then
7269 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7270 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7271 # Check whether --enable-geometry was given.
7272 if test "${enable_geometry+set}" = set; then
7273 enableval=$enable_geometry;
7274 if test "$enableval" = yes; then
7275 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7277 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7282 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7287 eval "$wx_cv_use_geometry"
7289 if test x
"$enablestring" = xdisable
; then
7290 if test $wxUSE_GEOMETRY = no
; then
7296 result
=$wxUSE_GEOMETRY
7299 { echo "$as_me:$LINENO: result: $result" >&5
7300 echo "${ECHO_T}$result" >&6; }
7304 defaultval
=$wxUSE_ALL_FEATURES
7305 if test -z "$defaultval"; then
7306 if test x
"$enablestring" = xdisable
; then
7313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7315 # Check whether --enable-log was given.
7316 if test "${enable_log+set}" = set; then
7317 enableval
=$enable_log;
7318 if test "$enableval" = yes; then
7319 wx_cv_use_log
='wxUSE_LOG=yes'
7321 wx_cv_use_log
='wxUSE_LOG=no'
7326 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7331 eval "$wx_cv_use_log"
7333 if test x"$enablestring" = xdisable; then
7334 if test $wxUSE_LOG = no; then
7343 { echo "$as_me:$LINENO: result: $result" >&5
7344 echo "${ECHO_T}$result" >&6; }
7348 defaultval=$wxUSE_ALL_FEATURES
7349 if test -z "$defaultval"; then
7350 if test x"$enablestring" = xdisable; then
7357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7358 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7359 # Check whether --enable-longlong was given.
7360 if test "${enable_longlong+set}" = set; then
7361 enableval=$enable_longlong;
7362 if test "$enableval" = yes; then
7363 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7365 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7370 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7375 eval "$wx_cv_use_longlong"
7377 if test x"$enablestring" = xdisable; then
7378 if test $wxUSE_LONGLONG = no; then
7384 result=$wxUSE_LONGLONG
7387 { echo "$as_me:$LINENO: result
: $result" >&5
7388 echo "${ECHO_T}$result" >&6; }
7392 defaultval=$wxUSE_ALL_FEATURES
7393 if test -z "$defaultval"; then
7394 if test x"$enablestring" = xdisable; then
7401 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7402 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7403 # Check whether --enable-mimetype was given.
7404 if test "${enable_mimetype+set}" = set; then
7405 enableval=$enable_mimetype;
7406 if test "$enableval" = yes; then
7407 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7409 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7414 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7419 eval "$wx_cv_use_mimetype"
7421 if test x
"$enablestring" = xdisable
; then
7422 if test $wxUSE_MIMETYPE = no
; then
7428 result
=$wxUSE_MIMETYPE
7431 { echo "$as_me:$LINENO: result: $result" >&5
7432 echo "${ECHO_T}$result" >&6; }
7436 defaultval
=$wxUSE_ALL_FEATURES
7437 if test -z "$defaultval"; then
7438 if test x
"$enablestring" = xdisable
; then
7445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7446 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7447 # Check whether --enable-printfposparam was given.
7448 if test "${enable_printfposparam+set}" = set; then
7449 enableval
=$enable_printfposparam;
7450 if test "$enableval" = yes; then
7451 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7453 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7458 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7463 eval "$wx_cv_use_printfposparam"
7465 if test x"$enablestring" = xdisable; then
7466 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7472 result=$wxUSE_PRINTF_POS_PARAMS
7475 { echo "$as_me:$LINENO: result: $result" >&5
7476 echo "${ECHO_T}$result" >&6; }
7480 defaultval=$wxUSE_ALL_FEATURES
7481 if test -z "$defaultval"; then
7482 if test x"$enablestring" = xdisable; then
7489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7490 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7491 # Check whether --enable-snglinst was given.
7492 if test "${enable_snglinst+set}" = set; then
7493 enableval=$enable_snglinst;
7494 if test "$enableval" = yes; then
7495 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7497 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7502 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7507 eval "$wx_cv_use_snglinst"
7509 if test x"$enablestring" = xdisable; then
7510 if test $wxUSE_SNGLINST_CHECKER = no; then
7516 result=$wxUSE_SNGLINST_CHECKER
7519 { echo "$as_me:$LINENO: result
: $result" >&5
7520 echo "${ECHO_T}$result" >&6; }
7524 defaultval=$wxUSE_ALL_FEATURES
7525 if test -z "$defaultval"; then
7526 if test x"$enablestring" = xdisable; then
7533 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7534 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7535 # Check whether --enable-sound was given.
7536 if test "${enable_sound+set}" = set; then
7537 enableval=$enable_sound;
7538 if test "$enableval" = yes; then
7539 wx_cv_use_sound='wxUSE_SOUND=yes'
7541 wx_cv_use_sound='wxUSE_SOUND=no'
7546 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7551 eval "$wx_cv_use_sound"
7553 if test x
"$enablestring" = xdisable
; then
7554 if test $wxUSE_SOUND = no
; then
7563 { echo "$as_me:$LINENO: result: $result" >&5
7564 echo "${ECHO_T}$result" >&6; }
7568 defaultval
=$wxUSE_ALL_FEATURES
7569 if test -z "$defaultval"; then
7570 if test x
"$enablestring" = xdisable
; then
7577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7578 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7579 # Check whether --enable-stdpaths was given.
7580 if test "${enable_stdpaths+set}" = set; then
7581 enableval
=$enable_stdpaths;
7582 if test "$enableval" = yes; then
7583 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7585 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7590 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7595 eval "$wx_cv_use_stdpaths"
7597 if test x"$enablestring" = xdisable; then
7598 if test $wxUSE_STDPATHS = no; then
7604 result=$wxUSE_STDPATHS
7607 { echo "$as_me:$LINENO: result: $result" >&5
7608 echo "${ECHO_T}$result" >&6; }
7612 defaultval=$wxUSE_ALL_FEATURES
7613 if test -z "$defaultval"; then
7614 if test x"$enablestring" = xdisable; then
7621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7622 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7623 # Check whether --enable-stopwatch was given.
7624 if test "${enable_stopwatch+set}" = set; then
7625 enableval=$enable_stopwatch;
7626 if test "$enableval" = yes; then
7627 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7629 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7634 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7639 eval "$wx_cv_use_stopwatch"
7641 if test x"$enablestring" = xdisable; then
7642 if test $wxUSE_STOPWATCH = no; then
7648 result=$wxUSE_STOPWATCH
7651 { echo "$as_me:$LINENO: result
: $result" >&5
7652 echo "${ECHO_T}$result" >&6; }
7656 defaultval=$wxUSE_ALL_FEATURES
7657 if test -z "$defaultval"; then
7658 if test x"$enablestring" = xdisable; then
7665 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7666 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7667 # Check whether --enable-streams was given.
7668 if test "${enable_streams+set}" = set; then
7669 enableval=$enable_streams;
7670 if test "$enableval" = yes; then
7671 wx_cv_use_streams='wxUSE_STREAMS=yes'
7673 wx_cv_use_streams='wxUSE_STREAMS=no'
7678 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7683 eval "$wx_cv_use_streams"
7685 if test x
"$enablestring" = xdisable
; then
7686 if test $wxUSE_STREAMS = no
; then
7692 result
=$wxUSE_STREAMS
7695 { echo "$as_me:$LINENO: result: $result" >&5
7696 echo "${ECHO_T}$result" >&6; }
7700 defaultval
=$wxUSE_ALL_FEATURES
7701 if test -z "$defaultval"; then
7702 if test x
"$enablestring" = xdisable
; then
7709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7711 # Check whether --enable-sysoptions was given.
7712 if test "${enable_sysoptions+set}" = set; then
7713 enableval
=$enable_sysoptions;
7714 if test "$enableval" = yes; then
7715 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
7717 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
7722 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7727 eval "$wx_cv_use_sysoptions"
7729 if test x"$enablestring" = xdisable; then
7730 if test $wxUSE_SYSTEM_OPTIONS = no; then
7736 result=$wxUSE_SYSTEM_OPTIONS
7739 { echo "$as_me:$LINENO: result: $result" >&5
7740 echo "${ECHO_T}$result" >&6; }
7744 defaultval=$wxUSE_ALL_FEATURES
7745 if test -z "$defaultval"; then
7746 if test x"$enablestring" = xdisable; then
7753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7755 # Check whether --enable-tarstream was given.
7756 if test "${enable_tarstream+set}" = set; then
7757 enableval=$enable_tarstream;
7758 if test "$enableval" = yes; then
7759 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
7761 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
7766 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7771 eval "$wx_cv_use_tarstream"
7773 if test x"$enablestring" = xdisable; then
7774 if test $wxUSE_TARSTREAM = no; then
7780 result=$wxUSE_TARSTREAM
7783 { echo "$as_me:$LINENO: result
: $result" >&5
7784 echo "${ECHO_T}$result" >&6; }
7788 defaultval=$wxUSE_ALL_FEATURES
7789 if test -z "$defaultval"; then
7790 if test x"$enablestring" = xdisable; then
7797 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
7798 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
7799 # Check whether --enable-textbuf was given.
7800 if test "${enable_textbuf+set}" = set; then
7801 enableval=$enable_textbuf;
7802 if test "$enableval" = yes; then
7803 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7805 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7810 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7815 eval "$wx_cv_use_textbuf"
7817 if test x
"$enablestring" = xdisable
; then
7818 if test $wxUSE_TEXTBUFFER = no
; then
7824 result
=$wxUSE_TEXTBUFFER
7827 { echo "$as_me:$LINENO: result: $result" >&5
7828 echo "${ECHO_T}$result" >&6; }
7832 defaultval
=$wxUSE_ALL_FEATURES
7833 if test -z "$defaultval"; then
7834 if test x
"$enablestring" = xdisable
; then
7841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7842 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7843 # Check whether --enable-textfile was given.
7844 if test "${enable_textfile+set}" = set; then
7845 enableval
=$enable_textfile;
7846 if test "$enableval" = yes; then
7847 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
7849 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
7854 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7859 eval "$wx_cv_use_textfile"
7861 if test x"$enablestring" = xdisable; then
7862 if test $wxUSE_TEXTFILE = no; then
7868 result=$wxUSE_TEXTFILE
7871 { echo "$as_me:$LINENO: result: $result" >&5
7872 echo "${ECHO_T}$result" >&6; }
7876 defaultval=$wxUSE_ALL_FEATURES
7877 if test -z "$defaultval"; then
7878 if test x"$enablestring" = xdisable; then
7885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7886 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7887 # Check whether --enable-timer was given.
7888 if test "${enable_timer+set}" = set; then
7889 enableval=$enable_timer;
7890 if test "$enableval" = yes; then
7891 wx_cv_use_timer='wxUSE_TIMER
=yes'
7893 wx_cv_use_timer='wxUSE_TIMER
=no
'
7898 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7903 eval "$wx_cv_use_timer"
7905 if test x"$enablestring" = xdisable; then
7906 if test $wxUSE_TIMER = no; then
7915 { echo "$as_me:$LINENO: result
: $result" >&5
7916 echo "${ECHO_T}$result" >&6; }
7920 defaultval=$wxUSE_ALL_FEATURES
7921 if test -z "$defaultval"; then
7922 if test x"$enablestring" = xdisable; then
7929 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
7930 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
7931 # Check whether --enable-variant was given.
7932 if test "${enable_variant+set}" = set; then
7933 enableval=$enable_variant;
7934 if test "$enableval" = yes; then
7935 wx_cv_use_variant='wxUSE_VARIANT=yes'
7937 wx_cv_use_variant='wxUSE_VARIANT=no'
7942 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7947 eval "$wx_cv_use_variant"
7949 if test x
"$enablestring" = xdisable
; then
7950 if test $wxUSE_VARIANT = no
; then
7956 result
=$wxUSE_VARIANT
7959 { echo "$as_me:$LINENO: result: $result" >&5
7960 echo "${ECHO_T}$result" >&6; }
7964 defaultval
=$wxUSE_ALL_FEATURES
7965 if test -z "$defaultval"; then
7966 if test x
"$enablestring" = xdisable
; then
7973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7974 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7975 # Check whether --enable-zipstream was given.
7976 if test "${enable_zipstream+set}" = set; then
7977 enableval
=$enable_zipstream;
7978 if test "$enableval" = yes; then
7979 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
7981 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
7986 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7991 eval "$wx_cv_use_zipstream"
7993 if test x"$enablestring" = xdisable; then
7994 if test $wxUSE_ZIPSTREAM = no; then
8000 result=$wxUSE_ZIPSTREAM
8003 { echo "$as_me:$LINENO: result: $result" >&5
8004 echo "${ECHO_T}$result" >&6; }
8009 defaultval=$wxUSE_ALL_FEATURES
8010 if test -z "$defaultval"; then
8011 if test x"$enablestring" = xdisable; then
8018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8019 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8020 # Check whether --enable-url was given.
8021 if test "${enable_url+set}" = set; then
8022 enableval=$enable_url;
8023 if test "$enableval" = yes; then
8024 wx_cv_use_url='wxUSE_URL
=yes'
8026 wx_cv_use_url='wxUSE_URL
=no
'
8031 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8036 eval "$wx_cv_use_url"
8038 if test x"$enablestring" = xdisable; then
8039 if test $wxUSE_URL = no; then
8048 { echo "$as_me:$LINENO: result
: $result" >&5
8049 echo "${ECHO_T}$result" >&6; }
8053 defaultval=$wxUSE_ALL_FEATURES
8054 if test -z "$defaultval"; then
8055 if test x"$enablestring" = xdisable; then
8062 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8063 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8064 # Check whether --enable-protocol was given.
8065 if test "${enable_protocol+set}" = set; then
8066 enableval=$enable_protocol;
8067 if test "$enableval" = yes; then
8068 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8070 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8075 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8080 eval "$wx_cv_use_protocol"
8082 if test x
"$enablestring" = xdisable
; then
8083 if test $wxUSE_PROTOCOL = no
; then
8089 result
=$wxUSE_PROTOCOL
8092 { echo "$as_me:$LINENO: result: $result" >&5
8093 echo "${ECHO_T}$result" >&6; }
8097 defaultval
=$wxUSE_ALL_FEATURES
8098 if test -z "$defaultval"; then
8099 if test x
"$enablestring" = xdisable
; then
8106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8107 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8108 # Check whether --enable-protocol_http was given.
8109 if test "${enable_protocol_http+set}" = set; then
8110 enableval
=$enable_protocol_http;
8111 if test "$enableval" = yes; then
8112 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8114 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8119 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8124 eval "$wx_cv_use_protocol_http"
8126 if test x"$enablestring" = xdisable; then
8127 if test $wxUSE_PROTOCOL_HTTP = no; then
8133 result=$wxUSE_PROTOCOL_HTTP
8136 { echo "$as_me:$LINENO: result: $result" >&5
8137 echo "${ECHO_T}$result" >&6; }
8141 defaultval=$wxUSE_ALL_FEATURES
8142 if test -z "$defaultval"; then
8143 if test x"$enablestring" = xdisable; then
8150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8151 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8152 # Check whether --enable-protocol_ftp was given.
8153 if test "${enable_protocol_ftp+set}" = set; then
8154 enableval=$enable_protocol_ftp;
8155 if test "$enableval" = yes; then
8156 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8158 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8163 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8168 eval "$wx_cv_use_protocol_ftp"
8170 if test x"$enablestring" = xdisable; then
8171 if test $wxUSE_PROTOCOL_FTP = no; then
8177 result=$wxUSE_PROTOCOL_FTP
8180 { echo "$as_me:$LINENO: result
: $result" >&5
8181 echo "${ECHO_T}$result" >&6; }
8185 defaultval=$wxUSE_ALL_FEATURES
8186 if test -z "$defaultval"; then
8187 if test x"$enablestring" = xdisable; then
8194 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8195 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8196 # Check whether --enable-protocol_file was given.
8197 if test "${enable_protocol_file+set}" = set; then
8198 enableval=$enable_protocol_file;
8199 if test "$enableval" = yes; then
8200 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8202 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8207 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8212 eval "$wx_cv_use_protocol_file"
8214 if test x
"$enablestring" = xdisable
; then
8215 if test $wxUSE_PROTOCOL_FILE = no
; then
8221 result
=$wxUSE_PROTOCOL_FILE
8224 { echo "$as_me:$LINENO: result: $result" >&5
8225 echo "${ECHO_T}$result" >&6; }
8230 defaultval
=$wxUSE_ALL_FEATURES
8231 if test -z "$defaultval"; then
8232 if test x
"$enablestring" = xdisable
; then
8239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8240 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8241 # Check whether --enable-threads was given.
8242 if test "${enable_threads+set}" = set; then
8243 enableval
=$enable_threads;
8244 if test "$enableval" = yes; then
8245 wx_cv_use_threads
='wxUSE_THREADS=yes'
8247 wx_cv_use_threads
='wxUSE_THREADS=no'
8252 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8257 eval "$wx_cv_use_threads"
8259 if test x"$enablestring" = xdisable; then
8260 if test $wxUSE_THREADS = no; then
8266 result=$wxUSE_THREADS
8269 { echo "$as_me:$LINENO: result: $result" >&5
8270 echo "${ECHO_T}$result" >&6; }
8276 if test -z "$defaultval"; then
8277 if test x"$enablestring" = xdisable; then
8284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8285 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8286 # Check whether --enable-iniconf was given.
8287 if test "${enable_iniconf+set}" = set; then
8288 enableval=$enable_iniconf;
8289 if test "$enableval" = yes; then
8290 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8292 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8297 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8302 eval "$wx_cv_use_iniconf"
8304 if test x"$enablestring" = xdisable; then
8305 if test $wxUSE_INICONF = no; then
8311 result=$wxUSE_INICONF
8314 { echo "$as_me:$LINENO: result
: $result" >&5
8315 echo "${ECHO_T}$result" >&6; }
8319 defaultval=$wxUSE_ALL_FEATURES
8320 if test -z "$defaultval"; then
8321 if test x"$enablestring" = xdisable; then
8328 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8329 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8330 # Check whether --enable-regkey was given.
8331 if test "${enable_regkey+set}" = set; then
8332 enableval=$enable_regkey;
8333 if test "$enableval" = yes; then
8334 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8336 wx_cv_use_regkey='wxUSE_REGKEY=no'
8341 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8346 eval "$wx_cv_use_regkey"
8348 if test x
"$enablestring" = xdisable
; then
8349 if test $wxUSE_REGKEY = no
; then
8355 result
=$wxUSE_REGKEY
8358 { echo "$as_me:$LINENO: result: $result" >&5
8359 echo "${ECHO_T}$result" >&6; }
8362 if test "$wxUSE_GUI" = "yes"; then
8367 defaultval
=$wxUSE_ALL_FEATURES
8368 if test -z "$defaultval"; then
8369 if test x
"$enablestring" = xdisable
; then
8376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8377 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8378 # Check whether --enable-docview was given.
8379 if test "${enable_docview+set}" = set; then
8380 enableval
=$enable_docview;
8381 if test "$enableval" = yes; then
8382 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8384 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8389 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8394 eval "$wx_cv_use_docview"
8396 if test x"$enablestring" = xdisable; then
8397 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8403 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8406 { echo "$as_me:$LINENO: result: $result" >&5
8407 echo "${ECHO_T}$result" >&6; }
8411 defaultval=$wxUSE_ALL_FEATURES
8412 if test -z "$defaultval"; then
8413 if test x"$enablestring" = xdisable; then
8420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8421 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8422 # Check whether --enable-help was given.
8423 if test "${enable_help+set}" = set; then
8424 enableval=$enable_help;
8425 if test "$enableval" = yes; then
8426 wx_cv_use_help='wxUSE_HELP
=yes'
8428 wx_cv_use_help='wxUSE_HELP
=no
'
8433 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8438 eval "$wx_cv_use_help"
8440 if test x"$enablestring" = xdisable; then
8441 if test $wxUSE_HELP = no; then
8450 { echo "$as_me:$LINENO: result
: $result" >&5
8451 echo "${ECHO_T}$result" >&6; }
8455 defaultval=$wxUSE_ALL_FEATURES
8456 if test -z "$defaultval"; then
8457 if test x"$enablestring" = xdisable; then
8464 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8465 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8466 # Check whether --enable-mshtmlhelp was given.
8467 if test "${enable_mshtmlhelp+set}" = set; then
8468 enableval=$enable_mshtmlhelp;
8469 if test "$enableval" = yes; then
8470 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8472 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8477 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8482 eval "$wx_cv_use_mshtmlhelp"
8484 if test x
"$enablestring" = xdisable
; then
8485 if test $wxUSE_MS_HTML_HELP = no
; then
8491 result
=$wxUSE_MS_HTML_HELP
8494 { echo "$as_me:$LINENO: result: $result" >&5
8495 echo "${ECHO_T}$result" >&6; }
8499 defaultval
=$wxUSE_ALL_FEATURES
8500 if test -z "$defaultval"; then
8501 if test x
"$enablestring" = xdisable
; then
8508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8509 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8510 # Check whether --enable-html was given.
8511 if test "${enable_html+set}" = set; then
8512 enableval
=$enable_html;
8513 if test "$enableval" = yes; then
8514 wx_cv_use_html
='wxUSE_HTML=yes'
8516 wx_cv_use_html
='wxUSE_HTML=no'
8521 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8526 eval "$wx_cv_use_html"
8528 if test x"$enablestring" = xdisable; then
8529 if test $wxUSE_HTML = no; then
8538 { echo "$as_me:$LINENO: result: $result" >&5
8539 echo "${ECHO_T}$result" >&6; }
8543 defaultval=$wxUSE_ALL_FEATURES
8544 if test -z "$defaultval"; then
8545 if test x"$enablestring" = xdisable; then
8552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8554 # Check whether --enable-htmlhelp was given.
8555 if test "${enable_htmlhelp+set}" = set; then
8556 enableval=$enable_htmlhelp;
8557 if test "$enableval" = yes; then
8558 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8560 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8565 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8570 eval "$wx_cv_use_htmlhelp"
8572 if test x"$enablestring" = xdisable; then
8573 if test $wxUSE_WXHTML_HELP = no; then
8579 result=$wxUSE_WXHTML_HELP
8582 { echo "$as_me:$LINENO: result
: $result" >&5
8583 echo "${ECHO_T}$result" >&6; }
8587 defaultval=$wxUSE_ALL_FEATURES
8588 if test -z "$defaultval"; then
8589 if test x"$enablestring" = xdisable; then
8596 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8597 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8598 # Check whether --enable-xrc was given.
8599 if test "${enable_xrc+set}" = set; then
8600 enableval=$enable_xrc;
8601 if test "$enableval" = yes; then
8602 wx_cv_use_xrc='wxUSE_XRC=yes'
8604 wx_cv_use_xrc='wxUSE_XRC=no'
8609 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8614 eval "$wx_cv_use_xrc"
8616 if test x
"$enablestring" = xdisable
; then
8617 if test $wxUSE_XRC = no
; then
8626 { echo "$as_me:$LINENO: result: $result" >&5
8627 echo "${ECHO_T}$result" >&6; }
8631 defaultval
=$wxUSE_ALL_FEATURES
8632 if test -z "$defaultval"; then
8633 if test x
"$enablestring" = xdisable
; then
8640 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8641 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8642 # Check whether --enable-aui was given.
8643 if test "${enable_aui+set}" = set; then
8644 enableval
=$enable_aui;
8645 if test "$enableval" = yes; then
8646 wx_cv_use_aui
='wxUSE_AUI=yes'
8648 wx_cv_use_aui
='wxUSE_AUI=no'
8653 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8658 eval "$wx_cv_use_aui"
8660 if test x"$enablestring" = xdisable; then
8661 if test $wxUSE_AUI = no; then
8670 { echo "$as_me:$LINENO: result: $result" >&5
8671 echo "${ECHO_T}$result" >&6; }
8675 defaultval=$wxUSE_ALL_FEATURES
8676 if test -z "$defaultval"; then
8677 if test x"$enablestring" = xdisable; then
8684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8685 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8686 # Check whether --enable-propgrid was given.
8687 if test "${enable_propgrid+set}" = set; then
8688 enableval=$enable_propgrid;
8689 if test "$enableval" = yes; then
8690 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8692 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8697 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8702 eval "$wx_cv_use_propgrid"
8704 if test x"$enablestring" = xdisable; then
8705 if test $wxUSE_PROPGRID = no; then
8711 result=$wxUSE_PROPGRID
8714 { echo "$as_me:$LINENO: result
: $result" >&5
8715 echo "${ECHO_T}$result" >&6; }
8719 defaultval=$wxUSE_ALL_FEATURES
8720 if test -z "$defaultval"; then
8721 if test x"$enablestring" = xdisable; then
8728 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
8729 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
8730 # Check whether --enable-ribbon was given.
8731 if test "${enable_ribbon+set}" = set; then
8732 enableval=$enable_ribbon;
8733 if test "$enableval" = yes; then
8734 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8736 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8741 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
8746 eval "$wx_cv_use_ribbon"
8748 if test x
"$enablestring" = xdisable
; then
8749 if test $wxUSE_RIBBON = no
; then
8755 result
=$wxUSE_RIBBON
8758 { echo "$as_me:$LINENO: result: $result" >&5
8759 echo "${ECHO_T}$result" >&6; }
8763 defaultval
=$wxUSE_ALL_FEATURES
8764 if test -z "$defaultval"; then
8765 if test x
"$enablestring" = xdisable
; then
8772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8773 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8774 # Check whether --enable-stc was given.
8775 if test "${enable_stc+set}" = set; then
8776 enableval
=$enable_stc;
8777 if test "$enableval" = yes; then
8778 wx_cv_use_stc
='wxUSE_STC=yes'
8780 wx_cv_use_stc
='wxUSE_STC=no'
8785 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8790 eval "$wx_cv_use_stc"
8792 if test x"$enablestring" = xdisable; then
8793 if test $wxUSE_STC = no; then
8802 { echo "$as_me:$LINENO: result: $result" >&5
8803 echo "${ECHO_T}$result" >&6; }
8807 defaultval=$wxUSE_ALL_FEATURES
8808 if test -z "$defaultval"; then
8809 if test x"$enablestring" = xdisable; then
8816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8817 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8818 # Check whether --enable-constraints was given.
8819 if test "${enable_constraints+set}" = set; then
8820 enableval=$enable_constraints;
8821 if test "$enableval" = yes; then
8822 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8824 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8829 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8834 eval "$wx_cv_use_constraints"
8836 if test x"$enablestring" = xdisable; then
8837 if test $wxUSE_CONSTRAINTS = no; then
8843 result=$wxUSE_CONSTRAINTS
8846 { echo "$as_me:$LINENO: result
: $result" >&5
8847 echo "${ECHO_T}$result" >&6; }
8851 defaultval=$wxUSE_ALL_FEATURES
8852 if test -z "$defaultval"; then
8853 if test x"$enablestring" = xdisable; then
8860 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8861 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8862 # Check whether --enable-loggui was given.
8863 if test "${enable_loggui+set}" = set; then
8864 enableval=$enable_loggui;
8865 if test "$enableval" = yes; then
8866 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8868 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8873 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8878 eval "$wx_cv_use_loggui"
8880 if test x
"$enablestring" = xdisable
; then
8881 if test $wxUSE_LOGGUI = no
; then
8887 result
=$wxUSE_LOGGUI
8890 { echo "$as_me:$LINENO: result: $result" >&5
8891 echo "${ECHO_T}$result" >&6; }
8895 defaultval
=$wxUSE_ALL_FEATURES
8896 if test -z "$defaultval"; then
8897 if test x
"$enablestring" = xdisable
; then
8904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8905 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8906 # Check whether --enable-logwin was given.
8907 if test "${enable_logwin+set}" = set; then
8908 enableval
=$enable_logwin;
8909 if test "$enableval" = yes; then
8910 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8912 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8917 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8922 eval "$wx_cv_use_logwin"
8924 if test x"$enablestring" = xdisable; then
8925 if test $wxUSE_LOGWINDOW = no; then
8931 result=$wxUSE_LOGWINDOW
8934 { echo "$as_me:$LINENO: result: $result" >&5
8935 echo "${ECHO_T}$result" >&6; }
8939 defaultval=$wxUSE_ALL_FEATURES
8940 if test -z "$defaultval"; then
8941 if test x"$enablestring" = xdisable; then
8948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8949 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8950 # Check whether --enable-logdialog was given.
8951 if test "${enable_logdialog+set}" = set; then
8952 enableval=$enable_logdialog;
8953 if test "$enableval" = yes; then
8954 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8956 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8961 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8966 eval "$wx_cv_use_logdialog"
8968 if test x"$enablestring" = xdisable; then
8969 if test $wxUSE_LOGDIALOG = no; then
8975 result=$wxUSE_LOGDIALOG
8978 { echo "$as_me:$LINENO: result
: $result" >&5
8979 echo "${ECHO_T}$result" >&6; }
8983 defaultval=$wxUSE_ALL_FEATURES
8984 if test -z "$defaultval"; then
8985 if test x"$enablestring" = xdisable; then
8992 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8993 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8994 # Check whether --enable-mdi was given.
8995 if test "${enable_mdi+set}" = set; then
8996 enableval=$enable_mdi;
8997 if test "$enableval" = yes; then
8998 wx_cv_use_mdi='wxUSE_MDI=yes'
9000 wx_cv_use_mdi='wxUSE_MDI=no'
9005 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9010 eval "$wx_cv_use_mdi"
9012 if test x
"$enablestring" = xdisable
; then
9013 if test $wxUSE_MDI = no
; then
9022 { echo "$as_me:$LINENO: result: $result" >&5
9023 echo "${ECHO_T}$result" >&6; }
9027 defaultval
=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x
"$enablestring" = xdisable
; then
9036 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9038 # Check whether --enable-mdidoc was given.
9039 if test "${enable_mdidoc+set}" = set; then
9040 enableval
=$enable_mdidoc;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9044 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9049 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9054 eval "$wx_cv_use_mdidoc"
9056 if test x"$enablestring" = xdisable; then
9057 if test $wxUSE_MDI_ARCHITECTURE = no; then
9063 result=$wxUSE_MDI_ARCHITECTURE
9066 { echo "$as_me:$LINENO: result: $result" >&5
9067 echo "${ECHO_T}$result" >&6; }
9071 defaultval=$wxUSE_ALL_FEATURES
9072 if test -z "$defaultval"; then
9073 if test x"$enablestring" = xdisable; then
9080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9081 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9082 # Check whether --enable-mediactrl was given.
9083 if test "${enable_mediactrl+set}" = set; then
9084 enableval=$enable_mediactrl;
9085 if test "$enableval" = yes; then
9086 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9088 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9093 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9098 eval "$wx_cv_use_mediactrl"
9100 if test x"$enablestring" = xdisable; then
9101 if test $wxUSE_MEDIACTRL = no; then
9107 result=$wxUSE_MEDIACTRL
9110 { echo "$as_me:$LINENO: result
: $result" >&5
9111 echo "${ECHO_T}$result" >&6; }
9115 defaultval=$wxUSE_ALL_FEATURES
9116 if test -z "$defaultval"; then
9117 if test x"$enablestring" = xdisable; then
9124 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9125 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9126 # Check whether --enable-gstreamer8 was given.
9127 if test "${enable_gstreamer8+set}" = set; then
9128 enableval=$enable_gstreamer8;
9129 if test "$enableval" = yes; then
9130 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9132 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9137 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9142 eval "$wx_cv_use_gstreamer8"
9144 if test x
"$enablestring" = xdisable
; then
9145 if test $wxUSE_GSTREAMER8 = no
; then
9151 result
=$wxUSE_GSTREAMER8
9154 { echo "$as_me:$LINENO: result: $result" >&5
9155 echo "${ECHO_T}$result" >&6; }
9159 defaultval
=$wxUSE_ALL_FEATURES
9160 if test -z "$defaultval"; then
9161 if test x
"$enablestring" = xdisable
; then
9168 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9170 # Check whether --enable-webkit was given.
9171 if test "${enable_webkit+set}" = set; then
9172 enableval
=$enable_webkit;
9173 if test "$enableval" = yes; then
9174 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9176 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9181 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9186 eval "$wx_cv_use_webkit"
9188 if test x"$enablestring" = xdisable; then
9189 if test $wxUSE_WEBKIT = no; then
9195 result=$wxUSE_WEBKIT
9198 { echo "$as_me:$LINENO: result: $result" >&5
9199 echo "${ECHO_T}$result" >&6; }
9203 defaultval=$wxUSE_ALL_FEATURES
9204 if test -z "$defaultval"; then
9205 if test x"$enablestring" = xdisable; then
9212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9213 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9214 # Check whether --enable-richtext was given.
9215 if test "${enable_richtext+set}" = set; then
9216 enableval=$enable_richtext;
9217 if test "$enableval" = yes; then
9218 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9220 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9225 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9230 eval "$wx_cv_use_richtext"
9232 if test x"$enablestring" = xdisable; then
9233 if test $wxUSE_RICHTEXT = no; then
9239 result=$wxUSE_RICHTEXT
9242 { echo "$as_me:$LINENO: result
: $result" >&5
9243 echo "${ECHO_T}$result" >&6; }
9247 defaultval=$wxUSE_ALL_FEATURES
9248 if test -z "$defaultval"; then
9249 if test x"$enablestring" = xdisable; then
9256 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-postscript" >&5
9257 echo $ECHO_N "checking
for --${enablestring:-enable}-postscript...
$ECHO_C" >&6; }
9258 # Check whether --enable-postscript was given.
9259 if test "${enable_postscript+set}" = set; then
9260 enableval=$enable_postscript;
9261 if test "$enableval" = yes; then
9262 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9264 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9269 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9274 eval "$wx_cv_use_postscript"
9276 if test x
"$enablestring" = xdisable
; then
9277 if test $wxUSE_POSTSCRIPT = no
; then
9283 result
=$wxUSE_POSTSCRIPT
9286 { echo "$as_me:$LINENO: result: $result" >&5
9287 echo "${ECHO_T}$result" >&6; }
9291 defaultval
=$wxUSE_ALL_FEATURES
9292 if test -z "$defaultval"; then
9293 if test x
"$enablestring" = xdisable
; then
9300 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9301 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9302 # Check whether --enable-printarch was given.
9303 if test "${enable_printarch+set}" = set; then
9304 enableval
=$enable_printarch;
9305 if test "$enableval" = yes; then
9306 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
9308 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
9313 wx_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9318 eval "$wx_cv_use_printarch"
9320 if test x"$enablestring" = xdisable; then
9321 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9327 result=$wxUSE_PRINTING_ARCHITECTURE
9330 { echo "$as_me:$LINENO: result: $result" >&5
9331 echo "${ECHO_T}$result" >&6; }
9335 defaultval=$wxUSE_ALL_FEATURES
9336 if test -z "$defaultval"; then
9337 if test x"$enablestring" = xdisable; then
9344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9345 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9346 # Check whether --enable-svg was given.
9347 if test "${enable_svg+set}" = set; then
9348 enableval=$enable_svg;
9349 if test "$enableval" = yes; then
9350 wx_cv_use_svg='wxUSE_SVG
=yes'
9352 wx_cv_use_svg='wxUSE_SVG
=no
'
9357 wx_cv_use_svg='wxUSE_SVG
=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9362 eval "$wx_cv_use_svg"
9364 if test x"$enablestring" = xdisable; then
9365 if test $wxUSE_SVG = no; then
9374 { echo "$as_me:$LINENO: result
: $result" >&5
9375 echo "${ECHO_T}$result" >&6; }
9378 if test "$wxUSE_MAC" != 1; then
9381 defaultval=$wxUSE_ALL_FEATURES
9382 if test -z "$defaultval"; then
9383 if test x"$enablestring" = xdisable; then
9390 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9391 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9392 # Check whether --enable-graphics_ctx was given.
9393 if test "${enable_graphics_ctx+set}" = set; then
9394 enableval=$enable_graphics_ctx;
9395 if test "$enableval" = yes; then
9396 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9398 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9403 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9408 eval "$wx_cv_use_graphics_ctx"
9410 if test x
"$enablestring" = xdisable
; then
9411 if test $wxUSE_GRAPHICS_CONTEXT = no
; then
9417 result
=$wxUSE_GRAPHICS_CONTEXT
9420 { echo "$as_me:$LINENO: result: $result" >&5
9421 echo "${ECHO_T}$result" >&6; }
9428 defaultval
=$wxUSE_ALL_FEATURES
9429 if test -z "$defaultval"; then
9430 if test x
"$enablestring" = xdisable
; then
9437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9439 # Check whether --enable-clipboard was given.
9440 if test "${enable_clipboard+set}" = set; then
9441 enableval
=$enable_clipboard;
9442 if test "$enableval" = yes; then
9443 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9445 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9450 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9455 eval "$wx_cv_use_clipboard"
9457 if test x"$enablestring" = xdisable; then
9458 if test $wxUSE_CLIPBOARD = no; then
9464 result=$wxUSE_CLIPBOARD
9467 { echo "$as_me:$LINENO: result: $result" >&5
9468 echo "${ECHO_T}$result" >&6; }
9472 defaultval=$wxUSE_ALL_FEATURES
9473 if test -z "$defaultval"; then
9474 if test x"$enablestring" = xdisable; then
9481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9482 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9483 # Check whether --enable-dnd was given.
9484 if test "${enable_dnd+set}" = set; then
9485 enableval=$enable_dnd;
9486 if test "$enableval" = yes; then
9487 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9489 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9494 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9499 eval "$wx_cv_use_dnd"
9501 if test x"$enablestring" = xdisable; then
9502 if test $wxUSE_DRAG_AND_DROP = no; then
9508 result=$wxUSE_DRAG_AND_DROP
9511 { echo "$as_me:$LINENO: result
: $result" >&5
9512 echo "${ECHO_T}$result" >&6; }
9516 defaultval=$wxUSE_ALL_FEATURES
9517 if test -z "$defaultval"; then
9518 if test x"$enablestring" = xdisable; then
9525 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9526 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9527 # Check whether --enable-metafile was given.
9528 if test "${enable_metafile+set}" = set; then
9529 enableval=$enable_metafile;
9530 if test "$enableval" = yes; then
9531 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9533 wx_cv_use_metafile='wxUSE_METAFILE=no'
9538 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9543 eval "$wx_cv_use_metafile"
9545 if test x
"$enablestring" = xdisable
; then
9546 if test $wxUSE_METAFILE = no
; then
9552 result
=$wxUSE_METAFILE
9555 { echo "$as_me:$LINENO: result: $result" >&5
9556 echo "${ECHO_T}$result" >&6; }
9560 DEFAULT_wxUSE_CONTROLS
=none
9562 enablestring
=disable
9564 if test -z "$defaultval"; then
9565 if test x
"$enablestring" = xdisable
; then
9572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9573 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9574 # Check whether --enable-controls was given.
9575 if test "${enable_controls+set}" = set; then
9576 enableval
=$enable_controls;
9577 if test "$enableval" = yes; then
9578 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9580 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9585 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9590 eval "$wx_cv_use_controls"
9592 if test x"$enablestring" = xdisable; then
9593 if test $wxUSE_CONTROLS = no; then
9599 result=$wxUSE_CONTROLS
9602 { echo "$as_me:$LINENO: result: $result" >&5
9603 echo "${ECHO_T}$result" >&6; }
9606 if test "$wxUSE_CONTROLS" = "no"; then
9607 DEFAULT_wxUSE_ACCEL=no
9608 DEFAULT_wxUSE_ANIMATIONCTRL=no
9609 DEFAULT_wxUSE_BMPBUTTON=no
9610 DEFAULT_wxUSE_BUTTON=no
9611 DEFAULT_wxUSE_CALCTRL=no
9612 DEFAULT_wxUSE_CARET=no
9613 DEFAULT_wxUSE_CHECKBOX=no
9614 DEFAULT_wxUSE_CHECKLISTBOX=no
9615 DEFAULT_wxUSE_CHOICE=no
9616 DEFAULT_wxUSE_CHOICEBOOK=no
9617 DEFAULT_wxUSE_COLLPANE=no
9618 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9619 DEFAULT_wxUSE_COMBOBOX=no
9620 DEFAULT_wxUSE_COMBOBOX=no
9621 DEFAULT_wxUSE_DATAVIEWCTRL=no
9622 DEFAULT_wxUSE_DATEPICKCTRL=no
9623 DEFAULT_wxUSE_DETECT_SM=no
9624 DEFAULT_wxUSE_DIRPICKERCTRL=no
9625 DEFAULT_wxUSE_DISPLAY=no
9626 DEFAULT_wxUSE_FILECTRL=no
9627 DEFAULT_wxUSE_FILEPICKERCTRL=no
9628 DEFAULT_wxUSE_FONTPICKERCTRL=no
9629 DEFAULT_wxUSE_GAUGE=no
9630 DEFAULT_wxUSE_GRID=no
9631 DEFAULT_wxUSE_HEADERCTRL=no
9632 DEFAULT_wxUSE_HYPERLINKCTRL=no
9633 DEFAULT_wxUSE_IMAGLIST=no
9634 DEFAULT_wxUSE_LISTBOOK=no
9635 DEFAULT_wxUSE_LISTBOX=no
9636 DEFAULT_wxUSE_LISTCTRL=no
9637 DEFAULT_wxUSE_NOTEBOOK=no
9638 DEFAULT_wxUSE_POPUPWIN=no
9639 DEFAULT_wxUSE_RADIOBOX=no
9640 DEFAULT_wxUSE_RADIOBTN=no
9641 DEFAULT_wxUSE_REARRANGECTRL=no
9642 DEFAULT_wxUSE_SASH=no
9643 DEFAULT_wxUSE_SCROLLBAR=no
9644 DEFAULT_wxUSE_SEARCHCTRL=no
9645 DEFAULT_wxUSE_SLIDER=no
9646 DEFAULT_wxUSE_SPINBTN=no
9647 DEFAULT_wxUSE_SPINCTRL=no
9648 DEFAULT_wxUSE_SPLITTER=no
9649 DEFAULT_wxUSE_STATBMP=no
9650 DEFAULT_wxUSE_STATBOX=no
9651 DEFAULT_wxUSE_STATLINE=no
9652 DEFAULT_wxUSE_STATUSBAR=no
9653 DEFAULT_wxUSE_TIPWINDOW=no
9654 DEFAULT_wxUSE_TOGGLEBTN=no
9655 DEFAULT_wxUSE_TOOLBAR=no
9656 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9657 DEFAULT_wxUSE_TOOLBOOK=no
9658 DEFAULT_wxUSE_TOOLTIPS=no
9659 DEFAULT_wxUSE_TREEBOOK=no
9660 DEFAULT_wxUSE_TREECTRL=no
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}-accel" >&5
9675 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9676 # Check whether --enable-accel was given.
9677 if test "${enable_accel+set}" = set; then
9678 enableval=$enable_accel;
9679 if test "$enableval" = yes; then
9680 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9682 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9687 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9692 eval "$wx_cv_use_accel"
9694 if test x"$enablestring" = xdisable; then
9695 if test $wxUSE_ACCEL = no; then
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}-animatectrl" >&5
9719 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9720 # Check whether --enable-animatectrl was given.
9721 if test "${enable_animatectrl+set}" = set; then
9722 enableval=$enable_animatectrl;
9723 if test "$enableval" = yes; then
9724 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9726 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9731 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9736 eval "$wx_cv_use_animatectrl"
9738 if test x
"$enablestring" = xdisable
; then
9739 if test $wxUSE_ANIMATIONCTRL = no
; then
9745 result
=$wxUSE_ANIMATIONCTRL
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}-bmpbutton" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9764 # Check whether --enable-bmpbutton was given.
9765 if test "${enable_bmpbutton+set}" = set; then
9766 enableval
=$enable_bmpbutton;
9767 if test "$enableval" = yes; then
9768 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
9770 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
9775 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9780 eval "$wx_cv_use_bmpbutton"
9782 if test x"$enablestring" = xdisable; then
9783 if test $wxUSE_BMPBUTTON = no; then
9789 result=$wxUSE_BMPBUTTON
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}-bmpcombobox" >&5
9807 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9808 # Check whether --enable-bmpcombobox was given.
9809 if test "${enable_bmpcombobox+set}" = set; then
9810 enableval=$enable_bmpcombobox;
9811 if test "$enableval" = yes; then
9812 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
9814 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
9819 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9824 eval "$wx_cv_use_bmpcombobox"
9826 if test x"$enablestring" = xdisable; then
9827 if test $wxUSE_BITMAPCOMBOBOX = no; then
9833 result=$wxUSE_BITMAPCOMBOBOX
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}-button" >&5
9851 echo $ECHO_N "checking
for --${enablestring:-enable}-button...
$ECHO_C" >&6; }
9852 # Check whether --enable-button was given.
9853 if test "${enable_button+set}" = set; then
9854 enableval=$enable_button;
9855 if test "$enableval" = yes; then
9856 wx_cv_use_button='wxUSE_BUTTON=yes'
9858 wx_cv_use_button='wxUSE_BUTTON=no'
9863 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9868 eval "$wx_cv_use_button"
9870 if test x
"$enablestring" = xdisable
; then
9871 if test $wxUSE_BUTTON = no
; then
9877 result
=$wxUSE_BUTTON
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}-calendar" >&5
9895 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9896 # Check whether --enable-calendar was given.
9897 if test "${enable_calendar+set}" = set; then
9898 enableval
=$enable_calendar;
9899 if test "$enableval" = yes; then
9900 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9902 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9907 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9912 eval "$wx_cv_use_calendar"
9914 if test x"$enablestring" = xdisable; then
9915 if test $wxUSE_CALCTRL = no; then
9921 result=$wxUSE_CALCTRL
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}-caret" >&5
9939 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9940 # Check whether --enable-caret was given.
9941 if test "${enable_caret+set}" = set; then
9942 enableval=$enable_caret;
9943 if test "$enableval" = yes; then
9944 wx_cv_use_caret='wxUSE_CARET
=yes'
9946 wx_cv_use_caret='wxUSE_CARET
=no
'
9951 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9956 eval "$wx_cv_use_caret"
9958 if test x"$enablestring" = xdisable; then
9959 if test $wxUSE_CARET = no; then
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}-checkbox" >&5
9983 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9984 # Check whether --enable-checkbox was given.
9985 if test "${enable_checkbox+set}" = set; then
9986 enableval=$enable_checkbox;
9987 if test "$enableval" = yes; then
9988 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9990 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9995 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10000 eval "$wx_cv_use_checkbox"
10002 if test x
"$enablestring" = xdisable
; then
10003 if test $wxUSE_CHECKBOX = no
; then
10009 result
=$wxUSE_CHECKBOX
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}-checklst" >&5
10027 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10028 # Check whether --enable-checklst was given.
10029 if test "${enable_checklst+set}" = set; then
10030 enableval
=$enable_checklst;
10031 if test "$enableval" = yes; then
10032 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
10034 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
10039 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10044 eval "$wx_cv_use_checklst"
10046 if test x"$enablestring" = xdisable; then
10047 if test $wxUSE_CHECKLST = no; then
10053 result=$wxUSE_CHECKLST
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}-choice" >&5
10071 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10072 # Check whether --enable-choice was given.
10073 if test "${enable_choice+set}" = set; then
10074 enableval=$enable_choice;
10075 if test "$enableval" = yes; then
10076 wx_cv_use_choice='wxUSE_CHOICE
=yes'
10078 wx_cv_use_choice='wxUSE_CHOICE
=no
'
10083 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10088 eval "$wx_cv_use_choice"
10090 if test x"$enablestring" = xdisable; then
10091 if test $wxUSE_CHOICE = no; then
10097 result=$wxUSE_CHOICE
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}-choicebook" >&5
10115 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10116 # Check whether --enable-choicebook was given.
10117 if test "${enable_choicebook+set}" = set; then
10118 enableval=$enable_choicebook;
10119 if test "$enableval" = yes; then
10120 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10122 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10127 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10132 eval "$wx_cv_use_choicebook"
10134 if test x
"$enablestring" = xdisable
; then
10135 if test $wxUSE_CHOICEBOOK = no
; then
10141 result
=$wxUSE_CHOICEBOOK
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}-collpane" >&5
10159 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10160 # Check whether --enable-collpane was given.
10161 if test "${enable_collpane+set}" = set; then
10162 enableval
=$enable_collpane;
10163 if test "$enableval" = yes; then
10164 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10166 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10171 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10176 eval "$wx_cv_use_collpane"
10178 if test x"$enablestring" = xdisable; then
10179 if test $wxUSE_COLLPANE = no; then
10185 result=$wxUSE_COLLPANE
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}-colourpicker" >&5
10203 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10204 # Check whether --enable-colourpicker was given.
10205 if test "${enable_colourpicker+set}" = set; then
10206 enableval=$enable_colourpicker;
10207 if test "$enableval" = yes; then
10208 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10210 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10215 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10220 eval "$wx_cv_use_colourpicker"
10222 if test x"$enablestring" = xdisable; then
10223 if test $wxUSE_COLOURPICKERCTRL = no; then
10229 result=$wxUSE_COLOURPICKERCTRL
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}-combobox" >&5
10247 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10248 # Check whether --enable-combobox was given.
10249 if test "${enable_combobox+set}" = set; then
10250 enableval=$enable_combobox;
10251 if test "$enableval" = yes; then
10252 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10254 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10259 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10264 eval "$wx_cv_use_combobox"
10266 if test x
"$enablestring" = xdisable
; then
10267 if test $wxUSE_COMBOBOX = no
; then
10273 result
=$wxUSE_COMBOBOX
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}-comboctrl" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10292 # Check whether --enable-comboctrl was given.
10293 if test "${enable_comboctrl+set}" = set; then
10294 enableval
=$enable_comboctrl;
10295 if test "$enableval" = yes; then
10296 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10298 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10303 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10308 eval "$wx_cv_use_comboctrl"
10310 if test x"$enablestring" = xdisable; then
10311 if test $wxUSE_COMBOCTRL = no; then
10317 result=$wxUSE_COMBOCTRL
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}-dataviewctrl" >&5
10335 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10336 # Check whether --enable-dataviewctrl was given.
10337 if test "${enable_dataviewctrl+set}" = set; then
10338 enableval=$enable_dataviewctrl;
10339 if test "$enableval" = yes; then
10340 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=yes'
10342 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=no
'
10347 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL
=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10352 eval "$wx_cv_use_dataviewctrl"
10354 if test x"$enablestring" = xdisable; then
10355 if test $wxUSE_DATAVIEWCTRL = no; then
10361 result=$wxUSE_DATAVIEWCTRL
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}-datepick" >&5
10379 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
10380 # Check whether --enable-datepick was given.
10381 if test "${enable_datepick+set}" = set; then
10382 enableval=$enable_datepick;
10383 if test "$enableval" = yes; then
10384 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10386 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10391 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10396 eval "$wx_cv_use_datepick"
10398 if test x
"$enablestring" = xdisable
; then
10399 if test $wxUSE_DATEPICKCTRL = no
; then
10405 result
=$wxUSE_DATEPICKCTRL
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}-detect_sm" >&5
10423 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10424 # Check whether --enable-detect_sm was given.
10425 if test "${enable_detect_sm+set}" = set; then
10426 enableval
=$enable_detect_sm;
10427 if test "$enableval" = yes; then
10428 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=yes'
10430 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=no'
10435 wx_cv_use_detect_sm
='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10440 eval "$wx_cv_use_detect_sm"
10442 if test x"$enablestring" = xdisable; then
10443 if test $wxUSE_DETECT_SM = no; then
10449 result=$wxUSE_DETECT_SM
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}-dirpicker" >&5
10467 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10468 # Check whether --enable-dirpicker was given.
10469 if test "${enable_dirpicker+set}" = set; then
10470 enableval=$enable_dirpicker;
10471 if test "$enableval" = yes; then
10472 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=yes'
10474 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=no
'
10479 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL
=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10484 eval "$wx_cv_use_dirpicker"
10486 if test x"$enablestring" = xdisable; then
10487 if test $wxUSE_DIRPICKERCTRL = no; then
10493 result=$wxUSE_DIRPICKERCTRL
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}-display" >&5
10511 echo $ECHO_N "checking
for --${enablestring:-enable}-display...
$ECHO_C" >&6; }
10512 # Check whether --enable-display was given.
10513 if test "${enable_display+set}" = set; then
10514 enableval=$enable_display;
10515 if test "$enableval" = yes; then
10516 wx_cv_use_display='wxUSE_DISPLAY=yes'
10518 wx_cv_use_display='wxUSE_DISPLAY=no'
10523 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10528 eval "$wx_cv_use_display"
10530 if test x
"$enablestring" = xdisable
; then
10531 if test $wxUSE_DISPLAY = no
; then
10537 result
=$wxUSE_DISPLAY
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}-editablebox" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10556 # Check whether --enable-editablebox was given.
10557 if test "${enable_editablebox+set}" = set; then
10558 enableval
=$enable_editablebox;
10559 if test "$enableval" = yes; then
10560 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=yes'
10562 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=no'
10567 wx_cv_use_editablebox
='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10572 eval "$wx_cv_use_editablebox"
10574 if test x"$enablestring" = xdisable; then
10575 if test $wxUSE_EDITABLELISTBOX = no; then
10581 result=$wxUSE_EDITABLELISTBOX
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}-filectrl" >&5
10599 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10600 # Check whether --enable-filectrl was given.
10601 if test "${enable_filectrl+set}" = set; then
10602 enableval=$enable_filectrl;
10603 if test "$enableval" = yes; then
10604 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10606 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10611 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10616 eval "$wx_cv_use_filectrl"
10618 if test x"$enablestring" = xdisable; then
10619 if test $wxUSE_FILECTRL = no; then
10625 result=$wxUSE_FILECTRL
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}-filepicker" >&5
10643 echo $ECHO_N "checking
for --${enablestring:-enable}-filepicker...
$ECHO_C" >&6; }
10644 # Check whether --enable-filepicker was given.
10645 if test "${enable_filepicker+set}" = set; then
10646 enableval=$enable_filepicker;
10647 if test "$enableval" = yes; then
10648 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10650 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10655 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10660 eval "$wx_cv_use_filepicker"
10662 if test x
"$enablestring" = xdisable
; then
10663 if test $wxUSE_FILEPICKERCTRL = no
; then
10669 result
=$wxUSE_FILEPICKERCTRL
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}-fontpicker" >&5
10687 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10688 # Check whether --enable-fontpicker was given.
10689 if test "${enable_fontpicker+set}" = set; then
10690 enableval
=$enable_fontpicker;
10691 if test "$enableval" = yes; then
10692 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=yes'
10694 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=no'
10699 wx_cv_use_fontpicker
='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10704 eval "$wx_cv_use_fontpicker"
10706 if test x"$enablestring" = xdisable; then
10707 if test $wxUSE_FONTPICKERCTRL = no; then
10713 result=$wxUSE_FONTPICKERCTRL
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}-gauge" >&5
10731 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10732 # Check whether --enable-gauge was given.
10733 if test "${enable_gauge+set}" = set; then
10734 enableval=$enable_gauge;
10735 if test "$enableval" = yes; then
10736 wx_cv_use_gauge='wxUSE_GAUGE
=yes'
10738 wx_cv_use_gauge='wxUSE_GAUGE
=no
'
10743 wx_cv_use_gauge='wxUSE_GAUGE
=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10748 eval "$wx_cv_use_gauge"
10750 if test x"$enablestring" = xdisable; then
10751 if test $wxUSE_GAUGE = no; then
10757 result=$wxUSE_GAUGE
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}-grid" >&5
10775 echo $ECHO_N "checking
for --${enablestring:-enable}-grid...
$ECHO_C" >&6; }
10776 # Check whether --enable-grid was given.
10777 if test "${enable_grid+set}" = set; then
10778 enableval=$enable_grid;
10779 if test "$enableval" = yes; then
10780 wx_cv_use_grid='wxUSE_GRID=yes'
10782 wx_cv_use_grid='wxUSE_GRID=no'
10787 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10792 eval "$wx_cv_use_grid"
10794 if test x
"$enablestring" = xdisable
; then
10795 if test $wxUSE_GRID = no
; then
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}-headerctrl" >&5
10819 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10820 # Check whether --enable-headerctrl was given.
10821 if test "${enable_headerctrl+set}" = set; then
10822 enableval
=$enable_headerctrl;
10823 if test "$enableval" = yes; then
10824 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=yes'
10826 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=no'
10831 wx_cv_use_headerctrl
='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10836 eval "$wx_cv_use_headerctrl"
10838 if test x"$enablestring" = xdisable; then
10839 if test $wxUSE_HEADERCTRL = no; then
10845 result=$wxUSE_HEADERCTRL
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}-hyperlink" >&5
10863 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10864 # Check whether --enable-hyperlink was given.
10865 if test "${enable_hyperlink+set}" = set; then
10866 enableval=$enable_hyperlink;
10867 if test "$enableval" = yes; then
10868 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=yes'
10870 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=no
'
10875 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL
=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10880 eval "$wx_cv_use_hyperlink"
10882 if test x"$enablestring" = xdisable; then
10883 if test $wxUSE_HYPERLINKCTRL = no; then
10889 result=$wxUSE_HYPERLINKCTRL
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}-imaglist" >&5
10907 echo $ECHO_N "checking
for --${enablestring:-enable}-imaglist...
$ECHO_C" >&6; }
10908 # Check whether --enable-imaglist was given.
10909 if test "${enable_imaglist+set}" = set; then
10910 enableval=$enable_imaglist;
10911 if test "$enableval" = yes; then
10912 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10914 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10919 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10924 eval "$wx_cv_use_imaglist"
10926 if test x
"$enablestring" = xdisable
; then
10927 if test $wxUSE_IMAGLIST = no
; then
10933 result
=$wxUSE_IMAGLIST
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}-infobar" >&5
10951 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
10952 # Check whether --enable-infobar was given.
10953 if test "${enable_infobar+set}" = set; then
10954 enableval
=$enable_infobar;
10955 if test "$enableval" = yes; then
10956 wx_cv_use_infobar
='wxUSE_INFOBAR=yes'
10958 wx_cv_use_infobar
='wxUSE_INFOBAR=no'
10963 wx_cv_use_infobar
='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
10968 eval "$wx_cv_use_infobar"
10970 if test x"$enablestring" = xdisable; then
10971 if test $wxUSE_INFOBAR = no; then
10977 result=$wxUSE_INFOBAR
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}-listbook" >&5
10995 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10996 # Check whether --enable-listbook was given.
10997 if test "${enable_listbook+set}" = set; then
10998 enableval=$enable_listbook;
10999 if test "$enableval" = yes; then
11000 wx_cv_use_listbook='wxUSE_LISTBOOK
=yes'
11002 wx_cv_use_listbook='wxUSE_LISTBOOK
=no
'
11007 wx_cv_use_listbook='wxUSE_LISTBOOK
=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11012 eval "$wx_cv_use_listbook"
11014 if test x"$enablestring" = xdisable; then
11015 if test $wxUSE_LISTBOOK = no; then
11021 result=$wxUSE_LISTBOOK
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}-listbox" >&5
11039 echo $ECHO_N "checking
for --${enablestring:-enable}-listbox...
$ECHO_C" >&6; }
11040 # Check whether --enable-listbox was given.
11041 if test "${enable_listbox+set}" = set; then
11042 enableval=$enable_listbox;
11043 if test "$enableval" = yes; then
11044 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11046 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11051 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11056 eval "$wx_cv_use_listbox"
11058 if test x
"$enablestring" = xdisable
; then
11059 if test $wxUSE_LISTBOX = no
; then
11065 result
=$wxUSE_LISTBOX
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}-listctrl" >&5
11083 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11084 # Check whether --enable-listctrl was given.
11085 if test "${enable_listctrl+set}" = set; then
11086 enableval
=$enable_listctrl;
11087 if test "$enableval" = yes; then
11088 wx_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
11090 wx_cv_use_listctrl
='wxUSE_LISTCTRL=no'
11095 wx_cv_use_listctrl
='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11100 eval "$wx_cv_use_listctrl"
11102 if test x"$enablestring" = xdisable; then
11103 if test $wxUSE_LISTCTRL = no; then
11109 result=$wxUSE_LISTCTRL
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}-notebook" >&5
11127 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11128 # Check whether --enable-notebook was given.
11129 if test "${enable_notebook+set}" = set; then
11130 enableval=$enable_notebook;
11131 if test "$enableval" = yes; then
11132 wx_cv_use_notebook='wxUSE_NOTEBOOK
=yes'
11134 wx_cv_use_notebook='wxUSE_NOTEBOOK
=no
'
11139 wx_cv_use_notebook='wxUSE_NOTEBOOK
=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11144 eval "$wx_cv_use_notebook"
11146 if test x"$enablestring" = xdisable; then
11147 if test $wxUSE_NOTEBOOK = no; then
11153 result=$wxUSE_NOTEBOOK
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}-notifmsg" >&5
11171 echo $ECHO_N "checking
for --${enablestring:-enable}-notifmsg...
$ECHO_C" >&6; }
11172 # Check whether --enable-notifmsg was given.
11173 if test "${enable_notifmsg+set}" = set; then
11174 enableval=$enable_notifmsg;
11175 if test "$enableval" = yes; then
11176 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11178 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11183 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11188 eval "$wx_cv_use_notifmsg"
11190 if test x
"$enablestring" = xdisable
; then
11191 if test $wxUSE_NOTIFICATION_MESSAGE = no
; then
11197 result
=$wxUSE_NOTIFICATION_MESSAGE
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}-odcombobox" >&5
11215 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11216 # Check whether --enable-odcombobox was given.
11217 if test "${enable_odcombobox+set}" = set; then
11218 enableval
=$enable_odcombobox;
11219 if test "$enableval" = yes; then
11220 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=yes'
11222 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=no'
11227 wx_cv_use_odcombobox
='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11232 eval "$wx_cv_use_odcombobox"
11234 if test x"$enablestring" = xdisable; then
11235 if test $wxUSE_ODCOMBOBOX = no; then
11241 result=$wxUSE_ODCOMBOBOX
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}-popupwin" >&5
11259 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11260 # Check whether --enable-popupwin was given.
11261 if test "${enable_popupwin+set}" = set; then
11262 enableval=$enable_popupwin;
11263 if test "$enableval" = yes; then
11264 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
11266 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
11271 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11276 eval "$wx_cv_use_popupwin"
11278 if test x"$enablestring" = xdisable; then
11279 if test $wxUSE_POPUPWIN = no; then
11285 result=$wxUSE_POPUPWIN
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}-radiobox" >&5
11303 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11304 # Check whether --enable-radiobox was given.
11305 if test "${enable_radiobox+set}" = set; then
11306 enableval=$enable_radiobox;
11307 if test "$enableval" = yes; then
11308 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11310 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11315 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11320 eval "$wx_cv_use_radiobox"
11322 if test x
"$enablestring" = xdisable
; then
11323 if test $wxUSE_RADIOBOX = no
; then
11329 result
=$wxUSE_RADIOBOX
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}-radiobtn" >&5
11347 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11348 # Check whether --enable-radiobtn was given.
11349 if test "${enable_radiobtn+set}" = set; then
11350 enableval
=$enable_radiobtn;
11351 if test "$enableval" = yes; then
11352 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11354 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11359 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11364 eval "$wx_cv_use_radiobtn"
11366 if test x"$enablestring" = xdisable; then
11367 if test $wxUSE_RADIOBTN = no; then
11373 result=$wxUSE_RADIOBTN
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}-rearrangectrl" >&5
11391 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11392 # Check whether --enable-rearrangectrl was given.
11393 if test "${enable_rearrangectrl+set}" = set; then
11394 enableval=$enable_rearrangectrl;
11395 if test "$enableval" = yes; then
11396 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11398 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11403 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11408 eval "$wx_cv_use_rearrangectrl"
11410 if test x"$enablestring" = xdisable; then
11411 if test $wxUSE_REARRANGECTRL = no; then
11417 result=$wxUSE_REARRANGECTRL
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}-sash" >&5
11435 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11436 # Check whether --enable-sash was given.
11437 if test "${enable_sash+set}" = set; then
11438 enableval=$enable_sash;
11439 if test "$enableval" = yes; then
11440 wx_cv_use_sash='wxUSE_SASH=yes'
11442 wx_cv_use_sash='wxUSE_SASH=no'
11447 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11452 eval "$wx_cv_use_sash"
11454 if test x
"$enablestring" = xdisable
; then
11455 if test $wxUSE_SASH = no
; then
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}-scrollbar" >&5
11479 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11480 # Check whether --enable-scrollbar was given.
11481 if test "${enable_scrollbar+set}" = set; then
11482 enableval
=$enable_scrollbar;
11483 if test "$enableval" = yes; then
11484 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
11486 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
11491 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11496 eval "$wx_cv_use_scrollbar"
11498 if test x"$enablestring" = xdisable; then
11499 if test $wxUSE_SCROLLBAR = no; then
11505 result=$wxUSE_SCROLLBAR
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}-searchctrl" >&5
11523 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11524 # Check whether --enable-searchctrl was given.
11525 if test "${enable_searchctrl+set}" = set; then
11526 enableval=$enable_searchctrl;
11527 if test "$enableval" = yes; then
11528 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
11530 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
11535 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11540 eval "$wx_cv_use_searchctrl"
11542 if test x"$enablestring" = xdisable; then
11543 if test $wxUSE_SEARCHCTRL = no; then
11549 result=$wxUSE_SEARCHCTRL
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}-slider" >&5
11567 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
11568 # Check whether --enable-slider was given.
11569 if test "${enable_slider+set}" = set; then
11570 enableval=$enable_slider;
11571 if test "$enableval" = yes; then
11572 wx_cv_use_slider='wxUSE_SLIDER=yes'
11574 wx_cv_use_slider='wxUSE_SLIDER=no'
11579 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11584 eval "$wx_cv_use_slider"
11586 if test x
"$enablestring" = xdisable
; then
11587 if test $wxUSE_SLIDER = no
; then
11593 result
=$wxUSE_SLIDER
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}-spinbtn" >&5
11611 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11612 # Check whether --enable-spinbtn was given.
11613 if test "${enable_spinbtn+set}" = set; then
11614 enableval
=$enable_spinbtn;
11615 if test "$enableval" = yes; then
11616 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
11618 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
11623 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11628 eval "$wx_cv_use_spinbtn"
11630 if test x"$enablestring" = xdisable; then
11631 if test $wxUSE_SPINBTN = no; then
11637 result=$wxUSE_SPINBTN
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}-spinctrl" >&5
11655 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11656 # Check whether --enable-spinctrl was given.
11657 if test "${enable_spinctrl+set}" = set; then
11658 enableval=$enable_spinctrl;
11659 if test "$enableval" = yes; then
11660 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
11662 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
11667 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11672 eval "$wx_cv_use_spinctrl"
11674 if test x"$enablestring" = xdisable; then
11675 if test $wxUSE_SPINCTRL = no; then
11681 result=$wxUSE_SPINCTRL
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}-splitter" >&5
11699 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
11700 # Check whether --enable-splitter was given.
11701 if test "${enable_splitter+set}" = set; then
11702 enableval=$enable_splitter;
11703 if test "$enableval" = yes; then
11704 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11706 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11711 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11716 eval "$wx_cv_use_splitter"
11718 if test x
"$enablestring" = xdisable
; then
11719 if test $wxUSE_SPLITTER = no
; then
11725 result
=$wxUSE_SPLITTER
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}-statbmp" >&5
11743 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11744 # Check whether --enable-statbmp was given.
11745 if test "${enable_statbmp+set}" = set; then
11746 enableval
=$enable_statbmp;
11747 if test "$enableval" = yes; then
11748 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
11750 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
11755 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11760 eval "$wx_cv_use_statbmp"
11762 if test x"$enablestring" = xdisable; then
11763 if test $wxUSE_STATBMP = no; then
11769 result=$wxUSE_STATBMP
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}-statbox" >&5
11787 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11788 # Check whether --enable-statbox was given.
11789 if test "${enable_statbox+set}" = set; then
11790 enableval=$enable_statbox;
11791 if test "$enableval" = yes; then
11792 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
11794 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
11799 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11804 eval "$wx_cv_use_statbox"
11806 if test x"$enablestring" = xdisable; then
11807 if test $wxUSE_STATBOX = no; then
11813 result=$wxUSE_STATBOX
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}-statline" >&5
11831 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
11832 # Check whether --enable-statline was given.
11833 if test "${enable_statline+set}" = set; then
11834 enableval=$enable_statline;
11835 if test "$enableval" = yes; then
11836 wx_cv_use_statline='wxUSE_STATLINE=yes'
11838 wx_cv_use_statline='wxUSE_STATLINE=no'
11843 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11848 eval "$wx_cv_use_statline"
11850 if test x
"$enablestring" = xdisable
; then
11851 if test $wxUSE_STATLINE = no
; then
11857 result
=$wxUSE_STATLINE
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}-stattext" >&5
11875 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11876 # Check whether --enable-stattext was given.
11877 if test "${enable_stattext+set}" = set; then
11878 enableval
=$enable_stattext;
11879 if test "$enableval" = yes; then
11880 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
11882 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
11887 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11892 eval "$wx_cv_use_stattext"
11894 if test x"$enablestring" = xdisable; then
11895 if test $wxUSE_STATTEXT = no; then
11901 result=$wxUSE_STATTEXT
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}-statusbar" >&5
11919 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11920 # Check whether --enable-statusbar was given.
11921 if test "${enable_statusbar+set}" = set; then
11922 enableval=$enable_statusbar;
11923 if test "$enableval" = yes; then
11924 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
11926 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
11931 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11936 eval "$wx_cv_use_statusbar"
11938 if test x"$enablestring" = xdisable; then
11939 if test $wxUSE_STATUSBAR = no; then
11945 result=$wxUSE_STATUSBAR
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}-taskbaricon" >&5
11963 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
11964 # Check whether --enable-taskbaricon was given.
11965 if test "${enable_taskbaricon+set}" = set; then
11966 enableval=$enable_taskbaricon;
11967 if test "$enableval" = yes; then
11968 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11970 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11975 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11980 eval "$wx_cv_use_taskbaricon"
11982 if test x
"$enablestring" = xdisable
; then
11983 if test $wxUSE_TASKBARICON = no
; then
11989 result
=$wxUSE_TASKBARICON
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}-tbarnative" >&5
12007 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12008 # Check whether --enable-tbarnative was given.
12009 if test "${enable_tbarnative+set}" = set; then
12010 enableval
=$enable_tbarnative;
12011 if test "$enableval" = yes; then
12012 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
12014 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
12019 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12024 eval "$wx_cv_use_tbarnative"
12026 if test x"$enablestring" = xdisable; then
12027 if test $wxUSE_TOOLBAR_NATIVE = no; then
12033 result=$wxUSE_TOOLBAR_NATIVE
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}-textctrl" >&5
12051 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12052 # Check whether --enable-textctrl was given.
12053 if test "${enable_textctrl+set}" = set; then
12054 enableval=$enable_textctrl;
12055 if test "$enableval" = yes; then
12056 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
12058 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
12063 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12068 eval "$wx_cv_use_textctrl"
12070 if test x"$enablestring" = xdisable; then
12071 if test $wxUSE_TEXTCTRL = no; then
12077 result=$wxUSE_TEXTCTRL
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 = no
; 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}-togglebtn" >&5
12139 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12140 # Check whether --enable-togglebtn was given.
12141 if test "${enable_togglebtn+set}" = set; then
12142 enableval
=$enable_togglebtn;
12143 if test "$enableval" = yes; then
12144 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
12146 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
12151 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12156 eval "$wx_cv_use_togglebtn"
12158 if test x"$enablestring" = xdisable; then
12159 if test $wxUSE_TOGGLEBTN = no; then
12165 result=$wxUSE_TOGGLEBTN
12168 { echo "$as_me:$LINENO: result: $result" >&5
12169 echo "${ECHO_T}$result" >&6; }
12173 defaultval=$wxUSE_ALL_FEATURES
12174 if test -z "$defaultval"; then
12175 if test x"$enablestring" = xdisable; then
12182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12183 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12184 # Check whether --enable-toolbar was given.
12185 if test "${enable_toolbar+set}" = set; then
12186 enableval=$enable_toolbar;
12187 if test "$enableval" = yes; then
12188 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
12190 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
12195 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12200 eval "$wx_cv_use_toolbar"
12202 if test x"$enablestring" = xdisable; then
12203 if test $wxUSE_TOOLBAR = no; then
12209 result=$wxUSE_TOOLBAR
12212 { echo "$as_me:$LINENO: result
: $result" >&5
12213 echo "${ECHO_T}$result" >&6; }
12217 defaultval=$wxUSE_ALL_FEATURES
12218 if test -z "$defaultval"; then
12219 if test x"$enablestring" = xdisable; then
12226 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbook" >&5
12227 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbook...
$ECHO_C" >&6; }
12228 # Check whether --enable-toolbook was given.
12229 if test "${enable_toolbook+set}" = set; then
12230 enableval=$enable_toolbook;
12231 if test "$enableval" = yes; then
12232 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12234 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12239 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12244 eval "$wx_cv_use_toolbook"
12246 if test x
"$enablestring" = xdisable
; then
12247 if test $wxUSE_TOOLBOOK = no
; then
12253 result
=$wxUSE_TOOLBOOK
12256 { echo "$as_me:$LINENO: result: $result" >&5
12257 echo "${ECHO_T}$result" >&6; }
12261 defaultval
=$wxUSE_ALL_FEATURES
12262 if test -z "$defaultval"; then
12263 if test x
"$enablestring" = xdisable
; then
12270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12271 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12272 # Check whether --enable-treebook was given.
12273 if test "${enable_treebook+set}" = set; then
12274 enableval
=$enable_treebook;
12275 if test "$enableval" = yes; then
12276 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
12278 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
12283 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12288 eval "$wx_cv_use_treebook"
12290 if test x"$enablestring" = xdisable; then
12291 if test $wxUSE_TREEBOOK = no; then
12297 result=$wxUSE_TREEBOOK
12300 { echo "$as_me:$LINENO: result: $result" >&5
12301 echo "${ECHO_T}$result" >&6; }
12305 defaultval=$wxUSE_ALL_FEATURES
12306 if test -z "$defaultval"; then
12307 if test x"$enablestring" = xdisable; then
12314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12315 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12316 # Check whether --enable-treectrl was given.
12317 if test "${enable_treectrl+set}" = set; then
12318 enableval=$enable_treectrl;
12319 if test "$enableval" = yes; then
12320 wx_cv_use_treectrl='wxUSE_TREECTRL
=yes'
12322 wx_cv_use_treectrl='wxUSE_TREECTRL
=no
'
12327 wx_cv_use_treectrl='wxUSE_TREECTRL
=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12332 eval "$wx_cv_use_treectrl"
12334 if test x"$enablestring" = xdisable; then
12335 if test $wxUSE_TREECTRL = no; then
12341 result=$wxUSE_TREECTRL
12344 { echo "$as_me:$LINENO: result
: $result" >&5
12345 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}-commondlg" >&5
12361 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12362 # Check whether --enable-commondlg was given.
12363 if test "${enable_commondlg+set}" = set; then
12364 enableval=$enable_commondlg;
12365 if test "$enableval" = yes; then
12366 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12368 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12373 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12378 eval "$wx_cv_use_commondlg"
12380 if test x
"$enablestring" = xdisable
; then
12381 if test $wxUSE_COMMONDLGS = no
; then
12387 result
=$wxUSE_COMMONDLGS
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}-aboutdlg" >&5
12405 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12406 # Check whether --enable-aboutdlg was given.
12407 if test "${enable_aboutdlg+set}" = set; then
12408 enableval
=$enable_aboutdlg;
12409 if test "$enableval" = yes; then
12410 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12412 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12417 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12422 eval "$wx_cv_use_aboutdlg"
12424 if test x"$enablestring" = xdisable; then
12425 if test $wxUSE_ABOUTDLG = no; then
12431 result=$wxUSE_ABOUTDLG
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}-choicedlg" >&5
12449 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12450 # Check whether --enable-choicedlg was given.
12451 if test "${enable_choicedlg+set}" = set; then
12452 enableval=$enable_choicedlg;
12453 if test "$enableval" = yes; then
12454 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12456 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12461 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12466 eval "$wx_cv_use_choicedlg"
12468 if test x"$enablestring" = xdisable; then
12469 if test $wxUSE_CHOICEDLG = no; then
12475 result=$wxUSE_CHOICEDLG
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}-coldlg" >&5
12493 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12494 # Check whether --enable-coldlg was given.
12495 if test "${enable_coldlg+set}" = set; then
12496 enableval=$enable_coldlg;
12497 if test "$enableval" = yes; then
12498 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12500 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12505 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12510 eval "$wx_cv_use_coldlg"
12512 if test x
"$enablestring" = xdisable
; then
12513 if test $wxUSE_COLOURDLG = no
; then
12519 result
=$wxUSE_COLOURDLG
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}-filedlg" >&5
12537 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12538 # Check whether --enable-filedlg was given.
12539 if test "${enable_filedlg+set}" = set; then
12540 enableval
=$enable_filedlg;
12541 if test "$enableval" = yes; then
12542 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12544 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12549 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12554 eval "$wx_cv_use_filedlg"
12556 if test x"$enablestring" = xdisable; then
12557 if test $wxUSE_FILEDLG = no; then
12563 result=$wxUSE_FILEDLG
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}-finddlg" >&5
12581 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12582 # Check whether --enable-finddlg was given.
12583 if test "${enable_finddlg+set}" = set; then
12584 enableval=$enable_finddlg;
12585 if test "$enableval" = yes; then
12586 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12588 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12593 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12598 eval "$wx_cv_use_finddlg"
12600 if test x"$enablestring" = xdisable; then
12601 if test $wxUSE_FINDREPLDLG = no; then
12607 result=$wxUSE_FINDREPLDLG
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}-fontdlg" >&5
12625 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12626 # Check whether --enable-fontdlg was given.
12627 if test "${enable_fontdlg+set}" = set; then
12628 enableval=$enable_fontdlg;
12629 if test "$enableval" = yes; then
12630 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12632 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12637 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12642 eval "$wx_cv_use_fontdlg"
12644 if test x
"$enablestring" = xdisable
; then
12645 if test $wxUSE_FONTDLG = no
; then
12651 result
=$wxUSE_FONTDLG
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}-dirdlg" >&5
12669 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12670 # Check whether --enable-dirdlg was given.
12671 if test "${enable_dirdlg+set}" = set; then
12672 enableval
=$enable_dirdlg;
12673 if test "$enableval" = yes; then
12674 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12676 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12681 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12686 eval "$wx_cv_use_dirdlg"
12688 if test x"$enablestring" = xdisable; then
12689 if test $wxUSE_DIRDLG = no; then
12695 result=$wxUSE_DIRDLG
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}-msgdlg" >&5
12713 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12714 # Check whether --enable-msgdlg was given.
12715 if test "${enable_msgdlg+set}" = set; then
12716 enableval=$enable_msgdlg;
12717 if test "$enableval" = yes; then
12718 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12720 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12725 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12730 eval "$wx_cv_use_msgdlg"
12732 if test x"$enablestring" = xdisable; then
12733 if test $wxUSE_MSGDLG = no; then
12739 result=$wxUSE_MSGDLG
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}-numberdlg" >&5
12757 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12758 # Check whether --enable-numberdlg was given.
12759 if test "${enable_numberdlg+set}" = set; then
12760 enableval=$enable_numberdlg;
12761 if test "$enableval" = yes; then
12762 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12764 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12769 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12774 eval "$wx_cv_use_numberdlg"
12776 if test x
"$enablestring" = xdisable
; then
12777 if test $wxUSE_NUMBERDLG = no
; then
12783 result
=$wxUSE_NUMBERDLG
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}-splash" >&5
12801 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12802 # Check whether --enable-splash was given.
12803 if test "${enable_splash+set}" = set; then
12804 enableval
=$enable_splash;
12805 if test "$enableval" = yes; then
12806 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12808 wx_cv_use_splash
='wxUSE_SPLASH=no'
12813 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12818 eval "$wx_cv_use_splash"
12820 if test x"$enablestring" = xdisable; then
12821 if test $wxUSE_SPLASH = no; then
12827 result=$wxUSE_SPLASH
12830 { echo "$as_me:$LINENO: result: $result" >&5
12831 echo "${ECHO_T}$result" >&6; }
12835 defaultval=$wxUSE_ALL_FEATURES
12836 if test -z "$defaultval"; then
12837 if test x"$enablestring" = xdisable; then
12844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12845 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12846 # Check whether --enable-textdlg was given.
12847 if test "${enable_textdlg+set}" = set; then
12848 enableval=$enable_textdlg;
12849 if test "$enableval" = yes; then
12850 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12852 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12857 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12862 eval "$wx_cv_use_textdlg"
12864 if test x"$enablestring" = xdisable; then
12865 if test $wxUSE_TEXTDLG = no; then
12871 result=$wxUSE_TEXTDLG
12874 { echo "$as_me:$LINENO: result
: $result" >&5
12875 echo "${ECHO_T}$result" >&6; }
12879 defaultval=$wxUSE_ALL_FEATURES
12880 if test -z "$defaultval"; then
12881 if test x"$enablestring" = xdisable; then
12888 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12889 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12890 # Check whether --enable-tipdlg was given.
12891 if test "${enable_tipdlg+set}" = set; then
12892 enableval=$enable_tipdlg;
12893 if test "$enableval" = yes; then
12894 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12896 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12901 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12906 eval "$wx_cv_use_tipdlg"
12908 if test x
"$enablestring" = xdisable
; then
12909 if test $wxUSE_STARTUP_TIPS = no
; then
12915 result
=$wxUSE_STARTUP_TIPS
12918 { echo "$as_me:$LINENO: result: $result" >&5
12919 echo "${ECHO_T}$result" >&6; }
12923 defaultval
=$wxUSE_ALL_FEATURES
12924 if test -z "$defaultval"; then
12925 if test x
"$enablestring" = xdisable
; then
12932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12933 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12934 # Check whether --enable-progressdlg was given.
12935 if test "${enable_progressdlg+set}" = set; then
12936 enableval
=$enable_progressdlg;
12937 if test "$enableval" = yes; then
12938 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
12940 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
12945 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12950 eval "$wx_cv_use_progressdlg"
12952 if test x"$enablestring" = xdisable; then
12953 if test $wxUSE_PROGRESSDLG = no; then
12959 result=$wxUSE_PROGRESSDLG
12962 { echo "$as_me:$LINENO: result: $result" >&5
12963 echo "${ECHO_T}$result" >&6; }
12967 defaultval=$wxUSE_ALL_FEATURES
12968 if test -z "$defaultval"; then
12969 if test x"$enablestring" = xdisable; then
12976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12977 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12978 # Check whether --enable-wizarddlg was given.
12979 if test "${enable_wizarddlg+set}" = set; then
12980 enableval=$enable_wizarddlg;
12981 if test "$enableval" = yes; then
12982 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
12984 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
12989 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12994 eval "$wx_cv_use_wizarddlg"
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_WIZARDDLG = no; then
13003 result=$wxUSE_WIZARDDLG
13006 { echo "$as_me:$LINENO: result
: $result" >&5
13007 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}-menus" >&5
13023 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
13024 # Check whether --enable-menus was given.
13025 if test "${enable_menus+set}" = set; then
13026 enableval=$enable_menus;
13027 if test "$enableval" = yes; then
13028 wx_cv_use_menus='wxUSE_MENUS=yes'
13030 wx_cv_use_menus='wxUSE_MENUS=no'
13035 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13040 eval "$wx_cv_use_menus"
13042 if test x
"$enablestring" = xdisable
; then
13043 if test $wxUSE_MENUS = no
; then
13049 result
=$wxUSE_MENUS
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}-miniframe" >&5
13067 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13068 # Check whether --enable-miniframe was given.
13069 if test "${enable_miniframe+set}" = set; then
13070 enableval
=$enable_miniframe;
13071 if test "$enableval" = yes; then
13072 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13074 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13079 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13084 eval "$wx_cv_use_miniframe"
13086 if test x"$enablestring" = xdisable; then
13087 if test $wxUSE_MINIFRAME = no; then
13093 result=$wxUSE_MINIFRAME
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}-tooltips" >&5
13111 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13112 # Check whether --enable-tooltips was given.
13113 if test "${enable_tooltips+set}" = set; then
13114 enableval=$enable_tooltips;
13115 if test "$enableval" = yes; then
13116 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13118 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13123 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13128 eval "$wx_cv_use_tooltips"
13130 if test x"$enablestring" = xdisable; then
13131 if test $wxUSE_TOOLTIPS = no; then
13137 result=$wxUSE_TOOLTIPS
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}-splines" >&5
13155 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13156 # Check whether --enable-splines was given.
13157 if test "${enable_splines+set}" = set; then
13158 enableval=$enable_splines;
13159 if test "$enableval" = yes; then
13160 wx_cv_use_splines='wxUSE_SPLINES=yes'
13162 wx_cv_use_splines='wxUSE_SPLINES=no'
13167 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13172 eval "$wx_cv_use_splines"
13174 if test x
"$enablestring" = xdisable
; then
13175 if test $wxUSE_SPLINES = no
; then
13181 result
=$wxUSE_SPLINES
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}-mousewheel" >&5
13199 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13200 # Check whether --enable-mousewheel was given.
13201 if test "${enable_mousewheel+set}" = set; then
13202 enableval
=$enable_mousewheel;
13203 if test "$enableval" = yes; then
13204 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13206 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13211 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13216 eval "$wx_cv_use_mousewheel"
13218 if test x"$enablestring" = xdisable; then
13219 if test $wxUSE_MOUSEWHEEL = no; then
13225 result=$wxUSE_MOUSEWHEEL
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}-validators" >&5
13243 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13244 # Check whether --enable-validators was given.
13245 if test "${enable_validators+set}" = set; then
13246 enableval=$enable_validators;
13247 if test "$enableval" = yes; then
13248 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13250 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13255 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13260 eval "$wx_cv_use_validators"
13262 if test x"$enablestring" = xdisable; then
13263 if test $wxUSE_VALIDATORS = no; then
13269 result=$wxUSE_VALIDATORS
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}-busyinfo" >&5
13287 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13288 # Check whether --enable-busyinfo was given.
13289 if test "${enable_busyinfo+set}" = set; then
13290 enableval=$enable_busyinfo;
13291 if test "$enableval" = yes; then
13292 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13294 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13299 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13304 eval "$wx_cv_use_busyinfo"
13306 if test x
"$enablestring" = xdisable
; then
13307 if test $wxUSE_BUSYINFO = no
; then
13313 result
=$wxUSE_BUSYINFO
13316 { echo "$as_me:$LINENO: result: $result" >&5
13317 echo "${ECHO_T}$result" >&6; }
13321 defaultval
=$wxUSE_ALL_FEATURES
13322 if test -z "$defaultval"; then
13323 if test x
"$enablestring" = xdisable
; then
13330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13331 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13332 # Check whether --enable-joystick was given.
13333 if test "${enable_joystick+set}" = set; then
13334 enableval
=$enable_joystick;
13335 if test "$enableval" = yes; then
13336 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13338 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13343 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13348 eval "$wx_cv_use_joystick"
13350 if test x"$enablestring" = xdisable; then
13351 if test $wxUSE_JOYSTICK = no; then
13357 result=$wxUSE_JOYSTICK
13360 { echo "$as_me:$LINENO: result: $result" >&5
13361 echo "${ECHO_T}$result" >&6; }
13365 defaultval=$wxUSE_ALL_FEATURES
13366 if test -z "$defaultval"; then
13367 if test x"$enablestring" = xdisable; then
13374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13375 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13376 # Check whether --enable-metafile was given.
13377 if test "${enable_metafile+set}" = set; then
13378 enableval=$enable_metafile;
13379 if test "$enableval" = yes; then
13380 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13382 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13387 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13392 eval "$wx_cv_use_metafile"
13394 if test x"$enablestring" = xdisable; then
13395 if test $wxUSE_METAFILE = no; then
13401 result=$wxUSE_METAFILE
13404 { echo "$as_me:$LINENO: result
: $result" >&5
13405 echo "${ECHO_T}$result" >&6; }
13409 defaultval=$wxUSE_ALL_FEATURES
13410 if test -z "$defaultval"; then
13411 if test x"$enablestring" = xdisable; then
13418 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13419 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13420 # Check whether --enable-dragimage was given.
13421 if test "${enable_dragimage+set}" = set; then
13422 enableval=$enable_dragimage;
13423 if test "$enableval" = yes; then
13424 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13426 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13431 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13436 eval "$wx_cv_use_dragimage"
13438 if test x
"$enablestring" = xdisable
; then
13439 if test $wxUSE_DRAGIMAGE = no
; then
13445 result
=$wxUSE_DRAGIMAGE
13448 { echo "$as_me:$LINENO: result: $result" >&5
13449 echo "${ECHO_T}$result" >&6; }
13453 defaultval
=$wxUSE_ALL_FEATURES
13454 if test -z "$defaultval"; then
13455 if test x
"$enablestring" = xdisable
; then
13462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13463 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13464 # Check whether --enable-accessibility was given.
13465 if test "${enable_accessibility+set}" = set; then
13466 enableval
=$enable_accessibility;
13467 if test "$enableval" = yes; then
13468 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13470 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13475 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13480 eval "$wx_cv_use_accessibility"
13482 if test x"$enablestring" = xdisable; then
13483 if test $wxUSE_ACCESSIBILITY = no; then
13489 result=$wxUSE_ACCESSIBILITY
13492 { echo "$as_me:$LINENO: result: $result" >&5
13493 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}-palette" >&5
13509 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13510 # Check whether --enable-palette was given.
13511 if test "${enable_palette+set}" = set; then
13512 enableval=$enable_palette;
13513 if test "$enableval" = yes; then
13514 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13516 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13521 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13526 eval "$wx_cv_use_palette"
13528 if test x"$enablestring" = xdisable; then
13529 if test $wxUSE_PALETTE = no; then
13535 result=$wxUSE_PALETTE
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}-image" >&5
13553 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13554 # Check whether --enable-image was given.
13555 if test "${enable_image+set}" = set; then
13556 enableval=$enable_image;
13557 if test "$enableval" = yes; then
13558 wx_cv_use_image='wxUSE_IMAGE=yes'
13560 wx_cv_use_image='wxUSE_IMAGE=no'
13565 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13570 eval "$wx_cv_use_image"
13572 if test x
"$enablestring" = xdisable
; then
13573 if test $wxUSE_IMAGE = no
; then
13579 result
=$wxUSE_IMAGE
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}-gif" >&5
13597 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13598 # Check whether --enable-gif was given.
13599 if test "${enable_gif+set}" = set; then
13600 enableval
=$enable_gif;
13601 if test "$enableval" = yes; then
13602 wx_cv_use_gif
='wxUSE_GIF=yes'
13604 wx_cv_use_gif
='wxUSE_GIF=no'
13609 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13614 eval "$wx_cv_use_gif"
13616 if test x"$enablestring" = xdisable; then
13617 if test $wxUSE_GIF = no; 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}-pcx" >&5
13641 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13642 # Check whether --enable-pcx was given.
13643 if test "${enable_pcx+set}" = set; then
13644 enableval=$enable_pcx;
13645 if test "$enableval" = yes; then
13646 wx_cv_use_pcx='wxUSE_PCX
=yes'
13648 wx_cv_use_pcx='wxUSE_PCX
=no
'
13653 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13658 eval "$wx_cv_use_pcx"
13660 if test x"$enablestring" = xdisable; then
13661 if test $wxUSE_PCX = no; 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}-tga" >&5
13685 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13686 # Check whether --enable-tga was given.
13687 if test "${enable_tga+set}" = set; then
13688 enableval=$enable_tga;
13689 if test "$enableval" = yes; then
13690 wx_cv_use_tga='wxUSE_TGA=yes'
13692 wx_cv_use_tga='wxUSE_TGA=no'
13697 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13702 eval "$wx_cv_use_tga"
13704 if test x
"$enablestring" = xdisable
; then
13705 if test $wxUSE_TGA = no
; then
13714 { echo "$as_me:$LINENO: result: $result" >&5
13715 echo "${ECHO_T}$result" >&6; }
13719 defaultval
=$wxUSE_ALL_FEATURES
13720 if test -z "$defaultval"; then
13721 if test x
"$enablestring" = xdisable
; then
13728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13729 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13730 # Check whether --enable-iff was given.
13731 if test "${enable_iff+set}" = set; then
13732 enableval
=$enable_iff;
13733 if test "$enableval" = yes; then
13734 wx_cv_use_iff
='wxUSE_IFF=yes'
13736 wx_cv_use_iff
='wxUSE_IFF=no'
13741 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13746 eval "$wx_cv_use_iff"
13748 if test x"$enablestring" = xdisable; then
13749 if test $wxUSE_IFF = no; then
13758 { echo "$as_me:$LINENO: result: $result" >&5
13759 echo "${ECHO_T}$result" >&6; }
13763 defaultval=$wxUSE_ALL_FEATURES
13764 if test -z "$defaultval"; then
13765 if test x"$enablestring" = xdisable; then
13772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13773 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13774 # Check whether --enable-pnm was given.
13775 if test "${enable_pnm+set}" = set; then
13776 enableval=$enable_pnm;
13777 if test "$enableval" = yes; then
13778 wx_cv_use_pnm='wxUSE_PNM
=yes'
13780 wx_cv_use_pnm='wxUSE_PNM
=no
'
13785 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13790 eval "$wx_cv_use_pnm"
13792 if test x"$enablestring" = xdisable; then
13793 if test $wxUSE_PNM = no; then
13802 { echo "$as_me:$LINENO: result
: $result" >&5
13803 echo "${ECHO_T}$result" >&6; }
13807 defaultval=$wxUSE_ALL_FEATURES
13808 if test -z "$defaultval"; then
13809 if test x"$enablestring" = xdisable; then
13816 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13817 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13818 # Check whether --enable-xpm was given.
13819 if test "${enable_xpm+set}" = set; then
13820 enableval=$enable_xpm;
13821 if test "$enableval" = yes; then
13822 wx_cv_use_xpm='wxUSE_XPM=yes'
13824 wx_cv_use_xpm='wxUSE_XPM=no'
13829 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13834 eval "$wx_cv_use_xpm"
13836 if test x
"$enablestring" = xdisable
; then
13837 if test $wxUSE_XPM = no
; then
13846 { echo "$as_me:$LINENO: result: $result" >&5
13847 echo "${ECHO_T}$result" >&6; }
13851 defaultval
=$wxUSE_ALL_FEATURES
13852 if test -z "$defaultval"; then
13853 if test x
"$enablestring" = xdisable
; then
13860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13861 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13862 # Check whether --enable-ico_cur was given.
13863 if test "${enable_ico_cur+set}" = set; then
13864 enableval
=$enable_ico_cur;
13865 if test "$enableval" = yes; then
13866 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13868 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13873 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13878 eval "$wx_cv_use_ico_cur"
13880 if test x"$enablestring" = xdisable; then
13881 if test $wxUSE_ICO_CUR = no; then
13887 result=$wxUSE_ICO_CUR
13890 { echo "$as_me:$LINENO: result: $result" >&5
13891 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}-dccache" >&5
13907 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13908 # Check whether --enable-dccache was given.
13909 if test "${enable_dccache+set}" = set; then
13910 enableval=$enable_dccache;
13911 if test "$enableval" = yes; then
13912 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13914 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13919 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13924 eval "$wx_cv_use_dccache"
13926 if test x"$enablestring" = xdisable; then
13927 if test $wxUSE_DC_CACHEING = no; then
13933 result=$wxUSE_DC_CACHEING
13936 { echo "$as_me:$LINENO: result
: $result" >&5
13937 echo "${ECHO_T}$result" >&6; }
13941 defaultval=$wxUSE_ALL_FEATURES
13942 if test -z "$defaultval"; then
13943 if test x"$enablestring" = xdisable; then
13950 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
13951 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
13952 # Check whether --enable-ps-in-msw was given.
13953 if test "${enable_ps_in_msw+set}" = set; then
13954 enableval=$enable_ps_in_msw;
13955 if test "$enableval" = yes; then
13956 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13958 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13963 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13968 eval "$wx_cv_use_ps_in_msw"
13970 if test x
"$enablestring" = xdisable
; then
13971 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
13977 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13980 { echo "$as_me:$LINENO: result: $result" >&5
13981 echo "${ECHO_T}$result" >&6; }
13985 defaultval
=$wxUSE_ALL_FEATURES
13986 if test -z "$defaultval"; then
13987 if test x
"$enablestring" = xdisable
; then
13994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13995 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13996 # Check whether --enable-ownerdrawn was given.
13997 if test "${enable_ownerdrawn+set}" = set; then
13998 enableval
=$enable_ownerdrawn;
13999 if test "$enableval" = yes; then
14000 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
14002 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
14007 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14012 eval "$wx_cv_use_ownerdrawn"
14014 if test x"$enablestring" = xdisable; then
14015 if test $wxUSE_OWNER_DRAWN = no; then
14021 result=$wxUSE_OWNER_DRAWN
14024 { echo "$as_me:$LINENO: result: $result" >&5
14025 echo "${ECHO_T}$result" >&6; }
14029 defaultval=$wxUSE_ALL_FEATURES
14030 if test -z "$defaultval"; then
14031 if test x"$enablestring" = xdisable; then
14038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14039 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14040 # Check whether --enable-uxtheme was given.
14041 if test "${enable_uxtheme+set}" = set; then
14042 enableval=$enable_uxtheme;
14043 if test "$enableval" = yes; then
14044 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
14046 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
14051 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14056 eval "$wx_cv_use_uxtheme"
14058 if test x"$enablestring" = xdisable; then
14059 if test $wxUSE_UXTHEME = no; then
14065 result=$wxUSE_UXTHEME
14068 { echo "$as_me:$LINENO: result
: $result" >&5
14069 echo "${ECHO_T}$result" >&6; }
14073 defaultval=$wxUSE_ALL_FEATURES
14074 if test -z "$defaultval"; then
14075 if test x"$enablestring" = xdisable; then
14082 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
14083 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
14084 # Check whether --enable-wxdib was given.
14085 if test "${enable_wxdib+set}" = set; then
14086 enableval=$enable_wxdib;
14087 if test "$enableval" = yes; then
14088 wx_cv_use_wxdib='wxUSE_DIB=yes'
14090 wx_cv_use_wxdib='wxUSE_DIB=no'
14095 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14100 eval "$wx_cv_use_wxdib"
14102 if test x
"$enablestring" = xdisable
; then
14103 if test $wxUSE_DIB = no
; then
14112 { echo "$as_me:$LINENO: result: $result" >&5
14113 echo "${ECHO_T}$result" >&6; }
14116 if test "$wxUSE_MSW" != 1; then
14117 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
14122 defaultval
=$wxUSE_ALL_FEATURES
14123 if test -z "$defaultval"; then
14124 if test x
"$enablestring" = xdisable
; then
14131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14132 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14133 # Check whether --enable-autoidman was given.
14134 if test "${enable_autoidman+set}" = set; then
14135 enableval
=$enable_autoidman;
14136 if test "$enableval" = yes; then
14137 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
14139 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
14144 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14149 eval "$wx_cv_use_autoidman"
14151 if test x"$enablestring" = xdisable; then
14152 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14158 result=$wxUSE_AUTOID_MANAGEMENT
14161 { echo "$as_me:$LINENO: result: $result" >&5
14162 echo "${ECHO_T}$result" >&6; }
14168 cat >confcache <<\_ACEOF
14169 # This file is a shell script that caches the results of configure
14170 # tests run on this system so they can be shared between configure
14171 # scripts and configure runs, see configure's option
--config-cache.
14172 # It is not useful on other systems. If it contains results you don't
14173 # want to keep, you may remove or edit it.
14175 # config.status only pays attention to the cache file if you give it
14176 # the --recheck option to rerun configure.
14178 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14179 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14180 # following values.
14184 # The following way of writing the cache mishandles newlines in values,
14185 # but we know of no workaround that is simple, portable, and efficient.
14186 # So, we kill variables containing newlines.
14187 # Ultrix sh set writes to stderr and can't be redirected directly,
14188 # and sets the high bit in the cache file unless we assign to the vars.
14190 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14191 eval ac_val
=\$
$ac_var
14195 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14196 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14199 _
| IFS
| as_nl
) ;; #(
14200 *) $as_unset $ac_var ;;
14206 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14207 *${as_nl}ac_space
=\
*)
14208 # `set' does not quote correctly, so add quotes (double-quote
14209 # substitution turns \\\\ into \\, and sed turns \\ into \).
14212 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14215 # `set' quotes correctly as required by POSIX, so do not add quotes.
14216 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14225 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14227 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14229 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14230 if test -w "$cache_file"; then
14231 test "x$cache_file" != "x/dev/null" &&
14232 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14233 echo "$as_me: updating cache $cache_file" >&6;}
14234 cat confcache
>$cache_file
14236 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14237 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14247 ac_cpp
='$CPP $CPPFLAGS'
14248 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14249 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14250 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14251 if test -n "$ac_tool_prefix"; then
14252 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14253 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14254 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14256 if test "${ac_cv_prog_CC+set}" = set; then
14257 echo $ECHO_N "(cached) $ECHO_C" >&6
14259 if test -n "$CC"; then
14260 ac_cv_prog_CC
="$CC" # Let the user override the test.
14262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14263 for as_dir
in $PATH
14266 test -z "$as_dir" && as_dir
=.
14267 for ac_exec_ext
in '' $ac_executable_extensions; do
14268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14269 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14280 if test -n "$CC"; then
14281 { echo "$as_me:$LINENO: result: $CC" >&5
14282 echo "${ECHO_T}$CC" >&6; }
14284 { echo "$as_me:$LINENO: result: no" >&5
14285 echo "${ECHO_T}no" >&6; }
14290 if test -z "$ac_cv_prog_CC"; then
14292 # Extract the first word of "gcc", so it can be a program name with args.
14293 set dummy gcc
; ac_word
=$2
14294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14296 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14297 echo $ECHO_N "(cached) $ECHO_C" >&6
14299 if test -n "$ac_ct_CC"; then
14300 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14303 for as_dir
in $PATH
14306 test -z "$as_dir" && as_dir
=.
14307 for ac_exec_ext
in '' $ac_executable_extensions; do
14308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14309 ac_cv_prog_ac_ct_CC
="gcc"
14310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14319 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14320 if test -n "$ac_ct_CC"; then
14321 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14322 echo "${ECHO_T}$ac_ct_CC" >&6; }
14324 { echo "$as_me:$LINENO: result: no" >&5
14325 echo "${ECHO_T}no" >&6; }
14328 if test "x$ac_ct_CC" = x
; then
14331 case $cross_compiling:$ac_tool_warned in
14333 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14334 whose name does not start with the host triplet. If you think this
14335 configuration is useful to you, please write to autoconf@gnu.org." >&5
14336 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14337 whose name does not start with the host triplet. If you think this
14338 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14339 ac_tool_warned
=yes ;;
14344 CC
="$ac_cv_prog_CC"
14347 if test -z "$CC"; then
14348 if test -n "$ac_tool_prefix"; then
14349 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14350 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14353 if test "${ac_cv_prog_CC+set}" = set; then
14354 echo $ECHO_N "(cached) $ECHO_C" >&6
14356 if test -n "$CC"; then
14357 ac_cv_prog_CC
="$CC" # Let the user override the test.
14359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14360 for as_dir
in $PATH
14363 test -z "$as_dir" && as_dir
=.
14364 for ac_exec_ext
in '' $ac_executable_extensions; do
14365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14366 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14377 if test -n "$CC"; then
14378 { echo "$as_me:$LINENO: result: $CC" >&5
14379 echo "${ECHO_T}$CC" >&6; }
14381 { echo "$as_me:$LINENO: result: no" >&5
14382 echo "${ECHO_T}no" >&6; }
14388 if test -z "$CC"; then
14389 # Extract the first word of "cc", so it can be a program name with args.
14390 set dummy cc
; ac_word
=$2
14391 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14393 if test "${ac_cv_prog_CC+set}" = set; then
14394 echo $ECHO_N "(cached) $ECHO_C" >&6
14396 if test -n "$CC"; then
14397 ac_cv_prog_CC
="$CC" # Let the user override the test.
14399 ac_prog_rejected
=no
14400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14401 for as_dir
in $PATH
14404 test -z "$as_dir" && as_dir
=.
14405 for ac_exec_ext
in '' $ac_executable_extensions; do
14406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14407 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14408 ac_prog_rejected
=yes
14412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14419 if test $ac_prog_rejected = yes; then
14420 # We found a bogon in the path, so make sure we never use it.
14421 set dummy
$ac_cv_prog_CC
14423 if test $# != 0; then
14424 # We chose a different compiler from the bogus one.
14425 # However, it has the same basename, so the bogon will be chosen
14426 # first if we set CC to just the basename; use the full file name.
14428 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14434 if test -n "$CC"; then
14435 { echo "$as_me:$LINENO: result: $CC" >&5
14436 echo "${ECHO_T}$CC" >&6; }
14438 { echo "$as_me:$LINENO: result: no" >&5
14439 echo "${ECHO_T}no" >&6; }
14444 if test -z "$CC"; then
14445 if test -n "$ac_tool_prefix"; then
14446 for ac_prog
in cl.exe
14448 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14449 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14452 if test "${ac_cv_prog_CC+set}" = set; then
14453 echo $ECHO_N "(cached) $ECHO_C" >&6
14455 if test -n "$CC"; then
14456 ac_cv_prog_CC
="$CC" # Let the user override the test.
14458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14459 for as_dir
in $PATH
14462 test -z "$as_dir" && as_dir
=.
14463 for ac_exec_ext
in '' $ac_executable_extensions; do
14464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14465 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14476 if test -n "$CC"; then
14477 { echo "$as_me:$LINENO: result: $CC" >&5
14478 echo "${ECHO_T}$CC" >&6; }
14480 { echo "$as_me:$LINENO: result: no" >&5
14481 echo "${ECHO_T}no" >&6; }
14485 test -n "$CC" && break
14488 if test -z "$CC"; then
14490 for ac_prog
in cl.exe
14492 # Extract the first word of "$ac_prog", so it can be a program name with args.
14493 set dummy
$ac_prog; ac_word
=$2
14494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14496 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14497 echo $ECHO_N "(cached) $ECHO_C" >&6
14499 if test -n "$ac_ct_CC"; then
14500 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14503 for as_dir
in $PATH
14506 test -z "$as_dir" && as_dir
=.
14507 for ac_exec_ext
in '' $ac_executable_extensions; do
14508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14509 ac_cv_prog_ac_ct_CC
="$ac_prog"
14510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14519 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14520 if test -n "$ac_ct_CC"; then
14521 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14522 echo "${ECHO_T}$ac_ct_CC" >&6; }
14524 { echo "$as_me:$LINENO: result: no" >&5
14525 echo "${ECHO_T}no" >&6; }
14529 test -n "$ac_ct_CC" && break
14532 if test "x$ac_ct_CC" = x
; then
14535 case $cross_compiling:$ac_tool_warned in
14537 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14538 whose name does not start with the host triplet. If you think this
14539 configuration is useful to you, please write to autoconf@gnu.org." >&5
14540 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14541 whose name does not start with the host triplet. If you think this
14542 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14543 ac_tool_warned
=yes ;;
14552 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14553 See \`config.log' for more details." >&5
14554 echo "$as_me: error: no acceptable C compiler found in \$PATH
14555 See \`config.log' for more details." >&2;}
14556 { (exit 1); exit 1; }; }
14558 # Provide some information about the compiler.
14559 echo "$as_me:$LINENO: checking for C compiler version" >&5
14560 ac_compiler
=`set X $ac_compile; echo $2`
14561 { (ac_try
="$ac_compiler --version >&5"
14562 case "(($ac_try" in
14563 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14564 *) ac_try_echo=$ac_try;;
14566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14567 (eval "$ac_compiler --version >&5") 2>&5
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }
14571 { (ac_try="$ac_compiler -v >&5"
14572 case "(($ac_try" in
14573 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14574 *) ac_try_echo
=$ac_try;;
14576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14577 (eval "$ac_compiler -v >&5") 2>&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); }
14581 { (ac_try
="$ac_compiler -V >&5"
14582 case "(($ac_try" in
14583 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14584 *) ac_try_echo=$ac_try;;
14586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14587 (eval "$ac_compiler -V >&5") 2>&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }
14592 cat >conftest.$ac_ext <<_ACEOF
14595 cat confdefs.h >>conftest.$ac_ext
14596 cat >>conftest.$ac_ext <<_ACEOF
14597 /* end confdefs.h. */
14607 ac_clean_files_save=$ac_clean_files
14608 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14609 # Try to create an executable without -o first, disregard a.out.
14610 # It will help us diagnose broken compilers, and finding out an intuition
14612 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14613 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14614 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14616 # List of possible output files, starting from the most likely.
14617 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14618 # only as a last resort. b.out is created by i960 compilers.
14619 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14621 # The IRIX 6 linker writes into existing files which may not be
14622 # executable, retaining their permissions. Remove them first so a
14623 # subsequent execution test works.
14625 for ac_file in $ac_files
14628 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14629 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14634 if { (ac_try="$ac_link_default"
14635 case "(($ac_try" in
14636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14637 *) ac_try_echo=$ac_try;;
14639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14640 (eval "$ac_link_default") 2>&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; then
14644 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14645 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14646 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14647 # so that the user can short-circuit this test for compilers unknown to
14649 for ac_file
in $ac_files ''
14651 test -f "$ac_file" || continue
14653 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14656 # We found the default executable, but exeext='' is most
14660 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14662 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14664 # We set ac_cv_exeext here because the later test for it is not
14665 # safe: cross compilers may not add the suffix if given an `-o'
14666 # argument, so we may need to know it at that point already.
14667 # Even if this section looks crufty: it has the advantage of
14668 # actually working.
14674 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14680 { echo "$as_me:$LINENO: result: $ac_file" >&5
14681 echo "${ECHO_T}$ac_file" >&6; }
14682 if test -z "$ac_file"; then
14683 echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.
$ac_ext >&5
14686 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14687 See \`config.log' for more details." >&5
14688 echo "$as_me: error: C compiler cannot create executables
14689 See \`config.log' for more details." >&2;}
14690 { (exit 77); exit 77; }; }
14693 ac_exeext
=$ac_cv_exeext
14695 # Check that the compiler produces executables we can run. If not, either
14696 # the compiler is broken, or we cross compile.
14697 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14698 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14699 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14700 # If not cross compiling, check that we can run a simple program.
14701 if test "$cross_compiling" != yes; then
14702 if { ac_try
='./$ac_file'
14703 { (case "(($ac_try" in
14704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14705 *) ac_try_echo=$ac_try;;
14707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14708 (eval "$ac_try") 2>&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); }; }; then
14714 if test "$cross_compiling" = maybe; then
14715 cross_compiling=yes
14717 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14718 If you meant to cross compile, use \`--host'.
14719 See \`config.log' for more details.
" >&5
14720 echo "$as_me: error
: cannot run C compiled programs.
14721 If you meant to cross compile
, use \
`--host'.
14722 See \`config.log
' for more details." >&2;}
14723 { (exit 1); exit 1; }; }
14727 { echo "$as_me:$LINENO: result: yes" >&5
14728 echo "${ECHO_T}yes" >&6; }
14730 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14731 ac_clean_files=$ac_clean_files_save
14732 # Check that the compiler produces executables we can run. If not, either
14733 # the compiler is broken, or we cross compile.
14734 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14735 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14736 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14737 echo "${ECHO_T}$cross_compiling" >&6; }
14739 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14740 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14741 if { (ac_try="$ac_link"
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_link") 2>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; then
14751 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14752 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14753 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14755 for ac_file
in conftest.exe conftest conftest.
*; do
14756 test -f "$ac_file" || continue
14758 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14759 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14765 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14766 See \`config.log' for more details." >&5
14767 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14768 See \`config.log' for more details." >&2;}
14769 { (exit 1); exit 1; }; }
14772 rm -f conftest
$ac_cv_exeext
14773 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14774 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14776 rm -f conftest.
$ac_ext
14777 EXEEXT
=$ac_cv_exeext
14779 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14780 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14781 if test "${ac_cv_objext+set}" = set; then
14782 echo $ECHO_N "(cached) $ECHO_C" >&6
14784 cat >conftest.
$ac_ext <<_ACEOF
14787 cat confdefs.h
>>conftest.
$ac_ext
14788 cat >>conftest.
$ac_ext <<_ACEOF
14789 /* end confdefs.h. */
14799 rm -f conftest.o conftest.obj
14800 if { (ac_try
="$ac_compile"
14801 case "(($ac_try" in
14802 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14803 *) ac_try_echo=$ac_try;;
14805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14806 (eval "$ac_compile") 2>&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); }; then
14810 for ac_file in conftest.o conftest.obj conftest.*; do
14811 test -f "$ac_file" || continue;
14813 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14814 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14819 echo "$as_me: failed program was:" >&5
14820 sed 's/^/| /' conftest.$ac_ext >&5
14822 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14823 See \`config.log
' for more details." >&5
14824 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14825 See \`config.log' for more details.
" >&2;}
14826 { (exit 1); exit 1; }; }
14829 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14831 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14832 echo "${ECHO_T}$ac_cv_objext" >&6; }
14833 OBJEXT=$ac_cv_objext
14835 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14836 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14837 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14838 echo $ECHO_N "(cached
) $ECHO_C" >&6
14840 cat >conftest.$ac_ext <<_ACEOF
14843 cat confdefs.h >>conftest.$ac_ext
14844 cat >>conftest.$ac_ext <<_ACEOF
14845 /* end confdefs.h. */
14858 rm -f conftest.$ac_objext
14859 if { (ac_try="$ac_compile"
14860 case "(($ac_try" in
14861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14862 *) ac_try_echo=$ac_try;;
14864 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14865 (eval "$ac_compile") 2>conftest.er1
14867 grep -v '^ *+' conftest.er1 >conftest.err
14869 cat conftest.err >&5
14870 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14871 (exit $ac_status); } && {
14872 test -z "$ac_c_werror_flag" ||
14873 test ! -s conftest.err
14874 } && test -s conftest.$ac_objext; then
14875 ac_compiler_gnu=yes
14877 echo "$as_me: failed program was
:" >&5
14878 sed 's/^/| /' conftest.$ac_ext >&5
14883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14884 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14887 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14888 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14889 GCC=`test $ac_compiler_gnu = yes && echo yes`
14890 ac_test_CFLAGS=${CFLAGS+set}
14891 ac_save_CFLAGS=$CFLAGS
14892 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14893 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14894 if test "${ac_cv_prog_cc_g+set}" = set; then
14895 echo $ECHO_N "(cached
) $ECHO_C" >&6
14897 ac_save_c_werror_flag=$ac_c_werror_flag
14898 ac_c_werror_flag=yes
14901 cat >conftest.$ac_ext <<_ACEOF
14904 cat confdefs.h >>conftest.$ac_ext
14905 cat >>conftest.$ac_ext <<_ACEOF
14906 /* end confdefs.h. */
14916 rm -f conftest.$ac_objext
14917 if { (ac_try="$ac_compile"
14918 case "(($ac_try" in
14919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14920 *) ac_try_echo=$ac_try;;
14922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14923 (eval "$ac_compile") 2>conftest.er1
14925 grep -v '^ *+' conftest.er1 >conftest.err
14927 cat conftest.err >&5
14928 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14929 (exit $ac_status); } && {
14930 test -z "$ac_c_werror_flag" ||
14931 test ! -s conftest.err
14932 } && test -s conftest.$ac_objext; then
14933 ac_cv_prog_cc_g=yes
14935 echo "$as_me: failed program was
:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14939 cat >conftest.$ac_ext <<_ACEOF
14942 cat confdefs.h >>conftest.$ac_ext
14943 cat >>conftest.$ac_ext <<_ACEOF
14944 /* end confdefs.h. */
14954 rm -f conftest.$ac_objext
14955 if { (ac_try="$ac_compile"
14956 case "(($ac_try" in
14957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14958 *) ac_try_echo=$ac_try;;
14960 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14961 (eval "$ac_compile") 2>conftest.er1
14963 grep -v '^ *+' conftest.er1 >conftest.err
14965 cat conftest.err >&5
14966 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14967 (exit $ac_status); } && {
14968 test -z "$ac_c_werror_flag" ||
14969 test ! -s conftest.err
14970 } && test -s conftest.$ac_objext; then
14973 echo "$as_me: failed program was
:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14976 ac_c_werror_flag=$ac_save_c_werror_flag
14978 cat >conftest.$ac_ext <<_ACEOF
14981 cat confdefs.h >>conftest.$ac_ext
14982 cat >>conftest.$ac_ext <<_ACEOF
14983 /* end confdefs.h. */
14993 rm -f conftest.$ac_objext
14994 if { (ac_try="$ac_compile"
14995 case "(($ac_try" in
14996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14997 *) ac_try_echo=$ac_try;;
14999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15000 (eval "$ac_compile") 2>conftest.er1
15002 grep -v '^ *+' conftest.er1 >conftest.err
15004 cat conftest.err >&5
15005 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15006 (exit $ac_status); } && {
15007 test -z "$ac_c_werror_flag" ||
15008 test ! -s conftest.err
15009 } && test -s conftest.$ac_objext; then
15010 ac_cv_prog_cc_g=yes
15012 echo "$as_me: failed program was
:" >&5
15013 sed 's/^/| /' conftest.$ac_ext >&5
15018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15025 ac_c_werror_flag=$ac_save_c_werror_flag
15027 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15028 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15029 if test "$ac_test_CFLAGS" = set; then
15030 CFLAGS=$ac_save_CFLAGS
15031 elif test $ac_cv_prog_cc_g = yes; then
15032 if test "$GCC" = yes; then
15038 if test "$GCC" = yes; then
15044 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15045 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15046 if test "${ac_cv_prog_cc_c89+set}" = set; then
15047 echo $ECHO_N "(cached
) $ECHO_C" >&6
15049 ac_cv_prog_cc_c89=no
15051 cat >conftest.$ac_ext <<_ACEOF
15054 cat confdefs.h >>conftest.$ac_ext
15055 cat >>conftest.$ac_ext <<_ACEOF
15056 /* end confdefs.h. */
15057 #include <stdarg.h>
15059 #include <sys/types.h>
15060 #include <sys/stat.h>
15061 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15062 struct buf { int x; };
15063 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15064 static char *e (p, i)
15070 static char *f (char * (*g) (char **, int), char **p, ...)
15075 s = g (p, va_arg (v,int));
15080 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15081 function prototypes and stuff, but not '\xHH' hex character constants.
15082 These don't provoke an error unfortunately, instead are silently treated
15083 as 'x'. The following induces an error, until -std is added to get
15084 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15085 array size at least. It's necessary to write '\x00'==0 to get something
15086 that's true only with -std. */
15087 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15089 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15090 inside strings and character constants. */
15092 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15094 int test (int i, double x);
15095 struct s1 {int (*f) (int a);};
15096 struct s2 {int (*f) (double a);};
15097 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15103 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15108 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15109 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15111 CC="$ac_save_CC $ac_arg"
15112 rm -f conftest.$ac_objext
15113 if { (ac_try="$ac_compile"
15114 case "(($ac_try" in
15115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15116 *) ac_try_echo=$ac_try;;
15118 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15119 (eval "$ac_compile") 2>conftest.er1
15121 grep -v '^ *+' conftest.er1 >conftest.err
15123 cat conftest.err >&5
15124 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15125 (exit $ac_status); } && {
15126 test -z "$ac_c_werror_flag" ||
15127 test ! -s conftest.err
15128 } && test -s conftest.$ac_objext; then
15129 ac_cv_prog_cc_c89=$ac_arg
15131 echo "$as_me: failed program was
:" >&5
15132 sed 's/^/| /' conftest.$ac_ext >&5
15137 rm -f core conftest.err conftest.$ac_objext
15138 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15140 rm -f conftest.$ac_ext
15145 case "x
$ac_cv_prog_cc_c89" in
15147 { echo "$as_me:$LINENO: result
: none needed
" >&5
15148 echo "${ECHO_T}none needed
" >&6; } ;;
15150 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15151 echo "${ECHO_T}unsupported
" >&6; } ;;
15153 CC="$CC $ac_cv_prog_cc_c89"
15154 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15155 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15160 ac_cpp='$CPP $CPPFLAGS'
15161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15169 ac_cpp='$CPP $CPPFLAGS'
15170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15174 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
15175 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
15176 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15177 echo $ECHO_N "(cached
) $ECHO_C" >&6
15179 cat >conftest.$ac_ext <<_ACEOF
15182 cat confdefs.h >>conftest.$ac_ext
15183 cat >>conftest.$ac_ext <<_ACEOF
15184 /* end confdefs.h. */
15190 #ifndef __INTEL_COMPILER
15198 rm -f conftest.$ac_objext
15199 if { (ac_try="$ac_compile"
15200 case "(($ac_try" in
15201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15202 *) ac_try_echo=$ac_try;;
15204 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15205 (eval "$ac_compile") 2>conftest.er1
15207 grep -v '^ *+' conftest.er1 >conftest.err
15209 cat conftest.err >&5
15210 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15211 (exit $ac_status); } && {
15212 test -z "$ac_c_werror_flag" ||
15213 test ! -s conftest.err
15214 } && test -s conftest.$ac_objext; then
15215 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15217 echo "$as_me: failed program was
:" >&5
15218 sed 's/^/| /' conftest.$ac_ext >&5
15220 bakefile_cv_c_compiler___INTEL_COMPILER=no
15224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15228 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15229 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15230 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15236 ac_cpp='$CPP $CPPFLAGS'
15237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15244 if test "$INTELCC" = "yes"; then
15248 ac_cpp='$CPP $CPPFLAGS'
15249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15253 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15254 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15255 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15256 echo $ECHO_N "(cached
) $ECHO_C" >&6
15258 cat >conftest.$ac_ext <<_ACEOF
15261 cat confdefs.h >>conftest.$ac_ext
15262 cat >>conftest.$ac_ext <<_ACEOF
15263 /* end confdefs.h. */
15269 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15277 rm -f conftest.$ac_objext
15278 if { (ac_try="$ac_compile"
15279 case "(($ac_try" in
15280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15281 *) ac_try_echo=$ac_try;;
15283 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15284 (eval "$ac_compile") 2>conftest.er1
15286 grep -v '^ *+' conftest.er1 >conftest.err
15288 cat conftest.err >&5
15289 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15290 (exit $ac_status); } && {
15291 test -z "$ac_c_werror_flag" ||
15292 test ! -s conftest.err
15293 } && test -s conftest.$ac_objext; then
15294 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15296 echo "$as_me: failed program was
:" >&5
15297 sed 's/^/| /' conftest.$ac_ext >&5
15299 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15307 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15308 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15309 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15315 ac_cpp='$CPP $CPPFLAGS'
15316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15325 ac_cpp='$CPP $CPPFLAGS'
15326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15330 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15331 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15332 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15333 echo $ECHO_N "(cached
) $ECHO_C" >&6
15335 cat >conftest.$ac_ext <<_ACEOF
15338 cat confdefs.h >>conftest.$ac_ext
15339 cat >>conftest.$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15346 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15354 rm -f conftest.$ac_objext
15355 if { (ac_try="$ac_compile"
15356 case "(($ac_try" in
15357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15358 *) ac_try_echo=$ac_try;;
15360 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15361 (eval "$ac_compile") 2>conftest.er1
15363 grep -v '^ *+' conftest.er1 >conftest.err
15365 cat conftest.err >&5
15366 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15367 (exit $ac_status); } && {
15368 test -z "$ac_c_werror_flag" ||
15369 test ! -s conftest.err
15370 } && test -s conftest.$ac_objext; then
15371 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15373 echo "$as_me: failed program was
:" >&5
15374 sed 's/^/| /' conftest.$ac_ext >&5
15376 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15384 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15385 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15386 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
15392 ac_cpp='$CPP $CPPFLAGS'
15393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15401 if test "x
$GCC" != "xyes
"; then
15402 if test "xCC
" = "xC
"; then
15403 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15404 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15405 if test "${bakefile_cv_c_exto+set}" = set; then
15406 echo $ECHO_N "(cached
) $ECHO_C" >&6
15408 cat >conftest.$ac_ext <<_ACEOF
15411 cat confdefs.h >>conftest.$ac_ext
15412 cat >>conftest.$ac_ext <<_ACEOF
15413 /* end confdefs.h. */
15423 rm -f conftest.$ac_objext conftest.$ac_ext.o
15424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15425 (eval $ac_compile) 2>&5
15427 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15428 (exit $ac_status); }; then
15429 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15431 conftest.$ac_ext.o)
15432 bakefile_cv_c_exto="-ext o
"
15439 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15440 See \
`config.log' for more details." >&5
15441 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15442 See \`config.log
' for more details." >&2;}
15443 { (exit 1); exit 1; }; }
15447 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15450 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15451 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15452 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15453 if test "c" = "c"; then
15454 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15456 if test "c" = "cxx"; then
15457 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15461 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15462 unset ac_cv_prog_cc_g
15463 ac_test_CFLAGS=${CFLAGS+set}
15464 ac_save_CFLAGS=$CFLAGS
15465 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15466 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15467 if test "${ac_cv_prog_cc_g+set}" = set; then
15468 echo $ECHO_N "(cached) $ECHO_C" >&6
15470 ac_save_c_werror_flag=$ac_c_werror_flag
15471 ac_c_werror_flag=yes
15474 cat >conftest.$ac_ext <<_ACEOF
15477 cat confdefs.h >>conftest.$ac_ext
15478 cat >>conftest.$ac_ext <<_ACEOF
15479 /* end confdefs.h. */
15489 rm -f conftest.$ac_objext
15490 if { (ac_try="$ac_compile"
15491 case "(($ac_try" in
15492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15493 *) ac_try_echo=$ac_try;;
15495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15496 (eval "$ac_compile") 2>conftest.er1
15498 grep -v '^
*+' conftest.er1 >conftest.err
15500 cat conftest.err >&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); } && {
15503 test -z "$ac_c_werror_flag" ||
15504 test ! -s conftest.err
15505 } && test -s conftest.$ac_objext; then
15506 ac_cv_prog_cc_g=yes
15508 echo "$as_me: failed program was:" >&5
15509 sed 's
/^
/| /' conftest.$ac_ext >&5
15512 cat >conftest.$ac_ext <<_ACEOF
15515 cat confdefs.h >>conftest.$ac_ext
15516 cat >>conftest.$ac_ext <<_ACEOF
15517 /* end confdefs.h. */
15527 rm -f conftest.$ac_objext
15528 if { (ac_try="$ac_compile"
15529 case "(($ac_try" in
15530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15531 *) ac_try_echo=$ac_try;;
15533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15534 (eval "$ac_compile") 2>conftest.er1
15536 grep -v '^
*+' conftest.er1 >conftest.err
15538 cat conftest.err >&5
15539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); } && {
15541 test -z "$ac_c_werror_flag" ||
15542 test ! -s conftest.err
15543 } && test -s conftest.$ac_objext; then
15546 echo "$as_me: failed program was:" >&5
15547 sed 's
/^
/| /' conftest.$ac_ext >&5
15549 ac_c_werror_flag=$ac_save_c_werror_flag
15551 cat >conftest.$ac_ext <<_ACEOF
15554 cat confdefs.h >>conftest.$ac_ext
15555 cat >>conftest.$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15566 rm -f conftest.$ac_objext
15567 if { (ac_try="$ac_compile"
15568 case "(($ac_try" in
15569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15570 *) ac_try_echo=$ac_try;;
15572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15573 (eval "$ac_compile") 2>conftest.er1
15575 grep -v '^
*+' conftest.er1 >conftest.err
15577 cat conftest.err >&5
15578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15579 (exit $ac_status); } && {
15580 test -z "$ac_c_werror_flag" ||
15581 test ! -s conftest.err
15582 } && test -s conftest.$ac_objext; then
15583 ac_cv_prog_cc_g=yes
15585 echo "$as_me: failed program was:" >&5
15586 sed 's
/^
/| /' conftest.$ac_ext >&5
15591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15598 ac_c_werror_flag=$ac_save_c_werror_flag
15600 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15601 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15602 if test "$ac_test_CFLAGS" = set; then
15603 CFLAGS=$ac_save_CFLAGS
15604 elif test $ac_cv_prog_cc_g = yes; then
15605 if test "$GCC" = yes; then
15611 if test "$GCC" = yes; then
15625 ac_cpp='$CPP $CPPFLAGS'
15626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15627 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15630 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15631 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15632 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15633 echo $ECHO_N "(cached) $ECHO_C" >&6
15635 cat >conftest.$ac_ext <<_ACEOF
15638 cat confdefs.h >>conftest.$ac_ext
15639 cat >>conftest.$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15654 rm -f conftest.$ac_objext
15655 if { (ac_try="$ac_compile"
15656 case "(($ac_try" in
15657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15658 *) ac_try_echo=$ac_try;;
15660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15661 (eval "$ac_compile") 2>conftest.er1
15663 grep -v '^
*+' conftest.er1 >conftest.err
15665 cat conftest.err >&5
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); } && {
15668 test -z "$ac_c_werror_flag" ||
15669 test ! -s conftest.err
15670 } && test -s conftest.$ac_objext; then
15671 bakefile_cv_c_compiler___xlC__=yes
15673 echo "$as_me: failed program was:" >&5
15674 sed 's
/^
/| /' conftest.$ac_ext >&5
15676 bakefile_cv_c_compiler___xlC__=no
15680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15684 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15685 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15686 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15692 ac_cpp='$CPP $CPPFLAGS'
15693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15694 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15705 ac_cpp='$CPP $CPPFLAGS'
15706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15707 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15710 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15711 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15712 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15713 echo $ECHO_N "(cached) $ECHO_C" >&6
15715 cat >conftest.$ac_ext <<_ACEOF
15718 cat confdefs.h >>conftest.$ac_ext
15719 cat >>conftest.$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15734 rm -f conftest.$ac_objext
15735 if { (ac_try="$ac_compile"
15736 case "(($ac_try" in
15737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15738 *) ac_try_echo=$ac_try;;
15740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15741 (eval "$ac_compile") 2>conftest.er1
15743 grep -v '^
*+' conftest.er1 >conftest.err
15745 cat conftest.err >&5
15746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15747 (exit $ac_status); } && {
15748 test -z "$ac_c_werror_flag" ||
15749 test ! -s conftest.err
15750 } && test -s conftest.$ac_objext; then
15751 bakefile_cv_c_compiler___MWERKS__=yes
15753 echo "$as_me: failed program was:" >&5
15754 sed 's
/^
/| /' conftest.$ac_ext >&5
15756 bakefile_cv_c_compiler___MWERKS__=no
15760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15764 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15765 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15766 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15772 ac_cpp='$CPP $CPPFLAGS'
15773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15774 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15779 if test "$MWCC" != "yes"; then
15783 ac_cpp='$CPP $CPPFLAGS'
15784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15785 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15788 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15789 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15790 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15791 echo $ECHO_N "(cached) $ECHO_C" >&6
15793 cat >conftest.$ac_ext <<_ACEOF
15796 cat confdefs.h >>conftest.$ac_ext
15797 cat >>conftest.$ac_ext <<_ACEOF
15798 /* end confdefs.h. */
15812 rm -f conftest.$ac_objext
15813 if { (ac_try="$ac_compile"
15814 case "(($ac_try" in
15815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15816 *) ac_try_echo=$ac_try;;
15818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15819 (eval "$ac_compile") 2>conftest.er1
15821 grep -v '^
*+' conftest.er1 >conftest.err
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } && {
15826 test -z "$ac_c_werror_flag" ||
15827 test ! -s conftest.err
15828 } && test -s conftest.$ac_objext; then
15829 bakefile_cv_c_compiler___xlC__=yes
15831 echo "$as_me: failed program was:" >&5
15832 sed 's
/^
/| /' conftest.$ac_ext >&5
15834 bakefile_cv_c_compiler___xlC__=no
15838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15842 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15843 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15844 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
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
15864 ac_cpp='$CPP $CPPFLAGS'
15865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15866 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15869 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15870 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15871 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15872 echo $ECHO_N "(cached) $ECHO_C" >&6
15874 cat >conftest.$ac_ext <<_ACEOF
15877 cat confdefs.h >>conftest.$ac_ext
15878 cat >>conftest.$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15885 #ifndef _SGI_COMPILER_VERSION
15893 rm -f conftest.$ac_objext
15894 if { (ac_try="$ac_compile"
15895 case "(($ac_try" in
15896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15897 *) ac_try_echo=$ac_try;;
15899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15900 (eval "$ac_compile") 2>conftest.er1
15902 grep -v '^
*+' conftest.er1 >conftest.err
15904 cat conftest.err >&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); } && {
15907 test -z "$ac_c_werror_flag" ||
15908 test ! -s conftest.err
15909 } && test -s conftest.$ac_objext; then
15910 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15912 echo "$as_me: failed program was:" >&5
15913 sed 's
/^
/| /' conftest.$ac_ext >&5
15915 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15923 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15924 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15925 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15931 ac_cpp='$CPP $CPPFLAGS'
15932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15933 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15941 if test "$INTELCC" != "yes"; then
15945 ac_cpp='$CPP $CPPFLAGS'
15946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15947 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15950 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15951 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15952 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15953 echo $ECHO_N "(cached) $ECHO_C" >&6
15955 cat >conftest.$ac_ext <<_ACEOF
15958 cat confdefs.h >>conftest.$ac_ext
15959 cat >>conftest.$ac_ext <<_ACEOF
15960 /* end confdefs.h. */
15974 rm -f conftest.$ac_objext
15975 if { (ac_try="$ac_compile"
15976 case "(($ac_try" in
15977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15978 *) ac_try_echo=$ac_try;;
15980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15981 (eval "$ac_compile") 2>conftest.er1
15983 grep -v '^
*+' conftest.er1 >conftest.err
15985 cat conftest.err >&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } && {
15988 test -z "$ac_c_werror_flag" ||
15989 test ! -s conftest.err
15990 } && test -s conftest.$ac_objext; then
15991 bakefile_cv_c_compiler___SUNPRO_C=yes
15993 echo "$as_me: failed program was:" >&5
15994 sed 's
/^
/| /' conftest.$ac_ext >&5
15996 bakefile_cv_c_compiler___SUNPRO_C=no
16000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16004 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16005 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16006 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16012 ac_cpp='$CPP $CPPFLAGS'
16013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16014 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16026 ac_cpp='$CPP $CPPFLAGS'
16027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16028 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16031 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16032 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16033 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16034 echo $ECHO_N "(cached) $ECHO_C" >&6
16036 cat >conftest.$ac_ext <<_ACEOF
16039 cat confdefs.h >>conftest.$ac_ext
16040 cat >>conftest.$ac_ext <<_ACEOF
16041 /* end confdefs.h. */
16055 rm -f conftest.$ac_objext
16056 if { (ac_try="$ac_compile"
16057 case "(($ac_try" in
16058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16059 *) ac_try_echo=$ac_try;;
16061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16062 (eval "$ac_compile") 2>conftest.er1
16064 grep -v '^
*+' conftest.er1 >conftest.err
16066 cat conftest.err >&5
16067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16068 (exit $ac_status); } && {
16069 test -z "$ac_c_werror_flag" ||
16070 test ! -s conftest.err
16071 } && test -s conftest.$ac_objext; then
16072 bakefile_cv_c_compiler___HP_cc=yes
16074 echo "$as_me: failed program was:" >&5
16075 sed 's
/^
/| /' conftest.$ac_ext >&5
16077 bakefile_cv_c_compiler___HP_cc=no
16081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16085 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16086 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16087 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16093 ac_cpp='$CPP $CPPFLAGS'
16094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16095 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16106 ac_cpp='$CPP $CPPFLAGS'
16107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16108 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16111 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16112 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16113 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16114 echo $ECHO_N "(cached) $ECHO_C" >&6
16116 cat >conftest.$ac_ext <<_ACEOF
16119 cat confdefs.h >>conftest.$ac_ext
16120 cat >>conftest.$ac_ext <<_ACEOF
16121 /* end confdefs.h. */
16135 rm -f conftest.$ac_objext
16136 if { (ac_try="$ac_compile"
16137 case "(($ac_try" in
16138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16139 *) ac_try_echo=$ac_try;;
16141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16142 (eval "$ac_compile") 2>conftest.er1
16144 grep -v '^
*+' conftest.er1 >conftest.err
16146 cat conftest.err >&5
16147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16148 (exit $ac_status); } && {
16149 test -z "$ac_c_werror_flag" ||
16150 test ! -s conftest.err
16151 } && test -s conftest.$ac_objext; then
16152 bakefile_cv_c_compiler___DECC=yes
16154 echo "$as_me: failed program was:" >&5
16155 sed 's
/^
/| /' conftest.$ac_ext >&5
16157 bakefile_cv_c_compiler___DECC=no
16161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16165 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16166 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
16167 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16173 ac_cpp='$CPP $CPPFLAGS'
16174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16175 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16186 ac_cpp='$CPP $CPPFLAGS'
16187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16188 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16191 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16192 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16193 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16196 cat >conftest.$ac_ext <<_ACEOF
16199 cat confdefs.h >>conftest.$ac_ext
16200 cat >>conftest.$ac_ext <<_ACEOF
16201 /* end confdefs.h. */
16215 rm -f conftest.$ac_objext
16216 if { (ac_try="$ac_compile"
16217 case "(($ac_try" in
16218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16219 *) ac_try_echo=$ac_try;;
16221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16222 (eval "$ac_compile") 2>conftest.er1
16224 grep -v '^
*+' conftest.er1 >conftest.err
16226 cat conftest.err >&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); } && {
16229 test -z "$ac_c_werror_flag" ||
16230 test ! -s conftest.err
16231 } && test -s conftest.$ac_objext; then
16232 bakefile_cv_c_compiler___SUNPRO_C=yes
16234 echo "$as_me: failed program was:" >&5
16235 sed 's
/^
/| /' conftest.$ac_ext >&5
16237 bakefile_cv_c_compiler___SUNPRO_C=no
16241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16245 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16246 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16247 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16253 ac_cpp='$CPP $CPPFLAGS'
16254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16255 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16267 ac_cpp='$CPP $CPPFLAGS'
16268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16269 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16271 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16272 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16273 # On Suns, sometimes $CPP names a directory.
16274 if test -n "$CPP" && test -d "$CPP"; then
16277 if test -z "$CPP"; then
16278 if test "${ac_cv_prog_CPP+set}" = set; then
16279 echo $ECHO_N "(cached) $ECHO_C" >&6
16281 # Double quotes because CPP needs to be expanded
16282 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16284 ac_preproc_ok=false
16285 for ac_c_preproc_warn_flag in '' yes
16287 # Use a header file that comes with gcc, so configuring glibc
16288 # with a fresh cross-compiler works.
16289 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16290 # <limits.h> exists even on freestanding compilers.
16291 # On the NeXT, cc -E runs the code through the compiler's parser
,
16292 # not just through cpp. "Syntax error" is here to catch this case.
16293 cat >conftest.
$ac_ext <<_ACEOF
16296 cat confdefs.h
>>conftest.
$ac_ext
16297 cat >>conftest.
$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16300 # include <limits.h>
16302 # include <assert.h>
16306 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16307 case "(($ac_try" in
16308 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16309 *) ac_try_echo=$ac_try;;
16311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16314 grep -v '^ *+' conftest.er1 >conftest.err
16316 cat conftest.err >&5
16317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16318 (exit $ac_status); } >/dev/null && {
16319 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16320 test ! -s conftest.err
16324 echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.$ac_ext >&5
16327 # Broken: fails on valid input.
16331 rm -f conftest.err conftest.$ac_ext
16333 # OK, works on sane cases. Now check whether nonexistent headers
16334 # can be detected and how.
16335 cat >conftest.$ac_ext <<_ACEOF
16338 cat confdefs.h >>conftest.$ac_ext
16339 cat >>conftest.$ac_ext <<_ACEOF
16340 /* end confdefs.h. */
16341 #include <ac_nonexistent.h>
16343 if { (ac_try="$ac_cpp conftest.$ac_ext"
16344 case "(($ac_try" in
16345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16346 *) ac_try_echo
=$ac_try;;
16348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16349 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16351 grep -v '^ *+' conftest.er1
>conftest.err
16353 cat conftest.err
>&5
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); } >/dev
/null
&& {
16356 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16357 test ! -s conftest.err
16359 # Broken: success on invalid input.
16362 echo "$as_me: failed program was:" >&5
16363 sed 's/^/| /' conftest.
$ac_ext >&5
16365 # Passes both tests.
16370 rm -f conftest.err conftest.
$ac_ext
16373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16374 rm -f conftest.err conftest.
$ac_ext
16375 if $ac_preproc_ok; then
16380 ac_cv_prog_CPP
=$CPP
16383 CPP
=$ac_cv_prog_CPP
16385 ac_cv_prog_CPP
=$CPP
16387 { echo "$as_me:$LINENO: result: $CPP" >&5
16388 echo "${ECHO_T}$CPP" >&6; }
16389 ac_preproc_ok
=false
16390 for ac_c_preproc_warn_flag
in '' yes
16392 # Use a header file that comes with gcc, so configuring glibc
16393 # with a fresh cross-compiler works.
16394 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16395 # <limits.h> exists even on freestanding compilers.
16396 # On the NeXT, cc -E runs the code through the compiler's parser,
16397 # not just through cpp. "Syntax error" is here to catch this case.
16398 cat >conftest.
$ac_ext <<_ACEOF
16401 cat confdefs.h
>>conftest.
$ac_ext
16402 cat >>conftest.
$ac_ext <<_ACEOF
16403 /* end confdefs.h. */
16405 # include <limits.h>
16407 # include <assert.h>
16411 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16412 case "(($ac_try" in
16413 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16414 *) ac_try_echo=$ac_try;;
16416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16419 grep -v '^ *+' conftest.er1 >conftest.err
16421 cat conftest.err >&5
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); } >/dev/null && {
16424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16425 test ! -s conftest.err
16429 echo "$as_me: failed program was:" >&5
16430 sed 's/^/| /' conftest.$ac_ext >&5
16432 # Broken: fails on valid input.
16436 rm -f conftest.err conftest.$ac_ext
16438 # OK, works on sane cases. Now check whether nonexistent headers
16439 # can be detected and how.
16440 cat >conftest.$ac_ext <<_ACEOF
16443 cat confdefs.h >>conftest.$ac_ext
16444 cat >>conftest.$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16446 #include <ac_nonexistent.h>
16448 if { (ac_try="$ac_cpp conftest.$ac_ext"
16449 case "(($ac_try" in
16450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16451 *) ac_try_echo
=$ac_try;;
16453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16454 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16456 grep -v '^ *+' conftest.er1
>conftest.err
16458 cat conftest.err
>&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); } >/dev
/null
&& {
16461 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16462 test ! -s conftest.err
16464 # Broken: success on invalid input.
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.
$ac_ext >&5
16470 # Passes both tests.
16475 rm -f conftest.err conftest.
$ac_ext
16478 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16479 rm -f conftest.err conftest.
$ac_ext
16480 if $ac_preproc_ok; then
16483 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16484 See \`config.log' for more details." >&5
16485 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16486 See \`config.log' for more details." >&2;}
16487 { (exit 1); exit 1; }; }
16491 ac_cpp
='$CPP $CPPFLAGS'
16492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16497 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16498 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16499 if test "${ac_cv_path_GREP+set}" = set; then
16500 echo $ECHO_N "(cached) $ECHO_C" >&6
16502 # Extract the first word of "grep ggrep" to use in msg output
16503 if test -z "$GREP"; then
16504 set dummy
grep ggrep
; ac_prog_name
=$2
16505 if test "${ac_cv_path_GREP+set}" = set; then
16506 echo $ECHO_N "(cached) $ECHO_C" >&6
16508 ac_path_GREP_found
=false
16509 # Loop through the user's path and test for each of PROGNAME-LIST
16510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16511 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16514 test -z "$as_dir" && as_dir
=.
16515 for ac_prog
in grep ggrep
; do
16516 for ac_exec_ext
in '' $ac_executable_extensions; do
16517 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16518 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16519 # Check for GNU ac_path_GREP and select it if it is found.
16520 # Check for GNU $ac_path_GREP
16521 case `"$ac_path_GREP" --version 2>&1` in
16523 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16526 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16529 cat "conftest.in" "conftest.in" >"conftest.tmp"
16530 mv "conftest.tmp" "conftest.in"
16531 cp "conftest.in" "conftest.nl"
16532 echo 'GREP' >> "conftest.nl"
16533 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16534 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16535 ac_count
=`expr $ac_count + 1`
16536 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16537 # Best one so far, save it but keep looking for a better one
16538 ac_cv_path_GREP
="$ac_path_GREP"
16539 ac_path_GREP_max
=$ac_count
16541 # 10*(2^10) chars as input seems more than enough
16542 test $ac_count -gt 10 && break
16544 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16548 $ac_path_GREP_found && break 3
16558 GREP
="$ac_cv_path_GREP"
16559 if test -z "$GREP"; then
16560 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16561 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16562 { (exit 1); exit 1; }; }
16566 ac_cv_path_GREP
=$GREP
16571 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16572 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16573 GREP
="$ac_cv_path_GREP"
16576 { echo "$as_me:$LINENO: checking for egrep" >&5
16577 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16578 if test "${ac_cv_path_EGREP+set}" = set; then
16579 echo $ECHO_N "(cached) $ECHO_C" >&6
16581 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16582 then ac_cv_path_EGREP
="$GREP -E"
16584 # Extract the first word of "egrep" to use in msg output
16585 if test -z "$EGREP"; then
16586 set dummy
egrep; ac_prog_name
=$2
16587 if test "${ac_cv_path_EGREP+set}" = set; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16590 ac_path_EGREP_found
=false
16591 # Loop through the user's path and test for each of PROGNAME-LIST
16592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16593 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16596 test -z "$as_dir" && as_dir
=.
16597 for ac_prog
in egrep; do
16598 for ac_exec_ext
in '' $ac_executable_extensions; do
16599 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16600 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16601 # Check for GNU ac_path_EGREP and select it if it is found.
16602 # Check for GNU $ac_path_EGREP
16603 case `"$ac_path_EGREP" --version 2>&1` in
16605 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16608 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16611 cat "conftest.in" "conftest.in" >"conftest.tmp"
16612 mv "conftest.tmp" "conftest.in"
16613 cp "conftest.in" "conftest.nl"
16614 echo 'EGREP' >> "conftest.nl"
16615 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16616 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16617 ac_count
=`expr $ac_count + 1`
16618 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16619 # Best one so far, save it but keep looking for a better one
16620 ac_cv_path_EGREP
="$ac_path_EGREP"
16621 ac_path_EGREP_max
=$ac_count
16623 # 10*(2^10) chars as input seems more than enough
16624 test $ac_count -gt 10 && break
16626 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16630 $ac_path_EGREP_found && break 3
16640 EGREP
="$ac_cv_path_EGREP"
16641 if test -z "$EGREP"; then
16642 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16643 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16644 { (exit 1); exit 1; }; }
16648 ac_cv_path_EGREP
=$EGREP
16654 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16655 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16656 EGREP
="$ac_cv_path_EGREP"
16659 if test $ac_cv_c_compiler_gnu = yes; then
16660 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16661 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16662 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16663 echo $ECHO_N "(cached) $ECHO_C" >&6
16665 ac_pattern
="Autoconf.*'x'"
16666 cat >conftest.
$ac_ext <<_ACEOF
16669 cat confdefs.h
>>conftest.
$ac_ext
16670 cat >>conftest.
$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16676 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16677 ac_cv_prog_gcc_traditional
=yes
16679 ac_cv_prog_gcc_traditional
=no
16684 if test $ac_cv_prog_gcc_traditional = no
; then
16685 cat >conftest.
$ac_ext <<_ACEOF
16688 cat confdefs.h
>>conftest.
$ac_ext
16689 cat >>conftest.
$ac_ext <<_ACEOF
16690 /* end confdefs.h. */
16691 #include <termio.h>
16694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16695 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16696 ac_cv_prog_gcc_traditional
=yes
16702 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16703 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16704 if test $ac_cv_prog_gcc_traditional = yes; then
16705 CC
="$CC -traditional"
16710 CXXFLAGS
=${CXXFLAGS:=}
16715 ac_cpp
='$CXXCPP $CPPFLAGS'
16716 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16717 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16718 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16719 if test -z "$CXX"; then
16720 if test -n "$CCC"; then
16723 if test -n "$ac_tool_prefix"; then
16724 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16727 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16730 if test "${ac_cv_prog_CXX+set}" = set; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16733 if test -n "$CXX"; then
16734 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16737 for as_dir
in $PATH
16740 test -z "$as_dir" && as_dir
=.
16741 for ac_exec_ext
in '' $ac_executable_extensions; do
16742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16743 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16753 CXX
=$ac_cv_prog_CXX
16754 if test -n "$CXX"; then
16755 { echo "$as_me:$LINENO: result: $CXX" >&5
16756 echo "${ECHO_T}$CXX" >&6; }
16758 { echo "$as_me:$LINENO: result: no" >&5
16759 echo "${ECHO_T}no" >&6; }
16763 test -n "$CXX" && break
16766 if test -z "$CXX"; then
16768 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16770 # Extract the first word of "$ac_prog", so it can be a program name with args.
16771 set dummy
$ac_prog; ac_word
=$2
16772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16774 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16775 echo $ECHO_N "(cached) $ECHO_C" >&6
16777 if test -n "$ac_ct_CXX"; then
16778 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16781 for as_dir
in $PATH
16784 test -z "$as_dir" && as_dir
=.
16785 for ac_exec_ext
in '' $ac_executable_extensions; do
16786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16787 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16797 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16798 if test -n "$ac_ct_CXX"; then
16799 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16800 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16802 { echo "$as_me:$LINENO: result: no" >&5
16803 echo "${ECHO_T}no" >&6; }
16807 test -n "$ac_ct_CXX" && break
16810 if test "x$ac_ct_CXX" = x
; then
16813 case $cross_compiling:$ac_tool_warned in
16815 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16816 whose name does not start with the host triplet. If you think this
16817 configuration is useful to you, please write to autoconf@gnu.org." >&5
16818 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16819 whose name does not start with the host triplet. If you think this
16820 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16821 ac_tool_warned
=yes ;;
16829 # Provide some information about the compiler.
16830 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16831 ac_compiler
=`set X $ac_compile; echo $2`
16832 { (ac_try
="$ac_compiler --version >&5"
16833 case "(($ac_try" in
16834 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16835 *) ac_try_echo=$ac_try;;
16837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16838 (eval "$ac_compiler --version >&5") 2>&5
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); }
16842 { (ac_try="$ac_compiler -v >&5"
16843 case "(($ac_try" in
16844 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16845 *) ac_try_echo
=$ac_try;;
16847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16848 (eval "$ac_compiler -v >&5") 2>&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); }
16852 { (ac_try
="$ac_compiler -V >&5"
16853 case "(($ac_try" in
16854 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16855 *) ac_try_echo=$ac_try;;
16857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16858 (eval "$ac_compiler -V >&5") 2>&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); }
16863 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16864 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16865 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16866 echo $ECHO_N "(cached) $ECHO_C" >&6
16868 cat >conftest.$ac_ext <<_ACEOF
16871 cat confdefs.h >>conftest.$ac_ext
16872 cat >>conftest.$ac_ext <<_ACEOF
16873 /* end confdefs.h. */
16886 rm -f conftest.$ac_objext
16887 if { (ac_try="$ac_compile"
16888 case "(($ac_try" in
16889 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16890 *) ac_try_echo
=$ac_try;;
16892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16893 (eval "$ac_compile") 2>conftest.er1
16895 grep -v '^ *+' conftest.er1
>conftest.err
16897 cat conftest.err
>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } && {
16900 test -z "$ac_cxx_werror_flag" ||
16901 test ! -s conftest.err
16902 } && test -s conftest.
$ac_objext; then
16903 ac_compiler_gnu
=yes
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.
$ac_ext >&5
16911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16912 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16915 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16916 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16917 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16918 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16919 ac_save_CXXFLAGS
=$CXXFLAGS
16920 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16921 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16922 if test "${ac_cv_prog_cxx_g+set}" = set; then
16923 echo $ECHO_N "(cached) $ECHO_C" >&6
16925 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16926 ac_cxx_werror_flag
=yes
16927 ac_cv_prog_cxx_g
=no
16929 cat >conftest.
$ac_ext <<_ACEOF
16932 cat confdefs.h
>>conftest.
$ac_ext
16933 cat >>conftest.
$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16944 rm -f conftest.
$ac_objext
16945 if { (ac_try
="$ac_compile"
16946 case "(($ac_try" in
16947 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16948 *) ac_try_echo=$ac_try;;
16950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16951 (eval "$ac_compile") 2>conftest.er1
16953 grep -v '^ *+' conftest.er1 >conftest.err
16955 cat conftest.err >&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } && {
16958 test -z "$ac_cxx_werror_flag" ||
16959 test ! -s conftest.err
16960 } && test -s conftest.$ac_objext; then
16961 ac_cv_prog_cxx_g=yes
16963 echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.$ac_ext >&5
16967 cat >conftest.$ac_ext <<_ACEOF
16970 cat confdefs.h >>conftest.$ac_ext
16971 cat >>conftest.$ac_ext <<_ACEOF
16972 /* end confdefs.h. */
16982 rm -f conftest.$ac_objext
16983 if { (ac_try="$ac_compile"
16984 case "(($ac_try" in
16985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16986 *) ac_try_echo
=$ac_try;;
16988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16989 (eval "$ac_compile") 2>conftest.er1
16991 grep -v '^ *+' conftest.er1
>conftest.err
16993 cat conftest.err
>&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); } && {
16996 test -z "$ac_cxx_werror_flag" ||
16997 test ! -s conftest.err
16998 } && test -s conftest.
$ac_objext; then
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.
$ac_ext >&5
17004 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17006 cat >conftest.
$ac_ext <<_ACEOF
17009 cat confdefs.h
>>conftest.
$ac_ext
17010 cat >>conftest.
$ac_ext <<_ACEOF
17011 /* end confdefs.h. */
17021 rm -f conftest.
$ac_objext
17022 if { (ac_try
="$ac_compile"
17023 case "(($ac_try" in
17024 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17025 *) ac_try_echo=$ac_try;;
17027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17028 (eval "$ac_compile") 2>conftest.er1
17030 grep -v '^ *+' conftest.er1 >conftest.err
17032 cat conftest.err >&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); } && {
17035 test -z "$ac_cxx_werror_flag" ||
17036 test ! -s conftest.err
17037 } && test -s conftest.$ac_objext; then
17038 ac_cv_prog_cxx_g=yes
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.$ac_ext >&5
17046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17053 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17055 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17056 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17057 if test "$ac_test_CXXFLAGS" = set; then
17058 CXXFLAGS=$ac_save_CXXFLAGS
17059 elif test $ac_cv_prog_cxx_g = yes; then
17060 if test "$GXX" = yes; then
17066 if test "$GXX" = yes; then
17073 ac_cpp='$CPP $CPPFLAGS'
17074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17082 ac_cpp='$CXXCPP $CPPFLAGS'
17083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17087 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17088 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17089 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17090 echo $ECHO_N "(cached) $ECHO_C" >&6
17092 cat >conftest.$ac_ext <<_ACEOF
17095 cat confdefs.h >>conftest.$ac_ext
17096 cat >>conftest.$ac_ext <<_ACEOF
17097 /* end confdefs.h. */
17103 #ifndef __INTEL_COMPILER
17111 rm -f conftest.$ac_objext
17112 if { (ac_try="$ac_compile"
17113 case "(($ac_try" in
17114 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17115 *) ac_try_echo
=$ac_try;;
17117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17118 (eval "$ac_compile") 2>conftest.er1
17120 grep -v '^ *+' conftest.er1
>conftest.err
17122 cat conftest.err
>&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); } && {
17125 test -z "$ac_cxx_werror_flag" ||
17126 test ! -s conftest.err
17127 } && test -s conftest.
$ac_objext; then
17128 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17130 echo "$as_me: failed program was:" >&5
17131 sed 's/^/| /' conftest.
$ac_ext >&5
17133 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17141 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17142 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17143 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17149 ac_cpp
='$CPP $CPPFLAGS'
17150 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17151 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17152 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17157 if test "$INTELCXX" = "yes"; then
17161 ac_cpp
='$CXXCPP $CPPFLAGS'
17162 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17163 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17164 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17166 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
17167 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
17168 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
17169 echo $ECHO_N "(cached) $ECHO_C" >&6
17171 cat >conftest.
$ac_ext <<_ACEOF
17174 cat confdefs.h
>>conftest.
$ac_ext
17175 cat >>conftest.
$ac_ext <<_ACEOF
17176 /* end confdefs.h. */
17182 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17190 rm -f conftest.
$ac_objext
17191 if { (ac_try
="$ac_compile"
17192 case "(($ac_try" in
17193 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17194 *) ac_try_echo=$ac_try;;
17196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17197 (eval "$ac_compile") 2>conftest.er1
17199 grep -v '^ *+' conftest.er1 >conftest.err
17201 cat conftest.err >&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); } && {
17204 test -z "$ac_cxx_werror_flag" ||
17205 test ! -s conftest.err
17206 } && test -s conftest.$ac_objext; then
17207 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17209 echo "$as_me: failed program was:" >&5
17210 sed 's/^/| /' conftest.$ac_ext >&5
17212 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17220 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17221 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17222 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17228 ac_cpp='$CPP $CPPFLAGS'
17229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17238 ac_cpp='$CXXCPP $CPPFLAGS'
17239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17243 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17244 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17245 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17246 echo $ECHO_N "(cached) $ECHO_C" >&6
17248 cat >conftest.$ac_ext <<_ACEOF
17251 cat confdefs.h >>conftest.$ac_ext
17252 cat >>conftest.$ac_ext <<_ACEOF
17253 /* end confdefs.h. */
17259 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17267 rm -f conftest.$ac_objext
17268 if { (ac_try="$ac_compile"
17269 case "(($ac_try" in
17270 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17271 *) ac_try_echo
=$ac_try;;
17273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17274 (eval "$ac_compile") 2>conftest.er1
17276 grep -v '^ *+' conftest.er1
>conftest.err
17278 cat conftest.err
>&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); } && {
17281 test -z "$ac_cxx_werror_flag" ||
17282 test ! -s conftest.err
17283 } && test -s conftest.
$ac_objext; then
17284 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17286 echo "$as_me: failed program was:" >&5
17287 sed 's/^/| /' conftest.
$ac_ext >&5
17289 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17297 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17298 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17299 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17305 ac_cpp
='$CPP $CPPFLAGS'
17306 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17307 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17308 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17314 if test "x$GCXX" != "xyes"; then
17315 if test "xCXX" = "xC"; then
17316 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17317 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17318 if test "${bakefile_cv_c_exto+set}" = set; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17321 cat >conftest.
$ac_ext <<_ACEOF
17324 cat confdefs.h
>>conftest.
$ac_ext
17325 cat >>conftest.
$ac_ext <<_ACEOF
17326 /* end confdefs.h. */
17336 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17338 (eval $ac_compile) 2>&5
17340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); }; then
17342 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17344 conftest.
$ac_ext.o
)
17345 bakefile_cv_c_exto
="-ext o"
17352 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17353 See \`config.log' for more details." >&5
17354 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17355 See \`config.log' for more details." >&2;}
17356 { (exit 1); exit 1; }; }
17360 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17363 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17364 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17365 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17366 if test "c" = "c"; then
17367 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17369 if test "c" = "cxx"; then
17370 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17374 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17375 unset ac_cv_prog_cc_g
17376 ac_test_CFLAGS
=${CFLAGS+set}
17377 ac_save_CFLAGS
=$CFLAGS
17378 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17379 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17380 if test "${ac_cv_prog_cc_g+set}" = set; then
17381 echo $ECHO_N "(cached) $ECHO_C" >&6
17383 ac_save_c_werror_flag
=$ac_c_werror_flag
17384 ac_c_werror_flag
=yes
17387 cat >conftest.
$ac_ext <<_ACEOF
17390 cat confdefs.h
>>conftest.
$ac_ext
17391 cat >>conftest.
$ac_ext <<_ACEOF
17392 /* end confdefs.h. */
17402 rm -f conftest.
$ac_objext
17403 if { (ac_try
="$ac_compile"
17404 case "(($ac_try" in
17405 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17406 *) ac_try_echo=$ac_try;;
17408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17409 (eval "$ac_compile") 2>conftest.er1
17411 grep -v '^ *+' conftest.er1 >conftest.err
17413 cat conftest.err >&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); } && {
17416 test -z "$ac_c_werror_flag" ||
17417 test ! -s conftest.err
17418 } && test -s conftest.$ac_objext; then
17419 ac_cv_prog_cc_g=yes
17421 echo "$as_me: failed program was:" >&5
17422 sed 's/^/| /' conftest.$ac_ext >&5
17425 cat >conftest.$ac_ext <<_ACEOF
17428 cat confdefs.h >>conftest.$ac_ext
17429 cat >>conftest.$ac_ext <<_ACEOF
17430 /* end confdefs.h. */
17440 rm -f conftest.$ac_objext
17441 if { (ac_try="$ac_compile"
17442 case "(($ac_try" in
17443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17444 *) ac_try_echo
=$ac_try;;
17446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17447 (eval "$ac_compile") 2>conftest.er1
17449 grep -v '^ *+' conftest.er1
>conftest.err
17451 cat conftest.err
>&5
17452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17453 (exit $ac_status); } && {
17454 test -z "$ac_c_werror_flag" ||
17455 test ! -s conftest.err
17456 } && test -s conftest.
$ac_objext; then
17459 echo "$as_me: failed program was:" >&5
17460 sed 's/^/| /' conftest.
$ac_ext >&5
17462 ac_c_werror_flag
=$ac_save_c_werror_flag
17464 cat >conftest.
$ac_ext <<_ACEOF
17467 cat confdefs.h
>>conftest.
$ac_ext
17468 cat >>conftest.
$ac_ext <<_ACEOF
17469 /* end confdefs.h. */
17479 rm -f conftest.
$ac_objext
17480 if { (ac_try
="$ac_compile"
17481 case "(($ac_try" in
17482 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17483 *) ac_try_echo=$ac_try;;
17485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17486 (eval "$ac_compile") 2>conftest.er1
17488 grep -v '^ *+' conftest.er1 >conftest.err
17490 cat conftest.err >&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); } && {
17493 test -z "$ac_c_werror_flag" ||
17494 test ! -s conftest.err
17495 } && test -s conftest.$ac_objext; then
17496 ac_cv_prog_cc_g=yes
17498 echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.$ac_ext >&5
17504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17511 ac_c_werror_flag=$ac_save_c_werror_flag
17513 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17514 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17515 if test "$ac_test_CFLAGS" = set; then
17516 CFLAGS=$ac_save_CFLAGS
17517 elif test $ac_cv_prog_cc_g = yes; then
17518 if test "$GCC" = yes; then
17524 if test "$GCC" = yes; then
17538 ac_cpp='$CXXCPP $CPPFLAGS'
17539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17543 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17544 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17545 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17546 echo $ECHO_N "(cached) $ECHO_C" >&6
17548 cat >conftest.$ac_ext <<_ACEOF
17551 cat confdefs.h >>conftest.$ac_ext
17552 cat >>conftest.$ac_ext <<_ACEOF
17553 /* end confdefs.h. */
17567 rm -f conftest.$ac_objext
17568 if { (ac_try="$ac_compile"
17569 case "(($ac_try" in
17570 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17571 *) ac_try_echo
=$ac_try;;
17573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17574 (eval "$ac_compile") 2>conftest.er1
17576 grep -v '^ *+' conftest.er1
>conftest.err
17578 cat conftest.err
>&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); } && {
17581 test -z "$ac_cxx_werror_flag" ||
17582 test ! -s conftest.err
17583 } && test -s conftest.
$ac_objext; then
17584 bakefile_cv_cxx_compiler___xlC__
=yes
17586 echo "$as_me: failed program was:" >&5
17587 sed 's/^/| /' conftest.
$ac_ext >&5
17589 bakefile_cv_cxx_compiler___xlC__
=no
17593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17597 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17598 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17599 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17605 ac_cpp
='$CPP $CPPFLAGS'
17606 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17607 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17608 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17618 ac_cpp
='$CXXCPP $CPPFLAGS'
17619 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17620 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17621 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17623 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17624 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17625 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17626 echo $ECHO_N "(cached) $ECHO_C" >&6
17628 cat >conftest.
$ac_ext <<_ACEOF
17631 cat confdefs.h
>>conftest.
$ac_ext
17632 cat >>conftest.
$ac_ext <<_ACEOF
17633 /* end confdefs.h. */
17647 rm -f conftest.
$ac_objext
17648 if { (ac_try
="$ac_compile"
17649 case "(($ac_try" in
17650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17651 *) ac_try_echo=$ac_try;;
17653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17654 (eval "$ac_compile") 2>conftest.er1
17656 grep -v '^ *+' conftest.er1 >conftest.err
17658 cat conftest.err >&5
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); } && {
17661 test -z "$ac_cxx_werror_flag" ||
17662 test ! -s conftest.err
17663 } && test -s conftest.$ac_objext; then
17664 bakefile_cv_cxx_compiler___MWERKS__=yes
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17669 bakefile_cv_cxx_compiler___MWERKS__=no
17673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17677 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17678 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17679 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17685 ac_cpp='$CPP $CPPFLAGS'
17686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17692 if test "$MWCXX" != "yes"; then
17696 ac_cpp='$CXXCPP $CPPFLAGS'
17697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17701 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17702 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17703 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17704 echo $ECHO_N "(cached) $ECHO_C" >&6
17706 cat >conftest.$ac_ext <<_ACEOF
17709 cat confdefs.h >>conftest.$ac_ext
17710 cat >>conftest.$ac_ext <<_ACEOF
17711 /* end confdefs.h. */
17725 rm -f conftest.$ac_objext
17726 if { (ac_try="$ac_compile"
17727 case "(($ac_try" in
17728 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17729 *) ac_try_echo
=$ac_try;;
17731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17732 (eval "$ac_compile") 2>conftest.er1
17734 grep -v '^ *+' conftest.er1
>conftest.err
17736 cat conftest.err
>&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); } && {
17739 test -z "$ac_cxx_werror_flag" ||
17740 test ! -s conftest.err
17741 } && test -s conftest.
$ac_objext; then
17742 bakefile_cv_cxx_compiler___xlC__
=yes
17744 echo "$as_me: failed program was:" >&5
17745 sed 's/^/| /' conftest.
$ac_ext >&5
17747 bakefile_cv_cxx_compiler___xlC__
=no
17751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17755 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17756 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17757 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17763 ac_cpp
='$CPP $CPPFLAGS'
17764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17777 ac_cpp
='$CXXCPP $CPPFLAGS'
17778 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17779 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17780 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17782 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17783 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17784 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17785 echo $ECHO_N "(cached) $ECHO_C" >&6
17787 cat >conftest.
$ac_ext <<_ACEOF
17790 cat confdefs.h
>>conftest.
$ac_ext
17791 cat >>conftest.
$ac_ext <<_ACEOF
17792 /* end confdefs.h. */
17798 #ifndef _SGI_COMPILER_VERSION
17806 rm -f conftest.
$ac_objext
17807 if { (ac_try
="$ac_compile"
17808 case "(($ac_try" in
17809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17810 *) ac_try_echo=$ac_try;;
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17813 (eval "$ac_compile") 2>conftest.er1
17815 grep -v '^ *+' conftest.er1 >conftest.err
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } && {
17820 test -z "$ac_cxx_werror_flag" ||
17821 test ! -s conftest.err
17822 } && test -s conftest.$ac_objext; then
17823 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17828 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17836 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17837 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17838 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17844 ac_cpp='$CPP $CPPFLAGS'
17845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17854 if test "$INTELCXX" != "yes"; then
17858 ac_cpp='$CXXCPP $CPPFLAGS'
17859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17863 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17864 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17865 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17866 echo $ECHO_N "(cached) $ECHO_C" >&6
17868 cat >conftest.$ac_ext <<_ACEOF
17871 cat confdefs.h >>conftest.$ac_ext
17872 cat >>conftest.$ac_ext <<_ACEOF
17873 /* end confdefs.h. */
17879 #ifndef __SUNPRO_CC
17887 rm -f conftest.$ac_objext
17888 if { (ac_try="$ac_compile"
17889 case "(($ac_try" in
17890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17891 *) ac_try_echo
=$ac_try;;
17893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17894 (eval "$ac_compile") 2>conftest.er1
17896 grep -v '^ *+' conftest.er1
>conftest.err
17898 cat conftest.err
>&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } && {
17901 test -z "$ac_cxx_werror_flag" ||
17902 test ! -s conftest.err
17903 } && test -s conftest.
$ac_objext; then
17904 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17906 echo "$as_me: failed program was:" >&5
17907 sed 's/^/| /' conftest.
$ac_ext >&5
17909 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17917 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17918 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17919 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17925 ac_cpp
='$CPP $CPPFLAGS'
17926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17939 ac_cpp
='$CXXCPP $CPPFLAGS'
17940 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17941 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17942 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17944 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17945 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17946 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17947 echo $ECHO_N "(cached) $ECHO_C" >&6
17949 cat >conftest.
$ac_ext <<_ACEOF
17952 cat confdefs.h
>>conftest.
$ac_ext
17953 cat >>conftest.
$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17968 rm -f conftest.
$ac_objext
17969 if { (ac_try
="$ac_compile"
17970 case "(($ac_try" in
17971 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17972 *) ac_try_echo=$ac_try;;
17974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17975 (eval "$ac_compile") 2>conftest.er1
17977 grep -v '^ *+' conftest.er1 >conftest.err
17979 cat conftest.err >&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); } && {
17982 test -z "$ac_cxx_werror_flag" ||
17983 test ! -s conftest.err
17984 } && test -s conftest.$ac_objext; then
17985 bakefile_cv_cxx_compiler___HP_aCC=yes
17987 echo "$as_me: failed program was:" >&5
17988 sed 's/^/| /' conftest.$ac_ext >&5
17990 bakefile_cv_cxx_compiler___HP_aCC=no
17994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17998 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17999 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18000 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18006 ac_cpp='$CPP $CPPFLAGS'
18007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18019 ac_cpp='$CXXCPP $CPPFLAGS'
18020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18024 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18025 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18026 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18027 echo $ECHO_N "(cached) $ECHO_C" >&6
18029 cat >conftest.$ac_ext <<_ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18048 rm -f conftest.$ac_objext
18049 if { (ac_try="$ac_compile"
18050 case "(($ac_try" in
18051 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18052 *) ac_try_echo
=$ac_try;;
18054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18055 (eval "$ac_compile") 2>conftest.er1
18057 grep -v '^ *+' conftest.er1
>conftest.err
18059 cat conftest.err
>&5
18060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18061 (exit $ac_status); } && {
18062 test -z "$ac_cxx_werror_flag" ||
18063 test ! -s conftest.err
18064 } && test -s conftest.
$ac_objext; then
18065 bakefile_cv_cxx_compiler___DECCXX
=yes
18067 echo "$as_me: failed program was:" >&5
18068 sed 's/^/| /' conftest.
$ac_ext >&5
18070 bakefile_cv_cxx_compiler___DECCXX
=no
18074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18078 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18079 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18080 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18086 ac_cpp
='$CPP $CPPFLAGS'
18087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18099 ac_cpp
='$CXXCPP $CPPFLAGS'
18100 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18101 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18102 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18104 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18105 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18106 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18107 echo $ECHO_N "(cached) $ECHO_C" >&6
18109 cat >conftest.
$ac_ext <<_ACEOF
18112 cat confdefs.h
>>conftest.
$ac_ext
18113 cat >>conftest.
$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18120 #ifndef __SUNPRO_CC
18128 rm -f conftest.
$ac_objext
18129 if { (ac_try
="$ac_compile"
18130 case "(($ac_try" in
18131 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18132 *) ac_try_echo=$ac_try;;
18134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18135 (eval "$ac_compile") 2>conftest.er1
18137 grep -v '^ *+' conftest.er1 >conftest.err
18139 cat conftest.err >&5
18140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18141 (exit $ac_status); } && {
18142 test -z "$ac_cxx_werror_flag" ||
18143 test ! -s conftest.err
18144 } && test -s conftest.$ac_objext; then
18145 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18147 echo "$as_me: failed program was:" >&5
18148 sed 's/^/| /' conftest.$ac_ext >&5
18150 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18158 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18159 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18160 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18166 ac_cpp='$CPP $CPPFLAGS'
18167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18179 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18180 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18181 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18182 { (exit 1); exit 1; }; }
18185 if test "x$SUNCXX" != xyes; then
18186 if test -n "$ac_tool_prefix"; then
18187 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18188 set dummy ${ac_tool_prefix}ar; ac_word=$2
18189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18191 if test "${ac_cv_prog_AR+set}" = set; then
18192 echo $ECHO_N "(cached) $ECHO_C" >&6
18194 if test -n "$AR"; then
18195 ac_cv_prog_AR="$AR" # Let the user override the test.
18197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18198 for as_dir in $PATH
18201 test -z "$as_dir" && as_dir=.
18202 for ac_exec_ext in '' $ac_executable_extensions; do
18203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18204 ac_cv_prog_AR="${ac_tool_prefix}ar"
18205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18215 if test -n "$AR"; then
18216 { echo "$as_me:$LINENO: result: $AR" >&5
18217 echo "${ECHO_T}$AR" >&6; }
18219 { echo "$as_me:$LINENO: result: no" >&5
18220 echo "${ECHO_T}no" >&6; }
18225 if test -z "$ac_cv_prog_AR"; then
18227 # Extract the first word of "ar", so it can be a program name with args.
18228 set dummy ar; ac_word=$2
18229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18231 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18232 echo $ECHO_N "(cached) $ECHO_C" >&6
18234 if test -n "$ac_ct_AR"; then
18235 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18238 for as_dir in $PATH
18241 test -z "$as_dir" && as_dir=.
18242 for ac_exec_ext in '' $ac_executable_extensions; do
18243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18244 ac_cv_prog_ac_ct_AR="ar"
18245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18254 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18255 if test -n "$ac_ct_AR"; then
18256 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18257 echo "${ECHO_T}$ac_ct_AR" >&6; }
18259 { echo "$as_me:$LINENO: result: no" >&5
18260 echo "${ECHO_T}no" >&6; }
18263 if test "x$ac_ct_AR" = x; then
18266 case $cross_compiling:$ac_tool_warned in
18268 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18269 whose name does not start with the host triplet. If you think this
18270 configuration is useful to you, please write to autoconf@gnu.org." >&5
18271 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18272 whose name does not start with the host triplet. If you think this
18273 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18274 ac_tool_warned=yes ;;
18279 AR="$ac_cv_prog_AR"
18282 if test "x$AR" = "x" ; then
18283 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18284 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18285 { (exit 1); exit 1; }; }
18290 if test "$wxUSE_MAC" = 1; then
18292 retest_macosx_linking=no
18294 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18295 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18296 # Implicitly turn on the new --with-macosx-sdk using the default
18297 # SDK which provides the behavior this option has always had.
18298 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18299 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18300 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18301 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18302 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18303 wxUSE_MACOSX_SDK=yes
18306 # Complain to user if he specified an argument to --enable-universal_binary
18307 # and also 1) specified --with-macosx-sdk using the default (yes) or
18308 # 2) specified --with-macosx-sdk using a path or 3) specified
18309 # --without-macosx-sdk (no).
18310 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18311 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18312 See \`config.log
' for more details." >&5
18313 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18314 See \`config.log' for more details.
" >&2;}
18315 { (exit 1); exit 1; }; }
18317 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18318 # special-case the empty string because the below test simply
18319 # converts "no
" to the empty string anyway.
18320 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18321 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18322 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18325 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18326 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18327 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18328 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18329 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18330 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18331 retest_macosx_linking=yes
18333 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18334 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18338 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18340 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18341 # TODO: Search for most recent SDK and use it.
18342 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18346 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18347 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18348 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18349 if ! test -d "$wxUSE_MACOSX_SDK"; then
18350 { { echo "$as_me:$LINENO: error
: not found
18351 See \
`config.log' for more details." >&5
18352 echo "$as_me: error: not found
18353 See \`config.log
' for more details." >&2;}
18354 { (exit 1); exit 1; }; }
18356 { echo "$as_me:$LINENO: result: exists" >&5
18357 echo "${ECHO_T}exists" >&6; }
18359 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18360 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18361 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18362 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18363 retest_macosx_linking=yes
18366 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18367 wxUSE_MACOSX_VERSION_MIN=
18368 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18369 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18370 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18371 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18373 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/'`
18375 # If that failed, try again with the new key
18376 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18378 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/'`
18382 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18383 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18384 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18385 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18387 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18388 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18389 wxUSE_MACOSX_VERSION_MIN=
18392 wxUSE_MACOSX_VERSION_MIN=
18394 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18395 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
18396 if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then
18397 # otherwise configure stops on leopard for universal_binary
18398 wxUSE_MACOSX_VERSION_MIN=10.4
18400 # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard
18401 wxUSE_MACOSX_VERSION_MIN=10.5
18406 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
18410 if test "$wxUSE_OSX_CARBON" = 1; then
18414 if test "x$NEEDS_GCC40" == "xyes"; then
18415 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
18416 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
18417 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
18418 if test "x$CC" = "xgcc"; then
18419 CCVERSION=`$CC --version | grep 4.[2-9].`
18420 if test "x$CCVERSION" != "x"; then
18421 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
18422 CC="/usr/bin/gcc-4.0"
18426 if test "x$CXX" = "xg++"; then
18427 CCVERSION=`$CXX --version | grep 4.[2-9].`
18428 if test "x$CCVERSION" != "x"; then
18429 CXX="/usr/bin/g++-4.0"
18434 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18435 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18436 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18437 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18438 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18439 retest_macosx_linking=yes
18442 if test "x$retest_macosx_linking" = "xyes"; then
18444 ac_cpp='$CPP $CPPFLAGS'
18445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18446 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18449 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18450 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18451 cat >conftest.$ac_ext <<_ACEOF
18454 cat confdefs.h >>conftest.$ac_ext
18455 cat >>conftest.$ac_ext <<_ACEOF
18456 /* end confdefs.h. */
18466 rm -f conftest.$ac_objext conftest$ac_exeext
18467 if { (ac_try="$ac_link"
18468 case "(($ac_try" in
18469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18470 *) ac_try_echo=$ac_try;;
18472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18473 (eval "$ac_link") 2>conftest.er1
18475 grep -v '^
*+' conftest.er1 >conftest.err
18477 cat conftest.err >&5
18478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18479 (exit $ac_status); } && {
18480 test -z "$ac_c_werror_flag" ||
18481 test ! -s conftest.err
18482 } && test -s conftest$ac_exeext &&
18483 $as_test_x conftest$ac_exeext; then
18484 { echo "$as_me:$LINENO: result: yes" >&5
18485 echo "${ECHO_T}yes" >&6; }
18487 echo "$as_me: failed program was:" >&5
18488 sed 's
/^
/| /' conftest.$ac_ext >&5
18490 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18491 See \`config.log' for more details.
" >&5
18492 echo "$as_me: error
: no. Try a different SDK
18493 See \
`config.log' for more details." >&2;}
18494 { (exit 1); exit 1; }; }; exit 1
18497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18498 conftest$ac_exeext conftest.$ac_ext
18500 ac_cpp='$CPP $CPPFLAGS'
18501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18507 ac_cpp='$CXXCPP $CPPFLAGS'
18508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18512 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18513 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18514 cat >conftest.$ac_ext <<_ACEOF
18517 cat confdefs.h >>conftest.$ac_ext
18518 cat >>conftest.$ac_ext <<_ACEOF
18519 /* end confdefs.h. */
18529 rm -f conftest.$ac_objext conftest$ac_exeext
18530 if { (ac_try="$ac_link"
18531 case "(($ac_try" in
18532 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18533 *) ac_try_echo
=$ac_try;;
18535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18536 (eval "$ac_link") 2>conftest.er1
18538 grep -v '^ *+' conftest.er1
>conftest.err
18540 cat conftest.err
>&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } && {
18543 test -z "$ac_cxx_werror_flag" ||
18544 test ! -s conftest.err
18545 } && test -s conftest
$ac_exeext &&
18546 $as_test_x conftest
$ac_exeext; then
18547 { echo "$as_me:$LINENO: result: yes" >&5
18548 echo "${ECHO_T}yes" >&6; }
18550 echo "$as_me: failed program was:" >&5
18551 sed 's/^/| /' conftest.
$ac_ext >&5
18553 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18554 See \`config.log' for more details." >&5
18555 echo "$as_me: error: no. Try a different SDK
18556 See \`config.log' for more details." >&2;}
18557 { (exit 1); exit 1; }; }; exit 1
18560 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18561 conftest
$ac_exeext conftest.
$ac_ext
18563 ac_cpp
='$CPP $CPPFLAGS'
18564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18574 INSTALL_PROGRAM
="cp -fp"
18575 INSTALL_DATA
="cp -fp"
18582 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18583 CXXFLAGS
="-qunique $CXXFLAGS"
18587 powerpc
-*-darwin* )
18588 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18589 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18590 cat >conftest.
$ac_ext <<_ACEOF
18593 cat confdefs.h
>>conftest.
$ac_ext
18594 cat >>conftest.
$ac_ext <<_ACEOF
18595 /* end confdefs.h. */
18600 #ifndef __POWERPC__
18601 choke me for lack of PowerPC
18608 rm -f conftest.
$ac_objext
18609 if { (ac_try
="$ac_compile"
18610 case "(($ac_try" in
18611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18612 *) ac_try_echo=$ac_try;;
18614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18615 (eval "$ac_compile") 2>conftest.er1
18617 grep -v '^ *+' conftest.er1 >conftest.err
18619 cat conftest.err >&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } && {
18622 test -z "$ac_c_werror_flag" ||
18623 test ! -s conftest.err
18624 } && test -s conftest.$ac_objext; then
18625 { echo "$as_me:$LINENO: result: yes" >&5
18626 echo "${ECHO_T}yes" >&6; }
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.$ac_ext >&5
18631 { echo "$as_me:$LINENO: result: no" >&5
18632 echo "${ECHO_T}no" >&6; }
18633 cat >>confdefs.h <<\_ACEOF
18634 #define __POWERPC__ 1
18640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18646 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18647 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18648 cat >conftest.$ac_ext <<_ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18654 #include <CoreFoundation/CFBase.h>
18664 rm -f conftest.$ac_objext
18665 if { (ac_try="$ac_compile"
18666 case "(($ac_try" in
18667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18668 *) ac_try_echo
=$ac_try;;
18670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18671 (eval "$ac_compile") 2>conftest.er1
18673 grep -v '^ *+' conftest.er1
>conftest.err
18675 cat conftest.err
>&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); } && {
18678 test -z "$ac_c_werror_flag" ||
18679 test ! -s conftest.err
18680 } && test -s conftest.
$ac_objext; then
18681 { echo "$as_me:$LINENO: result: yes" >&5
18682 echo "${ECHO_T}yes" >&6; }
18684 echo "$as_me: failed program was:" >&5
18685 sed 's/^/| /' conftest.
$ac_ext >&5
18687 { echo "$as_me:$LINENO: result: no" >&5
18688 echo "${ECHO_T}no" >&6; }
18689 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18690 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18691 cat >conftest.
$ac_ext <<_ACEOF
18694 cat confdefs.h
>>conftest.
$ac_ext
18695 cat >>conftest.
$ac_ext <<_ACEOF
18696 /* end confdefs.h. */
18697 #define __CF_USE_FRAMEWORK_INCLUDES__
18698 #include <CoreFoundation/CFBase.h>
18708 rm -f conftest.
$ac_objext
18709 if { (ac_try
="$ac_compile"
18710 case "(($ac_try" in
18711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18712 *) ac_try_echo=$ac_try;;
18714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18715 (eval "$ac_compile") 2>conftest.er1
18717 grep -v '^ *+' conftest.er1 >conftest.err
18719 cat conftest.err >&5
18720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 (exit $ac_status); } && {
18722 test -z "$ac_c_werror_flag" ||
18723 test ! -s conftest.err
18724 } && test -s conftest.$ac_objext; then
18725 { echo "$as_me:$LINENO: result: yes" >&5
18726 echo "${ECHO_T}yes" >&6; }
18727 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18729 echo "$as_me: failed program was:" >&5
18730 sed 's/^/| /' conftest.$ac_ext >&5
18732 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18733 See \`config.log
' for more details." >&5
18734 echo "$as_me: error: no. CoreFoundation not available.
18735 See \`config.log' for more details.
" >&2;}
18736 { (exit 1); exit 1; }; }
18740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18750 doesnt_want_win32=0
18753 if test "$wxUSE_MSW" = 1 ; then
18756 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18757 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18758 if test "${wx_cv_nocygwin+set}" = set; then
18759 echo $ECHO_N "(cached
) $ECHO_C" >&6
18762 cat >conftest.$ac_ext <<_ACEOF
18765 cat confdefs.h >>conftest.$ac_ext
18766 cat >>conftest.$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18781 rm -f conftest.$ac_objext
18782 if { (ac_try="$ac_compile"
18783 case "(($ac_try" in
18784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18785 *) ac_try_echo=$ac_try;;
18787 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18788 (eval "$ac_compile") 2>conftest.er1
18790 grep -v '^ *+' conftest.er1 >conftest.err
18792 cat conftest.err >&5
18793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18794 (exit $ac_status); } && {
18795 test -z "$ac_c_werror_flag" ||
18796 test ! -s conftest.err
18797 } && test -s conftest.$ac_objext; then
18800 echo "$as_me: failed program was
:" >&5
18801 sed 's/^/| /' conftest.$ac_ext >&5
18807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18811 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18812 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18814 if test "$wx_cv_nocygwin" = "yes"; then
18817 doesnt_want_win32=1
18820 if test "$wants_win32" = 1 ; then
18821 BAKEFILE_FORCE_PLATFORM=win32
18829 if test "$wxUSE_WINE" = "yes"; then
18831 LDFLAGS_GUI="-mwindows"
18834 if test "$wants_win32" = 1 ; then
18837 cat >>confdefs.h <<\_ACEOF
18838 #define __WIN32__ 1
18841 cat >>confdefs.h <<\_ACEOF
18842 #define __WIN95__ 1
18845 cat >>confdefs.h <<\_ACEOF
18846 #define __WINDOWS__ 1
18849 cat >>confdefs.h <<\_ACEOF
18850 #define __GNUWIN32__ 1
18853 cat >>confdefs.h <<\_ACEOF
18858 if test "$doesnt_want_win32" = 1 ; then
18863 if test "$USE_UNIX" = 1 ; then
18865 cat >>confdefs.h <<\_ACEOF
18872 *-pc-os2_emx | *-pc-os2-emx )
18873 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18874 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18875 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18876 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18877 echo $ECHO_N "(cached
) $ECHO_C" >&6
18879 ac_check_lib_save_LIBS=$LIBS
18880 LIBS="-lcExt $LIBS"
18881 cat >conftest.$ac_ext <<_ACEOF
18884 cat confdefs.h >>conftest.$ac_ext
18885 cat >>conftest.$ac_ext <<_ACEOF
18886 /* end confdefs.h. */
18888 /* Override any GCC internal prototype to avoid an error.
18889 Use char because int might match the return type of a GCC
18890 builtin and then its argument prototype would still apply. */
18903 rm -f conftest.$ac_objext conftest$ac_exeext
18904 if { (ac_try="$ac_link"
18905 case "(($ac_try" in
18906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18907 *) ac_try_echo=$ac_try;;
18909 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18910 (eval "$ac_link") 2>conftest.er1
18912 grep -v '^ *+' conftest.er1 >conftest.err
18914 cat conftest.err >&5
18915 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18916 (exit $ac_status); } && {
18917 test -z "$ac_c_werror_flag" ||
18918 test ! -s conftest.err
18919 } && test -s conftest$ac_exeext &&
18920 $as_test_x conftest$ac_exeext; then
18921 ac_cv_lib_cExt_drand48=yes
18923 echo "$as_me: failed program was
:" >&5
18924 sed 's/^/| /' conftest.$ac_ext >&5
18926 ac_cv_lib_cExt_drand48=no
18929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18930 conftest$ac_exeext conftest.$ac_ext
18931 LIBS=$ac_check_lib_save_LIBS
18933 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18934 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18935 if test $ac_cv_lib_cExt_drand48 = yes; then
18936 LIBS="$LIBS -lcExt"
18940 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18942 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18943 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18944 if test "${wx_cv_gccversion+set}" = set; then
18945 echo $ECHO_N "(cached
) $ECHO_C" >&6
18948 if test "$cross_compiling" = yes; then
18949 wx_cv_gccversion="EMX2
"
18952 cat >conftest.$ac_ext <<_ACEOF
18955 cat confdefs.h >>conftest.$ac_ext
18956 cat >>conftest.$ac_ext <<_ACEOF
18957 /* end confdefs.h. */
18963 FILE *f=fopen("conftestval
", "w
");
18968 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18970 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18980 rm -f conftest$ac_exeext
18981 if { (ac_try="$ac_link"
18982 case "(($ac_try" in
18983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18984 *) ac_try_echo=$ac_try;;
18986 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18987 (eval "$ac_link") 2>&5
18989 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18990 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18991 { (case "(($ac_try" in
18992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18993 *) ac_try_echo=$ac_try;;
18995 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18996 (eval "$ac_try") 2>&5
18998 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18999 (exit $ac_status); }; }; then
19000 wx_cv_gccversion=`cat conftestval`
19002 echo "$as_me: program exited with status
$ac_status" >&5
19003 echo "$as_me: failed program was
:" >&5
19004 sed 's/^/| /' conftest.$ac_ext >&5
19006 ( exit $ac_status )
19007 wx_cv_gccversion="EMX2
"
19009 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19015 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19016 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19017 if test "$wx_cv_gccversion" = "EMX2
"; then
19018 LIBS="$LIBS -lstdcpp"
19019 LDFLAGS="$LDFLAGS -Zsysv-signals"
19021 if test "$wx_cv_gccversion" = "EMX3
"; then
19022 LIBS="$LIBS -lstdcxx -lgcc"
19023 LDFLAGS="$LDFLAGS -Zsysv-signals"
19025 LIBS="$LIBS -lstdc++"
19028 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19029 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19030 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19037 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19038 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19039 if test "${ac_cv_string_strcasecmp+set}" = set; then
19040 echo $ECHO_N "(cached
) $ECHO_C" >&6
19043 cat >conftest.$ac_ext <<_ACEOF
19046 cat confdefs.h >>conftest.$ac_ext
19047 cat >>conftest.$ac_ext <<_ACEOF
19048 /* end confdefs.h. */
19050 #include <string.h>
19056 strcasecmp("foo
", "bar
");
19062 rm -f conftest.$ac_objext conftest$ac_exeext
19063 if { (ac_try="$ac_link"
19064 case "(($ac_try" in
19065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19066 *) ac_try_echo=$ac_try;;
19068 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19069 (eval "$ac_link") 2>conftest.er1
19071 grep -v '^ *+' conftest.er1 >conftest.err
19073 cat conftest.err >&5
19074 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19075 (exit $ac_status); } && {
19076 test -z "$ac_c_werror_flag" ||
19077 test ! -s conftest.err
19078 } && test -s conftest$ac_exeext &&
19079 $as_test_x conftest$ac_exeext; then
19080 ac_cv_string_strcasecmp=yes
19082 echo "$as_me: failed program was
:" >&5
19083 sed 's/^/| /' conftest.$ac_ext >&5
19085 ac_cv_string_strcasecmp=no
19089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19090 conftest$ac_exeext conftest.$ac_ext
19093 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
19094 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
19096 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
19097 cat >>confdefs.h <<\_ACEOF
19098 #define HAVE_STRCASECMP_IN_STRING_H 1
19102 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
19103 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
19104 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19105 echo $ECHO_N "(cached
) $ECHO_C" >&6
19108 cat >conftest.$ac_ext <<_ACEOF
19111 cat confdefs.h >>conftest.$ac_ext
19112 cat >>conftest.$ac_ext <<_ACEOF
19113 /* end confdefs.h. */
19115 #include <strings.h>
19121 strcasecmp("foo
", "bar
");
19127 rm -f conftest.$ac_objext conftest$ac_exeext
19128 if { (ac_try="$ac_link"
19129 case "(($ac_try" in
19130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19131 *) ac_try_echo=$ac_try;;
19133 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19134 (eval "$ac_link") 2>conftest.er1
19136 grep -v '^ *+' conftest.er1 >conftest.err
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19140 (exit $ac_status); } && {
19141 test -z "$ac_c_werror_flag" ||
19142 test ! -s conftest.err
19143 } && test -s conftest$ac_exeext &&
19144 $as_test_x conftest$ac_exeext; then
19145 ac_cv_strings_strcasecmp=yes
19147 echo "$as_me: failed program was
:" >&5
19148 sed 's/^/| /' conftest.$ac_ext >&5
19150 ac_cv_strings_strcasecmp=no
19154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19155 conftest$ac_exeext conftest.$ac_ext
19158 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
19159 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
19161 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
19162 cat >>confdefs.h <<\_ACEOF
19163 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19167 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
19168 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
19169 { (exit 1); exit 1; }; }
19177 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
19178 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
19179 if test "${ac_cv_header_stdc+set}" = set; then
19180 echo $ECHO_N "(cached
) $ECHO_C" >&6
19182 cat >conftest.$ac_ext <<_ACEOF
19185 cat confdefs.h >>conftest.$ac_ext
19186 cat >>conftest.$ac_ext <<_ACEOF
19187 /* end confdefs.h. */
19188 #include <stdlib.h>
19189 #include <stdarg.h>
19190 #include <string.h>
19201 rm -f conftest.$ac_objext
19202 if { (ac_try="$ac_compile"
19203 case "(($ac_try" in
19204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19205 *) ac_try_echo=$ac_try;;
19207 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19208 (eval "$ac_compile") 2>conftest.er1
19210 grep -v '^ *+' conftest.er1 >conftest.err
19212 cat conftest.err >&5
19213 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19214 (exit $ac_status); } && {
19215 test -z "$ac_c_werror_flag" ||
19216 test ! -s conftest.err
19217 } && test -s conftest.$ac_objext; then
19218 ac_cv_header_stdc=yes
19220 echo "$as_me: failed program was
:" >&5
19221 sed 's/^/| /' conftest.$ac_ext >&5
19223 ac_cv_header_stdc=no
19226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19228 if test $ac_cv_header_stdc = yes; then
19229 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19230 cat >conftest.$ac_ext <<_ACEOF
19233 cat confdefs.h >>conftest.$ac_ext
19234 cat >>conftest.$ac_ext <<_ACEOF
19235 /* end confdefs.h. */
19236 #include <string.h>
19239 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19240 $EGREP "memchr
" >/dev/null 2>&1; then
19243 ac_cv_header_stdc=no
19249 if test $ac_cv_header_stdc = yes; then
19250 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19251 cat >conftest.$ac_ext <<_ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 #include <stdlib.h>
19260 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19261 $EGREP "free
" >/dev/null 2>&1; then
19264 ac_cv_header_stdc=no
19270 if test $ac_cv_header_stdc = yes; then
19271 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19272 if test "$cross_compiling" = yes; then
19275 cat >conftest.$ac_ext <<_ACEOF
19278 cat confdefs.h >>conftest.$ac_ext
19279 cat >>conftest.$ac_ext <<_ACEOF
19280 /* end confdefs.h. */
19282 #include <stdlib.h>
19283 #if ((' ' & 0x0FF) == 0x020)
19284 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19285 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19287 # define ISLOWER(c) \
19288 (('a' <= (c) && (c) <= 'i') \
19289 || ('j' <= (c) && (c) <= 'r') \
19290 || ('s' <= (c) && (c) <= 'z'))
19291 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19294 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19299 for (i = 0; i < 256; i++)
19300 if (XOR (islower (i), ISLOWER (i))
19301 || toupper (i) != TOUPPER (i))
19306 rm -f conftest$ac_exeext
19307 if { (ac_try="$ac_link"
19308 case "(($ac_try" in
19309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19310 *) ac_try_echo=$ac_try;;
19312 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19313 (eval "$ac_link") 2>&5
19315 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19316 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19317 { (case "(($ac_try" in
19318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19319 *) ac_try_echo=$ac_try;;
19321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_try") 2>&5
19324 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19325 (exit $ac_status); }; }; then
19328 echo "$as_me: program exited with status
$ac_status" >&5
19329 echo "$as_me: failed program was
:" >&5
19330 sed 's/^/| /' conftest.$ac_ext >&5
19332 ( exit $ac_status )
19333 ac_cv_header_stdc=no
19335 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19341 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19342 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19343 if test $ac_cv_header_stdc = yes; then
19345 cat >>confdefs.h <<\_ACEOF
19346 #define STDC_HEADERS 1
19351 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19361 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19362 inttypes.h stdint.h unistd.h
19364 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19365 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19366 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19367 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19368 echo $ECHO_N "(cached
) $ECHO_C" >&6
19370 cat >conftest.$ac_ext <<_ACEOF
19373 cat confdefs.h >>conftest.$ac_ext
19374 cat >>conftest.$ac_ext <<_ACEOF
19375 /* end confdefs.h. */
19376 $ac_includes_default
19378 #include <$ac_header>
19380 rm -f conftest.$ac_objext
19381 if { (ac_try="$ac_compile"
19382 case "(($ac_try" in
19383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19384 *) ac_try_echo=$ac_try;;
19386 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19387 (eval "$ac_compile") 2>conftest.er1
19389 grep -v '^ *+' conftest.er1 >conftest.err
19391 cat conftest.err >&5
19392 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19393 (exit $ac_status); } && {
19394 test -z "$ac_c_werror_flag" ||
19395 test ! -s conftest.err
19396 } && test -s conftest.$ac_objext; then
19397 eval "$as_ac_Header=yes"
19399 echo "$as_me: failed program was
:" >&5
19400 sed 's/^/| /' conftest.$ac_ext >&5
19402 eval "$as_ac_Header=no
"
19405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19407 ac_res=`eval echo '${'$as_ac_Header'}'`
19408 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19409 echo "${ECHO_T}$ac_res" >&6; }
19410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19411 cat >>confdefs.h <<_ACEOF
19412 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19422 for ac_header in langinfo.h wchar.h
19424 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19425 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19426 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19427 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19428 echo $ECHO_N "(cached
) $ECHO_C" >&6
19430 cat >conftest.$ac_ext <<_ACEOF
19433 cat confdefs.h >>conftest.$ac_ext
19434 cat >>conftest.$ac_ext <<_ACEOF
19435 /* end confdefs.h. */
19436 $ac_includes_default
19438 #include <$ac_header>
19440 rm -f conftest.$ac_objext
19441 if { (ac_try="$ac_compile"
19442 case "(($ac_try" in
19443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19444 *) ac_try_echo=$ac_try;;
19446 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19447 (eval "$ac_compile") 2>conftest.er1
19449 grep -v '^ *+' conftest.er1 >conftest.err
19451 cat conftest.err >&5
19452 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19453 (exit $ac_status); } && {
19454 test -z "$ac_c_werror_flag" ||
19455 test ! -s conftest.err
19456 } && test -s conftest.$ac_objext; then
19457 eval "$as_ac_Header=yes"
19459 echo "$as_me: failed program was
:" >&5
19460 sed 's/^/| /' conftest.$ac_ext >&5
19462 eval "$as_ac_Header=no
"
19465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19467 ac_res=`eval echo '${'$as_ac_Header'}'`
19468 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19469 echo "${ECHO_T}$ac_res" >&6; }
19470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19471 cat >>confdefs.h <<_ACEOF
19472 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19480 if test "$ac_cv_header_wchar_h" != "yes"; then
19482 for ac_header in wcstr.h
19484 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19485 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19486 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19487 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19488 echo $ECHO_N "(cached
) $ECHO_C" >&6
19490 cat >conftest.$ac_ext <<_ACEOF
19493 cat confdefs.h >>conftest.$ac_ext
19494 cat >>conftest.$ac_ext <<_ACEOF
19495 /* end confdefs.h. */
19496 $ac_includes_default
19498 #include <$ac_header>
19500 rm -f conftest.$ac_objext
19501 if { (ac_try="$ac_compile"
19502 case "(($ac_try" in
19503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19504 *) ac_try_echo=$ac_try;;
19506 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19507 (eval "$ac_compile") 2>conftest.er1
19509 grep -v '^ *+' conftest.er1 >conftest.err
19511 cat conftest.err >&5
19512 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19513 (exit $ac_status); } && {
19514 test -z "$ac_c_werror_flag" ||
19515 test ! -s conftest.err
19516 } && test -s conftest.$ac_objext; then
19517 eval "$as_ac_Header=yes"
19519 echo "$as_me: failed program was
:" >&5
19520 sed 's/^/| /' conftest.$ac_ext >&5
19522 eval "$as_ac_Header=no
"
19525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19527 ac_res=`eval echo '${'$as_ac_Header'}'`
19528 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19529 echo "${ECHO_T}$ac_res" >&6; }
19530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19531 cat >>confdefs.h <<_ACEOF
19532 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19542 *-pc-os2_emx | *-pc-os2-emx )
19543 if test $ac_cv_header_langinfo_h = "yes" \
19544 -a \( "$wx_cv_gccversion" = "EMX2
" \
19545 -o "$wx_cv_gccversion" = "EMX3
" \
19546 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19547 LIBS="$LIBS -lintl"
19552 if test "$USE_UNIX" = 1 ; then
19554 for ac_header in sys/select.h
19556 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19557 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19558 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19559 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19560 echo $ECHO_N "(cached
) $ECHO_C" >&6
19562 cat >conftest.$ac_ext <<_ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h. */
19568 $ac_includes_default
19570 #include <$ac_header>
19572 rm -f conftest.$ac_objext
19573 if { (ac_try="$ac_compile"
19574 case "(($ac_try" in
19575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19576 *) ac_try_echo=$ac_try;;
19578 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19579 (eval "$ac_compile") 2>conftest.er1
19581 grep -v '^ *+' conftest.er1 >conftest.err
19583 cat conftest.err >&5
19584 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19585 (exit $ac_status); } && {
19586 test -z "$ac_c_werror_flag" ||
19587 test ! -s conftest.err
19588 } && test -s conftest.$ac_objext; then
19589 eval "$as_ac_Header=yes"
19591 echo "$as_me: failed program was
:" >&5
19592 sed 's/^/| /' conftest.$ac_ext >&5
19594 eval "$as_ac_Header=no
"
19597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19599 ac_res=`eval echo '${'$as_ac_Header'}'`
19600 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19601 echo "${ECHO_T}$ac_res" >&6; }
19602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19603 cat >>confdefs.h <<_ACEOF
19604 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19614 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19615 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19616 if test "${ac_cv_c_const+set}" = set; then
19617 echo $ECHO_N "(cached
) $ECHO_C" >&6
19619 cat >conftest.$ac_ext <<_ACEOF
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19629 /* FIXME: Include the comments suggested by Paul. */
19630 #ifndef __cplusplus
19631 /* Ultrix mips cc rejects this. */
19632 typedef int charset[2];
19634 /* SunOS 4.1.1 cc rejects this. */
19635 char const *const *pcpcc;
19637 /* NEC SVR4.0.2 mips cc rejects this. */
19638 struct point {int x, y;};
19639 static struct point const zero = {0,0};
19640 /* AIX XL C 1.02.0.0 rejects this.
19641 It does not let you subtract one const X* pointer from another in
19642 an arm of an if-expression whose if-part is not a constant
19644 const char *g = "string
";
19645 pcpcc = &g + (g ? g-g : 0);
19646 /* HPUX 7.0 cc rejects these. */
19648 ppc = (char**) pcpcc;
19649 pcpcc = (char const *const *) ppc;
19650 { /* SCO 3.2v4 cc rejects this. */
19652 char const *s = 0 ? (char *) 0 : (char const *) 0;
19657 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19658 int x[] = {25, 17};
19659 const int *foo = &x[0];
19662 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19663 typedef const int *iptr;
19667 { /* AIX XL C 1.02.0.0 rejects this saying
19668 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19669 struct s { int j; const int *ap[3]; };
19670 struct s *b; b->j = 5;
19672 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19673 const int foo = 10;
19674 if (!foo) return 0;
19676 return !cs[0] && !zero.x;
19683 rm -f conftest.$ac_objext
19684 if { (ac_try="$ac_compile"
19685 case "(($ac_try" in
19686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19687 *) ac_try_echo=$ac_try;;
19689 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19690 (eval "$ac_compile") 2>conftest.er1
19692 grep -v '^ *+' conftest.er1 >conftest.err
19694 cat conftest.err >&5
19695 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19696 (exit $ac_status); } && {
19697 test -z "$ac_c_werror_flag" ||
19698 test ! -s conftest.err
19699 } && test -s conftest.$ac_objext; then
19702 echo "$as_me: failed program was
:" >&5
19703 sed 's/^/| /' conftest.$ac_ext >&5
19708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19710 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19711 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19712 if test $ac_cv_c_const = no; then
19714 cat >>confdefs.h <<\_ACEOF
19720 { echo "$as_me:$LINENO: checking
for inline
" >&5
19721 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19722 if test "${ac_cv_c_inline+set}" = set; then
19723 echo $ECHO_N "(cached
) $ECHO_C" >&6
19726 for ac_kw in inline __inline__ __inline; do
19727 cat >conftest.$ac_ext <<_ACEOF
19730 cat confdefs.h >>conftest.$ac_ext
19731 cat >>conftest.$ac_ext <<_ACEOF
19732 /* end confdefs.h. */
19733 #ifndef __cplusplus
19735 static $ac_kw foo_t static_foo () {return 0; }
19736 $ac_kw foo_t foo () {return 0; }
19740 rm -f conftest.$ac_objext
19741 if { (ac_try="$ac_compile"
19742 case "(($ac_try" in
19743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19744 *) ac_try_echo=$ac_try;;
19746 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19747 (eval "$ac_compile") 2>conftest.er1
19749 grep -v '^ *+' conftest.er1 >conftest.err
19751 cat conftest.err >&5
19752 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19753 (exit $ac_status); } && {
19754 test -z "$ac_c_werror_flag" ||
19755 test ! -s conftest.err
19756 } && test -s conftest.$ac_objext; then
19757 ac_cv_c_inline=$ac_kw
19759 echo "$as_me: failed program was
:" >&5
19760 sed 's/^/| /' conftest.$ac_ext >&5
19765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19766 test "$ac_cv_c_inline" != no && break
19770 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19771 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19774 case $ac_cv_c_inline in
19777 case $ac_cv_c_inline in
19779 *) ac_val=$ac_cv_c_inline;;
19781 cat >>confdefs.h <<_ACEOF
19782 #ifndef __cplusplus
19783 #define inline $ac_val
19790 { echo "$as_me:$LINENO: checking
for short
" >&5
19791 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19792 if test "${ac_cv_type_short+set}" = set; then
19793 echo $ECHO_N "(cached
) $ECHO_C" >&6
19795 cat >conftest.$ac_ext <<_ACEOF
19798 cat confdefs.h >>conftest.$ac_ext
19799 cat >>conftest.$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 $ac_includes_default
19802 typedef short ac__type_new_;
19806 if ((ac__type_new_ *) 0)
19808 if (sizeof (ac__type_new_))
19814 rm -f conftest.$ac_objext
19815 if { (ac_try="$ac_compile"
19816 case "(($ac_try" in
19817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19818 *) ac_try_echo=$ac_try;;
19820 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19821 (eval "$ac_compile") 2>conftest.er1
19823 grep -v '^ *+' conftest.er1 >conftest.err
19825 cat conftest.err >&5
19826 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19827 (exit $ac_status); } && {
19828 test -z "$ac_c_werror_flag" ||
19829 test ! -s conftest.err
19830 } && test -s conftest.$ac_objext; then
19831 ac_cv_type_short=yes
19833 echo "$as_me: failed program was
:" >&5
19834 sed 's/^/| /' conftest.$ac_ext >&5
19836 ac_cv_type_short=no
19839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19841 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19842 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19844 # The cast to long int works around a bug in the HP C Compiler
19845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19847 # This bug is HP SR number 8606223364.
19848 { echo "$as_me:$LINENO: checking size of short
" >&5
19849 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19850 if test "${ac_cv_sizeof_short+set}" = set; then
19851 echo $ECHO_N "(cached
) $ECHO_C" >&6
19853 if test "$cross_compiling" = yes; then
19854 # Depending upon the size, compute the lo and hi bounds.
19855 cat >conftest.$ac_ext <<_ACEOF
19858 cat confdefs.h >>conftest.$ac_ext
19859 cat >>conftest.$ac_ext <<_ACEOF
19860 /* end confdefs.h. */
19861 $ac_includes_default
19862 typedef short ac__type_sizeof_;
19866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19873 rm -f conftest.$ac_objext
19874 if { (ac_try="$ac_compile"
19875 case "(($ac_try" in
19876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19877 *) ac_try_echo=$ac_try;;
19879 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19880 (eval "$ac_compile") 2>conftest.er1
19882 grep -v '^ *+' conftest.er1 >conftest.err
19884 cat conftest.err >&5
19885 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19886 (exit $ac_status); } && {
19887 test -z "$ac_c_werror_flag" ||
19888 test ! -s conftest.err
19889 } && test -s conftest.$ac_objext; then
19892 cat >conftest.$ac_ext <<_ACEOF
19895 cat confdefs.h >>conftest.$ac_ext
19896 cat >>conftest.$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19898 $ac_includes_default
19899 typedef short ac__type_sizeof_;
19903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19910 rm -f conftest.$ac_objext
19911 if { (ac_try="$ac_compile"
19912 case "(($ac_try" in
19913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19914 *) ac_try_echo=$ac_try;;
19916 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19917 (eval "$ac_compile") 2>conftest.er1
19919 grep -v '^ *+' conftest.er1 >conftest.err
19921 cat conftest.err >&5
19922 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19923 (exit $ac_status); } && {
19924 test -z "$ac_c_werror_flag" ||
19925 test ! -s conftest.err
19926 } && test -s conftest.$ac_objext; then
19927 ac_hi=$ac_mid; break
19929 echo "$as_me: failed program was
:" >&5
19930 sed 's/^/| /' conftest.$ac_ext >&5
19932 ac_lo=`expr $ac_mid + 1`
19933 if test $ac_lo -le $ac_mid; then
19937 ac_mid=`expr 2 '*' $ac_mid + 1`
19940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19943 echo "$as_me: failed program was
:" >&5
19944 sed 's/^/| /' conftest.$ac_ext >&5
19946 cat >conftest.$ac_ext <<_ACEOF
19949 cat confdefs.h >>conftest.$ac_ext
19950 cat >>conftest.$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19952 $ac_includes_default
19953 typedef short ac__type_sizeof_;
19957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19964 rm -f conftest.$ac_objext
19965 if { (ac_try="$ac_compile"
19966 case "(($ac_try" in
19967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19968 *) ac_try_echo=$ac_try;;
19970 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19971 (eval "$ac_compile") 2>conftest.er1
19973 grep -v '^ *+' conftest.er1 >conftest.err
19975 cat conftest.err >&5
19976 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19977 (exit $ac_status); } && {
19978 test -z "$ac_c_werror_flag" ||
19979 test ! -s conftest.err
19980 } && test -s conftest.$ac_objext; then
19983 cat >conftest.$ac_ext <<_ACEOF
19986 cat confdefs.h >>conftest.$ac_ext
19987 cat >>conftest.$ac_ext <<_ACEOF
19988 /* end confdefs.h. */
19989 $ac_includes_default
19990 typedef short ac__type_sizeof_;
19994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20001 rm -f conftest.$ac_objext
20002 if { (ac_try="$ac_compile"
20003 case "(($ac_try" in
20004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20005 *) ac_try_echo=$ac_try;;
20007 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20008 (eval "$ac_compile") 2>conftest.er1
20010 grep -v '^ *+' conftest.er1 >conftest.err
20012 cat conftest.err >&5
20013 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20014 (exit $ac_status); } && {
20015 test -z "$ac_c_werror_flag" ||
20016 test ! -s conftest.err
20017 } && test -s conftest.$ac_objext; then
20018 ac_lo=$ac_mid; break
20020 echo "$as_me: failed program was
:" >&5
20021 sed 's/^/| /' conftest.$ac_ext >&5
20023 ac_hi=`expr '(' $ac_mid ')' - 1`
20024 if test $ac_mid -le $ac_hi; then
20028 ac_mid=`expr 2 '*' $ac_mid`
20031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20034 echo "$as_me: failed program was
:" >&5
20035 sed 's/^/| /' conftest.$ac_ext >&5
20040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20044 # Binary search between lo and hi bounds.
20045 while test "x
$ac_lo" != "x
$ac_hi"; do
20046 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20047 cat >conftest.$ac_ext <<_ACEOF
20050 cat confdefs.h >>conftest.$ac_ext
20051 cat >>conftest.$ac_ext <<_ACEOF
20052 /* end confdefs.h. */
20053 $ac_includes_default
20054 typedef short ac__type_sizeof_;
20058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20065 rm -f conftest.$ac_objext
20066 if { (ac_try="$ac_compile"
20067 case "(($ac_try" in
20068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20071 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_compile") 2>conftest.er1
20074 grep -v '^ *+' conftest.er1 >conftest.err
20076 cat conftest.err >&5
20077 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20078 (exit $ac_status); } && {
20079 test -z "$ac_c_werror_flag" ||
20080 test ! -s conftest.err
20081 } && test -s conftest.$ac_objext; then
20084 echo "$as_me: failed program was
:" >&5
20085 sed 's/^/| /' conftest.$ac_ext >&5
20087 ac_lo=`expr '(' $ac_mid ')' + 1`
20090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20093 ?*) ac_cv_sizeof_short=$ac_lo;;
20094 '') if test "$ac_cv_type_short" = yes; then
20095 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
20096 See \
`config.log' for more details." >&5
20097 echo "$as_me: error: cannot compute sizeof (short)
20098 See \`config.log
' for more details." >&2;}
20099 { (exit 77); exit 77; }; }
20101 ac_cv_sizeof_short=0
20105 cat >conftest.$ac_ext <<_ACEOF
20108 cat confdefs.h >>conftest.$ac_ext
20109 cat >>conftest.$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20111 $ac_includes_default
20112 typedef short ac__type_sizeof_;
20113 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20114 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20116 #include <stdlib.h>
20121 FILE *f = fopen ("conftest.val", "w");
20124 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20126 long int i = longval ();
20127 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20129 fprintf (f, "%ld\n", i);
20133 unsigned long int i = ulongval ();
20134 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20136 fprintf (f, "%lu\n", i);
20138 return ferror (f) || fclose (f) != 0;
20144 rm -f conftest$ac_exeext
20145 if { (ac_try="$ac_link"
20146 case "(($ac_try" in
20147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20148 *) ac_try_echo=$ac_try;;
20150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20151 (eval "$ac_link") 2>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20155 { (case "(($ac_try" in
20156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20157 *) ac_try_echo=$ac_try;;
20159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20160 (eval "$ac_try") 2>&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20164 ac_cv_sizeof_short=`cat conftest.val`
20166 echo "$as_me: program exited with status $ac_status" >&5
20167 echo "$as_me: failed program was:" >&5
20168 sed 's
/^
/| /' conftest.$ac_ext >&5
20170 ( exit $ac_status )
20171 if test "$ac_cv_type_short" = yes; then
20172 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
20173 See \`config.log' for more details.
" >&5
20174 echo "$as_me: error
: cannot compute sizeof
(short
)
20175 See \
`config.log' for more details." >&2;}
20176 { (exit 77); exit 77; }; }
20178 ac_cv_sizeof_short=0
20181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20185 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20186 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
20190 cat >>confdefs.h <<_ACEOF
20191 #define SIZEOF_SHORT $ac_cv_sizeof_short
20195 { echo "$as_me:$LINENO: checking for void *" >&5
20196 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
20197 if test "${ac_cv_type_void_p+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20200 cat >conftest.$ac_ext <<_ACEOF
20203 cat confdefs.h >>conftest.$ac_ext
20204 cat >>conftest.$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20206 $ac_includes_default
20207 typedef void * ac__type_new_;
20211 if ((ac__type_new_ *) 0)
20213 if (sizeof (ac__type_new_))
20219 rm -f conftest.$ac_objext
20220 if { (ac_try="$ac_compile"
20221 case "(($ac_try" in
20222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20223 *) ac_try_echo
=$ac_try;;
20225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20226 (eval "$ac_compile") 2>conftest.er1
20228 grep -v '^ *+' conftest.er1
>conftest.err
20230 cat conftest.err
>&5
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); } && {
20233 test -z "$ac_c_werror_flag" ||
20234 test ! -s conftest.err
20235 } && test -s conftest.
$ac_objext; then
20236 ac_cv_type_void_p
=yes
20238 echo "$as_me: failed program was:" >&5
20239 sed 's/^/| /' conftest.
$ac_ext >&5
20241 ac_cv_type_void_p
=no
20244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20246 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20247 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20249 # The cast to long int works around a bug in the HP C Compiler
20250 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20251 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20252 # This bug is HP SR number 8606223364.
20253 { echo "$as_me:$LINENO: checking size of void *" >&5
20254 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20255 if test "${ac_cv_sizeof_void_p+set}" = set; then
20256 echo $ECHO_N "(cached) $ECHO_C" >&6
20258 if test "$cross_compiling" = yes; then
20259 # Depending upon the size, compute the lo and hi bounds.
20260 cat >conftest.
$ac_ext <<_ACEOF
20263 cat confdefs.h
>>conftest.
$ac_ext
20264 cat >>conftest.
$ac_ext <<_ACEOF
20265 /* end confdefs.h. */
20266 $ac_includes_default
20267 typedef void * ac__type_sizeof_;
20271 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20278 rm -f conftest.
$ac_objext
20279 if { (ac_try
="$ac_compile"
20280 case "(($ac_try" in
20281 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20282 *) ac_try_echo=$ac_try;;
20284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20285 (eval "$ac_compile") 2>conftest.er1
20287 grep -v '^ *+' conftest.er1 >conftest.err
20289 cat conftest.err >&5
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); } && {
20292 test -z "$ac_c_werror_flag" ||
20293 test ! -s conftest.err
20294 } && test -s conftest.$ac_objext; then
20297 cat >conftest.$ac_ext <<_ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h. */
20303 $ac_includes_default
20304 typedef void * ac__type_sizeof_;
20308 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20315 rm -f conftest.$ac_objext
20316 if { (ac_try="$ac_compile"
20317 case "(($ac_try" in
20318 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20319 *) ac_try_echo
=$ac_try;;
20321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20322 (eval "$ac_compile") 2>conftest.er1
20324 grep -v '^ *+' conftest.er1
>conftest.err
20326 cat conftest.err
>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); } && {
20329 test -z "$ac_c_werror_flag" ||
20330 test ! -s conftest.err
20331 } && test -s conftest.
$ac_objext; then
20332 ac_hi
=$ac_mid; break
20334 echo "$as_me: failed program was:" >&5
20335 sed 's/^/| /' conftest.
$ac_ext >&5
20337 ac_lo
=`expr $ac_mid + 1`
20338 if test $ac_lo -le $ac_mid; then
20342 ac_mid
=`expr 2 '*' $ac_mid + 1`
20345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20348 echo "$as_me: failed program was:" >&5
20349 sed 's/^/| /' conftest.
$ac_ext >&5
20351 cat >conftest.
$ac_ext <<_ACEOF
20354 cat confdefs.h
>>conftest.
$ac_ext
20355 cat >>conftest.
$ac_ext <<_ACEOF
20356 /* end confdefs.h. */
20357 $ac_includes_default
20358 typedef void * ac__type_sizeof_;
20362 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20369 rm -f conftest.
$ac_objext
20370 if { (ac_try
="$ac_compile"
20371 case "(($ac_try" in
20372 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20373 *) ac_try_echo=$ac_try;;
20375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20376 (eval "$ac_compile") 2>conftest.er1
20378 grep -v '^ *+' conftest.er1 >conftest.err
20380 cat conftest.err >&5
20381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382 (exit $ac_status); } && {
20383 test -z "$ac_c_werror_flag" ||
20384 test ! -s conftest.err
20385 } && test -s conftest.$ac_objext; then
20388 cat >conftest.$ac_ext <<_ACEOF
20391 cat confdefs.h >>conftest.$ac_ext
20392 cat >>conftest.$ac_ext <<_ACEOF
20393 /* end confdefs.h. */
20394 $ac_includes_default
20395 typedef void * ac__type_sizeof_;
20399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20406 rm -f conftest.$ac_objext
20407 if { (ac_try="$ac_compile"
20408 case "(($ac_try" in
20409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20410 *) ac_try_echo
=$ac_try;;
20412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20413 (eval "$ac_compile") 2>conftest.er1
20415 grep -v '^ *+' conftest.er1
>conftest.err
20417 cat conftest.err
>&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } && {
20420 test -z "$ac_c_werror_flag" ||
20421 test ! -s conftest.err
20422 } && test -s conftest.
$ac_objext; then
20423 ac_lo
=$ac_mid; break
20425 echo "$as_me: failed program was:" >&5
20426 sed 's/^/| /' conftest.
$ac_ext >&5
20428 ac_hi
=`expr '(' $ac_mid ')' - 1`
20429 if test $ac_mid -le $ac_hi; then
20433 ac_mid
=`expr 2 '*' $ac_mid`
20436 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20439 echo "$as_me: failed program was:" >&5
20440 sed 's/^/| /' conftest.
$ac_ext >&5
20445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20449 # Binary search between lo and hi bounds.
20450 while test "x$ac_lo" != "x$ac_hi"; do
20451 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20452 cat >conftest.
$ac_ext <<_ACEOF
20455 cat confdefs.h
>>conftest.
$ac_ext
20456 cat >>conftest.
$ac_ext <<_ACEOF
20457 /* end confdefs.h. */
20458 $ac_includes_default
20459 typedef void * ac__type_sizeof_;
20463 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20470 rm -f conftest.
$ac_objext
20471 if { (ac_try
="$ac_compile"
20472 case "(($ac_try" in
20473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20474 *) ac_try_echo=$ac_try;;
20476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20477 (eval "$ac_compile") 2>conftest.er1
20479 grep -v '^ *+' conftest.er1 >conftest.err
20481 cat conftest.err >&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } && {
20484 test -z "$ac_c_werror_flag" ||
20485 test ! -s conftest.err
20486 } && test -s conftest.$ac_objext; then
20489 echo "$as_me: failed program was:" >&5
20490 sed 's/^/| /' conftest.$ac_ext >&5
20492 ac_lo=`expr '(' $ac_mid ')' + 1`
20495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20498 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20499 '') if test "$ac_cv_type_void_p" = yes; then
20500 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20501 See \`config.log
' for more details." >&5
20502 echo "$as_me: error: cannot compute sizeof (void *)
20503 See \`config.log' for more details.
" >&2;}
20504 { (exit 77); exit 77; }; }
20506 ac_cv_sizeof_void_p=0
20510 cat >conftest.$ac_ext <<_ACEOF
20513 cat confdefs.h >>conftest.$ac_ext
20514 cat >>conftest.$ac_ext <<_ACEOF
20515 /* end confdefs.h. */
20516 $ac_includes_default
20517 typedef void * ac__type_sizeof_;
20518 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20519 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20521 #include <stdlib.h>
20526 FILE *f = fopen ("conftest.val
", "w
");
20529 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20531 long int i = longval ();
20532 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20534 fprintf (f, "%ld
\n", i);
20538 unsigned long int i = ulongval ();
20539 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20541 fprintf (f, "%lu
\n", i);
20543 return ferror (f) || fclose (f) != 0;
20549 rm -f conftest$ac_exeext
20550 if { (ac_try="$ac_link"
20551 case "(($ac_try" in
20552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20553 *) ac_try_echo=$ac_try;;
20555 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20556 (eval "$ac_link") 2>&5
20558 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20560 { (case "(($ac_try" in
20561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20562 *) ac_try_echo=$ac_try;;
20564 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20565 (eval "$ac_try") 2>&5
20567 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20568 (exit $ac_status); }; }; then
20569 ac_cv_sizeof_void_p=`cat conftest.val`
20571 echo "$as_me: program exited with status
$ac_status" >&5
20572 echo "$as_me: failed program was
:" >&5
20573 sed 's/^/| /' conftest.$ac_ext >&5
20575 ( exit $ac_status )
20576 if test "$ac_cv_type_void_p" = yes; then
20577 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20578 See \
`config.log' for more details." >&5
20579 echo "$as_me: error: cannot compute sizeof (void *)
20580 See \`config.log
' for more details." >&2;}
20581 { (exit 77); exit 77; }; }
20583 ac_cv_sizeof_void_p=0
20586 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20590 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20591 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20595 cat >>confdefs.h <<_ACEOF
20596 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20600 { echo "$as_me:$LINENO: checking for int" >&5
20601 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20602 if test "${ac_cv_type_int+set}" = set; then
20603 echo $ECHO_N "(cached) $ECHO_C" >&6
20605 cat >conftest.$ac_ext <<_ACEOF
20608 cat confdefs.h >>conftest.$ac_ext
20609 cat >>conftest.$ac_ext <<_ACEOF
20610 /* end confdefs.h. */
20611 $ac_includes_default
20612 typedef int ac__type_new_;
20616 if ((ac__type_new_ *) 0)
20618 if (sizeof (ac__type_new_))
20624 rm -f conftest.$ac_objext
20625 if { (ac_try="$ac_compile"
20626 case "(($ac_try" in
20627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20628 *) ac_try_echo=$ac_try;;
20630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20631 (eval "$ac_compile") 2>conftest.er1
20633 grep -v '^
*+' conftest.er1 >conftest.err
20635 cat conftest.err >&5
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); } && {
20638 test -z "$ac_c_werror_flag" ||
20639 test ! -s conftest.err
20640 } && test -s conftest.$ac_objext; then
20643 echo "$as_me: failed program was:" >&5
20644 sed 's
/^
/| /' conftest.$ac_ext >&5
20649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20651 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20652 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20654 # The cast to long int works around a bug in the HP C Compiler
20655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20657 # This bug is HP SR number 8606223364.
20658 { echo "$as_me:$LINENO: checking size of int" >&5
20659 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20660 if test "${ac_cv_sizeof_int+set}" = set; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6
20663 if test "$cross_compiling" = yes; then
20664 # Depending upon the size, compute the lo and hi bounds.
20665 cat >conftest.
$ac_ext <<_ACEOF
20668 cat confdefs.h
>>conftest.
$ac_ext
20669 cat >>conftest.
$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20671 $ac_includes_default
20672 typedef int ac__type_sizeof_;
20676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20683 rm -f conftest.
$ac_objext
20684 if { (ac_try
="$ac_compile"
20685 case "(($ac_try" in
20686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20687 *) ac_try_echo=$ac_try;;
20689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20690 (eval "$ac_compile") 2>conftest.er1
20692 grep -v '^ *+' conftest.er1 >conftest.err
20694 cat conftest.err >&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } && {
20697 test -z "$ac_c_werror_flag" ||
20698 test ! -s conftest.err
20699 } && test -s conftest.$ac_objext; then
20702 cat >conftest.$ac_ext <<_ACEOF
20705 cat confdefs.h >>conftest.$ac_ext
20706 cat >>conftest.$ac_ext <<_ACEOF
20707 /* end confdefs.h. */
20708 $ac_includes_default
20709 typedef int ac__type_sizeof_;
20713 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20720 rm -f conftest.$ac_objext
20721 if { (ac_try="$ac_compile"
20722 case "(($ac_try" in
20723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20724 *) ac_try_echo
=$ac_try;;
20726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20727 (eval "$ac_compile") 2>conftest.er1
20729 grep -v '^ *+' conftest.er1
>conftest.err
20731 cat conftest.err
>&5
20732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); } && {
20734 test -z "$ac_c_werror_flag" ||
20735 test ! -s conftest.err
20736 } && test -s conftest.
$ac_objext; then
20737 ac_hi
=$ac_mid; break
20739 echo "$as_me: failed program was:" >&5
20740 sed 's/^/| /' conftest.
$ac_ext >&5
20742 ac_lo
=`expr $ac_mid + 1`
20743 if test $ac_lo -le $ac_mid; then
20747 ac_mid
=`expr 2 '*' $ac_mid + 1`
20750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.
$ac_ext >&5
20756 cat >conftest.
$ac_ext <<_ACEOF
20759 cat confdefs.h
>>conftest.
$ac_ext
20760 cat >>conftest.
$ac_ext <<_ACEOF
20761 /* end confdefs.h. */
20762 $ac_includes_default
20763 typedef int ac__type_sizeof_;
20767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20774 rm -f conftest.
$ac_objext
20775 if { (ac_try
="$ac_compile"
20776 case "(($ac_try" in
20777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20778 *) ac_try_echo=$ac_try;;
20780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20781 (eval "$ac_compile") 2>conftest.er1
20783 grep -v '^ *+' conftest.er1 >conftest.err
20785 cat conftest.err >&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } && {
20788 test -z "$ac_c_werror_flag" ||
20789 test ! -s conftest.err
20790 } && test -s conftest.$ac_objext; then
20793 cat >conftest.$ac_ext <<_ACEOF
20796 cat confdefs.h >>conftest.$ac_ext
20797 cat >>conftest.$ac_ext <<_ACEOF
20798 /* end confdefs.h. */
20799 $ac_includes_default
20800 typedef int ac__type_sizeof_;
20804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20811 rm -f conftest.$ac_objext
20812 if { (ac_try="$ac_compile"
20813 case "(($ac_try" in
20814 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20815 *) ac_try_echo
=$ac_try;;
20817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20818 (eval "$ac_compile") 2>conftest.er1
20820 grep -v '^ *+' conftest.er1
>conftest.err
20822 cat conftest.err
>&5
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); } && {
20825 test -z "$ac_c_werror_flag" ||
20826 test ! -s conftest.err
20827 } && test -s conftest.
$ac_objext; then
20828 ac_lo
=$ac_mid; break
20830 echo "$as_me: failed program was:" >&5
20831 sed 's/^/| /' conftest.
$ac_ext >&5
20833 ac_hi
=`expr '(' $ac_mid ')' - 1`
20834 if test $ac_mid -le $ac_hi; then
20838 ac_mid
=`expr 2 '*' $ac_mid`
20841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20844 echo "$as_me: failed program was:" >&5
20845 sed 's/^/| /' conftest.
$ac_ext >&5
20850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20854 # Binary search between lo and hi bounds.
20855 while test "x$ac_lo" != "x$ac_hi"; do
20856 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20857 cat >conftest.
$ac_ext <<_ACEOF
20860 cat confdefs.h
>>conftest.
$ac_ext
20861 cat >>conftest.
$ac_ext <<_ACEOF
20862 /* end confdefs.h. */
20863 $ac_includes_default
20864 typedef int ac__type_sizeof_;
20868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20875 rm -f conftest.
$ac_objext
20876 if { (ac_try
="$ac_compile"
20877 case "(($ac_try" in
20878 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20879 *) ac_try_echo=$ac_try;;
20881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20882 (eval "$ac_compile") 2>conftest.er1
20884 grep -v '^ *+' conftest.er1 >conftest.err
20886 cat conftest.err >&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); } && {
20889 test -z "$ac_c_werror_flag" ||
20890 test ! -s conftest.err
20891 } && test -s conftest.$ac_objext; then
20894 echo "$as_me: failed program was:" >&5
20895 sed 's/^/| /' conftest.$ac_ext >&5
20897 ac_lo=`expr '(' $ac_mid ')' + 1`
20900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20903 ?*) ac_cv_sizeof_int=$ac_lo;;
20904 '') if test "$ac_cv_type_int" = yes; then
20905 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20906 See \`config.log
' for more details." >&5
20907 echo "$as_me: error: cannot compute sizeof (int)
20908 See \`config.log' for more details.
" >&2;}
20909 { (exit 77); exit 77; }; }
20915 cat >conftest.$ac_ext <<_ACEOF
20918 cat confdefs.h >>conftest.$ac_ext
20919 cat >>conftest.$ac_ext <<_ACEOF
20920 /* end confdefs.h. */
20921 $ac_includes_default
20922 typedef int ac__type_sizeof_;
20923 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20924 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20926 #include <stdlib.h>
20931 FILE *f = fopen ("conftest.val
", "w
");
20934 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20936 long int i = longval ();
20937 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20939 fprintf (f, "%ld
\n", i);
20943 unsigned long int i = ulongval ();
20944 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20946 fprintf (f, "%lu
\n", i);
20948 return ferror (f) || fclose (f) != 0;
20954 rm -f conftest$ac_exeext
20955 if { (ac_try="$ac_link"
20956 case "(($ac_try" in
20957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20958 *) ac_try_echo=$ac_try;;
20960 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20961 (eval "$ac_link") 2>&5
20963 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20965 { (case "(($ac_try" in
20966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20967 *) ac_try_echo=$ac_try;;
20969 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20970 (eval "$ac_try") 2>&5
20972 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20973 (exit $ac_status); }; }; then
20974 ac_cv_sizeof_int=`cat conftest.val`
20976 echo "$as_me: program exited with status
$ac_status" >&5
20977 echo "$as_me: failed program was
:" >&5
20978 sed 's/^/| /' conftest.$ac_ext >&5
20980 ( exit $ac_status )
20981 if test "$ac_cv_type_int" = yes; then
20982 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20983 See \
`config.log' for more details." >&5
20984 echo "$as_me: error: cannot compute sizeof (int)
20985 See \`config.log
' for more details." >&2;}
20986 { (exit 77); exit 77; }; }
20991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20995 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20996 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21000 cat >>confdefs.h <<_ACEOF
21001 #define SIZEOF_INT $ac_cv_sizeof_int
21005 { echo "$as_me:$LINENO: checking for long" >&5
21006 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21007 if test "${ac_cv_type_long+set}" = set; then
21008 echo $ECHO_N "(cached) $ECHO_C" >&6
21010 cat >conftest.$ac_ext <<_ACEOF
21013 cat confdefs.h >>conftest.$ac_ext
21014 cat >>conftest.$ac_ext <<_ACEOF
21015 /* end confdefs.h. */
21016 $ac_includes_default
21017 typedef long ac__type_new_;
21021 if ((ac__type_new_ *) 0)
21023 if (sizeof (ac__type_new_))
21029 rm -f conftest.$ac_objext
21030 if { (ac_try="$ac_compile"
21031 case "(($ac_try" in
21032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21033 *) ac_try_echo=$ac_try;;
21035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21036 (eval "$ac_compile") 2>conftest.er1
21038 grep -v '^
*+' conftest.er1 >conftest.err
21040 cat conftest.err >&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); } && {
21043 test -z "$ac_c_werror_flag" ||
21044 test ! -s conftest.err
21045 } && test -s conftest.$ac_objext; then
21046 ac_cv_type_long=yes
21048 echo "$as_me: failed program was:" >&5
21049 sed 's
/^
/| /' conftest.$ac_ext >&5
21054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21056 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21057 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21059 # The cast to long int works around a bug in the HP C Compiler
21060 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21061 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21062 # This bug is HP SR number 8606223364.
21063 { echo "$as_me:$LINENO: checking size of long" >&5
21064 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21065 if test "${ac_cv_sizeof_long+set}" = set; then
21066 echo $ECHO_N "(cached) $ECHO_C" >&6
21068 if test "$cross_compiling" = yes; then
21069 # Depending upon the size, compute the lo and hi bounds.
21070 cat >conftest.
$ac_ext <<_ACEOF
21073 cat confdefs.h
>>conftest.
$ac_ext
21074 cat >>conftest.
$ac_ext <<_ACEOF
21075 /* end confdefs.h. */
21076 $ac_includes_default
21077 typedef long ac__type_sizeof_;
21081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21088 rm -f conftest.
$ac_objext
21089 if { (ac_try
="$ac_compile"
21090 case "(($ac_try" in
21091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21092 *) ac_try_echo=$ac_try;;
21094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21095 (eval "$ac_compile") 2>conftest.er1
21097 grep -v '^ *+' conftest.er1 >conftest.err
21099 cat conftest.err >&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); } && {
21102 test -z "$ac_c_werror_flag" ||
21103 test ! -s conftest.err
21104 } && test -s conftest.$ac_objext; then
21107 cat >conftest.$ac_ext <<_ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21113 $ac_includes_default
21114 typedef long ac__type_sizeof_;
21118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21125 rm -f conftest.$ac_objext
21126 if { (ac_try="$ac_compile"
21127 case "(($ac_try" in
21128 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21129 *) ac_try_echo
=$ac_try;;
21131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21132 (eval "$ac_compile") 2>conftest.er1
21134 grep -v '^ *+' conftest.er1
>conftest.err
21136 cat conftest.err
>&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } && {
21139 test -z "$ac_c_werror_flag" ||
21140 test ! -s conftest.err
21141 } && test -s conftest.
$ac_objext; then
21142 ac_hi
=$ac_mid; break
21144 echo "$as_me: failed program was:" >&5
21145 sed 's/^/| /' conftest.
$ac_ext >&5
21147 ac_lo
=`expr $ac_mid + 1`
21148 if test $ac_lo -le $ac_mid; then
21152 ac_mid
=`expr 2 '*' $ac_mid + 1`
21155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.
$ac_ext >&5
21161 cat >conftest.
$ac_ext <<_ACEOF
21164 cat confdefs.h
>>conftest.
$ac_ext
21165 cat >>conftest.
$ac_ext <<_ACEOF
21166 /* end confdefs.h. */
21167 $ac_includes_default
21168 typedef long ac__type_sizeof_;
21172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21179 rm -f conftest.
$ac_objext
21180 if { (ac_try
="$ac_compile"
21181 case "(($ac_try" in
21182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21183 *) ac_try_echo=$ac_try;;
21185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21186 (eval "$ac_compile") 2>conftest.er1
21188 grep -v '^ *+' conftest.er1 >conftest.err
21190 cat conftest.err >&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); } && {
21193 test -z "$ac_c_werror_flag" ||
21194 test ! -s conftest.err
21195 } && test -s conftest.$ac_objext; then
21198 cat >conftest.$ac_ext <<_ACEOF
21201 cat confdefs.h >>conftest.$ac_ext
21202 cat >>conftest.$ac_ext <<_ACEOF
21203 /* end confdefs.h. */
21204 $ac_includes_default
21205 typedef long ac__type_sizeof_;
21209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21216 rm -f conftest.$ac_objext
21217 if { (ac_try="$ac_compile"
21218 case "(($ac_try" in
21219 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21220 *) ac_try_echo
=$ac_try;;
21222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21223 (eval "$ac_compile") 2>conftest.er1
21225 grep -v '^ *+' conftest.er1
>conftest.err
21227 cat conftest.err
>&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } && {
21230 test -z "$ac_c_werror_flag" ||
21231 test ! -s conftest.err
21232 } && test -s conftest.
$ac_objext; then
21233 ac_lo
=$ac_mid; break
21235 echo "$as_me: failed program was:" >&5
21236 sed 's/^/| /' conftest.
$ac_ext >&5
21238 ac_hi
=`expr '(' $ac_mid ')' - 1`
21239 if test $ac_mid -le $ac_hi; then
21243 ac_mid
=`expr 2 '*' $ac_mid`
21246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21249 echo "$as_me: failed program was:" >&5
21250 sed 's/^/| /' conftest.
$ac_ext >&5
21255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21259 # Binary search between lo and hi bounds.
21260 while test "x$ac_lo" != "x$ac_hi"; do
21261 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21262 cat >conftest.
$ac_ext <<_ACEOF
21265 cat confdefs.h
>>conftest.
$ac_ext
21266 cat >>conftest.
$ac_ext <<_ACEOF
21267 /* end confdefs.h. */
21268 $ac_includes_default
21269 typedef long ac__type_sizeof_;
21273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21280 rm -f conftest.
$ac_objext
21281 if { (ac_try
="$ac_compile"
21282 case "(($ac_try" in
21283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21287 (eval "$ac_compile") 2>conftest.er1
21289 grep -v '^ *+' conftest.er1 >conftest.err
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } && {
21294 test -z "$ac_c_werror_flag" ||
21295 test ! -s conftest.err
21296 } && test -s conftest.$ac_objext; then
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21302 ac_lo=`expr '(' $ac_mid ')' + 1`
21305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21308 ?*) ac_cv_sizeof_long=$ac_lo;;
21309 '') if test "$ac_cv_type_long" = yes; then
21310 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21311 See \`config.log
' for more details." >&5
21312 echo "$as_me: error: cannot compute sizeof (long)
21313 See \`config.log' for more details.
" >&2;}
21314 { (exit 77); exit 77; }; }
21316 ac_cv_sizeof_long=0
21320 cat >conftest.$ac_ext <<_ACEOF
21323 cat confdefs.h >>conftest.$ac_ext
21324 cat >>conftest.$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21326 $ac_includes_default
21327 typedef long ac__type_sizeof_;
21328 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21329 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21331 #include <stdlib.h>
21336 FILE *f = fopen ("conftest.val
", "w
");
21339 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21341 long int i = longval ();
21342 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21344 fprintf (f, "%ld
\n", i);
21348 unsigned long int i = ulongval ();
21349 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21351 fprintf (f, "%lu
\n", i);
21353 return ferror (f) || fclose (f) != 0;
21359 rm -f conftest$ac_exeext
21360 if { (ac_try="$ac_link"
21361 case "(($ac_try" in
21362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21363 *) ac_try_echo=$ac_try;;
21365 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21366 (eval "$ac_link") 2>&5
21368 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21369 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21370 { (case "(($ac_try" in
21371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21372 *) ac_try_echo=$ac_try;;
21374 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21375 (eval "$ac_try") 2>&5
21377 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21378 (exit $ac_status); }; }; then
21379 ac_cv_sizeof_long=`cat conftest.val`
21381 echo "$as_me: program exited with status
$ac_status" >&5
21382 echo "$as_me: failed program was
:" >&5
21383 sed 's/^/| /' conftest.$ac_ext >&5
21385 ( exit $ac_status )
21386 if test "$ac_cv_type_long" = yes; then
21387 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21388 See \
`config.log' for more details." >&5
21389 echo "$as_me: error: cannot compute sizeof (long)
21390 See \`config.log
' for more details." >&2;}
21391 { (exit 77); exit 77; }; }
21393 ac_cv_sizeof_long=0
21396 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21400 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21401 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21405 cat >>confdefs.h <<_ACEOF
21406 #define SIZEOF_LONG $ac_cv_sizeof_long
21410 { echo "$as_me:$LINENO: checking for size_t" >&5
21411 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21412 if test "${ac_cv_type_size_t+set}" = set; then
21413 echo $ECHO_N "(cached) $ECHO_C" >&6
21415 cat >conftest.$ac_ext <<_ACEOF
21418 cat confdefs.h >>conftest.$ac_ext
21419 cat >>conftest.$ac_ext <<_ACEOF
21420 /* end confdefs.h. */
21421 $ac_includes_default
21422 typedef size_t ac__type_new_;
21426 if ((ac__type_new_ *) 0)
21428 if (sizeof (ac__type_new_))
21434 rm -f conftest.$ac_objext
21435 if { (ac_try="$ac_compile"
21436 case "(($ac_try" in
21437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21438 *) ac_try_echo=$ac_try;;
21440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21441 (eval "$ac_compile") 2>conftest.er1
21443 grep -v '^
*+' conftest.er1 >conftest.err
21445 cat conftest.err >&5
21446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } && {
21448 test -z "$ac_c_werror_flag" ||
21449 test ! -s conftest.err
21450 } && test -s conftest.$ac_objext; then
21451 ac_cv_type_size_t=yes
21453 echo "$as_me: failed program was:" >&5
21454 sed 's
/^
/| /' conftest.$ac_ext >&5
21456 ac_cv_type_size_t=no
21459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21461 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21462 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21464 # The cast to long int works around a bug in the HP C Compiler
21465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21467 # This bug is HP SR number 8606223364.
21468 { echo "$as_me:$LINENO: checking size of size_t" >&5
21469 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21470 if test "${ac_cv_sizeof_size_t+set}" = set; then
21471 echo $ECHO_N "(cached) $ECHO_C" >&6
21473 if test "$cross_compiling" = yes; then
21474 # Depending upon the size, compute the lo and hi bounds.
21475 cat >conftest.
$ac_ext <<_ACEOF
21478 cat confdefs.h
>>conftest.
$ac_ext
21479 cat >>conftest.
$ac_ext <<_ACEOF
21480 /* end confdefs.h. */
21481 $ac_includes_default
21482 typedef size_t ac__type_sizeof_;
21486 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21493 rm -f conftest.
$ac_objext
21494 if { (ac_try
="$ac_compile"
21495 case "(($ac_try" in
21496 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21497 *) ac_try_echo=$ac_try;;
21499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21500 (eval "$ac_compile") 2>conftest.er1
21502 grep -v '^ *+' conftest.er1 >conftest.err
21504 cat conftest.err >&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } && {
21507 test -z "$ac_c_werror_flag" ||
21508 test ! -s conftest.err
21509 } && test -s conftest.$ac_objext; then
21512 cat >conftest.$ac_ext <<_ACEOF
21515 cat confdefs.h >>conftest.$ac_ext
21516 cat >>conftest.$ac_ext <<_ACEOF
21517 /* end confdefs.h. */
21518 $ac_includes_default
21519 typedef size_t ac__type_sizeof_;
21523 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21530 rm -f conftest.$ac_objext
21531 if { (ac_try="$ac_compile"
21532 case "(($ac_try" in
21533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21534 *) ac_try_echo
=$ac_try;;
21536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21537 (eval "$ac_compile") 2>conftest.er1
21539 grep -v '^ *+' conftest.er1
>conftest.err
21541 cat conftest.err
>&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); } && {
21544 test -z "$ac_c_werror_flag" ||
21545 test ! -s conftest.err
21546 } && test -s conftest.
$ac_objext; then
21547 ac_hi
=$ac_mid; break
21549 echo "$as_me: failed program was:" >&5
21550 sed 's/^/| /' conftest.
$ac_ext >&5
21552 ac_lo
=`expr $ac_mid + 1`
21553 if test $ac_lo -le $ac_mid; then
21557 ac_mid
=`expr 2 '*' $ac_mid + 1`
21560 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21563 echo "$as_me: failed program was:" >&5
21564 sed 's/^/| /' conftest.
$ac_ext >&5
21566 cat >conftest.
$ac_ext <<_ACEOF
21569 cat confdefs.h
>>conftest.
$ac_ext
21570 cat >>conftest.
$ac_ext <<_ACEOF
21571 /* end confdefs.h. */
21572 $ac_includes_default
21573 typedef size_t ac__type_sizeof_;
21577 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21584 rm -f conftest.
$ac_objext
21585 if { (ac_try
="$ac_compile"
21586 case "(($ac_try" in
21587 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21588 *) ac_try_echo=$ac_try;;
21590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21591 (eval "$ac_compile") 2>conftest.er1
21593 grep -v '^ *+' conftest.er1 >conftest.err
21595 cat conftest.err >&5
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); } && {
21598 test -z "$ac_c_werror_flag" ||
21599 test ! -s conftest.err
21600 } && test -s conftest.$ac_objext; then
21603 cat >conftest.$ac_ext <<_ACEOF
21606 cat confdefs.h >>conftest.$ac_ext
21607 cat >>conftest.$ac_ext <<_ACEOF
21608 /* end confdefs.h. */
21609 $ac_includes_default
21610 typedef size_t ac__type_sizeof_;
21614 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21621 rm -f conftest.$ac_objext
21622 if { (ac_try="$ac_compile"
21623 case "(($ac_try" in
21624 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21625 *) ac_try_echo
=$ac_try;;
21627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21628 (eval "$ac_compile") 2>conftest.er1
21630 grep -v '^ *+' conftest.er1
>conftest.err
21632 cat conftest.err
>&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); } && {
21635 test -z "$ac_c_werror_flag" ||
21636 test ! -s conftest.err
21637 } && test -s conftest.
$ac_objext; then
21638 ac_lo
=$ac_mid; break
21640 echo "$as_me: failed program was:" >&5
21641 sed 's/^/| /' conftest.
$ac_ext >&5
21643 ac_hi
=`expr '(' $ac_mid ')' - 1`
21644 if test $ac_mid -le $ac_hi; then
21648 ac_mid
=`expr 2 '*' $ac_mid`
21651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21654 echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.
$ac_ext >&5
21660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21664 # Binary search between lo and hi bounds.
21665 while test "x$ac_lo" != "x$ac_hi"; do
21666 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21667 cat >conftest.
$ac_ext <<_ACEOF
21670 cat confdefs.h
>>conftest.
$ac_ext
21671 cat >>conftest.
$ac_ext <<_ACEOF
21672 /* end confdefs.h. */
21673 $ac_includes_default
21674 typedef size_t ac__type_sizeof_;
21678 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21685 rm -f conftest.
$ac_objext
21686 if { (ac_try
="$ac_compile"
21687 case "(($ac_try" in
21688 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21689 *) ac_try_echo=$ac_try;;
21691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21692 (eval "$ac_compile") 2>conftest.er1
21694 grep -v '^ *+' conftest.er1 >conftest.err
21696 cat conftest.err >&5
21697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21698 (exit $ac_status); } && {
21699 test -z "$ac_c_werror_flag" ||
21700 test ! -s conftest.err
21701 } && test -s conftest.$ac_objext; then
21704 echo "$as_me: failed program was:" >&5
21705 sed 's/^/| /' conftest.$ac_ext >&5
21707 ac_lo=`expr '(' $ac_mid ')' + 1`
21710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21713 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21714 '') if test "$ac_cv_type_size_t" = yes; then
21715 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21716 See \`config.log
' for more details." >&5
21717 echo "$as_me: error: cannot compute sizeof (size_t)
21718 See \`config.log' for more details.
" >&2;}
21719 { (exit 77); exit 77; }; }
21721 ac_cv_sizeof_size_t=0
21725 cat >conftest.$ac_ext <<_ACEOF
21728 cat confdefs.h >>conftest.$ac_ext
21729 cat >>conftest.$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21731 $ac_includes_default
21732 typedef size_t ac__type_sizeof_;
21733 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21734 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21736 #include <stdlib.h>
21741 FILE *f = fopen ("conftest.val
", "w
");
21744 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21746 long int i = longval ();
21747 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21749 fprintf (f, "%ld
\n", i);
21753 unsigned long int i = ulongval ();
21754 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21756 fprintf (f, "%lu
\n", i);
21758 return ferror (f) || fclose (f) != 0;
21764 rm -f conftest$ac_exeext
21765 if { (ac_try="$ac_link"
21766 case "(($ac_try" in
21767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21768 *) ac_try_echo=$ac_try;;
21770 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21771 (eval "$ac_link") 2>&5
21773 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21775 { (case "(($ac_try" in
21776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21777 *) ac_try_echo=$ac_try;;
21779 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21780 (eval "$ac_try") 2>&5
21782 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21783 (exit $ac_status); }; }; then
21784 ac_cv_sizeof_size_t=`cat conftest.val`
21786 echo "$as_me: program exited with status
$ac_status" >&5
21787 echo "$as_me: failed program was
:" >&5
21788 sed 's/^/| /' conftest.$ac_ext >&5
21790 ( exit $ac_status )
21791 if test "$ac_cv_type_size_t" = yes; then
21792 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21793 See \
`config.log' for more details." >&5
21794 echo "$as_me: error: cannot compute sizeof (size_t)
21795 See \`config.log
' for more details." >&2;}
21796 { (exit 77); exit 77; }; }
21798 ac_cv_sizeof_size_t=0
21801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21805 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21806 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21810 cat >>confdefs.h <<_ACEOF
21811 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21818 { echo "$as_me:$LINENO: checking for long long" >&5
21819 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21820 if test "${ac_cv_type_long_long+set}" = set; then
21821 echo $ECHO_N "(cached) $ECHO_C" >&6
21823 cat >conftest.$ac_ext <<_ACEOF
21826 cat confdefs.h >>conftest.$ac_ext
21827 cat >>conftest.$ac_ext <<_ACEOF
21828 /* end confdefs.h. */
21829 $ac_includes_default
21830 typedef long long ac__type_new_;
21834 if ((ac__type_new_ *) 0)
21836 if (sizeof (ac__type_new_))
21842 rm -f conftest.$ac_objext
21843 if { (ac_try="$ac_compile"
21844 case "(($ac_try" in
21845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21846 *) ac_try_echo=$ac_try;;
21848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21849 (eval "$ac_compile") 2>conftest.er1
21851 grep -v '^
*+' conftest.er1 >conftest.err
21853 cat conftest.err >&5
21854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21855 (exit $ac_status); } && {
21856 test -z "$ac_c_werror_flag" ||
21857 test ! -s conftest.err
21858 } && test -s conftest.$ac_objext; then
21859 ac_cv_type_long_long=yes
21861 echo "$as_me: failed program was:" >&5
21862 sed 's
/^
/| /' conftest.$ac_ext >&5
21864 ac_cv_type_long_long=no
21867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21869 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21870 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21872 # The cast to long int works around a bug in the HP C Compiler
21873 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21874 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21875 # This bug is HP SR number 8606223364.
21876 { echo "$as_me:$LINENO: checking size of long long" >&5
21877 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21878 if test "${ac_cv_sizeof_long_long+set}" = set; then
21879 echo $ECHO_N "(cached) $ECHO_C" >&6
21881 if test "$cross_compiling" = yes; then
21882 # Depending upon the size, compute the lo and hi bounds.
21883 cat >conftest.
$ac_ext <<_ACEOF
21886 cat confdefs.h
>>conftest.
$ac_ext
21887 cat >>conftest.
$ac_ext <<_ACEOF
21888 /* end confdefs.h. */
21889 $ac_includes_default
21890 typedef long long ac__type_sizeof_;
21894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21901 rm -f conftest.
$ac_objext
21902 if { (ac_try
="$ac_compile"
21903 case "(($ac_try" in
21904 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21905 *) ac_try_echo=$ac_try;;
21907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21908 (eval "$ac_compile") 2>conftest.er1
21910 grep -v '^ *+' conftest.er1 >conftest.err
21912 cat conftest.err >&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); } && {
21915 test -z "$ac_c_werror_flag" ||
21916 test ! -s conftest.err
21917 } && test -s conftest.$ac_objext; then
21920 cat >conftest.$ac_ext <<_ACEOF
21923 cat confdefs.h >>conftest.$ac_ext
21924 cat >>conftest.$ac_ext <<_ACEOF
21925 /* end confdefs.h. */
21926 $ac_includes_default
21927 typedef long long ac__type_sizeof_;
21931 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21938 rm -f conftest.$ac_objext
21939 if { (ac_try="$ac_compile"
21940 case "(($ac_try" in
21941 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21942 *) ac_try_echo
=$ac_try;;
21944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21945 (eval "$ac_compile") 2>conftest.er1
21947 grep -v '^ *+' conftest.er1
>conftest.err
21949 cat conftest.err
>&5
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); } && {
21952 test -z "$ac_c_werror_flag" ||
21953 test ! -s conftest.err
21954 } && test -s conftest.
$ac_objext; then
21955 ac_hi
=$ac_mid; break
21957 echo "$as_me: failed program was:" >&5
21958 sed 's/^/| /' conftest.
$ac_ext >&5
21960 ac_lo
=`expr $ac_mid + 1`
21961 if test $ac_lo -le $ac_mid; then
21965 ac_mid
=`expr 2 '*' $ac_mid + 1`
21968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21971 echo "$as_me: failed program was:" >&5
21972 sed 's/^/| /' conftest.
$ac_ext >&5
21974 cat >conftest.
$ac_ext <<_ACEOF
21977 cat confdefs.h
>>conftest.
$ac_ext
21978 cat >>conftest.
$ac_ext <<_ACEOF
21979 /* end confdefs.h. */
21980 $ac_includes_default
21981 typedef long long ac__type_sizeof_;
21985 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21992 rm -f conftest.
$ac_objext
21993 if { (ac_try
="$ac_compile"
21994 case "(($ac_try" in
21995 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21996 *) ac_try_echo=$ac_try;;
21998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21999 (eval "$ac_compile") 2>conftest.er1
22001 grep -v '^ *+' conftest.er1 >conftest.err
22003 cat conftest.err >&5
22004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22005 (exit $ac_status); } && {
22006 test -z "$ac_c_werror_flag" ||
22007 test ! -s conftest.err
22008 } && test -s conftest.$ac_objext; then
22011 cat >conftest.$ac_ext <<_ACEOF
22014 cat confdefs.h >>conftest.$ac_ext
22015 cat >>conftest.$ac_ext <<_ACEOF
22016 /* end confdefs.h. */
22017 $ac_includes_default
22018 typedef long long ac__type_sizeof_;
22022 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22029 rm -f conftest.$ac_objext
22030 if { (ac_try="$ac_compile"
22031 case "(($ac_try" in
22032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22033 *) ac_try_echo
=$ac_try;;
22035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22036 (eval "$ac_compile") 2>conftest.er1
22038 grep -v '^ *+' conftest.er1
>conftest.err
22040 cat conftest.err
>&5
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); } && {
22043 test -z "$ac_c_werror_flag" ||
22044 test ! -s conftest.err
22045 } && test -s conftest.
$ac_objext; then
22046 ac_lo
=$ac_mid; break
22048 echo "$as_me: failed program was:" >&5
22049 sed 's/^/| /' conftest.
$ac_ext >&5
22051 ac_hi
=`expr '(' $ac_mid ')' - 1`
22052 if test $ac_mid -le $ac_hi; then
22056 ac_mid
=`expr 2 '*' $ac_mid`
22059 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22062 echo "$as_me: failed program was:" >&5
22063 sed 's/^/| /' conftest.
$ac_ext >&5
22068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22072 # Binary search between lo and hi bounds.
22073 while test "x$ac_lo" != "x$ac_hi"; do
22074 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22075 cat >conftest.
$ac_ext <<_ACEOF
22078 cat confdefs.h
>>conftest.
$ac_ext
22079 cat >>conftest.
$ac_ext <<_ACEOF
22080 /* end confdefs.h. */
22081 $ac_includes_default
22082 typedef long long ac__type_sizeof_;
22086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22093 rm -f conftest.
$ac_objext
22094 if { (ac_try
="$ac_compile"
22095 case "(($ac_try" in
22096 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22097 *) ac_try_echo=$ac_try;;
22099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22100 (eval "$ac_compile") 2>conftest.er1
22102 grep -v '^ *+' conftest.er1 >conftest.err
22104 cat conftest.err >&5
22105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22106 (exit $ac_status); } && {
22107 test -z "$ac_c_werror_flag" ||
22108 test ! -s conftest.err
22109 } && test -s conftest.$ac_objext; then
22112 echo "$as_me: failed program was:" >&5
22113 sed 's/^/| /' conftest.$ac_ext >&5
22115 ac_lo=`expr '(' $ac_mid ')' + 1`
22118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22121 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22122 '') if test "$ac_cv_type_long_long" = yes; then
22123 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22124 See \`config.log
' for more details." >&5
22125 echo "$as_me: error: cannot compute sizeof (long long)
22126 See \`config.log' for more details.
" >&2;}
22127 { (exit 77); exit 77; }; }
22129 ac_cv_sizeof_long_long=0
22133 cat >conftest.$ac_ext <<_ACEOF
22136 cat confdefs.h >>conftest.$ac_ext
22137 cat >>conftest.$ac_ext <<_ACEOF
22138 /* end confdefs.h. */
22139 $ac_includes_default
22140 typedef long long ac__type_sizeof_;
22141 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22142 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22144 #include <stdlib.h>
22149 FILE *f = fopen ("conftest.val
", "w
");
22152 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22154 long int i = longval ();
22155 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22157 fprintf (f, "%ld
\n", i);
22161 unsigned long int i = ulongval ();
22162 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22164 fprintf (f, "%lu
\n", i);
22166 return ferror (f) || fclose (f) != 0;
22172 rm -f conftest$ac_exeext
22173 if { (ac_try="$ac_link"
22174 case "(($ac_try" in
22175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22176 *) ac_try_echo=$ac_try;;
22178 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22179 (eval "$ac_link") 2>&5
22181 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22182 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22183 { (case "(($ac_try" in
22184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22185 *) ac_try_echo=$ac_try;;
22187 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22188 (eval "$ac_try") 2>&5
22190 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22191 (exit $ac_status); }; }; then
22192 ac_cv_sizeof_long_long=`cat conftest.val`
22194 echo "$as_me: program exited with status
$ac_status" >&5
22195 echo "$as_me: failed program was
:" >&5
22196 sed 's/^/| /' conftest.$ac_ext >&5
22198 ( exit $ac_status )
22199 if test "$ac_cv_type_long_long" = yes; then
22200 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22201 See \
`config.log' for more details." >&5
22202 echo "$as_me: error: cannot compute sizeof (long long)
22203 See \`config.log
' for more details." >&2;}
22204 { (exit 77); exit 77; }; }
22206 ac_cv_sizeof_long_long=0
22209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22213 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22214 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22218 cat >>confdefs.h <<_ACEOF
22219 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22225 { echo "$as_me:$LINENO: checking for long long" >&5
22226 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22227 if test "${ac_cv_type_long_long+set}" = set; then
22228 echo $ECHO_N "(cached) $ECHO_C" >&6
22230 cat >conftest.$ac_ext <<_ACEOF
22233 cat confdefs.h >>conftest.$ac_ext
22234 cat >>conftest.$ac_ext <<_ACEOF
22235 /* end confdefs.h. */
22236 $ac_includes_default
22237 typedef long long ac__type_new_;
22241 if ((ac__type_new_ *) 0)
22243 if (sizeof (ac__type_new_))
22249 rm -f conftest.$ac_objext
22250 if { (ac_try="$ac_compile"
22251 case "(($ac_try" in
22252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22253 *) ac_try_echo=$ac_try;;
22255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22256 (eval "$ac_compile") 2>conftest.er1
22258 grep -v '^
*+' conftest.er1 >conftest.err
22260 cat conftest.err >&5
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); } && {
22263 test -z "$ac_c_werror_flag" ||
22264 test ! -s conftest.err
22265 } && test -s conftest.$ac_objext; then
22266 ac_cv_type_long_long=yes
22268 echo "$as_me: failed program was:" >&5
22269 sed 's
/^
/| /' conftest.$ac_ext >&5
22271 ac_cv_type_long_long=no
22274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22276 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22277 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22279 # The cast to long int works around a bug in the HP C Compiler
22280 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22281 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22282 # This bug is HP SR number 8606223364.
22283 { echo "$as_me:$LINENO: checking size of long long" >&5
22284 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22285 if test "${ac_cv_sizeof_long_long+set}" = set; then
22286 echo $ECHO_N "(cached) $ECHO_C" >&6
22288 if test "$cross_compiling" = yes; then
22289 # Depending upon the size, compute the lo and hi bounds.
22290 cat >conftest.
$ac_ext <<_ACEOF
22293 cat confdefs.h
>>conftest.
$ac_ext
22294 cat >>conftest.
$ac_ext <<_ACEOF
22295 /* end confdefs.h. */
22296 $ac_includes_default
22297 typedef long long ac__type_sizeof_;
22301 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22308 rm -f conftest.
$ac_objext
22309 if { (ac_try
="$ac_compile"
22310 case "(($ac_try" in
22311 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22312 *) ac_try_echo=$ac_try;;
22314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22315 (eval "$ac_compile") 2>conftest.er1
22317 grep -v '^ *+' conftest.er1 >conftest.err
22319 cat conftest.err >&5
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); } && {
22322 test -z "$ac_c_werror_flag" ||
22323 test ! -s conftest.err
22324 } && test -s conftest.$ac_objext; then
22327 cat >conftest.$ac_ext <<_ACEOF
22330 cat confdefs.h >>conftest.$ac_ext
22331 cat >>conftest.$ac_ext <<_ACEOF
22332 /* end confdefs.h. */
22333 $ac_includes_default
22334 typedef long long ac__type_sizeof_;
22338 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22345 rm -f conftest.$ac_objext
22346 if { (ac_try="$ac_compile"
22347 case "(($ac_try" in
22348 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22349 *) ac_try_echo
=$ac_try;;
22351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22352 (eval "$ac_compile") 2>conftest.er1
22354 grep -v '^ *+' conftest.er1
>conftest.err
22356 cat conftest.err
>&5
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); } && {
22359 test -z "$ac_c_werror_flag" ||
22360 test ! -s conftest.err
22361 } && test -s conftest.
$ac_objext; then
22362 ac_hi
=$ac_mid; break
22364 echo "$as_me: failed program was:" >&5
22365 sed 's/^/| /' conftest.
$ac_ext >&5
22367 ac_lo
=`expr $ac_mid + 1`
22368 if test $ac_lo -le $ac_mid; then
22372 ac_mid
=`expr 2 '*' $ac_mid + 1`
22375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22378 echo "$as_me: failed program was:" >&5
22379 sed 's/^/| /' conftest.
$ac_ext >&5
22381 cat >conftest.
$ac_ext <<_ACEOF
22384 cat confdefs.h
>>conftest.
$ac_ext
22385 cat >>conftest.
$ac_ext <<_ACEOF
22386 /* end confdefs.h. */
22387 $ac_includes_default
22388 typedef long long ac__type_sizeof_;
22392 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22399 rm -f conftest.
$ac_objext
22400 if { (ac_try
="$ac_compile"
22401 case "(($ac_try" in
22402 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22403 *) ac_try_echo=$ac_try;;
22405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22406 (eval "$ac_compile") 2>conftest.er1
22408 grep -v '^ *+' conftest.er1 >conftest.err
22410 cat conftest.err >&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); } && {
22413 test -z "$ac_c_werror_flag" ||
22414 test ! -s conftest.err
22415 } && test -s conftest.$ac_objext; then
22418 cat >conftest.$ac_ext <<_ACEOF
22421 cat confdefs.h >>conftest.$ac_ext
22422 cat >>conftest.$ac_ext <<_ACEOF
22423 /* end confdefs.h. */
22424 $ac_includes_default
22425 typedef long long ac__type_sizeof_;
22429 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22436 rm -f conftest.$ac_objext
22437 if { (ac_try="$ac_compile"
22438 case "(($ac_try" in
22439 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22440 *) ac_try_echo
=$ac_try;;
22442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22443 (eval "$ac_compile") 2>conftest.er1
22445 grep -v '^ *+' conftest.er1
>conftest.err
22447 cat conftest.err
>&5
22448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22449 (exit $ac_status); } && {
22450 test -z "$ac_c_werror_flag" ||
22451 test ! -s conftest.err
22452 } && test -s conftest.
$ac_objext; then
22453 ac_lo
=$ac_mid; break
22455 echo "$as_me: failed program was:" >&5
22456 sed 's/^/| /' conftest.
$ac_ext >&5
22458 ac_hi
=`expr '(' $ac_mid ')' - 1`
22459 if test $ac_mid -le $ac_hi; then
22463 ac_mid
=`expr 2 '*' $ac_mid`
22466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22469 echo "$as_me: failed program was:" >&5
22470 sed 's/^/| /' conftest.
$ac_ext >&5
22475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22479 # Binary search between lo and hi bounds.
22480 while test "x$ac_lo" != "x$ac_hi"; do
22481 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22482 cat >conftest.
$ac_ext <<_ACEOF
22485 cat confdefs.h
>>conftest.
$ac_ext
22486 cat >>conftest.
$ac_ext <<_ACEOF
22487 /* end confdefs.h. */
22488 $ac_includes_default
22489 typedef long long ac__type_sizeof_;
22493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22500 rm -f conftest.
$ac_objext
22501 if { (ac_try
="$ac_compile"
22502 case "(($ac_try" in
22503 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22504 *) ac_try_echo=$ac_try;;
22506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_compile") 2>conftest.er1
22509 grep -v '^ *+' conftest.er1 >conftest.err
22511 cat conftest.err >&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } && {
22514 test -z "$ac_c_werror_flag" ||
22515 test ! -s conftest.err
22516 } && test -s conftest.$ac_objext; then
22519 echo "$as_me: failed program was:" >&5
22520 sed 's/^/| /' conftest.$ac_ext >&5
22522 ac_lo=`expr '(' $ac_mid ')' + 1`
22525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22528 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22529 '') if test "$ac_cv_type_long_long" = yes; then
22530 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22531 See \`config.log
' for more details." >&5
22532 echo "$as_me: error: cannot compute sizeof (long long)
22533 See \`config.log' for more details.
" >&2;}
22534 { (exit 77); exit 77; }; }
22536 ac_cv_sizeof_long_long=0
22540 cat >conftest.$ac_ext <<_ACEOF
22543 cat confdefs.h >>conftest.$ac_ext
22544 cat >>conftest.$ac_ext <<_ACEOF
22545 /* end confdefs.h. */
22546 $ac_includes_default
22547 typedef long long ac__type_sizeof_;
22548 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22549 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22551 #include <stdlib.h>
22556 FILE *f = fopen ("conftest.val
", "w
");
22559 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22561 long int i = longval ();
22562 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22564 fprintf (f, "%ld
\n", i);
22568 unsigned long int i = ulongval ();
22569 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22571 fprintf (f, "%lu
\n", i);
22573 return ferror (f) || fclose (f) != 0;
22579 rm -f conftest$ac_exeext
22580 if { (ac_try="$ac_link"
22581 case "(($ac_try" in
22582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22583 *) ac_try_echo=$ac_try;;
22585 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22586 (eval "$ac_link") 2>&5
22588 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22589 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22590 { (case "(($ac_try" in
22591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22592 *) ac_try_echo=$ac_try;;
22594 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22595 (eval "$ac_try") 2>&5
22597 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22598 (exit $ac_status); }; }; then
22599 ac_cv_sizeof_long_long=`cat conftest.val`
22601 echo "$as_me: program exited with status
$ac_status" >&5
22602 echo "$as_me: failed program was
:" >&5
22603 sed 's/^/| /' conftest.$ac_ext >&5
22605 ( exit $ac_status )
22606 if test "$ac_cv_type_long_long" = yes; then
22607 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22608 See \
`config.log' for more details." >&5
22609 echo "$as_me: error: cannot compute sizeof (long long)
22610 See \`config.log
' for more details." >&2;}
22611 { (exit 77); exit 77; }; }
22613 ac_cv_sizeof_long_long=0
22616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22620 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22621 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22625 cat >>confdefs.h <<_ACEOF
22626 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22630 if test "$ac_cv_sizeof_long_long" != 0; then
22631 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22635 { echo "$as_me:$LINENO: checking for long long" >&5
22636 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22637 if test "${ac_cv_type_long_long+set}" = set; then
22638 echo $ECHO_N "(cached) $ECHO_C" >&6
22640 cat >conftest.$ac_ext <<_ACEOF
22643 cat confdefs.h >>conftest.$ac_ext
22644 cat >>conftest.$ac_ext <<_ACEOF
22645 /* end confdefs.h. */
22646 $ac_includes_default
22647 typedef long long ac__type_new_;
22651 if ((ac__type_new_ *) 0)
22653 if (sizeof (ac__type_new_))
22659 rm -f conftest.$ac_objext
22660 if { (ac_try="$ac_compile"
22661 case "(($ac_try" in
22662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22663 *) ac_try_echo=$ac_try;;
22665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22666 (eval "$ac_compile") 2>conftest.er1
22668 grep -v '^
*+' conftest.er1 >conftest.err
22670 cat conftest.err >&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); } && {
22673 test -z "$ac_c_werror_flag" ||
22674 test ! -s conftest.err
22675 } && test -s conftest.$ac_objext; then
22676 ac_cv_type_long_long=yes
22678 echo "$as_me: failed program was:" >&5
22679 sed 's
/^
/| /' conftest.$ac_ext >&5
22681 ac_cv_type_long_long=no
22684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22686 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22687 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22689 # The cast to long int works around a bug in the HP C Compiler
22690 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22691 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22692 # This bug is HP SR number 8606223364.
22693 { echo "$as_me:$LINENO: checking size of long long" >&5
22694 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22695 if test "${ac_cv_sizeof_long_long+set}" = set; then
22696 echo $ECHO_N "(cached) $ECHO_C" >&6
22698 if test "$cross_compiling" = yes; then
22699 # Depending upon the size, compute the lo and hi bounds.
22700 cat >conftest.
$ac_ext <<_ACEOF
22703 cat confdefs.h
>>conftest.
$ac_ext
22704 cat >>conftest.
$ac_ext <<_ACEOF
22705 /* end confdefs.h. */
22706 $ac_includes_default
22707 typedef long long ac__type_sizeof_;
22711 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22718 rm -f conftest.
$ac_objext
22719 if { (ac_try
="$ac_compile"
22720 case "(($ac_try" in
22721 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22722 *) ac_try_echo=$ac_try;;
22724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22725 (eval "$ac_compile") 2>conftest.er1
22727 grep -v '^ *+' conftest.er1 >conftest.err
22729 cat conftest.err >&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); } && {
22732 test -z "$ac_c_werror_flag" ||
22733 test ! -s conftest.err
22734 } && test -s conftest.$ac_objext; then
22737 cat >conftest.$ac_ext <<_ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22743 $ac_includes_default
22744 typedef long long ac__type_sizeof_;
22748 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22755 rm -f conftest.$ac_objext
22756 if { (ac_try="$ac_compile"
22757 case "(($ac_try" in
22758 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22759 *) ac_try_echo
=$ac_try;;
22761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22762 (eval "$ac_compile") 2>conftest.er1
22764 grep -v '^ *+' conftest.er1
>conftest.err
22766 cat conftest.err
>&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); } && {
22769 test -z "$ac_c_werror_flag" ||
22770 test ! -s conftest.err
22771 } && test -s conftest.
$ac_objext; then
22772 ac_hi
=$ac_mid; break
22774 echo "$as_me: failed program was:" >&5
22775 sed 's/^/| /' conftest.
$ac_ext >&5
22777 ac_lo
=`expr $ac_mid + 1`
22778 if test $ac_lo -le $ac_mid; then
22782 ac_mid
=`expr 2 '*' $ac_mid + 1`
22785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22788 echo "$as_me: failed program was:" >&5
22789 sed 's/^/| /' conftest.
$ac_ext >&5
22791 cat >conftest.
$ac_ext <<_ACEOF
22794 cat confdefs.h
>>conftest.
$ac_ext
22795 cat >>conftest.
$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797 $ac_includes_default
22798 typedef long long ac__type_sizeof_;
22802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22809 rm -f conftest.
$ac_objext
22810 if { (ac_try
="$ac_compile"
22811 case "(($ac_try" in
22812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22813 *) ac_try_echo=$ac_try;;
22815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22816 (eval "$ac_compile") 2>conftest.er1
22818 grep -v '^ *+' conftest.er1 >conftest.err
22820 cat conftest.err >&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); } && {
22823 test -z "$ac_c_werror_flag" ||
22824 test ! -s conftest.err
22825 } && test -s conftest.$ac_objext; then
22828 cat >conftest.$ac_ext <<_ACEOF
22831 cat confdefs.h >>conftest.$ac_ext
22832 cat >>conftest.$ac_ext <<_ACEOF
22833 /* end confdefs.h. */
22834 $ac_includes_default
22835 typedef long long ac__type_sizeof_;
22839 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22846 rm -f conftest.$ac_objext
22847 if { (ac_try="$ac_compile"
22848 case "(($ac_try" in
22849 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22850 *) ac_try_echo
=$ac_try;;
22852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22853 (eval "$ac_compile") 2>conftest.er1
22855 grep -v '^ *+' conftest.er1
>conftest.err
22857 cat conftest.err
>&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } && {
22860 test -z "$ac_c_werror_flag" ||
22861 test ! -s conftest.err
22862 } && test -s conftest.
$ac_objext; then
22863 ac_lo
=$ac_mid; break
22865 echo "$as_me: failed program was:" >&5
22866 sed 's/^/| /' conftest.
$ac_ext >&5
22868 ac_hi
=`expr '(' $ac_mid ')' - 1`
22869 if test $ac_mid -le $ac_hi; then
22873 ac_mid
=`expr 2 '*' $ac_mid`
22876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22879 echo "$as_me: failed program was:" >&5
22880 sed 's/^/| /' conftest.
$ac_ext >&5
22885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22889 # Binary search between lo and hi bounds.
22890 while test "x$ac_lo" != "x$ac_hi"; do
22891 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22892 cat >conftest.
$ac_ext <<_ACEOF
22895 cat confdefs.h
>>conftest.
$ac_ext
22896 cat >>conftest.
$ac_ext <<_ACEOF
22897 /* end confdefs.h. */
22898 $ac_includes_default
22899 typedef long long ac__type_sizeof_;
22903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22910 rm -f conftest.
$ac_objext
22911 if { (ac_try
="$ac_compile"
22912 case "(($ac_try" in
22913 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22914 *) ac_try_echo=$ac_try;;
22916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22917 (eval "$ac_compile") 2>conftest.er1
22919 grep -v '^ *+' conftest.er1 >conftest.err
22921 cat conftest.err >&5
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); } && {
22924 test -z "$ac_c_werror_flag" ||
22925 test ! -s conftest.err
22926 } && test -s conftest.$ac_objext; then
22929 echo "$as_me: failed program was:" >&5
22930 sed 's/^/| /' conftest.$ac_ext >&5
22932 ac_lo=`expr '(' $ac_mid ')' + 1`
22935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22938 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22939 '') if test "$ac_cv_type_long_long" = yes; then
22940 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22941 See \`config.log
' for more details." >&5
22942 echo "$as_me: error: cannot compute sizeof (long long)
22943 See \`config.log' for more details.
" >&2;}
22944 { (exit 77); exit 77; }; }
22946 ac_cv_sizeof_long_long=0
22950 cat >conftest.$ac_ext <<_ACEOF
22953 cat confdefs.h >>conftest.$ac_ext
22954 cat >>conftest.$ac_ext <<_ACEOF
22955 /* end confdefs.h. */
22956 $ac_includes_default
22957 typedef long long ac__type_sizeof_;
22958 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22959 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22961 #include <stdlib.h>
22966 FILE *f = fopen ("conftest.val
", "w
");
22969 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22971 long int i = longval ();
22972 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22974 fprintf (f, "%ld
\n", i);
22978 unsigned long int i = ulongval ();
22979 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22981 fprintf (f, "%lu
\n", i);
22983 return ferror (f) || fclose (f) != 0;
22989 rm -f conftest$ac_exeext
22990 if { (ac_try="$ac_link"
22991 case "(($ac_try" in
22992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22993 *) ac_try_echo=$ac_try;;
22995 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22996 (eval "$ac_link") 2>&5
22998 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22999 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23000 { (case "(($ac_try" in
23001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23002 *) ac_try_echo=$ac_try;;
23004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23005 (eval "$ac_try") 2>&5
23007 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23008 (exit $ac_status); }; }; then
23009 ac_cv_sizeof_long_long=`cat conftest.val`
23011 echo "$as_me: program exited with status
$ac_status" >&5
23012 echo "$as_me: failed program was
:" >&5
23013 sed 's/^/| /' conftest.$ac_ext >&5
23015 ( exit $ac_status )
23016 if test "$ac_cv_type_long_long" = yes; then
23017 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23018 See \
`config.log' for more details." >&5
23019 echo "$as_me: error: cannot compute sizeof (long long)
23020 See \`config.log
' for more details." >&2;}
23021 { (exit 77); exit 77; }; }
23023 ac_cv_sizeof_long_long=0
23026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23030 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23031 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23035 cat >>confdefs.h <<_ACEOF
23036 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23042 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23043 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23044 if test "${ac_cv_type_wchar_t+set}" = set; then
23045 echo $ECHO_N "(cached) $ECHO_C" >&6
23047 cat >conftest.$ac_ext <<_ACEOF
23050 cat confdefs.h >>conftest.$ac_ext
23051 cat >>conftest.$ac_ext <<_ACEOF
23052 /* end confdefs.h. */
23054 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23055 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23056 # error "fake wchar_t"
23058 #ifdef HAVE_WCHAR_H
23060 # include <stddef.h>
23062 # include <wchar.h>
23064 #ifdef HAVE_STDLIB_H
23065 # include <stdlib.h>
23071 typedef wchar_t ac__type_new_
;
23075 if ((ac__type_new_
*) 0)
23077 if (sizeof
(ac__type_new_
))
23083 rm -f conftest.
$ac_objext
23084 if { (ac_try
="$ac_compile"
23085 case "(($ac_try" in
23086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23087 *) ac_try_echo=$ac_try;;
23089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23090 (eval "$ac_compile") 2>conftest.er1
23092 grep -v '^ *+' conftest.er1 >conftest.err
23094 cat conftest.err >&5
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); } && {
23097 test -z "$ac_c_werror_flag" ||
23098 test ! -s conftest.err
23099 } && test -s conftest.$ac_objext; then
23100 ac_cv_type_wchar_t=yes
23102 echo "$as_me: failed program was:" >&5
23103 sed 's/^/| /' conftest.$ac_ext >&5
23105 ac_cv_type_wchar_t=no
23108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23110 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23111 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
23113 # The cast to long int works around a bug in the HP C Compiler
23114 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23115 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
23116 # This bug is HP SR number 8606223364.
23117 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
23118 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
23119 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23120 echo $ECHO_N "(cached) $ECHO_C" >&6
23122 if test "$cross_compiling" = yes; then
23123 # Depending upon the size, compute the lo and hi bounds.
23124 cat >conftest.$ac_ext <<_ACEOF
23127 cat confdefs.h >>conftest.$ac_ext
23128 cat >>conftest.$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23131 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23132 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23133 # error "fake wchar_t"
23135 #ifdef HAVE_WCHAR_H
23137 # include <stddef.h>
23139 # include <wchar.h>
23141 #ifdef HAVE_STDLIB_H
23142 # include <stdlib.h>
23148 typedef wchar_t ac__type_sizeof_
;
23152 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
23159 rm -f conftest.
$ac_objext
23160 if { (ac_try
="$ac_compile"
23161 case "(($ac_try" in
23162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23163 *) ac_try_echo=$ac_try;;
23165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23166 (eval "$ac_compile") 2>conftest.er1
23168 grep -v '^ *+' conftest.er1 >conftest.err
23170 cat conftest.err >&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); } && {
23173 test -z "$ac_c_werror_flag" ||
23174 test ! -s conftest.err
23175 } && test -s conftest.$ac_objext; then
23178 cat >conftest.$ac_ext <<_ACEOF
23181 cat confdefs.h >>conftest.$ac_ext
23182 cat >>conftest.$ac_ext <<_ACEOF
23183 /* end confdefs.h. */
23185 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23186 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23187 # error "fake wchar_t"
23189 #ifdef HAVE_WCHAR_H
23191 # include <stddef.h>
23193 # include <wchar.h>
23195 #ifdef HAVE_STDLIB_H
23196 # include <stdlib.h>
23202 typedef wchar_t ac__type_sizeof_;
23206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23213 rm -f conftest.$ac_objext
23214 if { (ac_try="$ac_compile"
23215 case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23217 *) ac_try_echo
=$ac_try;;
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_compile") 2>conftest.er1
23222 grep -v '^ *+' conftest.er1
>conftest.err
23224 cat conftest.err
>&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); } && {
23227 test -z "$ac_c_werror_flag" ||
23228 test ! -s conftest.err
23229 } && test -s conftest.
$ac_objext; then
23230 ac_hi
=$ac_mid; break
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.
$ac_ext >&5
23235 ac_lo
=`expr $ac_mid + 1`
23236 if test $ac_lo -le $ac_mid; then
23240 ac_mid
=`expr 2 '*' $ac_mid + 1`
23243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23246 echo "$as_me: failed program was:" >&5
23247 sed 's/^/| /' conftest.
$ac_ext >&5
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_;
23277 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23284 rm -f conftest.
$ac_objext
23285 if { (ac_try
="$ac_compile"
23286 case "(($ac_try" in
23287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23288 *) ac_try_echo=$ac_try;;
23290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23291 (eval "$ac_compile") 2>conftest.er1
23293 grep -v '^ *+' conftest.er1 >conftest.err
23295 cat conftest.err >&5
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); } && {
23298 test -z "$ac_c_werror_flag" ||
23299 test ! -s conftest.err
23300 } && test -s conftest.$ac_objext; then
23303 cat >conftest.$ac_ext <<_ACEOF
23306 cat confdefs.h >>conftest.$ac_ext
23307 cat >>conftest.$ac_ext <<_ACEOF
23308 /* end confdefs.h. */
23310 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23311 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23312 # error "fake wchar_t"
23314 #ifdef HAVE_WCHAR_H
23316 # include <stddef.h>
23318 # include <wchar.h>
23320 #ifdef HAVE_STDLIB_H
23321 # include <stdlib.h>
23327 typedef wchar_t ac__type_sizeof_;
23331 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23338 rm -f conftest.$ac_objext
23339 if { (ac_try="$ac_compile"
23340 case "(($ac_try" in
23341 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23342 *) ac_try_echo
=$ac_try;;
23344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23345 (eval "$ac_compile") 2>conftest.er1
23347 grep -v '^ *+' conftest.er1
>conftest.err
23349 cat conftest.err
>&5
23350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23351 (exit $ac_status); } && {
23352 test -z "$ac_c_werror_flag" ||
23353 test ! -s conftest.err
23354 } && test -s conftest.
$ac_objext; then
23355 ac_lo
=$ac_mid; break
23357 echo "$as_me: failed program was:" >&5
23358 sed 's/^/| /' conftest.
$ac_ext >&5
23360 ac_hi
=`expr '(' $ac_mid ')' - 1`
23361 if test $ac_mid -le $ac_hi; then
23365 ac_mid
=`expr 2 '*' $ac_mid`
23368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23371 echo "$as_me: failed program was:" >&5
23372 sed 's/^/| /' conftest.
$ac_ext >&5
23377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23381 # Binary search between lo and hi bounds.
23382 while test "x$ac_lo" != "x$ac_hi"; do
23383 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23384 cat >conftest.
$ac_ext <<_ACEOF
23387 cat confdefs.h
>>conftest.
$ac_ext
23388 cat >>conftest.
$ac_ext <<_ACEOF
23389 /* end confdefs.h. */
23391 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23392 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23393 # error "fake wchar_t"
23395 #ifdef HAVE_WCHAR_H
23397 # include <stddef.h>
23399 # include <wchar.h>
23401 #ifdef HAVE_STDLIB_H
23402 # include <stdlib.h>
23408 typedef wchar_t ac__type_sizeof_;
23412 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23419 rm -f conftest.
$ac_objext
23420 if { (ac_try
="$ac_compile"
23421 case "(($ac_try" in
23422 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23423 *) ac_try_echo=$ac_try;;
23425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23426 (eval "$ac_compile") 2>conftest.er1
23428 grep -v '^ *+' conftest.er1 >conftest.err
23430 cat conftest.err >&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); } && {
23433 test -z "$ac_c_werror_flag" ||
23434 test ! -s conftest.err
23435 } && test -s conftest.$ac_objext; then
23438 echo "$as_me: failed program was:" >&5
23439 sed 's/^/| /' conftest.$ac_ext >&5
23441 ac_lo=`expr '(' $ac_mid ')' + 1`
23444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23447 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23448 '') if test "$ac_cv_type_wchar_t" = yes; then
23449 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23450 See \`config.log
' for more details." >&5
23451 echo "$as_me: error: cannot compute sizeof (wchar_t)
23452 See \`config.log' for more details.
" >&2;}
23453 { (exit 77); exit 77; }; }
23455 ac_cv_sizeof_wchar_t=0
23459 cat >conftest.$ac_ext <<_ACEOF
23462 cat confdefs.h >>conftest.$ac_ext
23463 cat >>conftest.$ac_ext <<_ACEOF
23464 /* end confdefs.h. */
23466 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23467 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23468 # error "fake wchar_t
"
23470 #ifdef HAVE_WCHAR_H
23472 # include <stddef.h>
23474 # include <wchar.h>
23476 #ifdef HAVE_STDLIB_H
23477 # include <stdlib.h>
23483 typedef wchar_t ac__type_sizeof_;
23484 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23485 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23487 #include <stdlib.h>
23492 FILE *f = fopen ("conftest.val
", "w
");
23495 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23497 long int i = longval ();
23498 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23500 fprintf (f, "%ld
\n", i);
23504 unsigned long int i = ulongval ();
23505 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23507 fprintf (f, "%lu
\n", i);
23509 return ferror (f) || fclose (f) != 0;
23515 rm -f conftest$ac_exeext
23516 if { (ac_try="$ac_link"
23517 case "(($ac_try" in
23518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23519 *) ac_try_echo=$ac_try;;
23521 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23522 (eval "$ac_link") 2>&5
23524 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23526 { (case "(($ac_try" in
23527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23528 *) ac_try_echo=$ac_try;;
23530 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23531 (eval "$ac_try") 2>&5
23533 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23534 (exit $ac_status); }; }; then
23535 ac_cv_sizeof_wchar_t=`cat conftest.val`
23537 echo "$as_me: program exited with status
$ac_status" >&5
23538 echo "$as_me: failed program was
:" >&5
23539 sed 's/^/| /' conftest.$ac_ext >&5
23541 ( exit $ac_status )
23542 if test "$ac_cv_type_wchar_t" = yes; then
23543 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23544 See \
`config.log' for more details." >&5
23545 echo "$as_me: error: cannot compute sizeof (wchar_t)
23546 See \`config.log
' for more details." >&2;}
23547 { (exit 77); exit 77; }; }
23549 ac_cv_sizeof_wchar_t=0
23552 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23556 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23557 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23561 cat >>confdefs.h <<_ACEOF
23562 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23566 if test "$ac_cv_sizeof_wchar_t" != 0; then
23572 { echo "$as_me:$LINENO: checking for va_copy" >&5
23573 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23574 if test "${wx_cv_func_va_copy+set}" = set; then
23575 echo $ECHO_N "(cached) $ECHO_C" >&6
23579 ac_cpp='$CXXCPP $CPPFLAGS'
23580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23581 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23584 cat >conftest.$ac_ext <<_ACEOF
23586 #include <stdarg.h>
23587 void foo(char *f, ...)
23601 rm -f conftest.$ac_objext conftest$ac_exeext
23602 if { (ac_try="$ac_link"
23603 case "(($ac_try" in
23604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23605 *) ac_try_echo=$ac_try;;
23607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23608 (eval "$ac_link") 2>conftest.er1
23610 grep -v '^
*+' conftest.er1 >conftest.err
23612 cat conftest.err >&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } && {
23615 test -z "$ac_cxx_werror_flag" ||
23616 test ! -s conftest.err
23617 } && test -s conftest$ac_exeext &&
23618 $as_test_x conftest$ac_exeext; then
23619 wx_cv_func_va_copy=yes
23621 echo "$as_me: failed program was:" >&5
23622 sed 's
/^
/| /' conftest.$ac_ext >&5
23624 wx_cv_func_va_copy=no
23628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23629 conftest$ac_exeext conftest.$ac_ext
23631 ac_cpp='$CPP $CPPFLAGS'
23632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23633 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23639 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23640 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23642 if test $wx_cv_func_va_copy = "yes"; then
23643 cat >>confdefs.h <<\_ACEOF
23644 #define HAVE_VA_COPY 1
23648 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23649 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23650 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23651 echo $ECHO_N "(cached) $ECHO_C" >&6
23654 if test "$cross_compiling" = yes; then
23655 wx_cv_type_va_list_lvalue=yes
23658 cat >conftest.$ac_ext <<_ACEOF
23660 #include <stdarg.h>
23661 int foo(char *f, ...)
23666 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23674 return foo("hi", 17);
23677 rm -f conftest$ac_exeext
23678 if { (ac_try="$ac_link"
23679 case "(($ac_try" in
23680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23681 *) ac_try_echo=$ac_try;;
23683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23684 (eval "$ac_link") 2>&5
23686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23687 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23688 { (case "(($ac_try" in
23689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23690 *) ac_try_echo=$ac_try;;
23692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23693 (eval "$ac_try") 2>&5
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); }; }; then
23697 wx_cv_type_va_list_lvalue=yes
23699 echo "$as_me: program exited with status $ac_status" >&5
23700 echo "$as_me: failed program was:" >&5
23701 sed 's
/^
/| /' conftest.$ac_ext >&5
23703 ( exit $ac_status )
23704 wx_cv_type_va_list_lvalue=no
23706 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23713 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23714 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23716 if test $wx_cv_type_va_list_lvalue != "yes"; then
23717 cat >>confdefs.h <<\_ACEOF
23718 #define VA_LIST_IS_ARRAY 1
23724 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23726 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23727 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23728 if test "${wx_cv_have_variadic_macros+set}" = set; then
23729 echo $ECHO_N "(cached) $ECHO_C" >&6
23733 ac_cpp='$CXXCPP $CPPFLAGS'
23734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23735 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23738 cat >conftest.$ac_ext <<_ACEOF
23741 cat confdefs.h >>conftest.$ac_ext
23742 cat >>conftest.$ac_ext <<_ACEOF
23743 /* end confdefs.h. */
23746 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23752 test("%s %d %p", "test", 1, 0);
23759 rm -f conftest.$ac_objext
23760 if { (ac_try="$ac_compile"
23761 case "(($ac_try" in
23762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23763 *) ac_try_echo=$ac_try;;
23765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23766 (eval "$ac_compile") 2>conftest.er1
23768 grep -v '^
*+' conftest.er1 >conftest.err
23770 cat conftest.err >&5
23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); } && {
23773 test -z "$ac_cxx_werror_flag" ||
23774 test ! -s conftest.err
23775 } && test -s conftest.$ac_objext; then
23776 wx_cv_have_variadic_macros=yes
23778 echo "$as_me: failed program was:" >&5
23779 sed 's
/^
/| /' conftest.$ac_ext >&5
23781 wx_cv_have_variadic_macros=no
23785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23787 ac_cpp='$CPP $CPPFLAGS'
23788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23789 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23795 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23796 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23798 if test $wx_cv_have_variadic_macros = "yes"; then
23799 cat >>confdefs.h <<\_ACEOF
23800 #define HAVE_VARIADIC_MACROS 1
23807 LARGEFILE_CPPFLAGS=
23808 # Check whether --enable-largefile was given.
23809 if test "${enable_largefile+set}" = set; then
23810 enableval=$enable_largefile;
23813 if test "$enable_largefile" != no; then
23816 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23817 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23818 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23819 echo $ECHO_N "(cached) $ECHO_C" >&6
23822 cat >conftest.$ac_ext <<_ACEOF
23825 cat confdefs.h >>conftest.$ac_ext
23826 cat >>conftest.$ac_ext <<_ACEOF
23827 /* end confdefs.h. */
23828 #define _FILE_OFFSET_BITS 64
23829 #include <sys/types.h>
23834 unsigned int field: sizeof(off_t) == 8;
23841 rm -f conftest.$ac_objext
23842 if { (ac_try="$ac_compile"
23843 case "(($ac_try" in
23844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23845 *) ac_try_echo=$ac_try;;
23847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23848 (eval "$ac_compile") 2>conftest.er1
23850 grep -v '^
*+' conftest.er1 >conftest.err
23852 cat conftest.err >&5
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); } && {
23855 test -z "$ac_c_werror_flag" ||
23856 test ! -s conftest.err
23857 } && test -s conftest.$ac_objext; then
23858 ac_cv_sys_file_offset_bits=64
23860 echo "$as_me: failed program was:" >&5
23861 sed 's
/^
/| /' conftest.$ac_ext >&5
23863 ac_cv_sys_file_offset_bits=no
23866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23870 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23871 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23873 if test "$ac_cv_sys_file_offset_bits" != no; then
23875 cat >>confdefs.h <<_ACEOF
23876 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23881 if test "x$wx_largefile" != "xyes"; then
23883 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23884 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23885 if test "${ac_cv_sys_large_files+set}" = set; then
23886 echo $ECHO_N "(cached) $ECHO_C" >&6
23889 cat >conftest.$ac_ext <<_ACEOF
23892 cat confdefs.h >>conftest.$ac_ext
23893 cat >>conftest.$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23895 #define _LARGE_FILES 1
23896 #include <sys/types.h>
23901 unsigned int field: sizeof(off_t) == 8;
23908 rm -f conftest.$ac_objext
23909 if { (ac_try="$ac_compile"
23910 case "(($ac_try" in
23911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23912 *) ac_try_echo=$ac_try;;
23914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23915 (eval "$ac_compile") 2>conftest.er1
23917 grep -v '^
*+' conftest.er1 >conftest.err
23919 cat conftest.err >&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); } && {
23922 test -z "$ac_c_werror_flag" ||
23923 test ! -s conftest.err
23924 } && test -s conftest.$ac_objext; then
23925 ac_cv_sys_large_files=1
23927 echo "$as_me: failed program was:" >&5
23928 sed 's
/^
/| /' conftest.$ac_ext >&5
23930 ac_cv_sys_large_files=no
23933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23937 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23938 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23940 if test "$ac_cv_sys_large_files" != no; then
23942 cat >>confdefs.h <<_ACEOF
23943 #define _LARGE_FILES $ac_cv_sys_large_files
23950 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23951 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23952 if test "x$wx_largefile" = "xyes"; then
23953 cat >>confdefs.h <<\_ACEOF
23954 #define HAVE_LARGEFILE_SUPPORT 1
23958 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23959 echo "${ECHO_T}$wx_largefile" >&6; }
23962 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23963 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23964 elif test "$ac_cv_sys_large_files" = 1; then
23965 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23968 if test -n "$LARGEFILE_CPPFLAGS"; then
23969 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23971 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23972 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23973 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23974 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23975 echo $ECHO_N "(cached) $ECHO_C" >&6
23979 ac_cpp='$CXXCPP $CPPFLAGS'
23980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23981 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23984 cat >conftest.$ac_ext <<_ACEOF
23987 cat confdefs.h >>conftest.$ac_ext
23988 cat >>conftest.$ac_ext <<_ACEOF
23989 /* end confdefs.h. */
23995 #ifndef __STDC_EXT__
24003 rm -f conftest.$ac_objext
24004 if { (ac_try="$ac_compile"
24005 case "(($ac_try" in
24006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24007 *) ac_try_echo=$ac_try;;
24009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24010 (eval "$ac_compile") 2>conftest.er1
24012 grep -v '^
*+' conftest.er1 >conftest.err
24014 cat conftest.err >&5
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); } && {
24017 test -z "$ac_cxx_werror_flag" ||
24018 test ! -s conftest.err
24019 } && test -s conftest.$ac_objext; then
24020 wx_cv_STDC_EXT_required=no
24022 echo "$as_me: failed program was:" >&5
24023 sed 's
/^
/| /' conftest.$ac_ext >&5
24025 wx_cv_STDC_EXT_required=yes
24029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24031 ac_cpp='$CPP $CPPFLAGS'
24032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24033 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24039 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24040 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24041 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24042 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24048 ac_cpp='$CXXCPP $CPPFLAGS'
24049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24050 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24053 old_CPPFLAGS="$CPPFLAGS"
24054 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24055 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24056 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24057 if test "${ac_cv_sys_largefile_source+set}" = set; then
24058 echo $ECHO_N "(cached) $ECHO_C" >&6
24061 cat >conftest.$ac_ext <<_ACEOF
24064 cat confdefs.h >>conftest.$ac_ext
24065 cat >>conftest.$ac_ext <<_ACEOF
24066 /* end confdefs.h. */
24067 #include <sys/types.h> /* for off_t */
24072 int (*fp) (FILE *, off_t, int) = fseeko;
24073 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24078 rm -f conftest.$ac_objext conftest$ac_exeext
24079 if { (ac_try="$ac_link"
24080 case "(($ac_try" in
24081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24082 *) ac_try_echo=$ac_try;;
24084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24085 (eval "$ac_link") 2>conftest.er1
24087 grep -v '^
*+' conftest.er1 >conftest.err
24089 cat conftest.err >&5
24090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091 (exit $ac_status); } && {
24092 test -z "$ac_cxx_werror_flag" ||
24093 test ! -s conftest.err
24094 } && test -s conftest$ac_exeext &&
24095 $as_test_x conftest$ac_exeext; then
24096 ac_cv_sys_largefile_source=no; break
24098 echo "$as_me: failed program was:" >&5
24099 sed 's
/^
/| /' conftest.$ac_ext >&5
24104 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24105 conftest$ac_exeext conftest.$ac_ext
24106 cat >conftest.$ac_ext <<_ACEOF
24109 cat confdefs.h >>conftest.$ac_ext
24110 cat >>conftest.$ac_ext <<_ACEOF
24111 /* end confdefs.h. */
24112 #define _LARGEFILE_SOURCE 1
24113 #include <sys/types.h> /* for off_t */
24118 int (*fp) (FILE *, off_t, int) = fseeko;
24119 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24124 rm -f conftest.$ac_objext conftest$ac_exeext
24125 if { (ac_try="$ac_link"
24126 case "(($ac_try" in
24127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24128 *) ac_try_echo=$ac_try;;
24130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24131 (eval "$ac_link") 2>conftest.er1
24133 grep -v '^
*+' conftest.er1 >conftest.err
24135 cat conftest.err >&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); } && {
24138 test -z "$ac_cxx_werror_flag" ||
24139 test ! -s conftest.err
24140 } && test -s conftest$ac_exeext &&
24141 $as_test_x conftest$ac_exeext; then
24142 ac_cv_sys_largefile_source=1; break
24144 echo "$as_me: failed program was:" >&5
24145 sed 's
/^
/| /' conftest.$ac_ext >&5
24150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24151 conftest$ac_exeext conftest.$ac_ext
24152 ac_cv_sys_largefile_source=unknown
24156 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24157 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
24158 case $ac_cv_sys_largefile_source in #(
24161 cat >>confdefs.h <<_ACEOF
24162 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24168 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24169 # in glibc 2.1.3, but that breaks too many other things.
24170 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24171 if test $ac_cv_sys_largefile_source != unknown; then
24173 cat >>confdefs.h <<\_ACEOF
24174 #define HAVE_FSEEKO 1
24179 CPPFLAGS="$old_CPPFLAGS"
24181 ac_cpp='$CPP $CPPFLAGS'
24182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24183 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24186 if test "$ac_cv_sys_largefile_source" != no; then
24187 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24190 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24191 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
24192 if test "${ac_cv_c_bigendian+set}" = set; then
24193 echo $ECHO_N "(cached) $ECHO_C" >&6
24195 ac_cv_c_bigendian=unknown
24196 # See if sys/param.h defines the BYTE_ORDER macro.
24197 cat >conftest.$ac_ext <<_ACEOF
24200 cat confdefs.h >>conftest.$ac_ext
24201 cat >>conftest.$ac_ext <<_ACEOF
24202 /* end confdefs.h. */
24203 #include <sys/types.h>
24204 #include <sys/param.h>
24209 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24210 bogus endian macros
24216 rm -f conftest.$ac_objext
24217 if { (ac_try="$ac_compile"
24218 case "(($ac_try" in
24219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24220 *) ac_try_echo=$ac_try;;
24222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24223 (eval "$ac_compile") 2>conftest.er1
24225 grep -v '^
*+' conftest.er1 >conftest.err
24227 cat conftest.err >&5
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); } && {
24230 test -z "$ac_c_werror_flag" ||
24231 test ! -s conftest.err
24232 } && test -s conftest.$ac_objext; then
24233 # It does; now see whether it defined to BIG_ENDIAN or not.
24234 cat >conftest.$ac_ext <<_ACEOF
24237 cat confdefs.h >>conftest.$ac_ext
24238 cat >>conftest.$ac_ext <<_ACEOF
24239 /* end confdefs.h. */
24240 #include <sys/types.h>
24241 #include <sys/param.h>
24246 #if BYTE_ORDER != BIG_ENDIAN
24253 rm -f conftest.$ac_objext
24254 if { (ac_try="$ac_compile"
24255 case "(($ac_try" in
24256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24257 *) ac_try_echo=$ac_try;;
24259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24260 (eval "$ac_compile") 2>conftest.er1
24262 grep -v '^
*+' conftest.er1 >conftest.err
24264 cat conftest.err >&5
24265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266 (exit $ac_status); } && {
24267 test -z "$ac_c_werror_flag" ||
24268 test ! -s conftest.err
24269 } && test -s conftest.$ac_objext; then
24270 ac_cv_c_bigendian=yes
24272 echo "$as_me: failed program was:" >&5
24273 sed 's
/^
/| /' conftest.$ac_ext >&5
24275 ac_cv_c_bigendian=no
24278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24280 echo "$as_me: failed program was:" >&5
24281 sed 's
/^
/| /' conftest.$ac_ext >&5
24286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24287 if test $ac_cv_c_bigendian = unknown; then
24288 if test "$cross_compiling" = yes; then
24289 ac_cv_c_bigendian=unknown
24291 cat >conftest.$ac_ext <<_ACEOF
24294 cat confdefs.h >>conftest.$ac_ext
24295 cat >>conftest.$ac_ext <<_ACEOF
24296 /* end confdefs.h. */
24298 /* Are we little or big endian? From Harbison&Steele. */
24302 char c[sizeof (long)];
24305 exit (u.c[sizeof (long) - 1] == 1);
24308 rm -f conftest$ac_exeext
24309 if { (ac_try="$ac_link"
24310 case "(($ac_try" in
24311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24312 *) ac_try_echo=$ac_try;;
24314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24315 (eval "$ac_link") 2>&5
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24319 { (case "(($ac_try" in
24320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24321 *) ac_try_echo=$ac_try;;
24323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24324 (eval "$ac_try") 2>&5
24326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327 (exit $ac_status); }; }; then
24328 ac_cv_c_bigendian=no
24330 echo "$as_me: program exited with status $ac_status" >&5
24331 echo "$as_me: failed program was:" >&5
24332 sed 's
/^
/| /' conftest.$ac_ext >&5
24334 ( exit $ac_status )
24335 ac_cv_c_bigendian=yes
24337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24343 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24344 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24345 if test $ac_cv_c_bigendian = unknown; then
24346 { 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
24347 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;}
24349 if test $ac_cv_c_bigendian = yes; then
24350 cat >>confdefs.h <<\_ACEOF
24351 #define WORDS_BIGENDIAN 1
24360 ac_cpp='$CXXCPP $CPPFLAGS'
24361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24362 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24367 for ac_header in iostream
24369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24370 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24372 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24373 echo $ECHO_N "(cached) $ECHO_C" >&6
24375 cat >conftest.$ac_ext <<_ACEOF
24378 cat confdefs.h >>conftest.$ac_ext
24379 cat >>conftest.$ac_ext <<_ACEOF
24380 /* end confdefs.h. */
24383 #include <$ac_header>
24385 rm -f conftest.$ac_objext
24386 if { (ac_try="$ac_compile"
24387 case "(($ac_try" in
24388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24389 *) ac_try_echo=$ac_try;;
24391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24392 (eval "$ac_compile") 2>conftest.er1
24394 grep -v '^
*+' conftest.er1 >conftest.err
24396 cat conftest.err >&5
24397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398 (exit $ac_status); } && {
24399 test -z "$ac_cxx_werror_flag" ||
24400 test ! -s conftest.err
24401 } && test -s conftest.$ac_objext; then
24402 eval "$as_ac_Header=yes"
24404 echo "$as_me: failed program was:" >&5
24405 sed 's
/^
/| /' conftest.$ac_ext >&5
24407 eval "$as_ac_Header=no"
24410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24412 ac_res=`eval echo '${'$as_ac_Header'}'`
24413 { echo "$as_me:$LINENO: result: $ac_res" >&5
24414 echo "${ECHO_T}$ac_res" >&6; }
24415 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24416 cat >>confdefs.h <<_ACEOF
24417 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24425 if test "$ac_cv_header_iostream" = "yes" ; then
24428 cat >>confdefs.h <<\_ACEOF
24429 #define wxUSE_IOSTREAMH 1
24435 ac_cpp='$CPP $CPPFLAGS'
24436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24437 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24443 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24444 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24445 if test "${wx_cv_explicit+set}" = set; then
24446 echo $ECHO_N "(cached) $ECHO_C" >&6
24451 ac_cpp='$CXXCPP $CPPFLAGS'
24452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24453 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24457 cat >conftest.$ac_ext <<_ACEOF
24460 cat confdefs.h >>conftest.$ac_ext
24461 cat >>conftest.$ac_ext <<_ACEOF
24462 /* end confdefs.h. */
24464 class Foo { public: explicit Foo(int) {} };
24476 rm -f conftest.$ac_objext
24477 if { (ac_try="$ac_compile"
24478 case "(($ac_try" in
24479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24480 *) ac_try_echo=$ac_try;;
24482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24483 (eval "$ac_compile") 2>conftest.er1
24485 grep -v '^
*+' conftest.er1 >conftest.err
24487 cat conftest.err >&5
24488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24489 (exit $ac_status); } && {
24490 test -z "$ac_cxx_werror_flag" ||
24491 test ! -s conftest.err
24492 } && test -s conftest.$ac_objext; then
24494 cat >conftest.$ac_ext <<_ACEOF
24497 cat confdefs.h >>conftest.$ac_ext
24498 cat >>conftest.$ac_ext <<_ACEOF
24499 /* end confdefs.h. */
24501 class Foo { public: explicit Foo(int) {} };
24502 static void TakeFoo(const Foo& foo) { }
24515 rm -f conftest.$ac_objext
24516 if { (ac_try="$ac_compile"
24517 case "(($ac_try" in
24518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24519 *) ac_try_echo=$ac_try;;
24521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24522 (eval "$ac_compile") 2>conftest.er1
24524 grep -v '^
*+' conftest.er1 >conftest.err
24526 cat conftest.err >&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); } && {
24529 test -z "$ac_cxx_werror_flag" ||
24530 test ! -s conftest.err
24531 } && test -s conftest.$ac_objext; then
24534 echo "$as_me: failed program was:" >&5
24535 sed 's
/^
/| /' conftest.$ac_ext >&5
24541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24544 echo "$as_me: failed program was:" >&5
24545 sed 's
/^
/| /' conftest.$ac_ext >&5
24551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24554 ac_cpp='$CPP $CPPFLAGS'
24555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24556 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24561 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24562 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24564 if test "$wx_cv_explicit" = "yes"; then
24565 cat >>confdefs.h <<\_ACEOF
24566 #define HAVE_EXPLICIT 1
24572 if test "x$SUNCXX" = xyes; then
24573 CXXFLAGS="-features=tmplife $CXXFLAGS"
24576 if test "x$SUNCC" = xyes; then
24577 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24580 if test "x$SGICC" = "xyes"; then
24581 CFLAGS="-woff 3970 $CFLAGS"
24583 if test "x$SGICXX" = "xyes"; then
24584 CXXFLAGS="-woff 3970 $CXXFLAGS"
24587 if test "x$HPCC" = "xyes"; then
24588 CFLAGS="+W 2011,2450 $CFLAGS"
24590 if test "x$HPCXX" = "xyes"; then
24591 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24594 if test "x$COMPAQCXX" = "xyes"; then
24595 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24599 ac_cpp='$CXXCPP $CPPFLAGS'
24600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24601 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24605 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24606 if test "$wxUSE_UNICODE" = "yes"; then
24607 std_string="std::wstring"
24608 char_type="wchar_t"
24610 std_string="std::string"
24614 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24615 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24616 if test "${wx_cv_class_stdstring+set}" = set; then
24617 echo $ECHO_N "(cached) $ECHO_C" >&6
24620 cat >conftest.$ac_ext <<_ACEOF
24623 cat confdefs.h >>conftest.$ac_ext
24624 cat >>conftest.$ac_ext <<_ACEOF
24625 /* end confdefs.h. */
24635 rm -f conftest.$ac_objext
24636 if { (ac_try="$ac_compile"
24637 case "(($ac_try" in
24638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24639 *) ac_try_echo=$ac_try;;
24641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24642 (eval "$ac_compile") 2>conftest.er1
24644 grep -v '^
*+' conftest.er1 >conftest.err
24646 cat conftest.err >&5
24647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24648 (exit $ac_status); } && {
24649 test -z "$ac_cxx_werror_flag" ||
24650 test ! -s conftest.err
24651 } && test -s conftest.$ac_objext; then
24652 wx_cv_class_stdstring=yes
24654 echo "$as_me: failed program was:" >&5
24655 sed 's
/^
/| /' conftest.$ac_ext >&5
24657 wx_cv_class_stdstring=no
24661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24665 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24666 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24668 if test "$wx_cv_class_stdstring" = yes; then
24669 if test "$wxUSE_UNICODE" = "yes"; then
24670 cat >>confdefs.h <<\_ACEOF
24671 #define HAVE_STD_WSTRING 1
24676 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24677 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24678 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24679 echo $ECHO_N "(cached) $ECHO_C" >&6
24682 cat >conftest.$ac_ext <<_ACEOF
24685 cat confdefs.h >>conftest.$ac_ext
24686 cat >>conftest.$ac_ext <<_ACEOF
24687 /* end confdefs.h. */
24689 #ifdef HAVE_WCHAR_H
24691 # include <stddef.h>
24693 # include <wchar.h>
24695 #ifdef HAVE_STDLIB_H
24696 # include <stdlib.h>
24704 std::basic_string<$char_type> foo;
24705 const $char_type* dummy = foo.c_str();
24710 rm -f conftest.$ac_objext
24711 if { (ac_try="$ac_compile"
24712 case "(($ac_try" in
24713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24714 *) ac_try_echo=$ac_try;;
24716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24717 (eval "$ac_compile") 2>conftest.er1
24719 grep -v '^
*+' conftest.er1 >conftest.err
24721 cat conftest.err >&5
24722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24723 (exit $ac_status); } && {
24724 test -z "$ac_cxx_werror_flag" ||
24725 test ! -s conftest.err
24726 } && test -s conftest.$ac_objext; then
24727 wx_cv_class_stdbasicstring=yes
24729 echo "$as_me: failed program was:" >&5
24730 sed 's
/^
/| /' conftest.$ac_ext >&5
24732 wx_cv_class_stdbasicstring=no
24736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24740 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24741 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24743 if test "$wx_cv_class_stdbasicstring" != yes; then
24744 if test "$wxUSE_STL" = "yes"; then
24745 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24746 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24747 { (exit 1); exit 1; }; }
24748 elif test "$wxUSE_STD_STRING" = "yes"; then
24749 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24750 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24751 { (exit 1); exit 1; }; }
24753 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24754 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24755 wxUSE_STD_STRING=no
24761 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24762 { echo "$as_me:$LINENO: checking for std::istream" >&5
24763 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24764 if test "${ac_cv_type_std__istream+set}" = set; then
24765 echo $ECHO_N "(cached) $ECHO_C" >&6
24767 cat >conftest.$ac_ext <<_ACEOF
24770 cat confdefs.h >>conftest.$ac_ext
24771 cat >>conftest.$ac_ext <<_ACEOF
24772 /* end confdefs.h. */
24773 #include <iostream>
24775 typedef std::istream ac__type_new_;
24779 if ((ac__type_new_ *) 0)
24781 if (sizeof (ac__type_new_))
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 ac_cv_type_std__istream=yes
24806 echo "$as_me: failed program was:" >&5
24807 sed 's
/^
/| /' conftest.$ac_ext >&5
24809 ac_cv_type_std__istream=no
24812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24814 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24815 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24816 if test $ac_cv_type_std__istream = yes; then
24818 cat >>confdefs.h <<_ACEOF
24819 #define HAVE_STD__ISTREAM 1
24824 wxUSE_STD_IOSTREAM=no
24826 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24827 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24828 if test "${ac_cv_type_std__ostream+set}" = set; then
24829 echo $ECHO_N "(cached) $ECHO_C" >&6
24831 cat >conftest.$ac_ext <<_ACEOF
24834 cat confdefs.h >>conftest.$ac_ext
24835 cat >>conftest.$ac_ext <<_ACEOF
24836 /* end confdefs.h. */
24837 #include <iostream>
24839 typedef std::ostream ac__type_new_;
24843 if ((ac__type_new_ *) 0)
24845 if (sizeof (ac__type_new_))
24851 rm -f conftest.$ac_objext
24852 if { (ac_try="$ac_compile"
24853 case "(($ac_try" in
24854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24855 *) ac_try_echo=$ac_try;;
24857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24858 (eval "$ac_compile") 2>conftest.er1
24860 grep -v '^
*+' conftest.er1 >conftest.err
24862 cat conftest.err >&5
24863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24864 (exit $ac_status); } && {
24865 test -z "$ac_cxx_werror_flag" ||
24866 test ! -s conftest.err
24867 } && test -s conftest.$ac_objext; then
24868 ac_cv_type_std__ostream=yes
24870 echo "$as_me: failed program was:" >&5
24871 sed 's
/^
/| /' conftest.$ac_ext >&5
24873 ac_cv_type_std__ostream=no
24876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24878 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24879 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24880 if test $ac_cv_type_std__ostream = yes; then
24882 cat >>confdefs.h <<_ACEOF
24883 #define HAVE_STD__OSTREAM 1
24888 wxUSE_STD_IOSTREAM=no
24892 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24893 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24894 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24895 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24896 { (exit 1); exit 1; }; }
24898 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24899 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24904 if test "$wxUSE_STL" = "yes"; then
24905 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24906 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24907 if test "${wx_cv_lib_stl+set}" = set; then
24908 echo $ECHO_N "(cached) $ECHO_C" >&6
24910 cat >conftest.$ac_ext <<_ACEOF
24913 cat confdefs.h >>conftest.$ac_ext
24914 cat >>conftest.$ac_ext <<_ACEOF
24915 /* end confdefs.h. */
24917 #include <functional>
24918 #include <algorithm>
24924 std::vector<int> moo;
24925 std::list<int> foo;
24926 std::vector<int>::iterator it =
24927 std::find_if(moo.begin(), moo.end(),
24928 std::bind2nd(std::less<int>(), 3));
24933 rm -f conftest.$ac_objext
24934 if { (ac_try="$ac_compile"
24935 case "(($ac_try" in
24936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24937 *) ac_try_echo=$ac_try;;
24939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24940 (eval "$ac_compile") 2>conftest.er1
24942 grep -v '^
*+' conftest.er1 >conftest.err
24944 cat conftest.err >&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); } && {
24947 test -z "$ac_cxx_werror_flag" ||
24948 test ! -s conftest.err
24949 } && test -s conftest.$ac_objext; then
24952 echo "$as_me: failed program was:" >&5
24953 sed 's
/^
/| /' conftest.$ac_ext >&5
24959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24962 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24963 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24965 if test "$wx_cv_lib_stl" != yes; then
24966 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24967 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24968 { (exit 1); exit 1; }; }
24971 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24972 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24973 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24974 echo $ECHO_N "(cached) $ECHO_C" >&6
24976 cat >conftest.$ac_ext <<_ACEOF
24979 cat confdefs.h >>conftest.$ac_ext
24980 cat >>conftest.$ac_ext <<_ACEOF
24981 /* end confdefs.h. */
24986 std::string foo, bar;
24988 foo.compare(1, 1, bar);
24989 foo.compare(1, 1, bar, 1, 1);
24991 foo.compare(1, 1, "");
24992 foo.compare(1, 1, "", 2);
24997 rm -f conftest.$ac_objext
24998 if { (ac_try="$ac_compile"
24999 case "(($ac_try" in
25000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25001 *) ac_try_echo=$ac_try;;
25003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25004 (eval "$ac_compile") 2>conftest.er1
25006 grep -v '^
*+' conftest.er1 >conftest.err
25008 cat conftest.err >&5
25009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25010 (exit $ac_status); } && {
25011 test -z "$ac_cxx_werror_flag" ||
25012 test ! -s conftest.err
25013 } && test -s conftest.$ac_objext; then
25014 wx_cv_func_stdstring_compare=yes
25016 echo "$as_me: failed program was:" >&5
25017 sed 's
/^
/| /' conftest.$ac_ext >&5
25019 wx_cv_func_stdstring_compare=no
25023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25026 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25027 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
25029 if test "$wx_cv_func_stdstring_compare" = yes; then
25030 cat >>confdefs.h <<\_ACEOF
25031 #define HAVE_STD_STRING_COMPARE 1
25036 if test "$wx_cv_class_gnuhashmapset" = yes; then
25037 cat >>confdefs.h <<\_ACEOF
25038 #define HAVE_EXT_HASH_MAP 1
25041 cat >>confdefs.h <<\_ACEOF
25042 #define HAVE_GNU_CXX_HASH_MAP 1
25047 { echo "$as_me:$LINENO: checking for unordered_map" >&5
25048 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
25049 if test "${ac_cv_header_unordered_map+set}" = set; then
25050 echo $ECHO_N "(cached) $ECHO_C" >&6
25052 cat >conftest.$ac_ext <<_ACEOF
25055 cat confdefs.h >>conftest.$ac_ext
25056 cat >>conftest.$ac_ext <<_ACEOF
25057 /* end confdefs.h. */
25061 #include <unordered_map>
25063 rm -f conftest.$ac_objext
25064 if { (ac_try="$ac_compile"
25065 case "(($ac_try" in
25066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25067 *) ac_try_echo=$ac_try;;
25069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25070 (eval "$ac_compile") 2>conftest.er1
25072 grep -v '^
*+' conftest.er1 >conftest.err
25074 cat conftest.err >&5
25075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25076 (exit $ac_status); } && {
25077 test -z "$ac_cxx_werror_flag" ||
25078 test ! -s conftest.err
25079 } && test -s conftest.$ac_objext; then
25080 ac_cv_header_unordered_map=yes
25082 echo "$as_me: failed program was:" >&5
25083 sed 's
/^
/| /' conftest.$ac_ext >&5
25085 ac_cv_header_unordered_map=no
25088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25090 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
25091 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
25092 if test $ac_cv_header_unordered_map = yes; then
25093 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
25094 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
25095 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
25096 echo $ECHO_N "(cached) $ECHO_C" >&6
25098 cat >conftest.$ac_ext <<_ACEOF
25101 cat confdefs.h >>conftest.$ac_ext
25102 cat >>conftest.$ac_ext <<_ACEOF
25103 /* end confdefs.h. */
25104 #include <unordered_map>
25105 #include <unordered_set>
25109 std::unordered_map<double*, char*> test1;
25110 std::unordered_set<char*> test2;
25115 rm -f conftest.$ac_objext
25116 if { (ac_try="$ac_compile"
25117 case "(($ac_try" in
25118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25119 *) ac_try_echo=$ac_try;;
25121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25122 (eval "$ac_compile") 2>conftest.er1
25124 grep -v '^
*+' conftest.er1 >conftest.err
25126 cat conftest.err >&5
25127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25128 (exit $ac_status); } && {
25129 test -z "$ac_cxx_werror_flag" ||
25130 test ! -s conftest.err
25131 } && test -s conftest.$ac_objext; then
25132 wx_cv_class_stdunorderedmapset=yes
25134 echo "$as_me: failed program was:" >&5
25135 sed 's
/^
/| /' conftest.$ac_ext >&5
25137 wx_cv_class_stdunorderedmapset=no
25140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25144 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
25145 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
25150 if test "$wx_cv_class_stdunorderedmapset" = yes; then
25151 cat >>confdefs.h <<\_ACEOF
25152 #define HAVE_STD_UNORDERED_MAP 1
25155 cat >>confdefs.h <<\_ACEOF
25156 #define HAVE_STD_UNORDERED_SET 1
25160 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
25161 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
25162 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
25163 echo $ECHO_N "(cached) $ECHO_C" >&6
25165 cat >conftest.$ac_ext <<_ACEOF
25168 cat confdefs.h >>conftest.$ac_ext
25169 cat >>conftest.$ac_ext <<_ACEOF
25170 /* end confdefs.h. */
25174 #include <tr1/unordered_map>
25176 rm -f conftest.$ac_objext
25177 if { (ac_try="$ac_compile"
25178 case "(($ac_try" in
25179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25180 *) ac_try_echo=$ac_try;;
25182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25183 (eval "$ac_compile") 2>conftest.er1
25185 grep -v '^
*+' conftest.er1 >conftest.err
25187 cat conftest.err >&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } && {
25190 test -z "$ac_cxx_werror_flag" ||
25191 test ! -s conftest.err
25192 } && test -s conftest.$ac_objext; then
25193 ac_cv_header_tr1_unordered_map=yes
25195 echo "$as_me: failed program was:" >&5
25196 sed 's
/^
/| /' conftest.$ac_ext >&5
25198 ac_cv_header_tr1_unordered_map=no
25201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25203 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
25204 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
25205 if test $ac_cv_header_tr1_unordered_map = yes; then
25206 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25207 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25208 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25209 echo $ECHO_N "(cached) $ECHO_C" >&6
25211 cat >conftest.$ac_ext <<_ACEOF
25214 cat confdefs.h >>conftest.$ac_ext
25215 cat >>conftest.$ac_ext <<_ACEOF
25216 /* end confdefs.h. */
25217 #include <tr1/unordered_map>
25218 #include <tr1/unordered_set>
25222 std::tr1::unordered_map<double*, char*> test1;
25223 std::tr1::unordered_set<char*> test2;
25224 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25225 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
25231 rm -f conftest.
$ac_objext
25232 if { (ac_try
="$ac_compile"
25233 case "(($ac_try" in
25234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25235 *) ac_try_echo=$ac_try;;
25237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25238 (eval "$ac_compile") 2>conftest.er1
25240 grep -v '^ *+' conftest.er1 >conftest.err
25242 cat conftest.err >&5
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); } && {
25245 test -z "$ac_cxx_werror_flag" ||
25246 test ! -s conftest.err
25247 } && test -s conftest.$ac_objext; then
25248 wx_cv_class_tr1unorderedmapset=yes
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.$ac_ext >&5
25253 wx_cv_class_tr1unorderedmapset=no
25256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25260 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25261 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25266 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25267 cat >>confdefs.h <<\_ACEOF
25268 #define HAVE_TR1_UNORDERED_MAP 1
25271 cat >>confdefs.h <<\_ACEOF
25272 #define HAVE_TR1_UNORDERED_SET 1
25276 { echo "$as_me:$LINENO: checking for hash_map" >&5
25277 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25278 if test "${ac_cv_header_hash_map+set}" = set; then
25279 echo $ECHO_N "(cached) $ECHO_C" >&6
25281 cat >conftest.$ac_ext <<_ACEOF
25284 cat confdefs.h >>conftest.$ac_ext
25285 cat >>conftest.$ac_ext <<_ACEOF
25286 /* end confdefs.h. */
25290 #include <hash_map>
25292 rm -f conftest.$ac_objext
25293 if { (ac_try="$ac_compile"
25294 case "(($ac_try" in
25295 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25296 *) ac_try_echo
=$ac_try;;
25298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25299 (eval "$ac_compile") 2>conftest.er1
25301 grep -v '^ *+' conftest.er1
>conftest.err
25303 cat conftest.err
>&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); } && {
25306 test -z "$ac_cxx_werror_flag" ||
25307 test ! -s conftest.err
25308 } && test -s conftest.
$ac_objext; then
25309 ac_cv_header_hash_map
=yes
25311 echo "$as_me: failed program was:" >&5
25312 sed 's/^/| /' conftest.
$ac_ext >&5
25314 ac_cv_header_hash_map
=no
25317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25319 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25320 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25321 if test $ac_cv_header_hash_map = yes; then
25322 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25323 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25324 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25325 echo $ECHO_N "(cached) $ECHO_C" >&6
25327 cat >conftest.
$ac_ext <<_ACEOF
25330 cat confdefs.h
>>conftest.
$ac_ext
25331 cat >>conftest.
$ac_ext <<_ACEOF
25332 /* end confdefs.h. */
25333 #include <hash_map>
25334 #include <hash_set>
25338 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25339 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25344 rm -f conftest.
$ac_objext
25345 if { (ac_try
="$ac_compile"
25346 case "(($ac_try" in
25347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25348 *) ac_try_echo=$ac_try;;
25350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25351 (eval "$ac_compile") 2>conftest.er1
25353 grep -v '^ *+' conftest.er1 >conftest.err
25355 cat conftest.err >&5
25356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357 (exit $ac_status); } && {
25358 test -z "$ac_cxx_werror_flag" ||
25359 test ! -s conftest.err
25360 } && test -s conftest.$ac_objext; then
25361 wx_cv_class_stdhashmapset=yes
25363 echo "$as_me: failed program was:" >&5
25364 sed 's/^/| /' conftest.$ac_ext >&5
25366 wx_cv_class_stdhashmapset=no
25369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25373 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25374 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25379 if test "$wx_cv_class_stdhashmapset" = yes; then
25380 cat >>confdefs.h <<\_ACEOF
25381 #define HAVE_HASH_MAP 1
25384 cat >>confdefs.h <<\_ACEOF
25385 #define HAVE_STD_HASH_MAP 1
25390 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25391 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25392 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25393 echo $ECHO_N "(cached) $ECHO_C" >&6
25395 cat >conftest.$ac_ext <<_ACEOF
25398 cat confdefs.h >>conftest.$ac_ext
25399 cat >>conftest.$ac_ext <<_ACEOF
25400 /* end confdefs.h. */
25404 #include <ext/hash_map>
25406 rm -f conftest.$ac_objext
25407 if { (ac_try="$ac_compile"
25408 case "(($ac_try" in
25409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25410 *) ac_try_echo
=$ac_try;;
25412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25413 (eval "$ac_compile") 2>conftest.er1
25415 grep -v '^ *+' conftest.er1
>conftest.err
25417 cat conftest.err
>&5
25418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25419 (exit $ac_status); } && {
25420 test -z "$ac_cxx_werror_flag" ||
25421 test ! -s conftest.err
25422 } && test -s conftest.
$ac_objext; then
25423 ac_cv_header_ext_hash_map
=yes
25425 echo "$as_me: failed program was:" >&5
25426 sed 's/^/| /' conftest.
$ac_ext >&5
25428 ac_cv_header_ext_hash_map
=no
25431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25433 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25434 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25435 if test $ac_cv_header_ext_hash_map = yes; then
25436 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25437 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25438 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25439 echo $ECHO_N "(cached) $ECHO_C" >&6
25441 cat >conftest.
$ac_ext <<_ACEOF
25444 cat confdefs.h
>>conftest.
$ac_ext
25445 cat >>conftest.
$ac_ext <<_ACEOF
25446 /* end confdefs.h. */
25447 #include <ext/hash_map>
25448 #include <ext/hash_set>
25452 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25453 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25458 rm -f conftest.
$ac_objext
25459 if { (ac_try
="$ac_compile"
25460 case "(($ac_try" in
25461 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25462 *) ac_try_echo=$ac_try;;
25464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25465 (eval "$ac_compile") 2>conftest.er1
25467 grep -v '^ *+' conftest.er1 >conftest.err
25469 cat conftest.err >&5
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); } && {
25472 test -z "$ac_cxx_werror_flag" ||
25473 test ! -s conftest.err
25474 } && test -s conftest.$ac_objext; then
25475 wx_cv_class_gnuhashmapset=yes
25477 echo "$as_me: failed program was:" >&5
25478 sed 's/^/| /' conftest.$ac_ext >&5
25480 wx_cv_class_gnuhashmapset=no
25483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25487 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25488 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25499 if test -n "$GCC"; then
25500 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25501 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25502 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25503 echo $ECHO_N "(cached) $ECHO_C" >&6
25506 cat >conftest.$ac_ext <<_ACEOF
25509 cat confdefs.h >>conftest.$ac_ext
25510 cat >>conftest.$ac_ext <<_ACEOF
25511 /* end confdefs.h. */
25517 unsigned int value=0;
25518 /* wxAtomicInc doesn't use return value here */
25519 __sync_fetch_and_add(&value, 2);
25520 __sync_sub_and_fetch(&value, 1);
25521 /* but wxAtomicDec does, so mimic that: */
25522 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25528 rm -f conftest.$ac_objext conftest$ac_exeext
25529 if { (ac_try="$ac_link"
25530 case "(($ac_try" in
25531 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25532 *) ac_try_echo
=$ac_try;;
25534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25535 (eval "$ac_link") 2>conftest.er1
25537 grep -v '^ *+' conftest.er1
>conftest.err
25539 cat conftest.err
>&5
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); } && {
25542 test -z "$ac_cxx_werror_flag" ||
25543 test ! -s conftest.err
25544 } && test -s conftest
$ac_exeext &&
25545 $as_test_x conftest
$ac_exeext; then
25546 wx_cv_cc_gcc_atomic_builtins
=yes
25548 echo "$as_me: failed program was:" >&5
25549 sed 's/^/| /' conftest.
$ac_ext >&5
25551 wx_cv_cc_gcc_atomic_builtins
=no
25554 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25555 conftest
$ac_exeext conftest.
$ac_ext
25559 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25560 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25561 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25562 cat >>confdefs.h
<<\_ACEOF
25563 #define HAVE_GCC_ATOMIC_BUILTINS 1
25571 ac_cpp
='$CPP $CPPFLAGS'
25572 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25573 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25574 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25579 /usr/local/include \
25580 /usr/local/X11/include \
25581 /usr/local/include/X11 \
25582 /usr/local/X11R7/include \
25583 /usr/local/X11R6/include \
25584 /usr/local/include/X11R7 \
25585 /usr/local/include/X11R6 \
25587 /usr/Motif-2.1/include \
25588 /usr/Motif-1.2/include \
25589 /usr/include/Motif1.2 \
25592 /usr/openwin/include \
25596 /usr/X11R7/include \
25597 /usr/X11R6/include \
25598 /usr/X11R6.4/include \
25600 /usr/include/X11R7 \
25601 /usr/include/X11R6 \
25606 /usr/XFree86/include/X11 \
25609 /usr/local/X1R5/include \
25610 /usr/local/include/X11R5 \
25611 /usr/X11R5/include \
25612 /usr/include/X11R5 \
25614 /usr/local/X11R4/include \
25615 /usr/local/include/X11R4 \
25616 /usr/X11R4/include \
25617 /usr/include/X11R4 \
25619 /usr/openwin/share/include"
25621 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25622 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25626 if test "${wx_cv_std_libpath+set}" = set; then
25627 echo $ECHO_N "(cached) $ECHO_C" >&6
25630 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25631 for e
in a so sl dylib dll.a
; do
25633 if test -f $libc; then
25636 cat >conftest.
$ac_ext <<_ACEOF
25637 int main() { return 0; }
25639 rm -f conftest.
$ac_objext conftest
$ac_exeext
25640 if { (ac_try
="$ac_link"
25641 case "(($ac_try" in
25642 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25643 *) ac_try_echo=$ac_try;;
25645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25646 (eval "$ac_link") 2>conftest.er1
25648 grep -v '^ *+' conftest.er1 >conftest.err
25650 cat conftest.err >&5
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); } && {
25653 test -z "$ac_c_werror_flag" ||
25654 test ! -s conftest.err
25655 } && test -s conftest$ac_exeext &&
25656 $as_test_x conftest$ac_exeext; then
25657 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25659 echo "$as_me: failed program was:" >&5
25660 sed 's/^/| /' conftest.$ac_ext >&5
25665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25666 conftest$ac_exeext conftest.$ac_ext
25668 if test "x$wx_cv_std_libpath" != "x"; then
25674 if test "x$wx_cv_std_libpath" = "x"; then
25675 wx_cv_std_libpath="lib"
25684 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25685 wx_cv_std_libpath="lib/64"
25687 wx_cv_std_libpath="lib"
25692 if test "$ac_cv_sizeof_void_p" = 8 -a \
25693 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25694 wx_cv_std_libpath="lib64"
25696 wx_cv_std_libpath="lib"
25701 wx_cv_std_libpath="lib";
25705 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25706 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25708 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25710 if test "$build" != "$host" -a "$GCC" = yes; then
25711 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25712 cross_root=`dirname $cross_root`
25713 cross_root=`dirname $cross_root`
25715 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25716 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25717 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25719 if test -z "$PKG_CONFIG_PATH"; then
25720 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25721 export PKG_CONFIG_PATH
25724 if test -z "$x_includes" -o "$x_includes" = NONE; then
25727 for ac_dir in $SEARCH_INCLUDE /usr/include;
25729 if test -f "$ac_dir/X11/Intrinsic.h"; then
25730 ac_find_includes=$ac_dir
25735 x_includes=$ac_find_includes
25737 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25740 for ac_dir in $SEARCH_LIB;
25742 for ac_extension in a so sl dylib dll.a; do
25743 if test -f "$ac_dir/libXt.$ac_extension"; then
25744 ac_find_libraries=$ac_dir
25750 x_libraries=$ac_find_libraries
25756 cat >confcache <<\_ACEOF
25757 # This file is a shell script that caches the results of configure
25758 # tests run on this system so they can be shared between configure
25759 # scripts and configure runs, see configure's option --config-cache.
25760 # It is not useful on other systems. If it contains results you don't
25761 # want to keep, you may remove or edit it.
25763 # config.status only pays attention to the cache file if you give it
25764 # the --recheck option to rerun configure.
25766 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25767 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25768 # following values.
25772 # The following way of writing the cache mishandles newlines in values,
25773 # but we know of no workaround that is simple, portable, and efficient.
25774 # So, we kill variables containing newlines.
25775 # Ultrix sh set writes to stderr and can't be redirected directly,
25776 # and sets the high bit in the cache file unless we assign to the vars.
25778 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25779 eval ac_val
=\$
$ac_var
25783 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25784 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25787 _
| IFS
| as_nl
) ;; #(
25788 *) $as_unset $ac_var ;;
25794 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25795 *${as_nl}ac_space
=\
*)
25796 # `set' does not quote correctly, so add quotes (double-quote
25797 # substitution turns \\\\ into \\, and sed turns \\ into \).
25800 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25803 # `set' quotes correctly as required by POSIX, so do not add quotes.
25804 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25813 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25815 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25817 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25818 if test -w "$cache_file"; then
25819 test "x$cache_file" != "x/dev/null" &&
25820 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25821 echo "$as_me: updating cache $cache_file" >&6;}
25822 cat confcache
>$cache_file
25824 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25825 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25830 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25831 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25832 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25833 if test "${wx_cv_lib_glibc21+set}" = set; then
25834 echo $ECHO_N "(cached) $ECHO_C" >&6
25837 cat >conftest.
$ac_ext <<_ACEOF
25840 cat confdefs.h
>>conftest.
$ac_ext
25841 cat >>conftest.
$ac_ext <<_ACEOF
25842 /* end confdefs.h. */
25843 #include <features.h>
25848 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25856 rm -f conftest.
$ac_objext
25857 if { (ac_try
="$ac_compile"
25858 case "(($ac_try" in
25859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25860 *) ac_try_echo=$ac_try;;
25862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25863 (eval "$ac_compile") 2>conftest.er1
25865 grep -v '^ *+' conftest.er1 >conftest.err
25867 cat conftest.err >&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); } && {
25870 test -z "$ac_c_werror_flag" ||
25871 test ! -s conftest.err
25872 } && test -s conftest.$ac_objext; then
25874 wx_cv_lib_glibc21=yes
25877 echo "$as_me: failed program was:" >&5
25878 sed 's/^/| /' conftest.$ac_ext >&5
25881 wx_cv_lib_glibc21=no
25886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25889 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25890 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25891 if test "$wx_cv_lib_glibc21" = "yes"; then
25892 cat >>confdefs.h <<\_ACEOF
25893 #define wxHAVE_GLIBC2 1
25899 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25900 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25901 cat >>confdefs.h <<\_ACEOF
25902 #define _GNU_SOURCE 1
25913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25914 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25916 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25917 echo $ECHO_N "(cached) $ECHO_C" >&6
25919 cat >conftest.$ac_ext <<_ACEOF
25922 cat confdefs.h >>conftest.$ac_ext
25923 cat >>conftest.$ac_ext <<_ACEOF
25924 /* end confdefs.h. */
25925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25927 #define $ac_func innocuous_$ac_func
25929 /* System header to define __stub macros and hopefully few prototypes,
25930 which can conflict with char $ac_func (); below.
25931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25932 <limits.h> exists even on freestanding compilers. */
25935 # include <limits.h>
25937 # include <assert.h>
25942 /* Override any GCC internal prototype to avoid an error.
25943 Use char because int might match the return type of a GCC
25944 builtin and then its argument prototype would still apply. */
25949 /* The GNU C library defines this for functions which it implements
25950 to always fail with ENOSYS. Some functions are actually named
25951 something starting with __ and the normal name is an alias. */
25952 #if defined __stub_$ac_func || defined __stub___$ac_func
25959 return $ac_func ();
25964 rm -f conftest.$ac_objext conftest$ac_exeext
25965 if { (ac_try="$ac_link"
25966 case "(($ac_try" in
25967 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25968 *) ac_try_echo
=$ac_try;;
25970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25971 (eval "$ac_link") 2>conftest.er1
25973 grep -v '^ *+' conftest.er1
>conftest.err
25975 cat conftest.err
>&5
25976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25977 (exit $ac_status); } && {
25978 test -z "$ac_c_werror_flag" ||
25979 test ! -s conftest.err
25980 } && test -s conftest
$ac_exeext &&
25981 $as_test_x conftest
$ac_exeext; then
25982 eval "$as_ac_var=yes"
25984 echo "$as_me: failed program was:" >&5
25985 sed 's/^/| /' conftest.
$ac_ext >&5
25987 eval "$as_ac_var=no"
25990 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25991 conftest
$ac_exeext conftest.
$ac_ext
25993 ac_res
=`eval echo '${'$as_ac_var'}'`
25994 { echo "$as_me:$LINENO: result: $ac_res" >&5
25995 echo "${ECHO_T}$ac_res" >&6; }
25996 if test `eval echo '${'$as_ac_var'}'` = yes; then
25997 cat >>confdefs.h
<<_ACEOF
25998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26005 for ac_func
in floor
26007 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26008 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26010 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26011 echo $ECHO_N "(cached) $ECHO_C" >&6
26013 cat >conftest.
$ac_ext <<_ACEOF
26016 cat confdefs.h
>>conftest.
$ac_ext
26017 cat >>conftest.
$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26021 #define $ac_func innocuous_$ac_func
26023 /* System header to define __stub macros and hopefully few prototypes,
26024 which can conflict with char $ac_func (); below.
26025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26026 <limits.h> exists even on freestanding compilers. */
26029 # include <limits.h>
26031 # include <assert.h>
26036 /* Override any GCC internal prototype to avoid an error.
26037 Use char because int might match the return type of a GCC
26038 builtin and then its argument prototype would still apply. */
26043 /* The GNU C library defines this for functions which it implements
26044 to always fail with ENOSYS. Some functions are actually named
26045 something starting with __ and the normal name is an alias. */
26046 #if defined __stub_$ac_func || defined __stub___$ac_func
26053 return $ac_func ();
26058 rm -f conftest.
$ac_objext conftest
$ac_exeext
26059 if { (ac_try
="$ac_link"
26060 case "(($ac_try" in
26061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26062 *) ac_try_echo=$ac_try;;
26064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26065 (eval "$ac_link") 2>conftest.er1
26067 grep -v '^ *+' conftest.er1 >conftest.err
26069 cat conftest.err >&5
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); } && {
26072 test -z "$ac_c_werror_flag" ||
26073 test ! -s conftest.err
26074 } && test -s conftest$ac_exeext &&
26075 $as_test_x conftest$ac_exeext; then
26076 eval "$as_ac_var=yes"
26078 echo "$as_me: failed program was:" >&5
26079 sed 's/^/| /' conftest.$ac_ext >&5
26081 eval "$as_ac_var=no"
26084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26085 conftest$ac_exeext conftest.$ac_ext
26087 ac_res=`eval echo '${'$as_ac_var'}'`
26088 { echo "$as_me:$LINENO: result: $ac_res" >&5
26089 echo "${ECHO_T}$ac_res" >&6; }
26090 if test `eval echo '${'$as_ac_var'}'` = yes; then
26091 cat >>confdefs.h <<_ACEOF
26092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26098 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26099 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
26100 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26101 { echo "$as_me:$LINENO: result: yes" >&5
26102 echo "${ECHO_T}yes" >&6; }
26104 { echo "$as_me:$LINENO: result: no" >&5
26105 echo "${ECHO_T}no" >&6; }
26107 # use different functions to avoid configure caching
26113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26114 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26116 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26117 echo $ECHO_N "(cached) $ECHO_C" >&6
26119 cat >conftest.$ac_ext <<_ACEOF
26122 cat confdefs.h >>conftest.$ac_ext
26123 cat >>conftest.$ac_ext <<_ACEOF
26124 /* end confdefs.h. */
26125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26127 #define $ac_func innocuous_$ac_func
26129 /* System header to define __stub macros and hopefully few prototypes,
26130 which can conflict with char $ac_func (); below.
26131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26132 <limits.h> exists even on freestanding compilers. */
26135 # include <limits.h>
26137 # include <assert.h>
26142 /* Override any GCC internal prototype to avoid an error.
26143 Use char because int might match the return type of a GCC
26144 builtin and then its argument prototype would still apply. */
26149 /* The GNU C library defines this for functions which it implements
26150 to always fail with ENOSYS. Some functions are actually named
26151 something starting with __ and the normal name is an alias. */
26152 #if defined __stub_$ac_func || defined __stub___$ac_func
26159 return $ac_func ();
26164 rm -f conftest.$ac_objext conftest$ac_exeext
26165 if { (ac_try="$ac_link"
26166 case "(($ac_try" in
26167 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26168 *) ac_try_echo
=$ac_try;;
26170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26171 (eval "$ac_link") 2>conftest.er1
26173 grep -v '^ *+' conftest.er1
>conftest.err
26175 cat conftest.err
>&5
26176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26177 (exit $ac_status); } && {
26178 test -z "$ac_c_werror_flag" ||
26179 test ! -s conftest.err
26180 } && test -s conftest
$ac_exeext &&
26181 $as_test_x conftest
$ac_exeext; then
26182 eval "$as_ac_var=yes"
26184 echo "$as_me: failed program was:" >&5
26185 sed 's/^/| /' conftest.
$ac_ext >&5
26187 eval "$as_ac_var=no"
26190 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26191 conftest
$ac_exeext conftest.
$ac_ext
26193 ac_res
=`eval echo '${'$as_ac_var'}'`
26194 { echo "$as_me:$LINENO: result: $ac_res" >&5
26195 echo "${ECHO_T}$ac_res" >&6; }
26196 if test `eval echo '${'$as_ac_var'}'` = yes; then
26197 cat >>confdefs.h
<<_ACEOF
26198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26205 for ac_func
in ceil
26207 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26208 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26210 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26211 echo $ECHO_N "(cached) $ECHO_C" >&6
26213 cat >conftest.
$ac_ext <<_ACEOF
26216 cat confdefs.h
>>conftest.
$ac_ext
26217 cat >>conftest.
$ac_ext <<_ACEOF
26218 /* end confdefs.h. */
26219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26221 #define $ac_func innocuous_$ac_func
26223 /* System header to define __stub macros and hopefully few prototypes,
26224 which can conflict with char $ac_func (); below.
26225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26226 <limits.h> exists even on freestanding compilers. */
26229 # include <limits.h>
26231 # include <assert.h>
26236 /* Override any GCC internal prototype to avoid an error.
26237 Use char because int might match the return type of a GCC
26238 builtin and then its argument prototype would still apply. */
26243 /* The GNU C library defines this for functions which it implements
26244 to always fail with ENOSYS. Some functions are actually named
26245 something starting with __ and the normal name is an alias. */
26246 #if defined __stub_$ac_func || defined __stub___$ac_func
26253 return $ac_func ();
26258 rm -f conftest.
$ac_objext conftest
$ac_exeext
26259 if { (ac_try
="$ac_link"
26260 case "(($ac_try" in
26261 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26262 *) ac_try_echo=$ac_try;;
26264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26265 (eval "$ac_link") 2>conftest.er1
26267 grep -v '^ *+' conftest.er1 >conftest.err
26269 cat conftest.err >&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } && {
26272 test -z "$ac_c_werror_flag" ||
26273 test ! -s conftest.err
26274 } && test -s conftest$ac_exeext &&
26275 $as_test_x conftest$ac_exeext; then
26276 eval "$as_ac_var=yes"
26278 echo "$as_me: failed program was:" >&5
26279 sed 's/^/| /' conftest.$ac_ext >&5
26281 eval "$as_ac_var=no"
26284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26285 conftest$ac_exeext conftest.$ac_ext
26287 ac_res=`eval echo '${'$as_ac_var'}'`
26288 { echo "$as_me:$LINENO: result: $ac_res" >&5
26289 echo "${ECHO_T}$ac_res" >&6; }
26290 if test `eval echo '${'$as_ac_var'}'` = yes; then
26291 cat >>confdefs.h <<_ACEOF
26292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26298 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26299 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26300 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26301 { echo "$as_me:$LINENO: result: yes" >&5
26302 echo "${ECHO_T}yes" >&6; }
26304 { echo "$as_me:$LINENO: result: no" >&5
26305 echo "${ECHO_T}no" >&6; }
26306 # not sure we should warn the user, crash, etc.
26311 ac_cpp='$CXXCPP $CPPFLAGS'
26312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26316 if test "wxUSE_UNICODE" = "yes"; then
26318 for wx_func in wcstoull
26320 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26321 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26322 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26323 echo $ECHO_N "(cached) $ECHO_C" >&6
26326 cat >conftest.$ac_ext <<_ACEOF
26330 cat confdefs.h >>conftest.$ac_ext
26331 cat >>conftest.$ac_ext <<_ACEOF
26332 /* end confdefs.h. */
26335 $ac_includes_default
26351 rm -f conftest.$ac_objext conftest$ac_exeext
26352 if { (ac_try="$ac_link"
26353 case "(($ac_try" in
26354 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26355 *) ac_try_echo
=$ac_try;;
26357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26358 (eval "$ac_link") 2>conftest.er1
26360 grep -v '^ *+' conftest.er1
>conftest.err
26362 cat conftest.err
>&5
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); } && {
26365 test -z "$ac_cxx_werror_flag" ||
26366 test ! -s conftest.err
26367 } && test -s conftest
$ac_exeext &&
26368 $as_test_x conftest
$ac_exeext; then
26369 eval wx_cv_func_
$wx_func=yes
26371 echo "$as_me: failed program was:" >&5
26372 sed 's/^/| /' conftest.
$ac_ext >&5
26374 eval wx_cv_func_
$wx_func=no
26377 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26378 conftest
$ac_exeext conftest.
$ac_ext
26381 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26382 { echo "$as_me:$LINENO: result: $ac_res" >&5
26383 echo "${ECHO_T}$ac_res" >&6; }
26385 if eval test \
$wx_cv_func_$wx_func = yes
26387 cat >>confdefs.h
<<_ACEOF
26388 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26400 for wx_func
in strtoull
26402 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26403 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26404 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26405 echo $ECHO_N "(cached) $ECHO_C" >&6
26408 cat >conftest.
$ac_ext <<_ACEOF
26412 cat confdefs.h
>>conftest.
$ac_ext
26413 cat >>conftest.
$ac_ext <<_ACEOF
26414 /* end confdefs.h. */
26417 $ac_includes_default
26433 rm -f conftest.
$ac_objext conftest
$ac_exeext
26434 if { (ac_try
="$ac_link"
26435 case "(($ac_try" in
26436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26437 *) ac_try_echo=$ac_try;;
26439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26440 (eval "$ac_link") 2>conftest.er1
26442 grep -v '^ *+' conftest.er1 >conftest.err
26444 cat conftest.err >&5
26445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446 (exit $ac_status); } && {
26447 test -z "$ac_cxx_werror_flag" ||
26448 test ! -s conftest.err
26449 } && test -s conftest$ac_exeext &&
26450 $as_test_x conftest$ac_exeext; then
26451 eval wx_cv_func_$wx_func=yes
26453 echo "$as_me: failed program was:" >&5
26454 sed 's/^/| /' conftest.$ac_ext >&5
26456 eval wx_cv_func_$wx_func=no
26459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26460 conftest$ac_exeext conftest.$ac_ext
26463 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26464 { echo "$as_me:$LINENO: result: $ac_res" >&5
26465 echo "${ECHO_T}$ac_res" >&6; }
26467 if eval test \$wx_cv_func_$wx_func = yes
26469 cat >>confdefs.h <<_ACEOF
26470 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26482 ac_cpp='$CPP $CPPFLAGS'
26483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26490 if test "$wxUSE_REGEX" != "no"; then
26491 cat >>confdefs.h <<\_ACEOF
26492 #define wxUSE_REGEX 1
26496 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26497 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26498 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26499 wxUSE_REGEX=builtin
26502 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26503 { echo "$as_me:$LINENO: checking for regex.h" >&5
26504 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26505 if test "${ac_cv_header_regex_h+set}" = set; then
26506 echo $ECHO_N "(cached) $ECHO_C" >&6
26508 cat >conftest.$ac_ext <<_ACEOF
26511 cat confdefs.h >>conftest.$ac_ext
26512 cat >>conftest.$ac_ext <<_ACEOF
26513 /* end confdefs.h. */
26518 rm -f conftest.$ac_objext
26519 if { (ac_try="$ac_compile"
26520 case "(($ac_try" in
26521 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26522 *) ac_try_echo
=$ac_try;;
26524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26525 (eval "$ac_compile") 2>conftest.er1
26527 grep -v '^ *+' conftest.er1
>conftest.err
26529 cat conftest.err
>&5
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); } && {
26532 test -z "$ac_c_werror_flag" ||
26533 test ! -s conftest.err
26534 } && test -s conftest.
$ac_objext; then
26535 ac_cv_header_regex_h
=yes
26537 echo "$as_me: failed program was:" >&5
26538 sed 's/^/| /' conftest.
$ac_ext >&5
26540 ac_cv_header_regex_h
=no
26543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26545 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26546 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26547 if test $ac_cv_header_regex_h = yes; then
26550 for ac_func
in regcomp re_search
26552 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26553 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26555 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26556 echo $ECHO_N "(cached) $ECHO_C" >&6
26558 cat >conftest.
$ac_ext <<_ACEOF
26561 cat confdefs.h
>>conftest.
$ac_ext
26562 cat >>conftest.
$ac_ext <<_ACEOF
26563 /* end confdefs.h. */
26564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26566 #define $ac_func innocuous_$ac_func
26568 /* System header to define __stub macros and hopefully few prototypes,
26569 which can conflict with char $ac_func (); below.
26570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26571 <limits.h> exists even on freestanding compilers. */
26574 # include <limits.h>
26576 # include <assert.h>
26581 /* Override any GCC internal prototype to avoid an error.
26582 Use char because int might match the return type of a GCC
26583 builtin and then its argument prototype would still apply. */
26588 /* The GNU C library defines this for functions which it implements
26589 to always fail with ENOSYS. Some functions are actually named
26590 something starting with __ and the normal name is an alias. */
26591 #if defined __stub_$ac_func || defined __stub___$ac_func
26598 return $ac_func ();
26603 rm -f conftest.
$ac_objext conftest
$ac_exeext
26604 if { (ac_try
="$ac_link"
26605 case "(($ac_try" in
26606 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26607 *) ac_try_echo=$ac_try;;
26609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26610 (eval "$ac_link") 2>conftest.er1
26612 grep -v '^ *+' conftest.er1 >conftest.err
26614 cat conftest.err >&5
26615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616 (exit $ac_status); } && {
26617 test -z "$ac_c_werror_flag" ||
26618 test ! -s conftest.err
26619 } && test -s conftest$ac_exeext &&
26620 $as_test_x conftest$ac_exeext; then
26621 eval "$as_ac_var=yes"
26623 echo "$as_me: failed program was:" >&5
26624 sed 's/^/| /' conftest.$ac_ext >&5
26626 eval "$as_ac_var=no"
26629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26630 conftest$ac_exeext conftest.$ac_ext
26632 ac_res=`eval echo '${'$as_ac_var'}'`
26633 { echo "$as_me:$LINENO: result: $ac_res" >&5
26634 echo "${ECHO_T}$ac_res" >&6; }
26635 if test `eval echo '${'$as_ac_var'}'` = yes; then
26636 cat >>confdefs.h <<_ACEOF
26637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26647 if test "x$ac_cv_func_regcomp" != "xyes"; then
26648 if test "$wxUSE_REGEX" = "sys" ; then
26649 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26650 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26651 { (exit 1); exit 1; }; }
26653 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26654 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26655 wxUSE_REGEX=builtin
26659 cat >>confdefs.h <<\_ACEOF
26660 #define WX_NO_REGEX_ADVANCED 1
26669 if test "$wxUSE_ZLIB" != "no" ; then
26670 cat >>confdefs.h <<\_ACEOF
26671 #define wxUSE_ZLIB 1
26675 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26676 if test "$USE_DARWIN" = 1; then
26677 system_zlib_h_ok="yes"
26679 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26680 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26681 if test "${ac_cv_header_zlib_h+set}" = set; then
26682 echo $ECHO_N "(cached) $ECHO_C" >&6
26684 if test "$cross_compiling" = yes; then
26685 unset ac_cv_header_zlib_h
26688 cat >conftest.$ac_ext <<_ACEOF
26691 cat confdefs.h >>conftest.$ac_ext
26692 cat >>conftest.$ac_ext <<_ACEOF
26693 /* end confdefs.h. */
26700 FILE *f=fopen("conftestval", "w");
26703 ZLIB_VERSION[0] == '1' &&
26704 (ZLIB_VERSION[2] > '1' ||
26705 (ZLIB_VERSION[2] == '1' &&
26706 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26711 rm -f conftest$ac_exeext
26712 if { (ac_try="$ac_link"
26713 case "(($ac_try" in
26714 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26715 *) ac_try_echo
=$ac_try;;
26717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26718 (eval "$ac_link") 2>&5
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26722 { (case "(($ac_try" in
26723 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26724 *) ac_try_echo=$ac_try;;
26726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26727 (eval "$ac_try") 2>&5
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); }; }; then
26731 ac_cv_header_zlib_h=`cat conftestval
`
26733 echo "$as_me: program exited with status $ac_status" >&5
26734 echo "$as_me: failed program was:" >&5
26735 sed 's/^/| /' conftest.$ac_ext >&5
26737 ( exit $ac_status )
26738 ac_cv_header_zlib_h=no
26740 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26746 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26747 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26748 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26749 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26750 if test "${ac_cv_header_zlib_h+set}" = set; then
26751 echo $ECHO_N "(cached) $ECHO_C" >&6
26753 cat >conftest.$ac_ext <<_ACEOF
26756 cat confdefs.h >>conftest.$ac_ext
26757 cat >>conftest.$ac_ext <<_ACEOF
26758 /* end confdefs.h. */
26763 rm -f conftest.$ac_objext
26764 if { (ac_try="$ac_compile"
26765 case "(($ac_try" in
26766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26767 *) ac_try_echo
=$ac_try;;
26769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26770 (eval "$ac_compile") 2>conftest.er1
26772 grep -v '^ *+' conftest.er1
>conftest.err
26774 cat conftest.err
>&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); } && {
26777 test -z "$ac_c_werror_flag" ||
26778 test ! -s conftest.err
26779 } && test -s conftest.
$ac_objext; then
26780 ac_cv_header_zlib_h
=yes
26782 echo "$as_me: failed program was:" >&5
26783 sed 's/^/| /' conftest.
$ac_ext >&5
26785 ac_cv_header_zlib_h
=no
26788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26790 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26791 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26795 system_zlib_h_ok
=$ac_cv_header_zlib_h
26798 if test "$system_zlib_h_ok" = "yes"; then
26799 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26800 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26801 if test "${ac_cv_lib_z_deflate+set}" = set; then
26802 echo $ECHO_N "(cached) $ECHO_C" >&6
26804 ac_check_lib_save_LIBS
=$LIBS
26806 cat >conftest.
$ac_ext <<_ACEOF
26809 cat confdefs.h
>>conftest.
$ac_ext
26810 cat >>conftest.
$ac_ext <<_ACEOF
26811 /* end confdefs.h. */
26813 /* Override any GCC internal prototype to avoid an error.
26814 Use char because int might match the return type of a GCC
26815 builtin and then its argument prototype would still apply. */
26828 rm -f conftest.
$ac_objext conftest
$ac_exeext
26829 if { (ac_try
="$ac_link"
26830 case "(($ac_try" in
26831 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26832 *) ac_try_echo=$ac_try;;
26834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26835 (eval "$ac_link") 2>conftest.er1
26837 grep -v '^ *+' conftest.er1 >conftest.err
26839 cat conftest.err >&5
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); } && {
26842 test -z "$ac_c_werror_flag" ||
26843 test ! -s conftest.err
26844 } && test -s conftest$ac_exeext &&
26845 $as_test_x conftest$ac_exeext; then
26846 ac_cv_lib_z_deflate=yes
26848 echo "$as_me: failed program was:" >&5
26849 sed 's/^/| /' conftest.$ac_ext >&5
26851 ac_cv_lib_z_deflate=no
26854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26855 conftest$ac_exeext conftest.$ac_ext
26856 LIBS=$ac_check_lib_save_LIBS
26858 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26859 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26860 if test $ac_cv_lib_z_deflate = yes; then
26866 if test "x$ZLIB_LINK" = "x" ; then
26867 if test "$wxUSE_ZLIB" = "sys" ; then
26868 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26869 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26870 { (exit 1); exit 1; }; }
26872 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26873 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26884 if test "$wxUSE_LIBPNG" != "no" ; then
26885 cat >>confdefs.h <<\_ACEOF
26886 #define wxUSE_LIBPNG 1
26890 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26891 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26892 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26896 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26897 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26898 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26899 wxUSE_LIBPNG=builtin
26902 if test "$wxUSE_MGL" != 1 ; then
26903 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26904 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26905 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26906 if test "${ac_cv_header_png_h+set}" = set; then
26907 echo $ECHO_N "(cached) $ECHO_C" >&6
26909 if test "$cross_compiling" = yes; then
26910 unset ac_cv_header_png_h
26913 cat >conftest.$ac_ext <<_ACEOF
26916 cat confdefs.h >>conftest.$ac_ext
26917 cat >>conftest.$ac_ext <<_ACEOF
26918 /* end confdefs.h. */
26925 FILE *f=fopen("conftestval", "w");
26928 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26933 rm -f conftest$ac_exeext
26934 if { (ac_try="$ac_link"
26935 case "(($ac_try" in
26936 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26937 *) ac_try_echo
=$ac_try;;
26939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26940 (eval "$ac_link") 2>&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26944 { (case "(($ac_try" in
26945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26946 *) ac_try_echo=$ac_try;;
26948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26949 (eval "$ac_try") 2>&5
26951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26952 (exit $ac_status); }; }; then
26953 ac_cv_header_png_h=`cat conftestval
`
26955 echo "$as_me: program exited with status $ac_status" >&5
26956 echo "$as_me: failed program was:" >&5
26957 sed 's/^/| /' conftest.$ac_ext >&5
26959 ( exit $ac_status )
26960 ac_cv_header_png_h=no
26962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26968 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26969 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26970 { echo "$as_me:$LINENO: checking for png.h" >&5
26971 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26972 if test "${ac_cv_header_png_h+set}" = set; then
26973 echo $ECHO_N "(cached) $ECHO_C" >&6
26975 cat >conftest.$ac_ext <<_ACEOF
26978 cat confdefs.h >>conftest.$ac_ext
26979 cat >>conftest.$ac_ext <<_ACEOF
26980 /* end confdefs.h. */
26985 rm -f conftest.$ac_objext
26986 if { (ac_try="$ac_compile"
26987 case "(($ac_try" in
26988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26989 *) ac_try_echo
=$ac_try;;
26991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26992 (eval "$ac_compile") 2>conftest.er1
26994 grep -v '^ *+' conftest.er1
>conftest.err
26996 cat conftest.err
>&5
26997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26998 (exit $ac_status); } && {
26999 test -z "$ac_c_werror_flag" ||
27000 test ! -s conftest.err
27001 } && test -s conftest.
$ac_objext; then
27002 ac_cv_header_png_h
=yes
27004 echo "$as_me: failed program was:" >&5
27005 sed 's/^/| /' conftest.
$ac_ext >&5
27007 ac_cv_header_png_h
=no
27010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27012 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27013 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
27017 if test "$ac_cv_header_png_h" = "yes"; then
27018 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27019 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
27020 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27021 echo $ECHO_N "(cached) $ECHO_C" >&6
27023 ac_check_lib_save_LIBS
=$LIBS
27024 LIBS
="-lpng -lz -lm $LIBS"
27025 cat >conftest.
$ac_ext <<_ACEOF
27028 cat confdefs.h
>>conftest.
$ac_ext
27029 cat >>conftest.
$ac_ext <<_ACEOF
27030 /* end confdefs.h. */
27032 /* Override any GCC internal prototype to avoid an error.
27033 Use char because int might match the return type of a GCC
27034 builtin and then its argument prototype would still apply. */
27038 char png_check_sig ();
27042 return png_check_sig ();
27047 rm -f conftest.
$ac_objext conftest
$ac_exeext
27048 if { (ac_try
="$ac_link"
27049 case "(($ac_try" in
27050 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27051 *) ac_try_echo=$ac_try;;
27053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27054 (eval "$ac_link") 2>conftest.er1
27056 grep -v '^ *+' conftest.er1 >conftest.err
27058 cat conftest.err >&5
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); } && {
27061 test -z "$ac_c_werror_flag" ||
27062 test ! -s conftest.err
27063 } && test -s conftest$ac_exeext &&
27064 $as_test_x conftest$ac_exeext; then
27065 ac_cv_lib_png_png_check_sig=yes
27067 echo "$as_me: failed program was:" >&5
27068 sed 's/^/| /' conftest.$ac_ext >&5
27070 ac_cv_lib_png_png_check_sig=no
27073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27074 conftest$ac_exeext conftest.$ac_ext
27075 LIBS=$ac_check_lib_save_LIBS
27077 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27078 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
27079 if test $ac_cv_lib_png_png_check_sig = yes; then
27080 PNG_LINK=" -lpng -lz"
27085 if test "x$PNG_LINK" = "x" ; then
27086 if test "$wxUSE_LIBPNG" = "sys" ; then
27087 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27088 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27089 { (exit 1); exit 1; }; }
27091 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27092 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27093 wxUSE_LIBPNG=builtin
27104 if test "$wxUSE_LIBJPEG" != "no" ; then
27105 cat >>confdefs.h <<\_ACEOF
27106 #define wxUSE_LIBJPEG 1
27110 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27111 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27112 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27116 if test "$wxUSE_MGL" != 1 ; then
27117 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27118 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27119 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
27120 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27121 echo $ECHO_N "(cached) $ECHO_C" >&6
27123 cat >conftest.$ac_ext <<_ACEOF
27126 cat confdefs.h >>conftest.$ac_ext
27127 cat >>conftest.$ac_ext <<_ACEOF
27128 /* end confdefs.h. */
27130 #undef HAVE_STDLIB_H
27132 #include <jpeglib.h>
27143 rm -f conftest.$ac_objext
27144 if { (ac_try="$ac_compile"
27145 case "(($ac_try" in
27146 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27147 *) ac_try_echo
=$ac_try;;
27149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27150 (eval "$ac_compile") 2>conftest.er1
27152 grep -v '^ *+' conftest.er1
>conftest.err
27154 cat conftest.err
>&5
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); } && {
27157 test -z "$ac_c_werror_flag" ||
27158 test ! -s conftest.err
27159 } && test -s conftest.
$ac_objext; then
27160 ac_cv_header_jpeglib_h
=yes
27162 echo "$as_me: failed program was:" >&5
27163 sed 's/^/| /' conftest.
$ac_ext >&5
27165 ac_cv_header_jpeglib_h
=no
27169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27173 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27174 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
27176 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27177 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27178 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
27179 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27180 echo $ECHO_N "(cached) $ECHO_C" >&6
27182 ac_check_lib_save_LIBS
=$LIBS
27183 LIBS
="-ljpeg $LIBS"
27184 cat >conftest.
$ac_ext <<_ACEOF
27187 cat confdefs.h
>>conftest.
$ac_ext
27188 cat >>conftest.
$ac_ext <<_ACEOF
27189 /* end confdefs.h. */
27191 /* Override any GCC internal prototype to avoid an error.
27192 Use char because int might match the return type of a GCC
27193 builtin and then its argument prototype would still apply. */
27197 char jpeg_read_header ();
27201 return jpeg_read_header ();
27206 rm -f conftest.
$ac_objext conftest
$ac_exeext
27207 if { (ac_try
="$ac_link"
27208 case "(($ac_try" in
27209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27210 *) ac_try_echo=$ac_try;;
27212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27213 (eval "$ac_link") 2>conftest.er1
27215 grep -v '^ *+' conftest.er1 >conftest.err
27217 cat conftest.err >&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); } && {
27220 test -z "$ac_c_werror_flag" ||
27221 test ! -s conftest.err
27222 } && test -s conftest$ac_exeext &&
27223 $as_test_x conftest$ac_exeext; then
27224 ac_cv_lib_jpeg_jpeg_read_header=yes
27226 echo "$as_me: failed program was:" >&5
27227 sed 's/^/| /' conftest.$ac_ext >&5
27229 ac_cv_lib_jpeg_jpeg_read_header=no
27232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27233 conftest$ac_exeext conftest.$ac_ext
27234 LIBS=$ac_check_lib_save_LIBS
27236 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27237 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27238 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27239 JPEG_LINK=" -ljpeg"
27244 if test "x$JPEG_LINK" = "x" ; then
27245 if test "$wxUSE_LIBJPEG" = "sys" ; then
27246 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27247 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27248 { (exit 1); exit 1; }; }
27250 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27251 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27252 wxUSE_LIBJPEG=builtin
27257 if test "$wxUSE_MSW" = 1; then
27258 { echo "$as_me:$LINENO: checking for boolean" >&5
27259 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27260 if test "${ac_cv_type_boolean+set}" = set; then
27261 echo $ECHO_N "(cached) $ECHO_C" >&6
27263 cat >conftest.$ac_ext <<_ACEOF
27266 cat confdefs.h >>conftest.$ac_ext
27267 cat >>conftest.$ac_ext <<_ACEOF
27268 /* end confdefs.h. */
27269 #include <windows.h>
27271 typedef boolean ac__type_new_;
27275 if ((ac__type_new_ *) 0)
27277 if (sizeof (ac__type_new_))
27283 rm -f conftest.$ac_objext
27284 if { (ac_try="$ac_compile"
27285 case "(($ac_try" in
27286 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27287 *) ac_try_echo
=$ac_try;;
27289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27290 (eval "$ac_compile") 2>conftest.er1
27292 grep -v '^ *+' conftest.er1
>conftest.err
27294 cat conftest.err
>&5
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); } && {
27297 test -z "$ac_c_werror_flag" ||
27298 test ! -s conftest.err
27299 } && test -s conftest.
$ac_objext; then
27300 ac_cv_type_boolean
=yes
27302 echo "$as_me: failed program was:" >&5
27303 sed 's/^/| /' conftest.
$ac_ext >&5
27305 ac_cv_type_boolean
=no
27308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27310 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27311 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27312 if test $ac_cv_type_boolean = yes; then
27314 cat >>confdefs.h
<<_ACEOF
27315 #define HAVE_BOOLEAN 1
27319 { echo "$as_me:$LINENO: checking for boolean" >&5
27320 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27321 if test "${ac_cv_type_boolean+set}" = set; then
27322 echo $ECHO_N "(cached) $ECHO_C" >&6
27324 cat >conftest.
$ac_ext <<_ACEOF
27327 cat confdefs.h
>>conftest.
$ac_ext
27328 cat >>conftest.
$ac_ext <<_ACEOF
27329 /* end confdefs.h. */
27331 #undef HAVE_BOOLEAN
27333 #include <jpeglib.h>
27336 typedef boolean ac__type_new_;
27340 if ((ac__type_new_ *) 0)
27342 if (sizeof (ac__type_new_))
27348 rm -f conftest.
$ac_objext
27349 if { (ac_try
="$ac_compile"
27350 case "(($ac_try" in
27351 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27352 *) ac_try_echo=$ac_try;;
27354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27355 (eval "$ac_compile") 2>conftest.er1
27357 grep -v '^ *+' conftest.er1 >conftest.err
27359 cat conftest.err >&5
27360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361 (exit $ac_status); } && {
27362 test -z "$ac_c_werror_flag" ||
27363 test ! -s conftest.err
27364 } && test -s conftest.$ac_objext; then
27365 ac_cv_type_boolean=yes
27367 echo "$as_me: failed program was:" >&5
27368 sed 's/^/| /' conftest.$ac_ext >&5
27370 ac_cv_type_boolean=no
27373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27375 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27376 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27378 # The cast to long int works around a bug in the HP C Compiler
27379 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27380 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27381 # This bug is HP SR number 8606223364.
27382 { echo "$as_me:$LINENO: checking size of boolean" >&5
27383 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27384 if test "${ac_cv_sizeof_boolean+set}" = set; then
27385 echo $ECHO_N "(cached) $ECHO_C" >&6
27387 if test "$cross_compiling" = yes; then
27388 # Depending upon the size, compute the lo and hi bounds.
27389 cat >conftest.$ac_ext <<_ACEOF
27392 cat confdefs.h >>conftest.$ac_ext
27393 cat >>conftest.$ac_ext <<_ACEOF
27394 /* end confdefs.h. */
27396 #undef HAVE_BOOLEAN
27398 #include <jpeglib.h>
27401 typedef boolean ac__type_sizeof_;
27405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27412 rm -f conftest.$ac_objext
27413 if { (ac_try="$ac_compile"
27414 case "(($ac_try" in
27415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27416 *) ac_try_echo=$ac_try;;
27418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27419 (eval "$ac_compile") 2>conftest.er1
27421 grep -v '^
*+' conftest.er1 >conftest.err
27423 cat conftest.err >&5
27424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27425 (exit $ac_status); } && {
27426 test -z "$ac_c_werror_flag" ||
27427 test ! -s conftest.err
27428 } && test -s conftest.$ac_objext; then
27431 cat >conftest.$ac_ext <<_ACEOF
27434 cat confdefs.h >>conftest.$ac_ext
27435 cat >>conftest.$ac_ext <<_ACEOF
27436 /* end confdefs.h. */
27438 #undef HAVE_BOOLEAN
27440 #include <jpeglib.h>
27443 typedef boolean ac__type_sizeof_;
27447 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27454 rm -f conftest.$ac_objext
27455 if { (ac_try="$ac_compile"
27456 case "(($ac_try" in
27457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27458 *) ac_try_echo=$ac_try;;
27460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27461 (eval "$ac_compile") 2>conftest.er1
27463 grep -v '^
*+' conftest.er1 >conftest.err
27465 cat conftest.err >&5
27466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467 (exit $ac_status); } && {
27468 test -z "$ac_c_werror_flag" ||
27469 test ! -s conftest.err
27470 } && test -s conftest.$ac_objext; then
27471 ac_hi=$ac_mid; break
27473 echo "$as_me: failed program was:" >&5
27474 sed 's
/^
/| /' conftest.$ac_ext >&5
27476 ac_lo=`expr $ac_mid + 1`
27477 if test $ac_lo -le $ac_mid; then
27481 ac_mid=`expr 2 '*' $ac_mid + 1`
27484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27487 echo "$as_me: failed program was:" >&5
27488 sed 's
/^
/| /' conftest.$ac_ext >&5
27490 cat >conftest.$ac_ext <<_ACEOF
27493 cat confdefs.h >>conftest.$ac_ext
27494 cat >>conftest.$ac_ext <<_ACEOF
27495 /* end confdefs.h. */
27497 #undef HAVE_BOOLEAN
27499 #include <jpeglib.h>
27502 typedef boolean ac__type_sizeof_;
27506 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27513 rm -f conftest.$ac_objext
27514 if { (ac_try="$ac_compile"
27515 case "(($ac_try" in
27516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27517 *) ac_try_echo=$ac_try;;
27519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27520 (eval "$ac_compile") 2>conftest.er1
27522 grep -v '^
*+' conftest.er1 >conftest.err
27524 cat conftest.err >&5
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); } && {
27527 test -z "$ac_c_werror_flag" ||
27528 test ! -s conftest.err
27529 } && test -s conftest.$ac_objext; then
27532 cat >conftest.$ac_ext <<_ACEOF
27535 cat confdefs.h >>conftest.$ac_ext
27536 cat >>conftest.$ac_ext <<_ACEOF
27537 /* end confdefs.h. */
27539 #undef HAVE_BOOLEAN
27541 #include <jpeglib.h>
27544 typedef boolean ac__type_sizeof_;
27548 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27555 rm -f conftest.$ac_objext
27556 if { (ac_try="$ac_compile"
27557 case "(($ac_try" in
27558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27559 *) ac_try_echo=$ac_try;;
27561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27562 (eval "$ac_compile") 2>conftest.er1
27564 grep -v '^
*+' conftest.er1 >conftest.err
27566 cat conftest.err >&5
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); } && {
27569 test -z "$ac_c_werror_flag" ||
27570 test ! -s conftest.err
27571 } && test -s conftest.$ac_objext; then
27572 ac_lo=$ac_mid; break
27574 echo "$as_me: failed program was:" >&5
27575 sed 's
/^
/| /' conftest.$ac_ext >&5
27577 ac_hi=`expr '(' $ac_mid ')' - 1`
27578 if test $ac_mid -le $ac_hi; then
27582 ac_mid=`expr 2 '*' $ac_mid`
27585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27588 echo "$as_me: failed program was:" >&5
27589 sed 's
/^
/| /' conftest.$ac_ext >&5
27594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27598 # Binary search between lo and hi bounds.
27599 while test "x$ac_lo" != "x$ac_hi"; do
27600 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27601 cat >conftest.$ac_ext <<_ACEOF
27604 cat confdefs.h >>conftest.$ac_ext
27605 cat >>conftest.$ac_ext <<_ACEOF
27606 /* end confdefs.h. */
27608 #undef HAVE_BOOLEAN
27610 #include <jpeglib.h>
27613 typedef boolean ac__type_sizeof_;
27617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27624 rm -f conftest.$ac_objext
27625 if { (ac_try="$ac_compile"
27626 case "(($ac_try" in
27627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27628 *) ac_try_echo=$ac_try;;
27630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27631 (eval "$ac_compile") 2>conftest.er1
27633 grep -v '^
*+' conftest.er1 >conftest.err
27635 cat conftest.err >&5
27636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27637 (exit $ac_status); } && {
27638 test -z "$ac_c_werror_flag" ||
27639 test ! -s conftest.err
27640 } && test -s conftest.$ac_objext; then
27643 echo "$as_me: failed program was:" >&5
27644 sed 's
/^
/| /' conftest.$ac_ext >&5
27646 ac_lo=`expr '(' $ac_mid ')' + 1`
27649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27652 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27653 '') if test "$ac_cv_type_boolean" = yes; then
27654 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27655 See \`config.log' for more details.
" >&5
27656 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27657 See \
`config.log' for more details." >&2;}
27658 { (exit 77); exit 77; }; }
27660 ac_cv_sizeof_boolean=0
27664 cat >conftest.$ac_ext <<_ACEOF
27667 cat confdefs.h >>conftest.$ac_ext
27668 cat >>conftest.$ac_ext <<_ACEOF
27669 /* end confdefs.h. */
27671 #undef HAVE_BOOLEAN
27673 #include <jpeglib.h>
27676 typedef boolean ac__type_sizeof_;
27677 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27678 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27680 #include <stdlib.h>
27685 FILE *f = fopen ("conftest.val", "w");
27688 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27690 long int i = longval ();
27691 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27693 fprintf (f, "%ld\n", i);
27697 unsigned long int i = ulongval ();
27698 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27700 fprintf (f, "%lu\n", i);
27702 return ferror (f) || fclose (f) != 0;
27708 rm -f conftest$ac_exeext
27709 if { (ac_try="$ac_link"
27710 case "(($ac_try" in
27711 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27712 *) ac_try_echo
=$ac_try;;
27714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27715 (eval "$ac_link") 2>&5
27717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27718 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27719 { (case "(($ac_try" in
27720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27721 *) ac_try_echo=$ac_try;;
27723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27724 (eval "$ac_try") 2>&5
27726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 (exit $ac_status); }; }; then
27728 ac_cv_sizeof_boolean=`cat conftest.val
`
27730 echo "$as_me: program exited with status $ac_status" >&5
27731 echo "$as_me: failed program was:" >&5
27732 sed 's/^/| /' conftest.$ac_ext >&5
27734 ( exit $ac_status )
27735 if test "$ac_cv_type_boolean" = yes; then
27736 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27737 See \`config.log
' for more details." >&5
27738 echo "$as_me: error: cannot compute sizeof (boolean)
27739 See \`config.log' for more details.
" >&2;}
27740 { (exit 77); exit 77; }; }
27742 ac_cv_sizeof_boolean=0
27745 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27749 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27750 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27754 cat >>confdefs.h <<_ACEOF
27755 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27759 cat >>confdefs.h <<_ACEOF
27760 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27774 TIFF_PREREQ_LINKS=-lm
27775 if test "$wxUSE_LIBTIFF" != "no
" ; then
27776 cat >>confdefs.h <<\_ACEOF
27777 #define wxUSE_LIBTIFF 1
27781 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27782 if test "$wxUSE_LIBJPEG" = "sys
"; then
27783 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27785 if test "$wxUSE_ZLIB" = "sys
"; then
27786 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27788 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27789 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27790 if test "${ac_cv_header_tiffio_h+set}" = set; then
27791 echo $ECHO_N "(cached
) $ECHO_C" >&6
27793 cat >conftest.$ac_ext <<_ACEOF
27796 cat confdefs.h >>conftest.$ac_ext
27797 cat >>conftest.$ac_ext <<_ACEOF
27798 /* end confdefs.h. */
27802 #include <tiffio.h>
27804 rm -f conftest.$ac_objext
27805 if { (ac_try="$ac_compile"
27806 case "(($ac_try" in
27807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27808 *) ac_try_echo=$ac_try;;
27810 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27811 (eval "$ac_compile") 2>conftest.er1
27813 grep -v '^ *+' conftest.er1 >conftest.err
27815 cat conftest.err >&5
27816 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27817 (exit $ac_status); } && {
27818 test -z "$ac_c_werror_flag" ||
27819 test ! -s conftest.err
27820 } && test -s conftest.$ac_objext; then
27821 ac_cv_header_tiffio_h=yes
27823 echo "$as_me: failed program was
:" >&5
27824 sed 's/^/| /' conftest.$ac_ext >&5
27826 ac_cv_header_tiffio_h=no
27829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27831 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27832 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27833 if test $ac_cv_header_tiffio_h = yes; then
27835 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27836 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27837 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27838 echo $ECHO_N "(cached
) $ECHO_C" >&6
27840 ac_check_lib_save_LIBS=$LIBS
27841 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27842 cat >conftest.$ac_ext <<_ACEOF
27845 cat confdefs.h >>conftest.$ac_ext
27846 cat >>conftest.$ac_ext <<_ACEOF
27847 /* end confdefs.h. */
27849 /* Override any GCC internal prototype to avoid an error.
27850 Use char because int might match the return type of a GCC
27851 builtin and then its argument prototype would still apply. */
27859 return TIFFError ();
27864 rm -f conftest.$ac_objext conftest$ac_exeext
27865 if { (ac_try="$ac_link"
27866 case "(($ac_try" in
27867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27868 *) ac_try_echo=$ac_try;;
27870 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27871 (eval "$ac_link") 2>conftest.er1
27873 grep -v '^ *+' conftest.er1 >conftest.err
27875 cat conftest.err >&5
27876 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27877 (exit $ac_status); } && {
27878 test -z "$ac_c_werror_flag" ||
27879 test ! -s conftest.err
27880 } && test -s conftest$ac_exeext &&
27881 $as_test_x conftest$ac_exeext; then
27882 ac_cv_lib_tiff_TIFFError=yes
27884 echo "$as_me: failed program was
:" >&5
27885 sed 's/^/| /' conftest.$ac_ext >&5
27887 ac_cv_lib_tiff_TIFFError=no
27890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27891 conftest$ac_exeext conftest.$ac_ext
27892 LIBS=$ac_check_lib_save_LIBS
27894 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27895 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27896 if test $ac_cv_lib_tiff_TIFFError = yes; then
27897 TIFF_LINK=" -ltiff"
27905 if test "x
$TIFF_LINK" = "x
" ; then
27906 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27907 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27908 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27909 { (exit 1); exit 1; }; }
27911 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27912 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27913 wxUSE_LIBTIFF=builtin
27919 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27920 if test "$wxUSE_LIBJPEG" = "no
"; then
27921 ac_configure_args="$ac_configure_args --disable-jpeg"
27923 subdirs="$subdirs src
/tiff
"
27929 if test "$wxUSE_WCHAR_T" != "yes"; then
27930 if test "$wxUSE_EXPAT" != "no
"; then
27931 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27932 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27935 if test "$wxUSE_XML" != "no
"; then
27936 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27937 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27942 if test "$wxUSE_EXPAT" != "no
"; then
27944 cat >>confdefs.h <<\_ACEOF
27945 #define wxUSE_EXPAT 1
27948 cat >>confdefs.h <<\_ACEOF
27949 #define wxUSE_XML 1
27953 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27954 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27955 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27956 if test "${ac_cv_header_expat_h+set}" = set; then
27957 echo $ECHO_N "(cached
) $ECHO_C" >&6
27959 cat >conftest.$ac_ext <<_ACEOF
27962 cat confdefs.h >>conftest.$ac_ext
27963 cat >>conftest.$ac_ext <<_ACEOF
27964 /* end confdefs.h. */
27969 rm -f conftest.$ac_objext
27970 if { (ac_try="$ac_compile"
27971 case "(($ac_try" in
27972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27973 *) ac_try_echo=$ac_try;;
27975 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27976 (eval "$ac_compile") 2>conftest.er1
27978 grep -v '^ *+' conftest.er1 >conftest.err
27980 cat conftest.err >&5
27981 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27982 (exit $ac_status); } && {
27983 test -z "$ac_c_werror_flag" ||
27984 test ! -s conftest.err
27985 } && test -s conftest.$ac_objext; then
27986 ac_cv_header_expat_h=yes
27988 echo "$as_me: failed program was
:" >&5
27989 sed 's/^/| /' conftest.$ac_ext >&5
27991 ac_cv_header_expat_h=no
27994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27996 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27997 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27998 if test $ac_cv_header_expat_h = yes; then
28003 if test "x
$found_expat_h" = "x1
"; then
28004 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
28005 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
28006 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28007 echo $ECHO_N "(cached
) $ECHO_C" >&6
28011 ac_cpp='$CXXCPP $CPPFLAGS'
28012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28016 cat >conftest.$ac_ext <<_ACEOF
28019 cat confdefs.h >>conftest.$ac_ext
28020 cat >>conftest.$ac_ext <<_ACEOF
28021 /* end confdefs.h. */
28031 rm -f conftest.$ac_objext
28032 if { (ac_try="$ac_compile"
28033 case "(($ac_try" in
28034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28035 *) ac_try_echo=$ac_try;;
28037 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28038 (eval "$ac_compile") 2>conftest.er1
28040 grep -v '^ *+' conftest.er1 >conftest.err
28042 cat conftest.err >&5
28043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28044 (exit $ac_status); } && {
28045 test -z "$ac_cxx_werror_flag" ||
28046 test ! -s conftest.err
28047 } && test -s conftest.$ac_objext; then
28048 wx_cv_expat_is_not_broken=yes
28050 echo "$as_me: failed program was
:" >&5
28051 sed 's/^/| /' conftest.$ac_ext >&5
28053 wx_cv_expat_is_not_broken=no
28057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28059 ac_cpp='$CPP $CPPFLAGS'
28060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28067 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
28068 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
28069 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28070 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
28071 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
28072 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28073 echo $ECHO_N "(cached
) $ECHO_C" >&6
28075 ac_check_lib_save_LIBS=$LIBS
28076 LIBS="-lexpat $LIBS"
28077 cat >conftest.$ac_ext <<_ACEOF
28080 cat confdefs.h >>conftest.$ac_ext
28081 cat >>conftest.$ac_ext <<_ACEOF
28082 /* end confdefs.h. */
28084 /* Override any GCC internal prototype to avoid an error.
28085 Use char because int might match the return type of a GCC
28086 builtin and then its argument prototype would still apply. */
28090 char XML_ParserCreate ();
28094 return XML_ParserCreate ();
28099 rm -f conftest.$ac_objext conftest$ac_exeext
28100 if { (ac_try="$ac_link"
28101 case "(($ac_try" in
28102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28103 *) ac_try_echo=$ac_try;;
28105 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28106 (eval "$ac_link") 2>conftest.er1
28108 grep -v '^ *+' conftest.er1 >conftest.err
28110 cat conftest.err >&5
28111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28112 (exit $ac_status); } && {
28113 test -z "$ac_c_werror_flag" ||
28114 test ! -s conftest.err
28115 } && test -s conftest$ac_exeext &&
28116 $as_test_x conftest$ac_exeext; then
28117 ac_cv_lib_expat_XML_ParserCreate=yes
28119 echo "$as_me: failed program was
:" >&5
28120 sed 's/^/| /' conftest.$ac_ext >&5
28122 ac_cv_lib_expat_XML_ParserCreate=no
28125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28126 conftest$ac_exeext conftest.$ac_ext
28127 LIBS=$ac_check_lib_save_LIBS
28129 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
28130 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
28131 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28132 EXPAT_LINK=" -lexpat"
28137 if test "x
$EXPAT_LINK" = "x
" ; then
28138 if test "$wxUSE_EXPAT" = "sys
" ; then
28139 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
28140 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
28141 { (exit 1); exit 1; }; }
28143 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
28144 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
28145 wxUSE_EXPAT=builtin
28151 if test "$wxUSE_EXPAT" = "builtin" ; then
28152 subdirs="$subdirs src
/expat
"
28159 if test "$wxUSE_LIBMSPACK" != "no
"; then
28160 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
28161 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
28162 if test "${ac_cv_header_mspack_h+set}" = set; then
28163 echo $ECHO_N "(cached
) $ECHO_C" >&6
28165 cat >conftest.$ac_ext <<_ACEOF
28168 cat confdefs.h >>conftest.$ac_ext
28169 cat >>conftest.$ac_ext <<_ACEOF
28170 /* end confdefs.h. */
28173 #include <mspack.h>
28175 rm -f conftest.$ac_objext
28176 if { (ac_try="$ac_compile"
28177 case "(($ac_try" in
28178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28179 *) ac_try_echo=$ac_try;;
28181 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28182 (eval "$ac_compile") 2>conftest.er1
28184 grep -v '^ *+' conftest.er1 >conftest.err
28186 cat conftest.err >&5
28187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28188 (exit $ac_status); } && {
28189 test -z "$ac_c_werror_flag" ||
28190 test ! -s conftest.err
28191 } && test -s conftest.$ac_objext; then
28192 ac_cv_header_mspack_h=yes
28194 echo "$as_me: failed program was
:" >&5
28195 sed 's/^/| /' conftest.$ac_ext >&5
28197 ac_cv_header_mspack_h=no
28200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28202 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
28203 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
28204 if test $ac_cv_header_mspack_h = yes; then
28209 if test "x
$found_mspack_h" = "x1
"; then
28210 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
28211 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
28212 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28213 echo $ECHO_N "(cached
) $ECHO_C" >&6
28215 ac_check_lib_save_LIBS=$LIBS
28216 LIBS="-lmspack $LIBS"
28217 cat >conftest.$ac_ext <<_ACEOF
28220 cat confdefs.h >>conftest.$ac_ext
28221 cat >>conftest.$ac_ext <<_ACEOF
28222 /* end confdefs.h. */
28224 /* Override any GCC internal prototype to avoid an error.
28225 Use char because int might match the return type of a GCC
28226 builtin and then its argument prototype would still apply. */
28230 char mspack_create_chm_decompressor ();
28234 return mspack_create_chm_decompressor ();
28239 rm -f conftest.$ac_objext conftest$ac_exeext
28240 if { (ac_try="$ac_link"
28241 case "(($ac_try" in
28242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28243 *) ac_try_echo=$ac_try;;
28245 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28246 (eval "$ac_link") 2>conftest.er1
28248 grep -v '^ *+' conftest.er1 >conftest.err
28250 cat conftest.err >&5
28251 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28252 (exit $ac_status); } && {
28253 test -z "$ac_c_werror_flag" ||
28254 test ! -s conftest.err
28255 } && test -s conftest$ac_exeext &&
28256 $as_test_x conftest$ac_exeext; then
28257 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28259 echo "$as_me: failed program was
:" >&5
28260 sed 's/^/| /' conftest.$ac_ext >&5
28262 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28266 conftest$ac_exeext conftest.$ac_ext
28267 LIBS=$ac_check_lib_save_LIBS
28269 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28270 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28271 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28272 MSPACK_LINK=" -lmspack"
28276 if test "x
$MSPACK_LINK" = "x
" ; then
28281 if test "$wxUSE_LIBMSPACK" != "no
"; then
28282 cat >>confdefs.h <<\_ACEOF
28283 #define wxUSE_LIBMSPACK 1
28297 if test "$USE_WIN32" = 1 ; then
28299 for ac_header in w32api.h
28301 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28302 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28303 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28304 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28305 echo $ECHO_N "(cached
) $ECHO_C" >&6
28307 cat >conftest.$ac_ext <<_ACEOF
28310 cat confdefs.h >>conftest.$ac_ext
28311 cat >>conftest.$ac_ext <<_ACEOF
28312 /* end confdefs.h. */
28315 #include <$ac_header>
28317 rm -f conftest.$ac_objext
28318 if { (ac_try="$ac_compile"
28319 case "(($ac_try" in
28320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28321 *) ac_try_echo=$ac_try;;
28323 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28324 (eval "$ac_compile") 2>conftest.er1
28326 grep -v '^ *+' conftest.er1 >conftest.err
28328 cat conftest.err >&5
28329 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28330 (exit $ac_status); } && {
28331 test -z "$ac_c_werror_flag" ||
28332 test ! -s conftest.err
28333 } && test -s conftest.$ac_objext; then
28334 eval "$as_ac_Header=yes"
28336 echo "$as_me: failed program was
:" >&5
28337 sed 's/^/| /' conftest.$ac_ext >&5
28339 eval "$as_ac_Header=no
"
28342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28344 ac_res=`eval echo '${'$as_ac_Header'}'`
28345 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28346 echo "${ECHO_T}$ac_res" >&6; }
28347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28348 cat >>confdefs.h <<_ACEOF
28349 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28356 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28357 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28358 if test "${ac_cv_header_windows_h+set}" = set; then
28359 echo $ECHO_N "(cached
) $ECHO_C" >&6
28361 cat >conftest.$ac_ext <<_ACEOF
28364 cat confdefs.h >>conftest.$ac_ext
28365 cat >>conftest.$ac_ext <<_ACEOF
28366 /* end confdefs.h. */
28369 #include <windows.h>
28371 rm -f conftest.$ac_objext
28372 if { (ac_try="$ac_compile"
28373 case "(($ac_try" in
28374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28375 *) ac_try_echo=$ac_try;;
28377 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28378 (eval "$ac_compile") 2>conftest.er1
28380 grep -v '^ *+' conftest.er1 >conftest.err
28382 cat conftest.err >&5
28383 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28384 (exit $ac_status); } && {
28385 test -z "$ac_c_werror_flag" ||
28386 test ! -s conftest.err
28387 } && test -s conftest.$ac_objext; then
28388 ac_cv_header_windows_h=yes
28390 echo "$as_me: failed program was
:" >&5
28391 sed 's/^/| /' conftest.$ac_ext >&5
28393 ac_cv_header_windows_h=no
28396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28398 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28399 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28400 if test $ac_cv_header_windows_h = yes; then
28404 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28405 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28406 { (exit 1); exit 1; }; }
28413 x86_64-*-mingw32* )
28414 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28416 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
28419 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28422 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28423 LIBS="$LIBS -loleacc"
28428 LIBS="$LIBS -lkernel32 -luser32"
28431 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28432 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28434 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28436 WIN32INSTALL=win32install
28438 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28439 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28440 if test "${ac_cv_header_pbt_h+set}" = set; then
28441 echo $ECHO_N "(cached
) $ECHO_C" >&6
28443 cat >conftest.$ac_ext <<_ACEOF
28446 cat confdefs.h >>conftest.$ac_ext
28447 cat >>conftest.$ac_ext <<_ACEOF
28448 /* end confdefs.h. */
28453 rm -f conftest.$ac_objext
28454 if { (ac_try="$ac_compile"
28455 case "(($ac_try" in
28456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28457 *) ac_try_echo=$ac_try;;
28459 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28460 (eval "$ac_compile") 2>conftest.er1
28462 grep -v '^ *+' conftest.er1 >conftest.err
28464 cat conftest.err >&5
28465 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28466 (exit $ac_status); } && {
28467 test -z "$ac_c_werror_flag" ||
28468 test ! -s conftest.err
28469 } && test -s conftest.$ac_objext; then
28470 ac_cv_header_pbt_h=yes
28472 echo "$as_me: failed program was
:" >&5
28473 sed 's/^/| /' conftest.$ac_ext >&5
28475 ac_cv_header_pbt_h=no
28478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28480 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28481 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28482 if test $ac_cv_header_pbt_h = yes; then
28485 cat >>confdefs.h <<\_ACEOF
28486 #define NEED_PBT_H 1
28494 if test "$wxUSE_GUI" = "yes"; then
28504 if test "$wxUSE_COCOA" = 1 ; then
28505 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28506 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28507 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28508 wxUSE_PRINTING_ARCHITECTURE=no
28510 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28511 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28512 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28513 wxUSE_DRAG_AND_DROP=no
28515 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28516 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28517 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28522 if test "$wxUSE_MSW" = 1 ; then
28528 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28532 if test "$wxUSE_GTK" = 1; then
28533 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28534 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28536 gtk_version_cached=1
28537 if test "${wx_cv_lib_gtk+set}" = set; then
28538 echo $ECHO_N "(cached
) $ECHO_C" >&6
28541 gtk_version_cached=0
28542 { echo "$as_me:$LINENO: result
: " >&5
28543 echo "${ECHO_T}" >&6; }
28546 if test "$wxUSE_THREADS" = "yes"; then
28547 GTK_MODULES=gthread
28551 if test "x
$wxGTK_VERSION" != "x1
"
28555 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28560 # Check whether --enable-gtktest was given.
28561 if test "${enable_gtktest+set}" = set; then
28562 enableval=$enable_gtktest;
28568 pkg_config_args=gtk+-2.0
28569 for module in . $GTK_MODULES
28573 pkg_config_args="$pkg_config_args gthread
-2.0
"
28580 # Extract the first word of "pkg
-config", so it can be a program name with args.
28581 set dummy pkg-config; ac_word=$2
28582 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28583 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28584 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28585 echo $ECHO_N "(cached
) $ECHO_C" >&6
28587 case $PKG_CONFIG in
28589 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28593 for as_dir in $PATH
28596 test -z "$as_dir" && as_dir=.
28597 for ac_exec_ext in '' $ac_executable_extensions; do
28598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28599 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28600 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28607 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28611 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28612 if test -n "$PKG_CONFIG"; then
28613 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28614 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28616 { echo "$as_me:$LINENO: result
: no
" >&5
28617 echo "${ECHO_T}no
" >&6; }
28622 if test x$PKG_CONFIG != xno ; then
28623 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28626 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28634 min_gtk_version=2.4.0
28635 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28636 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28638 if test x$PKG_CONFIG != xno ; then
28639 ## don't try to run the test against uninstalled libtool libs
28640 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28641 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28645 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28652 if test x"$no_gtk" = x ; then
28653 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28654 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28655 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28656 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28657 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28658 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28659 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28660 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28661 if test "x
$enable_gtktest" = "xyes
" ; then
28662 ac_save_CFLAGS="$CFLAGS"
28663 ac_save_LIBS="$LIBS"
28664 CFLAGS="$CFLAGS $GTK_CFLAGS"
28665 LIBS="$GTK_LIBS $LIBS"
28667 if test "$cross_compiling" = yes; then
28668 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28670 cat >conftest.$ac_ext <<_ACEOF
28673 cat confdefs.h >>conftest.$ac_ext
28674 cat >>conftest.$ac_ext <<_ACEOF
28675 /* end confdefs.h. */
28677 #include <gtk/gtk.h>
28679 #include <stdlib.h>
28684 int major, minor, micro;
28687 system ("touch conf.gtktest
");
28689 /* HP/UX 9 (%@#!) writes to sscanf strings */
28690 tmp_version = g_strdup("$min_gtk_version");
28691 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28692 printf("%s
, bad version string
\n", "$min_gtk_version");
28696 if ((gtk_major_version != $gtk_config_major_version) ||
28697 (gtk_minor_version != $gtk_config_minor_version) ||
28698 (gtk_micro_version != $gtk_config_micro_version))
28700 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28701 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28702 gtk_major_version, gtk_minor_version, gtk_micro_version);
28703 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28704 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28705 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28706 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28707 printf("*** required on your system.
\n");
28708 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28709 printf("*** to point to the correct configuration files
\n");
28711 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28712 (gtk_minor_version != GTK_MINOR_VERSION) ||
28713 (gtk_micro_version != GTK_MICRO_VERSION))
28715 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28716 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28717 printf("*** library
(version
%d.
%d.
%d
)\n",
28718 gtk_major_version, gtk_minor_version, gtk_micro_version);
28722 if ((gtk_major_version > major) ||
28723 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28724 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28730 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28731 gtk_major_version, gtk_minor_version, gtk_micro_version);
28732 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28733 major, minor, micro);
28734 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28736 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28737 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28738 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28739 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28740 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28741 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28742 printf("*** so that the correct libraries are found
at run
-time))\n");
28749 rm -f conftest$ac_exeext
28750 if { (ac_try="$ac_link"
28751 case "(($ac_try" in
28752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28753 *) ac_try_echo=$ac_try;;
28755 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28756 (eval "$ac_link") 2>&5
28758 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28759 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28760 { (case "(($ac_try" in
28761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28762 *) ac_try_echo=$ac_try;;
28764 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28765 (eval "$ac_try") 2>&5
28767 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28768 (exit $ac_status); }; }; then
28771 echo "$as_me: program exited with status
$ac_status" >&5
28772 echo "$as_me: failed program was
:" >&5
28773 sed 's/^/| /' conftest.$ac_ext >&5
28775 ( exit $ac_status )
28778 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28782 CFLAGS="$ac_save_CFLAGS"
28783 LIBS="$ac_save_LIBS"
28786 if test "x
$no_gtk" = x ; then
28787 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28788 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28791 { echo "$as_me:$LINENO: result
: no
" >&5
28792 echo "${ECHO_T}no
" >&6; }
28793 if test "$PKG_CONFIG" = "no
" ; then
28794 echo "*** A new enough version of pkg
-config was not found.
"
28795 echo "*** See http
://pkgconfig.sourceforge.net
"
28797 if test -f conf.gtktest ; then
28800 echo "*** Could not run GTK
+ test program
, checking why...
"
28801 ac_save_CFLAGS="$CFLAGS"
28802 ac_save_LIBS="$LIBS"
28803 CFLAGS="$CFLAGS $GTK_CFLAGS"
28804 LIBS="$LIBS $GTK_LIBS"
28805 cat >conftest.$ac_ext <<_ACEOF
28808 cat confdefs.h >>conftest.$ac_ext
28809 cat >>conftest.$ac_ext <<_ACEOF
28810 /* end confdefs.h. */
28812 #include <gtk/gtk.h>
28818 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28823 rm -f conftest.$ac_objext conftest$ac_exeext
28824 if { (ac_try="$ac_link"
28825 case "(($ac_try" in
28826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28827 *) ac_try_echo=$ac_try;;
28829 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28830 (eval "$ac_link") 2>conftest.er1
28832 grep -v '^ *+' conftest.er1 >conftest.err
28834 cat conftest.err >&5
28835 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28836 (exit $ac_status); } && {
28837 test -z "$ac_c_werror_flag" ||
28838 test ! -s conftest.err
28839 } && test -s conftest$ac_exeext &&
28840 $as_test_x conftest$ac_exeext; then
28841 echo "*** The
test program compiled
, but did not run. This usually means
"
28842 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28843 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28844 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28845 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28846 echo "*** is required on your system"
28848 echo "*** If you have an old version installed, it is best to remove it, although"
28849 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28851 echo "$as_me: failed program was:" >&5
28852 sed 's
/^
/| /' conftest.$ac_ext >&5
28854 echo "*** The test program failed to compile or link. See the file config.log for the"
28855 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28859 conftest$ac_exeext conftest.$ac_ext
28860 CFLAGS="$ac_save_CFLAGS"
28861 LIBS="$ac_save_LIBS"
28875 if test "$wxUSE_SHARED" != "yes"; then
28876 GTK_LIBS="$GTK_LIBS -lX11"
28881 if test -z "$wx_cv_lib_gtk"; then
28882 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28884 # Check whether --with-gtk-prefix was given.
28885 if test "${with_gtk_prefix+set}" = set; then
28886 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28888 gtk_config_prefix=""
28892 # Check whether --with-gtk-exec-prefix was given.
28893 if test "${with_gtk_exec_prefix+set}" = set; then
28894 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28896 gtk_config_exec_prefix=""
28899 # Check whether --enable-gtktest was given.
28900 if test "${enable_gtktest+set}" = set; then
28901 enableval=$enable_gtktest;
28907 for module in . $GTK_MODULES
28911 gtk_config_args="$gtk_config_args gthread"
28916 if test x$gtk_config_exec_prefix != x ; then
28917 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28918 if test x${GTK_CONFIG+set} != xset ; then
28919 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28922 if test x$gtk_config_prefix != x ; then
28923 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28924 if test x${GTK_CONFIG+set} != xset ; then
28925 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28929 # Extract the first word of "gtk-config", so it can be a program name with args.
28930 set dummy gtk-config; ac_word=$2
28931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28933 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28934 echo $ECHO_N "(cached) $ECHO_C" >&6
28936 case $GTK_CONFIG in
28938 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28942 for as_dir in $PATH
28945 test -z "$as_dir" && as_dir=.
28946 for ac_exec_ext in '' $ac_executable_extensions; do
28947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28948 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28956 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28960 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28961 if test -n "$GTK_CONFIG"; then
28962 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28963 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28965 { echo "$as_me:$LINENO: result: no" >&5
28966 echo "${ECHO_T}no" >&6; }
28970 min_gtk_version=1.2.7
28971 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28972 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28974 if test "$GTK_CONFIG" = "no" ; then
28977 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28978 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28979 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28980 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28981 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28982 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28983 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28984 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28985 if test "x$enable_gtktest" = "xyes" ; then
28986 ac_save_CFLAGS="$CFLAGS"
28987 ac_save_LIBS="$LIBS"
28988 CFLAGS="$CFLAGS $GTK_CFLAGS"
28989 LIBS="$GTK_LIBS $LIBS"
28991 if test "$cross_compiling" = yes; then
28992 echo $ac_n "cross compiling; assumed OK... $ac_c"
28994 cat >conftest.$ac_ext <<_ACEOF
28997 cat confdefs.h >>conftest.$ac_ext
28998 cat >>conftest.$ac_ext <<_ACEOF
28999 /* end confdefs.h. */
29001 #include <gtk/gtk.h>
29003 #include <stdlib.h>
29008 int major, minor, micro;
29011 system ("touch conf.gtktest");
29013 /* HP/UX 9 (%@#!) writes to sscanf strings */
29014 tmp_version = g_strdup("$min_gtk_version");
29015 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
29016 printf("%s, bad version string\n", "$min_gtk_version");
29020 if ((gtk_major_version != $gtk_config_major_version) ||
29021 (gtk_minor_version != $gtk_config_minor_version) ||
29022 (gtk_micro_version != $gtk_config_micro_version))
29024 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29025 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29026 gtk_major_version, gtk_minor_version, gtk_micro_version);
29027 printf ("*** was found! If gtk-config was correct, then it is best\n");
29028 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29029 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29030 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29031 printf("*** required on your system.\n");
29032 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29033 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29034 printf("*** before re-running configure\n");
29036 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29037 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29038 (gtk_minor_version != GTK_MINOR_VERSION) ||
29039 (gtk_micro_version != GTK_MICRO_VERSION))
29041 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29042 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29043 printf("*** library (version %d.%d.%d)\n",
29044 gtk_major_version, gtk_minor_version, gtk_micro_version);
29046 #endif /* defined (GTK_MAJOR_VERSION) ... */
29049 if ((gtk_major_version > major) ||
29050 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29051 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29057 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29058 gtk_major_version, gtk_minor_version, gtk_micro_version);
29059 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29060 major, minor, micro);
29061 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29063 printf("*** If you have already installed a sufficiently new version, this error\n");
29064 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29065 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29066 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29067 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29068 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29069 printf("*** so that the correct libraries are found at run-time))\n");
29076 rm -f conftest$ac_exeext
29077 if { (ac_try="$ac_link"
29078 case "(($ac_try" in
29079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29080 *) ac_try_echo=$ac_try;;
29082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29083 (eval "$ac_link") 2>&5
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
29087 { (case "(($ac_try" in
29088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29089 *) ac_try_echo=$ac_try;;
29091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29092 (eval "$ac_try") 2>&5
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); }; }; then
29098 echo "$as_me: program exited with status $ac_status" >&5
29099 echo "$as_me: failed program was:" >&5
29100 sed 's
/^
/| /' conftest.$ac_ext >&5
29102 ( exit $ac_status )
29105 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29109 CFLAGS="$ac_save_CFLAGS"
29110 LIBS="$ac_save_LIBS"
29113 if test "x$no_gtk" = x ; then
29114 { echo "$as_me:$LINENO: result: yes" >&5
29115 echo "${ECHO_T}yes" >&6; }
29116 wx_cv_lib_gtk=1.2.7
29118 { echo "$as_me:$LINENO: result: no" >&5
29119 echo "${ECHO_T}no" >&6; }
29120 if test "$GTK_CONFIG" = "no" ; then
29121 echo "*** The gtk-config script installed by GTK could not be found"
29122 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29123 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29124 echo "*** full path to gtk-config."
29126 if test -f conf.gtktest ; then
29129 echo "*** Could not run GTK test program, checking why..."
29130 CFLAGS="$CFLAGS $GTK_CFLAGS"
29131 LIBS="$LIBS $GTK_LIBS"
29132 cat >conftest.$ac_ext <<_ACEOF
29135 cat confdefs.h >>conftest.$ac_ext
29136 cat >>conftest.$ac_ext <<_ACEOF
29137 /* end confdefs.h. */
29139 #include <gtk/gtk.h>
29145 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29150 rm -f conftest.$ac_objext conftest$ac_exeext
29151 if { (ac_try="$ac_link"
29152 case "(($ac_try" in
29153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29154 *) ac_try_echo=$ac_try;;
29156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29157 (eval "$ac_link") 2>conftest.er1
29159 grep -v '^
*+' conftest.er1 >conftest.err
29161 cat conftest.err >&5
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); } && {
29164 test -z "$ac_c_werror_flag" ||
29165 test ! -s conftest.err
29166 } && test -s conftest$ac_exeext &&
29167 $as_test_x conftest$ac_exeext; then
29168 echo "*** The test program compiled, but did not run. This usually means"
29169 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29170 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
29171 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
29172 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
29173 echo "*** is required on your system
"
29175 echo "*** If you have an old version installed
, it is best to remove it
, although
"
29176 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
29178 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
29179 echo "*** came with the system with the
command"
29181 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
29183 echo "$as_me: failed program was
:" >&5
29184 sed 's/^/| /' conftest.$ac_ext >&5
29186 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
29187 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
29188 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
29189 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
29192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29193 conftest$ac_exeext conftest.$ac_ext
29194 CFLAGS="$ac_save_CFLAGS"
29195 LIBS="$ac_save_LIBS"
29207 if test -z "$wx_cv_lib_gtk"; then
29209 # Check whether --with-gtk-prefix was given.
29210 if test "${with_gtk_prefix+set}" = set; then
29211 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29213 gtk_config_prefix=""
29217 # Check whether --with-gtk-exec-prefix was given.
29218 if test "${with_gtk_exec_prefix+set}" = set; then
29219 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29221 gtk_config_exec_prefix=""
29224 # Check whether --enable-gtktest was given.
29225 if test "${enable_gtktest+set}" = set; then
29226 enableval=$enable_gtktest;
29232 for module in . $GTK_MODULES
29236 gtk_config_args="$gtk_config_args gthread
"
29241 if test x$gtk_config_exec_prefix != x ; then
29242 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29243 if test x${GTK_CONFIG+set} != xset ; then
29244 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29247 if test x$gtk_config_prefix != x ; then
29248 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29249 if test x${GTK_CONFIG+set} != xset ; then
29250 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29254 # Extract the first word of "gtk
-config", so it can be a program name with args.
29255 set dummy gtk-config; ac_word=$2
29256 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
29257 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
29258 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29259 echo $ECHO_N "(cached
) $ECHO_C" >&6
29261 case $GTK_CONFIG in
29263 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29267 for as_dir in $PATH
29270 test -z "$as_dir" && as_dir=.
29271 for ac_exec_ext in '' $ac_executable_extensions; do
29272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29273 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29274 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29281 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29285 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29286 if test -n "$GTK_CONFIG"; then
29287 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29288 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29290 { echo "$as_me:$LINENO: result
: no
" >&5
29291 echo "${ECHO_T}no
" >&6; }
29295 min_gtk_version=1.2.3
29296 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29297 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29299 if test "$GTK_CONFIG" = "no
" ; then
29302 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29303 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29304 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29305 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29306 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29308 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29310 if test "x
$enable_gtktest" = "xyes
" ; then
29311 ac_save_CFLAGS="$CFLAGS"
29312 ac_save_LIBS="$LIBS"
29313 CFLAGS="$CFLAGS $GTK_CFLAGS"
29314 LIBS="$GTK_LIBS $LIBS"
29316 if test "$cross_compiling" = yes; then
29317 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29319 cat >conftest.$ac_ext <<_ACEOF
29322 cat confdefs.h >>conftest.$ac_ext
29323 cat >>conftest.$ac_ext <<_ACEOF
29324 /* end confdefs.h. */
29326 #include <gtk/gtk.h>
29328 #include <stdlib.h>
29333 int major, minor, micro;
29336 system ("touch conf.gtktest
");
29338 /* HP/UX 9 (%@#!) writes to sscanf strings */
29339 tmp_version = g_strdup("$min_gtk_version");
29340 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29341 printf("%s
, bad version string
\n", "$min_gtk_version");
29345 if ((gtk_major_version != $gtk_config_major_version) ||
29346 (gtk_minor_version != $gtk_config_minor_version) ||
29347 (gtk_micro_version != $gtk_config_micro_version))
29349 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29350 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29351 gtk_major_version, gtk_minor_version, gtk_micro_version);
29352 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29353 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29354 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29355 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29356 printf("*** required on your system.
\n");
29357 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29358 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29359 printf("*** before re
-running configure
\n");
29361 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29362 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29363 (gtk_minor_version != GTK_MINOR_VERSION) ||
29364 (gtk_micro_version != GTK_MICRO_VERSION))
29366 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29367 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29368 printf("*** library
(version
%d.
%d.
%d
)\n",
29369 gtk_major_version, gtk_minor_version, gtk_micro_version);
29371 #endif /* defined (GTK_MAJOR_VERSION) ... */
29374 if ((gtk_major_version > major) ||
29375 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29376 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29382 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29383 gtk_major_version, gtk_minor_version, gtk_micro_version);
29384 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29385 major, minor, micro);
29386 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29388 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29389 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29390 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29391 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29392 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29393 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29394 printf("*** so that the correct libraries are found
at run
-time))\n");
29401 rm -f conftest$ac_exeext
29402 if { (ac_try="$ac_link"
29403 case "(($ac_try" in
29404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29405 *) ac_try_echo=$ac_try;;
29407 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29408 (eval "$ac_link") 2>&5
29410 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29411 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29412 { (case "(($ac_try" in
29413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29414 *) ac_try_echo=$ac_try;;
29416 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29417 (eval "$ac_try") 2>&5
29419 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29420 (exit $ac_status); }; }; then
29423 echo "$as_me: program exited with status
$ac_status" >&5
29424 echo "$as_me: failed program was
:" >&5
29425 sed 's/^/| /' conftest.$ac_ext >&5
29427 ( exit $ac_status )
29430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29434 CFLAGS="$ac_save_CFLAGS"
29435 LIBS="$ac_save_LIBS"
29438 if test "x
$no_gtk" = x ; then
29439 { echo "$as_me:$LINENO: result
: yes" >&5
29440 echo "${ECHO_T}yes" >&6; }
29441 wx_cv_lib_gtk=1.2.3
29443 { echo "$as_me:$LINENO: result
: no
" >&5
29444 echo "${ECHO_T}no
" >&6; }
29445 if test "$GTK_CONFIG" = "no
" ; then
29446 echo "*** The gtk
-config script installed by GTK could not be found
"
29447 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29448 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29449 echo "*** full path to gtk
-config.
"
29451 if test -f conf.gtktest ; then
29454 echo "*** Could not run GTK
test program
, checking why...
"
29455 CFLAGS="$CFLAGS $GTK_CFLAGS"
29456 LIBS="$LIBS $GTK_LIBS"
29457 cat >conftest.$ac_ext <<_ACEOF
29460 cat confdefs.h >>conftest.$ac_ext
29461 cat >>conftest.$ac_ext <<_ACEOF
29462 /* end confdefs.h. */
29464 #include <gtk/gtk.h>
29470 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29475 rm -f conftest.$ac_objext conftest$ac_exeext
29476 if { (ac_try="$ac_link"
29477 case "(($ac_try" in
29478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29479 *) ac_try_echo=$ac_try;;
29481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29482 (eval "$ac_link") 2>conftest.er1
29484 grep -v '^ *+' conftest.er1 >conftest.err
29486 cat conftest.err >&5
29487 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29488 (exit $ac_status); } && {
29489 test -z "$ac_c_werror_flag" ||
29490 test ! -s conftest.err
29491 } && test -s conftest$ac_exeext &&
29492 $as_test_x conftest$ac_exeext; then
29493 echo "*** The
test program compiled
, but did not run. This usually means
"
29494 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29495 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29496 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29497 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29498 echo "*** is required on your system"
29500 echo "*** If you have an old version installed, it is best to remove it, although"
29501 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29503 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29504 echo "*** came with the system with the command"
29506 echo "*** rpm --erase --nodeps gtk gtk-devel"
29508 echo "$as_me: failed program was:" >&5
29509 sed 's
/^
/| /' conftest.$ac_ext >&5
29511 echo "*** The test program failed to compile or link. See the file config.log for the"
29512 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29513 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29514 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29518 conftest$ac_exeext conftest.$ac_ext
29519 CFLAGS="$ac_save_CFLAGS"
29520 LIBS="$ac_save_LIBS"
29535 if test -z "$wx_cv_lib_gtk"; then
29538 wx_cv_cflags_gtk=$GTK_CFLAGS
29539 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29546 if test "$gtk_version_cached" = 1; then
29547 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29548 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29551 case "$wx_cv_lib_gtk" in
29560 *) { { echo "$as_me:$LINENO: error:
29561 The development files for GTK+ were not found. For GTK+ 2, please
29562 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29563 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29564 and that the version is 1.2.3 or above. Also check that the
29565 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29566 --libs' are in the LD_LIBRARY_PATH or equivalent.
29568 echo "$as_me: error:
29569 The development files for GTK+ were not found. For GTK+ 2, please
29570 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29571 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29572 and that the version is 1.2.3 or above. Also check that the
29573 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29574 --libs' are in the LD_LIBRARY_PATH or equivalent.
29576 { (exit 1); exit 1; }; }
29580 if test "$WXGTK2" = 1; then
29581 save_CFLAGS="$CFLAGS"
29583 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29584 LIBS="$LIBS $wx_cv_libs_gtk"
29586 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
29587 echo $ECHO_N "checking if GTK+ is version >= 2.18... $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. */
29595 #include <gtk/gtk.h>
29601 #if !GTK_CHECK_VERSION(2,18,0)
29609 rm -f conftest.$ac_objext
29610 if { (ac_try="$ac_compile"
29611 case "(($ac_try" in
29612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29613 *) ac_try_echo=$ac_try;;
29615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29616 (eval "$ac_compile") 2>conftest.er1
29618 grep -v '^
*+' conftest.er1 >conftest.err
29620 cat conftest.err >&5
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); } && {
29623 test -z "$ac_c_werror_flag" ||
29624 test ! -s conftest.err
29625 } && test -s conftest.$ac_objext; then
29627 cat >>confdefs.h <<\_ACEOF
29628 #define __WXGTK218__ 1
29631 cat >>confdefs.h <<\_ACEOF
29632 #define __WXGTK210__ 1
29635 cat >>confdefs.h <<\_ACEOF
29636 #define __WXGTK26__ 1
29639 { echo "$as_me:$LINENO: result: yes" >&5
29640 echo "${ECHO_T}yes" >&6; }
29644 echo "$as_me: failed program was:" >&5
29645 sed 's
/^
/| /' conftest.$ac_ext >&5
29648 { echo "$as_me:$LINENO: result: no" >&5
29649 echo "${ECHO_T}no" >&6; }
29654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29656 if test "$ac_wxgtk218" = 0; then
29657 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29658 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29659 cat >conftest.$ac_ext <<_ACEOF
29662 cat confdefs.h >>conftest.$ac_ext
29663 cat >>conftest.$ac_ext <<_ACEOF
29664 /* end confdefs.h. */
29666 #include <gtk/gtk.h>
29672 #if !GTK_CHECK_VERSION(2,10,0)
29680 rm -f conftest.$ac_objext
29681 if { (ac_try="$ac_compile"
29682 case "(($ac_try" in
29683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29684 *) ac_try_echo=$ac_try;;
29686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29687 (eval "$ac_compile") 2>conftest.er1
29689 grep -v '^
*+' conftest.er1 >conftest.err
29691 cat conftest.err >&5
29692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29693 (exit $ac_status); } && {
29694 test -z "$ac_c_werror_flag" ||
29695 test ! -s conftest.err
29696 } && test -s conftest.$ac_objext; then
29698 cat >>confdefs.h <<\_ACEOF
29699 #define __WXGTK210__ 1
29702 cat >>confdefs.h <<\_ACEOF
29703 #define __WXGTK26__ 1
29706 { echo "$as_me:$LINENO: result: yes" >&5
29707 echo "${ECHO_T}yes" >&6; }
29711 echo "$as_me: failed program was:" >&5
29712 sed 's
/^
/| /' conftest.$ac_ext >&5
29715 { echo "$as_me:$LINENO: result: no" >&5
29716 echo "${ECHO_T}no" >&6; }
29721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29723 if test "$ac_wxgtk210" = 0; then
29724 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29725 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29726 cat >conftest.$ac_ext <<_ACEOF
29729 cat confdefs.h >>conftest.$ac_ext
29730 cat >>conftest.$ac_ext <<_ACEOF
29731 /* end confdefs.h. */
29733 #include <gtk/gtk.h>
29739 #if !GTK_CHECK_VERSION(2,6,0)
29747 rm -f conftest.$ac_objext
29748 if { (ac_try="$ac_compile"
29749 case "(($ac_try" in
29750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29751 *) ac_try_echo=$ac_try;;
29753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29754 (eval "$ac_compile") 2>conftest.er1
29756 grep -v '^
*+' conftest.er1 >conftest.err
29758 cat conftest.err >&5
29759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29760 (exit $ac_status); } && {
29761 test -z "$ac_c_werror_flag" ||
29762 test ! -s conftest.err
29763 } && test -s conftest.$ac_objext; then
29765 cat >>confdefs.h <<\_ACEOF
29766 #define __WXGTK26__ 1
29769 { echo "$as_me:$LINENO: result: yes" >&5
29770 echo "${ECHO_T}yes" >&6; }
29774 echo "$as_me: failed program was:" >&5
29775 sed 's
/^
/| /' conftest.$ac_ext >&5
29778 { echo "$as_me:$LINENO: result: no" >&5
29779 echo "${ECHO_T}no" >&6; }
29784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29788 CFLAGS="$save_CFLAGS"
29791 if test "$wxUSE_UNICODE" = "yes"; then
29792 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29793 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29797 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29798 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29799 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29800 echo $ECHO_N "(cached) $ECHO_C" >&6
29802 ac_check_lib_save_LIBS=$LIBS
29804 cat >conftest.$ac_ext <<_ACEOF
29807 cat confdefs.h >>conftest.$ac_ext
29808 cat >>conftest.$ac_ext <<_ACEOF
29809 /* end confdefs.h. */
29811 /* Override any GCC internal prototype to avoid an error.
29812 Use char because int might match the return type of a GCC
29813 builtin and then its argument prototype would still apply. */
29817 char gdk_im_open ();
29821 return gdk_im_open ();
29826 rm -f conftest.$ac_objext conftest$ac_exeext
29827 if { (ac_try="$ac_link"
29828 case "(($ac_try" in
29829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29830 *) ac_try_echo=$ac_try;;
29832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29833 (eval "$ac_link") 2>conftest.er1
29835 grep -v '^
*+' conftest.er1 >conftest.err
29837 cat conftest.err >&5
29838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839 (exit $ac_status); } && {
29840 test -z "$ac_c_werror_flag" ||
29841 test ! -s conftest.err
29842 } && test -s conftest$ac_exeext &&
29843 $as_test_x conftest$ac_exeext; then
29844 ac_cv_lib_gdk_gdk_im_open=yes
29846 echo "$as_me: failed program was:" >&5
29847 sed 's
/^
/| /' conftest.$ac_ext >&5
29849 ac_cv_lib_gdk_gdk_im_open=no
29852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29853 conftest$ac_exeext conftest.$ac_ext
29854 LIBS=$ac_check_lib_save_LIBS
29856 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29857 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29858 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29859 cat >>confdefs.h <<\_ACEOF
29866 if test "$USE_DARWIN" != 1; then
29868 for ac_func in poll
29870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29871 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29873 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29874 echo $ECHO_N "(cached) $ECHO_C" >&6
29876 cat >conftest.$ac_ext <<_ACEOF
29879 cat confdefs.h >>conftest.$ac_ext
29880 cat >>conftest.$ac_ext <<_ACEOF
29881 /* end confdefs.h. */
29882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29884 #define $ac_func innocuous_$ac_func
29886 /* System header to define __stub macros and hopefully few prototypes,
29887 which can conflict with char $ac_func (); below.
29888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29889 <limits.h> exists even on freestanding compilers. */
29892 # include <limits.h>
29894 # include <assert.h>
29899 /* Override any GCC internal prototype to avoid an error.
29900 Use char because int might match the return type of a GCC
29901 builtin and then its argument prototype would still apply. */
29906 /* The GNU C library defines this for functions which it implements
29907 to always fail with ENOSYS. Some functions are actually named
29908 something starting with __ and the normal name is an alias. */
29909 #if defined __stub_$ac_func || defined __stub___$ac_func
29916 return $ac_func ();
29921 rm -f conftest.$ac_objext conftest$ac_exeext
29922 if { (ac_try="$ac_link"
29923 case "(($ac_try" in
29924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29925 *) ac_try_echo=$ac_try;;
29927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29928 (eval "$ac_link") 2>conftest.er1
29930 grep -v '^
*+' conftest.er1 >conftest.err
29932 cat conftest.err >&5
29933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29934 (exit $ac_status); } && {
29935 test -z "$ac_c_werror_flag" ||
29936 test ! -s conftest.err
29937 } && test -s conftest$ac_exeext &&
29938 $as_test_x conftest$ac_exeext; then
29939 eval "$as_ac_var=yes"
29941 echo "$as_me: failed program was:" >&5
29942 sed 's
/^
/| /' conftest.$ac_ext >&5
29944 eval "$as_ac_var=no"
29947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29948 conftest$ac_exeext conftest.$ac_ext
29950 ac_res=`eval echo '${'$as_ac_var'}'`
29951 { echo "$as_me:$LINENO: result: $ac_res" >&5
29952 echo "${ECHO_T}$ac_res" >&6; }
29953 if test `eval echo '${'$as_ac_var'}'` = yes; then
29954 cat >>confdefs.h <<_ACEOF
29955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29964 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29965 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29967 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
29969 AFMINSTALL=afminstall
29973 if test "$wxUSE_GPE" = "yes"; then
29974 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29975 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29978 for ac_dir in $SEARCH_LIB;
29980 for ac_extension in a so sl dylib dll.a; do
29981 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29982 ac_find_libraries=$ac_dir
29988 if test "$ac_find_libraries" != "" ; then
29990 if test "$ac_find_libraries" = "default location"; then
29993 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29995 if test $result = 0; then
29998 ac_path_to_link=" -L$ac_find_libraries"
30002 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30004 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30005 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30007 { echo "$as_me:$LINENO: result: not found" >&5
30008 echo "${ECHO_T}not found" >&6; }
30014 if test "$wxUSE_MGL" = 1; then
30015 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30016 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
30017 if test "x$MGL_ROOT" = x ; then
30018 { echo "$as_me:$LINENO: result: not found" >&5
30019 echo "${ECHO_T}not found" >&6; }
30020 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30021 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30022 { (exit 1); exit 1; }; }
30024 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30025 echo "${ECHO_T}$MGL_ROOT" >&6; }
30028 { echo "$as_me:$LINENO: checking for libmgl location" >&5
30029 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
30032 if test "x$wxUSE_SHARED" = xyes ; then
30033 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30035 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30039 mgl_os_candidates="dos32/dj2"
30042 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30043 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30044 { (exit 1); exit 1; }; }
30050 for mgl_os_i in $mgl_os_candidates ; do
30051 if test "x$mgl_os" = x ; then
30052 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30053 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30054 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30059 if test "x$mgl_lib_type" = x ; then
30060 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30061 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30062 mgl_lib_type=release
30069 if test "x$mgl_os" = x ; then
30070 { echo "$as_me:$LINENO: result: not found" >&5
30071 echo "${ECHO_T}not found" >&6; }
30072 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30073 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30074 { (exit 1); exit 1; }; }
30076 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30077 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
30079 wxUSE_UNIVERSAL="yes"
30081 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30082 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30084 AFMINSTALL=afminstall
30089 if test "$wxUSE_DFB" = 1; then
30092 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30093 if test -n "$ac_tool_prefix"; then
30094 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30095 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30098 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30099 echo $ECHO_N "(cached) $ECHO_C" >&6
30101 case $PKG_CONFIG in
30103 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30107 for as_dir in $PATH
30110 test -z "$as_dir" && as_dir=.
30111 for ac_exec_ext in '' $ac_executable_extensions; do
30112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30113 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30124 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30125 if test -n "$PKG_CONFIG"; then
30126 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30127 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30129 { echo "$as_me:$LINENO: result: no" >&5
30130 echo "${ECHO_T}no" >&6; }
30135 if test -z "$ac_cv_path_PKG_CONFIG"; then
30136 ac_pt_PKG_CONFIG=$PKG_CONFIG
30137 # Extract the first word of "pkg-config", so it can be a program name with args.
30138 set dummy pkg-config; ac_word=$2
30139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30141 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30142 echo $ECHO_N "(cached) $ECHO_C" >&6
30144 case $ac_pt_PKG_CONFIG in
30146 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30150 for as_dir in $PATH
30153 test -z "$as_dir" && as_dir=.
30154 for ac_exec_ext in '' $ac_executable_extensions; do
30155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30156 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30167 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30168 if test -n "$ac_pt_PKG_CONFIG"; then
30169 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30170 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30172 { echo "$as_me:$LINENO: result: no" >&5
30173 echo "${ECHO_T}no" >&6; }
30176 if test "x$ac_pt_PKG_CONFIG" = x; then
30179 case $cross_compiling:$ac_tool_warned in
30181 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30182 whose name does not start with the host triplet. If you think this
30183 configuration is useful to you, please write to autoconf@gnu.org." >&5
30184 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30185 whose name does not start with the host triplet. If you think this
30186 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30187 ac_tool_warned=yes ;;
30189 PKG_CONFIG=$ac_pt_PKG_CONFIG
30192 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30196 if test -n "$PKG_CONFIG"; then
30197 _pkg_min_version=0.9.0
30198 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30199 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30200 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30201 { echo "$as_me:$LINENO: result: yes" >&5
30202 echo "${ECHO_T}yes" >&6; }
30204 { echo "$as_me:$LINENO: result: no" >&5
30205 echo "${ECHO_T}no" >&6; }
30213 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30214 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
30216 if test -n "$PKG_CONFIG"; then
30217 if test -n "$DIRECTFB_CFLAGS"; then
30218 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30220 if test -n "$PKG_CONFIG" && \
30221 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30222 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); }; then
30226 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30234 if test -n "$PKG_CONFIG"; then
30235 if test -n "$DIRECTFB_LIBS"; then
30236 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30238 if test -n "$PKG_CONFIG" && \
30239 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30240 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); }; then
30244 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30255 if test $pkg_failed = yes; then
30257 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30258 _pkg_short_errors_supported=yes
30260 _pkg_short_errors_supported=no
30262 if test $_pkg_short_errors_supported = yes; then
30263 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30265 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30267 # Put the nasty error message in config.log where it belongs
30268 echo "$DIRECTFB_PKG_ERRORS" >&5
30271 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30272 echo "$as_me: error: DirectFB not found." >&2;}
30273 { (exit 1); exit 1; }; }
30276 elif test $pkg_failed = untried; then
30278 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30279 echo "$as_me: error: DirectFB not found." >&2;}
30280 { (exit 1); exit 1; }; }
30284 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30285 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30286 { echo "$as_me:$LINENO: result: yes" >&5
30287 echo "${ECHO_T}yes" >&6; }
30289 wxUSE_UNIVERSAL="yes"
30290 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30291 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30298 if test "$wxUSE_MICROWIN" = 1; then
30299 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30300 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30301 if test "x$MICROWINDOWS" = x ; then
30302 { echo "$as_me:$LINENO: result: not found" >&5
30303 echo "${ECHO_T}not found" >&6; }
30304 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30305 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30306 { (exit 1); exit 1; }; }
30308 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30309 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30312 if test -f $MICROWINDOWS/lib/libmwin.a; then
30313 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
30314 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
30316 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30317 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30318 { (exit 1); exit 1; }; }
30321 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30322 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30324 wxUSE_UNIVERSAL="yes"
30326 AFMINSTALL=afminstall
30328 GUIDIST=MICROWIN_DIST
30330 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30333 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30334 { echo "$as_me:$LINENO: checking for X" >&5
30335 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30338 # Check whether --with-x was given.
30339 if test "${with_x+set}" = set; then
30343 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30344 if test "x$with_x" = xno; then
30345 # The user explicitly disabled X.
30348 case $x_includes,$x_libraries in #(
30349 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30350 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30351 { (exit 1); exit 1; }; };; #(
30352 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30353 echo $ECHO_N "(cached) $ECHO_C" >&6
30355 # One or both of the vars are not set, and there is no cached value.
30356 ac_x_includes=no ac_x_libraries=no
30357 rm -f -r conftest.dir
30358 if mkdir conftest.dir; then
30360 cat >Imakefile <<'_ACEOF'
30362 @echo incroot='${INCROOT}'
30364 @echo usrlibdir='${USRLIBDIR}'
30366 @echo libdir='${LIBDIR}'
30368 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30369 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30370 for ac_var in incroot usrlibdir libdir; do
30371 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30373 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30374 for ac_extension in a so sl; do
30375 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30376 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30377 ac_im_usrlibdir=$ac_im_libdir; break
30380 # Screen out bogus values from the imake configuration. They are
30381 # bogus both because they are the default anyway, and because
30382 # using them would break gcc on systems where it needs fixed includes.
30383 case $ac_im_incroot in
30384 /usr/include) ac_x_includes= ;;
30385 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30387 case $ac_im_usrlibdir in
30388 /usr/lib | /lib) ;;
30389 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30393 rm -f -r conftest.dir
30396 # Standard set of common directories for X headers.
30397 # Check X11 before X11Rn because it is often a symlink to the current release.
30409 /usr
/local
/X
11/include
30410 /usr
/local
/X
11R
6/include
30411 /usr
/local
/X
11R
5/include
30412 /usr
/local
/X
11R
4/include
30414 /usr
/local
/include
/X11
30415 /usr
/local
/include
/X11R6
30416 /usr
/local
/include
/X11R5
30417 /usr
/local
/include
/X11R4
30421 /usr
/XFree
86/include
/X11
30425 /usr
/unsupported
/include
30426 /usr
/athena
/include
30427 /usr
/local
/x
11r
5/include
30428 /usr
/lpp
/Xamples
/include
30430 /usr
/openwin
/include
30431 /usr
/openwin
/share
/include
'
30433 if test "$ac_x_includes" = no; then
30434 # Guess where to find include files, by looking for Xlib.h.
30435 # First, try using that file with no special directory specified.
30436 cat >conftest.$ac_ext <<_ACEOF
30439 cat confdefs.h >>conftest.$ac_ext
30440 cat >>conftest.$ac_ext <<_ACEOF
30441 /* end confdefs.h. */
30442 #include <X11/Xlib.h>
30444 if { (ac_try="$ac_cpp conftest.$ac_ext"
30445 case "(($ac_try" in
30446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30447 *) ac_try_echo=$ac_try;;
30449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30452 grep -v '^
*+' conftest.er1 >conftest.err
30454 cat conftest.err >&5
30455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30456 (exit $ac_status); } >/dev/null && {
30457 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30458 test ! -s conftest.err
30460 # We can compile using X headers with no special include directory.
30463 echo "$as_me: failed program was:" >&5
30464 sed 's
/^
/| /' conftest.$ac_ext >&5
30466 for ac_dir in $ac_x_header_dirs; do
30467 if test -r "$ac_dir/X11/Xlib.h"; then
30468 ac_x_includes=$ac_dir
30474 rm -f conftest.err conftest.$ac_ext
30475 fi # $ac_x_includes = no
30477 if test "$ac_x_libraries" = no; then
30478 # Check for the libraries.
30479 # See if we find them without any special options.
30480 # Don't add to
$LIBS permanently.
30483 cat >conftest.
$ac_ext <<_ACEOF
30486 cat confdefs.h
>>conftest.
$ac_ext
30487 cat >>conftest.
$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30489 #include <X11/Xlib.h>
30498 rm -f conftest.
$ac_objext conftest
$ac_exeext
30499 if { (ac_try
="$ac_link"
30500 case "(($ac_try" in
30501 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30502 *) ac_try_echo=$ac_try;;
30504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30505 (eval "$ac_link") 2>conftest.er1
30507 grep -v '^ *+' conftest.er1 >conftest.err
30509 cat conftest.err >&5
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); } && {
30512 test -z "$ac_c_werror_flag" ||
30513 test ! -s conftest.err
30514 } && test -s conftest$ac_exeext &&
30515 $as_test_x conftest$ac_exeext; then
30517 # We can link X programs with no special library path.
30520 echo "$as_me: failed program was:" >&5
30521 sed 's/^/| /' conftest.$ac_ext >&5
30524 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30526 # Don't even attempt the hair of trying to link an X program!
30527 for ac_extension in a so sl; do
30528 if test -r "$ac_dir/libX11.$ac_extension"; then
30529 ac_x_libraries=$ac_dir
30536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30537 conftest$ac_exeext conftest.$ac_ext
30538 fi # $ac_x_libraries = no
30540 case $ac_x_includes,$ac_x_libraries in #(
30541 no,* | *,no | *\'*)
30542 # Didn't find X, or a directory has "'" in its name.
30543 ac_cv_have_x="have_x=no";; #(
30545 # Record where we found X for the cache.
30546 ac_cv_have_x="have_x=yes\
30547 ac_x_includes='$ac_x_includes'\
30548 ac_x_libraries='$ac_x_libraries'"
30554 eval "$ac_cv_have_x"
30557 if test "$have_x" != yes; then
30558 { echo "$as_me:$LINENO: result: $have_x" >&5
30559 echo "${ECHO_T}$have_x" >&6; }
30562 # If each of the values was on the command line, it overrides each guess.
30563 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30564 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30565 # Update the cache value to reflect the command line values.
30566 ac_cv_have_x="have_x=yes\
30567 ac_x_includes='$x_includes'\
30568 ac_x_libraries='$x_libraries'"
30569 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30570 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30573 if test "$no_x" = yes; then
30574 # Not all programs may use this symbol, but it does not hurt to define it.
30576 cat >>confdefs.h <<\_ACEOF
30577 #define X_DISPLAY_MISSING 1
30580 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30582 if test -n "$x_includes"; then
30583 X_CFLAGS="$X_CFLAGS -I$x_includes"
30586 # It would also be nice to do this for all -L options, not just this one.
30587 if test -n "$x_libraries"; then
30588 X_LIBS="$X_LIBS -L$x_libraries"
30589 # For Solaris; some versions of Sun CC require a space after -R and
30590 # others require no space. Words are not sufficient . . . .
30591 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30592 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30593 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30594 ac_xsave_c_werror_flag=$ac_c_werror_flag
30595 ac_c_werror_flag=yes
30596 cat >conftest.$ac_ext <<_ACEOF
30599 cat confdefs.h >>conftest.$ac_ext
30600 cat >>conftest.$ac_ext <<_ACEOF
30601 /* end confdefs.h. */
30611 rm -f conftest.$ac_objext conftest$ac_exeext
30612 if { (ac_try="$ac_link"
30613 case "(($ac_try" in
30614 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30615 *) ac_try_echo
=$ac_try;;
30617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30618 (eval "$ac_link") 2>conftest.er1
30620 grep -v '^ *+' conftest.er1
>conftest.err
30622 cat conftest.err
>&5
30623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30624 (exit $ac_status); } && {
30625 test -z "$ac_c_werror_flag" ||
30626 test ! -s conftest.err
30627 } && test -s conftest
$ac_exeext &&
30628 $as_test_x conftest
$ac_exeext; then
30629 { echo "$as_me:$LINENO: result: no" >&5
30630 echo "${ECHO_T}no" >&6; }
30631 X_LIBS
="$X_LIBS -R$x_libraries"
30633 echo "$as_me: failed program was:" >&5
30634 sed 's/^/| /' conftest.
$ac_ext >&5
30636 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30637 cat >conftest.
$ac_ext <<_ACEOF
30640 cat confdefs.h
>>conftest.
$ac_ext
30641 cat >>conftest.
$ac_ext <<_ACEOF
30642 /* end confdefs.h. */
30652 rm -f conftest.
$ac_objext conftest
$ac_exeext
30653 if { (ac_try
="$ac_link"
30654 case "(($ac_try" in
30655 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30656 *) ac_try_echo=$ac_try;;
30658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30659 (eval "$ac_link") 2>conftest.er1
30661 grep -v '^ *+' conftest.er1 >conftest.err
30663 cat conftest.err >&5
30664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665 (exit $ac_status); } && {
30666 test -z "$ac_c_werror_flag" ||
30667 test ! -s conftest.err
30668 } && test -s conftest$ac_exeext &&
30669 $as_test_x conftest$ac_exeext; then
30670 { echo "$as_me:$LINENO: result: yes" >&5
30671 echo "${ECHO_T}yes" >&6; }
30672 X_LIBS="$X_LIBS -R $x_libraries"
30674 echo "$as_me: failed program was:" >&5
30675 sed 's/^/| /' conftest.$ac_ext >&5
30677 { echo "$as_me:$LINENO: result: neither works" >&5
30678 echo "${ECHO_T}neither works" >&6; }
30681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30682 conftest$ac_exeext conftest.$ac_ext
30685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30686 conftest$ac_exeext conftest.$ac_ext
30687 ac_c_werror_flag=$ac_xsave_c_werror_flag
30688 LIBS=$ac_xsave_LIBS
30691 # Check for system-dependent libraries X programs must link with.
30692 # Do this before checking for the system-independent R6 libraries
30693 # (-lICE), since we may need -lsocket or whatever for X linking.
30695 if test "$ISC" = yes; then
30696 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30698 # Martyn Johnson says this is needed for Ultrix, if the X
30699 # libraries were built with DECnet support. And Karl Berry says
30700 # the Alpha needs dnet_stub (dnet does not exist).
30701 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30702 cat >conftest.$ac_ext <<_ACEOF
30705 cat confdefs.h >>conftest.$ac_ext
30706 cat >>conftest.$ac_ext <<_ACEOF
30707 /* end confdefs.h. */
30709 /* Override any GCC internal prototype to avoid an error.
30710 Use char because int might match the return type of a GCC
30711 builtin and then its argument prototype would still apply. */
30715 char XOpenDisplay ();
30719 return XOpenDisplay ();
30724 rm -f conftest.$ac_objext conftest$ac_exeext
30725 if { (ac_try="$ac_link"
30726 case "(($ac_try" in
30727 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30728 *) ac_try_echo
=$ac_try;;
30730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30731 (eval "$ac_link") 2>conftest.er1
30733 grep -v '^ *+' conftest.er1
>conftest.err
30735 cat conftest.err
>&5
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); } && {
30738 test -z "$ac_c_werror_flag" ||
30739 test ! -s conftest.err
30740 } && test -s conftest
$ac_exeext &&
30741 $as_test_x conftest
$ac_exeext; then
30744 echo "$as_me: failed program was:" >&5
30745 sed 's/^/| /' conftest.
$ac_ext >&5
30747 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30748 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30749 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30750 echo $ECHO_N "(cached) $ECHO_C" >&6
30752 ac_check_lib_save_LIBS
=$LIBS
30753 LIBS
="-ldnet $LIBS"
30754 cat >conftest.
$ac_ext <<_ACEOF
30757 cat confdefs.h
>>conftest.
$ac_ext
30758 cat >>conftest.
$ac_ext <<_ACEOF
30759 /* end confdefs.h. */
30761 /* Override any GCC internal prototype to avoid an error.
30762 Use char because int might match the return type of a GCC
30763 builtin and then its argument prototype would still apply. */
30771 return dnet_ntoa ();
30776 rm -f conftest.
$ac_objext conftest
$ac_exeext
30777 if { (ac_try
="$ac_link"
30778 case "(($ac_try" in
30779 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30780 *) ac_try_echo=$ac_try;;
30782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30783 (eval "$ac_link") 2>conftest.er1
30785 grep -v '^ *+' conftest.er1 >conftest.err
30787 cat conftest.err >&5
30788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30789 (exit $ac_status); } && {
30790 test -z "$ac_c_werror_flag" ||
30791 test ! -s conftest.err
30792 } && test -s conftest$ac_exeext &&
30793 $as_test_x conftest$ac_exeext; then
30794 ac_cv_lib_dnet_dnet_ntoa=yes
30796 echo "$as_me: failed program was:" >&5
30797 sed 's/^/| /' conftest.$ac_ext >&5
30799 ac_cv_lib_dnet_dnet_ntoa=no
30802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30803 conftest$ac_exeext conftest.$ac_ext
30804 LIBS=$ac_check_lib_save_LIBS
30806 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30807 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30808 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30809 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30812 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30813 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30814 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30815 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30816 echo $ECHO_N "(cached) $ECHO_C" >&6
30818 ac_check_lib_save_LIBS=$LIBS
30819 LIBS="-ldnet_stub $LIBS"
30820 cat >conftest.$ac_ext <<_ACEOF
30823 cat confdefs.h >>conftest.$ac_ext
30824 cat >>conftest.$ac_ext <<_ACEOF
30825 /* end confdefs.h. */
30827 /* Override any GCC internal prototype to avoid an error.
30828 Use char because int might match the return type of a GCC
30829 builtin and then its argument prototype would still apply. */
30837 return dnet_ntoa ();
30842 rm -f conftest.$ac_objext conftest$ac_exeext
30843 if { (ac_try="$ac_link"
30844 case "(($ac_try" in
30845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30846 *) ac_try_echo
=$ac_try;;
30848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30849 (eval "$ac_link") 2>conftest.er1
30851 grep -v '^ *+' conftest.er1
>conftest.err
30853 cat conftest.err
>&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); } && {
30856 test -z "$ac_c_werror_flag" ||
30857 test ! -s conftest.err
30858 } && test -s conftest
$ac_exeext &&
30859 $as_test_x conftest
$ac_exeext; then
30860 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30862 echo "$as_me: failed program was:" >&5
30863 sed 's/^/| /' conftest.
$ac_ext >&5
30865 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30868 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30869 conftest
$ac_exeext conftest.
$ac_ext
30870 LIBS
=$ac_check_lib_save_LIBS
30872 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30873 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30874 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30875 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30881 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30882 conftest
$ac_exeext conftest.
$ac_ext
30883 LIBS
="$ac_xsave_LIBS"
30885 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30886 # to get the SysV transport functions.
30887 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30889 # The nsl library prevents programs from opening the X display
30890 # on Irix 5.2, according to T.E. Dickey.
30891 # The functions gethostbyname, getservbyname, and inet_addr are
30892 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30893 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30894 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30895 if test "${ac_cv_func_gethostbyname+set}" = set; then
30896 echo $ECHO_N "(cached) $ECHO_C" >&6
30898 cat >conftest.
$ac_ext <<_ACEOF
30901 cat confdefs.h
>>conftest.
$ac_ext
30902 cat >>conftest.
$ac_ext <<_ACEOF
30903 /* end confdefs.h. */
30904 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30906 #define gethostbyname innocuous_gethostbyname
30908 /* System header to define __stub macros and hopefully few prototypes,
30909 which can conflict with char gethostbyname (); below.
30910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30911 <limits.h> exists even on freestanding compilers. */
30914 # include <limits.h>
30916 # include <assert.h>
30919 #undef gethostbyname
30921 /* Override any GCC internal prototype to avoid an error.
30922 Use char because int might match the return type of a GCC
30923 builtin and then its argument prototype would still apply. */
30927 char gethostbyname ();
30928 /* The GNU C library defines this for functions which it implements
30929 to always fail with ENOSYS. Some functions are actually named
30930 something starting with __ and the normal name is an alias. */
30931 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30938 return gethostbyname ();
30943 rm -f conftest.
$ac_objext conftest
$ac_exeext
30944 if { (ac_try
="$ac_link"
30945 case "(($ac_try" in
30946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30947 *) ac_try_echo=$ac_try;;
30949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30950 (eval "$ac_link") 2>conftest.er1
30952 grep -v '^ *+' conftest.er1 >conftest.err
30954 cat conftest.err >&5
30955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30956 (exit $ac_status); } && {
30957 test -z "$ac_c_werror_flag" ||
30958 test ! -s conftest.err
30959 } && test -s conftest$ac_exeext &&
30960 $as_test_x conftest$ac_exeext; then
30961 ac_cv_func_gethostbyname=yes
30963 echo "$as_me: failed program was:" >&5
30964 sed 's/^/| /' conftest.$ac_ext >&5
30966 ac_cv_func_gethostbyname=no
30969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30970 conftest$ac_exeext conftest.$ac_ext
30972 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30973 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30975 if test $ac_cv_func_gethostbyname = no; then
30976 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30977 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30978 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30979 echo $ECHO_N "(cached) $ECHO_C" >&6
30981 ac_check_lib_save_LIBS=$LIBS
30983 cat >conftest.$ac_ext <<_ACEOF
30986 cat confdefs.h >>conftest.$ac_ext
30987 cat >>conftest.$ac_ext <<_ACEOF
30988 /* end confdefs.h. */
30990 /* Override any GCC internal prototype to avoid an error.
30991 Use char because int might match the return type of a GCC
30992 builtin and then its argument prototype would still apply. */
30996 char gethostbyname ();
31000 return gethostbyname ();
31005 rm -f conftest.$ac_objext conftest$ac_exeext
31006 if { (ac_try="$ac_link"
31007 case "(($ac_try" in
31008 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31009 *) ac_try_echo
=$ac_try;;
31011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31012 (eval "$ac_link") 2>conftest.er1
31014 grep -v '^ *+' conftest.er1
>conftest.err
31016 cat conftest.err
>&5
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); } && {
31019 test -z "$ac_c_werror_flag" ||
31020 test ! -s conftest.err
31021 } && test -s conftest
$ac_exeext &&
31022 $as_test_x conftest
$ac_exeext; then
31023 ac_cv_lib_nsl_gethostbyname
=yes
31025 echo "$as_me: failed program was:" >&5
31026 sed 's/^/| /' conftest.
$ac_ext >&5
31028 ac_cv_lib_nsl_gethostbyname
=no
31031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31032 conftest
$ac_exeext conftest.
$ac_ext
31033 LIBS
=$ac_check_lib_save_LIBS
31035 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31036 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
31037 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31038 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
31041 if test $ac_cv_lib_nsl_gethostbyname = no
; then
31042 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31043 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
31044 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31045 echo $ECHO_N "(cached) $ECHO_C" >&6
31047 ac_check_lib_save_LIBS
=$LIBS
31049 cat >conftest.
$ac_ext <<_ACEOF
31052 cat confdefs.h
>>conftest.
$ac_ext
31053 cat >>conftest.
$ac_ext <<_ACEOF
31054 /* end confdefs.h. */
31056 /* Override any GCC internal prototype to avoid an error.
31057 Use char because int might match the return type of a GCC
31058 builtin and then its argument prototype would still apply. */
31062 char gethostbyname ();
31066 return gethostbyname ();
31071 rm -f conftest.
$ac_objext conftest
$ac_exeext
31072 if { (ac_try
="$ac_link"
31073 case "(($ac_try" in
31074 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31075 *) ac_try_echo=$ac_try;;
31077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31078 (eval "$ac_link") 2>conftest.er1
31080 grep -v '^ *+' conftest.er1 >conftest.err
31082 cat conftest.err >&5
31083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084 (exit $ac_status); } && {
31085 test -z "$ac_c_werror_flag" ||
31086 test ! -s conftest.err
31087 } && test -s conftest$ac_exeext &&
31088 $as_test_x conftest$ac_exeext; then
31089 ac_cv_lib_bsd_gethostbyname=yes
31091 echo "$as_me: failed program was:" >&5
31092 sed 's/^/| /' conftest.$ac_ext >&5
31094 ac_cv_lib_bsd_gethostbyname=no
31097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31098 conftest$ac_exeext conftest.$ac_ext
31099 LIBS=$ac_check_lib_save_LIBS
31101 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31102 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
31103 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31104 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31110 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31111 # socket/setsockopt and other routines are undefined under SCO ODT
31112 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31113 # on later versions), says Simon Leinen: it contains gethostby*
31114 # variants that don't use the name server (or something). -lsocket
31115 # must be given before -lnsl if both are needed. We assume that
31116 # if connect needs -lnsl, so does gethostbyname.
31117 { echo "$as_me:$LINENO: checking for connect" >&5
31118 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
31119 if test "${ac_cv_func_connect+set}" = set; then
31120 echo $ECHO_N "(cached) $ECHO_C" >&6
31122 cat >conftest.$ac_ext <<_ACEOF
31125 cat confdefs.h >>conftest.$ac_ext
31126 cat >>conftest.$ac_ext <<_ACEOF
31127 /* end confdefs.h. */
31128 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31130 #define connect innocuous_connect
31132 /* System header to define __stub macros and hopefully few prototypes,
31133 which can conflict with char connect (); below.
31134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31135 <limits.h> exists even on freestanding compilers. */
31138 # include <limits.h>
31140 # include <assert.h>
31145 /* Override any GCC internal prototype to avoid an error.
31146 Use char because int might match the return type of a GCC
31147 builtin and then its argument prototype would still apply. */
31152 /* The GNU C library defines this for functions which it implements
31153 to always fail with ENOSYS. Some functions are actually named
31154 something starting with __ and the normal name is an alias. */
31155 #if defined __stub_connect || defined __stub___connect
31167 rm -f conftest.$ac_objext conftest$ac_exeext
31168 if { (ac_try="$ac_link"
31169 case "(($ac_try" in
31170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31171 *) ac_try_echo
=$ac_try;;
31173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31174 (eval "$ac_link") 2>conftest.er1
31176 grep -v '^ *+' conftest.er1
>conftest.err
31178 cat conftest.err
>&5
31179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 (exit $ac_status); } && {
31181 test -z "$ac_c_werror_flag" ||
31182 test ! -s conftest.err
31183 } && test -s conftest
$ac_exeext &&
31184 $as_test_x conftest
$ac_exeext; then
31185 ac_cv_func_connect
=yes
31187 echo "$as_me: failed program was:" >&5
31188 sed 's/^/| /' conftest.
$ac_ext >&5
31190 ac_cv_func_connect
=no
31193 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31194 conftest
$ac_exeext conftest.
$ac_ext
31196 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31197 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
31199 if test $ac_cv_func_connect = no
; then
31200 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31201 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
31202 if test "${ac_cv_lib_socket_connect+set}" = set; then
31203 echo $ECHO_N "(cached) $ECHO_C" >&6
31205 ac_check_lib_save_LIBS
=$LIBS
31206 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
31207 cat >conftest.
$ac_ext <<_ACEOF
31210 cat confdefs.h
>>conftest.
$ac_ext
31211 cat >>conftest.
$ac_ext <<_ACEOF
31212 /* end confdefs.h. */
31214 /* Override any GCC internal prototype to avoid an error.
31215 Use char because int might match the return type of a GCC
31216 builtin and then its argument prototype would still apply. */
31229 rm -f conftest.
$ac_objext conftest
$ac_exeext
31230 if { (ac_try
="$ac_link"
31231 case "(($ac_try" in
31232 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31233 *) ac_try_echo=$ac_try;;
31235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31236 (eval "$ac_link") 2>conftest.er1
31238 grep -v '^ *+' conftest.er1 >conftest.err
31240 cat conftest.err >&5
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); } && {
31243 test -z "$ac_c_werror_flag" ||
31244 test ! -s conftest.err
31245 } && test -s conftest$ac_exeext &&
31246 $as_test_x conftest$ac_exeext; then
31247 ac_cv_lib_socket_connect=yes
31249 echo "$as_me: failed program was:" >&5
31250 sed 's/^/| /' conftest.$ac_ext >&5
31252 ac_cv_lib_socket_connect=no
31255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31256 conftest$ac_exeext conftest.$ac_ext
31257 LIBS=$ac_check_lib_save_LIBS
31259 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31260 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
31261 if test $ac_cv_lib_socket_connect = yes; then
31262 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31267 # Guillermo Gomez says -lposix is necessary on A/UX.
31268 { echo "$as_me:$LINENO: checking for remove" >&5
31269 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
31270 if test "${ac_cv_func_remove+set}" = set; then
31271 echo $ECHO_N "(cached) $ECHO_C" >&6
31273 cat >conftest.$ac_ext <<_ACEOF
31276 cat confdefs.h >>conftest.$ac_ext
31277 cat >>conftest.$ac_ext <<_ACEOF
31278 /* end confdefs.h. */
31279 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31281 #define remove innocuous_remove
31283 /* System header to define __stub macros and hopefully few prototypes,
31284 which can conflict with char remove (); below.
31285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31286 <limits.h> exists even on freestanding compilers. */
31289 # include <limits.h>
31291 # include <assert.h>
31296 /* Override any GCC internal prototype to avoid an error.
31297 Use char because int might match the return type of a GCC
31298 builtin and then its argument prototype would still apply. */
31303 /* The GNU C library defines this for functions which it implements
31304 to always fail with ENOSYS. Some functions are actually named
31305 something starting with __ and the normal name is an alias. */
31306 #if defined __stub_remove || defined __stub___remove
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_func_remove
=yes
31338 echo "$as_me: failed program was:" >&5
31339 sed 's/^/| /' conftest.
$ac_ext >&5
31341 ac_cv_func_remove
=no
31344 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31345 conftest
$ac_exeext conftest.
$ac_ext
31347 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31348 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31350 if test $ac_cv_func_remove = no
; then
31351 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31352 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31353 if test "${ac_cv_lib_posix_remove+set}" = set; then
31354 echo $ECHO_N "(cached) $ECHO_C" >&6
31356 ac_check_lib_save_LIBS
=$LIBS
31357 LIBS
="-lposix $LIBS"
31358 cat >conftest.
$ac_ext <<_ACEOF
31361 cat confdefs.h
>>conftest.
$ac_ext
31362 cat >>conftest.
$ac_ext <<_ACEOF
31363 /* end confdefs.h. */
31365 /* Override any GCC internal prototype to avoid an error.
31366 Use char because int might match the return type of a GCC
31367 builtin and then its argument prototype would still apply. */
31380 rm -f conftest.
$ac_objext conftest
$ac_exeext
31381 if { (ac_try
="$ac_link"
31382 case "(($ac_try" in
31383 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31384 *) ac_try_echo=$ac_try;;
31386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31387 (eval "$ac_link") 2>conftest.er1
31389 grep -v '^ *+' conftest.er1 >conftest.err
31391 cat conftest.err >&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); } && {
31394 test -z "$ac_c_werror_flag" ||
31395 test ! -s conftest.err
31396 } && test -s conftest$ac_exeext &&
31397 $as_test_x conftest$ac_exeext; then
31398 ac_cv_lib_posix_remove=yes
31400 echo "$as_me: failed program was:" >&5
31401 sed 's/^/| /' conftest.$ac_ext >&5
31403 ac_cv_lib_posix_remove=no
31406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31407 conftest$ac_exeext conftest.$ac_ext
31408 LIBS=$ac_check_lib_save_LIBS
31410 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31411 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31412 if test $ac_cv_lib_posix_remove = yes; then
31413 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31418 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31419 { echo "$as_me:$LINENO: checking for shmat" >&5
31420 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31421 if test "${ac_cv_func_shmat+set}" = set; then
31422 echo $ECHO_N "(cached) $ECHO_C" >&6
31424 cat >conftest.$ac_ext <<_ACEOF
31427 cat confdefs.h >>conftest.$ac_ext
31428 cat >>conftest.$ac_ext <<_ACEOF
31429 /* end confdefs.h. */
31430 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31432 #define shmat innocuous_shmat
31434 /* System header to define __stub macros and hopefully few prototypes,
31435 which can conflict with char shmat (); below.
31436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31437 <limits.h> exists even on freestanding compilers. */
31440 # include <limits.h>
31442 # include <assert.h>
31447 /* Override any GCC internal prototype to avoid an error.
31448 Use char because int might match the return type of a GCC
31449 builtin and then its argument prototype would still apply. */
31454 /* The GNU C library defines this for functions which it implements
31455 to always fail with ENOSYS. Some functions are actually named
31456 something starting with __ and the normal name is an alias. */
31457 #if defined __stub_shmat || defined __stub___shmat
31469 rm -f conftest.$ac_objext conftest$ac_exeext
31470 if { (ac_try="$ac_link"
31471 case "(($ac_try" in
31472 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31473 *) ac_try_echo
=$ac_try;;
31475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31476 (eval "$ac_link") 2>conftest.er1
31478 grep -v '^ *+' conftest.er1
>conftest.err
31480 cat conftest.err
>&5
31481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31482 (exit $ac_status); } && {
31483 test -z "$ac_c_werror_flag" ||
31484 test ! -s conftest.err
31485 } && test -s conftest
$ac_exeext &&
31486 $as_test_x conftest
$ac_exeext; then
31487 ac_cv_func_shmat
=yes
31489 echo "$as_me: failed program was:" >&5
31490 sed 's/^/| /' conftest.
$ac_ext >&5
31492 ac_cv_func_shmat
=no
31495 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31496 conftest
$ac_exeext conftest.
$ac_ext
31498 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31499 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31501 if test $ac_cv_func_shmat = no
; then
31502 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31503 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31504 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31505 echo $ECHO_N "(cached) $ECHO_C" >&6
31507 ac_check_lib_save_LIBS
=$LIBS
31509 cat >conftest.
$ac_ext <<_ACEOF
31512 cat confdefs.h
>>conftest.
$ac_ext
31513 cat >>conftest.
$ac_ext <<_ACEOF
31514 /* end confdefs.h. */
31516 /* Override any GCC internal prototype to avoid an error.
31517 Use char because int might match the return type of a GCC
31518 builtin and then its argument prototype would still apply. */
31531 rm -f conftest.
$ac_objext conftest
$ac_exeext
31532 if { (ac_try
="$ac_link"
31533 case "(($ac_try" in
31534 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31535 *) ac_try_echo=$ac_try;;
31537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31538 (eval "$ac_link") 2>conftest.er1
31540 grep -v '^ *+' conftest.er1 >conftest.err
31542 cat conftest.err >&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); } && {
31545 test -z "$ac_c_werror_flag" ||
31546 test ! -s conftest.err
31547 } && test -s conftest$ac_exeext &&
31548 $as_test_x conftest$ac_exeext; then
31549 ac_cv_lib_ipc_shmat=yes
31551 echo "$as_me: failed program was:" >&5
31552 sed 's/^/| /' conftest.$ac_ext >&5
31554 ac_cv_lib_ipc_shmat=no
31557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31558 conftest$ac_exeext conftest.$ac_ext
31559 LIBS=$ac_check_lib_save_LIBS
31561 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31562 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31563 if test $ac_cv_lib_ipc_shmat = yes; then
31564 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31570 # Check for libraries that X11R6 Xt/Xaw programs need.
31571 ac_save_LDFLAGS=$LDFLAGS
31572 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31573 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31574 # check for ICE first), but we must link in the order -lSM -lICE or
31575 # we get undefined symbols. So assume we have SM if we have ICE.
31576 # These have to be linked with before -lX11, unlike the other
31577 # libraries we check for below, so use a different variable.
31578 # John Interrante, Karl Berry
31579 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31580 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31581 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31582 echo $ECHO_N "(cached) $ECHO_C" >&6
31584 ac_check_lib_save_LIBS=$LIBS
31585 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31586 cat >conftest.$ac_ext <<_ACEOF
31589 cat confdefs.h >>conftest.$ac_ext
31590 cat >>conftest.$ac_ext <<_ACEOF
31591 /* end confdefs.h. */
31593 /* Override any GCC internal prototype to avoid an error.
31594 Use char because int might match the return type of a GCC
31595 builtin and then its argument prototype would still apply. */
31599 char IceConnectionNumber ();
31603 return IceConnectionNumber ();
31608 rm -f conftest.$ac_objext conftest$ac_exeext
31609 if { (ac_try="$ac_link"
31610 case "(($ac_try" in
31611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31612 *) ac_try_echo
=$ac_try;;
31614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31615 (eval "$ac_link") 2>conftest.er1
31617 grep -v '^ *+' conftest.er1
>conftest.err
31619 cat conftest.err
>&5
31620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31621 (exit $ac_status); } && {
31622 test -z "$ac_c_werror_flag" ||
31623 test ! -s conftest.err
31624 } && test -s conftest
$ac_exeext &&
31625 $as_test_x conftest
$ac_exeext; then
31626 ac_cv_lib_ICE_IceConnectionNumber
=yes
31628 echo "$as_me: failed program was:" >&5
31629 sed 's/^/| /' conftest.
$ac_ext >&5
31631 ac_cv_lib_ICE_IceConnectionNumber
=no
31634 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31635 conftest
$ac_exeext conftest.
$ac_ext
31636 LIBS
=$ac_check_lib_save_LIBS
31638 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31639 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31640 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31641 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31644 LDFLAGS
=$ac_save_LDFLAGS
31649 if test "$no_x" = "yes"; then
31650 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31651 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31652 { (exit 1); exit 1; }; }
31655 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31656 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31657 AFMINSTALL
=afminstall
31658 COMPILED_X_PROGRAM
=0
31662 if test "$wxUSE_X11" = 1; then
31663 if test "$wxUSE_NANOX" = "yes"; then
31664 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31665 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31666 if test "x$MICROWIN" = x
; then
31667 { echo "$as_me:$LINENO: result: not found" >&5
31668 echo "${ECHO_T}not found" >&6; }
31669 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31670 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31671 { (exit 1); exit 1; }; }
31673 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31674 echo "${ECHO_T}$MICROWIN" >&6; }
31675 cat >>confdefs.h
<<\_ACEOF
31676 #define wxUSE_NANOX 1
31682 if test "$wxUSE_UNICODE" = "yes"; then
31685 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31686 if test -n "$ac_tool_prefix"; then
31687 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31688 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31691 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31692 echo $ECHO_N "(cached) $ECHO_C" >&6
31694 case $PKG_CONFIG in
31696 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31700 for as_dir
in $PATH
31703 test -z "$as_dir" && as_dir
=.
31704 for ac_exec_ext
in '' $ac_executable_extensions; do
31705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31706 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31717 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31718 if test -n "$PKG_CONFIG"; then
31719 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31720 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31722 { echo "$as_me:$LINENO: result: no" >&5
31723 echo "${ECHO_T}no" >&6; }
31728 if test -z "$ac_cv_path_PKG_CONFIG"; then
31729 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31730 # Extract the first word of "pkg-config", so it can be a program name with args.
31731 set dummy pkg
-config; ac_word
=$2
31732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31734 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31735 echo $ECHO_N "(cached) $ECHO_C" >&6
31737 case $ac_pt_PKG_CONFIG in
31739 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31743 for as_dir
in $PATH
31746 test -z "$as_dir" && as_dir
=.
31747 for ac_exec_ext
in '' $ac_executable_extensions; do
31748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31749 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31760 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31761 if test -n "$ac_pt_PKG_CONFIG"; then
31762 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31763 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31765 { echo "$as_me:$LINENO: result: no" >&5
31766 echo "${ECHO_T}no" >&6; }
31769 if test "x$ac_pt_PKG_CONFIG" = x
; then
31772 case $cross_compiling:$ac_tool_warned in
31774 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31775 whose name does not start with the host triplet. If you think this
31776 configuration is useful to you, please write to autoconf@gnu.org." >&5
31777 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31778 whose name does not start with the host triplet. If you think this
31779 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31780 ac_tool_warned
=yes ;;
31782 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31785 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31789 if test -n "$PKG_CONFIG"; then
31790 _pkg_min_version
=0.9.0
31791 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31792 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31793 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31794 { echo "$as_me:$LINENO: result: yes" >&5
31795 echo "${ECHO_T}yes" >&6; }
31797 { echo "$as_me:$LINENO: result: no" >&5
31798 echo "${ECHO_T}no" >&6; }
31806 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31807 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31809 if test -n "$PKG_CONFIG"; then
31810 if test -n "$PANGOX_CFLAGS"; then
31811 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31813 if test -n "$PKG_CONFIG" && \
31814 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31815 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31818 (exit $ac_status); }; then
31819 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31827 if test -n "$PKG_CONFIG"; then
31828 if test -n "$PANGOX_LIBS"; then
31829 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31831 if test -n "$PKG_CONFIG" && \
31832 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31833 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31836 (exit $ac_status); }; then
31837 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31848 if test $pkg_failed = yes; then
31850 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31851 _pkg_short_errors_supported
=yes
31853 _pkg_short_errors_supported
=no
31855 if test $_pkg_short_errors_supported = yes; then
31856 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31858 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31860 # Put the nasty error message in config.log where it belongs
31861 echo "$PANGOX_PKG_ERRORS" >&5
31864 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31865 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31866 { (exit 1); exit 1; }; }
31869 elif test $pkg_failed = untried
; then
31871 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31872 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31873 { (exit 1); exit 1; }; }
31877 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31878 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31879 { echo "$as_me:$LINENO: result: yes" >&5
31880 echo "${ECHO_T}yes" >&6; }
31882 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31883 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31884 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31889 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31890 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31892 if test -n "$PKG_CONFIG"; then
31893 if test -n "$PANGOFT2_CFLAGS"; then
31894 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31896 if test -n "$PKG_CONFIG" && \
31897 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31898 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); }; then
31902 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31910 if test -n "$PKG_CONFIG"; then
31911 if test -n "$PANGOFT2_LIBS"; then
31912 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31914 if test -n "$PKG_CONFIG" && \
31915 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31916 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31919 (exit $ac_status); }; then
31920 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31931 if test $pkg_failed = yes; then
31933 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31934 _pkg_short_errors_supported
=yes
31936 _pkg_short_errors_supported
=no
31938 if test $_pkg_short_errors_supported = yes; then
31939 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31941 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31943 # Put the nasty error message in config.log where it belongs
31944 echo "$PANGOFT2_PKG_ERRORS" >&5
31947 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31948 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31949 wxUSE_PRINTING_ARCHITECTURE
="no"
31952 elif test $pkg_failed = untried
; then
31954 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31955 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31956 wxUSE_PRINTING_ARCHITECTURE
="no"
31960 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31961 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31962 { echo "$as_me:$LINENO: result: yes" >&5
31963 echo "${ECHO_T}yes" >&6; }
31965 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31966 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31967 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31972 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31973 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31975 if test -n "$PKG_CONFIG"; then
31976 if test -n "$PANGOXFT_CFLAGS"; then
31977 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31979 if test -n "$PKG_CONFIG" && \
31980 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31981 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31984 (exit $ac_status); }; then
31985 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31993 if test -n "$PKG_CONFIG"; then
31994 if test -n "$PANGOXFT_LIBS"; then
31995 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31997 if test -n "$PKG_CONFIG" && \
31998 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31999 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32002 (exit $ac_status); }; then
32003 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32014 if test $pkg_failed = yes; then
32016 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32017 _pkg_short_errors_supported
=yes
32019 _pkg_short_errors_supported
=no
32021 if test $_pkg_short_errors_supported = yes; then
32022 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32024 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32026 # Put the nasty error message in config.log where it belongs
32027 echo "$PANGOXFT_PKG_ERRORS" >&5
32030 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32031 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32034 elif test $pkg_failed = untried
; then
32036 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32037 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32041 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
32042 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
32043 { echo "$as_me:$LINENO: result: yes" >&5
32044 echo "${ECHO_T}yes" >&6; }
32046 cat >>confdefs.h
<<\_ACEOF
32047 #define HAVE_PANGO_XFT 1
32050 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
32051 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
32052 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32056 LIBS
="$LIBS $PANGOX_LIBS"
32058 for ac_func
in pango_font_family_is_monospace
32060 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32061 { echo "$as_me:$LINENO: checking for $ac_func" >&5
32062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32063 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32064 echo $ECHO_N "(cached) $ECHO_C" >&6
32066 cat >conftest.
$ac_ext <<_ACEOF
32069 cat confdefs.h
>>conftest.
$ac_ext
32070 cat >>conftest.
$ac_ext <<_ACEOF
32071 /* end confdefs.h. */
32072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32074 #define $ac_func innocuous_$ac_func
32076 /* System header to define __stub macros and hopefully few prototypes,
32077 which can conflict with char $ac_func (); below.
32078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32079 <limits.h> exists even on freestanding compilers. */
32082 # include <limits.h>
32084 # include <assert.h>
32089 /* Override any GCC internal prototype to avoid an error.
32090 Use char because int might match the return type of a GCC
32091 builtin and then its argument prototype would still apply. */
32096 /* The GNU C library defines this for functions which it implements
32097 to always fail with ENOSYS. Some functions are actually named
32098 something starting with __ and the normal name is an alias. */
32099 #if defined __stub_$ac_func || defined __stub___$ac_func
32106 return $ac_func ();
32111 rm -f conftest.
$ac_objext conftest
$ac_exeext
32112 if { (ac_try
="$ac_link"
32113 case "(($ac_try" in
32114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32115 *) ac_try_echo=$ac_try;;
32117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32118 (eval "$ac_link") 2>conftest.er1
32120 grep -v '^ *+' conftest.er1 >conftest.err
32122 cat conftest.err >&5
32123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124 (exit $ac_status); } && {
32125 test -z "$ac_c_werror_flag" ||
32126 test ! -s conftest.err
32127 } && test -s conftest$ac_exeext &&
32128 $as_test_x conftest$ac_exeext; then
32129 eval "$as_ac_var=yes"
32131 echo "$as_me: failed program was:" >&5
32132 sed 's/^/| /' conftest.$ac_ext >&5
32134 eval "$as_ac_var=no"
32137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32138 conftest$ac_exeext conftest.$ac_ext
32140 ac_res=`eval echo '${'$as_ac_var'}'`
32141 { echo "$as_me:$LINENO: result: $ac_res" >&5
32142 echo "${ECHO_T}$ac_res" >&6; }
32143 if test `eval echo '${'$as_ac_var'}'` = yes; then
32144 cat >>confdefs.h <<_ACEOF
32145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32154 wxUSE_UNIVERSAL="yes"
32156 if test "$wxUSE_NANOX" = "yes"; then
32157 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32158 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"
32159 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32161 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32168 if test "$wxUSE_MOTIF" = 1; then
32169 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32170 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
32173 for ac_dir in $SEARCH_INCLUDE /usr/include;
32175 if test -f "$ac_dir/Xm/Xm.h"; then
32176 ac_find_includes=$ac_dir
32181 if test "$ac_find_includes" != "" ; then
32182 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32183 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32185 if test "x$ac_find_includes" = "x/usr/include"; then
32186 ac_path_to_include=""
32188 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32190 if test $result = 0; then
32191 ac_path_to_include=""
32193 ac_path_to_include=" -I$ac_find_includes"
32197 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32199 save_CFLAGS=$CFLAGS
32200 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32202 cat >conftest.$ac_ext <<_ACEOF
32205 cat confdefs.h >>conftest.$ac_ext
32206 cat >>conftest.$ac_ext <<_ACEOF
32207 /* end confdefs.h. */
32216 version = xmUseVersion;
32222 rm -f conftest.$ac_objext
32223 if { (ac_try="$ac_compile"
32224 case "(($ac_try" in
32225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32226 *) ac_try_echo
=$ac_try;;
32228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32229 (eval "$ac_compile") 2>conftest.er1
32231 grep -v '^ *+' conftest.er1
>conftest.err
32233 cat conftest.err
>&5
32234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235 (exit $ac_status); } && {
32236 test -z "$ac_c_werror_flag" ||
32237 test ! -s conftest.err
32238 } && test -s conftest.
$ac_objext; then
32240 { echo "$as_me:$LINENO: result: found in default search path" >&5
32241 echo "${ECHO_T}found in default search path" >&6; }
32242 COMPILED_X_PROGRAM
=1
32245 echo "$as_me: failed program was:" >&5
32246 sed 's/^/| /' conftest.
$ac_ext >&5
32249 { echo "$as_me:$LINENO: result: no" >&5
32250 echo "${ECHO_T}no" >&6; }
32251 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32252 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32253 { (exit 1); exit 1; }; }
32258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32260 CFLAGS
=$save_CFLAGS
32264 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32265 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
32268 for ac_dir
in $SEARCH_LIB;
32270 for ac_extension
in a so sl dylib dll.a
; do
32271 if test -f "$ac_dir/libXm.$ac_extension"; then
32272 ac_find_libraries
=$ac_dir
32279 if test "x$ac_find_libraries" != "x" ; then
32280 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32281 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32284 if test "$ac_find_libraries" = "default location"; then
32287 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
32289 if test $result = 0; then
32292 ac_path_to_link
=" -L$ac_find_libraries"
32296 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
32298 save_CFLAGS
=$CFLAGS
32299 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
32301 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32303 cat >conftest.
$ac_ext <<_ACEOF
32306 cat confdefs.h
>>conftest.
$ac_ext
32307 cat >>conftest.
$ac_ext <<_ACEOF
32308 /* end confdefs.h. */
32317 version = xmUseVersion;
32323 rm -f conftest.
$ac_objext conftest
$ac_exeext
32324 if { (ac_try
="$ac_link"
32325 case "(($ac_try" in
32326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32327 *) ac_try_echo=$ac_try;;
32329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32330 (eval "$ac_link") 2>conftest.er1
32332 grep -v '^ *+' conftest.er1 >conftest.err
32334 cat conftest.err >&5
32335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32336 (exit $ac_status); } && {
32337 test -z "$ac_c_werror_flag" ||
32338 test ! -s conftest.err
32339 } && test -s conftest$ac_exeext &&
32340 $as_test_x conftest$ac_exeext; then
32342 { echo "$as_me:$LINENO: result: found in default search path" >&5
32343 echo "${ECHO_T}found in default search path" >&6; }
32344 COMPILED_X_PROGRAM=1
32347 echo "$as_me: failed program was:" >&5
32348 sed 's/^/| /' conftest.$ac_ext >&5
32351 { echo "$as_me:$LINENO: result: no" >&5
32352 echo "${ECHO_T}no" >&6; }
32353 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32354 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32355 { (exit 1); exit 1; }; }
32360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32361 conftest$ac_exeext conftest.$ac_ext
32363 CFLAGS=$save_CFLAGS
32367 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32368 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32372 for libp in "" " -lXp"; do
32373 if test "$libs_found" = 0; then
32374 for libsm_ice in "" " -lSM -lICE"; do
32375 if test "$libs_found" = 0; then
32377 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32378 save_CFLAGS=$CFLAGS
32379 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32381 cat >conftest.$ac_ext <<_ACEOF
32384 cat confdefs.h >>conftest.$ac_ext
32385 cat >>conftest.$ac_ext <<_ACEOF
32386 /* end confdefs.h. */
32389 #include <Xm/List.h>
32395 XmString string = NULL;
32398 XmListAddItem(w, string, position);
32404 rm -f conftest.$ac_objext conftest$ac_exeext
32405 if { (ac_try="$ac_link"
32406 case "(($ac_try" in
32407 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32408 *) ac_try_echo
=$ac_try;;
32410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32411 (eval "$ac_link") 2>conftest.er1
32413 grep -v '^ *+' conftest.er1
>conftest.err
32415 cat conftest.err
>&5
32416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32417 (exit $ac_status); } && {
32418 test -z "$ac_c_werror_flag" ||
32419 test ! -s conftest.err
32420 } && test -s conftest
$ac_exeext &&
32421 $as_test_x conftest
$ac_exeext; then
32424 libsm_ice_link
="$libsm_ice"
32425 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32426 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32430 echo "$as_me: failed program was:" >&5
32431 sed 's/^/| /' conftest.
$ac_ext >&5
32437 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32438 conftest
$ac_exeext conftest.
$ac_ext
32441 CFLAGS
=$save_CFLAGS
32447 if test "$libs_found" = 0; then
32448 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32449 echo "${ECHO_T}can't find the right libraries" >&6; }
32450 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32451 echo "$as_me: error: can't link a simple motif program" >&2;}
32452 { (exit 1); exit 1; }; }
32455 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32456 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32457 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32458 echo $ECHO_N "(cached) $ECHO_C" >&6
32460 ac_check_lib_save_LIBS
=$LIBS
32462 cat >conftest.
$ac_ext <<_ACEOF
32465 cat confdefs.h
>>conftest.
$ac_ext
32466 cat >>conftest.
$ac_ext <<_ACEOF
32467 /* end confdefs.h. */
32469 /* Override any GCC internal prototype to avoid an error.
32470 Use char because int might match the return type of a GCC
32471 builtin and then its argument prototype would still apply. */
32475 char SgCreateList ();
32479 return SgCreateList ();
32484 rm -f conftest.
$ac_objext conftest
$ac_exeext
32485 if { (ac_try
="$ac_link"
32486 case "(($ac_try" in
32487 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32488 *) ac_try_echo=$ac_try;;
32490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32491 (eval "$ac_link") 2>conftest.er1
32493 grep -v '^ *+' conftest.er1 >conftest.err
32495 cat conftest.err >&5
32496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32497 (exit $ac_status); } && {
32498 test -z "$ac_c_werror_flag" ||
32499 test ! -s conftest.err
32500 } && test -s conftest$ac_exeext &&
32501 $as_test_x conftest$ac_exeext; then
32502 ac_cv_lib_Sgm_SgCreateList=yes
32504 echo "$as_me: failed program was:" >&5
32505 sed 's/^/| /' conftest.$ac_ext >&5
32507 ac_cv_lib_Sgm_SgCreateList=no
32510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32511 conftest$ac_exeext conftest.$ac_ext
32512 LIBS=$ac_check_lib_save_LIBS
32514 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32515 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32516 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32517 libsgm_link=" -lSgm"
32521 save_CFLAGS=$CFLAGS
32522 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32524 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32525 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32526 if test "${wx_cv_lib_motif2+set}" = set; then
32527 echo $ECHO_N "(cached) $ECHO_C" >&6
32529 cat >conftest.$ac_ext <<_ACEOF
32532 cat confdefs.h >>conftest.$ac_ext
32533 cat >>conftest.$ac_ext <<_ACEOF
32534 /* end confdefs.h. */
32542 #if XmVersion < 2000
32550 rm -f conftest.$ac_objext
32551 if { (ac_try="$ac_compile"
32552 case "(($ac_try" in
32553 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32554 *) ac_try_echo
=$ac_try;;
32556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32557 (eval "$ac_compile") 2>conftest.er1
32559 grep -v '^ *+' conftest.er1
>conftest.err
32561 cat conftest.err
>&5
32562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32563 (exit $ac_status); } && {
32564 test -z "$ac_c_werror_flag" ||
32565 test ! -s conftest.err
32566 } && test -s conftest.
$ac_objext; then
32567 wx_cv_lib_motif2
="yes"
32569 echo "$as_me: failed program was:" >&5
32570 sed 's/^/| /' conftest.
$ac_ext >&5
32572 wx_cv_lib_motif2
="no"
32575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32577 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32578 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32579 if test "$wx_cv_lib_motif2" = "yes"; then
32580 cat >>confdefs.h
<<\_ACEOF
32581 #define __WXMOTIF20__ 1
32585 cat >>confdefs.h
<<\_ACEOF
32586 #define __WXMOTIF20__ 0
32591 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32592 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32593 if test "${wx_cv_lib_lesstif+set}" = set; then
32594 echo $ECHO_N "(cached) $ECHO_C" >&6
32596 cat >conftest.
$ac_ext <<_ACEOF
32599 cat confdefs.h
>>conftest.
$ac_ext
32600 cat >>conftest.
$ac_ext <<_ACEOF
32601 /* end confdefs.h. */
32609 #if !defined(LesstifVersion) || LesstifVersion <= 0
32617 rm -f conftest.
$ac_objext
32618 if { (ac_try
="$ac_compile"
32619 case "(($ac_try" in
32620 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32621 *) ac_try_echo=$ac_try;;
32623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32624 (eval "$ac_compile") 2>conftest.er1
32626 grep -v '^ *+' conftest.er1 >conftest.err
32628 cat conftest.err >&5
32629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32630 (exit $ac_status); } && {
32631 test -z "$ac_c_werror_flag" ||
32632 test ! -s conftest.err
32633 } && test -s conftest.$ac_objext; then
32634 wx_cv_lib_lesstif="yes"
32636 echo "$as_me: failed program was:" >&5
32637 sed 's/^/| /' conftest.$ac_ext >&5
32639 wx_cv_lib_lesstif="no"
32642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32645 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32646 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32647 if test "$wx_cv_lib_lesstif" = "yes"; then
32648 cat >>confdefs.h <<\_ACEOF
32649 #define __WXLESSTIF__ 1
32653 cat >>confdefs.h <<\_ACEOF
32654 #define __WXLESSTIF__ 0
32659 CFLAGS=$save_CFLAGS
32661 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32666 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32667 if test "$wxUSE_LIBXPM" = "sys"; then
32668 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32669 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32672 for ac_dir in $SEARCH_LIB;
32674 for ac_extension in a so sl dylib dll.a; do
32675 if test -f "$ac_dir/libXpm.$ac_extension"; then
32676 ac_find_libraries=$ac_dir
32682 if test "$ac_find_libraries" != "" ; then
32684 if test "$ac_find_libraries" = "default location"; then
32687 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32689 if test $result = 0; then
32692 ac_path_to_link=" -L$ac_find_libraries"
32696 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32697 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32698 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32700 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32701 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32702 if test "${wx_cv_x11_xpm_h+set}" = set; then
32703 echo $ECHO_N "(cached) $ECHO_C" >&6
32706 save_CFLAGS=$CFLAGS
32707 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32709 cat >conftest.$ac_ext <<_ACEOF
32712 cat confdefs.h >>conftest.$ac_ext
32713 cat >>conftest.$ac_ext <<_ACEOF
32714 /* end confdefs.h. */
32716 #include <X11/xpm.h>
32723 version = XpmLibraryVersion();
32729 rm -f conftest.$ac_objext
32730 if { (ac_try="$ac_compile"
32731 case "(($ac_try" in
32732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32733 *) ac_try_echo
=$ac_try;;
32735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32736 (eval "$ac_compile") 2>conftest.er1
32738 grep -v '^ *+' conftest.er1
>conftest.err
32740 cat conftest.err
>&5
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); } && {
32743 test -z "$ac_c_werror_flag" ||
32744 test ! -s conftest.err
32745 } && test -s conftest.
$ac_objext; then
32746 wx_cv_x11_xpm_h
=yes
32748 echo "$as_me: failed program was:" >&5
32749 sed 's/^/| /' conftest.
$ac_ext >&5
32755 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32757 CFLAGS
=$save_CFLAGS
32761 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32762 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32764 if test $wx_cv_x11_xpm_h = "yes"; then
32765 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32766 cat >>confdefs.h
<<\_ACEOF
32767 #define wxHAVE_LIB_XPM 1
32771 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32772 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32778 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32779 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32780 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32781 echo $ECHO_N "(cached) $ECHO_C" >&6
32783 ac_check_lib_save_LIBS
=$LIBS
32784 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32785 cat >conftest.
$ac_ext <<_ACEOF
32788 cat confdefs.h
>>conftest.
$ac_ext
32789 cat >>conftest.
$ac_ext <<_ACEOF
32790 /* end confdefs.h. */
32792 /* Override any GCC internal prototype to avoid an error.
32793 Use char because int might match the return type of a GCC
32794 builtin and then its argument prototype would still apply. */
32798 char XShapeQueryExtension ();
32802 return XShapeQueryExtension ();
32807 rm -f conftest.
$ac_objext conftest
$ac_exeext
32808 if { (ac_try
="$ac_link"
32809 case "(($ac_try" in
32810 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32811 *) ac_try_echo=$ac_try;;
32813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32814 (eval "$ac_link") 2>conftest.er1
32816 grep -v '^ *+' conftest.er1 >conftest.err
32818 cat conftest.err >&5
32819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32820 (exit $ac_status); } && {
32821 test -z "$ac_c_werror_flag" ||
32822 test ! -s conftest.err
32823 } && test -s conftest$ac_exeext &&
32824 $as_test_x conftest$ac_exeext; then
32825 ac_cv_lib_Xext_XShapeQueryExtension=yes
32827 echo "$as_me: failed program was:" >&5
32828 sed 's/^/| /' conftest.$ac_ext >&5
32830 ac_cv_lib_Xext_XShapeQueryExtension=no
32833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32834 conftest$ac_exeext conftest.$ac_ext
32835 LIBS=$ac_check_lib_save_LIBS
32837 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32838 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32839 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32841 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32847 if test "$wxHAVE_XEXT_LIB" = 1; then
32848 save_CFLAGS="$CFLAGS"
32849 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32851 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32852 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32853 cat >conftest.$ac_ext <<_ACEOF
32856 cat confdefs.h >>conftest.$ac_ext
32857 cat >>conftest.$ac_ext <<_ACEOF
32858 /* end confdefs.h. */
32860 #include <X11/Xlib.h>
32861 #include <X11/extensions/shape.h>
32867 int dummy1, dummy2;
32868 XShapeQueryExtension((Display*)NULL,
32869 (int*)NULL, (int*)NULL);
32875 rm -f conftest.$ac_objext
32876 if { (ac_try="$ac_compile"
32877 case "(($ac_try" in
32878 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32879 *) ac_try_echo
=$ac_try;;
32881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32882 (eval "$ac_compile") 2>conftest.er1
32884 grep -v '^ *+' conftest.er1
>conftest.err
32886 cat conftest.err
>&5
32887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32888 (exit $ac_status); } && {
32889 test -z "$ac_c_werror_flag" ||
32890 test ! -s conftest.err
32891 } && test -s conftest.
$ac_objext; then
32893 cat >>confdefs.h
<<\_ACEOF
32894 #define HAVE_XSHAPE 1
32897 { echo "$as_me:$LINENO: result: found" >&5
32898 echo "${ECHO_T}found" >&6; }
32901 echo "$as_me: failed program was:" >&5
32902 sed 's/^/| /' conftest.
$ac_ext >&5
32905 { echo "$as_me:$LINENO: result: not found" >&5
32906 echo "${ECHO_T}not found" >&6; }
32910 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32911 CFLAGS
="$save_CFLAGS"
32916 if test "$wxUSE_OSX_CARBON" = 1; then
32917 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32918 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32919 if test "$GCC" = yes; then
32920 { echo "$as_me:$LINENO: result: gcc" >&5
32921 echo "${ECHO_T}gcc" >&6; }
32922 CPPFLAGS_PASCAL
="-fpascal-strings"
32923 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32924 { echo "$as_me:$LINENO: result: xlc" >&5
32925 echo "${ECHO_T}xlc" >&6; }
32926 CPPFLAGS_PASCAL
="-qmacpstr"
32928 { echo "$as_me:$LINENO: result: none" >&5
32929 echo "${ECHO_T}none" >&6; }
32932 if test "x$wxUSE_UNIX" = "xyes"; then
32933 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32935 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32939 GUIDIST
=OSX_CARBON_DIST
32940 WXBASEPORT
="_carbon"
32942 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32945 if test "$wxUSE_OSX_COCOA" = 1; then
32947 GUIDIST
=OSX_COCOA_DIST
32949 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
32952 if test "$wxUSE_COCOA" = 1; then
32957 if test "$wxUSE_PM" = 1; then
32960 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32961 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32962 if test "${wx_cv_spbcdata+set}" = set; then
32963 echo $ECHO_N "(cached) $ECHO_C" >&6
32966 cat >conftest.
$ac_ext <<_ACEOF
32969 cat confdefs.h
>>conftest.
$ac_ext
32970 cat >>conftest.
$ac_ext <<_ACEOF
32971 /* end confdefs.h. */
32986 rm -f conftest.
$ac_objext
32987 if { (ac_try
="$ac_compile"
32988 case "(($ac_try" in
32989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32990 *) ac_try_echo=$ac_try;;
32992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32993 (eval "$ac_compile") 2>conftest.er1
32995 grep -v '^ *+' conftest.er1 >conftest.err
32997 cat conftest.err >&5
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); } && {
33000 test -z "$ac_c_werror_flag" ||
33001 test ! -s conftest.err
33002 } && test -s conftest.$ac_objext; then
33005 echo "$as_me: failed program was:" >&5
33006 sed 's/^/| /' conftest.$ac_ext >&5
33012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33016 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33017 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
33019 if test $wx_cv_spbcdata = "yes"; then
33020 cat >>confdefs.h <<\_ACEOF
33021 #define HAVE_SPBCDATA 1
33027 if test "$TOOLKIT" = "PM" ; then
33030 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
33033 if test "$wxUSE_UNIVERSAL" = "yes"; then
33034 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33038 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33039 DISTDIR="wx\$(TOOLKIT)"
33045 if test "$USE_WIN32" = 1 ; then
33049 GUIDIST="BASE_DIST"
33055 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33056 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
33057 wxUSE_UNICODE_UTF8=yes
33058 elif test "$USE_OS2" = 1 ; then
33059 wxUSE_UNICODE_UTF8=yes
33061 wxUSE_UNICODE_UTF8=no
33066 if test "$wxUSE_GUI" = "yes"; then
33067 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33069 for ac_header in X11/Xlib.h
33071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33072 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33074 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33075 echo $ECHO_N "(cached) $ECHO_C" >&6
33077 cat >conftest.$ac_ext <<_ACEOF
33080 cat confdefs.h >>conftest.$ac_ext
33081 cat >>conftest.$ac_ext <<_ACEOF
33082 /* end confdefs.h. */
33085 #include <$ac_header>
33087 rm -f conftest.$ac_objext
33088 if { (ac_try="$ac_compile"
33089 case "(($ac_try" in
33090 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33091 *) ac_try_echo
=$ac_try;;
33093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33094 (eval "$ac_compile") 2>conftest.er1
33096 grep -v '^ *+' conftest.er1
>conftest.err
33098 cat conftest.err
>&5
33099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33100 (exit $ac_status); } && {
33101 test -z "$ac_c_werror_flag" ||
33102 test ! -s conftest.err
33103 } && test -s conftest.
$ac_objext; then
33104 eval "$as_ac_Header=yes"
33106 echo "$as_me: failed program was:" >&5
33107 sed 's/^/| /' conftest.
$ac_ext >&5
33109 eval "$as_ac_Header=no"
33112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33114 ac_res
=`eval echo '${'$as_ac_Header'}'`
33115 { echo "$as_me:$LINENO: result: $ac_res" >&5
33116 echo "${ECHO_T}$ac_res" >&6; }
33117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33118 cat >>confdefs.h
<<_ACEOF
33119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33127 for ac_header
in X
11/XKBlib.h
33129 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33130 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33132 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33133 echo $ECHO_N "(cached) $ECHO_C" >&6
33135 cat >conftest.
$ac_ext <<_ACEOF
33138 cat confdefs.h
>>conftest.
$ac_ext
33139 cat >>conftest.
$ac_ext <<_ACEOF
33140 /* end confdefs.h. */
33142 #if HAVE_X11_XLIB_H
33143 #include <X11/Xlib.h>
33147 #include <$ac_header>
33149 rm -f conftest.
$ac_objext
33150 if { (ac_try
="$ac_compile"
33151 case "(($ac_try" in
33152 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33153 *) ac_try_echo=$ac_try;;
33155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33156 (eval "$ac_compile") 2>conftest.er1
33158 grep -v '^ *+' conftest.er1 >conftest.err
33160 cat conftest.err >&5
33161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162 (exit $ac_status); } && {
33163 test -z "$ac_c_werror_flag" ||
33164 test ! -s conftest.err
33165 } && test -s conftest.$ac_objext; then
33166 eval "$as_ac_Header=yes"
33168 echo "$as_me: failed program was:" >&5
33169 sed 's/^/| /' conftest.$ac_ext >&5
33171 eval "$as_ac_Header=no"
33174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33176 ac_res=`eval echo '${'$as_ac_Header'}'`
33177 { echo "$as_me:$LINENO: result: $ac_res" >&5
33178 echo "${ECHO_T}$ac_res" >&6; }
33179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33180 cat >>confdefs.h <<_ACEOF
33181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33193 if test "$wxUSE_DISPLAY" = "yes"; then
33194 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33195 { echo "$as_me:$LINENO: checking for Xinerama" >&5
33196 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
33199 for ac_dir in $SEARCH_LIB;
33201 for ac_extension in a so sl dylib dll.a; do
33202 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33203 ac_find_libraries=$ac_dir
33209 if test "$ac_find_libraries" != "" ; then
33211 if test "$ac_find_libraries" = "default location"; then
33214 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33216 if test $result = 0; then
33219 ac_path_to_link=" -L$ac_find_libraries"
33223 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33224 LDFLAGS="$LDFLAGS $ac_path_to_link"
33226 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33227 { echo "$as_me:$LINENO: result: yes" >&5
33228 echo "${ECHO_T}yes" >&6; }
33230 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33231 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
33234 for ac_dir in $SEARCH_LIB;
33236 for ac_extension in a so sl dylib dll.a; do
33237 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33238 ac_find_libraries=$ac_dir
33244 if test "$ac_find_libraries" != "" ; then
33245 { echo "$as_me:$LINENO: result: yes" >&5
33246 echo "${ECHO_T}yes" >&6; }
33248 for ac_header in X11/extensions/xf86vmode.h
33250 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33251 { echo "$as_me:$LINENO: checking for $ac_header" >&5
33252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33254 echo $ECHO_N "(cached) $ECHO_C" >&6
33256 cat >conftest.$ac_ext <<_ACEOF
33259 cat confdefs.h >>conftest.$ac_ext
33260 cat >>conftest.$ac_ext <<_ACEOF
33261 /* end confdefs.h. */
33263 #if HAVE_X11_XLIB_H
33264 #include <X11/Xlib.h>
33268 #include <$ac_header>
33270 rm -f conftest.$ac_objext
33271 if { (ac_try="$ac_compile"
33272 case "(($ac_try" in
33273 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33274 *) ac_try_echo
=$ac_try;;
33276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33277 (eval "$ac_compile") 2>conftest.er1
33279 grep -v '^ *+' conftest.er1
>conftest.err
33281 cat conftest.err
>&5
33282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33283 (exit $ac_status); } && {
33284 test -z "$ac_c_werror_flag" ||
33285 test ! -s conftest.err
33286 } && test -s conftest.
$ac_objext; then
33287 eval "$as_ac_Header=yes"
33289 echo "$as_me: failed program was:" >&5
33290 sed 's/^/| /' conftest.
$ac_ext >&5
33292 eval "$as_ac_Header=no"
33295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33297 ac_res
=`eval echo '${'$as_ac_Header'}'`
33298 { echo "$as_me:$LINENO: result: $ac_res" >&5
33299 echo "${ECHO_T}$ac_res" >&6; }
33300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33301 cat >>confdefs.h
<<_ACEOF
33302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33305 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
33312 { echo "$as_me:$LINENO: result: no" >&5
33313 echo "${ECHO_T}no" >&6; }
33317 { echo "$as_me:$LINENO: result: no" >&5
33318 echo "${ECHO_T}no" >&6; }
33319 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33320 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33323 elif test "$wxUSE_MSW" = 1; then
33324 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33325 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33326 if test "${ac_cv_header_ddraw_h+set}" = set; then
33327 echo $ECHO_N "(cached) $ECHO_C" >&6
33329 cat >conftest.
$ac_ext <<_ACEOF
33332 cat confdefs.h
>>conftest.
$ac_ext
33333 cat >>conftest.
$ac_ext <<_ACEOF
33334 /* end confdefs.h. */
33335 #include <windows.h>
33339 rm -f conftest.
$ac_objext
33340 if { (ac_try
="$ac_compile"
33341 case "(($ac_try" in
33342 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33343 *) ac_try_echo=$ac_try;;
33345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33346 (eval "$ac_compile") 2>conftest.er1
33348 grep -v '^ *+' conftest.er1 >conftest.err
33350 cat conftest.err >&5
33351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352 (exit $ac_status); } && {
33353 test -z "$ac_c_werror_flag" ||
33354 test ! -s conftest.err
33355 } && test -s conftest.$ac_objext; then
33356 ac_cv_header_ddraw_h=yes
33358 echo "$as_me: failed program was:" >&5
33359 sed 's/^/| /' conftest.$ac_ext >&5
33361 ac_cv_header_ddraw_h=no
33364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33366 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33367 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33373 if test "$wxUSE_DETECT_SM" = "yes"; then
33374 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33375 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33376 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33379 for ac_dir in $SEARCH_LIB;
33381 for ac_extension in a so sl dylib dll.a; do
33382 if test -f "$ac_dir/libSM.$ac_extension"; then
33383 ac_find_libraries=$ac_dir
33389 if test "$ac_find_libraries" != "" ; then
33391 if test "$ac_find_libraries" = "default location"; then
33394 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33396 if test $result = 0; then
33399 ac_path_to_link=" -L$ac_find_libraries"
33403 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33404 LDFLAGS="$LDFLAGS $ac_path_to_link"
33406 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33407 { echo "$as_me:$LINENO: result: yes" >&5
33408 echo "${ECHO_T}yes" >&6; }
33410 { echo "$as_me:$LINENO: result: no" >&5
33411 echo "${ECHO_T}no" >&6; }
33412 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33413 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33414 wxUSE_DETECT_SM="no"
33417 wxUSE_DETECT_SM="no"
33424 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33427 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33428 OPENGL_LIBS="-framework OpenGL -framework AGL"
33429 elif test "$wxUSE_MSW" = 1; then
33430 OPENGL_LIBS="-lopengl32 -lglu32"
33431 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33433 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33434 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33437 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33439 if test -f "$ac_dir/GL/gl.h"; then
33440 ac_find_includes=$ac_dir
33445 if test "$ac_find_includes" != "" ; then
33446 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33447 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33449 if test "x$ac_find_includes" = "x/usr/include"; then
33450 ac_path_to_include=""
33452 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33454 if test $result = 0; then
33455 ac_path_to_include=""
33457 ac_path_to_include=" -I$ac_find_includes"
33461 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33463 { echo "$as_me:$LINENO: result: not found" >&5
33464 echo "${ECHO_T}not found" >&6; }
33467 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33468 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33469 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33470 echo $ECHO_N "(cached) $ECHO_C" >&6
33472 cat >conftest.$ac_ext <<_ACEOF
33475 cat confdefs.h >>conftest.$ac_ext
33476 cat >>conftest.$ac_ext <<_ACEOF
33477 /* end confdefs.h. */
33482 rm -f conftest.$ac_objext
33483 if { (ac_try="$ac_compile"
33484 case "(($ac_try" in
33485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33486 *) ac_try_echo
=$ac_try;;
33488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33489 (eval "$ac_compile") 2>conftest.er1
33491 grep -v '^ *+' conftest.er1
>conftest.err
33493 cat conftest.err
>&5
33494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33495 (exit $ac_status); } && {
33496 test -z "$ac_c_werror_flag" ||
33497 test ! -s conftest.err
33498 } && test -s conftest.
$ac_objext; then
33499 ac_cv_header_GL_gl_h
=yes
33501 echo "$as_me: failed program was:" >&5
33502 sed 's/^/| /' conftest.
$ac_ext >&5
33504 ac_cv_header_GL_gl_h
=no
33507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33509 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33510 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33511 if test $ac_cv_header_GL_gl_h = yes; then
33513 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33514 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33515 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33516 echo $ECHO_N "(cached) $ECHO_C" >&6
33518 cat >conftest.
$ac_ext <<_ACEOF
33521 cat confdefs.h
>>conftest.
$ac_ext
33522 cat >>conftest.
$ac_ext <<_ACEOF
33523 /* end confdefs.h. */
33526 #include <GL/glu.h>
33528 rm -f conftest.
$ac_objext
33529 if { (ac_try
="$ac_compile"
33530 case "(($ac_try" in
33531 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33532 *) ac_try_echo=$ac_try;;
33534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33535 (eval "$ac_compile") 2>conftest.er1
33537 grep -v '^ *+' conftest.er1 >conftest.err
33539 cat conftest.err >&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); } && {
33542 test -z "$ac_c_werror_flag" ||
33543 test ! -s conftest.err
33544 } && test -s conftest.$ac_objext; then
33545 ac_cv_header_GL_glu_h=yes
33547 echo "$as_me: failed program was:" >&5
33548 sed 's/^/| /' conftest.$ac_ext >&5
33550 ac_cv_header_GL_glu_h=no
33553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33555 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33556 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33557 if test $ac_cv_header_GL_glu_h = yes; then
33561 { echo "$as_me:$LINENO: checking for -lGL" >&5
33562 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33565 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33567 for ac_extension in a so sl dylib dll.a; do
33568 if test -f "$ac_dir/libGL.$ac_extension"; then
33569 ac_find_libraries=$ac_dir
33575 if test "$ac_find_libraries" != "" ; then
33576 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33577 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33580 if test "$ac_find_libraries" = "default location"; then
33583 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33585 if test $result = 0; then
33588 ac_path_to_link=" -L$ac_find_libraries"
33592 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33593 LDFLAGS_GL="$ac_path_to_link"
33596 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33597 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33600 for ac_dir in $SEARCH_LIB;
33602 for ac_extension in a so sl dylib dll.a; do
33603 if test -f "$ac_dir/libGLU.$ac_extension"; then
33604 ac_find_libraries=$ac_dir
33610 if test "$ac_find_libraries" != "" ; then
33612 if test "$ac_find_libraries" = "default location"; then
33615 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33617 if test $result = 0; then
33620 ac_path_to_link=" -L$ac_find_libraries"
33624 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33625 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33626 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33630 OPENGL_LIBS="-lGL -lGLU"
33631 { echo "$as_me:$LINENO: result: yes" >&5
33632 echo "${ECHO_T}yes" >&6; }
33634 { echo "$as_me:$LINENO: result: no" >&5
33635 echo "${ECHO_T}no" >&6; }
33638 { echo "$as_me:$LINENO: result: no" >&5
33639 echo "${ECHO_T}no" >&6; }
33642 if test "$found_gl" != 1; then
33643 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33644 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33647 for ac_dir in $SEARCH_LIB;
33649 for ac_extension in a so sl dylib dll.a; do
33650 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33651 ac_find_libraries=$ac_dir
33657 if test "$ac_find_libraries" != "" ; then
33659 if test "$ac_find_libraries" = "default location"; then
33662 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33664 if test $result = 0; then
33667 ac_path_to_link=" -L$ac_find_libraries"
33671 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33672 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33673 { echo "$as_me:$LINENO: result: yes" >&5
33674 echo "${ECHO_T}yes" >&6; }
33676 { echo "$as_me:$LINENO: result: no" >&5
33677 echo "${ECHO_T}no" >&6; }
33689 if test "x$OPENGL_LIBS" = "x"; then
33690 if test "$wxUSE_OPENGL" = "yes"; then
33691 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33692 echo "$as_me: error: OpenGL libraries not available" >&2;}
33693 { (exit 1); exit 1; }; }
33695 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33696 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33702 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33703 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33707 if test "$wxUSE_OPENGL" = "auto"; then
33711 if test "$wxUSE_OPENGL" = "yes"; then
33713 cat >>confdefs.h <<\_ACEOF
33714 #define wxUSE_OPENGL 1
33717 cat >>confdefs.h <<\_ACEOF
33718 #define wxUSE_GLCANVAS 1
33721 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33726 if test -n "$TOOLKIT" ; then
33727 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33732 if test "$wxUSE_SHARED" = "yes"; then
33736 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33737 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33742 if test "$wxUSE_SHARED" = "yes"; then
33746 *-*-cygwin* | *-*-mingw* )
33747 wx_cv_version_script=no
33751 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33752 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33753 if test "${wx_cv_version_script+set}" = set; then
33754 echo $ECHO_N "(cached) $ECHO_C" >&6
33757 echo "VER_1 { *; };" >conftest.sym
33758 echo "int main() { return 0; }" >conftest.cpp
33761 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33762 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33764 (eval $ac_try) 2>&5
33766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767 (exit $ac_status); }; } ; then
33768 if test -s conftest.stderr ; then
33769 wx_cv_version_script=no
33771 wx_cv_version_script=yes
33774 wx_cv_version_script=no
33777 if test $wx_cv_version_script = yes
33779 echo "struct B { virtual ~B() { } }; \
33780 struct D : public B { }; \
33781 void F() { D d; }" > conftest.cpp
33784 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33785 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33787 (eval $ac_try) 2>&5
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); }; } &&
33792 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33793 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33795 (eval $ac_try) 2>&5
33797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 (exit $ac_status); }; }
33801 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33802 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33804 (eval $ac_try) 2>&5
33806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33807 (exit $ac_status); }; }
33809 wx_cv_version_script=yes
33811 wx_cv_version_script=no
33816 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33817 rm -f conftest1.output conftest2.output conftest3.output
33820 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33821 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33823 if test $wx_cv_version_script = yes ; then
33824 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33830 if test "$wxUSE_VISIBILITY" != "no"; then
33833 if test -n "$GCC"; then
33834 CFLAGS_VISIBILITY="-fvisibility=hidden"
33835 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33836 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33837 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33838 if test "${wx_cv_cc_visibility+set}" = set; then
33839 echo $ECHO_N "(cached) $ECHO_C" >&6
33842 wx_save_CXXFLAGS="$CXXFLAGS"
33843 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33845 ac_cpp='$CXXCPP $CPPFLAGS'
33846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33850 cat >conftest.$ac_ext <<_ACEOF
33853 cat confdefs.h >>conftest.$ac_ext
33854 cat >>conftest.$ac_ext <<_ACEOF
33855 /* end confdefs.h. */
33857 /* we need gcc >= 4.0, older versions with visibility support
33858 didn't have class visibility: */
33859 #if defined(__GNUC__) && __GNUC__ < 4
33860 error this gcc is too old;
33863 /* visibility only makes sense for ELF shared libs: */
33864 #if !defined(__ELF__) && !defined(__APPLE__)
33865 error this platform has no visibility;
33868 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33869 extern __attribute__((__visibility__("default"))) int exportedvar;
33870 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33871 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33872 class __attribute__((__visibility__("default"))) Foo {
33884 rm -f conftest.$ac_objext
33885 if { (ac_try="$ac_compile"
33886 case "(($ac_try" in
33887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33888 *) ac_try_echo
=$ac_try;;
33890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33891 (eval "$ac_compile") 2>conftest.er1
33893 grep -v '^ *+' conftest.er1
>conftest.err
33895 cat conftest.err
>&5
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); } && {
33898 test -z "$ac_cxx_werror_flag" ||
33899 test ! -s conftest.err
33900 } && test -s conftest.
$ac_objext; then
33901 wx_cv_cc_visibility
=yes
33903 echo "$as_me: failed program was:" >&5
33904 sed 's/^/| /' conftest.
$ac_ext >&5
33906 wx_cv_cc_visibility
=no
33909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33911 ac_cpp
='$CPP $CPPFLAGS'
33912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33916 CXXFLAGS
="$wx_save_CXXFLAGS"
33919 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33920 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33921 if test $wx_cv_cc_visibility = yes; then
33922 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33923 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33924 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33925 echo $ECHO_N "(cached) $ECHO_C" >&6
33928 wx_save_CXXFLAGS
="$CXXFLAGS"
33929 wx_save_LDFLAGS
="$LDFLAGS"
33930 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33931 LDFLAGS
="$LDFLAGS -shared -fPIC"
33933 ac_cpp
='$CXXCPP $CPPFLAGS'
33934 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33935 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33936 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33938 cat >conftest.
$ac_ext <<_ACEOF
33941 cat confdefs.h
>>conftest.
$ac_ext
33942 cat >>conftest.
$ac_ext <<_ACEOF
33943 /* end confdefs.h. */
33951 std::string s("hello");
33958 rm -f conftest.
$ac_objext conftest
$ac_exeext
33959 if { (ac_try
="$ac_link"
33960 case "(($ac_try" in
33961 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33962 *) ac_try_echo=$ac_try;;
33964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33965 (eval "$ac_link") 2>conftest.er1
33967 grep -v '^ *+' conftest.er1 >conftest.err
33969 cat conftest.err >&5
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); } && {
33972 test -z "$ac_cxx_werror_flag" ||
33973 test ! -s conftest.err
33974 } && test -s conftest$ac_exeext &&
33975 $as_test_x conftest$ac_exeext; then
33976 wx_cv_cc_broken_libstdcxx_visibility=no
33978 echo "$as_me: failed program was:" >&5
33979 sed 's/^/| /' conftest.$ac_ext >&5
33981 wx_cv_cc_broken_libstdcxx_visibility=yes
33984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33985 conftest$ac_exeext conftest.$ac_ext
33987 ac_cpp='$CPP $CPPFLAGS'
33988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33992 CXXFLAGS="$wx_save_CXXFLAGS"
33993 LDFLAGS="$wx_save_LDFLAGS"
33996 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33997 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33999 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34000 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
34001 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
34002 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
34003 echo $ECHO_N "(cached) $ECHO_C" >&6
34007 ac_cpp='$CXXCPP $CPPFLAGS'
34008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34012 cat >conftest.$ac_ext <<_ACEOF
34015 cat confdefs.h >>conftest.$ac_ext
34016 cat >>conftest.$ac_ext <<_ACEOF
34017 /* end confdefs.h. */
34019 #pragma GCC visibility push(default)
34021 #pragma GCC visibility pop
34027 std::string s("hello");
34034 rm -f conftest.$ac_objext conftest$ac_exeext
34035 if { (ac_try="$ac_link"
34036 case "(($ac_try" in
34037 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34038 *) ac_try_echo
=$ac_try;;
34040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34041 (eval "$ac_link") 2>conftest.er1
34043 grep -v '^ *+' conftest.er1
>conftest.err
34045 cat conftest.err
>&5
34046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34047 (exit $ac_status); } && {
34048 test -z "$ac_cxx_werror_flag" ||
34049 test ! -s conftest.err
34050 } && test -s conftest
$ac_exeext &&
34051 $as_test_x conftest
$ac_exeext; then
34052 wx_cv_cc_visibility_workaround
=no
34054 echo "$as_me: failed program was:" >&5
34055 sed 's/^/| /' conftest.
$ac_ext >&5
34057 wx_cv_cc_visibility_workaround
=yes
34060 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34061 conftest
$ac_exeext conftest.
$ac_ext
34063 ac_cpp
='$CPP $CPPFLAGS'
34064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34071 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
34072 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
34074 if test $wx_cv_cc_visibility_workaround = no
; then
34075 wx_cv_cc_visibility
=no
34080 if test $wx_cv_cc_visibility = yes; then
34081 cat >>confdefs.h
<<\_ACEOF
34082 #define HAVE_VISIBILITY 1
34085 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
34086 cat >>confdefs.h
<<\_ACEOF
34087 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
34092 CFLAGS_VISIBILITY
=""
34093 CXXFLAGS_VISIBILITY
=""
34101 if test "x$SUNCXX" = xyes
; then
34102 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
34103 WXCONFIG_RPATH
="-R\$libdir"
34106 *-*-linux* | *-*-gnu* )
34107 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
34108 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
34113 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
34115 saveLdflags
="$LDFLAGS"
34116 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
34117 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34118 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
34119 cat >conftest.
$ac_ext <<_ACEOF
34122 cat confdefs.h
>>conftest.
$ac_ext
34123 cat >>conftest.
$ac_ext <<_ACEOF
34124 /* end confdefs.h. */
34134 rm -f conftest.
$ac_objext conftest
$ac_exeext
34135 if { (ac_try
="$ac_link"
34136 case "(($ac_try" in
34137 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34138 *) ac_try_echo=$ac_try;;
34140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34141 (eval "$ac_link") 2>conftest.er1
34143 grep -v '^ *+' conftest.er1 >conftest.err
34145 cat conftest.err >&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); } && {
34148 test -z "$ac_c_werror_flag" ||
34149 test ! -s conftest.err
34150 } && test -s conftest$ac_exeext &&
34151 $as_test_x conftest$ac_exeext; then
34153 { echo "$as_me:$LINENO: result: yes" >&5
34154 echo "${ECHO_T}yes" >&6; }
34155 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34156 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34159 echo "$as_me: failed program was:" >&5
34160 sed 's/^/| /' conftest.$ac_ext >&5
34163 { echo "$as_me:$LINENO: result: no" >&5
34164 echo "${ECHO_T}no" >&6; }
34165 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34166 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
34167 LDFLAGS="$saveLdflags -Wl,-R,/"
34168 cat >conftest.$ac_ext <<_ACEOF
34171 cat confdefs.h >>conftest.$ac_ext
34172 cat >>conftest.$ac_ext <<_ACEOF
34173 /* end confdefs.h. */
34183 rm -f conftest.$ac_objext conftest$ac_exeext
34184 if { (ac_try="$ac_link"
34185 case "(($ac_try" in
34186 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34187 *) ac_try_echo
=$ac_try;;
34189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34190 (eval "$ac_link") 2>conftest.er1
34192 grep -v '^ *+' conftest.er1
>conftest.err
34194 cat conftest.err
>&5
34195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34196 (exit $ac_status); } && {
34197 test -z "$ac_c_werror_flag" ||
34198 test ! -s conftest.err
34199 } && test -s conftest
$ac_exeext &&
34200 $as_test_x conftest
$ac_exeext; then
34202 { echo "$as_me:$LINENO: result: yes" >&5
34203 echo "${ECHO_T}yes" >&6; }
34204 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
34205 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
34208 echo "$as_me: failed program was:" >&5
34209 sed 's/^/| /' conftest.
$ac_ext >&5
34212 { echo "$as_me:$LINENO: result: no" >&5
34213 echo "${ECHO_T}no" >&6; }
34217 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34218 conftest
$ac_exeext conftest.
$ac_ext
34222 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34223 conftest
$ac_exeext conftest.
$ac_ext
34224 LDFLAGS
="$saveLdflags"
34228 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
34229 if test "$install_name_tool" -a -x "$install_name_tool"; then
34230 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
34231 cat <<EOF >change-install-names
34233 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34234 for i in \${libnames} ; do
34235 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
34236 for dep in \${libnames} ; do
34237 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
34241 chmod +x change
-install-names
34242 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
34245 HEADER_PAD_OPTION
="-headerpad_max_install_names"
34248 *-*-cygwin* | *-*-mingw32* )
34252 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
34253 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
34259 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34261 if test $wxUSE_RPATH = "no"; then
34262 SAMPLES_RPATH_FLAG
=''
34263 DYLIB_PATH_POSTLINK
=''
34271 config_linkage_component
="-static"
34278 lib_unicode_suffix
=
34280 if test "$wxUSE_UNICODE" = "yes"; then
34281 lib_unicode_suffix
=u
34282 WX_CHARTYPE
="unicode"
34286 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
34287 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
34290 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34294 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34296 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34298 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34301 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34302 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34304 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34306 if test "${TOOLKIT_DIR}" = "os2"; then
34307 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34309 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
34314 if test "$wxUSE_COCOA" = 1; then
34317 ac_cpp
='$CPP $CPPFLAGS'
34318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34324 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34325 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34326 cat >conftest.
$ac_ext <<_ACEOF
34329 cat confdefs.h
>>conftest.
$ac_ext
34330 cat >>conftest.
$ac_ext <<_ACEOF
34331 /* end confdefs.h. */
34332 #include <AppKit/NSEvent.h>
34333 #include <CoreFoundation/CoreFoundation.h>
34343 rm -f conftest.
$ac_objext
34344 if { (ac_try
="$ac_compile"
34345 case "(($ac_try" in
34346 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34347 *) ac_try_echo=$ac_try;;
34349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34350 (eval "$ac_compile") 2>conftest.er1
34352 grep -v '^ *+' conftest.er1 >conftest.err
34354 cat conftest.err >&5
34355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34356 (exit $ac_status); } && {
34357 test -z "$ac_c_werror_flag" ||
34358 test ! -s conftest.err
34359 } && test -s conftest.$ac_objext; then
34360 { echo "$as_me:$LINENO: result: no" >&5
34361 echo "${ECHO_T}no" >&6; }
34363 echo "$as_me: failed program was:" >&5
34364 sed 's/^/| /' conftest.$ac_ext >&5
34366 { echo "$as_me:$LINENO: result: yes" >&5
34367 echo "${ECHO_T}yes" >&6; }
34368 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34369 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34370 cat >conftest.$ac_ext <<_ACEOF
34373 cat confdefs.h >>conftest.$ac_ext
34374 cat >>conftest.$ac_ext <<_ACEOF
34375 /* end confdefs.h. */
34376 #define __Point__ 1
34377 #include <AppKit/NSEvent.h>
34378 #include <CoreFoundation/CoreFoundation.h>
34388 rm -f conftest.$ac_objext
34389 if { (ac_try="$ac_compile"
34390 case "(($ac_try" in
34391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34392 *) ac_try_echo
=$ac_try;;
34394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34395 (eval "$ac_compile") 2>conftest.er1
34397 grep -v '^ *+' conftest.er1
>conftest.err
34399 cat conftest.err
>&5
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); } && {
34402 test -z "$ac_c_werror_flag" ||
34403 test ! -s conftest.err
34404 } && test -s conftest.
$ac_objext; then
34405 { echo "$as_me:$LINENO: result: yes" >&5
34406 echo "${ECHO_T}yes" >&6; }
34407 cat >>confdefs.h
<<\_ACEOF
34408 #define __Point__ 1
34413 echo "$as_me: failed program was:" >&5
34414 sed 's/^/| /' conftest.
$ac_ext >&5
34416 { { echo "$as_me:$LINENO: error: no
34417 See \`config.log' for more details." >&5
34418 echo "$as_me: error: no
34419 See \`config.log' for more details." >&2;}
34420 { (exit 1); exit 1; }; }
34424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34430 ac_cpp
='$CPP $CPPFLAGS'
34431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34438 { echo "$as_me:$LINENO: checking for mode_t" >&5
34439 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34440 if test "${ac_cv_type_mode_t+set}" = set; then
34441 echo $ECHO_N "(cached) $ECHO_C" >&6
34443 cat >conftest.
$ac_ext <<_ACEOF
34446 cat confdefs.h
>>conftest.
$ac_ext
34447 cat >>conftest.
$ac_ext <<_ACEOF
34448 /* end confdefs.h. */
34449 $ac_includes_default
34450 typedef mode_t ac__type_new_;
34454 if ((ac__type_new_ *) 0)
34456 if (sizeof (ac__type_new_))
34462 rm -f conftest.
$ac_objext
34463 if { (ac_try
="$ac_compile"
34464 case "(($ac_try" in
34465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34466 *) ac_try_echo=$ac_try;;
34468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34469 (eval "$ac_compile") 2>conftest.er1
34471 grep -v '^ *+' conftest.er1 >conftest.err
34473 cat conftest.err >&5
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); } && {
34476 test -z "$ac_c_werror_flag" ||
34477 test ! -s conftest.err
34478 } && test -s conftest.$ac_objext; then
34479 ac_cv_type_mode_t=yes
34481 echo "$as_me: failed program was:" >&5
34482 sed 's/^/| /' conftest.$ac_ext >&5
34484 ac_cv_type_mode_t=no
34487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34489 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34490 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34491 if test $ac_cv_type_mode_t = yes; then
34495 cat >>confdefs.h <<_ACEOF
34501 { echo "$as_me:$LINENO: checking for off_t" >&5
34502 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34503 if test "${ac_cv_type_off_t+set}" = set; then
34504 echo $ECHO_N "(cached) $ECHO_C" >&6
34506 cat >conftest.$ac_ext <<_ACEOF
34509 cat confdefs.h >>conftest.$ac_ext
34510 cat >>conftest.$ac_ext <<_ACEOF
34511 /* end confdefs.h. */
34512 $ac_includes_default
34513 typedef off_t ac__type_new_;
34517 if ((ac__type_new_ *) 0)
34519 if (sizeof (ac__type_new_))
34525 rm -f conftest.$ac_objext
34526 if { (ac_try="$ac_compile"
34527 case "(($ac_try" in
34528 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34529 *) ac_try_echo
=$ac_try;;
34531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34532 (eval "$ac_compile") 2>conftest.er1
34534 grep -v '^ *+' conftest.er1
>conftest.err
34536 cat conftest.err
>&5
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); } && {
34539 test -z "$ac_c_werror_flag" ||
34540 test ! -s conftest.err
34541 } && test -s conftest.
$ac_objext; then
34542 ac_cv_type_off_t
=yes
34544 echo "$as_me: failed program was:" >&5
34545 sed 's/^/| /' conftest.
$ac_ext >&5
34547 ac_cv_type_off_t
=no
34550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34552 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34553 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34554 if test $ac_cv_type_off_t = yes; then
34558 cat >>confdefs.h
<<_ACEOF
34559 #define off_t long int
34564 { echo "$as_me:$LINENO: checking for pid_t" >&5
34565 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34566 if test "${ac_cv_type_pid_t+set}" = set; then
34567 echo $ECHO_N "(cached) $ECHO_C" >&6
34569 cat >conftest.
$ac_ext <<_ACEOF
34572 cat confdefs.h
>>conftest.
$ac_ext
34573 cat >>conftest.
$ac_ext <<_ACEOF
34574 /* end confdefs.h. */
34575 $ac_includes_default
34576 typedef pid_t ac__type_new_;
34580 if ((ac__type_new_ *) 0)
34582 if (sizeof (ac__type_new_))
34588 rm -f conftest.
$ac_objext
34589 if { (ac_try
="$ac_compile"
34590 case "(($ac_try" in
34591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34592 *) ac_try_echo=$ac_try;;
34594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34595 (eval "$ac_compile") 2>conftest.er1
34597 grep -v '^ *+' conftest.er1 >conftest.err
34599 cat conftest.err >&5
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); } && {
34602 test -z "$ac_c_werror_flag" ||
34603 test ! -s conftest.err
34604 } && test -s conftest.$ac_objext; then
34605 ac_cv_type_pid_t=yes
34607 echo "$as_me: failed program was:" >&5
34608 sed 's/^/| /' conftest.$ac_ext >&5
34610 ac_cv_type_pid_t=no
34613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34615 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34616 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34617 if test $ac_cv_type_pid_t = yes; then
34621 cat >>confdefs.h <<_ACEOF
34627 { echo "$as_me:$LINENO: checking for size_t" >&5
34628 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34629 if test "${ac_cv_type_size_t+set}" = set; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34632 cat >conftest.$ac_ext <<_ACEOF
34635 cat confdefs.h >>conftest.$ac_ext
34636 cat >>conftest.$ac_ext <<_ACEOF
34637 /* end confdefs.h. */
34638 $ac_includes_default
34639 typedef size_t ac__type_new_;
34643 if ((ac__type_new_ *) 0)
34645 if (sizeof (ac__type_new_))
34651 rm -f conftest.$ac_objext
34652 if { (ac_try="$ac_compile"
34653 case "(($ac_try" in
34654 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34655 *) ac_try_echo
=$ac_try;;
34657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34658 (eval "$ac_compile") 2>conftest.er1
34660 grep -v '^ *+' conftest.er1
>conftest.err
34662 cat conftest.err
>&5
34663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34664 (exit $ac_status); } && {
34665 test -z "$ac_c_werror_flag" ||
34666 test ! -s conftest.err
34667 } && test -s conftest.
$ac_objext; then
34668 ac_cv_type_size_t
=yes
34670 echo "$as_me: failed program was:" >&5
34671 sed 's/^/| /' conftest.
$ac_ext >&5
34673 ac_cv_type_size_t
=no
34676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34678 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34679 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34680 if test $ac_cv_type_size_t = yes; then
34684 cat >>confdefs.h
<<_ACEOF
34685 #define size_t unsigned int
34691 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34692 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34693 if test "${ac_cv_type_ssize_t+set}" = set; then
34694 echo $ECHO_N "(cached) $ECHO_C" >&6
34696 cat >conftest.
$ac_ext <<_ACEOF
34699 cat confdefs.h
>>conftest.
$ac_ext
34700 cat >>conftest.
$ac_ext <<_ACEOF
34701 /* end confdefs.h. */
34702 $ac_includes_default
34703 typedef ssize_t ac__type_new_;
34707 if ((ac__type_new_ *) 0)
34709 if (sizeof (ac__type_new_))
34715 rm -f conftest.
$ac_objext
34716 if { (ac_try
="$ac_compile"
34717 case "(($ac_try" in
34718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34719 *) ac_try_echo=$ac_try;;
34721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34722 (eval "$ac_compile") 2>conftest.er1
34724 grep -v '^ *+' conftest.er1 >conftest.err
34726 cat conftest.err >&5
34727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34728 (exit $ac_status); } && {
34729 test -z "$ac_c_werror_flag" ||
34730 test ! -s conftest.err
34731 } && test -s conftest.$ac_objext; then
34732 ac_cv_type_ssize_t=yes
34734 echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.$ac_ext >&5
34737 ac_cv_type_ssize_t=no
34740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34742 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34743 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34744 if test $ac_cv_type_ssize_t = yes; then
34746 cat >>confdefs.h <<_ACEOF
34747 #define HAVE_SSIZE_T 1
34755 ac_cpp='$CXXCPP $CPPFLAGS'
34756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34759 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34760 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34761 if test "${wx_cv_size_t_is_uint+set}" = set; then
34762 echo $ECHO_N "(cached) $ECHO_C" >&6
34765 cat >conftest.$ac_ext <<_ACEOF
34768 cat confdefs.h >>conftest.$ac_ext
34769 cat >>conftest.$ac_ext <<_ACEOF
34770 /* end confdefs.h. */
34771 #include <stddef.h>
34778 struct Foo { void foo(size_t); void foo(unsigned int); };
34786 rm -f conftest.$ac_objext
34787 if { (ac_try="$ac_compile"
34788 case "(($ac_try" in
34789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34790 *) ac_try_echo
=$ac_try;;
34792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34793 (eval "$ac_compile") 2>conftest.er1
34795 grep -v '^ *+' conftest.er1
>conftest.err
34797 cat conftest.err
>&5
34798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34799 (exit $ac_status); } && {
34800 test -z "$ac_cxx_werror_flag" ||
34801 test ! -s conftest.err
34802 } && test -s conftest.
$ac_objext; then
34803 wx_cv_size_t_is_uint
=no
34805 echo "$as_me: failed program was:" >&5
34806 sed 's/^/| /' conftest.
$ac_ext >&5
34808 wx_cv_size_t_is_uint
=yes
34812 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34816 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34817 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34819 if test "$wx_cv_size_t_is_uint" = "yes"; then
34820 cat >>confdefs.h
<<\_ACEOF
34821 #define wxSIZE_T_IS_UINT 1
34825 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34826 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34827 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34828 echo $ECHO_N "(cached) $ECHO_C" >&6
34830 cat >conftest.
$ac_ext <<_ACEOF
34833 cat confdefs.h
>>conftest.
$ac_ext
34834 cat >>conftest.
$ac_ext <<_ACEOF
34835 /* end confdefs.h. */
34836 #include <stddef.h>
34843 struct Foo { void foo(size_t); void foo(unsigned long); };
34851 rm -f conftest.
$ac_objext
34852 if { (ac_try
="$ac_compile"
34853 case "(($ac_try" in
34854 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34855 *) ac_try_echo=$ac_try;;
34857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34858 (eval "$ac_compile") 2>conftest.er1
34860 grep -v '^ *+' conftest.er1 >conftest.err
34862 cat conftest.err >&5
34863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864 (exit $ac_status); } && {
34865 test -z "$ac_cxx_werror_flag" ||
34866 test ! -s conftest.err
34867 } && test -s conftest.$ac_objext; then
34868 wx_cv_size_t_is_ulong=no
34870 echo "$as_me: failed program was:" >&5
34871 sed 's/^/| /' conftest.$ac_ext >&5
34873 wx_cv_size_t_is_ulong=yes
34877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34880 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34881 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34883 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34884 cat >>confdefs.h <<\_ACEOF
34885 #define wxSIZE_T_IS_ULONG 1
34891 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34892 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34893 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34894 echo $ECHO_N "(cached) $ECHO_C" >&6
34896 cat >conftest.$ac_ext <<_ACEOF
34899 cat confdefs.h >>conftest.$ac_ext
34900 cat >>conftest.$ac_ext <<_ACEOF
34901 /* end confdefs.h. */
34909 struct Foo { void foo(wchar_t);
34910 void foo(unsigned short);
34911 void foo(unsigned int);
34912 void foo(unsigned long); };
34920 rm -f conftest.$ac_objext
34921 if { (ac_try="$ac_compile"
34922 case "(($ac_try" in
34923 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34924 *) ac_try_echo
=$ac_try;;
34926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34927 (eval "$ac_compile") 2>conftest.er1
34929 grep -v '^ *+' conftest.er1
>conftest.err
34931 cat conftest.err
>&5
34932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34933 (exit $ac_status); } && {
34934 test -z "$ac_cxx_werror_flag" ||
34935 test ! -s conftest.err
34936 } && test -s conftest.
$ac_objext; then
34937 wx_cv_wchar_t_is_separate_type
=yes
34939 echo "$as_me: failed program was:" >&5
34940 sed 's/^/| /' conftest.
$ac_ext >&5
34942 wx_cv_wchar_t_is_separate_type
=no
34946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34949 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34950 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34952 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34953 cat >>confdefs.h
<<\_ACEOF
34954 #define wxWCHAR_T_IS_REAL_TYPE 1
34958 cat >>confdefs.h
<<\_ACEOF
34959 #define wxWCHAR_T_IS_REAL_TYPE 0
34965 ac_cpp
='$CPP $CPPFLAGS'
34966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34971 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34972 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34973 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34974 echo $ECHO_N "(cached) $ECHO_C" >&6
34977 cat >conftest.
$ac_ext <<_ACEOF
34980 cat confdefs.h
>>conftest.
$ac_ext
34981 cat >>conftest.
$ac_ext <<_ACEOF
34982 /* end confdefs.h. */
34996 rm -f conftest.
$ac_objext
34997 if { (ac_try
="$ac_compile"
34998 case "(($ac_try" in
34999 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35000 *) ac_try_echo=$ac_try;;
35002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35003 (eval "$ac_compile") 2>conftest.er1
35005 grep -v '^ *+' conftest.er1 >conftest.err
35007 cat conftest.err >&5
35008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35009 (exit $ac_status); } && {
35010 test -z "$ac_c_werror_flag" ||
35011 test ! -s conftest.err
35012 } && test -s conftest.$ac_objext; then
35014 wx_cv_struct_pw_gecos=yes
35017 echo "$as_me: failed program was:" >&5
35018 sed 's/^/| /' conftest.$ac_ext >&5
35021 wx_cv_struct_pw_gecos=no
35026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35030 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35031 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
35033 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35034 cat >>confdefs.h <<\_ACEOF
35035 #define HAVE_PW_GECOS 1
35041 if test "$wxUSE_WCHAR_T" = "yes"; then
35042 cat >>confdefs.h <<\_ACEOF
35043 #define wxUSE_WCHAR_T 1
35050 for ac_func in wcslen
35052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35053 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35055 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35056 echo $ECHO_N "(cached) $ECHO_C" >&6
35058 cat >conftest.$ac_ext <<_ACEOF
35061 cat confdefs.h >>conftest.$ac_ext
35062 cat >>conftest.$ac_ext <<_ACEOF
35063 /* end confdefs.h. */
35064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35066 #define $ac_func innocuous_$ac_func
35068 /* System header to define __stub macros and hopefully few prototypes,
35069 which can conflict with char $ac_func (); below.
35070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35071 <limits.h> exists even on freestanding compilers. */
35074 # include <limits.h>
35076 # include <assert.h>
35081 /* Override any GCC internal prototype to avoid an error.
35082 Use char because int might match the return type of a GCC
35083 builtin and then its argument prototype would still apply. */
35088 /* The GNU C library defines this for functions which it implements
35089 to always fail with ENOSYS. Some functions are actually named
35090 something starting with __ and the normal name is an alias. */
35091 #if defined __stub_$ac_func || defined __stub___$ac_func
35098 return $ac_func ();
35103 rm -f conftest.$ac_objext conftest$ac_exeext
35104 if { (ac_try="$ac_link"
35105 case "(($ac_try" in
35106 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35107 *) ac_try_echo
=$ac_try;;
35109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35110 (eval "$ac_link") 2>conftest.er1
35112 grep -v '^ *+' conftest.er1
>conftest.err
35114 cat conftest.err
>&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); } && {
35117 test -z "$ac_c_werror_flag" ||
35118 test ! -s conftest.err
35119 } && test -s conftest
$ac_exeext &&
35120 $as_test_x conftest
$ac_exeext; then
35121 eval "$as_ac_var=yes"
35123 echo "$as_me: failed program was:" >&5
35124 sed 's/^/| /' conftest.
$ac_ext >&5
35126 eval "$as_ac_var=no"
35129 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35130 conftest
$ac_exeext conftest.
$ac_ext
35132 ac_res
=`eval echo '${'$as_ac_var'}'`
35133 { echo "$as_me:$LINENO: result: $ac_res" >&5
35134 echo "${ECHO_T}$ac_res" >&6; }
35135 if test `eval echo '${'$as_ac_var'}'` = yes; then
35136 cat >>confdefs.h
<<_ACEOF
35137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35144 if test "$WCSLEN_FOUND" = 0; then
35145 if test "$TOOLKIT" = "MSW"; then
35146 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35147 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
35148 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35149 echo $ECHO_N "(cached) $ECHO_C" >&6
35151 ac_check_lib_save_LIBS
=$LIBS
35152 LIBS
="-lmsvcrt $LIBS"
35153 cat >conftest.
$ac_ext <<_ACEOF
35156 cat confdefs.h
>>conftest.
$ac_ext
35157 cat >>conftest.
$ac_ext <<_ACEOF
35158 /* end confdefs.h. */
35160 /* Override any GCC internal prototype to avoid an error.
35161 Use char because int might match the return type of a GCC
35162 builtin and then its argument prototype would still apply. */
35175 rm -f conftest.
$ac_objext conftest
$ac_exeext
35176 if { (ac_try
="$ac_link"
35177 case "(($ac_try" in
35178 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35179 *) ac_try_echo=$ac_try;;
35181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35182 (eval "$ac_link") 2>conftest.er1
35184 grep -v '^ *+' conftest.er1 >conftest.err
35186 cat conftest.err >&5
35187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35188 (exit $ac_status); } && {
35189 test -z "$ac_c_werror_flag" ||
35190 test ! -s conftest.err
35191 } && test -s conftest$ac_exeext &&
35192 $as_test_x conftest$ac_exeext; then
35193 ac_cv_lib_msvcrt_wcslen=yes
35195 echo "$as_me: failed program was:" >&5
35196 sed 's/^/| /' conftest.$ac_ext >&5
35198 ac_cv_lib_msvcrt_wcslen=no
35201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35202 conftest$ac_exeext conftest.$ac_ext
35203 LIBS=$ac_check_lib_save_LIBS
35205 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35206 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
35207 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35212 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35213 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
35214 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35215 echo $ECHO_N "(cached) $ECHO_C" >&6
35217 ac_check_lib_save_LIBS=$LIBS
35219 cat >conftest.$ac_ext <<_ACEOF
35222 cat confdefs.h >>conftest.$ac_ext
35223 cat >>conftest.$ac_ext <<_ACEOF
35224 /* end confdefs.h. */
35226 /* Override any GCC internal prototype to avoid an error.
35227 Use char because int might match the return type of a GCC
35228 builtin and then its argument prototype would still apply. */
35241 rm -f conftest.$ac_objext conftest$ac_exeext
35242 if { (ac_try="$ac_link"
35243 case "(($ac_try" in
35244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35245 *) ac_try_echo
=$ac_try;;
35247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35248 (eval "$ac_link") 2>conftest.er1
35250 grep -v '^ *+' conftest.er1
>conftest.err
35252 cat conftest.err
>&5
35253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35254 (exit $ac_status); } && {
35255 test -z "$ac_c_werror_flag" ||
35256 test ! -s conftest.err
35257 } && test -s conftest
$ac_exeext &&
35258 $as_test_x conftest
$ac_exeext; then
35259 ac_cv_lib_w_wcslen
=yes
35261 echo "$as_me: failed program was:" >&5
35262 sed 's/^/| /' conftest.
$ac_ext >&5
35264 ac_cv_lib_w_wcslen
=no
35267 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35268 conftest
$ac_exeext conftest.
$ac_ext
35269 LIBS
=$ac_check_lib_save_LIBS
35271 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35272 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
35273 if test $ac_cv_lib_w_wcslen = yes; then
35283 if test "$WCSLEN_FOUND" = 1; then
35284 cat >>confdefs.h
<<\_ACEOF
35285 #define HAVE_WCSLEN 1
35295 for ac_func
in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35297 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35298 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35300 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35301 echo $ECHO_N "(cached) $ECHO_C" >&6
35303 cat >conftest.
$ac_ext <<_ACEOF
35306 cat confdefs.h
>>conftest.
$ac_ext
35307 cat >>conftest.
$ac_ext <<_ACEOF
35308 /* end confdefs.h. */
35309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35311 #define $ac_func innocuous_$ac_func
35313 /* System header to define __stub macros and hopefully few prototypes,
35314 which can conflict with char $ac_func (); below.
35315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35316 <limits.h> exists even on freestanding compilers. */
35319 # include <limits.h>
35321 # include <assert.h>
35326 /* Override any GCC internal prototype to avoid an error.
35327 Use char because int might match the return type of a GCC
35328 builtin and then its argument prototype would still apply. */
35333 /* The GNU C library defines this for functions which it implements
35334 to always fail with ENOSYS. Some functions are actually named
35335 something starting with __ and the normal name is an alias. */
35336 #if defined __stub_$ac_func || defined __stub___$ac_func
35343 return $ac_func ();
35348 rm -f conftest.
$ac_objext conftest
$ac_exeext
35349 if { (ac_try
="$ac_link"
35350 case "(($ac_try" in
35351 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35352 *) ac_try_echo=$ac_try;;
35354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35355 (eval "$ac_link") 2>conftest.er1
35357 grep -v '^ *+' conftest.er1 >conftest.err
35359 cat conftest.err >&5
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); } && {
35362 test -z "$ac_c_werror_flag" ||
35363 test ! -s conftest.err
35364 } && test -s conftest$ac_exeext &&
35365 $as_test_x conftest$ac_exeext; then
35366 eval "$as_ac_var=yes"
35368 echo "$as_me: failed program was:" >&5
35369 sed 's/^/| /' conftest.$ac_ext >&5
35371 eval "$as_ac_var=no"
35374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35375 conftest$ac_exeext conftest.$ac_ext
35377 ac_res=`eval echo '${'$as_ac_var'}'`
35378 { echo "$as_me:$LINENO: result: $ac_res" >&5
35379 echo "${ECHO_T}$ac_res" >&6; }
35380 if test `eval echo '${'$as_ac_var'}'` = yes; then
35381 cat >>confdefs.h <<_ACEOF
35382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35389 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35390 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35393 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35394 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35395 if test "${ac_cv_type_mbstate_t+set}" = set; then
35396 echo $ECHO_N "(cached) $ECHO_C" >&6
35398 cat >conftest.$ac_ext <<_ACEOF
35401 cat confdefs.h >>conftest.$ac_ext
35402 cat >>conftest.$ac_ext <<_ACEOF
35403 /* end confdefs.h. */
35406 typedef mbstate_t ac__type_new_;
35410 if ((ac__type_new_ *) 0)
35412 if (sizeof (ac__type_new_))
35418 rm -f conftest.$ac_objext
35419 if { (ac_try="$ac_compile"
35420 case "(($ac_try" in
35421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35422 *) ac_try_echo
=$ac_try;;
35424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35425 (eval "$ac_compile") 2>conftest.er1
35427 grep -v '^ *+' conftest.er1
>conftest.err
35429 cat conftest.err
>&5
35430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35431 (exit $ac_status); } && {
35432 test -z "$ac_c_werror_flag" ||
35433 test ! -s conftest.err
35434 } && test -s conftest.
$ac_objext; then
35435 ac_cv_type_mbstate_t
=yes
35437 echo "$as_me: failed program was:" >&5
35438 sed 's/^/| /' conftest.
$ac_ext >&5
35440 ac_cv_type_mbstate_t
=no
35443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35445 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35446 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35447 if test $ac_cv_type_mbstate_t = yes; then
35449 cat >>confdefs.h
<<_ACEOF
35450 #define HAVE_MBSTATE_T 1
35454 for ac_func
in wcsrtombs
35456 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35457 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35459 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35460 echo $ECHO_N "(cached) $ECHO_C" >&6
35462 cat >conftest.
$ac_ext <<_ACEOF
35465 cat confdefs.h
>>conftest.
$ac_ext
35466 cat >>conftest.
$ac_ext <<_ACEOF
35467 /* end confdefs.h. */
35468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35470 #define $ac_func innocuous_$ac_func
35472 /* System header to define __stub macros and hopefully few prototypes,
35473 which can conflict with char $ac_func (); below.
35474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35475 <limits.h> exists even on freestanding compilers. */
35478 # include <limits.h>
35480 # include <assert.h>
35485 /* Override any GCC internal prototype to avoid an error.
35486 Use char because int might match the return type of a GCC
35487 builtin and then its argument prototype would still apply. */
35492 /* The GNU C library defines this for functions which it implements
35493 to always fail with ENOSYS. Some functions are actually named
35494 something starting with __ and the normal name is an alias. */
35495 #if defined __stub_$ac_func || defined __stub___$ac_func
35502 return $ac_func ();
35507 rm -f conftest.
$ac_objext conftest
$ac_exeext
35508 if { (ac_try
="$ac_link"
35509 case "(($ac_try" in
35510 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35511 *) ac_try_echo=$ac_try;;
35513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35514 (eval "$ac_link") 2>conftest.er1
35516 grep -v '^ *+' conftest.er1 >conftest.err
35518 cat conftest.err >&5
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); } && {
35521 test -z "$ac_c_werror_flag" ||
35522 test ! -s conftest.err
35523 } && test -s conftest$ac_exeext &&
35524 $as_test_x conftest$ac_exeext; then
35525 eval "$as_ac_var=yes"
35527 echo "$as_me: failed program was:" >&5
35528 sed 's/^/| /' conftest.$ac_ext >&5
35530 eval "$as_ac_var=no"
35533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35534 conftest$ac_exeext conftest.$ac_ext
35536 ac_res=`eval echo '${'$as_ac_var'}'`
35537 { echo "$as_me:$LINENO: result: $ac_res" >&5
35538 echo "${ECHO_T}$ac_res" >&6; }
35539 if test `eval echo '${'$as_ac_var'}'` = yes; then
35540 cat >>confdefs.h <<_ACEOF
35541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35550 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35551 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35557 for ac_func in snprintf vsnprintf vsscanf
35559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35560 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35562 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35563 echo $ECHO_N "(cached) $ECHO_C" >&6
35565 cat >conftest.$ac_ext <<_ACEOF
35568 cat confdefs.h >>conftest.$ac_ext
35569 cat >>conftest.$ac_ext <<_ACEOF
35570 /* end confdefs.h. */
35571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35573 #define $ac_func innocuous_$ac_func
35575 /* System header to define __stub macros and hopefully few prototypes,
35576 which can conflict with char $ac_func (); below.
35577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35578 <limits.h> exists even on freestanding compilers. */
35581 # include <limits.h>
35583 # include <assert.h>
35588 /* Override any GCC internal prototype to avoid an error.
35589 Use char because int might match the return type of a GCC
35590 builtin and then its argument prototype would still apply. */
35595 /* The GNU C library defines this for functions which it implements
35596 to always fail with ENOSYS. Some functions are actually named
35597 something starting with __ and the normal name is an alias. */
35598 #if defined __stub_$ac_func || defined __stub___$ac_func
35605 return $ac_func ();
35610 rm -f conftest.$ac_objext conftest$ac_exeext
35611 if { (ac_try="$ac_link"
35612 case "(($ac_try" in
35613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35614 *) ac_try_echo
=$ac_try;;
35616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35617 (eval "$ac_link") 2>conftest.er1
35619 grep -v '^ *+' conftest.er1
>conftest.err
35621 cat conftest.err
>&5
35622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35623 (exit $ac_status); } && {
35624 test -z "$ac_c_werror_flag" ||
35625 test ! -s conftest.err
35626 } && test -s conftest
$ac_exeext &&
35627 $as_test_x conftest
$ac_exeext; then
35628 eval "$as_ac_var=yes"
35630 echo "$as_me: failed program was:" >&5
35631 sed 's/^/| /' conftest.
$ac_ext >&5
35633 eval "$as_ac_var=no"
35636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35637 conftest
$ac_exeext conftest.
$ac_ext
35639 ac_res
=`eval echo '${'$as_ac_var'}'`
35640 { echo "$as_me:$LINENO: result: $ac_res" >&5
35641 echo "${ECHO_T}$ac_res" >&6; }
35642 if test `eval echo '${'$as_ac_var'}'` = yes; then
35643 cat >>confdefs.h
<<_ACEOF
35644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35652 ac_cpp
='$CXXCPP $CPPFLAGS'
35653 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35654 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35655 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35657 if test "$ac_cv_func_vsnprintf" = "yes"; then
35658 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35659 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35660 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35661 echo $ECHO_N "(cached) $ECHO_C" >&6
35664 cat >conftest.
$ac_ext <<_ACEOF
35667 cat confdefs.h
>>conftest.
$ac_ext
35668 cat >>conftest.
$ac_ext <<_ACEOF
35669 /* end confdefs.h. */
35672 #include <stdarg.h>
35674 #if __MSL__ >= 0x6000
35676 using namespace std;
35686 vsnprintf(buf, 10u, "%s", ap);
35692 rm -f conftest.
$ac_objext
35693 if { (ac_try
="$ac_compile"
35694 case "(($ac_try" in
35695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35696 *) ac_try_echo=$ac_try;;
35698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35699 (eval "$ac_compile") 2>conftest.er1
35701 grep -v '^ *+' conftest.er1 >conftest.err
35703 cat conftest.err >&5
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); } && {
35706 test -z "$ac_cxx_werror_flag" ||
35707 test ! -s conftest.err
35708 } && test -s conftest.$ac_objext; then
35709 wx_cv_func_vsnprintf_decl=yes
35711 echo "$as_me: failed program was:" >&5
35712 sed 's/^/| /' conftest.$ac_ext >&5
35714 wx_cv_func_vsnprintf_decl=no
35718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35722 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35723 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35725 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35726 cat >>confdefs.h <<\_ACEOF
35727 #define HAVE_VSNPRINTF_DECL 1
35731 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35732 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35733 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35734 echo $ECHO_N "(cached) $ECHO_C" >&6
35737 cat >conftest.$ac_ext <<_ACEOF
35740 cat confdefs.h >>conftest.$ac_ext
35741 cat >>conftest.$ac_ext <<_ACEOF
35742 /* end confdefs.h. */
35745 #include <stdarg.h>
35747 #if __MSL__ >= 0x6000
35749 using namespace std;
35759 const char *fmt = "%s";
35760 vsnprintf(buf, 10u, fmt, ap);
35766 rm -f conftest.$ac_objext
35767 if { (ac_try="$ac_compile"
35768 case "(($ac_try" in
35769 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35770 *) ac_try_echo
=$ac_try;;
35772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35773 (eval "$ac_compile") 2>conftest.er1
35775 grep -v '^ *+' conftest.er1
>conftest.err
35777 cat conftest.err
>&5
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); } && {
35780 test -z "$ac_cxx_werror_flag" ||
35781 test ! -s conftest.err
35782 } && test -s conftest.
$ac_objext; then
35783 wx_cv_func_broken_vsnprintf_decl
=no
35785 echo "$as_me: failed program was:" >&5
35786 sed 's/^/| /' conftest.
$ac_ext >&5
35788 wx_cv_func_broken_vsnprintf_decl
=yes
35792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35796 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35797 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35799 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35800 cat >>confdefs.h
<<\_ACEOF
35801 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35808 if test "$ac_cv_func_snprintf" = "yes"; then
35809 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35810 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35811 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35812 echo $ECHO_N "(cached) $ECHO_C" >&6
35815 cat >conftest.
$ac_ext <<_ACEOF
35818 cat confdefs.h
>>conftest.
$ac_ext
35819 cat >>conftest.
$ac_ext <<_ACEOF
35820 /* end confdefs.h. */
35823 #include <stdarg.h>
35825 #if __MSL__ >= 0x6000
35827 using namespace std;
35836 snprintf(buf, 10u, "%s", "wx");
35842 rm -f conftest.
$ac_objext
35843 if { (ac_try
="$ac_compile"
35844 case "(($ac_try" in
35845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35846 *) ac_try_echo=$ac_try;;
35848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35849 (eval "$ac_compile") 2>conftest.er1
35851 grep -v '^ *+' conftest.er1 >conftest.err
35853 cat conftest.err >&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } && {
35856 test -z "$ac_cxx_werror_flag" ||
35857 test ! -s conftest.err
35858 } && test -s conftest.$ac_objext; then
35859 wx_cv_func_snprintf_decl=yes
35861 echo "$as_me: failed program was:" >&5
35862 sed 's/^/| /' conftest.$ac_ext >&5
35864 wx_cv_func_snprintf_decl=no
35868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35872 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35873 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35875 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35876 cat >>confdefs.h <<\_ACEOF
35877 #define HAVE_SNPRINTF_DECL 1
35882 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35884 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35885 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35886 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35887 echo $ECHO_N "(cached) $ECHO_C" >&6
35890 if test "$cross_compiling" = yes; then
35892 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35893 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35894 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35895 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35896 wx_cv_func_snprintf_pos_params=no
35900 cat >conftest.$ac_ext <<_ACEOF
35903 cat confdefs.h >>conftest.$ac_ext
35904 cat >>conftest.$ac_ext <<_ACEOF
35905 /* end confdefs.h. */
35912 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35913 if (strcmp ("2 3 1", buffer) == 0)
35919 rm -f conftest$ac_exeext
35920 if { (ac_try="$ac_link"
35921 case "(($ac_try" in
35922 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35923 *) ac_try_echo
=$ac_try;;
35925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35926 (eval "$ac_link") 2>&5
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35930 { (case "(($ac_try" in
35931 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35932 *) ac_try_echo=$ac_try;;
35934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35935 (eval "$ac_try") 2>&5
35937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35938 (exit $ac_status); }; }; then
35939 wx_cv_func_snprintf_pos_params=no
35941 echo "$as_me: program exited with status $ac_status" >&5
35942 echo "$as_me: failed program was:" >&5
35943 sed 's/^/| /' conftest.$ac_ext >&5
35945 ( exit $ac_status )
35946 wx_cv_func_snprintf_pos_params=yes
35948 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35955 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35956 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35958 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35959 cat >>confdefs.h <<\_ACEOF
35960 #define HAVE_UNIX98_PRINTF 1
35967 if test "$ac_cv_func_vsscanf" = "yes"; then
35968 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35969 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35970 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35971 echo $ECHO_N "(cached) $ECHO_C" >&6
35974 cat >conftest.$ac_ext <<_ACEOF
35977 cat confdefs.h >>conftest.$ac_ext
35978 cat >>conftest.$ac_ext <<_ACEOF
35979 /* end confdefs.h. */
35982 #include <stdarg.h>
35984 #if __MSL__ >= 0x6000
35986 using namespace std;
35996 vsscanf(buf, "%s", args);
36002 rm -f conftest.$ac_objext
36003 if { (ac_try="$ac_compile"
36004 case "(($ac_try" in
36005 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36006 *) ac_try_echo
=$ac_try;;
36008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36009 (eval "$ac_compile") 2>conftest.er1
36011 grep -v '^ *+' conftest.er1
>conftest.err
36013 cat conftest.err
>&5
36014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36015 (exit $ac_status); } && {
36016 test -z "$ac_cxx_werror_flag" ||
36017 test ! -s conftest.err
36018 } && test -s conftest.
$ac_objext; then
36019 wx_cv_func_vsscanf_decl
=yes
36021 echo "$as_me: failed program was:" >&5
36022 sed 's/^/| /' conftest.
$ac_ext >&5
36024 wx_cv_func_vsscanf_decl
=no
36028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36032 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
36033 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
36035 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
36036 cat >>confdefs.h
<<\_ACEOF
36037 #define HAVE_VSSCANF_DECL 1
36043 ac_cpp
='$CPP $CPPFLAGS'
36044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36049 if test "$wxUSE_UNICODE" = yes; then
36051 wchar_headers
="#include <stdio.h>
36052 #include <wchar.h>"
36056 for ac_header
in widec.h
36058 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36059 { echo "$as_me:$LINENO: checking for $ac_header" >&5
36060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
36061 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
36062 echo $ECHO_N "(cached) $ECHO_C" >&6
36064 cat >conftest.
$ac_ext <<_ACEOF
36067 cat confdefs.h
>>conftest.
$ac_ext
36068 cat >>conftest.
$ac_ext <<_ACEOF
36069 /* end confdefs.h. */
36070 $ac_includes_default
36072 #include <$ac_header>
36074 rm -f conftest.
$ac_objext
36075 if { (ac_try
="$ac_compile"
36076 case "(($ac_try" in
36077 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36078 *) ac_try_echo=$ac_try;;
36080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36081 (eval "$ac_compile") 2>conftest.er1
36083 grep -v '^ *+' conftest.er1 >conftest.err
36085 cat conftest.err >&5
36086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36087 (exit $ac_status); } && {
36088 test -z "$ac_c_werror_flag" ||
36089 test ! -s conftest.err
36090 } && test -s conftest.$ac_objext; then
36091 eval "$as_ac_Header=yes"
36093 echo "$as_me: failed program was:" >&5
36094 sed 's/^/| /' conftest.$ac_ext >&5
36096 eval "$as_ac_Header=no"
36099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36101 ac_res=`eval echo '${'$as_ac_Header'}'`
36102 { echo "$as_me:$LINENO: result: $ac_res" >&5
36103 echo "${ECHO_T}$ac_res" >&6; }
36104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36105 cat >>confdefs.h <<_ACEOF
36106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36113 if test "$ac_cv_header_widec_h" = "yes"; then
36114 wchar_headers="$wchar_headers
36115 #include <widec.h>"
36120 for wx_func in putws fputws wprintf vswprintf vswscanf
36122 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36123 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36124 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36125 echo $ECHO_N "(cached) $ECHO_C" >&6
36128 cat >conftest.$ac_ext <<_ACEOF
36132 cat confdefs.h >>conftest.$ac_ext
36133 cat >>conftest.$ac_ext <<_ACEOF
36134 /* end confdefs.h. */
36137 $ac_includes_default
36153 rm -f conftest.$ac_objext conftest$ac_exeext
36154 if { (ac_try="$ac_link"
36155 case "(($ac_try" in
36156 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36157 *) ac_try_echo
=$ac_try;;
36159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36160 (eval "$ac_link") 2>conftest.er1
36162 grep -v '^ *+' conftest.er1
>conftest.err
36164 cat conftest.err
>&5
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); } && {
36167 test -z "$ac_c_werror_flag" ||
36168 test ! -s conftest.err
36169 } && test -s conftest
$ac_exeext &&
36170 $as_test_x conftest
$ac_exeext; then
36171 eval wx_cv_func_
$wx_func=yes
36173 echo "$as_me: failed program was:" >&5
36174 sed 's/^/| /' conftest.
$ac_ext >&5
36176 eval wx_cv_func_
$wx_func=no
36179 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36180 conftest
$ac_exeext conftest.
$ac_ext
36183 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36184 { echo "$as_me:$LINENO: result: $ac_res" >&5
36185 echo "${ECHO_T}$ac_res" >&6; }
36187 if eval test \
$wx_cv_func_$wx_func = yes
36189 cat >>confdefs.h
<<_ACEOF
36190 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36201 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36202 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
36203 cat >conftest.
$ac_ext <<_ACEOF
36206 cat confdefs.h
>>conftest.
$ac_ext
36207 cat >>conftest.
$ac_ext <<_ACEOF
36208 /* end confdefs.h. */
36218 rm -f conftest.
$ac_objext
36219 if { (ac_try
="$ac_compile"
36220 case "(($ac_try" in
36221 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36222 *) ac_try_echo=$ac_try;;
36224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36225 (eval "$ac_compile") 2>conftest.er1
36227 grep -v '^ *+' conftest.er1 >conftest.err
36229 cat conftest.err >&5
36230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36231 (exit $ac_status); } && {
36232 test -z "$ac_c_werror_flag" ||
36233 test ! -s conftest.err
36234 } && test -s conftest.$ac_objext; then
36235 { echo "$as_me:$LINENO: result: yes" >&5
36236 echo "${ECHO_T}yes" >&6; }
36237 cat >>confdefs.h <<\_ACEOF
36238 #define HAVE__VSNWPRINTF 1
36242 echo "$as_me: failed program was:" >&5
36243 sed 's/^/| /' conftest.$ac_ext >&5
36245 { echo "$as_me:$LINENO: result: no" >&5
36246 echo "${ECHO_T}no" >&6; }
36249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36252 if test "$wxUSE_FILE" = "yes"; then
36254 for wx_func in fsync
36256 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36257 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36258 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36259 echo $ECHO_N "(cached) $ECHO_C" >&6
36262 cat >conftest.$ac_ext <<_ACEOF
36266 cat confdefs.h >>conftest.$ac_ext
36267 cat >>conftest.$ac_ext <<_ACEOF
36268 /* end confdefs.h. */
36271 $ac_includes_default
36287 rm -f conftest.$ac_objext conftest$ac_exeext
36288 if { (ac_try="$ac_link"
36289 case "(($ac_try" in
36290 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36291 *) ac_try_echo
=$ac_try;;
36293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36294 (eval "$ac_link") 2>conftest.er1
36296 grep -v '^ *+' conftest.er1
>conftest.err
36298 cat conftest.err
>&5
36299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300 (exit $ac_status); } && {
36301 test -z "$ac_c_werror_flag" ||
36302 test ! -s conftest.err
36303 } && test -s conftest
$ac_exeext &&
36304 $as_test_x conftest
$ac_exeext; then
36305 eval wx_cv_func_
$wx_func=yes
36307 echo "$as_me: failed program was:" >&5
36308 sed 's/^/| /' conftest.
$ac_ext >&5
36310 eval wx_cv_func_
$wx_func=no
36313 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36314 conftest
$ac_exeext conftest.
$ac_ext
36317 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
36318 { echo "$as_me:$LINENO: result: $ac_res" >&5
36319 echo "${ECHO_T}$ac_res" >&6; }
36321 if eval test \
$wx_cv_func_$wx_func = yes
36323 cat >>confdefs.h
<<_ACEOF
36324 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36337 ac_cpp
='$CXXCPP $CPPFLAGS'
36338 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36339 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36340 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36343 for wx_func
in round
36345 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36346 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36347 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36348 echo $ECHO_N "(cached) $ECHO_C" >&6
36351 cat >conftest.
$ac_ext <<_ACEOF
36355 cat confdefs.h
>>conftest.
$ac_ext
36356 cat >>conftest.
$ac_ext <<_ACEOF
36357 /* end confdefs.h. */
36360 $ac_includes_default
36376 rm -f conftest.
$ac_objext conftest
$ac_exeext
36377 if { (ac_try
="$ac_link"
36378 case "(($ac_try" in
36379 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36380 *) ac_try_echo=$ac_try;;
36382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36383 (eval "$ac_link") 2>conftest.er1
36385 grep -v '^ *+' conftest.er1 >conftest.err
36387 cat conftest.err >&5
36388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36389 (exit $ac_status); } && {
36390 test -z "$ac_cxx_werror_flag" ||
36391 test ! -s conftest.err
36392 } && test -s conftest$ac_exeext &&
36393 $as_test_x conftest$ac_exeext; then
36394 eval wx_cv_func_$wx_func=yes
36396 echo "$as_me: failed program was:" >&5
36397 sed 's/^/| /' conftest.$ac_ext >&5
36399 eval wx_cv_func_$wx_func=no
36402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36403 conftest$ac_exeext conftest.$ac_ext
36406 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36407 { echo "$as_me:$LINENO: result: $ac_res" >&5
36408 echo "${ECHO_T}$ac_res" >&6; }
36410 if eval test \$wx_cv_func_$wx_func = yes
36412 cat >>confdefs.h <<_ACEOF
36413 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36424 ac_cpp='$CPP $CPPFLAGS'
36425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36430 if test "$TOOLKIT" != "MSW"; then
36432 if test "$wxUSE_LIBICONV" != "no" ; then
36436 # Check whether --with-libiconv-prefix was given.
36437 if test "${with_libiconv_prefix+set}" = set; then
36438 withval=$with_libiconv_prefix;
36439 for dir in `echo "$withval" | tr : ' '`; do
36440 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36441 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36447 { echo "$as_me:$LINENO: checking for iconv" >&5
36448 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36449 if test "${am_cv_func_iconv+set}" = set; then
36450 echo $ECHO_N "(cached) $ECHO_C" >&6
36453 am_cv_func_iconv="no, consider installing GNU libiconv"
36455 cat >conftest.$ac_ext <<_ACEOF
36458 cat confdefs.h >>conftest.$ac_ext
36459 cat >>conftest.$ac_ext <<_ACEOF
36460 /* end confdefs.h. */
36461 #include <stdlib.h>
36466 iconv_t cd = iconv_open("","");
36467 iconv(cd,NULL,NULL,NULL,NULL);
36473 rm -f conftest.$ac_objext conftest$ac_exeext
36474 if { (ac_try="$ac_link"
36475 case "(($ac_try" in
36476 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36477 *) ac_try_echo
=$ac_try;;
36479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36480 (eval "$ac_link") 2>conftest.er1
36482 grep -v '^ *+' conftest.er1
>conftest.err
36484 cat conftest.err
>&5
36485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36486 (exit $ac_status); } && {
36487 test -z "$ac_c_werror_flag" ||
36488 test ! -s conftest.err
36489 } && test -s conftest
$ac_exeext &&
36490 $as_test_x conftest
$ac_exeext; then
36491 am_cv_func_iconv
=yes
36493 echo "$as_me: failed program was:" >&5
36494 sed 's/^/| /' conftest.
$ac_ext >&5
36499 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36500 conftest
$ac_exeext conftest.
$ac_ext
36501 if test "$am_cv_func_iconv" != yes; then
36502 am_save_LIBS
="$LIBS"
36503 LIBS
="$LIBS -liconv"
36504 cat >conftest.
$ac_ext <<_ACEOF
36507 cat confdefs.h
>>conftest.
$ac_ext
36508 cat >>conftest.
$ac_ext <<_ACEOF
36509 /* end confdefs.h. */
36510 #include <stdlib.h>
36515 iconv_t cd = iconv_open("","");
36516 iconv(cd,NULL,NULL,NULL,NULL);
36522 rm -f conftest.
$ac_objext conftest
$ac_exeext
36523 if { (ac_try
="$ac_link"
36524 case "(($ac_try" in
36525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36526 *) ac_try_echo=$ac_try;;
36528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36529 (eval "$ac_link") 2>conftest.er1
36531 grep -v '^ *+' conftest.er1 >conftest.err
36533 cat conftest.err >&5
36534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36535 (exit $ac_status); } && {
36536 test -z "$ac_c_werror_flag" ||
36537 test ! -s conftest.err
36538 } && test -s conftest$ac_exeext &&
36539 $as_test_x conftest$ac_exeext; then
36540 am_cv_lib_iconv=yes
36541 am_cv_func_iconv=yes
36543 echo "$as_me: failed program was:" >&5
36544 sed 's/^/| /' conftest.$ac_ext >&5
36549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36550 conftest$ac_exeext conftest.$ac_ext
36551 LIBS="$am_save_LIBS"
36555 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36556 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36557 if test "$am_cv_func_iconv" = yes; then
36559 cat >>confdefs.h <<\_ACEOF
36560 #define HAVE_ICONV 1
36563 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36564 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36565 if test "${wx_cv_func_iconv_const+set}" = set; then
36566 echo $ECHO_N "(cached) $ECHO_C" >&6
36568 cat >conftest.$ac_ext <<_ACEOF
36571 cat confdefs.h >>conftest.$ac_ext
36572 cat >>conftest.$ac_ext <<_ACEOF
36573 /* end confdefs.h. */
36575 #include <stdlib.h>
36581 #if defined(__STDC__) || defined(__cplusplus)
36582 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36595 rm -f conftest.$ac_objext
36596 if { (ac_try="$ac_compile"
36597 case "(($ac_try" in
36598 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36599 *) ac_try_echo
=$ac_try;;
36601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36602 (eval "$ac_compile") 2>conftest.er1
36604 grep -v '^ *+' conftest.er1
>conftest.err
36606 cat conftest.err
>&5
36607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36608 (exit $ac_status); } && {
36609 test -z "$ac_c_werror_flag" ||
36610 test ! -s conftest.err
36611 } && test -s conftest.
$ac_objext; then
36612 wx_cv_func_iconv_const
="no"
36614 echo "$as_me: failed program was:" >&5
36615 sed 's/^/| /' conftest.
$ac_ext >&5
36617 wx_cv_func_iconv_const
="yes"
36621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36624 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36625 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36628 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36629 iconv_const
="const"
36633 cat >>confdefs.h
<<_ACEOF
36634 #define ICONV_CONST $iconv_const
36639 if test "$am_cv_lib_iconv" = yes; then
36644 LIBS
="$LIBICONV $LIBS"
36647 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36649 for ac_func
in sigaction
36651 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36654 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36655 echo $ECHO_N "(cached) $ECHO_C" >&6
36657 cat >conftest.
$ac_ext <<_ACEOF
36660 cat confdefs.h
>>conftest.
$ac_ext
36661 cat >>conftest.
$ac_ext <<_ACEOF
36662 /* end confdefs.h. */
36663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36665 #define $ac_func innocuous_$ac_func
36667 /* System header to define __stub macros and hopefully few prototypes,
36668 which can conflict with char $ac_func (); below.
36669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36670 <limits.h> exists even on freestanding compilers. */
36673 # include <limits.h>
36675 # include <assert.h>
36680 /* Override any GCC internal prototype to avoid an error.
36681 Use char because int might match the return type of a GCC
36682 builtin and then its argument prototype would still apply. */
36687 /* The GNU C library defines this for functions which it implements
36688 to always fail with ENOSYS. Some functions are actually named
36689 something starting with __ and the normal name is an alias. */
36690 #if defined __stub_$ac_func || defined __stub___$ac_func
36697 return $ac_func ();
36702 rm -f conftest.
$ac_objext conftest
$ac_exeext
36703 if { (ac_try
="$ac_link"
36704 case "(($ac_try" in
36705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36706 *) ac_try_echo=$ac_try;;
36708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36709 (eval "$ac_link") 2>conftest.er1
36711 grep -v '^ *+' conftest.er1 >conftest.err
36713 cat conftest.err >&5
36714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36715 (exit $ac_status); } && {
36716 test -z "$ac_c_werror_flag" ||
36717 test ! -s conftest.err
36718 } && test -s conftest$ac_exeext &&
36719 $as_test_x conftest$ac_exeext; then
36720 eval "$as_ac_var=yes"
36722 echo "$as_me: failed program was:" >&5
36723 sed 's/^/| /' conftest.$ac_ext >&5
36725 eval "$as_ac_var=no"
36728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36729 conftest$ac_exeext conftest.$ac_ext
36731 ac_res=`eval echo '${'$as_ac_var'}'`
36732 { echo "$as_me:$LINENO: result: $ac_res" >&5
36733 echo "${ECHO_T}$ac_res" >&6; }
36734 if test `eval echo '${'$as_ac_var'}'` = yes; then
36735 cat >>confdefs.h <<_ACEOF
36736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36743 if test "$ac_cv_func_sigaction" = "no"; then
36744 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36745 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36746 wxUSE_ON_FATAL_EXCEPTION=no
36749 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36750 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36751 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36752 if test "${wx_cv_type_sa_handler+set}" = set; then
36753 echo $ECHO_N "(cached) $ECHO_C" >&6
36757 ac_cpp='$CXXCPP $CPPFLAGS'
36758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36762 cat >conftest.$ac_ext <<_ACEOF
36765 cat confdefs.h >>conftest.$ac_ext
36766 cat >>conftest.$ac_ext <<_ACEOF
36767 /* end confdefs.h. */
36768 #include <signal.h>
36773 extern void testSigHandler(int);
36775 struct sigaction sa;
36776 sa.sa_handler = testSigHandler;
36782 rm -f conftest.$ac_objext
36783 if { (ac_try="$ac_compile"
36784 case "(($ac_try" in
36785 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36786 *) ac_try_echo
=$ac_try;;
36788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36789 (eval "$ac_compile") 2>conftest.er1
36791 grep -v '^ *+' conftest.er1
>conftest.err
36793 cat conftest.err
>&5
36794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795 (exit $ac_status); } && {
36796 test -z "$ac_cxx_werror_flag" ||
36797 test ! -s conftest.err
36798 } && test -s conftest.
$ac_objext; then
36800 wx_cv_type_sa_handler
=int
36803 echo "$as_me: failed program was:" >&5
36804 sed 's/^/| /' conftest.
$ac_ext >&5
36807 wx_cv_type_sa_handler
=void
36811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36813 ac_cpp
='$CPP $CPPFLAGS'
36814 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36815 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36816 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36820 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36821 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36823 cat >>confdefs.h
<<_ACEOF
36824 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36830 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36831 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36832 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36833 if test "${wx_cv_func_backtrace+set}" = set; then
36834 echo $ECHO_N "(cached) $ECHO_C" >&6
36838 ac_cpp
='$CXXCPP $CPPFLAGS'
36839 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36840 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36841 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36843 cat >conftest.
$ac_ext <<_ACEOF
36846 cat confdefs.h
>>conftest.
$ac_ext
36847 cat >>conftest.
$ac_ext <<_ACEOF
36848 /* end confdefs.h. */
36849 #include <execinfo.h>
36857 backtrace(trace, 1);
36858 messages = backtrace_symbols(trace, 1);
36864 rm -f conftest.
$ac_objext
36865 if { (ac_try
="$ac_compile"
36866 case "(($ac_try" in
36867 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36868 *) ac_try_echo=$ac_try;;
36870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36871 (eval "$ac_compile") 2>conftest.er1
36873 grep -v '^ *+' conftest.er1 >conftest.err
36875 cat conftest.err >&5
36876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36877 (exit $ac_status); } && {
36878 test -z "$ac_cxx_werror_flag" ||
36879 test ! -s conftest.err
36880 } && test -s conftest.$ac_objext; then
36881 wx_cv_func_backtrace=yes
36883 echo "$as_me: failed program was:" >&5
36884 sed 's/^/| /' conftest.$ac_ext >&5
36886 wx_cv_func_backtrace=no
36890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36892 ac_cpp='$CPP $CPPFLAGS'
36893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36900 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36901 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36904 if test "$wx_cv_func_backtrace" = "no"; then
36905 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36906 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36907 wxUSE_STACKWALKER=no
36909 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36910 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36911 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36916 ac_cpp='$CXXCPP $CPPFLAGS'
36917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36921 cat >conftest.$ac_ext <<_ACEOF
36924 cat confdefs.h >>conftest.$ac_ext
36925 cat >>conftest.$ac_ext <<_ACEOF
36926 /* end confdefs.h. */
36927 #include <cxxabi.h>
36933 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36939 rm -f conftest.$ac_objext conftest$ac_exeext
36940 if { (ac_try="$ac_link"
36941 case "(($ac_try" in
36942 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36943 *) ac_try_echo
=$ac_try;;
36945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36946 (eval "$ac_link") 2>conftest.er1
36948 grep -v '^ *+' conftest.er1
>conftest.err
36950 cat conftest.err
>&5
36951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952 (exit $ac_status); } && {
36953 test -z "$ac_cxx_werror_flag" ||
36954 test ! -s conftest.err
36955 } && test -s conftest
$ac_exeext &&
36956 $as_test_x conftest
$ac_exeext; then
36957 wx_cv_func_cxa_demangle
=yes
36959 echo "$as_me: failed program was:" >&5
36960 sed 's/^/| /' conftest.
$ac_ext >&5
36962 wx_cv_func_cxa_demangle
=no
36966 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36967 conftest
$ac_exeext conftest.
$ac_ext
36969 ac_cpp
='$CPP $CPPFLAGS'
36970 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36971 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36972 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36977 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36978 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36980 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36981 cat >>confdefs.h
<<\_ACEOF
36982 #define HAVE_CXA_DEMANGLE 1
36989 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36990 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36991 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36992 wxUSE_STACKWALKER
=no
36998 for ac_func
in mkstemp mktemp
37000 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37001 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37003 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37004 echo $ECHO_N "(cached) $ECHO_C" >&6
37006 cat >conftest.
$ac_ext <<_ACEOF
37009 cat confdefs.h
>>conftest.
$ac_ext
37010 cat >>conftest.
$ac_ext <<_ACEOF
37011 /* end confdefs.h. */
37012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37014 #define $ac_func innocuous_$ac_func
37016 /* System header to define __stub macros and hopefully few prototypes,
37017 which can conflict with char $ac_func (); below.
37018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37019 <limits.h> exists even on freestanding compilers. */
37022 # include <limits.h>
37024 # include <assert.h>
37029 /* Override any GCC internal prototype to avoid an error.
37030 Use char because int might match the return type of a GCC
37031 builtin and then its argument prototype would still apply. */
37036 /* The GNU C library defines this for functions which it implements
37037 to always fail with ENOSYS. Some functions are actually named
37038 something starting with __ and the normal name is an alias. */
37039 #if defined __stub_$ac_func || defined __stub___$ac_func
37046 return $ac_func ();
37051 rm -f conftest.
$ac_objext conftest
$ac_exeext
37052 if { (ac_try
="$ac_link"
37053 case "(($ac_try" in
37054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37055 *) ac_try_echo=$ac_try;;
37057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37058 (eval "$ac_link") 2>conftest.er1
37060 grep -v '^ *+' conftest.er1 >conftest.err
37062 cat conftest.err >&5
37063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37064 (exit $ac_status); } && {
37065 test -z "$ac_c_werror_flag" ||
37066 test ! -s conftest.err
37067 } && test -s conftest$ac_exeext &&
37068 $as_test_x conftest$ac_exeext; then
37069 eval "$as_ac_var=yes"
37071 echo "$as_me: failed program was:" >&5
37072 sed 's/^/| /' conftest.$ac_ext >&5
37074 eval "$as_ac_var=no"
37077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37078 conftest$ac_exeext conftest.$ac_ext
37080 ac_res=`eval echo '${'$as_ac_var'}'`
37081 { echo "$as_me:$LINENO: result: $ac_res" >&5
37082 echo "${ECHO_T}$ac_res" >&6; }
37083 if test `eval echo '${'$as_ac_var'}'` = yes; then
37084 cat >>confdefs.h <<_ACEOF
37085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37092 { echo "$as_me:$LINENO: checking for statfs" >&5
37093 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
37094 if test "${wx_cv_func_statfs+set}" = set; then
37095 echo $ECHO_N "(cached) $ECHO_C" >&6
37097 cat >conftest.$ac_ext <<_ACEOF
37100 cat confdefs.h >>conftest.$ac_ext
37101 cat >>conftest.$ac_ext <<_ACEOF
37102 /* end confdefs.h. */
37104 #if defined(__BSD__)
37105 #include <sys/param.h>
37106 #include <sys/mount.h>
37108 #include <sys/vfs.h>
37126 rm -f conftest.$ac_objext
37127 if { (ac_try="$ac_compile"
37128 case "(($ac_try" in
37129 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37130 *) ac_try_echo
=$ac_try;;
37132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37133 (eval "$ac_compile") 2>conftest.er1
37135 grep -v '^ *+' conftest.er1
>conftest.err
37137 cat conftest.err
>&5
37138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37139 (exit $ac_status); } && {
37140 test -z "$ac_c_werror_flag" ||
37141 test ! -s conftest.err
37142 } && test -s conftest.
$ac_objext; then
37143 wx_cv_func_statfs
=yes
37145 echo "$as_me: failed program was:" >&5
37146 sed 's/^/| /' conftest.
$ac_ext >&5
37148 wx_cv_func_statfs
=no
37152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37155 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37156 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
37158 if test "$wx_cv_func_statfs" = "yes"; then
37159 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
37160 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
37161 if test "${wx_cv_func_statfs_decl+set}" = set; then
37162 echo $ECHO_N "(cached) $ECHO_C" >&6
37165 ac_cpp
='$CXXCPP $CPPFLAGS'
37166 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37167 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37168 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37170 cat >conftest.
$ac_ext <<_ACEOF
37173 cat confdefs.h
>>conftest.
$ac_ext
37174 cat >>conftest.
$ac_ext <<_ACEOF
37175 /* end confdefs.h. */
37177 #if defined(__BSD__)
37178 #include <sys/param.h>
37179 #include <sys/mount.h>
37181 #include <sys/vfs.h>
37195 rm -f conftest.
$ac_objext
37196 if { (ac_try
="$ac_compile"
37197 case "(($ac_try" in
37198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37199 *) ac_try_echo=$ac_try;;
37201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37202 (eval "$ac_compile") 2>conftest.er1
37204 grep -v '^ *+' conftest.er1 >conftest.err
37206 cat conftest.err >&5
37207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37208 (exit $ac_status); } && {
37209 test -z "$ac_cxx_werror_flag" ||
37210 test ! -s conftest.err
37211 } && test -s conftest.$ac_objext; then
37212 wx_cv_func_statfs_decl=yes
37214 echo "$as_me: failed program was:" >&5
37215 sed 's/^/| /' conftest.$ac_ext >&5
37217 wx_cv_func_statfs_decl=no
37221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37223 ac_cpp='$CPP $CPPFLAGS'
37224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37230 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37231 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
37233 if test "$wx_cv_func_statfs_decl" = "yes"; then
37234 cat >>confdefs.h <<\_ACEOF
37235 #define HAVE_STATFS_DECL 1
37240 wx_cv_type_statvfs_t="struct statfs"
37241 cat >>confdefs.h <<\_ACEOF
37242 #define HAVE_STATFS 1
37246 { echo "$as_me:$LINENO: checking for statvfs" >&5
37247 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37248 if test "${wx_cv_func_statvfs+set}" = set; then
37249 echo $ECHO_N "(cached) $ECHO_C" >&6
37251 cat >conftest.$ac_ext <<_ACEOF
37254 cat confdefs.h >>conftest.$ac_ext
37255 cat >>conftest.$ac_ext <<_ACEOF
37256 /* end confdefs.h. */
37258 #include <stddef.h>
37259 #include <sys/statvfs.h>
37265 statvfs("/", NULL);
37271 rm -f conftest.$ac_objext
37272 if { (ac_try="$ac_compile"
37273 case "(($ac_try" in
37274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37275 *) ac_try_echo
=$ac_try;;
37277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37278 (eval "$ac_compile") 2>conftest.er1
37280 grep -v '^ *+' conftest.er1
>conftest.err
37282 cat conftest.err
>&5
37283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37284 (exit $ac_status); } && {
37285 test -z "$ac_c_werror_flag" ||
37286 test ! -s conftest.err
37287 } && test -s conftest.
$ac_objext; then
37288 wx_cv_func_statvfs
=yes
37290 echo "$as_me: failed program was:" >&5
37291 sed 's/^/| /' conftest.
$ac_ext >&5
37293 wx_cv_func_statvfs
=no
37297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37300 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37301 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37303 if test "$wx_cv_func_statvfs" = "yes"; then
37304 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37305 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37306 if test "${wx_cv_type_statvfs_t+set}" = set; then
37307 echo $ECHO_N "(cached) $ECHO_C" >&6
37310 ac_cpp
='$CXXCPP $CPPFLAGS'
37311 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37312 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37313 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37315 cat >conftest.
$ac_ext <<_ACEOF
37318 cat confdefs.h
>>conftest.
$ac_ext
37319 cat >>conftest.
$ac_ext <<_ACEOF
37320 /* end confdefs.h. */
37322 #include <sys/statvfs.h>
37339 rm -f conftest.
$ac_objext
37340 if { (ac_try
="$ac_compile"
37341 case "(($ac_try" in
37342 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37343 *) ac_try_echo=$ac_try;;
37345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37346 (eval "$ac_compile") 2>conftest.er1
37348 grep -v '^ *+' conftest.er1 >conftest.err
37350 cat conftest.err >&5
37351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37352 (exit $ac_status); } && {
37353 test -z "$ac_cxx_werror_flag" ||
37354 test ! -s conftest.err
37355 } && test -s conftest.$ac_objext; then
37356 wx_cv_type_statvfs_t=statvfs_t
37358 echo "$as_me: failed program was:" >&5
37359 sed 's/^/| /' conftest.$ac_ext >&5
37362 cat >conftest.$ac_ext <<_ACEOF
37365 cat confdefs.h >>conftest.$ac_ext
37366 cat >>conftest.$ac_ext <<_ACEOF
37367 /* end confdefs.h. */
37369 #include <sys/statvfs.h>
37386 rm -f conftest.$ac_objext
37387 if { (ac_try="$ac_compile"
37388 case "(($ac_try" in
37389 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37390 *) ac_try_echo
=$ac_try;;
37392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37393 (eval "$ac_compile") 2>conftest.er1
37395 grep -v '^ *+' conftest.er1
>conftest.err
37397 cat conftest.err
>&5
37398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37399 (exit $ac_status); } && {
37400 test -z "$ac_cxx_werror_flag" ||
37401 test ! -s conftest.err
37402 } && test -s conftest.
$ac_objext; then
37403 wx_cv_type_statvfs_t
="struct statvfs"
37405 echo "$as_me: failed program was:" >&5
37406 sed 's/^/| /' conftest.
$ac_ext >&5
37408 wx_cv_type_statvfs_t
="unknown"
37412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37419 ac_cpp
='$CPP $CPPFLAGS'
37420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37426 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37427 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37429 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37430 cat >>confdefs.h
<<\_ACEOF
37431 #define HAVE_STATVFS 1
37436 wx_cv_type_statvfs_t
="unknown"
37440 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37441 cat >>confdefs.h
<<_ACEOF
37442 #define WX_STATFS_T $wx_cv_type_statvfs_t
37446 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37447 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37450 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37453 for ac_func
in fcntl flock
37455 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37456 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37458 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37459 echo $ECHO_N "(cached) $ECHO_C" >&6
37461 cat >conftest.
$ac_ext <<_ACEOF
37464 cat confdefs.h
>>conftest.
$ac_ext
37465 cat >>conftest.
$ac_ext <<_ACEOF
37466 /* end confdefs.h. */
37467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37469 #define $ac_func innocuous_$ac_func
37471 /* System header to define __stub macros and hopefully few prototypes,
37472 which can conflict with char $ac_func (); below.
37473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37474 <limits.h> exists even on freestanding compilers. */
37477 # include <limits.h>
37479 # include <assert.h>
37484 /* Override any GCC internal prototype to avoid an error.
37485 Use char because int might match the return type of a GCC
37486 builtin and then its argument prototype would still apply. */
37491 /* The GNU C library defines this for functions which it implements
37492 to always fail with ENOSYS. Some functions are actually named
37493 something starting with __ and the normal name is an alias. */
37494 #if defined __stub_$ac_func || defined __stub___$ac_func
37501 return $ac_func ();
37506 rm -f conftest.
$ac_objext conftest
$ac_exeext
37507 if { (ac_try
="$ac_link"
37508 case "(($ac_try" in
37509 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37510 *) ac_try_echo=$ac_try;;
37512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37513 (eval "$ac_link") 2>conftest.er1
37515 grep -v '^ *+' conftest.er1 >conftest.err
37517 cat conftest.err >&5
37518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37519 (exit $ac_status); } && {
37520 test -z "$ac_c_werror_flag" ||
37521 test ! -s conftest.err
37522 } && test -s conftest$ac_exeext &&
37523 $as_test_x conftest$ac_exeext; then
37524 eval "$as_ac_var=yes"
37526 echo "$as_me: failed program was:" >&5
37527 sed 's/^/| /' conftest.$ac_ext >&5
37529 eval "$as_ac_var=no"
37532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37533 conftest$ac_exeext conftest.$ac_ext
37535 ac_res=`eval echo '${'$as_ac_var'}'`
37536 { echo "$as_me:$LINENO: result: $ac_res" >&5
37537 echo "${ECHO_T}$ac_res" >&6; }
37538 if test `eval echo '${'$as_ac_var'}'` = yes; then
37539 cat >>confdefs.h <<_ACEOF
37540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37547 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37548 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37549 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37550 wxUSE_SNGLINST_CHECKER=no
37556 for ac_func in setenv putenv
37558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37559 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37561 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37562 echo $ECHO_N "(cached) $ECHO_C" >&6
37564 cat >conftest.$ac_ext <<_ACEOF
37567 cat confdefs.h >>conftest.$ac_ext
37568 cat >>conftest.$ac_ext <<_ACEOF
37569 /* end confdefs.h. */
37570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37572 #define $ac_func innocuous_$ac_func
37574 /* System header to define __stub macros and hopefully few prototypes,
37575 which can conflict with char $ac_func (); below.
37576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37577 <limits.h> exists even on freestanding compilers. */
37580 # include <limits.h>
37582 # include <assert.h>
37587 /* Override any GCC internal prototype to avoid an error.
37588 Use char because int might match the return type of a GCC
37589 builtin and then its argument prototype would still apply. */
37594 /* The GNU C library defines this for functions which it implements
37595 to always fail with ENOSYS. Some functions are actually named
37596 something starting with __ and the normal name is an alias. */
37597 #if defined __stub_$ac_func || defined __stub___$ac_func
37604 return $ac_func ();
37609 rm -f conftest.$ac_objext conftest$ac_exeext
37610 if { (ac_try="$ac_link"
37611 case "(($ac_try" in
37612 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37613 *) ac_try_echo
=$ac_try;;
37615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37616 (eval "$ac_link") 2>conftest.er1
37618 grep -v '^ *+' conftest.er1
>conftest.err
37620 cat conftest.err
>&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); } && {
37623 test -z "$ac_c_werror_flag" ||
37624 test ! -s conftest.err
37625 } && test -s conftest
$ac_exeext &&
37626 $as_test_x conftest
$ac_exeext; then
37627 eval "$as_ac_var=yes"
37629 echo "$as_me: failed program was:" >&5
37630 sed 's/^/| /' conftest.
$ac_ext >&5
37632 eval "$as_ac_var=no"
37635 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37636 conftest
$ac_exeext conftest.
$ac_ext
37638 ac_res
=`eval echo '${'$as_ac_var'}'`
37639 { echo "$as_me:$LINENO: result: $ac_res" >&5
37640 echo "${ECHO_T}$ac_res" >&6; }
37641 if test `eval echo '${'$as_ac_var'}'` = yes; then
37642 cat >>confdefs.h
<<_ACEOF
37643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37649 if test "$ac_cv_func_setenv" = "yes"; then
37651 for ac_func
in unsetenv
37653 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37656 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37657 echo $ECHO_N "(cached) $ECHO_C" >&6
37659 cat >conftest.
$ac_ext <<_ACEOF
37662 cat confdefs.h
>>conftest.
$ac_ext
37663 cat >>conftest.
$ac_ext <<_ACEOF
37664 /* end confdefs.h. */
37665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37667 #define $ac_func innocuous_$ac_func
37669 /* System header to define __stub macros and hopefully few prototypes,
37670 which can conflict with char $ac_func (); below.
37671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37672 <limits.h> exists even on freestanding compilers. */
37675 # include <limits.h>
37677 # include <assert.h>
37682 /* Override any GCC internal prototype to avoid an error.
37683 Use char because int might match the return type of a GCC
37684 builtin and then its argument prototype would still apply. */
37689 /* The GNU C library defines this for functions which it implements
37690 to always fail with ENOSYS. Some functions are actually named
37691 something starting with __ and the normal name is an alias. */
37692 #if defined __stub_$ac_func || defined __stub___$ac_func
37699 return $ac_func ();
37704 rm -f conftest.
$ac_objext conftest
$ac_exeext
37705 if { (ac_try
="$ac_link"
37706 case "(($ac_try" in
37707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37708 *) ac_try_echo=$ac_try;;
37710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37711 (eval "$ac_link") 2>conftest.er1
37713 grep -v '^ *+' conftest.er1 >conftest.err
37715 cat conftest.err >&5
37716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37717 (exit $ac_status); } && {
37718 test -z "$ac_c_werror_flag" ||
37719 test ! -s conftest.err
37720 } && test -s conftest$ac_exeext &&
37721 $as_test_x conftest$ac_exeext; then
37722 eval "$as_ac_var=yes"
37724 echo "$as_me: failed program was:" >&5
37725 sed 's/^/| /' conftest.$ac_ext >&5
37727 eval "$as_ac_var=no"
37730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37731 conftest$ac_exeext conftest.$ac_ext
37733 ac_res=`eval echo '${'$as_ac_var'}'`
37734 { echo "$as_me:$LINENO: result: $ac_res" >&5
37735 echo "${ECHO_T}$ac_res" >&6; }
37736 if test `eval echo '${'$as_ac_var'}'` = yes; then
37737 cat >>confdefs.h <<_ACEOF
37738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37746 HAVE_SOME_SLEEP_FUNC=0
37747 if test "$USE_BEOS" = 1; then
37748 cat >>confdefs.h <<\_ACEOF
37749 #define HAVE_SLEEP 1
37752 HAVE_SOME_SLEEP_FUNC=1
37755 if test "$USE_DARWIN" = 1; then
37756 cat >>confdefs.h <<\_ACEOF
37757 #define HAVE_USLEEP 1
37760 HAVE_SOME_SLEEP_FUNC=1
37763 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37766 for ac_func in nanosleep
37768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37769 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37771 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37772 echo $ECHO_N "(cached) $ECHO_C" >&6
37774 cat >conftest.$ac_ext <<_ACEOF
37777 cat confdefs.h >>conftest.$ac_ext
37778 cat >>conftest.$ac_ext <<_ACEOF
37779 /* end confdefs.h. */
37780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37782 #define $ac_func innocuous_$ac_func
37784 /* System header to define __stub macros and hopefully few prototypes,
37785 which can conflict with char $ac_func (); below.
37786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37787 <limits.h> exists even on freestanding compilers. */
37790 # include <limits.h>
37792 # include <assert.h>
37797 /* Override any GCC internal prototype to avoid an error.
37798 Use char because int might match the return type of a GCC
37799 builtin and then its argument prototype would still apply. */
37804 /* The GNU C library defines this for functions which it implements
37805 to always fail with ENOSYS. Some functions are actually named
37806 something starting with __ and the normal name is an alias. */
37807 #if defined __stub_$ac_func || defined __stub___$ac_func
37814 return $ac_func ();
37819 rm -f conftest.$ac_objext conftest$ac_exeext
37820 if { (ac_try="$ac_link"
37821 case "(($ac_try" in
37822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37823 *) ac_try_echo
=$ac_try;;
37825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37826 (eval "$ac_link") 2>conftest.er1
37828 grep -v '^ *+' conftest.er1
>conftest.err
37830 cat conftest.err
>&5
37831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37832 (exit $ac_status); } && {
37833 test -z "$ac_c_werror_flag" ||
37834 test ! -s conftest.err
37835 } && test -s conftest
$ac_exeext &&
37836 $as_test_x conftest
$ac_exeext; then
37837 eval "$as_ac_var=yes"
37839 echo "$as_me: failed program was:" >&5
37840 sed 's/^/| /' conftest.
$ac_ext >&5
37842 eval "$as_ac_var=no"
37845 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37846 conftest
$ac_exeext conftest.
$ac_ext
37848 ac_res
=`eval echo '${'$as_ac_var'}'`
37849 { echo "$as_me:$LINENO: result: $ac_res" >&5
37850 echo "${ECHO_T}$ac_res" >&6; }
37851 if test `eval echo '${'$as_ac_var'}'` = yes; then
37852 cat >>confdefs.h
<<_ACEOF
37853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37855 cat >>confdefs.h
<<\_ACEOF
37856 #define HAVE_NANOSLEEP 1
37861 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37862 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37863 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37864 echo $ECHO_N "(cached) $ECHO_C" >&6
37866 ac_check_lib_save_LIBS
=$LIBS
37867 LIBS
="-lposix4 $LIBS"
37868 cat >conftest.
$ac_ext <<_ACEOF
37871 cat confdefs.h
>>conftest.
$ac_ext
37872 cat >>conftest.
$ac_ext <<_ACEOF
37873 /* end confdefs.h. */
37875 /* Override any GCC internal prototype to avoid an error.
37876 Use char because int might match the return type of a GCC
37877 builtin and then its argument prototype would still apply. */
37885 return nanosleep ();
37890 rm -f conftest.
$ac_objext conftest
$ac_exeext
37891 if { (ac_try
="$ac_link"
37892 case "(($ac_try" in
37893 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37894 *) ac_try_echo=$ac_try;;
37896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37897 (eval "$ac_link") 2>conftest.er1
37899 grep -v '^ *+' conftest.er1 >conftest.err
37901 cat conftest.err >&5
37902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37903 (exit $ac_status); } && {
37904 test -z "$ac_c_werror_flag" ||
37905 test ! -s conftest.err
37906 } && test -s conftest$ac_exeext &&
37907 $as_test_x conftest$ac_exeext; then
37908 ac_cv_lib_posix4_nanosleep=yes
37910 echo "$as_me: failed program was:" >&5
37911 sed 's/^/| /' conftest.$ac_ext >&5
37913 ac_cv_lib_posix4_nanosleep=no
37916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37917 conftest$ac_exeext conftest.$ac_ext
37918 LIBS=$ac_check_lib_save_LIBS
37920 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37921 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37922 if test $ac_cv_lib_posix4_nanosleep = yes; then
37924 cat >>confdefs.h <<\_ACEOF
37925 #define HAVE_NANOSLEEP 1
37928 POSIX4_LINK=" -lposix4"
37933 for wx_func in usleep
37935 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37936 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37937 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37938 echo $ECHO_N "(cached) $ECHO_C" >&6
37941 cat >conftest.$ac_ext <<_ACEOF
37945 cat confdefs.h >>conftest.$ac_ext
37946 cat >>conftest.$ac_ext <<_ACEOF
37947 /* end confdefs.h. */
37950 $ac_includes_default
37966 rm -f conftest.$ac_objext conftest$ac_exeext
37967 if { (ac_try="$ac_link"
37968 case "(($ac_try" in
37969 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37970 *) ac_try_echo
=$ac_try;;
37972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37973 (eval "$ac_link") 2>conftest.er1
37975 grep -v '^ *+' conftest.er1
>conftest.err
37977 cat conftest.err
>&5
37978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37979 (exit $ac_status); } && {
37980 test -z "$ac_c_werror_flag" ||
37981 test ! -s conftest.err
37982 } && test -s conftest
$ac_exeext &&
37983 $as_test_x conftest
$ac_exeext; then
37984 eval wx_cv_func_
$wx_func=yes
37986 echo "$as_me: failed program was:" >&5
37987 sed 's/^/| /' conftest.
$ac_ext >&5
37989 eval wx_cv_func_
$wx_func=no
37992 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37993 conftest
$ac_exeext conftest.
$ac_ext
37996 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37997 { echo "$as_me:$LINENO: result: $ac_res" >&5
37998 echo "${ECHO_T}$ac_res" >&6; }
38000 if eval test \
$wx_cv_func_$wx_func = yes
38002 cat >>confdefs.h
<<_ACEOF
38003 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38009 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38010 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38027 for wx_func
in uname
38029 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38030 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38031 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38032 echo $ECHO_N "(cached) $ECHO_C" >&6
38035 cat >conftest.
$ac_ext <<_ACEOF
38039 cat confdefs.h
>>conftest.
$ac_ext
38040 cat >>conftest.
$ac_ext <<_ACEOF
38041 /* end confdefs.h. */
38043 #include <sys/utsname.h>
38044 $ac_includes_default
38060 rm -f conftest.
$ac_objext conftest
$ac_exeext
38061 if { (ac_try
="$ac_link"
38062 case "(($ac_try" in
38063 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38064 *) ac_try_echo=$ac_try;;
38066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38067 (eval "$ac_link") 2>conftest.er1
38069 grep -v '^ *+' conftest.er1 >conftest.err
38071 cat conftest.err >&5
38072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38073 (exit $ac_status); } && {
38074 test -z "$ac_c_werror_flag" ||
38075 test ! -s conftest.err
38076 } && test -s conftest$ac_exeext &&
38077 $as_test_x conftest$ac_exeext; then
38078 eval wx_cv_func_$wx_func=yes
38080 echo "$as_me: failed program was:" >&5
38081 sed 's/^/| /' conftest.$ac_ext >&5
38083 eval wx_cv_func_$wx_func=no
38086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38087 conftest$ac_exeext conftest.$ac_ext
38090 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38091 { echo "$as_me:$LINENO: result: $ac_res" >&5
38092 echo "${ECHO_T}$ac_res" >&6; }
38094 if eval test \$wx_cv_func_$wx_func = yes
38096 cat >>confdefs.h <<_ACEOF
38097 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38107 if test "$wx_cv_func_uname" != yes; then
38109 for wx_func in gethostname
38111 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38112 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38113 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38114 echo $ECHO_N "(cached) $ECHO_C" >&6
38117 cat >conftest.$ac_ext <<_ACEOF
38121 cat confdefs.h >>conftest.$ac_ext
38122 cat >>conftest.$ac_ext <<_ACEOF
38123 /* end confdefs.h. */
38126 $ac_includes_default
38142 rm -f conftest.$ac_objext conftest$ac_exeext
38143 if { (ac_try="$ac_link"
38144 case "(($ac_try" in
38145 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38146 *) ac_try_echo
=$ac_try;;
38148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38149 (eval "$ac_link") 2>conftest.er1
38151 grep -v '^ *+' conftest.er1
>conftest.err
38153 cat conftest.err
>&5
38154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38155 (exit $ac_status); } && {
38156 test -z "$ac_c_werror_flag" ||
38157 test ! -s conftest.err
38158 } && test -s conftest
$ac_exeext &&
38159 $as_test_x conftest
$ac_exeext; then
38160 eval wx_cv_func_
$wx_func=yes
38162 echo "$as_me: failed program was:" >&5
38163 sed 's/^/| /' conftest.
$ac_ext >&5
38165 eval wx_cv_func_
$wx_func=no
38168 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38169 conftest
$ac_exeext conftest.
$ac_ext
38172 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38173 { echo "$as_me:$LINENO: result: $ac_res" >&5
38174 echo "${ECHO_T}$ac_res" >&6; }
38176 if eval test \
$wx_cv_func_$wx_func = yes
38178 cat >>confdefs.h
<<_ACEOF
38179 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38192 for wx_func
in strtok_r
38194 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38195 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38196 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38197 echo $ECHO_N "(cached) $ECHO_C" >&6
38200 cat >conftest.
$ac_ext <<_ACEOF
38204 cat confdefs.h
>>conftest.
$ac_ext
38205 cat >>conftest.
$ac_ext <<_ACEOF
38206 /* end confdefs.h. */
38209 $ac_includes_default
38225 rm -f conftest.
$ac_objext conftest
$ac_exeext
38226 if { (ac_try
="$ac_link"
38227 case "(($ac_try" in
38228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38229 *) ac_try_echo=$ac_try;;
38231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38232 (eval "$ac_link") 2>conftest.er1
38234 grep -v '^ *+' conftest.er1 >conftest.err
38236 cat conftest.err >&5
38237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238 (exit $ac_status); } && {
38239 test -z "$ac_c_werror_flag" ||
38240 test ! -s conftest.err
38241 } && test -s conftest$ac_exeext &&
38242 $as_test_x conftest$ac_exeext; then
38243 eval wx_cv_func_$wx_func=yes
38245 echo "$as_me: failed program was:" >&5
38246 sed 's/^/| /' conftest.$ac_ext >&5
38248 eval wx_cv_func_$wx_func=no
38251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38252 conftest$ac_exeext conftest.$ac_ext
38255 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38256 { echo "$as_me:$LINENO: result: $ac_res" >&5
38257 echo "${ECHO_T}$ac_res" >&6; }
38259 if eval test \$wx_cv_func_$wx_func = yes
38261 cat >>confdefs.h <<_ACEOF
38262 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38275 for ac_func in inet_addr
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_ADDR 1
38370 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38371 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38372 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38373 echo $ECHO_N "(cached) $ECHO_C" >&6
38375 ac_check_lib_save_LIBS
=$LIBS
38377 cat >conftest.
$ac_ext <<_ACEOF
38380 cat confdefs.h
>>conftest.
$ac_ext
38381 cat >>conftest.
$ac_ext <<_ACEOF
38382 /* end confdefs.h. */
38384 /* Override any GCC internal prototype to avoid an error.
38385 Use char because int might match the return type of a GCC
38386 builtin and then its argument prototype would still apply. */
38394 return inet_addr ();
38399 rm -f conftest.
$ac_objext conftest
$ac_exeext
38400 if { (ac_try
="$ac_link"
38401 case "(($ac_try" in
38402 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38403 *) ac_try_echo=$ac_try;;
38405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38406 (eval "$ac_link") 2>conftest.er1
38408 grep -v '^ *+' conftest.er1 >conftest.err
38410 cat conftest.err >&5
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); } && {
38413 test -z "$ac_c_werror_flag" ||
38414 test ! -s conftest.err
38415 } && test -s conftest$ac_exeext &&
38416 $as_test_x conftest$ac_exeext; then
38417 ac_cv_lib_nsl_inet_addr=yes
38419 echo "$as_me: failed program was:" >&5
38420 sed 's/^/| /' conftest.$ac_ext >&5
38422 ac_cv_lib_nsl_inet_addr=no
38425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38426 conftest$ac_exeext conftest.$ac_ext
38427 LIBS=$ac_check_lib_save_LIBS
38429 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38430 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38431 if test $ac_cv_lib_nsl_inet_addr = yes; then
38435 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38436 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38437 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38438 echo $ECHO_N "(cached) $ECHO_C" >&6
38440 ac_check_lib_save_LIBS=$LIBS
38441 LIBS="-lresolv $LIBS"
38442 cat >conftest.$ac_ext <<_ACEOF
38445 cat confdefs.h >>conftest.$ac_ext
38446 cat >>conftest.$ac_ext <<_ACEOF
38447 /* end confdefs.h. */
38449 /* Override any GCC internal prototype to avoid an error.
38450 Use char because int might match the return type of a GCC
38451 builtin and then its argument prototype would still apply. */
38459 return inet_addr ();
38464 rm -f conftest.$ac_objext conftest$ac_exeext
38465 if { (ac_try="$ac_link"
38466 case "(($ac_try" in
38467 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38468 *) ac_try_echo
=$ac_try;;
38470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38471 (eval "$ac_link") 2>conftest.er1
38473 grep -v '^ *+' conftest.er1
>conftest.err
38475 cat conftest.err
>&5
38476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38477 (exit $ac_status); } && {
38478 test -z "$ac_c_werror_flag" ||
38479 test ! -s conftest.err
38480 } && test -s conftest
$ac_exeext &&
38481 $as_test_x conftest
$ac_exeext; then
38482 ac_cv_lib_resolv_inet_addr
=yes
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.
$ac_ext >&5
38487 ac_cv_lib_resolv_inet_addr
=no
38490 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38491 conftest
$ac_exeext conftest.
$ac_ext
38492 LIBS
=$ac_check_lib_save_LIBS
38494 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38495 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38496 if test $ac_cv_lib_resolv_inet_addr = yes; then
38500 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38501 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38502 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38503 echo $ECHO_N "(cached) $ECHO_C" >&6
38505 ac_check_lib_save_LIBS
=$LIBS
38506 LIBS
="-lsocket $LIBS"
38507 cat >conftest.
$ac_ext <<_ACEOF
38510 cat confdefs.h
>>conftest.
$ac_ext
38511 cat >>conftest.
$ac_ext <<_ACEOF
38512 /* end confdefs.h. */
38514 /* Override any GCC internal prototype to avoid an error.
38515 Use char because int might match the return type of a GCC
38516 builtin and then its argument prototype would still apply. */
38524 return inet_addr ();
38529 rm -f conftest.
$ac_objext conftest
$ac_exeext
38530 if { (ac_try
="$ac_link"
38531 case "(($ac_try" in
38532 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38533 *) ac_try_echo=$ac_try;;
38535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38536 (eval "$ac_link") 2>conftest.er1
38538 grep -v '^ *+' conftest.er1 >conftest.err
38540 cat conftest.err >&5
38541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38542 (exit $ac_status); } && {
38543 test -z "$ac_c_werror_flag" ||
38544 test ! -s conftest.err
38545 } && test -s conftest$ac_exeext &&
38546 $as_test_x conftest$ac_exeext; then
38547 ac_cv_lib_socket_inet_addr=yes
38549 echo "$as_me: failed program was:" >&5
38550 sed 's/^/| /' conftest.$ac_ext >&5
38552 ac_cv_lib_socket_inet_addr=no
38555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38556 conftest$ac_exeext conftest.$ac_ext
38557 LIBS=$ac_check_lib_save_LIBS
38559 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38560 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38561 if test $ac_cv_lib_socket_inet_addr = yes; then
38581 for ac_func in inet_aton
38583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38584 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38586 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38587 echo $ECHO_N "(cached) $ECHO_C" >&6
38589 cat >conftest.$ac_ext <<_ACEOF
38592 cat confdefs.h >>conftest.$ac_ext
38593 cat >>conftest.$ac_ext <<_ACEOF
38594 /* end confdefs.h. */
38595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38597 #define $ac_func innocuous_$ac_func
38599 /* System header to define __stub macros and hopefully few prototypes,
38600 which can conflict with char $ac_func (); below.
38601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38602 <limits.h> exists even on freestanding compilers. */
38605 # include <limits.h>
38607 # include <assert.h>
38612 /* Override any GCC internal prototype to avoid an error.
38613 Use char because int might match the return type of a GCC
38614 builtin and then its argument prototype would still apply. */
38619 /* The GNU C library defines this for functions which it implements
38620 to always fail with ENOSYS. Some functions are actually named
38621 something starting with __ and the normal name is an alias. */
38622 #if defined __stub_$ac_func || defined __stub___$ac_func
38629 return $ac_func ();
38634 rm -f conftest.$ac_objext conftest$ac_exeext
38635 if { (ac_try="$ac_link"
38636 case "(($ac_try" in
38637 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38638 *) ac_try_echo
=$ac_try;;
38640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38641 (eval "$ac_link") 2>conftest.er1
38643 grep -v '^ *+' conftest.er1
>conftest.err
38645 cat conftest.err
>&5
38646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647 (exit $ac_status); } && {
38648 test -z "$ac_c_werror_flag" ||
38649 test ! -s conftest.err
38650 } && test -s conftest
$ac_exeext &&
38651 $as_test_x conftest
$ac_exeext; then
38652 eval "$as_ac_var=yes"
38654 echo "$as_me: failed program was:" >&5
38655 sed 's/^/| /' conftest.
$ac_ext >&5
38657 eval "$as_ac_var=no"
38660 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38661 conftest
$ac_exeext conftest.
$ac_ext
38663 ac_res
=`eval echo '${'$as_ac_var'}'`
38664 { echo "$as_me:$LINENO: result: $ac_res" >&5
38665 echo "${ECHO_T}$ac_res" >&6; }
38666 if test `eval echo '${'$as_ac_var'}'` = yes; then
38667 cat >>confdefs.h
<<_ACEOF
38668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38670 cat >>confdefs.h
<<\_ACEOF
38671 #define HAVE_INET_ATON 1
38676 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38677 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38678 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38679 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38680 echo $ECHO_N "(cached) $ECHO_C" >&6
38682 ac_check_lib_save_LIBS
=$LIBS
38683 LIBS
="-l$INET_LINK $LIBS"
38684 cat >conftest.
$ac_ext <<_ACEOF
38687 cat confdefs.h
>>conftest.
$ac_ext
38688 cat >>conftest.
$ac_ext <<_ACEOF
38689 /* end confdefs.h. */
38691 /* Override any GCC internal prototype to avoid an error.
38692 Use char because int might match the return type of a GCC
38693 builtin and then its argument prototype would still apply. */
38701 return inet_aton ();
38706 rm -f conftest.
$ac_objext conftest
$ac_exeext
38707 if { (ac_try
="$ac_link"
38708 case "(($ac_try" in
38709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38710 *) ac_try_echo=$ac_try;;
38712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38713 (eval "$ac_link") 2>conftest.er1
38715 grep -v '^ *+' conftest.er1 >conftest.err
38717 cat conftest.err >&5
38718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38719 (exit $ac_status); } && {
38720 test -z "$ac_c_werror_flag" ||
38721 test ! -s conftest.err
38722 } && test -s conftest$ac_exeext &&
38723 $as_test_x conftest$ac_exeext; then
38724 eval "$as_ac_Lib=yes"
38726 echo "$as_me: failed program was:" >&5
38727 sed 's/^/| /' conftest.$ac_ext >&5
38729 eval "$as_ac_Lib=no"
38732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38733 conftest$ac_exeext conftest.$ac_ext
38734 LIBS=$ac_check_lib_save_LIBS
38736 ac_res=`eval echo '${'$as_ac_Lib'}'`
38737 { echo "$as_me:$LINENO: result: $ac_res" >&5
38738 echo "${ECHO_T}$ac_res" >&6; }
38739 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38740 cat >>confdefs.h <<\_ACEOF
38741 #define HAVE_INET_ATON 1
38751 if test "x$INET_LINK" != "x"; then
38752 cat >>confdefs.h <<\_ACEOF
38753 #define HAVE_INET_ADDR 1
38756 INET_LINK=" -l$INET_LINK"
38760 for wx_func in fdopen
38762 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38763 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38764 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38765 echo $ECHO_N "(cached) $ECHO_C" >&6
38768 cat >conftest.$ac_ext <<_ACEOF
38772 cat confdefs.h >>conftest.$ac_ext
38773 cat >>conftest.$ac_ext <<_ACEOF
38774 /* end confdefs.h. */
38777 $ac_includes_default
38793 rm -f conftest.$ac_objext conftest$ac_exeext
38794 if { (ac_try="$ac_link"
38795 case "(($ac_try" in
38796 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38797 *) ac_try_echo
=$ac_try;;
38799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38800 (eval "$ac_link") 2>conftest.er1
38802 grep -v '^ *+' conftest.er1
>conftest.err
38804 cat conftest.err
>&5
38805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38806 (exit $ac_status); } && {
38807 test -z "$ac_c_werror_flag" ||
38808 test ! -s conftest.err
38809 } && test -s conftest
$ac_exeext &&
38810 $as_test_x conftest
$ac_exeext; then
38811 eval wx_cv_func_
$wx_func=yes
38813 echo "$as_me: failed program was:" >&5
38814 sed 's/^/| /' conftest.
$ac_ext >&5
38816 eval wx_cv_func_
$wx_func=no
38819 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38820 conftest
$ac_exeext conftest.
$ac_ext
38823 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38824 { echo "$as_me:$LINENO: result: $ac_res" >&5
38825 echo "${ECHO_T}$ac_res" >&6; }
38827 if eval test \
$wx_cv_func_$wx_func = yes
38829 cat >>confdefs.h
<<_ACEOF
38830 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38841 if test "$wxUSE_TARSTREAM" = "yes"; then
38843 for wx_func
in sysconf
38845 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38846 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38847 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38848 echo $ECHO_N "(cached) $ECHO_C" >&6
38851 cat >conftest.
$ac_ext <<_ACEOF
38855 cat confdefs.h
>>conftest.
$ac_ext
38856 cat >>conftest.
$ac_ext <<_ACEOF
38857 /* end confdefs.h. */
38860 $ac_includes_default
38876 rm -f conftest.
$ac_objext conftest
$ac_exeext
38877 if { (ac_try
="$ac_link"
38878 case "(($ac_try" in
38879 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38880 *) ac_try_echo=$ac_try;;
38882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38883 (eval "$ac_link") 2>conftest.er1
38885 grep -v '^ *+' conftest.er1 >conftest.err
38887 cat conftest.err >&5
38888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889 (exit $ac_status); } && {
38890 test -z "$ac_c_werror_flag" ||
38891 test ! -s conftest.err
38892 } && test -s conftest$ac_exeext &&
38893 $as_test_x conftest$ac_exeext; then
38894 eval wx_cv_func_$wx_func=yes
38896 echo "$as_me: failed program was:" >&5
38897 sed 's/^/| /' conftest.$ac_ext >&5
38899 eval wx_cv_func_$wx_func=no
38902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38903 conftest$ac_exeext conftest.$ac_ext
38906 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38907 { echo "$as_me:$LINENO: result: $ac_res" >&5
38908 echo "${ECHO_T}$ac_res" >&6; }
38910 if eval test \$wx_cv_func_$wx_func = yes
38912 cat >>confdefs.h <<_ACEOF
38913 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38925 for wx_func in getpwuid_r
38927 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38928 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38929 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38930 echo $ECHO_N "(cached) $ECHO_C" >&6
38933 cat >conftest.$ac_ext <<_ACEOF
38937 cat confdefs.h >>conftest.$ac_ext
38938 cat >>conftest.$ac_ext <<_ACEOF
38939 /* end confdefs.h. */
38945 $ac_includes_default
38955 struct passwd pw, *ppw;
38957 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38965 rm -f conftest.$ac_objext conftest$ac_exeext
38966 if { (ac_try="$ac_link"
38967 case "(($ac_try" in
38968 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38969 *) ac_try_echo
=$ac_try;;
38971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38972 (eval "$ac_link") 2>conftest.er1
38974 grep -v '^ *+' conftest.er1
>conftest.err
38976 cat conftest.err
>&5
38977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38978 (exit $ac_status); } && {
38979 test -z "$ac_c_werror_flag" ||
38980 test ! -s conftest.err
38981 } && test -s conftest
$ac_exeext &&
38982 $as_test_x conftest
$ac_exeext; then
38983 eval wx_cv_func_
$wx_func=yes
38985 echo "$as_me: failed program was:" >&5
38986 sed 's/^/| /' conftest.
$ac_ext >&5
38988 eval wx_cv_func_
$wx_func=no
38991 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38992 conftest
$ac_exeext conftest.
$ac_ext
38995 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38996 { echo "$as_me:$LINENO: result: $ac_res" >&5
38997 echo "${ECHO_T}$ac_res" >&6; }
38999 if eval test \
$wx_cv_func_$wx_func = yes
39001 cat >>confdefs.h
<<_ACEOF
39002 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39014 for wx_func
in getgrgid_r
39016 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39017 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39018 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39019 echo $ECHO_N "(cached) $ECHO_C" >&6
39022 cat >conftest.
$ac_ext <<_ACEOF
39026 cat confdefs.h
>>conftest.
$ac_ext
39027 cat >>conftest.
$ac_ext <<_ACEOF
39028 /* end confdefs.h. */
39034 $ac_includes_default
39044 struct group grp, *pgrp;
39046 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
39054 rm -f conftest.
$ac_objext conftest
$ac_exeext
39055 if { (ac_try
="$ac_link"
39056 case "(($ac_try" in
39057 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39058 *) ac_try_echo=$ac_try;;
39060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39061 (eval "$ac_link") 2>conftest.er1
39063 grep -v '^ *+' conftest.er1 >conftest.err
39065 cat conftest.err >&5
39066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39067 (exit $ac_status); } && {
39068 test -z "$ac_c_werror_flag" ||
39069 test ! -s conftest.err
39070 } && test -s conftest$ac_exeext &&
39071 $as_test_x conftest$ac_exeext; then
39072 eval wx_cv_func_$wx_func=yes
39074 echo "$as_me: failed program was:" >&5
39075 sed 's/^/| /' conftest.$ac_ext >&5
39077 eval wx_cv_func_$wx_func=no
39080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39081 conftest$ac_exeext conftest.$ac_ext
39084 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39085 { echo "$as_me:$LINENO: result: $ac_res" >&5
39086 echo "${ECHO_T}$ac_res" >&6; }
39088 if eval test \$wx_cv_func_$wx_func = yes
39090 cat >>confdefs.h <<_ACEOF
39091 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39107 cat >confcache <<\_ACEOF
39108 # This file is a shell script that caches the results of configure
39109 # tests run on this system so they can be shared between configure
39110 # scripts and configure runs, see configure's option --config-cache.
39111 # It is not useful on other systems. If it contains results you don't
39112 # want to keep, you may remove or edit it.
39114 # config.status only pays attention to the cache file if you give it
39115 # the --recheck option to rerun configure.
39117 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
39118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39119 # following values.
39123 # The following way of writing the cache mishandles newlines in values,
39124 # but we know of no workaround that is simple, portable, and efficient.
39125 # So, we kill variables containing newlines.
39126 # Ultrix sh set writes to stderr and can't be redirected directly,
39127 # and sets the high bit in the cache file unless we assign to the vars.
39129 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
39130 eval ac_val
=\$
$ac_var
39134 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
39135 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
39138 _
| IFS
| as_nl
) ;; #(
39139 *) $as_unset $ac_var ;;
39145 case $as_nl`(ac_space=' '; set) 2>&1` in #(
39146 *${as_nl}ac_space
=\
*)
39147 # `set' does not quote correctly, so add quotes (double-quote
39148 # substitution turns \\\\ into \\, and sed turns \\ into \).
39151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39154 # `set' quotes correctly as required by POSIX, so do not add quotes.
39155 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
39164 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39166 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39168 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
39169 if test -w "$cache_file"; then
39170 test "x$cache_file" != "x/dev/null" &&
39171 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
39172 echo "$as_me: updating cache $cache_file" >&6;}
39173 cat confcache
>$cache_file
39175 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
39176 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
39182 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39188 if test "$wxUSE_THREADS" = "yes" ; then
39189 if test "$USE_BEOS" = 1; then
39190 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39191 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39196 if test "$wxUSE_THREADS" = "yes" ; then
39199 THREAD_OPTS
="-pthread"
39200 if test "x$SUNCXX" = xyes
; then
39201 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
39205 *-*-solaris2* | *-*-sunos4* )
39206 if test "x$GCC" = "xyes"; then
39207 THREAD_OPTS
="-pthreads $THREAD_OPTS"
39211 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
39213 *-*-darwin* | *-*-cygwin* )
39217 THREAD_OPTS
="pthreads"
39220 if test "x$GCC" = "xyes"; then
39221 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
39229 if test "x$GCC" = "xyes"; then
39235 if test "x$GCC" != "xyes"; then
39236 THREAD_OPTS
="-Ethread"
39241 THREAD_OPTS
="$THREAD_OPTS pthread none"
39244 for flag
in $THREAD_OPTS; do
39247 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39248 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39252 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39253 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39254 THREADS_CFLAGS
="$flag"
39258 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39259 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39260 THREADS_LINK
="-l$flag"
39265 save_CFLAGS
="$CFLAGS"
39266 LIBS
="$THREADS_LINK $LIBS"
39267 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
39269 cat >conftest.
$ac_ext <<_ACEOF
39272 cat confdefs.h
>>conftest.
$ac_ext
39273 cat >>conftest.
$ac_ext <<_ACEOF
39274 /* end confdefs.h. */
39275 #include <pthread.h>
39279 pthread_create(0,0,0,0);
39284 rm -f conftest.
$ac_objext conftest
$ac_exeext
39285 if { (ac_try
="$ac_link"
39286 case "(($ac_try" in
39287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39288 *) ac_try_echo=$ac_try;;
39290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39291 (eval "$ac_link") 2>conftest.er1
39293 grep -v '^ *+' conftest.er1 >conftest.err
39295 cat conftest.err >&5
39296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39297 (exit $ac_status); } && {
39298 test -z "$ac_c_werror_flag" ||
39299 test ! -s conftest.err
39300 } && test -s conftest$ac_exeext &&
39301 $as_test_x conftest$ac_exeext; then
39304 echo "$as_me: failed program was:" >&5
39305 sed 's/^/| /' conftest.$ac_ext >&5
39310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39311 conftest$ac_exeext conftest.$ac_ext
39314 CFLAGS="$save_CFLAGS"
39316 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39317 echo "${ECHO_T}$THREADS_OK" >&6; }
39318 if test "x$THREADS_OK" = "xyes"; then
39326 if test "x$THREADS_OK" != "xyes"; then
39328 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39329 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39331 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39332 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
39333 LIBS="$THREADS_LINK $LIBS"
39335 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39336 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39340 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39341 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
39342 flag="-D_THREAD_SAFE"
39345 flag="-D_THREAD_SAFE"
39348 flag="-D_REENTRANT"
39349 if test "x$GCC" != "xyes"; then
39350 flag="$flag -D_RWSTD_MULTI_THREAD"
39353 *solaris* | alpha*-osf*)
39354 flag="-D_REENTRANT"
39357 { echo "$as_me:$LINENO: result: ${flag}" >&5
39358 echo "${ECHO_T}${flag}" >&6; }
39359 if test "x$flag" != xno; then
39360 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39363 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39367 if test "$wxUSE_THREADS" = "yes" ; then
39369 for ac_func in thr_setconcurrency
39371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39372 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39374 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39377 cat >conftest.$ac_ext <<_ACEOF
39380 cat confdefs.h >>conftest.$ac_ext
39381 cat >>conftest.$ac_ext <<_ACEOF
39382 /* end confdefs.h. */
39383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39385 #define $ac_func innocuous_$ac_func
39387 /* System header to define __stub macros and hopefully few prototypes,
39388 which can conflict with char $ac_func (); below.
39389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39390 <limits.h> exists even on freestanding compilers. */
39393 # include <limits.h>
39395 # include <assert.h>
39400 /* Override any GCC internal prototype to avoid an error.
39401 Use char because int might match the return type of a GCC
39402 builtin and then its argument prototype would still apply. */
39407 /* The GNU C library defines this for functions which it implements
39408 to always fail with ENOSYS. Some functions are actually named
39409 something starting with __ and the normal name is an alias. */
39410 #if defined __stub_$ac_func || defined __stub___$ac_func
39417 return $ac_func ();
39422 rm -f conftest.$ac_objext conftest$ac_exeext
39423 if { (ac_try="$ac_link"
39424 case "(($ac_try" in
39425 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39426 *) ac_try_echo
=$ac_try;;
39428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39429 (eval "$ac_link") 2>conftest.er1
39431 grep -v '^ *+' conftest.er1
>conftest.err
39433 cat conftest.err
>&5
39434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39435 (exit $ac_status); } && {
39436 test -z "$ac_c_werror_flag" ||
39437 test ! -s conftest.err
39438 } && test -s conftest
$ac_exeext &&
39439 $as_test_x conftest
$ac_exeext; then
39440 eval "$as_ac_var=yes"
39442 echo "$as_me: failed program was:" >&5
39443 sed 's/^/| /' conftest.
$ac_ext >&5
39445 eval "$as_ac_var=no"
39448 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39449 conftest
$ac_exeext conftest.
$ac_ext
39451 ac_res
=`eval echo '${'$as_ac_var'}'`
39452 { echo "$as_me:$LINENO: result: $ac_res" >&5
39453 echo "${ECHO_T}$ac_res" >&6; }
39454 if test `eval echo '${'$as_ac_var'}'` = yes; then
39455 cat >>confdefs.h
<<_ACEOF
39456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39463 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39464 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39465 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39466 echo $ECHO_N "(cached) $ECHO_C" >&6
39470 ac_cpp
='$CXXCPP $CPPFLAGS'
39471 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39472 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39473 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39475 cat >conftest.
$ac_ext <<_ACEOF
39478 cat confdefs.h
>>conftest.
$ac_ext
39479 cat >>conftest.
$ac_ext <<_ACEOF
39480 /* end confdefs.h. */
39481 #include <pthread.h>
39482 void ThreadCleanupFunc(void *p);
39489 pthread_cleanup_push(ThreadCleanupFunc, p);
39490 pthread_cleanup_pop(0);
39496 rm -f conftest.
$ac_objext
39497 if { (ac_try
="$ac_compile"
39498 case "(($ac_try" in
39499 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39500 *) ac_try_echo=$ac_try;;
39502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39503 (eval "$ac_compile") 2>conftest.er1
39505 grep -v '^ *+' conftest.er1 >conftest.err
39507 cat conftest.err >&5
39508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39509 (exit $ac_status); } && {
39510 test -z "$ac_cxx_werror_flag" ||
39511 test ! -s conftest.err
39512 } && test -s conftest.$ac_objext; then
39514 wx_cv_func_pthread_cleanup=yes
39517 echo "$as_me: failed program was:" >&5
39518 sed 's/^/| /' conftest.$ac_ext >&5
39521 wx_cv_func_pthread_cleanup=no
39526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39528 ac_cpp='$CPP $CPPFLAGS'
39529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39535 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39536 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39537 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39538 cat >>confdefs.h <<\_ACEOF
39539 #define wxHAVE_PTHREAD_CLEANUP 1
39545 for ac_header in sched.h
39547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39551 echo $ECHO_N "(cached) $ECHO_C" >&6
39553 cat >conftest.$ac_ext <<_ACEOF
39556 cat confdefs.h >>conftest.$ac_ext
39557 cat >>conftest.$ac_ext <<_ACEOF
39558 /* end confdefs.h. */
39559 $ac_includes_default
39561 #include <$ac_header>
39563 rm -f conftest.$ac_objext
39564 if { (ac_try="$ac_compile"
39565 case "(($ac_try" in
39566 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39567 *) ac_try_echo
=$ac_try;;
39569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39570 (eval "$ac_compile") 2>conftest.er1
39572 grep -v '^ *+' conftest.er1
>conftest.err
39574 cat conftest.err
>&5
39575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39576 (exit $ac_status); } && {
39577 test -z "$ac_c_werror_flag" ||
39578 test ! -s conftest.err
39579 } && test -s conftest.
$ac_objext; then
39580 eval "$as_ac_Header=yes"
39582 echo "$as_me: failed program was:" >&5
39583 sed 's/^/| /' conftest.
$ac_ext >&5
39585 eval "$as_ac_Header=no"
39588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39590 ac_res
=`eval echo '${'$as_ac_Header'}'`
39591 { echo "$as_me:$LINENO: result: $ac_res" >&5
39592 echo "${ECHO_T}$ac_res" >&6; }
39593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39594 cat >>confdefs.h
<<_ACEOF
39595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39602 if test "$ac_cv_header_sched_h" = "yes"; then
39603 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39604 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39605 if test "${ac_cv_func_sched_yield+set}" = set; then
39606 echo $ECHO_N "(cached) $ECHO_C" >&6
39608 cat >conftest.
$ac_ext <<_ACEOF
39611 cat confdefs.h
>>conftest.
$ac_ext
39612 cat >>conftest.
$ac_ext <<_ACEOF
39613 /* end confdefs.h. */
39614 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39616 #define sched_yield innocuous_sched_yield
39618 /* System header to define __stub macros and hopefully few prototypes,
39619 which can conflict with char sched_yield (); below.
39620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39621 <limits.h> exists even on freestanding compilers. */
39624 # include <limits.h>
39626 # include <assert.h>
39631 /* Override any GCC internal prototype to avoid an error.
39632 Use char because int might match the return type of a GCC
39633 builtin and then its argument prototype would still apply. */
39637 char sched_yield ();
39638 /* The GNU C library defines this for functions which it implements
39639 to always fail with ENOSYS. Some functions are actually named
39640 something starting with __ and the normal name is an alias. */
39641 #if defined __stub_sched_yield || defined __stub___sched_yield
39648 return sched_yield ();
39653 rm -f conftest.
$ac_objext conftest
$ac_exeext
39654 if { (ac_try
="$ac_link"
39655 case "(($ac_try" in
39656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39657 *) ac_try_echo=$ac_try;;
39659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39660 (eval "$ac_link") 2>conftest.er1
39662 grep -v '^ *+' conftest.er1 >conftest.err
39664 cat conftest.err >&5
39665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39666 (exit $ac_status); } && {
39667 test -z "$ac_c_werror_flag" ||
39668 test ! -s conftest.err
39669 } && test -s conftest$ac_exeext &&
39670 $as_test_x conftest$ac_exeext; then
39671 ac_cv_func_sched_yield=yes
39673 echo "$as_me: failed program was:" >&5
39674 sed 's/^/| /' conftest.$ac_ext >&5
39676 ac_cv_func_sched_yield=no
39679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39680 conftest$ac_exeext conftest.$ac_ext
39682 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39683 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39684 if test $ac_cv_func_sched_yield = yes; then
39685 cat >>confdefs.h <<\_ACEOF
39686 #define HAVE_SCHED_YIELD 1
39691 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39692 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39693 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39694 echo $ECHO_N "(cached) $ECHO_C" >&6
39696 ac_check_lib_save_LIBS=$LIBS
39697 LIBS="-lposix4 $LIBS"
39698 cat >conftest.$ac_ext <<_ACEOF
39701 cat confdefs.h >>conftest.$ac_ext
39702 cat >>conftest.$ac_ext <<_ACEOF
39703 /* end confdefs.h. */
39705 /* Override any GCC internal prototype to avoid an error.
39706 Use char because int might match the return type of a GCC
39707 builtin and then its argument prototype would still apply. */
39711 char sched_yield ();
39715 return sched_yield ();
39720 rm -f conftest.$ac_objext conftest$ac_exeext
39721 if { (ac_try="$ac_link"
39722 case "(($ac_try" in
39723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39724 *) ac_try_echo
=$ac_try;;
39726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39727 (eval "$ac_link") 2>conftest.er1
39729 grep -v '^ *+' conftest.er1
>conftest.err
39731 cat conftest.err
>&5
39732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39733 (exit $ac_status); } && {
39734 test -z "$ac_c_werror_flag" ||
39735 test ! -s conftest.err
39736 } && test -s conftest
$ac_exeext &&
39737 $as_test_x conftest
$ac_exeext; then
39738 ac_cv_lib_posix4_sched_yield
=yes
39740 echo "$as_me: failed program was:" >&5
39741 sed 's/^/| /' conftest.
$ac_ext >&5
39743 ac_cv_lib_posix4_sched_yield
=no
39746 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39747 conftest
$ac_exeext conftest.
$ac_ext
39748 LIBS
=$ac_check_lib_save_LIBS
39750 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39751 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39752 if test $ac_cv_lib_posix4_sched_yield = yes; then
39753 cat >>confdefs.h
<<\_ACEOF
39754 #define HAVE_SCHED_YIELD 1
39756 POSIX4_LINK
=" -lposix4"
39758 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39759 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39770 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39771 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39772 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39773 echo $ECHO_N "(cached) $ECHO_C" >&6
39775 cat >conftest.
$ac_ext <<_ACEOF
39778 cat confdefs.h
>>conftest.
$ac_ext
39779 cat >>conftest.
$ac_ext <<_ACEOF
39780 /* end confdefs.h. */
39781 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39783 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39785 /* System header to define __stub macros and hopefully few prototypes,
39786 which can conflict with char pthread_attr_getschedpolicy (); below.
39787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39788 <limits.h> exists even on freestanding compilers. */
39791 # include <limits.h>
39793 # include <assert.h>
39796 #undef pthread_attr_getschedpolicy
39798 /* Override any GCC internal prototype to avoid an error.
39799 Use char because int might match the return type of a GCC
39800 builtin and then its argument prototype would still apply. */
39804 char pthread_attr_getschedpolicy ();
39805 /* The GNU C library defines this for functions which it implements
39806 to always fail with ENOSYS. Some functions are actually named
39807 something starting with __ and the normal name is an alias. */
39808 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39815 return pthread_attr_getschedpolicy ();
39820 rm -f conftest.
$ac_objext conftest
$ac_exeext
39821 if { (ac_try
="$ac_link"
39822 case "(($ac_try" in
39823 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39824 *) ac_try_echo=$ac_try;;
39826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39827 (eval "$ac_link") 2>conftest.er1
39829 grep -v '^ *+' conftest.er1 >conftest.err
39831 cat conftest.err >&5
39832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39833 (exit $ac_status); } && {
39834 test -z "$ac_c_werror_flag" ||
39835 test ! -s conftest.err
39836 } && test -s conftest$ac_exeext &&
39837 $as_test_x conftest$ac_exeext; then
39838 ac_cv_func_pthread_attr_getschedpolicy=yes
39840 echo "$as_me: failed program was:" >&5
39841 sed 's/^/| /' conftest.$ac_ext >&5
39843 ac_cv_func_pthread_attr_getschedpolicy=no
39846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39847 conftest$ac_exeext conftest.$ac_ext
39849 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39850 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39851 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39852 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39853 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39854 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39855 echo $ECHO_N "(cached) $ECHO_C" >&6
39857 cat >conftest.$ac_ext <<_ACEOF
39860 cat confdefs.h >>conftest.$ac_ext
39861 cat >>conftest.$ac_ext <<_ACEOF
39862 /* end confdefs.h. */
39863 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39865 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39867 /* System header to define __stub macros and hopefully few prototypes,
39868 which can conflict with char pthread_attr_setschedparam (); below.
39869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39870 <limits.h> exists even on freestanding compilers. */
39873 # include <limits.h>
39875 # include <assert.h>
39878 #undef pthread_attr_setschedparam
39880 /* Override any GCC internal prototype to avoid an error.
39881 Use char because int might match the return type of a GCC
39882 builtin and then its argument prototype would still apply. */
39886 char pthread_attr_setschedparam ();
39887 /* The GNU C library defines this for functions which it implements
39888 to always fail with ENOSYS. Some functions are actually named
39889 something starting with __ and the normal name is an alias. */
39890 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39897 return pthread_attr_setschedparam ();
39902 rm -f conftest.$ac_objext conftest$ac_exeext
39903 if { (ac_try="$ac_link"
39904 case "(($ac_try" in
39905 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39906 *) ac_try_echo
=$ac_try;;
39908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39909 (eval "$ac_link") 2>conftest.er1
39911 grep -v '^ *+' conftest.er1
>conftest.err
39913 cat conftest.err
>&5
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); } && {
39916 test -z "$ac_c_werror_flag" ||
39917 test ! -s conftest.err
39918 } && test -s conftest
$ac_exeext &&
39919 $as_test_x conftest
$ac_exeext; then
39920 ac_cv_func_pthread_attr_setschedparam
=yes
39922 echo "$as_me: failed program was:" >&5
39923 sed 's/^/| /' conftest.
$ac_ext >&5
39925 ac_cv_func_pthread_attr_setschedparam
=no
39928 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39929 conftest
$ac_exeext conftest.
$ac_ext
39931 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39932 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39933 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39934 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39935 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39936 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39937 echo $ECHO_N "(cached) $ECHO_C" >&6
39939 cat >conftest.
$ac_ext <<_ACEOF
39942 cat confdefs.h
>>conftest.
$ac_ext
39943 cat >>conftest.
$ac_ext <<_ACEOF
39944 /* end confdefs.h. */
39945 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39947 #define sched_get_priority_max innocuous_sched_get_priority_max
39949 /* System header to define __stub macros and hopefully few prototypes,
39950 which can conflict with char sched_get_priority_max (); below.
39951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39952 <limits.h> exists even on freestanding compilers. */
39955 # include <limits.h>
39957 # include <assert.h>
39960 #undef sched_get_priority_max
39962 /* Override any GCC internal prototype to avoid an error.
39963 Use char because int might match the return type of a GCC
39964 builtin and then its argument prototype would still apply. */
39968 char sched_get_priority_max ();
39969 /* The GNU C library defines this for functions which it implements
39970 to always fail with ENOSYS. Some functions are actually named
39971 something starting with __ and the normal name is an alias. */
39972 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39979 return sched_get_priority_max ();
39984 rm -f conftest.
$ac_objext conftest
$ac_exeext
39985 if { (ac_try
="$ac_link"
39986 case "(($ac_try" in
39987 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39988 *) ac_try_echo=$ac_try;;
39990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39991 (eval "$ac_link") 2>conftest.er1
39993 grep -v '^ *+' conftest.er1 >conftest.err
39995 cat conftest.err >&5
39996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39997 (exit $ac_status); } && {
39998 test -z "$ac_c_werror_flag" ||
39999 test ! -s conftest.err
40000 } && test -s conftest$ac_exeext &&
40001 $as_test_x conftest$ac_exeext; then
40002 ac_cv_func_sched_get_priority_max=yes
40004 echo "$as_me: failed program was:" >&5
40005 sed 's/^/| /' conftest.$ac_ext >&5
40007 ac_cv_func_sched_get_priority_max=no
40010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40011 conftest$ac_exeext conftest.$ac_ext
40013 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40014 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
40015 if test $ac_cv_func_sched_get_priority_max = yes; then
40018 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40019 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
40020 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40021 echo $ECHO_N "(cached) $ECHO_C" >&6
40023 ac_check_lib_save_LIBS=$LIBS
40024 LIBS="-lposix4 $LIBS"
40025 cat >conftest.$ac_ext <<_ACEOF
40028 cat confdefs.h >>conftest.$ac_ext
40029 cat >>conftest.$ac_ext <<_ACEOF
40030 /* end confdefs.h. */
40032 /* Override any GCC internal prototype to avoid an error.
40033 Use char because int might match the return type of a GCC
40034 builtin and then its argument prototype would still apply. */
40038 char sched_get_priority_max ();
40042 return sched_get_priority_max ();
40047 rm -f conftest.$ac_objext conftest$ac_exeext
40048 if { (ac_try="$ac_link"
40049 case "(($ac_try" in
40050 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40051 *) ac_try_echo
=$ac_try;;
40053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40054 (eval "$ac_link") 2>conftest.er1
40056 grep -v '^ *+' conftest.er1
>conftest.err
40058 cat conftest.err
>&5
40059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060 (exit $ac_status); } && {
40061 test -z "$ac_c_werror_flag" ||
40062 test ! -s conftest.err
40063 } && test -s conftest
$ac_exeext &&
40064 $as_test_x conftest
$ac_exeext; then
40065 ac_cv_lib_posix4_sched_get_priority_max
=yes
40067 echo "$as_me: failed program was:" >&5
40068 sed 's/^/| /' conftest.
$ac_ext >&5
40070 ac_cv_lib_posix4_sched_get_priority_max
=no
40073 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40074 conftest
$ac_exeext conftest.
$ac_ext
40075 LIBS
=$ac_check_lib_save_LIBS
40077 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40078 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
40079 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40082 POSIX4_LINK
=" -lposix4"
40096 if test "$HAVE_PRIOR_FUNCS" = 1; then
40097 cat >>confdefs.h
<<\_ACEOF
40098 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40102 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40103 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40106 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40107 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
40108 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40109 echo $ECHO_N "(cached) $ECHO_C" >&6
40111 cat >conftest.
$ac_ext <<_ACEOF
40114 cat confdefs.h
>>conftest.
$ac_ext
40115 cat >>conftest.
$ac_ext <<_ACEOF
40116 /* end confdefs.h. */
40117 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40119 #define pthread_cancel innocuous_pthread_cancel
40121 /* System header to define __stub macros and hopefully few prototypes,
40122 which can conflict with char pthread_cancel (); below.
40123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40124 <limits.h> exists even on freestanding compilers. */
40127 # include <limits.h>
40129 # include <assert.h>
40132 #undef pthread_cancel
40134 /* Override any GCC internal prototype to avoid an error.
40135 Use char because int might match the return type of a GCC
40136 builtin and then its argument prototype would still apply. */
40140 char pthread_cancel ();
40141 /* The GNU C library defines this for functions which it implements
40142 to always fail with ENOSYS. Some functions are actually named
40143 something starting with __ and the normal name is an alias. */
40144 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
40151 return pthread_cancel ();
40156 rm -f conftest.
$ac_objext conftest
$ac_exeext
40157 if { (ac_try
="$ac_link"
40158 case "(($ac_try" in
40159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40160 *) ac_try_echo=$ac_try;;
40162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40163 (eval "$ac_link") 2>conftest.er1
40165 grep -v '^ *+' conftest.er1 >conftest.err
40167 cat conftest.err >&5
40168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40169 (exit $ac_status); } && {
40170 test -z "$ac_c_werror_flag" ||
40171 test ! -s conftest.err
40172 } && test -s conftest$ac_exeext &&
40173 $as_test_x conftest$ac_exeext; then
40174 ac_cv_func_pthread_cancel=yes
40176 echo "$as_me: failed program was:" >&5
40177 sed 's/^/| /' conftest.$ac_ext >&5
40179 ac_cv_func_pthread_cancel=no
40182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40183 conftest$ac_exeext conftest.$ac_ext
40185 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40186 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
40187 if test $ac_cv_func_pthread_cancel = yes; then
40188 cat >>confdefs.h <<\_ACEOF
40189 #define HAVE_PTHREAD_CANCEL 1
40193 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40194 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40198 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
40199 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
40200 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
40201 echo $ECHO_N "(cached) $ECHO_C" >&6
40203 cat >conftest.$ac_ext <<_ACEOF
40206 cat confdefs.h >>conftest.$ac_ext
40207 cat >>conftest.$ac_ext <<_ACEOF
40208 /* end confdefs.h. */
40209 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
40210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40211 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
40213 /* System header to define __stub macros and hopefully few prototypes,
40214 which can conflict with char pthread_mutex_timedlock (); below.
40215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40216 <limits.h> exists even on freestanding compilers. */
40219 # include <limits.h>
40221 # include <assert.h>
40224 #undef pthread_mutex_timedlock
40226 /* Override any GCC internal prototype to avoid an error.
40227 Use char because int might match the return type of a GCC
40228 builtin and then its argument prototype would still apply. */
40232 char pthread_mutex_timedlock ();
40233 /* The GNU C library defines this for functions which it implements
40234 to always fail with ENOSYS. Some functions are actually named
40235 something starting with __ and the normal name is an alias. */
40236 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
40243 return pthread_mutex_timedlock ();
40248 rm -f conftest.$ac_objext conftest$ac_exeext
40249 if { (ac_try="$ac_link"
40250 case "(($ac_try" in
40251 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40252 *) ac_try_echo
=$ac_try;;
40254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40255 (eval "$ac_link") 2>conftest.er1
40257 grep -v '^ *+' conftest.er1
>conftest.err
40259 cat conftest.err
>&5
40260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40261 (exit $ac_status); } && {
40262 test -z "$ac_c_werror_flag" ||
40263 test ! -s conftest.err
40264 } && test -s conftest
$ac_exeext &&
40265 $as_test_x conftest
$ac_exeext; then
40266 ac_cv_func_pthread_mutex_timedlock
=yes
40268 echo "$as_me: failed program was:" >&5
40269 sed 's/^/| /' conftest.
$ac_ext >&5
40271 ac_cv_func_pthread_mutex_timedlock
=no
40274 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40275 conftest
$ac_exeext conftest.
$ac_ext
40277 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40278 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40279 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40280 cat >>confdefs.h
<<\_ACEOF
40281 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40285 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40286 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40290 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40291 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40292 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40293 echo $ECHO_N "(cached) $ECHO_C" >&6
40295 cat >conftest.
$ac_ext <<_ACEOF
40298 cat confdefs.h
>>conftest.
$ac_ext
40299 cat >>conftest.
$ac_ext <<_ACEOF
40300 /* end confdefs.h. */
40301 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40303 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40305 /* System header to define __stub macros and hopefully few prototypes,
40306 which can conflict with char pthread_attr_setstacksize (); below.
40307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40308 <limits.h> exists even on freestanding compilers. */
40311 # include <limits.h>
40313 # include <assert.h>
40316 #undef pthread_attr_setstacksize
40318 /* Override any GCC internal prototype to avoid an error.
40319 Use char because int might match the return type of a GCC
40320 builtin and then its argument prototype would still apply. */
40324 char pthread_attr_setstacksize ();
40325 /* The GNU C library defines this for functions which it implements
40326 to always fail with ENOSYS. Some functions are actually named
40327 something starting with __ and the normal name is an alias. */
40328 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40335 return pthread_attr_setstacksize ();
40340 rm -f conftest.
$ac_objext conftest
$ac_exeext
40341 if { (ac_try
="$ac_link"
40342 case "(($ac_try" in
40343 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40344 *) ac_try_echo=$ac_try;;
40346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40347 (eval "$ac_link") 2>conftest.er1
40349 grep -v '^ *+' conftest.er1 >conftest.err
40351 cat conftest.err >&5
40352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40353 (exit $ac_status); } && {
40354 test -z "$ac_c_werror_flag" ||
40355 test ! -s conftest.err
40356 } && test -s conftest$ac_exeext &&
40357 $as_test_x conftest$ac_exeext; then
40358 ac_cv_func_pthread_attr_setstacksize=yes
40360 echo "$as_me: failed program was:" >&5
40361 sed 's/^/| /' conftest.$ac_ext >&5
40363 ac_cv_func_pthread_attr_setstacksize=no
40366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40367 conftest$ac_exeext conftest.$ac_ext
40369 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40370 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40371 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40372 cat >>confdefs.h <<\_ACEOF
40373 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40380 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40381 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40382 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40383 echo $ECHO_N "(cached) $ECHO_C" >&6
40386 cat >conftest.$ac_ext <<_ACEOF
40389 cat confdefs.h >>conftest.$ac_ext
40390 cat >>conftest.$ac_ext <<_ACEOF
40391 /* end confdefs.h. */
40392 #include <pthread.h>
40397 pthread_mutexattr_t attr;
40398 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40404 rm -f conftest.$ac_objext
40405 if { (ac_try="$ac_compile"
40406 case "(($ac_try" in
40407 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40408 *) ac_try_echo
=$ac_try;;
40410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40411 (eval "$ac_compile") 2>conftest.er1
40413 grep -v '^ *+' conftest.er1
>conftest.err
40415 cat conftest.err
>&5
40416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40417 (exit $ac_status); } && {
40418 test -z "$ac_c_werror_flag" ||
40419 test ! -s conftest.err
40420 } && test -s conftest.
$ac_objext; then
40421 wx_cv_type_pthread_mutexattr_t
=yes
40423 echo "$as_me: failed program was:" >&5
40424 sed 's/^/| /' conftest.
$ac_ext >&5
40426 wx_cv_type_pthread_mutexattr_t
=no
40430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40433 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40434 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40436 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40437 cat >>confdefs.h
<<\_ACEOF
40438 #define HAVE_PTHREAD_MUTEXATTR_T 1
40442 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40443 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40444 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40445 echo $ECHO_N "(cached) $ECHO_C" >&6
40448 cat >conftest.
$ac_ext <<_ACEOF
40451 cat confdefs.h
>>conftest.
$ac_ext
40452 cat >>conftest.
$ac_ext <<_ACEOF
40453 /* end confdefs.h. */
40454 #include <pthread.h>
40459 pthread_mutexattr_t attr;
40460 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40466 rm -f conftest.
$ac_objext
40467 if { (ac_try
="$ac_compile"
40468 case "(($ac_try" in
40469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40470 *) ac_try_echo=$ac_try;;
40472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40473 (eval "$ac_compile") 2>conftest.er1
40475 grep -v '^ *+' conftest.er1 >conftest.err
40477 cat conftest.err >&5
40478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40479 (exit $ac_status); } && {
40480 test -z "$ac_c_werror_flag" ||
40481 test ! -s conftest.err
40482 } && test -s conftest.$ac_objext; then
40483 wx_cv_func_pthread_mutexattr_settype_decl=yes
40485 echo "$as_me: failed program was:" >&5
40486 sed 's/^/| /' conftest.$ac_ext >&5
40488 wx_cv_func_pthread_mutexattr_settype_decl=no
40492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40495 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40496 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40497 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40498 cat >>confdefs.h <<\_ACEOF
40499 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40504 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40505 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40506 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40507 echo $ECHO_N "(cached) $ECHO_C" >&6
40510 cat >conftest.$ac_ext <<_ACEOF
40513 cat confdefs.h >>conftest.$ac_ext
40514 cat >>conftest.$ac_ext <<_ACEOF
40515 /* end confdefs.h. */
40516 #include <pthread.h>
40521 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40527 rm -f conftest.$ac_objext
40528 if { (ac_try="$ac_compile"
40529 case "(($ac_try" in
40530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40531 *) ac_try_echo
=$ac_try;;
40533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40534 (eval "$ac_compile") 2>conftest.er1
40536 grep -v '^ *+' conftest.er1
>conftest.err
40538 cat conftest.err
>&5
40539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40540 (exit $ac_status); } && {
40541 test -z "$ac_c_werror_flag" ||
40542 test ! -s conftest.err
40543 } && test -s conftest.
$ac_objext; then
40545 wx_cv_type_pthread_rec_mutex_init
=yes
40548 echo "$as_me: failed program was:" >&5
40549 sed 's/^/| /' conftest.
$ac_ext >&5
40552 wx_cv_type_pthread_rec_mutex_init
=no
40557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40560 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40561 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40562 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40563 cat >>confdefs.h
<<\_ACEOF
40564 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40568 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40569 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40573 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40574 if test "$USE_NETBSD" = 1; then
40575 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40576 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40577 wxUSE_COMPILER_TLS
=no
40579 wxUSE_COMPILER_TLS
=yes
40583 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40584 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40585 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40586 if test "${wx_cv_cc___thread+set}" = set; then
40587 echo $ECHO_N "(cached) $ECHO_C" >&6
40590 cat >conftest.
$ac_ext <<_ACEOF
40593 cat confdefs.h
>>conftest.
$ac_ext
40594 cat >>conftest.
$ac_ext <<_ACEOF
40595 /* end confdefs.h. */
40596 #include <pthread.h>
40601 static __thread int n = 0;
40602 static __thread int *p = 0;
40608 rm -f conftest.
$ac_objext
40609 if { (ac_try
="$ac_compile"
40610 case "(($ac_try" in
40611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40612 *) ac_try_echo=$ac_try;;
40614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40615 (eval "$ac_compile") 2>conftest.er1
40617 grep -v '^ *+' conftest.er1 >conftest.err
40619 cat conftest.err >&5
40620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40621 (exit $ac_status); } && {
40622 test -z "$ac_c_werror_flag" ||
40623 test ! -s conftest.err
40624 } && test -s conftest.$ac_objext; then
40625 wx_cv_cc___thread=yes
40627 echo "$as_me: failed program was:" >&5
40628 sed 's/^/| /' conftest.$ac_ext >&5
40630 wx_cv_cc___thread=no
40634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40638 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40639 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40641 if test "$wx_cv_cc___thread" = "yes"; then
40647 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40648 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40650 if test "x$GCC" = "xyes" ; then
40652 if test -z "" ; then
40654 ax_gcc_option_test="int main()
40661 ax_gcc_option_test=""
40666 # Dump the test program to file
40667 cat <<EOF > conftest.c
40668 $ax_gcc_option_test
40671 # Dump back the file to the log, useful for debugging purposes
40672 { ac_try='cat conftest.c 1>&5'
40673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40674 (eval $ac_try) 2>&5
40676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40677 (exit $ac_status); }; }
40679 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40681 (eval $ac_try) 2>&5
40683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40684 (exit $ac_status); }; } ; then
40686 { echo "$as_me:$LINENO: result: yes" >&5
40687 echo "${ECHO_T}yes" >&6; }
40689 ax_gcc_version_option=yes
40694 { echo "$as_me:$LINENO: result: no" >&5
40695 echo "${ECHO_T}no" >&6; }
40697 ax_gcc_version_option=no
40705 { echo "$as_me:$LINENO: result: no gcc available" >&5
40706 echo "${ECHO_T}no gcc available" >&6; }
40711 if test "x$GXX" = "xyes"; then
40713 if test "x$ax_gxx_version_option" != "no"; then
40715 { echo "$as_me:$LINENO: checking gxx version" >&5
40716 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40717 if test "${ax_cv_gxx_version+set}" = set; then
40718 echo $ECHO_N "(cached) $ECHO_C" >&6
40721 ax_cv_gxx_version="`$CXX -dumpversion`"
40722 if test "x$ax_cv_gxx_version" = "x"; then
40724 ax_cv_gxx_version=""
40730 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40731 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40732 GXX_VERSION=$ax_cv_gxx_version
40741 if test -n "$ax_cv_gxx_version"; then
40742 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40743 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40744 case "$ax_cv_gxx_version" in
40746 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40747 echo "${ECHO_T}no, it's broken" >&6; }
40748 wx_cv_cc___thread=no
40751 { echo "$as_me:$LINENO: result: yes, it works" >&5
40752 echo "${ECHO_T}yes, it works" >&6; }
40758 if test "$wx_cv_cc___thread" = "yes"; then
40759 cat >>confdefs.h <<\_ACEOF
40760 #define HAVE___THREAD_KEYWORD 1
40768 if test "$wxUSE_THREADS" = "yes" ; then
40770 x86_64-*-mingw32* )
40773 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40774 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40775 if test "${wx_cv_cflags_mthread+set}" = set; then
40776 echo $ECHO_N "(cached) $ECHO_C" >&6
40779 CFLAGS_OLD="$CFLAGS"
40780 CFLAGS="-mthreads $CFLAGS"
40781 cat >conftest.$ac_ext <<_ACEOF
40784 cat confdefs.h >>conftest.$ac_ext
40785 cat >>conftest.$ac_ext <<_ACEOF
40786 /* end confdefs.h. */
40796 rm -f conftest.$ac_objext
40797 if { (ac_try="$ac_compile"
40798 case "(($ac_try" in
40799 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40800 *) ac_try_echo
=$ac_try;;
40802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40803 (eval "$ac_compile") 2>conftest.er1
40805 grep -v '^ *+' conftest.er1
>conftest.err
40807 cat conftest.err
>&5
40808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809 (exit $ac_status); } && {
40810 test -z "$ac_c_werror_flag" ||
40811 test ! -s conftest.err
40812 } && test -s conftest.
$ac_objext; then
40813 wx_cv_cflags_mthread
=yes
40815 echo "$as_me: failed program was:" >&5
40816 sed 's/^/| /' conftest.
$ac_ext >&5
40818 wx_cv_cflags_mthread
=no
40822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40826 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40827 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40829 if test "$wx_cv_cflags_mthread" = "yes"; then
40830 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40831 LDFLAGS
="$LDFLAGS -mthreads"
40833 CFLAGS
="$CFLAGS_OLD"
40837 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40838 LDFLAGS
="$LDFLAGS -Zmt"
40844 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40845 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40846 if test "${ac_cv_func_localtime_r+set}" = set; then
40847 echo $ECHO_N "(cached) $ECHO_C" >&6
40849 cat >conftest.
$ac_ext <<_ACEOF
40852 cat confdefs.h
>>conftest.
$ac_ext
40853 cat >>conftest.
$ac_ext <<_ACEOF
40854 /* end confdefs.h. */
40855 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40857 #define localtime_r innocuous_localtime_r
40859 /* System header to define __stub macros and hopefully few prototypes,
40860 which can conflict with char localtime_r (); below.
40861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40862 <limits.h> exists even on freestanding compilers. */
40865 # include <limits.h>
40867 # include <assert.h>
40872 /* Override any GCC internal prototype to avoid an error.
40873 Use char because int might match the return type of a GCC
40874 builtin and then its argument prototype would still apply. */
40878 char localtime_r ();
40879 /* The GNU C library defines this for functions which it implements
40880 to always fail with ENOSYS. Some functions are actually named
40881 something starting with __ and the normal name is an alias. */
40882 #if defined __stub_localtime_r || defined __stub___localtime_r
40889 return localtime_r ();
40894 rm -f conftest.
$ac_objext conftest
$ac_exeext
40895 if { (ac_try
="$ac_link"
40896 case "(($ac_try" in
40897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40898 *) ac_try_echo=$ac_try;;
40900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40901 (eval "$ac_link") 2>conftest.er1
40903 grep -v '^ *+' conftest.er1 >conftest.err
40905 cat conftest.err >&5
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); } && {
40908 test -z "$ac_c_werror_flag" ||
40909 test ! -s conftest.err
40910 } && test -s conftest$ac_exeext &&
40911 $as_test_x conftest$ac_exeext; then
40912 ac_cv_func_localtime_r=yes
40914 echo "$as_me: failed program was:" >&5
40915 sed 's/^/| /' conftest.$ac_ext >&5
40917 ac_cv_func_localtime_r=no
40920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40921 conftest$ac_exeext conftest.$ac_ext
40923 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40924 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40925 if test $ac_cv_func_localtime_r = yes; then
40926 cat >>confdefs.h <<\_ACEOF
40927 #define HAVE_LOCALTIME_R 1
40932 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40933 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40934 if test "${ac_cv_func_gmtime_r+set}" = set; then
40935 echo $ECHO_N "(cached) $ECHO_C" >&6
40937 cat >conftest.$ac_ext <<_ACEOF
40940 cat confdefs.h >>conftest.$ac_ext
40941 cat >>conftest.$ac_ext <<_ACEOF
40942 /* end confdefs.h. */
40943 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40945 #define gmtime_r innocuous_gmtime_r
40947 /* System header to define __stub macros and hopefully few prototypes,
40948 which can conflict with char gmtime_r (); below.
40949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40950 <limits.h> exists even on freestanding compilers. */
40953 # include <limits.h>
40955 # include <assert.h>
40960 /* Override any GCC internal prototype to avoid an error.
40961 Use char because int might match the return type of a GCC
40962 builtin and then its argument prototype would still apply. */
40967 /* The GNU C library defines this for functions which it implements
40968 to always fail with ENOSYS. Some functions are actually named
40969 something starting with __ and the normal name is an alias. */
40970 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40977 return gmtime_r ();
40982 rm -f conftest.$ac_objext conftest$ac_exeext
40983 if { (ac_try="$ac_link"
40984 case "(($ac_try" in
40985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40986 *) ac_try_echo
=$ac_try;;
40988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40989 (eval "$ac_link") 2>conftest.er1
40991 grep -v '^ *+' conftest.er1
>conftest.err
40993 cat conftest.err
>&5
40994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40995 (exit $ac_status); } && {
40996 test -z "$ac_c_werror_flag" ||
40997 test ! -s conftest.err
40998 } && test -s conftest
$ac_exeext &&
40999 $as_test_x conftest
$ac_exeext; then
41000 ac_cv_func_gmtime_r
=yes
41002 echo "$as_me: failed program was:" >&5
41003 sed 's/^/| /' conftest.
$ac_ext >&5
41005 ac_cv_func_gmtime_r
=no
41008 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41009 conftest
$ac_exeext conftest.
$ac_ext
41011 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41012 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
41013 if test $ac_cv_func_gmtime_r = yes; then
41014 cat >>confdefs.h
<<\_ACEOF
41015 #define HAVE_GMTIME_R 1
41024 ac_cpp
='$CPP $CPPFLAGS'
41025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41029 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41030 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
41032 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41033 echo $ECHO_N "(cached) $ECHO_C" >&6
41037 ################################################################
41039 ac_cv_func_which_gethostbyname_r
=unknown
41042 # ONE ARGUMENT (sanity check)
41045 # This should fail, as there is no variant of gethostbyname_r() that takes
41046 # a single argument. If it actually compiles, then we can assume that
41047 # netdb.h is not declaring the function, and the compiler is thereby
41048 # assuming an implicit prototype. In which case, we're out of luck.
41050 cat >conftest.
$ac_ext <<_ACEOF
41053 cat confdefs.h
>>conftest.
$ac_ext
41054 cat >>conftest.
$ac_ext <<_ACEOF
41055 /* end confdefs.h. */
41061 char *name = "www.gnu.org";
41062 (void)gethostbyname_r(name) /* ; */
41068 rm -f conftest.
$ac_objext
41069 if { (ac_try
="$ac_compile"
41070 case "(($ac_try" in
41071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41072 *) ac_try_echo=$ac_try;;
41074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41075 (eval "$ac_compile") 2>conftest.er1
41077 grep -v '^ *+' conftest.er1 >conftest.err
41079 cat conftest.err >&5
41080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41081 (exit $ac_status); } && {
41082 test -z "$ac_c_werror_flag" ||
41083 test ! -s conftest.err
41084 } && test -s conftest.$ac_objext; then
41085 ac_cv_func_which_gethostbyname_r=no
41087 echo "$as_me: failed program was:" >&5
41088 sed 's/^/| /' conftest.$ac_ext >&5
41093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41100 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41102 cat >conftest.$ac_ext <<_ACEOF
41105 cat confdefs.h >>conftest.$ac_ext
41106 cat >>conftest.$ac_ext <<_ACEOF
41107 /* end confdefs.h. */
41113 char *name = "www.gnu.org";
41114 struct hostent ret, *retp;
41118 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41124 rm -f conftest.$ac_objext
41125 if { (ac_try="$ac_compile"
41126 case "(($ac_try" in
41127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41128 *) ac_try_echo
=$ac_try;;
41130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41131 (eval "$ac_compile") 2>conftest.er1
41133 grep -v '^ *+' conftest.er1
>conftest.err
41135 cat conftest.err
>&5
41136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41137 (exit $ac_status); } && {
41138 test -z "$ac_c_werror_flag" ||
41139 test ! -s conftest.err
41140 } && test -s conftest.
$ac_objext; then
41141 ac_cv_func_which_gethostbyname_r
=six
41143 echo "$as_me: failed program was:" >&5
41144 sed 's/^/| /' conftest.
$ac_ext >&5
41149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41158 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41160 cat >conftest.
$ac_ext <<_ACEOF
41163 cat confdefs.h
>>conftest.
$ac_ext
41164 cat >>conftest.
$ac_ext <<_ACEOF
41165 /* end confdefs.h. */
41171 char *name = "www.gnu.org";
41172 struct hostent ret;
41176 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41182 rm -f conftest.
$ac_objext
41183 if { (ac_try
="$ac_compile"
41184 case "(($ac_try" in
41185 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41186 *) ac_try_echo=$ac_try;;
41188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41189 (eval "$ac_compile") 2>conftest.er1
41191 grep -v '^ *+' conftest.er1 >conftest.err
41193 cat conftest.err >&5
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); } && {
41196 test -z "$ac_c_werror_flag" ||
41197 test ! -s conftest.err
41198 } && test -s conftest.$ac_objext; then
41199 ac_cv_func_which_gethostbyname_r=five
41201 echo "$as_me: failed program was:" >&5
41202 sed 's/^/| /' conftest.$ac_ext >&5
41207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41213 # (e.g. AIX, HP-UX, Tru64)
41216 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41218 cat >conftest.$ac_ext <<_ACEOF
41221 cat confdefs.h >>conftest.$ac_ext
41222 cat >>conftest.$ac_ext <<_ACEOF
41223 /* end confdefs.h. */
41229 char *name = "www.gnu.org";
41230 struct hostent ret;
41231 struct hostent_data data;
41232 (void)gethostbyname_r(name, &ret, &data) /* ; */
41238 rm -f conftest.$ac_objext
41239 if { (ac_try="$ac_compile"
41240 case "(($ac_try" in
41241 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41242 *) ac_try_echo
=$ac_try;;
41244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41245 (eval "$ac_compile") 2>conftest.er1
41247 grep -v '^ *+' conftest.er1
>conftest.err
41249 cat conftest.err
>&5
41250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41251 (exit $ac_status); } && {
41252 test -z "$ac_c_werror_flag" ||
41253 test ! -s conftest.err
41254 } && test -s conftest.
$ac_objext; then
41255 ac_cv_func_which_gethostbyname_r
=three
41257 echo "$as_me: failed program was:" >&5
41258 sed 's/^/| /' conftest.
$ac_ext >&5
41263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41267 ################################################################
41272 case "$ac_cv_func_which_gethostbyname_r" in
41274 { echo "$as_me:$LINENO: result: three" >&5
41275 echo "${ECHO_T}three" >&6; }
41276 cat >>confdefs.h
<<\_ACEOF
41277 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41283 { echo "$as_me:$LINENO: result: five" >&5
41284 echo "${ECHO_T}five" >&6; }
41285 cat >>confdefs.h
<<\_ACEOF
41286 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41292 { echo "$as_me:$LINENO: result: six" >&5
41293 echo "${ECHO_T}six" >&6; }
41294 cat >>confdefs.h
<<\_ACEOF
41295 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41301 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41302 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41306 { echo "$as_me:$LINENO: result: can't tell" >&5
41307 echo "${ECHO_T}can't tell" >&6; }
41311 { { echo "$as_me:$LINENO: error: internal error" >&5
41312 echo "$as_me: error: internal error" >&2;}
41313 { (exit 1); exit 1; }; }
41318 ac_cpp
='$CPP $CPPFLAGS'
41319 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41320 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41321 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41325 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41326 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41327 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41328 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41329 if test "${ac_cv_func_gethostbyname+set}" = set; then
41330 echo $ECHO_N "(cached) $ECHO_C" >&6
41332 cat >conftest.
$ac_ext <<_ACEOF
41335 cat confdefs.h
>>conftest.
$ac_ext
41336 cat >>conftest.
$ac_ext <<_ACEOF
41337 /* end confdefs.h. */
41338 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41340 #define gethostbyname innocuous_gethostbyname
41342 /* System header to define __stub macros and hopefully few prototypes,
41343 which can conflict with char gethostbyname (); below.
41344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41345 <limits.h> exists even on freestanding compilers. */
41348 # include <limits.h>
41350 # include <assert.h>
41353 #undef gethostbyname
41355 /* Override any GCC internal prototype to avoid an error.
41356 Use char because int might match the return type of a GCC
41357 builtin and then its argument prototype would still apply. */
41361 char gethostbyname ();
41362 /* The GNU C library defines this for functions which it implements
41363 to always fail with ENOSYS. Some functions are actually named
41364 something starting with __ and the normal name is an alias. */
41365 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41372 return gethostbyname ();
41377 rm -f conftest.
$ac_objext conftest
$ac_exeext
41378 if { (ac_try
="$ac_link"
41379 case "(($ac_try" in
41380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41381 *) ac_try_echo=$ac_try;;
41383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41384 (eval "$ac_link") 2>conftest.er1
41386 grep -v '^ *+' conftest.er1 >conftest.err
41388 cat conftest.err >&5
41389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41390 (exit $ac_status); } && {
41391 test -z "$ac_c_werror_flag" ||
41392 test ! -s conftest.err
41393 } && test -s conftest$ac_exeext &&
41394 $as_test_x conftest$ac_exeext; then
41395 ac_cv_func_gethostbyname=yes
41397 echo "$as_me: failed program was:" >&5
41398 sed 's/^/| /' conftest.$ac_ext >&5
41400 ac_cv_func_gethostbyname=no
41403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41404 conftest$ac_exeext conftest.$ac_ext
41406 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41407 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41408 if test $ac_cv_func_gethostbyname = yes; then
41409 cat >>confdefs.h <<\_ACEOF
41410 #define HAVE_GETHOSTBYNAME 1
41417 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41418 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41419 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41420 echo $ECHO_N "(cached) $ECHO_C" >&6
41424 ac_cpp='$CXXCPP $CPPFLAGS'
41425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41430 cat >conftest.$ac_ext <<_ACEOF
41433 cat confdefs.h >>conftest.$ac_ext
41434 cat >>conftest.$ac_ext <<_ACEOF
41435 /* end confdefs.h. */
41443 struct servent *se, *res;
41446 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41452 rm -f conftest.$ac_objext
41453 if { (ac_try="$ac_compile"
41454 case "(($ac_try" in
41455 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41456 *) ac_try_echo
=$ac_try;;
41458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41459 (eval "$ac_compile") 2>conftest.er1
41461 grep -v '^ *+' conftest.er1
>conftest.err
41463 cat conftest.err
>&5
41464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41465 (exit $ac_status); } && {
41466 test -z "$ac_cxx_werror_flag" ||
41467 test ! -s conftest.err
41468 } && test -s conftest.
$ac_objext; then
41469 ac_cv_func_which_getservbyname_r
=six
41471 echo "$as_me: failed program was:" >&5
41472 sed 's/^/| /' conftest.
$ac_ext >&5
41475 cat >conftest.
$ac_ext <<_ACEOF
41478 cat confdefs.h
>>conftest.
$ac_ext
41479 cat >>conftest.
$ac_ext <<_ACEOF
41480 /* end confdefs.h. */
41488 struct servent *se;
41491 (void) getservbyname_r(name, proto, se, buffer, buflen)
41497 rm -f conftest.
$ac_objext
41498 if { (ac_try
="$ac_compile"
41499 case "(($ac_try" in
41500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41501 *) ac_try_echo=$ac_try;;
41503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41504 (eval "$ac_compile") 2>conftest.er1
41506 grep -v '^ *+' conftest.er1 >conftest.err
41508 cat conftest.err >&5
41509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41510 (exit $ac_status); } && {
41511 test -z "$ac_cxx_werror_flag" ||
41512 test ! -s conftest.err
41513 } && test -s conftest.$ac_objext; then
41514 ac_cv_func_which_getservbyname_r=five
41516 echo "$as_me: failed program was:" >&5
41517 sed 's/^/| /' conftest.$ac_ext >&5
41520 cat >conftest.$ac_ext <<_ACEOF
41523 cat confdefs.h >>conftest.$ac_ext
41524 cat >>conftest.$ac_ext <<_ACEOF
41525 /* end confdefs.h. */
41533 struct servent *se;
41534 struct servent_data data;
41535 (void) getservbyname_r(name, proto, se, &data);
41541 rm -f conftest.$ac_objext
41542 if { (ac_try="$ac_compile"
41543 case "(($ac_try" in
41544 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41545 *) ac_try_echo
=$ac_try;;
41547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41548 (eval "$ac_compile") 2>conftest.er1
41550 grep -v '^ *+' conftest.er1
>conftest.err
41552 cat conftest.err
>&5
41553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41554 (exit $ac_status); } && {
41555 test -z "$ac_cxx_werror_flag" ||
41556 test ! -s conftest.err
41557 } && test -s conftest.
$ac_objext; then
41558 ac_cv_func_which_getservbyname_r
=four
41560 echo "$as_me: failed program was:" >&5
41561 sed 's/^/| /' conftest.
$ac_ext >&5
41563 ac_cv_func_which_getservbyname_r
=no
41567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41579 ac_cpp
='$CPP $CPPFLAGS'
41580 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41581 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41582 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41587 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41588 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41590 if test $ac_cv_func_which_getservbyname_r = six
; then
41591 cat >>confdefs.h
<<\_ACEOF
41592 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41595 elif test $ac_cv_func_which_getservbyname_r = five
; then
41596 cat >>confdefs.h
<<\_ACEOF
41597 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41600 elif test $ac_cv_func_which_getservbyname_r = four
; then
41601 cat >>confdefs.h
<<\_ACEOF
41602 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41608 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41609 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41611 for ac_func
in getservbyname
41613 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41614 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41616 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41617 echo $ECHO_N "(cached) $ECHO_C" >&6
41619 cat >conftest.
$ac_ext <<_ACEOF
41622 cat confdefs.h
>>conftest.
$ac_ext
41623 cat >>conftest.
$ac_ext <<_ACEOF
41624 /* end confdefs.h. */
41625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41627 #define $ac_func innocuous_$ac_func
41629 /* System header to define __stub macros and hopefully few prototypes,
41630 which can conflict with char $ac_func (); below.
41631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41632 <limits.h> exists even on freestanding compilers. */
41635 # include <limits.h>
41637 # include <assert.h>
41642 /* Override any GCC internal prototype to avoid an error.
41643 Use char because int might match the return type of a GCC
41644 builtin and then its argument prototype would still apply. */
41649 /* The GNU C library defines this for functions which it implements
41650 to always fail with ENOSYS. Some functions are actually named
41651 something starting with __ and the normal name is an alias. */
41652 #if defined __stub_$ac_func || defined __stub___$ac_func
41659 return $ac_func ();
41664 rm -f conftest.
$ac_objext conftest
$ac_exeext
41665 if { (ac_try
="$ac_link"
41666 case "(($ac_try" in
41667 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41668 *) ac_try_echo=$ac_try;;
41670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41671 (eval "$ac_link") 2>conftest.er1
41673 grep -v '^ *+' conftest.er1 >conftest.err
41675 cat conftest.err >&5
41676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677 (exit $ac_status); } && {
41678 test -z "$ac_c_werror_flag" ||
41679 test ! -s conftest.err
41680 } && test -s conftest$ac_exeext &&
41681 $as_test_x conftest$ac_exeext; then
41682 eval "$as_ac_var=yes"
41684 echo "$as_me: failed program was:" >&5
41685 sed 's/^/| /' conftest.$ac_ext >&5
41687 eval "$as_ac_var=no"
41690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41691 conftest$ac_exeext conftest.$ac_ext
41693 ac_res=`eval echo '${'$as_ac_var'}'`
41694 { echo "$as_me:$LINENO: result: $ac_res" >&5
41695 echo "${ECHO_T}$ac_res" >&6; }
41696 if test `eval echo '${'$as_ac_var'}'` = yes; then
41697 cat >>confdefs.h <<_ACEOF
41698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41700 cat >>confdefs.h <<\_ACEOF
41701 #define HAVE_GETSERVBYNAME 1
41709 if test "$wxUSE_THREADS" = "yes"; then
41710 cat >>confdefs.h <<\_ACEOF
41711 #define wxUSE_THREADS 1
41715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41717 if test "$wx_cv_func_strtok_r" = "yes"; then
41718 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41719 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41720 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41721 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41722 { echo "$as_me:$LINENO: result: yes" >&5
41723 echo "${ECHO_T}yes" >&6; }
41725 { echo "$as_me:$LINENO: result: no" >&5
41726 echo "${ECHO_T}no" >&6; }
41731 if test "$WXGTK2" = 1 ; then
41732 cat >>confdefs.h <<_ACEOF
41733 #define __WXGTK20__ $WXGTK2
41739 if test "$WXGTK12" = 1 ; then
41740 cat >>confdefs.h <<_ACEOF
41741 #define __WXGTK12__ $WXGTK12
41746 if test "$WXGTK127" = 1 ; then
41747 cat >>confdefs.h <<_ACEOF
41748 #define __WXGTK127__ $WXGTK127
41753 if test "$WXGPE" = 1 ; then
41754 cat >>confdefs.h <<_ACEOF
41755 #define __WXGPE__ $WXGPE
41761 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
41762 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41763 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41764 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41768 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41769 wxUSE_DEBUG_INFO=yes
41770 if test "$GCC" = yes; then
41771 DEBUG_CFLAGS="-ggdb"
41775 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
41776 if test "$wxUSE_GTK" = 1 ; then
41777 if test "x$wxGTK_VERSION" = "x1" ; then
41778 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41783 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41784 cat >>confdefs.h <<\_ACEOF
41785 #define wxUSE_MEMORY_TRACING 1
41788 cat >>confdefs.h <<\_ACEOF
41789 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41792 cat >>confdefs.h <<\_ACEOF
41793 #define wxUSE_DEBUG_NEW_ALWAYS 1
41796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41799 if test "$wxUSE_DMALLOC" = "yes" ; then
41800 DMALLOC_LIBS="-ldmallocthcxx"
41804 if test "$wxUSE_PROFILE" = "yes" ; then
41805 PROFILE_FLAGS=" -pg"
41808 if test "$GCC" = "yes" ; then
41809 if test "$wxUSE_NO_RTTI" = "yes" ; then
41810 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41812 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41813 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41815 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41816 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41821 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41824 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41830 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
41831 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41832 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41834 if test "$wxUSE_OPTIMISE" = "no" ; then
41835 if test "$GCC" = yes ; then
41836 OPTIMISE_CFLAGS="-O0"
41839 if test "$GCC" = yes ; then
41841 *-pc-os2_emx | *-pc-os2-emx )
41842 OPTIMISE_CFLAGS="-O2"
41845 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41849 OPTIMISE_CFLAGS="-O"
41855 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41856 cat >>confdefs.h <<\_ACEOF
41857 #define WXWIN_COMPATIBILITY_2_6 1
41861 WXWIN_COMPATIBILITY_2_8="yes"
41864 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41865 cat >>confdefs.h <<\_ACEOF
41866 #define WXWIN_COMPATIBILITY_2_8 1
41872 if test "$wxUSE_GUI" = "yes"; then
41873 cat >>confdefs.h <<\_ACEOF
41874 #define wxUSE_GUI 1
41881 if test "$wxUSE_UNIX" = "yes"; then
41882 cat >>confdefs.h <<\_ACEOF
41883 #define wxUSE_UNIX 1
41889 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41893 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41894 if test "$USE_DOS" = 1; then
41898 for ac_func in dlopen
41900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41901 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41904 echo $ECHO_N "(cached) $ECHO_C" >&6
41906 cat >conftest.$ac_ext <<_ACEOF
41909 cat confdefs.h >>conftest.$ac_ext
41910 cat >>conftest.$ac_ext <<_ACEOF
41911 /* end confdefs.h. */
41912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41914 #define $ac_func innocuous_$ac_func
41916 /* System header to define __stub macros and hopefully few prototypes,
41917 which can conflict with char $ac_func (); below.
41918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41919 <limits.h> exists even on freestanding compilers. */
41922 # include <limits.h>
41924 # include <assert.h>
41929 /* Override any GCC internal prototype to avoid an error.
41930 Use char because int might match the return type of a GCC
41931 builtin and then its argument prototype would still apply. */
41936 /* The GNU C library defines this for functions which it implements
41937 to always fail with ENOSYS. Some functions are actually named
41938 something starting with __ and the normal name is an alias. */
41939 #if defined __stub_$ac_func || defined __stub___$ac_func
41946 return $ac_func ();
41951 rm -f conftest.$ac_objext conftest$ac_exeext
41952 if { (ac_try="$ac_link"
41953 case "(($ac_try" in
41954 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41955 *) ac_try_echo
=$ac_try;;
41957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41958 (eval "$ac_link") 2>conftest.er1
41960 grep -v '^ *+' conftest.er1
>conftest.err
41962 cat conftest.err
>&5
41963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41964 (exit $ac_status); } && {
41965 test -z "$ac_c_werror_flag" ||
41966 test ! -s conftest.err
41967 } && test -s conftest
$ac_exeext &&
41968 $as_test_x conftest
$ac_exeext; then
41969 eval "$as_ac_var=yes"
41971 echo "$as_me: failed program was:" >&5
41972 sed 's/^/| /' conftest.
$ac_ext >&5
41974 eval "$as_ac_var=no"
41977 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41978 conftest
$ac_exeext conftest.
$ac_ext
41980 ac_res
=`eval echo '${'$as_ac_var'}'`
41981 { echo "$as_me:$LINENO: result: $ac_res" >&5
41982 echo "${ECHO_T}$ac_res" >&6; }
41983 if test `eval echo '${'$as_ac_var'}'` = yes; then
41984 cat >>confdefs.h
<<_ACEOF
41985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41988 cat >>confdefs.h
<<\_ACEOF
41989 #define HAVE_DLOPEN 1
41996 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41997 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41998 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41999 echo $ECHO_N "(cached) $ECHO_C" >&6
42001 ac_check_lib_save_LIBS
=$LIBS
42003 cat >conftest.
$ac_ext <<_ACEOF
42006 cat confdefs.h
>>conftest.
$ac_ext
42007 cat >>conftest.
$ac_ext <<_ACEOF
42008 /* end confdefs.h. */
42010 /* Override any GCC internal prototype to avoid an error.
42011 Use char because int might match the return type of a GCC
42012 builtin and then its argument prototype would still apply. */
42025 rm -f conftest.
$ac_objext conftest
$ac_exeext
42026 if { (ac_try
="$ac_link"
42027 case "(($ac_try" in
42028 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42029 *) ac_try_echo=$ac_try;;
42031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42032 (eval "$ac_link") 2>conftest.er1
42034 grep -v '^ *+' conftest.er1 >conftest.err
42036 cat conftest.err >&5
42037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42038 (exit $ac_status); } && {
42039 test -z "$ac_c_werror_flag" ||
42040 test ! -s conftest.err
42041 } && test -s conftest$ac_exeext &&
42042 $as_test_x conftest$ac_exeext; then
42043 ac_cv_lib_dl_dlopen=yes
42045 echo "$as_me: failed program was:" >&5
42046 sed 's/^/| /' conftest.$ac_ext >&5
42048 ac_cv_lib_dl_dlopen=no
42051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42052 conftest$ac_exeext conftest.$ac_ext
42053 LIBS=$ac_check_lib_save_LIBS
42055 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42056 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
42057 if test $ac_cv_lib_dl_dlopen = yes; then
42059 cat >>confdefs.h <<\_ACEOF
42060 #define HAVE_DLOPEN 1
42064 DL_LINK=" -ldl$DL_LINK"
42069 for ac_func in shl_load
42071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42072 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42074 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42075 echo $ECHO_N "(cached) $ECHO_C" >&6
42077 cat >conftest.$ac_ext <<_ACEOF
42080 cat confdefs.h >>conftest.$ac_ext
42081 cat >>conftest.$ac_ext <<_ACEOF
42082 /* end confdefs.h. */
42083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42085 #define $ac_func innocuous_$ac_func
42087 /* System header to define __stub macros and hopefully few prototypes,
42088 which can conflict with char $ac_func (); below.
42089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42090 <limits.h> exists even on freestanding compilers. */
42093 # include <limits.h>
42095 # include <assert.h>
42100 /* Override any GCC internal prototype to avoid an error.
42101 Use char because int might match the return type of a GCC
42102 builtin and then its argument prototype would still apply. */
42107 /* The GNU C library defines this for functions which it implements
42108 to always fail with ENOSYS. Some functions are actually named
42109 something starting with __ and the normal name is an alias. */
42110 #if defined __stub_$ac_func || defined __stub___$ac_func
42117 return $ac_func ();
42122 rm -f conftest.$ac_objext conftest$ac_exeext
42123 if { (ac_try="$ac_link"
42124 case "(($ac_try" in
42125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42126 *) ac_try_echo
=$ac_try;;
42128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42129 (eval "$ac_link") 2>conftest.er1
42131 grep -v '^ *+' conftest.er1
>conftest.err
42133 cat conftest.err
>&5
42134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42135 (exit $ac_status); } && {
42136 test -z "$ac_c_werror_flag" ||
42137 test ! -s conftest.err
42138 } && test -s conftest
$ac_exeext &&
42139 $as_test_x conftest
$ac_exeext; then
42140 eval "$as_ac_var=yes"
42142 echo "$as_me: failed program was:" >&5
42143 sed 's/^/| /' conftest.
$ac_ext >&5
42145 eval "$as_ac_var=no"
42148 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42149 conftest
$ac_exeext conftest.
$ac_ext
42151 ac_res
=`eval echo '${'$as_ac_var'}'`
42152 { echo "$as_me:$LINENO: result: $ac_res" >&5
42153 echo "${ECHO_T}$ac_res" >&6; }
42154 if test `eval echo '${'$as_ac_var'}'` = yes; then
42155 cat >>confdefs.h
<<_ACEOF
42156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42159 cat >>confdefs.h
<<\_ACEOF
42160 #define HAVE_SHL_LOAD 1
42167 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42168 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
42169 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42170 echo $ECHO_N "(cached) $ECHO_C" >&6
42172 ac_check_lib_save_LIBS
=$LIBS
42173 LIBS
="-lshl_load $LIBS"
42174 cat >conftest.
$ac_ext <<_ACEOF
42177 cat confdefs.h
>>conftest.
$ac_ext
42178 cat >>conftest.
$ac_ext <<_ACEOF
42179 /* end confdefs.h. */
42181 /* Override any GCC internal prototype to avoid an error.
42182 Use char because int might match the return type of a GCC
42183 builtin and then its argument prototype would still apply. */
42196 rm -f conftest.
$ac_objext conftest
$ac_exeext
42197 if { (ac_try
="$ac_link"
42198 case "(($ac_try" in
42199 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42200 *) ac_try_echo=$ac_try;;
42202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42203 (eval "$ac_link") 2>conftest.er1
42205 grep -v '^ *+' conftest.er1 >conftest.err
42207 cat conftest.err >&5
42208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42209 (exit $ac_status); } && {
42210 test -z "$ac_c_werror_flag" ||
42211 test ! -s conftest.err
42212 } && test -s conftest$ac_exeext &&
42213 $as_test_x conftest$ac_exeext; then
42214 ac_cv_lib_shl_load_dld=yes
42216 echo "$as_me: failed program was:" >&5
42217 sed 's/^/| /' conftest.$ac_ext >&5
42219 ac_cv_lib_shl_load_dld=no
42222 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42223 conftest$ac_exeext conftest.$ac_ext
42224 LIBS=$ac_check_lib_save_LIBS
42226 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42227 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
42228 if test $ac_cv_lib_shl_load_dld = yes; then
42231 DL_LINK=" -ldld$DL_LINK"
42247 if test "$HAVE_DL_FUNCS" = 1; then
42249 for ac_func in dlerror
42251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42252 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42254 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42255 echo $ECHO_N "(cached) $ECHO_C" >&6
42257 cat >conftest.$ac_ext <<_ACEOF
42260 cat confdefs.h >>conftest.$ac_ext
42261 cat >>conftest.$ac_ext <<_ACEOF
42262 /* end confdefs.h. */
42263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42265 #define $ac_func innocuous_$ac_func
42267 /* System header to define __stub macros and hopefully few prototypes,
42268 which can conflict with char $ac_func (); below.
42269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42270 <limits.h> exists even on freestanding compilers. */
42273 # include <limits.h>
42275 # include <assert.h>
42280 /* Override any GCC internal prototype to avoid an error.
42281 Use char because int might match the return type of a GCC
42282 builtin and then its argument prototype would still apply. */
42287 /* The GNU C library defines this for functions which it implements
42288 to always fail with ENOSYS. Some functions are actually named
42289 something starting with __ and the normal name is an alias. */
42290 #if defined __stub_$ac_func || defined __stub___$ac_func
42297 return $ac_func ();
42302 rm -f conftest.$ac_objext conftest$ac_exeext
42303 if { (ac_try="$ac_link"
42304 case "(($ac_try" in
42305 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42306 *) ac_try_echo
=$ac_try;;
42308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42309 (eval "$ac_link") 2>conftest.er1
42311 grep -v '^ *+' conftest.er1
>conftest.err
42313 cat conftest.err
>&5
42314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42315 (exit $ac_status); } && {
42316 test -z "$ac_c_werror_flag" ||
42317 test ! -s conftest.err
42318 } && test -s conftest
$ac_exeext &&
42319 $as_test_x conftest
$ac_exeext; then
42320 eval "$as_ac_var=yes"
42322 echo "$as_me: failed program was:" >&5
42323 sed 's/^/| /' conftest.
$ac_ext >&5
42325 eval "$as_ac_var=no"
42328 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42329 conftest
$ac_exeext conftest.
$ac_ext
42331 ac_res
=`eval echo '${'$as_ac_var'}'`
42332 { echo "$as_me:$LINENO: result: $ac_res" >&5
42333 echo "${ECHO_T}$ac_res" >&6; }
42334 if test `eval echo '${'$as_ac_var'}'` = yes; then
42335 cat >>confdefs.h
<<_ACEOF
42336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42338 cat >>confdefs.h
<<\_ACEOF
42339 #define HAVE_DLERROR 1
42344 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42345 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42346 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42347 echo $ECHO_N "(cached) $ECHO_C" >&6
42349 ac_check_lib_save_LIBS
=$LIBS
42351 cat >conftest.
$ac_ext <<_ACEOF
42354 cat confdefs.h
>>conftest.
$ac_ext
42355 cat >>conftest.
$ac_ext <<_ACEOF
42356 /* end confdefs.h. */
42358 /* Override any GCC internal prototype to avoid an error.
42359 Use char because int might match the return type of a GCC
42360 builtin and then its argument prototype would still apply. */
42373 rm -f conftest.
$ac_objext conftest
$ac_exeext
42374 if { (ac_try
="$ac_link"
42375 case "(($ac_try" in
42376 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42377 *) ac_try_echo=$ac_try;;
42379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42380 (eval "$ac_link") 2>conftest.er1
42382 grep -v '^ *+' conftest.er1 >conftest.err
42384 cat conftest.err >&5
42385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42386 (exit $ac_status); } && {
42387 test -z "$ac_c_werror_flag" ||
42388 test ! -s conftest.err
42389 } && test -s conftest$ac_exeext &&
42390 $as_test_x conftest$ac_exeext; then
42391 ac_cv_lib_dl_dlerror=yes
42393 echo "$as_me: failed program was:" >&5
42394 sed 's/^/| /' conftest.$ac_ext >&5
42396 ac_cv_lib_dl_dlerror=no
42399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42400 conftest$ac_exeext conftest.$ac_ext
42401 LIBS=$ac_check_lib_save_LIBS
42403 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42404 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42405 if test $ac_cv_lib_dl_dlerror = yes; then
42406 cat >>confdefs.h <<\_ACEOF
42407 #define HAVE_DLERROR 1
42420 if test "$USE_DARWIN" = 1; then
42424 if test "$HAVE_DL_FUNCS" = 0; then
42425 if test "$HAVE_SHL_FUNCS" = 0; then
42426 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42427 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42428 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42429 wxUSE_DYNAMIC_LOADER=no
42430 wxUSE_DYNLIB_CLASS=no
42432 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42433 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42440 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42441 cat >>confdefs.h <<\_ACEOF
42442 #define wxUSE_DYNAMIC_LOADER 1
42446 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42447 cat >>confdefs.h <<\_ACEOF
42448 #define wxUSE_DYNLIB_CLASS 1
42455 if test "$wxUSE_PLUGINS" = "yes" ; then
42456 if test "$wxUSE_SHARED" = "no" ; then
42457 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42458 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42461 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42462 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42463 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42466 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42467 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42468 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42471 if test "$wxUSE_PLUGINS" = "yes" ; then
42472 cat >>confdefs.h <<\_ACEOF
42473 #define wxUSE_PLUGINS 1
42480 if test "$wxUSE_FSWATCHER" = "yes"; then
42481 cat >>confdefs.h <<\_ACEOF
42482 #define wxUSE_FSWATCHER 1
42485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
42487 if test "$wxUSE_UNIX" = "yes"; then
42489 for ac_header in sys/inotify.h
42491 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42492 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42495 echo $ECHO_N "(cached) $ECHO_C" >&6
42497 cat >conftest.$ac_ext <<_ACEOF
42500 cat confdefs.h >>conftest.$ac_ext
42501 cat >>conftest.$ac_ext <<_ACEOF
42502 /* end confdefs.h. */
42503 $ac_includes_default
42505 #include <$ac_header>
42507 rm -f conftest.$ac_objext
42508 if { (ac_try="$ac_compile"
42509 case "(($ac_try" in
42510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42511 *) ac_try_echo
=$ac_try;;
42513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42514 (eval "$ac_compile") 2>conftest.er1
42516 grep -v '^ *+' conftest.er1
>conftest.err
42518 cat conftest.err
>&5
42519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42520 (exit $ac_status); } && {
42521 test -z "$ac_c_werror_flag" ||
42522 test ! -s conftest.err
42523 } && test -s conftest.
$ac_objext; then
42524 eval "$as_ac_Header=yes"
42526 echo "$as_me: failed program was:" >&5
42527 sed 's/^/| /' conftest.
$ac_ext >&5
42529 eval "$as_ac_Header=no"
42532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42534 ac_res
=`eval echo '${'$as_ac_Header'}'`
42535 { echo "$as_me:$LINENO: result: $ac_res" >&5
42536 echo "${ECHO_T}$ac_res" >&6; }
42537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42538 cat >>confdefs.h
<<_ACEOF
42539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42546 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
42547 cat >>confdefs.h
<<\_ACEOF
42548 #define wxHAS_INOTIFY 1
42553 for ac_header
in sys
/event.h
42555 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42556 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42558 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42559 echo $ECHO_N "(cached) $ECHO_C" >&6
42561 cat >conftest.
$ac_ext <<_ACEOF
42564 cat confdefs.h
>>conftest.
$ac_ext
42565 cat >>conftest.
$ac_ext <<_ACEOF
42566 /* end confdefs.h. */
42567 $ac_includes_default
42569 #include <$ac_header>
42571 rm -f conftest.
$ac_objext
42572 if { (ac_try
="$ac_compile"
42573 case "(($ac_try" in
42574 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42575 *) ac_try_echo=$ac_try;;
42577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42578 (eval "$ac_compile") 2>conftest.er1
42580 grep -v '^ *+' conftest.er1 >conftest.err
42582 cat conftest.err >&5
42583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42584 (exit $ac_status); } && {
42585 test -z "$ac_c_werror_flag" ||
42586 test ! -s conftest.err
42587 } && test -s conftest.$ac_objext; then
42588 eval "$as_ac_Header=yes"
42590 echo "$as_me: failed program was:" >&5
42591 sed 's/^/| /' conftest.$ac_ext >&5
42593 eval "$as_ac_Header=no"
42596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42598 ac_res=`eval echo '${'$as_ac_Header'}'`
42599 { echo "$as_me:$LINENO: result: $ac_res" >&5
42600 echo "${ECHO_T}$ac_res" >&6; }
42601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42602 cat >>confdefs.h <<_ACEOF
42603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42610 if test "$ac_cv_header_sys_event_h" = "yes"; then
42611 cat >>confdefs.h <<\_ACEOF
42612 #define wxHAS_KQUEUE 1
42616 { echo "$as_me:$LINENO: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&5
42617 echo "$as_me: WARNING: No native wxFileSystemWatcher implementation available for on this platform" >&2;}
42624 if test "$wxUSE_STL" = "yes"; then
42625 cat >>confdefs.h <<\_ACEOF
42626 #define wxUSE_STL 1
42631 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42632 cat >>confdefs.h <<\_ACEOF
42633 #define wxUSE_EXTENDED_RTTI 1
42638 if test "$wxUSE_ANY" = "yes"; then
42639 cat >>confdefs.h <<\_ACEOF
42640 #define wxUSE_ANY 1
42645 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42646 cat >>confdefs.h <<\_ACEOF
42647 #define wxUSE_APPLE_IEEE 1
42652 if test "$wxUSE_TIMER" = "yes"; then
42653 cat >>confdefs.h <<\_ACEOF
42654 #define wxUSE_TIMER 1
42659 if test "$USE_UNIX" = 1 ; then
42660 if test "$wxUSE_MGL" != 1; then
42661 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42662 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42663 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42664 echo $ECHO_N "(cached) $ECHO_C" >&6
42667 cat >conftest.$ac_ext <<_ACEOF
42670 cat confdefs.h >>conftest.$ac_ext
42671 cat >>conftest.$ac_ext <<_ACEOF
42672 /* end confdefs.h. */
42674 #include <sys/ioctl.h>
42675 #include <sys/soundcard.h>
42681 ioctl(0, SNDCTL_DSP_SPEED, 0);
42687 rm -f conftest.$ac_objext conftest$ac_exeext
42688 if { (ac_try="$ac_link"
42689 case "(($ac_try" in
42690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42691 *) ac_try_echo
=$ac_try;;
42693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42694 (eval "$ac_link") 2>conftest.er1
42696 grep -v '^ *+' conftest.er1
>conftest.err
42698 cat conftest.err
>&5
42699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700 (exit $ac_status); } && {
42701 test -z "$ac_c_werror_flag" ||
42702 test ! -s conftest.err
42703 } && test -s conftest
$ac_exeext &&
42704 $as_test_x conftest
$ac_exeext; then
42705 ac_cv_header_sys_soundcard
=yes
42707 echo "$as_me: failed program was:" >&5
42708 sed 's/^/| /' conftest.
$ac_ext >&5
42712 LIBS
="$saveLibs -lossaudio"
42713 cat >conftest.
$ac_ext <<_ACEOF
42716 cat confdefs.h
>>conftest.
$ac_ext
42717 cat >>conftest.
$ac_ext <<_ACEOF
42718 /* end confdefs.h. */
42720 #include <sys/ioctl.h>
42721 #include <sys/soundcard.h>
42727 ioctl(0, SNDCTL_DSP_SPEED, 0);
42733 rm -f conftest.
$ac_objext conftest
$ac_exeext
42734 if { (ac_try
="$ac_link"
42735 case "(($ac_try" in
42736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42737 *) ac_try_echo=$ac_try;;
42739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42740 (eval "$ac_link") 2>conftest.er1
42742 grep -v '^ *+' conftest.er1 >conftest.err
42744 cat conftest.err >&5
42745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42746 (exit $ac_status); } && {
42747 test -z "$ac_c_werror_flag" ||
42748 test ! -s conftest.err
42749 } && test -s conftest$ac_exeext &&
42750 $as_test_x conftest$ac_exeext; then
42751 ac_cv_header_sys_soundcard=yes
42753 echo "$as_me: failed program was:" >&5
42754 sed 's/^/| /' conftest.$ac_ext >&5
42758 ac_cv_header_sys_soundcard=no
42763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42764 conftest$ac_exeext conftest.$ac_ext
42769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42770 conftest$ac_exeext conftest.$ac_ext
42773 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42774 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42777 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42778 cat >>confdefs.h <<\_ACEOF
42779 #define HAVE_SYS_SOUNDCARD_H 1
42786 if test "$wxUSE_SOUND" = "yes"; then
42787 if test "$USE_UNIX" = 1 ; then
42788 if test "$wxUSE_LIBSDL" != "no"; then
42790 # Check whether --with-sdl-prefix was given.
42791 if test "${with_sdl_prefix+set}" = set; then
42792 withval=$with_sdl_prefix; sdl_prefix="$withval"
42798 # Check whether --with-sdl-exec-prefix was given.
42799 if test "${with_sdl_exec_prefix+set}" = set; then
42800 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42805 # Check whether --enable-sdltest was given.
42806 if test "${enable_sdltest+set}" = set; then
42807 enableval=$enable_sdltest;
42813 if test x$sdl_exec_prefix != x ; then
42814 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42815 if test x${SDL_CONFIG+set} != xset ; then
42816 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42819 if test x$sdl_prefix != x ; then
42820 sdl_args="$sdl_args --prefix=$sdl_prefix"
42821 if test x${SDL_CONFIG+set} != xset ; then
42822 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42826 if test "x$prefix" != xNONE; then
42827 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42829 # Extract the first word of "sdl-config", so it can be a program name with args.
42830 set dummy sdl-config; ac_word=$2
42831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42833 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42834 echo $ECHO_N "(cached) $ECHO_C" >&6
42836 case $SDL_CONFIG in
42838 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42842 for as_dir in $PATH
42845 test -z "$as_dir" && as_dir=.
42846 for ac_exec_ext in '' $ac_executable_extensions; do
42847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42848 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42856 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42860 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42861 if test -n "$SDL_CONFIG"; then
42862 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42863 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42865 { echo "$as_me:$LINENO: result: no" >&5
42866 echo "${ECHO_T}no" >&6; }
42870 min_sdl_version=1.2.0
42871 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42872 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42874 if test "$SDL_CONFIG" = "no" ; then
42877 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42878 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42880 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42882 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42884 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42885 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42886 if test "x$enable_sdltest" = "xyes" ; then
42887 ac_save_CFLAGS="$CFLAGS"
42888 ac_save_CXXFLAGS="$CXXFLAGS"
42889 ac_save_LIBS="$LIBS"
42890 CFLAGS="$CFLAGS $SDL_CFLAGS"
42891 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42892 LIBS="$LIBS $SDL_LIBS"
42894 if test "$cross_compiling" = yes; then
42895 echo $ac_n "cross compiling; assumed OK... $ac_c"
42897 cat >conftest.$ac_ext <<_ACEOF
42900 cat confdefs.h >>conftest.$ac_ext
42901 cat >>conftest.$ac_ext <<_ACEOF
42902 /* end confdefs.h. */
42905 #include <stdlib.h>
42906 #include <string.h>
42910 my_strdup (char *str)
42916 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42917 strcpy (new_str, str);
42925 int main (int argc, char *argv[])
42927 int major, minor, micro;
42930 /* This hangs on some systems (?)
42931 system ("touch conf.sdltest");
42933 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42935 /* HP/UX 9 (%@#!) writes to sscanf strings */
42936 tmp_version = my_strdup("$min_sdl_version");
42937 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42938 printf("%s, bad version string\n", "$min_sdl_version");
42942 if (($sdl_major_version > major) ||
42943 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42944 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42950 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42951 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42952 printf("*** best to upgrade to the required version.\n");
42953 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42954 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42955 printf("*** config.cache before re-running configure\n");
42962 rm -f conftest$ac_exeext
42963 if { (ac_try="$ac_link"
42964 case "(($ac_try" in
42965 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42966 *) ac_try_echo
=$ac_try;;
42968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42969 (eval "$ac_link") 2>&5
42971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42973 { (case "(($ac_try" in
42974 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42975 *) ac_try_echo=$ac_try;;
42977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42978 (eval "$ac_try") 2>&5
42980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42981 (exit $ac_status); }; }; then
42984 echo "$as_me: program exited with status $ac_status" >&5
42985 echo "$as_me: failed program was:" >&5
42986 sed 's/^/| /' conftest.$ac_ext >&5
42988 ( exit $ac_status )
42991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42995 CFLAGS="$ac_save_CFLAGS"
42996 CXXFLAGS="$ac_save_CXXFLAGS"
42997 LIBS="$ac_save_LIBS"
43000 if test "x$no_sdl" = x ; then
43001 { echo "$as_me:$LINENO: result: yes" >&5
43002 echo "${ECHO_T}yes" >&6; }
43004 EXTRALIBS_SDL="$SDL_LIBS"
43005 CFLAGS="$SDL_CFLAGS $CFLAGS"
43006 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43007 cat >>confdefs.h <<\_ACEOF
43008 #define wxUSE_LIBSDL 1
43013 { echo "$as_me:$LINENO: result: no" >&5
43014 echo "${ECHO_T}no" >&6; }
43015 if test "$SDL_CONFIG" = "no" ; then
43016 echo "*** The sdl-config script installed by SDL could not be found"
43017 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43018 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43019 echo "*** full path to sdl-config."
43021 if test -f conf.sdltest ; then
43024 echo "*** Could not run SDL test program, checking why..."
43025 CFLAGS="$CFLAGS $SDL_CFLAGS"
43026 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43027 LIBS="$LIBS $SDL_LIBS"
43028 cat >conftest.$ac_ext <<_ACEOF
43031 cat confdefs.h >>conftest.$ac_ext
43032 cat >>conftest.$ac_ext <<_ACEOF
43033 /* end confdefs.h. */
43038 int main(int argc, char *argv[])
43041 #define main K_and_R_C_main
43051 rm -f conftest.$ac_objext conftest$ac_exeext
43052 if { (ac_try="$ac_link"
43053 case "(($ac_try" in
43054 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43055 *) ac_try_echo
=$ac_try;;
43057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43058 (eval "$ac_link") 2>conftest.er1
43060 grep -v '^ *+' conftest.er1
>conftest.err
43062 cat conftest.err
>&5
43063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43064 (exit $ac_status); } && {
43065 test -z "$ac_c_werror_flag" ||
43066 test ! -s conftest.err
43067 } && test -s conftest
$ac_exeext &&
43068 $as_test_x conftest
$ac_exeext; then
43069 echo "*** The test program compiled, but did not run. This usually means"
43070 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43071 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43072 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43073 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43074 echo "*** is required on your system"
43076 echo "*** If you have an old version installed, it is best to remove it, although"
43077 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43079 echo "$as_me: failed program was:" >&5
43080 sed 's/^/| /' conftest.
$ac_ext >&5
43082 echo "*** The test program failed to compile or link. See the file config.log for the"
43083 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43084 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43085 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43088 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43089 conftest
$ac_exeext conftest.
$ac_ext
43090 CFLAGS
="$ac_save_CFLAGS"
43091 CXXFLAGS
="$ac_save_CXXFLAGS"
43092 LIBS
="$ac_save_LIBS"
43103 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43108 if test "$wxUSE_MGL" = 1; then
43109 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
43110 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
43116 if test "$wxUSE_SOUND" = "yes"; then
43117 cat >>confdefs.h
<<\_ACEOF
43118 #define wxUSE_SOUND 1
43121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
43124 if test "$WXGTK2" = 1; then
43127 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43128 if test -n "$ac_tool_prefix"; then
43129 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43130 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
43131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43133 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43134 echo $ECHO_N "(cached) $ECHO_C" >&6
43136 case $PKG_CONFIG in
43138 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
43141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43142 for as_dir
in $PATH
43145 test -z "$as_dir" && as_dir
=.
43146 for ac_exec_ext
in '' $ac_executable_extensions; do
43147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43148 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43159 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
43160 if test -n "$PKG_CONFIG"; then
43161 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43162 echo "${ECHO_T}$PKG_CONFIG" >&6; }
43164 { echo "$as_me:$LINENO: result: no" >&5
43165 echo "${ECHO_T}no" >&6; }
43170 if test -z "$ac_cv_path_PKG_CONFIG"; then
43171 ac_pt_PKG_CONFIG
=$PKG_CONFIG
43172 # Extract the first word of "pkg-config", so it can be a program name with args.
43173 set dummy pkg
-config; ac_word
=$2
43174 { echo "$as_me:$LINENO: checking for $ac_word" >&5
43175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
43176 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43177 echo $ECHO_N "(cached) $ECHO_C" >&6
43179 case $ac_pt_PKG_CONFIG in
43181 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
43185 for as_dir
in $PATH
43188 test -z "$as_dir" && as_dir
=.
43189 for ac_exec_ext
in '' $ac_executable_extensions; do
43190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
43191 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
43192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43202 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
43203 if test -n "$ac_pt_PKG_CONFIG"; then
43204 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43205 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
43207 { echo "$as_me:$LINENO: result: no" >&5
43208 echo "${ECHO_T}no" >&6; }
43211 if test "x$ac_pt_PKG_CONFIG" = x
; then
43214 case $cross_compiling:$ac_tool_warned in
43216 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
43217 whose name does not start with the host triplet. If you think this
43218 configuration is useful to you, please write to autoconf@gnu.org." >&5
43219 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
43220 whose name does not start with the host triplet. If you think this
43221 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
43222 ac_tool_warned
=yes ;;
43224 PKG_CONFIG
=$ac_pt_PKG_CONFIG
43227 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
43231 if test -n "$PKG_CONFIG"; then
43232 _pkg_min_version
=0.9.0
43233 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43234 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
43235 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43236 { echo "$as_me:$LINENO: result: yes" >&5
43237 echo "${ECHO_T}yes" >&6; }
43239 { echo "$as_me:$LINENO: result: no" >&5
43240 echo "${ECHO_T}no" >&6; }
43246 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43248 if test "$wxUSE_GTKPRINT" = "yes" ; then
43252 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
43253 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
43255 if test -n "$PKG_CONFIG"; then
43256 if test -n "$GTKPRINT_CFLAGS"; then
43257 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
43259 if test -n "$PKG_CONFIG" && \
43260 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43261 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43264 (exit $ac_status); }; then
43265 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43273 if test -n "$PKG_CONFIG"; then
43274 if test -n "$GTKPRINT_LIBS"; then
43275 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
43277 if test -n "$PKG_CONFIG" && \
43278 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
43279 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
43281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43282 (exit $ac_status); }; then
43283 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
43294 if test $pkg_failed = yes; then
43296 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43297 _pkg_short_errors_supported
=yes
43299 _pkg_short_errors_supported
=no
43301 if test $_pkg_short_errors_supported = yes; then
43302 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43304 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
43306 # Put the nasty error message in config.log where it belongs
43307 echo "$GTKPRINT_PKG_ERRORS" >&5
43310 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43311 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43312 wxUSE_GTKPRINT
="no"
43315 elif test $pkg_failed = untried
; then
43317 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
43318 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
43319 wxUSE_GTKPRINT
="no"
43323 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
43324 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
43325 { echo "$as_me:$LINENO: result: yes" >&5
43326 echo "${ECHO_T}yes" >&6; }
43328 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
43329 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
43330 cat >>confdefs.h
<<\_ACEOF
43331 #define wxUSE_GTKPRINT 1
43338 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43342 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43343 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
43345 if test -n "$PKG_CONFIG"; then
43346 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43347 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
43349 if test -n "$PKG_CONFIG" && \
43350 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43351 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43354 (exit $ac_status); }; then
43355 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43363 if test -n "$PKG_CONFIG"; then
43364 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43365 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
43367 if test -n "$PKG_CONFIG" && \
43368 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43369 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43372 (exit $ac_status); }; then
43373 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43384 if test $pkg_failed = yes; then
43386 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43387 _pkg_short_errors_supported
=yes
43389 _pkg_short_errors_supported
=no
43391 if test $_pkg_short_errors_supported = yes; then
43392 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43394 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43396 # Put the nasty error message in config.log where it belongs
43397 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43400 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43401 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43402 wxUSE_LIBGNOMEPRINT
="no"
43405 elif test $pkg_failed = untried
; then
43407 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43408 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43409 wxUSE_LIBGNOMEPRINT
="no"
43413 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43414 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43415 { echo "$as_me:$LINENO: result: yes" >&5
43416 echo "${ECHO_T}yes" >&6; }
43418 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43419 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43420 cat >>confdefs.h
<<\_ACEOF
43421 #define wxUSE_LIBGNOMEPRINT 1
43429 if test "$wxUSE_MIMETYPE" = "yes" ; then
43430 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43434 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43435 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43437 if test -n "$PKG_CONFIG"; then
43438 if test -n "$GNOMEVFS_CFLAGS"; then
43439 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
43441 if test -n "$PKG_CONFIG" && \
43442 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43443 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43446 (exit $ac_status); }; then
43447 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43455 if test -n "$PKG_CONFIG"; then
43456 if test -n "$GNOMEVFS_LIBS"; then
43457 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
43459 if test -n "$PKG_CONFIG" && \
43460 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43461 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43464 (exit $ac_status); }; then
43465 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43476 if test $pkg_failed = yes; then
43478 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43479 _pkg_short_errors_supported
=yes
43481 _pkg_short_errors_supported
=no
43483 if test $_pkg_short_errors_supported = yes; then
43484 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43486 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43488 # Put the nasty error message in config.log where it belongs
43489 echo "$GNOMEVFS_PKG_ERRORS" >&5
43492 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43493 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43494 wxUSE_LIBGNOMEVFS
="no"
43497 elif test $pkg_failed = untried
; then
43499 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43500 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43501 wxUSE_LIBGNOMEVFS
="no"
43505 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
43506 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
43507 { echo "$as_me:$LINENO: result: yes" >&5
43508 echo "${ECHO_T}yes" >&6; }
43510 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43511 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43512 cat >>confdefs.h
<<\_ACEOF
43513 #define wxUSE_LIBGNOMEVFS 1
43521 if test "$wxUSE_LIBHILDON" = "yes" ; then
43524 { echo "$as_me:$LINENO: checking for HILDON" >&5
43525 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43527 if test -n "$PKG_CONFIG"; then
43528 if test -n "$HILDON_CFLAGS"; then
43529 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43531 if test -n "$PKG_CONFIG" && \
43532 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43533 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43536 (exit $ac_status); }; then
43537 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43545 if test -n "$PKG_CONFIG"; then
43546 if test -n "$HILDON_LIBS"; then
43547 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43549 if test -n "$PKG_CONFIG" && \
43550 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43551 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43554 (exit $ac_status); }; then
43555 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43566 if test $pkg_failed = yes; then
43568 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43569 _pkg_short_errors_supported
=yes
43571 _pkg_short_errors_supported
=no
43573 if test $_pkg_short_errors_supported = yes; then
43574 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43576 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43578 # Put the nasty error message in config.log where it belongs
43579 echo "$HILDON_PKG_ERRORS" >&5
43582 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43583 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43584 wxUSE_LIBHILDON
="no"
43588 elif test $pkg_failed = untried
; then
43590 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43591 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43592 wxUSE_LIBHILDON
="no"
43597 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43598 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43599 { echo "$as_me:$LINENO: result: yes" >&5
43600 echo "${ECHO_T}yes" >&6; }
43602 EXTRALIBS_HILDON
="$HILDON_LIBS"
43603 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43604 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43605 cat >>confdefs.h
<<\_ACEOF
43606 #define wxUSE_LIBHILDON 1
43613 if test "$ac_hildon_lgpl" = 0 ; then
43616 { echo "$as_me:$LINENO: checking for HILDON2" >&5
43617 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
43619 if test -n "$PKG_CONFIG"; then
43620 if test -n "$HILDON2_CFLAGS"; then
43621 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
43623 if test -n "$PKG_CONFIG" && \
43624 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43625 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43628 (exit $ac_status); }; then
43629 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
43637 if test -n "$PKG_CONFIG"; then
43638 if test -n "$HILDON2_LIBS"; then
43639 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
43641 if test -n "$PKG_CONFIG" && \
43642 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
43643 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
43645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43646 (exit $ac_status); }; then
43647 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
43658 if test $pkg_failed = yes; then
43660 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43661 _pkg_short_errors_supported
=yes
43663 _pkg_short_errors_supported
=no
43665 if test $_pkg_short_errors_supported = yes; then
43666 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43668 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
43670 # Put the nasty error message in config.log where it belongs
43671 echo "$HILDON2_PKG_ERRORS" >&5
43674 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43675 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43676 wxUSE_LIBHILDON2
="no"
43679 elif test $pkg_failed = untried
; then
43681 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
43682 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
43683 wxUSE_LIBHILDON2
="no"
43687 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
43688 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
43689 { echo "$as_me:$LINENO: result: yes" >&5
43690 echo "${ECHO_T}yes" >&6; }
43692 EXTRALIBS_HILDON
="$HILDON2_LIBS"
43693 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
43694 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
43695 cat >>confdefs.h
<<\_ACEOF
43696 #define wxUSE_LIBHILDON2 1
43705 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43706 cat >>confdefs.h
<<\_ACEOF
43707 #define wxUSE_CMDLINE_PARSER 1
43712 if test "$wxUSE_STOPWATCH" = "yes"; then
43713 cat >>confdefs.h
<<\_ACEOF
43714 #define wxUSE_STOPWATCH 1
43719 if test "$wxUSE_DATETIME" = "yes"; then
43720 cat >>confdefs.h
<<\_ACEOF
43721 #define wxUSE_DATETIME 1
43726 if test "$wxUSE_FILE" = "yes"; then
43727 cat >>confdefs.h
<<\_ACEOF
43728 #define wxUSE_FILE 1
43733 if test "$wxUSE_FFILE" = "yes"; then
43734 cat >>confdefs.h
<<\_ACEOF
43735 #define wxUSE_FFILE 1
43740 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43741 if test "$wxUSE_STREAMS" != yes; then
43742 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43743 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43744 wxUSE_ARCHIVE_STREAMS
=no
43746 cat >>confdefs.h
<<\_ACEOF
43747 #define wxUSE_ARCHIVE_STREAMS 1
43753 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43754 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43755 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43756 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43757 elif test "$wxUSE_ZLIB" = "no"; then
43758 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43759 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43761 cat >>confdefs.h
<<\_ACEOF
43762 #define wxUSE_ZIPSTREAM 1
43768 if test "$wxUSE_TARSTREAM" = "yes"; then
43769 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43770 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43771 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43773 cat >>confdefs.h
<<\_ACEOF
43774 #define wxUSE_TARSTREAM 1
43780 if test "$wxUSE_FILESYSTEM" = "yes"; then
43781 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43782 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43783 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43784 wxUSE_FILESYSTEM
=no
43786 cat >>confdefs.h
<<\_ACEOF
43787 #define wxUSE_FILESYSTEM 1
43793 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43794 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43795 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43796 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43798 cat >>confdefs.h
<<\_ACEOF
43799 #define wxUSE_FS_ARCHIVE 1
43805 if test "$wxUSE_FS_ZIP" = "yes"; then
43806 if test "$wxUSE_FS_ARCHIVE" != yes; then
43807 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43808 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43810 cat >>confdefs.h
<<\_ACEOF
43811 #define wxUSE_FS_ZIP 1
43817 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43818 if test "$USE_UNIX" != 1; then
43819 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43820 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43821 wxUSE_ON_FATAL_EXCEPTION
=no
43823 cat >>confdefs.h
<<\_ACEOF
43824 #define wxUSE_ON_FATAL_EXCEPTION 1
43830 if test "$wxUSE_STACKWALKER" = "yes"; then
43831 cat >>confdefs.h
<<\_ACEOF
43832 #define wxUSE_STACKWALKER 1
43837 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43838 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43839 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43840 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43841 wxUSE_DEBUGREPORT
=no
43843 cat >>confdefs.h
<<\_ACEOF
43844 #define wxUSE_DEBUGREPORT 1
43847 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43853 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43854 cat >>confdefs.h
<<\_ACEOF
43855 #define wxUSE_SNGLINST_CHECKER 1
43860 if test "$wxUSE_BUSYINFO" = "yes"; then
43861 cat >>confdefs.h
<<\_ACEOF
43862 #define wxUSE_BUSYINFO 1
43867 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43868 cat >>confdefs.h
<<\_ACEOF
43869 #define wxUSE_STD_IOSTREAM 1
43874 if test "$wxUSE_STD_STRING" = "yes"; then
43875 cat >>confdefs.h
<<\_ACEOF
43876 #define wxUSE_STD_STRING 1
43881 if test "$wxUSE_STDPATHS" = "yes"; then
43882 cat >>confdefs.h
<<\_ACEOF
43883 #define wxUSE_STDPATHS 1
43888 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43889 cat >>confdefs.h
<<\_ACEOF
43890 #define wxUSE_TEXTBUFFER 1
43895 if test "$wxUSE_TEXTFILE" = "yes"; then
43896 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43897 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43898 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43900 cat >>confdefs.h
<<\_ACEOF
43901 #define wxUSE_TEXTFILE 1
43907 if test "$wxUSE_CONFIG" = "yes" ; then
43908 if test "$wxUSE_TEXTFILE" != "yes"; then
43909 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43910 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43912 cat >>confdefs.h
<<\_ACEOF
43913 #define wxUSE_CONFIG 1
43916 cat >>confdefs.h
<<\_ACEOF
43917 #define wxUSE_CONFIG_NATIVE 1
43920 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43924 if test "$wxUSE_INTL" = "yes" ; then
43925 if test "$wxUSE_FILE" != "yes"; then
43926 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43927 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43929 cat >>confdefs.h
<<\_ACEOF
43930 #define wxUSE_INTL 1
43933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43934 GUIDIST
="$GUIDIST INTL_DIST"
43938 if test "$wxUSE_XLOCALE" = "yes" ; then
43939 cat >>confdefs.h
<<\_ACEOF
43940 #define wxUSE_XLOCALE 1
43943 { echo "$as_me:$LINENO: checking for locale_t" >&5
43944 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43945 if test "${ac_cv_type_locale_t+set}" = set; then
43946 echo $ECHO_N "(cached) $ECHO_C" >&6
43948 cat >conftest.
$ac_ext <<_ACEOF
43951 cat confdefs.h
>>conftest.
$ac_ext
43952 cat >>conftest.
$ac_ext <<_ACEOF
43953 /* end confdefs.h. */
43954 #include <xlocale.h>
43955 #include <locale.h>
43957 typedef locale_t ac__type_new_;
43961 if ((ac__type_new_ *) 0)
43963 if (sizeof (ac__type_new_))
43969 rm -f conftest.
$ac_objext
43970 if { (ac_try
="$ac_compile"
43971 case "(($ac_try" in
43972 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43973 *) ac_try_echo=$ac_try;;
43975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43976 (eval "$ac_compile") 2>conftest.er1
43978 grep -v '^ *+' conftest.er1 >conftest.err
43980 cat conftest.err >&5
43981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43982 (exit $ac_status); } && {
43983 test -z "$ac_c_werror_flag" ||
43984 test ! -s conftest.err
43985 } && test -s conftest.$ac_objext; then
43986 ac_cv_type_locale_t=yes
43988 echo "$as_me: failed program was:" >&5
43989 sed 's/^/| /' conftest.$ac_ext >&5
43991 ac_cv_type_locale_t=no
43994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43996 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43997 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43998 if test $ac_cv_type_locale_t = yes; then
44000 cat >>confdefs.h <<_ACEOF
44001 #define HAVE_LOCALE_T 1
44009 if test "$wxUSE_LOG" = "yes"; then
44010 cat >>confdefs.h <<\_ACEOF
44011 #define wxUSE_LOG 1
44015 if test "$wxUSE_LOGGUI" = "yes"; then
44016 cat >>confdefs.h <<\_ACEOF
44017 #define wxUSE_LOGGUI 1
44022 if test "$wxUSE_LOGWINDOW" = "yes"; then
44023 cat >>confdefs.h <<\_ACEOF
44024 #define wxUSE_LOGWINDOW 1
44029 if test "$wxUSE_LOGDIALOG" = "yes"; then
44030 cat >>confdefs.h <<\_ACEOF
44031 #define wxUSE_LOG_DIALOG 1
44036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44039 if test "$wxUSE_LONGLONG" = "yes"; then
44040 cat >>confdefs.h <<\_ACEOF
44041 #define wxUSE_LONGLONG 1
44046 if test "$wxUSE_GEOMETRY" = "yes"; then
44047 cat >>confdefs.h <<\_ACEOF
44048 #define wxUSE_GEOMETRY 1
44053 if test "$wxUSE_BASE64" = "yes"; then
44054 cat >>confdefs.h <<\_ACEOF
44055 #define wxUSE_BASE64 1
44060 if test "$wxUSE_STREAMS" = "yes" ; then
44061 cat >>confdefs.h <<\_ACEOF
44062 #define wxUSE_STREAMS 1
44067 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44068 cat >>confdefs.h <<\_ACEOF
44069 #define wxUSE_PRINTF_POS_PARAMS 1
44074 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44075 cat >>confdefs.h <<\_ACEOF
44076 #define wxUSE_OBJC_UNIQUIFYING 1
44082 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
44083 cat >>confdefs.h <<\_ACEOF
44084 #define wxUSE_CONSOLE_EVENTLOOP 1
44088 if test "$wxUSE_UNIX" = "yes"; then
44089 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
44090 cat >>confdefs.h <<\_ACEOF
44091 #define wxUSE_SELECT_DISPATCHER 1
44096 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
44098 for ac_header in sys/epoll.h
44100 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44101 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44103 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44104 echo $ECHO_N "(cached) $ECHO_C" >&6
44106 cat >conftest.$ac_ext <<_ACEOF
44109 cat confdefs.h >>conftest.$ac_ext
44110 cat >>conftest.$ac_ext <<_ACEOF
44111 /* end confdefs.h. */
44112 $ac_includes_default
44114 #include <$ac_header>
44116 rm -f conftest.$ac_objext
44117 if { (ac_try="$ac_compile"
44118 case "(($ac_try" in
44119 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44120 *) ac_try_echo
=$ac_try;;
44122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44123 (eval "$ac_compile") 2>conftest.er1
44125 grep -v '^ *+' conftest.er1
>conftest.err
44127 cat conftest.err
>&5
44128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44129 (exit $ac_status); } && {
44130 test -z "$ac_c_werror_flag" ||
44131 test ! -s conftest.err
44132 } && test -s conftest.
$ac_objext; then
44133 eval "$as_ac_Header=yes"
44135 echo "$as_me: failed program was:" >&5
44136 sed 's/^/| /' conftest.
$ac_ext >&5
44138 eval "$as_ac_Header=no"
44141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44143 ac_res
=`eval echo '${'$as_ac_Header'}'`
44144 { echo "$as_me:$LINENO: result: $ac_res" >&5
44145 echo "${ECHO_T}$ac_res" >&6; }
44146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44147 cat >>confdefs.h
<<_ACEOF
44148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44155 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
44156 cat >>confdefs.h
<<\_ACEOF
44157 #define wxUSE_EPOLL_DISPATCHER 1
44161 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
44162 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
44171 for ac_func
in gettimeofday ftime
44173 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44174 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44176 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44177 echo $ECHO_N "(cached) $ECHO_C" >&6
44179 cat >conftest.
$ac_ext <<_ACEOF
44182 cat confdefs.h
>>conftest.
$ac_ext
44183 cat >>conftest.
$ac_ext <<_ACEOF
44184 /* end confdefs.h. */
44185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44187 #define $ac_func innocuous_$ac_func
44189 /* System header to define __stub macros and hopefully few prototypes,
44190 which can conflict with char $ac_func (); below.
44191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44192 <limits.h> exists even on freestanding compilers. */
44195 # include <limits.h>
44197 # include <assert.h>
44202 /* Override any GCC internal prototype to avoid an error.
44203 Use char because int might match the return type of a GCC
44204 builtin and then its argument prototype would still apply. */
44209 /* The GNU C library defines this for functions which it implements
44210 to always fail with ENOSYS. Some functions are actually named
44211 something starting with __ and the normal name is an alias. */
44212 #if defined __stub_$ac_func || defined __stub___$ac_func
44219 return $ac_func ();
44224 rm -f conftest.
$ac_objext conftest
$ac_exeext
44225 if { (ac_try
="$ac_link"
44226 case "(($ac_try" in
44227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44228 *) ac_try_echo=$ac_try;;
44230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44231 (eval "$ac_link") 2>conftest.er1
44233 grep -v '^ *+' conftest.er1 >conftest.err
44235 cat conftest.err >&5
44236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44237 (exit $ac_status); } && {
44238 test -z "$ac_c_werror_flag" ||
44239 test ! -s conftest.err
44240 } && test -s conftest$ac_exeext &&
44241 $as_test_x conftest$ac_exeext; then
44242 eval "$as_ac_var=yes"
44244 echo "$as_me: failed program was:" >&5
44245 sed 's/^/| /' conftest.$ac_ext >&5
44247 eval "$as_ac_var=no"
44250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44251 conftest$ac_exeext conftest.$ac_ext
44253 ac_res=`eval echo '${'$as_ac_var'}'`
44254 { echo "$as_me:$LINENO: result: $ac_res" >&5
44255 echo "${ECHO_T}$ac_res" >&6; }
44256 if test `eval echo '${'$as_ac_var'}'` = yes; then
44257 cat >>confdefs.h <<_ACEOF
44258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44265 if test "$ac_cv_func_gettimeofday" = "yes"; then
44266 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44267 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
44268 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44269 echo $ECHO_N "(cached) $ECHO_C" >&6
44272 cat >conftest.$ac_ext <<_ACEOF
44275 cat confdefs.h >>conftest.$ac_ext
44276 cat >>conftest.$ac_ext <<_ACEOF
44277 /* end confdefs.h. */
44279 #include <sys/time.h>
44280 #include <unistd.h>
44287 gettimeofday(&tv, NULL);
44293 rm -f conftest.$ac_objext
44294 if { (ac_try="$ac_compile"
44295 case "(($ac_try" in
44296 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44297 *) ac_try_echo
=$ac_try;;
44299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44300 (eval "$ac_compile") 2>conftest.er1
44302 grep -v '^ *+' conftest.er1
>conftest.err
44304 cat conftest.err
>&5
44305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44306 (exit $ac_status); } && {
44307 test -z "$ac_c_werror_flag" ||
44308 test ! -s conftest.err
44309 } && test -s conftest.
$ac_objext; then
44310 wx_cv_func_gettimeofday_has_2_args
=yes
44312 echo "$as_me: failed program was:" >&5
44313 sed 's/^/| /' conftest.
$ac_ext >&5
44315 cat >conftest.
$ac_ext <<_ACEOF
44318 cat confdefs.h
>>conftest.
$ac_ext
44319 cat >>conftest.
$ac_ext <<_ACEOF
44320 /* end confdefs.h. */
44322 #include <sys/time.h>
44323 #include <unistd.h>
44336 rm -f conftest.
$ac_objext
44337 if { (ac_try
="$ac_compile"
44338 case "(($ac_try" in
44339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44340 *) ac_try_echo=$ac_try;;
44342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44343 (eval "$ac_compile") 2>conftest.er1
44345 grep -v '^ *+' conftest.er1 >conftest.err
44347 cat conftest.err >&5
44348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44349 (exit $ac_status); } && {
44350 test -z "$ac_c_werror_flag" ||
44351 test ! -s conftest.err
44352 } && test -s conftest.$ac_objext; then
44353 wx_cv_func_gettimeofday_has_2_args=no
44355 echo "$as_me: failed program was:" >&5
44356 sed 's/^/| /' conftest.$ac_ext >&5
44359 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44360 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44361 wx_cv_func_gettimeofday_has_2_args=unknown
44366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44373 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44374 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
44376 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44377 cat >>confdefs.h <<\_ACEOF
44378 #define WX_GETTIMEOFDAY_NO_TZ 1
44384 if test "$wxUSE_DATETIME" = "yes"; then
44385 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44386 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44387 if test "${wx_cv_var_timezone+set}" = set; then
44388 echo $ECHO_N "(cached) $ECHO_C" >&6
44392 ac_cpp='$CXXCPP $CPPFLAGS'
44393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44397 cat >conftest.$ac_ext <<_ACEOF
44400 cat confdefs.h >>conftest.$ac_ext
44401 cat >>conftest.$ac_ext <<_ACEOF
44402 /* end confdefs.h. */
44417 rm -f conftest.$ac_objext
44418 if { (ac_try="$ac_compile"
44419 case "(($ac_try" in
44420 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44421 *) ac_try_echo
=$ac_try;;
44423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44424 (eval "$ac_compile") 2>conftest.er1
44426 grep -v '^ *+' conftest.er1
>conftest.err
44428 cat conftest.err
>&5
44429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44430 (exit $ac_status); } && {
44431 test -z "$ac_cxx_werror_flag" ||
44432 test ! -s conftest.err
44433 } && test -s conftest.
$ac_objext; then
44435 wx_cv_var_timezone
=timezone
44438 echo "$as_me: failed program was:" >&5
44439 sed 's/^/| /' conftest.
$ac_ext >&5
44442 cat >conftest.
$ac_ext <<_ACEOF
44445 cat confdefs.h
>>conftest.
$ac_ext
44446 cat >>conftest.
$ac_ext <<_ACEOF
44447 /* end confdefs.h. */
44462 rm -f conftest.
$ac_objext
44463 if { (ac_try
="$ac_compile"
44464 case "(($ac_try" in
44465 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44466 *) ac_try_echo=$ac_try;;
44468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44469 (eval "$ac_compile") 2>conftest.er1
44471 grep -v '^ *+' conftest.er1 >conftest.err
44473 cat conftest.err >&5
44474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475 (exit $ac_status); } && {
44476 test -z "$ac_cxx_werror_flag" ||
44477 test ! -s conftest.err
44478 } && test -s conftest.$ac_objext; then
44480 wx_cv_var_timezone=_timezone
44483 echo "$as_me: failed program was:" >&5
44484 sed 's/^/| /' conftest.$ac_ext >&5
44487 cat >conftest.$ac_ext <<_ACEOF
44490 cat confdefs.h >>conftest.$ac_ext
44491 cat >>conftest.$ac_ext <<_ACEOF
44492 /* end confdefs.h. */
44507 rm -f conftest.$ac_objext
44508 if { (ac_try="$ac_compile"
44509 case "(($ac_try" in
44510 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44511 *) ac_try_echo
=$ac_try;;
44513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44514 (eval "$ac_compile") 2>conftest.er1
44516 grep -v '^ *+' conftest.er1
>conftest.err
44518 cat conftest.err
>&5
44519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44520 (exit $ac_status); } && {
44521 test -z "$ac_cxx_werror_flag" ||
44522 test ! -s conftest.err
44523 } && test -s conftest.
$ac_objext; then
44525 wx_cv_var_timezone
=__timezone
44528 echo "$as_me: failed program was:" >&5
44529 sed 's/^/| /' conftest.
$ac_ext >&5
44532 if test "$USE_DOS" = 0 ; then
44533 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44534 echo "$as_me: WARNING: no timezone variable" >&2;}
44540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44552 ac_cpp
='$CPP $CPPFLAGS'
44553 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44554 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44555 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44560 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44561 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44563 if test "x$wx_cv_var_timezone" != x
; then
44564 cat >>confdefs.h
<<_ACEOF
44565 #define WX_TIMEZONE $wx_cv_var_timezone
44571 for ac_func
in localtime
44573 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44574 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44576 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44577 echo $ECHO_N "(cached) $ECHO_C" >&6
44579 cat >conftest.
$ac_ext <<_ACEOF
44582 cat confdefs.h
>>conftest.
$ac_ext
44583 cat >>conftest.
$ac_ext <<_ACEOF
44584 /* end confdefs.h. */
44585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44587 #define $ac_func innocuous_$ac_func
44589 /* System header to define __stub macros and hopefully few prototypes,
44590 which can conflict with char $ac_func (); below.
44591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44592 <limits.h> exists even on freestanding compilers. */
44595 # include <limits.h>
44597 # include <assert.h>
44602 /* Override any GCC internal prototype to avoid an error.
44603 Use char because int might match the return type of a GCC
44604 builtin and then its argument prototype would still apply. */
44609 /* The GNU C library defines this for functions which it implements
44610 to always fail with ENOSYS. Some functions are actually named
44611 something starting with __ and the normal name is an alias. */
44612 #if defined __stub_$ac_func || defined __stub___$ac_func
44619 return $ac_func ();
44624 rm -f conftest.
$ac_objext conftest
$ac_exeext
44625 if { (ac_try
="$ac_link"
44626 case "(($ac_try" in
44627 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44628 *) ac_try_echo=$ac_try;;
44630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44631 (eval "$ac_link") 2>conftest.er1
44633 grep -v '^ *+' conftest.er1 >conftest.err
44635 cat conftest.err >&5
44636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44637 (exit $ac_status); } && {
44638 test -z "$ac_c_werror_flag" ||
44639 test ! -s conftest.err
44640 } && test -s conftest$ac_exeext &&
44641 $as_test_x conftest$ac_exeext; then
44642 eval "$as_ac_var=yes"
44644 echo "$as_me: failed program was:" >&5
44645 sed 's/^/| /' conftest.$ac_ext >&5
44647 eval "$as_ac_var=no"
44650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44651 conftest$ac_exeext conftest.$ac_ext
44653 ac_res=`eval echo '${'$as_ac_var'}'`
44654 { echo "$as_me:$LINENO: result: $ac_res" >&5
44655 echo "${ECHO_T}$ac_res" >&6; }
44656 if test `eval echo '${'$as_ac_var'}'` = yes; then
44657 cat >>confdefs.h <<_ACEOF
44658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44665 if test "$ac_cv_func_localtime" = "yes"; then
44666 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44667 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44668 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44669 echo $ECHO_N "(cached) $ECHO_C" >&6
44672 cat >conftest.$ac_ext <<_ACEOF
44675 cat confdefs.h >>conftest.$ac_ext
44676 cat >>conftest.$ac_ext <<_ACEOF
44677 /* end confdefs.h. */
44692 rm -f conftest.$ac_objext
44693 if { (ac_try="$ac_compile"
44694 case "(($ac_try" in
44695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44696 *) ac_try_echo
=$ac_try;;
44698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44699 (eval "$ac_compile") 2>conftest.er1
44701 grep -v '^ *+' conftest.er1
>conftest.err
44703 cat conftest.err
>&5
44704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44705 (exit $ac_status); } && {
44706 test -z "$ac_c_werror_flag" ||
44707 test ! -s conftest.err
44708 } && test -s conftest.
$ac_objext; then
44710 wx_cv_struct_tm_has_gmtoff
=yes
44713 echo "$as_me: failed program was:" >&5
44714 sed 's/^/| /' conftest.
$ac_ext >&5
44716 wx_cv_struct_tm_has_gmtoff
=no
44720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44723 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44724 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44727 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44728 cat >>confdefs.h
<<\_ACEOF
44729 #define WX_GMTOFF_IN_TM 1
44734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44738 if test "$wxUSE_SOCKETS" = "yes"; then
44739 if test "$wxUSE_MGL" = 1; then
44740 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44741 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44746 if test "$wxUSE_SOCKETS" = "yes"; then
44747 if test "$TOOLKIT" != "MSW"; then
44748 { echo "$as_me:$LINENO: checking for socket" >&5
44749 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44750 if test "${ac_cv_func_socket+set}" = set; then
44751 echo $ECHO_N "(cached) $ECHO_C" >&6
44753 cat >conftest.
$ac_ext <<_ACEOF
44756 cat confdefs.h
>>conftest.
$ac_ext
44757 cat >>conftest.
$ac_ext <<_ACEOF
44758 /* end confdefs.h. */
44759 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44761 #define socket innocuous_socket
44763 /* System header to define __stub macros and hopefully few prototypes,
44764 which can conflict with char socket (); below.
44765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44766 <limits.h> exists even on freestanding compilers. */
44769 # include <limits.h>
44771 # include <assert.h>
44776 /* Override any GCC internal prototype to avoid an error.
44777 Use char because int might match the return type of a GCC
44778 builtin and then its argument prototype would still apply. */
44783 /* The GNU C library defines this for functions which it implements
44784 to always fail with ENOSYS. Some functions are actually named
44785 something starting with __ and the normal name is an alias. */
44786 #if defined __stub_socket || defined __stub___socket
44798 rm -f conftest.
$ac_objext conftest
$ac_exeext
44799 if { (ac_try
="$ac_link"
44800 case "(($ac_try" in
44801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44802 *) ac_try_echo=$ac_try;;
44804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44805 (eval "$ac_link") 2>conftest.er1
44807 grep -v '^ *+' conftest.er1 >conftest.err
44809 cat conftest.err >&5
44810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44811 (exit $ac_status); } && {
44812 test -z "$ac_c_werror_flag" ||
44813 test ! -s conftest.err
44814 } && test -s conftest$ac_exeext &&
44815 $as_test_x conftest$ac_exeext; then
44816 ac_cv_func_socket=yes
44818 echo "$as_me: failed program was:" >&5
44819 sed 's/^/| /' conftest.$ac_ext >&5
44821 ac_cv_func_socket=no
44824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44825 conftest$ac_exeext conftest.$ac_ext
44827 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44828 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44829 if test $ac_cv_func_socket = yes; then
44833 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44834 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44835 if test "${ac_cv_lib_socket_socket+set}" = set; then
44836 echo $ECHO_N "(cached) $ECHO_C" >&6
44838 ac_check_lib_save_LIBS=$LIBS
44839 LIBS="-lsocket $LIBS"
44840 cat >conftest.$ac_ext <<_ACEOF
44843 cat confdefs.h >>conftest.$ac_ext
44844 cat >>conftest.$ac_ext <<_ACEOF
44845 /* end confdefs.h. */
44847 /* Override any GCC internal prototype to avoid an error.
44848 Use char because int might match the return type of a GCC
44849 builtin and then its argument prototype would still apply. */
44862 rm -f conftest.$ac_objext conftest$ac_exeext
44863 if { (ac_try="$ac_link"
44864 case "(($ac_try" in
44865 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44866 *) ac_try_echo
=$ac_try;;
44868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44869 (eval "$ac_link") 2>conftest.er1
44871 grep -v '^ *+' conftest.er1
>conftest.err
44873 cat conftest.err
>&5
44874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44875 (exit $ac_status); } && {
44876 test -z "$ac_c_werror_flag" ||
44877 test ! -s conftest.err
44878 } && test -s conftest
$ac_exeext &&
44879 $as_test_x conftest
$ac_exeext; then
44880 ac_cv_lib_socket_socket
=yes
44882 echo "$as_me: failed program was:" >&5
44883 sed 's/^/| /' conftest.
$ac_ext >&5
44885 ac_cv_lib_socket_socket
=no
44888 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44889 conftest
$ac_exeext conftest.
$ac_ext
44890 LIBS
=$ac_check_lib_save_LIBS
44892 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44893 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44894 if test $ac_cv_lib_socket_socket = yes; then
44895 if test "$INET_LINK" != " -lsocket"; then
44896 INET_LINK
="$INET_LINK -lsocket"
44900 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44901 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44914 if test "$wxUSE_SOCKETS" = "yes" ; then
44915 if test "$TOOLKIT" != "MSW"; then
44916 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44917 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44918 if test "${wx_cv_type_getsockname3+set}" = set; then
44919 echo $ECHO_N "(cached) $ECHO_C" >&6
44923 ac_cpp
='$CXXCPP $CPPFLAGS'
44924 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44925 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44926 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44928 cat >conftest.
$ac_ext <<_ACEOF
44931 cat confdefs.h
>>conftest.
$ac_ext
44932 cat >>conftest.
$ac_ext <<_ACEOF
44933 /* end confdefs.h. */
44935 #include <sys/types.h>
44936 #include <sys/socket.h>
44943 getsockname(0, 0, &len);
44949 rm -f conftest.
$ac_objext
44950 if { (ac_try
="$ac_compile"
44951 case "(($ac_try" in
44952 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44953 *) ac_try_echo=$ac_try;;
44955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44956 (eval "$ac_compile") 2>conftest.er1
44958 grep -v '^ *+' conftest.er1 >conftest.err
44960 cat conftest.err >&5
44961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44962 (exit $ac_status); } && {
44963 test -z "$ac_cxx_werror_flag" ||
44964 test ! -s conftest.err
44965 } && test -s conftest.$ac_objext; then
44966 wx_cv_type_getsockname3=socklen_t
44968 echo "$as_me: failed program was:" >&5
44969 sed 's/^/| /' conftest.$ac_ext >&5
44972 CFLAGS_OLD="$CFLAGS"
44973 if test "$GCC" = yes ; then
44974 CFLAGS="-Werror $CFLAGS"
44977 cat >conftest.$ac_ext <<_ACEOF
44980 cat confdefs.h >>conftest.$ac_ext
44981 cat >>conftest.$ac_ext <<_ACEOF
44982 /* end confdefs.h. */
44984 #include <sys/types.h>
44985 #include <sys/socket.h>
44992 getsockname(0, 0, &len);
44998 rm -f conftest.$ac_objext
44999 if { (ac_try="$ac_compile"
45000 case "(($ac_try" in
45001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45002 *) ac_try_echo
=$ac_try;;
45004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45005 (eval "$ac_compile") 2>conftest.er1
45007 grep -v '^ *+' conftest.er1
>conftest.err
45009 cat conftest.err
>&5
45010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45011 (exit $ac_status); } && {
45012 test -z "$ac_cxx_werror_flag" ||
45013 test ! -s conftest.err
45014 } && test -s conftest.
$ac_objext; then
45015 wx_cv_type_getsockname3
=size_t
45017 echo "$as_me: failed program was:" >&5
45018 sed 's/^/| /' conftest.
$ac_ext >&5
45020 cat >conftest.
$ac_ext <<_ACEOF
45023 cat confdefs.h
>>conftest.
$ac_ext
45024 cat >>conftest.
$ac_ext <<_ACEOF
45025 /* end confdefs.h. */
45027 #include <sys/types.h>
45028 #include <sys/socket.h>
45035 getsockname(0, 0, &len);
45041 rm -f conftest.
$ac_objext
45042 if { (ac_try
="$ac_compile"
45043 case "(($ac_try" in
45044 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45045 *) ac_try_echo=$ac_try;;
45047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45048 (eval "$ac_compile") 2>conftest.er1
45050 grep -v '^ *+' conftest.er1 >conftest.err
45052 cat conftest.err >&5
45053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45054 (exit $ac_status); } && {
45055 test -z "$ac_cxx_werror_flag" ||
45056 test ! -s conftest.err
45057 } && test -s conftest.$ac_objext; then
45058 wx_cv_type_getsockname3=int
45060 echo "$as_me: failed program was:" >&5
45061 sed 's/^/| /' conftest.$ac_ext >&5
45063 wx_cv_type_getsockname3=unknown
45067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45073 CFLAGS="$CFLAGS_OLD"
45078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45080 ac_cpp='$CPP $CPPFLAGS'
45081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45087 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45088 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
45090 if test "$wx_cv_type_getsockname3" = "unknown"; then
45092 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45093 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45095 cat >>confdefs.h <<_ACEOF
45096 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45100 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45101 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
45102 if test "${wx_cv_type_getsockopt5+set}" = set; then
45103 echo $ECHO_N "(cached) $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. */
45119 #include <sys/types.h>
45120 #include <sys/socket.h>
45127 getsockopt(0, 0, 0, 0, &len);
45133 rm -f conftest.$ac_objext
45134 if { (ac_try="$ac_compile"
45135 case "(($ac_try" in
45136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45137 *) ac_try_echo
=$ac_try;;
45139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45140 (eval "$ac_compile") 2>conftest.er1
45142 grep -v '^ *+' conftest.er1
>conftest.err
45144 cat conftest.err
>&5
45145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45146 (exit $ac_status); } && {
45147 test -z "$ac_cxx_werror_flag" ||
45148 test ! -s conftest.err
45149 } && test -s conftest.
$ac_objext; then
45150 wx_cv_type_getsockopt5
=socklen_t
45152 echo "$as_me: failed program was:" >&5
45153 sed 's/^/| /' conftest.
$ac_ext >&5
45156 cat >conftest.
$ac_ext <<_ACEOF
45159 cat confdefs.h
>>conftest.
$ac_ext
45160 cat >>conftest.
$ac_ext <<_ACEOF
45161 /* end confdefs.h. */
45163 #include <sys/types.h>
45164 #include <sys/socket.h>
45171 getsockopt(0, 0, 0, 0, &len);
45177 rm -f conftest.
$ac_objext
45178 if { (ac_try
="$ac_compile"
45179 case "(($ac_try" in
45180 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45181 *) ac_try_echo=$ac_try;;
45183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45184 (eval "$ac_compile") 2>conftest.er1
45186 grep -v '^ *+' conftest.er1 >conftest.err
45188 cat conftest.err >&5
45189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45190 (exit $ac_status); } && {
45191 test -z "$ac_cxx_werror_flag" ||
45192 test ! -s conftest.err
45193 } && test -s conftest.$ac_objext; then
45194 wx_cv_type_getsockopt5=size_t
45196 echo "$as_me: failed program was:" >&5
45197 sed 's/^/| /' conftest.$ac_ext >&5
45199 cat >conftest.$ac_ext <<_ACEOF
45202 cat confdefs.h >>conftest.$ac_ext
45203 cat >>conftest.$ac_ext <<_ACEOF
45204 /* end confdefs.h. */
45206 #include <sys/types.h>
45207 #include <sys/socket.h>
45214 getsockopt(0, 0, 0, 0, &len);
45220 rm -f conftest.$ac_objext
45221 if { (ac_try="$ac_compile"
45222 case "(($ac_try" in
45223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45224 *) ac_try_echo
=$ac_try;;
45226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45227 (eval "$ac_compile") 2>conftest.er1
45229 grep -v '^ *+' conftest.er1
>conftest.err
45231 cat conftest.err
>&5
45232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45233 (exit $ac_status); } && {
45234 test -z "$ac_cxx_werror_flag" ||
45235 test ! -s conftest.err
45236 } && test -s conftest.
$ac_objext; then
45237 wx_cv_type_getsockopt5
=int
45239 echo "$as_me: failed program was:" >&5
45240 sed 's/^/| /' conftest.
$ac_ext >&5
45242 wx_cv_type_getsockopt5
=unknown
45246 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45257 ac_cpp
='$CPP $CPPFLAGS'
45258 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45259 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45260 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45264 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45265 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
45267 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45269 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45270 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45272 cat >>confdefs.h
<<_ACEOF
45273 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45280 if test "$wxUSE_SOCKETS" = "yes" ; then
45281 if test "$wxUSE_IPV6" = "yes"; then
45282 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45283 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45284 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45285 echo $ECHO_N "(cached) $ECHO_C" >&6
45288 cat >conftest.
$ac_ext <<_ACEOF
45291 cat confdefs.h
>>conftest.
$ac_ext
45292 cat >>conftest.
$ac_ext <<_ACEOF
45293 /* end confdefs.h. */
45295 #include <sys/types.h>
45296 #include <sys/socket.h>
45297 #include <netinet/in.h>
45303 struct sockaddr_in6 sa6;
45309 rm -f conftest.
$ac_objext
45310 if { (ac_try
="$ac_compile"
45311 case "(($ac_try" in
45312 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45313 *) ac_try_echo=$ac_try;;
45315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45316 (eval "$ac_compile") 2>conftest.er1
45318 grep -v '^ *+' conftest.er1 >conftest.err
45320 cat conftest.err >&5
45321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45322 (exit $ac_status); } && {
45323 test -z "$ac_c_werror_flag" ||
45324 test ! -s conftest.err
45325 } && test -s conftest.$ac_objext; then
45326 wx_cv_type_sockaddr_in6=yes
45328 echo "$as_me: failed program was:" >&5
45329 sed 's/^/| /' conftest.$ac_ext >&5
45331 wx_cv_type_sockaddr_in6=no
45335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45339 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45340 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45342 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45343 cat >>confdefs.h <<\_ACEOF
45344 #define wxUSE_IPV6 1
45348 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45349 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45353 cat >>confdefs.h <<\_ACEOF
45354 #define wxUSE_SOCKETS 1
45357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45360 if test "$wxUSE_PROTOCOL" = "yes"; then
45361 if test "$wxUSE_SOCKETS" != "yes"; then
45362 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45363 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45368 if test "$wxUSE_PROTOCOL" = "yes"; then
45369 cat >>confdefs.h <<\_ACEOF
45370 #define wxUSE_PROTOCOL 1
45374 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45375 cat >>confdefs.h <<\_ACEOF
45376 #define wxUSE_PROTOCOL_HTTP 1
45380 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_PROTOCOL_FTP 1
45386 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45387 cat >>confdefs.h <<\_ACEOF
45388 #define wxUSE_PROTOCOL_FILE 1
45393 if test "$wxUSE_FS_INET" = "yes"; then
45394 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45395 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45400 if test "$wxUSE_URL" = "yes"; then
45401 if test "$wxUSE_PROTOCOL" != "yes"; then
45402 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45403 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45406 if test "$wxUSE_URL" = "yes"; then
45407 cat >>confdefs.h <<\_ACEOF
45408 #define wxUSE_URL 1
45414 if test "$wxUSE_VARIANT" = "yes"; then
45415 cat >>confdefs.h <<\_ACEOF
45416 #define wxUSE_VARIANT 1
45421 if test "$wxUSE_FS_INET" = "yes"; then
45422 cat >>confdefs.h <<\_ACEOF
45423 #define wxUSE_FS_INET 1
45429 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45432 if test "$TOOLKIT" = "MSW"; then
45435 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45436 if test "$USE_DARWIN" = 1; then
45437 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45438 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45440 ac_cpp='$CXXCPP $CPPFLAGS'
45441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45445 cat >conftest.$ac_ext <<_ACEOF
45448 cat confdefs.h >>conftest.$ac_ext
45449 cat >>conftest.$ac_ext <<_ACEOF
45450 /* end confdefs.h. */
45451 #include <IOKit/hid/IOHIDLib.h>
45455 IOHIDQueueInterface *qi = NULL;
45456 IOHIDCallbackFunction cb = NULL;
45457 qi->setEventCallout(NULL, cb, NULL, NULL);
45462 rm -f conftest.$ac_objext
45463 if { (ac_try="$ac_compile"
45464 case "(($ac_try" in
45465 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45466 *) ac_try_echo
=$ac_try;;
45468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45469 (eval "$ac_compile") 2>conftest.er1
45471 grep -v '^ *+' conftest.er1
>conftest.err
45473 cat conftest.err
>&5
45474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45475 (exit $ac_status); } && {
45476 test -z "$ac_cxx_werror_flag" ||
45477 test ! -s conftest.err
45478 } && test -s conftest.
$ac_objext; then
45482 echo "$as_me: failed program was:" >&5
45483 sed 's/^/| /' conftest.
$ac_ext >&5
45488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45490 ac_cpp
='$CPP $CPPFLAGS'
45491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45495 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45496 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45500 if test "$wxUSE_MGL" != 1; then
45502 for ac_header
in linux
/joystick.h
45504 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45505 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45507 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45508 echo $ECHO_N "(cached) $ECHO_C" >&6
45510 cat >conftest.
$ac_ext <<_ACEOF
45513 cat confdefs.h
>>conftest.
$ac_ext
45514 cat >>conftest.
$ac_ext <<_ACEOF
45515 /* end confdefs.h. */
45516 $ac_includes_default
45518 #include <$ac_header>
45520 rm -f conftest.
$ac_objext
45521 if { (ac_try
="$ac_compile"
45522 case "(($ac_try" in
45523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45524 *) ac_try_echo=$ac_try;;
45526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45527 (eval "$ac_compile") 2>conftest.er1
45529 grep -v '^ *+' conftest.er1 >conftest.err
45531 cat conftest.err >&5
45532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45533 (exit $ac_status); } && {
45534 test -z "$ac_c_werror_flag" ||
45535 test ! -s conftest.err
45536 } && test -s conftest.$ac_objext; then
45537 eval "$as_ac_Header=yes"
45539 echo "$as_me: failed program was:" >&5
45540 sed 's/^/| /' conftest.$ac_ext >&5
45542 eval "$as_ac_Header=no"
45545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45547 ac_res=`eval echo '${'$as_ac_Header'}'`
45548 { echo "$as_me:$LINENO: result: $ac_res" >&5
45549 echo "${ECHO_T}$ac_res" >&6; }
45550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45551 cat >>confdefs.h <<_ACEOF
45552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45562 if test "$wxUSE_JOYSTICK" = "yes"; then
45563 cat >>confdefs.h <<\_ACEOF
45564 #define wxUSE_JOYSTICK 1
45567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45569 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45570 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45576 if test "$wxUSE_FONTENUM" = "yes" ; then
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_FONTENUM 1
45583 if test "$wxUSE_FONTMAP" = "yes" ; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_FONTMAP 1
45590 if test "$wxUSE_UNICODE" = "yes" ; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_UNICODE 1
45596 if test "$USE_WIN32" != 1; then
45597 wxUSE_UNICODE_MSLU=no
45600 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45601 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45602 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45603 if test "${ac_cv_lib_unicows_main+set}" = set; then
45604 echo $ECHO_N "(cached) $ECHO_C" >&6
45606 ac_check_lib_save_LIBS=$LIBS
45607 LIBS="-lunicows $LIBS"
45608 cat >conftest.$ac_ext <<_ACEOF
45611 cat confdefs.h >>conftest.$ac_ext
45612 cat >>conftest.$ac_ext <<_ACEOF
45613 /* end confdefs.h. */
45624 rm -f conftest.$ac_objext conftest$ac_exeext
45625 if { (ac_try="$ac_link"
45626 case "(($ac_try" in
45627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45628 *) ac_try_echo
=$ac_try;;
45630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45631 (eval "$ac_link") 2>conftest.er1
45633 grep -v '^ *+' conftest.er1
>conftest.err
45635 cat conftest.err
>&5
45636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637 (exit $ac_status); } && {
45638 test -z "$ac_c_werror_flag" ||
45639 test ! -s conftest.err
45640 } && test -s conftest
$ac_exeext &&
45641 $as_test_x conftest
$ac_exeext; then
45642 ac_cv_lib_unicows_main
=yes
45644 echo "$as_me: failed program was:" >&5
45645 sed 's/^/| /' conftest.
$ac_ext >&5
45647 ac_cv_lib_unicows_main
=no
45650 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45651 conftest
$ac_exeext conftest.
$ac_ext
45652 LIBS
=$ac_check_lib_save_LIBS
45654 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45655 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45656 if test $ac_cv_lib_unicows_main = yes; then
45658 cat >>confdefs.h
<<\_ACEOF
45659 #define wxUSE_UNICODE_MSLU 1
45665 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45666 Applications will only run on Windows NT/2000/XP!" >&5
45667 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45668 Applications will only run on Windows NT/2000/XP!" >&2;}
45669 wxUSE_UNICODE_MSLU
=no
45676 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45677 cat >>confdefs.h
<<\_ACEOF
45678 #define wxUSE_UNICODE_UTF8 1
45682 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45683 cat >>confdefs.h
<<\_ACEOF
45684 #define wxUSE_UTF8_LOCALE_ONLY 1
45691 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45692 cat >>confdefs.h
<<\_ACEOF
45693 #define wxUSE_CONSTRAINTS 1
45696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45699 if test "$wxUSE_MDI" = "yes"; then
45700 cat >>confdefs.h
<<\_ACEOF
45701 #define wxUSE_MDI 1
45705 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45706 cat >>confdefs.h
<<\_ACEOF
45707 #define wxUSE_MDI_ARCHITECTURE 1
45710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45714 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45715 cat >>confdefs.h
<<\_ACEOF
45716 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45719 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45722 if test "$wxUSE_HELP" = "yes"; then
45723 cat >>confdefs.h
<<\_ACEOF
45724 #define wxUSE_HELP 1
45727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45729 if test "$wxUSE_MSW" = 1; then
45730 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45731 cat >>confdefs.h
<<\_ACEOF
45732 #define wxUSE_MS_HTML_HELP 1
45738 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45739 if test "$wxUSE_HTML" = "yes"; then
45740 cat >>confdefs.h
<<\_ACEOF
45741 #define wxUSE_WXHTML_HELP 1
45745 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45746 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45747 wxUSE_WXHTML_HELP
=no
45752 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45753 cat >>confdefs.h
<<\_ACEOF
45754 #define wxUSE_PRINTING_ARCHITECTURE 1
45757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45760 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45761 cat >>confdefs.h
<<\_ACEOF
45762 #define wxUSE_POSTSCRIPT 1
45767 cat >>confdefs.h
<<\_ACEOF
45768 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45772 if test "$wxUSE_SVG" = "yes"; then
45773 cat >>confdefs.h
<<\_ACEOF
45774 #define wxUSE_SVG 1
45780 if test "$wxUSE_METAFILE" = "yes"; then
45781 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45782 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45783 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45789 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45790 -o "$wxUSE_CLIPBOARD" = "yes" \
45791 -o "$wxUSE_OLE" = "yes" \
45792 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45793 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45794 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45795 if test "${ac_cv_header_ole2_h+set}" = set; then
45796 echo $ECHO_N "(cached) $ECHO_C" >&6
45798 cat >conftest.
$ac_ext <<_ACEOF
45801 cat confdefs.h
>>conftest.
$ac_ext
45802 cat >>conftest.
$ac_ext <<_ACEOF
45803 /* end confdefs.h. */
45808 rm -f conftest.
$ac_objext
45809 if { (ac_try
="$ac_compile"
45810 case "(($ac_try" in
45811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45812 *) ac_try_echo=$ac_try;;
45814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45815 (eval "$ac_compile") 2>conftest.er1
45817 grep -v '^ *+' conftest.er1 >conftest.err
45819 cat conftest.err >&5
45820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45821 (exit $ac_status); } && {
45822 test -z "$ac_c_werror_flag" ||
45823 test ! -s conftest.err
45824 } && test -s conftest.$ac_objext; then
45825 ac_cv_header_ole2_h=yes
45827 echo "$as_me: failed program was:" >&5
45828 sed 's/^/| /' conftest.$ac_ext >&5
45830 ac_cv_header_ole2_h=no
45833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45835 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45836 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45840 if test "$ac_cv_header_ole2_h" = "yes" ; then
45841 if test "$GCC" = yes ; then
45842 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45843 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45844 cat >conftest.$ac_ext <<_ACEOF
45847 cat confdefs.h >>conftest.$ac_ext
45848 cat >>conftest.$ac_ext <<_ACEOF
45849 /* end confdefs.h. */
45850 #include <windows.h>
45860 rm -f conftest.$ac_objext
45861 if { (ac_try="$ac_compile"
45862 case "(($ac_try" in
45863 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45864 *) ac_try_echo
=$ac_try;;
45866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45867 (eval "$ac_compile") 2>conftest.er1
45869 grep -v '^ *+' conftest.er1
>conftest.err
45871 cat conftest.err
>&5
45872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45873 (exit $ac_status); } && {
45874 test -z "$ac_c_werror_flag" ||
45875 test ! -s conftest.err
45876 } && test -s conftest.
$ac_objext; then
45877 { echo "$as_me:$LINENO: result: no" >&5
45878 echo "${ECHO_T}no" >&6; }
45880 echo "$as_me: failed program was:" >&5
45881 sed 's/^/| /' conftest.
$ac_ext >&5
45883 { echo "$as_me:$LINENO: result: yes" >&5
45884 echo "${ECHO_T}yes" >&6; }
45885 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45889 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45890 if test "$wxUSE_OLE" = "yes" ; then
45891 cat >>confdefs.h
<<\_ACEOF
45892 #define wxUSE_OLE 1
45895 cat >>confdefs.h
<<\_ACEOF
45896 #define wxUSE_OLE_AUTOMATION 1
45899 cat >>confdefs.h
<<\_ACEOF
45900 #define wxUSE_ACTIVEX 1
45903 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45907 if test "$wxUSE_DATAOBJ" = "yes" ; then
45908 cat >>confdefs.h
<<\_ACEOF
45909 #define wxUSE_DATAOBJ 1
45914 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45915 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45918 wxUSE_DRAG_AND_DROP
=no
45923 if test "$wxUSE_METAFILE" = "yes"; then
45924 cat >>confdefs.h
<<\_ACEOF
45925 #define wxUSE_METAFILE 1
45929 cat >>confdefs.h
<<\_ACEOF
45930 #define wxUSE_ENH_METAFILE 1
45936 if test "$wxUSE_IPC" = "yes"; then
45937 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45938 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45939 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45943 if test "$wxUSE_IPC" = "yes"; then
45944 cat >>confdefs.h
<<\_ACEOF
45945 #define wxUSE_IPC 1
45948 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45952 if test "$wxUSE_DATAOBJ" = "yes"; then
45953 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45954 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45955 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45958 cat >>confdefs.h
<<\_ACEOF
45959 #define wxUSE_DATAOBJ 1
45964 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45965 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45967 wxUSE_DRAG_AND_DROP
=no
45970 if test "$wxUSE_CLIPBOARD" = "yes"; then
45971 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45972 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45973 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45977 if test "$wxUSE_CLIPBOARD" = "yes"; then
45978 cat >>confdefs.h
<<\_ACEOF
45979 #define wxUSE_CLIPBOARD 1
45985 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45986 if test "$wxUSE_GTK" = 1; then
45987 if test "$WXGTK12" != 1; then
45988 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45989 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45990 wxUSE_DRAG_AND_DROP
=no
45994 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45995 "$wxUSE_DFB" = 1; then
45996 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45997 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45998 wxUSE_DRAG_AND_DROP
=no
46001 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46002 cat >>confdefs.h
<<\_ACEOF
46003 #define wxUSE_DRAG_AND_DROP 1
46010 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
46014 if test "$wxUSE_CLIPBOARD" = "yes"; then
46015 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
46018 if test "$wxUSE_SPLINES" = "yes" ; then
46019 cat >>confdefs.h
<<\_ACEOF
46020 #define wxUSE_SPLINES 1
46025 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46026 cat >>confdefs.h
<<\_ACEOF
46027 #define wxUSE_MOUSEWHEEL 1
46034 if test "$wxUSE_CONTROLS" = "yes"; then
46038 if test "$wxUSE_ACCEL" = "yes"; then
46039 cat >>confdefs.h
<<\_ACEOF
46040 #define wxUSE_ACCEL 1
46046 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46047 cat >>confdefs.h
<<\_ACEOF
46048 #define wxUSE_ANIMATIONCTRL 1
46052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
46055 if test "$wxUSE_BUTTON" = "yes"; then
46056 cat >>confdefs.h
<<\_ACEOF
46057 #define wxUSE_BUTTON 1
46063 if test "$wxUSE_BMPBUTTON" = "yes"; then
46064 cat >>confdefs.h
<<\_ACEOF
46065 #define wxUSE_BMPBUTTON 1
46071 if test "$wxUSE_CALCTRL" = "yes"; then
46072 cat >>confdefs.h
<<\_ACEOF
46073 #define wxUSE_CALENDARCTRL 1
46077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
46080 if test "$wxUSE_CARET" = "yes"; then
46081 cat >>confdefs.h
<<\_ACEOF
46082 #define wxUSE_CARET 1
46086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
46089 if test "$wxUSE_COLLPANE" = "yes"; then
46090 cat >>confdefs.h
<<\_ACEOF
46091 #define wxUSE_COLLPANE 1
46095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
46098 if test "$wxUSE_COMBOBOX" = "yes"; then
46099 cat >>confdefs.h
<<\_ACEOF
46100 #define wxUSE_COMBOBOX 1
46106 if test "$wxUSE_COMBOCTRL" = "yes"; then
46107 cat >>confdefs.h
<<\_ACEOF
46108 #define wxUSE_COMBOCTRL 1
46114 if test "$wxUSE_CHOICE" = "yes"; then
46115 cat >>confdefs.h
<<\_ACEOF
46116 #define wxUSE_CHOICE 1
46122 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46123 cat >>confdefs.h
<<\_ACEOF
46124 #define wxUSE_CHOICEBOOK 1
46130 if test "$wxUSE_CHECKBOX" = "yes"; then
46131 cat >>confdefs.h
<<\_ACEOF
46132 #define wxUSE_CHECKBOX 1
46138 if test "$wxUSE_CHECKLST" = "yes"; then
46139 cat >>confdefs.h
<<\_ACEOF
46140 #define wxUSE_CHECKLISTBOX 1
46146 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46147 cat >>confdefs.h
<<\_ACEOF
46148 #define wxUSE_COLOURPICKERCTRL 1
46154 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46155 cat >>confdefs.h
<<\_ACEOF
46156 #define wxUSE_DATEPICKCTRL 1
46162 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46163 cat >>confdefs.h
<<\_ACEOF
46164 #define wxUSE_DIRPICKERCTRL 1
46170 if test "$wxUSE_FILECTRL" = "yes"; then
46171 cat >>confdefs.h
<<\_ACEOF
46172 #define wxUSE_FILECTRL 1
46178 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46179 cat >>confdefs.h
<<\_ACEOF
46180 #define wxUSE_FILEPICKERCTRL 1
46186 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46187 cat >>confdefs.h
<<\_ACEOF
46188 #define wxUSE_FONTPICKERCTRL 1
46194 if test "$wxUSE_DISPLAY" = "yes"; then
46195 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
46196 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
46197 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
46200 cat >>confdefs.h
<<\_ACEOF
46201 #define wxUSE_DISPLAY 1
46204 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
46208 if test "$wxUSE_DETECT_SM" = "yes"; then
46209 cat >>confdefs.h
<<\_ACEOF
46210 #define wxUSE_DETECT_SM 1
46215 if test "$wxUSE_GAUGE" = "yes"; then
46216 cat >>confdefs.h
<<\_ACEOF
46217 #define wxUSE_GAUGE 1
46223 if test "$wxUSE_GRID" = "yes"; then
46224 cat >>confdefs.h
<<\_ACEOF
46225 #define wxUSE_GRID 1
46229 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
46232 if test "$wxUSE_HEADERCTRL" = "yes"; then
46233 cat >>confdefs.h
<<\_ACEOF
46234 #define wxUSE_HEADERCTRL 1
46240 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46241 cat >>confdefs.h
<<\_ACEOF
46242 #define wxUSE_HYPERLINKCTRL 1
46248 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46249 cat >>confdefs.h
<<\_ACEOF
46250 #define wxUSE_BITMAPCOMBOBOX 1
46256 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46257 cat >>confdefs.h
<<\_ACEOF
46258 #define wxUSE_DATAVIEWCTRL 1
46262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
46265 if test "$wxUSE_IMAGLIST" = "yes"; then
46266 cat >>confdefs.h
<<\_ACEOF
46267 #define wxUSE_IMAGLIST 1
46272 if test "$wxUSE_INFOBAR" = "yes"; then
46273 cat >>confdefs.h
<<\_ACEOF
46274 #define wxUSE_INFOBAR 1
46279 if test "$wxUSE_LISTBOOK" = "yes"; then
46280 cat >>confdefs.h
<<\_ACEOF
46281 #define wxUSE_LISTBOOK 1
46287 if test "$wxUSE_LISTBOX" = "yes"; then
46288 cat >>confdefs.h
<<\_ACEOF
46289 #define wxUSE_LISTBOX 1
46295 if test "$wxUSE_LISTCTRL" = "yes"; then
46296 if test "$wxUSE_IMAGLIST" = "yes"; then
46297 cat >>confdefs.h
<<\_ACEOF
46298 #define wxUSE_LISTCTRL 1
46302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
46304 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46305 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46309 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46310 cat >>confdefs.h
<<\_ACEOF
46311 #define wxUSE_EDITABLELISTBOX 1
46317 if test "$wxUSE_NOTEBOOK" = "yes"; then
46318 cat >>confdefs.h
<<\_ACEOF
46319 #define wxUSE_NOTEBOOK 1
46323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
46326 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46327 cat >>confdefs.h
<<\_ACEOF
46328 #define wxUSE_NOTIFICATION_MESSAGE 1
46333 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46334 cat >>confdefs.h
<<\_ACEOF
46335 #define wxUSE_ODCOMBOBOX 1
46339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
46342 if test "$wxUSE_RADIOBOX" = "yes"; then
46343 cat >>confdefs.h
<<\_ACEOF
46344 #define wxUSE_RADIOBOX 1
46350 if test "$wxUSE_RADIOBTN" = "yes"; then
46351 cat >>confdefs.h
<<\_ACEOF
46352 #define wxUSE_RADIOBTN 1
46358 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46359 cat >>confdefs.h
<<\_ACEOF
46360 #define wxUSE_REARRANGECTRL 1
46365 if test "$wxUSE_SASH" = "yes"; then
46366 cat >>confdefs.h
<<\_ACEOF
46367 #define wxUSE_SASH 1
46370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
46373 if test "$wxUSE_SCROLLBAR" = "yes"; then
46374 cat >>confdefs.h
<<\_ACEOF
46375 #define wxUSE_SCROLLBAR 1
46379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
46382 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46383 cat >>confdefs.h
<<\_ACEOF
46384 #define wxUSE_SEARCHCTRL 1
46390 if test "$wxUSE_SLIDER" = "yes"; then
46391 cat >>confdefs.h
<<\_ACEOF
46392 #define wxUSE_SLIDER 1
46398 if test "$wxUSE_SPINBTN" = "yes"; then
46399 cat >>confdefs.h
<<\_ACEOF
46400 #define wxUSE_SPINBTN 1
46406 if test "$wxUSE_SPINCTRL" = "yes"; then
46407 cat >>confdefs.h
<<\_ACEOF
46408 #define wxUSE_SPINCTRL 1
46414 if test "$wxUSE_SPLITTER" = "yes"; then
46415 cat >>confdefs.h
<<\_ACEOF
46416 #define wxUSE_SPLITTER 1
46419 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46422 if test "$wxUSE_STATBMP" = "yes"; then
46423 cat >>confdefs.h
<<\_ACEOF
46424 #define wxUSE_STATBMP 1
46430 if test "$wxUSE_STATBOX" = "yes"; then
46431 cat >>confdefs.h
<<\_ACEOF
46432 #define wxUSE_STATBOX 1
46438 if test "$wxUSE_STATTEXT" = "yes"; then
46439 cat >>confdefs.h
<<\_ACEOF
46440 #define wxUSE_STATTEXT 1
46446 if test "$wxUSE_STATLINE" = "yes"; then
46447 cat >>confdefs.h
<<\_ACEOF
46448 #define wxUSE_STATLINE 1
46454 if test "$wxUSE_STATUSBAR" = "yes"; then
46455 cat >>confdefs.h
<<\_ACEOF
46456 #define wxUSE_NATIVE_STATUSBAR 1
46459 cat >>confdefs.h
<<\_ACEOF
46460 #define wxUSE_STATUSBAR 1
46465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46468 if test "$wxUSE_TEXTCTRL" = "yes"; then
46469 cat >>confdefs.h
<<\_ACEOF
46470 #define wxUSE_TEXTCTRL 1
46474 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46476 cat >>confdefs.h
<<\_ACEOF
46477 #define wxUSE_RICHEDIT 1
46480 cat >>confdefs.h
<<\_ACEOF
46481 #define wxUSE_RICHEDIT2 1
46486 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46487 if test "$wxUSE_COCOA" = 1 ; then
46488 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46489 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46493 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46494 cat >>confdefs.h
<<\_ACEOF
46495 #define wxUSE_TOGGLEBTN 1
46502 if test "$wxUSE_TOOLBAR" = "yes"; then
46503 cat >>confdefs.h
<<\_ACEOF
46504 #define wxUSE_TOOLBAR 1
46509 if test "$wxUSE_UNIVERSAL" = "yes"; then
46510 wxUSE_TOOLBAR_NATIVE
="no"
46512 wxUSE_TOOLBAR_NATIVE
="yes"
46513 cat >>confdefs.h
<<\_ACEOF
46514 #define wxUSE_TOOLBAR_NATIVE 1
46519 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46522 if test "$wxUSE_TOOLTIPS" = "yes"; then
46523 if test "$wxUSE_MOTIF" = 1; then
46524 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46525 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46527 if test "$wxUSE_UNIVERSAL" = "yes"; then
46528 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46529 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46531 cat >>confdefs.h
<<\_ACEOF
46532 #define wxUSE_TOOLTIPS 1
46539 if test "$wxUSE_TREEBOOK" = "yes"; then
46540 cat >>confdefs.h
<<\_ACEOF
46541 #define wxUSE_TREEBOOK 1
46547 if test "$wxUSE_TOOLBOOK" = "yes"; then
46548 cat >>confdefs.h
<<\_ACEOF
46549 #define wxUSE_TOOLBOOK 1
46555 if test "$wxUSE_TREECTRL" = "yes"; then
46556 if test "$wxUSE_IMAGLIST" = "yes"; then
46557 cat >>confdefs.h
<<\_ACEOF
46558 #define wxUSE_TREECTRL 1
46562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46564 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46565 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46569 if test "$wxUSE_POPUPWIN" = "yes"; then
46570 if test "$wxUSE_COCOA" = 1 ; then
46571 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46572 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46574 if test "$wxUSE_PM" = 1; then
46575 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46576 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46578 cat >>confdefs.h
<<\_ACEOF
46579 #define wxUSE_POPUPWIN 1
46582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46589 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46590 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46591 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46592 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46594 cat >>confdefs.h
<<\_ACEOF
46595 #define wxUSE_DIALUP_MANAGER 1
46598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46602 if test "$wxUSE_TIPWINDOW" = "yes"; then
46603 if test "$wxUSE_PM" = 1; then
46604 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46605 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46607 cat >>confdefs.h
<<\_ACEOF
46608 #define wxUSE_TIPWINDOW 1
46614 if test "$USES_CONTROLS" = 1; then
46615 cat >>confdefs.h
<<\_ACEOF
46616 #define wxUSE_CONTROLS 1
46622 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46623 cat >>confdefs.h
<<\_ACEOF
46624 #define wxUSE_ACCESSIBILITY 1
46627 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46630 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46631 cat >>confdefs.h
<<\_ACEOF
46632 #define wxUSE_DRAGIMAGE 1
46635 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46638 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46639 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46640 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46641 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46643 cat >>confdefs.h
<<\_ACEOF
46644 #define wxUSE_EXCEPTIONS 1
46647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46652 if test "$wxUSE_HTML" = "yes"; then
46653 cat >>confdefs.h
<<\_ACEOF
46654 #define wxUSE_HTML 1
46658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46660 if test "$wxUSE_WEBKIT" = "yes"; then
46661 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46662 old_CPPFLAGS
="$CPPFLAGS"
46663 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46664 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46665 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46666 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46667 echo $ECHO_N "(cached) $ECHO_C" >&6
46669 cat >conftest.
$ac_ext <<_ACEOF
46672 cat confdefs.h
>>conftest.
$ac_ext
46673 cat >>conftest.
$ac_ext <<_ACEOF
46674 /* end confdefs.h. */
46676 #include <Carbon/Carbon.h>
46677 #include <WebKit/WebKit.h>
46680 #include <WebKit/HIWebView.h>
46682 rm -f conftest.
$ac_objext
46683 if { (ac_try
="$ac_compile"
46684 case "(($ac_try" in
46685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46686 *) ac_try_echo=$ac_try;;
46688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46689 (eval "$ac_compile") 2>conftest.er1
46691 grep -v '^ *+' conftest.er1 >conftest.err
46693 cat conftest.err >&5
46694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46695 (exit $ac_status); } && {
46696 test -z "$ac_c_werror_flag" ||
46697 test ! -s conftest.err
46698 } && test -s conftest.$ac_objext; then
46699 ac_cv_header_WebKit_HIWebView_h=yes
46701 echo "$as_me: failed program was:" >&5
46702 sed 's/^/| /' conftest.$ac_ext >&5
46704 ac_cv_header_WebKit_HIWebView_h=no
46707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46709 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46710 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46711 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46713 cat >>confdefs.h <<\_ACEOF
46714 #define wxUSE_WEBKIT 1
46717 WEBKIT_LINK="-framework WebKit"
46721 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46722 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46728 CPPFLAGS="$old_CPPFLAGS"
46729 elif test "$wxUSE_COCOA" = 1; then
46730 cat >>confdefs.h <<\_ACEOF
46731 #define wxUSE_WEBKIT 1
46737 if test "$wxUSE_WEBKIT" = "yes"; then
46738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46743 if test "$wxUSE_XRC" = "yes"; then
46744 if test "$wxUSE_XML" != "yes"; then
46745 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46746 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46749 cat >>confdefs.h <<\_ACEOF
46750 #define wxUSE_XRC 1
46754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46759 if test "$wxUSE_AUI" = "yes"; then
46760 cat >>confdefs.h <<\_ACEOF
46761 #define wxUSE_AUI 1
46765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46769 if test "$wxUSE_PROPGRID" = "yes"; then
46770 cat >>confdefs.h <<\_ACEOF
46771 #define wxUSE_PROPGRID 1
46775 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46779 if test "$wxUSE_RIBBON" = "yes"; then
46780 cat >>confdefs.h <<\_ACEOF
46781 #define wxUSE_RIBBON 1
46785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
46789 if test "$wxUSE_STC" = "yes"; then
46790 cat >>confdefs.h <<\_ACEOF
46791 #define wxUSE_STC 1
46795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46797 # Extract the first word of "python", so it can be a program name with args.
46798 set dummy python; ac_word=$2
46799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46801 if test "${ac_cv_path_PYTHON+set}" = set; then
46802 echo $ECHO_N "(cached) $ECHO_C" >&6
46806 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46810 for as_dir in $PATH
46813 test -z "$as_dir" && as_dir=.
46814 for ac_exec_ext in '' $ac_executable_extensions; do
46815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46816 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46827 PYTHON=$ac_cv_path_PYTHON
46828 if test -n "$PYTHON"; then
46829 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46830 echo "${ECHO_T}$PYTHON" >&6; }
46832 { echo "$as_me:$LINENO: result: no" >&5
46833 echo "${ECHO_T}no" >&6; }
46837 if test "x$PYTHON" = "x"; then
46843 if test "$wxUSE_MENUS" = "yes"; then
46844 cat >>confdefs.h <<\_ACEOF
46845 #define wxUSE_MENUS 1
46848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46851 if test "$wxUSE_METAFILE" = "yes"; then
46852 cat >>confdefs.h <<\_ACEOF
46853 #define wxUSE_METAFILE 1
46858 if test "$wxUSE_MIMETYPE" = "yes"; then
46859 cat >>confdefs.h <<\_ACEOF
46860 #define wxUSE_MIMETYPE 1
46865 if test "$wxUSE_MINIFRAME" = "yes"; then
46866 cat >>confdefs.h <<\_ACEOF
46867 #define wxUSE_MINIFRAME 1
46872 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46873 cat >>confdefs.h <<\_ACEOF
46874 #define wxUSE_SYSTEM_OPTIONS 1
46879 if test "$wxUSE_TASKBARICON" = "yes"; then
46880 cat >>confdefs.h <<\_ACEOF
46881 #define wxUSE_TASKBARICON 1
46884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46888 if test "$wxUSE_VALIDATORS" = "yes"; then
46889 cat >>confdefs.h <<\_ACEOF
46890 #define wxUSE_VALIDATORS 1
46893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46896 if test "$wxUSE_PALETTE" = "yes" ; then
46897 if test "$wxUSE_DFB" = 1; then
46898 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46899 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46902 cat >>confdefs.h <<\_ACEOF
46903 #define wxUSE_PALETTE 1
46909 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46910 LIBS=" -lunicows $LIBS"
46914 if test "$wxUSE_RICHTEXT" = "yes"; then
46915 cat >>confdefs.h <<\_ACEOF
46916 #define wxUSE_RICHTEXT 1
46920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46924 if test "$wxUSE_IMAGE" = "yes" ; then
46925 cat >>confdefs.h <<\_ACEOF
46926 #define wxUSE_IMAGE 1
46930 if test "$wxUSE_GIF" = "yes" ; then
46931 cat >>confdefs.h <<\_ACEOF
46932 #define wxUSE_GIF 1
46937 if test "$wxUSE_PCX" = "yes" ; then
46938 cat >>confdefs.h <<\_ACEOF
46939 #define wxUSE_PCX 1
46944 if test "$wxUSE_TGA" = "yes" ; then
46945 cat >>confdefs.h <<\_ACEOF
46946 #define wxUSE_TGA 1
46951 if test "$wxUSE_IFF" = "yes" ; then
46952 cat >>confdefs.h <<\_ACEOF
46953 #define wxUSE_IFF 1
46958 if test "$wxUSE_PNM" = "yes" ; then
46959 cat >>confdefs.h <<\_ACEOF
46960 #define wxUSE_PNM 1
46965 if test "$wxUSE_XPM" = "yes" ; then
46966 cat >>confdefs.h <<\_ACEOF
46967 #define wxUSE_XPM 1
46972 if test "$wxUSE_ICO_CUR" = "yes" ; then
46973 cat >>confdefs.h <<\_ACEOF
46974 #define wxUSE_ICO_CUR 1
46981 if test "$wxUSE_ABOUTDLG" = "yes"; then
46982 cat >>confdefs.h <<\_ACEOF
46983 #define wxUSE_ABOUTDLG 1
46988 if test "$wxUSE_CHOICEDLG" = "yes"; then
46989 cat >>confdefs.h <<\_ACEOF
46990 #define wxUSE_CHOICEDLG 1
46995 if test "$wxUSE_COLOURDLG" = "yes"; then
46996 cat >>confdefs.h <<\_ACEOF
46997 #define wxUSE_COLOURDLG 1
47002 if test "$wxUSE_FILEDLG" = "yes"; then
47003 cat >>confdefs.h <<\_ACEOF
47004 #define wxUSE_FILEDLG 1
47009 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47010 cat >>confdefs.h <<\_ACEOF
47011 #define wxUSE_FINDREPLDLG 1
47016 if test "$wxUSE_FONTDLG" = "yes"; then
47017 cat >>confdefs.h <<\_ACEOF
47018 #define wxUSE_FONTDLG 1
47023 if test "$wxUSE_DIRDLG" = "yes"; then
47024 if test "$wxUSE_TREECTRL" != "yes"; then
47025 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47026 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47028 cat >>confdefs.h <<\_ACEOF
47029 #define wxUSE_DIRDLG 1
47035 if test "$wxUSE_MSGDLG" = "yes"; then
47036 cat >>confdefs.h <<\_ACEOF
47037 #define wxUSE_MSGDLG 1
47042 if test "$wxUSE_NUMBERDLG" = "yes"; then
47043 cat >>confdefs.h <<\_ACEOF
47044 #define wxUSE_NUMBERDLG 1
47049 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47050 cat >>confdefs.h <<\_ACEOF
47051 #define wxUSE_PROGRESSDLG 1
47056 if test "$wxUSE_SPLASH" = "yes"; then
47057 cat >>confdefs.h <<\_ACEOF
47058 #define wxUSE_SPLASH 1
47061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47064 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47065 cat >>confdefs.h <<\_ACEOF
47066 #define wxUSE_STARTUP_TIPS 1
47071 if test "$wxUSE_TEXTDLG" = "yes"; then
47072 cat >>confdefs.h <<\_ACEOF
47073 #define wxUSE_TEXTDLG 1
47078 if test "$wxUSE_WIZARDDLG" = "yes"; then
47079 cat >>confdefs.h <<\_ACEOF
47080 #define wxUSE_WIZARDDLG 1
47083 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47087 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
47088 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
47089 cat >>confdefs.h <<\_ACEOF
47090 #define wxUSE_OWNER_DRAWN 1
47097 if test "$wxUSE_MSW" = 1 ; then
47099 if test "$wxUSE_DC_CACHEING" = "yes"; then
47100 cat >>confdefs.h <<\_ACEOF
47101 #define wxUSE_DC_CACHEING 1
47106 if test "$wxUSE_DIB" = "yes"; then
47107 cat >>confdefs.h <<\_ACEOF
47108 #define wxUSE_WXDIB 1
47113 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
47114 cat >>confdefs.h <<\_ACEOF
47115 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
47120 if test "$wxUSE_UXTHEME" = "yes"; then
47121 cat >>confdefs.h <<\_ACEOF
47122 #define wxUSE_UXTHEME 1
47129 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
47130 cat >>confdefs.h <<\_ACEOF
47131 #define wxUSE_AUTOID_MANAGEMENT 1
47136 if test "$USE_WIN32" = 1 ; then
47137 if test "$wxUSE_INICONF" = "yes"; then
47138 cat >>confdefs.h <<\_ACEOF
47139 #define wxUSE_INICONF 1
47144 if test "$wxUSE_REGKEY" = "yes"; then
47145 cat >>confdefs.h <<\_ACEOF
47146 #define wxUSE_REGKEY 1
47153 if test "$wxUSE_MAC" = 1; then
47154 wxUSE_GRAPHICS_CONTEXT="yes"
47157 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47159 if test "$wxUSE_MSW" = 1; then
47160 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
47161 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
47162 if test "${wx_cv_lib_gdiplus+set}" = set; then
47163 echo $ECHO_N "(cached) $ECHO_C" >&6
47167 ac_cpp='$CXXCPP $CPPFLAGS'
47168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47172 cat >conftest.$ac_ext <<_ACEOF
47175 cat confdefs.h >>conftest.$ac_ext
47176 cat >>conftest.$ac_ext <<_ACEOF
47177 /* end confdefs.h. */
47178 #include <gdiplus.h>
47183 using namespace Gdiplus;
47189 rm -f conftest.$ac_objext
47190 if { (ac_try="$ac_compile"
47191 case "(($ac_try" in
47192 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47193 *) ac_try_echo
=$ac_try;;
47195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47196 (eval "$ac_compile") 2>conftest.er1
47198 grep -v '^ *+' conftest.er1
>conftest.err
47200 cat conftest.err
>&5
47201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47202 (exit $ac_status); } && {
47203 test -z "$ac_cxx_werror_flag" ||
47204 test ! -s conftest.err
47205 } && test -s conftest.
$ac_objext; then
47206 wx_cv_lib_gdiplus
=yes
47208 echo "$as_me: failed program was:" >&5
47209 sed 's/^/| /' conftest.
$ac_ext >&5
47211 wx_cv_lib_gdiplus
=no
47215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47217 ac_cpp
='$CPP $CPPFLAGS'
47218 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47219 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47220 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47225 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
47226 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
47227 if test "$wx_cv_lib_gdiplus" = "yes"; then
47230 elif test "$wxUSE_GTK" = 1; then
47233 { echo "$as_me:$LINENO: checking for CAIRO" >&5
47234 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
47236 if test -n "$PKG_CONFIG"; then
47237 if test -n "$CAIRO_CFLAGS"; then
47238 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
47240 if test -n "$PKG_CONFIG" && \
47241 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47242 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47245 (exit $ac_status); }; then
47246 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47254 if test -n "$PKG_CONFIG"; then
47255 if test -n "$CAIRO_LIBS"; then
47256 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
47258 if test -n "$PKG_CONFIG" && \
47259 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47260 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47263 (exit $ac_status); }; then
47264 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47275 if test $pkg_failed = yes; then
47277 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47278 _pkg_short_errors_supported
=yes
47280 _pkg_short_errors_supported
=no
47282 if test $_pkg_short_errors_supported = yes; then
47283 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47285 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47287 # Put the nasty error message in config.log where it belongs
47288 echo "$CAIRO_PKG_ERRORS" >&5
47290 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47291 echo "$as_me: WARNING: Cairo library not found" >&2;}
47293 elif test $pkg_failed = untried
; then
47294 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
47295 echo "$as_me: WARNING: Cairo library not found" >&2;}
47298 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
47299 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
47300 { echo "$as_me:$LINENO: result: yes" >&5
47301 echo "${ECHO_T}yes" >&6; }
47308 if test "$wx_has_graphics" = 1; then
47309 cat >>confdefs.h
<<\_ACEOF
47310 #define wxUSE_GRAPHICS_CONTEXT 1
47314 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
47315 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
47322 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
47325 if test "$wxUSE_GTK" = 1; then
47326 wxUSE_GSTREAMER
="no"
47328 GST_VERSION_MAJOR
=0
47329 GST_VERSION_MINOR
=10
47330 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47332 if test "$wxUSE_GSTREAMER8" = "no"; then
47335 { echo "$as_me:$LINENO: checking for GST" >&5
47336 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47338 if test -n "$PKG_CONFIG"; then
47339 if test -n "$GST_CFLAGS"; then
47340 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47342 if test -n "$PKG_CONFIG" && \
47343 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47344 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47347 (exit $ac_status); }; then
47348 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47356 if test -n "$PKG_CONFIG"; then
47357 if test -n "$GST_LIBS"; then
47358 pkg_cv_GST_LIBS
="$GST_LIBS"
47360 if test -n "$PKG_CONFIG" && \
47361 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47362 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47365 (exit $ac_status); }; then
47366 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47377 if test $pkg_failed = yes; then
47379 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47380 _pkg_short_errors_supported
=yes
47382 _pkg_short_errors_supported
=no
47384 if test $_pkg_short_errors_supported = yes; then
47385 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47387 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47389 # Put the nasty error message in config.log where it belongs
47390 echo "$GST_PKG_ERRORS" >&5
47393 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47394 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47395 GST_VERSION_MINOR
=8
47398 elif test $pkg_failed = untried
; then
47400 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47401 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47402 GST_VERSION_MINOR
=8
47406 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47407 GST_LIBS
=$pkg_cv_GST_LIBS
47408 { echo "$as_me:$LINENO: result: yes" >&5
47409 echo "${ECHO_T}yes" >&6; }
47411 wxUSE_GSTREAMER
="yes"
47412 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47416 GST_VERSION_MINOR
=8
47419 if test $GST_VERSION_MINOR = "8"; then
47420 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
47423 { echo "$as_me:$LINENO: checking for GST" >&5
47424 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47426 if test -n "$PKG_CONFIG"; then
47427 if test -n "$GST_CFLAGS"; then
47428 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
47430 if test -n "$PKG_CONFIG" && \
47431 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47432 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47435 (exit $ac_status); }; then
47436 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47444 if test -n "$PKG_CONFIG"; then
47445 if test -n "$GST_LIBS"; then
47446 pkg_cv_GST_LIBS
="$GST_LIBS"
47448 if test -n "$PKG_CONFIG" && \
47449 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47450 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47453 (exit $ac_status); }; then
47454 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47465 if test $pkg_failed = yes; then
47467 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47468 _pkg_short_errors_supported
=yes
47470 _pkg_short_errors_supported
=no
47472 if test $_pkg_short_errors_supported = yes; then
47473 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47475 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47477 # Put the nasty error message in config.log where it belongs
47478 echo "$GST_PKG_ERRORS" >&5
47481 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47482 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47484 elif test $pkg_failed = untried
; then
47486 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47487 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47490 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
47491 GST_LIBS
=$pkg_cv_GST_LIBS
47492 { echo "$as_me:$LINENO: result: yes" >&5
47493 echo "${ECHO_T}yes" >&6; }
47494 wxUSE_GSTREAMER
="yes"
47499 if test "$wxUSE_GSTREAMER" = "yes"; then
47500 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
47501 EXTRALIBS_MEDIA
="$GST_LIBS"
47503 cat >>confdefs.h
<<\_ACEOF
47504 #define wxUSE_GSTREAMER 1
47512 if test $USE_MEDIA = 1; then
47513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
47514 cat >>confdefs.h
<<\_ACEOF
47515 #define wxUSE_MEDIACTRL 1
47519 if test "$wxUSE_MEDIACTRL" = "yes"; then
47520 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47521 echo "$as_me: error: GStreamer not available" >&2;}
47522 { (exit 1); exit 1; }; }
47524 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47525 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47531 if test "$cross_compiling" != "no"; then
47534 OSINFO
=`uname -s -r -m`
47535 OSINFO
="\"$OSINFO\""
47538 cat >>confdefs.h
<<_ACEOF
47539 #define WXWIN_OS_DESCRIPTION $OSINFO
47544 if test "x$prefix" != "xNONE"; then
47547 wxPREFIX
=$ac_default_prefix
47550 cat >>confdefs.h
<<_ACEOF
47551 #define wxINSTALL_PREFIX "$wxPREFIX"
47557 STD_BASE_LIBS
="base"
47559 BUILT_WX_LIBS
="base"
47560 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
47562 if test "$wxUSE_SOCKETS" = "yes" ; then
47563 STD_BASE_LIBS
="net $STD_BASE_LIBS"
47564 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
47566 if test "$wxUSE_XML" = "yes" ; then
47567 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
47568 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
47571 if test "$wxUSE_GUI" = "yes"; then
47572 STD_GUI_LIBS
="adv core"
47573 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
47575 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47576 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
47577 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
47579 if test "$wxUSE_HTML" = "yes" ; then
47580 STD_GUI_LIBS
="html $STD_GUI_LIBS"
47581 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
47583 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47584 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
47586 if test "$wxUSE_OPENGL" = "yes" ; then
47587 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
47589 if test "$wxUSE_AUI" = "yes" ; then
47590 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
47592 if test "$wxUSE_PROPGRID" = "yes" ; then
47593 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
47595 if test "$wxUSE_RIBBON" = "yes" ; then
47596 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
47598 if test "$wxUSE_RICHTEXT" = "yes" ; then
47599 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
47601 if test "$wxUSE_STC" = "yes" ; then
47602 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
47604 if test "$wxUSE_XRC" = "yes" ; then
47605 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
47606 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
47617 if test "$wxUSE_MAC" = 1 ; then
47618 if test "$USE_DARWIN" = 1; then
47619 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
47622 if test "$wxUSE_COCOA" = 1 ; then
47623 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
47624 if test "$wxUSE_MEDIACTRL" = "yes"; then
47625 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
47628 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47629 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47632 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
47633 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
47635 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47637 if test "$wxUSE_GUI" = "yes"; then
47640 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47641 erase event exec font image minimal render \
47642 shaped svg taborder vscroll widgets wrapsizer"
47644 if test "$wxUSE_MONOLITHIC" != "yes"; then
47645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
47647 if test "$TOOLKIT" = "MSW"; then
47648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
47649 if test "$wxUSE_UNIVERSAL" != "yes"; then
47650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47653 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47654 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
47657 SAMPLES_SUBDIRS
="console"
47658 if test "$wxUSE_SOCKETS" = "yes" ; then
47659 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
47661 if test "$wxUSE_IPC" = "yes" ; then
47662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
47667 if test "x$INTELCC" = "xyes" ; then
47668 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
47669 elif test "$GCC" = yes ; then
47670 CWARNINGS
="-Wall -Wundef"
47673 if test "x$INTELCXX" = "xyes" ; then
47674 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47675 elif test "$GXX" = yes ; then
47676 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47677 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47678 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47679 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47680 echo $ECHO_N "(cached) $ECHO_C" >&6
47682 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
47685 ac_cpp
='$CXXCPP $CPPFLAGS'
47686 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47687 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47688 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47690 ac_save_CXXFLAGS
="$CXXFLAGS"
47691 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47692 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47693 cat >conftest.
$ac_ext <<_ACEOF
47696 cat confdefs.h
>>conftest.
$ac_ext
47697 cat >>conftest.
$ac_ext <<_ACEOF
47698 /* end confdefs.h. */
47708 rm -f conftest.
$ac_objext
47709 if { (ac_try
="$ac_compile"
47710 case "(($ac_try" in
47711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47712 *) ac_try_echo=$ac_try;;
47714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47715 (eval "$ac_compile") 2>conftest.er1
47717 grep -v '^ *+' conftest.er1 >conftest.err
47719 cat conftest.err >&5
47720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47721 (exit $ac_status); } && {
47722 test -z "$ac_cxx_werror_flag" ||
47723 test ! -s conftest.err
47724 } && test -s conftest.$ac_objext; then
47725 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47727 echo "$as_me: failed program was:" >&5
47728 sed 's/^/| /' conftest.$ac_ext >&5
47733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47735 CXXFLAGS="$ac_save_CXXFLAGS"
47737 ac_cpp='$CPP $CPPFLAGS'
47738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47744 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47745 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47746 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47750 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47751 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47752 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47755 (exit $ac_status); }
47756 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47757 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47760 (exit $ac_status); }
47761 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47767 if test "$wxUSE_MAC" = 1 ; then
47768 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
47773 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47774 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47777 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47778 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
47779 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
47782 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47783 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47784 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47785 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47786 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47788 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47791 if test "x$MWCC" = "xyes"; then
47793 CC="$CC -cwd source -I-"
47794 CXX="$CXX -cwd source -I-"
47799 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47800 EXTRALIBS_XML="$EXPAT_LINK"
47801 EXTRALIBS_HTML="$MSPACK_LINK"
47802 EXTRALIBS_MEDIA="$GST_LIBS"
47803 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47804 if test "$wxUSE_GUI" = "yes"; then
47805 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47807 if test "$wxUSE_OPENGL" = "yes"; then
47808 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47811 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47813 WXCONFIG_LIBS="$LIBS"
47815 if test "$wxUSE_REGEX" = "builtin" ; then
47816 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47818 if test "$wxUSE_EXPAT" = "builtin" ; then
47819 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47821 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47822 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47824 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47825 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47827 if test "$wxUSE_LIBPNG" = "builtin" ; then
47828 wxconfig_3rdparty="png $wxconfig_3rdparty"
47830 if test "$wxUSE_ZLIB" = "builtin" ; then
47831 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47834 for i in $wxconfig_3rdparty ; do
47835 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47839 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47842 case "$wxUNIV_THEMES" in
47844 cat >>confdefs.h <<\_ACEOF
47845 #define wxUSE_ALL_THEMES 1
47851 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47852 cat >>confdefs.h <<_ACEOF
47853 #define wxUSE_THEME_$t 1
47869 if test $wxUSE_MONOLITHIC = "yes" ; then
47875 if test $wxUSE_PLUGINS = "yes" ; then
47881 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47887 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47919 TOOLKIT_LOWERCASE=xxx
47920 if test "$TOOLKIT" = "MAC"; then
47921 TOOLKIT_LOWERCASE=osx_carbon
47923 if test "$TOOLKIT" = "OSX_CARBON"; then
47924 TOOLKIT_LOWERCASE=osx_carbon
47926 if test "$TOOLKIT" = "OSX_COCOA"; then
47927 TOOLKIT_LOWERCASE=osx_cocoa
47929 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47930 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47944 TOOLKIT_DESC="GTK+"
47945 if test "$WXGTK2" = 1; then
47946 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47947 if test "$wxUSE_GTKPRINT" = "yes" ; then
47948 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47950 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47951 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47953 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47954 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47956 if test "$wxUSE_LIBHILDON" = "yes"; then
47957 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47959 if test "$wxUSE_LIBHILDON2" = "yes"; then
47960 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47963 if test "$TOOLKIT_EXTRA" != ""; then
47964 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47970 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47974 TOOLKIT_DESC="base only"
47978 if test "$wxUSE_WINE" = "yes"; then
47979 BAKEFILE_FORCE_PLATFORM=win32
47982 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47984 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47985 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47986 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47987 echo $ECHO_N "(cached) $ECHO_C" >&6
47990 echo '#include <stdio.h>
47991 const wchar_t test_var[] = L"awidetest";' > conftest.h
47993 echo '#include "conftest.h"
47996 printf("%ls", test_var);
48000 wx_cv_gcc_pch_bug="pch not supported"
48002 if $CXX conftest.h >/dev/null 2>&1
48006 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48008 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48009 grep awidetest >/dev/null
48011 wx_cv_gcc_pch_bug=no
48013 wx_cv_gcc_pch_bug=yes
48018 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48021 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48022 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
48024 if test "$wx_cv_gcc_pch_bug" = yes; then
48035 if test "x$BAKEFILE_HOST" = "x"; then
48036 if test "x${host}" = "x" ; then
48037 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48038 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48039 { (exit 1); exit 1; }; }
48042 BAKEFILE_HOST="${host}"
48045 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48047 if test -n "$ac_tool_prefix"; then
48048 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48049 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48052 if test "${ac_cv_prog_RANLIB+set}" = set; then
48053 echo $ECHO_N "(cached) $ECHO_C" >&6
48055 if test -n "$RANLIB"; then
48056 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48059 for as_dir in $PATH
48062 test -z "$as_dir" && as_dir=.
48063 for ac_exec_ext in '' $ac_executable_extensions; do
48064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48065 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48075 RANLIB=$ac_cv_prog_RANLIB
48076 if test -n "$RANLIB"; then
48077 { echo "$as_me:$LINENO: result: $RANLIB" >&5
48078 echo "${ECHO_T}$RANLIB" >&6; }
48080 { echo "$as_me:$LINENO: result: no" >&5
48081 echo "${ECHO_T}no" >&6; }
48086 if test -z "$ac_cv_prog_RANLIB"; then
48087 ac_ct_RANLIB=$RANLIB
48088 # Extract the first word of "ranlib", so it can be a program name with args.
48089 set dummy ranlib; ac_word=$2
48090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48092 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48093 echo $ECHO_N "(cached) $ECHO_C" >&6
48095 if test -n "$ac_ct_RANLIB"; then
48096 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48099 for as_dir in $PATH
48102 test -z "$as_dir" && as_dir=.
48103 for ac_exec_ext in '' $ac_executable_extensions; do
48104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48105 ac_cv_prog_ac_ct_RANLIB="ranlib"
48106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48115 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48116 if test -n "$ac_ct_RANLIB"; then
48117 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48118 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
48120 { echo "$as_me:$LINENO: result: no" >&5
48121 echo "${ECHO_T}no" >&6; }
48124 if test "x$ac_ct_RANLIB" = x; then
48127 case $cross_compiling:$ac_tool_warned in
48129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48130 whose name does not start with the host triplet. If you think this
48131 configuration is useful to you, please write to autoconf@gnu.org." >&5
48132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48133 whose name does not start with the host triplet. If you think this
48134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48135 ac_tool_warned=yes ;;
48137 RANLIB=$ac_ct_RANLIB
48140 RANLIB="$ac_cv_prog_RANLIB"
48143 # Find a good install program. We prefer a C program (faster),
48144 # so one script is as good as another. But avoid the broken or
48145 # incompatible versions:
48146 # SysV /etc/install, /usr/sbin/install
48147 # SunOS /usr/etc/install
48148 # IRIX /sbin/install
48150 # AmigaOS /C/install, which installs bootblocks on floppy discs
48151 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48152 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48153 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48154 # OS/2's system install, which has a completely different semantic
48155 # ./install, which can be erroneously created by make from ./install.sh.
48156 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48157 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
48158 if test -z "$INSTALL"; then
48159 if test "${ac_cv_path_install+set}" = set; then
48160 echo $ECHO_N "(cached) $ECHO_C" >&6
48162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48163 for as_dir in $PATH
48166 test -z "$as_dir" && as_dir=.
48167 # Account for people who put trailing slashes in PATH elements.
48169 ./ | .// | /cC/* | \
48170 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48171 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48174 # OSF1 and SCO ODT 3.0 have their own names for install.
48175 # Don't use installbsd from OSF since it installs stuff as root
48177 for ac_prog in ginstall scoinst install; do
48178 for ac_exec_ext in '' $ac_executable_extensions; do
48179 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
48180 if test $ac_prog = install &&
48181 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48182 # AIX install. It has an incompatible calling convention.
48184 elif test $ac_prog = install &&
48185 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48186 # program-specific install script used by HP pwplus--don't use.
48189 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48202 if test "${ac_cv_path_install+set}" = set; then
48203 INSTALL=$ac_cv_path_install
48205 # As a last resort, use the slow shell script. Don't cache a
48206 # value for INSTALL within a source directory, because that will
48207 # break other packages using the cache if that directory is
48208 # removed, or if the value is a relative name.
48209 INSTALL=$ac_install_sh
48212 { echo "$as_me:$LINENO: result: $INSTALL" >&5
48213 echo "${ECHO_T}$INSTALL" >&6; }
48215 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48216 # It thinks the first close brace ends the variable substitution.
48217 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48219 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48221 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48223 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
48224 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
48226 if test "$LN_S" = "ln -s"; then
48227 { echo "$as_me:$LINENO: result: yes" >&5
48228 echo "${ECHO_T}yes" >&6; }
48230 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48231 echo "${ECHO_T}no, using $LN_S" >&6; }
48235 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48236 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48237 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48238 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48239 echo $ECHO_N "(cached) $ECHO_C" >&6
48241 cat >conftest.make <<\_ACEOF
48244 @echo '@@@%%%=$(MAKE)=@@@%%%'
48246 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48247 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
48248 *@@@%%%=?*=@@@%%%*)
48249 eval ac_cv_prog_make_${ac_make}_set=yes;;
48251 eval ac_cv_prog_make_${ac_make}_set=no;;
48253 rm -f conftest.make
48255 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48256 { echo "$as_me:$LINENO: result: yes" >&5
48257 echo "${ECHO_T}yes" >&6; }
48260 { echo "$as_me:$LINENO: result: no" >&5
48261 echo "${ECHO_T}no" >&6; }
48262 SET_MAKE="MAKE=${MAKE-make}"
48267 if test "x$SUNCXX" = "xyes"; then
48269 AROPTIONS="-xar -o"
48271 elif test "x$SGICC" = "xyes"; then
48276 if test -n "$ac_tool_prefix"; then
48277 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48278 set dummy ${ac_tool_prefix}ar; ac_word=$2
48279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48281 if test "${ac_cv_prog_AR+set}" = set; then
48282 echo $ECHO_N "(cached) $ECHO_C" >&6
48284 if test -n "$AR"; then
48285 ac_cv_prog_AR="$AR" # Let the user override the test.
48287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48288 for as_dir in $PATH
48291 test -z "$as_dir" && as_dir=.
48292 for ac_exec_ext in '' $ac_executable_extensions; do
48293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48294 ac_cv_prog_AR="${ac_tool_prefix}ar"
48295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48305 if test -n "$AR"; then
48306 { echo "$as_me:$LINENO: result: $AR" >&5
48307 echo "${ECHO_T}$AR" >&6; }
48309 { echo "$as_me:$LINENO: result: no" >&5
48310 echo "${ECHO_T}no" >&6; }
48315 if test -z "$ac_cv_prog_AR"; then
48317 # Extract the first word of "ar", so it can be a program name with args.
48318 set dummy ar; ac_word=$2
48319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48321 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48322 echo $ECHO_N "(cached) $ECHO_C" >&6
48324 if test -n "$ac_ct_AR"; then
48325 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48328 for as_dir in $PATH
48331 test -z "$as_dir" && as_dir=.
48332 for ac_exec_ext in '' $ac_executable_extensions; do
48333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48334 ac_cv_prog_ac_ct_AR="ar"
48335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48344 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48345 if test -n "$ac_ct_AR"; then
48346 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48347 echo "${ECHO_T}$ac_ct_AR" >&6; }
48349 { echo "$as_me:$LINENO: result: no" >&5
48350 echo "${ECHO_T}no" >&6; }
48353 if test "x$ac_ct_AR" = x; then
48356 case $cross_compiling:$ac_tool_warned in
48358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48359 whose name does not start with the host triplet. If you think this
48360 configuration is useful to you, please write to autoconf@gnu.org." >&5
48361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48362 whose name does not start with the host triplet. If you think this
48363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48364 ac_tool_warned=yes ;;
48369 AR="$ac_cv_prog_AR"
48376 if test -n "$ac_tool_prefix"; then
48377 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48378 set dummy ${ac_tool_prefix}strip; ac_word=$2
48379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48381 if test "${ac_cv_prog_STRIP+set}" = set; then
48382 echo $ECHO_N "(cached) $ECHO_C" >&6
48384 if test -n "$STRIP"; then
48385 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48388 for as_dir in $PATH
48391 test -z "$as_dir" && as_dir=.
48392 for ac_exec_ext in '' $ac_executable_extensions; do
48393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48394 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48404 STRIP=$ac_cv_prog_STRIP
48405 if test -n "$STRIP"; then
48406 { echo "$as_me:$LINENO: result: $STRIP" >&5
48407 echo "${ECHO_T}$STRIP" >&6; }
48409 { echo "$as_me:$LINENO: result: no" >&5
48410 echo "${ECHO_T}no" >&6; }
48415 if test -z "$ac_cv_prog_STRIP"; then
48417 # Extract the first word of "strip", so it can be a program name with args.
48418 set dummy strip; ac_word=$2
48419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48421 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48422 echo $ECHO_N "(cached) $ECHO_C" >&6
48424 if test -n "$ac_ct_STRIP"; then
48425 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48428 for as_dir in $PATH
48431 test -z "$as_dir" && as_dir=.
48432 for ac_exec_ext in '' $ac_executable_extensions; do
48433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48434 ac_cv_prog_ac_ct_STRIP="strip"
48435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48444 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48445 if test -n "$ac_ct_STRIP"; then
48446 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48447 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48449 { echo "$as_me:$LINENO: result: no" >&5
48450 echo "${ECHO_T}no" >&6; }
48453 if test "x$ac_ct_STRIP" = x; then
48456 case $cross_compiling:$ac_tool_warned in
48458 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48459 whose name does not start with the host triplet. If you think this
48460 configuration is useful to you, please write to autoconf@gnu.org." >&5
48461 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48462 whose name does not start with the host triplet. If you think this
48463 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48464 ac_tool_warned=yes ;;
48469 STRIP="$ac_cv_prog_STRIP"
48472 if test -n "$ac_tool_prefix"; then
48473 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48474 set dummy ${ac_tool_prefix}nm; ac_word=$2
48475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48477 if test "${ac_cv_prog_NM+set}" = set; then
48478 echo $ECHO_N "(cached) $ECHO_C" >&6
48480 if test -n "$NM"; then
48481 ac_cv_prog_NM="$NM" # Let the user override the test.
48483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48484 for as_dir in $PATH
48487 test -z "$as_dir" && as_dir=.
48488 for ac_exec_ext in '' $ac_executable_extensions; do
48489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48490 ac_cv_prog_NM="${ac_tool_prefix}nm"
48491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48501 if test -n "$NM"; then
48502 { echo "$as_me:$LINENO: result: $NM" >&5
48503 echo "${ECHO_T}$NM" >&6; }
48505 { echo "$as_me:$LINENO: result: no" >&5
48506 echo "${ECHO_T}no" >&6; }
48511 if test -z "$ac_cv_prog_NM"; then
48513 # Extract the first word of "nm", so it can be a program name with args.
48514 set dummy nm; ac_word=$2
48515 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48517 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48518 echo $ECHO_N "(cached) $ECHO_C" >&6
48520 if test -n "$ac_ct_NM"; then
48521 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48524 for as_dir in $PATH
48527 test -z "$as_dir" && as_dir=.
48528 for ac_exec_ext in '' $ac_executable_extensions; do
48529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48530 ac_cv_prog_ac_ct_NM="nm"
48531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48540 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48541 if test -n "$ac_ct_NM"; then
48542 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48543 echo "${ECHO_T}$ac_ct_NM" >&6; }
48545 { echo "$as_me:$LINENO: result: no" >&5
48546 echo "${ECHO_T}no" >&6; }
48549 if test "x$ac_ct_NM" = x; then
48552 case $cross_compiling:$ac_tool_warned in
48554 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48555 whose name does not start with the host triplet. If you think this
48556 configuration is useful to you, please write to autoconf@gnu.org." >&5
48557 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48558 whose name does not start with the host triplet. If you think this
48559 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48560 ac_tool_warned=yes ;;
48565 NM="$ac_cv_prog_NM"
48569 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48570 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48571 INSTALL_TEST_DIR=acbftest$$
48572 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48573 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48574 rmdir $INSTALL_TEST_DIR
48575 INSTALL_DIR='$(INSTALL) -d'
48576 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48577 echo "${ECHO_T}$INSTALL -d" >&6; }
48579 INSTALL_DIR="mkdir -p"
48580 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48581 echo "${ECHO_T}mkdir -p" >&6; }
48586 case ${BAKEFILE_HOST} in
48587 *-*-cygwin* | *-*-mingw32* )
48588 LDFLAGS_GUI="-mwindows"
48594 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48595 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48596 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48597 echo $ECHO_N "(cached) $ECHO_C" >&6
48600 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48601 egrep -s GNU > /dev/null); then
48602 bakefile_cv_prog_makeisgnu="yes"
48604 bakefile_cv_prog_makeisgnu="no"
48608 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48609 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48611 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48628 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48629 case "${BAKEFILE_HOST}" in
48636 *-pc-os2_emx | *-pc-os2-emx )
48646 powerpc-apple-macos* )
48655 case "$BAKEFILE_FORCE_PLATFORM" in
48676 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48677 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48678 { (exit 1); exit 1; }; }
48693 # Check whether --enable-omf was given.
48694 if test "${enable_omf+set}" = set; then
48695 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48699 case "${BAKEFILE_HOST}" in
48701 if test "x$GCC" = "xyes"; then
48702 CFLAGS="$CFLAGS -fno-common"
48703 CXXFLAGS="$CXXFLAGS -fno-common"
48705 if test "x$XLCC" = "xyes"; then
48706 CFLAGS="$CFLAGS -qnocommon"
48707 CXXFLAGS="$CXXFLAGS -qnocommon"
48711 *-pc-os2_emx | *-pc-os2-emx )
48712 if test "x$bk_os2_use_omf" = "xyes" ; then
48715 LDFLAGS="-Zomf $LDFLAGS"
48716 CFLAGS="-Zomf $CFLAGS"
48717 CXXFLAGS="-Zomf $CXXFLAGS"
48725 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48731 SO_SUFFIX_MODULE="so"
48736 DLLPREFIX_MODULE=""
48740 case "${BAKEFILE_HOST}" in
48745 SO_SUFFIX_MODULE="sl"
48749 SO_SUFFIX_MODULE="a"
48753 SO_SUFFIX_MODULE="dll"
48754 DLLIMP_SUFFIX="dll.a"
48761 SO_SUFFIX_MODULE="dll"
48762 DLLIMP_SUFFIX="dll.a"
48772 *-pc-os2_emx | *-pc-os2-emx )
48774 SO_SUFFIX_MODULE="dll"
48775 DLLIMP_SUFFIX=$OS2_LIBEXT
48779 LIBEXT=".$OS2_LIBEXT"
48784 SO_SUFFIX_MODULE="bundle"
48788 if test "x$DLLIMP_SUFFIX" = "x" ; then
48789 DLLIMP_SUFFIX="$SO_SUFFIX"
48804 if test "x$GCC" = "xyes"; then
48808 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48809 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48812 case "${BAKEFILE_HOST}" in
48814 if test "x$GCC" != "xyes"; then
48815 LDFLAGS="$LDFLAGS -L/usr/lib"
48817 SHARED_LD_CC="${CC} -b -o"
48818 SHARED_LD_CXX="${CXX} -b -o"
48824 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48826 elif test "x$SUNCXX" = "xyes"; then
48827 SHARED_LD_CC="${CC} -G -o"
48828 SHARED_LD_CXX="${CXX} -G -o"
48834 if test "x$SUNCXX" = xyes ; then
48835 SHARED_LD_CC="${CC} -G -o"
48836 SHARED_LD_CXX="${CXX} -G -o"
48844 cat <<EOF >shared-ld-sh
48846 #-----------------------------------------------------------------------------
48847 #-- Name: distrib/mac/shared-ld-sh
48848 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48849 #-- Author: Gilles Depeyrot
48850 #-- Copyright: (c) 2002 Gilles Depeyrot
48851 #-- Licence: any use permitted
48852 #-----------------------------------------------------------------------------
48857 linking_flag="-dynamiclib"
48858 ldargs="-r -keep_private_externs -nostdlib"
48860 if test "x${D}CXX" = "x"; then
48864 while test ${D}# -gt 0; do
48871 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48872 # collect these options and values
48873 args="${D}{args} ${D}1 ${D}2"
48878 # collect these options and values
48879 ldargs="${D}{ldargs} ${D}1 ${D}2"
48884 # collect these load args
48885 ldargs="${D}{ldargs} ${D}1"
48888 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48889 # collect these options
48890 args="${D}{args} ${D}1"
48893 -dynamiclib|-bundle)
48894 linking_flag="${D}1"
48898 echo "shared-ld: unhandled option '${D}1'"
48902 *.o | *.a | *.dylib)
48903 # collect object files
48904 objects="${D}{objects} ${D}1"
48908 echo "shared-ld: unhandled argument '${D}1'"
48919 # Link one module containing all the others
48921 if test ${D}{verbose} = 1; then
48922 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48924 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48928 # Link the shared library from the single module created, but only if the
48929 # previous command didn't fail:
48931 if test ${D}{status} = 0; then
48932 if test ${D}{verbose} = 1; then
48933 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48935 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48940 # Remove intermediate module
48942 rm -f master.${D}${D}.o
48947 chmod +x shared-ld-sh
48949 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48950 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
48953 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48954 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48955 if test "${bakefile_cv_gcc31+set}" = set; then
48956 echo $ECHO_N "(cached) $ECHO_C" >&6
48959 cat >conftest.$ac_ext <<_ACEOF
48962 cat confdefs.h >>conftest.$ac_ext
48963 cat >>conftest.$ac_ext <<_ACEOF
48964 /* end confdefs.h. */
48970 #if (__GNUC__ < 3) || \
48971 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48979 rm -f conftest.$ac_objext
48980 if { (ac_try="$ac_compile"
48981 case "(($ac_try" in
48982 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48983 *) ac_try_echo
=$ac_try;;
48985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48986 (eval "$ac_compile") 2>conftest.er1
48988 grep -v '^ *+' conftest.er1
>conftest.err
48990 cat conftest.err
>&5
48991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48992 (exit $ac_status); } && {
48993 test -z "$ac_c_werror_flag" ||
48994 test ! -s conftest.err
48995 } && test -s conftest.
$ac_objext; then
48997 bakefile_cv_gcc31
=yes
49000 echo "$as_me: failed program was:" >&5
49001 sed 's/^/| /' conftest.
$ac_ext >&5
49004 bakefile_cv_gcc31
=no
49009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49012 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49013 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
49014 if test "$bakefile_cv_gcc31" = "no"; then
49015 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49016 SHARED_LD_CXX
="$SHARED_LD_CC"
49018 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49019 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49022 if test "x$GCC" == "xyes"; then
49023 PIC_FLAG
="-dynamic -fPIC"
49025 if test "x$XLCC" = "xyes"; then
49026 PIC_FLAG
="-dynamic -DPIC"
49031 if test "x$GCC" = "xyes"; then
49034 case "${BAKEFILE_HOST}" in
49036 LD_EXPFULL
="-Wl,-bexpfull"
49040 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
49041 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
49043 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49044 set dummy makeC
++SharedLib
; ac_word
=$2
49045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49047 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49048 echo $ECHO_N "(cached) $ECHO_C" >&6
49050 if test -n "$AIX_CXX_LD"; then
49051 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
49053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49054 for as_dir
in $PATH
49057 test -z "$as_dir" && as_dir
=.
49058 for ac_exec_ext
in '' $ac_executable_extensions; do
49059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49060 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
49061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49068 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
49071 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
49072 if test -n "$AIX_CXX_LD"; then
49073 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49074 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
49076 { echo "$as_me:$LINENO: result: no" >&5
49077 echo "${ECHO_T}no" >&6; }
49081 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
49082 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
49087 SHARED_LD_CC
="${LD} -nostart -o"
49088 SHARED_LD_CXX
="${LD} -nostart -o"
49092 if test "x$GCC" != "xyes"; then
49097 *-*-cygwin* | *-*-mingw32* )
49099 SHARED_LD_CC
="\$(CC) -shared -o"
49100 SHARED_LD_CXX
="\$(CXX) -shared -o"
49104 *-pc-os2_emx | *-pc-os2-emx )
49105 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49106 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49110 cat <<EOF >dllar.sh
49113 # dllar - a tool to build both a .dll and an .a file
49114 # from a set of object (.o) files for EMX/OS2.
49116 # Written by Andrew Zabolotny, bit@freya.etu.ru
49117 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49119 # This script will accept a set of files on the command line.
49120 # All the public symbols from the .o files will be exported into
49121 # a .DEF file, then linker will be run (through gcc) against them to
49122 # build a shared library consisting of all given .o files. All libraries
49123 # (.a) will be first decompressed into component .o files then act as
49124 # described above. You can optionally give a description (-d "description")
49125 # which will be put into .DLL. To see the list of accepted options (as well
49126 # as command-line format) simply run this program without options. The .DLL
49127 # is built to be imported by name (there is no guarantee that new versions
49128 # of the library you build will have same ordinals for same symbols).
49130 # dllar is free software; you can redistribute it and/or modify
49131 # it under the terms of the GNU General Public License as published by
49132 # the Free Software Foundation; either version 2, or (at your option)
49133 # any later version.
49135 # dllar is distributed in the hope that it will be useful,
49136 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49137 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49138 # GNU General Public License for more details.
49140 # You should have received a copy of the GNU General Public License
49141 # along with dllar; see the file COPYING. If not, write to the Free
49142 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49145 # To successfuly run this program you will need:
49146 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49147 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49149 # (used to build the .dll)
49151 # (used to create .def file from .o files)
49153 # (used to create .a file from .def file)
49154 # - GNU text utilites (cat, sort, uniq)
49155 # used to process emxexp output
49156 # - GNU file utilities (mv, rm)
49158 # - lxlite (optional, see flag below)
49159 # (used for general .dll cleanup)
49166 # basnam, variant of basename, which does _not_ remove the path, _iff_
49167 # second argument (suffix to remove) is given
49171 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49174 echo ${D}1 | sed 's/'${D}2'${D}//'
49177 echo "error in basnam ${D}*"
49183 # Cleanup temporary files and output
49186 for i in ${D}inputFiles ; do
49189 rm -rf \`basnam ${D}i !\`
49196 # Kill result in case of failure as there is just to many stupid make/nmake
49197 # things out there which doesn't do this.
49198 if [ ${D}# -eq 0 ]; then
49199 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49203 # Print usage and exit script with rc=1.
49205 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49206 echo ' [-name-mangler-script script.sh]'
49207 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49208 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49209 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49210 echo ' [*.o] [*.a]'
49211 echo '*> "output_file" should have no extension.'
49212 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49213 echo ' The import library name is derived from this and is set to "name".a,'
49214 echo ' unless overridden by -import'
49215 echo '*> "importlib_name" should have no extension.'
49216 echo ' If it has the .o, or .a extension, it is automatically removed.'
49217 echo ' This name is used as the import library name and may be longer and'
49218 echo ' more descriptive than the DLL name which has to follow the old '
49219 echo ' 8.3 convention of FAT.'
49220 echo '*> "script.sh may be given to override the output_file name by a'
49221 echo ' different name. It is mainly useful if the regular make process'
49222 echo ' of some package does not take into account OS/2 restriction of'
49223 echo ' DLL name lengths. It takes the importlib name as input and is'
49224 echo ' supposed to procude a shorter name as output. The script should'
49225 echo ' expect to get importlib_name without extension and should produce'
49226 echo ' a (max.) 8 letter name without extension.'
49227 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49228 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49229 echo ' These flags will be put at the start of GCC command line.'
49230 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49231 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49232 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49233 echo ' If the last character of a symbol is "*", all symbols beginning'
49234 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49235 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49236 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49237 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49238 echo ' C runtime DLLs.'
49239 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49240 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49241 echo ' unchanged to GCC at the end of command line.'
49242 echo '*> If you create a DLL from a library and you do not specify -o,'
49243 echo ' the basename for DLL and import library will be set to library name,'
49244 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49245 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49246 echo ' library will be renamed into gcc_s.a.'
49249 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49250 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49255 # Execute a command.
49256 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49257 # @Uses Whatever CleanUp() uses.
49263 if [ ${D}rcCmd -ne 0 ]; then
49264 echo "command failed, exit code="${D}rcCmd
49279 CFLAGS="-s -Zcrtdll"
49281 EXPORT_BY_ORDINALS=0
49286 case ${D}curDirS in
49290 curDirS=${D}{curDirS}"/"
49293 # Parse commandline
49296 while [ ${D}1 ]; do
49299 EXPORT_BY_ORDINALS=1;
49309 -name-mangler-script)
49330 exclude_symbols=${D}{exclude_symbols}${D}1" "
49334 library_flags=${D}{library_flags}${D}1" "
49353 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49356 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49357 if [ ${D}omfLinking -eq 1 ]; then
49358 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49360 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49365 if [ ${D}libsToLink -ne 0 ]; then
49366 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49368 for file in ${D}1 ; do
49369 if [ -f ${D}file ]; then
49370 inputFiles="${D}{inputFiles} ${D}file"
49374 if [ ${D}found -eq 0 ]; then
49375 echo "ERROR: No file(s) found: "${D}1
49382 done # iterate cmdline words
49385 if [ -z "${D}inputFiles" ]; then
49386 echo "dllar: no input files"
49390 # Now extract all .o files from .a files
49392 for file in ${D}inputFiles ; do
49403 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49408 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49410 if [ ${D}? -ne 0 ]; then
49411 echo "Failed to create subdirectory ./${D}dirname"
49415 # Append '!' to indicate archive
49416 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49417 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49420 for subfile in ${D}dirname/*.o* ; do
49421 if [ -f ${D}subfile ]; then
49423 if [ -s ${D}subfile ]; then
49424 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49425 newInputFiles="${D}newInputFiles ${D}subfile"
49429 if [ ${D}found -eq 0 ]; then
49430 echo "WARNING: there are no files in archive \\'${D}file\\'"
49434 newInputFiles="${D}{newInputFiles} ${D}file"
49438 inputFiles="${D}newInputFiles"
49440 # Output filename(s).
49442 if [ -z ${D}outFile ]; then
49444 set outFile ${D}inputFiles; outFile=${D}2
49447 # If it is an archive, remove the '!' and the '_%' suffixes
49448 case ${D}outFile in
49450 outFile=\`basnam ${D}outFile _%!\`
49455 case ${D}outFile in
49457 outFile=\`basnam ${D}outFile .dll\`
49460 outFile=\`basnam ${D}outFile .DLL\`
49463 outFile=\`basnam ${D}outFile .o\`
49466 outFile=\`basnam ${D}outFile .obj\`
49469 outFile=\`basnam ${D}outFile .a\`
49472 outFile=\`basnam ${D}outFile .lib\`
49477 case ${D}outimpFile in
49479 outimpFile=\`basnam ${D}outimpFile .a\`
49482 outimpFile=\`basnam ${D}outimpFile .lib\`
49487 if [ -z ${D}outimpFile ]; then
49488 outimpFile=${D}outFile
49490 defFile="${D}{outFile}.def"
49491 arcFile="${D}{outimpFile}.a"
49492 arcFile2="${D}{outimpFile}.lib"
49494 #create ${D}dllFile as something matching 8.3 restrictions,
49495 if [ -z ${D}renameScript ] ; then
49496 dllFile="${D}outFile"
49498 dllFile=\`${D}renameScript ${D}outimpFile\`
49501 if [ ${D}do_backup -ne 0 ] ; then
49502 if [ -f ${D}arcFile ] ; then
49503 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49505 if [ -f ${D}arcFile2 ] ; then
49506 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49510 # Extract public symbols from all the object files.
49511 tmpdefFile=${D}{defFile}_%
49512 rm -f ${D}tmpdefFile
49513 for file in ${D}inputFiles ; do
49518 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49523 # Create the def file.
49525 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49526 dllFile="${D}{dllFile}.dll"
49527 if [ ! -z ${D}description ]; then
49528 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49530 echo "EXPORTS" >> ${D}defFile
49532 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49533 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49535 # Checks if the export is ok or not.
49536 for word in ${D}exclude_symbols; do
49537 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49538 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49542 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49543 sed "=" < ${D}tmpdefFile | \\
49547 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49549 ' > ${D}{tmpdefFile}%
49550 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49552 rm -f ${D}{tmpdefFile}%
49554 cat ${D}tmpdefFile >> ${D}defFile
49555 rm -f ${D}tmpdefFile
49557 # Do linking, create implib, and apply lxlite.
49559 for file in ${D}inputFiles ; do
49564 gccCmdl="${D}gccCmdl ${D}file"
49568 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49569 touch "${D}{outFile}.dll"
49571 doCommand "emximp -o ${D}arcFile ${D}defFile"
49572 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49574 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49577 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49579 doCommand "emxomf -s -l ${D}arcFile"
49589 powerpc
-apple-macos* | \
49590 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
49600 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49601 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49602 { (exit 1); exit 1; }; }
49605 if test "x$PIC_FLAG" != "x" ; then
49606 PIC_FLAG
="$PIC_FLAG -DPIC"
49609 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49610 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
49612 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49613 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
49628 USE_SOTWOSYMLINKS
=0
49632 case "${BAKEFILE_HOST}" in
49633 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49634 *-*-k*bsd
*-gnu | *-*-mirbsd* )
49635 if test "x$SUNCXX" = "xyes"; then
49638 SONAME_FLAG
="-Wl,-soname,"
49642 USE_SOTWOSYMLINKS
=1
49654 USE_SOTWOSYMLINKS
=1
49672 # Check whether --enable-dependency-tracking was given.
49673 if test "${enable_dependency_tracking+set}" = set; then
49674 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
49678 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49679 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49682 if test "x$bk_use_trackdeps" = "xno" ; then
49684 { echo "$as_me:$LINENO: result: disabled" >&5
49685 echo "${ECHO_T}disabled" >&6; }
49689 if test "x$GCC" = "xyes"; then
49691 case "${BAKEFILE_HOST}" in
49693 DEPSFLAG
="-no-cpp-precomp -MMD"
49699 { echo "$as_me:$LINENO: result: gcc" >&5
49700 echo "${ECHO_T}gcc" >&6; }
49701 elif test "x$MWCC" = "xyes"; then
49704 { echo "$as_me:$LINENO: result: mwcc" >&5
49705 echo "${ECHO_T}mwcc" >&6; }
49706 elif test "x$SUNCC" = "xyes"; then
49709 { echo "$as_me:$LINENO: result: Sun cc" >&5
49710 echo "${ECHO_T}Sun cc" >&6; }
49711 elif test "x$SGICC" = "xyes"; then
49714 { echo "$as_me:$LINENO: result: SGI cc" >&5
49715 echo "${ECHO_T}SGI cc" >&6; }
49716 elif test "x$HPCC" = "xyes"; then
49719 { echo "$as_me:$LINENO: result: HP cc" >&5
49720 echo "${ECHO_T}HP cc" >&6; }
49721 elif test "x$COMPAQCC" = "xyes"; then
49724 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49725 echo "${ECHO_T}Compaq cc" >&6; }
49728 { echo "$as_me:$LINENO: result: none" >&5
49729 echo "${ECHO_T}none" >&6; }
49732 if test $DEPS_TRACKING = 1 ; then
49738 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49739 # script. It is used to track C/C++ files dependencies in portable way.
49741 # Permission is given to use this file in any way.
49743 DEPSMODE=${DEPSMODE}
49744 DEPSFLAG="${DEPSFLAG}"
49747 if test ${D}DEPSMODE = gcc ; then
49748 ${D}* ${D}{DEPSFLAG}
49751 # determine location of created files:
49752 while test ${D}# -gt 0; do
49766 objfilebase=\`basename ${D}objfile\`
49767 builddir=\`dirname ${D}objfile\`
49768 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49769 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49770 depsdir=${D}builddir/${D}DEPSDIRBASE
49771 mkdir -p ${D}depsdir
49773 # if the compiler failed, we're done:
49774 if test ${D}{status} != 0 ; then
49779 # move created file to the location we want it in:
49780 if test -f ${D}depfile ; then
49781 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49784 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49785 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49786 if test ! -f ${D}depfile ; then
49787 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49788 depfile="${D}objfile.d"
49790 if test -f ${D}depfile ; then
49791 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49797 elif test ${D}DEPSMODE = mwcc ; then
49798 ${D}* || exit ${D}?
49799 # Run mwcc again with -MM and redirect into the dep file we want
49800 # NOTE: We can't use shift here because we need ${D}* to be valid
49802 for arg in ${D}* ; do
49803 if test "${D}prevarg" = "-o"; then
49817 objfilebase=\`basename ${D}objfile\`
49818 builddir=\`dirname ${D}objfile\`
49819 depsdir=${D}builddir/${D}DEPSDIRBASE
49820 mkdir -p ${D}depsdir
49822 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49825 elif test ${D}DEPSMODE = unixcc; then
49826 ${D}* || exit ${D}?
49827 # Run compiler again with deps flag and redirect into the dep file.
49828 # It doesn't work if the '-o FILE' option is used, but without it the
49829 # dependency file will contain the wrong name for the object. So it is
49830 # removed from the command line, and the dep file is fixed with sed.
49832 while test ${D}# -gt 0; do
49839 eval arg${D}#=\\${D}1
49840 cmd="${D}cmd \\${D}arg${D}#"
49846 objfilebase=\`basename ${D}objfile\`
49847 builddir=\`dirname ${D}objfile\`
49848 depsdir=${D}builddir/${D}DEPSDIRBASE
49849 mkdir -p ${D}depsdir
49851 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49861 BK_DEPS
="`pwd`/bk-deps"
49869 case ${BAKEFILE_HOST} in
49870 *-*-cygwin* | *-*-mingw32* )
49871 if test -n "$ac_tool_prefix"; then
49872 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49873 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
49874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49876 if test "${ac_cv_prog_WINDRES+set}" = set; then
49877 echo $ECHO_N "(cached) $ECHO_C" >&6
49879 if test -n "$WINDRES"; then
49880 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
49882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49883 for as_dir
in $PATH
49886 test -z "$as_dir" && as_dir
=.
49887 for ac_exec_ext
in '' $ac_executable_extensions; do
49888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49889 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
49890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49899 WINDRES
=$ac_cv_prog_WINDRES
49900 if test -n "$WINDRES"; then
49901 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49902 echo "${ECHO_T}$WINDRES" >&6; }
49904 { echo "$as_me:$LINENO: result: no" >&5
49905 echo "${ECHO_T}no" >&6; }
49910 if test -z "$ac_cv_prog_WINDRES"; then
49911 ac_ct_WINDRES
=$WINDRES
49912 # Extract the first word of "windres", so it can be a program name with args.
49913 set dummy windres
; ac_word
=$2
49914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49916 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49917 echo $ECHO_N "(cached) $ECHO_C" >&6
49919 if test -n "$ac_ct_WINDRES"; then
49920 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
49922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49923 for as_dir
in $PATH
49926 test -z "$as_dir" && as_dir
=.
49927 for ac_exec_ext
in '' $ac_executable_extensions; do
49928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49929 ac_cv_prog_ac_ct_WINDRES
="windres"
49930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49939 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
49940 if test -n "$ac_ct_WINDRES"; then
49941 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49942 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49944 { echo "$as_me:$LINENO: result: no" >&5
49945 echo "${ECHO_T}no" >&6; }
49948 if test "x$ac_ct_WINDRES" = x
; then
49951 case $cross_compiling:$ac_tool_warned in
49953 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49954 whose name does not start with the host triplet. If you think this
49955 configuration is useful to you, please write to autoconf@gnu.org." >&5
49956 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49957 whose name does not start with the host triplet. If you think this
49958 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49959 ac_tool_warned
=yes ;;
49961 WINDRES
=$ac_ct_WINDRES
49964 WINDRES
="$ac_cv_prog_WINDRES"
49969 *-*-darwin* | powerpc
-apple-macos* )
49970 # Extract the first word of "Rez", so it can be a program name with args.
49971 set dummy Rez
; ac_word
=$2
49972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49974 if test "${ac_cv_prog_REZ+set}" = set; then
49975 echo $ECHO_N "(cached) $ECHO_C" >&6
49977 if test -n "$REZ"; then
49978 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
49980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
49981 for as_dir
in $PATH
49984 test -z "$as_dir" && as_dir
=.
49985 for ac_exec_ext
in '' $ac_executable_extensions; do
49986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49987 ac_cv_prog_REZ
="Rez"
49988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49995 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
49998 REZ
=$ac_cv_prog_REZ
49999 if test -n "$REZ"; then
50000 { echo "$as_me:$LINENO: result: $REZ" >&5
50001 echo "${ECHO_T}$REZ" >&6; }
50003 { echo "$as_me:$LINENO: result: no" >&5
50004 echo "${ECHO_T}no" >&6; }
50008 # Extract the first word of "SetFile", so it can be a program name with args.
50009 set dummy SetFile
; ac_word
=$2
50010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50012 if test "${ac_cv_prog_SETFILE+set}" = set; then
50013 echo $ECHO_N "(cached) $ECHO_C" >&6
50015 if test -n "$SETFILE"; then
50016 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
50018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50019 for as_dir
in $PATH
50022 test -z "$as_dir" && as_dir
=.
50023 for ac_exec_ext
in '' $ac_executable_extensions; do
50024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50025 ac_cv_prog_SETFILE
="SetFile"
50026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50033 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
50036 SETFILE
=$ac_cv_prog_SETFILE
50037 if test -n "$SETFILE"; then
50038 { echo "$as_me:$LINENO: result: $SETFILE" >&5
50039 echo "${ECHO_T}$SETFILE" >&6; }
50041 { echo "$as_me:$LINENO: result: no" >&5
50042 echo "${ECHO_T}no" >&6; }
50057 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.8"
50060 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.8"
50064 # Check whether --enable-precomp-headers was given.
50065 if test "${enable_precomp_headers+set}" = set; then
50066 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
50075 case ${BAKEFILE_HOST} in
50081 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50082 if test "x$GCC" = "xyes"; then
50083 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50084 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
50085 cat >conftest.
$ac_ext <<_ACEOF
50088 cat confdefs.h
>>conftest.
$ac_ext
50089 cat >>conftest.
$ac_ext <<_ACEOF
50090 /* end confdefs.h. */
50096 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50097 There is no PCH support
50100 There is no PCH support
50102 #if (__GNUC__ == 3) && \
50103 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50104 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50105 ( defined(__INTEL_COMPILER) )
50106 There is no PCH support
50113 rm -f conftest.
$ac_objext
50114 if { (ac_try
="$ac_compile"
50115 case "(($ac_try" in
50116 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50117 *) ac_try_echo=$ac_try;;
50119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50120 (eval "$ac_compile") 2>conftest.er1
50122 grep -v '^ *+' conftest.er1 >conftest.err
50124 cat conftest.err >&5
50125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50126 (exit $ac_status); } && {
50127 test -z "$ac_c_werror_flag" ||
50128 test ! -s conftest.err
50129 } && test -s conftest.$ac_objext; then
50131 { echo "$as_me:$LINENO: result: yes" >&5
50132 echo "${ECHO_T}yes" >&6; }
50136 echo "$as_me: failed program was:" >&5
50137 sed 's/^/| /' conftest.$ac_ext >&5
50140 if test "$INTELCXX8" = "yes"; then
50141 { echo "$as_me:$LINENO: result: yes" >&5
50142 echo "${ECHO_T}yes" >&6; }
50144 if test "$INTELCXX10" = "yes"; then
50145 ICC_PCH_CREATE_SWITCH="-pch-create"
50146 ICC_PCH_USE_SWITCH="-pch-use"
50148 ICC_PCH_CREATE_SWITCH="-create-pch"
50149 ICC_PCH_USE_SWITCH="-use-pch"
50152 { echo "$as_me:$LINENO: result: no" >&5
50153 echo "${ECHO_T}no" >&6; }
50158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50159 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50163 cat <<EOF >bk-make-pch
50166 # This script is part of Bakefile (http://www.bakefile.org) autoconf
50167 # script. It is used to generated precompiled headers.
50169 # Permission is given to use this file in any way.
50176 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
50181 while test ${D}{#} -gt 0; do
50185 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
50186 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50187 headerfile="${D}{incdir}/${D}{header}"
50190 -use-pch|-use_pch|-pch-use )
50195 if test ${D}add_to_cmdline = 1 ; then
50196 compiler="${D}{compiler} ${D}{1}"
50201 if test "x${D}{headerfile}" = "x" ; then
50202 echo "error: can't find header ${D}{header} in include paths" >&2
50204 if test -f ${D}{outfile} ; then
50205 rm -f ${D}{outfile}
50207 mkdir -p \`dirname ${D}{outfile
}\
`
50209 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
50210 mkdir -p ${D}{builddir}/.deps
50211 if test "x${GCC_PCH}" = "x1" ; then
50212 # can do this because gcc is >= 3.4:
50213 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50214 elif test "x${ICC_PCH}" = "x1" ; then
50215 filename=pch_gen-${D}${D}
50216 file=${D}{filename}.c
50217 dfile=${D}{filename}.d
50218 cat > ${D}file <<EOT
50219 #include "${D}header"
50221 # using -MF icc complains about differing command lines in creation/use
50222 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
50223 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50224 rm -f ${D}file ${D}dfile ${D}{filename}.o
50230 chmod +x bk-make-pch
50231 BK_MAKE_PCH="`pwd`/bk-make-pch"
50242 COND_BUILD_DEBUG="#"
50243 if test "x$BUILD" = "xdebug" ; then
50244 COND_BUILD_DEBUG=""
50247 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50248 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50249 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50252 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50253 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50254 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50257 COND_BUILD_DEBUG_UNICODE_0="#"
50258 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50259 COND_BUILD_DEBUG_UNICODE_0=""
50262 COND_BUILD_DEBUG_UNICODE_1="#"
50263 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50264 COND_BUILD_DEBUG_UNICODE_1=""
50267 COND_BUILD_RELEASE="#"
50268 if test "x$BUILD" = "xrelease" ; then
50269 COND_BUILD_RELEASE=""
50272 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50273 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50274 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50277 COND_BUILD_RELEASE_UNICODE_0="#"
50278 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50279 COND_BUILD_RELEASE_UNICODE_0=""
50282 COND_BUILD_RELEASE_UNICODE_1="#"
50283 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50284 COND_BUILD_RELEASE_UNICODE_1=""
50287 COND_BUILD_debug="#"
50288 if test "x$BUILD" = "xdebug" ; then
50289 COND_BUILD_debug=""
50292 COND_BUILD_debug_DEBUG_FLAG_default="#"
50293 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50294 COND_BUILD_debug_DEBUG_FLAG_default=""
50297 COND_BUILD_debug_DEBUG_INFO_default="#"
50298 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50299 COND_BUILD_debug_DEBUG_INFO_default=""
50302 COND_BUILD_debug_UNICODE_0="#"
50303 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50304 COND_BUILD_debug_UNICODE_0=""
50307 COND_BUILD_debug_UNICODE_1="#"
50308 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50309 COND_BUILD_debug_UNICODE_1=""
50312 COND_BUILD_release="#"
50313 if test "x$BUILD" = "xrelease" ; then
50314 COND_BUILD_release=""
50317 COND_BUILD_release_DEBUG_INFO_default="#"
50318 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50319 COND_BUILD_release_DEBUG_INFO_default=""
50322 COND_BUILD_release_UNICODE_0="#"
50323 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50324 COND_BUILD_release_UNICODE_0=""
50327 COND_BUILD_release_UNICODE_1="#"
50328 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50329 COND_BUILD_release_UNICODE_1=""
50332 COND_DEBUG_FLAG_0="#"
50333 if test "x$DEBUG_FLAG" = "x0" ; then
50334 COND_DEBUG_FLAG_0=""
50337 COND_DEBUG_FLAG_1="#"
50338 if test "x$DEBUG_FLAG" = "x1" ; then
50339 COND_DEBUG_FLAG_1=""
50342 COND_DEBUG_INFO_0="#"
50343 if test "x$DEBUG_INFO" = "x0" ; then
50344 COND_DEBUG_INFO_0=""
50347 COND_DEBUG_INFO_1="#"
50348 if test "x$DEBUG_INFO" = "x1" ; then
50349 COND_DEBUG_INFO_1=""
50352 COND_DEPS_TRACKING_0="#"
50353 if test "x$DEPS_TRACKING" = "x0" ; then
50354 COND_DEPS_TRACKING_0=""
50357 COND_DEPS_TRACKING_1="#"
50358 if test "x$DEPS_TRACKING" = "x1" ; then
50359 COND_DEPS_TRACKING_1=""
50363 if test "x$GCC_PCH" = "x1" ; then
50368 if test "x$ICC_PCH" = "x1" ; then
50372 COND_MONOLITHIC_0="#"
50373 if test "x$MONOLITHIC" = "x0" ; then
50374 COND_MONOLITHIC_0=""
50377 COND_MONOLITHIC_0_SHARED_0="#"
50378 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50379 COND_MONOLITHIC_0_SHARED_0=""
50382 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50383 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50384 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50387 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50388 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50389 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50392 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50393 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50394 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50397 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50398 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50399 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50402 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50403 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50404 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50407 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
50408 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50409 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
50412 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
50413 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50414 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
50417 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50418 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50419 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50422 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50423 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50424 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50427 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50428 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50429 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50432 COND_MONOLITHIC_0_SHARED_1="#"
50433 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50434 COND_MONOLITHIC_0_SHARED_1=""
50437 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50438 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50439 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50442 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50443 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50444 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50447 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50448 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50449 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50452 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50453 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50454 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50457 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50458 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50459 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50462 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50463 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50464 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50467 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
50468 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
50469 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
50472 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50473 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50474 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50477 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50478 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50479 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50482 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50483 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50484 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50487 COND_MONOLITHIC_0_USE_AUI_1="#"
50488 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50489 COND_MONOLITHIC_0_USE_AUI_1=""
50492 COND_MONOLITHIC_0_USE_GUI_1="#"
50493 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50494 COND_MONOLITHIC_0_USE_GUI_1=""
50497 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50498 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50499 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50502 COND_MONOLITHIC_0_USE_HTML_1="#"
50503 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50504 COND_MONOLITHIC_0_USE_HTML_1=""
50507 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50508 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50509 COND_MONOLITHIC_0_USE_MEDIA_1=""
50512 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50513 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50514 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50517 COND_MONOLITHIC_0_USE_QA_1="#"
50518 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50519 COND_MONOLITHIC_0_USE_QA_1=""
50522 COND_MONOLITHIC_0_USE_RIBBON_1="#"
50523 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
50524 COND_MONOLITHIC_0_USE_RIBBON_1=""
50527 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50528 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50529 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50532 COND_MONOLITHIC_0_USE_STC_1="#"
50533 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50534 COND_MONOLITHIC_0_USE_STC_1=""
50537 COND_MONOLITHIC_0_USE_XRC_1="#"
50538 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50539 COND_MONOLITHIC_0_USE_XRC_1=""
50542 COND_MONOLITHIC_1="#"
50543 if test "x$MONOLITHIC" = "x1" ; then
50544 COND_MONOLITHIC_1=""
50547 COND_MONOLITHIC_1_SHARED_0="#"
50548 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50549 COND_MONOLITHIC_1_SHARED_0=""
50552 COND_MONOLITHIC_1_SHARED_1="#"
50553 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50554 COND_MONOLITHIC_1_SHARED_1=""
50557 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50558 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50559 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50562 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50563 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50564 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50567 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50568 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50569 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50572 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50573 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50574 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50577 COND_PLATFORM_MACOSX_1="#"
50578 if test "x$PLATFORM_MACOSX" = "x1" ; then
50579 COND_PLATFORM_MACOSX_1=""
50582 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50583 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50584 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50587 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50588 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50589 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50592 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50593 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50594 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50597 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50598 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50599 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50602 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50603 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50604 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50607 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50608 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50609 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50612 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50613 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50614 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50617 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50618 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50619 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50622 COND_PLATFORM_MACOS_1="#"
50623 if test "x$PLATFORM_MACOS" = "x1" ; then
50624 COND_PLATFORM_MACOS_1=""
50627 COND_PLATFORM_MAC_0="#"
50628 if test "x$PLATFORM_MAC" = "x0" ; then
50629 COND_PLATFORM_MAC_0=""
50632 COND_PLATFORM_MAC_1="#"
50633 if test "x$PLATFORM_MAC" = "x1" ; then
50634 COND_PLATFORM_MAC_1=""
50637 COND_PLATFORM_MSDOS_0="#"
50638 if test "x$PLATFORM_MSDOS" = "x0" ; then
50639 COND_PLATFORM_MSDOS_0=""
50642 COND_PLATFORM_MSDOS_1="#"
50643 if test "x$PLATFORM_MSDOS" = "x1" ; then
50644 COND_PLATFORM_MSDOS_1=""
50647 COND_PLATFORM_OS2_1="#"
50648 if test "x$PLATFORM_OS2" = "x1" ; then
50649 COND_PLATFORM_OS2_1=""
50652 COND_PLATFORM_UNIX_0="#"
50653 if test "x$PLATFORM_UNIX" = "x0" ; then
50654 COND_PLATFORM_UNIX_0=""
50657 COND_PLATFORM_UNIX_1="#"
50658 if test "x$PLATFORM_UNIX" = "x1" ; then
50659 COND_PLATFORM_UNIX_1=""
50662 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50663 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50664 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50667 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50668 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50669 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50672 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50673 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50674 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50677 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50678 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50679 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50682 COND_PLATFORM_WIN32_0="#"
50683 if test "x$PLATFORM_WIN32" = "x0" ; then
50684 COND_PLATFORM_WIN32_0=""
50687 COND_PLATFORM_WIN32_1="#"
50688 if test "x$PLATFORM_WIN32" = "x1" ; then
50689 COND_PLATFORM_WIN32_1=""
50693 if test "x$SHARED" = "x0" ; then
50697 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50698 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50699 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50702 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50703 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50704 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50707 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50708 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50709 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50712 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50713 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50714 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50717 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50718 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50719 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50722 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50723 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50724 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50727 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50728 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50729 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50732 COND_SHARED_0_USE_STC_1="#"
50733 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50734 COND_SHARED_0_USE_STC_1=""
50737 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50738 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50739 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50742 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50743 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50744 COND_SHARED_0_wxUSE_REGEX_builtin=""
50747 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50748 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50749 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50753 if test "x$SHARED" = "x1" ; then
50757 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50758 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50759 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50763 if test "x$TOOLKIT" = "x" ; then
50767 COND_TOOLKIT_COCOA="#"
50768 if test "x$TOOLKIT" = "xCOCOA" ; then
50769 COND_TOOLKIT_COCOA=""
50772 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50773 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50774 COND_TOOLKIT_COCOA_USE_GUI_1=""
50777 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50778 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50779 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50782 COND_TOOLKIT_DFB="#"
50783 if test "x$TOOLKIT" = "xDFB" ; then
50784 COND_TOOLKIT_DFB=""
50787 COND_TOOLKIT_DFB_USE_GUI_1="#"
50788 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50789 COND_TOOLKIT_DFB_USE_GUI_1=""
50792 COND_TOOLKIT_GTK="#"
50793 if test "x$TOOLKIT" = "xGTK" ; then
50794 COND_TOOLKIT_GTK=""
50797 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50798 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50799 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50802 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50803 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50804 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50807 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50808 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50809 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50812 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50813 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50814 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50817 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50818 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50819 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50822 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50823 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50824 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50827 COND_TOOLKIT_GTK_USE_GUI_1="#"
50828 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50829 COND_TOOLKIT_GTK_USE_GUI_1=""
50832 COND_TOOLKIT_MAC="#"
50833 if test "x$TOOLKIT" = "xMAC" ; then
50834 COND_TOOLKIT_MAC=""
50837 COND_TOOLKIT_MGL="#"
50838 if test "x$TOOLKIT" = "xMGL" ; then
50839 COND_TOOLKIT_MGL=""
50842 COND_TOOLKIT_MGL_USE_GUI_1="#"
50843 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50844 COND_TOOLKIT_MGL_USE_GUI_1=""
50847 COND_TOOLKIT_MOTIF="#"
50848 if test "x$TOOLKIT" = "xMOTIF" ; then
50849 COND_TOOLKIT_MOTIF=""
50852 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50853 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50854 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50857 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50858 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50859 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50862 COND_TOOLKIT_MSW="#"
50863 if test "x$TOOLKIT" = "xMSW" ; then
50864 COND_TOOLKIT_MSW=""
50867 COND_TOOLKIT_MSW_USE_GUI_1="#"
50868 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50869 COND_TOOLKIT_MSW_USE_GUI_1=""
50872 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50873 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50874 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50877 COND_TOOLKIT_MSW_WXUNIV_0="#"
50878 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50879 COND_TOOLKIT_MSW_WXUNIV_0=""
50882 COND_TOOLKIT_OSX_CARBON="#"
50883 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50884 COND_TOOLKIT_OSX_CARBON=""
50887 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50888 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50889 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50892 COND_TOOLKIT_OSX_COCOA="#"
50893 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50894 COND_TOOLKIT_OSX_COCOA=""
50897 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50898 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50899 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50902 COND_TOOLKIT_OSX_IPHONE="#"
50903 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50904 COND_TOOLKIT_OSX_IPHONE=""
50907 COND_TOOLKIT_PM="#"
50908 if test "x$TOOLKIT" = "xPM" ; then
50912 COND_TOOLKIT_PM_USE_GUI_1="#"
50913 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50914 COND_TOOLKIT_PM_USE_GUI_1=""
50917 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50918 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50919 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50922 COND_TOOLKIT_WINCE="#"
50923 if test "x$TOOLKIT" = "xWINCE" ; then
50924 COND_TOOLKIT_WINCE=""
50927 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50928 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50929 COND_TOOLKIT_WINCE_USE_GUI_1=""
50932 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50933 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50934 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50937 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50938 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50939 COND_TOOLKIT_WINCE_WXUNIV_0=""
50942 COND_TOOLKIT_X11="#"
50943 if test "x$TOOLKIT" = "xX11" ; then
50944 COND_TOOLKIT_X11=""
50947 COND_TOOLKIT_X11_USE_GUI_1="#"
50948 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50949 COND_TOOLKIT_X11_USE_GUI_1=""
50953 if test "x$UNICODE" = "x1" ; then
50957 COND_USE_CAIRO_1="#"
50958 if test "x$USE_CAIRO" = "x1" ; then
50959 COND_USE_CAIRO_1=""
50962 COND_USE_EXCEPTIONS_0="#"
50963 if test "x$USE_EXCEPTIONS" = "x0" ; then
50964 COND_USE_EXCEPTIONS_0=""
50967 COND_USE_EXCEPTIONS_1="#"
50968 if test "x$USE_EXCEPTIONS" = "x1" ; then
50969 COND_USE_EXCEPTIONS_1=""
50973 if test "x$USE_GUI" = "x0" ; then
50978 if test "x$USE_GUI" = "x1" ; then
50982 COND_USE_GUI_1_USE_OPENGL_1="#"
50983 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50984 COND_USE_GUI_1_USE_OPENGL_1=""
50987 COND_USE_GUI_1_WXUNIV_0="#"
50988 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50989 COND_USE_GUI_1_WXUNIV_0=""
50992 COND_USE_GUI_1_WXUNIV_1="#"
50993 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50994 COND_USE_GUI_1_WXUNIV_1=""
50997 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50998 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50999 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51002 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51003 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51004 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51007 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51008 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51009 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51012 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
51013 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51014 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
51017 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
51018 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51019 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
51022 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
51023 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51024 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
51027 COND_USE_OPENGL_1="#"
51028 if test "x$USE_OPENGL" = "x1" ; then
51029 COND_USE_OPENGL_1=""
51033 if test "x$USE_PCH" = "x1" ; then
51037 COND_USE_PLUGINS_0="#"
51038 if test "x$USE_PLUGINS" = "x0" ; then
51039 COND_USE_PLUGINS_0=""
51042 COND_USE_RTTI_0="#"
51043 if test "x$USE_RTTI" = "x0" ; then
51047 COND_USE_RTTI_1="#"
51048 if test "x$USE_RTTI" = "x1" ; then
51052 COND_USE_SOTWOSYMLINKS_1="#"
51053 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
51054 COND_USE_SOTWOSYMLINKS_1=""
51057 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51058 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51059 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51062 COND_USE_SOVERLINUX_1="#"
51063 if test "x$USE_SOVERLINUX" = "x1" ; then
51064 COND_USE_SOVERLINUX_1=""
51067 COND_USE_SOVERSION_0="#"
51068 if test "x$USE_SOVERSION" = "x0" ; then
51069 COND_USE_SOVERSION_0=""
51072 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
51073 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
51074 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
51077 COND_USE_SOVERSOLARIS_1="#"
51078 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51079 COND_USE_SOVERSOLARIS_1=""
51083 if test "x$USE_STC" = "x1" ; then
51087 COND_USE_THREADS_0="#"
51088 if test "x$USE_THREADS" = "x0" ; then
51089 COND_USE_THREADS_0=""
51092 COND_USE_THREADS_1="#"
51093 if test "x$USE_THREADS" = "x1" ; then
51094 COND_USE_THREADS_1=""
51098 if test "x$USE_XRC" = "x1" ; then
51102 COND_WINDOWS_IMPLIB_1="#"
51103 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51104 COND_WINDOWS_IMPLIB_1=""
51107 COND_WITH_PLUGIN_SDL_1="#"
51108 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51109 COND_WITH_PLUGIN_SDL_1=""
51113 if test "x$WXUNIV" = "x0" ; then
51118 if test "x$WXUNIV" = "x1" ; then
51122 COND_WXUSE_EXPAT_BUILTIN="#"
51123 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51124 COND_WXUSE_EXPAT_BUILTIN=""
51127 COND_WXUSE_LIBJPEG_BUILTIN="#"
51128 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51129 COND_WXUSE_LIBJPEG_BUILTIN=""
51132 COND_WXUSE_LIBPNG_BUILTIN="#"
51133 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51134 COND_WXUSE_LIBPNG_BUILTIN=""
51137 COND_WXUSE_LIBTIFF_BUILTIN="#"
51138 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51139 COND_WXUSE_LIBTIFF_BUILTIN=""
51142 COND_WXUSE_REGEX_BUILTIN="#"
51143 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51144 COND_WXUSE_REGEX_BUILTIN=""
51147 COND_WXUSE_ZLIB_BUILTIN="#"
51148 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51149 COND_WXUSE_ZLIB_BUILTIN=""
51152 COND_wxUSE_EXPAT_builtin="#"
51153 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51154 COND_wxUSE_EXPAT_builtin=""
51157 COND_wxUSE_LIBJPEG_builtin="#"
51158 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51159 COND_wxUSE_LIBJPEG_builtin=""
51162 COND_wxUSE_LIBPNG_builtin="#"
51163 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51164 COND_wxUSE_LIBPNG_builtin=""
51167 COND_wxUSE_LIBTIFF_builtin="#"
51168 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51169 COND_wxUSE_LIBTIFF_builtin=""
51172 COND_wxUSE_REGEX_builtin="#"
51173 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51174 COND_wxUSE_REGEX_builtin=""
51177 COND_wxUSE_ZLIB_builtin="#"
51178 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51179 COND_wxUSE_ZLIB_builtin=""
51184 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51185 { { 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
51186 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;}
51187 { (exit 1); exit 1; }; }
51190 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51191 { { 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
51192 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;}
51193 { (exit 1); exit 1; }; }
51200 ?:* ) # Drive letter, considered as absolute.
51203 INSTALL=`pwd`/${INSTALL} ;;
51206 if test "$wxUSE_GUI" = "yes"; then
51208 if test "$wxUSE_MSW" = 1 ; then
51209 if test "x$WINDRES" = "x"; then
51210 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
51211 echo "$as_me: error: Required windres program not found" >&2;}
51212 { (exit 1); exit 1; }; }
51215 RESCOMP="$WINDRES $WINDRES_CPU_DEFINE"
51218 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
51219 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
51220 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
51222 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
51224 # Extract the first word of "DeRez", so it can be a program name with args.
51225 set dummy DeRez; ac_word=$2
51226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51228 if test "${ac_cv_prog_DEREZ+set}" = set; then
51229 echo $ECHO_N "(cached) $ECHO_C" >&6
51231 if test -n "$DEREZ"; then
51232 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
51234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51235 for as_dir in $PATH
51238 test -z "$as_dir" && as_dir=.
51239 for ac_exec_ext in '' $ac_executable_extensions; do
51240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51241 ac_cv_prog_DEREZ="DeRez"
51242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51249 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
51252 DEREZ=$ac_cv_prog_DEREZ
51253 if test -n "$DEREZ"; then
51254 { echo "$as_me:$LINENO: result: $DEREZ" >&5
51255 echo "${ECHO_T}$DEREZ" >&6; }
51257 { echo "$as_me:$LINENO: result: no" >&5
51258 echo "${ECHO_T}no" >&6; }
51263 MACSETFILE="\$(SETFILE)"
51265 if test "$wxUSE_OSX_CARBON" = 1; then
51266 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
51268 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
51270 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
51271 RESCOMP="cat /dev/null \| $REZ"
51272 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
51278 if test "$wxUSE_PM" = 1; then
51280 WXCONFIG_RESFLAGS="-ep"
51282 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
51284 POSTLINK_COMMAND="@true"
51291 if test $GCC_PCH = 1
51293 if test "$wx_cv_gcc_pch_bug" = yes; then
51294 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51295 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51296 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51297 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51298 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51299 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51302 # Our WX_PRECOMP flag does not make sense for any language except C++ because
51303 # the headers that benefit from precompilation are mostly C++ headers.
51304 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51305 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
51306 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
51310 if test "$wxUSE_MAC" = 1 ; then
51311 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51312 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51318 if test "$wxUSE_SHARED" = "yes"; then
51320 *-pc-os2_emx | *-pc-os2-emx )
51321 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51322 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51323 cp -p ${srcdir}/src/os2/dllnames.sh .
51324 cp -p ${srcdir}/src/os2/dllar.sh .
51328 if test "$wxUSE_OMF" = "yes"; then
51330 *-pc-os2_emx | *-pc-os2-emx )
51331 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51332 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51333 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51338 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51343 if test "$GCC" = yes; then
51344 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51345 LIBS=`echo $LIBS | sed 's/-mt//'`
51346 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51351 if test "x$SUNCXX" = xyes; then
51352 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51353 LIBS=`echo $LIBS | sed 's/-pthread//'`
51354 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51359 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51360 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51361 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
51362 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
51364 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51425 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51426 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
51427 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
51428 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
51429 echo $ECHO_N "(cached) $ECHO_C" >&6
51431 cat >conftest.make <<\_ACEOF
51434 @echo '@@@%%%=$(MAKE)=@@@%%%'
51436 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51437 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
51438 *@@@%%%=?*=@@@%%%*)
51439 eval ac_cv_prog_make_${ac_make}_set=yes;;
51441 eval ac_cv_prog_make_${ac_make}_set=no;;
51443 rm -f conftest.make
51445 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51446 { echo "$as_me:$LINENO: result: yes" >&5
51447 echo "${ECHO_T}yes" >&6; }
51450 { echo "$as_me:$LINENO: result: no" >&5
51451 echo "${ECHO_T}no" >&6; }
51452 SET_MAKE="MAKE=${MAKE-make}"
51457 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51460 if test "$USE_WIN32" = 1; then
51461 ac_config_commands="$ac_config_commands rcdefs.h"
51465 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51468 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51471 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51474 if test "$wx_cv_version_script" = "yes"; then
51475 ac_config_files="$ac_config_files version-script"
51478 ac_config_files="$ac_config_files Makefile"
51481 ac_config_commands="$ac_config_commands wx-config"
51485 if test "$wxWITH_SUBDIRS" != "no"; then
51486 if test "$wxUSE_GUI" = "yes"; then
51487 SUBDIRS="samples demos utils"
51489 SUBDIRS="samples utils"
51494 # Check whether --with-cppunit-prefix was given.
51495 if test "${with_cppunit_prefix+set}" = set; then
51496 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51498 cppunit_config_prefix=""
51502 # Check whether --with-cppunit-exec-prefix was given.
51503 if test "${with_cppunit_exec_prefix+set}" = set; then
51504 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51506 cppunit_config_exec_prefix=""
51510 if test x$cppunit_config_exec_prefix != x ; then
51511 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51512 if test x${CPPUNIT_CONFIG+set} != xset ; then
51513 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51516 if test x$cppunit_config_prefix != x ; then
51517 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51518 if test x${CPPUNIT_CONFIG+set} != xset ; then
51519 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51523 # Extract the first word of "cppunit-config", so it can be a program name with args.
51524 set dummy cppunit-config; ac_word=$2
51525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51527 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51528 echo $ECHO_N "(cached) $ECHO_C" >&6
51530 case $CPPUNIT_CONFIG in
51532 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51536 for as_dir in $PATH
51539 test -z "$as_dir" && as_dir=.
51540 for ac_exec_ext in '' $ac_executable_extensions; do
51541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51542 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51550 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51554 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51555 if test -n "$CPPUNIT_CONFIG"; then
51556 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51557 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51559 { echo "$as_me:$LINENO: result: no" >&5
51560 echo "${ECHO_T}no" >&6; }
51564 cppunit_version_min=1.8.0
51566 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51567 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51569 if test "$CPPUNIT_CONFIG" = "no" ; then
51570 { echo "$as_me:$LINENO: result: no" >&5
51571 echo "${ECHO_T}no" >&6; }
51574 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51575 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51576 cppunit_version=`$CPPUNIT_CONFIG --version`
51578 cppunit_major_version=`echo $cppunit_version | \
51579 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51580 cppunit_minor_version=`echo $cppunit_version | \
51581 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51582 cppunit_micro_version=`echo $cppunit_version | \
51583 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51585 cppunit_major_min=`echo $cppunit_version_min | \
51586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51587 cppunit_minor_min=`echo $cppunit_version_min | \
51588 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51589 cppunit_micro_min=`echo $cppunit_version_min | \
51590 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51592 cppunit_version_proper=`expr \
51593 $cppunit_major_version \
> $cppunit_major_min \
| \
51594 $cppunit_major_version \
= $cppunit_major_min \
& \
51595 $cppunit_minor_version \
> $cppunit_minor_min \
| \
51596 $cppunit_major_version \
= $cppunit_major_min \
& \
51597 $cppunit_minor_version \
= $cppunit_minor_min \
& \
51598 $cppunit_micro_version \
>= $cppunit_micro_min `
51600 if test "$cppunit_version_proper" = "1" ; then
51601 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51602 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51604 { echo "$as_me:$LINENO: result: no" >&5
51605 echo "${ECHO_T}no" >&6; }
51610 if test "x$no_cppunit" = x ; then
51611 SUBDIRS="$SUBDIRS tests"
51622 for subdir in $SUBDIRS; do
51623 if test -d ${srcdir}/${subdir} ; then
51624 if test "$wxUSE_GUI" = "yes"; then
51625 if test ${subdir} = "samples"; then
51626 makefiles="samples/Makefile.in $makefiles"
51627 for sample in $SAMPLES_SUBDIRS; do
51628 if test -d $srcdir/samples/$sample; then
51629 makefiles="samples/$sample/Makefile.in $makefiles"
51633 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51634 eval "disabled=\$$disabled_var"
51635 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
51636 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
51639 if test ${subdir} = "samples"; then
51640 makefiles="samples/Makefile.in $makefiles"
51641 for sample in `echo $SAMPLES_SUBDIRS`; do
51642 if test -d $srcdir/samples/$sample; then
51643 makefiles="samples/$sample/Makefile.in $makefiles"
51646 elif test ${subdir} = "utils"; then
51648 for util in ifacecheck ; do
51649 if test -d $srcdir/utils/$util ; then
51650 makefiles="utils/$util/src/Makefile.in \
51655 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
51659 for mkin in $makefiles ; do
51660 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51661 ac_config_files="$ac_config_files $mk"
51667 cat >confcache <<\_ACEOF
51668 # This file is a shell script that caches the results of configure
51669 # tests run on this system so they can be shared between configure
51670 # scripts and configure runs, see configure's option --config-cache.
51671 # It is not useful on other systems. If it contains results you don't
51672 # want to keep, you may remove or edit it.
51674 # config.status only pays attention to the cache file if you give it
51675 # the --recheck option to rerun configure.
51677 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
51678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51679 # following values.
51683 # The following way of writing the cache mishandles newlines in values,
51684 # but we know of no workaround that is simple, portable, and efficient.
51685 # So, we kill variables containing newlines.
51686 # Ultrix sh set writes to stderr and can't be redirected directly,
51687 # and sets the high bit in the cache file unless we assign to the vars.
51689 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51690 eval ac_val
=\$
$ac_var
51694 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51695 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51698 _
| IFS
| as_nl
) ;; #(
51699 *) $as_unset $ac_var ;;
51705 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51706 *${as_nl}ac_space
=\
*)
51707 # `set' does not quote correctly, so add quotes (double-quote
51708 # substitution turns \\\\ into \\, and sed turns \\ into \).
51711 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51714 # `set' quotes correctly as required by POSIX, so do not add quotes.
51715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51724 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51726 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51728 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51729 if test -w "$cache_file"; then
51730 test "x$cache_file" != "x/dev/null" &&
51731 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51732 echo "$as_me: updating cache $cache_file" >&6;}
51733 cat confcache
>$cache_file
51735 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51736 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51741 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51742 # Let make expand exec_prefix.
51743 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51745 DEFS
=-DHAVE_CONFIG_H
51749 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51750 # 1. Remove the extension, and $U if already installed.
51751 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51752 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51753 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51754 # will be set to the directory where LIBOBJS objects are built.
51755 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51756 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51758 LIBOBJS
=$ac_libobjs
51760 LTLIBOBJS
=$ac_ltlibobjs
51764 : ${CONFIG_STATUS=./config.status}
51765 ac_clean_files_save
=$ac_clean_files
51766 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51767 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51768 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51769 cat >$CONFIG_STATUS <<_ACEOF
51771 # Generated by $as_me.
51772 # Run this file to recreate the current configuration.
51773 # Compiler output produced by configure, useful for debugging
51774 # configure, is in config.log if it exists.
51777 ac_cs_recheck=false
51779 SHELL=\${CONFIG_SHELL-$SHELL}
51782 cat >>$CONFIG_STATUS <<\_ACEOF
51783 ## --------------------- ##
51784 ## M4sh Initialization. ##
51785 ## --------------------- ##
51787 # Be more Bourne compatible
51788 DUALCASE
=1; export DUALCASE
# for MKS sh
51789 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51792 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51793 # is contrary to our usage. Disable this feature.
51794 alias -g '${1+"$@"}'='"$@"'
51795 setopt NO_GLOB_SUBST
51797 case `(set -o) 2>/dev/null` in
51798 *posix
*) set -o posix
;;
51807 # Avoid depending upon Character Ranges.
51808 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51809 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51810 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51811 as_cr_digits
='0123456789'
51812 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51814 # The user is always right.
51815 if test "${PATH_SEPARATOR+set}" != set; then
51816 echo "#! /bin/sh" >conf$$.sh
51817 echo "exit 0" >>conf$$.sh
51819 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51827 # Support unset when possible.
51828 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51836 # We need space, tab and new line, in precisely that order. Quoting is
51837 # there to prevent editors from complaining about space-tab.
51838 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51839 # splitting by setting IFS to empty value.)
51844 # Find who we are. Look in the path if we contain no directory separator.
51846 *[\\/]* ) as_myself
=$0 ;;
51847 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51848 for as_dir
in $PATH
51851 test -z "$as_dir" && as_dir
=.
51852 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51858 # We did not find ourselves, most probably we were run as `sh COMMAND'
51859 # in which case we are not to be found in the path.
51860 if test "x$as_myself" = x
; then
51863 if test ! -f "$as_myself"; then
51864 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51865 { (exit 1); exit 1; }
51868 # Work around bugs in pre-3.0 UWIN ksh.
51869 for as_var
in ENV MAIL MAILPATH
51870 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51878 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51879 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51880 LC_TELEPHONE LC_TIME
51882 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51883 eval $as_var=C
; export $as_var
51885 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51889 # Required to use basename.
51890 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51891 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51897 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51898 as_basename
=basename
51904 # Name of the executable.
51905 as_me
=`$as_basename -- "$0" ||
51906 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51907 X"$0" : 'X\(//\)$' \| \
51908 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51910 sed '/^.*\/\([^/][^/]*\)\/*$/{
51929 as_lineno_1
=$LINENO
51930 as_lineno_2
=$LINENO
51931 test "x$as_lineno_1" != "x$as_lineno_2" &&
51932 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51934 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51935 # uniformly replaced by the line number. The first 'sed' inserts a
51936 # line-number line after each line using $LINENO; the second 'sed'
51937 # does the real work. The second script uses 'N' to pair each
51938 # line-number line with the line containing $LINENO, and appends
51939 # trailing '-' during substitution so that $LINENO is not a special
51940 # case at line end.
51941 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51942 # scripts with optimization help from Paolo Bonzini. Blame Lee
51943 # E. McMahon (1931-1989) for sed's syntax. :-)
51955 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51958 ' >$as_me.lineno
&&
51959 chmod +x
"$as_me.lineno" ||
51960 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51961 { (exit 1); exit 1; }; }
51963 # Don't try to exec as it changes $[0], causing all sort of problems
51964 # (the dirname of $[0] is not the place where we might find the
51965 # original and so on. Autoconf is especially sensitive to this).
51966 .
"./$as_me.lineno"
51967 # Exit status is that of the last command.
51972 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51978 ECHO_C
= ECHO_N
= ECHO_T
=
51979 case `echo -n x` in
51981 case `echo 'x\c'` in
51982 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51989 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51990 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51996 rm -f conf$$ conf$$.exe conf$$.
file
51997 if test -d conf$$.dir
; then
51998 rm -f conf$$.dir
/conf$$.
file
52004 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
52006 # ... but there are two gotchas:
52007 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
52008 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
52009 # In both cases, we have to default to `cp -p'.
52010 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
52012 elif ln conf$$.
file conf$$
2>/dev
/null
; then
52017 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
52018 rmdir conf$$.dir
2>/dev
/null
52020 if mkdir -p .
2>/dev
/null
; then
52023 test -d .
/-p && rmdir .
/-p
52027 if test -x / >/dev
/null
2>&1; then
52028 as_test_x
='test -x'
52030 if ls -dL / >/dev
/null
2>&1; then
52037 if test -d "$1"; then
52043 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
52044 ???[sx]*):;;*)false;;esac;fi
52048 as_executable_p
=$as_test_x
52050 # Sed expression to map a string onto a valid CPP name.
52051 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52053 # Sed expression to map a string onto a valid variable name.
52054 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52059 # Save the log message, to keep $[0] and so on meaningful, and to
52060 # report actual input values of CONFIG_FILES etc. instead of their
52061 # values after options handling.
52063 This file was extended by wxWidgets $as_me 2.9.1, which was
52064 generated by GNU Autoconf 2.61. Invocation command line was
52066 CONFIG_FILES = $CONFIG_FILES
52067 CONFIG_HEADERS = $CONFIG_HEADERS
52068 CONFIG_LINKS = $CONFIG_LINKS
52069 CONFIG_COMMANDS = $CONFIG_COMMANDS
52072 on `(hostname || uname -n) 2>/dev/null | sed 1q`
52077 cat >>$CONFIG_STATUS <<_ACEOF
52078 # Files that config.status was made for.
52079 config_files="$ac_config_files"
52080 config_headers="$ac_config_headers"
52081 config_commands="$ac_config_commands"
52085 cat >>$CONFIG_STATUS <<\_ACEOF
52087 \`$as_me' instantiates files from templates according to the
52088 current configuration.
52090 Usage: $0 [OPTIONS] [FILE]...
52092 -h, --help print this help, then exit
52093 -V, --version print version number and configuration settings, then exit
52094 -q, --quiet do not print progress messages
52095 -d, --debug don't remove temporary files
52096 --recheck update $as_me by reconfiguring in the same conditions
52097 --file=FILE[:TEMPLATE]
52098 instantiate the configuration file FILE
52099 --header=FILE[:TEMPLATE]
52100 instantiate the configuration header FILE
52102 Configuration files:
52105 Configuration headers:
52108 Configuration commands:
52111 Report bugs to <bug-autoconf@gnu.org>."
52114 cat >>$CONFIG_STATUS <<_ACEOF
52116 wxWidgets config.status 2.9.1
52117 configured by $0, generated by GNU Autoconf 2.61,
52118 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
52120 Copyright (C) 2006 Free Software Foundation, Inc.
52121 This config.status script is free software; the Free Software Foundation
52122 gives unlimited permission to copy, distribute and modify it."
52129 cat >>$CONFIG_STATUS <<\_ACEOF
52130 # If no file are specified by the user, then we need to provide default
52131 # value. By we need to know if files were specified by the user.
52137 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
52138 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
52149 # Handling of the options.
52150 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52152 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
52153 echo "$ac_cs_version"; exit ;;
52154 --debug | --debu | --deb | --de | --d | -d )
52156 --file | --fil | --fi | --f )
52158 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
52159 ac_need_defaults
=false
;;
52160 --header | --heade | --head | --hea )
52162 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
52163 ac_need_defaults
=false
;;
52165 # Conflict between --help and --header
52166 { echo "$as_me: error: ambiguous option: $1
52167 Try \`$0 --help' for more information." >&2
52168 { (exit 1); exit 1; }; };;
52169 --help | --hel | -h )
52170 echo "$ac_cs_usage"; exit ;;
52171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52172 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52175 # This is an error.
52176 -*) { echo "$as_me: error: unrecognized option: $1
52177 Try \`$0 --help' for more information." >&2
52178 { (exit 1); exit 1; }; } ;;
52180 *) ac_config_targets
="$ac_config_targets $1"
52181 ac_need_defaults
=false
;;
52187 ac_configure_extra_args
=
52189 if $ac_cs_silent; then
52191 ac_configure_extra_args
="$ac_configure_extra_args --silent"
52195 cat >>$CONFIG_STATUS <<_ACEOF
52196 if \$ac_cs_recheck; then
52197 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52198 CONFIG_SHELL=$SHELL
52199 export CONFIG_SHELL
52200 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52204 cat >>$CONFIG_STATUS <<\_ACEOF
52208 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52209 ## Running $as_me. ##
52215 cat >>$CONFIG_STATUS <<_ACEOF
52221 infile="$srcdir/include/wx/msw/genrcdefs.h"
52222 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52225 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52226 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52227 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52233 cat >>$CONFIG_STATUS <<\_ACEOF
52235 # Handling of arguments.
52236 for ac_config_target
in $ac_config_targets
52238 case $ac_config_target in
52239 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52240 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
52241 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52242 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52243 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
52244 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
52245 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
52246 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
52247 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
52249 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52250 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52251 { (exit 1); exit 1; }; };;
52256 # If the user did not use the arguments to specify the items to instantiate,
52257 # then the envvar interface is used. Set only those that are not.
52258 # We use the long form for the default assignment because of an extremely
52259 # bizarre bug on SunOS 4.1.3.
52260 if $ac_need_defaults; then
52261 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
52262 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
52263 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
52266 # Have a temporary directory for convenience. Make it in the build tree
52267 # simply because there is no reason against having it here, and in addition,
52268 # creating and moving files from /tmp can sometimes cause problems.
52269 # Hook for its removal unless debugging.
52270 # Note that there is a small window in which the directory will not be cleaned:
52271 # after its creation but before its name has been assigned to `$tmp'.
52275 trap 'exit_status=$?
52276 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
52278 trap '{ (exit 1); exit 1; }' 1 2 13 15
52280 # Create a (secure) tmp directory for tmp files.
52283 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
52284 test -n "$tmp" && test -d "$tmp"
52287 tmp
=.
/conf$$
-$RANDOM
52288 (umask 077 && mkdir "$tmp")
52291 echo "$me: cannot create a temporary directory in ." >&2
52292 { (exit 1); exit 1; }
52296 # Set up the sed scripts for CONFIG_FILES section.
52299 # No need to generate the scripts if there are no CONFIG_FILES.
52300 # This happens for instance when ./config.status config.h
52301 if test -n "$CONFIG_FILES"; then
52308 for ac_last_try
in false false false false false
:; do
52309 cat >conf$
$subs.
sed <<_ACEOF
52310 SHELL!$SHELL$ac_delim
52311 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
52312 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
52313 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
52314 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
52315 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
52316 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
52317 exec_prefix!$exec_prefix$ac_delim
52318 prefix!$prefix$ac_delim
52319 program_transform_name!$program_transform_name$ac_delim
52320 bindir!$bindir$ac_delim
52321 sbindir!$sbindir$ac_delim
52322 libexecdir!$libexecdir$ac_delim
52323 datarootdir!$datarootdir$ac_delim
52324 datadir!$datadir$ac_delim
52325 sysconfdir!$sysconfdir$ac_delim
52326 sharedstatedir!$sharedstatedir$ac_delim
52327 localstatedir!$localstatedir$ac_delim
52328 includedir!$includedir$ac_delim
52329 oldincludedir!$oldincludedir$ac_delim
52330 docdir!$docdir$ac_delim
52331 infodir!$infodir$ac_delim
52332 htmldir!$htmldir$ac_delim
52333 dvidir!$dvidir$ac_delim
52334 pdfdir!$pdfdir$ac_delim
52335 psdir!$psdir$ac_delim
52336 libdir!$libdir$ac_delim
52337 localedir!$localedir$ac_delim
52338 mandir!$mandir$ac_delim
52339 DEFS!$DEFS$ac_delim
52340 ECHO_C!$ECHO_C$ac_delim
52341 ECHO_N!$ECHO_N$ac_delim
52342 ECHO_T!$ECHO_T$ac_delim
52343 LIBS!$LIBS$ac_delim
52344 build_alias!$build_alias$ac_delim
52345 host_alias!$host_alias$ac_delim
52346 target_alias!$target_alias$ac_delim
52347 build!$build$ac_delim
52348 build_cpu!$build_cpu$ac_delim
52349 build_vendor!$build_vendor$ac_delim
52350 build_os!$build_os$ac_delim
52351 host!$host$ac_delim
52352 host_cpu!$host_cpu$ac_delim
52353 host_vendor!$host_vendor$ac_delim
52354 host_os!$host_os$ac_delim
52355 wx_top_builddir!$wx_top_builddir$ac_delim
52357 CFLAGS!$CFLAGS$ac_delim
52358 LDFLAGS!$LDFLAGS$ac_delim
52359 CPPFLAGS!$CPPFLAGS$ac_delim
52360 ac_ct_CC!$ac_ct_CC$ac_delim
52361 EXEEXT!$EXEEXT$ac_delim
52362 OBJEXT!$OBJEXT$ac_delim
52364 GREP!$GREP$ac_delim
52365 EGREP!$EGREP$ac_delim
52367 CXXFLAGS!$CXXFLAGS$ac_delim
52368 ac_ct_CXX!$ac_ct_CXX$ac_delim
52370 subdirs!$subdirs$ac_delim
52371 PKG_CONFIG!$PKG_CONFIG$ac_delim
52372 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
52373 GTK_LIBS!$GTK_LIBS$ac_delim
52374 GTK_CONFIG!$GTK_CONFIG$ac_delim
52375 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
52376 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
52377 XMKMF!$XMKMF$ac_delim
52378 X_CFLAGS!$X_CFLAGS$ac_delim
52379 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
52380 X_LIBS!$X_LIBS$ac_delim
52381 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
52382 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
52383 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
52384 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
52385 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
52386 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
52387 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
52388 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
52389 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
52390 LIBICONV!$LIBICONV$ac_delim
52391 GXX_VERSION!$GXX_VERSION$ac_delim
52392 SDL_CONFIG!$SDL_CONFIG$ac_delim
52393 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
52394 SDL_LIBS!$SDL_LIBS$ac_delim
52395 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
52396 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
52397 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
52398 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
52399 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
52400 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
52401 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
52402 HILDON_LIBS!$HILDON_LIBS$ac_delim
52403 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
52404 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
52405 PYTHON!$PYTHON$ac_delim
52406 COND_PYTHON!$COND_PYTHON$ac_delim
52409 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52411 elif $ac_last_try; then
52412 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52413 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52414 { (exit 1); exit 1; }; }
52416 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52420 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52421 if test -n "$ac_eof"; then
52422 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52423 ac_eof
=`expr $ac_eof + 1`
52426 cat >>$CONFIG_STATUS <<_ACEOF
52427 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
52428 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52431 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52432 s/^/s,@/; s/!/@,|#_!!_#|/
52435 s/'"$ac_delim"'$/,g/; t
52437 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52438 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52439 rm -f conf$
$subs.
sed
52440 cat >>$CONFIG_STATUS <<_ACEOF
52446 for ac_last_try
in false false false false false
:; do
52447 cat >conf$
$subs.
sed <<_ACEOF
52448 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
52449 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
52450 GST_CFLAGS!$GST_CFLAGS$ac_delim
52451 GST_LIBS!$GST_LIBS$ac_delim
52452 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52453 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52454 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52455 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52456 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52457 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52458 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52459 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52460 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52461 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52462 VENDOR!$VENDOR$ac_delim
52463 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52464 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52465 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52466 WXUNIV!$WXUNIV$ac_delim
52467 MONOLITHIC!$MONOLITHIC$ac_delim
52468 USE_PLUGINS!$USE_PLUGINS$ac_delim
52469 CXXWARNINGS!$CXXWARNINGS$ac_delim
52470 EXTRALIBS!$EXTRALIBS$ac_delim
52471 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52472 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52473 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52474 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52475 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52476 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52477 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52478 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52479 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52480 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52481 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52482 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52483 UNICODE!$UNICODE$ac_delim
52484 DEBUG_INFO!$DEBUG_INFO$ac_delim
52485 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52486 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52487 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52488 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
52489 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
52490 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52491 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52492 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52493 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52494 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52495 RANLIB!$RANLIB$ac_delim
52496 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52497 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52498 INSTALL_DATA!$INSTALL_DATA$ac_delim
52499 LN_S!$LN_S$ac_delim
52500 SET_MAKE!$SET_MAKE$ac_delim
52501 MAKE_SET!$MAKE_SET$ac_delim
52502 AROPTIONS!$AROPTIONS$ac_delim
52503 STRIP!$STRIP$ac_delim
52505 INSTALL_DIR!$INSTALL_DIR$ac_delim
52506 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52507 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52508 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52509 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52510 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52511 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52512 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52513 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52514 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52515 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52516 SO_SUFFIX!$SO_SUFFIX$ac_delim
52517 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52518 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52519 LIBPREFIX!$LIBPREFIX$ac_delim
52520 LIBEXT!$LIBEXT$ac_delim
52521 DLLPREFIX!$DLLPREFIX$ac_delim
52522 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52523 dlldir!$dlldir$ac_delim
52524 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52525 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52526 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52527 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52528 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52529 PIC_FLAG!$PIC_FLAG$ac_delim
52530 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52531 USE_SOVERSION!$USE_SOVERSION$ac_delim
52532 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52533 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52534 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52535 USE_MACVERSION!$USE_MACVERSION$ac_delim
52536 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
52537 SONAME_FLAG!$SONAME_FLAG$ac_delim
52538 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52539 BK_DEPS!$BK_DEPS$ac_delim
52540 WINDRES!$WINDRES$ac_delim
52542 SETFILE!$SETFILE$ac_delim
52543 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52544 GCC_PCH!$GCC_PCH$ac_delim
52547 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52549 elif $ac_last_try; then
52550 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52551 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52552 { (exit 1); exit 1; }; }
52554 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52558 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52559 if test -n "$ac_eof"; then
52560 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52561 ac_eof
=`expr $ac_eof + 1`
52564 cat >>$CONFIG_STATUS <<_ACEOF
52565 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52566 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52569 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52570 s/^/s,@/; s/!/@,|#_!!_#|/
52573 s/'"$ac_delim"'$/,g/; t
52575 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52576 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52577 rm -f conf$
$subs.
sed
52578 cat >>$CONFIG_STATUS <<_ACEOF
52584 for ac_last_try
in false false false false false
:; do
52585 cat >conf$
$subs.
sed <<_ACEOF
52586 ICC_PCH!$ICC_PCH$ac_delim
52587 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52588 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52589 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52590 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52591 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52592 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52593 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52594 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52595 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52596 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52597 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52598 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52599 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52600 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52601 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52602 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52603 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52604 COND_BUILD_release!$COND_BUILD_release$ac_delim
52605 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52606 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52607 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52608 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
52609 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52610 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52611 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52612 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52613 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52614 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52615 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52616 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52617 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52618 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52619 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52620 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52621 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52622 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52623 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52624 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
52625 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52626 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52627 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52628 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52629 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52630 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52631 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52632 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52633 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52634 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52635 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
52636 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52637 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52638 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52639 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52640 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52641 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52642 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52643 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52644 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52645 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52646 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
52647 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52648 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52649 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52650 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52651 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52652 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52653 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52654 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52655 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52656 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52657 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52658 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52659 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52660 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
52661 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52662 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
52663 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52664 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52665 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52666 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52667 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52668 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52669 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52670 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52671 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52672 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52673 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52674 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52675 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52676 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52677 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52678 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52679 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52680 COND_SHARED_0!$COND_SHARED_0$ac_delim
52681 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52682 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52685 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52687 elif $ac_last_try; then
52688 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52689 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52690 { (exit 1); exit 1; }; }
52692 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52696 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52697 if test -n "$ac_eof"; then
52698 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52699 ac_eof
=`expr $ac_eof + 1`
52702 cat >>$CONFIG_STATUS <<_ACEOF
52703 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52704 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52707 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52708 s/^/s,@/; s/!/@,|#_!!_#|/
52711 s/'"$ac_delim"'$/,g/; t
52713 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52714 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52715 rm -f conf$
$subs.
sed
52716 cat >>$CONFIG_STATUS <<_ACEOF
52722 for ac_last_try
in false false false false false
:; do
52723 cat >conf$
$subs.
sed <<_ACEOF
52724 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52725 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52726 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52727 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52728 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52729 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52730 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52731 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52732 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52733 COND_SHARED_1!$COND_SHARED_1$ac_delim
52734 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52735 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52736 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52737 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52738 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52739 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52740 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52741 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52746 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52747 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52748 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52749 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52750 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52751 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52752 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52753 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52754 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52755 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52756 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52757 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52758 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52759 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52760 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52761 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52762 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52763 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52764 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52765 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52766 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52767 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52768 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52769 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52770 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52771 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52772 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52773 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52774 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
52775 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52776 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52777 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52778 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52779 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52780 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52781 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52782 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52783 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52784 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52785 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52786 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52787 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52788 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52789 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52790 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52791 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52792 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52793 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
52794 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52795 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52796 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52797 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
52798 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52799 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52800 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52801 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52802 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52803 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52804 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52805 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52806 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52807 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52808 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52809 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52810 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52811 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52812 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52813 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52814 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52815 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52816 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52817 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52818 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52819 DEREZ!$DEREZ$ac_delim
52820 SHARED!$SHARED$ac_delim
52823 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52825 elif $ac_last_try; then
52826 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52827 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52828 { (exit 1); exit 1; }; }
52830 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52834 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52835 if test -n "$ac_eof"; then
52836 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52837 ac_eof
=`expr $ac_eof + 1`
52840 cat >>$CONFIG_STATUS <<_ACEOF
52841 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52845 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52846 s/^/s,@/; s/!/@,|#_!!_#|/
52849 s/'"$ac_delim"'$/,g/; t
52851 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52852 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52853 rm -f conf$
$subs.
sed
52854 cat >>$CONFIG_STATUS <<_ACEOF
52860 for ac_last_try
in false false false false false
:; do
52861 cat >conf$
$subs.
sed <<_ACEOF
52862 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52863 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52864 USE_GUI!$USE_GUI$ac_delim
52865 AFMINSTALL!$AFMINSTALL$ac_delim
52866 WIN32INSTALL!$WIN32INSTALL$ac_delim
52867 TOOLKIT!$TOOLKIT$ac_delim
52868 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52869 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52870 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52871 cross_compiling!$cross_compiling$ac_delim
52872 WIDGET_SET!$WIDGET_SET$ac_delim
52873 WX_RELEASE!$WX_RELEASE$ac_delim
52874 WX_VERSION!$WX_VERSION$ac_delim
52875 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52876 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52877 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52878 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52879 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52880 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52881 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52882 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
52883 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52884 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52885 GUIDIST!$GUIDIST$ac_delim
52886 DISTDIR!$DISTDIR$ac_delim
52887 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52888 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52889 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52890 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52891 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52892 RESCOMP!$RESCOMP$ac_delim
52893 RESFLAGS!$RESFLAGS$ac_delim
52894 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52895 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52896 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52897 LIBWXMACRES!$LIBWXMACRES$ac_delim
52898 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52899 MACSETFILE!$MACSETFILE$ac_delim
52901 DLLTOOL!$DLLTOOL$ac_delim
52902 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52903 LIBOBJS!$LIBOBJS$ac_delim
52904 LTLIBOBJS!$LTLIBOBJS$ac_delim
52907 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 43; then
52909 elif $ac_last_try; then
52910 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52911 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52912 { (exit 1); exit 1; }; }
52914 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52918 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52919 if test -n "$ac_eof"; then
52920 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52921 ac_eof
=`expr $ac_eof + 1`
52924 cat >>$CONFIG_STATUS <<_ACEOF
52925 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52926 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52929 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52930 s/^/s,@/; s/!/@,|#_!!_#|/
52933 s/'"$ac_delim"'$/,g/; t
52935 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52936 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52937 rm -f conf$
$subs.
sed
52938 cat >>$CONFIG_STATUS <<_ACEOF
52945 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52946 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52947 # trailing colons and then remove the whole line if VPATH becomes empty
52948 # (actually we leave an empty line to preserve line numbers).
52949 if test "x$srcdir" = x.
; then
52950 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52951 s/:*\$(srcdir):*/:/
52952 s/:*\${srcdir}:*/:/
52954 s/^\([^=]*=[ ]*\):*/\1/
52960 cat >>$CONFIG_STATUS <<\_ACEOF
52961 fi # test -n "$CONFIG_FILES"
52964 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52967 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52969 case $ac_mode$ac_tag in
52971 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52972 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52973 { (exit 1); exit 1; }; };;
52974 :[FH
]-) ac_tag
=-:-;;
52975 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52992 -) ac_f
="$tmp/stdin";;
52993 *) # Look for the file first in the build tree, then in the source tree
52994 # (if the path is not absolute). The absolute path cannot be DOS-style,
52995 # because $ac_f cannot contain `:'.
52999 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
53001 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
53002 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
53003 { (exit 1); exit 1; }; };;
53005 ac_file_inputs
="$ac_file_inputs $ac_f"
53008 # Let's still pretend it is `configure' which instantiates (i.e., don't
53009 # use $as_me), people would be surprised to read:
53010 # /* config.h. Generated by config.status. */
53011 configure_input
="Generated from "`IFS=:
53012 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
53013 if test x
"$ac_file" != x
-; then
53014 configure_input
="$ac_file. $configure_input"
53015 { echo "$as_me:$LINENO: creating $ac_file" >&5
53016 echo "$as_me: creating $ac_file" >&6;}
53020 *:-:* | *:-) cat >"$tmp/stdin";;
53025 ac_dir
=`$as_dirname -- "$ac_file" ||
53026 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53027 X"$ac_file" : 'X\(//\)[^/]' \| \
53028 X"$ac_file" : 'X\(//\)$' \| \
53029 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
53031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53035 /^X\(\/\/\)[^/].*/{
53050 -*) as_dir
=.
/$as_dir;;
53052 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53056 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53057 *) as_qdir
=$as_dir;;
53059 as_dirs
="'$as_qdir' $as_dirs"
53060 as_dir
=`$as_dirname -- "$as_dir" ||
53061 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53062 X"$as_dir" : 'X\(//\)[^/]' \| \
53063 X"$as_dir" : 'X\(//\)$' \| \
53064 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53070 /^X\(\/\/\)[^/].*/{
53083 test -d "$as_dir" && break
53085 test -z "$as_dirs" || eval "mkdir $as_dirs"
53086 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53087 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53088 { (exit 1); exit 1; }; }; }
53092 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53094 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53095 # A ".." for each directory in $ac_dir_suffix.
53096 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53097 case $ac_top_builddir_sub in
53098 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53099 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53102 ac_abs_top_builddir
=$ac_pwd
53103 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53104 # for backward compatibility:
53105 ac_top_builddir
=$ac_top_build_prefix
53108 .
) # We are building in place.
53110 ac_top_srcdir
=$ac_top_builddir_sub
53111 ac_abs_top_srcdir
=$ac_pwd ;;
53112 [\\/]* | ?
:[\\/]* ) # Absolute name.
53113 ac_srcdir
=$srcdir$ac_dir_suffix;
53114 ac_top_srcdir
=$srcdir
53115 ac_abs_top_srcdir
=$srcdir ;;
53116 *) # Relative name.
53117 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53118 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53119 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53121 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53131 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
53132 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
53136 cat >>$CONFIG_STATUS <<\_ACEOF
53137 # If the template does not know about datarootdir, expand it.
53138 # FIXME: This hack should be removed a few years after 2.60.
53139 ac_datarootdir_hack
=; ac_datarootdir_seen
=
53141 case `sed -n '/datarootdir/ {
53150 ' $ac_file_inputs` in
53151 *datarootdir
*) ac_datarootdir_seen
=yes;;
53152 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
53153 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
53154 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
53156 cat >>$CONFIG_STATUS <<_ACEOF
53157 ac_datarootdir_hack='
53158 s&@datadir@&$datadir&g
53159 s&@docdir@&$docdir&g
53160 s&@infodir@&$infodir&g
53161 s&@localedir@&$localedir&g
53162 s&@mandir@&$mandir&g
53163 s&\\\${datarootdir}&$datarootdir&g' ;;
53167 # Neutralize VPATH when `$srcdir' = `.'.
53168 # Shell code in configure.ac might set extrasub.
53169 # FIXME: do we really want to maintain this feature?
53170 cat >>$CONFIG_STATUS <<_ACEOF
53174 cat >>$CONFIG_STATUS <<\_ACEOF
53176 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
53177 s
&@configure_input@
&$configure_input&;t t
53178 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
53179 s
&@srcdir@
&$ac_srcdir&;t t
53180 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
53181 s
&@top_srcdir@
&$ac_top_srcdir&;t t
53182 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
53183 s
&@builddir@
&$ac_builddir&;t t
53184 s
&@abs_builddir@
&$ac_abs_builddir&;t t
53185 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
53186 s
&@INSTALL@
&$ac_INSTALL&;t t
53187 $ac_datarootdir_hack
53188 " $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
53190 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
53191 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
53192 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
53193 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
53194 which seems to be undefined. Please make sure it is defined." >&5
53195 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
53196 which seems to be undefined. Please make sure it is defined." >&2;}
53200 -) cat "$tmp/out"; rm -f "$tmp/out";;
53201 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
53210 # Transform confdefs.h into a sed script `conftest.defines', that
53211 # substitutes the proper values into config.h.in to produce config.h.
53212 rm -f conftest.defines conftest.
tail
53213 # First, append a space to every undef/define line, to ease matching.
53214 echo 's/$/ /' >conftest.defines
53215 # Then, protect against being on the right side of a sed subst, or in
53216 # an unquoted here document, in config.status. If some macros were
53217 # called several times there might be several #defines for the same
53218 # symbol, which is useless. But do not sort them, since the last
53219 # AC_DEFINE must be honored.
53220 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
53221 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
53222 # NAME is the cpp macro being defined, VALUE is the value it is being given.
53223 # PARAMS is the parameter list in the macro definition--in most cases, it's
53224 # just an empty string.
53225 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
53226 ac_dB
='\\)[ (].*,\\1define\\2'
53234 s/^[ ]*#[ ]*define[ ][ ]*//
53239 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
53240 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
53241 ' >>conftest.defines
53243 # Remove the space that was appended to ease matching.
53244 # Then replace #undef with comments. This is necessary, for
53245 # example, in the case of _POSIX_SOURCE, which is predefined and required
53246 # on some systems where configure will not decide to define it.
53247 # (The regexp can be short, since the line contains either #define or #undef.)
53249 s,^[ #]*u.*,/* & */,' >>conftest.defines
53251 # Break up conftest.defines:
53252 ac_max_sed_lines
=50
53254 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
53255 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
53256 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
53258 ac_in
='$ac_file_inputs'
53259 ac_out
='"$tmp/out1"'
53260 ac_nxt
='"$tmp/out2"'
53264 # Write a here document:
53265 cat >>$CONFIG_STATUS <<_ACEOF
53266 # First, check the format of the line:
53267 cat >"\$tmp/defines.sed" <<\\CEOF
53268 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
53269 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
53273 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
53275 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
53276 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
53277 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
53278 grep . conftest.
tail >/dev
/null
|| break
53279 rm -f conftest.defines
53280 mv conftest.
tail conftest.defines
53282 rm -f conftest.defines conftest.
tail
53284 echo "ac_result=$ac_in" >>$CONFIG_STATUS
53285 cat >>$CONFIG_STATUS <<\_ACEOF
53286 if test x
"$ac_file" != x
-; then
53287 echo "/* $configure_input */" >"$tmp/config.h"
53288 cat "$ac_result" >>"$tmp/config.h"
53289 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
53290 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53291 echo "$as_me: $ac_file is unchanged" >&6;}
53294 mv "$tmp/config.h" $ac_file
53297 echo "/* $configure_input */"
53303 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
53304 echo "$as_me: executing $ac_file commands" >&6;}
53309 case $ac_file$ac_mode in
53311 mkdir -p $outdir &&
53312 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53314 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
53315 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
53316 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
53317 "wx-config":C
) rm -f wx
-config
53318 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
53325 { (exit 0); exit 0; }
53327 chmod +x
$CONFIG_STATUS
53328 ac_clean_files
=$ac_clean_files_save
53331 # configure is writing to config.log, and then calls config.status.
53332 # config.status does its own redirection, appending to config.log.
53333 # Unfortunately, on DOS this fails, as config.log is still kept open
53334 # by configure, so config.status won't be able to write to it; its
53335 # output is simply discarded. So we exec the FD to /dev/null,
53336 # effectively closing config.log, so it can be properly (re)opened and
53337 # appended to by config.status. When coming back to configure, we
53338 # need to make the FD available again.
53339 if test "$no_create" != yes; then
53341 ac_config_status_args
=
53342 test "$silent" = yes &&
53343 ac_config_status_args
="$ac_config_status_args --quiet"
53345 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
53347 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53348 # would make configure fail if this is the last instruction.
53349 $ac_cs_success || { (exit 1); exit 1; }
53353 # CONFIG_SUBDIRS section.
53355 if test "$no_recursion" != yes; then
53357 # Remove --cache-file and --srcdir arguments so they do not pile up.
53358 ac_sub_configure_args
=
53360 eval "set x $ac_configure_args"
53364 if test -n "$ac_prev"; then
53369 -cache-file | --cache-file | --cache-fil | --cache-fi \
53370 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53371 ac_prev
=cache_file
;;
53372 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53373 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53376 --config-cache | -C)
53378 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53380 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53382 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53384 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53388 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53390 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
53394 # Always prepend --prefix to ensure using the same prefix
53395 # in subdir configurations.
53396 ac_arg
="--prefix=$prefix"
53398 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
53400 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
53403 if test "$silent" = yes; then
53404 ac_sub_configure_args
="--silent $ac_sub_configure_args"
53408 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
53410 # Do not complain, so a configure script can configure whichever
53411 # parts of a large source tree are present.
53412 test -d "$srcdir/$ac_dir" || continue
53414 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
53415 echo "$as_me:$LINENO: $ac_msg" >&5
53419 -*) as_dir
=.
/$as_dir;;
53421 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
53425 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
53426 *) as_qdir
=$as_dir;;
53428 as_dirs
="'$as_qdir' $as_dirs"
53429 as_dir
=`$as_dirname -- "$as_dir" ||
53430 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53431 X"$as_dir" : 'X\(//\)[^/]' \| \
53432 X"$as_dir" : 'X\(//\)$' \| \
53433 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
53435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
53439 /^X\(\/\/\)[^/].*/{
53452 test -d "$as_dir" && break
53454 test -z "$as_dirs" || eval "mkdir $as_dirs"
53455 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53456 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53457 { (exit 1); exit 1; }; }; }
53461 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53463 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53464 # A ".." for each directory in $ac_dir_suffix.
53465 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53466 case $ac_top_builddir_sub in
53467 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
53468 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
53471 ac_abs_top_builddir
=$ac_pwd
53472 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
53473 # for backward compatibility:
53474 ac_top_builddir
=$ac_top_build_prefix
53477 .
) # We are building in place.
53479 ac_top_srcdir
=$ac_top_builddir_sub
53480 ac_abs_top_srcdir
=$ac_pwd ;;
53481 [\\/]* | ?
:[\\/]* ) # Absolute name.
53482 ac_srcdir
=$srcdir$ac_dir_suffix;
53483 ac_top_srcdir
=$srcdir
53484 ac_abs_top_srcdir
=$srcdir ;;
53485 *) # Relative name.
53486 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
53487 ac_top_srcdir
=$ac_top_build_prefix$srcdir
53488 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
53490 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
53495 # Check for guested configure; otherwise get Cygnus style configure.
53496 if test -f "$ac_srcdir/configure.gnu"; then
53497 ac_sub_configure
=$ac_srcdir/configure.gnu
53498 elif test -f "$ac_srcdir/configure"; then
53499 ac_sub_configure
=$ac_srcdir/configure
53500 elif test -f "$ac_srcdir/configure.in"; then
53501 # This should be Cygnus configure.
53502 ac_sub_configure
=$ac_aux_dir/configure
53504 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53505 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53509 # The recursion is here.
53510 if test -n "$ac_sub_configure"; then
53511 # Make the cache file name correct relative to the subdirectory.
53512 case $cache_file in
53513 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
53514 *) # Relative name.
53515 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
53518 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53519 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53520 # The eval makes quoting arguments work.
53521 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53522 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53523 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53524 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53525 { (exit 1); exit 1; }; }
53534 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53536 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53537 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53538 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53539 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53540 if test "$wxUSE_UNICODE" = "yes"; then
53541 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53542 echo " (using UTF-8)"
53544 echo " (using wchar_t)"
53550 echo " What level of wxWidgets compatibility should be enabled?"
53551 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53552 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53554 echo " Which libraries should wxWidgets use?"
53555 echo " STL ${wxUSE_STL}"
53556 echo " jpeg ${wxUSE_LIBJPEG-none}"
53557 echo " png ${wxUSE_LIBPNG-none}"
53558 echo " regex ${wxUSE_REGEX}"
53559 echo " tiff ${wxUSE_LIBTIFF-none}"
53560 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53561 echo " xpm ${wxUSE_LIBXPM-none}"
53563 echo " zlib ${wxUSE_ZLIB}"
53564 echo " expat ${wxUSE_EXPAT}"
53565 echo " libmspack ${wxUSE_LIBMSPACK}"
53566 echo " sdl ${wxUSE_LIBSDL}"