2 # From configure.in Id: configure.in 57523 2008-12-24 01:28:55Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.0'
579 PACKAGE_STRING
='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
710 LIBGNOMEPRINTUI_CFLAGS
758 SAMPLES_RPATH_POSTLINK
813 ICC_PCH_CREATE_SWITCH
817 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
818 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
819 COND_BUILD_DEBUG_UNICODE_0
820 COND_BUILD_DEBUG_UNICODE_1
822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
823 COND_BUILD_RELEASE_UNICODE_0
824 COND_BUILD_RELEASE_UNICODE_1
826 COND_BUILD_debug_DEBUG_FLAG_default
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_UNICODE_0
829 COND_BUILD_debug_UNICODE_1
831 COND_BUILD_release_DEBUG_INFO_default
832 COND_BUILD_release_UNICODE_0
833 COND_BUILD_release_UNICODE_1
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
850 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
851 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
852 COND_MONOLITHIC_0_SHARED_1
853 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
859 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
862 COND_MONOLITHIC_0_USE_AUI_1
863 COND_MONOLITHIC_0_USE_GUI_1
864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_USE_HTML_1
866 COND_MONOLITHIC_0_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_USE_QA_1
869 COND_MONOLITHIC_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_USE_STC_1
871 COND_MONOLITHIC_0_USE_XRC_1
873 COND_MONOLITHIC_1_SHARED_0
874 COND_MONOLITHIC_1_SHARED_1
875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
877 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_1
880 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
885 COND_PLATFORM_MACOSX_1_USE_GUI_1
886 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
888 COND_PLATFORM_MACOS_1
891 COND_PLATFORM_MSDOS_0
892 COND_PLATFORM_MSDOS_1
896 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
898 COND_PLATFORM_UNIX_1_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
900 COND_PLATFORM_WIN32_0
901 COND_PLATFORM_WIN32_1
903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
904 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
906 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
910 COND_SHARED_0_USE_STC_1
911 COND_SHARED_0_wxUSE_EXPAT_builtin
912 COND_SHARED_0_wxUSE_REGEX_builtin
913 COND_SHARED_0_wxUSE_ZLIB_builtin
915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
918 COND_TOOLKIT_COCOA_USE_GUI_1
919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_DFB_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_GTK_USE_GUI_1
932 COND_TOOLKIT_MGL_USE_GUI_1
934 COND_TOOLKIT_MOTIF_USE_GUI_1
935 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_MSW_USE_GUI_1
938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW_WXUNIV_0
940 COND_TOOLKIT_OSX_CARBON
941 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
942 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_COCOA
944 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
945 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
946 COND_TOOLKIT_OSX_IPHONE
948 COND_TOOLKIT_PM_USE_GUI_1
949 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_WINCE_USE_GUI_1
952 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_WINCE_WXUNIV_0
955 COND_TOOLKIT_X11_USE_GUI_1
957 COND_USE_EXCEPTIONS_0
958 COND_USE_EXCEPTIONS_1
961 COND_USE_GUI_1_USE_OPENGL_1
962 COND_USE_GUI_1_WXUNIV_0
963 COND_USE_GUI_1_WXUNIV_1
964 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
965 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
966 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
967 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
968 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
969 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
975 COND_USE_SOSYMLINKS_1
976 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
977 COND_USE_SOVERLINUX_1
979 COND_USE_SOVERSOLARIS_1
984 COND_WINDOWS_IMPLIB_1
985 COND_WITH_PLUGIN_SDL_1
988 COND_WXUSE_EXPAT_BUILTIN
989 COND_WXUSE_LIBJPEG_BUILTIN
990 COND_WXUSE_LIBPNG_BUILTIN
991 COND_WXUSE_LIBTIFF_BUILTIN
992 COND_WXUSE_REGEX_BUILTIN
993 COND_WXUSE_ZLIB_BUILTIN
994 COND_wxUSE_EXPAT_builtin
995 COND_wxUSE_LIBJPEG_builtin
996 COND_wxUSE_LIBPNG_builtin
997 COND_wxUSE_LIBTIFF_builtin
998 COND_wxUSE_REGEX_builtin
999 COND_wxUSE_ZLIB_builtin
1002 WX_LIBRARY_BASENAME_NOGUI
1003 WX_LIBRARY_BASENAME_GUI
1023 WXCONFIG_LDFLAGS_GUI
1035 WX_RESOURCES_MACOSX_ASCII
1036 WX_RESOURCES_MACOSX_DATA
1046 ac_precious_vars
='build_alias
1070 LIBGNOMEPRINTUI_CFLAGS
1071 LIBGNOMEPRINTUI_LIBS
1080 ac_subdirs_all
='src/tiff
1083 # Initialize some variables set by options.
1085 ac_init_version
=false
1086 # The variables have the same names as the options, with
1087 # dashes changed to underlines.
1088 cache_file
=/dev
/null
1095 program_transform_name
=s
,x
,x
,
1103 # Installation directory options.
1104 # These are left unexpanded so users can "make install exec_prefix=/foo"
1105 # and all the variables that are supposed to be based on exec_prefix
1106 # by default will actually change.
1107 # Use braces instead of parens because sh, perl, etc. also accept them.
1108 # (The list follows the same order as the GNU Coding Standards.)
1109 bindir
='${exec_prefix}/bin'
1110 sbindir
='${exec_prefix}/sbin'
1111 libexecdir
='${exec_prefix}/libexec'
1112 datarootdir
='${prefix}/share'
1113 datadir
='${datarootdir}'
1114 sysconfdir
='${prefix}/etc'
1115 sharedstatedir
='${prefix}/com'
1116 localstatedir
='${prefix}/var'
1117 includedir
='${prefix}/include'
1118 oldincludedir
='/usr/include'
1119 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1120 infodir
='${datarootdir}/info'
1125 libdir
='${exec_prefix}/lib'
1126 localedir
='${datarootdir}/locale'
1127 mandir
='${datarootdir}/man'
1133 # If the previous option needs an argument, assign it.
1134 if test -n "$ac_prev"; then
1135 eval $ac_prev=\
$ac_option
1141 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1145 # Accept the important Cygnus configure options, so we can diagnose typos.
1147 case $ac_dashdash$ac_option in
1151 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1153 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1154 bindir
=$ac_optarg ;;
1156 -build | --build | --buil | --bui | --bu)
1157 ac_prev
=build_alias
;;
1158 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1159 build_alias
=$ac_optarg ;;
1161 -cache-file | --cache-file | --cache-fil | --cache-fi \
1162 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1163 ac_prev
=cache_file
;;
1164 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1165 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1166 cache_file
=$ac_optarg ;;
1168 --config-cache | -C)
1169 cache_file
=config.cache
;;
1171 -datadir | --datadir | --datadi | --datad)
1173 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1174 datadir
=$ac_optarg ;;
1176 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1177 | --dataroo | --dataro | --datar)
1178 ac_prev
=datarootdir
;;
1179 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1180 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1181 datarootdir
=$ac_optarg ;;
1183 -disable-* | --disable-*)
1184 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1187 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1190 eval enable_
$ac_feature=no
;;
1192 -docdir | --docdir | --docdi | --doc | --do)
1194 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1195 docdir
=$ac_optarg ;;
1197 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1199 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1200 dvidir
=$ac_optarg ;;
1202 -enable-* | --enable-*)
1203 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1206 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1207 { (exit 1); exit 1; }; }
1208 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1209 eval enable_
$ac_feature=\
$ac_optarg ;;
1211 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1212 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1213 | --exec | --exe | --ex)
1214 ac_prev
=exec_prefix
;;
1215 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1216 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1217 | --exec=* | --exe=* | --ex=*)
1218 exec_prefix
=$ac_optarg ;;
1220 -gas | --gas | --ga | --g)
1221 # Obsolete; use --with-gas.
1224 -help | --help | --hel | --he | -h)
1225 ac_init_help
=long
;;
1226 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1227 ac_init_help
=recursive
;;
1228 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1229 ac_init_help
=short
;;
1231 -host | --host | --hos | --ho)
1232 ac_prev
=host_alias
;;
1233 -host=* | --host=* | --hos=* | --ho=*)
1234 host_alias
=$ac_optarg ;;
1236 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1238 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1240 htmldir
=$ac_optarg ;;
1242 -includedir | --includedir | --includedi | --included | --include \
1243 | --includ | --inclu | --incl | --inc)
1244 ac_prev
=includedir
;;
1245 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1246 | --includ=* | --inclu=* | --incl=* | --inc=*)
1247 includedir
=$ac_optarg ;;
1249 -infodir | --infodir | --infodi | --infod | --info | --inf)
1251 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1252 infodir
=$ac_optarg ;;
1254 -libdir | --libdir | --libdi | --libd)
1256 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1257 libdir
=$ac_optarg ;;
1259 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1260 | --libexe | --libex | --libe)
1261 ac_prev
=libexecdir
;;
1262 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1263 | --libexe=* | --libex=* | --libe=*)
1264 libexecdir
=$ac_optarg ;;
1266 -localedir | --localedir | --localedi | --localed | --locale)
1267 ac_prev
=localedir
;;
1268 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1269 localedir
=$ac_optarg ;;
1271 -localstatedir | --localstatedir | --localstatedi | --localstated \
1272 | --localstate | --localstat | --localsta | --localst | --locals)
1273 ac_prev
=localstatedir
;;
1274 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1275 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1276 localstatedir
=$ac_optarg ;;
1278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1281 mandir
=$ac_optarg ;;
1283 -nfp | --nfp | --nf)
1284 # Obsolete; use --without-fp.
1287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1288 | --no-cr | --no-c | -n)
1291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1297 | --oldin | --oldi | --old | --ol | --o)
1298 ac_prev
=oldincludedir
;;
1299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1302 oldincludedir
=$ac_optarg ;;
1304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1307 prefix
=$ac_optarg ;;
1309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1310 | --program-pre | --program-pr | --program-p)
1311 ac_prev
=program_prefix
;;
1312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1314 program_prefix
=$ac_optarg ;;
1316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1317 | --program-suf | --program-su | --program-s)
1318 ac_prev
=program_suffix
;;
1319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1321 program_suffix
=$ac_optarg ;;
1323 -program-transform-name | --program-transform-name \
1324 | --program-transform-nam | --program-transform-na \
1325 | --program-transform-n | --program-transform- \
1326 | --program-transform | --program-transfor \
1327 | --program-transfo | --program-transf \
1328 | --program-trans | --program-tran \
1329 | --progr-tra | --program-tr | --program-t)
1330 ac_prev
=program_transform_name
;;
1331 -program-transform-name=* | --program-transform-name=* \
1332 | --program-transform-nam=* | --program-transform-na=* \
1333 | --program-transform-n=* | --program-transform-=* \
1334 | --program-transform=* | --program-transfor=* \
1335 | --program-transfo=* | --program-transf=* \
1336 | --program-trans=* | --program-tran=* \
1337 | --progr-tra=* | --program-tr=* | --program-t=*)
1338 program_transform_name
=$ac_optarg ;;
1340 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1342 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1343 pdfdir
=$ac_optarg ;;
1345 -psdir | --psdir | --psdi | --psd | --ps)
1347 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1351 | -silent | --silent | --silen | --sile | --sil)
1354 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1356 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1358 sbindir
=$ac_optarg ;;
1360 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1361 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1362 | --sharedst | --shareds | --shared | --share | --shar \
1364 ac_prev
=sharedstatedir
;;
1365 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1366 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1367 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1369 sharedstatedir
=$ac_optarg ;;
1371 -site | --site | --sit)
1373 -site=* | --site=* | --sit=*)
1376 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1378 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1379 srcdir
=$ac_optarg ;;
1381 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1382 | --syscon | --sysco | --sysc | --sys | --sy)
1383 ac_prev
=sysconfdir
;;
1384 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1385 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1386 sysconfdir
=$ac_optarg ;;
1388 -target | --target | --targe | --targ | --tar | --ta | --t)
1389 ac_prev
=target_alias
;;
1390 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1391 target_alias
=$ac_optarg ;;
1393 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1396 -version | --version | --versio | --versi | --vers | -V)
1397 ac_init_version
=: ;;
1400 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1401 # Reject names that are not valid shell variable names.
1402 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1403 { echo "$as_me: error: invalid package name: $ac_package" >&2
1404 { (exit 1); exit 1; }; }
1405 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1406 eval with_
$ac_package=\
$ac_optarg ;;
1408 -without-* | --without-*)
1409 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1412 { echo "$as_me: error: invalid package name: $ac_package" >&2
1413 { (exit 1); exit 1; }; }
1414 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1415 eval with_
$ac_package=no
;;
1418 # Obsolete; use --with-x.
1421 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1422 | --x-incl | --x-inc | --x-in | --x-i)
1423 ac_prev
=x_includes
;;
1424 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1425 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1426 x_includes
=$ac_optarg ;;
1428 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1429 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1430 ac_prev
=x_libraries
;;
1431 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1432 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1433 x_libraries
=$ac_optarg ;;
1435 -*) { echo "$as_me: error: unrecognized option: $ac_option
1436 Try \`$0 --help' for more information." >&2
1437 { (exit 1); exit 1; }; }
1441 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1442 # Reject names that are not valid shell variable names.
1443 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1444 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1445 { (exit 1); exit 1; }; }
1446 eval $ac_envvar=\
$ac_optarg
1447 export $ac_envvar ;;
1450 # FIXME: should be removed in autoconf 3.0.
1451 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1452 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1453 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1454 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1460 if test -n "$ac_prev"; then
1461 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1462 { echo "$as_me: error: missing argument to $ac_option" >&2
1463 { (exit 1); exit 1; }; }
1466 # Be sure to have absolute directory names.
1467 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1468 datadir sysconfdir sharedstatedir localstatedir includedir \
1469 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1470 libdir localedir mandir
1472 eval ac_val
=\$
$ac_var
1474 [\\/$
]* | ?
:[\\/]* ) continue;;
1475 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1477 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1478 { (exit 1); exit 1; }; }
1481 # There might be people who depend on the old broken behavior: `$host'
1482 # used to hold the argument of --host etc.
1483 # FIXME: To remove some day.
1486 target
=$target_alias
1488 # FIXME: To remove some day.
1489 if test "x$host_alias" != x
; then
1490 if test "x$build_alias" = x
; then
1491 cross_compiling
=maybe
1492 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1493 If a cross compiler is detected then cross compile mode will be used." >&2
1494 elif test "x$build_alias" != "x$host_alias"; then
1500 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1502 test "$silent" = yes && exec 6>/dev
/null
1505 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1506 ac_ls_di
=`ls -di .` &&
1507 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1508 { echo "$as_me: error: Working directory cannot be determined" >&2
1509 { (exit 1); exit 1; }; }
1510 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1511 { echo "$as_me: error: pwd does not report name of working directory" >&2
1512 { (exit 1); exit 1; }; }
1515 # Find the source files, if location was not specified.
1516 if test -z "$srcdir"; then
1517 ac_srcdir_defaulted
=yes
1518 # Try the directory containing this script, then the parent directory.
1519 ac_confdir
=`$as_dirname -- "$0" ||
1520 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1521 X"$0" : 'X\(//\)[^/]' \| \
1522 X"$0" : 'X\(//\)$' \| \
1523 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1543 if test ! -r "$srcdir/$ac_unique_file"; then
1547 ac_srcdir_defaulted
=no
1549 if test ! -r "$srcdir/$ac_unique_file"; then
1550 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1551 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1552 { (exit 1); exit 1; }; }
1554 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1556 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1557 { (exit 1); exit 1; }; }
1559 # When building in place, set srcdir=.
1560 if test "$ac_abs_confdir" = "$ac_pwd"; then
1563 # Remove unnecessary trailing slashes from srcdir.
1564 # Double slashes in file names in object file debugging info
1565 # mess up M-x gdb in Emacs.
1567 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1569 for ac_var
in $ac_precious_vars; do
1570 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1571 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1572 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1573 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1577 # Report the --help message.
1579 if test "$ac_init_help" = "long"; then
1580 # Omit some internal or obsolete options to make the list less imposing.
1581 # This message is too long to be a string in the A/UX 3.1 sh.
1583 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1585 Usage: $0 [OPTION]... [VAR=VALUE]...
1587 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1588 VAR=VALUE. See below for descriptions of some of the useful variables.
1590 Defaults for the options are specified in brackets.
1593 -h, --help display this help and exit
1594 --help=short display options specific to this package
1595 --help=recursive display the short help of all the included packages
1596 -V, --version display version information and exit
1597 -q, --quiet, --silent do not print \`checking...' messages
1598 --cache-file=FILE cache test results in FILE [disabled]
1599 -C, --config-cache alias for \`--cache-file=config.cache'
1600 -n, --no-create do not create output files
1601 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1603 Installation directories:
1604 --prefix=PREFIX install architecture-independent files in PREFIX
1605 [$ac_default_prefix]
1606 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1609 By default, \`make install' will install all the files in
1610 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1611 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1612 for instance \`--prefix=\$HOME'.
1614 For better control, use the options below.
1616 Fine tuning of the installation directories:
1617 --bindir=DIR user executables [EPREFIX/bin]
1618 --sbindir=DIR system admin executables [EPREFIX/sbin]
1619 --libexecdir=DIR program executables [EPREFIX/libexec]
1620 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1621 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1622 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1623 --libdir=DIR object code libraries [EPREFIX/lib]
1624 --includedir=DIR C header files [PREFIX/include]
1625 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1626 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1627 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1628 --infodir=DIR info documentation [DATAROOTDIR/info]
1629 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1630 --mandir=DIR man documentation [DATAROOTDIR/man]
1631 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1632 --htmldir=DIR html documentation [DOCDIR]
1633 --dvidir=DIR dvi documentation [DOCDIR]
1634 --pdfdir=DIR pdf documentation [DOCDIR]
1635 --psdir=DIR ps documentation [DOCDIR]
1641 --x-includes=DIR X include files are
in DIR
1642 --x-libraries=DIR X library files are
in DIR
1645 --build=BUILD configure
for building on BUILD
[guessed
]
1646 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1647 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1651 if test -n "$ac_init_help"; then
1652 case $ac_init_help in
1653 short
| recursive
) echo "Configuration of wxWidgets 2.9.0:";;
1658 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1659 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1660 --disable-gui don
't build GUI parts of the library
1661 --enable-monolithic build wxWidgets as single library
1662 --enable-plugins build parts of wxWidgets as loadable components
1663 --enable-official_build official build of wxWidgets (win32 DLL only)
1664 --enable-vendor=VENDOR vendor name (win32 DLL only)
1665 --disable-all-features disable all optional features to build minimal library
1666 --enable-universal use wxWidgets GUI controls instead of native ones
1667 --enable-nanox use NanoX
1668 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1669 --enable-gpe use GNOME PDA Environment features if possible
1670 --disable-shared create static library instead of shared
1671 --enable-debug same as debug_flag and debug_info
1672 --enable-stl use STL for containers
1673 --enable-std_iostreams use standard C++ stream classes
1674 --enable-std_string use standard C++ string classes
1675 --disable-unicode compile without Unicode support
1676 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1677 --enable-utf8 use UTF-8 representation for strings (Unix only)
1678 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1679 --enable-extended_rtti use extended RTTI (XTI)
1680 --enable-omf use OMF object format
1681 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1682 --enable-debug_info create code with debugging information
1683 --disable-optimise compile without optimisations
1684 --enable-debug_gdb create code with extra GDB debugging information
1685 --enable-debug_cntxt use wxDebugContext
1686 --enable-mem_tracing create code with memory tracing
1687 --enable-profile create code with profiling information
1688 --enable-no_rtti create code without RTTI information
1689 --enable-no_exceptions create code without C++ exceptions handling
1690 --enable-permissive compile code disregarding strict ANSI
1691 --enable-no_deps create code without dependency information
1692 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1693 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1694 --enable-compat26 enable wxWidgets
2.6 compatibility
1695 --disable-compat28 disable wxWidgets
2.8 compatibility
1696 --disable-rpath disable use of rpath
for uninstalled builds
1697 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1698 --disable-visibility disable use of ELF symbols visibility even
if supported
1699 --enable-intl use internationalization system
1700 --enable-xlocale use x
-locale support
(requires wxLocale
)
1701 --enable-config use wxConfig
(and derived
) classes
1702 --enable-protocols use wxProtocol and derived classes
1703 --enable-ftp use wxFTP
(requires wxProtocol
1704 --enable-http use wxHTTP
(requires wxProtocol
1705 --enable-fileproto use wxFileProto class
(requires wxProtocol
1706 --enable-sockets use socket
/network classes
1707 --enable-ipv6 enable IPv6 support
in wxSocket
1708 --enable-ole use OLE classes
(Win32 only
)
1709 --enable-dataobj use data object classes
1710 --enable-ipc use interprocess communication
(wxSocket etc.
)
1711 --enable-baseevtloop use event loop
in console programs too
1712 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1713 --enable-selectloop use wxSelectDispatcher class
1714 --enable-apple_ieee use the Apple IEEE codec
1715 --enable-arcstream use wxArchive streams
1716 --enable-base64 use base64 encoding
/decoding functions
1717 --enable-backtrace use wxStackWalker class
for getting backtraces
1718 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1719 --enable-cmdline use wxCmdLineParser class
1720 --enable-datetime use wxDateTime class
1721 --enable-debugreport use wxDebugReport class
1722 --enable-dialupman use dialup network classes
1723 --enable-dynlib use wxLibrary class
for DLL loading
1724 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1725 --enable-exceptions build exception
-safe library
1726 --enable-ffile use wxFFile class
1727 --enable-file use wxFile class
1728 --enable-filesystem use virtual
file systems classes
1729 --enable-fontenum use wxFontEnumerator class
1730 --enable-fontmap use font encodings conversion classes
1731 --enable-fs_archive use virtual archive filesystems
1732 --enable-fs_inet use virtual HTTP
/FTP filesystems
1733 --enable-fs_zip now replaced by fs_archive
1734 --enable-geometry use geometry class
1735 --enable-log use logging system
1736 --enable-longlong use wxLongLong class
1737 --enable-mimetype use wxMimeTypesManager
1738 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1739 --enable-snglinst use wxSingleInstanceChecker class
1740 --enable-sound use wxSound class
1741 --enable-stdpaths use wxStandardPaths class
1742 --enable-stopwatch use wxStopWatch class
1743 --enable-streams use wxStream etc classes
1744 --enable-sysoptions use wxSystemOptions
1745 --enable-tarstream use wxTar streams
1746 --enable-textbuf use wxTextBuffer class
1747 --enable-textfile use wxTextFile class
1748 --enable-timer use wxTimer class
1749 --enable-variant use wxVariant class
1750 --enable-zipstream use wxZip streams
1751 --enable-url use wxURL class
1752 --enable-protocol use wxProtocol class
1753 --enable-protocol-http HTTP support
in wxProtocol
1754 --enable-protocol-ftp FTP support
in wxProtocol
1755 --enable-protocol-file FILE support
in wxProtocol
1756 --enable-threads use threads
1757 --enable-iniconf use wxIniConfig
(Win32 only
)
1758 --enable-regkey use wxRegKey class
(Win32 only
)
1759 --enable-docview use document view architecture
1760 --enable-help use
help subsystem
1761 --enable-mshtmlhelp use MS HTML Help
(win32
)
1762 --enable-html use wxHTML sub
-library
1763 --enable-htmlhelp use wxHTML
-based help
1764 --enable-xrc use XRC resources sub
-library
1765 --enable-aui use AUI docking library
1766 --enable-propgrid use wxPropertyGrid library
1767 --enable-stc use wxStyledTextCtrl library
1768 --enable-constraints use layout
-constraints system
1769 --enable-loggui use standard GUI logger
1770 --enable-logwin use wxLogWindow
1771 --enable-logdialog use wxLogDialog
1772 --enable-mdi use multiple document interface architecture
1773 --enable-mdidoc use docview architecture with MDI
1774 --enable-mediactrl use wxMediaCtrl class
1775 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1776 --enable-webkit use wxWebKitCtrl
(Mac
)
1777 --enable-richtext use wxRichTextCtrl
1778 --enable-graphics_ctx use graphics context
2D drawing API
1779 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1780 --enable-printarch use printing architecture
1781 --enable-svg use wxSVGFileDC device context
1782 --enable-clipboard use wxClipboard class
1783 --enable-dnd use Drag
'n'Drop classes
1784 --enable-metafile use win32 metafiles
1785 --disable-controls disable compilation of all standard controls
1786 --enable-accel use accelerators
1787 --enable-animatectrl use wxAnimationCtrl class
1788 --enable-button use wxButton class
1789 --enable-bmpbutton use wxBitmapButton class
1790 --enable-bmpcombobox use wxBitmapComboBox class
1791 --enable-calendar use wxCalendarCtrl class
1792 --enable-caret use wxCaret class
1793 --enable-checkbox use wxCheckBox class
1794 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1795 --enable-choice use wxChoice class
1796 --enable-choicebook use wxChoicebook class
1797 --enable-collpane use wxCollapsiblePane class
1798 --enable-colourpicker use wxColourPickerCtrl class
1799 --enable-combobox use wxComboBox class
1800 --enable-comboctrl use wxComboCtrl class
1801 --enable-datepick use wxDatePickerCtrl class
1802 --enable-dirpicker use wxDirPickerCtrl class
1803 --enable-display use wxDisplay class
1804 --enable-detect_sm use code to detect X11 session manager
1805 --enable-editablebox use wxEditableListBox class
1806 --enable-filepicker use wxFilePickerCtrl class
1807 --enable-filectrl use wxFileCtrl class
1808 --enable-fontpicker use wxFontPickerCtrl class
1809 --enable-gauge use wxGauge class
1810 --enable-grid use wxGrid class
1811 --enable-dataviewctrl use wxDataViewCtrl class
1812 --enable-hyperlink use wxHyperlinkCtrl class
1813 --enable-imaglist use wxImageList class
1814 --enable-listbook use wxListbook class
1815 --enable-listbox use wxListBox class
1816 --enable-listctrl use wxListCtrl class
1817 --enable-notebook use wxNotebook class
1818 --enable-notifmsg use wxNotificationMessage class
1819 --enable-odcombobox use wxOwnerDrawnComboBox class
1820 --enable-radiobox use wxRadioBox class
1821 --enable-radiobtn use wxRadioButton class
1822 --enable-sash use wxSashWindow class
1823 --enable-scrollbar use wxScrollBar class and scrollable windows
1824 --enable-searchctrl use wxSearchCtrl class
1825 --enable-slider use wxSlider class
1826 --enable-spinbtn use wxSpinButton class
1827 --enable-spinctrl use wxSpinCtrl class
1828 --enable-splitter use wxSplitterWindow class
1829 --enable-statbmp use wxStaticBitmap class
1830 --enable-statbox use wxStaticBox class
1831 --enable-statline use wxStaticLine class
1832 --enable-stattext use wxStaticText class
1833 --enable-statusbar use wxStatusBar class
1834 --enable-taskbaricon use wxTaskBarIcon class
1835 --enable-textctrl use wxTextCtrl class
1836 --enable-togglebtn use wxToggleButton class
1837 --enable-toolbar use wxToolBar class
1838 --enable-tbarnative use native wxToolBar class
1839 --enable-treebook use wxTreebook class
1840 --enable-toolbook use wxToolbook class
1841 --enable-treectrl use wxTreeCtrl class
1842 --enable-tipwindow use wxTipWindow class
1843 --enable-popupwin use wxPopUpWindow class
1844 --enable-commondlg use all common dialogs
1845 --enable-aboutdlg use wxAboutBox
1846 --enable-choicedlg use wxChoiceDialog
1847 --enable-coldlg use wxColourDialog
1848 --enable-filedlg use wxFileDialog
1849 --enable-finddlg use wxFindReplaceDialog
1850 --enable-fontdlg use wxFontDialog
1851 --enable-dirdlg use wxDirDialog
1852 --enable-msgdlg use wxMessageDialog
1853 --enable-numberdlg use wxNumberEntryDialog
1854 --enable-splash use wxSplashScreen
1855 --enable-textdlg use wxTextDialog
1856 --enable-tipdlg use startup tips
1857 --enable-progressdlg use wxProgressDialog
1858 --enable-wizarddlg use wxWizard
1859 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1860 --enable-miniframe use wxMiniFrame class
1861 --enable-tooltips use wxToolTip class
1862 --enable-splines use spline drawing code
1863 --enable-mousewheel use mousewheel
1864 --enable-validators use wxValidator and derived classes
1865 --enable-busyinfo use wxBusyInfo
1866 --enable-joystick use wxJoystick
1867 --enable-metafiles use wxMetaFile
(Win32 only
)
1868 --enable-dragimage use wxDragImage
1869 --enable-accessibility enable accessibility support
1870 --enable-palette use wxPalette class
1871 --enable-image use wxImage class
1872 --enable-gif use gif images
(GIF
file format
)
1873 --enable-pcx use pcx images
(PCX
file format
)
1874 --enable-tga use tga images
(TGA
file format
)
1875 --enable-iff use iff images
(IFF
file format
)
1876 --enable-pnm use pnm images
(PNM
file format
)
1877 --enable-xpm use xpm images
(XPM
file format
)
1878 --enable-ico_cur use Windows ICO and CUR formats
1879 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1880 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1881 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1882 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1883 --enable-wxdib use wxDIB class
(Win32 only
)
1884 --enable-autoidman use automatic ids management
1885 --disable-largefile omit support
for large files
1886 --disable-gtktest do not try to compile and run a
test GTK
+ program
1887 --disable-gtktest Do not try to compile and run a
test GTK program
1888 --disable-sdltest Do not try to compile and run a
test SDL program
1889 --enable-omf use OMF object format
(OS
/2)
1890 --disable-dependency-tracking
1891 don
't use dependency tracking even if the compiler
1893 --disable-precomp-headers
1894 don't use precompiled headers even
if compiler can
1897 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1898 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1899 --without-subdirs don
't generate makefiles for samples/demos/...
1900 --with-flavour=NAME specify a name to identify this build
1901 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1902 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1903 --with-motif use Motif/Lesstif
1904 --with-osx_carbon use Mac OS X (Carbon)
1905 --with-osx_cocoa use Mac OS X (Cocoa)
1906 --with-mac use Mac OS X (Default)
1907 --with-cocoa use Cocoa
1908 --with-wine use Wine
1909 --with-msw use MS-Windows
1910 --with-pm use OS/2 Presentation Manager
1911 --with-mgl use SciTech MGL
1912 --with-directfb use DirectFB
1913 --with-microwin use MicroWindows
1915 --with-libpng use libpng (PNG image format)
1916 --with-libjpeg use libjpeg (JPEG file format)
1917 --with-libtiff use libtiff (TIFF file format)
1918 --with-libxpm use libxpm (XPM file format)
1919 --with-libiconv use libiconv (character conversion)
1920 --with-libmspack use libmspack (CHM help files loading)
1921 --without-gtkprint don't use GTK printing support
1922 --without-gnomeprint don
't use GNOME printing libraries
1923 --with-gnomevfs use GNOME VFS for associating MIME types
1924 --with-hildon use Hildon framework for Nokia 770
1925 --with-opengl use OpenGL (or Mesa)
1926 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1927 --with-sdl use SDL for audio on Unix
1928 --with-regex enable support for wxRegEx class
1929 --with-zlib use zlib for LZW compression
1930 --with-expat enable XML support using expat parser
1931 --with-macosx-sdk=PATH use an OS X SDK at PATH
1932 --with-macosx-version-min=VER build binaries which require at least this OS X version
1933 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1934 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1935 --with-x use the X Window System
1936 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1937 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1938 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1939 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1940 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1942 Some influential environment variables:
1943 CC C compiler command
1944 CFLAGS C compiler flags
1945 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1946 nonstandard directory <lib dir>
1947 LIBS libraries to pass to the linker, e.g. -l<library>
1948 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1949 you have headers in a nonstandard directory <include dir>
1951 CXX C++ compiler command
1952 CXXFLAGS C++ compiler flags
1953 PKG_CONFIG path to pkg-config utility
1955 C compiler flags for DIRECTFB, overriding pkg-config
1957 linker flags for DIRECTFB, overriding pkg-config
1958 XMKMF Path to xmkmf, Makefile generator for X Window System
1960 C compiler flags for PANGOX, overriding pkg-config
1961 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1963 C compiler flags for PANGOFT2, overriding pkg-config
1965 linker flags for PANGOFT2, overriding pkg-config
1967 C compiler flags for PANGOXFT, overriding pkg-config
1969 linker flags for PANGOXFT, overriding pkg-config
1971 C compiler flags for GTKPRINT, overriding pkg-config
1973 linker flags for GTKPRINT, overriding pkg-config
1974 LIBGNOMEPRINTUI_CFLAGS
1975 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1976 LIBGNOMEPRINTUI_LIBS
1977 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1979 C compiler flags for GNOMEVFS, overriding pkg-config
1981 linker flags for GNOMEVFS, overriding pkg-config
1983 C compiler flags for HILDON, overriding pkg-config
1984 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1986 C compiler flags for CAIRO, overriding pkg-config
1987 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1988 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1989 GST_LIBS linker flags for GST, overriding pkg-config
1991 Use these variables to override the choices made by `configure' or to
help
1992 it to
find libraries and programs with nonstandard names
/locations.
1994 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
1999 if test "$ac_init_help" = "recursive"; then
2000 # If there are subdirs, report their specific --help.
2001 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2002 test -d "$ac_dir" || continue
2006 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2008 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2009 # A ".." for each directory in $ac_dir_suffix.
2010 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2011 case $ac_top_builddir_sub in
2012 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2013 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2016 ac_abs_top_builddir
=$ac_pwd
2017 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2018 # for backward compatibility:
2019 ac_top_builddir
=$ac_top_build_prefix
2022 .
) # We are building in place.
2024 ac_top_srcdir
=$ac_top_builddir_sub
2025 ac_abs_top_srcdir
=$ac_pwd ;;
2026 [\\/]* | ?
:[\\/]* ) # Absolute name.
2027 ac_srcdir
=$srcdir$ac_dir_suffix;
2028 ac_top_srcdir
=$srcdir
2029 ac_abs_top_srcdir
=$srcdir ;;
2031 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2032 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2033 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2035 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2037 cd "$ac_dir" || { ac_status
=$?
; continue; }
2038 # Check for guested configure.
2039 if test -f "$ac_srcdir/configure.gnu"; then
2041 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2042 elif test -f "$ac_srcdir/configure"; then
2044 $SHELL "$ac_srcdir/configure" --help=recursive
2046 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2048 cd "$ac_pwd" || { ac_status
=$?
; break; }
2052 test -n "$ac_init_help" && exit $ac_status
2053 if $ac_init_version; then
2055 wxWidgets configure
2.9.0
2056 generated by GNU Autoconf
2.61
2058 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2059 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2060 This configure
script is free software
; the Free Software Foundation
2061 gives unlimited permission to copy
, distribute and modify it.
2065 cat >config.log
<<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2069 It was created by wxWidgets $as_me 2.9.0, which was
2070 generated by GNU Autoconf 2.61. Invocation command line was
2082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2091 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2092 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2095 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2096 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2097 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir
=.
2106 echo "PATH: $as_dir"
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2130 ac_must_keep_next
=false
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2141 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2144 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2146 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2147 if test $ac_must_keep_next = true
; then
2148 ac_must_keep_next
=false
# Got value, back to normal.
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2159 -* ) ac_must_keep_next
=true
;;
2162 ac_configure_args
="$ac_configure_args '$ac_arg'"
2167 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2168 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2181 ## ---------------- ##
2182 ## Cache variables. ##
2183 ## ---------------- ##
2186 # The following way of writing the cache mishandles newlines in values,
2188 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2189 eval ac_val=\$$ac_var
2193 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2194 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2197 _ | IFS | as_nl) ;; #(
2198 *) $as_unset $ac_var ;;
2203 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2204 *${as_nl}ac_space=\ *)
2206 "s/'\''/'\''\\\\'\'''\''/g;
2207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2218 ## ----------------- ##
2219 ## Output variables. ##
2220 ## ----------------- ##
2223 for ac_var in $ac_subst_vars
2225 eval ac_val=\$$ac_var
2227 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2229 echo "$ac_var='\''$ac_val'\''"
2233 if test -n "$ac_subst_files"; then
2235 ## ------------------- ##
2236 ## File substitutions. ##
2237 ## ------------------- ##
2240 for ac_var
in $ac_subst_files
2242 eval ac_val
=\$
$ac_var
2244 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2246 echo "$ac_var='\''$ac_val'\''"
2251 if test -s confdefs.h; then
2261 test "$ac_signal" != 0 &&
2262 echo "$as_me: caught signal $ac_signal"
2263 echo "$as_me: exit $exit_status"
2265 rm -f core *.core core.conftest.* &&
2266 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2269 for ac_signal
in 1 2 13 15; do
2270 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2274 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2275 rm -f -r conftest
* confdefs.h
2277 # Predefined preprocessor variables.
2279 cat >>confdefs.h
<<_ACEOF
2280 #define PACKAGE_NAME "$PACKAGE_NAME"
2284 cat >>confdefs.h
<<_ACEOF
2285 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2289 cat >>confdefs.h
<<_ACEOF
2290 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2294 cat >>confdefs.h
<<_ACEOF
2295 #define PACKAGE_STRING "$PACKAGE_STRING"
2299 cat >>confdefs.h
<<_ACEOF
2300 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2304 # Let the site file select an alternate cache file if it wants to.
2305 # Prefer explicitly selected file to automatically selected ones.
2306 if test -n "$CONFIG_SITE"; then
2307 set x
"$CONFIG_SITE"
2308 elif test "x$prefix" != xNONE
; then
2309 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2311 set x
"$ac_default_prefix/share/config.site" \
2312 "$ac_default_prefix/etc/config.site"
2317 if test -r "$ac_site_file"; then
2318 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2319 echo "$as_me: loading site script $ac_site_file" >&6;}
2320 sed 's/^/| /' "$ac_site_file" >&5
2325 if test -r "$cache_file"; then
2326 # Some versions of bash will fail to source /dev/null (special
2327 # files actually), so we avoid doing that.
2328 if test -f "$cache_file"; then
2329 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2330 echo "$as_me: loading cache $cache_file" >&6;}
2332 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2333 *) .
"./$cache_file";;
2337 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2338 echo "$as_me: creating cache $cache_file" >&6;}
2342 # Check that the precious variables saved in the cache have kept the same
2344 ac_cache_corrupted
=false
2345 for ac_var
in $ac_precious_vars; do
2346 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2347 eval ac_new_set
=\
$ac_env_${ac_var}_set
2348 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2349 eval ac_new_val
=\
$ac_env_${ac_var}_value
2350 case $ac_old_set,$ac_new_set in
2352 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2353 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2354 ac_cache_corrupted
=: ;;
2356 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2357 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2358 ac_cache_corrupted
=: ;;
2361 if test "x$ac_old_val" != "x$ac_new_val"; then
2362 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2363 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2364 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2365 echo "$as_me: former value: $ac_old_val" >&2;}
2366 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2367 echo "$as_me: current value: $ac_new_val" >&2;}
2368 ac_cache_corrupted
=:
2371 # Pass precious variables to config.status.
2372 if test "$ac_new_set" = set; then
2374 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2375 *) ac_arg
=$ac_var=$ac_new_val ;;
2377 case " $ac_configure_args " in
2378 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2379 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2383 if $ac_cache_corrupted; then
2384 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2385 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2386 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2387 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2388 { (exit 1); exit 1; }; }
2416 ac_cpp
='$CPP $CPPFLAGS'
2417 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2418 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2419 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2426 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2427 if test -f "$ac_dir/install-sh"; then
2429 ac_install_sh
="$ac_aux_dir/install-sh -c"
2431 elif test -f "$ac_dir/install.sh"; then
2433 ac_install_sh
="$ac_aux_dir/install.sh -c"
2435 elif test -f "$ac_dir/shtool"; then
2437 ac_install_sh
="$ac_aux_dir/shtool install -c"
2441 if test -z "$ac_aux_dir"; then
2442 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2443 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2444 { (exit 1); exit 1; }; }
2447 # These three variables are undocumented and unsupported,
2448 # and are intended to be withdrawn in a future Autoconf release.
2449 # They can cause serious problems if a builder's source tree is in a directory
2450 # whose full name contains unusual characters.
2451 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2452 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2453 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2456 # Make sure we can run config.sub.
2457 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2458 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2459 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2460 { (exit 1); exit 1; }; }
2462 { echo "$as_me:$LINENO: checking build system type" >&5
2463 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2464 if test "${ac_cv_build+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 ac_build_alias
=$build_alias
2468 test "x$ac_build_alias" = x
&&
2469 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2470 test "x$ac_build_alias" = x
&&
2471 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2472 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2473 { (exit 1); exit 1; }; }
2474 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2480 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2481 echo "${ECHO_T}$ac_cv_build" >&6; }
2482 case $ac_cv_build in
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2485 echo "$as_me: error: invalid value of canonical build" >&2;}
2486 { (exit 1); exit 1; }; };;
2489 ac_save_IFS
=$IFS; IFS
='-'
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2499 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2502 { echo "$as_me:$LINENO: checking host system type" >&5
2503 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_host+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2507 if test "x$host_alias" = x
; then
2508 ac_cv_host
=$ac_cv_build
2510 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2517 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2518 echo "${ECHO_T}$ac_cv_host" >&6; }
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2522 echo "$as_me: error: invalid value of canonical host" >&2;}
2523 { (exit 1); exit 1; }; };;
2526 ac_save_IFS
=$IFS; IFS
='-'
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2536 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2539 { echo "$as_me:$LINENO: checking target system type" >&5
2540 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2541 if test "${ac_cv_target+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 if test "x$target_alias" = x
; then
2545 ac_cv_target
=$ac_cv_host
2547 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2548 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2549 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2550 { (exit 1); exit 1; }; }
2554 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2555 echo "${ECHO_T}$ac_cv_target" >&6; }
2556 case $ac_cv_target in
2558 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2559 echo "$as_me: error: invalid value of canonical target" >&2;}
2560 { (exit 1); exit 1; }; };;
2562 target
=$ac_cv_target
2563 ac_save_IFS
=$IFS; IFS
='-'
2569 # Remember, the first character of IFS is used to create $*,
2570 # except with old shells:
2573 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2576 # The aliases save the names the user supplied, while $host etc.
2577 # will get canonicalized.
2578 test -n "$target_alias" &&
2579 test "$program_prefix$program_suffix$program_transform_name" = \
2581 program_prefix
=${target_alias}-
2585 wx_major_version_number
=2
2586 wx_minor_version_number
=9
2588 wx_subrelease_number
=0
2590 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2591 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2592 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2594 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2597 wx_top_builddir
="`pwd`"
2610 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2616 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2624 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2626 DEFAULT_wxUSE_COCOA
=0
2628 DEFAULT_wxUSE_OSX_CARBON
=0
2629 DEFAULT_wxUSE_OSX_COCOA
=0
2631 DEFAULT_wxUSE_MICROWIN
=0
2632 DEFAULT_wxUSE_MOTIF
=0
2638 DEFAULT_DEFAULT_wxUSE_COCOA
=0
2639 DEFAULT_DEFAULT_wxUSE_GTK
=0
2640 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2642 DEFAULT_DEFAULT_wxUSE_MGL
=0
2643 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2644 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2645 DEFAULT_DEFAULT_wxUSE_MSW
=0
2646 DEFAULT_DEFAULT_wxUSE_PM
=0
2647 DEFAULT_DEFAULT_wxUSE_X11
=0
2648 DEFAULT_DEFAULT_wxUSE_DFB
=0
2652 SAMPLES_RPATH_POSTLINK
=
2654 DEFAULT_STD_FLAG
=yes
2659 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2660 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2661 cat >>confdefs.h
<<\_ACEOF
2666 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2670 cat >>confdefs.h
<<\_ACEOF
2675 if test "x$TMP" = "xalpha"; then
2677 cat >>confdefs.h
<<\_ACEOF
2682 DEFAULT_DEFAULT_wxUSE_GTK
=1
2684 *-*-gnu* | *-*-k*bsd
*-gnu )
2687 if test "x$TMP" = "xalpha"; then
2689 cat >>confdefs.h
<<\_ACEOF
2694 DEFAULT_DEFAULT_wxUSE_GTK
=1
2696 *-*-irix5* | *-*-irix6* )
2699 cat >>confdefs.h
<<\_ACEOF
2703 cat >>confdefs.h
<<\_ACEOF
2707 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2713 cat >>confdefs.h
<<\_ACEOF
2717 cat >>confdefs.h
<<\_ACEOF
2718 #define __SOLARIS__ 1
2721 cat >>confdefs.h
<<\_ACEOF
2725 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2726 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2732 cat >>confdefs.h
<<\_ACEOF
2736 cat >>confdefs.h
<<\_ACEOF
2740 cat >>confdefs.h
<<\_ACEOF
2744 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2749 cat >>confdefs.h
<<\_ACEOF
2750 #define __FREEBSD__ 1
2753 cat >>confdefs.h
<<\_ACEOF
2757 DEFAULT_DEFAULT_wxUSE_GTK
=1
2759 *-*-openbsd*|*-*-mirbsd*)
2762 cat >>confdefs.h
<<\_ACEOF
2763 #define __OPENBSD__ 1
2766 cat >>confdefs.h
<<\_ACEOF
2770 DEFAULT_DEFAULT_wxUSE_GTK
=1
2775 cat >>confdefs.h
<<\_ACEOF
2776 #define __NETBSD__ 1
2779 cat >>confdefs.h
<<\_ACEOF
2783 DEFAULT_DEFAULT_wxUSE_GTK
=1
2784 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2786 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2791 cat >>confdefs.h
<<\_ACEOF
2795 cat >>confdefs.h
<<\_ACEOF
2799 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2800 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2805 cat >>confdefs.h
<<\_ACEOF
2809 cat >>confdefs.h
<<\_ACEOF
2813 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2818 cat >>confdefs.h
<<\_ACEOF
2822 cat >>confdefs.h
<<\_ACEOF
2826 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2832 cat >>confdefs.h
<<\_ACEOF
2836 cat >>confdefs.h
<<\_ACEOF
2840 cat >>confdefs.h
<<\_ACEOF
2844 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2851 cat >>confdefs.h
<<\_ACEOF
2852 #define __UNIXWARE__ 1
2857 *-*-cygwin* | *-*-mingw32* )
2859 DEFAULT_DEFAULT_wxUSE_MSW
=1
2865 cat >>confdefs.h
<<\_ACEOF
2870 DEFAULT_DEFAULT_wxUSE_MGL
=1
2873 *-pc-os2_emx | *-pc-os2-emx )
2874 cat >>confdefs.h
<<\_ACEOF
2879 cat >>confdefs.h
<<\_ACEOF
2884 DEFAULT_DEFAULT_wxUSE_PM
=1
2886 LDFLAGS
="$LDFLAGS -Zcrtdll"
2887 ac_executable_extensions
=".exe"
2888 export ac_executable_extensions
2892 for ac_dir
in $PATH; do
2894 if test -z "$ac_TEMP_PATH"; then
2895 ac_TEMP_PATH
="$ac_dir"
2897 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2900 export PATH
="$ac_TEMP_PATH"
2908 cat >>confdefs.h
<<\_ACEOF
2912 cat >>confdefs.h
<<\_ACEOF
2913 #define __DARWIN__ 1
2916 cat >>confdefs.h
<<\_ACEOF
2917 #define TARGET_CARBON 1
2920 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2923 powerpc
-apple-macos* )
2925 ac_cv_c_bigendian
=yes
2926 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2932 cat >>confdefs.h
<<\_ACEOF
2939 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2940 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2941 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2942 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2944 DEFAULT_DEFAULT_wxUSE_X11
=1
2945 DEFAULT_wxUSE_SHARED
=no
2950 DEFAULT_wxUSE_ALL_FEATURES
=yes
2952 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2953 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2955 DEFAULT_wxUSE_DMALLOC
=no
2956 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2957 DEFAULT_wxUSE_LIBHILDON
=no
2958 DEFAULT_wxUSE_LIBMSPACK
=no
2959 DEFAULT_wxUSE_LIBSDL
=no
2961 DEFAULT_wxUSE_ACCESSIBILITY
=no
2962 DEFAULT_wxUSE_GRAPHICS_CONTEXT
=no
2963 DEFAULT_wxUSE_IPV6
=no
2964 DEFAULT_wxUSE_GSTREAMER8
=no
2966 DEFAULT_wxUSE_UNICODE_UTF8
=auto
2967 DEFAULT_wxUSE_OPENGL
=auto
2968 DEFAULT_wxUSE_MEDIACTRL
=auto
2970 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
2972 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
2974 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
2976 DEFAULT_wxUSE_GTK2
=yes
2978 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
2984 enablestring
=disable
2986 if test -z "$defaultval"; then
2987 if test x
"$enablestring" = xdisable
; then
2994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2995 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2996 # Check whether --enable-gui was given.
2997 if test "${enable_gui+set}" = set; then
2998 enableval
=$enable_gui;
2999 if test "$enableval" = yes; then
3000 wx_cv_use_gui
='wxUSE_GUI=yes'
3002 wx_cv_use_gui
='wxUSE_GUI=no'
3007 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3012 eval "$wx_cv_use_gui"
3014 if test x"$enablestring" = xdisable; then
3015 if test $wxUSE_GUI = yes; then
3024 { echo "$as_me:$LINENO: result: $result" >&5
3025 echo "${ECHO_T}$result" >&6; }
3030 if test -z "$defaultval"; then
3031 if test x"$enablestring" = xdisable; then
3038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3039 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3040 # Check whether --enable-monolithic was given.
3041 if test "${enable_monolithic+set}" = set; then
3042 enableval=$enable_monolithic;
3043 if test "$enableval" = yes; then
3044 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3046 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3051 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3056 eval "$wx_cv_use_monolithic"
3058 if test x"$enablestring" = xdisable; then
3059 if test $wxUSE_MONOLITHIC = yes; then
3065 result=$wxUSE_MONOLITHIC
3068 { echo "$as_me:$LINENO: result
: $result" >&5
3069 echo "${ECHO_T}$result" >&6; }
3074 if test -z "$defaultval"; then
3075 if test x"$enablestring" = xdisable; then
3082 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3083 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3084 # Check whether --enable-plugins was given.
3085 if test "${enable_plugins+set}" = set; then
3086 enableval=$enable_plugins;
3087 if test "$enableval" = yes; then
3088 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3090 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3095 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3100 eval "$wx_cv_use_plugins"
3102 if test x
"$enablestring" = xdisable
; then
3103 if test $wxUSE_PLUGINS = yes; then
3109 result
=$wxUSE_PLUGINS
3112 { echo "$as_me:$LINENO: result: $result" >&5
3113 echo "${ECHO_T}$result" >&6; }
3117 defaultval
=$wxUSE_ALL_FEATURES
3118 if test -z "$defaultval"; then
3119 if test x
"$withstring" = xwithout
; then
3125 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3126 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3128 # Check whether --with-subdirs was given.
3129 if test "${with_subdirs+set}" = set; then
3130 withval
=$with_subdirs;
3131 if test "$withval" = yes; then
3132 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3134 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3139 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3144 eval "$wx_cv_use_subdirs"
3146 if test x"$withstring" = xwithout; then
3147 if test $wxWITH_SUBDIRS = yes; then
3153 result=$wxWITH_SUBDIRS
3156 { echo "$as_me:$LINENO: result: $result" >&5
3157 echo "${ECHO_T}$result" >&6; }
3160 # Check whether --with-flavour was given.
3161 if test "${with_flavour+set}" = set; then
3162 withval=$with_flavour; WX_FLAVOUR="$withval"
3168 if test -z "$defaultval"; then
3169 if test x"$enablestring" = xdisable; then
3176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3177 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3178 # Check whether --enable-official_build was given.
3179 if test "${enable_official_build+set}" = set; then
3180 enableval=$enable_official_build;
3181 if test "$enableval" = yes; then
3182 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3184 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3189 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3194 eval "$wx_cv_use_official_build"
3196 if test x"$enablestring" = xdisable; then
3197 if test $wxUSE_OFFICIAL_BUILD = yes; then
3203 result=$wxUSE_OFFICIAL_BUILD
3206 { echo "$as_me:$LINENO: result
: $result" >&5
3207 echo "${ECHO_T}$result" >&6; }
3209 # Check whether --enable-vendor was given.
3210 if test "${enable_vendor+set}" = set; then
3211 enableval=$enable_vendor; VENDOR="$enableval"
3214 if test "x
$VENDOR" = "x
"; then
3219 enablestring=disable
3221 if test -z "$defaultval"; then
3222 if test x"$enablestring" = xdisable; then
3229 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3230 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3231 # Check whether --enable-all-features was given.
3232 if test "${enable_all_features+set}" = set; then
3233 enableval=$enable_all_features;
3234 if test "$enableval" = yes; then
3235 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3237 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3242 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3247 eval "$wx_cv_use_all_features"
3249 if test x
"$enablestring" = xdisable
; then
3250 if test $wxUSE_ALL_FEATURES = yes; then
3256 result
=$wxUSE_ALL_FEATURES
3259 { echo "$as_me:$LINENO: result: $result" >&5
3260 echo "${ECHO_T}$result" >&6; }
3264 if test "$wxUSE_GUI" = "yes"; then
3269 if test -z "$defaultval"; then
3270 if test x
"$enablestring" = xdisable
; then
3277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3278 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3279 # Check whether --enable-universal was given.
3280 if test "${enable_universal+set}" = set; then
3281 enableval
=$enable_universal;
3282 if test "$enableval" = yes; then
3283 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3285 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3290 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3295 eval "$wx_cv_use_universal"
3297 if test x"$enablestring" = xdisable; then
3298 if test $wxUSE_UNIVERSAL = yes; then
3304 result=$wxUSE_UNIVERSAL
3307 { echo "$as_me:$LINENO: result: $result" >&5
3308 echo "${ECHO_T}$result" >&6; }
3310 if test "$wxUSE_UNIVERSAL" = "yes"; then
3312 # Check whether --with-themes was given.
3313 if test "${with_themes+set}" = set; then
3314 withval=$with_themes; wxUNIV_THEMES="$withval"
3320 # Check whether --with-gtk was given.
3321 if test "${with_gtk+set}" = set; then
3322 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3326 # Check whether --with-motif was given.
3327 if test "${with_motif+set}" = set; then
3328 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3332 # Check whether --with-osx_carbon was given.
3333 if test "${with_osx_carbon+set}" = set; then
3334 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3338 # Check whether --with-osx_cocoa was given.
3339 if test "${with_osx_cocoa+set}" = set; then
3340 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3344 # Check whether --with-mac was given.
3345 if test "${with_mac+set}" = set; then
3346 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3350 # Check whether --with-cocoa was given.
3351 if test "${with_cocoa+set}" = set; then
3352 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3356 # Check whether --with-wine was given.
3357 if test "${with_wine+set}" = set; then
3358 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3362 # Check whether --with-msw was given.
3363 if test "${with_msw+set}" = set; then
3364 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3368 # Check whether --with-pm was given.
3369 if test "${with_pm+set}" = set; then
3370 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3374 # Check whether --with-mgl was given.
3375 if test "${with_mgl+set}" = set; then
3376 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3380 # Check whether --with-directfb was given.
3381 if test "${with_directfb+set}" = set; then
3382 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3386 # Check whether --with-microwin was given.
3387 if test "${with_microwin+set}" = set; then
3388 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3392 # Check whether --with-x11 was given.
3393 if test "${with_x11+set}" = set; then
3394 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3400 if test -z "$defaultval"; then
3401 if test x"$enablestring" = xdisable; then
3408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3409 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3410 # Check whether --enable-nanox was given.
3411 if test "${enable_nanox+set}" = set; then
3412 enableval=$enable_nanox;
3413 if test "$enableval" = yes; then
3414 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3416 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3421 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3426 eval "$wx_cv_use_nanox"
3428 if test x"$enablestring" = xdisable; then
3429 if test $wxUSE_NANOX = yes; then
3438 { echo "$as_me:$LINENO: result
: $result" >&5
3439 echo "${ECHO_T}$result" >&6; }
3442 # Check whether --enable-gtk2 was given.
3443 if test "${enable_gtk2+set}" = set; then
3444 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3450 if test -z "$defaultval"; then
3451 if test x"$enablestring" = xdisable; then
3458 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3459 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3460 # Check whether --enable-gpe was given.
3461 if test "${enable_gpe+set}" = set; then
3462 enableval=$enable_gpe;
3463 if test "$enableval" = yes; then
3464 wx_cv_use_gpe='wxUSE_GPE=yes'
3466 wx_cv_use_gpe='wxUSE_GPE=no'
3471 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3476 eval "$wx_cv_use_gpe"
3478 if test x
"$enablestring" = xdisable
; then
3479 if test $wxUSE_GPE = yes; then
3488 { echo "$as_me:$LINENO: result: $result" >&5
3489 echo "${ECHO_T}$result" >&6; }
3493 { echo "$as_me:$LINENO: checking for toolkit" >&5
3494 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3498 # In Wine, we need to default to MSW, not GTK or MOTIF
3499 if test "$wxUSE_WINE" = "yes"; then
3500 DEFAULT_DEFAULT_wxUSE_GTK
=0
3501 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3502 DEFAULT_DEFAULT_wxUSE_MSW
=1
3509 if test "$wxUSE_GUI" = "yes"; then
3511 if test "$USE_BEOS" = 1; then
3512 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3513 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3514 { (exit 1); exit 1; }; }
3517 if test "$TOOLKIT_GIVEN" = 1; then
3518 for toolkit
in $ALL_TOOLKITS; do
3520 eval "value=\$${var}"
3521 if test "x$value" = "xno"; then
3523 elif test "x$value" != "x"; then
3527 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3528 eval "wx${toolkit}_VERSION=$value"
3532 for toolkit
in $ALL_TOOLKITS; do
3533 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3534 eval "wxUSE_$toolkit=\$${var}"
3538 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3539 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3540 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3543 *-pc-os2_emx | *-pc-os2-emx )
3544 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3547 case "$NUM_TOOLKITS" in
3551 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3552 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3553 { (exit 1); exit 1; }; }
3556 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3557 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3558 { (exit 1); exit 1; }; }
3561 # to be removed when --disable-gtk2 isn't needed
3562 if test "x$wxUSE_GTK2" = "xyes"; then
3564 elif test "x$wxUSE_GTK2" = "xno"; then
3568 for toolkit
in $ALL_TOOLKITS; do
3570 eval "value=\$${var}"
3571 if test "$value" = 1; then
3572 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3573 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3574 echo "${ECHO_T}$toolkit_echo" >&6; }
3578 if test "x$host_alias" != "x"; then
3579 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3580 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3582 { echo "$as_me:$LINENO: result: base only" >&5
3583 echo "${ECHO_T}base only" >&6; }
3588 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3594 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3595 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3597 # Check whether --with-libpng was given.
3598 if test "${with_libpng+set}" = set; then
3599 withval
=$with_libpng;
3600 if test "$withval" = yes; then
3601 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3602 elif test "$withval" = no
; then
3603 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3604 elif test "$withval" = sys
; then
3605 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3606 elif test "$withval" = builtin; then
3607 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3609 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3610 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3611 { (exit 1); exit 1; }; }
3616 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3621 eval "$wx_cv_use_libpng"
3623 if test "$wxUSE_LIBPNG" = yes; then
3624 { echo "$as_me:$LINENO: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6; }
3626 elif test "$wxUSE_LIBPNG" = no; then
3627 { echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6; }
3629 elif test "$wxUSE_LIBPNG" = sys; then
3630 { echo "$as_me:$LINENO: result: system version" >&5
3631 echo "${ECHO_T}system version" >&6; }
3632 elif test "$wxUSE_LIBPNG" = builtin; then
3633 { echo "$as_me:$LINENO: result: builtin version" >&5
3634 echo "${ECHO_T}builtin version" >&6; }
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3642 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3643 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3645 # Check whether --with-libjpeg was given.
3646 if test "${with_libjpeg+set}" = set; then
3647 withval=$with_libjpeg;
3648 if test "$withval" = yes; then
3649 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3650 elif test "$withval" = no; then
3651 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3652 elif test "$withval" = sys; then
3653 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3654 elif test "$withval" = builtin; then
3655 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3657 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3658 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3659 { (exit 1); exit 1; }; }
3664 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3669 eval "$wx_cv_use_libjpeg"
3671 if test "$wxUSE_LIBJPEG" = yes; then
3672 { echo "$as_me:$LINENO: result
: yes" >&5
3673 echo "${ECHO_T}yes" >&6; }
3674 elif test "$wxUSE_LIBJPEG" = no; then
3675 { echo "$as_me:$LINENO: result
: no
" >&5
3676 echo "${ECHO_T}no
" >&6; }
3677 elif test "$wxUSE_LIBJPEG" = sys; then
3678 { echo "$as_me:$LINENO: result
: system version
" >&5
3679 echo "${ECHO_T}system version
" >&6; }
3680 elif test "$wxUSE_LIBJPEG" = builtin; then
3681 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3682 echo "${ECHO_T}builtin version
" >&6; }
3684 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3685 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3686 { (exit 1); exit 1; }; }
3690 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3691 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3693 # Check whether --with-libtiff was given.
3694 if test "${with_libtiff+set}" = set; then
3695 withval=$with_libtiff;
3696 if test "$withval" = yes; then
3697 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3698 elif test "$withval" = no; then
3699 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3700 elif test "$withval" = sys; then
3701 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3702 elif test "$withval" = builtin; then
3703 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3705 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3706 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3707 { (exit 1); exit 1; }; }
3712 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3717 eval "$wx_cv_use_libtiff"
3719 if test "$wxUSE_LIBTIFF" = yes; then
3720 { echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6; }
3722 elif test "$wxUSE_LIBTIFF" = no
; then
3723 { echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6; }
3725 elif test "$wxUSE_LIBTIFF" = sys
; then
3726 { echo "$as_me:$LINENO: result: system version" >&5
3727 echo "${ECHO_T}system version" >&6; }
3728 elif test "$wxUSE_LIBTIFF" = builtin; then
3729 { echo "$as_me:$LINENO: result: builtin version" >&5
3730 echo "${ECHO_T}builtin version" >&6; }
3732 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3733 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3734 { (exit 1); exit 1; }; }
3738 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3739 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3741 # Check whether --with-libxpm was given.
3742 if test "${with_libxpm+set}" = set; then
3743 withval
=$with_libxpm;
3744 if test "$withval" = yes; then
3745 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3746 elif test "$withval" = no
; then
3747 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3748 elif test "$withval" = sys
; then
3749 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3750 elif test "$withval" = builtin; then
3751 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3753 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3754 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3755 { (exit 1); exit 1; }; }
3760 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3765 eval "$wx_cv_use_libxpm"
3767 if test "$wxUSE_LIBXPM" = yes; then
3768 { echo "$as_me:$LINENO: result: yes" >&5
3769 echo "${ECHO_T}yes" >&6; }
3770 elif test "$wxUSE_LIBXPM" = no; then
3771 { echo "$as_me:$LINENO: result: no" >&5
3772 echo "${ECHO_T}no" >&6; }
3773 elif test "$wxUSE_LIBXPM" = sys; then
3774 { echo "$as_me:$LINENO: result: system version" >&5
3775 echo "${ECHO_T}system version" >&6; }
3776 elif test "$wxUSE_LIBXPM" = builtin; then
3777 { echo "$as_me:$LINENO: result: builtin version" >&5
3778 echo "${ECHO_T}builtin version" >&6; }
3780 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3781 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3782 { (exit 1); exit 1; }; }
3787 defaultval=$wxUSE_ALL_FEATURES
3788 if test -z "$defaultval"; then
3789 if test x"$withstring" = xwithout; then
3795 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3796 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3798 # Check whether --with-libiconv was given.
3799 if test "${with_libiconv+set}" = set; then
3800 withval=$with_libiconv;
3801 if test "$withval" = yes; then
3802 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3804 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3809 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3814 eval "$wx_cv_use_libiconv"
3816 if test x"$withstring" = xwithout; then
3817 if test $wxUSE_LIBICONV = yes; then
3823 result=$wxUSE_LIBICONV
3826 { echo "$as_me:$LINENO: result
: $result" >&5
3827 echo "${ECHO_T}$result" >&6; }
3831 defaultval=$wxUSE_ALL_FEATURES
3832 if test -z "$defaultval"; then
3833 if test x"$withstring" = xwithout; then
3839 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3840 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3842 # Check whether --with-libmspack was given.
3843 if test "${with_libmspack+set}" = set; then
3844 withval=$with_libmspack;
3845 if test "$withval" = yes; then
3846 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3848 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3853 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3858 eval "$wx_cv_use_libmspack"
3860 if test x
"$withstring" = xwithout
; then
3861 if test $wxUSE_LIBMSPACK = yes; then
3867 result
=$wxUSE_LIBMSPACK
3870 { echo "$as_me:$LINENO: result: $result" >&5
3871 echo "${ECHO_T}$result" >&6; }
3875 defaultval
=$wxUSE_ALL_FEATURES
3876 if test -z "$defaultval"; then
3877 if test x
"$withstring" = xwithout
; then
3883 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3884 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3886 # Check whether --with-gtkprint was given.
3887 if test "${with_gtkprint+set}" = set; then
3888 withval
=$with_gtkprint;
3889 if test "$withval" = yes; then
3890 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3892 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3897 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3902 eval "$wx_cv_use_gtkprint"
3904 if test x"$withstring" = xwithout; then
3905 if test $wxUSE_GTKPRINT = yes; then
3911 result=$wxUSE_GTKPRINT
3914 { echo "$as_me:$LINENO: result: $result" >&5
3915 echo "${ECHO_T}$result" >&6; }
3919 defaultval=$wxUSE_ALL_FEATURES
3920 if test -z "$defaultval"; then
3921 if test x"$withstring" = xwithout; then
3927 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3928 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3930 # Check whether --with-gnomeprint was given.
3931 if test "${with_gnomeprint+set}" = set; then
3932 withval=$with_gnomeprint;
3933 if test "$withval" = yes; then
3934 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
3936 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
3941 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3946 eval "$wx_cv_use_gnomeprint"
3948 if test x"$withstring" = xwithout; then
3949 if test $wxUSE_LIBGNOMEPRINT = yes; then
3955 result=$wxUSE_LIBGNOMEPRINT
3958 { echo "$as_me:$LINENO: result
: $result" >&5
3959 echo "${ECHO_T}$result" >&6; }
3963 defaultval=$wxUSE_ALL_FEATURES
3964 if test -z "$defaultval"; then
3965 if test x"$withstring" = xwithout; then
3971 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
3972 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
3974 # Check whether --with-gnomevfs was given.
3975 if test "${with_gnomevfs+set}" = set; then
3976 withval=$with_gnomevfs;
3977 if test "$withval" = yes; then
3978 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3980 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3985 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3990 eval "$wx_cv_use_gnomevfs"
3992 if test x
"$withstring" = xwithout
; then
3993 if test $wxUSE_LIBGNOMEVFS = yes; then
3999 result
=$wxUSE_LIBGNOMEVFS
4002 { echo "$as_me:$LINENO: result: $result" >&5
4003 echo "${ECHO_T}$result" >&6; }
4007 defaultval
=$wxUSE_ALL_FEATURES
4008 if test -z "$defaultval"; then
4009 if test x
"$withstring" = xwithout
; then
4015 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4016 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4018 # Check whether --with-hildon was given.
4019 if test "${with_hildon+set}" = set; then
4020 withval
=$with_hildon;
4021 if test "$withval" = yes; then
4022 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4024 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4029 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4034 eval "$wx_cv_use_hildon"
4036 if test x"$withstring" = xwithout; then
4037 if test $wxUSE_LIBHILDON = yes; then
4043 result=$wxUSE_LIBHILDON
4046 { echo "$as_me:$LINENO: result: $result" >&5
4047 echo "${ECHO_T}$result" >&6; }
4051 defaultval=$wxUSE_ALL_FEATURES
4052 if test -z "$defaultval"; then
4053 if test x"$withstring" = xwithout; then
4059 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4060 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4062 # Check whether --with-opengl was given.
4063 if test "${with_opengl+set}" = set; then
4064 withval=$with_opengl;
4065 if test "$withval" = yes; then
4066 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4068 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4073 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4078 eval "$wx_cv_use_opengl"
4080 if test x"$withstring" = xwithout; then
4081 if test $wxUSE_OPENGL = yes; then
4087 result=$wxUSE_OPENGL
4090 { echo "$as_me:$LINENO: result
: $result" >&5
4091 echo "${ECHO_T}$result" >&6; }
4098 defaultval=$wxUSE_ALL_FEATURES
4099 if test -z "$defaultval"; then
4100 if test x"$withstring" = xwithout; then
4106 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4107 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4109 # Check whether --with-dmalloc was given.
4110 if test "${with_dmalloc+set}" = set; then
4111 withval=$with_dmalloc;
4112 if test "$withval" = yes; then
4113 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4115 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4120 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4125 eval "$wx_cv_use_dmalloc"
4127 if test x
"$withstring" = xwithout
; then
4128 if test $wxUSE_DMALLOC = yes; then
4134 result
=$wxUSE_DMALLOC
4137 { echo "$as_me:$LINENO: result: $result" >&5
4138 echo "${ECHO_T}$result" >&6; }
4142 defaultval
=$wxUSE_ALL_FEATURES
4143 if test -z "$defaultval"; then
4144 if test x
"$withstring" = xwithout
; then
4150 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4151 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4153 # Check whether --with-sdl was given.
4154 if test "${with_sdl+set}" = set; then
4156 if test "$withval" = yes; then
4157 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4159 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4164 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4169 eval "$wx_cv_use_sdl"
4171 if test x"$withstring" = xwithout; then
4172 if test $wxUSE_LIBSDL = yes; then
4178 result=$wxUSE_LIBSDL
4181 { echo "$as_me:$LINENO: result: $result" >&5
4182 echo "${ECHO_T}$result" >&6; }
4185 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4186 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4188 # Check whether --with-regex was given.
4189 if test "${with_regex+set}" = set; then
4190 withval=$with_regex;
4191 if test "$withval" = yes; then
4192 wx_cv_use_regex='wxUSE_REGEX
=yes'
4193 elif test "$withval" = no; then
4194 wx_cv_use_regex='wxUSE_REGEX
=no
'
4195 elif test "$withval" = sys; then
4196 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4197 elif test "$withval" = builtin; then
4198 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4200 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4201 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4202 { (exit 1); exit 1; }; }
4207 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4212 eval "$wx_cv_use_regex"
4214 if test "$wxUSE_REGEX" = yes; then
4215 { echo "$as_me:$LINENO: result
: yes" >&5
4216 echo "${ECHO_T}yes" >&6; }
4217 elif test "$wxUSE_REGEX" = no; then
4218 { echo "$as_me:$LINENO: result
: no
" >&5
4219 echo "${ECHO_T}no
" >&6; }
4220 elif test "$wxUSE_REGEX" = sys; then
4221 { echo "$as_me:$LINENO: result
: system version
" >&5
4222 echo "${ECHO_T}system version
" >&6; }
4223 elif test "$wxUSE_REGEX" = builtin; then
4224 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4225 echo "${ECHO_T}builtin version
" >&6; }
4227 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4228 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4229 { (exit 1); exit 1; }; }
4233 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4234 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4236 # Check whether --with-zlib was given.
4237 if test "${with_zlib+set}" = set; then
4239 if test "$withval" = yes; then
4240 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4241 elif test "$withval" = no; then
4242 wx_cv_use_zlib='wxUSE_ZLIB=no'
4243 elif test "$withval" = sys; then
4244 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4245 elif test "$withval" = builtin; then
4246 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4248 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4249 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4250 { (exit 1); exit 1; }; }
4255 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4260 eval "$wx_cv_use_zlib"
4262 if test "$wxUSE_ZLIB" = yes; then
4263 { echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6; }
4265 elif test "$wxUSE_ZLIB" = no
; then
4266 { echo "$as_me:$LINENO: result: no" >&5
4267 echo "${ECHO_T}no" >&6; }
4268 elif test "$wxUSE_ZLIB" = sys
; then
4269 { echo "$as_me:$LINENO: result: system version" >&5
4270 echo "${ECHO_T}system version" >&6; }
4271 elif test "$wxUSE_ZLIB" = builtin; then
4272 { echo "$as_me:$LINENO: result: builtin version" >&5
4273 echo "${ECHO_T}builtin version" >&6; }
4275 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4276 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4277 { (exit 1); exit 1; }; }
4281 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4282 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4284 # Check whether --with-expat was given.
4285 if test "${with_expat+set}" = set; then
4286 withval
=$with_expat;
4287 if test "$withval" = yes; then
4288 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4289 elif test "$withval" = no
; then
4290 wx_cv_use_expat
='wxUSE_EXPAT=no'
4291 elif test "$withval" = sys
; then
4292 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4293 elif test "$withval" = builtin; then
4294 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4296 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4297 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4298 { (exit 1); exit 1; }; }
4303 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4308 eval "$wx_cv_use_expat"
4310 if test "$wxUSE_EXPAT" = yes; then
4311 { echo "$as_me:$LINENO: result: yes" >&5
4312 echo "${ECHO_T}yes" >&6; }
4313 elif test "$wxUSE_EXPAT" = no; then
4314 { echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6; }
4316 elif test "$wxUSE_EXPAT" = sys; then
4317 { echo "$as_me:$LINENO: result: system version" >&5
4318 echo "${ECHO_T}system version" >&6; }
4319 elif test "$wxUSE_EXPAT" = builtin; then
4320 { echo "$as_me:$LINENO: result: builtin version" >&5
4321 echo "${ECHO_T}builtin version" >&6; }
4323 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4324 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4325 { (exit 1); exit 1; }; }
4329 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4330 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4332 # Check whether --with-macosx-sdk was given.
4333 if test "${with_macosx_sdk+set}" = set; then
4334 withval=$with_macosx_sdk;
4335 wxUSE_MACOSX_SDK=$withval
4336 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4340 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4341 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4343 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4344 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4346 # Check whether --with-macosx-version-min was given.
4347 if test "${with_macosx_version_min+set}" = set; then
4348 withval=$with_macosx_version_min;
4349 wxUSE_MACOSX_VERSION_MIN=$withval
4350 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4354 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4355 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4359 enablestring=disable
4361 if test -z "$defaultval"; then
4362 if test x"$enablestring" = xdisable; then
4369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4370 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4371 # Check whether --enable-shared was given.
4372 if test "${enable_shared+set}" = set; then
4373 enableval=$enable_shared;
4374 if test "$enableval" = yes; then
4375 wx_cv_use_shared='wxUSE_SHARED
=yes'
4377 wx_cv_use_shared='wxUSE_SHARED
=no
'
4382 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4387 eval "$wx_cv_use_shared"
4389 if test x"$enablestring" = xdisable; then
4390 if test $wxUSE_SHARED = yes; then
4396 result=$wxUSE_SHARED
4399 { echo "$as_me:$LINENO: result
: $result" >&5
4400 echo "${ECHO_T}$result" >&6; }
4405 if test -z "$defaultval"; then
4406 if test x"$enablestring" = xdisable; then
4413 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug" >&5
4414 echo $ECHO_N "checking
for --${enablestring:-enable}-debug...
$ECHO_C" >&6; }
4415 # Check whether --enable-debug was given.
4416 if test "${enable_debug+set}" = set; then
4417 enableval=$enable_debug;
4418 if test "$enableval" = yes; then
4419 wx_cv_use_debug='wxUSE_DEBUG=yes'
4421 wx_cv_use_debug='wxUSE_DEBUG=no'
4426 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4431 eval "$wx_cv_use_debug"
4433 if test x
"$enablestring" = xdisable
; then
4434 if test $wxUSE_DEBUG = yes; then
4443 { echo "$as_me:$LINENO: result: $result" >&5
4444 echo "${ECHO_T}$result" >&6; }
4449 if test -z "$defaultval"; then
4450 if test x
"$enablestring" = xdisable
; then
4457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4458 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4459 # Check whether --enable-stl was given.
4460 if test "${enable_stl+set}" = set; then
4461 enableval
=$enable_stl;
4462 if test "$enableval" = yes; then
4463 wx_cv_use_stl
='wxUSE_STL=yes'
4465 wx_cv_use_stl
='wxUSE_STL=no'
4470 wx_cv_use_stl
='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4475 eval "$wx_cv_use_stl"
4477 if test x"$enablestring" = xdisable; then
4478 if test $wxUSE_STL = yes; then
4487 { echo "$as_me:$LINENO: result: $result" >&5
4488 echo "${ECHO_T}$result" >&6; }
4493 if test -z "$defaultval"; then
4494 if test x"$enablestring" = xdisable; then
4501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4502 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4503 # Check whether --enable-std_iostreams was given.
4504 if test "${enable_std_iostreams+set}" = set; then
4505 enableval=$enable_std_iostreams;
4506 if test "$enableval" = yes; then
4507 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
4509 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
4514 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4519 eval "$wx_cv_use_std_iostreams"
4521 if test x"$enablestring" = xdisable; then
4522 if test $wxUSE_STD_IOSTREAM = yes; then
4528 result=$wxUSE_STD_IOSTREAM
4531 { echo "$as_me:$LINENO: result
: $result" >&5
4532 echo "${ECHO_T}$result" >&6; }
4537 if test -z "$defaultval"; then
4538 if test x"$enablestring" = xdisable; then
4545 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string" >&5
4546 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string...
$ECHO_C" >&6; }
4547 # Check whether --enable-std_string was given.
4548 if test "${enable_std_string+set}" = set; then
4549 enableval=$enable_std_string;
4550 if test "$enableval" = yes; then
4551 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4553 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4558 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4563 eval "$wx_cv_use_std_string"
4565 if test x
"$enablestring" = xdisable
; then
4566 if test $wxUSE_STD_STRING = yes; then
4572 result
=$wxUSE_STD_STRING
4575 { echo "$as_me:$LINENO: result: $result" >&5
4576 echo "${ECHO_T}$result" >&6; }
4579 enablestring
=disable
4581 if test -z "$defaultval"; then
4582 if test x
"$enablestring" = xdisable
; then
4589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4591 # Check whether --enable-unicode was given.
4592 if test "${enable_unicode+set}" = set; then
4593 enableval
=$enable_unicode;
4594 if test "$enableval" = yes; then
4595 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4597 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4602 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4607 eval "$wx_cv_use_unicode"
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_UNICODE = yes; then
4616 result=$wxUSE_UNICODE
4619 { echo "$as_me:$LINENO: result: $result" >&5
4620 echo "${ECHO_T}$result" >&6; }
4625 if test -z "$defaultval"; then
4626 if test x"$enablestring" = xdisable; then
4633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4635 # Check whether --enable-mslu was given.
4636 if test "${enable_mslu+set}" = set; then
4637 enableval=$enable_mslu;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
4641 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
4646 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4651 eval "$wx_cv_use_mslu"
4653 if test x"$enablestring" = xdisable; then
4654 if test $wxUSE_UNICODE_MSLU = yes; then
4660 result=$wxUSE_UNICODE_MSLU
4663 { echo "$as_me:$LINENO: result
: $result" >&5
4664 echo "${ECHO_T}$result" >&6; }
4668 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
4669 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
4670 # Check whether --enable-utf8 was given.
4671 if test "${enable_utf8+set}" = set; then
4672 enableval=$enable_utf8;
4673 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
4677 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4682 eval "$wx_cv_use_utf8"
4684 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
4685 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4690 if test -z "$defaultval"; then
4691 if test x"$enablestring" = xdisable; then
4698 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
4699 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
4700 # Check whether --enable-utf8only was given.
4701 if test "${enable_utf8only+set}" = set; then
4702 enableval=$enable_utf8only;
4703 if test "$enableval" = yes; then
4704 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4706 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4711 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4716 eval "$wx_cv_use_utf8only"
4718 if test x
"$enablestring" = xdisable
; then
4719 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4725 result
=$wxUSE_UNICODE_UTF8_LOCALE
4728 { echo "$as_me:$LINENO: result: $result" >&5
4729 echo "${ECHO_T}$result" >&6; }
4734 if test -z "$defaultval"; then
4735 if test x
"$enablestring" = xdisable
; then
4742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4744 # Check whether --enable-extended_rtti was given.
4745 if test "${enable_extended_rtti+set}" = set; then
4746 enableval
=$enable_extended_rtti;
4747 if test "$enableval" = yes; then
4748 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
4750 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
4755 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4760 eval "$wx_cv_use_extended_rtti"
4762 if test x"$enablestring" = xdisable; then
4763 if test $wxUSE_EXTENDED_RTTI = yes; then
4769 result=$wxUSE_EXTENDED_RTTI
4772 { echo "$as_me:$LINENO: result: $result" >&5
4773 echo "${ECHO_T}$result" >&6; }
4775 if test "$USE_OS2" = 1; then
4776 DEFAULT_wxUSE_OMF=no
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4790 # Check whether --enable-omf was given.
4791 if test "${enable_omf+set}" = set; then
4792 enableval=$enable_omf;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_omf='wxUSE_OMF
=yes'
4796 wx_cv_use_omf='wxUSE_OMF
=no
'
4801 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4806 eval "$wx_cv_use_omf"
4808 if test x"$enablestring" = xdisable; then
4809 if test $wxUSE_OMF = yes; then
4818 { echo "$as_me:$LINENO: result
: $result" >&5
4819 echo "${ECHO_T}$result" >&6; }
4823 if test "$wxUSE_DEBUG" = "yes"; then
4824 DEFAULT_wxUSE_DEBUG_FLAG=yes
4825 DEFAULT_wxUSE_DEBUG_INFO=yes
4827 elif test "$wxUSE_DEBUG" = "no
"; then
4828 DEFAULT_wxUSE_DEBUG_FLAG=no
4829 DEFAULT_wxUSE_DEBUG_INFO=no
4836 if test -z "$defaultval"; then
4837 if test x"$enablestring" = xdisable; then
4844 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_flag" >&5
4845 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_flag...
$ECHO_C" >&6; }
4846 # Check whether --enable-debug_flag was given.
4847 if test "${enable_debug_flag+set}" = set; then
4848 enableval=$enable_debug_flag;
4849 if test "$enableval" = yes; then
4850 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4852 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4857 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4862 eval "$wx_cv_use_debug_flag"
4864 if test x
"$enablestring" = xdisable
; then
4865 if test $wxUSE_DEBUG_FLAG = yes; then
4871 result
=$wxUSE_DEBUG_FLAG
4874 { echo "$as_me:$LINENO: result: $result" >&5
4875 echo "${ECHO_T}$result" >&6; }
4880 if test -z "$defaultval"; then
4881 if test x
"$enablestring" = xdisable
; then
4888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4890 # Check whether --enable-debug_info was given.
4891 if test "${enable_debug_info+set}" = set; then
4892 enableval
=$enable_debug_info;
4893 if test "$enableval" = yes; then
4894 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
4896 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
4901 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4906 eval "$wx_cv_use_debug_info"
4908 if test x"$enablestring" = xdisable; then
4909 if test $wxUSE_DEBUG_INFO = yes; then
4915 result=$wxUSE_DEBUG_INFO
4918 { echo "$as_me:$LINENO: result: $result" >&5
4919 echo "${ECHO_T}$result" >&6; }
4922 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4927 if test "$wxUSE_DEBUG" = "yes"; then
4928 DEFAULT_wxUSE_OPTIMISE=no
4932 enablestring=disable
4934 if test -z "$defaultval"; then
4935 if test x"$enablestring" = xdisable; then
4942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4944 # Check whether --enable-optimise was given.
4945 if test "${enable_optimise+set}" = set; then
4946 enableval=$enable_optimise;
4947 if test "$enableval" = yes; then
4948 wx_cv_use_optimise='wxUSE_OPTIMISE
=yes'
4950 wx_cv_use_optimise='wxUSE_OPTIMISE
=no
'
4955 wx_cv_use_optimise='wxUSE_OPTIMISE
=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4960 eval "$wx_cv_use_optimise"
4962 if test x"$enablestring" = xdisable; then
4963 if test $wxUSE_OPTIMISE = yes; then
4969 result=$wxUSE_OPTIMISE
4972 { echo "$as_me:$LINENO: result
: $result" >&5
4973 echo "${ECHO_T}$result" >&6; }
4979 if test -z "$defaultval"; then
4980 if test x"$enablestring" = xdisable; then
4987 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_gdb" >&5
4988 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_gdb...
$ECHO_C" >&6; }
4989 # Check whether --enable-debug_gdb was given.
4990 if test "${enable_debug_gdb+set}" = set; then
4991 enableval=$enable_debug_gdb;
4992 if test "$enableval" = yes; then
4993 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4995 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5000 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5005 eval "$wx_cv_use_debug_gdb"
5007 if test x
"$enablestring" = xdisable
; then
5008 if test $wxUSE_DEBUG_GDB = yes; then
5014 result
=$wxUSE_DEBUG_GDB
5017 { echo "$as_me:$LINENO: result: $result" >&5
5018 echo "${ECHO_T}$result" >&6; }
5023 if test -z "$defaultval"; then
5024 if test x
"$enablestring" = xdisable
; then
5031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5032 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5033 # Check whether --enable-debug_cntxt was given.
5034 if test "${enable_debug_cntxt+set}" = set; then
5035 enableval
=$enable_debug_cntxt;
5036 if test "$enableval" = yes; then
5037 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
5039 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
5044 wx_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5049 eval "$wx_cv_use_debug_cntxt"
5051 if test x"$enablestring" = xdisable; then
5052 if test $wxUSE_DEBUG_CONTEXT = yes; then
5058 result=$wxUSE_DEBUG_CONTEXT
5061 { echo "$as_me:$LINENO: result: $result" >&5
5062 echo "${ECHO_T}$result" >&6; }
5067 if test -z "$defaultval"; then
5068 if test x"$enablestring" = xdisable; then
5075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5076 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5077 # Check whether --enable-mem_tracing was given.
5078 if test "${enable_mem_tracing+set}" = set; then
5079 enableval=$enable_mem_tracing;
5080 if test "$enableval" = yes; then
5081 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=yes'
5083 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=no
'
5088 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING
=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5093 eval "$wx_cv_use_mem_tracing"
5095 if test x"$enablestring" = xdisable; then
5096 if test $wxUSE_MEM_TRACING = yes; then
5102 result=$wxUSE_MEM_TRACING
5105 { echo "$as_me:$LINENO: result
: $result" >&5
5106 echo "${ECHO_T}$result" >&6; }
5111 if test -z "$defaultval"; then
5112 if test x"$enablestring" = xdisable; then
5119 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-profile" >&5
5120 echo $ECHO_N "checking
for --${enablestring:-enable}-profile...
$ECHO_C" >&6; }
5121 # Check whether --enable-profile was given.
5122 if test "${enable_profile+set}" = set; then
5123 enableval=$enable_profile;
5124 if test "$enableval" = yes; then
5125 wx_cv_use_profile='wxUSE_PROFILE=yes'
5127 wx_cv_use_profile='wxUSE_PROFILE=no'
5132 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5137 eval "$wx_cv_use_profile"
5139 if test x
"$enablestring" = xdisable
; then
5140 if test $wxUSE_PROFILE = yes; then
5146 result
=$wxUSE_PROFILE
5149 { echo "$as_me:$LINENO: result: $result" >&5
5150 echo "${ECHO_T}$result" >&6; }
5155 if test -z "$defaultval"; then
5156 if test x
"$enablestring" = xdisable
; then
5163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5164 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5165 # Check whether --enable-no_rtti was given.
5166 if test "${enable_no_rtti+set}" = set; then
5167 enableval
=$enable_no_rtti;
5168 if test "$enableval" = yes; then
5169 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
5171 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
5176 wx_cv_use_no_rtti
='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5181 eval "$wx_cv_use_no_rtti"
5183 if test x"$enablestring" = xdisable; then
5184 if test $wxUSE_NO_RTTI = yes; then
5190 result=$wxUSE_NO_RTTI
5193 { echo "$as_me:$LINENO: result: $result" >&5
5194 echo "${ECHO_T}$result" >&6; }
5199 if test -z "$defaultval"; then
5200 if test x"$enablestring" = xdisable; then
5207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5208 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5209 # Check whether --enable-no_exceptions was given.
5210 if test "${enable_no_exceptions+set}" = set; then
5211 enableval=$enable_no_exceptions;
5212 if test "$enableval" = yes; then
5213 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=yes'
5215 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=no
'
5220 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS
=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5225 eval "$wx_cv_use_no_exceptions"
5227 if test x"$enablestring" = xdisable; then
5228 if test $wxUSE_NO_EXCEPTIONS = yes; then
5234 result=$wxUSE_NO_EXCEPTIONS
5237 { echo "$as_me:$LINENO: result
: $result" >&5
5238 echo "${ECHO_T}$result" >&6; }
5243 if test -z "$defaultval"; then
5244 if test x"$enablestring" = xdisable; then
5251 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-permissive" >&5
5252 echo $ECHO_N "checking
for --${enablestring:-enable}-permissive...
$ECHO_C" >&6; }
5253 # Check whether --enable-permissive was given.
5254 if test "${enable_permissive+set}" = set; then
5255 enableval=$enable_permissive;
5256 if test "$enableval" = yes; then
5257 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5259 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5264 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5269 eval "$wx_cv_use_permissive"
5271 if test x
"$enablestring" = xdisable
; then
5272 if test $wxUSE_PERMISSIVE = yes; then
5278 result
=$wxUSE_PERMISSIVE
5281 { echo "$as_me:$LINENO: result: $result" >&5
5282 echo "${ECHO_T}$result" >&6; }
5287 if test -z "$defaultval"; then
5288 if test x
"$enablestring" = xdisable
; then
5295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5296 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5297 # Check whether --enable-no_deps was given.
5298 if test "${enable_no_deps+set}" = set; then
5299 enableval
=$enable_no_deps;
5300 if test "$enableval" = yes; then
5301 wx_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
5303 wx_cv_use_no_deps
='wxUSE_NO_DEPS=no'
5308 wx_cv_use_no_deps
='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5313 eval "$wx_cv_use_no_deps"
5315 if test x"$enablestring" = xdisable; then
5316 if test $wxUSE_NO_DEPS = yes; then
5322 result=$wxUSE_NO_DEPS
5325 { echo "$as_me:$LINENO: result: $result" >&5
5326 echo "${ECHO_T}$result" >&6; }
5329 enablestring=disable
5331 if test -z "$defaultval"; then
5332 if test x"$enablestring" = xdisable; then
5339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5341 # Check whether --enable-vararg_macros was given.
5342 if test "${enable_vararg_macros+set}" = set; then
5343 enableval=$enable_vararg_macros;
5344 if test "$enableval" = yes; then
5345 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=yes'
5347 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=no
'
5352 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS
=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5357 eval "$wx_cv_use_vararg_macros"
5359 if test x"$enablestring" = xdisable; then
5360 if test $wxUSE_VARARG_MACROS = yes; then
5366 result=$wxUSE_VARARG_MACROS
5369 { echo "$as_me:$LINENO: result
: $result" >&5
5370 echo "${ECHO_T}$result" >&6; }
5374 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-universal_binary" >&5
5375 echo $ECHO_N "checking
for --${enablestring:-enable}-universal_binary...
$ECHO_C" >&6; }
5376 # Check whether --enable-universal_binary was given.
5377 if test "${enable_universal_binary+set}" = set; then
5378 enableval=$enable_universal_binary;
5379 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY
='$enableval'"
5383 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5388 eval "$wx_cv_use_universal_binary"
5390 { echo "$as_me:$LINENO: result
: $wxUSE_UNIVERSAL_BINARY" >&5
5391 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5397 if test -z "$defaultval"; then
5398 if test x"$enablestring" = xdisable; then
5405 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-compat26" >&5
5406 echo $ECHO_N "checking
for --${enablestring:-enable}-compat26...
$ECHO_C" >&6; }
5407 # Check whether --enable-compat26 was given.
5408 if test "${enable_compat26+set}" = set; then
5409 enableval=$enable_compat26;
5410 if test "$enableval" = yes; then
5411 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5413 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5418 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5423 eval "$wx_cv_use_compat26"
5425 if test x
"$enablestring" = xdisable
; then
5426 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5432 result
=$WXWIN_COMPATIBILITY_2_6
5435 { echo "$as_me:$LINENO: result: $result" >&5
5436 echo "${ECHO_T}$result" >&6; }
5439 enablestring
=disable
5441 if test -z "$defaultval"; then
5442 if test x
"$enablestring" = xdisable
; then
5449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5451 # Check whether --enable-compat28 was given.
5452 if test "${enable_compat28+set}" = set; then
5453 enableval
=$enable_compat28;
5454 if test "$enableval" = yes; then
5455 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=yes'
5457 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=no'
5462 wx_cv_use_compat28
='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5467 eval "$wx_cv_use_compat28"
5469 if test x"$enablestring" = xdisable; then
5470 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5476 result=$WXWIN_COMPATIBILITY_2_8
5479 { echo "$as_me:$LINENO: result: $result" >&5
5480 echo "${ECHO_T}$result" >&6; }
5484 enablestring=disable
5486 if test -z "$defaultval"; then
5487 if test x"$enablestring" = xdisable; then
5494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5495 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5496 # Check whether --enable-rpath was given.
5497 if test "${enable_rpath+set}" = set; then
5498 enableval=$enable_rpath;
5499 if test "$enableval" = yes; then
5500 wx_cv_use_rpath='wxUSE_RPATH
=yes'
5502 wx_cv_use_rpath='wxUSE_RPATH
=no
'
5507 wx_cv_use_rpath='wxUSE_RPATH
=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5512 eval "$wx_cv_use_rpath"
5514 if test x"$enablestring" = xdisable; then
5515 if test $wxUSE_RPATH = yes; then
5524 { echo "$as_me:$LINENO: result
: $result" >&5
5525 echo "${ECHO_T}$result" >&6; }
5531 if test -z "$defaultval"; then
5532 if test x"$enablestring" = xdisable; then
5539 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-objc_uniquifying" >&5
5540 echo $ECHO_N "checking
for --${enablestring:-enable}-objc_uniquifying...
$ECHO_C" >&6; }
5541 # Check whether --enable-objc_uniquifying was given.
5542 if test "${enable_objc_uniquifying+set}" = set; then
5543 enableval=$enable_objc_uniquifying;
5544 if test "$enableval" = yes; then
5545 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5547 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5552 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5557 eval "$wx_cv_use_objc_uniquifying"
5559 if test x
"$enablestring" = xdisable
; then
5560 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5566 result
=$wxUSE_OBJC_UNIQUIFYING
5569 { echo "$as_me:$LINENO: result: $result" >&5
5570 echo "${ECHO_T}$result" >&6; }
5574 enablestring
=disable
5576 if test -z "$defaultval"; then
5577 if test x
"$enablestring" = xdisable
; then
5584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5586 # Check whether --enable-visibility was given.
5587 if test "${enable_visibility+set}" = set; then
5588 enableval
=$enable_visibility;
5589 if test "$enableval" = yes; then
5590 wx_cv_use_visibility
='wxUSE_VISIBILITY=yes'
5592 wx_cv_use_visibility
='wxUSE_VISIBILITY=no'
5597 wx_cv_use_visibility
='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5602 eval "$wx_cv_use_visibility"
5604 if test x"$enablestring" = xdisable; then
5605 if test $wxUSE_VISIBILITY = yes; then
5611 result=$wxUSE_VISIBILITY
5614 { echo "$as_me:$LINENO: result: $result" >&5
5615 echo "${ECHO_T}$result" >&6; }
5621 defaultval=$wxUSE_ALL_FEATURES
5622 if test -z "$defaultval"; then
5623 if test x"$enablestring" = xdisable; then
5630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5631 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5632 # Check whether --enable-intl was given.
5633 if test "${enable_intl+set}" = set; then
5634 enableval=$enable_intl;
5635 if test "$enableval" = yes; then
5636 wx_cv_use_intl='wxUSE_INTL
=yes'
5638 wx_cv_use_intl='wxUSE_INTL
=no
'
5643 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5648 eval "$wx_cv_use_intl"
5650 if test x"$enablestring" = xdisable; then
5651 if test $wxUSE_INTL = yes; then
5660 { echo "$as_me:$LINENO: result
: $result" >&5
5661 echo "${ECHO_T}$result" >&6; }
5665 defaultval=$wxUSE_ALL_FEATURES
5666 if test -z "$defaultval"; then
5667 if test x"$enablestring" = xdisable; then
5674 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xlocale" >&5
5675 echo $ECHO_N "checking
for --${enablestring:-enable}-xlocale...
$ECHO_C" >&6; }
5676 # Check whether --enable-xlocale was given.
5677 if test "${enable_xlocale+set}" = set; then
5678 enableval=$enable_xlocale;
5679 if test "$enableval" = yes; then
5680 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5682 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5687 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5692 eval "$wx_cv_use_xlocale"
5694 if test x
"$enablestring" = xdisable
; then
5695 if test $wxUSE_XLOCALE = yes; then
5701 result
=$wxUSE_XLOCALE
5704 { echo "$as_me:$LINENO: result: $result" >&5
5705 echo "${ECHO_T}$result" >&6; }
5709 defaultval
=$wxUSE_ALL_FEATURES
5710 if test -z "$defaultval"; then
5711 if test x
"$enablestring" = xdisable
; then
5718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5719 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5720 # Check whether --enable-config was given.
5721 if test "${enable_config+set}" = set; then
5722 enableval
=$enable_config;
5723 if test "$enableval" = yes; then
5724 wx_cv_use_config
='wxUSE_CONFIG=yes'
5726 wx_cv_use_config
='wxUSE_CONFIG=no'
5731 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5736 eval "$wx_cv_use_config"
5738 if test x"$enablestring" = xdisable; then
5739 if test $wxUSE_CONFIG = yes; then
5745 result=$wxUSE_CONFIG
5748 { echo "$as_me:$LINENO: result: $result" >&5
5749 echo "${ECHO_T}$result" >&6; }
5754 defaultval=$wxUSE_ALL_FEATURES
5755 if test -z "$defaultval"; then
5756 if test x"$enablestring" = xdisable; then
5763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5765 # Check whether --enable-protocols was given.
5766 if test "${enable_protocols+set}" = set; then
5767 enableval=$enable_protocols;
5768 if test "$enableval" = yes; then
5769 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
5771 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
5776 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5781 eval "$wx_cv_use_protocols"
5783 if test x"$enablestring" = xdisable; then
5784 if test $wxUSE_PROTOCOL = yes; then
5790 result=$wxUSE_PROTOCOL
5793 { echo "$as_me:$LINENO: result
: $result" >&5
5794 echo "${ECHO_T}$result" >&6; }
5798 defaultval=$wxUSE_ALL_FEATURES
5799 if test -z "$defaultval"; then
5800 if test x"$enablestring" = xdisable; then
5807 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ftp" >&5
5808 echo $ECHO_N "checking
for --${enablestring:-enable}-ftp...
$ECHO_C" >&6; }
5809 # Check whether --enable-ftp was given.
5810 if test "${enable_ftp+set}" = set; then
5811 enableval=$enable_ftp;
5812 if test "$enableval" = yes; then
5813 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5815 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5820 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5825 eval "$wx_cv_use_ftp"
5827 if test x
"$enablestring" = xdisable
; then
5828 if test $wxUSE_PROTOCOL_FTP = yes; then
5834 result
=$wxUSE_PROTOCOL_FTP
5837 { echo "$as_me:$LINENO: result: $result" >&5
5838 echo "${ECHO_T}$result" >&6; }
5842 defaultval
=$wxUSE_ALL_FEATURES
5843 if test -z "$defaultval"; then
5844 if test x
"$enablestring" = xdisable
; then
5851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5852 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5853 # Check whether --enable-http was given.
5854 if test "${enable_http+set}" = set; then
5855 enableval
=$enable_http;
5856 if test "$enableval" = yes; then
5857 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
5859 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
5864 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5869 eval "$wx_cv_use_http"
5871 if test x"$enablestring" = xdisable; then
5872 if test $wxUSE_PROTOCOL_HTTP = yes; then
5878 result=$wxUSE_PROTOCOL_HTTP
5881 { echo "$as_me:$LINENO: result: $result" >&5
5882 echo "${ECHO_T}$result" >&6; }
5886 defaultval=$wxUSE_ALL_FEATURES
5887 if test -z "$defaultval"; then
5888 if test x"$enablestring" = xdisable; then
5895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5896 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5897 # Check whether --enable-fileproto was given.
5898 if test "${enable_fileproto+set}" = set; then
5899 enableval=$enable_fileproto;
5900 if test "$enableval" = yes; then
5901 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
5903 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
5908 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5913 eval "$wx_cv_use_fileproto"
5915 if test x"$enablestring" = xdisable; then
5916 if test $wxUSE_PROTOCOL_FILE = yes; then
5922 result=$wxUSE_PROTOCOL_FILE
5925 { echo "$as_me:$LINENO: result
: $result" >&5
5926 echo "${ECHO_T}$result" >&6; }
5930 defaultval=$wxUSE_ALL_FEATURES
5931 if test -z "$defaultval"; then
5932 if test x"$enablestring" = xdisable; then
5939 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sockets" >&5
5940 echo $ECHO_N "checking
for --${enablestring:-enable}-sockets...
$ECHO_C" >&6; }
5941 # Check whether --enable-sockets was given.
5942 if test "${enable_sockets+set}" = set; then
5943 enableval=$enable_sockets;
5944 if test "$enableval" = yes; then
5945 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5947 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5952 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5957 eval "$wx_cv_use_sockets"
5959 if test x
"$enablestring" = xdisable
; then
5960 if test $wxUSE_SOCKETS = yes; then
5966 result
=$wxUSE_SOCKETS
5969 { echo "$as_me:$LINENO: result: $result" >&5
5970 echo "${ECHO_T}$result" >&6; }
5974 defaultval
=$wxUSE_ALL_FEATURES
5975 if test -z "$defaultval"; then
5976 if test x
"$enablestring" = xdisable
; then
5983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5984 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5985 # Check whether --enable-ipv6 was given.
5986 if test "${enable_ipv6+set}" = set; then
5987 enableval
=$enable_ipv6;
5988 if test "$enableval" = yes; then
5989 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
5991 wx_cv_use_ipv6
='wxUSE_IPV6=no'
5996 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6001 eval "$wx_cv_use_ipv6"
6003 if test x"$enablestring" = xdisable; then
6004 if test $wxUSE_IPV6 = yes; then
6013 { echo "$as_me:$LINENO: result: $result" >&5
6014 echo "${ECHO_T}$result" >&6; }
6018 defaultval=$wxUSE_ALL_FEATURES
6019 if test -z "$defaultval"; then
6020 if test x"$enablestring" = xdisable; then
6027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6028 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6029 # Check whether --enable-ole was given.
6030 if test "${enable_ole+set}" = set; then
6031 enableval=$enable_ole;
6032 if test "$enableval" = yes; then
6033 wx_cv_use_ole='wxUSE_OLE
=yes'
6035 wx_cv_use_ole='wxUSE_OLE
=no
'
6040 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6045 eval "$wx_cv_use_ole"
6047 if test x"$enablestring" = xdisable; then
6048 if test $wxUSE_OLE = yes; then
6057 { echo "$as_me:$LINENO: result
: $result" >&5
6058 echo "${ECHO_T}$result" >&6; }
6062 defaultval=$wxUSE_ALL_FEATURES
6063 if test -z "$defaultval"; then
6064 if test x"$enablestring" = xdisable; then
6071 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataobj" >&5
6072 echo $ECHO_N "checking
for --${enablestring:-enable}-dataobj...
$ECHO_C" >&6; }
6073 # Check whether --enable-dataobj was given.
6074 if test "${enable_dataobj+set}" = set; then
6075 enableval=$enable_dataobj;
6076 if test "$enableval" = yes; then
6077 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6079 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6084 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6089 eval "$wx_cv_use_dataobj"
6091 if test x
"$enablestring" = xdisable
; then
6092 if test $wxUSE_DATAOBJ = yes; then
6098 result
=$wxUSE_DATAOBJ
6101 { echo "$as_me:$LINENO: result: $result" >&5
6102 echo "${ECHO_T}$result" >&6; }
6107 defaultval
=$wxUSE_ALL_FEATURES
6108 if test -z "$defaultval"; then
6109 if test x
"$enablestring" = xdisable
; then
6116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6118 # Check whether --enable-ipc was given.
6119 if test "${enable_ipc+set}" = set; then
6120 enableval
=$enable_ipc;
6121 if test "$enableval" = yes; then
6122 wx_cv_use_ipc
='wxUSE_IPC=yes'
6124 wx_cv_use_ipc
='wxUSE_IPC=no'
6129 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6134 eval "$wx_cv_use_ipc"
6136 if test x"$enablestring" = xdisable; then
6137 if test $wxUSE_IPC = yes; then
6146 { echo "$as_me:$LINENO: result: $result" >&5
6147 echo "${ECHO_T}$result" >&6; }
6152 defaultval=$wxUSE_ALL_FEATURES
6153 if test -z "$defaultval"; then
6154 if test x"$enablestring" = xdisable; then
6161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6162 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6163 # Check whether --enable-baseevtloop was given.
6164 if test "${enable_baseevtloop+set}" = set; then
6165 enableval=$enable_baseevtloop;
6166 if test "$enableval" = yes; then
6167 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
6169 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
6174 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6179 eval "$wx_cv_use_baseevtloop"
6181 if test x"$enablestring" = xdisable; then
6182 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6188 result=$wxUSE_CONSOLE_EVENTLOOP
6191 { echo "$as_me:$LINENO: result
: $result" >&5
6192 echo "${ECHO_T}$result" >&6; }
6196 defaultval=$wxUSE_ALL_FEATURES
6197 if test -z "$defaultval"; then
6198 if test x"$enablestring" = xdisable; then
6205 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-epollloop" >&5
6206 echo $ECHO_N "checking
for --${enablestring:-enable}-epollloop...
$ECHO_C" >&6; }
6207 # Check whether --enable-epollloop was given.
6208 if test "${enable_epollloop+set}" = set; then
6209 enableval=$enable_epollloop;
6210 if test "$enableval" = yes; then
6211 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6213 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6218 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6223 eval "$wx_cv_use_epollloop"
6225 if test x
"$enablestring" = xdisable
; then
6226 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6232 result
=$wxUSE_EPOLL_DISPATCHER
6235 { echo "$as_me:$LINENO: result: $result" >&5
6236 echo "${ECHO_T}$result" >&6; }
6240 defaultval
=$wxUSE_ALL_FEATURES
6241 if test -z "$defaultval"; then
6242 if test x
"$enablestring" = xdisable
; then
6249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6250 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6251 # Check whether --enable-selectloop was given.
6252 if test "${enable_selectloop+set}" = set; then
6253 enableval
=$enable_selectloop;
6254 if test "$enableval" = yes; then
6255 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
6257 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
6262 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6267 eval "$wx_cv_use_selectloop"
6269 if test x"$enablestring" = xdisable; then
6270 if test $wxUSE_SELECT_DISPATCHER = yes; then
6276 result=$wxUSE_SELECT_DISPATCHER
6279 { echo "$as_me:$LINENO: result: $result" >&5
6280 echo "${ECHO_T}$result" >&6; }
6285 defaultval=$wxUSE_ALL_FEATURES
6286 if test -z "$defaultval"; then
6287 if test x"$enablestring" = xdisable; then
6294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6295 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6296 # Check whether --enable-apple_ieee was given.
6297 if test "${enable_apple_ieee+set}" = set; then
6298 enableval=$enable_apple_ieee;
6299 if test "$enableval" = yes; then
6300 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6302 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6307 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6312 eval "$wx_cv_use_apple_ieee"
6314 if test x"$enablestring" = xdisable; then
6315 if test $wxUSE_APPLE_IEEE = yes; then
6321 result=$wxUSE_APPLE_IEEE
6324 { echo "$as_me:$LINENO: result
: $result" >&5
6325 echo "${ECHO_T}$result" >&6; }
6329 defaultval=$wxUSE_ALL_FEATURES
6330 if test -z "$defaultval"; then
6331 if test x"$enablestring" = xdisable; then
6338 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6339 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6340 # Check whether --enable-arcstream was given.
6341 if test "${enable_arcstream+set}" = set; then
6342 enableval=$enable_arcstream;
6343 if test "$enableval" = yes; then
6344 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6346 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6351 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6356 eval "$wx_cv_use_arcstream"
6358 if test x
"$enablestring" = xdisable
; then
6359 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6365 result
=$wxUSE_ARCHIVE_STREAMS
6368 { echo "$as_me:$LINENO: result: $result" >&5
6369 echo "${ECHO_T}$result" >&6; }
6373 defaultval
=$wxUSE_ALL_FEATURES
6374 if test -z "$defaultval"; then
6375 if test x
"$enablestring" = xdisable
; then
6382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6383 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6384 # Check whether --enable-base64 was given.
6385 if test "${enable_base64+set}" = set; then
6386 enableval
=$enable_base64;
6387 if test "$enableval" = yes; then
6388 wx_cv_use_base64
='wxUSE_BASE64=yes'
6390 wx_cv_use_base64
='wxUSE_BASE64=no'
6395 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6400 eval "$wx_cv_use_base64"
6402 if test x"$enablestring" = xdisable; then
6403 if test $wxUSE_BASE64 = yes; then
6409 result=$wxUSE_BASE64
6412 { echo "$as_me:$LINENO: result: $result" >&5
6413 echo "${ECHO_T}$result" >&6; }
6417 defaultval=$wxUSE_ALL_FEATURES
6418 if test -z "$defaultval"; then
6419 if test x"$enablestring" = xdisable; then
6426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6428 # Check whether --enable-backtrace was given.
6429 if test "${enable_backtrace+set}" = set; then
6430 enableval=$enable_backtrace;
6431 if test "$enableval" = yes; then
6432 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6434 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6439 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6444 eval "$wx_cv_use_backtrace"
6446 if test x"$enablestring" = xdisable; then
6447 if test $wxUSE_STACKWALKER = yes; then
6453 result=$wxUSE_STACKWALKER
6456 { echo "$as_me:$LINENO: result
: $result" >&5
6457 echo "${ECHO_T}$result" >&6; }
6461 defaultval=$wxUSE_ALL_FEATURES
6462 if test -z "$defaultval"; then
6463 if test x"$enablestring" = xdisable; then
6470 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6471 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6472 # Check whether --enable-catch_segvs was given.
6473 if test "${enable_catch_segvs+set}" = set; then
6474 enableval=$enable_catch_segvs;
6475 if test "$enableval" = yes; then
6476 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6478 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6483 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6488 eval "$wx_cv_use_catch_segvs"
6490 if test x
"$enablestring" = xdisable
; then
6491 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6497 result
=$wxUSE_ON_FATAL_EXCEPTION
6500 { echo "$as_me:$LINENO: result: $result" >&5
6501 echo "${ECHO_T}$result" >&6; }
6505 defaultval
=$wxUSE_ALL_FEATURES
6506 if test -z "$defaultval"; then
6507 if test x
"$enablestring" = xdisable
; then
6514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6515 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6516 # Check whether --enable-cmdline was given.
6517 if test "${enable_cmdline+set}" = set; then
6518 enableval
=$enable_cmdline;
6519 if test "$enableval" = yes; then
6520 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6522 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6527 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6532 eval "$wx_cv_use_cmdline"
6534 if test x"$enablestring" = xdisable; then
6535 if test $wxUSE_CMDLINE_PARSER = yes; then
6541 result=$wxUSE_CMDLINE_PARSER
6544 { echo "$as_me:$LINENO: result: $result" >&5
6545 echo "${ECHO_T}$result" >&6; }
6549 defaultval=$wxUSE_ALL_FEATURES
6550 if test -z "$defaultval"; then
6551 if test x"$enablestring" = xdisable; then
6558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6559 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6560 # Check whether --enable-datetime was given.
6561 if test "${enable_datetime+set}" = set; then
6562 enableval=$enable_datetime;
6563 if test "$enableval" = yes; then
6564 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6566 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6571 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6576 eval "$wx_cv_use_datetime"
6578 if test x"$enablestring" = xdisable; then
6579 if test $wxUSE_DATETIME = yes; then
6585 result=$wxUSE_DATETIME
6588 { echo "$as_me:$LINENO: result
: $result" >&5
6589 echo "${ECHO_T}$result" >&6; }
6593 defaultval=$wxUSE_ALL_FEATURES
6594 if test -z "$defaultval"; then
6595 if test x"$enablestring" = xdisable; then
6602 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6603 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6604 # Check whether --enable-debugreport was given.
6605 if test "${enable_debugreport+set}" = set; then
6606 enableval=$enable_debugreport;
6607 if test "$enableval" = yes; then
6608 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6610 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6615 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6620 eval "$wx_cv_use_debugreport"
6622 if test x
"$enablestring" = xdisable
; then
6623 if test $wxUSE_DEBUGREPORT = yes; then
6629 result
=$wxUSE_DEBUGREPORT
6632 { echo "$as_me:$LINENO: result: $result" >&5
6633 echo "${ECHO_T}$result" >&6; }
6637 defaultval
=$wxUSE_ALL_FEATURES
6638 if test -z "$defaultval"; then
6639 if test x
"$enablestring" = xdisable
; then
6646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6648 # Check whether --enable-dialupman was given.
6649 if test "${enable_dialupman+set}" = set; then
6650 enableval
=$enable_dialupman;
6651 if test "$enableval" = yes; then
6652 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6654 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6659 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6664 eval "$wx_cv_use_dialupman"
6666 if test x"$enablestring" = xdisable; then
6667 if test $wxUSE_DIALUP_MANAGER = yes; then
6673 result=$wxUSE_DIALUP_MANAGER
6676 { echo "$as_me:$LINENO: result: $result" >&5
6677 echo "${ECHO_T}$result" >&6; }
6681 defaultval=$wxUSE_ALL_FEATURES
6682 if test -z "$defaultval"; then
6683 if test x"$enablestring" = xdisable; then
6690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6691 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6692 # Check whether --enable-dynlib was given.
6693 if test "${enable_dynlib+set}" = set; then
6694 enableval=$enable_dynlib;
6695 if test "$enableval" = yes; then
6696 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6698 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6703 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6708 eval "$wx_cv_use_dynlib"
6710 if test x"$enablestring" = xdisable; then
6711 if test $wxUSE_DYNLIB_CLASS = yes; then
6717 result=$wxUSE_DYNLIB_CLASS
6720 { echo "$as_me:$LINENO: result
: $result" >&5
6721 echo "${ECHO_T}$result" >&6; }
6725 defaultval=$wxUSE_ALL_FEATURES
6726 if test -z "$defaultval"; then
6727 if test x"$enablestring" = xdisable; then
6734 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
6735 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
6736 # Check whether --enable-dynamicloader was given.
6737 if test "${enable_dynamicloader+set}" = set; then
6738 enableval=$enable_dynamicloader;
6739 if test "$enableval" = yes; then
6740 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6742 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6747 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6752 eval "$wx_cv_use_dynamicloader"
6754 if test x
"$enablestring" = xdisable
; then
6755 if test $wxUSE_DYNAMIC_LOADER = yes; then
6761 result
=$wxUSE_DYNAMIC_LOADER
6764 { echo "$as_me:$LINENO: result: $result" >&5
6765 echo "${ECHO_T}$result" >&6; }
6769 defaultval
=$wxUSE_ALL_FEATURES
6770 if test -z "$defaultval"; then
6771 if test x
"$enablestring" = xdisable
; then
6778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6779 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6780 # Check whether --enable-exceptions was given.
6781 if test "${enable_exceptions+set}" = set; then
6782 enableval
=$enable_exceptions;
6783 if test "$enableval" = yes; then
6784 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
6786 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
6791 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6796 eval "$wx_cv_use_exceptions"
6798 if test x"$enablestring" = xdisable; then
6799 if test $wxUSE_EXCEPTIONS = yes; then
6805 result=$wxUSE_EXCEPTIONS
6808 { echo "$as_me:$LINENO: result: $result" >&5
6809 echo "${ECHO_T}$result" >&6; }
6813 defaultval=$wxUSE_ALL_FEATURES
6814 if test -z "$defaultval"; then
6815 if test x"$enablestring" = xdisable; then
6822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6823 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6824 # Check whether --enable-ffile was given.
6825 if test "${enable_ffile+set}" = set; then
6826 enableval=$enable_ffile;
6827 if test "$enableval" = yes; then
6828 wx_cv_use_ffile='wxUSE_FFILE
=yes'
6830 wx_cv_use_ffile='wxUSE_FFILE
=no
'
6835 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6840 eval "$wx_cv_use_ffile"
6842 if test x"$enablestring" = xdisable; then
6843 if test $wxUSE_FFILE = yes; then
6852 { echo "$as_me:$LINENO: result
: $result" >&5
6853 echo "${ECHO_T}$result" >&6; }
6857 defaultval=$wxUSE_ALL_FEATURES
6858 if test -z "$defaultval"; then
6859 if test x"$enablestring" = xdisable; then
6866 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
6867 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
6868 # Check whether --enable-file was given.
6869 if test "${enable_file+set}" = set; then
6870 enableval=$enable_file;
6871 if test "$enableval" = yes; then
6872 wx_cv_use_file='wxUSE_FILE=yes'
6874 wx_cv_use_file='wxUSE_FILE=no'
6879 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6884 eval "$wx_cv_use_file"
6886 if test x
"$enablestring" = xdisable
; then
6887 if test $wxUSE_FILE = yes; then
6896 { echo "$as_me:$LINENO: result: $result" >&5
6897 echo "${ECHO_T}$result" >&6; }
6901 defaultval
=$wxUSE_ALL_FEATURES
6902 if test -z "$defaultval"; then
6903 if test x
"$enablestring" = xdisable
; then
6910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6911 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6912 # Check whether --enable-filesystem was given.
6913 if test "${enable_filesystem+set}" = set; then
6914 enableval
=$enable_filesystem;
6915 if test "$enableval" = yes; then
6916 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
6918 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
6923 wx_cv_use_filesystem
='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6928 eval "$wx_cv_use_filesystem"
6930 if test x"$enablestring" = xdisable; then
6931 if test $wxUSE_FILESYSTEM = yes; then
6937 result=$wxUSE_FILESYSTEM
6940 { echo "$as_me:$LINENO: result: $result" >&5
6941 echo "${ECHO_T}$result" >&6; }
6945 defaultval=$wxUSE_ALL_FEATURES
6946 if test -z "$defaultval"; then
6947 if test x"$enablestring" = xdisable; then
6954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6955 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6956 # Check whether --enable-fontenum was given.
6957 if test "${enable_fontenum+set}" = set; then
6958 enableval=$enable_fontenum;
6959 if test "$enableval" = yes; then
6960 wx_cv_use_fontenum='wxUSE_FONTENUM
=yes'
6962 wx_cv_use_fontenum='wxUSE_FONTENUM
=no
'
6967 wx_cv_use_fontenum='wxUSE_FONTENUM
=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6972 eval "$wx_cv_use_fontenum"
6974 if test x"$enablestring" = xdisable; then
6975 if test $wxUSE_FONTENUM = yes; then
6981 result=$wxUSE_FONTENUM
6984 { echo "$as_me:$LINENO: result
: $result" >&5
6985 echo "${ECHO_T}$result" >&6; }
6989 defaultval=$wxUSE_ALL_FEATURES
6990 if test -z "$defaultval"; then
6991 if test x"$enablestring" = xdisable; then
6998 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontmap" >&5
6999 echo $ECHO_N "checking
for --${enablestring:-enable}-fontmap...
$ECHO_C" >&6; }
7000 # Check whether --enable-fontmap was given.
7001 if test "${enable_fontmap+set}" = set; then
7002 enableval=$enable_fontmap;
7003 if test "$enableval" = yes; then
7004 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7006 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7011 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7016 eval "$wx_cv_use_fontmap"
7018 if test x
"$enablestring" = xdisable
; then
7019 if test $wxUSE_FONTMAP = yes; then
7025 result
=$wxUSE_FONTMAP
7028 { echo "$as_me:$LINENO: result: $result" >&5
7029 echo "${ECHO_T}$result" >&6; }
7033 defaultval
=$wxUSE_ALL_FEATURES
7034 if test -z "$defaultval"; then
7035 if test x
"$enablestring" = xdisable
; then
7042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7043 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7044 # Check whether --enable-fs_archive was given.
7045 if test "${enable_fs_archive+set}" = set; then
7046 enableval
=$enable_fs_archive;
7047 if test "$enableval" = yes; then
7048 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=yes'
7050 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=no'
7055 wx_cv_use_fs_archive
='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7060 eval "$wx_cv_use_fs_archive"
7062 if test x"$enablestring" = xdisable; then
7063 if test $wxUSE_FS_ARCHIVE = yes; then
7069 result=$wxUSE_FS_ARCHIVE
7072 { echo "$as_me:$LINENO: result: $result" >&5
7073 echo "${ECHO_T}$result" >&6; }
7077 defaultval=$wxUSE_ALL_FEATURES
7078 if test -z "$defaultval"; then
7079 if test x"$enablestring" = xdisable; then
7086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7088 # Check whether --enable-fs_inet was given.
7089 if test "${enable_fs_inet+set}" = set; then
7090 enableval=$enable_fs_inet;
7091 if test "$enableval" = yes; then
7092 wx_cv_use_fs_inet='wxUSE_FS_INET
=yes'
7094 wx_cv_use_fs_inet='wxUSE_FS_INET
=no
'
7099 wx_cv_use_fs_inet='wxUSE_FS_INET
=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7104 eval "$wx_cv_use_fs_inet"
7106 if test x"$enablestring" = xdisable; then
7107 if test $wxUSE_FS_INET = yes; then
7113 result=$wxUSE_FS_INET
7116 { echo "$as_me:$LINENO: result
: $result" >&5
7117 echo "${ECHO_T}$result" >&6; }
7121 defaultval=$wxUSE_ALL_FEATURES
7122 if test -z "$defaultval"; then
7123 if test x"$enablestring" = xdisable; then
7130 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_zip" >&5
7131 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_zip...
$ECHO_C" >&6; }
7132 # Check whether --enable-fs_zip was given.
7133 if test "${enable_fs_zip+set}" = set; then
7134 enableval=$enable_fs_zip;
7135 if test "$enableval" = yes; then
7136 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7138 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7143 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7148 eval "$wx_cv_use_fs_zip"
7150 if test x
"$enablestring" = xdisable
; then
7151 if test $wxUSE_FS_ZIP = yes; then
7157 result
=$wxUSE_FS_ZIP
7160 { echo "$as_me:$LINENO: result: $result" >&5
7161 echo "${ECHO_T}$result" >&6; }
7165 defaultval
=$wxUSE_ALL_FEATURES
7166 if test -z "$defaultval"; then
7167 if test x
"$enablestring" = xdisable
; then
7174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7175 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7176 # Check whether --enable-geometry was given.
7177 if test "${enable_geometry+set}" = set; then
7178 enableval
=$enable_geometry;
7179 if test "$enableval" = yes; then
7180 wx_cv_use_geometry
='wxUSE_GEOMETRY=yes'
7182 wx_cv_use_geometry
='wxUSE_GEOMETRY=no'
7187 wx_cv_use_geometry
='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7192 eval "$wx_cv_use_geometry"
7194 if test x"$enablestring" = xdisable; then
7195 if test $wxUSE_GEOMETRY = yes; then
7201 result=$wxUSE_GEOMETRY
7204 { echo "$as_me:$LINENO: result: $result" >&5
7205 echo "${ECHO_T}$result" >&6; }
7209 defaultval=$wxUSE_ALL_FEATURES
7210 if test -z "$defaultval"; then
7211 if test x"$enablestring" = xdisable; then
7218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7219 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7220 # Check whether --enable-log was given.
7221 if test "${enable_log+set}" = set; then
7222 enableval=$enable_log;
7223 if test "$enableval" = yes; then
7224 wx_cv_use_log='wxUSE_LOG
=yes'
7226 wx_cv_use_log='wxUSE_LOG
=no
'
7231 wx_cv_use_log='wxUSE_LOG
=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7236 eval "$wx_cv_use_log"
7238 if test x"$enablestring" = xdisable; then
7239 if test $wxUSE_LOG = yes; then
7248 { echo "$as_me:$LINENO: result
: $result" >&5
7249 echo "${ECHO_T}$result" >&6; }
7253 defaultval=$wxUSE_ALL_FEATURES
7254 if test -z "$defaultval"; then
7255 if test x"$enablestring" = xdisable; then
7262 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-longlong" >&5
7263 echo $ECHO_N "checking
for --${enablestring:-enable}-longlong...
$ECHO_C" >&6; }
7264 # Check whether --enable-longlong was given.
7265 if test "${enable_longlong+set}" = set; then
7266 enableval=$enable_longlong;
7267 if test "$enableval" = yes; then
7268 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7270 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7275 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7280 eval "$wx_cv_use_longlong"
7282 if test x
"$enablestring" = xdisable
; then
7283 if test $wxUSE_LONGLONG = yes; then
7289 result
=$wxUSE_LONGLONG
7292 { echo "$as_me:$LINENO: result: $result" >&5
7293 echo "${ECHO_T}$result" >&6; }
7297 defaultval
=$wxUSE_ALL_FEATURES
7298 if test -z "$defaultval"; then
7299 if test x
"$enablestring" = xdisable
; then
7306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7307 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7308 # Check whether --enable-mimetype was given.
7309 if test "${enable_mimetype+set}" = set; then
7310 enableval
=$enable_mimetype;
7311 if test "$enableval" = yes; then
7312 wx_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
7314 wx_cv_use_mimetype
='wxUSE_MIMETYPE=no'
7319 wx_cv_use_mimetype
='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7324 eval "$wx_cv_use_mimetype"
7326 if test x"$enablestring" = xdisable; then
7327 if test $wxUSE_MIMETYPE = yes; then
7333 result=$wxUSE_MIMETYPE
7336 { echo "$as_me:$LINENO: result: $result" >&5
7337 echo "${ECHO_T}$result" >&6; }
7341 defaultval=$wxUSE_ALL_FEATURES
7342 if test -z "$defaultval"; then
7343 if test x"$enablestring" = xdisable; then
7350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7351 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7352 # Check whether --enable-printfposparam was given.
7353 if test "${enable_printfposparam+set}" = set; then
7354 enableval=$enable_printfposparam;
7355 if test "$enableval" = yes; then
7356 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=yes'
7358 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=no
'
7363 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS
=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7368 eval "$wx_cv_use_printfposparam"
7370 if test x"$enablestring" = xdisable; then
7371 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7377 result=$wxUSE_PRINTF_POS_PARAMS
7380 { echo "$as_me:$LINENO: result
: $result" >&5
7381 echo "${ECHO_T}$result" >&6; }
7385 defaultval=$wxUSE_ALL_FEATURES
7386 if test -z "$defaultval"; then
7387 if test x"$enablestring" = xdisable; then
7394 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-snglinst" >&5
7395 echo $ECHO_N "checking
for --${enablestring:-enable}-snglinst...
$ECHO_C" >&6; }
7396 # Check whether --enable-snglinst was given.
7397 if test "${enable_snglinst+set}" = set; then
7398 enableval=$enable_snglinst;
7399 if test "$enableval" = yes; then
7400 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7402 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7407 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7412 eval "$wx_cv_use_snglinst"
7414 if test x
"$enablestring" = xdisable
; then
7415 if test $wxUSE_SNGLINST_CHECKER = yes; then
7421 result
=$wxUSE_SNGLINST_CHECKER
7424 { echo "$as_me:$LINENO: result: $result" >&5
7425 echo "${ECHO_T}$result" >&6; }
7429 defaultval
=$wxUSE_ALL_FEATURES
7430 if test -z "$defaultval"; then
7431 if test x
"$enablestring" = xdisable
; then
7438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7439 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7440 # Check whether --enable-sound was given.
7441 if test "${enable_sound+set}" = set; then
7442 enableval
=$enable_sound;
7443 if test "$enableval" = yes; then
7444 wx_cv_use_sound
='wxUSE_SOUND=yes'
7446 wx_cv_use_sound
='wxUSE_SOUND=no'
7451 wx_cv_use_sound
='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7456 eval "$wx_cv_use_sound"
7458 if test x"$enablestring" = xdisable; then
7459 if test $wxUSE_SOUND = yes; then
7468 { echo "$as_me:$LINENO: result: $result" >&5
7469 echo "${ECHO_T}$result" >&6; }
7473 defaultval=$wxUSE_ALL_FEATURES
7474 if test -z "$defaultval"; then
7475 if test x"$enablestring" = xdisable; then
7482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7483 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7484 # Check whether --enable-stdpaths was given.
7485 if test "${enable_stdpaths+set}" = set; then
7486 enableval=$enable_stdpaths;
7487 if test "$enableval" = yes; then
7488 wx_cv_use_stdpaths='wxUSE_STDPATHS
=yes'
7490 wx_cv_use_stdpaths='wxUSE_STDPATHS
=no
'
7495 wx_cv_use_stdpaths='wxUSE_STDPATHS
=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7500 eval "$wx_cv_use_stdpaths"
7502 if test x"$enablestring" = xdisable; then
7503 if test $wxUSE_STDPATHS = yes; then
7509 result=$wxUSE_STDPATHS
7512 { echo "$as_me:$LINENO: result
: $result" >&5
7513 echo "${ECHO_T}$result" >&6; }
7517 defaultval=$wxUSE_ALL_FEATURES
7518 if test -z "$defaultval"; then
7519 if test x"$enablestring" = xdisable; then
7526 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stopwatch" >&5
7527 echo $ECHO_N "checking
for --${enablestring:-enable}-stopwatch...
$ECHO_C" >&6; }
7528 # Check whether --enable-stopwatch was given.
7529 if test "${enable_stopwatch+set}" = set; then
7530 enableval=$enable_stopwatch;
7531 if test "$enableval" = yes; then
7532 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7534 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7539 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7544 eval "$wx_cv_use_stopwatch"
7546 if test x
"$enablestring" = xdisable
; then
7547 if test $wxUSE_STOPWATCH = yes; then
7553 result
=$wxUSE_STOPWATCH
7556 { echo "$as_me:$LINENO: result: $result" >&5
7557 echo "${ECHO_T}$result" >&6; }
7561 defaultval
=$wxUSE_ALL_FEATURES
7562 if test -z "$defaultval"; then
7563 if test x
"$enablestring" = xdisable
; then
7570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7571 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7572 # Check whether --enable-streams was given.
7573 if test "${enable_streams+set}" = set; then
7574 enableval
=$enable_streams;
7575 if test "$enableval" = yes; then
7576 wx_cv_use_streams
='wxUSE_STREAMS=yes'
7578 wx_cv_use_streams
='wxUSE_STREAMS=no'
7583 wx_cv_use_streams
='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7588 eval "$wx_cv_use_streams"
7590 if test x"$enablestring" = xdisable; then
7591 if test $wxUSE_STREAMS = yes; then
7597 result=$wxUSE_STREAMS
7600 { echo "$as_me:$LINENO: result: $result" >&5
7601 echo "${ECHO_T}$result" >&6; }
7605 defaultval=$wxUSE_ALL_FEATURES
7606 if test -z "$defaultval"; then
7607 if test x"$enablestring" = xdisable; then
7614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7615 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7616 # Check whether --enable-system_options was given.
7617 if test "${enable_system_options+set}" = set; then
7618 enableval=$enable_system_options;
7619 if test "$enableval" = yes; then
7620 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=yes'
7622 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=no
'
7627 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS
=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7632 eval "$wx_cv_use_system_options"
7634 if test x"$enablestring" = xdisable; then
7635 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7641 result=$wxUSE_SYSTEM_OPTIONS
7644 { echo "$as_me:$LINENO: result
: $result" >&5
7645 echo "${ECHO_T}$result" >&6; }
7649 defaultval=$wxUSE_ALL_FEATURES
7650 if test -z "$defaultval"; then
7651 if test x"$enablestring" = xdisable; then
7658 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tarstream" >&5
7659 echo $ECHO_N "checking
for --${enablestring:-enable}-tarstream...
$ECHO_C" >&6; }
7660 # Check whether --enable-tarstream was given.
7661 if test "${enable_tarstream+set}" = set; then
7662 enableval=$enable_tarstream;
7663 if test "$enableval" = yes; then
7664 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7666 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7671 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7676 eval "$wx_cv_use_tarstream"
7678 if test x
"$enablestring" = xdisable
; then
7679 if test $wxUSE_TARSTREAM = yes; then
7685 result
=$wxUSE_TARSTREAM
7688 { echo "$as_me:$LINENO: result: $result" >&5
7689 echo "${ECHO_T}$result" >&6; }
7693 defaultval
=$wxUSE_ALL_FEATURES
7694 if test -z "$defaultval"; then
7695 if test x
"$enablestring" = xdisable
; then
7702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7703 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7704 # Check whether --enable-textbuf was given.
7705 if test "${enable_textbuf+set}" = set; then
7706 enableval
=$enable_textbuf;
7707 if test "$enableval" = yes; then
7708 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
7710 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
7715 wx_cv_use_textbuf
='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7720 eval "$wx_cv_use_textbuf"
7722 if test x"$enablestring" = xdisable; then
7723 if test $wxUSE_TEXTBUFFER = yes; then
7729 result=$wxUSE_TEXTBUFFER
7732 { echo "$as_me:$LINENO: result: $result" >&5
7733 echo "${ECHO_T}$result" >&6; }
7737 defaultval=$wxUSE_ALL_FEATURES
7738 if test -z "$defaultval"; then
7739 if test x"$enablestring" = xdisable; then
7746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7747 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7748 # Check whether --enable-textfile was given.
7749 if test "${enable_textfile+set}" = set; then
7750 enableval=$enable_textfile;
7751 if test "$enableval" = yes; then
7752 wx_cv_use_textfile='wxUSE_TEXTFILE
=yes'
7754 wx_cv_use_textfile='wxUSE_TEXTFILE
=no
'
7759 wx_cv_use_textfile='wxUSE_TEXTFILE
=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7764 eval "$wx_cv_use_textfile"
7766 if test x"$enablestring" = xdisable; then
7767 if test $wxUSE_TEXTFILE = yes; then
7773 result=$wxUSE_TEXTFILE
7776 { echo "$as_me:$LINENO: result
: $result" >&5
7777 echo "${ECHO_T}$result" >&6; }
7781 defaultval=$wxUSE_ALL_FEATURES
7782 if test -z "$defaultval"; then
7783 if test x"$enablestring" = xdisable; then
7790 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-timer" >&5
7791 echo $ECHO_N "checking
for --${enablestring:-enable}-timer...
$ECHO_C" >&6; }
7792 # Check whether --enable-timer was given.
7793 if test "${enable_timer+set}" = set; then
7794 enableval=$enable_timer;
7795 if test "$enableval" = yes; then
7796 wx_cv_use_timer='wxUSE_TIMER=yes'
7798 wx_cv_use_timer='wxUSE_TIMER=no'
7803 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7808 eval "$wx_cv_use_timer"
7810 if test x
"$enablestring" = xdisable
; then
7811 if test $wxUSE_TIMER = yes; then
7820 { echo "$as_me:$LINENO: result: $result" >&5
7821 echo "${ECHO_T}$result" >&6; }
7825 defaultval
=$wxUSE_ALL_FEATURES
7826 if test -z "$defaultval"; then
7827 if test x
"$enablestring" = xdisable
; then
7834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7835 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7836 # Check whether --enable-variant was given.
7837 if test "${enable_variant+set}" = set; then
7838 enableval
=$enable_variant;
7839 if test "$enableval" = yes; then
7840 wx_cv_use_variant
='wxUSE_VARIANT=yes'
7842 wx_cv_use_variant
='wxUSE_VARIANT=no'
7847 wx_cv_use_variant
='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7852 eval "$wx_cv_use_variant"
7854 if test x"$enablestring" = xdisable; then
7855 if test $wxUSE_VARIANT = yes; then
7861 result=$wxUSE_VARIANT
7864 { echo "$as_me:$LINENO: result: $result" >&5
7865 echo "${ECHO_T}$result" >&6; }
7869 defaultval=$wxUSE_ALL_FEATURES
7870 if test -z "$defaultval"; then
7871 if test x"$enablestring" = xdisable; then
7878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7879 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7880 # Check whether --enable-zipstream was given.
7881 if test "${enable_zipstream+set}" = set; then
7882 enableval=$enable_zipstream;
7883 if test "$enableval" = yes; then
7884 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=yes'
7886 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=no
'
7891 wx_cv_use_zipstream='wxUSE_ZIPSTREAM
=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7896 eval "$wx_cv_use_zipstream"
7898 if test x"$enablestring" = xdisable; then
7899 if test $wxUSE_ZIPSTREAM = yes; then
7905 result=$wxUSE_ZIPSTREAM
7908 { echo "$as_me:$LINENO: result
: $result" >&5
7909 echo "${ECHO_T}$result" >&6; }
7914 defaultval=$wxUSE_ALL_FEATURES
7915 if test -z "$defaultval"; then
7916 if test x"$enablestring" = xdisable; then
7923 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-url" >&5
7924 echo $ECHO_N "checking
for --${enablestring:-enable}-url...
$ECHO_C" >&6; }
7925 # Check whether --enable-url was given.
7926 if test "${enable_url+set}" = set; then
7927 enableval=$enable_url;
7928 if test "$enableval" = yes; then
7929 wx_cv_use_url='wxUSE_URL=yes'
7931 wx_cv_use_url='wxUSE_URL=no'
7936 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7941 eval "$wx_cv_use_url"
7943 if test x
"$enablestring" = xdisable
; then
7944 if test $wxUSE_URL = yes; then
7953 { echo "$as_me:$LINENO: result: $result" >&5
7954 echo "${ECHO_T}$result" >&6; }
7958 defaultval
=$wxUSE_ALL_FEATURES
7959 if test -z "$defaultval"; then
7960 if test x
"$enablestring" = xdisable
; then
7967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7968 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7969 # Check whether --enable-protocol was given.
7970 if test "${enable_protocol+set}" = set; then
7971 enableval
=$enable_protocol;
7972 if test "$enableval" = yes; then
7973 wx_cv_use_protocol
='wxUSE_PROTOCOL=yes'
7975 wx_cv_use_protocol
='wxUSE_PROTOCOL=no'
7980 wx_cv_use_protocol
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7985 eval "$wx_cv_use_protocol"
7987 if test x"$enablestring" = xdisable; then
7988 if test $wxUSE_PROTOCOL = yes; then
7994 result=$wxUSE_PROTOCOL
7997 { echo "$as_me:$LINENO: result: $result" >&5
7998 echo "${ECHO_T}$result" >&6; }
8002 defaultval=$wxUSE_ALL_FEATURES
8003 if test -z "$defaultval"; then
8004 if test x"$enablestring" = xdisable; then
8011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8013 # Check whether --enable-protocol_http was given.
8014 if test "${enable_protocol_http+set}" = set; then
8015 enableval=$enable_protocol_http;
8016 if test "$enableval" = yes; then
8017 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=yes'
8019 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=no
'
8024 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP
=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8029 eval "$wx_cv_use_protocol_http"
8031 if test x"$enablestring" = xdisable; then
8032 if test $wxUSE_PROTOCOL_HTTP = yes; then
8038 result=$wxUSE_PROTOCOL_HTTP
8041 { echo "$as_me:$LINENO: result
: $result" >&5
8042 echo "${ECHO_T}$result" >&6; }
8046 defaultval=$wxUSE_ALL_FEATURES
8047 if test -z "$defaultval"; then
8048 if test x"$enablestring" = xdisable; then
8055 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_ftp" >&5
8056 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_ftp...
$ECHO_C" >&6; }
8057 # Check whether --enable-protocol_ftp was given.
8058 if test "${enable_protocol_ftp+set}" = set; then
8059 enableval=$enable_protocol_ftp;
8060 if test "$enableval" = yes; then
8061 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8063 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8068 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8073 eval "$wx_cv_use_protocol_ftp"
8075 if test x
"$enablestring" = xdisable
; then
8076 if test $wxUSE_PROTOCOL_FTP = yes; then
8082 result
=$wxUSE_PROTOCOL_FTP
8085 { echo "$as_me:$LINENO: result: $result" >&5
8086 echo "${ECHO_T}$result" >&6; }
8090 defaultval
=$wxUSE_ALL_FEATURES
8091 if test -z "$defaultval"; then
8092 if test x
"$enablestring" = xdisable
; then
8099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8101 # Check whether --enable-protocol_file was given.
8102 if test "${enable_protocol_file+set}" = set; then
8103 enableval
=$enable_protocol_file;
8104 if test "$enableval" = yes; then
8105 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
8107 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
8112 wx_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8117 eval "$wx_cv_use_protocol_file"
8119 if test x"$enablestring" = xdisable; then
8120 if test $wxUSE_PROTOCOL_FILE = yes; then
8126 result=$wxUSE_PROTOCOL_FILE
8129 { echo "$as_me:$LINENO: result: $result" >&5
8130 echo "${ECHO_T}$result" >&6; }
8135 defaultval=$wxUSE_ALL_FEATURES
8136 if test -z "$defaultval"; then
8137 if test x"$enablestring" = xdisable; then
8144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8145 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8146 # Check whether --enable-threads was given.
8147 if test "${enable_threads+set}" = set; then
8148 enableval=$enable_threads;
8149 if test "$enableval" = yes; then
8150 wx_cv_use_threads='wxUSE_THREADS
=yes'
8152 wx_cv_use_threads='wxUSE_THREADS
=no
'
8157 wx_cv_use_threads='wxUSE_THREADS
=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8162 eval "$wx_cv_use_threads"
8164 if test x"$enablestring" = xdisable; then
8165 if test $wxUSE_THREADS = yes; then
8171 result=$wxUSE_THREADS
8174 { echo "$as_me:$LINENO: result
: $result" >&5
8175 echo "${ECHO_T}$result" >&6; }
8181 if test -z "$defaultval"; then
8182 if test x"$enablestring" = xdisable; then
8189 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-iniconf" >&5
8190 echo $ECHO_N "checking
for --${enablestring:-enable}-iniconf...
$ECHO_C" >&6; }
8191 # Check whether --enable-iniconf was given.
8192 if test "${enable_iniconf+set}" = set; then
8193 enableval=$enable_iniconf;
8194 if test "$enableval" = yes; then
8195 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8197 wx_cv_use_iniconf='wxUSE_INICONF=no'
8202 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8207 eval "$wx_cv_use_iniconf"
8209 if test x
"$enablestring" = xdisable
; then
8210 if test $wxUSE_INICONF = yes; then
8216 result
=$wxUSE_INICONF
8219 { echo "$as_me:$LINENO: result: $result" >&5
8220 echo "${ECHO_T}$result" >&6; }
8224 defaultval
=$wxUSE_ALL_FEATURES
8225 if test -z "$defaultval"; then
8226 if test x
"$enablestring" = xdisable
; then
8233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8234 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8235 # Check whether --enable-regkey was given.
8236 if test "${enable_regkey+set}" = set; then
8237 enableval
=$enable_regkey;
8238 if test "$enableval" = yes; then
8239 wx_cv_use_regkey
='wxUSE_REGKEY=yes'
8241 wx_cv_use_regkey
='wxUSE_REGKEY=no'
8246 wx_cv_use_regkey
='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8251 eval "$wx_cv_use_regkey"
8253 if test x"$enablestring" = xdisable; then
8254 if test $wxUSE_REGKEY = yes; then
8260 result=$wxUSE_REGKEY
8263 { echo "$as_me:$LINENO: result: $result" >&5
8264 echo "${ECHO_T}$result" >&6; }
8267 if test "$wxUSE_GUI" = "yes"; then
8272 defaultval=$wxUSE_ALL_FEATURES
8273 if test -z "$defaultval"; then
8274 if test x"$enablestring" = xdisable; then
8281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8283 # Check whether --enable-docview was given.
8284 if test "${enable_docview+set}" = set; then
8285 enableval=$enable_docview;
8286 if test "$enableval" = yes; then
8287 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=yes'
8289 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=no
'
8294 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE
=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8299 eval "$wx_cv_use_docview"
8301 if test x"$enablestring" = xdisable; then
8302 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8308 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8311 { echo "$as_me:$LINENO: result
: $result" >&5
8312 echo "${ECHO_T}$result" >&6; }
8316 defaultval=$wxUSE_ALL_FEATURES
8317 if test -z "$defaultval"; then
8318 if test x"$enablestring" = xdisable; then
8325 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-help" >&5
8326 echo $ECHO_N "checking
for --${enablestring:-enable}-help...
$ECHO_C" >&6; }
8327 # Check whether --enable-help was given.
8328 if test "${enable_help+set}" = set; then
8329 enableval=$enable_help;
8330 if test "$enableval" = yes; then
8331 wx_cv_use_help='wxUSE_HELP=yes'
8333 wx_cv_use_help='wxUSE_HELP=no'
8338 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8343 eval "$wx_cv_use_help"
8345 if test x
"$enablestring" = xdisable
; then
8346 if test $wxUSE_HELP = yes; then
8355 { echo "$as_me:$LINENO: result: $result" >&5
8356 echo "${ECHO_T}$result" >&6; }
8360 defaultval
=$wxUSE_ALL_FEATURES
8361 if test -z "$defaultval"; then
8362 if test x
"$enablestring" = xdisable
; then
8369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8370 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8371 # Check whether --enable-mshtmlhelp was given.
8372 if test "${enable_mshtmlhelp+set}" = set; then
8373 enableval
=$enable_mshtmlhelp;
8374 if test "$enableval" = yes; then
8375 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
8377 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
8382 wx_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8387 eval "$wx_cv_use_mshtmlhelp"
8389 if test x"$enablestring" = xdisable; then
8390 if test $wxUSE_MS_HTML_HELP = yes; then
8396 result=$wxUSE_MS_HTML_HELP
8399 { echo "$as_me:$LINENO: result: $result" >&5
8400 echo "${ECHO_T}$result" >&6; }
8404 defaultval=$wxUSE_ALL_FEATURES
8405 if test -z "$defaultval"; then
8406 if test x"$enablestring" = xdisable; then
8413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8414 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8415 # Check whether --enable-html was given.
8416 if test "${enable_html+set}" = set; then
8417 enableval=$enable_html;
8418 if test "$enableval" = yes; then
8419 wx_cv_use_html='wxUSE_HTML
=yes'
8421 wx_cv_use_html='wxUSE_HTML
=no
'
8426 wx_cv_use_html='wxUSE_HTML
=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8431 eval "$wx_cv_use_html"
8433 if test x"$enablestring" = xdisable; then
8434 if test $wxUSE_HTML = yes; then
8443 { echo "$as_me:$LINENO: result
: $result" >&5
8444 echo "${ECHO_T}$result" >&6; }
8448 defaultval=$wxUSE_ALL_FEATURES
8449 if test -z "$defaultval"; then
8450 if test x"$enablestring" = xdisable; then
8457 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-htmlhelp" >&5
8458 echo $ECHO_N "checking
for --${enablestring:-enable}-htmlhelp...
$ECHO_C" >&6; }
8459 # Check whether --enable-htmlhelp was given.
8460 if test "${enable_htmlhelp+set}" = set; then
8461 enableval=$enable_htmlhelp;
8462 if test "$enableval" = yes; then
8463 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8465 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8470 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8475 eval "$wx_cv_use_htmlhelp"
8477 if test x
"$enablestring" = xdisable
; then
8478 if test $wxUSE_WXHTML_HELP = yes; then
8484 result
=$wxUSE_WXHTML_HELP
8487 { echo "$as_me:$LINENO: result: $result" >&5
8488 echo "${ECHO_T}$result" >&6; }
8492 defaultval
=$wxUSE_ALL_FEATURES
8493 if test -z "$defaultval"; then
8494 if test x
"$enablestring" = xdisable
; then
8501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8502 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8503 # Check whether --enable-xrc was given.
8504 if test "${enable_xrc+set}" = set; then
8505 enableval
=$enable_xrc;
8506 if test "$enableval" = yes; then
8507 wx_cv_use_xrc
='wxUSE_XRC=yes'
8509 wx_cv_use_xrc
='wxUSE_XRC=no'
8514 wx_cv_use_xrc
='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8519 eval "$wx_cv_use_xrc"
8521 if test x"$enablestring" = xdisable; then
8522 if test $wxUSE_XRC = yes; then
8531 { echo "$as_me:$LINENO: result: $result" >&5
8532 echo "${ECHO_T}$result" >&6; }
8536 defaultval=$wxUSE_ALL_FEATURES
8537 if test -z "$defaultval"; then
8538 if test x"$enablestring" = xdisable; then
8545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8546 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8547 # Check whether --enable-aui was given.
8548 if test "${enable_aui+set}" = set; then
8549 enableval=$enable_aui;
8550 if test "$enableval" = yes; then
8551 wx_cv_use_aui='wxUSE_AUI
=yes'
8553 wx_cv_use_aui='wxUSE_AUI
=no
'
8558 wx_cv_use_aui='wxUSE_AUI
=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8563 eval "$wx_cv_use_aui"
8565 if test x"$enablestring" = xdisable; then
8566 if test $wxUSE_AUI = yes; then
8575 { echo "$as_me:$LINENO: result
: $result" >&5
8576 echo "${ECHO_T}$result" >&6; }
8580 defaultval=$wxUSE_ALL_FEATURES
8581 if test -z "$defaultval"; then
8582 if test x"$enablestring" = xdisable; then
8589 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-propgrid" >&5
8590 echo $ECHO_N "checking
for --${enablestring:-enable}-propgrid...
$ECHO_C" >&6; }
8591 # Check whether --enable-propgrid was given.
8592 if test "${enable_propgrid+set}" = set; then
8593 enableval=$enable_propgrid;
8594 if test "$enableval" = yes; then
8595 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8597 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8602 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8607 eval "$wx_cv_use_propgrid"
8609 if test x
"$enablestring" = xdisable
; then
8610 if test $wxUSE_PROPGRID = yes; then
8616 result
=$wxUSE_PROPGRID
8619 { echo "$as_me:$LINENO: result: $result" >&5
8620 echo "${ECHO_T}$result" >&6; }
8624 defaultval
=$wxUSE_ALL_FEATURES
8625 if test -z "$defaultval"; then
8626 if test x
"$enablestring" = xdisable
; then
8633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8635 # Check whether --enable-stc was given.
8636 if test "${enable_stc+set}" = set; then
8637 enableval
=$enable_stc;
8638 if test "$enableval" = yes; then
8639 wx_cv_use_stc
='wxUSE_STC=yes'
8641 wx_cv_use_stc
='wxUSE_STC=no'
8646 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8651 eval "$wx_cv_use_stc"
8653 if test x"$enablestring" = xdisable; then
8654 if test $wxUSE_STC = yes; then
8663 { echo "$as_me:$LINENO: result: $result" >&5
8664 echo "${ECHO_T}$result" >&6; }
8668 defaultval=$wxUSE_ALL_FEATURES
8669 if test -z "$defaultval"; then
8670 if test x"$enablestring" = xdisable; then
8677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8678 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8679 # Check whether --enable-constraints was given.
8680 if test "${enable_constraints+set}" = set; then
8681 enableval=$enable_constraints;
8682 if test "$enableval" = yes; then
8683 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
8685 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
8690 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8695 eval "$wx_cv_use_constraints"
8697 if test x"$enablestring" = xdisable; then
8698 if test $wxUSE_CONSTRAINTS = yes; then
8704 result=$wxUSE_CONSTRAINTS
8707 { echo "$as_me:$LINENO: result
: $result" >&5
8708 echo "${ECHO_T}$result" >&6; }
8712 defaultval=$wxUSE_ALL_FEATURES
8713 if test -z "$defaultval"; then
8714 if test x"$enablestring" = xdisable; then
8721 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
8722 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
8723 # Check whether --enable-loggui was given.
8724 if test "${enable_loggui+set}" = set; then
8725 enableval=$enable_loggui;
8726 if test "$enableval" = yes; then
8727 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8729 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8734 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8739 eval "$wx_cv_use_loggui"
8741 if test x
"$enablestring" = xdisable
; then
8742 if test $wxUSE_LOGGUI = yes; then
8748 result
=$wxUSE_LOGGUI
8751 { echo "$as_me:$LINENO: result: $result" >&5
8752 echo "${ECHO_T}$result" >&6; }
8756 defaultval
=$wxUSE_ALL_FEATURES
8757 if test -z "$defaultval"; then
8758 if test x
"$enablestring" = xdisable
; then
8765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8766 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8767 # Check whether --enable-logwin was given.
8768 if test "${enable_logwin+set}" = set; then
8769 enableval
=$enable_logwin;
8770 if test "$enableval" = yes; then
8771 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
8773 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
8778 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8783 eval "$wx_cv_use_logwin"
8785 if test x"$enablestring" = xdisable; then
8786 if test $wxUSE_LOGWINDOW = yes; then
8792 result=$wxUSE_LOGWINDOW
8795 { echo "$as_me:$LINENO: result: $result" >&5
8796 echo "${ECHO_T}$result" >&6; }
8800 defaultval=$wxUSE_ALL_FEATURES
8801 if test -z "$defaultval"; then
8802 if test x"$enablestring" = xdisable; then
8809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8811 # Check whether --enable-logdialog was given.
8812 if test "${enable_logdialog+set}" = set; then
8813 enableval=$enable_logdialog;
8814 if test "$enableval" = yes; then
8815 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
8817 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
8822 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8827 eval "$wx_cv_use_logdialog"
8829 if test x"$enablestring" = xdisable; then
8830 if test $wxUSE_LOGDIALOG = yes; then
8836 result=$wxUSE_LOGDIALOG
8839 { echo "$as_me:$LINENO: result
: $result" >&5
8840 echo "${ECHO_T}$result" >&6; }
8844 defaultval=$wxUSE_ALL_FEATURES
8845 if test -z "$defaultval"; then
8846 if test x"$enablestring" = xdisable; then
8853 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
8854 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
8855 # Check whether --enable-mdi was given.
8856 if test "${enable_mdi+set}" = set; then
8857 enableval=$enable_mdi;
8858 if test "$enableval" = yes; then
8859 wx_cv_use_mdi='wxUSE_MDI=yes'
8861 wx_cv_use_mdi='wxUSE_MDI=no'
8866 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8871 eval "$wx_cv_use_mdi"
8873 if test x
"$enablestring" = xdisable
; then
8874 if test $wxUSE_MDI = yes; then
8883 { echo "$as_me:$LINENO: result: $result" >&5
8884 echo "${ECHO_T}$result" >&6; }
8888 defaultval
=$wxUSE_ALL_FEATURES
8889 if test -z "$defaultval"; then
8890 if test x
"$enablestring" = xdisable
; then
8897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8899 # Check whether --enable-mdidoc was given.
8900 if test "${enable_mdidoc+set}" = set; then
8901 enableval
=$enable_mdidoc;
8902 if test "$enableval" = yes; then
8903 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
8905 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
8910 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8915 eval "$wx_cv_use_mdidoc"
8917 if test x"$enablestring" = xdisable; then
8918 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8924 result=$wxUSE_MDI_ARCHITECTURE
8927 { echo "$as_me:$LINENO: result: $result" >&5
8928 echo "${ECHO_T}$result" >&6; }
8932 defaultval=$wxUSE_ALL_FEATURES
8933 if test -z "$defaultval"; then
8934 if test x"$enablestring" = xdisable; then
8941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8942 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8943 # Check whether --enable-mediactrl was given.
8944 if test "${enable_mediactrl+set}" = set; then
8945 enableval=$enable_mediactrl;
8946 if test "$enableval" = yes; then
8947 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
8949 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
8954 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8959 eval "$wx_cv_use_mediactrl"
8961 if test x"$enablestring" = xdisable; then
8962 if test $wxUSE_MEDIACTRL = yes; then
8968 result=$wxUSE_MEDIACTRL
8971 { echo "$as_me:$LINENO: result
: $result" >&5
8972 echo "${ECHO_T}$result" >&6; }
8976 defaultval=$wxUSE_ALL_FEATURES
8977 if test -z "$defaultval"; then
8978 if test x"$enablestring" = xdisable; then
8985 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
8986 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
8987 # Check whether --enable-gstreamer8 was given.
8988 if test "${enable_gstreamer8+set}" = set; then
8989 enableval=$enable_gstreamer8;
8990 if test "$enableval" = yes; then
8991 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8993 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8998 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9003 eval "$wx_cv_use_gstreamer8"
9005 if test x
"$enablestring" = xdisable
; then
9006 if test $wxUSE_GSTREAMER8 = yes; then
9012 result
=$wxUSE_GSTREAMER8
9015 { echo "$as_me:$LINENO: result: $result" >&5
9016 echo "${ECHO_T}$result" >&6; }
9020 defaultval
=$wxUSE_ALL_FEATURES
9021 if test -z "$defaultval"; then
9022 if test x
"$enablestring" = xdisable
; then
9029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9030 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9031 # Check whether --enable-webkit was given.
9032 if test "${enable_webkit+set}" = set; then
9033 enableval
=$enable_webkit;
9034 if test "$enableval" = yes; then
9035 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
9037 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
9042 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9047 eval "$wx_cv_use_webkit"
9049 if test x"$enablestring" = xdisable; then
9050 if test $wxUSE_WEBKIT = yes; then
9056 result=$wxUSE_WEBKIT
9059 { echo "$as_me:$LINENO: result: $result" >&5
9060 echo "${ECHO_T}$result" >&6; }
9064 defaultval=$wxUSE_ALL_FEATURES
9065 if test -z "$defaultval"; then
9066 if test x"$enablestring" = xdisable; then
9073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9074 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9075 # Check whether --enable-richtext was given.
9076 if test "${enable_richtext+set}" = set; then
9077 enableval=$enable_richtext;
9078 if test "$enableval" = yes; then
9079 wx_cv_use_richtext='wxUSE_RICHTEXT
=yes'
9081 wx_cv_use_richtext='wxUSE_RICHTEXT
=no
'
9086 wx_cv_use_richtext='wxUSE_RICHTEXT
=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9091 eval "$wx_cv_use_richtext"
9093 if test x"$enablestring" = xdisable; then
9094 if test $wxUSE_RICHTEXT = yes; then
9100 result=$wxUSE_RICHTEXT
9103 { echo "$as_me:$LINENO: result
: $result" >&5
9104 echo "${ECHO_T}$result" >&6; }
9108 defaultval=$wxUSE_ALL_FEATURES
9109 if test -z "$defaultval"; then
9110 if test x"$enablestring" = xdisable; then
9117 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-graphics_ctx" >&5
9118 echo $ECHO_N "checking
for --${enablestring:-enable}-graphics_ctx...
$ECHO_C" >&6; }
9119 # Check whether --enable-graphics_ctx was given.
9120 if test "${enable_graphics_ctx+set}" = set; then
9121 enableval=$enable_graphics_ctx;
9122 if test "$enableval" = yes; then
9123 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9125 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9130 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9135 eval "$wx_cv_use_graphics_ctx"
9137 if test x
"$enablestring" = xdisable
; then
9138 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9144 result
=$wxUSE_GRAPHICS_CONTEXT
9147 { echo "$as_me:$LINENO: result: $result" >&5
9148 echo "${ECHO_T}$result" >&6; }
9152 defaultval
=$wxUSE_ALL_FEATURES
9153 if test -z "$defaultval"; then
9154 if test x
"$enablestring" = xdisable
; then
9161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9163 # Check whether --enable-postscript was given.
9164 if test "${enable_postscript+set}" = set; then
9165 enableval
=$enable_postscript;
9166 if test "$enableval" = yes; then
9167 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
9169 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
9174 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9179 eval "$wx_cv_use_postscript"
9181 if test x"$enablestring" = xdisable; then
9182 if test $wxUSE_POSTSCRIPT = yes; then
9188 result=$wxUSE_POSTSCRIPT
9191 { echo "$as_me:$LINENO: result: $result" >&5
9192 echo "${ECHO_T}$result" >&6; }
9196 defaultval=$wxUSE_ALL_FEATURES
9197 if test -z "$defaultval"; then
9198 if test x"$enablestring" = xdisable; then
9205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9206 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9207 # Check whether --enable-printarch was given.
9208 if test "${enable_printarch+set}" = set; then
9209 enableval=$enable_printarch;
9210 if test "$enableval" = yes; then
9211 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
9213 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
9218 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9223 eval "$wx_cv_use_printarch"
9225 if test x"$enablestring" = xdisable; then
9226 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9232 result=$wxUSE_PRINTING_ARCHITECTURE
9235 { echo "$as_me:$LINENO: result
: $result" >&5
9236 echo "${ECHO_T}$result" >&6; }
9240 defaultval=$wxUSE_ALL_FEATURES
9241 if test -z "$defaultval"; then
9242 if test x"$enablestring" = xdisable; then
9249 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-svg" >&5
9250 echo $ECHO_N "checking
for --${enablestring:-enable}-svg...
$ECHO_C" >&6; }
9251 # Check whether --enable-svg was given.
9252 if test "${enable_svg+set}" = set; then
9253 enableval=$enable_svg;
9254 if test "$enableval" = yes; then
9255 wx_cv_use_svg='wxUSE_SVG=yes'
9257 wx_cv_use_svg='wxUSE_SVG=no'
9262 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9267 eval "$wx_cv_use_svg"
9269 if test x
"$enablestring" = xdisable
; then
9270 if test $wxUSE_SVG = yes; then
9279 { echo "$as_me:$LINENO: result: $result" >&5
9280 echo "${ECHO_T}$result" >&6; }
9286 defaultval
=$wxUSE_ALL_FEATURES
9287 if test -z "$defaultval"; then
9288 if test x
"$enablestring" = xdisable
; then
9295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9296 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9297 # Check whether --enable-clipboard was given.
9298 if test "${enable_clipboard+set}" = set; then
9299 enableval
=$enable_clipboard;
9300 if test "$enableval" = yes; then
9301 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
9303 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
9308 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9313 eval "$wx_cv_use_clipboard"
9315 if test x"$enablestring" = xdisable; then
9316 if test $wxUSE_CLIPBOARD = yes; then
9322 result=$wxUSE_CLIPBOARD
9325 { echo "$as_me:$LINENO: result: $result" >&5
9326 echo "${ECHO_T}$result" >&6; }
9330 defaultval=$wxUSE_ALL_FEATURES
9331 if test -z "$defaultval"; then
9332 if test x"$enablestring" = xdisable; then
9339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9340 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9341 # Check whether --enable-dnd was given.
9342 if test "${enable_dnd+set}" = set; then
9343 enableval=$enable_dnd;
9344 if test "$enableval" = yes; then
9345 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
9347 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
9352 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9357 eval "$wx_cv_use_dnd"
9359 if test x"$enablestring" = xdisable; then
9360 if test $wxUSE_DRAG_AND_DROP = yes; then
9366 result=$wxUSE_DRAG_AND_DROP
9369 { echo "$as_me:$LINENO: result
: $result" >&5
9370 echo "${ECHO_T}$result" >&6; }
9374 defaultval=$wxUSE_ALL_FEATURES
9375 if test -z "$defaultval"; then
9376 if test x"$enablestring" = xdisable; then
9383 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
9384 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
9385 # Check whether --enable-metafile was given.
9386 if test "${enable_metafile+set}" = set; then
9387 enableval=$enable_metafile;
9388 if test "$enableval" = yes; then
9389 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9391 wx_cv_use_metafile='wxUSE_METAFILE=no'
9396 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9401 eval "$wx_cv_use_metafile"
9403 if test x
"$enablestring" = xdisable
; then
9404 if test $wxUSE_METAFILE = yes; then
9410 result
=$wxUSE_METAFILE
9413 { echo "$as_me:$LINENO: result: $result" >&5
9414 echo "${ECHO_T}$result" >&6; }
9418 DEFAULT_wxUSE_CONTROLS
=none
9420 enablestring
=disable
9422 if test -z "$defaultval"; then
9423 if test x
"$enablestring" = xdisable
; then
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9432 # Check whether --enable-controls was given.
9433 if test "${enable_controls+set}" = set; then
9434 enableval
=$enable_controls;
9435 if test "$enableval" = yes; then
9436 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9438 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9443 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9448 eval "$wx_cv_use_controls"
9450 if test x"$enablestring" = xdisable; then
9451 if test $wxUSE_CONTROLS = yes; then
9457 result=$wxUSE_CONTROLS
9460 { echo "$as_me:$LINENO: result: $result" >&5
9461 echo "${ECHO_T}$result" >&6; }
9464 if test "$wxUSE_CONTROLS" = "yes"; then
9465 DEFAULT_wxUSE_ACCEL=yes
9466 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9467 DEFAULT_wxUSE_BMPBUTTON=yes
9468 DEFAULT_wxUSE_BUTTON=yes
9469 DEFAULT_wxUSE_CALCTRL=yes
9470 DEFAULT_wxUSE_CARET=yes
9471 DEFAULT_wxUSE_COMBOBOX=yes
9472 DEFAULT_wxUSE_CHECKBOX=yes
9473 DEFAULT_wxUSE_CHECKLISTBOX=yes
9474 DEFAULT_wxUSE_CHOICE=yes
9475 DEFAULT_wxUSE_CHOICEBOOK=yes
9476 DEFAULT_wxUSE_COLLPANE=yes
9477 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9478 DEFAULT_wxUSE_COMBOBOX=yes
9479 DEFAULT_wxUSE_DATEPICKCTRL=yes
9480 DEFAULT_wxUSE_DISPLAY=yes
9481 DEFAULT_wxUSE_DETECT_SM=yes
9482 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9483 DEFAULT_wxUSE_FILECTRL=yes
9484 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9485 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9486 DEFAULT_wxUSE_GAUGE=yes
9487 DEFAULT_wxUSE_GRID=yes
9488 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9489 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9490 DEFAULT_wxUSE_IMAGLIST=yes
9491 DEFAULT_wxUSE_LISTBOOK=yes
9492 DEFAULT_wxUSE_LISTBOX=yes
9493 DEFAULT_wxUSE_LISTCTRL=yes
9494 DEFAULT_wxUSE_NOTEBOOK=yes
9495 DEFAULT_wxUSE_RADIOBOX=yes
9496 DEFAULT_wxUSE_RADIOBTN=yes
9497 DEFAULT_wxUSE_SASH=yes
9498 DEFAULT_wxUSE_SCROLLBAR=yes
9499 DEFAULT_wxUSE_SEARCHCTRL=yes
9500 DEFAULT_wxUSE_SLIDER=yes
9501 DEFAULT_wxUSE_SPINBTN=yes
9502 DEFAULT_wxUSE_SPINCTRL=yes
9503 DEFAULT_wxUSE_SPLITTER=yes
9504 DEFAULT_wxUSE_STATBMP=yes
9505 DEFAULT_wxUSE_STATBOX=yes
9506 DEFAULT_wxUSE_STATLINE=yes
9507 DEFAULT_wxUSE_STATUSBAR=yes
9508 DEFAULT_wxUSE_TOGGLEBTN=yes
9509 DEFAULT_wxUSE_TOOLBAR=yes
9510 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9511 DEFAULT_wxUSE_TOOLTIPS=yes
9512 DEFAULT_wxUSE_TREEBOOK=yes
9513 DEFAULT_wxUSE_TOOLBOOK=yes
9514 DEFAULT_wxUSE_TREECTRL=yes
9515 DEFAULT_wxUSE_POPUPWIN=yes
9516 DEFAULT_wxUSE_TIPWINDOW=yes
9517 elif test "$wxUSE_CONTROLS" = "no"; then
9518 DEFAULT_wxUSE_ACCEL=no
9519 DEFAULT_wxUSE_ANIMATIONCTRL=no
9520 DEFAULT_wxUSE_BMPBUTTON=no
9521 DEFAULT_wxUSE_BUTTON=no
9522 DEFAULT_wxUSE_CALCTRL=no
9523 DEFAULT_wxUSE_CARET=no
9524 DEFAULT_wxUSE_COLLPANE=no
9525 DEFAULT_wxUSE_COMBOBOX=no
9526 DEFAULT_wxUSE_CHECKBOX=no
9527 DEFAULT_wxUSE_CHECKLISTBOX=no
9528 DEFAULT_wxUSE_CHOICE=no
9529 DEFAULT_wxUSE_CHOICEBOOK=no
9530 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9531 DEFAULT_wxUSE_COMBOBOX=no
9532 DEFAULT_wxUSE_DATEPICKCTRL=no
9533 DEFAULT_wxUSE_DISPLAY=no
9534 DEFAULT_wxUSE_DETECT_SM=no
9535 DEFAULT_wxUSE_DIRPICKERCTRL=no
9536 DEFAULT_wxUSE_FILECTRL=no
9537 DEFAULT_wxUSE_FILEPICKERCTRL=no
9538 DEFAULT_wxUSE_FONTPICKERCTRL=no
9539 DEFAULT_wxUSE_GAUGE=no
9540 DEFAULT_wxUSE_GRID=no
9541 DEFAULT_wxUSE_HYPERLINKCTRL=no
9542 DEFAULT_wxUSE_DATAVIEWCTRL=no
9543 DEFAULT_wxUSE_IMAGLIST=no
9544 DEFAULT_wxUSE_LISTBOOK=no
9545 DEFAULT_wxUSE_LISTBOX=no
9546 DEFAULT_wxUSE_LISTCTRL=no
9547 DEFAULT_wxUSE_NOTEBOOK=no
9548 DEFAULT_wxUSE_RADIOBOX=no
9549 DEFAULT_wxUSE_RADIOBTN=no
9550 DEFAULT_wxUSE_SASH=no
9551 DEFAULT_wxUSE_SCROLLBAR=no
9552 DEFAULT_wxUSE_SEARCHCTRL=no
9553 DEFAULT_wxUSE_SLIDER=no
9554 DEFAULT_wxUSE_SPINBTN=no
9555 DEFAULT_wxUSE_SPINCTRL=no
9556 DEFAULT_wxUSE_SPLITTER=no
9557 DEFAULT_wxUSE_STATBMP=no
9558 DEFAULT_wxUSE_STATBOX=no
9559 DEFAULT_wxUSE_STATLINE=no
9560 DEFAULT_wxUSE_STATUSBAR=no
9561 DEFAULT_wxUSE_TOGGLEBTN=no
9562 DEFAULT_wxUSE_TOOLBAR=no
9563 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9564 DEFAULT_wxUSE_TOOLTIPS=no
9565 DEFAULT_wxUSE_TREEBOOK=no
9566 DEFAULT_wxUSE_TOOLBOOK=no
9567 DEFAULT_wxUSE_TREECTRL=no
9568 DEFAULT_wxUSE_POPUPWIN=no
9569 DEFAULT_wxUSE_TIPWINDOW=no
9574 defaultval=$wxUSE_ALL_FEATURES
9575 if test -z "$defaultval"; then
9576 if test x"$enablestring" = xdisable; then
9583 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9584 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9585 # Check whether --enable-accel was given.
9586 if test "${enable_accel+set}" = set; then
9587 enableval=$enable_accel;
9588 if test "$enableval" = yes; then
9589 wx_cv_use_accel='wxUSE_ACCEL
=yes'
9591 wx_cv_use_accel='wxUSE_ACCEL
=no
'
9596 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9601 eval "$wx_cv_use_accel"
9603 if test x"$enablestring" = xdisable; then
9604 if test $wxUSE_ACCEL = yes; then
9613 { echo "$as_me:$LINENO: result
: $result" >&5
9614 echo "${ECHO_T}$result" >&6; }
9618 defaultval=$wxUSE_ALL_FEATURES
9619 if test -z "$defaultval"; then
9620 if test x"$enablestring" = xdisable; then
9627 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-animatectrl" >&5
9628 echo $ECHO_N "checking
for --${enablestring:-enable}-animatectrl...
$ECHO_C" >&6; }
9629 # Check whether --enable-animatectrl was given.
9630 if test "${enable_animatectrl+set}" = set; then
9631 enableval=$enable_animatectrl;
9632 if test "$enableval" = yes; then
9633 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9635 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9640 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9645 eval "$wx_cv_use_animatectrl"
9647 if test x
"$enablestring" = xdisable
; then
9648 if test $wxUSE_ANIMATIONCTRL = yes; then
9654 result
=$wxUSE_ANIMATIONCTRL
9657 { echo "$as_me:$LINENO: result: $result" >&5
9658 echo "${ECHO_T}$result" >&6; }
9662 defaultval
=$wxUSE_ALL_FEATURES
9663 if test -z "$defaultval"; then
9664 if test x
"$enablestring" = xdisable
; then
9671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9672 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9673 # Check whether --enable-button was given.
9674 if test "${enable_button+set}" = set; then
9675 enableval
=$enable_button;
9676 if test "$enableval" = yes; then
9677 wx_cv_use_button
='wxUSE_BUTTON=yes'
9679 wx_cv_use_button
='wxUSE_BUTTON=no'
9684 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9689 eval "$wx_cv_use_button"
9691 if test x"$enablestring" = xdisable; then
9692 if test $wxUSE_BUTTON = yes; then
9698 result=$wxUSE_BUTTON
9701 { echo "$as_me:$LINENO: result: $result" >&5
9702 echo "${ECHO_T}$result" >&6; }
9706 defaultval=$wxUSE_ALL_FEATURES
9707 if test -z "$defaultval"; then
9708 if test x"$enablestring" = xdisable; then
9715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9716 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9717 # Check whether --enable-bmpbutton was given.
9718 if test "${enable_bmpbutton+set}" = set; then
9719 enableval=$enable_bmpbutton;
9720 if test "$enableval" = yes; then
9721 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
9723 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
9728 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9733 eval "$wx_cv_use_bmpbutton"
9735 if test x"$enablestring" = xdisable; then
9736 if test $wxUSE_BMPBUTTON = yes; then
9742 result=$wxUSE_BMPBUTTON
9745 { echo "$as_me:$LINENO: result
: $result" >&5
9746 echo "${ECHO_T}$result" >&6; }
9750 defaultval=$wxUSE_ALL_FEATURES
9751 if test -z "$defaultval"; then
9752 if test x"$enablestring" = xdisable; then
9759 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
9760 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
9761 # Check whether --enable-bmpcombobox was given.
9762 if test "${enable_bmpcombobox+set}" = set; then
9763 enableval=$enable_bmpcombobox;
9764 if test "$enableval" = yes; then
9765 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9767 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9772 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9777 eval "$wx_cv_use_bmpcombobox"
9779 if test x
"$enablestring" = xdisable
; then
9780 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9786 result
=$wxUSE_BITMAPCOMBOBOX
9789 { echo "$as_me:$LINENO: result: $result" >&5
9790 echo "${ECHO_T}$result" >&6; }
9794 defaultval
=$wxUSE_ALL_FEATURES
9795 if test -z "$defaultval"; then
9796 if test x
"$enablestring" = xdisable
; then
9803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9805 # Check whether --enable-calendar was given.
9806 if test "${enable_calendar+set}" = set; then
9807 enableval
=$enable_calendar;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
9811 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
9816 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9821 eval "$wx_cv_use_calendar"
9823 if test x"$enablestring" = xdisable; then
9824 if test $wxUSE_CALCTRL = yes; then
9830 result=$wxUSE_CALCTRL
9833 { echo "$as_me:$LINENO: result: $result" >&5
9834 echo "${ECHO_T}$result" >&6; }
9838 defaultval=$wxUSE_ALL_FEATURES
9839 if test -z "$defaultval"; then
9840 if test x"$enablestring" = xdisable; then
9847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9849 # Check whether --enable-caret was given.
9850 if test "${enable_caret+set}" = set; then
9851 enableval=$enable_caret;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_caret='wxUSE_CARET
=yes'
9855 wx_cv_use_caret='wxUSE_CARET
=no
'
9860 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9865 eval "$wx_cv_use_caret"
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_CARET = yes; then
9877 { echo "$as_me:$LINENO: result
: $result" >&5
9878 echo "${ECHO_T}$result" >&6; }
9882 defaultval=$wxUSE_ALL_FEATURES
9883 if test -z "$defaultval"; then
9884 if test x"$enablestring" = xdisable; then
9891 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-checkbox" >&5
9892 echo $ECHO_N "checking
for --${enablestring:-enable}-checkbox...
$ECHO_C" >&6; }
9893 # Check whether --enable-checkbox was given.
9894 if test "${enable_checkbox+set}" = set; then
9895 enableval=$enable_checkbox;
9896 if test "$enableval" = yes; then
9897 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9899 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9904 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9909 eval "$wx_cv_use_checkbox"
9911 if test x
"$enablestring" = xdisable
; then
9912 if test $wxUSE_CHECKBOX = yes; then
9918 result
=$wxUSE_CHECKBOX
9921 { echo "$as_me:$LINENO: result: $result" >&5
9922 echo "${ECHO_T}$result" >&6; }
9926 defaultval
=$wxUSE_ALL_FEATURES
9927 if test -z "$defaultval"; then
9928 if test x
"$enablestring" = xdisable
; then
9935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9936 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9937 # Check whether --enable-checklst was given.
9938 if test "${enable_checklst+set}" = set; then
9939 enableval
=$enable_checklst;
9940 if test "$enableval" = yes; then
9941 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
9943 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
9948 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9953 eval "$wx_cv_use_checklst"
9955 if test x"$enablestring" = xdisable; then
9956 if test $wxUSE_CHECKLST = yes; then
9962 result=$wxUSE_CHECKLST
9965 { echo "$as_me:$LINENO: result: $result" >&5
9966 echo "${ECHO_T}$result" >&6; }
9970 defaultval=$wxUSE_ALL_FEATURES
9971 if test -z "$defaultval"; then
9972 if test x"$enablestring" = xdisable; then
9979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9980 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9981 # Check whether --enable-choice was given.
9982 if test "${enable_choice+set}" = set; then
9983 enableval=$enable_choice;
9984 if test "$enableval" = yes; then
9985 wx_cv_use_choice='wxUSE_CHOICE
=yes'
9987 wx_cv_use_choice='wxUSE_CHOICE
=no
'
9992 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9997 eval "$wx_cv_use_choice"
9999 if test x"$enablestring" = xdisable; then
10000 if test $wxUSE_CHOICE = yes; then
10006 result=$wxUSE_CHOICE
10009 { echo "$as_me:$LINENO: result
: $result" >&5
10010 echo "${ECHO_T}$result" >&6; }
10014 defaultval=$wxUSE_ALL_FEATURES
10015 if test -z "$defaultval"; then
10016 if test x"$enablestring" = xdisable; then
10023 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choicebook" >&5
10024 echo $ECHO_N "checking
for --${enablestring:-enable}-choicebook...
$ECHO_C" >&6; }
10025 # Check whether --enable-choicebook was given.
10026 if test "${enable_choicebook+set}" = set; then
10027 enableval=$enable_choicebook;
10028 if test "$enableval" = yes; then
10029 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10031 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10036 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10041 eval "$wx_cv_use_choicebook"
10043 if test x
"$enablestring" = xdisable
; then
10044 if test $wxUSE_CHOICEBOOK = yes; then
10050 result
=$wxUSE_CHOICEBOOK
10053 { echo "$as_me:$LINENO: result: $result" >&5
10054 echo "${ECHO_T}$result" >&6; }
10058 defaultval
=$wxUSE_ALL_FEATURES
10059 if test -z "$defaultval"; then
10060 if test x
"$enablestring" = xdisable
; then
10067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10068 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10069 # Check whether --enable-collpane was given.
10070 if test "${enable_collpane+set}" = set; then
10071 enableval
=$enable_collpane;
10072 if test "$enableval" = yes; then
10073 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
10075 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
10080 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10085 eval "$wx_cv_use_collpane"
10087 if test x"$enablestring" = xdisable; then
10088 if test $wxUSE_COLLPANE = yes; then
10094 result=$wxUSE_COLLPANE
10097 { echo "$as_me:$LINENO: result: $result" >&5
10098 echo "${ECHO_T}$result" >&6; }
10102 defaultval=$wxUSE_ALL_FEATURES
10103 if test -z "$defaultval"; then
10104 if test x"$enablestring" = xdisable; then
10111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10113 # Check whether --enable-colourpicker was given.
10114 if test "${enable_colourpicker+set}" = set; then
10115 enableval=$enable_colourpicker;
10116 if test "$enableval" = yes; then
10117 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
10119 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
10124 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10129 eval "$wx_cv_use_colourpicker"
10131 if test x"$enablestring" = xdisable; then
10132 if test $wxUSE_COLOURPICKERCTRL = yes; then
10138 result=$wxUSE_COLOURPICKERCTRL
10141 { echo "$as_me:$LINENO: result
: $result" >&5
10142 echo "${ECHO_T}$result" >&6; }
10146 defaultval=$wxUSE_ALL_FEATURES
10147 if test -z "$defaultval"; then
10148 if test x"$enablestring" = xdisable; then
10155 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-combobox" >&5
10156 echo $ECHO_N "checking
for --${enablestring:-enable}-combobox...
$ECHO_C" >&6; }
10157 # Check whether --enable-combobox was given.
10158 if test "${enable_combobox+set}" = set; then
10159 enableval=$enable_combobox;
10160 if test "$enableval" = yes; then
10161 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10163 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10168 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10173 eval "$wx_cv_use_combobox"
10175 if test x
"$enablestring" = xdisable
; then
10176 if test $wxUSE_COMBOBOX = yes; then
10182 result
=$wxUSE_COMBOBOX
10185 { echo "$as_me:$LINENO: result: $result" >&5
10186 echo "${ECHO_T}$result" >&6; }
10190 defaultval
=$wxUSE_ALL_FEATURES
10191 if test -z "$defaultval"; then
10192 if test x
"$enablestring" = xdisable
; then
10199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10200 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10201 # Check whether --enable-comboctrl was given.
10202 if test "${enable_comboctrl+set}" = set; then
10203 enableval
=$enable_comboctrl;
10204 if test "$enableval" = yes; then
10205 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
10207 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
10212 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10217 eval "$wx_cv_use_comboctrl"
10219 if test x"$enablestring" = xdisable; then
10220 if test $wxUSE_COMBOCTRL = yes; then
10226 result=$wxUSE_COMBOCTRL
10229 { echo "$as_me:$LINENO: result: $result" >&5
10230 echo "${ECHO_T}$result" >&6; }
10234 defaultval=$wxUSE_ALL_FEATURES
10235 if test -z "$defaultval"; then
10236 if test x"$enablestring" = xdisable; then
10243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10244 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10245 # Check whether --enable-datepick was given.
10246 if test "${enable_datepick+set}" = set; then
10247 enableval=$enable_datepick;
10248 if test "$enableval" = yes; then
10249 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10251 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10256 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10261 eval "$wx_cv_use_datepick"
10263 if test x"$enablestring" = xdisable; then
10264 if test $wxUSE_DATEPICKCTRL = yes; then
10270 result=$wxUSE_DATEPICKCTRL
10273 { echo "$as_me:$LINENO: result
: $result" >&5
10274 echo "${ECHO_T}$result" >&6; }
10278 defaultval=$wxUSE_ALL_FEATURES
10279 if test -z "$defaultval"; then
10280 if test x"$enablestring" = xdisable; then
10287 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirpicker" >&5
10288 echo $ECHO_N "checking
for --${enablestring:-enable}-dirpicker...
$ECHO_C" >&6; }
10289 # Check whether --enable-dirpicker was given.
10290 if test "${enable_dirpicker+set}" = set; then
10291 enableval=$enable_dirpicker;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10295 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10300 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10305 eval "$wx_cv_use_dirpicker"
10307 if test x
"$enablestring" = xdisable
; then
10308 if test $wxUSE_DIRPICKERCTRL = yes; then
10314 result
=$wxUSE_DIRPICKERCTRL
10317 { echo "$as_me:$LINENO: result: $result" >&5
10318 echo "${ECHO_T}$result" >&6; }
10322 defaultval
=$wxUSE_ALL_FEATURES
10323 if test -z "$defaultval"; then
10324 if test x
"$enablestring" = xdisable
; then
10331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10332 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10333 # Check whether --enable-display was given.
10334 if test "${enable_display+set}" = set; then
10335 enableval
=$enable_display;
10336 if test "$enableval" = yes; then
10337 wx_cv_use_display
='wxUSE_DISPLAY=yes'
10339 wx_cv_use_display
='wxUSE_DISPLAY=no'
10344 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10349 eval "$wx_cv_use_display"
10351 if test x"$enablestring" = xdisable; then
10352 if test $wxUSE_DISPLAY = yes; then
10358 result=$wxUSE_DISPLAY
10361 { echo "$as_me:$LINENO: result: $result" >&5
10362 echo "${ECHO_T}$result" >&6; }
10366 defaultval=$wxUSE_ALL_FEATURES
10367 if test -z "$defaultval"; then
10368 if test x"$enablestring" = xdisable; then
10375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10376 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10377 # Check whether --enable-detect_sm was given.
10378 if test "${enable_detect_sm+set}" = set; then
10379 enableval=$enable_detect_sm;
10380 if test "$enableval" = yes; then
10381 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
10383 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
10388 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10393 eval "$wx_cv_use_detect_sm"
10395 if test x"$enablestring" = xdisable; then
10396 if test $wxUSE_DETECT_SM = yes; then
10402 result=$wxUSE_DETECT_SM
10405 { echo "$as_me:$LINENO: result
: $result" >&5
10406 echo "${ECHO_T}$result" >&6; }
10410 defaultval=$wxUSE_ALL_FEATURES
10411 if test -z "$defaultval"; then
10412 if test x"$enablestring" = xdisable; then
10419 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
10420 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
10421 # Check whether --enable-editablebox was given.
10422 if test "${enable_editablebox+set}" = set; then
10423 enableval=$enable_editablebox;
10424 if test "$enableval" = yes; then
10425 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10427 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10432 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10437 eval "$wx_cv_use_editablebox"
10439 if test x
"$enablestring" = xdisable
; then
10440 if test $wxUSE_EDITABLELISTBOX = yes; then
10446 result
=$wxUSE_EDITABLELISTBOX
10449 { echo "$as_me:$LINENO: result: $result" >&5
10450 echo "${ECHO_T}$result" >&6; }
10454 defaultval
=$wxUSE_ALL_FEATURES
10455 if test -z "$defaultval"; then
10456 if test x
"$enablestring" = xdisable
; then
10463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10464 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10465 # Check whether --enable-filepicker was given.
10466 if test "${enable_filepicker+set}" = set; then
10467 enableval
=$enable_filepicker;
10468 if test "$enableval" = yes; then
10469 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
10471 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
10476 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10481 eval "$wx_cv_use_filepicker"
10483 if test x"$enablestring" = xdisable; then
10484 if test $wxUSE_FILEPICKERCTRL = yes; then
10490 result=$wxUSE_FILEPICKERCTRL
10493 { echo "$as_me:$LINENO: result: $result" >&5
10494 echo "${ECHO_T}$result" >&6; }
10498 defaultval=$wxUSE_ALL_FEATURES
10499 if test -z "$defaultval"; then
10500 if test x"$enablestring" = xdisable; then
10507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10508 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10509 # Check whether --enable-filectrl was given.
10510 if test "${enable_filectrl+set}" = set; then
10511 enableval=$enable_filectrl;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_filectrl='wxUSE_FILECTRL
=yes'
10515 wx_cv_use_filectrl='wxUSE_FILECTRL
=no
'
10520 wx_cv_use_filectrl='wxUSE_FILECTRL
=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10525 eval "$wx_cv_use_filectrl"
10527 if test x"$enablestring" = xdisable; then
10528 if test $wxUSE_FILECTRL = yes; then
10534 result=$wxUSE_FILECTRL
10537 { echo "$as_me:$LINENO: result
: $result" >&5
10538 echo "${ECHO_T}$result" >&6; }
10542 defaultval=$wxUSE_ALL_FEATURES
10543 if test -z "$defaultval"; then
10544 if test x"$enablestring" = xdisable; then
10551 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
10552 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
10553 # Check whether --enable-fontpicker was given.
10554 if test "${enable_fontpicker+set}" = set; then
10555 enableval=$enable_fontpicker;
10556 if test "$enableval" = yes; then
10557 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10559 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10564 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10569 eval "$wx_cv_use_fontpicker"
10571 if test x
"$enablestring" = xdisable
; then
10572 if test $wxUSE_FONTPICKERCTRL = yes; then
10578 result
=$wxUSE_FONTPICKERCTRL
10581 { echo "$as_me:$LINENO: result: $result" >&5
10582 echo "${ECHO_T}$result" >&6; }
10586 defaultval
=$wxUSE_ALL_FEATURES
10587 if test -z "$defaultval"; then
10588 if test x
"$enablestring" = xdisable
; then
10595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10596 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10597 # Check whether --enable-gauge was given.
10598 if test "${enable_gauge+set}" = set; then
10599 enableval
=$enable_gauge;
10600 if test "$enableval" = yes; then
10601 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
10603 wx_cv_use_gauge
='wxUSE_GAUGE=no'
10608 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10613 eval "$wx_cv_use_gauge"
10615 if test x"$enablestring" = xdisable; then
10616 if test $wxUSE_GAUGE = yes; then
10622 result=$wxUSE_GAUGE
10625 { echo "$as_me:$LINENO: result: $result" >&5
10626 echo "${ECHO_T}$result" >&6; }
10630 defaultval=$wxUSE_ALL_FEATURES
10631 if test -z "$defaultval"; then
10632 if test x"$enablestring" = xdisable; then
10639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10641 # Check whether --enable-grid was given.
10642 if test "${enable_grid+set}" = set; then
10643 enableval=$enable_grid;
10644 if test "$enableval" = yes; then
10645 wx_cv_use_grid='wxUSE_GRID
=yes'
10647 wx_cv_use_grid='wxUSE_GRID
=no
'
10652 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10657 eval "$wx_cv_use_grid"
10659 if test x"$enablestring" = xdisable; then
10660 if test $wxUSE_GRID = yes; then
10669 { echo "$as_me:$LINENO: result
: $result" >&5
10670 echo "${ECHO_T}$result" >&6; }
10674 defaultval=$wxUSE_ALL_FEATURES
10675 if test -z "$defaultval"; then
10676 if test x"$enablestring" = xdisable; then
10683 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dataviewctrl" >&5
10684 echo $ECHO_N "checking
for --${enablestring:-enable}-dataviewctrl...
$ECHO_C" >&6; }
10685 # Check whether --enable-dataviewctrl was given.
10686 if test "${enable_dataviewctrl+set}" = set; then
10687 enableval=$enable_dataviewctrl;
10688 if test "$enableval" = yes; then
10689 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10691 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10696 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10701 eval "$wx_cv_use_dataviewctrl"
10703 if test x
"$enablestring" = xdisable
; then
10704 if test $wxUSE_DATAVIEWCTRL = yes; then
10710 result
=$wxUSE_DATAVIEWCTRL
10713 { echo "$as_me:$LINENO: result: $result" >&5
10714 echo "${ECHO_T}$result" >&6; }
10718 defaultval
=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x
"$enablestring" = xdisable
; then
10727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10728 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10729 # Check whether --enable-hyperlink was given.
10730 if test "${enable_hyperlink+set}" = set; then
10731 enableval
=$enable_hyperlink;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
10735 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
10740 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10745 eval "$wx_cv_use_hyperlink"
10747 if test x"$enablestring" = xdisable; then
10748 if test $wxUSE_HYPERLINKCTRL = yes; then
10754 result=$wxUSE_HYPERLINKCTRL
10757 { echo "$as_me:$LINENO: result: $result" >&5
10758 echo "${ECHO_T}$result" >&6; }
10762 defaultval=$wxUSE_ALL_FEATURES
10763 if test -z "$defaultval"; then
10764 if test x"$enablestring" = xdisable; then
10771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10772 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10773 # Check whether --enable-imaglist was given.
10774 if test "${enable_imaglist+set}" = set; then
10775 enableval=$enable_imaglist;
10776 if test "$enableval" = yes; then
10777 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
10779 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
10784 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10789 eval "$wx_cv_use_imaglist"
10791 if test x"$enablestring" = xdisable; then
10792 if test $wxUSE_IMAGLIST = yes; then
10798 result=$wxUSE_IMAGLIST
10801 { echo "$as_me:$LINENO: result
: $result" >&5
10802 echo "${ECHO_T}$result" >&6; }
10806 defaultval=$wxUSE_ALL_FEATURES
10807 if test -z "$defaultval"; then
10808 if test x"$enablestring" = xdisable; then
10815 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listbook" >&5
10816 echo $ECHO_N "checking
for --${enablestring:-enable}-listbook...
$ECHO_C" >&6; }
10817 # Check whether --enable-listbook was given.
10818 if test "${enable_listbook+set}" = set; then
10819 enableval=$enable_listbook;
10820 if test "$enableval" = yes; then
10821 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10823 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10828 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10833 eval "$wx_cv_use_listbook"
10835 if test x
"$enablestring" = xdisable
; then
10836 if test $wxUSE_LISTBOOK = yes; then
10842 result
=$wxUSE_LISTBOOK
10845 { echo "$as_me:$LINENO: result: $result" >&5
10846 echo "${ECHO_T}$result" >&6; }
10850 defaultval
=$wxUSE_ALL_FEATURES
10851 if test -z "$defaultval"; then
10852 if test x
"$enablestring" = xdisable
; then
10859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10860 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10861 # Check whether --enable-listbox was given.
10862 if test "${enable_listbox+set}" = set; then
10863 enableval
=$enable_listbox;
10864 if test "$enableval" = yes; then
10865 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
10867 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
10872 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10877 eval "$wx_cv_use_listbox"
10879 if test x"$enablestring" = xdisable; then
10880 if test $wxUSE_LISTBOX = yes; then
10886 result=$wxUSE_LISTBOX
10889 { echo "$as_me:$LINENO: result: $result" >&5
10890 echo "${ECHO_T}$result" >&6; }
10894 defaultval=$wxUSE_ALL_FEATURES
10895 if test -z "$defaultval"; then
10896 if test x"$enablestring" = xdisable; then
10903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10904 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10905 # Check whether --enable-listctrl was given.
10906 if test "${enable_listctrl+set}" = set; then
10907 enableval=$enable_listctrl;
10908 if test "$enableval" = yes; then
10909 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
10911 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
10916 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10921 eval "$wx_cv_use_listctrl"
10923 if test x"$enablestring" = xdisable; then
10924 if test $wxUSE_LISTCTRL = yes; then
10930 result=$wxUSE_LISTCTRL
10933 { echo "$as_me:$LINENO: result
: $result" >&5
10934 echo "${ECHO_T}$result" >&6; }
10938 defaultval=$wxUSE_ALL_FEATURES
10939 if test -z "$defaultval"; then
10940 if test x"$enablestring" = xdisable; then
10947 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-notebook" >&5
10948 echo $ECHO_N "checking
for --${enablestring:-enable}-notebook...
$ECHO_C" >&6; }
10949 # Check whether --enable-notebook was given.
10950 if test "${enable_notebook+set}" = set; then
10951 enableval=$enable_notebook;
10952 if test "$enableval" = yes; then
10953 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10955 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10960 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10965 eval "$wx_cv_use_notebook"
10967 if test x
"$enablestring" = xdisable
; then
10968 if test $wxUSE_NOTEBOOK = yes; then
10974 result
=$wxUSE_NOTEBOOK
10977 { echo "$as_me:$LINENO: result: $result" >&5
10978 echo "${ECHO_T}$result" >&6; }
10982 defaultval
=$wxUSE_ALL_FEATURES
10983 if test -z "$defaultval"; then
10984 if test x
"$enablestring" = xdisable
; then
10991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10992 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10993 # Check whether --enable-notifmsg was given.
10994 if test "${enable_notifmsg+set}" = set; then
10995 enableval
=$enable_notifmsg;
10996 if test "$enableval" = yes; then
10997 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
10999 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
11004 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11009 eval "$wx_cv_use_notifmsg"
11011 if test x"$enablestring" = xdisable; then
11012 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11018 result=$wxUSE_NOTIFICATION_MESSAGE
11021 { echo "$as_me:$LINENO: result: $result" >&5
11022 echo "${ECHO_T}$result" >&6; }
11026 defaultval=$wxUSE_ALL_FEATURES
11027 if test -z "$defaultval"; then
11028 if test x"$enablestring" = xdisable; then
11035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11036 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11037 # Check whether --enable-odcombobox was given.
11038 if test "${enable_odcombobox+set}" = set; then
11039 enableval=$enable_odcombobox;
11040 if test "$enableval" = yes; then
11041 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
11043 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
11048 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11053 eval "$wx_cv_use_odcombobox"
11055 if test x"$enablestring" = xdisable; then
11056 if test $wxUSE_ODCOMBOBOX = yes; then
11062 result=$wxUSE_ODCOMBOBOX
11065 { echo "$as_me:$LINENO: result
: $result" >&5
11066 echo "${ECHO_T}$result" >&6; }
11070 defaultval=$wxUSE_ALL_FEATURES
11071 if test -z "$defaultval"; then
11072 if test x"$enablestring" = xdisable; then
11079 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobox" >&5
11080 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobox...
$ECHO_C" >&6; }
11081 # Check whether --enable-radiobox was given.
11082 if test "${enable_radiobox+set}" = set; then
11083 enableval=$enable_radiobox;
11084 if test "$enableval" = yes; then
11085 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11087 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11092 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11097 eval "$wx_cv_use_radiobox"
11099 if test x
"$enablestring" = xdisable
; then
11100 if test $wxUSE_RADIOBOX = yes; then
11106 result
=$wxUSE_RADIOBOX
11109 { echo "$as_me:$LINENO: result: $result" >&5
11110 echo "${ECHO_T}$result" >&6; }
11114 defaultval
=$wxUSE_ALL_FEATURES
11115 if test -z "$defaultval"; then
11116 if test x
"$enablestring" = xdisable
; then
11123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11124 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11125 # Check whether --enable-radiobtn was given.
11126 if test "${enable_radiobtn+set}" = set; then
11127 enableval
=$enable_radiobtn;
11128 if test "$enableval" = yes; then
11129 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
11131 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
11136 wx_cv_use_radiobtn
='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11141 eval "$wx_cv_use_radiobtn"
11143 if test x"$enablestring" = xdisable; then
11144 if test $wxUSE_RADIOBTN = yes; then
11150 result=$wxUSE_RADIOBTN
11153 { echo "$as_me:$LINENO: result: $result" >&5
11154 echo "${ECHO_T}$result" >&6; }
11158 defaultval=$wxUSE_ALL_FEATURES
11159 if test -z "$defaultval"; then
11160 if test x"$enablestring" = xdisable; then
11167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11168 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11169 # Check whether --enable-sash was given.
11170 if test "${enable_sash+set}" = set; then
11171 enableval=$enable_sash;
11172 if test "$enableval" = yes; then
11173 wx_cv_use_sash='wxUSE_SASH
=yes'
11175 wx_cv_use_sash='wxUSE_SASH
=no
'
11180 wx_cv_use_sash='wxUSE_SASH
=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11185 eval "$wx_cv_use_sash"
11187 if test x"$enablestring" = xdisable; then
11188 if test $wxUSE_SASH = yes; then
11197 { echo "$as_me:$LINENO: result
: $result" >&5
11198 echo "${ECHO_T}$result" >&6; }
11202 defaultval=$wxUSE_ALL_FEATURES
11203 if test -z "$defaultval"; then
11204 if test x"$enablestring" = xdisable; then
11211 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-scrollbar" >&5
11212 echo $ECHO_N "checking
for --${enablestring:-enable}-scrollbar...
$ECHO_C" >&6; }
11213 # Check whether --enable-scrollbar was given.
11214 if test "${enable_scrollbar+set}" = set; then
11215 enableval=$enable_scrollbar;
11216 if test "$enableval" = yes; then
11217 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11219 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11224 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11229 eval "$wx_cv_use_scrollbar"
11231 if test x
"$enablestring" = xdisable
; then
11232 if test $wxUSE_SCROLLBAR = yes; then
11238 result
=$wxUSE_SCROLLBAR
11241 { echo "$as_me:$LINENO: result: $result" >&5
11242 echo "${ECHO_T}$result" >&6; }
11246 defaultval
=$wxUSE_ALL_FEATURES
11247 if test -z "$defaultval"; then
11248 if test x
"$enablestring" = xdisable
; then
11255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11256 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11257 # Check whether --enable-searchctrl was given.
11258 if test "${enable_searchctrl+set}" = set; then
11259 enableval
=$enable_searchctrl;
11260 if test "$enableval" = yes; then
11261 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=yes'
11263 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=no'
11268 wx_cv_use_searchctrl
='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11273 eval "$wx_cv_use_searchctrl"
11275 if test x"$enablestring" = xdisable; then
11276 if test $wxUSE_SEARCHCTRL = yes; then
11282 result=$wxUSE_SEARCHCTRL
11285 { echo "$as_me:$LINENO: result: $result" >&5
11286 echo "${ECHO_T}$result" >&6; }
11290 defaultval=$wxUSE_ALL_FEATURES
11291 if test -z "$defaultval"; then
11292 if test x"$enablestring" = xdisable; then
11299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11300 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11301 # Check whether --enable-slider was given.
11302 if test "${enable_slider+set}" = set; then
11303 enableval=$enable_slider;
11304 if test "$enableval" = yes; then
11305 wx_cv_use_slider='wxUSE_SLIDER
=yes'
11307 wx_cv_use_slider='wxUSE_SLIDER
=no
'
11312 wx_cv_use_slider='wxUSE_SLIDER
=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11317 eval "$wx_cv_use_slider"
11319 if test x"$enablestring" = xdisable; then
11320 if test $wxUSE_SLIDER = yes; then
11326 result=$wxUSE_SLIDER
11329 { echo "$as_me:$LINENO: result
: $result" >&5
11330 echo "${ECHO_T}$result" >&6; }
11334 defaultval=$wxUSE_ALL_FEATURES
11335 if test -z "$defaultval"; then
11336 if test x"$enablestring" = xdisable; then
11343 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinbtn" >&5
11344 echo $ECHO_N "checking
for --${enablestring:-enable}-spinbtn...
$ECHO_C" >&6; }
11345 # Check whether --enable-spinbtn was given.
11346 if test "${enable_spinbtn+set}" = set; then
11347 enableval=$enable_spinbtn;
11348 if test "$enableval" = yes; then
11349 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11351 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11356 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11361 eval "$wx_cv_use_spinbtn"
11363 if test x
"$enablestring" = xdisable
; then
11364 if test $wxUSE_SPINBTN = yes; then
11370 result
=$wxUSE_SPINBTN
11373 { echo "$as_me:$LINENO: result: $result" >&5
11374 echo "${ECHO_T}$result" >&6; }
11378 defaultval
=$wxUSE_ALL_FEATURES
11379 if test -z "$defaultval"; then
11380 if test x
"$enablestring" = xdisable
; then
11387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11388 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11389 # Check whether --enable-spinctrl was given.
11390 if test "${enable_spinctrl+set}" = set; then
11391 enableval
=$enable_spinctrl;
11392 if test "$enableval" = yes; then
11393 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
11395 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
11400 wx_cv_use_spinctrl
='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11405 eval "$wx_cv_use_spinctrl"
11407 if test x"$enablestring" = xdisable; then
11408 if test $wxUSE_SPINCTRL = yes; then
11414 result=$wxUSE_SPINCTRL
11417 { echo "$as_me:$LINENO: result: $result" >&5
11418 echo "${ECHO_T}$result" >&6; }
11422 defaultval=$wxUSE_ALL_FEATURES
11423 if test -z "$defaultval"; then
11424 if test x"$enablestring" = xdisable; then
11431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11432 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11433 # Check whether --enable-splitter was given.
11434 if test "${enable_splitter+set}" = set; then
11435 enableval=$enable_splitter;
11436 if test "$enableval" = yes; then
11437 wx_cv_use_splitter='wxUSE_SPLITTER
=yes'
11439 wx_cv_use_splitter='wxUSE_SPLITTER
=no
'
11444 wx_cv_use_splitter='wxUSE_SPLITTER
=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11449 eval "$wx_cv_use_splitter"
11451 if test x"$enablestring" = xdisable; then
11452 if test $wxUSE_SPLITTER = yes; then
11458 result=$wxUSE_SPLITTER
11461 { echo "$as_me:$LINENO: result
: $result" >&5
11462 echo "${ECHO_T}$result" >&6; }
11466 defaultval=$wxUSE_ALL_FEATURES
11467 if test -z "$defaultval"; then
11468 if test x"$enablestring" = xdisable; then
11475 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbmp" >&5
11476 echo $ECHO_N "checking
for --${enablestring:-enable}-statbmp...
$ECHO_C" >&6; }
11477 # Check whether --enable-statbmp was given.
11478 if test "${enable_statbmp+set}" = set; then
11479 enableval=$enable_statbmp;
11480 if test "$enableval" = yes; then
11481 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11483 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11488 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11493 eval "$wx_cv_use_statbmp"
11495 if test x
"$enablestring" = xdisable
; then
11496 if test $wxUSE_STATBMP = yes; then
11502 result
=$wxUSE_STATBMP
11505 { echo "$as_me:$LINENO: result: $result" >&5
11506 echo "${ECHO_T}$result" >&6; }
11510 defaultval
=$wxUSE_ALL_FEATURES
11511 if test -z "$defaultval"; then
11512 if test x
"$enablestring" = xdisable
; then
11519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11520 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11521 # Check whether --enable-statbox was given.
11522 if test "${enable_statbox+set}" = set; then
11523 enableval
=$enable_statbox;
11524 if test "$enableval" = yes; then
11525 wx_cv_use_statbox
='wxUSE_STATBOX=yes'
11527 wx_cv_use_statbox
='wxUSE_STATBOX=no'
11532 wx_cv_use_statbox
='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11537 eval "$wx_cv_use_statbox"
11539 if test x"$enablestring" = xdisable; then
11540 if test $wxUSE_STATBOX = yes; then
11546 result=$wxUSE_STATBOX
11549 { echo "$as_me:$LINENO: result: $result" >&5
11550 echo "${ECHO_T}$result" >&6; }
11554 defaultval=$wxUSE_ALL_FEATURES
11555 if test -z "$defaultval"; then
11556 if test x"$enablestring" = xdisable; then
11563 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11564 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11565 # Check whether --enable-statline was given.
11566 if test "${enable_statline+set}" = set; then
11567 enableval=$enable_statline;
11568 if test "$enableval" = yes; then
11569 wx_cv_use_statline='wxUSE_STATLINE
=yes'
11571 wx_cv_use_statline='wxUSE_STATLINE
=no
'
11576 wx_cv_use_statline='wxUSE_STATLINE
=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11581 eval "$wx_cv_use_statline"
11583 if test x"$enablestring" = xdisable; then
11584 if test $wxUSE_STATLINE = yes; then
11590 result=$wxUSE_STATLINE
11593 { echo "$as_me:$LINENO: result
: $result" >&5
11594 echo "${ECHO_T}$result" >&6; }
11598 defaultval=$wxUSE_ALL_FEATURES
11599 if test -z "$defaultval"; then
11600 if test x"$enablestring" = xdisable; then
11607 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-stattext" >&5
11608 echo $ECHO_N "checking
for --${enablestring:-enable}-stattext...
$ECHO_C" >&6; }
11609 # Check whether --enable-stattext was given.
11610 if test "${enable_stattext+set}" = set; then
11611 enableval=$enable_stattext;
11612 if test "$enableval" = yes; then
11613 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11615 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11620 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11625 eval "$wx_cv_use_stattext"
11627 if test x
"$enablestring" = xdisable
; then
11628 if test $wxUSE_STATTEXT = yes; then
11634 result
=$wxUSE_STATTEXT
11637 { echo "$as_me:$LINENO: result: $result" >&5
11638 echo "${ECHO_T}$result" >&6; }
11642 defaultval
=$wxUSE_ALL_FEATURES
11643 if test -z "$defaultval"; then
11644 if test x
"$enablestring" = xdisable
; then
11651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11652 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11653 # Check whether --enable-statusbar was given.
11654 if test "${enable_statusbar+set}" = set; then
11655 enableval
=$enable_statusbar;
11656 if test "$enableval" = yes; then
11657 wx_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
11659 wx_cv_use_statusbar
='wxUSE_STATUSBAR=no'
11664 wx_cv_use_statusbar
='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11669 eval "$wx_cv_use_statusbar"
11671 if test x"$enablestring" = xdisable; then
11672 if test $wxUSE_STATUSBAR = yes; then
11678 result=$wxUSE_STATUSBAR
11681 { echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6; }
11686 defaultval=$wxUSE_ALL_FEATURES
11687 if test -z "$defaultval"; then
11688 if test x"$enablestring" = xdisable; then
11695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11697 # Check whether --enable-taskbaricon was given.
11698 if test "${enable_taskbaricon+set}" = set; then
11699 enableval=$enable_taskbaricon;
11700 if test "$enableval" = yes; then
11701 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=yes'
11703 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=no
'
11708 wx_cv_use_taskbaricon='wxUSE_TASKBARICON
=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11713 eval "$wx_cv_use_taskbaricon"
11715 if test x"$enablestring" = xdisable; then
11716 if test $wxUSE_TASKBARICON = yes; then
11722 result=$wxUSE_TASKBARICON
11725 { echo "$as_me:$LINENO: result
: $result" >&5
11726 echo "${ECHO_T}$result" >&6; }
11730 defaultval=$wxUSE_ALL_FEATURES
11731 if test -z "$defaultval"; then
11732 if test x"$enablestring" = xdisable; then
11739 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
11740 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
11741 # Check whether --enable-textctrl was given.
11742 if test "${enable_textctrl+set}" = set; then
11743 enableval=$enable_textctrl;
11744 if test "$enableval" = yes; then
11745 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11747 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11752 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11757 eval "$wx_cv_use_textctrl"
11759 if test x
"$enablestring" = xdisable
; then
11760 if test $wxUSE_TEXTCTRL = yes; then
11766 result
=$wxUSE_TEXTCTRL
11769 { echo "$as_me:$LINENO: result: $result" >&5
11770 echo "${ECHO_T}$result" >&6; }
11774 defaultval
=$wxUSE_ALL_FEATURES
11775 if test -z "$defaultval"; then
11776 if test x
"$enablestring" = xdisable
; then
11783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11784 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11785 # Check whether --enable-togglebtn was given.
11786 if test "${enable_togglebtn+set}" = set; then
11787 enableval
=$enable_togglebtn;
11788 if test "$enableval" = yes; then
11789 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
11791 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
11796 wx_cv_use_togglebtn
='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11801 eval "$wx_cv_use_togglebtn"
11803 if test x"$enablestring" = xdisable; then
11804 if test $wxUSE_TOGGLEBTN = yes; then
11810 result=$wxUSE_TOGGLEBTN
11813 { echo "$as_me:$LINENO: result: $result" >&5
11814 echo "${ECHO_T}$result" >&6; }
11818 defaultval=$wxUSE_ALL_FEATURES
11819 if test -z "$defaultval"; then
11820 if test x"$enablestring" = xdisable; then
11827 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11828 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11829 # Check whether --enable-toolbar was given.
11830 if test "${enable_toolbar+set}" = set; then
11831 enableval=$enable_toolbar;
11832 if test "$enableval" = yes; then
11833 wx_cv_use_toolbar='wxUSE_TOOLBAR
=yes'
11835 wx_cv_use_toolbar='wxUSE_TOOLBAR
=no
'
11840 wx_cv_use_toolbar='wxUSE_TOOLBAR
=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11845 eval "$wx_cv_use_toolbar"
11847 if test x"$enablestring" = xdisable; then
11848 if test $wxUSE_TOOLBAR = yes; then
11854 result=$wxUSE_TOOLBAR
11857 { echo "$as_me:$LINENO: result
: $result" >&5
11858 echo "${ECHO_T}$result" >&6; }
11862 defaultval=$wxUSE_ALL_FEATURES
11863 if test -z "$defaultval"; then
11864 if test x"$enablestring" = xdisable; then
11871 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tbarnative" >&5
11872 echo $ECHO_N "checking
for --${enablestring:-enable}-tbarnative...
$ECHO_C" >&6; }
11873 # Check whether --enable-tbarnative was given.
11874 if test "${enable_tbarnative+set}" = set; then
11875 enableval=$enable_tbarnative;
11876 if test "$enableval" = yes; then
11877 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11879 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11884 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11889 eval "$wx_cv_use_tbarnative"
11891 if test x
"$enablestring" = xdisable
; then
11892 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11898 result
=$wxUSE_TOOLBAR_NATIVE
11901 { echo "$as_me:$LINENO: result: $result" >&5
11902 echo "${ECHO_T}$result" >&6; }
11906 defaultval
=$wxUSE_ALL_FEATURES
11907 if test -z "$defaultval"; then
11908 if test x
"$enablestring" = xdisable
; then
11915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11916 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11917 # Check whether --enable-treebook was given.
11918 if test "${enable_treebook+set}" = set; then
11919 enableval
=$enable_treebook;
11920 if test "$enableval" = yes; then
11921 wx_cv_use_treebook
='wxUSE_TREEBOOK=yes'
11923 wx_cv_use_treebook
='wxUSE_TREEBOOK=no'
11928 wx_cv_use_treebook
='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11933 eval "$wx_cv_use_treebook"
11935 if test x"$enablestring" = xdisable; then
11936 if test $wxUSE_TREEBOOK = yes; then
11942 result=$wxUSE_TREEBOOK
11945 { echo "$as_me:$LINENO: result: $result" >&5
11946 echo "${ECHO_T}$result" >&6; }
11950 defaultval=$wxUSE_ALL_FEATURES
11951 if test -z "$defaultval"; then
11952 if test x"$enablestring" = xdisable; then
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11961 # Check whether --enable-toolbook was given.
11962 if test "${enable_toolbook+set}" = set; then
11963 enableval=$enable_toolbook;
11964 if test "$enableval" = yes; then
11965 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
11967 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
11972 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11977 eval "$wx_cv_use_toolbook"
11979 if test x"$enablestring" = xdisable; then
11980 if test $wxUSE_TOOLBOOK = yes; then
11986 result=$wxUSE_TOOLBOOK
11989 { echo "$as_me:$LINENO: result
: $result" >&5
11990 echo "${ECHO_T}$result" >&6; }
11994 defaultval=$wxUSE_ALL_FEATURES
11995 if test -z "$defaultval"; then
11996 if test x"$enablestring" = xdisable; then
12003 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treectrl" >&5
12004 echo $ECHO_N "checking
for --${enablestring:-enable}-treectrl...
$ECHO_C" >&6; }
12005 # Check whether --enable-treectrl was given.
12006 if test "${enable_treectrl+set}" = set; then
12007 enableval=$enable_treectrl;
12008 if test "$enableval" = yes; then
12009 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12011 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12016 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12021 eval "$wx_cv_use_treectrl"
12023 if test x
"$enablestring" = xdisable
; then
12024 if test $wxUSE_TREECTRL = yes; then
12030 result
=$wxUSE_TREECTRL
12033 { echo "$as_me:$LINENO: result: $result" >&5
12034 echo "${ECHO_T}$result" >&6; }
12038 defaultval
=$wxUSE_ALL_FEATURES
12039 if test -z "$defaultval"; then
12040 if test x
"$enablestring" = xdisable
; then
12047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12048 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12049 # Check whether --enable-tipwindow was given.
12050 if test "${enable_tipwindow+set}" = set; then
12051 enableval
=$enable_tipwindow;
12052 if test "$enableval" = yes; then
12053 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
12055 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
12060 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12065 eval "$wx_cv_use_tipwindow"
12067 if test x"$enablestring" = xdisable; then
12068 if test $wxUSE_TIPWINDOW = yes; then
12074 result=$wxUSE_TIPWINDOW
12077 { echo "$as_me:$LINENO: result: $result" >&5
12078 echo "${ECHO_T}$result" >&6; }
12082 defaultval=$wxUSE_ALL_FEATURES
12083 if test -z "$defaultval"; then
12084 if test x"$enablestring" = xdisable; then
12091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12092 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12093 # Check whether --enable-popupwin was given.
12094 if test "${enable_popupwin+set}" = set; then
12095 enableval=$enable_popupwin;
12096 if test "$enableval" = yes; then
12097 wx_cv_use_popupwin='wxUSE_POPUPWIN
=yes'
12099 wx_cv_use_popupwin='wxUSE_POPUPWIN
=no
'
12104 wx_cv_use_popupwin='wxUSE_POPUPWIN
=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12109 eval "$wx_cv_use_popupwin"
12111 if test x"$enablestring" = xdisable; then
12112 if test $wxUSE_POPUPWIN = yes; then
12118 result=$wxUSE_POPUPWIN
12121 { echo "$as_me:$LINENO: result
: $result" >&5
12122 echo "${ECHO_T}$result" >&6; }
12128 defaultval=$wxUSE_ALL_FEATURES
12129 if test -z "$defaultval"; then
12130 if test x"$enablestring" = xdisable; then
12137 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
12138 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
12139 # Check whether --enable-commondlg was given.
12140 if test "${enable_commondlg+set}" = set; then
12141 enableval=$enable_commondlg;
12142 if test "$enableval" = yes; then
12143 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12145 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12150 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12155 eval "$wx_cv_use_commondlg"
12157 if test x
"$enablestring" = xdisable
; then
12158 if test $wxUSE_COMMONDLGS = yes; then
12164 result
=$wxUSE_COMMONDLGS
12167 { echo "$as_me:$LINENO: result: $result" >&5
12168 echo "${ECHO_T}$result" >&6; }
12172 defaultval
=$wxUSE_ALL_FEATURES
12173 if test -z "$defaultval"; then
12174 if test x
"$enablestring" = xdisable
; then
12181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12182 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12183 # Check whether --enable-aboutdlg was given.
12184 if test "${enable_aboutdlg+set}" = set; then
12185 enableval
=$enable_aboutdlg;
12186 if test "$enableval" = yes; then
12187 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
12189 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
12194 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12199 eval "$wx_cv_use_aboutdlg"
12201 if test x"$enablestring" = xdisable; then
12202 if test $wxUSE_ABOUTDLG = yes; then
12208 result=$wxUSE_ABOUTDLG
12211 { echo "$as_me:$LINENO: result: $result" >&5
12212 echo "${ECHO_T}$result" >&6; }
12216 defaultval=$wxUSE_ALL_FEATURES
12217 if test -z "$defaultval"; then
12218 if test x"$enablestring" = xdisable; then
12225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12226 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12227 # Check whether --enable-choicedlg was given.
12228 if test "${enable_choicedlg+set}" = set; then
12229 enableval=$enable_choicedlg;
12230 if test "$enableval" = yes; then
12231 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
12233 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
12238 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12243 eval "$wx_cv_use_choicedlg"
12245 if test x"$enablestring" = xdisable; then
12246 if test $wxUSE_CHOICEDLG = yes; then
12252 result=$wxUSE_CHOICEDLG
12255 { echo "$as_me:$LINENO: result
: $result" >&5
12256 echo "${ECHO_T}$result" >&6; }
12260 defaultval=$wxUSE_ALL_FEATURES
12261 if test -z "$defaultval"; then
12262 if test x"$enablestring" = xdisable; then
12269 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
12270 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
12271 # Check whether --enable-coldlg was given.
12272 if test "${enable_coldlg+set}" = set; then
12273 enableval=$enable_coldlg;
12274 if test "$enableval" = yes; then
12275 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12277 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12282 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12287 eval "$wx_cv_use_coldlg"
12289 if test x
"$enablestring" = xdisable
; then
12290 if test $wxUSE_COLOURDLG = yes; then
12296 result
=$wxUSE_COLOURDLG
12299 { echo "$as_me:$LINENO: result: $result" >&5
12300 echo "${ECHO_T}$result" >&6; }
12304 defaultval
=$wxUSE_ALL_FEATURES
12305 if test -z "$defaultval"; then
12306 if test x
"$enablestring" = xdisable
; then
12313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12314 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12315 # Check whether --enable-filedlg was given.
12316 if test "${enable_filedlg+set}" = set; then
12317 enableval
=$enable_filedlg;
12318 if test "$enableval" = yes; then
12319 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
12321 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
12326 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12331 eval "$wx_cv_use_filedlg"
12333 if test x"$enablestring" = xdisable; then
12334 if test $wxUSE_FILEDLG = yes; then
12340 result=$wxUSE_FILEDLG
12343 { echo "$as_me:$LINENO: result: $result" >&5
12344 echo "${ECHO_T}$result" >&6; }
12348 defaultval=$wxUSE_ALL_FEATURES
12349 if test -z "$defaultval"; then
12350 if test x"$enablestring" = xdisable; then
12357 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12358 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12359 # Check whether --enable-finddlg was given.
12360 if test "${enable_finddlg+set}" = set; then
12361 enableval=$enable_finddlg;
12362 if test "$enableval" = yes; then
12363 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
12365 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
12370 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12375 eval "$wx_cv_use_finddlg"
12377 if test x"$enablestring" = xdisable; then
12378 if test $wxUSE_FINDREPLDLG = yes; then
12384 result=$wxUSE_FINDREPLDLG
12387 { echo "$as_me:$LINENO: result
: $result" >&5
12388 echo "${ECHO_T}$result" >&6; }
12392 defaultval=$wxUSE_ALL_FEATURES
12393 if test -z "$defaultval"; then
12394 if test x"$enablestring" = xdisable; then
12401 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
12402 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
12403 # Check whether --enable-fontdlg was given.
12404 if test "${enable_fontdlg+set}" = set; then
12405 enableval=$enable_fontdlg;
12406 if test "$enableval" = yes; then
12407 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12409 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12414 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12419 eval "$wx_cv_use_fontdlg"
12421 if test x
"$enablestring" = xdisable
; then
12422 if test $wxUSE_FONTDLG = yes; then
12428 result
=$wxUSE_FONTDLG
12431 { echo "$as_me:$LINENO: result: $result" >&5
12432 echo "${ECHO_T}$result" >&6; }
12436 defaultval
=$wxUSE_ALL_FEATURES
12437 if test -z "$defaultval"; then
12438 if test x
"$enablestring" = xdisable
; then
12445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12446 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12447 # Check whether --enable-dirdlg was given.
12448 if test "${enable_dirdlg+set}" = set; then
12449 enableval
=$enable_dirdlg;
12450 if test "$enableval" = yes; then
12451 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
12453 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
12458 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12463 eval "$wx_cv_use_dirdlg"
12465 if test x"$enablestring" = xdisable; then
12466 if test $wxUSE_DIRDLG = yes; then
12472 result=$wxUSE_DIRDLG
12475 { echo "$as_me:$LINENO: result: $result" >&5
12476 echo "${ECHO_T}$result" >&6; }
12480 defaultval=$wxUSE_ALL_FEATURES
12481 if test -z "$defaultval"; then
12482 if test x"$enablestring" = xdisable; then
12489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12490 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12491 # Check whether --enable-msgdlg was given.
12492 if test "${enable_msgdlg+set}" = set; then
12493 enableval=$enable_msgdlg;
12494 if test "$enableval" = yes; then
12495 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
12497 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
12502 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12507 eval "$wx_cv_use_msgdlg"
12509 if test x"$enablestring" = xdisable; then
12510 if test $wxUSE_MSGDLG = yes; then
12516 result=$wxUSE_MSGDLG
12519 { echo "$as_me:$LINENO: result
: $result" >&5
12520 echo "${ECHO_T}$result" >&6; }
12524 defaultval=$wxUSE_ALL_FEATURES
12525 if test -z "$defaultval"; then
12526 if test x"$enablestring" = xdisable; then
12533 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
12534 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
12535 # Check whether --enable-numberdlg was given.
12536 if test "${enable_numberdlg+set}" = set; then
12537 enableval=$enable_numberdlg;
12538 if test "$enableval" = yes; then
12539 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12541 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12546 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12551 eval "$wx_cv_use_numberdlg"
12553 if test x
"$enablestring" = xdisable
; then
12554 if test $wxUSE_NUMBERDLG = yes; then
12560 result
=$wxUSE_NUMBERDLG
12563 { echo "$as_me:$LINENO: result: $result" >&5
12564 echo "${ECHO_T}$result" >&6; }
12568 defaultval
=$wxUSE_ALL_FEATURES
12569 if test -z "$defaultval"; then
12570 if test x
"$enablestring" = xdisable
; then
12577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12578 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12579 # Check whether --enable-splash was given.
12580 if test "${enable_splash+set}" = set; then
12581 enableval
=$enable_splash;
12582 if test "$enableval" = yes; then
12583 wx_cv_use_splash
='wxUSE_SPLASH=yes'
12585 wx_cv_use_splash
='wxUSE_SPLASH=no'
12590 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12595 eval "$wx_cv_use_splash"
12597 if test x"$enablestring" = xdisable; then
12598 if test $wxUSE_SPLASH = yes; then
12604 result=$wxUSE_SPLASH
12607 { echo "$as_me:$LINENO: result: $result" >&5
12608 echo "${ECHO_T}$result" >&6; }
12612 defaultval=$wxUSE_ALL_FEATURES
12613 if test -z "$defaultval"; then
12614 if test x"$enablestring" = xdisable; then
12621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12622 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12623 # Check whether --enable-textdlg was given.
12624 if test "${enable_textdlg+set}" = set; then
12625 enableval=$enable_textdlg;
12626 if test "$enableval" = yes; then
12627 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
12629 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
12634 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12639 eval "$wx_cv_use_textdlg"
12641 if test x"$enablestring" = xdisable; then
12642 if test $wxUSE_TEXTDLG = yes; then
12648 result=$wxUSE_TEXTDLG
12651 { echo "$as_me:$LINENO: result
: $result" >&5
12652 echo "${ECHO_T}$result" >&6; }
12656 defaultval=$wxUSE_ALL_FEATURES
12657 if test -z "$defaultval"; then
12658 if test x"$enablestring" = xdisable; then
12665 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
12666 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
12667 # Check whether --enable-tipdlg was given.
12668 if test "${enable_tipdlg+set}" = set; then
12669 enableval=$enable_tipdlg;
12670 if test "$enableval" = yes; then
12671 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12673 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12678 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12683 eval "$wx_cv_use_tipdlg"
12685 if test x
"$enablestring" = xdisable
; then
12686 if test $wxUSE_STARTUP_TIPS = yes; then
12692 result
=$wxUSE_STARTUP_TIPS
12695 { echo "$as_me:$LINENO: result: $result" >&5
12696 echo "${ECHO_T}$result" >&6; }
12700 defaultval
=$wxUSE_ALL_FEATURES
12701 if test -z "$defaultval"; then
12702 if test x
"$enablestring" = xdisable
; then
12709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12710 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12711 # Check whether --enable-progressdlg was given.
12712 if test "${enable_progressdlg+set}" = set; then
12713 enableval
=$enable_progressdlg;
12714 if test "$enableval" = yes; then
12715 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
12717 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
12722 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12727 eval "$wx_cv_use_progressdlg"
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_PROGRESSDLG = yes; then
12736 result=$wxUSE_PROGRESSDLG
12739 { echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6; }
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12755 # Check whether --enable-wizarddlg was given.
12756 if test "${enable_wizarddlg+set}" = set; then
12757 enableval=$enable_wizarddlg;
12758 if test "$enableval" = yes; then
12759 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
12761 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
12766 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12771 eval "$wx_cv_use_wizarddlg"
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_WIZARDDLG = yes; then
12780 result=$wxUSE_WIZARDDLG
12783 { echo "$as_me:$LINENO: result
: $result" >&5
12784 echo "${ECHO_T}$result" >&6; }
12790 defaultval=$wxUSE_ALL_FEATURES
12791 if test -z "$defaultval"; then
12792 if test x"$enablestring" = xdisable; then
12799 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
12800 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
12801 # Check whether --enable-menus was given.
12802 if test "${enable_menus+set}" = set; then
12803 enableval=$enable_menus;
12804 if test "$enableval" = yes; then
12805 wx_cv_use_menus='wxUSE_MENUS=yes'
12807 wx_cv_use_menus='wxUSE_MENUS=no'
12812 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12817 eval "$wx_cv_use_menus"
12819 if test x
"$enablestring" = xdisable
; then
12820 if test $wxUSE_MENUS = yes; then
12826 result
=$wxUSE_MENUS
12829 { echo "$as_me:$LINENO: result: $result" >&5
12830 echo "${ECHO_T}$result" >&6; }
12834 defaultval
=$wxUSE_ALL_FEATURES
12835 if test -z "$defaultval"; then
12836 if test x
"$enablestring" = xdisable
; then
12843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12844 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12845 # Check whether --enable-miniframe was given.
12846 if test "${enable_miniframe+set}" = set; then
12847 enableval
=$enable_miniframe;
12848 if test "$enableval" = yes; then
12849 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
12851 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
12856 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12861 eval "$wx_cv_use_miniframe"
12863 if test x"$enablestring" = xdisable; then
12864 if test $wxUSE_MINIFRAME = yes; then
12870 result=$wxUSE_MINIFRAME
12873 { echo "$as_me:$LINENO: result: $result" >&5
12874 echo "${ECHO_T}$result" >&6; }
12878 defaultval=$wxUSE_ALL_FEATURES
12879 if test -z "$defaultval"; then
12880 if test x"$enablestring" = xdisable; then
12887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12888 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12889 # Check whether --enable-tooltips was given.
12890 if test "${enable_tooltips+set}" = set; then
12891 enableval=$enable_tooltips;
12892 if test "$enableval" = yes; then
12893 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
12895 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
12900 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12905 eval "$wx_cv_use_tooltips"
12907 if test x"$enablestring" = xdisable; then
12908 if test $wxUSE_TOOLTIPS = yes; then
12914 result=$wxUSE_TOOLTIPS
12917 { echo "$as_me:$LINENO: result
: $result" >&5
12918 echo "${ECHO_T}$result" >&6; }
12922 defaultval=$wxUSE_ALL_FEATURES
12923 if test -z "$defaultval"; then
12924 if test x"$enablestring" = xdisable; then
12931 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
12932 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
12933 # Check whether --enable-splines was given.
12934 if test "${enable_splines+set}" = set; then
12935 enableval=$enable_splines;
12936 if test "$enableval" = yes; then
12937 wx_cv_use_splines='wxUSE_SPLINES=yes'
12939 wx_cv_use_splines='wxUSE_SPLINES=no'
12944 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12949 eval "$wx_cv_use_splines"
12951 if test x
"$enablestring" = xdisable
; then
12952 if test $wxUSE_SPLINES = yes; then
12958 result
=$wxUSE_SPLINES
12961 { echo "$as_me:$LINENO: result: $result" >&5
12962 echo "${ECHO_T}$result" >&6; }
12966 defaultval
=$wxUSE_ALL_FEATURES
12967 if test -z "$defaultval"; then
12968 if test x
"$enablestring" = xdisable
; then
12975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12976 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12977 # Check whether --enable-mousewheel was given.
12978 if test "${enable_mousewheel+set}" = set; then
12979 enableval
=$enable_mousewheel;
12980 if test "$enableval" = yes; then
12981 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
12983 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
12988 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12993 eval "$wx_cv_use_mousewheel"
12995 if test x"$enablestring" = xdisable; then
12996 if test $wxUSE_MOUSEWHEEL = yes; then
13002 result=$wxUSE_MOUSEWHEEL
13005 { echo "$as_me:$LINENO: result: $result" >&5
13006 echo "${ECHO_T}$result" >&6; }
13010 defaultval=$wxUSE_ALL_FEATURES
13011 if test -z "$defaultval"; then
13012 if test x"$enablestring" = xdisable; then
13019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13020 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13021 # Check whether --enable-validators was given.
13022 if test "${enable_validators+set}" = set; then
13023 enableval=$enable_validators;
13024 if test "$enableval" = yes; then
13025 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13027 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13032 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13037 eval "$wx_cv_use_validators"
13039 if test x"$enablestring" = xdisable; then
13040 if test $wxUSE_VALIDATORS = yes; then
13046 result=$wxUSE_VALIDATORS
13049 { echo "$as_me:$LINENO: result
: $result" >&5
13050 echo "${ECHO_T}$result" >&6; }
13054 defaultval=$wxUSE_ALL_FEATURES
13055 if test -z "$defaultval"; then
13056 if test x"$enablestring" = xdisable; then
13063 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13064 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13065 # Check whether --enable-busyinfo was given.
13066 if test "${enable_busyinfo+set}" = set; then
13067 enableval=$enable_busyinfo;
13068 if test "$enableval" = yes; then
13069 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13071 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13076 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13081 eval "$wx_cv_use_busyinfo"
13083 if test x
"$enablestring" = xdisable
; then
13084 if test $wxUSE_BUSYINFO = yes; then
13090 result
=$wxUSE_BUSYINFO
13093 { echo "$as_me:$LINENO: result: $result" >&5
13094 echo "${ECHO_T}$result" >&6; }
13098 defaultval
=$wxUSE_ALL_FEATURES
13099 if test -z "$defaultval"; then
13100 if test x
"$enablestring" = xdisable
; then
13107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13108 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13109 # Check whether --enable-joystick was given.
13110 if test "${enable_joystick+set}" = set; then
13111 enableval
=$enable_joystick;
13112 if test "$enableval" = yes; then
13113 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13115 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
13120 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13125 eval "$wx_cv_use_joystick"
13127 if test x"$enablestring" = xdisable; then
13128 if test $wxUSE_JOYSTICK = yes; then
13134 result=$wxUSE_JOYSTICK
13137 { echo "$as_me:$LINENO: result: $result" >&5
13138 echo "${ECHO_T}$result" >&6; }
13142 defaultval=$wxUSE_ALL_FEATURES
13143 if test -z "$defaultval"; then
13144 if test x"$enablestring" = xdisable; then
13151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13152 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13153 # Check whether --enable-metafile was given.
13154 if test "${enable_metafile+set}" = set; then
13155 enableval=$enable_metafile;
13156 if test "$enableval" = yes; then
13157 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
13159 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
13164 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13169 eval "$wx_cv_use_metafile"
13171 if test x"$enablestring" = xdisable; then
13172 if test $wxUSE_METAFILE = yes; then
13178 result=$wxUSE_METAFILE
13181 { echo "$as_me:$LINENO: result
: $result" >&5
13182 echo "${ECHO_T}$result" >&6; }
13186 defaultval=$wxUSE_ALL_FEATURES
13187 if test -z "$defaultval"; then
13188 if test x"$enablestring" = xdisable; then
13195 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
13196 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
13197 # Check whether --enable-dragimage was given.
13198 if test "${enable_dragimage+set}" = set; then
13199 enableval=$enable_dragimage;
13200 if test "$enableval" = yes; then
13201 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13203 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13208 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13213 eval "$wx_cv_use_dragimage"
13215 if test x
"$enablestring" = xdisable
; then
13216 if test $wxUSE_DRAGIMAGE = yes; then
13222 result
=$wxUSE_DRAGIMAGE
13225 { echo "$as_me:$LINENO: result: $result" >&5
13226 echo "${ECHO_T}$result" >&6; }
13230 defaultval
=$wxUSE_ALL_FEATURES
13231 if test -z "$defaultval"; then
13232 if test x
"$enablestring" = xdisable
; then
13239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13240 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13241 # Check whether --enable-accessibility was given.
13242 if test "${enable_accessibility+set}" = set; then
13243 enableval
=$enable_accessibility;
13244 if test "$enableval" = yes; then
13245 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
13247 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
13252 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13257 eval "$wx_cv_use_accessibility"
13259 if test x"$enablestring" = xdisable; then
13260 if test $wxUSE_ACCESSIBILITY = yes; then
13266 result=$wxUSE_ACCESSIBILITY
13269 { echo "$as_me:$LINENO: result: $result" >&5
13270 echo "${ECHO_T}$result" >&6; }
13276 defaultval=$wxUSE_ALL_FEATURES
13277 if test -z "$defaultval"; then
13278 if test x"$enablestring" = xdisable; then
13285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13286 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13287 # Check whether --enable-palette was given.
13288 if test "${enable_palette+set}" = set; then
13289 enableval=$enable_palette;
13290 if test "$enableval" = yes; then
13291 wx_cv_use_palette='wxUSE_PALETTE
=yes'
13293 wx_cv_use_palette='wxUSE_PALETTE
=no
'
13298 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13303 eval "$wx_cv_use_palette"
13305 if test x"$enablestring" = xdisable; then
13306 if test $wxUSE_PALETTE = yes; then
13312 result=$wxUSE_PALETTE
13315 { echo "$as_me:$LINENO: result
: $result" >&5
13316 echo "${ECHO_T}$result" >&6; }
13320 defaultval=$wxUSE_ALL_FEATURES
13321 if test -z "$defaultval"; then
13322 if test x"$enablestring" = xdisable; then
13329 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
13330 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
13331 # Check whether --enable-image was given.
13332 if test "${enable_image+set}" = set; then
13333 enableval=$enable_image;
13334 if test "$enableval" = yes; then
13335 wx_cv_use_image='wxUSE_IMAGE=yes'
13337 wx_cv_use_image='wxUSE_IMAGE=no'
13342 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13347 eval "$wx_cv_use_image"
13349 if test x
"$enablestring" = xdisable
; then
13350 if test $wxUSE_IMAGE = yes; then
13356 result
=$wxUSE_IMAGE
13359 { echo "$as_me:$LINENO: result: $result" >&5
13360 echo "${ECHO_T}$result" >&6; }
13364 defaultval
=$wxUSE_ALL_FEATURES
13365 if test -z "$defaultval"; then
13366 if test x
"$enablestring" = xdisable
; then
13373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13374 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13375 # Check whether --enable-gif was given.
13376 if test "${enable_gif+set}" = set; then
13377 enableval
=$enable_gif;
13378 if test "$enableval" = yes; then
13379 wx_cv_use_gif
='wxUSE_GIF=yes'
13381 wx_cv_use_gif
='wxUSE_GIF=no'
13386 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13391 eval "$wx_cv_use_gif"
13393 if test x"$enablestring" = xdisable; then
13394 if test $wxUSE_GIF = yes; then
13403 { echo "$as_me:$LINENO: result: $result" >&5
13404 echo "${ECHO_T}$result" >&6; }
13408 defaultval=$wxUSE_ALL_FEATURES
13409 if test -z "$defaultval"; then
13410 if test x"$enablestring" = xdisable; then
13417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13418 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13419 # Check whether --enable-pcx was given.
13420 if test "${enable_pcx+set}" = set; then
13421 enableval=$enable_pcx;
13422 if test "$enableval" = yes; then
13423 wx_cv_use_pcx='wxUSE_PCX
=yes'
13425 wx_cv_use_pcx='wxUSE_PCX
=no
'
13430 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13435 eval "$wx_cv_use_pcx"
13437 if test x"$enablestring" = xdisable; then
13438 if test $wxUSE_PCX = yes; then
13447 { echo "$as_me:$LINENO: result
: $result" >&5
13448 echo "${ECHO_T}$result" >&6; }
13452 defaultval=$wxUSE_ALL_FEATURES
13453 if test -z "$defaultval"; then
13454 if test x"$enablestring" = xdisable; then
13461 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
13462 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
13463 # Check whether --enable-tga was given.
13464 if test "${enable_tga+set}" = set; then
13465 enableval=$enable_tga;
13466 if test "$enableval" = yes; then
13467 wx_cv_use_tga='wxUSE_TGA=yes'
13469 wx_cv_use_tga='wxUSE_TGA=no'
13474 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13479 eval "$wx_cv_use_tga"
13481 if test x
"$enablestring" = xdisable
; then
13482 if test $wxUSE_TGA = yes; then
13491 { echo "$as_me:$LINENO: result: $result" >&5
13492 echo "${ECHO_T}$result" >&6; }
13496 defaultval
=$wxUSE_ALL_FEATURES
13497 if test -z "$defaultval"; then
13498 if test x
"$enablestring" = xdisable
; then
13505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13506 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13507 # Check whether --enable-iff was given.
13508 if test "${enable_iff+set}" = set; then
13509 enableval
=$enable_iff;
13510 if test "$enableval" = yes; then
13511 wx_cv_use_iff
='wxUSE_IFF=yes'
13513 wx_cv_use_iff
='wxUSE_IFF=no'
13518 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13523 eval "$wx_cv_use_iff"
13525 if test x"$enablestring" = xdisable; then
13526 if test $wxUSE_IFF = yes; then
13535 { echo "$as_me:$LINENO: result: $result" >&5
13536 echo "${ECHO_T}$result" >&6; }
13540 defaultval=$wxUSE_ALL_FEATURES
13541 if test -z "$defaultval"; then
13542 if test x"$enablestring" = xdisable; then
13549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13550 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13551 # Check whether --enable-pnm was given.
13552 if test "${enable_pnm+set}" = set; then
13553 enableval=$enable_pnm;
13554 if test "$enableval" = yes; then
13555 wx_cv_use_pnm='wxUSE_PNM
=yes'
13557 wx_cv_use_pnm='wxUSE_PNM
=no
'
13562 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13567 eval "$wx_cv_use_pnm"
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_PNM = yes; then
13579 { echo "$as_me:$LINENO: result
: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13593 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
13594 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
13595 # Check whether --enable-xpm was given.
13596 if test "${enable_xpm+set}" = set; then
13597 enableval=$enable_xpm;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_xpm='wxUSE_XPM=yes'
13601 wx_cv_use_xpm='wxUSE_XPM=no'
13606 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13611 eval "$wx_cv_use_xpm"
13613 if test x
"$enablestring" = xdisable
; then
13614 if test $wxUSE_XPM = yes; then
13623 { echo "$as_me:$LINENO: result: $result" >&5
13624 echo "${ECHO_T}$result" >&6; }
13628 defaultval
=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x
"$enablestring" = xdisable
; then
13637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13638 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13639 # Check whether --enable-ico_cur was given.
13640 if test "${enable_ico_cur+set}" = set; then
13641 enableval
=$enable_ico_cur;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
13645 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
13650 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13655 eval "$wx_cv_use_ico_cur"
13657 if test x"$enablestring" = xdisable; then
13658 if test $wxUSE_ICO_CUR = yes; then
13664 result=$wxUSE_ICO_CUR
13667 { echo "$as_me:$LINENO: result: $result" >&5
13668 echo "${ECHO_T}$result" >&6; }
13674 defaultval=$wxUSE_ALL_FEATURES
13675 if test -z "$defaultval"; then
13676 if test x"$enablestring" = xdisable; then
13683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13684 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13685 # Check whether --enable-dccache was given.
13686 if test "${enable_dccache+set}" = set; then
13687 enableval=$enable_dccache;
13688 if test "$enableval" = yes; then
13689 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
13691 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
13696 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13701 eval "$wx_cv_use_dccache"
13703 if test x"$enablestring" = xdisable; then
13704 if test $wxUSE_DC_CACHEING = yes; then
13710 result=$wxUSE_DC_CACHEING
13713 { echo "$as_me:$LINENO: result
: $result" >&5
13714 echo "${ECHO_T}$result" >&6; }
13718 defaultval=$wxUSE_ALL_FEATURES
13719 if test -z "$defaultval"; then
13720 if test x"$enablestring" = xdisable; then
13727 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
13728 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
13729 # Check whether --enable-ps-in-msw was given.
13730 if test "${enable_ps_in_msw+set}" = set; then
13731 enableval=$enable_ps_in_msw;
13732 if test "$enableval" = yes; then
13733 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13735 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13740 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13745 eval "$wx_cv_use_ps_in_msw"
13747 if test x
"$enablestring" = xdisable
; then
13748 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13754 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13757 { echo "$as_me:$LINENO: result: $result" >&5
13758 echo "${ECHO_T}$result" >&6; }
13762 defaultval
=$wxUSE_ALL_FEATURES
13763 if test -z "$defaultval"; then
13764 if test x
"$enablestring" = xdisable
; then
13771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13772 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13773 # Check whether --enable-ownerdrawn was given.
13774 if test "${enable_ownerdrawn+set}" = set; then
13775 enableval
=$enable_ownerdrawn;
13776 if test "$enableval" = yes; then
13777 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
13779 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
13784 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13789 eval "$wx_cv_use_ownerdrawn"
13791 if test x"$enablestring" = xdisable; then
13792 if test $wxUSE_OWNER_DRAWN = yes; then
13798 result=$wxUSE_OWNER_DRAWN
13801 { echo "$as_me:$LINENO: result: $result" >&5
13802 echo "${ECHO_T}$result" >&6; }
13806 defaultval=$wxUSE_ALL_FEATURES
13807 if test -z "$defaultval"; then
13808 if test x"$enablestring" = xdisable; then
13815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13816 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13817 # Check whether --enable-uxtheme was given.
13818 if test "${enable_uxtheme+set}" = set; then
13819 enableval=$enable_uxtheme;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
13823 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
13828 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13833 eval "$wx_cv_use_uxtheme"
13835 if test x"$enablestring" = xdisable; then
13836 if test $wxUSE_UXTHEME = yes; then
13842 result=$wxUSE_UXTHEME
13845 { echo "$as_me:$LINENO: result
: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13850 defaultval=$wxUSE_ALL_FEATURES
13851 if test -z "$defaultval"; then
13852 if test x"$enablestring" = xdisable; then
13859 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
13860 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
13861 # Check whether --enable-wxdib was given.
13862 if test "${enable_wxdib+set}" = set; then
13863 enableval=$enable_wxdib;
13864 if test "$enableval" = yes; then
13865 wx_cv_use_wxdib='wxUSE_DIB=yes'
13867 wx_cv_use_wxdib='wxUSE_DIB=no'
13872 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13877 eval "$wx_cv_use_wxdib"
13879 if test x
"$enablestring" = xdisable
; then
13880 if test $wxUSE_DIB = yes; then
13889 { echo "$as_me:$LINENO: result: $result" >&5
13890 echo "${ECHO_T}$result" >&6; }
13893 if test "$wxUSE_MSW" != 1; then
13894 DEFAULT_wxUSE_AUTOID_MANAGEMENT
=no
13899 defaultval
=$wxUSE_ALL_FEATURES
13900 if test -z "$defaultval"; then
13901 if test x
"$enablestring" = xdisable
; then
13908 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13909 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13910 # Check whether --enable-autoidman was given.
13911 if test "${enable_autoidman+set}" = set; then
13912 enableval
=$enable_autoidman;
13913 if test "$enableval" = yes; then
13914 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=yes'
13916 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=no'
13921 wx_cv_use_autoidman
='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13926 eval "$wx_cv_use_autoidman"
13928 if test x"$enablestring" = xdisable; then
13929 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13935 result=$wxUSE_AUTOID_MANAGEMENT
13938 { echo "$as_me:$LINENO: result: $result" >&5
13939 echo "${ECHO_T}$result" >&6; }
13945 cat >confcache <<\_ACEOF
13946 # This file is a shell script that caches the results of configure
13947 # tests run on this system so they can be shared between configure
13948 # scripts and configure runs, see configure's option
--config-cache.
13949 # It is not useful on other systems. If it contains results you don't
13950 # want to keep, you may remove or edit it.
13952 # config.status only pays attention to the cache file if you give it
13953 # the --recheck option to rerun configure.
13955 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13956 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13957 # following values.
13961 # The following way of writing the cache mishandles newlines in values,
13962 # but we know of no workaround that is simple, portable, and efficient.
13963 # So, we kill variables containing newlines.
13964 # Ultrix sh set writes to stderr and can't be redirected directly,
13965 # and sets the high bit in the cache file unless we assign to the vars.
13967 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13968 eval ac_val
=\$
$ac_var
13972 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13973 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13976 _
| IFS
| as_nl
) ;; #(
13977 *) $as_unset $ac_var ;;
13983 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13984 *${as_nl}ac_space
=\
*)
13985 # `set' does not quote correctly, so add quotes (double-quote
13986 # substitution turns \\\\ into \\, and sed turns \\ into \).
13989 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13992 # `set' quotes correctly as required by POSIX, so do not add quotes.
13993 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14002 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14004 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14006 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14007 if test -w "$cache_file"; then
14008 test "x$cache_file" != "x/dev/null" &&
14009 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14010 echo "$as_me: updating cache $cache_file" >&6;}
14011 cat confcache
>$cache_file
14013 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14014 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14024 ac_cpp
='$CPP $CPPFLAGS'
14025 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14026 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14027 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14028 if test -n "$ac_tool_prefix"; then
14029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14030 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
14031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14033 if test "${ac_cv_prog_CC+set}" = set; then
14034 echo $ECHO_N "(cached) $ECHO_C" >&6
14036 if test -n "$CC"; then
14037 ac_cv_prog_CC
="$CC" # Let the user override the test.
14039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14040 for as_dir
in $PATH
14043 test -z "$as_dir" && as_dir
=.
14044 for ac_exec_ext
in '' $ac_executable_extensions; do
14045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14046 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
14047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14057 if test -n "$CC"; then
14058 { echo "$as_me:$LINENO: result: $CC" >&5
14059 echo "${ECHO_T}$CC" >&6; }
14061 { echo "$as_me:$LINENO: result: no" >&5
14062 echo "${ECHO_T}no" >&6; }
14067 if test -z "$ac_cv_prog_CC"; then
14069 # Extract the first word of "gcc", so it can be a program name with args.
14070 set dummy gcc
; ac_word
=$2
14071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14073 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14074 echo $ECHO_N "(cached) $ECHO_C" >&6
14076 if test -n "$ac_ct_CC"; then
14077 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14080 for as_dir
in $PATH
14083 test -z "$as_dir" && as_dir
=.
14084 for ac_exec_ext
in '' $ac_executable_extensions; do
14085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14086 ac_cv_prog_ac_ct_CC
="gcc"
14087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14096 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14097 if test -n "$ac_ct_CC"; then
14098 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14099 echo "${ECHO_T}$ac_ct_CC" >&6; }
14101 { echo "$as_me:$LINENO: result: no" >&5
14102 echo "${ECHO_T}no" >&6; }
14105 if test "x$ac_ct_CC" = x
; then
14108 case $cross_compiling:$ac_tool_warned in
14110 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14111 whose name does not start with the host triplet. If you think this
14112 configuration is useful to you, please write to autoconf@gnu.org." >&5
14113 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14114 whose name does not start with the host triplet. If you think this
14115 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14116 ac_tool_warned
=yes ;;
14121 CC
="$ac_cv_prog_CC"
14124 if test -z "$CC"; then
14125 if test -n "$ac_tool_prefix"; then
14126 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14127 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
14128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14130 if test "${ac_cv_prog_CC+set}" = set; then
14131 echo $ECHO_N "(cached) $ECHO_C" >&6
14133 if test -n "$CC"; then
14134 ac_cv_prog_CC
="$CC" # Let the user override the test.
14136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14137 for as_dir
in $PATH
14140 test -z "$as_dir" && as_dir
=.
14141 for ac_exec_ext
in '' $ac_executable_extensions; do
14142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14143 ac_cv_prog_CC
="${ac_tool_prefix}cc"
14144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14154 if test -n "$CC"; then
14155 { echo "$as_me:$LINENO: result: $CC" >&5
14156 echo "${ECHO_T}$CC" >&6; }
14158 { echo "$as_me:$LINENO: result: no" >&5
14159 echo "${ECHO_T}no" >&6; }
14165 if test -z "$CC"; then
14166 # Extract the first word of "cc", so it can be a program name with args.
14167 set dummy cc
; ac_word
=$2
14168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14170 if test "${ac_cv_prog_CC+set}" = set; then
14171 echo $ECHO_N "(cached) $ECHO_C" >&6
14173 if test -n "$CC"; then
14174 ac_cv_prog_CC
="$CC" # Let the user override the test.
14176 ac_prog_rejected
=no
14177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14178 for as_dir
in $PATH
14181 test -z "$as_dir" && as_dir
=.
14182 for ac_exec_ext
in '' $ac_executable_extensions; do
14183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14185 ac_prog_rejected
=yes
14189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14196 if test $ac_prog_rejected = yes; then
14197 # We found a bogon in the path, so make sure we never use it.
14198 set dummy
$ac_cv_prog_CC
14200 if test $# != 0; then
14201 # We chose a different compiler from the bogus one.
14202 # However, it has the same basename, so the bogon will be chosen
14203 # first if we set CC to just the basename; use the full file name.
14205 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
14211 if test -n "$CC"; then
14212 { echo "$as_me:$LINENO: result: $CC" >&5
14213 echo "${ECHO_T}$CC" >&6; }
14215 { echo "$as_me:$LINENO: result: no" >&5
14216 echo "${ECHO_T}no" >&6; }
14221 if test -z "$CC"; then
14222 if test -n "$ac_tool_prefix"; then
14223 for ac_prog
in cl.exe
14225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14226 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
14227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14229 if test "${ac_cv_prog_CC+set}" = set; then
14230 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 if test -n "$CC"; then
14233 ac_cv_prog_CC
="$CC" # Let the user override the test.
14235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14236 for as_dir
in $PATH
14239 test -z "$as_dir" && as_dir
=.
14240 for ac_exec_ext
in '' $ac_executable_extensions; do
14241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14242 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
14243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14253 if test -n "$CC"; then
14254 { echo "$as_me:$LINENO: result: $CC" >&5
14255 echo "${ECHO_T}$CC" >&6; }
14257 { echo "$as_me:$LINENO: result: no" >&5
14258 echo "${ECHO_T}no" >&6; }
14262 test -n "$CC" && break
14265 if test -z "$CC"; then
14267 for ac_prog
in cl.exe
14269 # Extract the first word of "$ac_prog", so it can be a program name with args.
14270 set dummy
$ac_prog; ac_word
=$2
14271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14273 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 if test -n "$ac_ct_CC"; then
14277 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
14279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14280 for as_dir
in $PATH
14283 test -z "$as_dir" && as_dir
=.
14284 for ac_exec_ext
in '' $ac_executable_extensions; do
14285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14286 ac_cv_prog_ac_ct_CC
="$ac_prog"
14287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14296 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
14297 if test -n "$ac_ct_CC"; then
14298 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14299 echo "${ECHO_T}$ac_ct_CC" >&6; }
14301 { echo "$as_me:$LINENO: result: no" >&5
14302 echo "${ECHO_T}no" >&6; }
14306 test -n "$ac_ct_CC" && break
14309 if test "x$ac_ct_CC" = x
; then
14312 case $cross_compiling:$ac_tool_warned in
14314 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14315 whose name does not start with the host triplet. If you think this
14316 configuration is useful to you, please write to autoconf@gnu.org." >&5
14317 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14318 whose name does not start with the host triplet. If you think this
14319 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14320 ac_tool_warned
=yes ;;
14329 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14330 See \`config.log' for more details." >&5
14331 echo "$as_me: error: no acceptable C compiler found in \$PATH
14332 See \`config.log' for more details." >&2;}
14333 { (exit 1); exit 1; }; }
14335 # Provide some information about the compiler.
14336 echo "$as_me:$LINENO: checking for C compiler version" >&5
14337 ac_compiler
=`set X $ac_compile; echo $2`
14338 { (ac_try
="$ac_compiler --version >&5"
14339 case "(($ac_try" in
14340 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14341 *) ac_try_echo=$ac_try;;
14343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14344 (eval "$ac_compiler --version >&5") 2>&5
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); }
14348 { (ac_try="$ac_compiler -v >&5"
14349 case "(($ac_try" in
14350 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
14351 *) ac_try_echo
=$ac_try;;
14353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14354 (eval "$ac_compiler -v >&5") 2>&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }
14358 { (ac_try
="$ac_compiler -V >&5"
14359 case "(($ac_try" in
14360 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14361 *) ac_try_echo=$ac_try;;
14363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14364 (eval "$ac_compiler -V >&5") 2>&5
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); }
14369 cat >conftest.$ac_ext <<_ACEOF
14372 cat confdefs.h >>conftest.$ac_ext
14373 cat >>conftest.$ac_ext <<_ACEOF
14374 /* end confdefs.h. */
14384 ac_clean_files_save=$ac_clean_files
14385 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14386 # Try to create an executable without -o first, disregard a.out.
14387 # It will help us diagnose broken compilers, and finding out an intuition
14389 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14390 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14391 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14393 # List of possible output files, starting from the most likely.
14394 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
14395 # only as a last resort. b.out is created by i960 compilers.
14396 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
14398 # The IRIX 6 linker writes into existing files which may not be
14399 # executable, retaining their permissions. Remove them first so a
14400 # subsequent execution test works.
14402 for ac_file in $ac_files
14405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14406 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14411 if { (ac_try="$ac_link_default"
14412 case "(($ac_try" in
14413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14414 *) ac_try_echo=$ac_try;;
14416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14417 (eval "$ac_link_default") 2>&5
14419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14420 (exit $ac_status); }; then
14421 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14422 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14423 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14424 # so that the user can short-circuit this test for compilers unknown to
14426 for ac_file
in $ac_files ''
14428 test -f "$ac_file" || continue
14430 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
14433 # We found the default executable, but exeext='' is most
14437 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
14439 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14441 # We set ac_cv_exeext here because the later test for it is not
14442 # safe: cross compilers may not add the suffix if given an `-o'
14443 # argument, so we may need to know it at that point already.
14444 # Even if this section looks crufty: it has the advantage of
14445 # actually working.
14451 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
14457 { echo "$as_me:$LINENO: result: $ac_file" >&5
14458 echo "${ECHO_T}$ac_file" >&6; }
14459 if test -z "$ac_file"; then
14460 echo "$as_me: failed program was:" >&5
14461 sed 's/^/| /' conftest.
$ac_ext >&5
14463 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14464 See \`config.log' for more details." >&5
14465 echo "$as_me: error: C compiler cannot create executables
14466 See \`config.log' for more details." >&2;}
14467 { (exit 77); exit 77; }; }
14470 ac_exeext
=$ac_cv_exeext
14472 # Check that the compiler produces executables we can run. If not, either
14473 # the compiler is broken, or we cross compile.
14474 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14475 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14476 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14477 # If not cross compiling, check that we can run a simple program.
14478 if test "$cross_compiling" != yes; then
14479 if { ac_try
='./$ac_file'
14480 { (case "(($ac_try" in
14481 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14482 *) ac_try_echo=$ac_try;;
14484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14485 (eval "$ac_try") 2>&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); }; }; then
14491 if test "$cross_compiling" = maybe; then
14492 cross_compiling=yes
14494 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14495 If you meant to cross compile, use \`--host'.
14496 See \`config.log' for more details.
" >&5
14497 echo "$as_me: error
: cannot run C compiled programs.
14498 If you meant to cross compile
, use \
`--host'.
14499 See \`config.log
' for more details." >&2;}
14500 { (exit 1); exit 1; }; }
14504 { echo "$as_me:$LINENO: result: yes" >&5
14505 echo "${ECHO_T}yes" >&6; }
14507 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14508 ac_clean_files=$ac_clean_files_save
14509 # Check that the compiler produces executables we can run. If not, either
14510 # the compiler is broken, or we cross compile.
14511 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14512 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14513 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14514 echo "${ECHO_T}$cross_compiling" >&6; }
14516 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14517 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14518 if { (ac_try="$ac_link"
14519 case "(($ac_try" in
14520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14521 *) ac_try_echo=$ac_try;;
14523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14524 (eval "$ac_link") 2>&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); }; then
14528 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
14529 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
14530 # work properly (i.e., refer to `conftest.exe
'), while it won't with
14532 for ac_file
in conftest.exe conftest conftest.
*; do
14533 test -f "$ac_file" || continue
14535 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
14536 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
14542 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14543 See \`config.log' for more details." >&5
14544 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14545 See \`config.log' for more details." >&2;}
14546 { (exit 1); exit 1; }; }
14549 rm -f conftest
$ac_cv_exeext
14550 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14551 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14553 rm -f conftest.
$ac_ext
14554 EXEEXT
=$ac_cv_exeext
14556 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14557 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14558 if test "${ac_cv_objext+set}" = set; then
14559 echo $ECHO_N "(cached) $ECHO_C" >&6
14561 cat >conftest.
$ac_ext <<_ACEOF
14564 cat confdefs.h
>>conftest.
$ac_ext
14565 cat >>conftest.
$ac_ext <<_ACEOF
14566 /* end confdefs.h. */
14576 rm -f conftest.o conftest.obj
14577 if { (ac_try
="$ac_compile"
14578 case "(($ac_try" in
14579 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
14580 *) ac_try_echo=$ac_try;;
14582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14583 (eval "$ac_compile") 2>&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); }; then
14587 for ac_file in conftest.o conftest.obj conftest.*; do
14588 test -f "$ac_file" || continue;
14590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14591 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14596 echo "$as_me: failed program was:" >&5
14597 sed 's/^/| /' conftest.$ac_ext >&5
14599 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14600 See \`config.log
' for more details." >&5
14601 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14602 See \`config.log' for more details.
" >&2;}
14603 { (exit 1); exit 1; }; }
14606 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14608 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
14609 echo "${ECHO_T}$ac_cv_objext" >&6; }
14610 OBJEXT=$ac_cv_objext
14612 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
14613 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
14614 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14615 echo $ECHO_N "(cached
) $ECHO_C" >&6
14617 cat >conftest.$ac_ext <<_ACEOF
14620 cat confdefs.h >>conftest.$ac_ext
14621 cat >>conftest.$ac_ext <<_ACEOF
14622 /* end confdefs.h. */
14635 rm -f conftest.$ac_objext
14636 if { (ac_try="$ac_compile"
14637 case "(($ac_try" in
14638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14639 *) ac_try_echo=$ac_try;;
14641 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14642 (eval "$ac_compile") 2>conftest.er1
14644 grep -v '^ *+' conftest.er1 >conftest.err
14646 cat conftest.err >&5
14647 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14648 (exit $ac_status); } && {
14649 test -z "$ac_c_werror_flag" ||
14650 test ! -s conftest.err
14651 } && test -s conftest.$ac_objext; then
14652 ac_compiler_gnu=yes
14654 echo "$as_me: failed program was
:" >&5
14655 sed 's/^/| /' conftest.$ac_ext >&5
14660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14661 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14664 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
14665 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14666 GCC=`test $ac_compiler_gnu = yes && echo yes`
14667 ac_test_CFLAGS=${CFLAGS+set}
14668 ac_save_CFLAGS=$CFLAGS
14669 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
14670 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
14671 if test "${ac_cv_prog_cc_g+set}" = set; then
14672 echo $ECHO_N "(cached
) $ECHO_C" >&6
14674 ac_save_c_werror_flag=$ac_c_werror_flag
14675 ac_c_werror_flag=yes
14678 cat >conftest.$ac_ext <<_ACEOF
14681 cat confdefs.h >>conftest.$ac_ext
14682 cat >>conftest.$ac_ext <<_ACEOF
14683 /* end confdefs.h. */
14693 rm -f conftest.$ac_objext
14694 if { (ac_try="$ac_compile"
14695 case "(($ac_try" in
14696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14697 *) ac_try_echo=$ac_try;;
14699 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14700 (eval "$ac_compile") 2>conftest.er1
14702 grep -v '^ *+' conftest.er1 >conftest.err
14704 cat conftest.err >&5
14705 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14706 (exit $ac_status); } && {
14707 test -z "$ac_c_werror_flag" ||
14708 test ! -s conftest.err
14709 } && test -s conftest.$ac_objext; then
14710 ac_cv_prog_cc_g=yes
14712 echo "$as_me: failed program was
:" >&5
14713 sed 's/^/| /' conftest.$ac_ext >&5
14716 cat >conftest.$ac_ext <<_ACEOF
14719 cat confdefs.h >>conftest.$ac_ext
14720 cat >>conftest.$ac_ext <<_ACEOF
14721 /* end confdefs.h. */
14731 rm -f conftest.$ac_objext
14732 if { (ac_try="$ac_compile"
14733 case "(($ac_try" in
14734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14735 *) ac_try_echo=$ac_try;;
14737 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14738 (eval "$ac_compile") 2>conftest.er1
14740 grep -v '^ *+' conftest.er1 >conftest.err
14742 cat conftest.err >&5
14743 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14744 (exit $ac_status); } && {
14745 test -z "$ac_c_werror_flag" ||
14746 test ! -s conftest.err
14747 } && test -s conftest.$ac_objext; then
14750 echo "$as_me: failed program was
:" >&5
14751 sed 's/^/| /' conftest.$ac_ext >&5
14753 ac_c_werror_flag=$ac_save_c_werror_flag
14755 cat >conftest.$ac_ext <<_ACEOF
14758 cat confdefs.h >>conftest.$ac_ext
14759 cat >>conftest.$ac_ext <<_ACEOF
14760 /* end confdefs.h. */
14770 rm -f conftest.$ac_objext
14771 if { (ac_try="$ac_compile"
14772 case "(($ac_try" in
14773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14774 *) ac_try_echo=$ac_try;;
14776 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14777 (eval "$ac_compile") 2>conftest.er1
14779 grep -v '^ *+' conftest.er1 >conftest.err
14781 cat conftest.err >&5
14782 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14783 (exit $ac_status); } && {
14784 test -z "$ac_c_werror_flag" ||
14785 test ! -s conftest.err
14786 } && test -s conftest.$ac_objext; then
14787 ac_cv_prog_cc_g=yes
14789 echo "$as_me: failed program was
:" >&5
14790 sed 's/^/| /' conftest.$ac_ext >&5
14795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14802 ac_c_werror_flag=$ac_save_c_werror_flag
14804 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
14805 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14806 if test "$ac_test_CFLAGS" = set; then
14807 CFLAGS=$ac_save_CFLAGS
14808 elif test $ac_cv_prog_cc_g = yes; then
14809 if test "$GCC" = yes; then
14815 if test "$GCC" = yes; then
14821 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
14822 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
14823 if test "${ac_cv_prog_cc_c89+set}" = set; then
14824 echo $ECHO_N "(cached
) $ECHO_C" >&6
14826 ac_cv_prog_cc_c89=no
14828 cat >conftest.$ac_ext <<_ACEOF
14831 cat confdefs.h >>conftest.$ac_ext
14832 cat >>conftest.$ac_ext <<_ACEOF
14833 /* end confdefs.h. */
14834 #include <stdarg.h>
14836 #include <sys/types.h>
14837 #include <sys/stat.h>
14838 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14839 struct buf { int x; };
14840 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14841 static char *e (p, i)
14847 static char *f (char * (*g) (char **, int), char **p, ...)
14852 s = g (p, va_arg (v,int));
14857 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14858 function prototypes and stuff, but not '\xHH' hex character constants.
14859 These don't provoke an error unfortunately, instead are silently treated
14860 as 'x'. The following induces an error, until -std is added to get
14861 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14862 array size at least. It's necessary to write '\x00'==0 to get something
14863 that's true only with -std. */
14864 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14866 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14867 inside strings and character constants. */
14869 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14871 int test (int i, double x);
14872 struct s1 {int (*f) (int a);};
14873 struct s2 {int (*f) (double a);};
14874 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14880 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14885 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14886 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14888 CC="$ac_save_CC $ac_arg"
14889 rm -f conftest.$ac_objext
14890 if { (ac_try="$ac_compile"
14891 case "(($ac_try" in
14892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14893 *) ac_try_echo=$ac_try;;
14895 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14896 (eval "$ac_compile") 2>conftest.er1
14898 grep -v '^ *+' conftest.er1 >conftest.err
14900 cat conftest.err >&5
14901 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14902 (exit $ac_status); } && {
14903 test -z "$ac_c_werror_flag" ||
14904 test ! -s conftest.err
14905 } && test -s conftest.$ac_objext; then
14906 ac_cv_prog_cc_c89=$ac_arg
14908 echo "$as_me: failed program was
:" >&5
14909 sed 's/^/| /' conftest.$ac_ext >&5
14914 rm -f core conftest.err conftest.$ac_objext
14915 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
14917 rm -f conftest.$ac_ext
14922 case "x
$ac_cv_prog_cc_c89" in
14924 { echo "$as_me:$LINENO: result
: none needed
" >&5
14925 echo "${ECHO_T}none needed
" >&6; } ;;
14927 { echo "$as_me:$LINENO: result
: unsupported
" >&5
14928 echo "${ECHO_T}unsupported
" >&6; } ;;
14930 CC="$CC $ac_cv_prog_cc_c89"
14931 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
14932 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14937 ac_cpp='$CPP $CPPFLAGS'
14938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14946 ac_cpp='$CPP $CPPFLAGS'
14947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14951 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
14952 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
14953 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14954 echo $ECHO_N "(cached
) $ECHO_C" >&6
14956 cat >conftest.$ac_ext <<_ACEOF
14959 cat confdefs.h >>conftest.$ac_ext
14960 cat >>conftest.$ac_ext <<_ACEOF
14961 /* end confdefs.h. */
14967 #ifndef __INTEL_COMPILER
14975 rm -f conftest.$ac_objext
14976 if { (ac_try="$ac_compile"
14977 case "(($ac_try" in
14978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14979 *) ac_try_echo=$ac_try;;
14981 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14982 (eval "$ac_compile") 2>conftest.er1
14984 grep -v '^ *+' conftest.er1 >conftest.err
14986 cat conftest.err >&5
14987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14988 (exit $ac_status); } && {
14989 test -z "$ac_c_werror_flag" ||
14990 test ! -s conftest.err
14991 } && test -s conftest.$ac_objext; then
14992 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14994 echo "$as_me: failed program was
:" >&5
14995 sed 's/^/| /' conftest.$ac_ext >&5
14997 bakefile_cv_c_compiler___INTEL_COMPILER=no
15001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15005 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15006 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15007 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
15013 ac_cpp='$CPP $CPPFLAGS'
15014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15021 if test "$INTELCC" = "yes"; then
15025 ac_cpp='$CPP $CPPFLAGS'
15026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15030 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
15031 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
15032 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15033 echo $ECHO_N "(cached
) $ECHO_C" >&6
15035 cat >conftest.$ac_ext <<_ACEOF
15038 cat confdefs.h >>conftest.$ac_ext
15039 cat >>conftest.$ac_ext <<_ACEOF
15040 /* end confdefs.h. */
15046 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15054 rm -f conftest.$ac_objext
15055 if { (ac_try="$ac_compile"
15056 case "(($ac_try" in
15057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15058 *) ac_try_echo=$ac_try;;
15060 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15061 (eval "$ac_compile") 2>conftest.er1
15063 grep -v '^ *+' conftest.er1 >conftest.err
15065 cat conftest.err >&5
15066 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15067 (exit $ac_status); } && {
15068 test -z "$ac_c_werror_flag" ||
15069 test ! -s conftest.err
15070 } && test -s conftest.$ac_objext; then
15071 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15073 echo "$as_me: failed program was
:" >&5
15074 sed 's/^/| /' conftest.$ac_ext >&5
15076 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15084 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15085 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15086 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
15092 ac_cpp='$CPP $CPPFLAGS'
15093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15102 ac_cpp='$CPP $CPPFLAGS'
15103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15107 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
15108 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
15109 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15110 echo $ECHO_N "(cached
) $ECHO_C" >&6
15112 cat >conftest.$ac_ext <<_ACEOF
15115 cat confdefs.h >>conftest.$ac_ext
15116 cat >>conftest.$ac_ext <<_ACEOF
15117 /* end confdefs.h. */
15123 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15131 rm -f conftest.$ac_objext
15132 if { (ac_try="$ac_compile"
15133 case "(($ac_try" in
15134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15135 *) ac_try_echo=$ac_try;;
15137 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15138 (eval "$ac_compile") 2>conftest.er1
15140 grep -v '^ *+' conftest.er1 >conftest.err
15142 cat conftest.err >&5
15143 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15144 (exit $ac_status); } && {
15145 test -z "$ac_c_werror_flag" ||
15146 test ! -s conftest.err
15147 } && test -s conftest.$ac_objext; then
15148 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15150 echo "$as_me: failed program was
:" >&5
15151 sed 's/^/| /' conftest.$ac_ext >&5
15153 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15161 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15162 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15163 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
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
15178 if test "x
$GCC" != "xyes
"; then
15179 if test "xCC
" = "xC
"; then
15180 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
15181 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
15182 if test "${bakefile_cv_c_exto+set}" = set; then
15183 echo $ECHO_N "(cached
) $ECHO_C" >&6
15185 cat >conftest.$ac_ext <<_ACEOF
15188 cat confdefs.h >>conftest.$ac_ext
15189 cat >>conftest.$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15200 rm -f conftest.$ac_objext conftest.$ac_ext.o
15201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15202 (eval $ac_compile) 2>&5
15204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15205 (exit $ac_status); }; then
15206 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15208 conftest.$ac_ext.o)
15209 bakefile_cv_c_exto="-ext o
"
15216 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
15217 See \
`config.log' for more details." >&5
15218 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15219 See \`config.log
' for more details." >&2;}
15220 { (exit 1); exit 1; }; }
15224 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15227 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15228 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15229 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15230 if test "c" = "c"; then
15231 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15233 if test "c" = "cxx"; then
15234 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15238 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15239 unset ac_cv_prog_cc_g
15240 ac_test_CFLAGS=${CFLAGS+set}
15241 ac_save_CFLAGS=$CFLAGS
15242 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15243 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15244 if test "${ac_cv_prog_cc_g+set}" = set; then
15245 echo $ECHO_N "(cached) $ECHO_C" >&6
15247 ac_save_c_werror_flag=$ac_c_werror_flag
15248 ac_c_werror_flag=yes
15251 cat >conftest.$ac_ext <<_ACEOF
15254 cat confdefs.h >>conftest.$ac_ext
15255 cat >>conftest.$ac_ext <<_ACEOF
15256 /* end confdefs.h. */
15266 rm -f conftest.$ac_objext
15267 if { (ac_try="$ac_compile"
15268 case "(($ac_try" in
15269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15270 *) ac_try_echo=$ac_try;;
15272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15273 (eval "$ac_compile") 2>conftest.er1
15275 grep -v '^
*+' conftest.er1 >conftest.err
15277 cat conftest.err >&5
15278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 (exit $ac_status); } && {
15280 test -z "$ac_c_werror_flag" ||
15281 test ! -s conftest.err
15282 } && test -s conftest.$ac_objext; then
15283 ac_cv_prog_cc_g=yes
15285 echo "$as_me: failed program was:" >&5
15286 sed 's
/^
/| /' conftest.$ac_ext >&5
15289 cat >conftest.$ac_ext <<_ACEOF
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15304 rm -f conftest.$ac_objext
15305 if { (ac_try="$ac_compile"
15306 case "(($ac_try" in
15307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15308 *) ac_try_echo=$ac_try;;
15310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15311 (eval "$ac_compile") 2>conftest.er1
15313 grep -v '^
*+' conftest.er1 >conftest.err
15315 cat conftest.err >&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } && {
15318 test -z "$ac_c_werror_flag" ||
15319 test ! -s conftest.err
15320 } && test -s conftest.$ac_objext; then
15323 echo "$as_me: failed program was:" >&5
15324 sed 's
/^
/| /' conftest.$ac_ext >&5
15326 ac_c_werror_flag=$ac_save_c_werror_flag
15328 cat >conftest.$ac_ext <<_ACEOF
15331 cat confdefs.h >>conftest.$ac_ext
15332 cat >>conftest.$ac_ext <<_ACEOF
15333 /* end confdefs.h. */
15343 rm -f conftest.$ac_objext
15344 if { (ac_try="$ac_compile"
15345 case "(($ac_try" in
15346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15347 *) ac_try_echo=$ac_try;;
15349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15350 (eval "$ac_compile") 2>conftest.er1
15352 grep -v '^
*+' conftest.er1 >conftest.err
15354 cat conftest.err >&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); } && {
15357 test -z "$ac_c_werror_flag" ||
15358 test ! -s conftest.err
15359 } && test -s conftest.$ac_objext; then
15360 ac_cv_prog_cc_g=yes
15362 echo "$as_me: failed program was:" >&5
15363 sed 's
/^
/| /' conftest.$ac_ext >&5
15368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15375 ac_c_werror_flag=$ac_save_c_werror_flag
15377 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15378 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15379 if test "$ac_test_CFLAGS" = set; then
15380 CFLAGS=$ac_save_CFLAGS
15381 elif test $ac_cv_prog_cc_g = yes; then
15382 if test "$GCC" = yes; then
15388 if test "$GCC" = yes; then
15402 ac_cpp='$CPP $CPPFLAGS'
15403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15404 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15407 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15408 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15409 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15410 echo $ECHO_N "(cached) $ECHO_C" >&6
15412 cat >conftest.$ac_ext <<_ACEOF
15415 cat confdefs.h >>conftest.$ac_ext
15416 cat >>conftest.$ac_ext <<_ACEOF
15417 /* end confdefs.h. */
15431 rm -f conftest.$ac_objext
15432 if { (ac_try="$ac_compile"
15433 case "(($ac_try" in
15434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15435 *) ac_try_echo=$ac_try;;
15437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15438 (eval "$ac_compile") 2>conftest.er1
15440 grep -v '^
*+' conftest.er1 >conftest.err
15442 cat conftest.err >&5
15443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444 (exit $ac_status); } && {
15445 test -z "$ac_c_werror_flag" ||
15446 test ! -s conftest.err
15447 } && test -s conftest.$ac_objext; then
15448 bakefile_cv_c_compiler___xlC__=yes
15450 echo "$as_me: failed program was:" >&5
15451 sed 's
/^
/| /' conftest.$ac_ext >&5
15453 bakefile_cv_c_compiler___xlC__=no
15457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15461 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15462 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15463 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15469 ac_cpp='$CPP $CPPFLAGS'
15470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15471 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15482 ac_cpp='$CPP $CPPFLAGS'
15483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15484 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15487 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15488 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15489 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15492 cat >conftest.$ac_ext <<_ACEOF
15495 cat confdefs.h >>conftest.$ac_ext
15496 cat >>conftest.$ac_ext <<_ACEOF
15497 /* end confdefs.h. */
15511 rm -f conftest.$ac_objext
15512 if { (ac_try="$ac_compile"
15513 case "(($ac_try" in
15514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15515 *) ac_try_echo=$ac_try;;
15517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15518 (eval "$ac_compile") 2>conftest.er1
15520 grep -v '^
*+' conftest.er1 >conftest.err
15522 cat conftest.err >&5
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); } && {
15525 test -z "$ac_c_werror_flag" ||
15526 test ! -s conftest.err
15527 } && test -s conftest.$ac_objext; then
15528 bakefile_cv_c_compiler___MWERKS__=yes
15530 echo "$as_me: failed program was:" >&5
15531 sed 's
/^
/| /' conftest.$ac_ext >&5
15533 bakefile_cv_c_compiler___MWERKS__=no
15537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15541 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15542 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15543 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15549 ac_cpp='$CPP $CPPFLAGS'
15550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15551 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15556 if test "$MWCC" != "yes"; then
15560 ac_cpp='$CPP $CPPFLAGS'
15561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15562 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15565 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15566 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15567 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15568 echo $ECHO_N "(cached) $ECHO_C" >&6
15570 cat >conftest.$ac_ext <<_ACEOF
15573 cat confdefs.h >>conftest.$ac_ext
15574 cat >>conftest.$ac_ext <<_ACEOF
15575 /* end confdefs.h. */
15589 rm -f conftest.$ac_objext
15590 if { (ac_try="$ac_compile"
15591 case "(($ac_try" in
15592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15593 *) ac_try_echo=$ac_try;;
15595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15596 (eval "$ac_compile") 2>conftest.er1
15598 grep -v '^
*+' conftest.er1 >conftest.err
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } && {
15603 test -z "$ac_c_werror_flag" ||
15604 test ! -s conftest.err
15605 } && test -s conftest.$ac_objext; then
15606 bakefile_cv_c_compiler___xlC__=yes
15608 echo "$as_me: failed program was:" >&5
15609 sed 's
/^
/| /' conftest.$ac_ext >&5
15611 bakefile_cv_c_compiler___xlC__=no
15615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15619 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15620 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15621 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15627 ac_cpp='$CPP $CPPFLAGS'
15628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15629 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15641 ac_cpp='$CPP $CPPFLAGS'
15642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15643 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15646 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15647 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15648 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15649 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 cat >conftest.$ac_ext <<_ACEOF
15654 cat confdefs.h >>conftest.$ac_ext
15655 cat >>conftest.$ac_ext <<_ACEOF
15656 /* end confdefs.h. */
15662 #ifndef _SGI_COMPILER_VERSION
15670 rm -f conftest.$ac_objext
15671 if { (ac_try="$ac_compile"
15672 case "(($ac_try" in
15673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15674 *) ac_try_echo=$ac_try;;
15676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15677 (eval "$ac_compile") 2>conftest.er1
15679 grep -v '^
*+' conftest.er1 >conftest.err
15681 cat conftest.err >&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } && {
15684 test -z "$ac_c_werror_flag" ||
15685 test ! -s conftest.err
15686 } && test -s conftest.$ac_objext; then
15687 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15689 echo "$as_me: failed program was:" >&5
15690 sed 's
/^
/| /' conftest.$ac_ext >&5
15692 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15700 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15701 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15702 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15708 ac_cpp='$CPP $CPPFLAGS'
15709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15710 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15718 if test "$INTELCC" != "yes"; then
15722 ac_cpp='$CPP $CPPFLAGS'
15723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15724 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15727 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15728 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15729 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15730 echo $ECHO_N "(cached) $ECHO_C" >&6
15732 cat >conftest.$ac_ext <<_ACEOF
15735 cat confdefs.h >>conftest.$ac_ext
15736 cat >>conftest.$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15751 rm -f conftest.$ac_objext
15752 if { (ac_try="$ac_compile"
15753 case "(($ac_try" in
15754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15755 *) ac_try_echo=$ac_try;;
15757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15758 (eval "$ac_compile") 2>conftest.er1
15760 grep -v '^
*+' conftest.er1 >conftest.err
15762 cat conftest.err >&5
15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); } && {
15765 test -z "$ac_c_werror_flag" ||
15766 test ! -s conftest.err
15767 } && test -s conftest.$ac_objext; then
15768 bakefile_cv_c_compiler___SUNPRO_C=yes
15770 echo "$as_me: failed program was:" >&5
15771 sed 's
/^
/| /' conftest.$ac_ext >&5
15773 bakefile_cv_c_compiler___SUNPRO_C=no
15777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15781 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15782 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15783 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15789 ac_cpp='$CPP $CPPFLAGS'
15790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15791 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15803 ac_cpp='$CPP $CPPFLAGS'
15804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15805 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15808 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15809 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15810 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15811 echo $ECHO_N "(cached) $ECHO_C" >&6
15813 cat >conftest.$ac_ext <<_ACEOF
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15832 rm -f conftest.$ac_objext
15833 if { (ac_try="$ac_compile"
15834 case "(($ac_try" in
15835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15836 *) ac_try_echo=$ac_try;;
15838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15839 (eval "$ac_compile") 2>conftest.er1
15841 grep -v '^
*+' conftest.er1 >conftest.err
15843 cat conftest.err >&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); } && {
15846 test -z "$ac_c_werror_flag" ||
15847 test ! -s conftest.err
15848 } && test -s conftest.$ac_objext; then
15849 bakefile_cv_c_compiler___HP_cc=yes
15851 echo "$as_me: failed program was:" >&5
15852 sed 's
/^
/| /' conftest.$ac_ext >&5
15854 bakefile_cv_c_compiler___HP_cc=no
15858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15862 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15863 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15864 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15870 ac_cpp='$CPP $CPPFLAGS'
15871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15872 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15883 ac_cpp='$CPP $CPPFLAGS'
15884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15885 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15888 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15889 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15890 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15891 echo $ECHO_N "(cached) $ECHO_C" >&6
15893 cat >conftest.$ac_ext <<_ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15912 rm -f conftest.$ac_objext
15913 if { (ac_try="$ac_compile"
15914 case "(($ac_try" in
15915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15916 *) ac_try_echo=$ac_try;;
15918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15919 (eval "$ac_compile") 2>conftest.er1
15921 grep -v '^
*+' conftest.er1 >conftest.err
15923 cat conftest.err >&5
15924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15925 (exit $ac_status); } && {
15926 test -z "$ac_c_werror_flag" ||
15927 test ! -s conftest.err
15928 } && test -s conftest.$ac_objext; then
15929 bakefile_cv_c_compiler___DECC=yes
15931 echo "$as_me: failed program was:" >&5
15932 sed 's
/^
/| /' conftest.$ac_ext >&5
15934 bakefile_cv_c_compiler___DECC=no
15938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15942 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15943 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15944 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15950 ac_cpp='$CPP $CPPFLAGS'
15951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15952 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15963 ac_cpp='$CPP $CPPFLAGS'
15964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
15965 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
15966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15968 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15969 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15970 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15971 echo $ECHO_N "(cached) $ECHO_C" >&6
15973 cat >conftest.$ac_ext <<_ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15992 rm -f conftest.$ac_objext
15993 if { (ac_try="$ac_compile"
15994 case "(($ac_try" in
15995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15996 *) ac_try_echo=$ac_try;;
15998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15999 (eval "$ac_compile") 2>conftest.er1
16001 grep -v '^
*+' conftest.er1 >conftest.err
16003 cat conftest.err >&5
16004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16005 (exit $ac_status); } && {
16006 test -z "$ac_c_werror_flag" ||
16007 test ! -s conftest.err
16008 } && test -s conftest.$ac_objext; then
16009 bakefile_cv_c_compiler___SUNPRO_C=yes
16011 echo "$as_me: failed program was:" >&5
16012 sed 's
/^
/| /' conftest.$ac_ext >&5
16014 bakefile_cv_c_compiler___SUNPRO_C=no
16018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16022 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16023 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16024 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16030 ac_cpp='$CPP $CPPFLAGS'
16031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16032 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16044 ac_cpp='$CPP $CPPFLAGS'
16045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16046 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16048 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16049 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16050 # On Suns, sometimes $CPP names a directory.
16051 if test -n "$CPP" && test -d "$CPP"; then
16054 if test -z "$CPP"; then
16055 if test "${ac_cv_prog_CPP+set}" = set; then
16056 echo $ECHO_N "(cached) $ECHO_C" >&6
16058 # Double quotes because CPP needs to be expanded
16059 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16061 ac_preproc_ok=false
16062 for ac_c_preproc_warn_flag in '' yes
16064 # Use a header file that comes with gcc, so configuring glibc
16065 # with a fresh cross-compiler works.
16066 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16067 # <limits.h> exists even on freestanding compilers.
16068 # On the NeXT, cc -E runs the code through the compiler's parser
,
16069 # not just through cpp. "Syntax error" is here to catch this case.
16070 cat >conftest.
$ac_ext <<_ACEOF
16073 cat confdefs.h
>>conftest.
$ac_ext
16074 cat >>conftest.
$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16077 # include <limits.h>
16079 # include <assert.h>
16083 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16084 case "(($ac_try" in
16085 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16086 *) ac_try_echo=$ac_try;;
16088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16089 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16091 grep -v '^ *+' conftest.er1 >conftest.err
16093 cat conftest.err >&5
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); } >/dev/null && {
16096 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16097 test ! -s conftest.err
16101 echo "$as_me: failed program was:" >&5
16102 sed 's/^/| /' conftest.$ac_ext >&5
16104 # Broken: fails on valid input.
16108 rm -f conftest.err conftest.$ac_ext
16110 # OK, works on sane cases. Now check whether nonexistent headers
16111 # can be detected and how.
16112 cat >conftest.$ac_ext <<_ACEOF
16115 cat confdefs.h >>conftest.$ac_ext
16116 cat >>conftest.$ac_ext <<_ACEOF
16117 /* end confdefs.h. */
16118 #include <ac_nonexistent.h>
16120 if { (ac_try="$ac_cpp conftest.$ac_ext"
16121 case "(($ac_try" in
16122 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16123 *) ac_try_echo
=$ac_try;;
16125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16128 grep -v '^ *+' conftest.er1
>conftest.err
16130 cat conftest.err
>&5
16131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16132 (exit $ac_status); } >/dev
/null
&& {
16133 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16134 test ! -s conftest.err
16136 # Broken: success on invalid input.
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.
$ac_ext >&5
16142 # Passes both tests.
16147 rm -f conftest.err conftest.
$ac_ext
16150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16151 rm -f conftest.err conftest.
$ac_ext
16152 if $ac_preproc_ok; then
16157 ac_cv_prog_CPP
=$CPP
16160 CPP
=$ac_cv_prog_CPP
16162 ac_cv_prog_CPP
=$CPP
16164 { echo "$as_me:$LINENO: result: $CPP" >&5
16165 echo "${ECHO_T}$CPP" >&6; }
16166 ac_preproc_ok
=false
16167 for ac_c_preproc_warn_flag
in '' yes
16169 # Use a header file that comes with gcc, so configuring glibc
16170 # with a fresh cross-compiler works.
16171 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16172 # <limits.h> exists even on freestanding compilers.
16173 # On the NeXT, cc -E runs the code through the compiler's parser,
16174 # not just through cpp. "Syntax error" is here to catch this case.
16175 cat >conftest.
$ac_ext <<_ACEOF
16178 cat confdefs.h
>>conftest.
$ac_ext
16179 cat >>conftest.
$ac_ext <<_ACEOF
16180 /* end confdefs.h. */
16182 # include <limits.h>
16184 # include <assert.h>
16188 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16189 case "(($ac_try" in
16190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16191 *) ac_try_echo=$ac_try;;
16193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16194 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16196 grep -v '^ *+' conftest.er1 >conftest.err
16198 cat conftest.err >&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } >/dev/null && {
16201 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16202 test ! -s conftest.err
16206 echo "$as_me: failed program was:" >&5
16207 sed 's/^/| /' conftest.$ac_ext >&5
16209 # Broken: fails on valid input.
16213 rm -f conftest.err conftest.$ac_ext
16215 # OK, works on sane cases. Now check whether nonexistent headers
16216 # can be detected and how.
16217 cat >conftest.$ac_ext <<_ACEOF
16220 cat confdefs.h >>conftest.$ac_ext
16221 cat >>conftest.$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 #include <ac_nonexistent.h>
16225 if { (ac_try="$ac_cpp conftest.$ac_ext"
16226 case "(($ac_try" in
16227 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16228 *) ac_try_echo
=$ac_try;;
16230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16231 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16233 grep -v '^ *+' conftest.er1
>conftest.err
16235 cat conftest.err
>&5
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); } >/dev
/null
&& {
16238 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16239 test ! -s conftest.err
16241 # Broken: success on invalid input.
16244 echo "$as_me: failed program was:" >&5
16245 sed 's/^/| /' conftest.
$ac_ext >&5
16247 # Passes both tests.
16252 rm -f conftest.err conftest.
$ac_ext
16255 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16256 rm -f conftest.err conftest.
$ac_ext
16257 if $ac_preproc_ok; then
16260 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16261 See \`config.log' for more details." >&5
16262 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16263 See \`config.log' for more details." >&2;}
16264 { (exit 1); exit 1; }; }
16268 ac_cpp
='$CPP $CPPFLAGS'
16269 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16270 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16271 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16274 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16275 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16276 if test "${ac_cv_path_GREP+set}" = set; then
16277 echo $ECHO_N "(cached) $ECHO_C" >&6
16279 # Extract the first word of "grep ggrep" to use in msg output
16280 if test -z "$GREP"; then
16281 set dummy
grep ggrep
; ac_prog_name
=$2
16282 if test "${ac_cv_path_GREP+set}" = set; then
16283 echo $ECHO_N "(cached) $ECHO_C" >&6
16285 ac_path_GREP_found
=false
16286 # Loop through the user's path and test for each of PROGNAME-LIST
16287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16288 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16291 test -z "$as_dir" && as_dir
=.
16292 for ac_prog
in grep ggrep
; do
16293 for ac_exec_ext
in '' $ac_executable_extensions; do
16294 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
16295 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16296 # Check for GNU ac_path_GREP and select it if it is found.
16297 # Check for GNU $ac_path_GREP
16298 case `"$ac_path_GREP" --version 2>&1` in
16300 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
16303 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16306 cat "conftest.in" "conftest.in" >"conftest.tmp"
16307 mv "conftest.tmp" "conftest.in"
16308 cp "conftest.in" "conftest.nl"
16309 echo 'GREP' >> "conftest.nl"
16310 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16311 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16312 ac_count
=`expr $ac_count + 1`
16313 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16314 # Best one so far, save it but keep looking for a better one
16315 ac_cv_path_GREP
="$ac_path_GREP"
16316 ac_path_GREP_max
=$ac_count
16318 # 10*(2^10) chars as input seems more than enough
16319 test $ac_count -gt 10 && break
16321 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16325 $ac_path_GREP_found && break 3
16335 GREP
="$ac_cv_path_GREP"
16336 if test -z "$GREP"; then
16337 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16338 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16339 { (exit 1); exit 1; }; }
16343 ac_cv_path_GREP
=$GREP
16348 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16349 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16350 GREP
="$ac_cv_path_GREP"
16353 { echo "$as_me:$LINENO: checking for egrep" >&5
16354 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16355 if test "${ac_cv_path_EGREP+set}" = set; then
16356 echo $ECHO_N "(cached) $ECHO_C" >&6
16358 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
16359 then ac_cv_path_EGREP
="$GREP -E"
16361 # Extract the first word of "egrep" to use in msg output
16362 if test -z "$EGREP"; then
16363 set dummy
egrep; ac_prog_name
=$2
16364 if test "${ac_cv_path_EGREP+set}" = set; then
16365 echo $ECHO_N "(cached) $ECHO_C" >&6
16367 ac_path_EGREP_found
=false
16368 # Loop through the user's path and test for each of PROGNAME-LIST
16369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16370 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
16373 test -z "$as_dir" && as_dir
=.
16374 for ac_prog
in egrep; do
16375 for ac_exec_ext
in '' $ac_executable_extensions; do
16376 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
16377 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16378 # Check for GNU ac_path_EGREP and select it if it is found.
16379 # Check for GNU $ac_path_EGREP
16380 case `"$ac_path_EGREP" --version 2>&1` in
16382 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
16385 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16388 cat "conftest.in" "conftest.in" >"conftest.tmp"
16389 mv "conftest.tmp" "conftest.in"
16390 cp "conftest.in" "conftest.nl"
16391 echo 'EGREP' >> "conftest.nl"
16392 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
16393 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
16394 ac_count
=`expr $ac_count + 1`
16395 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16396 # Best one so far, save it but keep looking for a better one
16397 ac_cv_path_EGREP
="$ac_path_EGREP"
16398 ac_path_EGREP_max
=$ac_count
16400 # 10*(2^10) chars as input seems more than enough
16401 test $ac_count -gt 10 && break
16403 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
16407 $ac_path_EGREP_found && break 3
16417 EGREP
="$ac_cv_path_EGREP"
16418 if test -z "$EGREP"; then
16419 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16420 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16421 { (exit 1); exit 1; }; }
16425 ac_cv_path_EGREP
=$EGREP
16431 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16432 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16433 EGREP
="$ac_cv_path_EGREP"
16436 if test $ac_cv_c_compiler_gnu = yes; then
16437 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16438 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16439 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16440 echo $ECHO_N "(cached) $ECHO_C" >&6
16442 ac_pattern
="Autoconf.*'x'"
16443 cat >conftest.
$ac_ext <<_ACEOF
16446 cat confdefs.h
>>conftest.
$ac_ext
16447 cat >>conftest.
$ac_ext <<_ACEOF
16448 /* end confdefs.h. */
16452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16453 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16454 ac_cv_prog_gcc_traditional
=yes
16456 ac_cv_prog_gcc_traditional
=no
16461 if test $ac_cv_prog_gcc_traditional = no
; then
16462 cat >conftest.
$ac_ext <<_ACEOF
16465 cat confdefs.h
>>conftest.
$ac_ext
16466 cat >>conftest.
$ac_ext <<_ACEOF
16467 /* end confdefs.h. */
16468 #include <termio.h>
16471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16472 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
16473 ac_cv_prog_gcc_traditional
=yes
16479 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16480 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16481 if test $ac_cv_prog_gcc_traditional = yes; then
16482 CC
="$CC -traditional"
16487 CXXFLAGS
=${CXXFLAGS:=}
16492 ac_cpp
='$CXXCPP $CPPFLAGS'
16493 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16494 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16495 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16496 if test -z "$CXX"; then
16497 if test -n "$CCC"; then
16500 if test -n "$ac_tool_prefix"; then
16501 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16503 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16504 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
16505 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16507 if test "${ac_cv_prog_CXX+set}" = set; then
16508 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 if test -n "$CXX"; then
16511 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
16513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16514 for as_dir
in $PATH
16517 test -z "$as_dir" && as_dir
=.
16518 for ac_exec_ext
in '' $ac_executable_extensions; do
16519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16520 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
16521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16530 CXX
=$ac_cv_prog_CXX
16531 if test -n "$CXX"; then
16532 { echo "$as_me:$LINENO: result: $CXX" >&5
16533 echo "${ECHO_T}$CXX" >&6; }
16535 { echo "$as_me:$LINENO: result: no" >&5
16536 echo "${ECHO_T}no" >&6; }
16540 test -n "$CXX" && break
16543 if test -z "$CXX"; then
16545 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
16547 # Extract the first word of "$ac_prog", so it can be a program name with args.
16548 set dummy
$ac_prog; ac_word
=$2
16549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16551 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16552 echo $ECHO_N "(cached) $ECHO_C" >&6
16554 if test -n "$ac_ct_CXX"; then
16555 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
16557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16558 for as_dir
in $PATH
16561 test -z "$as_dir" && as_dir
=.
16562 for ac_exec_ext
in '' $ac_executable_extensions; do
16563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16564 ac_cv_prog_ac_ct_CXX
="$ac_prog"
16565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16574 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
16575 if test -n "$ac_ct_CXX"; then
16576 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16577 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16579 { echo "$as_me:$LINENO: result: no" >&5
16580 echo "${ECHO_T}no" >&6; }
16584 test -n "$ac_ct_CXX" && break
16587 if test "x$ac_ct_CXX" = x
; then
16590 case $cross_compiling:$ac_tool_warned in
16592 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16593 whose name does not start with the host triplet. If you think this
16594 configuration is useful to you, please write to autoconf@gnu.org." >&5
16595 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16596 whose name does not start with the host triplet. If you think this
16597 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16598 ac_tool_warned
=yes ;;
16606 # Provide some information about the compiler.
16607 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16608 ac_compiler
=`set X $ac_compile; echo $2`
16609 { (ac_try
="$ac_compiler --version >&5"
16610 case "(($ac_try" in
16611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16612 *) ac_try_echo=$ac_try;;
16614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16615 (eval "$ac_compiler --version >&5") 2>&5
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); }
16619 { (ac_try="$ac_compiler -v >&5"
16620 case "(($ac_try" in
16621 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16622 *) ac_try_echo
=$ac_try;;
16624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16625 (eval "$ac_compiler -v >&5") 2>&5
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }
16629 { (ac_try
="$ac_compiler -V >&5"
16630 case "(($ac_try" in
16631 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16632 *) ac_try_echo=$ac_try;;
16634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16635 (eval "$ac_compiler -V >&5") 2>&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); }
16640 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16641 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16642 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 cat >conftest.$ac_ext <<_ACEOF
16648 cat confdefs.h >>conftest.$ac_ext
16649 cat >>conftest.$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16663 rm -f conftest.$ac_objext
16664 if { (ac_try="$ac_compile"
16665 case "(($ac_try" in
16666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16667 *) ac_try_echo
=$ac_try;;
16669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16670 (eval "$ac_compile") 2>conftest.er1
16672 grep -v '^ *+' conftest.er1
>conftest.err
16674 cat conftest.err
>&5
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); } && {
16677 test -z "$ac_cxx_werror_flag" ||
16678 test ! -s conftest.err
16679 } && test -s conftest.
$ac_objext; then
16680 ac_compiler_gnu
=yes
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.
$ac_ext >&5
16688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16689 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
16692 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16693 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16694 GXX
=`test $ac_compiler_gnu = yes && echo yes`
16695 ac_test_CXXFLAGS
=${CXXFLAGS+set}
16696 ac_save_CXXFLAGS
=$CXXFLAGS
16697 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16698 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16699 if test "${ac_cv_prog_cxx_g+set}" = set; then
16700 echo $ECHO_N "(cached) $ECHO_C" >&6
16702 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
16703 ac_cxx_werror_flag
=yes
16704 ac_cv_prog_cxx_g
=no
16706 cat >conftest.
$ac_ext <<_ACEOF
16709 cat confdefs.h
>>conftest.
$ac_ext
16710 cat >>conftest.
$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16721 rm -f conftest.
$ac_objext
16722 if { (ac_try
="$ac_compile"
16723 case "(($ac_try" in
16724 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16725 *) ac_try_echo=$ac_try;;
16727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16728 (eval "$ac_compile") 2>conftest.er1
16730 grep -v '^ *+' conftest.er1 >conftest.err
16732 cat conftest.err >&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } && {
16735 test -z "$ac_cxx_werror_flag" ||
16736 test ! -s conftest.err
16737 } && test -s conftest.$ac_objext; then
16738 ac_cv_prog_cxx_g=yes
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.$ac_ext >&5
16744 cat >conftest.$ac_ext <<_ACEOF
16747 cat confdefs.h >>conftest.$ac_ext
16748 cat >>conftest.$ac_ext <<_ACEOF
16749 /* end confdefs.h. */
16759 rm -f conftest.$ac_objext
16760 if { (ac_try="$ac_compile"
16761 case "(($ac_try" in
16762 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16763 *) ac_try_echo
=$ac_try;;
16765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16766 (eval "$ac_compile") 2>conftest.er1
16768 grep -v '^ *+' conftest.er1
>conftest.err
16770 cat conftest.err
>&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); } && {
16773 test -z "$ac_cxx_werror_flag" ||
16774 test ! -s conftest.err
16775 } && test -s conftest.
$ac_objext; then
16778 echo "$as_me: failed program was:" >&5
16779 sed 's/^/| /' conftest.
$ac_ext >&5
16781 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
16783 cat >conftest.
$ac_ext <<_ACEOF
16786 cat confdefs.h
>>conftest.
$ac_ext
16787 cat >>conftest.
$ac_ext <<_ACEOF
16788 /* end confdefs.h. */
16798 rm -f conftest.
$ac_objext
16799 if { (ac_try
="$ac_compile"
16800 case "(($ac_try" in
16801 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16802 *) ac_try_echo=$ac_try;;
16804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16805 (eval "$ac_compile") 2>conftest.er1
16807 grep -v '^ *+' conftest.er1 >conftest.err
16809 cat conftest.err >&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } && {
16812 test -z "$ac_cxx_werror_flag" ||
16813 test ! -s conftest.err
16814 } && test -s conftest.$ac_objext; then
16815 ac_cv_prog_cxx_g=yes
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.$ac_ext >&5
16823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16830 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16832 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16833 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16834 if test "$ac_test_CXXFLAGS" = set; then
16835 CXXFLAGS=$ac_save_CXXFLAGS
16836 elif test $ac_cv_prog_cxx_g = yes; then
16837 if test "$GXX" = yes; then
16843 if test "$GXX" = yes; then
16850 ac_cpp='$CPP $CPPFLAGS'
16851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16859 ac_cpp='$CXXCPP $CPPFLAGS'
16860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16864 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16865 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16866 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16867 echo $ECHO_N "(cached) $ECHO_C" >&6
16869 cat >conftest.$ac_ext <<_ACEOF
16872 cat confdefs.h >>conftest.$ac_ext
16873 cat >>conftest.$ac_ext <<_ACEOF
16874 /* end confdefs.h. */
16880 #ifndef __INTEL_COMPILER
16888 rm -f conftest.$ac_objext
16889 if { (ac_try="$ac_compile"
16890 case "(($ac_try" in
16891 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16892 *) ac_try_echo
=$ac_try;;
16894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16895 (eval "$ac_compile") 2>conftest.er1
16897 grep -v '^ *+' conftest.er1
>conftest.err
16899 cat conftest.err
>&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); } && {
16902 test -z "$ac_cxx_werror_flag" ||
16903 test ! -s conftest.err
16904 } && test -s conftest.
$ac_objext; then
16905 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
16907 echo "$as_me: failed program was:" >&5
16908 sed 's/^/| /' conftest.
$ac_ext >&5
16910 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
16914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16918 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16919 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16920 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16926 ac_cpp
='$CPP $CPPFLAGS'
16927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16934 if test "$INTELCXX" = "yes"; then
16938 ac_cpp
='$CXXCPP $CPPFLAGS'
16939 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16940 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16941 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16943 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16944 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16945 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 cat >conftest.
$ac_ext <<_ACEOF
16951 cat confdefs.h
>>conftest.
$ac_ext
16952 cat >>conftest.
$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16959 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16967 rm -f conftest.
$ac_objext
16968 if { (ac_try
="$ac_compile"
16969 case "(($ac_try" in
16970 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
16971 *) ac_try_echo=$ac_try;;
16973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16974 (eval "$ac_compile") 2>conftest.er1
16976 grep -v '^ *+' conftest.er1 >conftest.err
16978 cat conftest.err >&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); } && {
16981 test -z "$ac_cxx_werror_flag" ||
16982 test ! -s conftest.err
16983 } && test -s conftest.$ac_objext; then
16984 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16986 echo "$as_me: failed program was:" >&5
16987 sed 's/^/| /' conftest.$ac_ext >&5
16989 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
16993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16997 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
16998 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
16999 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17005 ac_cpp='$CPP $CPPFLAGS'
17006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17015 ac_cpp='$CXXCPP $CPPFLAGS'
17016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17020 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17021 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17022 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17023 echo $ECHO_N "(cached) $ECHO_C" >&6
17025 cat >conftest.$ac_ext <<_ACEOF
17028 cat confdefs.h >>conftest.$ac_ext
17029 cat >>conftest.$ac_ext <<_ACEOF
17030 /* end confdefs.h. */
17036 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17044 rm -f conftest.$ac_objext
17045 if { (ac_try="$ac_compile"
17046 case "(($ac_try" in
17047 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17048 *) ac_try_echo
=$ac_try;;
17050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17051 (eval "$ac_compile") 2>conftest.er1
17053 grep -v '^ *+' conftest.er1
>conftest.err
17055 cat conftest.err
>&5
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); } && {
17058 test -z "$ac_cxx_werror_flag" ||
17059 test ! -s conftest.err
17060 } && test -s conftest.
$ac_objext; then
17061 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
17063 echo "$as_me: failed program was:" >&5
17064 sed 's/^/| /' conftest.
$ac_ext >&5
17066 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
17070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17074 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17075 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17076 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17082 ac_cpp
='$CPP $CPPFLAGS'
17083 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17084 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17085 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17091 if test "x$GCXX" != "xyes"; then
17092 if test "xCXX" = "xC"; then
17093 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17094 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17095 if test "${bakefile_cv_c_exto+set}" = set; then
17096 echo $ECHO_N "(cached) $ECHO_C" >&6
17098 cat >conftest.
$ac_ext <<_ACEOF
17101 cat confdefs.h
>>conftest.
$ac_ext
17102 cat >>conftest.
$ac_ext <<_ACEOF
17103 /* end confdefs.h. */
17113 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17115 (eval $ac_compile) 2>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }; then
17119 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17121 conftest.
$ac_ext.o
)
17122 bakefile_cv_c_exto
="-ext o"
17129 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17130 See \`config.log' for more details." >&5
17131 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17132 See \`config.log' for more details." >&2;}
17133 { (exit 1); exit 1; }; }
17137 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17140 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17141 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17142 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17143 if test "c" = "c"; then
17144 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17146 if test "c" = "cxx"; then
17147 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17151 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17152 unset ac_cv_prog_cc_g
17153 ac_test_CFLAGS
=${CFLAGS+set}
17154 ac_save_CFLAGS
=$CFLAGS
17155 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17156 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17157 if test "${ac_cv_prog_cc_g+set}" = set; then
17158 echo $ECHO_N "(cached) $ECHO_C" >&6
17160 ac_save_c_werror_flag
=$ac_c_werror_flag
17161 ac_c_werror_flag
=yes
17164 cat >conftest.
$ac_ext <<_ACEOF
17167 cat confdefs.h
>>conftest.
$ac_ext
17168 cat >>conftest.
$ac_ext <<_ACEOF
17169 /* end confdefs.h. */
17179 rm -f conftest.
$ac_objext
17180 if { (ac_try
="$ac_compile"
17181 case "(($ac_try" in
17182 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17183 *) ac_try_echo=$ac_try;;
17185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17186 (eval "$ac_compile") 2>conftest.er1
17188 grep -v '^ *+' conftest.er1 >conftest.err
17190 cat conftest.err >&5
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); } && {
17193 test -z "$ac_c_werror_flag" ||
17194 test ! -s conftest.err
17195 } && test -s conftest.$ac_objext; then
17196 ac_cv_prog_cc_g=yes
17198 echo "$as_me: failed program was:" >&5
17199 sed 's/^/| /' conftest.$ac_ext >&5
17202 cat >conftest.$ac_ext <<_ACEOF
17205 cat confdefs.h >>conftest.$ac_ext
17206 cat >>conftest.$ac_ext <<_ACEOF
17207 /* end confdefs.h. */
17217 rm -f conftest.$ac_objext
17218 if { (ac_try="$ac_compile"
17219 case "(($ac_try" in
17220 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17221 *) ac_try_echo
=$ac_try;;
17223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17224 (eval "$ac_compile") 2>conftest.er1
17226 grep -v '^ *+' conftest.er1
>conftest.err
17228 cat conftest.err
>&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); } && {
17231 test -z "$ac_c_werror_flag" ||
17232 test ! -s conftest.err
17233 } && test -s conftest.
$ac_objext; then
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.
$ac_ext >&5
17239 ac_c_werror_flag
=$ac_save_c_werror_flag
17241 cat >conftest.
$ac_ext <<_ACEOF
17244 cat confdefs.h
>>conftest.
$ac_ext
17245 cat >>conftest.
$ac_ext <<_ACEOF
17246 /* end confdefs.h. */
17256 rm -f conftest.
$ac_objext
17257 if { (ac_try
="$ac_compile"
17258 case "(($ac_try" in
17259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17260 *) ac_try_echo=$ac_try;;
17262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17263 (eval "$ac_compile") 2>conftest.er1
17265 grep -v '^ *+' conftest.er1 >conftest.err
17267 cat conftest.err >&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); } && {
17270 test -z "$ac_c_werror_flag" ||
17271 test ! -s conftest.err
17272 } && test -s conftest.$ac_objext; then
17273 ac_cv_prog_cc_g=yes
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17288 ac_c_werror_flag=$ac_save_c_werror_flag
17290 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17291 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17292 if test "$ac_test_CFLAGS" = set; then
17293 CFLAGS=$ac_save_CFLAGS
17294 elif test $ac_cv_prog_cc_g = yes; then
17295 if test "$GCC" = yes; then
17301 if test "$GCC" = yes; then
17315 ac_cpp='$CXXCPP $CPPFLAGS'
17316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17320 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17321 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17322 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17323 echo $ECHO_N "(cached) $ECHO_C" >&6
17325 cat >conftest.$ac_ext <<_ACEOF
17328 cat confdefs.h >>conftest.$ac_ext
17329 cat >>conftest.$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17344 rm -f conftest.$ac_objext
17345 if { (ac_try="$ac_compile"
17346 case "(($ac_try" in
17347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17348 *) ac_try_echo
=$ac_try;;
17350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17351 (eval "$ac_compile") 2>conftest.er1
17353 grep -v '^ *+' conftest.er1
>conftest.err
17355 cat conftest.err
>&5
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); } && {
17358 test -z "$ac_cxx_werror_flag" ||
17359 test ! -s conftest.err
17360 } && test -s conftest.
$ac_objext; then
17361 bakefile_cv_cxx_compiler___xlC__
=yes
17363 echo "$as_me: failed program was:" >&5
17364 sed 's/^/| /' conftest.
$ac_ext >&5
17366 bakefile_cv_cxx_compiler___xlC__
=no
17370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17374 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17375 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17376 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17382 ac_cpp
='$CPP $CPPFLAGS'
17383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17395 ac_cpp
='$CXXCPP $CPPFLAGS'
17396 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17397 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17398 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17400 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17401 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17402 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17403 echo $ECHO_N "(cached) $ECHO_C" >&6
17405 cat >conftest.
$ac_ext <<_ACEOF
17408 cat confdefs.h
>>conftest.
$ac_ext
17409 cat >>conftest.
$ac_ext <<_ACEOF
17410 /* end confdefs.h. */
17424 rm -f conftest.
$ac_objext
17425 if { (ac_try
="$ac_compile"
17426 case "(($ac_try" in
17427 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17428 *) ac_try_echo=$ac_try;;
17430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17431 (eval "$ac_compile") 2>conftest.er1
17433 grep -v '^ *+' conftest.er1 >conftest.err
17435 cat conftest.err >&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); } && {
17438 test -z "$ac_cxx_werror_flag" ||
17439 test ! -s conftest.err
17440 } && test -s conftest.$ac_objext; then
17441 bakefile_cv_cxx_compiler___MWERKS__=yes
17443 echo "$as_me: failed program was:" >&5
17444 sed 's/^/| /' conftest.$ac_ext >&5
17446 bakefile_cv_cxx_compiler___MWERKS__=no
17450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17454 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17455 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17456 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17462 ac_cpp='$CPP $CPPFLAGS'
17463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17469 if test "$MWCXX" != "yes"; then
17473 ac_cpp='$CXXCPP $CPPFLAGS'
17474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17478 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17479 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17480 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17481 echo $ECHO_N "(cached) $ECHO_C" >&6
17483 cat >conftest.$ac_ext <<_ACEOF
17486 cat confdefs.h >>conftest.$ac_ext
17487 cat >>conftest.$ac_ext <<_ACEOF
17488 /* end confdefs.h. */
17502 rm -f conftest.$ac_objext
17503 if { (ac_try="$ac_compile"
17504 case "(($ac_try" in
17505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17506 *) ac_try_echo
=$ac_try;;
17508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17509 (eval "$ac_compile") 2>conftest.er1
17511 grep -v '^ *+' conftest.er1
>conftest.err
17513 cat conftest.err
>&5
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); } && {
17516 test -z "$ac_cxx_werror_flag" ||
17517 test ! -s conftest.err
17518 } && test -s conftest.
$ac_objext; then
17519 bakefile_cv_cxx_compiler___xlC__
=yes
17521 echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.
$ac_ext >&5
17524 bakefile_cv_cxx_compiler___xlC__
=no
17528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17532 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17533 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17534 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17540 ac_cpp
='$CPP $CPPFLAGS'
17541 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17542 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17543 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17554 ac_cpp
='$CXXCPP $CPPFLAGS'
17555 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17556 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17557 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17559 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17560 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17561 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17562 echo $ECHO_N "(cached) $ECHO_C" >&6
17564 cat >conftest.
$ac_ext <<_ACEOF
17567 cat confdefs.h
>>conftest.
$ac_ext
17568 cat >>conftest.
$ac_ext <<_ACEOF
17569 /* end confdefs.h. */
17575 #ifndef _SGI_COMPILER_VERSION
17583 rm -f conftest.
$ac_objext
17584 if { (ac_try
="$ac_compile"
17585 case "(($ac_try" in
17586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17587 *) ac_try_echo=$ac_try;;
17589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17590 (eval "$ac_compile") 2>conftest.er1
17592 grep -v '^ *+' conftest.er1 >conftest.err
17594 cat conftest.err >&5
17595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596 (exit $ac_status); } && {
17597 test -z "$ac_cxx_werror_flag" ||
17598 test ! -s conftest.err
17599 } && test -s conftest.$ac_objext; then
17600 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17602 echo "$as_me: failed program was:" >&5
17603 sed 's/^/| /' conftest.$ac_ext >&5
17605 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17614 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17615 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17621 ac_cpp='$CPP $CPPFLAGS'
17622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17631 if test "$INTELCXX" != "yes"; then
17635 ac_cpp='$CXXCPP $CPPFLAGS'
17636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17640 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17641 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17642 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17643 echo $ECHO_N "(cached) $ECHO_C" >&6
17645 cat >conftest.$ac_ext <<_ACEOF
17648 cat confdefs.h >>conftest.$ac_ext
17649 cat >>conftest.$ac_ext <<_ACEOF
17650 /* end confdefs.h. */
17656 #ifndef __SUNPRO_CC
17664 rm -f conftest.$ac_objext
17665 if { (ac_try="$ac_compile"
17666 case "(($ac_try" in
17667 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17668 *) ac_try_echo
=$ac_try;;
17670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17671 (eval "$ac_compile") 2>conftest.er1
17673 grep -v '^ *+' conftest.er1
>conftest.err
17675 cat conftest.err
>&5
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } && {
17678 test -z "$ac_cxx_werror_flag" ||
17679 test ! -s conftest.err
17680 } && test -s conftest.
$ac_objext; then
17681 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
17683 echo "$as_me: failed program was:" >&5
17684 sed 's/^/| /' conftest.
$ac_ext >&5
17686 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
17690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17694 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17695 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17696 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17702 ac_cpp
='$CPP $CPPFLAGS'
17703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17716 ac_cpp
='$CXXCPP $CPPFLAGS'
17717 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17718 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17719 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17721 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17722 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17723 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17724 echo $ECHO_N "(cached) $ECHO_C" >&6
17726 cat >conftest.
$ac_ext <<_ACEOF
17729 cat confdefs.h
>>conftest.
$ac_ext
17730 cat >>conftest.
$ac_ext <<_ACEOF
17731 /* end confdefs.h. */
17745 rm -f conftest.
$ac_objext
17746 if { (ac_try
="$ac_compile"
17747 case "(($ac_try" in
17748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17749 *) ac_try_echo=$ac_try;;
17751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17752 (eval "$ac_compile") 2>conftest.er1
17754 grep -v '^ *+' conftest.er1 >conftest.err
17756 cat conftest.err >&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } && {
17759 test -z "$ac_cxx_werror_flag" ||
17760 test ! -s conftest.err
17761 } && test -s conftest.$ac_objext; then
17762 bakefile_cv_cxx_compiler___HP_aCC=yes
17764 echo "$as_me: failed program was:" >&5
17765 sed 's/^/| /' conftest.$ac_ext >&5
17767 bakefile_cv_cxx_compiler___HP_aCC=no
17771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17775 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17776 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17777 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17783 ac_cpp='$CPP $CPPFLAGS'
17784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17796 ac_cpp='$CXXCPP $CPPFLAGS'
17797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17801 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17802 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17803 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17804 echo $ECHO_N "(cached) $ECHO_C" >&6
17806 cat >conftest.$ac_ext <<_ACEOF
17809 cat confdefs.h >>conftest.$ac_ext
17810 cat >>conftest.$ac_ext <<_ACEOF
17811 /* end confdefs.h. */
17825 rm -f conftest.$ac_objext
17826 if { (ac_try="$ac_compile"
17827 case "(($ac_try" in
17828 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17829 *) ac_try_echo
=$ac_try;;
17831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17832 (eval "$ac_compile") 2>conftest.er1
17834 grep -v '^ *+' conftest.er1
>conftest.err
17836 cat conftest.err
>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); } && {
17839 test -z "$ac_cxx_werror_flag" ||
17840 test ! -s conftest.err
17841 } && test -s conftest.
$ac_objext; then
17842 bakefile_cv_cxx_compiler___DECCXX
=yes
17844 echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.
$ac_ext >&5
17847 bakefile_cv_cxx_compiler___DECCXX
=no
17851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17855 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17856 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17857 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17863 ac_cpp
='$CPP $CPPFLAGS'
17864 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17865 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17866 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17876 ac_cpp
='$CXXCPP $CPPFLAGS'
17877 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17878 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17879 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17881 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17882 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17883 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17884 echo $ECHO_N "(cached) $ECHO_C" >&6
17886 cat >conftest.
$ac_ext <<_ACEOF
17889 cat confdefs.h
>>conftest.
$ac_ext
17890 cat >>conftest.
$ac_ext <<_ACEOF
17891 /* end confdefs.h. */
17897 #ifndef __SUNPRO_CC
17905 rm -f conftest.
$ac_objext
17906 if { (ac_try
="$ac_compile"
17907 case "(($ac_try" in
17908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17909 *) ac_try_echo=$ac_try;;
17911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17912 (eval "$ac_compile") 2>conftest.er1
17914 grep -v '^ *+' conftest.er1 >conftest.err
17916 cat conftest.err >&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } && {
17919 test -z "$ac_cxx_werror_flag" ||
17920 test ! -s conftest.err
17921 } && test -s conftest.$ac_objext; then
17922 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17924 echo "$as_me: failed program was:" >&5
17925 sed 's/^/| /' conftest.$ac_ext >&5
17927 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17935 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17936 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17937 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17943 ac_cpp='$CPP $CPPFLAGS'
17944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17956 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17957 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17958 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17959 { (exit 1); exit 1; }; }
17962 if test "x$SUNCXX" != xyes; then
17963 if test -n "$ac_tool_prefix"; then
17964 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17965 set dummy ${ac_tool_prefix}ar; ac_word=$2
17966 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17968 if test "${ac_cv_prog_AR+set}" = set; then
17969 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 if test -n "$AR"; then
17972 ac_cv_prog_AR="$AR" # Let the user override the test.
17974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17975 for as_dir in $PATH
17978 test -z "$as_dir" && as_dir=.
17979 for ac_exec_ext in '' $ac_executable_extensions; do
17980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17981 ac_cv_prog_AR="${ac_tool_prefix}ar"
17982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17992 if test -n "$AR"; then
17993 { echo "$as_me:$LINENO: result: $AR" >&5
17994 echo "${ECHO_T}$AR" >&6; }
17996 { echo "$as_me:$LINENO: result: no" >&5
17997 echo "${ECHO_T}no" >&6; }
18002 if test -z "$ac_cv_prog_AR"; then
18004 # Extract the first word of "ar", so it can be a program name with args.
18005 set dummy ar; ac_word=$2
18006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18008 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18009 echo $ECHO_N "(cached) $ECHO_C" >&6
18011 if test -n "$ac_ct_AR"; then
18012 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18015 for as_dir in $PATH
18018 test -z "$as_dir" && as_dir=.
18019 for ac_exec_ext in '' $ac_executable_extensions; do
18020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18021 ac_cv_prog_ac_ct_AR="ar"
18022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18031 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18032 if test -n "$ac_ct_AR"; then
18033 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18034 echo "${ECHO_T}$ac_ct_AR" >&6; }
18036 { echo "$as_me:$LINENO: result: no" >&5
18037 echo "${ECHO_T}no" >&6; }
18040 if test "x$ac_ct_AR" = x; then
18043 case $cross_compiling:$ac_tool_warned in
18045 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18046 whose name does not start with the host triplet. If you think this
18047 configuration is useful to you, please write to autoconf@gnu.org." >&5
18048 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18049 whose name does not start with the host triplet. If you think this
18050 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18051 ac_tool_warned=yes ;;
18056 AR="$ac_cv_prog_AR"
18059 if test "x$AR" = "x" ; then
18060 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18061 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18062 { (exit 1); exit 1; }; }
18066 retest_macosx_linking=no
18068 #if test "$wxUSE_MAC" = 1; then
18069 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18070 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18071 # Implicitly turn on the new --with-macosx-sdk using the default
18072 # SDK which provides the behavior this option has always had.
18073 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18074 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18075 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18076 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18077 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18078 wxUSE_MACOSX_SDK=yes
18081 # Complain to user if he specified an argument to --enable-universal_binary
18082 # and also 1) specified --with-macosx-sdk using the default (yes) or
18083 # 2) specified --with-macosx-sdk using a path or 3) specified
18084 # --without-macosx-sdk (no).
18085 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18086 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18087 See \`config.log
' for more details." >&5
18088 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18089 See \`config.log' for more details.
" >&2;}
18090 { (exit 1); exit 1; }; }
18092 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18093 # special-case the empty string because the below test simply
18094 # converts "no
" to the empty string anyway.
18095 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18096 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
18097 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
18100 OSX_UNIV_OPTS="-arch ppc
-arch i386
"
18101 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18102 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18103 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18104 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18105 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18106 retest_macosx_linking=yes
18108 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
18109 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
18114 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
18116 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
18117 # TODO: Search for most recent SDK and use it.
18118 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
18122 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
18123 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
18124 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
18125 if ! test -d "$wxUSE_MACOSX_SDK"; then
18126 { { echo "$as_me:$LINENO: error
: not found
18127 See \
`config.log' for more details." >&5
18128 echo "$as_me: error: not found
18129 See \`config.log
' for more details." >&2;}
18130 { (exit 1); exit 1; }; }
18132 { echo "$as_me:$LINENO: result: exists" >&5
18133 echo "${ECHO_T}exists" >&6; }
18135 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18136 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18137 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18138 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18139 retest_macosx_linking=yes
18142 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18143 wxUSE_MACOSX_VERSION_MIN=
18144 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18145 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18146 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18147 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18149 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/'`
18151 # If that failed, try again with the new key
18152 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18154 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/'`
18158 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18159 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18160 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18161 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18163 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18164 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18165 wxUSE_MACOSX_VERSION_MIN=
18168 wxUSE_MACOSX_VERSION_MIN=
18170 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18171 if test "$wxUSE_MAC" = 1; then
18172 # otherwise configure stops on leopard for universal_binary
18173 wxUSE_MACOSX_VERSION_MIN=10.4
18177 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18178 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18179 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18180 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18181 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18182 retest_macosx_linking=yes
18185 if test "x$retest_macosx_linking" = "xyes"; then
18187 ac_cpp='$CPP $CPPFLAGS'
18188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
18189 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
18190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18192 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18193 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18194 cat >conftest.$ac_ext <<_ACEOF
18197 cat confdefs.h >>conftest.$ac_ext
18198 cat >>conftest.$ac_ext <<_ACEOF
18199 /* end confdefs.h. */
18209 rm -f conftest.$ac_objext conftest$ac_exeext
18210 if { (ac_try="$ac_link"
18211 case "(($ac_try" in
18212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18213 *) ac_try_echo=$ac_try;;
18215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18216 (eval "$ac_link") 2>conftest.er1
18218 grep -v '^
*+' conftest.er1 >conftest.err
18220 cat conftest.err >&5
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); } && {
18223 test -z "$ac_c_werror_flag" ||
18224 test ! -s conftest.err
18225 } && test -s conftest$ac_exeext &&
18226 $as_test_x conftest$ac_exeext; then
18227 { echo "$as_me:$LINENO: result: yes" >&5
18228 echo "${ECHO_T}yes" >&6; }
18230 echo "$as_me: failed program was:" >&5
18231 sed 's
/^
/| /' conftest.$ac_ext >&5
18233 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18234 See \`config.log' for more details.
" >&5
18235 echo "$as_me: error
: no. Try a different SDK
18236 See \
`config.log' for more details." >&2;}
18237 { (exit 1); exit 1; }; }; exit 1
18240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18241 conftest$ac_exeext conftest.$ac_ext
18243 ac_cpp='$CPP $CPPFLAGS'
18244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18250 ac_cpp='$CXXCPP $CPPFLAGS'
18251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18255 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18256 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18257 cat >conftest.$ac_ext <<_ACEOF
18260 cat confdefs.h >>conftest.$ac_ext
18261 cat >>conftest.$ac_ext <<_ACEOF
18262 /* end confdefs.h. */
18272 rm -f conftest.$ac_objext conftest$ac_exeext
18273 if { (ac_try="$ac_link"
18274 case "(($ac_try" in
18275 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18276 *) ac_try_echo
=$ac_try;;
18278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18279 (eval "$ac_link") 2>conftest.er1
18281 grep -v '^ *+' conftest.er1
>conftest.err
18283 cat conftest.err
>&5
18284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18285 (exit $ac_status); } && {
18286 test -z "$ac_cxx_werror_flag" ||
18287 test ! -s conftest.err
18288 } && test -s conftest
$ac_exeext &&
18289 $as_test_x conftest
$ac_exeext; then
18290 { echo "$as_me:$LINENO: result: yes" >&5
18291 echo "${ECHO_T}yes" >&6; }
18293 echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.
$ac_ext >&5
18296 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18297 See \`config.log' for more details." >&5
18298 echo "$as_me: error: no. Try a different SDK
18299 See \`config.log' for more details." >&2;}
18300 { (exit 1); exit 1; }; }; exit 1
18303 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18304 conftest
$ac_exeext conftest.
$ac_ext
18306 ac_cpp
='$CPP $CPPFLAGS'
18307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18317 INSTALL_PROGRAM
="cp -fp"
18318 INSTALL_DATA
="cp -fp"
18325 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18326 CXXFLAGS
="-qunique $CXXFLAGS"
18330 powerpc
-*-darwin* )
18331 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18332 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18333 cat >conftest.
$ac_ext <<_ACEOF
18336 cat confdefs.h
>>conftest.
$ac_ext
18337 cat >>conftest.
$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18343 #ifndef __POWERPC__
18344 choke me for lack of PowerPC
18351 rm -f conftest.
$ac_objext
18352 if { (ac_try
="$ac_compile"
18353 case "(($ac_try" in
18354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18355 *) ac_try_echo=$ac_try;;
18357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18358 (eval "$ac_compile") 2>conftest.er1
18360 grep -v '^ *+' conftest.er1 >conftest.err
18362 cat conftest.err >&5
18363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364 (exit $ac_status); } && {
18365 test -z "$ac_c_werror_flag" ||
18366 test ! -s conftest.err
18367 } && test -s conftest.$ac_objext; then
18368 { echo "$as_me:$LINENO: result: yes" >&5
18369 echo "${ECHO_T}yes" >&6; }
18371 echo "$as_me: failed program was:" >&5
18372 sed 's/^/| /' conftest.$ac_ext >&5
18374 { echo "$as_me:$LINENO: result: no" >&5
18375 echo "${ECHO_T}no" >&6; }
18376 cat >>confdefs.h <<\_ACEOF
18377 #define __POWERPC__ 1
18383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18389 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18390 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18391 cat >conftest.$ac_ext <<_ACEOF
18394 cat confdefs.h >>conftest.$ac_ext
18395 cat >>conftest.$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18397 #include <CoreFoundation/CFBase.h>
18407 rm -f conftest.$ac_objext
18408 if { (ac_try="$ac_compile"
18409 case "(($ac_try" in
18410 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18411 *) ac_try_echo
=$ac_try;;
18413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18414 (eval "$ac_compile") 2>conftest.er1
18416 grep -v '^ *+' conftest.er1
>conftest.err
18418 cat conftest.err
>&5
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); } && {
18421 test -z "$ac_c_werror_flag" ||
18422 test ! -s conftest.err
18423 } && test -s conftest.
$ac_objext; then
18424 { echo "$as_me:$LINENO: result: yes" >&5
18425 echo "${ECHO_T}yes" >&6; }
18427 echo "$as_me: failed program was:" >&5
18428 sed 's/^/| /' conftest.
$ac_ext >&5
18430 { echo "$as_me:$LINENO: result: no" >&5
18431 echo "${ECHO_T}no" >&6; }
18432 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18433 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18434 cat >conftest.
$ac_ext <<_ACEOF
18437 cat confdefs.h
>>conftest.
$ac_ext
18438 cat >>conftest.
$ac_ext <<_ACEOF
18439 /* end confdefs.h. */
18440 #define __CF_USE_FRAMEWORK_INCLUDES__
18441 #include <CoreFoundation/CFBase.h>
18451 rm -f conftest.
$ac_objext
18452 if { (ac_try
="$ac_compile"
18453 case "(($ac_try" in
18454 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18455 *) ac_try_echo=$ac_try;;
18457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18458 (eval "$ac_compile") 2>conftest.er1
18460 grep -v '^ *+' conftest.er1 >conftest.err
18462 cat conftest.err >&5
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); } && {
18465 test -z "$ac_c_werror_flag" ||
18466 test ! -s conftest.err
18467 } && test -s conftest.$ac_objext; then
18468 { echo "$as_me:$LINENO: result: yes" >&5
18469 echo "${ECHO_T}yes" >&6; }
18470 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.$ac_ext >&5
18475 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18476 See \`config.log
' for more details." >&5
18477 echo "$as_me: error: no. CoreFoundation not available.
18478 See \`config.log' for more details.
" >&2;}
18479 { (exit 1); exit 1; }; }
18483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18493 doesnt_want_win32=0
18496 if test "$wxUSE_MSW" = 1 ; then
18499 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
18500 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
18501 if test "${wx_cv_nocygwin+set}" = set; then
18502 echo $ECHO_N "(cached
) $ECHO_C" >&6
18505 cat >conftest.$ac_ext <<_ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18524 rm -f conftest.$ac_objext
18525 if { (ac_try="$ac_compile"
18526 case "(($ac_try" in
18527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18528 *) ac_try_echo=$ac_try;;
18530 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18531 (eval "$ac_compile") 2>conftest.er1
18533 grep -v '^ *+' conftest.er1 >conftest.err
18535 cat conftest.err >&5
18536 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18537 (exit $ac_status); } && {
18538 test -z "$ac_c_werror_flag" ||
18539 test ! -s conftest.err
18540 } && test -s conftest.$ac_objext; then
18543 echo "$as_me: failed program was
:" >&5
18544 sed 's/^/| /' conftest.$ac_ext >&5
18550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18554 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
18555 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18557 if test "$wx_cv_nocygwin" = "yes"; then
18560 doesnt_want_win32=1
18563 if test "$wants_win32" = 1 ; then
18564 BAKEFILE_FORCE_PLATFORM=win32
18572 if test "$wxUSE_WINE" = "yes"; then
18574 LDFLAGS_GUI="-mwindows"
18577 if test "$wants_win32" = 1 ; then
18580 cat >>confdefs.h <<\_ACEOF
18581 #define __WIN32__ 1
18584 cat >>confdefs.h <<\_ACEOF
18585 #define __WIN95__ 1
18588 cat >>confdefs.h <<\_ACEOF
18589 #define __WINDOWS__ 1
18592 cat >>confdefs.h <<\_ACEOF
18593 #define __GNUWIN32__ 1
18596 cat >>confdefs.h <<\_ACEOF
18601 if test "$doesnt_want_win32" = 1 ; then
18606 if test "$USE_UNIX" = 1 ; then
18608 cat >>confdefs.h <<\_ACEOF
18615 *-pc-os2_emx | *-pc-os2-emx )
18616 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18617 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
18618 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
18619 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18620 echo $ECHO_N "(cached
) $ECHO_C" >&6
18622 ac_check_lib_save_LIBS=$LIBS
18623 LIBS="-lcExt $LIBS"
18624 cat >conftest.$ac_ext <<_ACEOF
18627 cat confdefs.h >>conftest.$ac_ext
18628 cat >>conftest.$ac_ext <<_ACEOF
18629 /* end confdefs.h. */
18631 /* Override any GCC internal prototype to avoid an error.
18632 Use char because int might match the return type of a GCC
18633 builtin and then its argument prototype would still apply. */
18646 rm -f conftest.$ac_objext conftest$ac_exeext
18647 if { (ac_try="$ac_link"
18648 case "(($ac_try" in
18649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18650 *) ac_try_echo=$ac_try;;
18652 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18653 (eval "$ac_link") 2>conftest.er1
18655 grep -v '^ *+' conftest.er1 >conftest.err
18657 cat conftest.err >&5
18658 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18659 (exit $ac_status); } && {
18660 test -z "$ac_c_werror_flag" ||
18661 test ! -s conftest.err
18662 } && test -s conftest$ac_exeext &&
18663 $as_test_x conftest$ac_exeext; then
18664 ac_cv_lib_cExt_drand48=yes
18666 echo "$as_me: failed program was
:" >&5
18667 sed 's/^/| /' conftest.$ac_ext >&5
18669 ac_cv_lib_cExt_drand48=no
18672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18673 conftest$ac_exeext conftest.$ac_ext
18674 LIBS=$ac_check_lib_save_LIBS
18676 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
18677 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18678 if test $ac_cv_lib_cExt_drand48 = yes; then
18679 LIBS="$LIBS -lcExt"
18683 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
18685 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
18686 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
18687 if test "${wx_cv_gccversion+set}" = set; then
18688 echo $ECHO_N "(cached
) $ECHO_C" >&6
18691 if test "$cross_compiling" = yes; then
18692 wx_cv_gccversion="EMX2
"
18695 cat >conftest.$ac_ext <<_ACEOF
18698 cat confdefs.h >>conftest.$ac_ext
18699 cat >>conftest.$ac_ext <<_ACEOF
18700 /* end confdefs.h. */
18706 FILE *f=fopen("conftestval
", "w
");
18711 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18713 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18723 rm -f conftest$ac_exeext
18724 if { (ac_try="$ac_link"
18725 case "(($ac_try" in
18726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18727 *) ac_try_echo=$ac_try;;
18729 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18730 (eval "$ac_link") 2>&5
18732 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18733 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18734 { (case "(($ac_try" in
18735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18736 *) ac_try_echo=$ac_try;;
18738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18739 (eval "$ac_try") 2>&5
18741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18742 (exit $ac_status); }; }; then
18743 wx_cv_gccversion=`cat conftestval`
18745 echo "$as_me: program exited with status
$ac_status" >&5
18746 echo "$as_me: failed program was
:" >&5
18747 sed 's/^/| /' conftest.$ac_ext >&5
18749 ( exit $ac_status )
18750 wx_cv_gccversion="EMX2
"
18752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18758 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
18759 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18760 if test "$wx_cv_gccversion" = "EMX2
"; then
18761 LIBS="$LIBS -lstdcpp"
18762 LDFLAGS="$LDFLAGS -Zsysv-signals"
18764 if test "$wx_cv_gccversion" = "EMX3
"; then
18765 LIBS="$LIBS -lstdcxx -lgcc"
18766 LDFLAGS="$LDFLAGS -Zsysv-signals"
18768 LIBS="$LIBS -lstdc++"
18771 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
18772 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
18773 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
18780 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
18781 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
18782 if test "${ac_cv_string_strcasecmp+set}" = set; then
18783 echo $ECHO_N "(cached
) $ECHO_C" >&6
18786 cat >conftest.$ac_ext <<_ACEOF
18789 cat confdefs.h >>conftest.$ac_ext
18790 cat >>conftest.$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18793 #include <string.h>
18799 strcasecmp("foo
", "bar
");
18805 rm -f conftest.$ac_objext conftest$ac_exeext
18806 if { (ac_try="$ac_link"
18807 case "(($ac_try" in
18808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18809 *) ac_try_echo=$ac_try;;
18811 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18812 (eval "$ac_link") 2>conftest.er1
18814 grep -v '^ *+' conftest.er1 >conftest.err
18816 cat conftest.err >&5
18817 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18818 (exit $ac_status); } && {
18819 test -z "$ac_c_werror_flag" ||
18820 test ! -s conftest.err
18821 } && test -s conftest$ac_exeext &&
18822 $as_test_x conftest$ac_exeext; then
18823 ac_cv_string_strcasecmp=yes
18825 echo "$as_me: failed program was
:" >&5
18826 sed 's/^/| /' conftest.$ac_ext >&5
18828 ac_cv_string_strcasecmp=no
18832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18833 conftest$ac_exeext conftest.$ac_ext
18836 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
18837 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18839 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
18840 cat >>confdefs.h <<\_ACEOF
18841 #define HAVE_STRCASECMP_IN_STRING_H 1
18845 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
18846 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
18847 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18848 echo $ECHO_N "(cached
) $ECHO_C" >&6
18851 cat >conftest.$ac_ext <<_ACEOF
18854 cat confdefs.h >>conftest.$ac_ext
18855 cat >>conftest.$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18858 #include <strings.h>
18864 strcasecmp("foo
", "bar
");
18870 rm -f conftest.$ac_objext conftest$ac_exeext
18871 if { (ac_try="$ac_link"
18872 case "(($ac_try" in
18873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18874 *) ac_try_echo=$ac_try;;
18876 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18877 (eval "$ac_link") 2>conftest.er1
18879 grep -v '^ *+' conftest.er1 >conftest.err
18881 cat conftest.err >&5
18882 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18883 (exit $ac_status); } && {
18884 test -z "$ac_c_werror_flag" ||
18885 test ! -s conftest.err
18886 } && test -s conftest$ac_exeext &&
18887 $as_test_x conftest$ac_exeext; then
18888 ac_cv_strings_strcasecmp=yes
18890 echo "$as_me: failed program was
:" >&5
18891 sed 's/^/| /' conftest.$ac_ext >&5
18893 ac_cv_strings_strcasecmp=no
18897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18898 conftest$ac_exeext conftest.$ac_ext
18901 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
18902 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18904 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
18905 cat >>confdefs.h <<\_ACEOF
18906 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18910 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
18911 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
18912 { (exit 1); exit 1; }; }
18920 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
18921 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
18922 if test "${ac_cv_header_stdc+set}" = set; then
18923 echo $ECHO_N "(cached
) $ECHO_C" >&6
18925 cat >conftest.$ac_ext <<_ACEOF
18928 cat confdefs.h >>conftest.$ac_ext
18929 cat >>conftest.$ac_ext <<_ACEOF
18930 /* end confdefs.h. */
18931 #include <stdlib.h>
18932 #include <stdarg.h>
18933 #include <string.h>
18944 rm -f conftest.$ac_objext
18945 if { (ac_try="$ac_compile"
18946 case "(($ac_try" in
18947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18948 *) ac_try_echo=$ac_try;;
18950 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18951 (eval "$ac_compile") 2>conftest.er1
18953 grep -v '^ *+' conftest.er1 >conftest.err
18955 cat conftest.err >&5
18956 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18957 (exit $ac_status); } && {
18958 test -z "$ac_c_werror_flag" ||
18959 test ! -s conftest.err
18960 } && test -s conftest.$ac_objext; then
18961 ac_cv_header_stdc=yes
18963 echo "$as_me: failed program was
:" >&5
18964 sed 's/^/| /' conftest.$ac_ext >&5
18966 ac_cv_header_stdc=no
18969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18971 if test $ac_cv_header_stdc = yes; then
18972 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18973 cat >conftest.$ac_ext <<_ACEOF
18976 cat confdefs.h >>conftest.$ac_ext
18977 cat >>conftest.$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18979 #include <string.h>
18982 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
18983 $EGREP "memchr
" >/dev/null 2>&1; then
18986 ac_cv_header_stdc=no
18992 if test $ac_cv_header_stdc = yes; then
18993 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18994 cat >conftest.$ac_ext <<_ACEOF
18997 cat confdefs.h >>conftest.$ac_ext
18998 cat >>conftest.$ac_ext <<_ACEOF
18999 /* end confdefs.h. */
19000 #include <stdlib.h>
19003 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
19004 $EGREP "free
" >/dev/null 2>&1; then
19007 ac_cv_header_stdc=no
19013 if test $ac_cv_header_stdc = yes; then
19014 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19015 if test "$cross_compiling" = yes; then
19018 cat >conftest.$ac_ext <<_ACEOF
19021 cat confdefs.h >>conftest.$ac_ext
19022 cat >>conftest.$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19025 #include <stdlib.h>
19026 #if ((' ' & 0x0FF) == 0x020)
19027 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19028 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19030 # define ISLOWER(c) \
19031 (('a' <= (c) && (c) <= 'i') \
19032 || ('j' <= (c) && (c) <= 'r') \
19033 || ('s' <= (c) && (c) <= 'z'))
19034 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19037 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19042 for (i = 0; i < 256; i++)
19043 if (XOR (islower (i), ISLOWER (i))
19044 || toupper (i) != TOUPPER (i))
19049 rm -f conftest$ac_exeext
19050 if { (ac_try="$ac_link"
19051 case "(($ac_try" in
19052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19053 *) ac_try_echo=$ac_try;;
19055 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19056 (eval "$ac_link") 2>&5
19058 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19059 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19060 { (case "(($ac_try" in
19061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19062 *) ac_try_echo=$ac_try;;
19064 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19065 (eval "$ac_try") 2>&5
19067 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19068 (exit $ac_status); }; }; then
19071 echo "$as_me: program exited with status
$ac_status" >&5
19072 echo "$as_me: failed program was
:" >&5
19073 sed 's/^/| /' conftest.$ac_ext >&5
19075 ( exit $ac_status )
19076 ac_cv_header_stdc=no
19078 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19084 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
19085 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19086 if test $ac_cv_header_stdc = yes; then
19088 cat >>confdefs.h <<\_ACEOF
19089 #define STDC_HEADERS 1
19094 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19104 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19105 inttypes.h stdint.h unistd.h
19107 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19108 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19109 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19110 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19111 echo $ECHO_N "(cached
) $ECHO_C" >&6
19113 cat >conftest.$ac_ext <<_ACEOF
19116 cat confdefs.h >>conftest.$ac_ext
19117 cat >>conftest.$ac_ext <<_ACEOF
19118 /* end confdefs.h. */
19119 $ac_includes_default
19121 #include <$ac_header>
19123 rm -f conftest.$ac_objext
19124 if { (ac_try="$ac_compile"
19125 case "(($ac_try" in
19126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19127 *) ac_try_echo=$ac_try;;
19129 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19130 (eval "$ac_compile") 2>conftest.er1
19132 grep -v '^ *+' conftest.er1 >conftest.err
19134 cat conftest.err >&5
19135 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19136 (exit $ac_status); } && {
19137 test -z "$ac_c_werror_flag" ||
19138 test ! -s conftest.err
19139 } && test -s conftest.$ac_objext; then
19140 eval "$as_ac_Header=yes"
19142 echo "$as_me: failed program was
:" >&5
19143 sed 's/^/| /' conftest.$ac_ext >&5
19145 eval "$as_ac_Header=no
"
19148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19150 ac_res=`eval echo '${'$as_ac_Header'}'`
19151 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19152 echo "${ECHO_T}$ac_res" >&6; }
19153 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19154 cat >>confdefs.h <<_ACEOF
19155 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19165 for ac_header in langinfo.h wchar.h
19167 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19168 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19169 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19170 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19171 echo $ECHO_N "(cached
) $ECHO_C" >&6
19173 cat >conftest.$ac_ext <<_ACEOF
19176 cat confdefs.h >>conftest.$ac_ext
19177 cat >>conftest.$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 $ac_includes_default
19181 #include <$ac_header>
19183 rm -f conftest.$ac_objext
19184 if { (ac_try="$ac_compile"
19185 case "(($ac_try" in
19186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19187 *) ac_try_echo=$ac_try;;
19189 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19190 (eval "$ac_compile") 2>conftest.er1
19192 grep -v '^ *+' conftest.er1 >conftest.err
19194 cat conftest.err >&5
19195 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19196 (exit $ac_status); } && {
19197 test -z "$ac_c_werror_flag" ||
19198 test ! -s conftest.err
19199 } && test -s conftest.$ac_objext; then
19200 eval "$as_ac_Header=yes"
19202 echo "$as_me: failed program was
:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19205 eval "$as_ac_Header=no
"
19208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19210 ac_res=`eval echo '${'$as_ac_Header'}'`
19211 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19212 echo "${ECHO_T}$ac_res" >&6; }
19213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19214 cat >>confdefs.h <<_ACEOF
19215 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19223 if test "$ac_cv_header_wchar_h" != "yes"; then
19225 for ac_header in wcstr.h
19227 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19228 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19229 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19230 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19231 echo $ECHO_N "(cached
) $ECHO_C" >&6
19233 cat >conftest.$ac_ext <<_ACEOF
19236 cat confdefs.h >>conftest.$ac_ext
19237 cat >>conftest.$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 $ac_includes_default
19241 #include <$ac_header>
19243 rm -f conftest.$ac_objext
19244 if { (ac_try="$ac_compile"
19245 case "(($ac_try" in
19246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19247 *) ac_try_echo=$ac_try;;
19249 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19250 (eval "$ac_compile") 2>conftest.er1
19252 grep -v '^ *+' conftest.er1 >conftest.err
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19256 (exit $ac_status); } && {
19257 test -z "$ac_c_werror_flag" ||
19258 test ! -s conftest.err
19259 } && test -s conftest.$ac_objext; then
19260 eval "$as_ac_Header=yes"
19262 echo "$as_me: failed program was
:" >&5
19263 sed 's/^/| /' conftest.$ac_ext >&5
19265 eval "$as_ac_Header=no
"
19268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19270 ac_res=`eval echo '${'$as_ac_Header'}'`
19271 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19272 echo "${ECHO_T}$ac_res" >&6; }
19273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19274 cat >>confdefs.h <<_ACEOF
19275 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19285 *-pc-os2_emx | *-pc-os2-emx )
19286 if test $ac_cv_header_langinfo_h = "yes" \
19287 -a \( "$wx_cv_gccversion" = "EMX2
" \
19288 -o "$wx_cv_gccversion" = "EMX3
" \
19289 -o "$wx_cv_gccversion" = "Innotek5
" \); then
19290 LIBS="$LIBS -lintl"
19295 if test "$USE_UNIX" = 1 ; then
19297 for ac_header in sys/select.h
19299 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
19300 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
19301 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
19302 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19303 echo $ECHO_N "(cached
) $ECHO_C" >&6
19305 cat >conftest.$ac_ext <<_ACEOF
19308 cat confdefs.h >>conftest.$ac_ext
19309 cat >>conftest.$ac_ext <<_ACEOF
19310 /* end confdefs.h. */
19311 $ac_includes_default
19313 #include <$ac_header>
19315 rm -f conftest.$ac_objext
19316 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
19324 grep -v '^ *+' conftest.er1 >conftest.err
19326 cat conftest.err >&5
19327 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19328 (exit $ac_status); } && {
19329 test -z "$ac_c_werror_flag" ||
19330 test ! -s conftest.err
19331 } && test -s conftest.$ac_objext; then
19332 eval "$as_ac_Header=yes"
19334 echo "$as_me: failed program was
:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19337 eval "$as_ac_Header=no
"
19340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19342 ac_res=`eval echo '${'$as_ac_Header'}'`
19343 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19344 echo "${ECHO_T}$ac_res" >&6; }
19345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19346 cat >>confdefs.h <<_ACEOF
19347 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
19357 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
19358 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
19359 if test "${ac_cv_c_const+set}" = set; then
19360 echo $ECHO_N "(cached
) $ECHO_C" >&6
19362 cat >conftest.$ac_ext <<_ACEOF
19365 cat confdefs.h >>conftest.$ac_ext
19366 cat >>conftest.$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19372 /* FIXME: Include the comments suggested by Paul. */
19373 #ifndef __cplusplus
19374 /* Ultrix mips cc rejects this. */
19375 typedef int charset[2];
19377 /* SunOS 4.1.1 cc rejects this. */
19378 char const *const *pcpcc;
19380 /* NEC SVR4.0.2 mips cc rejects this. */
19381 struct point {int x, y;};
19382 static struct point const zero = {0,0};
19383 /* AIX XL C 1.02.0.0 rejects this.
19384 It does not let you subtract one const X* pointer from another in
19385 an arm of an if-expression whose if-part is not a constant
19387 const char *g = "string
";
19388 pcpcc = &g + (g ? g-g : 0);
19389 /* HPUX 7.0 cc rejects these. */
19391 ppc = (char**) pcpcc;
19392 pcpcc = (char const *const *) ppc;
19393 { /* SCO 3.2v4 cc rejects this. */
19395 char const *s = 0 ? (char *) 0 : (char const *) 0;
19400 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19401 int x[] = {25, 17};
19402 const int *foo = &x[0];
19405 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19406 typedef const int *iptr;
19410 { /* AIX XL C 1.02.0.0 rejects this saying
19411 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19412 struct s { int j; const int *ap[3]; };
19413 struct s *b; b->j = 5;
19415 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19416 const int foo = 10;
19417 if (!foo) return 0;
19419 return !cs[0] && !zero.x;
19426 rm -f conftest.$ac_objext
19427 if { (ac_try="$ac_compile"
19428 case "(($ac_try" in
19429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19430 *) ac_try_echo=$ac_try;;
19432 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19433 (eval "$ac_compile") 2>conftest.er1
19435 grep -v '^ *+' conftest.er1 >conftest.err
19437 cat conftest.err >&5
19438 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19439 (exit $ac_status); } && {
19440 test -z "$ac_c_werror_flag" ||
19441 test ! -s conftest.err
19442 } && test -s conftest.$ac_objext; then
19445 echo "$as_me: failed program was
:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19453 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
19454 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19455 if test $ac_cv_c_const = no; then
19457 cat >>confdefs.h <<\_ACEOF
19463 { echo "$as_me:$LINENO: checking
for inline
" >&5
19464 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
19465 if test "${ac_cv_c_inline+set}" = set; then
19466 echo $ECHO_N "(cached
) $ECHO_C" >&6
19469 for ac_kw in inline __inline__ __inline; do
19470 cat >conftest.$ac_ext <<_ACEOF
19473 cat confdefs.h >>conftest.$ac_ext
19474 cat >>conftest.$ac_ext <<_ACEOF
19475 /* end confdefs.h. */
19476 #ifndef __cplusplus
19478 static $ac_kw foo_t static_foo () {return 0; }
19479 $ac_kw foo_t foo () {return 0; }
19483 rm -f conftest.$ac_objext
19484 if { (ac_try="$ac_compile"
19485 case "(($ac_try" in
19486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19487 *) ac_try_echo=$ac_try;;
19489 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19490 (eval "$ac_compile") 2>conftest.er1
19492 grep -v '^ *+' conftest.er1 >conftest.err
19494 cat conftest.err >&5
19495 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19496 (exit $ac_status); } && {
19497 test -z "$ac_c_werror_flag" ||
19498 test ! -s conftest.err
19499 } && test -s conftest.$ac_objext; then
19500 ac_cv_c_inline=$ac_kw
19502 echo "$as_me: failed program was
:" >&5
19503 sed 's/^/| /' conftest.$ac_ext >&5
19508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19509 test "$ac_cv_c_inline" != no && break
19513 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
19514 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19517 case $ac_cv_c_inline in
19520 case $ac_cv_c_inline in
19522 *) ac_val=$ac_cv_c_inline;;
19524 cat >>confdefs.h <<_ACEOF
19525 #ifndef __cplusplus
19526 #define inline $ac_val
19533 { echo "$as_me:$LINENO: checking
for short
" >&5
19534 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
19535 if test "${ac_cv_type_short+set}" = set; then
19536 echo $ECHO_N "(cached
) $ECHO_C" >&6
19538 cat >conftest.$ac_ext <<_ACEOF
19541 cat confdefs.h >>conftest.$ac_ext
19542 cat >>conftest.$ac_ext <<_ACEOF
19543 /* end confdefs.h. */
19544 $ac_includes_default
19545 typedef short ac__type_new_;
19549 if ((ac__type_new_ *) 0)
19551 if (sizeof (ac__type_new_))
19557 rm -f conftest.$ac_objext
19558 if { (ac_try="$ac_compile"
19559 case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19563 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_compile") 2>conftest.er1
19566 grep -v '^ *+' conftest.er1 >conftest.err
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest.$ac_objext; then
19574 ac_cv_type_short=yes
19576 echo "$as_me: failed program was
:" >&5
19577 sed 's/^/| /' conftest.$ac_ext >&5
19579 ac_cv_type_short=no
19582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19584 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
19585 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19587 # The cast to long int works around a bug in the HP C Compiler
19588 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19589 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19590 # This bug is HP SR number 8606223364.
19591 { echo "$as_me:$LINENO: checking size of short
" >&5
19592 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
19593 if test "${ac_cv_sizeof_short+set}" = set; then
19594 echo $ECHO_N "(cached
) $ECHO_C" >&6
19596 if test "$cross_compiling" = yes; then
19597 # Depending upon the size, compute the lo and hi bounds.
19598 cat >conftest.$ac_ext <<_ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604 $ac_includes_default
19605 typedef short ac__type_sizeof_;
19609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19616 rm -f conftest.$ac_objext
19617 if { (ac_try="$ac_compile"
19618 case "(($ac_try" in
19619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19620 *) ac_try_echo=$ac_try;;
19622 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19623 (eval "$ac_compile") 2>conftest.er1
19625 grep -v '^ *+' conftest.er1 >conftest.err
19627 cat conftest.err >&5
19628 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19629 (exit $ac_status); } && {
19630 test -z "$ac_c_werror_flag" ||
19631 test ! -s conftest.err
19632 } && test -s conftest.$ac_objext; then
19635 cat >conftest.$ac_ext <<_ACEOF
19638 cat confdefs.h >>conftest.$ac_ext
19639 cat >>conftest.$ac_ext <<_ACEOF
19640 /* end confdefs.h. */
19641 $ac_includes_default
19642 typedef short ac__type_sizeof_;
19646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19653 rm -f conftest.$ac_objext
19654 if { (ac_try="$ac_compile"
19655 case "(($ac_try" in
19656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19657 *) ac_try_echo=$ac_try;;
19659 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19660 (eval "$ac_compile") 2>conftest.er1
19662 grep -v '^ *+' conftest.er1 >conftest.err
19664 cat conftest.err >&5
19665 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19666 (exit $ac_status); } && {
19667 test -z "$ac_c_werror_flag" ||
19668 test ! -s conftest.err
19669 } && test -s conftest.$ac_objext; then
19670 ac_hi=$ac_mid; break
19672 echo "$as_me: failed program was
:" >&5
19673 sed 's/^/| /' conftest.$ac_ext >&5
19675 ac_lo=`expr $ac_mid + 1`
19676 if test $ac_lo -le $ac_mid; then
19680 ac_mid=`expr 2 '*' $ac_mid + 1`
19683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19686 echo "$as_me: failed program was
:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19689 cat >conftest.$ac_ext <<_ACEOF
19692 cat confdefs.h >>conftest.$ac_ext
19693 cat >>conftest.$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19695 $ac_includes_default
19696 typedef short ac__type_sizeof_;
19700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19707 rm -f conftest.$ac_objext
19708 if { (ac_try="$ac_compile"
19709 case "(($ac_try" in
19710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19711 *) ac_try_echo=$ac_try;;
19713 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19714 (eval "$ac_compile") 2>conftest.er1
19716 grep -v '^ *+' conftest.er1 >conftest.err
19718 cat conftest.err >&5
19719 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19720 (exit $ac_status); } && {
19721 test -z "$ac_c_werror_flag" ||
19722 test ! -s conftest.err
19723 } && test -s conftest.$ac_objext; then
19726 cat >conftest.$ac_ext <<_ACEOF
19729 cat confdefs.h >>conftest.$ac_ext
19730 cat >>conftest.$ac_ext <<_ACEOF
19731 /* end confdefs.h. */
19732 $ac_includes_default
19733 typedef short ac__type_sizeof_;
19737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19744 rm -f conftest.$ac_objext
19745 if { (ac_try="$ac_compile"
19746 case "(($ac_try" in
19747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19748 *) ac_try_echo=$ac_try;;
19750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19751 (eval "$ac_compile") 2>conftest.er1
19753 grep -v '^ *+' conftest.er1 >conftest.err
19755 cat conftest.err >&5
19756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19757 (exit $ac_status); } && {
19758 test -z "$ac_c_werror_flag" ||
19759 test ! -s conftest.err
19760 } && test -s conftest.$ac_objext; then
19761 ac_lo=$ac_mid; break
19763 echo "$as_me: failed program was
:" >&5
19764 sed 's/^/| /' conftest.$ac_ext >&5
19766 ac_hi=`expr '(' $ac_mid ')' - 1`
19767 if test $ac_mid -le $ac_hi; then
19771 ac_mid=`expr 2 '*' $ac_mid`
19774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19777 echo "$as_me: failed program was
:" >&5
19778 sed 's/^/| /' conftest.$ac_ext >&5
19783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19787 # Binary search between lo and hi bounds.
19788 while test "x
$ac_lo" != "x
$ac_hi"; do
19789 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19790 cat >conftest.$ac_ext <<_ACEOF
19793 cat confdefs.h >>conftest.$ac_ext
19794 cat >>conftest.$ac_ext <<_ACEOF
19795 /* end confdefs.h. */
19796 $ac_includes_default
19797 typedef short ac__type_sizeof_;
19801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19808 rm -f conftest.$ac_objext
19809 if { (ac_try="$ac_compile"
19810 case "(($ac_try" in
19811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19812 *) ac_try_echo=$ac_try;;
19814 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19815 (eval "$ac_compile") 2>conftest.er1
19817 grep -v '^ *+' conftest.er1 >conftest.err
19819 cat conftest.err >&5
19820 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19821 (exit $ac_status); } && {
19822 test -z "$ac_c_werror_flag" ||
19823 test ! -s conftest.err
19824 } && test -s conftest.$ac_objext; then
19827 echo "$as_me: failed program was
:" >&5
19828 sed 's/^/| /' conftest.$ac_ext >&5
19830 ac_lo=`expr '(' $ac_mid ')' + 1`
19833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19836 ?*) ac_cv_sizeof_short=$ac_lo;;
19837 '') if test "$ac_cv_type_short" = yes; then
19838 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
19839 See \
`config.log' for more details." >&5
19840 echo "$as_me: error: cannot compute sizeof (short)
19841 See \`config.log
' for more details." >&2;}
19842 { (exit 77); exit 77; }; }
19844 ac_cv_sizeof_short=0
19848 cat >conftest.$ac_ext <<_ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19854 $ac_includes_default
19855 typedef short ac__type_sizeof_;
19856 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19857 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19859 #include <stdlib.h>
19864 FILE *f = fopen ("conftest.val", "w");
19867 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19869 long int i = longval ();
19870 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19872 fprintf (f, "%ld\n", i);
19876 unsigned long int i = ulongval ();
19877 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19879 fprintf (f, "%lu\n", i);
19881 return ferror (f) || fclose (f) != 0;
19887 rm -f conftest$ac_exeext
19888 if { (ac_try="$ac_link"
19889 case "(($ac_try" in
19890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19891 *) ac_try_echo=$ac_try;;
19893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19894 (eval "$ac_link") 2>&5
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
19898 { (case "(($ac_try" in
19899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19900 *) ac_try_echo=$ac_try;;
19902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19903 (eval "$ac_try") 2>&5
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); }; }; then
19907 ac_cv_sizeof_short=`cat conftest.val`
19909 echo "$as_me: program exited with status $ac_status" >&5
19910 echo "$as_me: failed program was:" >&5
19911 sed 's
/^
/| /' conftest.$ac_ext >&5
19913 ( exit $ac_status )
19914 if test "$ac_cv_type_short" = yes; then
19915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19916 See \`config.log' for more details.
" >&5
19917 echo "$as_me: error
: cannot compute sizeof
(short
)
19918 See \
`config.log' for more details." >&2;}
19919 { (exit 77); exit 77; }; }
19921 ac_cv_sizeof_short=0
19924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19928 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19929 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19933 cat >>confdefs.h <<_ACEOF
19934 #define SIZEOF_SHORT $ac_cv_sizeof_short
19938 { echo "$as_me:$LINENO: checking for void *" >&5
19939 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19940 if test "${ac_cv_type_void_p+set}" = set; then
19941 echo $ECHO_N "(cached) $ECHO_C" >&6
19943 cat >conftest.$ac_ext <<_ACEOF
19946 cat confdefs.h >>conftest.$ac_ext
19947 cat >>conftest.$ac_ext <<_ACEOF
19948 /* end confdefs.h. */
19949 $ac_includes_default
19950 typedef void * ac__type_new_;
19954 if ((ac__type_new_ *) 0)
19956 if (sizeof (ac__type_new_))
19962 rm -f conftest.$ac_objext
19963 if { (ac_try="$ac_compile"
19964 case "(($ac_try" in
19965 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19966 *) ac_try_echo
=$ac_try;;
19968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19969 (eval "$ac_compile") 2>conftest.er1
19971 grep -v '^ *+' conftest.er1
>conftest.err
19973 cat conftest.err
>&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } && {
19976 test -z "$ac_c_werror_flag" ||
19977 test ! -s conftest.err
19978 } && test -s conftest.
$ac_objext; then
19979 ac_cv_type_void_p
=yes
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.
$ac_ext >&5
19984 ac_cv_type_void_p
=no
19987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19989 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19990 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19992 # The cast to long int works around a bug in the HP C Compiler
19993 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19994 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19995 # This bug is HP SR number 8606223364.
19996 { echo "$as_me:$LINENO: checking size of void *" >&5
19997 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19998 if test "${ac_cv_sizeof_void_p+set}" = set; then
19999 echo $ECHO_N "(cached) $ECHO_C" >&6
20001 if test "$cross_compiling" = yes; then
20002 # Depending upon the size, compute the lo and hi bounds.
20003 cat >conftest.
$ac_ext <<_ACEOF
20006 cat confdefs.h
>>conftest.
$ac_ext
20007 cat >>conftest.
$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20009 $ac_includes_default
20010 typedef void * ac__type_sizeof_;
20014 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20021 rm -f conftest.
$ac_objext
20022 if { (ac_try
="$ac_compile"
20023 case "(($ac_try" in
20024 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20025 *) ac_try_echo=$ac_try;;
20027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20028 (eval "$ac_compile") 2>conftest.er1
20030 grep -v '^ *+' conftest.er1 >conftest.err
20032 cat conftest.err >&5
20033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20034 (exit $ac_status); } && {
20035 test -z "$ac_c_werror_flag" ||
20036 test ! -s conftest.err
20037 } && test -s conftest.$ac_objext; then
20040 cat >conftest.$ac_ext <<_ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 $ac_includes_default
20047 typedef void * ac__type_sizeof_;
20051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20058 rm -f conftest.$ac_objext
20059 if { (ac_try="$ac_compile"
20060 case "(($ac_try" in
20061 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20062 *) ac_try_echo
=$ac_try;;
20064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20065 (eval "$ac_compile") 2>conftest.er1
20067 grep -v '^ *+' conftest.er1
>conftest.err
20069 cat conftest.err
>&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); } && {
20072 test -z "$ac_c_werror_flag" ||
20073 test ! -s conftest.err
20074 } && test -s conftest.
$ac_objext; then
20075 ac_hi
=$ac_mid; break
20077 echo "$as_me: failed program was:" >&5
20078 sed 's/^/| /' conftest.
$ac_ext >&5
20080 ac_lo
=`expr $ac_mid + 1`
20081 if test $ac_lo -le $ac_mid; then
20085 ac_mid
=`expr 2 '*' $ac_mid + 1`
20088 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20091 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.
$ac_ext >&5
20094 cat >conftest.
$ac_ext <<_ACEOF
20097 cat confdefs.h
>>conftest.
$ac_ext
20098 cat >>conftest.
$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20100 $ac_includes_default
20101 typedef void * ac__type_sizeof_;
20105 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20112 rm -f conftest.
$ac_objext
20113 if { (ac_try
="$ac_compile"
20114 case "(($ac_try" in
20115 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20116 *) ac_try_echo=$ac_try;;
20118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20119 (eval "$ac_compile") 2>conftest.er1
20121 grep -v '^ *+' conftest.er1 >conftest.err
20123 cat conftest.err >&5
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); } && {
20126 test -z "$ac_c_werror_flag" ||
20127 test ! -s conftest.err
20128 } && test -s conftest.$ac_objext; then
20131 cat >conftest.$ac_ext <<_ACEOF
20134 cat confdefs.h >>conftest.$ac_ext
20135 cat >>conftest.$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20137 $ac_includes_default
20138 typedef void * ac__type_sizeof_;
20142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20149 rm -f conftest.$ac_objext
20150 if { (ac_try="$ac_compile"
20151 case "(($ac_try" in
20152 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20153 *) ac_try_echo
=$ac_try;;
20155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20156 (eval "$ac_compile") 2>conftest.er1
20158 grep -v '^ *+' conftest.er1
>conftest.err
20160 cat conftest.err
>&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); } && {
20163 test -z "$ac_c_werror_flag" ||
20164 test ! -s conftest.err
20165 } && test -s conftest.
$ac_objext; then
20166 ac_lo
=$ac_mid; break
20168 echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.
$ac_ext >&5
20171 ac_hi
=`expr '(' $ac_mid ')' - 1`
20172 if test $ac_mid -le $ac_hi; then
20176 ac_mid
=`expr 2 '*' $ac_mid`
20179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20182 echo "$as_me: failed program was:" >&5
20183 sed 's/^/| /' conftest.
$ac_ext >&5
20188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20192 # Binary search between lo and hi bounds.
20193 while test "x$ac_lo" != "x$ac_hi"; do
20194 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20195 cat >conftest.
$ac_ext <<_ACEOF
20198 cat confdefs.h
>>conftest.
$ac_ext
20199 cat >>conftest.
$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 $ac_includes_default
20202 typedef void * ac__type_sizeof_;
20206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20213 rm -f conftest.
$ac_objext
20214 if { (ac_try
="$ac_compile"
20215 case "(($ac_try" in
20216 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20217 *) ac_try_echo=$ac_try;;
20219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20220 (eval "$ac_compile") 2>conftest.er1
20222 grep -v '^ *+' conftest.er1 >conftest.err
20224 cat conftest.err >&5
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); } && {
20227 test -z "$ac_c_werror_flag" ||
20228 test ! -s conftest.err
20229 } && test -s conftest.$ac_objext; then
20232 echo "$as_me: failed program was:" >&5
20233 sed 's/^/| /' conftest.$ac_ext >&5
20235 ac_lo=`expr '(' $ac_mid ')' + 1`
20238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20241 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20242 '') if test "$ac_cv_type_void_p" = yes; then
20243 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20244 See \`config.log
' for more details." >&5
20245 echo "$as_me: error: cannot compute sizeof (void *)
20246 See \`config.log' for more details.
" >&2;}
20247 { (exit 77); exit 77; }; }
20249 ac_cv_sizeof_void_p=0
20253 cat >conftest.$ac_ext <<_ACEOF
20256 cat confdefs.h >>conftest.$ac_ext
20257 cat >>conftest.$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20259 $ac_includes_default
20260 typedef void * ac__type_sizeof_;
20261 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20262 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20264 #include <stdlib.h>
20269 FILE *f = fopen ("conftest.val
", "w
");
20272 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20274 long int i = longval ();
20275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20277 fprintf (f, "%ld
\n", i);
20281 unsigned long int i = ulongval ();
20282 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20284 fprintf (f, "%lu
\n", i);
20286 return ferror (f) || fclose (f) != 0;
20292 rm -f conftest$ac_exeext
20293 if { (ac_try="$ac_link"
20294 case "(($ac_try" in
20295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20296 *) ac_try_echo=$ac_try;;
20298 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20299 (eval "$ac_link") 2>&5
20301 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20303 { (case "(($ac_try" in
20304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20305 *) ac_try_echo=$ac_try;;
20307 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20308 (eval "$ac_try") 2>&5
20310 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20311 (exit $ac_status); }; }; then
20312 ac_cv_sizeof_void_p=`cat conftest.val`
20314 echo "$as_me: program exited with status
$ac_status" >&5
20315 echo "$as_me: failed program was
:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20318 ( exit $ac_status )
20319 if test "$ac_cv_type_void_p" = yes; then
20320 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
20321 See \
`config.log' for more details." >&5
20322 echo "$as_me: error: cannot compute sizeof (void *)
20323 See \`config.log
' for more details." >&2;}
20324 { (exit 77); exit 77; }; }
20326 ac_cv_sizeof_void_p=0
20329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20333 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20334 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20338 cat >>confdefs.h <<_ACEOF
20339 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20343 { echo "$as_me:$LINENO: checking for int" >&5
20344 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20345 if test "${ac_cv_type_int+set}" = set; then
20346 echo $ECHO_N "(cached) $ECHO_C" >&6
20348 cat >conftest.$ac_ext <<_ACEOF
20351 cat confdefs.h >>conftest.$ac_ext
20352 cat >>conftest.$ac_ext <<_ACEOF
20353 /* end confdefs.h. */
20354 $ac_includes_default
20355 typedef int ac__type_new_;
20359 if ((ac__type_new_ *) 0)
20361 if (sizeof (ac__type_new_))
20367 rm -f conftest.$ac_objext
20368 if { (ac_try="$ac_compile"
20369 case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_compile") 2>conftest.er1
20376 grep -v '^
*+' conftest.er1 >conftest.err
20378 cat conftest.err >&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } && {
20381 test -z "$ac_c_werror_flag" ||
20382 test ! -s conftest.err
20383 } && test -s conftest.$ac_objext; then
20386 echo "$as_me: failed program was:" >&5
20387 sed 's
/^
/| /' conftest.$ac_ext >&5
20392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20394 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20395 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20397 # The cast to long int works around a bug in the HP C Compiler
20398 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20399 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20400 # This bug is HP SR number 8606223364.
20401 { echo "$as_me:$LINENO: checking size of int" >&5
20402 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20403 if test "${ac_cv_sizeof_int+set}" = set; then
20404 echo $ECHO_N "(cached) $ECHO_C" >&6
20406 if test "$cross_compiling" = yes; then
20407 # Depending upon the size, compute the lo and hi bounds.
20408 cat >conftest.
$ac_ext <<_ACEOF
20411 cat confdefs.h
>>conftest.
$ac_ext
20412 cat >>conftest.
$ac_ext <<_ACEOF
20413 /* end confdefs.h. */
20414 $ac_includes_default
20415 typedef int ac__type_sizeof_;
20419 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20426 rm -f conftest.
$ac_objext
20427 if { (ac_try
="$ac_compile"
20428 case "(($ac_try" in
20429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20430 *) ac_try_echo=$ac_try;;
20432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20433 (eval "$ac_compile") 2>conftest.er1
20435 grep -v '^ *+' conftest.er1 >conftest.err
20437 cat conftest.err >&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); } && {
20440 test -z "$ac_c_werror_flag" ||
20441 test ! -s conftest.err
20442 } && test -s conftest.$ac_objext; then
20445 cat >conftest.$ac_ext <<_ACEOF
20448 cat confdefs.h >>conftest.$ac_ext
20449 cat >>conftest.$ac_ext <<_ACEOF
20450 /* end confdefs.h. */
20451 $ac_includes_default
20452 typedef int ac__type_sizeof_;
20456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20463 rm -f conftest.$ac_objext
20464 if { (ac_try="$ac_compile"
20465 case "(($ac_try" in
20466 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20467 *) ac_try_echo
=$ac_try;;
20469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20470 (eval "$ac_compile") 2>conftest.er1
20472 grep -v '^ *+' conftest.er1
>conftest.err
20474 cat conftest.err
>&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); } && {
20477 test -z "$ac_c_werror_flag" ||
20478 test ! -s conftest.err
20479 } && test -s conftest.
$ac_objext; then
20480 ac_hi
=$ac_mid; break
20482 echo "$as_me: failed program was:" >&5
20483 sed 's/^/| /' conftest.
$ac_ext >&5
20485 ac_lo
=`expr $ac_mid + 1`
20486 if test $ac_lo -le $ac_mid; then
20490 ac_mid
=`expr 2 '*' $ac_mid + 1`
20493 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20496 echo "$as_me: failed program was:" >&5
20497 sed 's/^/| /' conftest.
$ac_ext >&5
20499 cat >conftest.
$ac_ext <<_ACEOF
20502 cat confdefs.h
>>conftest.
$ac_ext
20503 cat >>conftest.
$ac_ext <<_ACEOF
20504 /* end confdefs.h. */
20505 $ac_includes_default
20506 typedef int ac__type_sizeof_;
20510 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20517 rm -f conftest.
$ac_objext
20518 if { (ac_try
="$ac_compile"
20519 case "(($ac_try" in
20520 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20521 *) ac_try_echo=$ac_try;;
20523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20524 (eval "$ac_compile") 2>conftest.er1
20526 grep -v '^ *+' conftest.er1 >conftest.err
20528 cat conftest.err >&5
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); } && {
20531 test -z "$ac_c_werror_flag" ||
20532 test ! -s conftest.err
20533 } && test -s conftest.$ac_objext; then
20536 cat >conftest.$ac_ext <<_ACEOF
20539 cat confdefs.h >>conftest.$ac_ext
20540 cat >>conftest.$ac_ext <<_ACEOF
20541 /* end confdefs.h. */
20542 $ac_includes_default
20543 typedef int ac__type_sizeof_;
20547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20554 rm -f conftest.$ac_objext
20555 if { (ac_try="$ac_compile"
20556 case "(($ac_try" in
20557 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20558 *) ac_try_echo
=$ac_try;;
20560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20561 (eval "$ac_compile") 2>conftest.er1
20563 grep -v '^ *+' conftest.er1
>conftest.err
20565 cat conftest.err
>&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); } && {
20568 test -z "$ac_c_werror_flag" ||
20569 test ! -s conftest.err
20570 } && test -s conftest.
$ac_objext; then
20571 ac_lo
=$ac_mid; break
20573 echo "$as_me: failed program was:" >&5
20574 sed 's/^/| /' conftest.
$ac_ext >&5
20576 ac_hi
=`expr '(' $ac_mid ')' - 1`
20577 if test $ac_mid -le $ac_hi; then
20581 ac_mid
=`expr 2 '*' $ac_mid`
20584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20587 echo "$as_me: failed program was:" >&5
20588 sed 's/^/| /' conftest.
$ac_ext >&5
20593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20597 # Binary search between lo and hi bounds.
20598 while test "x$ac_lo" != "x$ac_hi"; do
20599 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20600 cat >conftest.
$ac_ext <<_ACEOF
20603 cat confdefs.h
>>conftest.
$ac_ext
20604 cat >>conftest.
$ac_ext <<_ACEOF
20605 /* end confdefs.h. */
20606 $ac_includes_default
20607 typedef int ac__type_sizeof_;
20611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20618 rm -f conftest.
$ac_objext
20619 if { (ac_try
="$ac_compile"
20620 case "(($ac_try" in
20621 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20622 *) ac_try_echo=$ac_try;;
20624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20625 (eval "$ac_compile") 2>conftest.er1
20627 grep -v '^ *+' conftest.er1 >conftest.err
20629 cat conftest.err >&5
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); } && {
20632 test -z "$ac_c_werror_flag" ||
20633 test ! -s conftest.err
20634 } && test -s conftest.$ac_objext; then
20637 echo "$as_me: failed program was:" >&5
20638 sed 's/^/| /' conftest.$ac_ext >&5
20640 ac_lo=`expr '(' $ac_mid ')' + 1`
20643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20646 ?*) ac_cv_sizeof_int=$ac_lo;;
20647 '') if test "$ac_cv_type_int" = yes; then
20648 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20649 See \`config.log
' for more details." >&5
20650 echo "$as_me: error: cannot compute sizeof (int)
20651 See \`config.log' for more details.
" >&2;}
20652 { (exit 77); exit 77; }; }
20658 cat >conftest.$ac_ext <<_ACEOF
20661 cat confdefs.h >>conftest.$ac_ext
20662 cat >>conftest.$ac_ext <<_ACEOF
20663 /* end confdefs.h. */
20664 $ac_includes_default
20665 typedef int ac__type_sizeof_;
20666 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20667 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20669 #include <stdlib.h>
20674 FILE *f = fopen ("conftest.val
", "w
");
20677 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20679 long int i = longval ();
20680 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20682 fprintf (f, "%ld
\n", i);
20686 unsigned long int i = ulongval ();
20687 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20689 fprintf (f, "%lu
\n", i);
20691 return ferror (f) || fclose (f) != 0;
20697 rm -f conftest$ac_exeext
20698 if { (ac_try="$ac_link"
20699 case "(($ac_try" in
20700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20701 *) ac_try_echo=$ac_try;;
20703 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20704 (eval "$ac_link") 2>&5
20706 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20707 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20708 { (case "(($ac_try" in
20709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20710 *) ac_try_echo=$ac_try;;
20712 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20713 (eval "$ac_try") 2>&5
20715 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20716 (exit $ac_status); }; }; then
20717 ac_cv_sizeof_int=`cat conftest.val`
20719 echo "$as_me: program exited with status
$ac_status" >&5
20720 echo "$as_me: failed program was
:" >&5
20721 sed 's/^/| /' conftest.$ac_ext >&5
20723 ( exit $ac_status )
20724 if test "$ac_cv_type_int" = yes; then
20725 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
20726 See \
`config.log' for more details." >&5
20727 echo "$as_me: error: cannot compute sizeof (int)
20728 See \`config.log
' for more details." >&2;}
20729 { (exit 77); exit 77; }; }
20734 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20738 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20739 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20743 cat >>confdefs.h <<_ACEOF
20744 #define SIZEOF_INT $ac_cv_sizeof_int
20748 { echo "$as_me:$LINENO: checking for long" >&5
20749 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20750 if test "${ac_cv_type_long+set}" = set; then
20751 echo $ECHO_N "(cached) $ECHO_C" >&6
20753 cat >conftest.$ac_ext <<_ACEOF
20756 cat confdefs.h >>conftest.$ac_ext
20757 cat >>conftest.$ac_ext <<_ACEOF
20758 /* end confdefs.h. */
20759 $ac_includes_default
20760 typedef long ac__type_new_;
20764 if ((ac__type_new_ *) 0)
20766 if (sizeof (ac__type_new_))
20772 rm -f conftest.$ac_objext
20773 if { (ac_try="$ac_compile"
20774 case "(($ac_try" in
20775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20776 *) ac_try_echo=$ac_try;;
20778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20779 (eval "$ac_compile") 2>conftest.er1
20781 grep -v '^
*+' conftest.er1 >conftest.err
20783 cat conftest.err >&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } && {
20786 test -z "$ac_c_werror_flag" ||
20787 test ! -s conftest.err
20788 } && test -s conftest.$ac_objext; then
20789 ac_cv_type_long=yes
20791 echo "$as_me: failed program was:" >&5
20792 sed 's
/^
/| /' conftest.$ac_ext >&5
20797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20799 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20800 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20802 # The cast to long int works around a bug in the HP C Compiler
20803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20805 # This bug is HP SR number 8606223364.
20806 { echo "$as_me:$LINENO: checking size of long" >&5
20807 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20808 if test "${ac_cv_sizeof_long+set}" = set; then
20809 echo $ECHO_N "(cached) $ECHO_C" >&6
20811 if test "$cross_compiling" = yes; then
20812 # Depending upon the size, compute the lo and hi bounds.
20813 cat >conftest.
$ac_ext <<_ACEOF
20816 cat confdefs.h
>>conftest.
$ac_ext
20817 cat >>conftest.
$ac_ext <<_ACEOF
20818 /* end confdefs.h. */
20819 $ac_includes_default
20820 typedef long ac__type_sizeof_;
20824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20831 rm -f conftest.
$ac_objext
20832 if { (ac_try
="$ac_compile"
20833 case "(($ac_try" in
20834 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20835 *) ac_try_echo=$ac_try;;
20837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20838 (eval "$ac_compile") 2>conftest.er1
20840 grep -v '^ *+' conftest.er1 >conftest.err
20842 cat conftest.err >&5
20843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844 (exit $ac_status); } && {
20845 test -z "$ac_c_werror_flag" ||
20846 test ! -s conftest.err
20847 } && test -s conftest.$ac_objext; then
20850 cat >conftest.$ac_ext <<_ACEOF
20853 cat confdefs.h >>conftest.$ac_ext
20854 cat >>conftest.$ac_ext <<_ACEOF
20855 /* end confdefs.h. */
20856 $ac_includes_default
20857 typedef long ac__type_sizeof_;
20861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20868 rm -f conftest.$ac_objext
20869 if { (ac_try="$ac_compile"
20870 case "(($ac_try" in
20871 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20872 *) ac_try_echo
=$ac_try;;
20874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20875 (eval "$ac_compile") 2>conftest.er1
20877 grep -v '^ *+' conftest.er1
>conftest.err
20879 cat conftest.err
>&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } && {
20882 test -z "$ac_c_werror_flag" ||
20883 test ! -s conftest.err
20884 } && test -s conftest.
$ac_objext; then
20885 ac_hi
=$ac_mid; break
20887 echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.
$ac_ext >&5
20890 ac_lo
=`expr $ac_mid + 1`
20891 if test $ac_lo -le $ac_mid; then
20895 ac_mid
=`expr 2 '*' $ac_mid + 1`
20898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20901 echo "$as_me: failed program was:" >&5
20902 sed 's/^/| /' conftest.
$ac_ext >&5
20904 cat >conftest.
$ac_ext <<_ACEOF
20907 cat confdefs.h
>>conftest.
$ac_ext
20908 cat >>conftest.
$ac_ext <<_ACEOF
20909 /* end confdefs.h. */
20910 $ac_includes_default
20911 typedef long ac__type_sizeof_;
20915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20922 rm -f conftest.
$ac_objext
20923 if { (ac_try
="$ac_compile"
20924 case "(($ac_try" in
20925 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20926 *) ac_try_echo=$ac_try;;
20928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20929 (eval "$ac_compile") 2>conftest.er1
20931 grep -v '^ *+' conftest.er1 >conftest.err
20933 cat conftest.err >&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); } && {
20936 test -z "$ac_c_werror_flag" ||
20937 test ! -s conftest.err
20938 } && test -s conftest.$ac_objext; then
20941 cat >conftest.$ac_ext <<_ACEOF
20944 cat confdefs.h >>conftest.$ac_ext
20945 cat >>conftest.$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20947 $ac_includes_default
20948 typedef long ac__type_sizeof_;
20952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20959 rm -f conftest.$ac_objext
20960 if { (ac_try="$ac_compile"
20961 case "(($ac_try" in
20962 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20963 *) ac_try_echo
=$ac_try;;
20965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20966 (eval "$ac_compile") 2>conftest.er1
20968 grep -v '^ *+' conftest.er1
>conftest.err
20970 cat conftest.err
>&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); } && {
20973 test -z "$ac_c_werror_flag" ||
20974 test ! -s conftest.err
20975 } && test -s conftest.
$ac_objext; then
20976 ac_lo
=$ac_mid; break
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.
$ac_ext >&5
20981 ac_hi
=`expr '(' $ac_mid ')' - 1`
20982 if test $ac_mid -le $ac_hi; then
20986 ac_mid
=`expr 2 '*' $ac_mid`
20989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20992 echo "$as_me: failed program was:" >&5
20993 sed 's/^/| /' conftest.
$ac_ext >&5
20998 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21002 # Binary search between lo and hi bounds.
21003 while test "x$ac_lo" != "x$ac_hi"; do
21004 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21005 cat >conftest.
$ac_ext <<_ACEOF
21008 cat confdefs.h
>>conftest.
$ac_ext
21009 cat >>conftest.
$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 $ac_includes_default
21012 typedef long ac__type_sizeof_;
21016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21023 rm -f conftest.
$ac_objext
21024 if { (ac_try
="$ac_compile"
21025 case "(($ac_try" in
21026 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21027 *) ac_try_echo=$ac_try;;
21029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21030 (eval "$ac_compile") 2>conftest.er1
21032 grep -v '^ *+' conftest.er1 >conftest.err
21034 cat conftest.err >&5
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); } && {
21037 test -z "$ac_c_werror_flag" ||
21038 test ! -s conftest.err
21039 } && test -s conftest.$ac_objext; then
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.$ac_ext >&5
21045 ac_lo=`expr '(' $ac_mid ')' + 1`
21048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21051 ?*) ac_cv_sizeof_long=$ac_lo;;
21052 '') if test "$ac_cv_type_long" = yes; then
21053 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21054 See \`config.log
' for more details." >&5
21055 echo "$as_me: error: cannot compute sizeof (long)
21056 See \`config.log' for more details.
" >&2;}
21057 { (exit 77); exit 77; }; }
21059 ac_cv_sizeof_long=0
21063 cat >conftest.$ac_ext <<_ACEOF
21066 cat confdefs.h >>conftest.$ac_ext
21067 cat >>conftest.$ac_ext <<_ACEOF
21068 /* end confdefs.h. */
21069 $ac_includes_default
21070 typedef long ac__type_sizeof_;
21071 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21072 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21074 #include <stdlib.h>
21079 FILE *f = fopen ("conftest.val
", "w
");
21082 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21084 long int i = longval ();
21085 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21087 fprintf (f, "%ld
\n", i);
21091 unsigned long int i = ulongval ();
21092 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21094 fprintf (f, "%lu
\n", i);
21096 return ferror (f) || fclose (f) != 0;
21102 rm -f conftest$ac_exeext
21103 if { (ac_try="$ac_link"
21104 case "(($ac_try" in
21105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21106 *) ac_try_echo=$ac_try;;
21108 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21109 (eval "$ac_link") 2>&5
21111 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21113 { (case "(($ac_try" in
21114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21115 *) ac_try_echo=$ac_try;;
21117 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21118 (eval "$ac_try") 2>&5
21120 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21121 (exit $ac_status); }; }; then
21122 ac_cv_sizeof_long=`cat conftest.val`
21124 echo "$as_me: program exited with status
$ac_status" >&5
21125 echo "$as_me: failed program was
:" >&5
21126 sed 's/^/| /' conftest.$ac_ext >&5
21128 ( exit $ac_status )
21129 if test "$ac_cv_type_long" = yes; then
21130 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21131 See \
`config.log' for more details." >&5
21132 echo "$as_me: error: cannot compute sizeof (long)
21133 See \`config.log
' for more details." >&2;}
21134 { (exit 77); exit 77; }; }
21136 ac_cv_sizeof_long=0
21139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21143 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21144 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21148 cat >>confdefs.h <<_ACEOF
21149 #define SIZEOF_LONG $ac_cv_sizeof_long
21153 { echo "$as_me:$LINENO: checking for size_t" >&5
21154 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21155 if test "${ac_cv_type_size_t+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 cat >conftest.$ac_ext <<_ACEOF
21161 cat confdefs.h >>conftest.$ac_ext
21162 cat >>conftest.$ac_ext <<_ACEOF
21163 /* end confdefs.h. */
21164 $ac_includes_default
21165 typedef size_t ac__type_new_;
21169 if ((ac__type_new_ *) 0)
21171 if (sizeof (ac__type_new_))
21177 rm -f conftest.$ac_objext
21178 if { (ac_try="$ac_compile"
21179 case "(($ac_try" in
21180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21181 *) ac_try_echo=$ac_try;;
21183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21184 (eval "$ac_compile") 2>conftest.er1
21186 grep -v '^
*+' conftest.er1 >conftest.err
21188 cat conftest.err >&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } && {
21191 test -z "$ac_c_werror_flag" ||
21192 test ! -s conftest.err
21193 } && test -s conftest.$ac_objext; then
21194 ac_cv_type_size_t=yes
21196 echo "$as_me: failed program was:" >&5
21197 sed 's
/^
/| /' conftest.$ac_ext >&5
21199 ac_cv_type_size_t=no
21202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21204 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21205 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21207 # The cast to long int works around a bug in the HP C Compiler
21208 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21209 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21210 # This bug is HP SR number 8606223364.
21211 { echo "$as_me:$LINENO: checking size of size_t" >&5
21212 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21213 if test "${ac_cv_sizeof_size_t+set}" = set; then
21214 echo $ECHO_N "(cached) $ECHO_C" >&6
21216 if test "$cross_compiling" = yes; then
21217 # Depending upon the size, compute the lo and hi bounds.
21218 cat >conftest.
$ac_ext <<_ACEOF
21221 cat confdefs.h
>>conftest.
$ac_ext
21222 cat >>conftest.
$ac_ext <<_ACEOF
21223 /* end confdefs.h. */
21224 $ac_includes_default
21225 typedef size_t ac__type_sizeof_;
21229 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21236 rm -f conftest.
$ac_objext
21237 if { (ac_try
="$ac_compile"
21238 case "(($ac_try" in
21239 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21240 *) ac_try_echo=$ac_try;;
21242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21243 (eval "$ac_compile") 2>conftest.er1
21245 grep -v '^ *+' conftest.er1 >conftest.err
21247 cat conftest.err >&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } && {
21250 test -z "$ac_c_werror_flag" ||
21251 test ! -s conftest.err
21252 } && test -s conftest.$ac_objext; then
21255 cat >conftest.$ac_ext <<_ACEOF
21258 cat confdefs.h >>conftest.$ac_ext
21259 cat >>conftest.$ac_ext <<_ACEOF
21260 /* end confdefs.h. */
21261 $ac_includes_default
21262 typedef size_t ac__type_sizeof_;
21266 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21273 rm -f conftest.$ac_objext
21274 if { (ac_try="$ac_compile"
21275 case "(($ac_try" in
21276 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21277 *) ac_try_echo
=$ac_try;;
21279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21280 (eval "$ac_compile") 2>conftest.er1
21282 grep -v '^ *+' conftest.er1
>conftest.err
21284 cat conftest.err
>&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); } && {
21287 test -z "$ac_c_werror_flag" ||
21288 test ! -s conftest.err
21289 } && test -s conftest.
$ac_objext; then
21290 ac_hi
=$ac_mid; break
21292 echo "$as_me: failed program was:" >&5
21293 sed 's/^/| /' conftest.
$ac_ext >&5
21295 ac_lo
=`expr $ac_mid + 1`
21296 if test $ac_lo -le $ac_mid; then
21300 ac_mid
=`expr 2 '*' $ac_mid + 1`
21303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21306 echo "$as_me: failed program was:" >&5
21307 sed 's/^/| /' conftest.
$ac_ext >&5
21309 cat >conftest.
$ac_ext <<_ACEOF
21312 cat confdefs.h
>>conftest.
$ac_ext
21313 cat >>conftest.
$ac_ext <<_ACEOF
21314 /* end confdefs.h. */
21315 $ac_includes_default
21316 typedef size_t ac__type_sizeof_;
21320 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21327 rm -f conftest.
$ac_objext
21328 if { (ac_try
="$ac_compile"
21329 case "(($ac_try" in
21330 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21331 *) ac_try_echo=$ac_try;;
21333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21334 (eval "$ac_compile") 2>conftest.er1
21336 grep -v '^ *+' conftest.er1 >conftest.err
21338 cat conftest.err >&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); } && {
21341 test -z "$ac_c_werror_flag" ||
21342 test ! -s conftest.err
21343 } && test -s conftest.$ac_objext; then
21346 cat >conftest.$ac_ext <<_ACEOF
21349 cat confdefs.h >>conftest.$ac_ext
21350 cat >>conftest.$ac_ext <<_ACEOF
21351 /* end confdefs.h. */
21352 $ac_includes_default
21353 typedef size_t ac__type_sizeof_;
21357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21364 rm -f conftest.$ac_objext
21365 if { (ac_try="$ac_compile"
21366 case "(($ac_try" in
21367 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21368 *) ac_try_echo
=$ac_try;;
21370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21371 (eval "$ac_compile") 2>conftest.er1
21373 grep -v '^ *+' conftest.er1
>conftest.err
21375 cat conftest.err
>&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); } && {
21378 test -z "$ac_c_werror_flag" ||
21379 test ! -s conftest.err
21380 } && test -s conftest.
$ac_objext; then
21381 ac_lo
=$ac_mid; break
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.
$ac_ext >&5
21386 ac_hi
=`expr '(' $ac_mid ')' - 1`
21387 if test $ac_mid -le $ac_hi; then
21391 ac_mid
=`expr 2 '*' $ac_mid`
21394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21397 echo "$as_me: failed program was:" >&5
21398 sed 's/^/| /' conftest.
$ac_ext >&5
21403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21407 # Binary search between lo and hi bounds.
21408 while test "x$ac_lo" != "x$ac_hi"; do
21409 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21410 cat >conftest.
$ac_ext <<_ACEOF
21413 cat confdefs.h
>>conftest.
$ac_ext
21414 cat >>conftest.
$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 $ac_includes_default
21417 typedef size_t ac__type_sizeof_;
21421 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21428 rm -f conftest.
$ac_objext
21429 if { (ac_try
="$ac_compile"
21430 case "(($ac_try" in
21431 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21432 *) ac_try_echo=$ac_try;;
21434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21435 (eval "$ac_compile") 2>conftest.er1
21437 grep -v '^ *+' conftest.er1 >conftest.err
21439 cat conftest.err >&5
21440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21441 (exit $ac_status); } && {
21442 test -z "$ac_c_werror_flag" ||
21443 test ! -s conftest.err
21444 } && test -s conftest.$ac_objext; then
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.$ac_ext >&5
21450 ac_lo=`expr '(' $ac_mid ')' + 1`
21453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21456 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21457 '') if test "$ac_cv_type_size_t" = yes; then
21458 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21459 See \`config.log
' for more details." >&5
21460 echo "$as_me: error: cannot compute sizeof (size_t)
21461 See \`config.log' for more details.
" >&2;}
21462 { (exit 77); exit 77; }; }
21464 ac_cv_sizeof_size_t=0
21468 cat >conftest.$ac_ext <<_ACEOF
21471 cat confdefs.h >>conftest.$ac_ext
21472 cat >>conftest.$ac_ext <<_ACEOF
21473 /* end confdefs.h. */
21474 $ac_includes_default
21475 typedef size_t ac__type_sizeof_;
21476 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21477 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21479 #include <stdlib.h>
21484 FILE *f = fopen ("conftest.val
", "w
");
21487 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21489 long int i = longval ();
21490 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21492 fprintf (f, "%ld
\n", i);
21496 unsigned long int i = ulongval ();
21497 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21499 fprintf (f, "%lu
\n", i);
21501 return ferror (f) || fclose (f) != 0;
21507 rm -f conftest$ac_exeext
21508 if { (ac_try="$ac_link"
21509 case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21513 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_link") 2>&5
21516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21517 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21518 { (case "(($ac_try" in
21519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21520 *) ac_try_echo=$ac_try;;
21522 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21523 (eval "$ac_try") 2>&5
21525 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21526 (exit $ac_status); }; }; then
21527 ac_cv_sizeof_size_t=`cat conftest.val`
21529 echo "$as_me: program exited with status
$ac_status" >&5
21530 echo "$as_me: failed program was
:" >&5
21531 sed 's/^/| /' conftest.$ac_ext >&5
21533 ( exit $ac_status )
21534 if test "$ac_cv_type_size_t" = yes; then
21535 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
21536 See \
`config.log' for more details." >&5
21537 echo "$as_me: error: cannot compute sizeof (size_t)
21538 See \`config.log
' for more details." >&2;}
21539 { (exit 77); exit 77; }; }
21541 ac_cv_sizeof_size_t=0
21544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21548 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21549 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21553 cat >>confdefs.h <<_ACEOF
21554 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21561 { echo "$as_me:$LINENO: checking for long long" >&5
21562 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21563 if test "${ac_cv_type_long_long+set}" = set; then
21564 echo $ECHO_N "(cached) $ECHO_C" >&6
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 long long ac__type_new_;
21577 if ((ac__type_new_ *) 0)
21579 if (sizeof (ac__type_new_))
21585 rm -f conftest.$ac_objext
21586 if { (ac_try="$ac_compile"
21587 case "(($ac_try" in
21588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21589 *) ac_try_echo=$ac_try;;
21591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21592 (eval "$ac_compile") 2>conftest.er1
21594 grep -v '^
*+' conftest.er1 >conftest.err
21596 cat conftest.err >&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); } && {
21599 test -z "$ac_c_werror_flag" ||
21600 test ! -s conftest.err
21601 } && test -s conftest.$ac_objext; then
21602 ac_cv_type_long_long=yes
21604 echo "$as_me: failed program was:" >&5
21605 sed 's
/^
/| /' conftest.$ac_ext >&5
21607 ac_cv_type_long_long=no
21610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21612 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21613 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21615 # The cast to long int works around a bug in the HP C Compiler
21616 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21617 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21618 # This bug is HP SR number 8606223364.
21619 { echo "$as_me:$LINENO: checking size of long long" >&5
21620 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21621 if test "${ac_cv_sizeof_long_long+set}" = set; then
21622 echo $ECHO_N "(cached) $ECHO_C" >&6
21624 if test "$cross_compiling" = yes; then
21625 # Depending upon the size, compute the lo and hi bounds.
21626 cat >conftest.
$ac_ext <<_ACEOF
21629 cat confdefs.h
>>conftest.
$ac_ext
21630 cat >>conftest.
$ac_ext <<_ACEOF
21631 /* end confdefs.h. */
21632 $ac_includes_default
21633 typedef long long ac__type_sizeof_;
21637 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21644 rm -f conftest.
$ac_objext
21645 if { (ac_try
="$ac_compile"
21646 case "(($ac_try" in
21647 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21648 *) ac_try_echo=$ac_try;;
21650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21651 (eval "$ac_compile") 2>conftest.er1
21653 grep -v '^ *+' conftest.er1 >conftest.err
21655 cat conftest.err >&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); } && {
21658 test -z "$ac_c_werror_flag" ||
21659 test ! -s conftest.err
21660 } && test -s conftest.$ac_objext; then
21663 cat >conftest.$ac_ext <<_ACEOF
21666 cat confdefs.h >>conftest.$ac_ext
21667 cat >>conftest.$ac_ext <<_ACEOF
21668 /* end confdefs.h. */
21669 $ac_includes_default
21670 typedef long long ac__type_sizeof_;
21674 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21681 rm -f conftest.$ac_objext
21682 if { (ac_try="$ac_compile"
21683 case "(($ac_try" in
21684 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21685 *) ac_try_echo
=$ac_try;;
21687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21688 (eval "$ac_compile") 2>conftest.er1
21690 grep -v '^ *+' conftest.er1
>conftest.err
21692 cat conftest.err
>&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); } && {
21695 test -z "$ac_c_werror_flag" ||
21696 test ! -s conftest.err
21697 } && test -s conftest.
$ac_objext; then
21698 ac_hi
=$ac_mid; break
21700 echo "$as_me: failed program was:" >&5
21701 sed 's/^/| /' conftest.
$ac_ext >&5
21703 ac_lo
=`expr $ac_mid + 1`
21704 if test $ac_lo -le $ac_mid; then
21708 ac_mid
=`expr 2 '*' $ac_mid + 1`
21711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21714 echo "$as_me: failed program was:" >&5
21715 sed 's/^/| /' conftest.
$ac_ext >&5
21717 cat >conftest.
$ac_ext <<_ACEOF
21720 cat confdefs.h
>>conftest.
$ac_ext
21721 cat >>conftest.
$ac_ext <<_ACEOF
21722 /* end confdefs.h. */
21723 $ac_includes_default
21724 typedef long long ac__type_sizeof_;
21728 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21735 rm -f conftest.
$ac_objext
21736 if { (ac_try
="$ac_compile"
21737 case "(($ac_try" in
21738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21739 *) ac_try_echo=$ac_try;;
21741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21742 (eval "$ac_compile") 2>conftest.er1
21744 grep -v '^ *+' conftest.er1 >conftest.err
21746 cat conftest.err >&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); } && {
21749 test -z "$ac_c_werror_flag" ||
21750 test ! -s conftest.err
21751 } && test -s conftest.$ac_objext; then
21754 cat >conftest.$ac_ext <<_ACEOF
21757 cat confdefs.h >>conftest.$ac_ext
21758 cat >>conftest.$ac_ext <<_ACEOF
21759 /* end confdefs.h. */
21760 $ac_includes_default
21761 typedef long long ac__type_sizeof_;
21765 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21772 rm -f conftest.$ac_objext
21773 if { (ac_try="$ac_compile"
21774 case "(($ac_try" in
21775 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21776 *) ac_try_echo
=$ac_try;;
21778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21779 (eval "$ac_compile") 2>conftest.er1
21781 grep -v '^ *+' conftest.er1
>conftest.err
21783 cat conftest.err
>&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); } && {
21786 test -z "$ac_c_werror_flag" ||
21787 test ! -s conftest.err
21788 } && test -s conftest.
$ac_objext; then
21789 ac_lo
=$ac_mid; break
21791 echo "$as_me: failed program was:" >&5
21792 sed 's/^/| /' conftest.
$ac_ext >&5
21794 ac_hi
=`expr '(' $ac_mid ')' - 1`
21795 if test $ac_mid -le $ac_hi; then
21799 ac_mid
=`expr 2 '*' $ac_mid`
21802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21805 echo "$as_me: failed program was:" >&5
21806 sed 's/^/| /' conftest.
$ac_ext >&5
21811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21815 # Binary search between lo and hi bounds.
21816 while test "x$ac_lo" != "x$ac_hi"; do
21817 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21818 cat >conftest.
$ac_ext <<_ACEOF
21821 cat confdefs.h
>>conftest.
$ac_ext
21822 cat >>conftest.
$ac_ext <<_ACEOF
21823 /* end confdefs.h. */
21824 $ac_includes_default
21825 typedef long long ac__type_sizeof_;
21829 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21836 rm -f conftest.
$ac_objext
21837 if { (ac_try
="$ac_compile"
21838 case "(($ac_try" in
21839 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21840 *) ac_try_echo=$ac_try;;
21842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21843 (eval "$ac_compile") 2>conftest.er1
21845 grep -v '^ *+' conftest.er1 >conftest.err
21847 cat conftest.err >&5
21848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849 (exit $ac_status); } && {
21850 test -z "$ac_c_werror_flag" ||
21851 test ! -s conftest.err
21852 } && test -s conftest.$ac_objext; then
21855 echo "$as_me: failed program was:" >&5
21856 sed 's/^/| /' conftest.$ac_ext >&5
21858 ac_lo=`expr '(' $ac_mid ')' + 1`
21861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21864 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21865 '') if test "$ac_cv_type_long_long" = yes; then
21866 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21867 See \`config.log
' for more details." >&5
21868 echo "$as_me: error: cannot compute sizeof (long long)
21869 See \`config.log' for more details.
" >&2;}
21870 { (exit 77); exit 77; }; }
21872 ac_cv_sizeof_long_long=0
21876 cat >conftest.$ac_ext <<_ACEOF
21879 cat confdefs.h >>conftest.$ac_ext
21880 cat >>conftest.$ac_ext <<_ACEOF
21881 /* end confdefs.h. */
21882 $ac_includes_default
21883 typedef long long ac__type_sizeof_;
21884 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21885 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21887 #include <stdlib.h>
21892 FILE *f = fopen ("conftest.val
", "w
");
21895 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21897 long int i = longval ();
21898 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21900 fprintf (f, "%ld
\n", i);
21904 unsigned long int i = ulongval ();
21905 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21907 fprintf (f, "%lu
\n", i);
21909 return ferror (f) || fclose (f) != 0;
21915 rm -f conftest$ac_exeext
21916 if { (ac_try="$ac_link"
21917 case "(($ac_try" in
21918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21919 *) ac_try_echo=$ac_try;;
21921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21922 (eval "$ac_link") 2>&5
21924 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21925 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21926 { (case "(($ac_try" in
21927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21928 *) ac_try_echo=$ac_try;;
21930 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21931 (eval "$ac_try") 2>&5
21933 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21934 (exit $ac_status); }; }; then
21935 ac_cv_sizeof_long_long=`cat conftest.val`
21937 echo "$as_me: program exited with status
$ac_status" >&5
21938 echo "$as_me: failed program was
:" >&5
21939 sed 's/^/| /' conftest.$ac_ext >&5
21941 ( exit $ac_status )
21942 if test "$ac_cv_type_long_long" = yes; then
21943 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
21944 See \
`config.log' for more details." >&5
21945 echo "$as_me: error: cannot compute sizeof (long long)
21946 See \`config.log
' for more details." >&2;}
21947 { (exit 77); exit 77; }; }
21949 ac_cv_sizeof_long_long=0
21952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21956 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21957 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21961 cat >>confdefs.h <<_ACEOF
21962 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21968 { echo "$as_me:$LINENO: checking for long long" >&5
21969 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21970 if test "${ac_cv_type_long_long+set}" = set; then
21971 echo $ECHO_N "(cached) $ECHO_C" >&6
21973 cat >conftest.$ac_ext <<_ACEOF
21976 cat confdefs.h >>conftest.$ac_ext
21977 cat >>conftest.$ac_ext <<_ACEOF
21978 /* end confdefs.h. */
21979 $ac_includes_default
21980 typedef long long ac__type_new_;
21984 if ((ac__type_new_ *) 0)
21986 if (sizeof (ac__type_new_))
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
22009 ac_cv_type_long_long=yes
22011 echo "$as_me: failed program was:" >&5
22012 sed 's
/^
/| /' conftest.$ac_ext >&5
22014 ac_cv_type_long_long=no
22017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22019 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22020 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22022 # The cast to long int works around a bug in the HP C Compiler
22023 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22024 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22025 # This bug is HP SR number 8606223364.
22026 { echo "$as_me:$LINENO: checking size of long long" >&5
22027 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22028 if test "${ac_cv_sizeof_long_long+set}" = set; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6
22031 if test "$cross_compiling" = yes; then
22032 # Depending upon the size, compute the lo and hi bounds.
22033 cat >conftest.
$ac_ext <<_ACEOF
22036 cat confdefs.h
>>conftest.
$ac_ext
22037 cat >>conftest.
$ac_ext <<_ACEOF
22038 /* end confdefs.h. */
22039 $ac_includes_default
22040 typedef long long ac__type_sizeof_;
22044 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22051 rm -f conftest.
$ac_objext
22052 if { (ac_try
="$ac_compile"
22053 case "(($ac_try" in
22054 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22055 *) ac_try_echo=$ac_try;;
22057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22058 (eval "$ac_compile") 2>conftest.er1
22060 grep -v '^ *+' conftest.er1 >conftest.err
22062 cat conftest.err >&5
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); } && {
22065 test -z "$ac_c_werror_flag" ||
22066 test ! -s conftest.err
22067 } && test -s conftest.$ac_objext; then
22070 cat >conftest.$ac_ext <<_ACEOF
22073 cat confdefs.h >>conftest.$ac_ext
22074 cat >>conftest.$ac_ext <<_ACEOF
22075 /* end confdefs.h. */
22076 $ac_includes_default
22077 typedef long long ac__type_sizeof_;
22081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22088 rm -f conftest.$ac_objext
22089 if { (ac_try="$ac_compile"
22090 case "(($ac_try" in
22091 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22092 *) ac_try_echo
=$ac_try;;
22094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22095 (eval "$ac_compile") 2>conftest.er1
22097 grep -v '^ *+' conftest.er1
>conftest.err
22099 cat conftest.err
>&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); } && {
22102 test -z "$ac_c_werror_flag" ||
22103 test ! -s conftest.err
22104 } && test -s conftest.
$ac_objext; then
22105 ac_hi
=$ac_mid; break
22107 echo "$as_me: failed program was:" >&5
22108 sed 's/^/| /' conftest.
$ac_ext >&5
22110 ac_lo
=`expr $ac_mid + 1`
22111 if test $ac_lo -le $ac_mid; then
22115 ac_mid
=`expr 2 '*' $ac_mid + 1`
22118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22121 echo "$as_me: failed program was:" >&5
22122 sed 's/^/| /' conftest.
$ac_ext >&5
22124 cat >conftest.
$ac_ext <<_ACEOF
22127 cat confdefs.h
>>conftest.
$ac_ext
22128 cat >>conftest.
$ac_ext <<_ACEOF
22129 /* end confdefs.h. */
22130 $ac_includes_default
22131 typedef long long ac__type_sizeof_;
22135 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22142 rm -f conftest.
$ac_objext
22143 if { (ac_try
="$ac_compile"
22144 case "(($ac_try" in
22145 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22146 *) ac_try_echo=$ac_try;;
22148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22149 (eval "$ac_compile") 2>conftest.er1
22151 grep -v '^ *+' conftest.er1 >conftest.err
22153 cat conftest.err >&5
22154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155 (exit $ac_status); } && {
22156 test -z "$ac_c_werror_flag" ||
22157 test ! -s conftest.err
22158 } && test -s conftest.$ac_objext; then
22161 cat >conftest.$ac_ext <<_ACEOF
22164 cat confdefs.h >>conftest.$ac_ext
22165 cat >>conftest.$ac_ext <<_ACEOF
22166 /* end confdefs.h. */
22167 $ac_includes_default
22168 typedef long long ac__type_sizeof_;
22172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22179 rm -f conftest.$ac_objext
22180 if { (ac_try="$ac_compile"
22181 case "(($ac_try" in
22182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22183 *) ac_try_echo
=$ac_try;;
22185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22186 (eval "$ac_compile") 2>conftest.er1
22188 grep -v '^ *+' conftest.er1
>conftest.err
22190 cat conftest.err
>&5
22191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22192 (exit $ac_status); } && {
22193 test -z "$ac_c_werror_flag" ||
22194 test ! -s conftest.err
22195 } && test -s conftest.
$ac_objext; then
22196 ac_lo
=$ac_mid; break
22198 echo "$as_me: failed program was:" >&5
22199 sed 's/^/| /' conftest.
$ac_ext >&5
22201 ac_hi
=`expr '(' $ac_mid ')' - 1`
22202 if test $ac_mid -le $ac_hi; then
22206 ac_mid
=`expr 2 '*' $ac_mid`
22209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22212 echo "$as_me: failed program was:" >&5
22213 sed 's/^/| /' conftest.
$ac_ext >&5
22218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22222 # Binary search between lo and hi bounds.
22223 while test "x$ac_lo" != "x$ac_hi"; do
22224 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22225 cat >conftest.
$ac_ext <<_ACEOF
22228 cat confdefs.h
>>conftest.
$ac_ext
22229 cat >>conftest.
$ac_ext <<_ACEOF
22230 /* end confdefs.h. */
22231 $ac_includes_default
22232 typedef long long ac__type_sizeof_;
22236 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22243 rm -f conftest.
$ac_objext
22244 if { (ac_try
="$ac_compile"
22245 case "(($ac_try" in
22246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22247 *) ac_try_echo=$ac_try;;
22249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22250 (eval "$ac_compile") 2>conftest.er1
22252 grep -v '^ *+' conftest.er1 >conftest.err
22254 cat conftest.err >&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); } && {
22257 test -z "$ac_c_werror_flag" ||
22258 test ! -s conftest.err
22259 } && test -s conftest.$ac_objext; then
22262 echo "$as_me: failed program was:" >&5
22263 sed 's/^/| /' conftest.$ac_ext >&5
22265 ac_lo=`expr '(' $ac_mid ')' + 1`
22268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22271 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22272 '') if test "$ac_cv_type_long_long" = yes; then
22273 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22274 See \`config.log
' for more details." >&5
22275 echo "$as_me: error: cannot compute sizeof (long long)
22276 See \`config.log' for more details.
" >&2;}
22277 { (exit 77); exit 77; }; }
22279 ac_cv_sizeof_long_long=0
22283 cat >conftest.$ac_ext <<_ACEOF
22286 cat confdefs.h >>conftest.$ac_ext
22287 cat >>conftest.$ac_ext <<_ACEOF
22288 /* end confdefs.h. */
22289 $ac_includes_default
22290 typedef long long ac__type_sizeof_;
22291 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22292 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22294 #include <stdlib.h>
22299 FILE *f = fopen ("conftest.val
", "w
");
22302 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22304 long int i = longval ();
22305 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22307 fprintf (f, "%ld
\n", i);
22311 unsigned long int i = ulongval ();
22312 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22314 fprintf (f, "%lu
\n", i);
22316 return ferror (f) || fclose (f) != 0;
22322 rm -f conftest$ac_exeext
22323 if { (ac_try="$ac_link"
22324 case "(($ac_try" in
22325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22326 *) ac_try_echo=$ac_try;;
22328 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22329 (eval "$ac_link") 2>&5
22331 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22333 { (case "(($ac_try" in
22334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22335 *) ac_try_echo=$ac_try;;
22337 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22338 (eval "$ac_try") 2>&5
22340 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22341 (exit $ac_status); }; }; then
22342 ac_cv_sizeof_long_long=`cat conftest.val`
22344 echo "$as_me: program exited with status
$ac_status" >&5
22345 echo "$as_me: failed program was
:" >&5
22346 sed 's/^/| /' conftest.$ac_ext >&5
22348 ( exit $ac_status )
22349 if test "$ac_cv_type_long_long" = yes; then
22350 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22351 See \
`config.log' for more details." >&5
22352 echo "$as_me: error: cannot compute sizeof (long long)
22353 See \`config.log
' for more details." >&2;}
22354 { (exit 77); exit 77; }; }
22356 ac_cv_sizeof_long_long=0
22359 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22363 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22364 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22368 cat >>confdefs.h <<_ACEOF
22369 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22373 if test "$ac_cv_sizeof_long_long" != 0; then
22374 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22378 { echo "$as_me:$LINENO: checking for long long" >&5
22379 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22380 if test "${ac_cv_type_long_long+set}" = set; then
22381 echo $ECHO_N "(cached) $ECHO_C" >&6
22383 cat >conftest.$ac_ext <<_ACEOF
22386 cat confdefs.h >>conftest.$ac_ext
22387 cat >>conftest.$ac_ext <<_ACEOF
22388 /* end confdefs.h. */
22389 $ac_includes_default
22390 typedef long long ac__type_new_;
22394 if ((ac__type_new_ *) 0)
22396 if (sizeof (ac__type_new_))
22402 rm -f conftest.$ac_objext
22403 if { (ac_try="$ac_compile"
22404 case "(($ac_try" in
22405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22406 *) ac_try_echo=$ac_try;;
22408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22409 (eval "$ac_compile") 2>conftest.er1
22411 grep -v '^
*+' conftest.er1 >conftest.err
22413 cat conftest.err >&5
22414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415 (exit $ac_status); } && {
22416 test -z "$ac_c_werror_flag" ||
22417 test ! -s conftest.err
22418 } && test -s conftest.$ac_objext; then
22419 ac_cv_type_long_long=yes
22421 echo "$as_me: failed program was:" >&5
22422 sed 's
/^
/| /' conftest.$ac_ext >&5
22424 ac_cv_type_long_long=no
22427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22429 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22430 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22432 # The cast to long int works around a bug in the HP C Compiler
22433 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22434 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22435 # This bug is HP SR number 8606223364.
22436 { echo "$as_me:$LINENO: checking size of long long" >&5
22437 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22438 if test "${ac_cv_sizeof_long_long+set}" = set; then
22439 echo $ECHO_N "(cached) $ECHO_C" >&6
22441 if test "$cross_compiling" = yes; then
22442 # Depending upon the size, compute the lo and hi bounds.
22443 cat >conftest.
$ac_ext <<_ACEOF
22446 cat confdefs.h
>>conftest.
$ac_ext
22447 cat >>conftest.
$ac_ext <<_ACEOF
22448 /* end confdefs.h. */
22449 $ac_includes_default
22450 typedef long long ac__type_sizeof_;
22454 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22461 rm -f conftest.
$ac_objext
22462 if { (ac_try
="$ac_compile"
22463 case "(($ac_try" in
22464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22465 *) ac_try_echo=$ac_try;;
22467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22468 (eval "$ac_compile") 2>conftest.er1
22470 grep -v '^ *+' conftest.er1 >conftest.err
22472 cat conftest.err >&5
22473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22474 (exit $ac_status); } && {
22475 test -z "$ac_c_werror_flag" ||
22476 test ! -s conftest.err
22477 } && test -s conftest.$ac_objext; then
22480 cat >conftest.$ac_ext <<_ACEOF
22483 cat confdefs.h >>conftest.$ac_ext
22484 cat >>conftest.$ac_ext <<_ACEOF
22485 /* end confdefs.h. */
22486 $ac_includes_default
22487 typedef long long ac__type_sizeof_;
22491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22498 rm -f conftest.$ac_objext
22499 if { (ac_try="$ac_compile"
22500 case "(($ac_try" in
22501 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22502 *) ac_try_echo
=$ac_try;;
22504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22505 (eval "$ac_compile") 2>conftest.er1
22507 grep -v '^ *+' conftest.er1
>conftest.err
22509 cat conftest.err
>&5
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); } && {
22512 test -z "$ac_c_werror_flag" ||
22513 test ! -s conftest.err
22514 } && test -s conftest.
$ac_objext; then
22515 ac_hi
=$ac_mid; break
22517 echo "$as_me: failed program was:" >&5
22518 sed 's/^/| /' conftest.
$ac_ext >&5
22520 ac_lo
=`expr $ac_mid + 1`
22521 if test $ac_lo -le $ac_mid; then
22525 ac_mid
=`expr 2 '*' $ac_mid + 1`
22528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22531 echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.
$ac_ext >&5
22534 cat >conftest.
$ac_ext <<_ACEOF
22537 cat confdefs.h
>>conftest.
$ac_ext
22538 cat >>conftest.
$ac_ext <<_ACEOF
22539 /* end confdefs.h. */
22540 $ac_includes_default
22541 typedef long long ac__type_sizeof_;
22545 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22552 rm -f conftest.
$ac_objext
22553 if { (ac_try
="$ac_compile"
22554 case "(($ac_try" in
22555 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22556 *) ac_try_echo=$ac_try;;
22558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22559 (eval "$ac_compile") 2>conftest.er1
22561 grep -v '^ *+' conftest.er1 >conftest.err
22563 cat conftest.err >&5
22564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22565 (exit $ac_status); } && {
22566 test -z "$ac_c_werror_flag" ||
22567 test ! -s conftest.err
22568 } && test -s conftest.$ac_objext; then
22571 cat >conftest.$ac_ext <<_ACEOF
22574 cat confdefs.h >>conftest.$ac_ext
22575 cat >>conftest.$ac_ext <<_ACEOF
22576 /* end confdefs.h. */
22577 $ac_includes_default
22578 typedef long long ac__type_sizeof_;
22582 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22589 rm -f conftest.$ac_objext
22590 if { (ac_try="$ac_compile"
22591 case "(($ac_try" in
22592 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22593 *) ac_try_echo
=$ac_try;;
22595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22596 (eval "$ac_compile") 2>conftest.er1
22598 grep -v '^ *+' conftest.er1
>conftest.err
22600 cat conftest.err
>&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } && {
22603 test -z "$ac_c_werror_flag" ||
22604 test ! -s conftest.err
22605 } && test -s conftest.
$ac_objext; then
22606 ac_lo
=$ac_mid; break
22608 echo "$as_me: failed program was:" >&5
22609 sed 's/^/| /' conftest.
$ac_ext >&5
22611 ac_hi
=`expr '(' $ac_mid ')' - 1`
22612 if test $ac_mid -le $ac_hi; then
22616 ac_mid
=`expr 2 '*' $ac_mid`
22619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22622 echo "$as_me: failed program was:" >&5
22623 sed 's/^/| /' conftest.
$ac_ext >&5
22628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22632 # Binary search between lo and hi bounds.
22633 while test "x$ac_lo" != "x$ac_hi"; do
22634 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22635 cat >conftest.
$ac_ext <<_ACEOF
22638 cat confdefs.h
>>conftest.
$ac_ext
22639 cat >>conftest.
$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22641 $ac_includes_default
22642 typedef long long ac__type_sizeof_;
22646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22653 rm -f conftest.
$ac_objext
22654 if { (ac_try
="$ac_compile"
22655 case "(($ac_try" in
22656 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22657 *) ac_try_echo=$ac_try;;
22659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22660 (eval "$ac_compile") 2>conftest.er1
22662 grep -v '^ *+' conftest.er1 >conftest.err
22664 cat conftest.err >&5
22665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22666 (exit $ac_status); } && {
22667 test -z "$ac_c_werror_flag" ||
22668 test ! -s conftest.err
22669 } && test -s conftest.$ac_objext; then
22672 echo "$as_me: failed program was:" >&5
22673 sed 's/^/| /' conftest.$ac_ext >&5
22675 ac_lo=`expr '(' $ac_mid ')' + 1`
22678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22681 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22682 '') if test "$ac_cv_type_long_long" = yes; then
22683 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22684 See \`config.log
' for more details." >&5
22685 echo "$as_me: error: cannot compute sizeof (long long)
22686 See \`config.log' for more details.
" >&2;}
22687 { (exit 77); exit 77; }; }
22689 ac_cv_sizeof_long_long=0
22693 cat >conftest.$ac_ext <<_ACEOF
22696 cat confdefs.h >>conftest.$ac_ext
22697 cat >>conftest.$ac_ext <<_ACEOF
22698 /* end confdefs.h. */
22699 $ac_includes_default
22700 typedef long long ac__type_sizeof_;
22701 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22702 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22704 #include <stdlib.h>
22709 FILE *f = fopen ("conftest.val
", "w
");
22712 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22714 long int i = longval ();
22715 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22717 fprintf (f, "%ld
\n", i);
22721 unsigned long int i = ulongval ();
22722 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22724 fprintf (f, "%lu
\n", i);
22726 return ferror (f) || fclose (f) != 0;
22732 rm -f conftest$ac_exeext
22733 if { (ac_try="$ac_link"
22734 case "(($ac_try" in
22735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22736 *) ac_try_echo=$ac_try;;
22738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22739 (eval "$ac_link") 2>&5
22741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22743 { (case "(($ac_try" in
22744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22745 *) ac_try_echo=$ac_try;;
22747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22748 (eval "$ac_try") 2>&5
22750 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22751 (exit $ac_status); }; }; then
22752 ac_cv_sizeof_long_long=`cat conftest.val`
22754 echo "$as_me: program exited with status
$ac_status" >&5
22755 echo "$as_me: failed program was
:" >&5
22756 sed 's/^/| /' conftest.$ac_ext >&5
22758 ( exit $ac_status )
22759 if test "$ac_cv_type_long_long" = yes; then
22760 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
22761 See \
`config.log' for more details." >&5
22762 echo "$as_me: error: cannot compute sizeof (long long)
22763 See \`config.log
' for more details." >&2;}
22764 { (exit 77); exit 77; }; }
22766 ac_cv_sizeof_long_long=0
22769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22773 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22774 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22778 cat >>confdefs.h <<_ACEOF
22779 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22785 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22786 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22787 if test "${ac_cv_type_wchar_t+set}" = set; then
22788 echo $ECHO_N "(cached) $ECHO_C" >&6
22790 cat >conftest.$ac_ext <<_ACEOF
22793 cat confdefs.h >>conftest.$ac_ext
22794 cat >>conftest.$ac_ext <<_ACEOF
22795 /* end confdefs.h. */
22797 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22798 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22799 # error "fake wchar_t"
22801 #ifdef HAVE_WCHAR_H
22803 # include <stddef.h>
22805 # include <wchar.h>
22807 #ifdef HAVE_STDLIB_H
22808 # include <stdlib.h>
22814 typedef wchar_t ac__type_new_
;
22818 if ((ac__type_new_
*) 0)
22820 if (sizeof
(ac__type_new_
))
22826 rm -f conftest.
$ac_objext
22827 if { (ac_try
="$ac_compile"
22828 case "(($ac_try" in
22829 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22830 *) ac_try_echo=$ac_try;;
22832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22833 (eval "$ac_compile") 2>conftest.er1
22835 grep -v '^ *+' conftest.er1 >conftest.err
22837 cat conftest.err >&5
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); } && {
22840 test -z "$ac_c_werror_flag" ||
22841 test ! -s conftest.err
22842 } && test -s conftest.$ac_objext; then
22843 ac_cv_type_wchar_t=yes
22845 echo "$as_me: failed program was:" >&5
22846 sed 's/^/| /' conftest.$ac_ext >&5
22848 ac_cv_type_wchar_t=no
22851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22853 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22854 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22856 # The cast to long int works around a bug in the HP C Compiler
22857 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22858 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
22859 # This bug is HP SR number 8606223364.
22860 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22861 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22862 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22863 echo $ECHO_N "(cached) $ECHO_C" >&6
22865 if test "$cross_compiling" = yes; then
22866 # Depending upon the size, compute the lo and hi bounds.
22867 cat >conftest.$ac_ext <<_ACEOF
22870 cat confdefs.h >>conftest.$ac_ext
22871 cat >>conftest.$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22874 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
22875 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22876 # error "fake wchar_t"
22878 #ifdef HAVE_WCHAR_H
22880 # include <stddef.h>
22882 # include <wchar.h>
22884 #ifdef HAVE_STDLIB_H
22885 # include <stdlib.h>
22891 typedef wchar_t ac__type_sizeof_
;
22895 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
22902 rm -f conftest.
$ac_objext
22903 if { (ac_try
="$ac_compile"
22904 case "(($ac_try" in
22905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22906 *) ac_try_echo=$ac_try;;
22908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22909 (eval "$ac_compile") 2>conftest.er1
22911 grep -v '^ *+' conftest.er1 >conftest.err
22913 cat conftest.err >&5
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); } && {
22916 test -z "$ac_c_werror_flag" ||
22917 test ! -s conftest.err
22918 } && test -s conftest.$ac_objext; then
22921 cat >conftest.$ac_ext <<_ACEOF
22924 cat confdefs.h >>conftest.$ac_ext
22925 cat >>conftest.$ac_ext <<_ACEOF
22926 /* end confdefs.h. */
22928 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22929 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22930 # error "fake wchar_t"
22932 #ifdef HAVE_WCHAR_H
22934 # include <stddef.h>
22936 # include <wchar.h>
22938 #ifdef HAVE_STDLIB_H
22939 # include <stdlib.h>
22945 typedef wchar_t ac__type_sizeof_;
22949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22956 rm -f conftest.$ac_objext
22957 if { (ac_try="$ac_compile"
22958 case "(($ac_try" in
22959 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22960 *) ac_try_echo
=$ac_try;;
22962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22963 (eval "$ac_compile") 2>conftest.er1
22965 grep -v '^ *+' conftest.er1
>conftest.err
22967 cat conftest.err
>&5
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); } && {
22970 test -z "$ac_c_werror_flag" ||
22971 test ! -s conftest.err
22972 } && test -s conftest.
$ac_objext; then
22973 ac_hi
=$ac_mid; break
22975 echo "$as_me: failed program was:" >&5
22976 sed 's/^/| /' conftest.
$ac_ext >&5
22978 ac_lo
=`expr $ac_mid + 1`
22979 if test $ac_lo -le $ac_mid; then
22983 ac_mid
=`expr 2 '*' $ac_mid + 1`
22986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22989 echo "$as_me: failed program was:" >&5
22990 sed 's/^/| /' conftest.
$ac_ext >&5
22992 cat >conftest.
$ac_ext <<_ACEOF
22995 cat confdefs.h
>>conftest.
$ac_ext
22996 cat >>conftest.
$ac_ext <<_ACEOF
22997 /* end confdefs.h. */
22999 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23000 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23001 # error "fake wchar_t"
23003 #ifdef HAVE_WCHAR_H
23005 # include <stddef.h>
23007 # include <wchar.h>
23009 #ifdef HAVE_STDLIB_H
23010 # include <stdlib.h>
23016 typedef wchar_t ac__type_sizeof_;
23020 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23027 rm -f conftest.
$ac_objext
23028 if { (ac_try
="$ac_compile"
23029 case "(($ac_try" in
23030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23031 *) ac_try_echo=$ac_try;;
23033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23034 (eval "$ac_compile") 2>conftest.er1
23036 grep -v '^ *+' conftest.er1 >conftest.err
23038 cat conftest.err >&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); } && {
23041 test -z "$ac_c_werror_flag" ||
23042 test ! -s conftest.err
23043 } && test -s conftest.$ac_objext; then
23046 cat >conftest.$ac_ext <<_ACEOF
23049 cat confdefs.h >>conftest.$ac_ext
23050 cat >>conftest.$ac_ext <<_ACEOF
23051 /* end confdefs.h. */
23053 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23054 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23055 # error "fake wchar_t"
23057 #ifdef HAVE_WCHAR_H
23059 # include <stddef.h>
23061 # include <wchar.h>
23063 #ifdef HAVE_STDLIB_H
23064 # include <stdlib.h>
23070 typedef wchar_t ac__type_sizeof_;
23074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23081 rm -f conftest.$ac_objext
23082 if { (ac_try="$ac_compile"
23083 case "(($ac_try" in
23084 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23085 *) ac_try_echo
=$ac_try;;
23087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23088 (eval "$ac_compile") 2>conftest.er1
23090 grep -v '^ *+' conftest.er1
>conftest.err
23092 cat conftest.err
>&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } && {
23095 test -z "$ac_c_werror_flag" ||
23096 test ! -s conftest.err
23097 } && test -s conftest.
$ac_objext; then
23098 ac_lo
=$ac_mid; break
23100 echo "$as_me: failed program was:" >&5
23101 sed 's/^/| /' conftest.
$ac_ext >&5
23103 ac_hi
=`expr '(' $ac_mid ')' - 1`
23104 if test $ac_mid -le $ac_hi; then
23108 ac_mid
=`expr 2 '*' $ac_mid`
23111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23114 echo "$as_me: failed program was:" >&5
23115 sed 's/^/| /' conftest.
$ac_ext >&5
23120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23124 # Binary search between lo and hi bounds.
23125 while test "x$ac_lo" != "x$ac_hi"; do
23126 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23127 cat >conftest.
$ac_ext <<_ACEOF
23130 cat confdefs.h
>>conftest.
$ac_ext
23131 cat >>conftest.
$ac_ext <<_ACEOF
23132 /* end confdefs.h. */
23134 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23135 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23136 # error "fake wchar_t"
23138 #ifdef HAVE_WCHAR_H
23140 # include <stddef.h>
23142 # include <wchar.h>
23144 #ifdef HAVE_STDLIB_H
23145 # include <stdlib.h>
23151 typedef wchar_t ac__type_sizeof_;
23155 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23162 rm -f conftest.
$ac_objext
23163 if { (ac_try
="$ac_compile"
23164 case "(($ac_try" in
23165 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23166 *) ac_try_echo=$ac_try;;
23168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23169 (eval "$ac_compile") 2>conftest.er1
23171 grep -v '^ *+' conftest.er1 >conftest.err
23173 cat conftest.err >&5
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); } && {
23176 test -z "$ac_c_werror_flag" ||
23177 test ! -s conftest.err
23178 } && test -s conftest.$ac_objext; then
23181 echo "$as_me: failed program was:" >&5
23182 sed 's/^/| /' conftest.$ac_ext >&5
23184 ac_lo=`expr '(' $ac_mid ')' + 1`
23187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23190 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23191 '') if test "$ac_cv_type_wchar_t" = yes; then
23192 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23193 See \`config.log
' for more details." >&5
23194 echo "$as_me: error: cannot compute sizeof (wchar_t)
23195 See \`config.log' for more details.
" >&2;}
23196 { (exit 77); exit 77; }; }
23198 ac_cv_sizeof_wchar_t=0
23202 cat >conftest.$ac_ext <<_ACEOF
23205 cat confdefs.h >>conftest.$ac_ext
23206 cat >>conftest.$ac_ext <<_ACEOF
23207 /* end confdefs.h. */
23209 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23210 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23211 # error "fake wchar_t
"
23213 #ifdef HAVE_WCHAR_H
23215 # include <stddef.h>
23217 # include <wchar.h>
23219 #ifdef HAVE_STDLIB_H
23220 # include <stdlib.h>
23226 typedef wchar_t ac__type_sizeof_;
23227 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23228 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23230 #include <stdlib.h>
23235 FILE *f = fopen ("conftest.val
", "w
");
23238 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23240 long int i = longval ();
23241 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23243 fprintf (f, "%ld
\n", i);
23247 unsigned long int i = ulongval ();
23248 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23250 fprintf (f, "%lu
\n", i);
23252 return ferror (f) || fclose (f) != 0;
23258 rm -f conftest$ac_exeext
23259 if { (ac_try="$ac_link"
23260 case "(($ac_try" in
23261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23262 *) ac_try_echo=$ac_try;;
23264 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23265 (eval "$ac_link") 2>&5
23267 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23268 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23269 { (case "(($ac_try" in
23270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23271 *) ac_try_echo=$ac_try;;
23273 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23274 (eval "$ac_try") 2>&5
23276 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23277 (exit $ac_status); }; }; then
23278 ac_cv_sizeof_wchar_t=`cat conftest.val`
23280 echo "$as_me: program exited with status
$ac_status" >&5
23281 echo "$as_me: failed program was
:" >&5
23282 sed 's/^/| /' conftest.$ac_ext >&5
23284 ( exit $ac_status )
23285 if test "$ac_cv_type_wchar_t" = yes; then
23286 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
23287 See \
`config.log' for more details." >&5
23288 echo "$as_me: error: cannot compute sizeof (wchar_t)
23289 See \`config.log
' for more details." >&2;}
23290 { (exit 77); exit 77; }; }
23292 ac_cv_sizeof_wchar_t=0
23295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23299 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23300 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23304 cat >>confdefs.h <<_ACEOF
23305 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23309 if test "$ac_cv_sizeof_wchar_t" != 0; then
23315 { echo "$as_me:$LINENO: checking for va_copy" >&5
23316 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23317 if test "${wx_cv_func_va_copy+set}" = set; then
23318 echo $ECHO_N "(cached) $ECHO_C" >&6
23322 ac_cpp='$CXXCPP $CPPFLAGS'
23323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23324 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23327 cat >conftest.$ac_ext <<_ACEOF
23329 #include <stdarg.h>
23330 void foo(char *f, ...)
23344 rm -f conftest.$ac_objext conftest$ac_exeext
23345 if { (ac_try="$ac_link"
23346 case "(($ac_try" in
23347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23348 *) ac_try_echo=$ac_try;;
23350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23351 (eval "$ac_link") 2>conftest.er1
23353 grep -v '^
*+' conftest.er1 >conftest.err
23355 cat conftest.err >&5
23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23357 (exit $ac_status); } && {
23358 test -z "$ac_cxx_werror_flag" ||
23359 test ! -s conftest.err
23360 } && test -s conftest$ac_exeext &&
23361 $as_test_x conftest$ac_exeext; then
23362 wx_cv_func_va_copy=yes
23364 echo "$as_me: failed program was:" >&5
23365 sed 's
/^
/| /' conftest.$ac_ext >&5
23367 wx_cv_func_va_copy=no
23371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23372 conftest$ac_exeext conftest.$ac_ext
23374 ac_cpp='$CPP $CPPFLAGS'
23375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23376 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23382 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23383 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23385 if test $wx_cv_func_va_copy = "yes"; then
23386 cat >>confdefs.h <<\_ACEOF
23387 #define HAVE_VA_COPY 1
23391 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23392 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23393 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23394 echo $ECHO_N "(cached) $ECHO_C" >&6
23397 if test "$cross_compiling" = yes; then
23398 wx_cv_type_va_list_lvalue=yes
23401 cat >conftest.$ac_ext <<_ACEOF
23403 #include <stdarg.h>
23404 int foo(char *f, ...)
23409 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23417 return foo("hi", 17);
23420 rm -f conftest$ac_exeext
23421 if { (ac_try="$ac_link"
23422 case "(($ac_try" in
23423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23424 *) ac_try_echo=$ac_try;;
23426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23427 (eval "$ac_link") 2>&5
23429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23430 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23431 { (case "(($ac_try" in
23432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23433 *) ac_try_echo=$ac_try;;
23435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23436 (eval "$ac_try") 2>&5
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); }; }; then
23440 wx_cv_type_va_list_lvalue=yes
23442 echo "$as_me: program exited with status $ac_status" >&5
23443 echo "$as_me: failed program was:" >&5
23444 sed 's
/^
/| /' conftest.$ac_ext >&5
23446 ( exit $ac_status )
23447 wx_cv_type_va_list_lvalue=no
23449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23456 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23457 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23459 if test $wx_cv_type_va_list_lvalue != "yes"; then
23460 cat >>confdefs.h <<\_ACEOF
23461 #define VA_LIST_IS_ARRAY 1
23467 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23469 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23470 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23471 if test "${wx_cv_have_variadic_macros+set}" = set; then
23472 echo $ECHO_N "(cached) $ECHO_C" >&6
23476 ac_cpp='$CXXCPP $CPPFLAGS'
23477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23478 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23481 cat >conftest.$ac_ext <<_ACEOF
23484 cat confdefs.h >>conftest.$ac_ext
23485 cat >>conftest.$ac_ext <<_ACEOF
23486 /* end confdefs.h. */
23489 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23495 test("%s %d %p", "test", 1, 0);
23502 rm -f conftest.$ac_objext
23503 if { (ac_try="$ac_compile"
23504 case "(($ac_try" in
23505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23506 *) ac_try_echo=$ac_try;;
23508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23509 (eval "$ac_compile") 2>conftest.er1
23511 grep -v '^
*+' conftest.er1 >conftest.err
23513 cat conftest.err >&5
23514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23515 (exit $ac_status); } && {
23516 test -z "$ac_cxx_werror_flag" ||
23517 test ! -s conftest.err
23518 } && test -s conftest.$ac_objext; then
23519 wx_cv_have_variadic_macros=yes
23521 echo "$as_me: failed program was:" >&5
23522 sed 's
/^
/| /' conftest.$ac_ext >&5
23524 wx_cv_have_variadic_macros=no
23528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23530 ac_cpp='$CPP $CPPFLAGS'
23531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23532 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23538 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23539 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23541 if test $wx_cv_have_variadic_macros = "yes"; then
23542 cat >>confdefs.h <<\_ACEOF
23543 #define HAVE_VARIADIC_MACROS 1
23550 LARGEFILE_CPPFLAGS=
23551 # Check whether --enable-largefile was given.
23552 if test "${enable_largefile+set}" = set; then
23553 enableval=$enable_largefile;
23556 if test "$enable_largefile" != no; then
23559 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23560 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23561 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23562 echo $ECHO_N "(cached) $ECHO_C" >&6
23565 cat >conftest.$ac_ext <<_ACEOF
23568 cat confdefs.h >>conftest.$ac_ext
23569 cat >>conftest.$ac_ext <<_ACEOF
23570 /* end confdefs.h. */
23571 #define _FILE_OFFSET_BITS 64
23572 #include <sys/types.h>
23577 unsigned int field: sizeof(off_t) == 8;
23584 rm -f conftest.$ac_objext
23585 if { (ac_try="$ac_compile"
23586 case "(($ac_try" in
23587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23588 *) ac_try_echo=$ac_try;;
23590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23591 (eval "$ac_compile") 2>conftest.er1
23593 grep -v '^
*+' conftest.er1 >conftest.err
23595 cat conftest.err >&5
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); } && {
23598 test -z "$ac_c_werror_flag" ||
23599 test ! -s conftest.err
23600 } && test -s conftest.$ac_objext; then
23601 ac_cv_sys_file_offset_bits=64
23603 echo "$as_me: failed program was:" >&5
23604 sed 's
/^
/| /' conftest.$ac_ext >&5
23606 ac_cv_sys_file_offset_bits=no
23609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23613 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23614 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23616 if test "$ac_cv_sys_file_offset_bits" != no; then
23618 cat >>confdefs.h <<_ACEOF
23619 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23624 if test "x$wx_largefile" != "xyes"; then
23626 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23627 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23628 if test "${ac_cv_sys_large_files+set}" = set; then
23629 echo $ECHO_N "(cached) $ECHO_C" >&6
23632 cat >conftest.$ac_ext <<_ACEOF
23635 cat confdefs.h >>conftest.$ac_ext
23636 cat >>conftest.$ac_ext <<_ACEOF
23637 /* end confdefs.h. */
23638 #define _LARGE_FILES 1
23639 #include <sys/types.h>
23644 unsigned int field: sizeof(off_t) == 8;
23651 rm -f conftest.$ac_objext
23652 if { (ac_try="$ac_compile"
23653 case "(($ac_try" in
23654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23655 *) ac_try_echo=$ac_try;;
23657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23658 (eval "$ac_compile") 2>conftest.er1
23660 grep -v '^
*+' conftest.er1 >conftest.err
23662 cat conftest.err >&5
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); } && {
23665 test -z "$ac_c_werror_flag" ||
23666 test ! -s conftest.err
23667 } && test -s conftest.$ac_objext; then
23668 ac_cv_sys_large_files=1
23670 echo "$as_me: failed program was:" >&5
23671 sed 's
/^
/| /' conftest.$ac_ext >&5
23673 ac_cv_sys_large_files=no
23676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23680 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23681 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23683 if test "$ac_cv_sys_large_files" != no; then
23685 cat >>confdefs.h <<_ACEOF
23686 #define _LARGE_FILES $ac_cv_sys_large_files
23693 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23694 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23695 if test "x$wx_largefile" = "xyes"; then
23696 cat >>confdefs.h <<\_ACEOF
23697 #define HAVE_LARGEFILE_SUPPORT 1
23701 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23702 echo "${ECHO_T}$wx_largefile" >&6; }
23705 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23706 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23707 elif test "$ac_cv_sys_large_files" = 1; then
23708 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23711 if test -n "$LARGEFILE_CPPFLAGS"; then
23712 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23714 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23715 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23716 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23717 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23718 echo $ECHO_N "(cached) $ECHO_C" >&6
23722 ac_cpp='$CXXCPP $CPPFLAGS'
23723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23724 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23727 cat >conftest.$ac_ext <<_ACEOF
23730 cat confdefs.h >>conftest.$ac_ext
23731 cat >>conftest.$ac_ext <<_ACEOF
23732 /* end confdefs.h. */
23738 #ifndef __STDC_EXT__
23746 rm -f conftest.$ac_objext
23747 if { (ac_try="$ac_compile"
23748 case "(($ac_try" in
23749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23750 *) ac_try_echo=$ac_try;;
23752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23753 (eval "$ac_compile") 2>conftest.er1
23755 grep -v '^
*+' conftest.er1 >conftest.err
23757 cat conftest.err >&5
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); } && {
23760 test -z "$ac_cxx_werror_flag" ||
23761 test ! -s conftest.err
23762 } && test -s conftest.$ac_objext; then
23763 wx_cv_STDC_EXT_required=no
23765 echo "$as_me: failed program was:" >&5
23766 sed 's
/^
/| /' conftest.$ac_ext >&5
23768 wx_cv_STDC_EXT_required=yes
23772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23774 ac_cpp='$CPP $CPPFLAGS'
23775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23776 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23782 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23783 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23784 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23785 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23791 ac_cpp='$CXXCPP $CPPFLAGS'
23792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23793 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23796 old_CPPFLAGS="$CPPFLAGS"
23797 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23798 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23799 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23800 if test "${ac_cv_sys_largefile_source+set}" = set; then
23801 echo $ECHO_N "(cached) $ECHO_C" >&6
23804 cat >conftest.$ac_ext <<_ACEOF
23807 cat confdefs.h >>conftest.$ac_ext
23808 cat >>conftest.$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23810 #include <sys/types.h> /* for off_t */
23815 int (*fp) (FILE *, off_t, int) = fseeko;
23816 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23821 rm -f conftest.$ac_objext conftest$ac_exeext
23822 if { (ac_try="$ac_link"
23823 case "(($ac_try" in
23824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23825 *) ac_try_echo=$ac_try;;
23827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23828 (eval "$ac_link") 2>conftest.er1
23830 grep -v '^
*+' conftest.er1 >conftest.err
23832 cat conftest.err >&5
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); } && {
23835 test -z "$ac_cxx_werror_flag" ||
23836 test ! -s conftest.err
23837 } && test -s conftest$ac_exeext &&
23838 $as_test_x conftest$ac_exeext; then
23839 ac_cv_sys_largefile_source=no; break
23841 echo "$as_me: failed program was:" >&5
23842 sed 's
/^
/| /' conftest.$ac_ext >&5
23847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23848 conftest$ac_exeext conftest.$ac_ext
23849 cat >conftest.$ac_ext <<_ACEOF
23852 cat confdefs.h >>conftest.$ac_ext
23853 cat >>conftest.$ac_ext <<_ACEOF
23854 /* end confdefs.h. */
23855 #define _LARGEFILE_SOURCE 1
23856 #include <sys/types.h> /* for off_t */
23861 int (*fp) (FILE *, off_t, int) = fseeko;
23862 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23867 rm -f conftest.$ac_objext conftest$ac_exeext
23868 if { (ac_try="$ac_link"
23869 case "(($ac_try" in
23870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23871 *) ac_try_echo=$ac_try;;
23873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23874 (eval "$ac_link") 2>conftest.er1
23876 grep -v '^
*+' conftest.er1 >conftest.err
23878 cat conftest.err >&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); } && {
23881 test -z "$ac_cxx_werror_flag" ||
23882 test ! -s conftest.err
23883 } && test -s conftest$ac_exeext &&
23884 $as_test_x conftest$ac_exeext; then
23885 ac_cv_sys_largefile_source=1; break
23887 echo "$as_me: failed program was:" >&5
23888 sed 's
/^
/| /' conftest.$ac_ext >&5
23893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23894 conftest$ac_exeext conftest.$ac_ext
23895 ac_cv_sys_largefile_source=unknown
23899 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23900 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23901 case $ac_cv_sys_largefile_source in #(
23904 cat >>confdefs.h <<_ACEOF
23905 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23911 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23912 # in glibc 2.1.3, but that breaks too many other things.
23913 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23914 if test $ac_cv_sys_largefile_source != unknown; then
23916 cat >>confdefs.h <<\_ACEOF
23917 #define HAVE_FSEEKO 1
23922 CPPFLAGS="$old_CPPFLAGS"
23924 ac_cpp='$CPP $CPPFLAGS'
23925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
23926 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
23927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23929 if test "$ac_cv_sys_largefile_source" != no; then
23930 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23933 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23934 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23935 if test "${ac_cv_c_bigendian+set}" = set; then
23936 echo $ECHO_N "(cached) $ECHO_C" >&6
23938 ac_cv_c_bigendian=unknown
23939 # See if sys/param.h defines the BYTE_ORDER macro.
23940 cat >conftest.$ac_ext <<_ACEOF
23943 cat confdefs.h >>conftest.$ac_ext
23944 cat >>conftest.$ac_ext <<_ACEOF
23945 /* end confdefs.h. */
23946 #include <sys/types.h>
23947 #include <sys/param.h>
23952 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23953 bogus endian macros
23959 rm -f conftest.$ac_objext
23960 if { (ac_try="$ac_compile"
23961 case "(($ac_try" in
23962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23963 *) ac_try_echo=$ac_try;;
23965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23966 (eval "$ac_compile") 2>conftest.er1
23968 grep -v '^
*+' conftest.er1 >conftest.err
23970 cat conftest.err >&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); } && {
23973 test -z "$ac_c_werror_flag" ||
23974 test ! -s conftest.err
23975 } && test -s conftest.$ac_objext; then
23976 # It does; now see whether it defined to BIG_ENDIAN or not.
23977 cat >conftest.$ac_ext <<_ACEOF
23980 cat confdefs.h >>conftest.$ac_ext
23981 cat >>conftest.$ac_ext <<_ACEOF
23982 /* end confdefs.h. */
23983 #include <sys/types.h>
23984 #include <sys/param.h>
23989 #if BYTE_ORDER != BIG_ENDIAN
23996 rm -f conftest.$ac_objext
23997 if { (ac_try="$ac_compile"
23998 case "(($ac_try" in
23999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24000 *) ac_try_echo=$ac_try;;
24002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24003 (eval "$ac_compile") 2>conftest.er1
24005 grep -v '^
*+' conftest.er1 >conftest.err
24007 cat conftest.err >&5
24008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24009 (exit $ac_status); } && {
24010 test -z "$ac_c_werror_flag" ||
24011 test ! -s conftest.err
24012 } && test -s conftest.$ac_objext; then
24013 ac_cv_c_bigendian=yes
24015 echo "$as_me: failed program was:" >&5
24016 sed 's
/^
/| /' conftest.$ac_ext >&5
24018 ac_cv_c_bigendian=no
24021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24023 echo "$as_me: failed program was:" >&5
24024 sed 's
/^
/| /' conftest.$ac_ext >&5
24029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24030 if test $ac_cv_c_bigendian = unknown; then
24031 if test "$cross_compiling" = yes; then
24032 ac_cv_c_bigendian=unknown
24034 cat >conftest.$ac_ext <<_ACEOF
24037 cat confdefs.h >>conftest.$ac_ext
24038 cat >>conftest.$ac_ext <<_ACEOF
24039 /* end confdefs.h. */
24041 /* Are we little or big endian? From Harbison&Steele. */
24045 char c[sizeof (long)];
24048 exit (u.c[sizeof (long) - 1] == 1);
24051 rm -f conftest$ac_exeext
24052 if { (ac_try="$ac_link"
24053 case "(($ac_try" in
24054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24055 *) ac_try_echo=$ac_try;;
24057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24058 (eval "$ac_link") 2>&5
24060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24061 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24062 { (case "(($ac_try" in
24063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24064 *) ac_try_echo=$ac_try;;
24066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24067 (eval "$ac_try") 2>&5
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); }; }; then
24071 ac_cv_c_bigendian=no
24073 echo "$as_me: program exited with status $ac_status" >&5
24074 echo "$as_me: failed program was:" >&5
24075 sed 's
/^
/| /' conftest.$ac_ext >&5
24077 ( exit $ac_status )
24078 ac_cv_c_bigendian=yes
24080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24086 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24087 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24088 if test $ac_cv_c_bigendian = unknown; then
24089 { 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
24090 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;}
24092 if test $ac_cv_c_bigendian = yes; then
24093 cat >>confdefs.h <<\_ACEOF
24094 #define WORDS_BIGENDIAN 1
24103 ac_cpp='$CXXCPP $CPPFLAGS'
24104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24105 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24110 for ac_header in iostream
24112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24113 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24116 echo $ECHO_N "(cached) $ECHO_C" >&6
24118 cat >conftest.$ac_ext <<_ACEOF
24121 cat confdefs.h >>conftest.$ac_ext
24122 cat >>conftest.$ac_ext <<_ACEOF
24123 /* end confdefs.h. */
24126 #include <$ac_header>
24128 rm -f conftest.$ac_objext
24129 if { (ac_try="$ac_compile"
24130 case "(($ac_try" in
24131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24132 *) ac_try_echo=$ac_try;;
24134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24135 (eval "$ac_compile") 2>conftest.er1
24137 grep -v '^
*+' conftest.er1 >conftest.err
24139 cat conftest.err >&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); } && {
24142 test -z "$ac_cxx_werror_flag" ||
24143 test ! -s conftest.err
24144 } && test -s conftest.$ac_objext; then
24145 eval "$as_ac_Header=yes"
24147 echo "$as_me: failed program was:" >&5
24148 sed 's
/^
/| /' conftest.$ac_ext >&5
24150 eval "$as_ac_Header=no"
24153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24155 ac_res=`eval echo '${'$as_ac_Header'}'`
24156 { echo "$as_me:$LINENO: result: $ac_res" >&5
24157 echo "${ECHO_T}$ac_res" >&6; }
24158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24159 cat >>confdefs.h <<_ACEOF
24160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24168 if test "$ac_cv_header_iostream" = "yes" ; then
24171 cat >>confdefs.h <<\_ACEOF
24172 #define wxUSE_IOSTREAMH 1
24178 ac_cpp='$CPP $CPPFLAGS'
24179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24180 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24186 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24187 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24188 if test "${wx_cv_explicit+set}" = set; then
24189 echo $ECHO_N "(cached) $ECHO_C" >&6
24194 ac_cpp='$CXXCPP $CPPFLAGS'
24195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24196 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24200 cat >conftest.$ac_ext <<_ACEOF
24203 cat confdefs.h >>conftest.$ac_ext
24204 cat >>conftest.$ac_ext <<_ACEOF
24205 /* end confdefs.h. */
24207 class Foo { public: explicit Foo(int) {} };
24219 rm -f conftest.$ac_objext
24220 if { (ac_try="$ac_compile"
24221 case "(($ac_try" in
24222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24223 *) ac_try_echo=$ac_try;;
24225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24226 (eval "$ac_compile") 2>conftest.er1
24228 grep -v '^
*+' conftest.er1 >conftest.err
24230 cat conftest.err >&5
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); } && {
24233 test -z "$ac_cxx_werror_flag" ||
24234 test ! -s conftest.err
24235 } && test -s conftest.$ac_objext; then
24237 cat >conftest.$ac_ext <<_ACEOF
24240 cat confdefs.h >>conftest.$ac_ext
24241 cat >>conftest.$ac_ext <<_ACEOF
24242 /* end confdefs.h. */
24244 class Foo { public: explicit Foo(int) {} };
24245 static void TakeFoo(const Foo& foo) { }
24258 rm -f conftest.$ac_objext
24259 if { (ac_try="$ac_compile"
24260 case "(($ac_try" in
24261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24262 *) ac_try_echo=$ac_try;;
24264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24265 (eval "$ac_compile") 2>conftest.er1
24267 grep -v '^
*+' conftest.er1 >conftest.err
24269 cat conftest.err >&5
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } && {
24272 test -z "$ac_cxx_werror_flag" ||
24273 test ! -s conftest.err
24274 } && test -s conftest.$ac_objext; then
24277 echo "$as_me: failed program was:" >&5
24278 sed 's
/^
/| /' conftest.$ac_ext >&5
24284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24287 echo "$as_me: failed program was:" >&5
24288 sed 's
/^
/| /' conftest.$ac_ext >&5
24294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24297 ac_cpp='$CPP $CPPFLAGS'
24298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24299 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24304 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24305 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24307 if test "$wx_cv_explicit" = "yes"; then
24308 cat >>confdefs.h <<\_ACEOF
24309 #define HAVE_EXPLICIT 1
24315 if test "x$SUNCXX" = xyes; then
24316 CXXFLAGS="-features=tmplife $CXXFLAGS"
24319 if test "x$SUNCC" = xyes; then
24320 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24323 if test "x$SGICC" = "xyes"; then
24324 CFLAGS="-woff 3970 $CFLAGS"
24326 if test "x$SGICXX" = "xyes"; then
24327 CXXFLAGS="-woff 3970 $CXXFLAGS"
24330 if test "x$HPCC" = "xyes"; then
24331 CFLAGS="+W 2011,2450 $CFLAGS"
24333 if test "x$HPCXX" = "xyes"; then
24334 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24337 if test "x$COMPAQCXX" = "xyes"; then
24338 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24342 ac_cpp='$CXXCPP $CPPFLAGS'
24343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24344 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24348 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24349 if test "$wxUSE_UNICODE" = "yes"; then
24350 std_string="std::wstring"
24351 char_type="wchar_t"
24353 std_string="std::string"
24357 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24358 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24359 if test "${wx_cv_class_stdstring+set}" = set; then
24360 echo $ECHO_N "(cached) $ECHO_C" >&6
24363 cat >conftest.$ac_ext <<_ACEOF
24366 cat confdefs.h >>conftest.$ac_ext
24367 cat >>conftest.$ac_ext <<_ACEOF
24368 /* end confdefs.h. */
24378 rm -f conftest.$ac_objext
24379 if { (ac_try="$ac_compile"
24380 case "(($ac_try" in
24381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24382 *) ac_try_echo=$ac_try;;
24384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24385 (eval "$ac_compile") 2>conftest.er1
24387 grep -v '^
*+' conftest.er1 >conftest.err
24389 cat conftest.err >&5
24390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24391 (exit $ac_status); } && {
24392 test -z "$ac_cxx_werror_flag" ||
24393 test ! -s conftest.err
24394 } && test -s conftest.$ac_objext; then
24395 wx_cv_class_stdstring=yes
24397 echo "$as_me: failed program was:" >&5
24398 sed 's
/^
/| /' conftest.$ac_ext >&5
24400 wx_cv_class_stdstring=no
24404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24408 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24409 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24411 if test "$wx_cv_class_stdstring" = yes; then
24412 if test "$wxUSE_UNICODE" = "yes"; then
24413 cat >>confdefs.h <<\_ACEOF
24414 #define HAVE_STD_WSTRING 1
24419 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24420 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24421 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24425 cat >conftest.$ac_ext <<_ACEOF
24428 cat confdefs.h >>conftest.$ac_ext
24429 cat >>conftest.$ac_ext <<_ACEOF
24430 /* end confdefs.h. */
24432 #ifdef HAVE_WCHAR_H
24434 # include <stddef.h>
24436 # include <wchar.h>
24438 #ifdef HAVE_STDLIB_H
24439 # include <stdlib.h>
24447 std::basic_string<$char_type> foo;
24448 const $char_type* dummy = foo.c_str();
24453 rm -f conftest.$ac_objext
24454 if { (ac_try="$ac_compile"
24455 case "(($ac_try" in
24456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24457 *) ac_try_echo=$ac_try;;
24459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24460 (eval "$ac_compile") 2>conftest.er1
24462 grep -v '^
*+' conftest.er1 >conftest.err
24464 cat conftest.err >&5
24465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466 (exit $ac_status); } && {
24467 test -z "$ac_cxx_werror_flag" ||
24468 test ! -s conftest.err
24469 } && test -s conftest.$ac_objext; then
24470 wx_cv_class_stdbasicstring=yes
24472 echo "$as_me: failed program was:" >&5
24473 sed 's
/^
/| /' conftest.$ac_ext >&5
24475 wx_cv_class_stdbasicstring=no
24479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24483 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24484 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24486 if test "$wx_cv_class_stdbasicstring" != yes; then
24487 if test "$wxUSE_STL" = "yes"; then
24488 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
24489 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24490 { (exit 1); exit 1; }; }
24491 elif test "$wxUSE_STD_STRING" = "yes"; then
24492 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
24493 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24494 { (exit 1); exit 1; }; }
24496 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24497 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24498 wxUSE_STD_STRING=no
24504 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24505 { echo "$as_me:$LINENO: checking for std::istream" >&5
24506 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24507 if test "${ac_cv_type_std__istream+set}" = set; then
24508 echo $ECHO_N "(cached) $ECHO_C" >&6
24510 cat >conftest.$ac_ext <<_ACEOF
24513 cat confdefs.h >>conftest.$ac_ext
24514 cat >>conftest.$ac_ext <<_ACEOF
24515 /* end confdefs.h. */
24516 #include <iostream>
24518 typedef std::istream ac__type_new_;
24522 if ((ac__type_new_ *) 0)
24524 if (sizeof (ac__type_new_))
24530 rm -f conftest.$ac_objext
24531 if { (ac_try="$ac_compile"
24532 case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_compile") 2>conftest.er1
24539 grep -v '^
*+' conftest.er1 >conftest.err
24541 cat conftest.err >&5
24542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24543 (exit $ac_status); } && {
24544 test -z "$ac_cxx_werror_flag" ||
24545 test ! -s conftest.err
24546 } && test -s conftest.$ac_objext; then
24547 ac_cv_type_std__istream=yes
24549 echo "$as_me: failed program was:" >&5
24550 sed 's
/^
/| /' conftest.$ac_ext >&5
24552 ac_cv_type_std__istream=no
24555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24557 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24558 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24559 if test $ac_cv_type_std__istream = yes; then
24561 cat >>confdefs.h <<_ACEOF
24562 #define HAVE_STD__ISTREAM 1
24567 wxUSE_STD_IOSTREAM=no
24569 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24570 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24571 if test "${ac_cv_type_std__ostream+set}" = set; then
24572 echo $ECHO_N "(cached) $ECHO_C" >&6
24574 cat >conftest.$ac_ext <<_ACEOF
24577 cat confdefs.h >>conftest.$ac_ext
24578 cat >>conftest.$ac_ext <<_ACEOF
24579 /* end confdefs.h. */
24580 #include <iostream>
24582 typedef std::ostream ac__type_new_;
24586 if ((ac__type_new_ *) 0)
24588 if (sizeof (ac__type_new_))
24594 rm -f conftest.$ac_objext
24595 if { (ac_try="$ac_compile"
24596 case "(($ac_try" in
24597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24598 *) ac_try_echo=$ac_try;;
24600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24601 (eval "$ac_compile") 2>conftest.er1
24603 grep -v '^
*+' conftest.er1 >conftest.err
24605 cat conftest.err >&5
24606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24607 (exit $ac_status); } && {
24608 test -z "$ac_cxx_werror_flag" ||
24609 test ! -s conftest.err
24610 } && test -s conftest.$ac_objext; then
24611 ac_cv_type_std__ostream=yes
24613 echo "$as_me: failed program was:" >&5
24614 sed 's
/^
/| /' conftest.$ac_ext >&5
24616 ac_cv_type_std__ostream=no
24619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24621 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24622 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24623 if test $ac_cv_type_std__ostream = yes; then
24625 cat >>confdefs.h <<_ACEOF
24626 #define HAVE_STD__OSTREAM 1
24631 wxUSE_STD_IOSTREAM=no
24635 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24636 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24637 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
24638 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24639 { (exit 1); exit 1; }; }
24641 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24642 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24647 if test "$wxUSE_STL" = "yes"; then
24648 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24649 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24650 if test "${wx_cv_lib_stl+set}" = set; then
24651 echo $ECHO_N "(cached) $ECHO_C" >&6
24653 cat >conftest.$ac_ext <<_ACEOF
24656 cat confdefs.h >>conftest.$ac_ext
24657 cat >>conftest.$ac_ext <<_ACEOF
24658 /* end confdefs.h. */
24660 #include <functional>
24661 #include <algorithm>
24667 std::vector<int> moo;
24668 std::list<int> foo;
24669 std::vector<int>::iterator it =
24670 std::find_if(moo.begin(), moo.end(),
24671 std::bind2nd(std::less<int>(), 3));
24676 rm -f conftest.$ac_objext
24677 if { (ac_try="$ac_compile"
24678 case "(($ac_try" in
24679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24680 *) ac_try_echo=$ac_try;;
24682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24683 (eval "$ac_compile") 2>conftest.er1
24685 grep -v '^
*+' conftest.er1 >conftest.err
24687 cat conftest.err >&5
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); } && {
24690 test -z "$ac_cxx_werror_flag" ||
24691 test ! -s conftest.err
24692 } && test -s conftest.$ac_objext; then
24695 echo "$as_me: failed program was:" >&5
24696 sed 's
/^
/| /' conftest.$ac_ext >&5
24702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24705 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24706 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24708 if test "$wx_cv_lib_stl" != yes; then
24709 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
24710 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
24711 { (exit 1); exit 1; }; }
24714 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24715 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24716 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24717 echo $ECHO_N "(cached) $ECHO_C" >&6
24719 cat >conftest.$ac_ext <<_ACEOF
24722 cat confdefs.h >>conftest.$ac_ext
24723 cat >>conftest.$ac_ext <<_ACEOF
24724 /* end confdefs.h. */
24729 std::string foo, bar;
24731 foo.compare(1, 1, bar);
24732 foo.compare(1, 1, bar, 1, 1);
24734 foo.compare(1, 1, "");
24735 foo.compare(1, 1, "", 2);
24740 rm -f conftest.$ac_objext
24741 if { (ac_try="$ac_compile"
24742 case "(($ac_try" in
24743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24744 *) ac_try_echo=$ac_try;;
24746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24747 (eval "$ac_compile") 2>conftest.er1
24749 grep -v '^
*+' conftest.er1 >conftest.err
24751 cat conftest.err >&5
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); } && {
24754 test -z "$ac_cxx_werror_flag" ||
24755 test ! -s conftest.err
24756 } && test -s conftest.$ac_objext; then
24757 wx_cv_func_stdstring_compare=yes
24759 echo "$as_me: failed program was:" >&5
24760 sed 's
/^
/| /' conftest.$ac_ext >&5
24762 wx_cv_func_stdstring_compare=no
24766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24769 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24770 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24772 if test "$wx_cv_func_stdstring_compare" = yes; then
24773 cat >>confdefs.h <<\_ACEOF
24774 #define HAVE_STD_STRING_COMPARE 1
24779 if test "$wx_cv_class_gnuhashmapset" = yes; then
24780 cat >>confdefs.h <<\_ACEOF
24781 #define HAVE_EXT_HASH_MAP 1
24784 cat >>confdefs.h <<\_ACEOF
24785 #define HAVE_GNU_CXX_HASH_MAP 1
24790 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24791 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24792 if test "${ac_cv_header_unordered_map+set}" = set; then
24793 echo $ECHO_N "(cached) $ECHO_C" >&6
24795 cat >conftest.$ac_ext <<_ACEOF
24798 cat confdefs.h >>conftest.$ac_ext
24799 cat >>conftest.$ac_ext <<_ACEOF
24800 /* end confdefs.h. */
24804 #include <unordered_map>
24806 rm -f conftest.$ac_objext
24807 if { (ac_try="$ac_compile"
24808 case "(($ac_try" in
24809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24810 *) ac_try_echo=$ac_try;;
24812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24813 (eval "$ac_compile") 2>conftest.er1
24815 grep -v '^
*+' conftest.er1 >conftest.err
24817 cat conftest.err >&5
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); } && {
24820 test -z "$ac_cxx_werror_flag" ||
24821 test ! -s conftest.err
24822 } && test -s conftest.$ac_objext; then
24823 ac_cv_header_unordered_map=yes
24825 echo "$as_me: failed program was:" >&5
24826 sed 's
/^
/| /' conftest.$ac_ext >&5
24828 ac_cv_header_unordered_map=no
24831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24833 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24834 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24835 if test $ac_cv_header_unordered_map = yes; then
24836 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24837 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24838 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24839 echo $ECHO_N "(cached) $ECHO_C" >&6
24841 cat >conftest.$ac_ext <<_ACEOF
24844 cat confdefs.h >>conftest.$ac_ext
24845 cat >>conftest.$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24847 #include <unordered_map>
24848 #include <unordered_set>
24852 std::unordered_map<double*, char*> test1;
24853 std::unordered_set<char*> test2;
24858 rm -f conftest.$ac_objext
24859 if { (ac_try="$ac_compile"
24860 case "(($ac_try" in
24861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24862 *) ac_try_echo=$ac_try;;
24864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24865 (eval "$ac_compile") 2>conftest.er1
24867 grep -v '^
*+' conftest.er1 >conftest.err
24869 cat conftest.err >&5
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); } && {
24872 test -z "$ac_cxx_werror_flag" ||
24873 test ! -s conftest.err
24874 } && test -s conftest.$ac_objext; then
24875 wx_cv_class_stdunorderedmapset=yes
24877 echo "$as_me: failed program was:" >&5
24878 sed 's
/^
/| /' conftest.$ac_ext >&5
24880 wx_cv_class_stdunorderedmapset=no
24883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24887 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24888 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24893 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24894 cat >>confdefs.h <<\_ACEOF
24895 #define HAVE_STD_UNORDERED_MAP 1
24898 cat >>confdefs.h <<\_ACEOF
24899 #define HAVE_STD_UNORDERED_SET 1
24903 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24904 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24905 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24906 echo $ECHO_N "(cached) $ECHO_C" >&6
24908 cat >conftest.$ac_ext <<_ACEOF
24911 cat confdefs.h >>conftest.$ac_ext
24912 cat >>conftest.$ac_ext <<_ACEOF
24913 /* end confdefs.h. */
24917 #include <tr1/unordered_map>
24919 rm -f conftest.$ac_objext
24920 if { (ac_try="$ac_compile"
24921 case "(($ac_try" in
24922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24923 *) ac_try_echo=$ac_try;;
24925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24926 (eval "$ac_compile") 2>conftest.er1
24928 grep -v '^
*+' conftest.er1 >conftest.err
24930 cat conftest.err >&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); } && {
24933 test -z "$ac_cxx_werror_flag" ||
24934 test ! -s conftest.err
24935 } && test -s conftest.$ac_objext; then
24936 ac_cv_header_tr1_unordered_map=yes
24938 echo "$as_me: failed program was:" >&5
24939 sed 's
/^
/| /' conftest.$ac_ext >&5
24941 ac_cv_header_tr1_unordered_map=no
24944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24946 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24947 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24948 if test $ac_cv_header_tr1_unordered_map = yes; then
24949 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24950 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24951 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24952 echo $ECHO_N "(cached) $ECHO_C" >&6
24954 cat >conftest.$ac_ext <<_ACEOF
24957 cat confdefs.h >>conftest.$ac_ext
24958 cat >>conftest.$ac_ext <<_ACEOF
24959 /* end confdefs.h. */
24960 #include <tr1/unordered_map>
24961 #include <tr1/unordered_set>
24965 std::tr1::unordered_map<double*, char*> test1;
24966 std::tr1::unordered_set<char*> test2;
24967 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24968 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
24974 rm -f conftest.
$ac_objext
24975 if { (ac_try
="$ac_compile"
24976 case "(($ac_try" in
24977 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24978 *) ac_try_echo=$ac_try;;
24980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24981 (eval "$ac_compile") 2>conftest.er1
24983 grep -v '^ *+' conftest.er1 >conftest.err
24985 cat conftest.err >&5
24986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24987 (exit $ac_status); } && {
24988 test -z "$ac_cxx_werror_flag" ||
24989 test ! -s conftest.err
24990 } && test -s conftest.$ac_objext; then
24991 wx_cv_class_tr1unorderedmapset=yes
24993 echo "$as_me: failed program was:" >&5
24994 sed 's/^/| /' conftest.$ac_ext >&5
24996 wx_cv_class_tr1unorderedmapset=no
24999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25003 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25004 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25009 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25010 cat >>confdefs.h <<\_ACEOF
25011 #define HAVE_TR1_UNORDERED_MAP 1
25014 cat >>confdefs.h <<\_ACEOF
25015 #define HAVE_TR1_UNORDERED_SET 1
25019 { echo "$as_me:$LINENO: checking for hash_map" >&5
25020 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25021 if test "${ac_cv_header_hash_map+set}" = set; then
25022 echo $ECHO_N "(cached) $ECHO_C" >&6
25024 cat >conftest.$ac_ext <<_ACEOF
25027 cat confdefs.h >>conftest.$ac_ext
25028 cat >>conftest.$ac_ext <<_ACEOF
25029 /* end confdefs.h. */
25033 #include <hash_map>
25035 rm -f conftest.$ac_objext
25036 if { (ac_try="$ac_compile"
25037 case "(($ac_try" in
25038 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25039 *) ac_try_echo
=$ac_try;;
25041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25042 (eval "$ac_compile") 2>conftest.er1
25044 grep -v '^ *+' conftest.er1
>conftest.err
25046 cat conftest.err
>&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); } && {
25049 test -z "$ac_cxx_werror_flag" ||
25050 test ! -s conftest.err
25051 } && test -s conftest.
$ac_objext; then
25052 ac_cv_header_hash_map
=yes
25054 echo "$as_me: failed program was:" >&5
25055 sed 's/^/| /' conftest.
$ac_ext >&5
25057 ac_cv_header_hash_map
=no
25060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25062 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25063 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25064 if test $ac_cv_header_hash_map = yes; then
25065 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25066 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25067 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25068 echo $ECHO_N "(cached) $ECHO_C" >&6
25070 cat >conftest.
$ac_ext <<_ACEOF
25073 cat confdefs.h
>>conftest.
$ac_ext
25074 cat >>conftest.
$ac_ext <<_ACEOF
25075 /* end confdefs.h. */
25076 #include <hash_map>
25077 #include <hash_set>
25081 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25082 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25087 rm -f conftest.
$ac_objext
25088 if { (ac_try
="$ac_compile"
25089 case "(($ac_try" in
25090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25091 *) ac_try_echo=$ac_try;;
25093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25094 (eval "$ac_compile") 2>conftest.er1
25096 grep -v '^ *+' conftest.er1 >conftest.err
25098 cat conftest.err >&5
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); } && {
25101 test -z "$ac_cxx_werror_flag" ||
25102 test ! -s conftest.err
25103 } && test -s conftest.$ac_objext; then
25104 wx_cv_class_stdhashmapset=yes
25106 echo "$as_me: failed program was:" >&5
25107 sed 's/^/| /' conftest.$ac_ext >&5
25109 wx_cv_class_stdhashmapset=no
25112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25116 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25117 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25122 if test "$wx_cv_class_stdhashmapset" = yes; then
25123 cat >>confdefs.h <<\_ACEOF
25124 #define HAVE_HASH_MAP 1
25127 cat >>confdefs.h <<\_ACEOF
25128 #define HAVE_STD_HASH_MAP 1
25133 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25134 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25135 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25136 echo $ECHO_N "(cached) $ECHO_C" >&6
25138 cat >conftest.$ac_ext <<_ACEOF
25141 cat confdefs.h >>conftest.$ac_ext
25142 cat >>conftest.$ac_ext <<_ACEOF
25143 /* end confdefs.h. */
25147 #include <ext/hash_map>
25149 rm -f conftest.$ac_objext
25150 if { (ac_try="$ac_compile"
25151 case "(($ac_try" in
25152 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25153 *) ac_try_echo
=$ac_try;;
25155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25156 (eval "$ac_compile") 2>conftest.er1
25158 grep -v '^ *+' conftest.er1
>conftest.err
25160 cat conftest.err
>&5
25161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162 (exit $ac_status); } && {
25163 test -z "$ac_cxx_werror_flag" ||
25164 test ! -s conftest.err
25165 } && test -s conftest.
$ac_objext; then
25166 ac_cv_header_ext_hash_map
=yes
25168 echo "$as_me: failed program was:" >&5
25169 sed 's/^/| /' conftest.
$ac_ext >&5
25171 ac_cv_header_ext_hash_map
=no
25174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25176 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25177 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25178 if test $ac_cv_header_ext_hash_map = yes; then
25179 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25180 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25181 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25182 echo $ECHO_N "(cached) $ECHO_C" >&6
25184 cat >conftest.
$ac_ext <<_ACEOF
25187 cat confdefs.h
>>conftest.
$ac_ext
25188 cat >>conftest.
$ac_ext <<_ACEOF
25189 /* end confdefs.h. */
25190 #include <ext/hash_map>
25191 #include <ext/hash_set>
25195 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25196 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25201 rm -f conftest.
$ac_objext
25202 if { (ac_try
="$ac_compile"
25203 case "(($ac_try" in
25204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25205 *) ac_try_echo=$ac_try;;
25207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25208 (eval "$ac_compile") 2>conftest.er1
25210 grep -v '^ *+' conftest.er1 >conftest.err
25212 cat conftest.err >&5
25213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25214 (exit $ac_status); } && {
25215 test -z "$ac_cxx_werror_flag" ||
25216 test ! -s conftest.err
25217 } && test -s conftest.$ac_objext; then
25218 wx_cv_class_gnuhashmapset=yes
25220 echo "$as_me: failed program was:" >&5
25221 sed 's/^/| /' conftest.$ac_ext >&5
25223 wx_cv_class_gnuhashmapset=no
25226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25230 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25231 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25242 if test -n "$GCC"; then
25243 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25244 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25245 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25246 echo $ECHO_N "(cached) $ECHO_C" >&6
25249 cat >conftest.$ac_ext <<_ACEOF
25252 cat confdefs.h >>conftest.$ac_ext
25253 cat >>conftest.$ac_ext <<_ACEOF
25254 /* end confdefs.h. */
25260 unsigned int value=0;
25261 /* wxAtomicInc doesn't use return value here */
25262 __sync_fetch_and_add(&value, 2);
25263 __sync_sub_and_fetch(&value, 1);
25264 /* but wxAtomicDec does, so mimic that: */
25265 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25271 rm -f conftest.$ac_objext conftest$ac_exeext
25272 if { (ac_try="$ac_link"
25273 case "(($ac_try" in
25274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25275 *) ac_try_echo
=$ac_try;;
25277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25278 (eval "$ac_link") 2>conftest.er1
25280 grep -v '^ *+' conftest.er1
>conftest.err
25282 cat conftest.err
>&5
25283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25284 (exit $ac_status); } && {
25285 test -z "$ac_cxx_werror_flag" ||
25286 test ! -s conftest.err
25287 } && test -s conftest
$ac_exeext &&
25288 $as_test_x conftest
$ac_exeext; then
25289 wx_cv_cc_gcc_atomic_builtins
=yes
25291 echo "$as_me: failed program was:" >&5
25292 sed 's/^/| /' conftest.
$ac_ext >&5
25294 wx_cv_cc_gcc_atomic_builtins
=no
25297 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25298 conftest
$ac_exeext conftest.
$ac_ext
25302 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25303 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25304 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25305 cat >>confdefs.h
<<\_ACEOF
25306 #define HAVE_GCC_ATOMIC_BUILTINS 1
25314 ac_cpp
='$CPP $CPPFLAGS'
25315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25322 /usr/local/include \
25323 /usr/local/X11/include \
25324 /usr/local/include/X11 \
25325 /usr/local/X11R6/include \
25326 /usr/local/include/X11R6 \
25328 /usr/Motif-2.1/include \
25329 /usr/Motif-1.2/include \
25330 /usr/include/Motif1.2 \
25333 /usr/openwin/include \
25337 /usr/X11R6/include \
25338 /usr/X11R6.4/include \
25340 /usr/include/X11R6 \
25345 /usr/XFree86/include/X11 \
25348 /usr/local/X1R5/include \
25349 /usr/local/include/X11R5 \
25350 /usr/X11R5/include \
25351 /usr/include/X11R5 \
25353 /usr/local/X11R4/include \
25354 /usr/local/include/X11R4 \
25355 /usr/X11R4/include \
25356 /usr/include/X11R4 \
25358 /usr/openwin/share/include"
25360 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25361 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25365 if test "${wx_cv_std_libpath+set}" = set; then
25366 echo $ECHO_N "(cached) $ECHO_C" >&6
25369 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
25370 for e
in a so sl dylib dll.a
; do
25372 if test -f $libc; then
25375 cat >conftest.
$ac_ext <<_ACEOF
25376 int main() { return 0; }
25378 rm -f conftest.
$ac_objext conftest
$ac_exeext
25379 if { (ac_try
="$ac_link"
25380 case "(($ac_try" in
25381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25382 *) ac_try_echo=$ac_try;;
25384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25385 (eval "$ac_link") 2>conftest.er1
25387 grep -v '^ *+' conftest.er1 >conftest.err
25389 cat conftest.err >&5
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); } && {
25392 test -z "$ac_c_werror_flag" ||
25393 test ! -s conftest.err
25394 } && test -s conftest$ac_exeext &&
25395 $as_test_x conftest$ac_exeext; then
25396 wx_cv_std_libpath=`echo $d | sed s@
/usr
/@@
`
25398 echo "$as_me: failed program was:" >&5
25399 sed 's/^/| /' conftest.$ac_ext >&5
25404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25405 conftest$ac_exeext conftest.$ac_ext
25407 if test "x$wx_cv_std_libpath" != "x"; then
25413 if test "x$wx_cv_std_libpath" = "x"; then
25414 wx_cv_std_libpath="lib"
25423 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25424 wx_cv_std_libpath="lib/64"
25426 wx_cv_std_libpath="lib"
25431 if test "$ac_cv_sizeof_void_p" = 8 -a \
25432 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25433 wx_cv_std_libpath="lib64"
25435 wx_cv_std_libpath="lib"
25440 wx_cv_std_libpath="lib";
25444 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25445 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25447 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@
$wx_cv_std_libpath@g
` /usr/$wx_cv_std_libpath"
25449 if test "$build" != "$host" -a "$GCC" = yes; then
25450 if cross_root=`$CC -print-prog-name=ld
2>/dev
/null
`; then
25451 cross_root=`dirname $cross_root`
25452 cross_root=`dirname $cross_root`
25454 SEARCH_LIB=`for x
in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25455 SEARCH_INCLUDE=`for x
in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25456 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25458 if test -z "$PKG_CONFIG_PATH"; then
25459 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25460 export PKG_CONFIG_PATH
25463 if test -z "$x_includes" -o "$x_includes" = NONE; then
25466 for ac_dir in $SEARCH_INCLUDE /usr/include;
25468 if test -f "$ac_dir/X11/Intrinsic.h"; then
25469 ac_find_includes=$ac_dir
25474 x_includes=$ac_find_includes
25476 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25479 for ac_dir in $SEARCH_LIB;
25481 for ac_extension in a so sl dylib dll.a; do
25482 if test -f "$ac_dir/libXt.$ac_extension"; then
25483 ac_find_libraries=$ac_dir
25489 x_libraries=$ac_find_libraries
25495 cat >confcache <<\_ACEOF
25496 # This file is a shell script that caches the results of configure
25497 # tests run on this system so they can be shared between configure
25498 # scripts and configure runs, see configure's option --config-cache.
25499 # It is not useful on other systems. If it contains results you don't
25500 # want to keep, you may remove or edit it.
25502 # config.status only pays attention to the cache file if you give it
25503 # the --recheck option to rerun configure.
25505 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
25506 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25507 # following values.
25511 # The following way of writing the cache mishandles newlines in values,
25512 # but we know of no workaround that is simple, portable, and efficient.
25513 # So, we kill variables containing newlines.
25514 # Ultrix sh set writes to stderr and can't be redirected directly,
25515 # and sets the high bit in the cache file unless we assign to the vars.
25517 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25518 eval ac_val
=\$
$ac_var
25522 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25523 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25526 _
| IFS
| as_nl
) ;; #(
25527 *) $as_unset $ac_var ;;
25533 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25534 *${as_nl}ac_space
=\
*)
25535 # `set' does not quote correctly, so add quotes (double-quote
25536 # substitution turns \\\\ into \\, and sed turns \\ into \).
25539 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25542 # `set' quotes correctly as required by POSIX, so do not add quotes.
25543 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25552 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25554 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25556 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
25557 if test -w "$cache_file"; then
25558 test "x$cache_file" != "x/dev/null" &&
25559 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25560 echo "$as_me: updating cache $cache_file" >&6;}
25561 cat confcache
>$cache_file
25563 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25564 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25569 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25570 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25571 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25572 if test "${wx_cv_lib_glibc21+set}" = set; then
25573 echo $ECHO_N "(cached) $ECHO_C" >&6
25576 cat >conftest.
$ac_ext <<_ACEOF
25579 cat confdefs.h
>>conftest.
$ac_ext
25580 cat >>conftest.
$ac_ext <<_ACEOF
25581 /* end confdefs.h. */
25582 #include <features.h>
25587 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25595 rm -f conftest.
$ac_objext
25596 if { (ac_try
="$ac_compile"
25597 case "(($ac_try" in
25598 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25599 *) ac_try_echo=$ac_try;;
25601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25602 (eval "$ac_compile") 2>conftest.er1
25604 grep -v '^ *+' conftest.er1 >conftest.err
25606 cat conftest.err >&5
25607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25608 (exit $ac_status); } && {
25609 test -z "$ac_c_werror_flag" ||
25610 test ! -s conftest.err
25611 } && test -s conftest.$ac_objext; then
25613 wx_cv_lib_glibc21=yes
25616 echo "$as_me: failed program was:" >&5
25617 sed 's/^/| /' conftest.$ac_ext >&5
25620 wx_cv_lib_glibc21=no
25625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25628 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25629 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25630 if test "$wx_cv_lib_glibc21" = "yes"; then
25631 cat >>confdefs.h <<\_ACEOF
25632 #define wxHAVE_GLIBC2 1
25638 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25639 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25640 cat >>confdefs.h <<\_ACEOF
25641 #define _GNU_SOURCE 1
25652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25653 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25655 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25656 echo $ECHO_N "(cached) $ECHO_C" >&6
25658 cat >conftest.$ac_ext <<_ACEOF
25661 cat confdefs.h >>conftest.$ac_ext
25662 cat >>conftest.$ac_ext <<_ACEOF
25663 /* end confdefs.h. */
25664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25666 #define $ac_func innocuous_$ac_func
25668 /* System header to define __stub macros and hopefully few prototypes,
25669 which can conflict with char $ac_func (); below.
25670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25671 <limits.h> exists even on freestanding compilers. */
25674 # include <limits.h>
25676 # include <assert.h>
25681 /* Override any GCC internal prototype to avoid an error.
25682 Use char because int might match the return type of a GCC
25683 builtin and then its argument prototype would still apply. */
25688 /* The GNU C library defines this for functions which it implements
25689 to always fail with ENOSYS. Some functions are actually named
25690 something starting with __ and the normal name is an alias. */
25691 #if defined __stub_$ac_func || defined __stub___$ac_func
25698 return $ac_func ();
25703 rm -f conftest.$ac_objext conftest$ac_exeext
25704 if { (ac_try="$ac_link"
25705 case "(($ac_try" in
25706 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25707 *) ac_try_echo
=$ac_try;;
25709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25710 (eval "$ac_link") 2>conftest.er1
25712 grep -v '^ *+' conftest.er1
>conftest.err
25714 cat conftest.err
>&5
25715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25716 (exit $ac_status); } && {
25717 test -z "$ac_c_werror_flag" ||
25718 test ! -s conftest.err
25719 } && test -s conftest
$ac_exeext &&
25720 $as_test_x conftest
$ac_exeext; then
25721 eval "$as_ac_var=yes"
25723 echo "$as_me: failed program was:" >&5
25724 sed 's/^/| /' conftest.
$ac_ext >&5
25726 eval "$as_ac_var=no"
25729 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25730 conftest
$ac_exeext conftest.
$ac_ext
25732 ac_res
=`eval echo '${'$as_ac_var'}'`
25733 { echo "$as_me:$LINENO: result: $ac_res" >&5
25734 echo "${ECHO_T}$ac_res" >&6; }
25735 if test `eval echo '${'$as_ac_var'}'` = yes; then
25736 cat >>confdefs.h
<<_ACEOF
25737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25744 for ac_func
in floor
25746 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25747 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25749 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25750 echo $ECHO_N "(cached) $ECHO_C" >&6
25752 cat >conftest.
$ac_ext <<_ACEOF
25755 cat confdefs.h
>>conftest.
$ac_ext
25756 cat >>conftest.
$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25760 #define $ac_func innocuous_$ac_func
25762 /* System header to define __stub macros and hopefully few prototypes,
25763 which can conflict with char $ac_func (); below.
25764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25765 <limits.h> exists even on freestanding compilers. */
25768 # include <limits.h>
25770 # include <assert.h>
25775 /* Override any GCC internal prototype to avoid an error.
25776 Use char because int might match the return type of a GCC
25777 builtin and then its argument prototype would still apply. */
25782 /* The GNU C library defines this for functions which it implements
25783 to always fail with ENOSYS. Some functions are actually named
25784 something starting with __ and the normal name is an alias. */
25785 #if defined __stub_$ac_func || defined __stub___$ac_func
25792 return $ac_func ();
25797 rm -f conftest.
$ac_objext conftest
$ac_exeext
25798 if { (ac_try
="$ac_link"
25799 case "(($ac_try" in
25800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
25801 *) ac_try_echo=$ac_try;;
25803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25804 (eval "$ac_link") 2>conftest.er1
25806 grep -v '^ *+' conftest.er1 >conftest.err
25808 cat conftest.err >&5
25809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810 (exit $ac_status); } && {
25811 test -z "$ac_c_werror_flag" ||
25812 test ! -s conftest.err
25813 } && test -s conftest$ac_exeext &&
25814 $as_test_x conftest$ac_exeext; then
25815 eval "$as_ac_var=yes"
25817 echo "$as_me: failed program was:" >&5
25818 sed 's/^/| /' conftest.$ac_ext >&5
25820 eval "$as_ac_var=no"
25823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25824 conftest$ac_exeext conftest.$ac_ext
25826 ac_res=`eval echo '${'$as_ac_var'}'`
25827 { echo "$as_me:$LINENO: result: $ac_res" >&5
25828 echo "${ECHO_T}$ac_res" >&6; }
25829 if test `eval echo '${'$as_ac_var'}'` = yes; then
25830 cat >>confdefs.h <<_ACEOF
25831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25837 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25838 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25839 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25840 { echo "$as_me:$LINENO: result: yes" >&5
25841 echo "${ECHO_T}yes" >&6; }
25843 { echo "$as_me:$LINENO: result: no" >&5
25844 echo "${ECHO_T}no" >&6; }
25846 # use different functions to avoid configure caching
25852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25853 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25855 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25856 echo $ECHO_N "(cached) $ECHO_C" >&6
25858 cat >conftest.$ac_ext <<_ACEOF
25861 cat confdefs.h >>conftest.$ac_ext
25862 cat >>conftest.$ac_ext <<_ACEOF
25863 /* end confdefs.h. */
25864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25866 #define $ac_func innocuous_$ac_func
25868 /* System header to define __stub macros and hopefully few prototypes,
25869 which can conflict with char $ac_func (); below.
25870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25871 <limits.h> exists even on freestanding compilers. */
25874 # include <limits.h>
25876 # include <assert.h>
25881 /* Override any GCC internal prototype to avoid an error.
25882 Use char because int might match the return type of a GCC
25883 builtin and then its argument prototype would still apply. */
25888 /* The GNU C library defines this for functions which it implements
25889 to always fail with ENOSYS. Some functions are actually named
25890 something starting with __ and the normal name is an alias. */
25891 #if defined __stub_$ac_func || defined __stub___$ac_func
25898 return $ac_func ();
25903 rm -f conftest.$ac_objext conftest$ac_exeext
25904 if { (ac_try="$ac_link"
25905 case "(($ac_try" in
25906 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
25907 *) ac_try_echo
=$ac_try;;
25909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25910 (eval "$ac_link") 2>conftest.er1
25912 grep -v '^ *+' conftest.er1
>conftest.err
25914 cat conftest.err
>&5
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); } && {
25917 test -z "$ac_c_werror_flag" ||
25918 test ! -s conftest.err
25919 } && test -s conftest
$ac_exeext &&
25920 $as_test_x conftest
$ac_exeext; then
25921 eval "$as_ac_var=yes"
25923 echo "$as_me: failed program was:" >&5
25924 sed 's/^/| /' conftest.
$ac_ext >&5
25926 eval "$as_ac_var=no"
25929 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
25930 conftest
$ac_exeext conftest.
$ac_ext
25932 ac_res
=`eval echo '${'$as_ac_var'}'`
25933 { echo "$as_me:$LINENO: result: $ac_res" >&5
25934 echo "${ECHO_T}$ac_res" >&6; }
25935 if test `eval echo '${'$as_ac_var'}'` = yes; then
25936 cat >>confdefs.h
<<_ACEOF
25937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25944 for ac_func
in ceil
25946 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25947 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25949 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25950 echo $ECHO_N "(cached) $ECHO_C" >&6
25952 cat >conftest.
$ac_ext <<_ACEOF
25955 cat confdefs.h
>>conftest.
$ac_ext
25956 cat >>conftest.
$ac_ext <<_ACEOF
25957 /* end confdefs.h. */
25958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25960 #define $ac_func innocuous_$ac_func
25962 /* System header to define __stub macros and hopefully few prototypes,
25963 which can conflict with char $ac_func (); below.
25964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25965 <limits.h> exists even on freestanding compilers. */
25968 # include <limits.h>
25970 # include <assert.h>
25975 /* Override any GCC internal prototype to avoid an error.
25976 Use char because int might match the return type of a GCC
25977 builtin and then its argument prototype would still apply. */
25982 /* The GNU C library defines this for functions which it implements
25983 to always fail with ENOSYS. Some functions are actually named
25984 something starting with __ and the normal name is an alias. */
25985 #if defined __stub_$ac_func || defined __stub___$ac_func
25992 return $ac_func ();
25997 rm -f conftest.
$ac_objext conftest
$ac_exeext
25998 if { (ac_try
="$ac_link"
25999 case "(($ac_try" in
26000 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26001 *) ac_try_echo=$ac_try;;
26003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26004 (eval "$ac_link") 2>conftest.er1
26006 grep -v '^ *+' conftest.er1 >conftest.err
26008 cat conftest.err >&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } && {
26011 test -z "$ac_c_werror_flag" ||
26012 test ! -s conftest.err
26013 } && test -s conftest$ac_exeext &&
26014 $as_test_x conftest$ac_exeext; then
26015 eval "$as_ac_var=yes"
26017 echo "$as_me: failed program was:" >&5
26018 sed 's/^/| /' conftest.$ac_ext >&5
26020 eval "$as_ac_var=no"
26023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26024 conftest$ac_exeext conftest.$ac_ext
26026 ac_res=`eval echo '${'$as_ac_var'}'`
26027 { echo "$as_me:$LINENO: result: $ac_res" >&5
26028 echo "${ECHO_T}$ac_res" >&6; }
26029 if test `eval echo '${'$as_ac_var'}'` = yes; then
26030 cat >>confdefs.h <<_ACEOF
26031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26037 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26038 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26039 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26040 { echo "$as_me:$LINENO: result: yes" >&5
26041 echo "${ECHO_T}yes" >&6; }
26043 { echo "$as_me:$LINENO: result: no" >&5
26044 echo "${ECHO_T}no" >&6; }
26045 # not sure we should warn the user, crash, etc.
26050 ac_cpp='$CXXCPP $CPPFLAGS'
26051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26055 if test "wxUSE_UNICODE" = "yes"; then
26057 for wx_func in wcstoull
26059 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26060 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26061 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26065 cat >conftest.$ac_ext <<_ACEOF
26069 cat confdefs.h >>conftest.$ac_ext
26070 cat >>conftest.$ac_ext <<_ACEOF
26071 /* end confdefs.h. */
26074 $ac_includes_default
26090 rm -f conftest.$ac_objext conftest$ac_exeext
26091 if { (ac_try="$ac_link"
26092 case "(($ac_try" in
26093 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26094 *) ac_try_echo
=$ac_try;;
26096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26097 (eval "$ac_link") 2>conftest.er1
26099 grep -v '^ *+' conftest.er1
>conftest.err
26101 cat conftest.err
>&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } && {
26104 test -z "$ac_cxx_werror_flag" ||
26105 test ! -s conftest.err
26106 } && test -s conftest
$ac_exeext &&
26107 $as_test_x conftest
$ac_exeext; then
26108 eval wx_cv_func_
$wx_func=yes
26110 echo "$as_me: failed program was:" >&5
26111 sed 's/^/| /' conftest.
$ac_ext >&5
26113 eval wx_cv_func_
$wx_func=no
26116 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26117 conftest
$ac_exeext conftest.
$ac_ext
26120 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
26121 { echo "$as_me:$LINENO: result: $ac_res" >&5
26122 echo "${ECHO_T}$ac_res" >&6; }
26124 if eval test \
$wx_cv_func_$wx_func = yes
26126 cat >>confdefs.h
<<_ACEOF
26127 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26139 for wx_func
in strtoull
26141 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26142 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26143 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26144 echo $ECHO_N "(cached) $ECHO_C" >&6
26147 cat >conftest.
$ac_ext <<_ACEOF
26151 cat confdefs.h
>>conftest.
$ac_ext
26152 cat >>conftest.
$ac_ext <<_ACEOF
26153 /* end confdefs.h. */
26156 $ac_includes_default
26172 rm -f conftest.
$ac_objext conftest
$ac_exeext
26173 if { (ac_try
="$ac_link"
26174 case "(($ac_try" in
26175 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26176 *) ac_try_echo=$ac_try;;
26178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26179 (eval "$ac_link") 2>conftest.er1
26181 grep -v '^ *+' conftest.er1 >conftest.err
26183 cat conftest.err >&5
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); } && {
26186 test -z "$ac_cxx_werror_flag" ||
26187 test ! -s conftest.err
26188 } && test -s conftest$ac_exeext &&
26189 $as_test_x conftest$ac_exeext; then
26190 eval wx_cv_func_$wx_func=yes
26192 echo "$as_me: failed program was:" >&5
26193 sed 's/^/| /' conftest.$ac_ext >&5
26195 eval wx_cv_func_$wx_func=no
26198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26199 conftest$ac_exeext conftest.$ac_ext
26202 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26203 { echo "$as_me:$LINENO: result: $ac_res" >&5
26204 echo "${ECHO_T}$ac_res" >&6; }
26206 if eval test \$wx_cv_func_$wx_func = yes
26208 cat >>confdefs.h <<_ACEOF
26209 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26221 ac_cpp='$CPP $CPPFLAGS'
26222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26229 if test "$wxUSE_REGEX" != "no"; then
26230 cat >>confdefs.h <<\_ACEOF
26231 #define wxUSE_REGEX 1
26235 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26236 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26237 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26238 wxUSE_REGEX=builtin
26241 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26242 { echo "$as_me:$LINENO: checking for regex.h" >&5
26243 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26244 if test "${ac_cv_header_regex_h+set}" = set; then
26245 echo $ECHO_N "(cached) $ECHO_C" >&6
26247 cat >conftest.$ac_ext <<_ACEOF
26250 cat confdefs.h >>conftest.$ac_ext
26251 cat >>conftest.$ac_ext <<_ACEOF
26252 /* end confdefs.h. */
26257 rm -f conftest.$ac_objext
26258 if { (ac_try="$ac_compile"
26259 case "(($ac_try" in
26260 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26261 *) ac_try_echo
=$ac_try;;
26263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26264 (eval "$ac_compile") 2>conftest.er1
26266 grep -v '^ *+' conftest.er1
>conftest.err
26268 cat conftest.err
>&5
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); } && {
26271 test -z "$ac_c_werror_flag" ||
26272 test ! -s conftest.err
26273 } && test -s conftest.
$ac_objext; then
26274 ac_cv_header_regex_h
=yes
26276 echo "$as_me: failed program was:" >&5
26277 sed 's/^/| /' conftest.
$ac_ext >&5
26279 ac_cv_header_regex_h
=no
26282 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26284 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26285 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26286 if test $ac_cv_header_regex_h = yes; then
26289 for ac_func
in regcomp re_search
26291 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26292 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26294 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26295 echo $ECHO_N "(cached) $ECHO_C" >&6
26297 cat >conftest.
$ac_ext <<_ACEOF
26300 cat confdefs.h
>>conftest.
$ac_ext
26301 cat >>conftest.
$ac_ext <<_ACEOF
26302 /* end confdefs.h. */
26303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26305 #define $ac_func innocuous_$ac_func
26307 /* System header to define __stub macros and hopefully few prototypes,
26308 which can conflict with char $ac_func (); below.
26309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26310 <limits.h> exists even on freestanding compilers. */
26313 # include <limits.h>
26315 # include <assert.h>
26320 /* Override any GCC internal prototype to avoid an error.
26321 Use char because int might match the return type of a GCC
26322 builtin and then its argument prototype would still apply. */
26327 /* The GNU C library defines this for functions which it implements
26328 to always fail with ENOSYS. Some functions are actually named
26329 something starting with __ and the normal name is an alias. */
26330 #if defined __stub_$ac_func || defined __stub___$ac_func
26337 return $ac_func ();
26342 rm -f conftest.
$ac_objext conftest
$ac_exeext
26343 if { (ac_try
="$ac_link"
26344 case "(($ac_try" in
26345 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26346 *) ac_try_echo=$ac_try;;
26348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26349 (eval "$ac_link") 2>conftest.er1
26351 grep -v '^ *+' conftest.er1 >conftest.err
26353 cat conftest.err >&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); } && {
26356 test -z "$ac_c_werror_flag" ||
26357 test ! -s conftest.err
26358 } && test -s conftest$ac_exeext &&
26359 $as_test_x conftest$ac_exeext; then
26360 eval "$as_ac_var=yes"
26362 echo "$as_me: failed program was:" >&5
26363 sed 's/^/| /' conftest.$ac_ext >&5
26365 eval "$as_ac_var=no"
26368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26369 conftest$ac_exeext conftest.$ac_ext
26371 ac_res=`eval echo '${'$as_ac_var'}'`
26372 { echo "$as_me:$LINENO: result: $ac_res" >&5
26373 echo "${ECHO_T}$ac_res" >&6; }
26374 if test `eval echo '${'$as_ac_var'}'` = yes; then
26375 cat >>confdefs.h <<_ACEOF
26376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26386 if test "x$ac_cv_func_regcomp" != "xyes"; then
26387 if test "$wxUSE_REGEX" = "sys" ; then
26388 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26389 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26390 { (exit 1); exit 1; }; }
26392 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26393 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26394 wxUSE_REGEX=builtin
26398 cat >>confdefs.h <<\_ACEOF
26399 #define WX_NO_REGEX_ADVANCED 1
26408 if test "$wxUSE_ZLIB" != "no" ; then
26409 cat >>confdefs.h <<\_ACEOF
26410 #define wxUSE_ZLIB 1
26414 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26415 if test "$USE_DARWIN" = 1; then
26416 system_zlib_h_ok="yes"
26418 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26419 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26420 if test "${ac_cv_header_zlib_h+set}" = set; then
26421 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 if test "$cross_compiling" = yes; then
26424 unset ac_cv_header_zlib_h
26427 cat >conftest.$ac_ext <<_ACEOF
26430 cat confdefs.h >>conftest.$ac_ext
26431 cat >>conftest.$ac_ext <<_ACEOF
26432 /* end confdefs.h. */
26439 FILE *f=fopen("conftestval", "w");
26442 ZLIB_VERSION[0] == '1' &&
26443 (ZLIB_VERSION[2] > '1' ||
26444 (ZLIB_VERSION[2] == '1' &&
26445 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26450 rm -f conftest$ac_exeext
26451 if { (ac_try="$ac_link"
26452 case "(($ac_try" in
26453 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26454 *) ac_try_echo
=$ac_try;;
26456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26457 (eval "$ac_link") 2>&5
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26461 { (case "(($ac_try" in
26462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26463 *) ac_try_echo=$ac_try;;
26465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26466 (eval "$ac_try") 2>&5
26468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469 (exit $ac_status); }; }; then
26470 ac_cv_header_zlib_h=`cat conftestval
`
26472 echo "$as_me: program exited with status $ac_status" >&5
26473 echo "$as_me: failed program was:" >&5
26474 sed 's/^/| /' conftest.$ac_ext >&5
26476 ( exit $ac_status )
26477 ac_cv_header_zlib_h=no
26479 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26485 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26486 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26487 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26488 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26489 if test "${ac_cv_header_zlib_h+set}" = set; then
26490 echo $ECHO_N "(cached) $ECHO_C" >&6
26492 cat >conftest.$ac_ext <<_ACEOF
26495 cat confdefs.h >>conftest.$ac_ext
26496 cat >>conftest.$ac_ext <<_ACEOF
26497 /* end confdefs.h. */
26502 rm -f conftest.$ac_objext
26503 if { (ac_try="$ac_compile"
26504 case "(($ac_try" in
26505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26506 *) ac_try_echo
=$ac_try;;
26508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26509 (eval "$ac_compile") 2>conftest.er1
26511 grep -v '^ *+' conftest.er1
>conftest.err
26513 cat conftest.err
>&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); } && {
26516 test -z "$ac_c_werror_flag" ||
26517 test ! -s conftest.err
26518 } && test -s conftest.
$ac_objext; then
26519 ac_cv_header_zlib_h
=yes
26521 echo "$as_me: failed program was:" >&5
26522 sed 's/^/| /' conftest.
$ac_ext >&5
26524 ac_cv_header_zlib_h
=no
26527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26529 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26530 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26534 system_zlib_h_ok
=$ac_cv_header_zlib_h
26537 if test "$system_zlib_h_ok" = "yes"; then
26538 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26539 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26540 if test "${ac_cv_lib_z_deflate+set}" = set; then
26541 echo $ECHO_N "(cached) $ECHO_C" >&6
26543 ac_check_lib_save_LIBS
=$LIBS
26545 cat >conftest.
$ac_ext <<_ACEOF
26548 cat confdefs.h
>>conftest.
$ac_ext
26549 cat >>conftest.
$ac_ext <<_ACEOF
26550 /* end confdefs.h. */
26552 /* Override any GCC internal prototype to avoid an error.
26553 Use char because int might match the return type of a GCC
26554 builtin and then its argument prototype would still apply. */
26567 rm -f conftest.
$ac_objext conftest
$ac_exeext
26568 if { (ac_try
="$ac_link"
26569 case "(($ac_try" in
26570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26571 *) ac_try_echo=$ac_try;;
26573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26574 (eval "$ac_link") 2>conftest.er1
26576 grep -v '^ *+' conftest.er1 >conftest.err
26578 cat conftest.err >&5
26579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26580 (exit $ac_status); } && {
26581 test -z "$ac_c_werror_flag" ||
26582 test ! -s conftest.err
26583 } && test -s conftest$ac_exeext &&
26584 $as_test_x conftest$ac_exeext; then
26585 ac_cv_lib_z_deflate=yes
26587 echo "$as_me: failed program was:" >&5
26588 sed 's/^/| /' conftest.$ac_ext >&5
26590 ac_cv_lib_z_deflate=no
26593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26594 conftest$ac_exeext conftest.$ac_ext
26595 LIBS=$ac_check_lib_save_LIBS
26597 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26598 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26599 if test $ac_cv_lib_z_deflate = yes; then
26605 if test "x$ZLIB_LINK" = "x" ; then
26606 if test "$wxUSE_ZLIB" = "sys" ; then
26607 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26608 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26609 { (exit 1); exit 1; }; }
26611 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26612 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26623 if test "$wxUSE_LIBPNG" != "no" ; then
26624 cat >>confdefs.h <<\_ACEOF
26625 #define wxUSE_LIBPNG 1
26629 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26630 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26631 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26635 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26636 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26637 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26638 wxUSE_LIBPNG=builtin
26641 if test "$wxUSE_MGL" != 1 ; then
26642 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26643 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26644 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26645 if test "${ac_cv_header_png_h+set}" = set; then
26646 echo $ECHO_N "(cached) $ECHO_C" >&6
26648 if test "$cross_compiling" = yes; then
26649 unset ac_cv_header_png_h
26652 cat >conftest.$ac_ext <<_ACEOF
26655 cat confdefs.h >>conftest.$ac_ext
26656 cat >>conftest.$ac_ext <<_ACEOF
26657 /* end confdefs.h. */
26664 FILE *f=fopen("conftestval", "w");
26667 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26672 rm -f conftest$ac_exeext
26673 if { (ac_try="$ac_link"
26674 case "(($ac_try" in
26675 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26676 *) ac_try_echo
=$ac_try;;
26678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26679 (eval "$ac_link") 2>&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
26683 { (case "(($ac_try" in
26684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26685 *) ac_try_echo=$ac_try;;
26687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26688 (eval "$ac_try") 2>&5
26690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26691 (exit $ac_status); }; }; then
26692 ac_cv_header_png_h=`cat conftestval
`
26694 echo "$as_me: program exited with status $ac_status" >&5
26695 echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.$ac_ext >&5
26698 ( exit $ac_status )
26699 ac_cv_header_png_h=no
26701 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26707 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26708 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26709 { echo "$as_me:$LINENO: checking for png.h" >&5
26710 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26711 if test "${ac_cv_header_png_h+set}" = set; then
26712 echo $ECHO_N "(cached) $ECHO_C" >&6
26714 cat >conftest.$ac_ext <<_ACEOF
26717 cat confdefs.h >>conftest.$ac_ext
26718 cat >>conftest.$ac_ext <<_ACEOF
26719 /* end confdefs.h. */
26724 rm -f conftest.$ac_objext
26725 if { (ac_try="$ac_compile"
26726 case "(($ac_try" in
26727 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26728 *) ac_try_echo
=$ac_try;;
26730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26731 (eval "$ac_compile") 2>conftest.er1
26733 grep -v '^ *+' conftest.er1
>conftest.err
26735 cat conftest.err
>&5
26736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737 (exit $ac_status); } && {
26738 test -z "$ac_c_werror_flag" ||
26739 test ! -s conftest.err
26740 } && test -s conftest.
$ac_objext; then
26741 ac_cv_header_png_h
=yes
26743 echo "$as_me: failed program was:" >&5
26744 sed 's/^/| /' conftest.
$ac_ext >&5
26746 ac_cv_header_png_h
=no
26749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26751 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26752 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26756 if test "$ac_cv_header_png_h" = "yes"; then
26757 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26758 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26759 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26760 echo $ECHO_N "(cached) $ECHO_C" >&6
26762 ac_check_lib_save_LIBS
=$LIBS
26763 LIBS
="-lpng -lz -lm $LIBS"
26764 cat >conftest.
$ac_ext <<_ACEOF
26767 cat confdefs.h
>>conftest.
$ac_ext
26768 cat >>conftest.
$ac_ext <<_ACEOF
26769 /* end confdefs.h. */
26771 /* Override any GCC internal prototype to avoid an error.
26772 Use char because int might match the return type of a GCC
26773 builtin and then its argument prototype would still apply. */
26777 char png_check_sig ();
26781 return png_check_sig ();
26786 rm -f conftest.
$ac_objext conftest
$ac_exeext
26787 if { (ac_try
="$ac_link"
26788 case "(($ac_try" in
26789 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26790 *) ac_try_echo=$ac_try;;
26792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26793 (eval "$ac_link") 2>conftest.er1
26795 grep -v '^ *+' conftest.er1 >conftest.err
26797 cat conftest.err >&5
26798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 (exit $ac_status); } && {
26800 test -z "$ac_c_werror_flag" ||
26801 test ! -s conftest.err
26802 } && test -s conftest$ac_exeext &&
26803 $as_test_x conftest$ac_exeext; then
26804 ac_cv_lib_png_png_check_sig=yes
26806 echo "$as_me: failed program was:" >&5
26807 sed 's/^/| /' conftest.$ac_ext >&5
26809 ac_cv_lib_png_png_check_sig=no
26812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26813 conftest$ac_exeext conftest.$ac_ext
26814 LIBS=$ac_check_lib_save_LIBS
26816 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26817 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26818 if test $ac_cv_lib_png_png_check_sig = yes; then
26819 PNG_LINK=" -lpng -lz"
26824 if test "x$PNG_LINK" = "x" ; then
26825 if test "$wxUSE_LIBPNG" = "sys" ; then
26826 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26827 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26828 { (exit 1); exit 1; }; }
26830 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26831 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26832 wxUSE_LIBPNG=builtin
26843 if test "$wxUSE_LIBJPEG" != "no" ; then
26844 cat >>confdefs.h <<\_ACEOF
26845 #define wxUSE_LIBJPEG 1
26849 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26850 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26851 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26855 if test "$wxUSE_MGL" != 1 ; then
26856 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26857 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26858 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26859 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26860 echo $ECHO_N "(cached) $ECHO_C" >&6
26862 cat >conftest.$ac_ext <<_ACEOF
26865 cat confdefs.h >>conftest.$ac_ext
26866 cat >>conftest.$ac_ext <<_ACEOF
26867 /* end confdefs.h. */
26869 #undef HAVE_STDLIB_H
26871 #include <jpeglib.h>
26882 rm -f conftest.$ac_objext
26883 if { (ac_try="$ac_compile"
26884 case "(($ac_try" in
26885 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26886 *) ac_try_echo
=$ac_try;;
26888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26889 (eval "$ac_compile") 2>conftest.er1
26891 grep -v '^ *+' conftest.er1
>conftest.err
26893 cat conftest.err
>&5
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); } && {
26896 test -z "$ac_c_werror_flag" ||
26897 test ! -s conftest.err
26898 } && test -s conftest.
$ac_objext; then
26899 ac_cv_header_jpeglib_h
=yes
26901 echo "$as_me: failed program was:" >&5
26902 sed 's/^/| /' conftest.
$ac_ext >&5
26904 ac_cv_header_jpeglib_h
=no
26908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26912 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26913 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26915 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26916 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26917 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26918 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26919 echo $ECHO_N "(cached) $ECHO_C" >&6
26921 ac_check_lib_save_LIBS
=$LIBS
26922 LIBS
="-ljpeg $LIBS"
26923 cat >conftest.
$ac_ext <<_ACEOF
26926 cat confdefs.h
>>conftest.
$ac_ext
26927 cat >>conftest.
$ac_ext <<_ACEOF
26928 /* end confdefs.h. */
26930 /* Override any GCC internal prototype to avoid an error.
26931 Use char because int might match the return type of a GCC
26932 builtin and then its argument prototype would still apply. */
26936 char jpeg_read_header ();
26940 return jpeg_read_header ();
26945 rm -f conftest.
$ac_objext conftest
$ac_exeext
26946 if { (ac_try
="$ac_link"
26947 case "(($ac_try" in
26948 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26949 *) ac_try_echo=$ac_try;;
26951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26952 (eval "$ac_link") 2>conftest.er1
26954 grep -v '^ *+' conftest.er1 >conftest.err
26956 cat conftest.err >&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); } && {
26959 test -z "$ac_c_werror_flag" ||
26960 test ! -s conftest.err
26961 } && test -s conftest$ac_exeext &&
26962 $as_test_x conftest$ac_exeext; then
26963 ac_cv_lib_jpeg_jpeg_read_header=yes
26965 echo "$as_me: failed program was:" >&5
26966 sed 's/^/| /' conftest.$ac_ext >&5
26968 ac_cv_lib_jpeg_jpeg_read_header=no
26971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26972 conftest$ac_exeext conftest.$ac_ext
26973 LIBS=$ac_check_lib_save_LIBS
26975 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26976 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26977 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26978 JPEG_LINK=" -ljpeg"
26983 if test "x$JPEG_LINK" = "x" ; then
26984 if test "$wxUSE_LIBJPEG" = "sys" ; then
26985 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26986 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26987 { (exit 1); exit 1; }; }
26989 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26990 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26991 wxUSE_LIBJPEG=builtin
26996 if test "$wxUSE_MSW" = 1; then
26997 { echo "$as_me:$LINENO: checking for boolean" >&5
26998 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26999 if test "${ac_cv_type_boolean+set}" = set; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6
27002 cat >conftest.$ac_ext <<_ACEOF
27005 cat confdefs.h >>conftest.$ac_ext
27006 cat >>conftest.$ac_ext <<_ACEOF
27007 /* end confdefs.h. */
27008 #include <windows.h>
27010 typedef boolean ac__type_new_;
27014 if ((ac__type_new_ *) 0)
27016 if (sizeof (ac__type_new_))
27022 rm -f conftest.$ac_objext
27023 if { (ac_try="$ac_compile"
27024 case "(($ac_try" in
27025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27026 *) ac_try_echo
=$ac_try;;
27028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27029 (eval "$ac_compile") 2>conftest.er1
27031 grep -v '^ *+' conftest.er1
>conftest.err
27033 cat conftest.err
>&5
27034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27035 (exit $ac_status); } && {
27036 test -z "$ac_c_werror_flag" ||
27037 test ! -s conftest.err
27038 } && test -s conftest.
$ac_objext; then
27039 ac_cv_type_boolean
=yes
27041 echo "$as_me: failed program was:" >&5
27042 sed 's/^/| /' conftest.
$ac_ext >&5
27044 ac_cv_type_boolean
=no
27047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27049 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27050 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27051 if test $ac_cv_type_boolean = yes; then
27053 cat >>confdefs.h
<<_ACEOF
27054 #define HAVE_BOOLEAN 1
27058 { echo "$as_me:$LINENO: checking for boolean" >&5
27059 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27060 if test "${ac_cv_type_boolean+set}" = set; then
27061 echo $ECHO_N "(cached) $ECHO_C" >&6
27063 cat >conftest.
$ac_ext <<_ACEOF
27066 cat confdefs.h
>>conftest.
$ac_ext
27067 cat >>conftest.
$ac_ext <<_ACEOF
27068 /* end confdefs.h. */
27070 #undef HAVE_BOOLEAN
27072 #include <jpeglib.h>
27075 typedef boolean ac__type_new_;
27079 if ((ac__type_new_ *) 0)
27081 if (sizeof (ac__type_new_))
27087 rm -f conftest.
$ac_objext
27088 if { (ac_try
="$ac_compile"
27089 case "(($ac_try" in
27090 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27091 *) ac_try_echo=$ac_try;;
27093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27094 (eval "$ac_compile") 2>conftest.er1
27096 grep -v '^ *+' conftest.er1 >conftest.err
27098 cat conftest.err >&5
27099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27100 (exit $ac_status); } && {
27101 test -z "$ac_c_werror_flag" ||
27102 test ! -s conftest.err
27103 } && test -s conftest.$ac_objext; then
27104 ac_cv_type_boolean=yes
27106 echo "$as_me: failed program was:" >&5
27107 sed 's/^/| /' conftest.$ac_ext >&5
27109 ac_cv_type_boolean=no
27112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27114 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27115 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27117 # The cast to long int works around a bug in the HP C Compiler
27118 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27119 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
27120 # This bug is HP SR number 8606223364.
27121 { echo "$as_me:$LINENO: checking size of boolean" >&5
27122 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27123 if test "${ac_cv_sizeof_boolean+set}" = set; then
27124 echo $ECHO_N "(cached) $ECHO_C" >&6
27126 if test "$cross_compiling" = yes; then
27127 # Depending upon the size, compute the lo and hi bounds.
27128 cat >conftest.$ac_ext <<_ACEOF
27131 cat confdefs.h >>conftest.$ac_ext
27132 cat >>conftest.$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27135 #undef HAVE_BOOLEAN
27137 #include <jpeglib.h>
27140 typedef boolean ac__type_sizeof_;
27144 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27151 rm -f conftest.$ac_objext
27152 if { (ac_try="$ac_compile"
27153 case "(($ac_try" in
27154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27155 *) ac_try_echo=$ac_try;;
27157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27158 (eval "$ac_compile") 2>conftest.er1
27160 grep -v '^
*+' conftest.er1 >conftest.err
27162 cat conftest.err >&5
27163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27164 (exit $ac_status); } && {
27165 test -z "$ac_c_werror_flag" ||
27166 test ! -s conftest.err
27167 } && test -s conftest.$ac_objext; then
27170 cat >conftest.$ac_ext <<_ACEOF
27173 cat confdefs.h >>conftest.$ac_ext
27174 cat >>conftest.$ac_ext <<_ACEOF
27175 /* end confdefs.h. */
27177 #undef HAVE_BOOLEAN
27179 #include <jpeglib.h>
27182 typedef boolean ac__type_sizeof_;
27186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27193 rm -f conftest.$ac_objext
27194 if { (ac_try="$ac_compile"
27195 case "(($ac_try" in
27196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27197 *) ac_try_echo=$ac_try;;
27199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27200 (eval "$ac_compile") 2>conftest.er1
27202 grep -v '^
*+' conftest.er1 >conftest.err
27204 cat conftest.err >&5
27205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 (exit $ac_status); } && {
27207 test -z "$ac_c_werror_flag" ||
27208 test ! -s conftest.err
27209 } && test -s conftest.$ac_objext; then
27210 ac_hi=$ac_mid; break
27212 echo "$as_me: failed program was:" >&5
27213 sed 's
/^
/| /' conftest.$ac_ext >&5
27215 ac_lo=`expr $ac_mid + 1`
27216 if test $ac_lo -le $ac_mid; then
27220 ac_mid=`expr 2 '*' $ac_mid + 1`
27223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27226 echo "$as_me: failed program was:" >&5
27227 sed 's
/^
/| /' conftest.$ac_ext >&5
27229 cat >conftest.$ac_ext <<_ACEOF
27232 cat confdefs.h >>conftest.$ac_ext
27233 cat >>conftest.$ac_ext <<_ACEOF
27234 /* end confdefs.h. */
27236 #undef HAVE_BOOLEAN
27238 #include <jpeglib.h>
27241 typedef boolean ac__type_sizeof_;
27245 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27252 rm -f conftest.$ac_objext
27253 if { (ac_try="$ac_compile"
27254 case "(($ac_try" in
27255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27256 *) ac_try_echo=$ac_try;;
27258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27259 (eval "$ac_compile") 2>conftest.er1
27261 grep -v '^
*+' conftest.er1 >conftest.err
27263 cat conftest.err >&5
27264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27265 (exit $ac_status); } && {
27266 test -z "$ac_c_werror_flag" ||
27267 test ! -s conftest.err
27268 } && test -s conftest.$ac_objext; then
27271 cat >conftest.$ac_ext <<_ACEOF
27274 cat confdefs.h >>conftest.$ac_ext
27275 cat >>conftest.$ac_ext <<_ACEOF
27276 /* end confdefs.h. */
27278 #undef HAVE_BOOLEAN
27280 #include <jpeglib.h>
27283 typedef boolean ac__type_sizeof_;
27287 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27294 rm -f conftest.$ac_objext
27295 if { (ac_try="$ac_compile"
27296 case "(($ac_try" in
27297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27298 *) ac_try_echo=$ac_try;;
27300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27301 (eval "$ac_compile") 2>conftest.er1
27303 grep -v '^
*+' conftest.er1 >conftest.err
27305 cat conftest.err >&5
27306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27307 (exit $ac_status); } && {
27308 test -z "$ac_c_werror_flag" ||
27309 test ! -s conftest.err
27310 } && test -s conftest.$ac_objext; then
27311 ac_lo=$ac_mid; break
27313 echo "$as_me: failed program was:" >&5
27314 sed 's
/^
/| /' conftest.$ac_ext >&5
27316 ac_hi=`expr '(' $ac_mid ')' - 1`
27317 if test $ac_mid -le $ac_hi; then
27321 ac_mid=`expr 2 '*' $ac_mid`
27324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27327 echo "$as_me: failed program was:" >&5
27328 sed 's
/^
/| /' conftest.$ac_ext >&5
27333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27337 # Binary search between lo and hi bounds.
27338 while test "x$ac_lo" != "x$ac_hi"; do
27339 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27340 cat >conftest.$ac_ext <<_ACEOF
27343 cat confdefs.h >>conftest.$ac_ext
27344 cat >>conftest.$ac_ext <<_ACEOF
27345 /* end confdefs.h. */
27347 #undef HAVE_BOOLEAN
27349 #include <jpeglib.h>
27352 typedef boolean ac__type_sizeof_;
27356 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27363 rm -f conftest.$ac_objext
27364 if { (ac_try="$ac_compile"
27365 case "(($ac_try" in
27366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27367 *) ac_try_echo=$ac_try;;
27369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27370 (eval "$ac_compile") 2>conftest.er1
27372 grep -v '^
*+' conftest.er1 >conftest.err
27374 cat conftest.err >&5
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } && {
27377 test -z "$ac_c_werror_flag" ||
27378 test ! -s conftest.err
27379 } && test -s conftest.$ac_objext; then
27382 echo "$as_me: failed program was:" >&5
27383 sed 's
/^
/| /' conftest.$ac_ext >&5
27385 ac_lo=`expr '(' $ac_mid ')' + 1`
27388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27391 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27392 '') if test "$ac_cv_type_boolean" = yes; then
27393 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27394 See \`config.log' for more details.
" >&5
27395 echo "$as_me: error
: cannot compute sizeof
(boolean
)
27396 See \
`config.log' for more details." >&2;}
27397 { (exit 77); exit 77; }; }
27399 ac_cv_sizeof_boolean=0
27403 cat >conftest.$ac_ext <<_ACEOF
27406 cat confdefs.h >>conftest.$ac_ext
27407 cat >>conftest.$ac_ext <<_ACEOF
27408 /* end confdefs.h. */
27410 #undef HAVE_BOOLEAN
27412 #include <jpeglib.h>
27415 typedef boolean ac__type_sizeof_;
27416 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27417 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27419 #include <stdlib.h>
27424 FILE *f = fopen ("conftest.val", "w");
27427 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27429 long int i = longval ();
27430 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27432 fprintf (f, "%ld\n", i);
27436 unsigned long int i = ulongval ();
27437 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27439 fprintf (f, "%lu\n", i);
27441 return ferror (f) || fclose (f) != 0;
27447 rm -f conftest$ac_exeext
27448 if { (ac_try="$ac_link"
27449 case "(($ac_try" in
27450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27451 *) ac_try_echo
=$ac_try;;
27453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27454 (eval "$ac_link") 2>&5
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
27458 { (case "(($ac_try" in
27459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27460 *) ac_try_echo=$ac_try;;
27462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27463 (eval "$ac_try") 2>&5
27465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27466 (exit $ac_status); }; }; then
27467 ac_cv_sizeof_boolean=`cat conftest.val
`
27469 echo "$as_me: program exited with status $ac_status" >&5
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.$ac_ext >&5
27473 ( exit $ac_status )
27474 if test "$ac_cv_type_boolean" = yes; then
27475 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27476 See \`config.log
' for more details." >&5
27477 echo "$as_me: error: cannot compute sizeof (boolean)
27478 See \`config.log' for more details.
" >&2;}
27479 { (exit 77); exit 77; }; }
27481 ac_cv_sizeof_boolean=0
27484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27488 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
27489 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27493 cat >>confdefs.h <<_ACEOF
27494 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27498 cat >>confdefs.h <<_ACEOF
27499 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27513 TIFF_PREREQ_LINKS=-lm
27514 if test "$wxUSE_LIBTIFF" != "no
" ; then
27515 cat >>confdefs.h <<\_ACEOF
27516 #define wxUSE_LIBTIFF 1
27520 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
27521 if test "$wxUSE_LIBJPEG" = "sys
"; then
27522 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27524 if test "$wxUSE_ZLIB" = "sys
"; then
27525 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27527 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
27528 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
27529 if test "${ac_cv_header_tiffio_h+set}" = set; then
27530 echo $ECHO_N "(cached
) $ECHO_C" >&6
27532 cat >conftest.$ac_ext <<_ACEOF
27535 cat confdefs.h >>conftest.$ac_ext
27536 cat >>conftest.$ac_ext <<_ACEOF
27537 /* end confdefs.h. */
27541 #include <tiffio.h>
27543 rm -f conftest.$ac_objext
27544 if { (ac_try="$ac_compile"
27545 case "(($ac_try" in
27546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27547 *) ac_try_echo=$ac_try;;
27549 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27550 (eval "$ac_compile") 2>conftest.er1
27552 grep -v '^ *+' conftest.er1 >conftest.err
27554 cat conftest.err >&5
27555 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27556 (exit $ac_status); } && {
27557 test -z "$ac_c_werror_flag" ||
27558 test ! -s conftest.err
27559 } && test -s conftest.$ac_objext; then
27560 ac_cv_header_tiffio_h=yes
27562 echo "$as_me: failed program was
:" >&5
27563 sed 's/^/| /' conftest.$ac_ext >&5
27565 ac_cv_header_tiffio_h=no
27568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27570 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
27571 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27572 if test $ac_cv_header_tiffio_h = yes; then
27574 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
27575 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
27576 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27577 echo $ECHO_N "(cached
) $ECHO_C" >&6
27579 ac_check_lib_save_LIBS=$LIBS
27580 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27581 cat >conftest.$ac_ext <<_ACEOF
27584 cat confdefs.h >>conftest.$ac_ext
27585 cat >>conftest.$ac_ext <<_ACEOF
27586 /* end confdefs.h. */
27588 /* Override any GCC internal prototype to avoid an error.
27589 Use char because int might match the return type of a GCC
27590 builtin and then its argument prototype would still apply. */
27598 return TIFFError ();
27603 rm -f conftest.$ac_objext conftest$ac_exeext
27604 if { (ac_try="$ac_link"
27605 case "(($ac_try" in
27606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27607 *) ac_try_echo=$ac_try;;
27609 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27610 (eval "$ac_link") 2>conftest.er1
27612 grep -v '^ *+' conftest.er1 >conftest.err
27614 cat conftest.err >&5
27615 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27616 (exit $ac_status); } && {
27617 test -z "$ac_c_werror_flag" ||
27618 test ! -s conftest.err
27619 } && test -s conftest$ac_exeext &&
27620 $as_test_x conftest$ac_exeext; then
27621 ac_cv_lib_tiff_TIFFError=yes
27623 echo "$as_me: failed program was
:" >&5
27624 sed 's/^/| /' conftest.$ac_ext >&5
27626 ac_cv_lib_tiff_TIFFError=no
27629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27630 conftest$ac_exeext conftest.$ac_ext
27631 LIBS=$ac_check_lib_save_LIBS
27633 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
27634 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27635 if test $ac_cv_lib_tiff_TIFFError = yes; then
27636 TIFF_LINK=" -ltiff"
27644 if test "x
$TIFF_LINK" = "x
" ; then
27645 if test "$wxUSE_LIBTIFF" = "sys
" ; then
27646 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
27647 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
27648 { (exit 1); exit 1; }; }
27650 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
27651 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
27652 wxUSE_LIBTIFF=builtin
27658 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27659 if test "$wxUSE_LIBJPEG" = "no
"; then
27660 ac_configure_args="$ac_configure_args --disable-jpeg"
27662 subdirs="$subdirs src
/tiff
"
27668 if test "$wxUSE_WCHAR_T" != "yes"; then
27669 if test "$wxUSE_EXPAT" != "no
"; then
27670 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&5
27671 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use expat
, disabling
" >&2;}
27674 if test "$wxUSE_XML" != "no
"; then
27675 { echo "$as_me:$LINENO: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&5
27676 echo "$as_me: WARNING
: wxWidgets requires wchar_t to use xml
, disabling
" >&2;}
27681 if test "$wxUSE_EXPAT" != "no
"; then
27683 cat >>confdefs.h <<\_ACEOF
27684 #define wxUSE_EXPAT 1
27687 cat >>confdefs.h <<\_ACEOF
27688 #define wxUSE_XML 1
27692 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
27693 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
27694 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
27695 if test "${ac_cv_header_expat_h+set}" = set; then
27696 echo $ECHO_N "(cached
) $ECHO_C" >&6
27698 cat >conftest.$ac_ext <<_ACEOF
27701 cat confdefs.h >>conftest.$ac_ext
27702 cat >>conftest.$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27708 rm -f conftest.$ac_objext
27709 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
27717 grep -v '^ *+' conftest.er1 >conftest.err
27719 cat conftest.err >&5
27720 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27721 (exit $ac_status); } && {
27722 test -z "$ac_c_werror_flag" ||
27723 test ! -s conftest.err
27724 } && test -s conftest.$ac_objext; then
27725 ac_cv_header_expat_h=yes
27727 echo "$as_me: failed program was
:" >&5
27728 sed 's/^/| /' conftest.$ac_ext >&5
27730 ac_cv_header_expat_h=no
27733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27735 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
27736 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27737 if test $ac_cv_header_expat_h = yes; then
27742 if test "x
$found_expat_h" = "x1
"; then
27743 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
27744 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
27745 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27746 echo $ECHO_N "(cached
) $ECHO_C" >&6
27750 ac_cpp='$CXXCPP $CPPFLAGS'
27751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27755 cat >conftest.$ac_ext <<_ACEOF
27758 cat confdefs.h >>conftest.$ac_ext
27759 cat >>conftest.$ac_ext <<_ACEOF
27760 /* end confdefs.h. */
27770 rm -f conftest.$ac_objext
27771 if { (ac_try="$ac_compile"
27772 case "(($ac_try" in
27773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27774 *) ac_try_echo=$ac_try;;
27776 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27777 (eval "$ac_compile") 2>conftest.er1
27779 grep -v '^ *+' conftest.er1 >conftest.err
27781 cat conftest.err >&5
27782 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27783 (exit $ac_status); } && {
27784 test -z "$ac_cxx_werror_flag" ||
27785 test ! -s conftest.err
27786 } && test -s conftest.$ac_objext; then
27787 wx_cv_expat_is_not_broken=yes
27789 echo "$as_me: failed program was
:" >&5
27790 sed 's/^/| /' conftest.$ac_ext >&5
27792 wx_cv_expat_is_not_broken=no
27796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27798 ac_cpp='$CPP $CPPFLAGS'
27799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27806 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
27807 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27808 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27809 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
27810 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
27811 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27812 echo $ECHO_N "(cached
) $ECHO_C" >&6
27814 ac_check_lib_save_LIBS=$LIBS
27815 LIBS="-lexpat $LIBS"
27816 cat >conftest.$ac_ext <<_ACEOF
27819 cat confdefs.h >>conftest.$ac_ext
27820 cat >>conftest.$ac_ext <<_ACEOF
27821 /* end confdefs.h. */
27823 /* Override any GCC internal prototype to avoid an error.
27824 Use char because int might match the return type of a GCC
27825 builtin and then its argument prototype would still apply. */
27829 char XML_ParserCreate ();
27833 return XML_ParserCreate ();
27838 rm -f conftest.$ac_objext conftest$ac_exeext
27839 if { (ac_try="$ac_link"
27840 case "(($ac_try" in
27841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27842 *) ac_try_echo=$ac_try;;
27844 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27845 (eval "$ac_link") 2>conftest.er1
27847 grep -v '^ *+' conftest.er1 >conftest.err
27849 cat conftest.err >&5
27850 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27851 (exit $ac_status); } && {
27852 test -z "$ac_c_werror_flag" ||
27853 test ! -s conftest.err
27854 } && test -s conftest$ac_exeext &&
27855 $as_test_x conftest$ac_exeext; then
27856 ac_cv_lib_expat_XML_ParserCreate=yes
27858 echo "$as_me: failed program was
:" >&5
27859 sed 's/^/| /' conftest.$ac_ext >&5
27861 ac_cv_lib_expat_XML_ParserCreate=no
27864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27865 conftest$ac_exeext conftest.$ac_ext
27866 LIBS=$ac_check_lib_save_LIBS
27868 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
27869 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27870 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27871 EXPAT_LINK=" -lexpat"
27876 if test "x
$EXPAT_LINK" = "x
" ; then
27877 if test "$wxUSE_EXPAT" = "sys
" ; then
27878 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
27879 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
27880 { (exit 1); exit 1; }; }
27882 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
27883 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
27884 wxUSE_EXPAT=builtin
27890 if test "$wxUSE_EXPAT" = "builtin" ; then
27891 subdirs="$subdirs src
/expat
"
27898 if test "$wxUSE_LIBMSPACK" != "no
"; then
27899 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
27900 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
27901 if test "${ac_cv_header_mspack_h+set}" = set; then
27902 echo $ECHO_N "(cached
) $ECHO_C" >&6
27904 cat >conftest.$ac_ext <<_ACEOF
27907 cat confdefs.h >>conftest.$ac_ext
27908 cat >>conftest.$ac_ext <<_ACEOF
27909 /* end confdefs.h. */
27912 #include <mspack.h>
27914 rm -f conftest.$ac_objext
27915 if { (ac_try="$ac_compile"
27916 case "(($ac_try" in
27917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27918 *) ac_try_echo=$ac_try;;
27920 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27921 (eval "$ac_compile") 2>conftest.er1
27923 grep -v '^ *+' conftest.er1 >conftest.err
27925 cat conftest.err >&5
27926 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27927 (exit $ac_status); } && {
27928 test -z "$ac_c_werror_flag" ||
27929 test ! -s conftest.err
27930 } && test -s conftest.$ac_objext; then
27931 ac_cv_header_mspack_h=yes
27933 echo "$as_me: failed program was
:" >&5
27934 sed 's/^/| /' conftest.$ac_ext >&5
27936 ac_cv_header_mspack_h=no
27939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27941 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
27942 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27943 if test $ac_cv_header_mspack_h = yes; then
27948 if test "x
$found_mspack_h" = "x1
"; then
27949 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
27950 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
27951 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27952 echo $ECHO_N "(cached
) $ECHO_C" >&6
27954 ac_check_lib_save_LIBS=$LIBS
27955 LIBS="-lmspack $LIBS"
27956 cat >conftest.$ac_ext <<_ACEOF
27959 cat confdefs.h >>conftest.$ac_ext
27960 cat >>conftest.$ac_ext <<_ACEOF
27961 /* end confdefs.h. */
27963 /* Override any GCC internal prototype to avoid an error.
27964 Use char because int might match the return type of a GCC
27965 builtin and then its argument prototype would still apply. */
27969 char mspack_create_chm_decompressor ();
27973 return mspack_create_chm_decompressor ();
27978 rm -f conftest.$ac_objext conftest$ac_exeext
27979 if { (ac_try="$ac_link"
27980 case "(($ac_try" in
27981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27982 *) ac_try_echo=$ac_try;;
27984 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
27985 (eval "$ac_link") 2>conftest.er1
27987 grep -v '^ *+' conftest.er1 >conftest.err
27989 cat conftest.err >&5
27990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
27991 (exit $ac_status); } && {
27992 test -z "$ac_c_werror_flag" ||
27993 test ! -s conftest.err
27994 } && test -s conftest$ac_exeext &&
27995 $as_test_x conftest$ac_exeext; then
27996 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27998 echo "$as_me: failed program was
:" >&5
27999 sed 's/^/| /' conftest.$ac_ext >&5
28001 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28005 conftest$ac_exeext conftest.$ac_ext
28006 LIBS=$ac_check_lib_save_LIBS
28008 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28009 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28010 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28011 MSPACK_LINK=" -lmspack"
28015 if test "x
$MSPACK_LINK" = "x
" ; then
28020 if test "$wxUSE_LIBMSPACK" != "no
"; then
28021 cat >>confdefs.h <<\_ACEOF
28022 #define wxUSE_LIBMSPACK 1
28036 if test "$USE_WIN32" = 1 ; then
28038 for ac_header in w32api.h
28040 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
28041 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
28042 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
28043 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
28044 echo $ECHO_N "(cached
) $ECHO_C" >&6
28046 cat >conftest.$ac_ext <<_ACEOF
28049 cat confdefs.h >>conftest.$ac_ext
28050 cat >>conftest.$ac_ext <<_ACEOF
28051 /* end confdefs.h. */
28054 #include <$ac_header>
28056 rm -f conftest.$ac_objext
28057 if { (ac_try="$ac_compile"
28058 case "(($ac_try" in
28059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28060 *) ac_try_echo=$ac_try;;
28062 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28063 (eval "$ac_compile") 2>conftest.er1
28065 grep -v '^ *+' conftest.er1 >conftest.err
28067 cat conftest.err >&5
28068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28069 (exit $ac_status); } && {
28070 test -z "$ac_c_werror_flag" ||
28071 test ! -s conftest.err
28072 } && test -s conftest.$ac_objext; then
28073 eval "$as_ac_Header=yes"
28075 echo "$as_me: failed program was
:" >&5
28076 sed 's/^/| /' conftest.$ac_ext >&5
28078 eval "$as_ac_Header=no
"
28081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28083 ac_res=`eval echo '${'$as_ac_Header'}'`
28084 { echo "$as_me:$LINENO: result
: $ac_res" >&5
28085 echo "${ECHO_T}$ac_res" >&6; }
28086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28087 cat >>confdefs.h <<_ACEOF
28088 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
28095 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
28096 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
28097 if test "${ac_cv_header_windows_h+set}" = set; then
28098 echo $ECHO_N "(cached
) $ECHO_C" >&6
28100 cat >conftest.$ac_ext <<_ACEOF
28103 cat confdefs.h >>conftest.$ac_ext
28104 cat >>conftest.$ac_ext <<_ACEOF
28105 /* end confdefs.h. */
28108 #include <windows.h>
28110 rm -f conftest.$ac_objext
28111 if { (ac_try="$ac_compile"
28112 case "(($ac_try" in
28113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28114 *) ac_try_echo=$ac_try;;
28116 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28117 (eval "$ac_compile") 2>conftest.er1
28119 grep -v '^ *+' conftest.er1 >conftest.err
28121 cat conftest.err >&5
28122 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28123 (exit $ac_status); } && {
28124 test -z "$ac_c_werror_flag" ||
28125 test ! -s conftest.err
28126 } && test -s conftest.$ac_objext; then
28127 ac_cv_header_windows_h=yes
28129 echo "$as_me: failed program was
:" >&5
28130 sed 's/^/| /' conftest.$ac_ext >&5
28132 ac_cv_header_windows_h=no
28135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28137 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
28138 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28139 if test $ac_cv_header_windows_h = yes; then
28143 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
28144 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
28145 { (exit 1); exit 1; }; }
28152 x86_64-*-mingw32* )
28153 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28156 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28159 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28160 LIBS="$LIBS -loleacc"
28165 LIBS="$LIBS -lkernel32 -luser32"
28168 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28169 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
28171 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
"
28173 WIN32INSTALL=win32install
28175 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
28176 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
28177 if test "${ac_cv_header_pbt_h+set}" = set; then
28178 echo $ECHO_N "(cached
) $ECHO_C" >&6
28180 cat >conftest.$ac_ext <<_ACEOF
28183 cat confdefs.h >>conftest.$ac_ext
28184 cat >>conftest.$ac_ext <<_ACEOF
28185 /* end confdefs.h. */
28190 rm -f conftest.$ac_objext
28191 if { (ac_try="$ac_compile"
28192 case "(($ac_try" in
28193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28194 *) ac_try_echo=$ac_try;;
28196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28197 (eval "$ac_compile") 2>conftest.er1
28199 grep -v '^ *+' conftest.er1 >conftest.err
28201 cat conftest.err >&5
28202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28203 (exit $ac_status); } && {
28204 test -z "$ac_c_werror_flag" ||
28205 test ! -s conftest.err
28206 } && test -s conftest.$ac_objext; then
28207 ac_cv_header_pbt_h=yes
28209 echo "$as_me: failed program was
:" >&5
28210 sed 's/^/| /' conftest.$ac_ext >&5
28212 ac_cv_header_pbt_h=no
28215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28217 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
28218 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28219 if test $ac_cv_header_pbt_h = yes; then
28222 cat >>confdefs.h <<\_ACEOF
28223 #define NEED_PBT_H 1
28231 if test "$wxUSE_GUI" = "yes"; then
28241 if test "$wxUSE_COCOA" = 1 ; then
28242 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28243 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
28244 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
28245 wxUSE_PRINTING_ARCHITECTURE=no
28247 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28248 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
28249 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
28250 wxUSE_DRAG_AND_DROP=no
28252 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28253 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
28254 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
28259 if test "$wxUSE_MSW" = 1 ; then
28265 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
28269 if test "$wxUSE_GTK" = 1; then
28270 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
28271 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
28273 gtk_version_cached=1
28274 if test "${wx_cv_lib_gtk+set}" = set; then
28275 echo $ECHO_N "(cached
) $ECHO_C" >&6
28278 gtk_version_cached=0
28279 { echo "$as_me:$LINENO: result
: " >&5
28280 echo "${ECHO_T}" >&6; }
28283 if test "$wxUSE_THREADS" = "yes"; then
28284 GTK_MODULES=gthread
28288 if test "x
$wxGTK_VERSION" != "x1
"
28292 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28297 # Check whether --enable-gtktest was given.
28298 if test "${enable_gtktest+set}" = set; then
28299 enableval=$enable_gtktest;
28305 pkg_config_args=gtk+-2.0
28306 for module in . $GTK_MODULES
28310 pkg_config_args="$pkg_config_args gthread
-2.0
"
28317 # Extract the first word of "pkg
-config", so it can be a program name with args.
28318 set dummy pkg-config; ac_word=$2
28319 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28320 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28321 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28322 echo $ECHO_N "(cached
) $ECHO_C" >&6
28324 case $PKG_CONFIG in
28326 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28330 for as_dir in $PATH
28333 test -z "$as_dir" && as_dir=.
28334 for ac_exec_ext in '' $ac_executable_extensions; do
28335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28336 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28337 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
28344 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
28348 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28349 if test -n "$PKG_CONFIG"; then
28350 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
28351 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28353 { echo "$as_me:$LINENO: result
: no
" >&5
28354 echo "${ECHO_T}no
" >&6; }
28359 if test x$PKG_CONFIG != xno ; then
28360 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28363 echo "*** pkg
-config too old
; version
0.7 or better required.
"
28371 min_gtk_version=2.4.0
28372 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
28373 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
28375 if test x$PKG_CONFIG != xno ; then
28376 ## don't try to run the test against uninstalled libtool libs
28377 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28378 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
28382 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28389 if test x"$no_gtk" = x ; then
28390 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28391 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28392 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28393 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28394 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28396 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28398 if test "x
$enable_gtktest" = "xyes
" ; then
28399 ac_save_CFLAGS="$CFLAGS"
28400 ac_save_LIBS="$LIBS"
28401 CFLAGS="$CFLAGS $GTK_CFLAGS"
28402 LIBS="$GTK_LIBS $LIBS"
28404 if test "$cross_compiling" = yes; then
28405 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
28407 cat >conftest.$ac_ext <<_ACEOF
28410 cat confdefs.h >>conftest.$ac_ext
28411 cat >>conftest.$ac_ext <<_ACEOF
28412 /* end confdefs.h. */
28414 #include <gtk/gtk.h>
28416 #include <stdlib.h>
28421 int major, minor, micro;
28424 system ("touch conf.gtktest
");
28426 /* HP/UX 9 (%@#!) writes to sscanf strings */
28427 tmp_version = g_strdup("$min_gtk_version");
28428 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
28429 printf("%s
, bad version string
\n", "$min_gtk_version");
28433 if ((gtk_major_version != $gtk_config_major_version) ||
28434 (gtk_minor_version != $gtk_config_minor_version) ||
28435 (gtk_micro_version != $gtk_config_micro_version))
28437 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
28438 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28439 gtk_major_version, gtk_minor_version, gtk_micro_version);
28440 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
28441 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
28442 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
28443 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
28444 printf("*** required on your system.
\n");
28445 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
28446 printf("*** to point to the correct configuration files
\n");
28448 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28449 (gtk_minor_version != GTK_MINOR_VERSION) ||
28450 (gtk_micro_version != GTK_MICRO_VERSION))
28452 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
28453 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28454 printf("*** library
(version
%d.
%d.
%d
)\n",
28455 gtk_major_version, gtk_minor_version, gtk_micro_version);
28459 if ((gtk_major_version > major) ||
28460 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28461 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28467 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
28468 gtk_major_version, gtk_minor_version, gtk_micro_version);
28469 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
28470 major, minor, micro);
28471 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
28473 printf("*** If you have already installed a sufficiently new version
, this error
\n");
28474 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
28475 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
28476 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
28477 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
28478 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
28479 printf("*** so that the correct libraries are found
at run
-time))\n");
28486 rm -f conftest$ac_exeext
28487 if { (ac_try="$ac_link"
28488 case "(($ac_try" in
28489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28490 *) ac_try_echo=$ac_try;;
28492 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28493 (eval "$ac_link") 2>&5
28495 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28496 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28497 { (case "(($ac_try" in
28498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28499 *) ac_try_echo=$ac_try;;
28501 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28502 (eval "$ac_try") 2>&5
28504 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28505 (exit $ac_status); }; }; then
28508 echo "$as_me: program exited with status
$ac_status" >&5
28509 echo "$as_me: failed program was
:" >&5
28510 sed 's/^/| /' conftest.$ac_ext >&5
28512 ( exit $ac_status )
28515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28519 CFLAGS="$ac_save_CFLAGS"
28520 LIBS="$ac_save_LIBS"
28523 if test "x
$no_gtk" = x ; then
28524 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
28525 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
28528 { echo "$as_me:$LINENO: result
: no
" >&5
28529 echo "${ECHO_T}no
" >&6; }
28530 if test "$PKG_CONFIG" = "no
" ; then
28531 echo "*** A new enough version of pkg
-config was not found.
"
28532 echo "*** See http
://pkgconfig.sourceforge.net
"
28534 if test -f conf.gtktest ; then
28537 echo "*** Could not run GTK
+ test program
, checking why...
"
28538 ac_save_CFLAGS="$CFLAGS"
28539 ac_save_LIBS="$LIBS"
28540 CFLAGS="$CFLAGS $GTK_CFLAGS"
28541 LIBS="$LIBS $GTK_LIBS"
28542 cat >conftest.$ac_ext <<_ACEOF
28545 cat confdefs.h >>conftest.$ac_ext
28546 cat >>conftest.$ac_ext <<_ACEOF
28547 /* end confdefs.h. */
28549 #include <gtk/gtk.h>
28555 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28560 rm -f conftest.$ac_objext conftest$ac_exeext
28561 if { (ac_try="$ac_link"
28562 case "(($ac_try" in
28563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28564 *) ac_try_echo=$ac_try;;
28566 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
28567 (eval "$ac_link") 2>conftest.er1
28569 grep -v '^ *+' conftest.er1 >conftest.err
28571 cat conftest.err >&5
28572 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
28573 (exit $ac_status); } && {
28574 test -z "$ac_c_werror_flag" ||
28575 test ! -s conftest.err
28576 } && test -s conftest$ac_exeext &&
28577 $as_test_x conftest$ac_exeext; then
28578 echo "*** The
test program compiled
, but did not run. This usually means
"
28579 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
28580 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
28581 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28582 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28583 echo "*** is required on your system"
28585 echo "*** If you have an old version installed, it is best to remove it, although"
28586 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28588 echo "$as_me: failed program was:" >&5
28589 sed 's
/^
/| /' conftest.$ac_ext >&5
28591 echo "*** The test program failed to compile or link. See the file config.log for the"
28592 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28596 conftest$ac_exeext conftest.$ac_ext
28597 CFLAGS="$ac_save_CFLAGS"
28598 LIBS="$ac_save_LIBS"
28612 if test "$wxUSE_SHARED" != "yes"; then
28613 GTK_LIBS="$GTK_LIBS -lX11"
28618 if test -z "$wx_cv_lib_gtk"; then
28619 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28621 # Check whether --with-gtk-prefix was given.
28622 if test "${with_gtk_prefix+set}" = set; then
28623 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28625 gtk_config_prefix=""
28629 # Check whether --with-gtk-exec-prefix was given.
28630 if test "${with_gtk_exec_prefix+set}" = set; then
28631 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28633 gtk_config_exec_prefix=""
28636 # Check whether --enable-gtktest was given.
28637 if test "${enable_gtktest+set}" = set; then
28638 enableval=$enable_gtktest;
28644 for module in . $GTK_MODULES
28648 gtk_config_args="$gtk_config_args gthread"
28653 if test x$gtk_config_exec_prefix != x ; then
28654 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28655 if test x${GTK_CONFIG+set} != xset ; then
28656 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28659 if test x$gtk_config_prefix != x ; then
28660 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28661 if test x${GTK_CONFIG+set} != xset ; then
28662 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28666 # Extract the first word of "gtk-config", so it can be a program name with args.
28667 set dummy gtk-config; ac_word=$2
28668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28670 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28671 echo $ECHO_N "(cached) $ECHO_C" >&6
28673 case $GTK_CONFIG in
28675 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28679 for as_dir in $PATH
28682 test -z "$as_dir" && as_dir=.
28683 for ac_exec_ext in '' $ac_executable_extensions; do
28684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28685 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28693 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28697 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28698 if test -n "$GTK_CONFIG"; then
28699 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28700 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28702 { echo "$as_me:$LINENO: result: no" >&5
28703 echo "${ECHO_T}no" >&6; }
28707 min_gtk_version=1.2.7
28708 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28709 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28711 if test "$GTK_CONFIG" = "no" ; then
28714 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28715 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28716 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28717 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
28718 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28719 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
28720 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28721 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
28722 if test "x$enable_gtktest" = "xyes" ; then
28723 ac_save_CFLAGS="$CFLAGS"
28724 ac_save_LIBS="$LIBS"
28725 CFLAGS="$CFLAGS $GTK_CFLAGS"
28726 LIBS="$GTK_LIBS $LIBS"
28728 if test "$cross_compiling" = yes; then
28729 echo $ac_n "cross compiling; assumed OK... $ac_c"
28731 cat >conftest.$ac_ext <<_ACEOF
28734 cat confdefs.h >>conftest.$ac_ext
28735 cat >>conftest.$ac_ext <<_ACEOF
28736 /* end confdefs.h. */
28738 #include <gtk/gtk.h>
28740 #include <stdlib.h>
28745 int major, minor, micro;
28748 system ("touch conf.gtktest");
28750 /* HP/UX 9 (%@#!) writes to sscanf strings */
28751 tmp_version = g_strdup("$min_gtk_version");
28752 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
28753 printf("%s, bad version string\n", "$min_gtk_version");
28757 if ((gtk_major_version != $gtk_config_major_version) ||
28758 (gtk_minor_version != $gtk_config_minor_version) ||
28759 (gtk_micro_version != $gtk_config_micro_version))
28761 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28762 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28763 gtk_major_version, gtk_minor_version, gtk_micro_version);
28764 printf ("*** was found! If gtk-config was correct, then it is best\n");
28765 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28766 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28767 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28768 printf("*** required on your system.\n");
28769 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28770 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28771 printf("*** before re-running configure\n");
28773 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28774 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28775 (gtk_minor_version != GTK_MINOR_VERSION) ||
28776 (gtk_micro_version != GTK_MICRO_VERSION))
28778 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28779 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28780 printf("*** library (version %d.%d.%d)\n",
28781 gtk_major_version, gtk_minor_version, gtk_micro_version);
28783 #endif /* defined (GTK_MAJOR_VERSION) ... */
28786 if ((gtk_major_version > major) ||
28787 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28788 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28794 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28795 gtk_major_version, gtk_minor_version, gtk_micro_version);
28796 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28797 major, minor, micro);
28798 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28800 printf("*** If you have already installed a sufficiently new version, this error\n");
28801 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28802 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28803 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28804 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28805 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28806 printf("*** so that the correct libraries are found at run-time))\n");
28813 rm -f conftest$ac_exeext
28814 if { (ac_try="$ac_link"
28815 case "(($ac_try" in
28816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28817 *) ac_try_echo=$ac_try;;
28819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28820 (eval "$ac_link") 2>&5
28822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
28824 { (case "(($ac_try" in
28825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28826 *) ac_try_echo=$ac_try;;
28828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28829 (eval "$ac_try") 2>&5
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); }; }; then
28835 echo "$as_me: program exited with status $ac_status" >&5
28836 echo "$as_me: failed program was:" >&5
28837 sed 's
/^
/| /' conftest.$ac_ext >&5
28839 ( exit $ac_status )
28842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28846 CFLAGS="$ac_save_CFLAGS"
28847 LIBS="$ac_save_LIBS"
28850 if test "x$no_gtk" = x ; then
28851 { echo "$as_me:$LINENO: result: yes" >&5
28852 echo "${ECHO_T}yes" >&6; }
28853 wx_cv_lib_gtk=1.2.7
28855 { echo "$as_me:$LINENO: result: no" >&5
28856 echo "${ECHO_T}no" >&6; }
28857 if test "$GTK_CONFIG" = "no" ; then
28858 echo "*** The gtk-config script installed by GTK could not be found"
28859 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28860 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28861 echo "*** full path to gtk-config."
28863 if test -f conf.gtktest ; then
28866 echo "*** Could not run GTK test program, checking why..."
28867 CFLAGS="$CFLAGS $GTK_CFLAGS"
28868 LIBS="$LIBS $GTK_LIBS"
28869 cat >conftest.$ac_ext <<_ACEOF
28872 cat confdefs.h >>conftest.$ac_ext
28873 cat >>conftest.$ac_ext <<_ACEOF
28874 /* end confdefs.h. */
28876 #include <gtk/gtk.h>
28882 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28887 rm -f conftest.$ac_objext conftest$ac_exeext
28888 if { (ac_try="$ac_link"
28889 case "(($ac_try" in
28890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28891 *) ac_try_echo=$ac_try;;
28893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28894 (eval "$ac_link") 2>conftest.er1
28896 grep -v '^
*+' conftest.er1 >conftest.err
28898 cat conftest.err >&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); } && {
28901 test -z "$ac_c_werror_flag" ||
28902 test ! -s conftest.err
28903 } && test -s conftest$ac_exeext &&
28904 $as_test_x conftest$ac_exeext; then
28905 echo "*** The test program compiled, but did not run. This usually means"
28906 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28907 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
28908 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
28909 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
28910 echo "*** is required on your system
"
28912 echo "*** If you have an old version installed
, it is best to remove it
, although
"
28913 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
28915 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
28916 echo "*** came with the system with the
command"
28918 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
28920 echo "$as_me: failed program was
:" >&5
28921 sed 's/^/| /' conftest.$ac_ext >&5
28923 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
28924 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
28925 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
28926 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
28929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28930 conftest$ac_exeext conftest.$ac_ext
28931 CFLAGS="$ac_save_CFLAGS"
28932 LIBS="$ac_save_LIBS"
28944 if test -z "$wx_cv_lib_gtk"; then
28946 # Check whether --with-gtk-prefix was given.
28947 if test "${with_gtk_prefix+set}" = set; then
28948 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28950 gtk_config_prefix=""
28954 # Check whether --with-gtk-exec-prefix was given.
28955 if test "${with_gtk_exec_prefix+set}" = set; then
28956 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28958 gtk_config_exec_prefix=""
28961 # Check whether --enable-gtktest was given.
28962 if test "${enable_gtktest+set}" = set; then
28963 enableval=$enable_gtktest;
28969 for module in . $GTK_MODULES
28973 gtk_config_args="$gtk_config_args gthread
"
28978 if test x$gtk_config_exec_prefix != x ; then
28979 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28980 if test x${GTK_CONFIG+set} != xset ; then
28981 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28984 if test x$gtk_config_prefix != x ; then
28985 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28986 if test x${GTK_CONFIG+set} != xset ; then
28987 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28991 # Extract the first word of "gtk
-config", so it can be a program name with args.
28992 set dummy gtk-config; ac_word=$2
28993 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
28994 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
28995 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28996 echo $ECHO_N "(cached
) $ECHO_C" >&6
28998 case $GTK_CONFIG in
29000 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29004 for as_dir in $PATH
29007 test -z "$as_dir" && as_dir=.
29008 for ac_exec_ext in '' $ac_executable_extensions; do
29009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29010 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29011 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
29018 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
29022 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29023 if test -n "$GTK_CONFIG"; then
29024 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
29025 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29027 { echo "$as_me:$LINENO: result
: no
" >&5
29028 echo "${ECHO_T}no
" >&6; }
29032 min_gtk_version=1.2.3
29033 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
29034 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
29036 if test "$GTK_CONFIG" = "no
" ; then
29039 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29040 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29041 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29043 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29044 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29045 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29046 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29047 if test "x
$enable_gtktest" = "xyes
" ; then
29048 ac_save_CFLAGS="$CFLAGS"
29049 ac_save_LIBS="$LIBS"
29050 CFLAGS="$CFLAGS $GTK_CFLAGS"
29051 LIBS="$GTK_LIBS $LIBS"
29053 if test "$cross_compiling" = yes; then
29054 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
29056 cat >conftest.$ac_ext <<_ACEOF
29059 cat confdefs.h >>conftest.$ac_ext
29060 cat >>conftest.$ac_ext <<_ACEOF
29061 /* end confdefs.h. */
29063 #include <gtk/gtk.h>
29065 #include <stdlib.h>
29070 int major, minor, micro;
29073 system ("touch conf.gtktest
");
29075 /* HP/UX 9 (%@#!) writes to sscanf strings */
29076 tmp_version = g_strdup("$min_gtk_version");
29077 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
29078 printf("%s
, bad version string
\n", "$min_gtk_version");
29082 if ((gtk_major_version != $gtk_config_major_version) ||
29083 (gtk_minor_version != $gtk_config_minor_version) ||
29084 (gtk_micro_version != $gtk_config_micro_version))
29086 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
29087 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29088 gtk_major_version, gtk_minor_version, gtk_micro_version);
29089 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
29090 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
29091 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
29092 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
29093 printf("*** required on your system.
\n");
29094 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
29095 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
29096 printf("*** before re
-running configure
\n");
29098 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29099 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29100 (gtk_minor_version != GTK_MINOR_VERSION) ||
29101 (gtk_micro_version != GTK_MICRO_VERSION))
29103 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
29104 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29105 printf("*** library
(version
%d.
%d.
%d
)\n",
29106 gtk_major_version, gtk_minor_version, gtk_micro_version);
29108 #endif /* defined (GTK_MAJOR_VERSION) ... */
29111 if ((gtk_major_version > major) ||
29112 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29113 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29119 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
29120 gtk_major_version, gtk_minor_version, gtk_micro_version);
29121 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
29122 major, minor, micro);
29123 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
29125 printf("*** If you have already installed a sufficiently new version
, this error
\n");
29126 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
29127 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
29128 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
29129 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
29130 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
29131 printf("*** so that the correct libraries are found
at run
-time))\n");
29138 rm -f conftest$ac_exeext
29139 if { (ac_try="$ac_link"
29140 case "(($ac_try" in
29141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29142 *) ac_try_echo=$ac_try;;
29144 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29145 (eval "$ac_link") 2>&5
29147 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29148 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29149 { (case "(($ac_try" in
29150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29151 *) ac_try_echo=$ac_try;;
29153 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29154 (eval "$ac_try") 2>&5
29156 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29157 (exit $ac_status); }; }; then
29160 echo "$as_me: program exited with status
$ac_status" >&5
29161 echo "$as_me: failed program was
:" >&5
29162 sed 's/^/| /' conftest.$ac_ext >&5
29164 ( exit $ac_status )
29167 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29171 CFLAGS="$ac_save_CFLAGS"
29172 LIBS="$ac_save_LIBS"
29175 if test "x
$no_gtk" = x ; then
29176 { echo "$as_me:$LINENO: result
: yes" >&5
29177 echo "${ECHO_T}yes" >&6; }
29178 wx_cv_lib_gtk=1.2.3
29180 { echo "$as_me:$LINENO: result
: no
" >&5
29181 echo "${ECHO_T}no
" >&6; }
29182 if test "$GTK_CONFIG" = "no
" ; then
29183 echo "*** The gtk
-config script installed by GTK could not be found
"
29184 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
29185 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
29186 echo "*** full path to gtk
-config.
"
29188 if test -f conf.gtktest ; then
29191 echo "*** Could not run GTK
test program
, checking why...
"
29192 CFLAGS="$CFLAGS $GTK_CFLAGS"
29193 LIBS="$LIBS $GTK_LIBS"
29194 cat >conftest.$ac_ext <<_ACEOF
29197 cat confdefs.h >>conftest.$ac_ext
29198 cat >>conftest.$ac_ext <<_ACEOF
29199 /* end confdefs.h. */
29201 #include <gtk/gtk.h>
29207 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29212 rm -f conftest.$ac_objext conftest$ac_exeext
29213 if { (ac_try="$ac_link"
29214 case "(($ac_try" in
29215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29216 *) ac_try_echo=$ac_try;;
29218 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29219 (eval "$ac_link") 2>conftest.er1
29221 grep -v '^ *+' conftest.er1 >conftest.err
29223 cat conftest.err >&5
29224 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29225 (exit $ac_status); } && {
29226 test -z "$ac_c_werror_flag" ||
29227 test ! -s conftest.err
29228 } && test -s conftest$ac_exeext &&
29229 $as_test_x conftest$ac_exeext; then
29230 echo "*** The
test program compiled
, but did not run. This usually means
"
29231 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
29232 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
29233 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29234 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29235 echo "*** is required on your system"
29237 echo "*** If you have an old version installed, it is best to remove it, although"
29238 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29240 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29241 echo "*** came with the system with the command"
29243 echo "*** rpm --erase --nodeps gtk gtk-devel"
29245 echo "$as_me: failed program was:" >&5
29246 sed 's
/^
/| /' conftest.$ac_ext >&5
29248 echo "*** The test program failed to compile or link. See the file config.log for the"
29249 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29250 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29251 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29255 conftest$ac_exeext conftest.$ac_ext
29256 CFLAGS="$ac_save_CFLAGS"
29257 LIBS="$ac_save_LIBS"
29272 if test -z "$wx_cv_lib_gtk"; then
29275 wx_cv_cflags_gtk=$GTK_CFLAGS
29276 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's
/ -l[^
]*cairo
[^
]*//g
'`
29283 if test "$gtk_version_cached" = 1; then
29284 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29285 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29288 case "$wx_cv_lib_gtk" in
29297 *) { { echo "$as_me:$LINENO: error:
29298 The development files for GTK+ were not found. For GTK+ 2, please
29299 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29300 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29301 and that the version is 1.2.3 or above. Also check that the
29302 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29303 --libs' are in the LD_LIBRARY_PATH or equivalent.
29305 echo "$as_me: error:
29306 The development files for GTK+ were not found. For GTK+ 2, please
29307 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29308 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29309 and that the version is 1.2.3 or above. Also check that the
29310 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
29311 --libs' are in the LD_LIBRARY_PATH or equivalent.
29313 { (exit 1); exit 1; }; }
29317 if test "$WXGTK2" = 1; then
29318 save_CFLAGS="$CFLAGS"
29320 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29321 LIBS="$LIBS $wx_cv_libs_gtk"
29323 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29324 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29325 cat >conftest.$ac_ext <<_ACEOF
29328 cat confdefs.h >>conftest.$ac_ext
29329 cat >>conftest.$ac_ext <<_ACEOF
29330 /* end confdefs.h. */
29332 #include <gtk/gtk.h>
29338 #if !GTK_CHECK_VERSION(2,10,0)
29346 rm -f conftest.$ac_objext
29347 if { (ac_try="$ac_compile"
29348 case "(($ac_try" in
29349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29350 *) ac_try_echo=$ac_try;;
29352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29353 (eval "$ac_compile") 2>conftest.er1
29355 grep -v '^
*+' conftest.er1 >conftest.err
29357 cat conftest.err >&5
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); } && {
29360 test -z "$ac_c_werror_flag" ||
29361 test ! -s conftest.err
29362 } && test -s conftest.$ac_objext; then
29364 cat >>confdefs.h <<\_ACEOF
29365 #define __WXGTK210__ 1
29368 cat >>confdefs.h <<\_ACEOF
29369 #define __WXGTK26__ 1
29372 { echo "$as_me:$LINENO: result: yes" >&5
29373 echo "${ECHO_T}yes" >&6; }
29377 echo "$as_me: failed program was:" >&5
29378 sed 's
/^
/| /' conftest.$ac_ext >&5
29381 { echo "$as_me:$LINENO: result: no" >&5
29382 echo "${ECHO_T}no" >&6; }
29387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29389 if test "$ac_wxgtk210" = 0; then
29390 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29391 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29392 cat >conftest.$ac_ext <<_ACEOF
29395 cat confdefs.h >>conftest.$ac_ext
29396 cat >>conftest.$ac_ext <<_ACEOF
29397 /* end confdefs.h. */
29399 #include <gtk/gtk.h>
29405 #if !GTK_CHECK_VERSION(2,6,0)
29413 rm -f conftest.$ac_objext
29414 if { (ac_try="$ac_compile"
29415 case "(($ac_try" in
29416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29417 *) ac_try_echo=$ac_try;;
29419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29420 (eval "$ac_compile") 2>conftest.er1
29422 grep -v '^
*+' conftest.er1 >conftest.err
29424 cat conftest.err >&5
29425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426 (exit $ac_status); } && {
29427 test -z "$ac_c_werror_flag" ||
29428 test ! -s conftest.err
29429 } && test -s conftest.$ac_objext; then
29431 cat >>confdefs.h <<\_ACEOF
29432 #define __WXGTK26__ 1
29435 { echo "$as_me:$LINENO: result: yes" >&5
29436 echo "${ECHO_T}yes" >&6; }
29440 echo "$as_me: failed program was:" >&5
29441 sed 's
/^
/| /' conftest.$ac_ext >&5
29444 { echo "$as_me:$LINENO: result: no" >&5
29445 echo "${ECHO_T}no" >&6; }
29450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29453 CFLAGS="$save_CFLAGS"
29456 if test "$wxUSE_UNICODE" = "yes"; then
29457 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29458 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29462 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29463 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29464 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29465 echo $ECHO_N "(cached) $ECHO_C" >&6
29467 ac_check_lib_save_LIBS=$LIBS
29469 cat >conftest.$ac_ext <<_ACEOF
29472 cat confdefs.h >>conftest.$ac_ext
29473 cat >>conftest.$ac_ext <<_ACEOF
29474 /* end confdefs.h. */
29476 /* Override any GCC internal prototype to avoid an error.
29477 Use char because int might match the return type of a GCC
29478 builtin and then its argument prototype would still apply. */
29482 char gdk_im_open ();
29486 return gdk_im_open ();
29491 rm -f conftest.$ac_objext conftest$ac_exeext
29492 if { (ac_try="$ac_link"
29493 case "(($ac_try" in
29494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29495 *) ac_try_echo=$ac_try;;
29497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29498 (eval "$ac_link") 2>conftest.er1
29500 grep -v '^
*+' conftest.er1 >conftest.err
29502 cat conftest.err >&5
29503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29504 (exit $ac_status); } && {
29505 test -z "$ac_c_werror_flag" ||
29506 test ! -s conftest.err
29507 } && test -s conftest$ac_exeext &&
29508 $as_test_x conftest$ac_exeext; then
29509 ac_cv_lib_gdk_gdk_im_open=yes
29511 echo "$as_me: failed program was:" >&5
29512 sed 's
/^
/| /' conftest.$ac_ext >&5
29514 ac_cv_lib_gdk_gdk_im_open=no
29517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29518 conftest$ac_exeext conftest.$ac_ext
29519 LIBS=$ac_check_lib_save_LIBS
29521 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29522 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29523 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29524 cat >>confdefs.h <<\_ACEOF
29531 if test "$USE_DARWIN" != 1; then
29533 for ac_func in poll
29535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29536 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29538 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29539 echo $ECHO_N "(cached) $ECHO_C" >&6
29541 cat >conftest.$ac_ext <<_ACEOF
29544 cat confdefs.h >>conftest.$ac_ext
29545 cat >>conftest.$ac_ext <<_ACEOF
29546 /* end confdefs.h. */
29547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29549 #define $ac_func innocuous_$ac_func
29551 /* System header to define __stub macros and hopefully few prototypes,
29552 which can conflict with char $ac_func (); below.
29553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29554 <limits.h> exists even on freestanding compilers. */
29557 # include <limits.h>
29559 # include <assert.h>
29564 /* Override any GCC internal prototype to avoid an error.
29565 Use char because int might match the return type of a GCC
29566 builtin and then its argument prototype would still apply. */
29571 /* The GNU C library defines this for functions which it implements
29572 to always fail with ENOSYS. Some functions are actually named
29573 something starting with __ and the normal name is an alias. */
29574 #if defined __stub_$ac_func || defined __stub___$ac_func
29581 return $ac_func ();
29586 rm -f conftest.$ac_objext conftest$ac_exeext
29587 if { (ac_try="$ac_link"
29588 case "(($ac_try" in
29589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29590 *) ac_try_echo=$ac_try;;
29592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29593 (eval "$ac_link") 2>conftest.er1
29595 grep -v '^
*+' conftest.er1 >conftest.err
29597 cat conftest.err >&5
29598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29599 (exit $ac_status); } && {
29600 test -z "$ac_c_werror_flag" ||
29601 test ! -s conftest.err
29602 } && test -s conftest$ac_exeext &&
29603 $as_test_x conftest$ac_exeext; then
29604 eval "$as_ac_var=yes"
29606 echo "$as_me: failed program was:" >&5
29607 sed 's
/^
/| /' conftest.$ac_ext >&5
29609 eval "$as_ac_var=no"
29612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29613 conftest$ac_exeext conftest.$ac_ext
29615 ac_res=`eval echo '${'$as_ac_var'}'`
29616 { echo "$as_me:$LINENO: result: $ac_res" >&5
29617 echo "${ECHO_T}$ac_res" >&6; }
29618 if test `eval echo '${'$as_ac_var'}'` = yes; then
29619 cat >>confdefs.h <<_ACEOF
29620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29629 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29630 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29632 AFMINSTALL=afminstall
29636 if test "$wxUSE_GPE" = "yes"; then
29637 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29638 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29641 for ac_dir in $SEARCH_LIB;
29643 for ac_extension in a so sl dylib dll.a; do
29644 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29645 ac_find_libraries=$ac_dir
29651 if test "$ac_find_libraries" != "" ; then
29653 if test "$ac_find_libraries" = "default location"; then
29656 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29658 if test $result = 0; then
29661 ac_path_to_link=" -L$ac_find_libraries"
29665 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29667 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29668 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29670 { echo "$as_me:$LINENO: result: not found" >&5
29671 echo "${ECHO_T}not found" >&6; }
29677 if test "$wxUSE_MGL" = 1; then
29678 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29679 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29680 if test "x$MGL_ROOT" = x ; then
29681 { echo "$as_me:$LINENO: result: not found" >&5
29682 echo "${ECHO_T}not found" >&6; }
29683 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29684 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29685 { (exit 1); exit 1; }; }
29687 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29688 echo "${ECHO_T}$MGL_ROOT" >&6; }
29691 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29692 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29695 if test "x$wxUSE_SHARED" = xyes ; then
29696 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29698 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29702 mgl_os_candidates="dos32/dj2"
29705 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29706 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29707 { (exit 1); exit 1; }; }
29713 for mgl_os_i in $mgl_os_candidates ; do
29714 if test "x$mgl_os" = x ; then
29715 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29716 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29717 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29722 if test "x$mgl_lib_type" = x ; then
29723 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29724 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29725 mgl_lib_type=release
29732 if test "x$mgl_os" = x ; then
29733 { echo "$as_me:$LINENO: result: not found" >&5
29734 echo "${ECHO_T}not found" >&6; }
29735 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29736 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29737 { (exit 1); exit 1; }; }
29739 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29740 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29742 wxUSE_UNIVERSAL="yes"
29744 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29745 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29747 AFMINSTALL=afminstall
29752 if test "$wxUSE_DFB" = 1; then
29755 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29756 if test -n "$ac_tool_prefix"; then
29757 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29758 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29761 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29762 echo $ECHO_N "(cached) $ECHO_C" >&6
29764 case $PKG_CONFIG in
29766 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29770 for as_dir in $PATH
29773 test -z "$as_dir" && as_dir=.
29774 for ac_exec_ext in '' $ac_executable_extensions; do
29775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29776 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29787 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29788 if test -n "$PKG_CONFIG"; then
29789 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29790 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29792 { echo "$as_me:$LINENO: result: no" >&5
29793 echo "${ECHO_T}no" >&6; }
29798 if test -z "$ac_cv_path_PKG_CONFIG"; then
29799 ac_pt_PKG_CONFIG=$PKG_CONFIG
29800 # Extract the first word of "pkg-config", so it can be a program name with args.
29801 set dummy pkg-config; ac_word=$2
29802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29804 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29805 echo $ECHO_N "(cached) $ECHO_C" >&6
29807 case $ac_pt_PKG_CONFIG in
29809 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29813 for as_dir in $PATH
29816 test -z "$as_dir" && as_dir=.
29817 for ac_exec_ext in '' $ac_executable_extensions; do
29818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29819 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29830 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29831 if test -n "$ac_pt_PKG_CONFIG"; then
29832 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29833 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29835 { echo "$as_me:$LINENO: result: no" >&5
29836 echo "${ECHO_T}no" >&6; }
29839 if test "x$ac_pt_PKG_CONFIG" = x; then
29842 case $cross_compiling:$ac_tool_warned in
29844 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29845 whose name does not start with the host triplet. If you think this
29846 configuration is useful to you, please write to autoconf@gnu.org." >&5
29847 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29848 whose name does not start with the host triplet. If you think this
29849 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29850 ac_tool_warned=yes ;;
29852 PKG_CONFIG=$ac_pt_PKG_CONFIG
29855 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29859 if test -n "$PKG_CONFIG"; then
29860 _pkg_min_version=0.9.0
29861 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29862 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29863 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29864 { echo "$as_me:$LINENO: result: yes" >&5
29865 echo "${ECHO_T}yes" >&6; }
29867 { echo "$as_me:$LINENO: result: no" >&5
29868 echo "${ECHO_T}no" >&6; }
29876 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29877 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29879 if test -n "$PKG_CONFIG"; then
29880 if test -n "$DIRECTFB_CFLAGS"; then
29881 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29883 if test -n "$PKG_CONFIG" && \
29884 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29885 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29888 (exit $ac_status); }; then
29889 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29897 if test -n "$PKG_CONFIG"; then
29898 if test -n "$DIRECTFB_LIBS"; then
29899 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29901 if test -n "$PKG_CONFIG" && \
29902 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29903 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); }; then
29907 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29918 if test $pkg_failed = yes; then
29920 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29921 _pkg_short_errors_supported=yes
29923 _pkg_short_errors_supported=no
29925 if test $_pkg_short_errors_supported = yes; then
29926 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29928 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29930 # Put the nasty error message in config.log where it belongs
29931 echo "$DIRECTFB_PKG_ERRORS" >&5
29934 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29935 echo "$as_me: error: DirectFB not found." >&2;}
29936 { (exit 1); exit 1; }; }
29939 elif test $pkg_failed = untried; then
29941 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29942 echo "$as_me: error: DirectFB not found." >&2;}
29943 { (exit 1); exit 1; }; }
29947 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29948 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29949 { echo "$as_me:$LINENO: result: yes" >&5
29950 echo "${ECHO_T}yes" >&6; }
29952 wxUSE_UNIVERSAL="yes"
29953 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29954 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29961 if test "$wxUSE_MICROWIN" = 1; then
29962 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29963 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29964 if test "x$MICROWINDOWS" = x ; then
29965 { echo "$as_me:$LINENO: result: not found" >&5
29966 echo "${ECHO_T}not found" >&6; }
29967 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29968 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29969 { (exit 1); exit 1; }; }
29971 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29972 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29975 if test -f $MICROWINDOWS/lib/libmwin.a; then
29976 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
29977 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
29979 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29980 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29981 { (exit 1); exit 1; }; }
29984 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29985 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29987 wxUSE_UNIVERSAL="yes"
29989 AFMINSTALL=afminstall
29991 GUIDIST=MICROWIN_DIST
29993 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29996 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29997 { echo "$as_me:$LINENO: checking for X" >&5
29998 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30001 # Check whether --with-x was given.
30002 if test "${with_x+set}" = set; then
30006 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
30007 if test "x$with_x" = xno; then
30008 # The user explicitly disabled X.
30011 case $x_includes,$x_libraries in #(
30012 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30013 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
30014 { (exit 1); exit 1; }; };; #(
30015 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30016 echo $ECHO_N "(cached) $ECHO_C" >&6
30018 # One or both of the vars are not set, and there is no cached value.
30019 ac_x_includes=no ac_x_libraries=no
30020 rm -f -r conftest.dir
30021 if mkdir conftest.dir; then
30023 cat >Imakefile <<'_ACEOF'
30025 @echo incroot='${INCROOT}'
30027 @echo usrlibdir='${USRLIBDIR}'
30029 @echo libdir='${LIBDIR}'
30031 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30032 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30033 for ac_var in incroot usrlibdir libdir; do
30034 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
30036 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30037 for ac_extension in a so sl; do
30038 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30039 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30040 ac_im_usrlibdir=$ac_im_libdir; break
30043 # Screen out bogus values from the imake configuration. They are
30044 # bogus both because they are the default anyway, and because
30045 # using them would break gcc on systems where it needs fixed includes.
30046 case $ac_im_incroot in
30047 /usr/include) ac_x_includes= ;;
30048 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30050 case $ac_im_usrlibdir in
30051 /usr/lib | /lib) ;;
30052 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30056 rm -f -r conftest.dir
30059 # Standard set of common directories for X headers.
30060 # Check X11 before X11Rn because it is often a symlink to the current release.
30072 /usr
/local
/X
11/include
30073 /usr
/local
/X
11R
6/include
30074 /usr
/local
/X
11R
5/include
30075 /usr
/local
/X
11R
4/include
30077 /usr
/local
/include
/X11
30078 /usr
/local
/include
/X11R6
30079 /usr
/local
/include
/X11R5
30080 /usr
/local
/include
/X11R4
30084 /usr
/XFree
86/include
/X11
30088 /usr
/unsupported
/include
30089 /usr
/athena
/include
30090 /usr
/local
/x
11r
5/include
30091 /usr
/lpp
/Xamples
/include
30093 /usr
/openwin
/include
30094 /usr
/openwin
/share
/include
'
30096 if test "$ac_x_includes" = no; then
30097 # Guess where to find include files, by looking for Xlib.h.
30098 # First, try using that file with no special directory specified.
30099 cat >conftest.$ac_ext <<_ACEOF
30102 cat confdefs.h >>conftest.$ac_ext
30103 cat >>conftest.$ac_ext <<_ACEOF
30104 /* end confdefs.h. */
30105 #include <X11/Xlib.h>
30107 if { (ac_try="$ac_cpp conftest.$ac_ext"
30108 case "(($ac_try" in
30109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30110 *) ac_try_echo=$ac_try;;
30112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30115 grep -v '^
*+' conftest.er1 >conftest.err
30117 cat conftest.err >&5
30118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30119 (exit $ac_status); } >/dev/null && {
30120 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30121 test ! -s conftest.err
30123 # We can compile using X headers with no special include directory.
30126 echo "$as_me: failed program was:" >&5
30127 sed 's
/^
/| /' conftest.$ac_ext >&5
30129 for ac_dir in $ac_x_header_dirs; do
30130 if test -r "$ac_dir/X11/Xlib.h"; then
30131 ac_x_includes=$ac_dir
30137 rm -f conftest.err conftest.$ac_ext
30138 fi # $ac_x_includes = no
30140 if test "$ac_x_libraries" = no; then
30141 # Check for the libraries.
30142 # See if we find them without any special options.
30143 # Don't add to
$LIBS permanently.
30146 cat >conftest.
$ac_ext <<_ACEOF
30149 cat confdefs.h
>>conftest.
$ac_ext
30150 cat >>conftest.
$ac_ext <<_ACEOF
30151 /* end confdefs.h. */
30152 #include <X11/Xlib.h>
30161 rm -f conftest.
$ac_objext conftest
$ac_exeext
30162 if { (ac_try
="$ac_link"
30163 case "(($ac_try" in
30164 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30165 *) ac_try_echo=$ac_try;;
30167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30168 (eval "$ac_link") 2>conftest.er1
30170 grep -v '^ *+' conftest.er1 >conftest.err
30172 cat conftest.err >&5
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); } && {
30175 test -z "$ac_c_werror_flag" ||
30176 test ! -s conftest.err
30177 } && test -s conftest$ac_exeext &&
30178 $as_test_x conftest$ac_exeext; then
30180 # We can link X programs with no special library path.
30183 echo "$as_me: failed program was:" >&5
30184 sed 's/^/| /' conftest.$ac_ext >&5
30187 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
30189 # Don't even attempt the hair of trying to link an X program!
30190 for ac_extension in a so sl; do
30191 if test -r "$ac_dir/libX11.$ac_extension"; then
30192 ac_x_libraries=$ac_dir
30199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30200 conftest$ac_exeext conftest.$ac_ext
30201 fi # $ac_x_libraries = no
30203 case $ac_x_includes,$ac_x_libraries in #(
30204 no,* | *,no | *\'*)
30205 # Didn't find X, or a directory has "'" in its name.
30206 ac_cv_have_x="have_x=no";; #(
30208 # Record where we found X for the cache.
30209 ac_cv_have_x="have_x=yes\
30210 ac_x_includes='$ac_x_includes'\
30211 ac_x_libraries='$ac_x_libraries'"
30217 eval "$ac_cv_have_x"
30220 if test "$have_x" != yes; then
30221 { echo "$as_me:$LINENO: result: $have_x" >&5
30222 echo "${ECHO_T}$have_x" >&6; }
30225 # If each of the values was on the command line, it overrides each guess.
30226 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30227 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30228 # Update the cache value to reflect the command line values.
30229 ac_cv_have_x="have_x=yes\
30230 ac_x_includes='$x_includes'\
30231 ac_x_libraries='$x_libraries'"
30232 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30233 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30236 if test "$no_x" = yes; then
30237 # Not all programs may use this symbol, but it does not hurt to define it.
30239 cat >>confdefs.h <<\_ACEOF
30240 #define X_DISPLAY_MISSING 1
30243 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30245 if test -n "$x_includes"; then
30246 X_CFLAGS="$X_CFLAGS -I$x_includes"
30249 # It would also be nice to do this for all -L options, not just this one.
30250 if test -n "$x_libraries"; then
30251 X_LIBS="$X_LIBS -L$x_libraries"
30252 # For Solaris; some versions of Sun CC require a space after -R and
30253 # others require no space. Words are not sufficient . . . .
30254 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30255 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30256 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30257 ac_xsave_c_werror_flag=$ac_c_werror_flag
30258 ac_c_werror_flag=yes
30259 cat >conftest.$ac_ext <<_ACEOF
30262 cat confdefs.h >>conftest.$ac_ext
30263 cat >>conftest.$ac_ext <<_ACEOF
30264 /* end confdefs.h. */
30274 rm -f conftest.$ac_objext conftest$ac_exeext
30275 if { (ac_try="$ac_link"
30276 case "(($ac_try" in
30277 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30278 *) ac_try_echo
=$ac_try;;
30280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30281 (eval "$ac_link") 2>conftest.er1
30283 grep -v '^ *+' conftest.er1
>conftest.err
30285 cat conftest.err
>&5
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); } && {
30288 test -z "$ac_c_werror_flag" ||
30289 test ! -s conftest.err
30290 } && test -s conftest
$ac_exeext &&
30291 $as_test_x conftest
$ac_exeext; then
30292 { echo "$as_me:$LINENO: result: no" >&5
30293 echo "${ECHO_T}no" >&6; }
30294 X_LIBS
="$X_LIBS -R$x_libraries"
30296 echo "$as_me: failed program was:" >&5
30297 sed 's/^/| /' conftest.
$ac_ext >&5
30299 LIBS
="$ac_xsave_LIBS -R $x_libraries"
30300 cat >conftest.
$ac_ext <<_ACEOF
30303 cat confdefs.h
>>conftest.
$ac_ext
30304 cat >>conftest.
$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30315 rm -f conftest.
$ac_objext conftest
$ac_exeext
30316 if { (ac_try
="$ac_link"
30317 case "(($ac_try" in
30318 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30319 *) ac_try_echo=$ac_try;;
30321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30322 (eval "$ac_link") 2>conftest.er1
30324 grep -v '^ *+' conftest.er1 >conftest.err
30326 cat conftest.err >&5
30327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30328 (exit $ac_status); } && {
30329 test -z "$ac_c_werror_flag" ||
30330 test ! -s conftest.err
30331 } && test -s conftest$ac_exeext &&
30332 $as_test_x conftest$ac_exeext; then
30333 { echo "$as_me:$LINENO: result: yes" >&5
30334 echo "${ECHO_T}yes" >&6; }
30335 X_LIBS="$X_LIBS -R $x_libraries"
30337 echo "$as_me: failed program was:" >&5
30338 sed 's/^/| /' conftest.$ac_ext >&5
30340 { echo "$as_me:$LINENO: result: neither works" >&5
30341 echo "${ECHO_T}neither works" >&6; }
30344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30345 conftest$ac_exeext conftest.$ac_ext
30348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30349 conftest$ac_exeext conftest.$ac_ext
30350 ac_c_werror_flag=$ac_xsave_c_werror_flag
30351 LIBS=$ac_xsave_LIBS
30354 # Check for system-dependent libraries X programs must link with.
30355 # Do this before checking for the system-independent R6 libraries
30356 # (-lICE), since we may need -lsocket or whatever for X linking.
30358 if test "$ISC" = yes; then
30359 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30361 # Martyn Johnson says this is needed for Ultrix, if the X
30362 # libraries were built with DECnet support. And Karl Berry says
30363 # the Alpha needs dnet_stub (dnet does not exist).
30364 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30365 cat >conftest.$ac_ext <<_ACEOF
30368 cat confdefs.h >>conftest.$ac_ext
30369 cat >>conftest.$ac_ext <<_ACEOF
30370 /* end confdefs.h. */
30372 /* Override any GCC internal prototype to avoid an error.
30373 Use char because int might match the return type of a GCC
30374 builtin and then its argument prototype would still apply. */
30378 char XOpenDisplay ();
30382 return XOpenDisplay ();
30387 rm -f conftest.$ac_objext conftest$ac_exeext
30388 if { (ac_try="$ac_link"
30389 case "(($ac_try" in
30390 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30391 *) ac_try_echo
=$ac_try;;
30393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30394 (eval "$ac_link") 2>conftest.er1
30396 grep -v '^ *+' conftest.er1
>conftest.err
30398 cat conftest.err
>&5
30399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30400 (exit $ac_status); } && {
30401 test -z "$ac_c_werror_flag" ||
30402 test ! -s conftest.err
30403 } && test -s conftest
$ac_exeext &&
30404 $as_test_x conftest
$ac_exeext; then
30407 echo "$as_me: failed program was:" >&5
30408 sed 's/^/| /' conftest.
$ac_ext >&5
30410 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30411 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30412 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30413 echo $ECHO_N "(cached) $ECHO_C" >&6
30415 ac_check_lib_save_LIBS
=$LIBS
30416 LIBS
="-ldnet $LIBS"
30417 cat >conftest.
$ac_ext <<_ACEOF
30420 cat confdefs.h
>>conftest.
$ac_ext
30421 cat >>conftest.
$ac_ext <<_ACEOF
30422 /* end confdefs.h. */
30424 /* Override any GCC internal prototype to avoid an error.
30425 Use char because int might match the return type of a GCC
30426 builtin and then its argument prototype would still apply. */
30434 return dnet_ntoa ();
30439 rm -f conftest.
$ac_objext conftest
$ac_exeext
30440 if { (ac_try
="$ac_link"
30441 case "(($ac_try" in
30442 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30443 *) ac_try_echo=$ac_try;;
30445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30446 (eval "$ac_link") 2>conftest.er1
30448 grep -v '^ *+' conftest.er1 >conftest.err
30450 cat conftest.err >&5
30451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452 (exit $ac_status); } && {
30453 test -z "$ac_c_werror_flag" ||
30454 test ! -s conftest.err
30455 } && test -s conftest$ac_exeext &&
30456 $as_test_x conftest$ac_exeext; then
30457 ac_cv_lib_dnet_dnet_ntoa=yes
30459 echo "$as_me: failed program was:" >&5
30460 sed 's/^/| /' conftest.$ac_ext >&5
30462 ac_cv_lib_dnet_dnet_ntoa=no
30465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30466 conftest$ac_exeext conftest.$ac_ext
30467 LIBS=$ac_check_lib_save_LIBS
30469 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30470 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30471 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30472 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30475 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30476 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30477 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30478 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30479 echo $ECHO_N "(cached) $ECHO_C" >&6
30481 ac_check_lib_save_LIBS=$LIBS
30482 LIBS="-ldnet_stub $LIBS"
30483 cat >conftest.$ac_ext <<_ACEOF
30486 cat confdefs.h >>conftest.$ac_ext
30487 cat >>conftest.$ac_ext <<_ACEOF
30488 /* end confdefs.h. */
30490 /* Override any GCC internal prototype to avoid an error.
30491 Use char because int might match the return type of a GCC
30492 builtin and then its argument prototype would still apply. */
30500 return dnet_ntoa ();
30505 rm -f conftest.$ac_objext conftest$ac_exeext
30506 if { (ac_try="$ac_link"
30507 case "(($ac_try" in
30508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30509 *) ac_try_echo
=$ac_try;;
30511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30512 (eval "$ac_link") 2>conftest.er1
30514 grep -v '^ *+' conftest.er1
>conftest.err
30516 cat conftest.err
>&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); } && {
30519 test -z "$ac_c_werror_flag" ||
30520 test ! -s conftest.err
30521 } && test -s conftest
$ac_exeext &&
30522 $as_test_x conftest
$ac_exeext; then
30523 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
30525 echo "$as_me: failed program was:" >&5
30526 sed 's/^/| /' conftest.
$ac_ext >&5
30528 ac_cv_lib_dnet_stub_dnet_ntoa
=no
30531 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30532 conftest
$ac_exeext conftest.
$ac_ext
30533 LIBS
=$ac_check_lib_save_LIBS
30535 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30536 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30537 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30538 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
30544 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30545 conftest
$ac_exeext conftest.
$ac_ext
30546 LIBS
="$ac_xsave_LIBS"
30548 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30549 # to get the SysV transport functions.
30550 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30552 # The nsl library prevents programs from opening the X display
30553 # on Irix 5.2, according to T.E. Dickey.
30554 # The functions gethostbyname, getservbyname, and inet_addr are
30555 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30556 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30557 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30558 if test "${ac_cv_func_gethostbyname+set}" = set; then
30559 echo $ECHO_N "(cached) $ECHO_C" >&6
30561 cat >conftest.
$ac_ext <<_ACEOF
30564 cat confdefs.h
>>conftest.
$ac_ext
30565 cat >>conftest.
$ac_ext <<_ACEOF
30566 /* end confdefs.h. */
30567 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30569 #define gethostbyname innocuous_gethostbyname
30571 /* System header to define __stub macros and hopefully few prototypes,
30572 which can conflict with char gethostbyname (); below.
30573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30574 <limits.h> exists even on freestanding compilers. */
30577 # include <limits.h>
30579 # include <assert.h>
30582 #undef gethostbyname
30584 /* Override any GCC internal prototype to avoid an error.
30585 Use char because int might match the return type of a GCC
30586 builtin and then its argument prototype would still apply. */
30590 char gethostbyname ();
30591 /* The GNU C library defines this for functions which it implements
30592 to always fail with ENOSYS. Some functions are actually named
30593 something starting with __ and the normal name is an alias. */
30594 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30601 return gethostbyname ();
30606 rm -f conftest.
$ac_objext conftest
$ac_exeext
30607 if { (ac_try
="$ac_link"
30608 case "(($ac_try" in
30609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30610 *) ac_try_echo=$ac_try;;
30612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30613 (eval "$ac_link") 2>conftest.er1
30615 grep -v '^ *+' conftest.er1 >conftest.err
30617 cat conftest.err >&5
30618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30619 (exit $ac_status); } && {
30620 test -z "$ac_c_werror_flag" ||
30621 test ! -s conftest.err
30622 } && test -s conftest$ac_exeext &&
30623 $as_test_x conftest$ac_exeext; then
30624 ac_cv_func_gethostbyname=yes
30626 echo "$as_me: failed program was:" >&5
30627 sed 's/^/| /' conftest.$ac_ext >&5
30629 ac_cv_func_gethostbyname=no
30632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30633 conftest$ac_exeext conftest.$ac_ext
30635 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30636 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30638 if test $ac_cv_func_gethostbyname = no; then
30639 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30640 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30641 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30642 echo $ECHO_N "(cached) $ECHO_C" >&6
30644 ac_check_lib_save_LIBS=$LIBS
30646 cat >conftest.$ac_ext <<_ACEOF
30649 cat confdefs.h >>conftest.$ac_ext
30650 cat >>conftest.$ac_ext <<_ACEOF
30651 /* end confdefs.h. */
30653 /* Override any GCC internal prototype to avoid an error.
30654 Use char because int might match the return type of a GCC
30655 builtin and then its argument prototype would still apply. */
30659 char gethostbyname ();
30663 return gethostbyname ();
30668 rm -f conftest.$ac_objext conftest$ac_exeext
30669 if { (ac_try="$ac_link"
30670 case "(($ac_try" in
30671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30672 *) ac_try_echo
=$ac_try;;
30674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30675 (eval "$ac_link") 2>conftest.er1
30677 grep -v '^ *+' conftest.er1
>conftest.err
30679 cat conftest.err
>&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); } && {
30682 test -z "$ac_c_werror_flag" ||
30683 test ! -s conftest.err
30684 } && test -s conftest
$ac_exeext &&
30685 $as_test_x conftest
$ac_exeext; then
30686 ac_cv_lib_nsl_gethostbyname
=yes
30688 echo "$as_me: failed program was:" >&5
30689 sed 's/^/| /' conftest.
$ac_ext >&5
30691 ac_cv_lib_nsl_gethostbyname
=no
30694 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30695 conftest
$ac_exeext conftest.
$ac_ext
30696 LIBS
=$ac_check_lib_save_LIBS
30698 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30699 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30700 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30701 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
30704 if test $ac_cv_lib_nsl_gethostbyname = no
; then
30705 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30706 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30707 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30708 echo $ECHO_N "(cached) $ECHO_C" >&6
30710 ac_check_lib_save_LIBS
=$LIBS
30712 cat >conftest.
$ac_ext <<_ACEOF
30715 cat confdefs.h
>>conftest.
$ac_ext
30716 cat >>conftest.
$ac_ext <<_ACEOF
30717 /* end confdefs.h. */
30719 /* Override any GCC internal prototype to avoid an error.
30720 Use char because int might match the return type of a GCC
30721 builtin and then its argument prototype would still apply. */
30725 char gethostbyname ();
30729 return gethostbyname ();
30734 rm -f conftest.
$ac_objext conftest
$ac_exeext
30735 if { (ac_try
="$ac_link"
30736 case "(($ac_try" in
30737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30738 *) ac_try_echo=$ac_try;;
30740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30741 (eval "$ac_link") 2>conftest.er1
30743 grep -v '^ *+' conftest.er1 >conftest.err
30745 cat conftest.err >&5
30746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747 (exit $ac_status); } && {
30748 test -z "$ac_c_werror_flag" ||
30749 test ! -s conftest.err
30750 } && test -s conftest$ac_exeext &&
30751 $as_test_x conftest$ac_exeext; then
30752 ac_cv_lib_bsd_gethostbyname=yes
30754 echo "$as_me: failed program was:" >&5
30755 sed 's/^/| /' conftest.$ac_ext >&5
30757 ac_cv_lib_bsd_gethostbyname=no
30760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30761 conftest$ac_exeext conftest.$ac_ext
30762 LIBS=$ac_check_lib_save_LIBS
30764 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30765 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30766 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30767 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30773 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30774 # socket/setsockopt and other routines are undefined under SCO ODT
30775 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30776 # on later versions), says Simon Leinen: it contains gethostby*
30777 # variants that don't use the name server (or something). -lsocket
30778 # must be given before -lnsl if both are needed. We assume that
30779 # if connect needs -lnsl, so does gethostbyname.
30780 { echo "$as_me:$LINENO: checking for connect" >&5
30781 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30782 if test "${ac_cv_func_connect+set}" = set; then
30783 echo $ECHO_N "(cached) $ECHO_C" >&6
30785 cat >conftest.$ac_ext <<_ACEOF
30788 cat confdefs.h >>conftest.$ac_ext
30789 cat >>conftest.$ac_ext <<_ACEOF
30790 /* end confdefs.h. */
30791 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30793 #define connect innocuous_connect
30795 /* System header to define __stub macros and hopefully few prototypes,
30796 which can conflict with char connect (); below.
30797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30798 <limits.h> exists even on freestanding compilers. */
30801 # include <limits.h>
30803 # include <assert.h>
30808 /* Override any GCC internal prototype to avoid an error.
30809 Use char because int might match the return type of a GCC
30810 builtin and then its argument prototype would still apply. */
30815 /* The GNU C library defines this for functions which it implements
30816 to always fail with ENOSYS. Some functions are actually named
30817 something starting with __ and the normal name is an alias. */
30818 #if defined __stub_connect || defined __stub___connect
30830 rm -f conftest.$ac_objext conftest$ac_exeext
30831 if { (ac_try="$ac_link"
30832 case "(($ac_try" in
30833 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30834 *) ac_try_echo
=$ac_try;;
30836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30837 (eval "$ac_link") 2>conftest.er1
30839 grep -v '^ *+' conftest.er1
>conftest.err
30841 cat conftest.err
>&5
30842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843 (exit $ac_status); } && {
30844 test -z "$ac_c_werror_flag" ||
30845 test ! -s conftest.err
30846 } && test -s conftest
$ac_exeext &&
30847 $as_test_x conftest
$ac_exeext; then
30848 ac_cv_func_connect
=yes
30850 echo "$as_me: failed program was:" >&5
30851 sed 's/^/| /' conftest.
$ac_ext >&5
30853 ac_cv_func_connect
=no
30856 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30857 conftest
$ac_exeext conftest.
$ac_ext
30859 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30860 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30862 if test $ac_cv_func_connect = no
; then
30863 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30864 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30865 if test "${ac_cv_lib_socket_connect+set}" = set; then
30866 echo $ECHO_N "(cached) $ECHO_C" >&6
30868 ac_check_lib_save_LIBS
=$LIBS
30869 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
30870 cat >conftest.
$ac_ext <<_ACEOF
30873 cat confdefs.h
>>conftest.
$ac_ext
30874 cat >>conftest.
$ac_ext <<_ACEOF
30875 /* end confdefs.h. */
30877 /* Override any GCC internal prototype to avoid an error.
30878 Use char because int might match the return type of a GCC
30879 builtin and then its argument prototype would still apply. */
30892 rm -f conftest.
$ac_objext conftest
$ac_exeext
30893 if { (ac_try
="$ac_link"
30894 case "(($ac_try" in
30895 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30896 *) ac_try_echo=$ac_try;;
30898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30899 (eval "$ac_link") 2>conftest.er1
30901 grep -v '^ *+' conftest.er1 >conftest.err
30903 cat conftest.err >&5
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); } && {
30906 test -z "$ac_c_werror_flag" ||
30907 test ! -s conftest.err
30908 } && test -s conftest$ac_exeext &&
30909 $as_test_x conftest$ac_exeext; then
30910 ac_cv_lib_socket_connect=yes
30912 echo "$as_me: failed program was:" >&5
30913 sed 's/^/| /' conftest.$ac_ext >&5
30915 ac_cv_lib_socket_connect=no
30918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30919 conftest$ac_exeext conftest.$ac_ext
30920 LIBS=$ac_check_lib_save_LIBS
30922 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30923 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30924 if test $ac_cv_lib_socket_connect = yes; then
30925 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30930 # Guillermo Gomez says -lposix is necessary on A/UX.
30931 { echo "$as_me:$LINENO: checking for remove" >&5
30932 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30933 if test "${ac_cv_func_remove+set}" = set; then
30934 echo $ECHO_N "(cached) $ECHO_C" >&6
30936 cat >conftest.$ac_ext <<_ACEOF
30939 cat confdefs.h >>conftest.$ac_ext
30940 cat >>conftest.$ac_ext <<_ACEOF
30941 /* end confdefs.h. */
30942 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30944 #define remove innocuous_remove
30946 /* System header to define __stub macros and hopefully few prototypes,
30947 which can conflict with char remove (); below.
30948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30949 <limits.h> exists even on freestanding compilers. */
30952 # include <limits.h>
30954 # include <assert.h>
30959 /* Override any GCC internal prototype to avoid an error.
30960 Use char because int might match the return type of a GCC
30961 builtin and then its argument prototype would still apply. */
30966 /* The GNU C library defines this for functions which it implements
30967 to always fail with ENOSYS. Some functions are actually named
30968 something starting with __ and the normal name is an alias. */
30969 #if defined __stub_remove || defined __stub___remove
30981 rm -f conftest.$ac_objext conftest$ac_exeext
30982 if { (ac_try="$ac_link"
30983 case "(($ac_try" in
30984 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30985 *) ac_try_echo
=$ac_try;;
30987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30988 (eval "$ac_link") 2>conftest.er1
30990 grep -v '^ *+' conftest.er1
>conftest.err
30992 cat conftest.err
>&5
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); } && {
30995 test -z "$ac_c_werror_flag" ||
30996 test ! -s conftest.err
30997 } && test -s conftest
$ac_exeext &&
30998 $as_test_x conftest
$ac_exeext; then
30999 ac_cv_func_remove
=yes
31001 echo "$as_me: failed program was:" >&5
31002 sed 's/^/| /' conftest.
$ac_ext >&5
31004 ac_cv_func_remove
=no
31007 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31008 conftest
$ac_exeext conftest.
$ac_ext
31010 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31011 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31013 if test $ac_cv_func_remove = no
; then
31014 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31015 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31016 if test "${ac_cv_lib_posix_remove+set}" = set; then
31017 echo $ECHO_N "(cached) $ECHO_C" >&6
31019 ac_check_lib_save_LIBS
=$LIBS
31020 LIBS
="-lposix $LIBS"
31021 cat >conftest.
$ac_ext <<_ACEOF
31024 cat confdefs.h
>>conftest.
$ac_ext
31025 cat >>conftest.
$ac_ext <<_ACEOF
31026 /* end confdefs.h. */
31028 /* Override any GCC internal prototype to avoid an error.
31029 Use char because int might match the return type of a GCC
31030 builtin and then its argument prototype would still apply. */
31043 rm -f conftest.
$ac_objext conftest
$ac_exeext
31044 if { (ac_try
="$ac_link"
31045 case "(($ac_try" in
31046 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31047 *) ac_try_echo=$ac_try;;
31049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31050 (eval "$ac_link") 2>conftest.er1
31052 grep -v '^ *+' conftest.er1 >conftest.err
31054 cat conftest.err >&5
31055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31056 (exit $ac_status); } && {
31057 test -z "$ac_c_werror_flag" ||
31058 test ! -s conftest.err
31059 } && test -s conftest$ac_exeext &&
31060 $as_test_x conftest$ac_exeext; then
31061 ac_cv_lib_posix_remove=yes
31063 echo "$as_me: failed program was:" >&5
31064 sed 's/^/| /' conftest.$ac_ext >&5
31066 ac_cv_lib_posix_remove=no
31069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31070 conftest$ac_exeext conftest.$ac_ext
31071 LIBS=$ac_check_lib_save_LIBS
31073 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31074 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31075 if test $ac_cv_lib_posix_remove = yes; then
31076 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31081 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31082 { echo "$as_me:$LINENO: checking for shmat" >&5
31083 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31084 if test "${ac_cv_func_shmat+set}" = set; then
31085 echo $ECHO_N "(cached) $ECHO_C" >&6
31087 cat >conftest.$ac_ext <<_ACEOF
31090 cat confdefs.h >>conftest.$ac_ext
31091 cat >>conftest.$ac_ext <<_ACEOF
31092 /* end confdefs.h. */
31093 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31095 #define shmat innocuous_shmat
31097 /* System header to define __stub macros and hopefully few prototypes,
31098 which can conflict with char shmat (); below.
31099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31100 <limits.h> exists even on freestanding compilers. */
31103 # include <limits.h>
31105 # include <assert.h>
31110 /* Override any GCC internal prototype to avoid an error.
31111 Use char because int might match the return type of a GCC
31112 builtin and then its argument prototype would still apply. */
31117 /* The GNU C library defines this for functions which it implements
31118 to always fail with ENOSYS. Some functions are actually named
31119 something starting with __ and the normal name is an alias. */
31120 #if defined __stub_shmat || defined __stub___shmat
31132 rm -f conftest.$ac_objext conftest$ac_exeext
31133 if { (ac_try="$ac_link"
31134 case "(($ac_try" in
31135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31136 *) ac_try_echo
=$ac_try;;
31138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31139 (eval "$ac_link") 2>conftest.er1
31141 grep -v '^ *+' conftest.er1
>conftest.err
31143 cat conftest.err
>&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); } && {
31146 test -z "$ac_c_werror_flag" ||
31147 test ! -s conftest.err
31148 } && test -s conftest
$ac_exeext &&
31149 $as_test_x conftest
$ac_exeext; then
31150 ac_cv_func_shmat
=yes
31152 echo "$as_me: failed program was:" >&5
31153 sed 's/^/| /' conftest.
$ac_ext >&5
31155 ac_cv_func_shmat
=no
31158 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31159 conftest
$ac_exeext conftest.
$ac_ext
31161 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31162 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31164 if test $ac_cv_func_shmat = no
; then
31165 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31166 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31167 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31168 echo $ECHO_N "(cached) $ECHO_C" >&6
31170 ac_check_lib_save_LIBS
=$LIBS
31172 cat >conftest.
$ac_ext <<_ACEOF
31175 cat confdefs.h
>>conftest.
$ac_ext
31176 cat >>conftest.
$ac_ext <<_ACEOF
31177 /* end confdefs.h. */
31179 /* Override any GCC internal prototype to avoid an error.
31180 Use char because int might match the return type of a GCC
31181 builtin and then its argument prototype would still apply. */
31194 rm -f conftest.
$ac_objext conftest
$ac_exeext
31195 if { (ac_try
="$ac_link"
31196 case "(($ac_try" in
31197 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31198 *) ac_try_echo=$ac_try;;
31200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31201 (eval "$ac_link") 2>conftest.er1
31203 grep -v '^ *+' conftest.er1 >conftest.err
31205 cat conftest.err >&5
31206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31207 (exit $ac_status); } && {
31208 test -z "$ac_c_werror_flag" ||
31209 test ! -s conftest.err
31210 } && test -s conftest$ac_exeext &&
31211 $as_test_x conftest$ac_exeext; then
31212 ac_cv_lib_ipc_shmat=yes
31214 echo "$as_me: failed program was:" >&5
31215 sed 's/^/| /' conftest.$ac_ext >&5
31217 ac_cv_lib_ipc_shmat=no
31220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31221 conftest$ac_exeext conftest.$ac_ext
31222 LIBS=$ac_check_lib_save_LIBS
31224 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31225 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31226 if test $ac_cv_lib_ipc_shmat = yes; then
31227 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31233 # Check for libraries that X11R6 Xt/Xaw programs need.
31234 ac_save_LDFLAGS=$LDFLAGS
31235 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31236 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31237 # check for ICE first), but we must link in the order -lSM -lICE or
31238 # we get undefined symbols. So assume we have SM if we have ICE.
31239 # These have to be linked with before -lX11, unlike the other
31240 # libraries we check for below, so use a different variable.
31241 # John Interrante, Karl Berry
31242 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31243 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31244 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31245 echo $ECHO_N "(cached) $ECHO_C" >&6
31247 ac_check_lib_save_LIBS=$LIBS
31248 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31249 cat >conftest.$ac_ext <<_ACEOF
31252 cat confdefs.h >>conftest.$ac_ext
31253 cat >>conftest.$ac_ext <<_ACEOF
31254 /* end confdefs.h. */
31256 /* Override any GCC internal prototype to avoid an error.
31257 Use char because int might match the return type of a GCC
31258 builtin and then its argument prototype would still apply. */
31262 char IceConnectionNumber ();
31266 return IceConnectionNumber ();
31271 rm -f conftest.$ac_objext conftest$ac_exeext
31272 if { (ac_try="$ac_link"
31273 case "(($ac_try" in
31274 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31275 *) ac_try_echo
=$ac_try;;
31277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31278 (eval "$ac_link") 2>conftest.er1
31280 grep -v '^ *+' conftest.er1
>conftest.err
31282 cat conftest.err
>&5
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); } && {
31285 test -z "$ac_c_werror_flag" ||
31286 test ! -s conftest.err
31287 } && test -s conftest
$ac_exeext &&
31288 $as_test_x conftest
$ac_exeext; then
31289 ac_cv_lib_ICE_IceConnectionNumber
=yes
31291 echo "$as_me: failed program was:" >&5
31292 sed 's/^/| /' conftest.
$ac_ext >&5
31294 ac_cv_lib_ICE_IceConnectionNumber
=no
31297 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31298 conftest
$ac_exeext conftest.
$ac_ext
31299 LIBS
=$ac_check_lib_save_LIBS
31301 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31302 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31303 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31304 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
31307 LDFLAGS
=$ac_save_LDFLAGS
31312 if test "$no_x" = "yes"; then
31313 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31314 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31315 { (exit 1); exit 1; }; }
31318 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31319 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
31320 AFMINSTALL
=afminstall
31321 COMPILED_X_PROGRAM
=0
31325 if test "$wxUSE_X11" = 1; then
31326 if test "$wxUSE_NANOX" = "yes"; then
31327 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31328 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31329 if test "x$MICROWIN" = x
; then
31330 { echo "$as_me:$LINENO: result: not found" >&5
31331 echo "${ECHO_T}not found" >&6; }
31332 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31333 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31334 { (exit 1); exit 1; }; }
31336 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31337 echo "${ECHO_T}$MICROWIN" >&6; }
31338 cat >>confdefs.h
<<\_ACEOF
31339 #define wxUSE_NANOX 1
31345 if test "$wxUSE_UNICODE" = "yes"; then
31348 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31349 if test -n "$ac_tool_prefix"; then
31350 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31351 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31354 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31355 echo $ECHO_N "(cached) $ECHO_C" >&6
31357 case $PKG_CONFIG in
31359 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31363 for as_dir
in $PATH
31366 test -z "$as_dir" && as_dir
=.
31367 for ac_exec_ext
in '' $ac_executable_extensions; do
31368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31369 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31380 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31381 if test -n "$PKG_CONFIG"; then
31382 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31383 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31385 { echo "$as_me:$LINENO: result: no" >&5
31386 echo "${ECHO_T}no" >&6; }
31391 if test -z "$ac_cv_path_PKG_CONFIG"; then
31392 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31393 # Extract the first word of "pkg-config", so it can be a program name with args.
31394 set dummy pkg
-config; ac_word
=$2
31395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31397 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31398 echo $ECHO_N "(cached) $ECHO_C" >&6
31400 case $ac_pt_PKG_CONFIG in
31402 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31406 for as_dir
in $PATH
31409 test -z "$as_dir" && as_dir
=.
31410 for ac_exec_ext
in '' $ac_executable_extensions; do
31411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31412 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31423 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31424 if test -n "$ac_pt_PKG_CONFIG"; then
31425 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31426 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31428 { echo "$as_me:$LINENO: result: no" >&5
31429 echo "${ECHO_T}no" >&6; }
31432 if test "x$ac_pt_PKG_CONFIG" = x
; then
31435 case $cross_compiling:$ac_tool_warned in
31437 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31438 whose name does not start with the host triplet. If you think this
31439 configuration is useful to you, please write to autoconf@gnu.org." >&5
31440 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31441 whose name does not start with the host triplet. If you think this
31442 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31443 ac_tool_warned
=yes ;;
31445 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31448 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31452 if test -n "$PKG_CONFIG"; then
31453 _pkg_min_version
=0.9.0
31454 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31455 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31456 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31457 { echo "$as_me:$LINENO: result: yes" >&5
31458 echo "${ECHO_T}yes" >&6; }
31460 { echo "$as_me:$LINENO: result: no" >&5
31461 echo "${ECHO_T}no" >&6; }
31469 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31470 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31472 if test -n "$PKG_CONFIG"; then
31473 if test -n "$PANGOX_CFLAGS"; then
31474 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
31476 if test -n "$PKG_CONFIG" && \
31477 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31478 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); }; then
31482 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31490 if test -n "$PKG_CONFIG"; then
31491 if test -n "$PANGOX_LIBS"; then
31492 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
31494 if test -n "$PKG_CONFIG" && \
31495 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31496 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31499 (exit $ac_status); }; then
31500 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31511 if test $pkg_failed = yes; then
31513 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31514 _pkg_short_errors_supported
=yes
31516 _pkg_short_errors_supported
=no
31518 if test $_pkg_short_errors_supported = yes; then
31519 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31521 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31523 # Put the nasty error message in config.log where it belongs
31524 echo "$PANGOX_PKG_ERRORS" >&5
31527 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31528 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31529 { (exit 1); exit 1; }; }
31532 elif test $pkg_failed = untried
; then
31534 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31535 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31536 { (exit 1); exit 1; }; }
31540 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
31541 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
31542 { echo "$as_me:$LINENO: result: yes" >&5
31543 echo "${ECHO_T}yes" >&6; }
31545 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
31546 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
31547 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
31552 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31553 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31555 if test -n "$PKG_CONFIG"; then
31556 if test -n "$PANGOFT2_CFLAGS"; then
31557 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
31559 if test -n "$PKG_CONFIG" && \
31560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31561 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31564 (exit $ac_status); }; then
31565 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31573 if test -n "$PKG_CONFIG"; then
31574 if test -n "$PANGOFT2_LIBS"; then
31575 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
31577 if test -n "$PKG_CONFIG" && \
31578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31579 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31582 (exit $ac_status); }; then
31583 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31594 if test $pkg_failed = yes; then
31596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31597 _pkg_short_errors_supported
=yes
31599 _pkg_short_errors_supported
=no
31601 if test $_pkg_short_errors_supported = yes; then
31602 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31604 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31606 # Put the nasty error message in config.log where it belongs
31607 echo "$PANGOFT2_PKG_ERRORS" >&5
31610 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31611 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31612 wxUSE_PRINTING_ARCHITECTURE
="no"
31615 elif test $pkg_failed = untried
; then
31617 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31618 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31619 wxUSE_PRINTING_ARCHITECTURE
="no"
31623 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
31624 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
31625 { echo "$as_me:$LINENO: result: yes" >&5
31626 echo "${ECHO_T}yes" >&6; }
31628 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
31629 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
31630 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31635 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31636 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31638 if test -n "$PKG_CONFIG"; then
31639 if test -n "$PANGOXFT_CFLAGS"; then
31640 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
31642 if test -n "$PKG_CONFIG" && \
31643 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31644 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 (exit $ac_status); }; then
31648 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31656 if test -n "$PKG_CONFIG"; then
31657 if test -n "$PANGOXFT_LIBS"; then
31658 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
31660 if test -n "$PKG_CONFIG" && \
31661 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31662 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31665 (exit $ac_status); }; then
31666 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31677 if test $pkg_failed = yes; then
31679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31680 _pkg_short_errors_supported
=yes
31682 _pkg_short_errors_supported
=no
31684 if test $_pkg_short_errors_supported = yes; then
31685 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31687 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31689 # Put the nasty error message in config.log where it belongs
31690 echo "$PANGOXFT_PKG_ERRORS" >&5
31693 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31694 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31697 elif test $pkg_failed = untried
; then
31699 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31700 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31704 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
31705 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
31706 { echo "$as_me:$LINENO: result: yes" >&5
31707 echo "${ECHO_T}yes" >&6; }
31709 cat >>confdefs.h
<<\_ACEOF
31710 #define HAVE_PANGO_XFT 1
31713 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
31714 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
31715 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31719 LIBS
="$LIBS $PANGOX_LIBS"
31721 for ac_func
in pango_font_family_is_monospace
31723 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31726 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31727 echo $ECHO_N "(cached) $ECHO_C" >&6
31729 cat >conftest.
$ac_ext <<_ACEOF
31732 cat confdefs.h
>>conftest.
$ac_ext
31733 cat >>conftest.
$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31737 #define $ac_func innocuous_$ac_func
31739 /* System header to define __stub macros and hopefully few prototypes,
31740 which can conflict with char $ac_func (); below.
31741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31742 <limits.h> exists even on freestanding compilers. */
31745 # include <limits.h>
31747 # include <assert.h>
31752 /* Override any GCC internal prototype to avoid an error.
31753 Use char because int might match the return type of a GCC
31754 builtin and then its argument prototype would still apply. */
31759 /* The GNU C library defines this for functions which it implements
31760 to always fail with ENOSYS. Some functions are actually named
31761 something starting with __ and the normal name is an alias. */
31762 #if defined __stub_$ac_func || defined __stub___$ac_func
31769 return $ac_func ();
31774 rm -f conftest.
$ac_objext conftest
$ac_exeext
31775 if { (ac_try
="$ac_link"
31776 case "(($ac_try" in
31777 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31778 *) ac_try_echo=$ac_try;;
31780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31781 (eval "$ac_link") 2>conftest.er1
31783 grep -v '^ *+' conftest.er1 >conftest.err
31785 cat conftest.err >&5
31786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31787 (exit $ac_status); } && {
31788 test -z "$ac_c_werror_flag" ||
31789 test ! -s conftest.err
31790 } && test -s conftest$ac_exeext &&
31791 $as_test_x conftest$ac_exeext; then
31792 eval "$as_ac_var=yes"
31794 echo "$as_me: failed program was:" >&5
31795 sed 's/^/| /' conftest.$ac_ext >&5
31797 eval "$as_ac_var=no"
31800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31801 conftest$ac_exeext conftest.$ac_ext
31803 ac_res=`eval echo '${'$as_ac_var'}'`
31804 { echo "$as_me:$LINENO: result: $ac_res" >&5
31805 echo "${ECHO_T}$ac_res" >&6; }
31806 if test `eval echo '${'$as_ac_var'}'` = yes; then
31807 cat >>confdefs.h <<_ACEOF
31808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31817 wxUSE_UNIVERSAL="yes"
31819 if test "$wxUSE_NANOX" = "yes"; then
31820 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31821 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"
31822 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31824 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31831 if test "$wxUSE_MOTIF" = 1; then
31832 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31833 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31836 for ac_dir in $SEARCH_INCLUDE /usr/include;
31838 if test -f "$ac_dir/Xm/Xm.h"; then
31839 ac_find_includes=$ac_dir
31844 if test "$ac_find_includes" != "" ; then
31845 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31846 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31848 if test "x$ac_find_includes" = "x/usr/include"; then
31849 ac_path_to_include=""
31851 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31853 if test $result = 0; then
31854 ac_path_to_include=""
31856 ac_path_to_include=" -I$ac_find_includes"
31860 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31862 save_CFLAGS=$CFLAGS
31863 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31865 cat >conftest.$ac_ext <<_ACEOF
31868 cat confdefs.h >>conftest.$ac_ext
31869 cat >>conftest.$ac_ext <<_ACEOF
31870 /* end confdefs.h. */
31879 version = xmUseVersion;
31885 rm -f conftest.$ac_objext
31886 if { (ac_try="$ac_compile"
31887 case "(($ac_try" in
31888 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31889 *) ac_try_echo
=$ac_try;;
31891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31892 (eval "$ac_compile") 2>conftest.er1
31894 grep -v '^ *+' conftest.er1
>conftest.err
31896 cat conftest.err
>&5
31897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31898 (exit $ac_status); } && {
31899 test -z "$ac_c_werror_flag" ||
31900 test ! -s conftest.err
31901 } && test -s conftest.
$ac_objext; then
31903 { echo "$as_me:$LINENO: result: found in default search path" >&5
31904 echo "${ECHO_T}found in default search path" >&6; }
31905 COMPILED_X_PROGRAM
=1
31908 echo "$as_me: failed program was:" >&5
31909 sed 's/^/| /' conftest.
$ac_ext >&5
31912 { echo "$as_me:$LINENO: result: no" >&5
31913 echo "${ECHO_T}no" >&6; }
31914 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31915 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31916 { (exit 1); exit 1; }; }
31921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31923 CFLAGS
=$save_CFLAGS
31927 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31928 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31931 for ac_dir
in $SEARCH_LIB;
31933 for ac_extension
in a so sl dylib dll.a
; do
31934 if test -f "$ac_dir/libXm.$ac_extension"; then
31935 ac_find_libraries
=$ac_dir
31942 if test "x$ac_find_libraries" != "x" ; then
31943 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31944 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31947 if test "$ac_find_libraries" = "default location"; then
31950 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31952 if test $result = 0; then
31955 ac_path_to_link
=" -L$ac_find_libraries"
31959 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
31961 save_CFLAGS
=$CFLAGS
31962 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
31964 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31966 cat >conftest.
$ac_ext <<_ACEOF
31969 cat confdefs.h
>>conftest.
$ac_ext
31970 cat >>conftest.
$ac_ext <<_ACEOF
31971 /* end confdefs.h. */
31980 version = xmUseVersion;
31986 rm -f conftest.
$ac_objext conftest
$ac_exeext
31987 if { (ac_try
="$ac_link"
31988 case "(($ac_try" in
31989 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31990 *) ac_try_echo=$ac_try;;
31992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31993 (eval "$ac_link") 2>conftest.er1
31995 grep -v '^ *+' conftest.er1 >conftest.err
31997 cat conftest.err >&5
31998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31999 (exit $ac_status); } && {
32000 test -z "$ac_c_werror_flag" ||
32001 test ! -s conftest.err
32002 } && test -s conftest$ac_exeext &&
32003 $as_test_x conftest$ac_exeext; then
32005 { echo "$as_me:$LINENO: result: found in default search path" >&5
32006 echo "${ECHO_T}found in default search path" >&6; }
32007 COMPILED_X_PROGRAM=1
32010 echo "$as_me: failed program was:" >&5
32011 sed 's/^/| /' conftest.$ac_ext >&5
32014 { echo "$as_me:$LINENO: result: no" >&5
32015 echo "${ECHO_T}no" >&6; }
32016 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32017 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32018 { (exit 1); exit 1; }; }
32023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32024 conftest$ac_exeext conftest.$ac_ext
32026 CFLAGS=$save_CFLAGS
32030 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32031 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32035 for libp in "" " -lXp"; do
32036 if test "$libs_found" = 0; then
32037 for libsm_ice in "" " -lSM -lICE"; do
32038 if test "$libs_found" = 0; then
32040 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32041 save_CFLAGS=$CFLAGS
32042 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32044 cat >conftest.$ac_ext <<_ACEOF
32047 cat confdefs.h >>conftest.$ac_ext
32048 cat >>conftest.$ac_ext <<_ACEOF
32049 /* end confdefs.h. */
32052 #include <Xm/List.h>
32058 XmString string = NULL;
32061 XmListAddItem(w, string, position);
32067 rm -f conftest.$ac_objext conftest$ac_exeext
32068 if { (ac_try="$ac_link"
32069 case "(($ac_try" in
32070 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32071 *) ac_try_echo
=$ac_try;;
32073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32074 (eval "$ac_link") 2>conftest.er1
32076 grep -v '^ *+' conftest.er1
>conftest.err
32078 cat conftest.err
>&5
32079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080 (exit $ac_status); } && {
32081 test -z "$ac_c_werror_flag" ||
32082 test ! -s conftest.err
32083 } && test -s conftest
$ac_exeext &&
32084 $as_test_x conftest
$ac_exeext; then
32087 libsm_ice_link
="$libsm_ice"
32088 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32089 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32093 echo "$as_me: failed program was:" >&5
32094 sed 's/^/| /' conftest.
$ac_ext >&5
32100 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32101 conftest
$ac_exeext conftest.
$ac_ext
32104 CFLAGS
=$save_CFLAGS
32110 if test "$libs_found" = 0; then
32111 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32112 echo "${ECHO_T}can't find the right libraries" >&6; }
32113 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32114 echo "$as_me: error: can't link a simple motif program" >&2;}
32115 { (exit 1); exit 1; }; }
32118 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32119 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32120 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32121 echo $ECHO_N "(cached) $ECHO_C" >&6
32123 ac_check_lib_save_LIBS
=$LIBS
32125 cat >conftest.
$ac_ext <<_ACEOF
32128 cat confdefs.h
>>conftest.
$ac_ext
32129 cat >>conftest.
$ac_ext <<_ACEOF
32130 /* end confdefs.h. */
32132 /* Override any GCC internal prototype to avoid an error.
32133 Use char because int might match the return type of a GCC
32134 builtin and then its argument prototype would still apply. */
32138 char SgCreateList ();
32142 return SgCreateList ();
32147 rm -f conftest.
$ac_objext conftest
$ac_exeext
32148 if { (ac_try
="$ac_link"
32149 case "(($ac_try" in
32150 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32151 *) ac_try_echo=$ac_try;;
32153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32154 (eval "$ac_link") 2>conftest.er1
32156 grep -v '^ *+' conftest.er1 >conftest.err
32158 cat conftest.err >&5
32159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32160 (exit $ac_status); } && {
32161 test -z "$ac_c_werror_flag" ||
32162 test ! -s conftest.err
32163 } && test -s conftest$ac_exeext &&
32164 $as_test_x conftest$ac_exeext; then
32165 ac_cv_lib_Sgm_SgCreateList=yes
32167 echo "$as_me: failed program was:" >&5
32168 sed 's/^/| /' conftest.$ac_ext >&5
32170 ac_cv_lib_Sgm_SgCreateList=no
32173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32174 conftest$ac_exeext conftest.$ac_ext
32175 LIBS=$ac_check_lib_save_LIBS
32177 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32178 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32179 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32180 libsgm_link=" -lSgm"
32184 save_CFLAGS=$CFLAGS
32185 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32187 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32188 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32189 if test "${wx_cv_lib_motif2+set}" = set; then
32190 echo $ECHO_N "(cached) $ECHO_C" >&6
32192 cat >conftest.$ac_ext <<_ACEOF
32195 cat confdefs.h >>conftest.$ac_ext
32196 cat >>conftest.$ac_ext <<_ACEOF
32197 /* end confdefs.h. */
32205 #if XmVersion < 2000
32213 rm -f conftest.$ac_objext
32214 if { (ac_try="$ac_compile"
32215 case "(($ac_try" in
32216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32217 *) ac_try_echo
=$ac_try;;
32219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32220 (eval "$ac_compile") 2>conftest.er1
32222 grep -v '^ *+' conftest.er1
>conftest.err
32224 cat conftest.err
>&5
32225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32226 (exit $ac_status); } && {
32227 test -z "$ac_c_werror_flag" ||
32228 test ! -s conftest.err
32229 } && test -s conftest.
$ac_objext; then
32230 wx_cv_lib_motif2
="yes"
32232 echo "$as_me: failed program was:" >&5
32233 sed 's/^/| /' conftest.
$ac_ext >&5
32235 wx_cv_lib_motif2
="no"
32238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32240 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32241 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32242 if test "$wx_cv_lib_motif2" = "yes"; then
32243 cat >>confdefs.h
<<\_ACEOF
32244 #define __WXMOTIF20__ 1
32248 cat >>confdefs.h
<<\_ACEOF
32249 #define __WXMOTIF20__ 0
32254 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32255 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32256 if test "${wx_cv_lib_lesstif+set}" = set; then
32257 echo $ECHO_N "(cached) $ECHO_C" >&6
32259 cat >conftest.
$ac_ext <<_ACEOF
32262 cat confdefs.h
>>conftest.
$ac_ext
32263 cat >>conftest.
$ac_ext <<_ACEOF
32264 /* end confdefs.h. */
32272 #if !defined(LesstifVersion) || LesstifVersion <= 0
32280 rm -f conftest.
$ac_objext
32281 if { (ac_try
="$ac_compile"
32282 case "(($ac_try" in
32283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32284 *) ac_try_echo=$ac_try;;
32286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32287 (eval "$ac_compile") 2>conftest.er1
32289 grep -v '^ *+' conftest.er1 >conftest.err
32291 cat conftest.err >&5
32292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 (exit $ac_status); } && {
32294 test -z "$ac_c_werror_flag" ||
32295 test ! -s conftest.err
32296 } && test -s conftest.$ac_objext; then
32297 wx_cv_lib_lesstif="yes"
32299 echo "$as_me: failed program was:" >&5
32300 sed 's/^/| /' conftest.$ac_ext >&5
32302 wx_cv_lib_lesstif="no"
32305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32308 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32309 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32310 if test "$wx_cv_lib_lesstif" = "yes"; then
32311 cat >>confdefs.h <<\_ACEOF
32312 #define __WXLESSTIF__ 1
32316 cat >>confdefs.h <<\_ACEOF
32317 #define __WXLESSTIF__ 0
32322 CFLAGS=$save_CFLAGS
32324 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32329 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32330 if test "$wxUSE_LIBXPM" = "sys"; then
32331 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32332 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32335 for ac_dir in $SEARCH_LIB;
32337 for ac_extension in a so sl dylib dll.a; do
32338 if test -f "$ac_dir/libXpm.$ac_extension"; then
32339 ac_find_libraries=$ac_dir
32345 if test "$ac_find_libraries" != "" ; then
32347 if test "$ac_find_libraries" = "default location"; then
32350 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32352 if test $result = 0; then
32355 ac_path_to_link=" -L$ac_find_libraries"
32359 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32360 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32361 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32363 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32364 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32365 if test "${wx_cv_x11_xpm_h+set}" = set; then
32366 echo $ECHO_N "(cached) $ECHO_C" >&6
32369 save_CFLAGS=$CFLAGS
32370 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32372 cat >conftest.$ac_ext <<_ACEOF
32375 cat confdefs.h >>conftest.$ac_ext
32376 cat >>conftest.$ac_ext <<_ACEOF
32377 /* end confdefs.h. */
32379 #include <X11/xpm.h>
32386 version = XpmLibraryVersion();
32392 rm -f conftest.$ac_objext
32393 if { (ac_try="$ac_compile"
32394 case "(($ac_try" in
32395 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32396 *) ac_try_echo
=$ac_try;;
32398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32399 (eval "$ac_compile") 2>conftest.er1
32401 grep -v '^ *+' conftest.er1
>conftest.err
32403 cat conftest.err
>&5
32404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32405 (exit $ac_status); } && {
32406 test -z "$ac_c_werror_flag" ||
32407 test ! -s conftest.err
32408 } && test -s conftest.
$ac_objext; then
32409 wx_cv_x11_xpm_h
=yes
32411 echo "$as_me: failed program was:" >&5
32412 sed 's/^/| /' conftest.
$ac_ext >&5
32418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32420 CFLAGS
=$save_CFLAGS
32424 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32425 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32427 if test $wx_cv_x11_xpm_h = "yes"; then
32428 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
32429 cat >>confdefs.h
<<\_ACEOF
32430 #define wxHAVE_LIB_XPM 1
32434 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32435 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32441 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32442 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32443 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32444 echo $ECHO_N "(cached) $ECHO_C" >&6
32446 ac_check_lib_save_LIBS
=$LIBS
32447 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32448 cat >conftest.
$ac_ext <<_ACEOF
32451 cat confdefs.h
>>conftest.
$ac_ext
32452 cat >>conftest.
$ac_ext <<_ACEOF
32453 /* end confdefs.h. */
32455 /* Override any GCC internal prototype to avoid an error.
32456 Use char because int might match the return type of a GCC
32457 builtin and then its argument prototype would still apply. */
32461 char XShapeQueryExtension ();
32465 return XShapeQueryExtension ();
32470 rm -f conftest.
$ac_objext conftest
$ac_exeext
32471 if { (ac_try
="$ac_link"
32472 case "(($ac_try" in
32473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32474 *) ac_try_echo=$ac_try;;
32476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32477 (eval "$ac_link") 2>conftest.er1
32479 grep -v '^ *+' conftest.er1 >conftest.err
32481 cat conftest.err >&5
32482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32483 (exit $ac_status); } && {
32484 test -z "$ac_c_werror_flag" ||
32485 test ! -s conftest.err
32486 } && test -s conftest$ac_exeext &&
32487 $as_test_x conftest$ac_exeext; then
32488 ac_cv_lib_Xext_XShapeQueryExtension=yes
32490 echo "$as_me: failed program was:" >&5
32491 sed 's/^/| /' conftest.$ac_ext >&5
32493 ac_cv_lib_Xext_XShapeQueryExtension=no
32496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32497 conftest$ac_exeext conftest.$ac_ext
32498 LIBS=$ac_check_lib_save_LIBS
32500 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32501 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32502 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32504 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32510 if test "$wxHAVE_XEXT_LIB" = 1; then
32511 save_CFLAGS="$CFLAGS"
32512 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32514 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32515 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32516 cat >conftest.$ac_ext <<_ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32523 #include <X11/Xlib.h>
32524 #include <X11/extensions/shape.h>
32530 int dummy1, dummy2;
32531 XShapeQueryExtension((Display*)NULL,
32532 (int*)NULL, (int*)NULL);
32538 rm -f conftest.$ac_objext
32539 if { (ac_try="$ac_compile"
32540 case "(($ac_try" in
32541 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32542 *) ac_try_echo
=$ac_try;;
32544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32545 (eval "$ac_compile") 2>conftest.er1
32547 grep -v '^ *+' conftest.er1
>conftest.err
32549 cat conftest.err
>&5
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); } && {
32552 test -z "$ac_c_werror_flag" ||
32553 test ! -s conftest.err
32554 } && test -s conftest.
$ac_objext; then
32556 cat >>confdefs.h
<<\_ACEOF
32557 #define HAVE_XSHAPE 1
32560 { echo "$as_me:$LINENO: result: found" >&5
32561 echo "${ECHO_T}found" >&6; }
32564 echo "$as_me: failed program was:" >&5
32565 sed 's/^/| /' conftest.
$ac_ext >&5
32568 { echo "$as_me:$LINENO: result: not found" >&5
32569 echo "${ECHO_T}not found" >&6; }
32573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32574 CFLAGS
="$save_CFLAGS"
32579 if test "$wxUSE_OSX_CARBON" = 1; then
32580 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32581 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32582 if test "$GCC" = yes; then
32583 { echo "$as_me:$LINENO: result: gcc" >&5
32584 echo "${ECHO_T}gcc" >&6; }
32585 CPPFLAGS_PASCAL
="-fpascal-strings"
32586 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32587 { echo "$as_me:$LINENO: result: xlc" >&5
32588 echo "${ECHO_T}xlc" >&6; }
32589 CPPFLAGS_PASCAL
="-qmacpstr"
32591 { echo "$as_me:$LINENO: result: none" >&5
32592 echo "${ECHO_T}none" >&6; }
32595 if test "x$wxUSE_UNIX" = "xyes"; then
32596 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32598 CPPFLAGS
="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32602 GUIDIST
=OSX_CARBON_DIST
32603 WXBASEPORT
="_carbon"
32606 if test "$wxUSE_OSX_COCOA" = 1; then
32608 GUIDIST
=OSX_COCOA_DIST
32611 if test "$wxUSE_COCOA" = 1; then
32616 if test "$wxUSE_PM" = 1; then
32619 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32620 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32621 if test "${wx_cv_spbcdata+set}" = set; then
32622 echo $ECHO_N "(cached) $ECHO_C" >&6
32625 cat >conftest.
$ac_ext <<_ACEOF
32628 cat confdefs.h
>>conftest.
$ac_ext
32629 cat >>conftest.
$ac_ext <<_ACEOF
32630 /* end confdefs.h. */
32645 rm -f conftest.
$ac_objext
32646 if { (ac_try
="$ac_compile"
32647 case "(($ac_try" in
32648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32649 *) ac_try_echo=$ac_try;;
32651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32652 (eval "$ac_compile") 2>conftest.er1
32654 grep -v '^ *+' conftest.er1 >conftest.err
32656 cat conftest.err >&5
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); } && {
32659 test -z "$ac_c_werror_flag" ||
32660 test ! -s conftest.err
32661 } && test -s conftest.$ac_objext; then
32664 echo "$as_me: failed program was:" >&5
32665 sed 's/^/| /' conftest.$ac_ext >&5
32671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32675 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32676 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32678 if test $wx_cv_spbcdata = "yes"; then
32679 cat >>confdefs.h <<\_ACEOF
32680 #define HAVE_SPBCDATA 1
32686 if test "$TOOLKIT" = "PM" ; then
32689 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32692 if test "$wxUSE_UNIVERSAL" = "yes"; then
32693 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32697 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32698 DISTDIR="wx\$(TOOLKIT)"
32704 if test "$USE_WIN32" = 1 ; then
32708 GUIDIST="BASE_DIST"
32714 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32715 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32716 wxUSE_UNICODE_UTF8=yes
32717 elif test "$USE_OS2" = 1 ; then
32718 wxUSE_UNICODE_UTF8=yes
32720 wxUSE_UNICODE_UTF8=no
32725 if test "$wxUSE_GUI" = "yes"; then
32726 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32728 for ac_header in X11/Xlib.h
32730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32731 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32734 echo $ECHO_N "(cached) $ECHO_C" >&6
32736 cat >conftest.$ac_ext <<_ACEOF
32739 cat confdefs.h >>conftest.$ac_ext
32740 cat >>conftest.$ac_ext <<_ACEOF
32741 /* end confdefs.h. */
32744 #include <$ac_header>
32746 rm -f conftest.$ac_objext
32747 if { (ac_try="$ac_compile"
32748 case "(($ac_try" in
32749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32750 *) ac_try_echo
=$ac_try;;
32752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32753 (eval "$ac_compile") 2>conftest.er1
32755 grep -v '^ *+' conftest.er1
>conftest.err
32757 cat conftest.err
>&5
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); } && {
32760 test -z "$ac_c_werror_flag" ||
32761 test ! -s conftest.err
32762 } && test -s conftest.
$ac_objext; then
32763 eval "$as_ac_Header=yes"
32765 echo "$as_me: failed program was:" >&5
32766 sed 's/^/| /' conftest.
$ac_ext >&5
32768 eval "$as_ac_Header=no"
32771 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32773 ac_res
=`eval echo '${'$as_ac_Header'}'`
32774 { echo "$as_me:$LINENO: result: $ac_res" >&5
32775 echo "${ECHO_T}$ac_res" >&6; }
32776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32777 cat >>confdefs.h
<<_ACEOF
32778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32786 for ac_header
in X
11/XKBlib.h
32788 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32789 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32791 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32792 echo $ECHO_N "(cached) $ECHO_C" >&6
32794 cat >conftest.
$ac_ext <<_ACEOF
32797 cat confdefs.h
>>conftest.
$ac_ext
32798 cat >>conftest.
$ac_ext <<_ACEOF
32799 /* end confdefs.h. */
32801 #if HAVE_X11_XLIB_H
32802 #include <X11/Xlib.h>
32806 #include <$ac_header>
32808 rm -f conftest.
$ac_objext
32809 if { (ac_try
="$ac_compile"
32810 case "(($ac_try" in
32811 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32812 *) ac_try_echo=$ac_try;;
32814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32815 (eval "$ac_compile") 2>conftest.er1
32817 grep -v '^ *+' conftest.er1 >conftest.err
32819 cat conftest.err >&5
32820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32821 (exit $ac_status); } && {
32822 test -z "$ac_c_werror_flag" ||
32823 test ! -s conftest.err
32824 } && test -s conftest.$ac_objext; then
32825 eval "$as_ac_Header=yes"
32827 echo "$as_me: failed program was:" >&5
32828 sed 's/^/| /' conftest.$ac_ext >&5
32830 eval "$as_ac_Header=no"
32833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32835 ac_res=`eval echo '${'$as_ac_Header'}'`
32836 { echo "$as_me:$LINENO: result: $ac_res" >&5
32837 echo "${ECHO_T}$ac_res" >&6; }
32838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32839 cat >>confdefs.h <<_ACEOF
32840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32852 if test "$wxUSE_DISPLAY" = "yes"; then
32853 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32854 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32855 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32858 for ac_dir in $SEARCH_LIB;
32860 for ac_extension in a so sl dylib dll.a; do
32861 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32862 ac_find_libraries=$ac_dir
32868 if test "$ac_find_libraries" != "" ; then
32870 if test "$ac_find_libraries" = "default location"; then
32873 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32875 if test $result = 0; then
32878 ac_path_to_link=" -L$ac_find_libraries"
32882 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32883 LDFLAGS="$LDFLAGS $ac_path_to_link"
32885 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32886 { echo "$as_me:$LINENO: result: yes" >&5
32887 echo "${ECHO_T}yes" >&6; }
32889 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32890 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32893 for ac_dir in $SEARCH_LIB;
32895 for ac_extension in a so sl dylib dll.a; do
32896 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32897 ac_find_libraries=$ac_dir
32903 if test "$ac_find_libraries" != "" ; then
32904 { echo "$as_me:$LINENO: result: yes" >&5
32905 echo "${ECHO_T}yes" >&6; }
32907 for ac_header in X11/extensions/xf86vmode.h
32909 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32910 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32912 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32913 echo $ECHO_N "(cached) $ECHO_C" >&6
32915 cat >conftest.$ac_ext <<_ACEOF
32918 cat confdefs.h >>conftest.$ac_ext
32919 cat >>conftest.$ac_ext <<_ACEOF
32920 /* end confdefs.h. */
32922 #if HAVE_X11_XLIB_H
32923 #include <X11/Xlib.h>
32927 #include <$ac_header>
32929 rm -f conftest.$ac_objext
32930 if { (ac_try="$ac_compile"
32931 case "(($ac_try" in
32932 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32933 *) ac_try_echo
=$ac_try;;
32935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32936 (eval "$ac_compile") 2>conftest.er1
32938 grep -v '^ *+' conftest.er1
>conftest.err
32940 cat conftest.err
>&5
32941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32942 (exit $ac_status); } && {
32943 test -z "$ac_c_werror_flag" ||
32944 test ! -s conftest.err
32945 } && test -s conftest.
$ac_objext; then
32946 eval "$as_ac_Header=yes"
32948 echo "$as_me: failed program was:" >&5
32949 sed 's/^/| /' conftest.
$ac_ext >&5
32951 eval "$as_ac_Header=no"
32954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32956 ac_res
=`eval echo '${'$as_ac_Header'}'`
32957 { echo "$as_me:$LINENO: result: $ac_res" >&5
32958 echo "${ECHO_T}$ac_res" >&6; }
32959 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32960 cat >>confdefs.h
<<_ACEOF
32961 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32964 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
32971 { echo "$as_me:$LINENO: result: no" >&5
32972 echo "${ECHO_T}no" >&6; }
32976 { echo "$as_me:$LINENO: result: no" >&5
32977 echo "${ECHO_T}no" >&6; }
32978 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32979 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32982 elif test "$wxUSE_MSW" = 1; then
32983 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32984 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32985 if test "${ac_cv_header_ddraw_h+set}" = set; then
32986 echo $ECHO_N "(cached) $ECHO_C" >&6
32988 cat >conftest.
$ac_ext <<_ACEOF
32991 cat confdefs.h
>>conftest.
$ac_ext
32992 cat >>conftest.
$ac_ext <<_ACEOF
32993 /* end confdefs.h. */
32994 #include <windows.h>
32998 rm -f conftest.
$ac_objext
32999 if { (ac_try
="$ac_compile"
33000 case "(($ac_try" in
33001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33002 *) ac_try_echo=$ac_try;;
33004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33005 (eval "$ac_compile") 2>conftest.er1
33007 grep -v '^ *+' conftest.er1 >conftest.err
33009 cat conftest.err >&5
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); } && {
33012 test -z "$ac_c_werror_flag" ||
33013 test ! -s conftest.err
33014 } && test -s conftest.$ac_objext; then
33015 ac_cv_header_ddraw_h=yes
33017 echo "$as_me: failed program was:" >&5
33018 sed 's/^/| /' conftest.$ac_ext >&5
33020 ac_cv_header_ddraw_h=no
33023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33025 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33026 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33032 if test "$wxUSE_DETECT_SM" = "yes"; then
33033 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33034 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33035 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33038 for ac_dir in $SEARCH_LIB;
33040 for ac_extension in a so sl dylib dll.a; do
33041 if test -f "$ac_dir/libSM.$ac_extension"; then
33042 ac_find_libraries=$ac_dir
33048 if test "$ac_find_libraries" != "" ; then
33050 if test "$ac_find_libraries" = "default location"; then
33053 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33055 if test $result = 0; then
33058 ac_path_to_link=" -L$ac_find_libraries"
33062 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33063 LDFLAGS="$LDFLAGS $ac_path_to_link"
33065 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33066 { echo "$as_me:$LINENO: result: yes" >&5
33067 echo "${ECHO_T}yes" >&6; }
33069 { echo "$as_me:$LINENO: result: no" >&5
33070 echo "${ECHO_T}no" >&6; }
33071 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33072 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33073 wxUSE_DETECT_SM="no"
33076 wxUSE_DETECT_SM="no"
33083 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33086 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33087 OPENGL_LIBS="-framework OpenGL -framework AGL"
33088 elif test "$wxUSE_MSW" = 1; then
33089 OPENGL_LIBS="-lopengl32 -lglu32"
33090 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33092 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33093 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33096 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33098 if test -f "$ac_dir/GL/gl.h"; then
33099 ac_find_includes=$ac_dir
33104 if test "$ac_find_includes" != "" ; then
33105 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33106 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33108 if test "x$ac_find_includes" = "x/usr/include"; then
33109 ac_path_to_include=""
33111 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33113 if test $result = 0; then
33114 ac_path_to_include=""
33116 ac_path_to_include=" -I$ac_find_includes"
33120 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33122 { echo "$as_me:$LINENO: result: not found" >&5
33123 echo "${ECHO_T}not found" >&6; }
33126 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33127 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33128 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33129 echo $ECHO_N "(cached) $ECHO_C" >&6
33131 cat >conftest.$ac_ext <<_ACEOF
33134 cat confdefs.h >>conftest.$ac_ext
33135 cat >>conftest.$ac_ext <<_ACEOF
33136 /* end confdefs.h. */
33141 rm -f conftest.$ac_objext
33142 if { (ac_try="$ac_compile"
33143 case "(($ac_try" in
33144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33145 *) ac_try_echo
=$ac_try;;
33147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33148 (eval "$ac_compile") 2>conftest.er1
33150 grep -v '^ *+' conftest.er1
>conftest.err
33152 cat conftest.err
>&5
33153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154 (exit $ac_status); } && {
33155 test -z "$ac_c_werror_flag" ||
33156 test ! -s conftest.err
33157 } && test -s conftest.
$ac_objext; then
33158 ac_cv_header_GL_gl_h
=yes
33160 echo "$as_me: failed program was:" >&5
33161 sed 's/^/| /' conftest.
$ac_ext >&5
33163 ac_cv_header_GL_gl_h
=no
33166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33168 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33169 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33170 if test $ac_cv_header_GL_gl_h = yes; then
33172 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33173 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33174 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33175 echo $ECHO_N "(cached) $ECHO_C" >&6
33177 cat >conftest.
$ac_ext <<_ACEOF
33180 cat confdefs.h
>>conftest.
$ac_ext
33181 cat >>conftest.
$ac_ext <<_ACEOF
33182 /* end confdefs.h. */
33185 #include <GL/glu.h>
33187 rm -f conftest.
$ac_objext
33188 if { (ac_try
="$ac_compile"
33189 case "(($ac_try" in
33190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33191 *) ac_try_echo=$ac_try;;
33193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33194 (eval "$ac_compile") 2>conftest.er1
33196 grep -v '^ *+' conftest.er1 >conftest.err
33198 cat conftest.err >&5
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); } && {
33201 test -z "$ac_c_werror_flag" ||
33202 test ! -s conftest.err
33203 } && test -s conftest.$ac_objext; then
33204 ac_cv_header_GL_glu_h=yes
33206 echo "$as_me: failed program was:" >&5
33207 sed 's/^/| /' conftest.$ac_ext >&5
33209 ac_cv_header_GL_glu_h=no
33212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33214 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33215 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33216 if test $ac_cv_header_GL_glu_h = yes; then
33220 { echo "$as_me:$LINENO: checking for -lGL" >&5
33221 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33224 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33226 for ac_extension in a so sl dylib dll.a; do
33227 if test -f "$ac_dir/libGL.$ac_extension"; then
33228 ac_find_libraries=$ac_dir
33234 if test "$ac_find_libraries" != "" ; then
33235 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33236 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33239 if test "$ac_find_libraries" = "default location"; then
33242 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33244 if test $result = 0; then
33247 ac_path_to_link=" -L$ac_find_libraries"
33251 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33252 LDFLAGS_GL="$ac_path_to_link"
33255 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33256 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33259 for ac_dir in $SEARCH_LIB;
33261 for ac_extension in a so sl dylib dll.a; do
33262 if test -f "$ac_dir/libGLU.$ac_extension"; then
33263 ac_find_libraries=$ac_dir
33269 if test "$ac_find_libraries" != "" ; then
33271 if test "$ac_find_libraries" = "default location"; then
33274 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33276 if test $result = 0; then
33279 ac_path_to_link=" -L$ac_find_libraries"
33283 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33284 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33285 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33289 OPENGL_LIBS="-lGL -lGLU"
33290 { echo "$as_me:$LINENO: result: yes" >&5
33291 echo "${ECHO_T}yes" >&6; }
33293 { echo "$as_me:$LINENO: result: no" >&5
33294 echo "${ECHO_T}no" >&6; }
33297 { echo "$as_me:$LINENO: result: no" >&5
33298 echo "${ECHO_T}no" >&6; }
33301 if test "$found_gl" != 1; then
33302 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33303 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33306 for ac_dir in $SEARCH_LIB;
33308 for ac_extension in a so sl dylib dll.a; do
33309 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33310 ac_find_libraries=$ac_dir
33316 if test "$ac_find_libraries" != "" ; then
33318 if test "$ac_find_libraries" = "default location"; then
33321 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33323 if test $result = 0; then
33326 ac_path_to_link=" -L$ac_find_libraries"
33330 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33331 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33332 { echo "$as_me:$LINENO: result: yes" >&5
33333 echo "${ECHO_T}yes" >&6; }
33335 { echo "$as_me:$LINENO: result: no" >&5
33336 echo "${ECHO_T}no" >&6; }
33348 if test "x$OPENGL_LIBS" = "x"; then
33349 if test "$wxUSE_OPENGL" = "yes"; then
33350 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33351 echo "$as_me: error: OpenGL libraries not available" >&2;}
33352 { (exit 1); exit 1; }; }
33354 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33355 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33363 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33364 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33368 if test "$wxUSE_OPENGL" = "yes"; then
33370 cat >>confdefs.h <<\_ACEOF
33371 #define wxUSE_OPENGL 1
33374 cat >>confdefs.h <<\_ACEOF
33375 #define wxUSE_GLCANVAS 1
33378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33383 if test -n "$TOOLKIT" ; then
33384 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33389 if test "$wxUSE_SHARED" = "yes"; then
33393 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33394 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33399 if test "$wxUSE_SHARED" = "yes"; then
33403 *-*-cygwin* | *-*-mingw* )
33404 wx_cv_version_script=no
33408 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33409 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33410 if test "${wx_cv_version_script+set}" = set; then
33411 echo $ECHO_N "(cached) $ECHO_C" >&6
33414 echo "VER_1 { *; };" >conftest.sym
33415 echo "int main() { return 0; }" >conftest.cpp
33418 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33419 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33421 (eval $ac_try) 2>&5
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); }; } ; then
33425 if test -s conftest.stderr ; then
33426 wx_cv_version_script=no
33428 wx_cv_version_script=yes
33431 wx_cv_version_script=no
33434 if test $wx_cv_version_script = yes
33436 echo "struct B { virtual ~B() { } }; \
33437 struct D : public B { }; \
33438 void F() { D d; }" > conftest.cpp
33441 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33442 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33444 (eval $ac_try) 2>&5
33446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33447 (exit $ac_status); }; } &&
33449 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33450 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33452 (eval $ac_try) 2>&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); }; }
33458 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33459 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33461 (eval $ac_try) 2>&5
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); }; }
33466 wx_cv_version_script=yes
33468 wx_cv_version_script=no
33473 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33474 rm -f conftest1.output conftest2.output conftest3.output
33477 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33478 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33480 if test $wx_cv_version_script = yes ; then
33481 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33487 if test "$wxUSE_VISIBILITY" != "no"; then
33490 if test -n "$GCC"; then
33491 CFLAGS_VISIBILITY="-fvisibility=hidden"
33492 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33493 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33494 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33495 if test "${wx_cv_cc_visibility+set}" = set; then
33496 echo $ECHO_N "(cached) $ECHO_C" >&6
33499 wx_save_CXXFLAGS="$CXXFLAGS"
33500 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33502 ac_cpp='$CXXCPP $CPPFLAGS'
33503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33507 cat >conftest.$ac_ext <<_ACEOF
33510 cat confdefs.h >>conftest.$ac_ext
33511 cat >>conftest.$ac_ext <<_ACEOF
33512 /* end confdefs.h. */
33514 /* we need gcc >= 4.0, older versions with visibility support
33515 didn't have class visibility: */
33516 #if defined(__GNUC__) && __GNUC__ < 4
33517 error this gcc is too old;
33520 /* visibility only makes sense for ELF shared libs: */
33521 #if !defined(__ELF__) && !defined(__APPLE__)
33522 error this platform has no visibility;
33525 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33526 extern __attribute__((__visibility__("default"))) int exportedvar;
33527 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33528 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33529 class __attribute__((__visibility__("default"))) Foo {
33541 rm -f conftest.$ac_objext
33542 if { (ac_try="$ac_compile"
33543 case "(($ac_try" in
33544 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33545 *) ac_try_echo
=$ac_try;;
33547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33548 (eval "$ac_compile") 2>conftest.er1
33550 grep -v '^ *+' conftest.er1
>conftest.err
33552 cat conftest.err
>&5
33553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33554 (exit $ac_status); } && {
33555 test -z "$ac_cxx_werror_flag" ||
33556 test ! -s conftest.err
33557 } && test -s conftest.
$ac_objext; then
33558 wx_cv_cc_visibility
=yes
33560 echo "$as_me: failed program was:" >&5
33561 sed 's/^/| /' conftest.
$ac_ext >&5
33563 wx_cv_cc_visibility
=no
33566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33568 ac_cpp
='$CPP $CPPFLAGS'
33569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33573 CXXFLAGS
="$wx_save_CXXFLAGS"
33576 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33577 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33578 if test $wx_cv_cc_visibility = yes; then
33579 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33580 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33581 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33582 echo $ECHO_N "(cached) $ECHO_C" >&6
33585 wx_save_CXXFLAGS
="$CXXFLAGS"
33586 wx_save_LDFLAGS
="$LDFLAGS"
33587 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33588 LDFLAGS
="$LDFLAGS -shared -fPIC"
33590 ac_cpp
='$CXXCPP $CPPFLAGS'
33591 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33592 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33593 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33595 cat >conftest.
$ac_ext <<_ACEOF
33598 cat confdefs.h
>>conftest.
$ac_ext
33599 cat >>conftest.
$ac_ext <<_ACEOF
33600 /* end confdefs.h. */
33608 std::string s("hello");
33615 rm -f conftest.
$ac_objext conftest
$ac_exeext
33616 if { (ac_try
="$ac_link"
33617 case "(($ac_try" in
33618 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33619 *) ac_try_echo=$ac_try;;
33621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33622 (eval "$ac_link") 2>conftest.er1
33624 grep -v '^ *+' conftest.er1 >conftest.err
33626 cat conftest.err >&5
33627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33628 (exit $ac_status); } && {
33629 test -z "$ac_cxx_werror_flag" ||
33630 test ! -s conftest.err
33631 } && test -s conftest$ac_exeext &&
33632 $as_test_x conftest$ac_exeext; then
33633 wx_cv_cc_broken_libstdcxx_visibility=no
33635 echo "$as_me: failed program was:" >&5
33636 sed 's/^/| /' conftest.$ac_ext >&5
33638 wx_cv_cc_broken_libstdcxx_visibility=yes
33641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33642 conftest$ac_exeext conftest.$ac_ext
33644 ac_cpp='$CPP $CPPFLAGS'
33645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33649 CXXFLAGS="$wx_save_CXXFLAGS"
33650 LDFLAGS="$wx_save_LDFLAGS"
33653 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33654 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33656 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33657 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33658 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33659 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33660 echo $ECHO_N "(cached) $ECHO_C" >&6
33664 ac_cpp='$CXXCPP $CPPFLAGS'
33665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33669 cat >conftest.$ac_ext <<_ACEOF
33672 cat confdefs.h >>conftest.$ac_ext
33673 cat >>conftest.$ac_ext <<_ACEOF
33674 /* end confdefs.h. */
33676 #pragma GCC visibility push(default)
33678 #pragma GCC visibility pop
33684 std::string s("hello");
33691 rm -f conftest.$ac_objext conftest$ac_exeext
33692 if { (ac_try="$ac_link"
33693 case "(($ac_try" in
33694 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33695 *) ac_try_echo
=$ac_try;;
33697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33698 (eval "$ac_link") 2>conftest.er1
33700 grep -v '^ *+' conftest.er1
>conftest.err
33702 cat conftest.err
>&5
33703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33704 (exit $ac_status); } && {
33705 test -z "$ac_cxx_werror_flag" ||
33706 test ! -s conftest.err
33707 } && test -s conftest
$ac_exeext &&
33708 $as_test_x conftest
$ac_exeext; then
33709 wx_cv_cc_visibility_workaround
=no
33711 echo "$as_me: failed program was:" >&5
33712 sed 's/^/| /' conftest.
$ac_ext >&5
33714 wx_cv_cc_visibility_workaround
=yes
33717 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33718 conftest
$ac_exeext conftest.
$ac_ext
33720 ac_cpp
='$CPP $CPPFLAGS'
33721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33728 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33729 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33731 if test $wx_cv_cc_visibility_workaround = no
; then
33732 wx_cv_cc_visibility
=no
33737 if test $wx_cv_cc_visibility = yes; then
33738 cat >>confdefs.h
<<\_ACEOF
33739 #define HAVE_VISIBILITY 1
33742 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33743 cat >>confdefs.h
<<\_ACEOF
33744 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33749 CFLAGS_VISIBILITY
=""
33750 CXXFLAGS_VISIBILITY
=""
33758 if test "x$SUNCXX" = xyes
; then
33759 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
33760 WXCONFIG_RPATH
="-R\$libdir"
33763 *-*-linux* | *-*-gnu* )
33764 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
33765 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
33770 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
33772 saveLdflags
="$LDFLAGS"
33773 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
33774 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33775 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33776 cat >conftest.
$ac_ext <<_ACEOF
33779 cat confdefs.h
>>conftest.
$ac_ext
33780 cat >>conftest.
$ac_ext <<_ACEOF
33781 /* end confdefs.h. */
33791 rm -f conftest.
$ac_objext conftest
$ac_exeext
33792 if { (ac_try
="$ac_link"
33793 case "(($ac_try" in
33794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33795 *) ac_try_echo=$ac_try;;
33797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33798 (eval "$ac_link") 2>conftest.er1
33800 grep -v '^ *+' conftest.er1 >conftest.err
33802 cat conftest.err >&5
33803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33804 (exit $ac_status); } && {
33805 test -z "$ac_c_werror_flag" ||
33806 test ! -s conftest.err
33807 } && test -s conftest$ac_exeext &&
33808 $as_test_x conftest$ac_exeext; then
33810 { echo "$as_me:$LINENO: result: yes" >&5
33811 echo "${ECHO_T}yes" >&6; }
33812 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33813 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33816 echo "$as_me: failed program was:" >&5
33817 sed 's/^/| /' conftest.$ac_ext >&5
33820 { echo "$as_me:$LINENO: result: no" >&5
33821 echo "${ECHO_T}no" >&6; }
33822 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33823 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33824 LDFLAGS="$saveLdflags -Wl,-R,/"
33825 cat >conftest.$ac_ext <<_ACEOF
33828 cat confdefs.h >>conftest.$ac_ext
33829 cat >>conftest.$ac_ext <<_ACEOF
33830 /* end confdefs.h. */
33840 rm -f conftest.$ac_objext conftest$ac_exeext
33841 if { (ac_try="$ac_link"
33842 case "(($ac_try" in
33843 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33844 *) ac_try_echo
=$ac_try;;
33846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33847 (eval "$ac_link") 2>conftest.er1
33849 grep -v '^ *+' conftest.er1
>conftest.err
33851 cat conftest.err
>&5
33852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33853 (exit $ac_status); } && {
33854 test -z "$ac_c_werror_flag" ||
33855 test ! -s conftest.err
33856 } && test -s conftest
$ac_exeext &&
33857 $as_test_x conftest
$ac_exeext; then
33859 { echo "$as_me:$LINENO: result: yes" >&5
33860 echo "${ECHO_T}yes" >&6; }
33861 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
33862 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
33865 echo "$as_me: failed program was:" >&5
33866 sed 's/^/| /' conftest.
$ac_ext >&5
33869 { echo "$as_me:$LINENO: result: no" >&5
33870 echo "${ECHO_T}no" >&6; }
33874 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33875 conftest
$ac_exeext conftest.
$ac_ext
33879 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33880 conftest
$ac_exeext conftest.
$ac_ext
33881 LDFLAGS
="$saveLdflags"
33885 install_name_tool
=`which install_name_tool`
33886 if test "$install_name_tool" -a -x "$install_name_tool"; then
33887 SAMPLES_RPATH_POSTLINK
="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33888 cat <<EOF >change-install-names
33890 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33891 inst_cmd="install_name_tool "
33892 for i in \${libnames} ; do
33893 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33897 chmod +x change
-install-names
33901 *-*-cygwin* | *-*-mingw32* )
33905 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
33906 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
33912 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33914 if test $wxUSE_RPATH = "no"; then
33915 SAMPLES_RPATH_FLAG
=''
33916 SAMPLES_RPATH_POSTLINK
=''
33924 config_linkage_component
="-static"
33931 lib_unicode_suffix
=
33933 if test "$wxUSE_UNICODE" = "yes"; then
33934 lib_unicode_suffix
=u
33935 WX_CHARTYPE
="unicode"
33940 WX_DEBUGTYPE
="release"
33942 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33944 WX_DEBUGTYPE
="debug"
33948 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
33949 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
33952 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33956 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33958 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33960 TOOLCHAIN_FULLNAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33962 if test "$cross_compiling" = "yes"; then
33963 HOST_SUFFIX
="-$host_alias"
33964 TOOLCHAIN_NAME
="$TOOLCHAIN_NAME$HOST_SUFFIX"
33965 TOOLCHAIN_FULLNAME
="${host_alias}-$TOOLCHAIN_FULLNAME"
33968 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33969 if test "${TOOLKIT_DIR}" = "os2"; then
33970 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33972 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33977 if test "$wxUSE_COCOA" = 1; then
33980 ac_cpp
='$CPP $CPPFLAGS'
33981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33987 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33988 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33989 cat >conftest.
$ac_ext <<_ACEOF
33992 cat confdefs.h
>>conftest.
$ac_ext
33993 cat >>conftest.
$ac_ext <<_ACEOF
33994 /* end confdefs.h. */
33995 #include <AppKit/NSEvent.h>
33996 #include <CoreFoundation/CoreFoundation.h>
34006 rm -f conftest.
$ac_objext
34007 if { (ac_try
="$ac_compile"
34008 case "(($ac_try" in
34009 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34010 *) ac_try_echo=$ac_try;;
34012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34013 (eval "$ac_compile") 2>conftest.er1
34015 grep -v '^ *+' conftest.er1 >conftest.err
34017 cat conftest.err >&5
34018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34019 (exit $ac_status); } && {
34020 test -z "$ac_c_werror_flag" ||
34021 test ! -s conftest.err
34022 } && test -s conftest.$ac_objext; then
34023 { echo "$as_me:$LINENO: result: no" >&5
34024 echo "${ECHO_T}no" >&6; }
34026 echo "$as_me: failed program was:" >&5
34027 sed 's/^/| /' conftest.$ac_ext >&5
34029 { echo "$as_me:$LINENO: result: yes" >&5
34030 echo "${ECHO_T}yes" >&6; }
34031 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34032 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34033 cat >conftest.$ac_ext <<_ACEOF
34036 cat confdefs.h >>conftest.$ac_ext
34037 cat >>conftest.$ac_ext <<_ACEOF
34038 /* end confdefs.h. */
34039 #define __Point__ 1
34040 #include <AppKit/NSEvent.h>
34041 #include <CoreFoundation/CoreFoundation.h>
34051 rm -f conftest.$ac_objext
34052 if { (ac_try="$ac_compile"
34053 case "(($ac_try" in
34054 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34055 *) ac_try_echo
=$ac_try;;
34057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34058 (eval "$ac_compile") 2>conftest.er1
34060 grep -v '^ *+' conftest.er1
>conftest.err
34062 cat conftest.err
>&5
34063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34064 (exit $ac_status); } && {
34065 test -z "$ac_c_werror_flag" ||
34066 test ! -s conftest.err
34067 } && test -s conftest.
$ac_objext; then
34068 { echo "$as_me:$LINENO: result: yes" >&5
34069 echo "${ECHO_T}yes" >&6; }
34070 cat >>confdefs.h
<<\_ACEOF
34071 #define __Point__ 1
34076 echo "$as_me: failed program was:" >&5
34077 sed 's/^/| /' conftest.
$ac_ext >&5
34079 { { echo "$as_me:$LINENO: error: no
34080 See \`config.log' for more details." >&5
34081 echo "$as_me: error: no
34082 See \`config.log' for more details." >&2;}
34083 { (exit 1); exit 1; }; }
34087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34093 ac_cpp
='$CPP $CPPFLAGS'
34094 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34095 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34096 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34101 { echo "$as_me:$LINENO: checking for mode_t" >&5
34102 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34103 if test "${ac_cv_type_mode_t+set}" = set; then
34104 echo $ECHO_N "(cached) $ECHO_C" >&6
34106 cat >conftest.
$ac_ext <<_ACEOF
34109 cat confdefs.h
>>conftest.
$ac_ext
34110 cat >>conftest.
$ac_ext <<_ACEOF
34111 /* end confdefs.h. */
34112 $ac_includes_default
34113 typedef mode_t ac__type_new_;
34117 if ((ac__type_new_ *) 0)
34119 if (sizeof (ac__type_new_))
34125 rm -f conftest.
$ac_objext
34126 if { (ac_try
="$ac_compile"
34127 case "(($ac_try" in
34128 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34129 *) ac_try_echo=$ac_try;;
34131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34132 (eval "$ac_compile") 2>conftest.er1
34134 grep -v '^ *+' conftest.er1 >conftest.err
34136 cat conftest.err >&5
34137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34138 (exit $ac_status); } && {
34139 test -z "$ac_c_werror_flag" ||
34140 test ! -s conftest.err
34141 } && test -s conftest.$ac_objext; then
34142 ac_cv_type_mode_t=yes
34144 echo "$as_me: failed program was:" >&5
34145 sed 's/^/| /' conftest.$ac_ext >&5
34147 ac_cv_type_mode_t=no
34150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34152 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34153 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34154 if test $ac_cv_type_mode_t = yes; then
34158 cat >>confdefs.h <<_ACEOF
34164 { echo "$as_me:$LINENO: checking for off_t" >&5
34165 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34166 if test "${ac_cv_type_off_t+set}" = set; then
34167 echo $ECHO_N "(cached) $ECHO_C" >&6
34169 cat >conftest.$ac_ext <<_ACEOF
34172 cat confdefs.h >>conftest.$ac_ext
34173 cat >>conftest.$ac_ext <<_ACEOF
34174 /* end confdefs.h. */
34175 $ac_includes_default
34176 typedef off_t ac__type_new_;
34180 if ((ac__type_new_ *) 0)
34182 if (sizeof (ac__type_new_))
34188 rm -f conftest.$ac_objext
34189 if { (ac_try="$ac_compile"
34190 case "(($ac_try" in
34191 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34192 *) ac_try_echo
=$ac_try;;
34194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34195 (eval "$ac_compile") 2>conftest.er1
34197 grep -v '^ *+' conftest.er1
>conftest.err
34199 cat conftest.err
>&5
34200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); } && {
34202 test -z "$ac_c_werror_flag" ||
34203 test ! -s conftest.err
34204 } && test -s conftest.
$ac_objext; then
34205 ac_cv_type_off_t
=yes
34207 echo "$as_me: failed program was:" >&5
34208 sed 's/^/| /' conftest.
$ac_ext >&5
34210 ac_cv_type_off_t
=no
34213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34215 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34216 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34217 if test $ac_cv_type_off_t = yes; then
34221 cat >>confdefs.h
<<_ACEOF
34222 #define off_t long int
34227 { echo "$as_me:$LINENO: checking for pid_t" >&5
34228 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34229 if test "${ac_cv_type_pid_t+set}" = set; then
34230 echo $ECHO_N "(cached) $ECHO_C" >&6
34232 cat >conftest.
$ac_ext <<_ACEOF
34235 cat confdefs.h
>>conftest.
$ac_ext
34236 cat >>conftest.
$ac_ext <<_ACEOF
34237 /* end confdefs.h. */
34238 $ac_includes_default
34239 typedef pid_t ac__type_new_;
34243 if ((ac__type_new_ *) 0)
34245 if (sizeof (ac__type_new_))
34251 rm -f conftest.
$ac_objext
34252 if { (ac_try
="$ac_compile"
34253 case "(($ac_try" in
34254 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34255 *) ac_try_echo=$ac_try;;
34257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34258 (eval "$ac_compile") 2>conftest.er1
34260 grep -v '^ *+' conftest.er1 >conftest.err
34262 cat conftest.err >&5
34263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34264 (exit $ac_status); } && {
34265 test -z "$ac_c_werror_flag" ||
34266 test ! -s conftest.err
34267 } && test -s conftest.$ac_objext; then
34268 ac_cv_type_pid_t=yes
34270 echo "$as_me: failed program was:" >&5
34271 sed 's/^/| /' conftest.$ac_ext >&5
34273 ac_cv_type_pid_t=no
34276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34278 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34279 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34280 if test $ac_cv_type_pid_t = yes; then
34284 cat >>confdefs.h <<_ACEOF
34290 { echo "$as_me:$LINENO: checking for size_t" >&5
34291 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34292 if test "${ac_cv_type_size_t+set}" = set; then
34293 echo $ECHO_N "(cached) $ECHO_C" >&6
34295 cat >conftest.$ac_ext <<_ACEOF
34298 cat confdefs.h >>conftest.$ac_ext
34299 cat >>conftest.$ac_ext <<_ACEOF
34300 /* end confdefs.h. */
34301 $ac_includes_default
34302 typedef size_t ac__type_new_;
34306 if ((ac__type_new_ *) 0)
34308 if (sizeof (ac__type_new_))
34314 rm -f conftest.$ac_objext
34315 if { (ac_try="$ac_compile"
34316 case "(($ac_try" in
34317 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34318 *) ac_try_echo
=$ac_try;;
34320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34321 (eval "$ac_compile") 2>conftest.er1
34323 grep -v '^ *+' conftest.er1
>conftest.err
34325 cat conftest.err
>&5
34326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34327 (exit $ac_status); } && {
34328 test -z "$ac_c_werror_flag" ||
34329 test ! -s conftest.err
34330 } && test -s conftest.
$ac_objext; then
34331 ac_cv_type_size_t
=yes
34333 echo "$as_me: failed program was:" >&5
34334 sed 's/^/| /' conftest.
$ac_ext >&5
34336 ac_cv_type_size_t
=no
34339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34341 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34342 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34343 if test $ac_cv_type_size_t = yes; then
34347 cat >>confdefs.h
<<_ACEOF
34348 #define size_t unsigned int
34354 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34355 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34356 if test "${ac_cv_type_ssize_t+set}" = set; then
34357 echo $ECHO_N "(cached) $ECHO_C" >&6
34359 cat >conftest.
$ac_ext <<_ACEOF
34362 cat confdefs.h
>>conftest.
$ac_ext
34363 cat >>conftest.
$ac_ext <<_ACEOF
34364 /* end confdefs.h. */
34365 $ac_includes_default
34366 typedef ssize_t ac__type_new_;
34370 if ((ac__type_new_ *) 0)
34372 if (sizeof (ac__type_new_))
34378 rm -f conftest.
$ac_objext
34379 if { (ac_try
="$ac_compile"
34380 case "(($ac_try" in
34381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34382 *) ac_try_echo=$ac_try;;
34384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34385 (eval "$ac_compile") 2>conftest.er1
34387 grep -v '^ *+' conftest.er1 >conftest.err
34389 cat conftest.err >&5
34390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34391 (exit $ac_status); } && {
34392 test -z "$ac_c_werror_flag" ||
34393 test ! -s conftest.err
34394 } && test -s conftest.$ac_objext; then
34395 ac_cv_type_ssize_t=yes
34397 echo "$as_me: failed program was:" >&5
34398 sed 's/^/| /' conftest.$ac_ext >&5
34400 ac_cv_type_ssize_t=no
34403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34405 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34406 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34407 if test $ac_cv_type_ssize_t = yes; then
34409 cat >>confdefs.h <<_ACEOF
34410 #define HAVE_SSIZE_T 1
34418 ac_cpp='$CXXCPP $CPPFLAGS'
34419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34422 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34423 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34424 if test "${wx_cv_size_t_is_uint+set}" = set; then
34425 echo $ECHO_N "(cached) $ECHO_C" >&6
34428 cat >conftest.$ac_ext <<_ACEOF
34431 cat confdefs.h >>conftest.$ac_ext
34432 cat >>conftest.$ac_ext <<_ACEOF
34433 /* end confdefs.h. */
34434 #include <stddef.h>
34441 struct Foo { void foo(size_t); void foo(unsigned int); };
34449 rm -f conftest.$ac_objext
34450 if { (ac_try="$ac_compile"
34451 case "(($ac_try" in
34452 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34453 *) ac_try_echo
=$ac_try;;
34455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34456 (eval "$ac_compile") 2>conftest.er1
34458 grep -v '^ *+' conftest.er1
>conftest.err
34460 cat conftest.err
>&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); } && {
34463 test -z "$ac_cxx_werror_flag" ||
34464 test ! -s conftest.err
34465 } && test -s conftest.
$ac_objext; then
34466 wx_cv_size_t_is_uint
=no
34468 echo "$as_me: failed program was:" >&5
34469 sed 's/^/| /' conftest.
$ac_ext >&5
34471 wx_cv_size_t_is_uint
=yes
34475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34479 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34480 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34482 if test "$wx_cv_size_t_is_uint" = "yes"; then
34483 cat >>confdefs.h
<<\_ACEOF
34484 #define wxSIZE_T_IS_UINT 1
34488 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34489 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34490 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34491 echo $ECHO_N "(cached) $ECHO_C" >&6
34493 cat >conftest.
$ac_ext <<_ACEOF
34496 cat confdefs.h
>>conftest.
$ac_ext
34497 cat >>conftest.
$ac_ext <<_ACEOF
34498 /* end confdefs.h. */
34499 #include <stddef.h>
34506 struct Foo { void foo(size_t); void foo(unsigned long); };
34514 rm -f conftest.
$ac_objext
34515 if { (ac_try
="$ac_compile"
34516 case "(($ac_try" in
34517 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34518 *) ac_try_echo=$ac_try;;
34520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34521 (eval "$ac_compile") 2>conftest.er1
34523 grep -v '^ *+' conftest.er1 >conftest.err
34525 cat conftest.err >&5
34526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34527 (exit $ac_status); } && {
34528 test -z "$ac_cxx_werror_flag" ||
34529 test ! -s conftest.err
34530 } && test -s conftest.$ac_objext; then
34531 wx_cv_size_t_is_ulong=no
34533 echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.$ac_ext >&5
34536 wx_cv_size_t_is_ulong=yes
34540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34543 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34544 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34546 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34547 cat >>confdefs.h <<\_ACEOF
34548 #define wxSIZE_T_IS_ULONG 1
34554 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34555 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34556 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34557 echo $ECHO_N "(cached) $ECHO_C" >&6
34559 cat >conftest.$ac_ext <<_ACEOF
34562 cat confdefs.h >>conftest.$ac_ext
34563 cat >>conftest.$ac_ext <<_ACEOF
34564 /* end confdefs.h. */
34572 struct Foo { void foo(wchar_t);
34573 void foo(unsigned short);
34574 void foo(unsigned int);
34575 void foo(unsigned long); };
34583 rm -f conftest.$ac_objext
34584 if { (ac_try="$ac_compile"
34585 case "(($ac_try" in
34586 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34587 *) ac_try_echo
=$ac_try;;
34589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34590 (eval "$ac_compile") 2>conftest.er1
34592 grep -v '^ *+' conftest.er1
>conftest.err
34594 cat conftest.err
>&5
34595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596 (exit $ac_status); } && {
34597 test -z "$ac_cxx_werror_flag" ||
34598 test ! -s conftest.err
34599 } && test -s conftest.
$ac_objext; then
34600 wx_cv_wchar_t_is_separate_type
=yes
34602 echo "$as_me: failed program was:" >&5
34603 sed 's/^/| /' conftest.
$ac_ext >&5
34605 wx_cv_wchar_t_is_separate_type
=no
34609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34612 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34613 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34615 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34616 cat >>confdefs.h
<<\_ACEOF
34617 #define wxWCHAR_T_IS_REAL_TYPE 1
34621 cat >>confdefs.h
<<\_ACEOF
34622 #define wxWCHAR_T_IS_REAL_TYPE 0
34628 ac_cpp
='$CPP $CPPFLAGS'
34629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34634 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34635 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34636 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34637 echo $ECHO_N "(cached) $ECHO_C" >&6
34640 cat >conftest.
$ac_ext <<_ACEOF
34643 cat confdefs.h
>>conftest.
$ac_ext
34644 cat >>conftest.
$ac_ext <<_ACEOF
34645 /* end confdefs.h. */
34659 rm -f conftest.
$ac_objext
34660 if { (ac_try
="$ac_compile"
34661 case "(($ac_try" in
34662 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34663 *) ac_try_echo=$ac_try;;
34665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34666 (eval "$ac_compile") 2>conftest.er1
34668 grep -v '^ *+' conftest.er1 >conftest.err
34670 cat conftest.err >&5
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); } && {
34673 test -z "$ac_c_werror_flag" ||
34674 test ! -s conftest.err
34675 } && test -s conftest.$ac_objext; then
34677 wx_cv_struct_pw_gecos=yes
34680 echo "$as_me: failed program was:" >&5
34681 sed 's/^/| /' conftest.$ac_ext >&5
34684 wx_cv_struct_pw_gecos=no
34689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34693 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34694 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34696 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34697 cat >>confdefs.h <<\_ACEOF
34698 #define HAVE_PW_GECOS 1
34704 if test "$wxUSE_WCHAR_T" = "yes"; then
34705 cat >>confdefs.h <<\_ACEOF
34706 #define wxUSE_WCHAR_T 1
34713 for ac_func in wcslen
34715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34716 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34718 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34719 echo $ECHO_N "(cached) $ECHO_C" >&6
34721 cat >conftest.$ac_ext <<_ACEOF
34724 cat confdefs.h >>conftest.$ac_ext
34725 cat >>conftest.$ac_ext <<_ACEOF
34726 /* end confdefs.h. */
34727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34729 #define $ac_func innocuous_$ac_func
34731 /* System header to define __stub macros and hopefully few prototypes,
34732 which can conflict with char $ac_func (); below.
34733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34734 <limits.h> exists even on freestanding compilers. */
34737 # include <limits.h>
34739 # include <assert.h>
34744 /* Override any GCC internal prototype to avoid an error.
34745 Use char because int might match the return type of a GCC
34746 builtin and then its argument prototype would still apply. */
34751 /* The GNU C library defines this for functions which it implements
34752 to always fail with ENOSYS. Some functions are actually named
34753 something starting with __ and the normal name is an alias. */
34754 #if defined __stub_$ac_func || defined __stub___$ac_func
34761 return $ac_func ();
34766 rm -f conftest.$ac_objext conftest$ac_exeext
34767 if { (ac_try="$ac_link"
34768 case "(($ac_try" in
34769 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34770 *) ac_try_echo
=$ac_try;;
34772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34773 (eval "$ac_link") 2>conftest.er1
34775 grep -v '^ *+' conftest.er1
>conftest.err
34777 cat conftest.err
>&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); } && {
34780 test -z "$ac_c_werror_flag" ||
34781 test ! -s conftest.err
34782 } && test -s conftest
$ac_exeext &&
34783 $as_test_x conftest
$ac_exeext; then
34784 eval "$as_ac_var=yes"
34786 echo "$as_me: failed program was:" >&5
34787 sed 's/^/| /' conftest.
$ac_ext >&5
34789 eval "$as_ac_var=no"
34792 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34793 conftest
$ac_exeext conftest.
$ac_ext
34795 ac_res
=`eval echo '${'$as_ac_var'}'`
34796 { echo "$as_me:$LINENO: result: $ac_res" >&5
34797 echo "${ECHO_T}$ac_res" >&6; }
34798 if test `eval echo '${'$as_ac_var'}'` = yes; then
34799 cat >>confdefs.h
<<_ACEOF
34800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34807 if test "$WCSLEN_FOUND" = 0; then
34808 if test "$TOOLKIT" = "MSW"; then
34809 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34810 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34811 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34812 echo $ECHO_N "(cached) $ECHO_C" >&6
34814 ac_check_lib_save_LIBS
=$LIBS
34815 LIBS
="-lmsvcrt $LIBS"
34816 cat >conftest.
$ac_ext <<_ACEOF
34819 cat confdefs.h
>>conftest.
$ac_ext
34820 cat >>conftest.
$ac_ext <<_ACEOF
34821 /* end confdefs.h. */
34823 /* Override any GCC internal prototype to avoid an error.
34824 Use char because int might match the return type of a GCC
34825 builtin and then its argument prototype would still apply. */
34838 rm -f conftest.
$ac_objext conftest
$ac_exeext
34839 if { (ac_try
="$ac_link"
34840 case "(($ac_try" in
34841 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34842 *) ac_try_echo=$ac_try;;
34844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34845 (eval "$ac_link") 2>conftest.er1
34847 grep -v '^ *+' conftest.er1 >conftest.err
34849 cat conftest.err >&5
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); } && {
34852 test -z "$ac_c_werror_flag" ||
34853 test ! -s conftest.err
34854 } && test -s conftest$ac_exeext &&
34855 $as_test_x conftest$ac_exeext; then
34856 ac_cv_lib_msvcrt_wcslen=yes
34858 echo "$as_me: failed program was:" >&5
34859 sed 's/^/| /' conftest.$ac_ext >&5
34861 ac_cv_lib_msvcrt_wcslen=no
34864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34865 conftest$ac_exeext conftest.$ac_ext
34866 LIBS=$ac_check_lib_save_LIBS
34868 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34869 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34870 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34875 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34876 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34877 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34878 echo $ECHO_N "(cached) $ECHO_C" >&6
34880 ac_check_lib_save_LIBS=$LIBS
34882 cat >conftest.$ac_ext <<_ACEOF
34885 cat confdefs.h >>conftest.$ac_ext
34886 cat >>conftest.$ac_ext <<_ACEOF
34887 /* end confdefs.h. */
34889 /* Override any GCC internal prototype to avoid an error.
34890 Use char because int might match the return type of a GCC
34891 builtin and then its argument prototype would still apply. */
34904 rm -f conftest.$ac_objext conftest$ac_exeext
34905 if { (ac_try="$ac_link"
34906 case "(($ac_try" in
34907 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34908 *) ac_try_echo
=$ac_try;;
34910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34911 (eval "$ac_link") 2>conftest.er1
34913 grep -v '^ *+' conftest.er1
>conftest.err
34915 cat conftest.err
>&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); } && {
34918 test -z "$ac_c_werror_flag" ||
34919 test ! -s conftest.err
34920 } && test -s conftest
$ac_exeext &&
34921 $as_test_x conftest
$ac_exeext; then
34922 ac_cv_lib_w_wcslen
=yes
34924 echo "$as_me: failed program was:" >&5
34925 sed 's/^/| /' conftest.
$ac_ext >&5
34927 ac_cv_lib_w_wcslen
=no
34930 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34931 conftest
$ac_exeext conftest.
$ac_ext
34932 LIBS
=$ac_check_lib_save_LIBS
34934 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34935 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34936 if test $ac_cv_lib_w_wcslen = yes; then
34946 if test "$WCSLEN_FOUND" = 1; then
34947 cat >>confdefs.h
<<\_ACEOF
34948 #define HAVE_WCSLEN 1
34954 for ac_func
in wcsdup
34956 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34957 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34959 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34960 echo $ECHO_N "(cached) $ECHO_C" >&6
34962 cat >conftest.
$ac_ext <<_ACEOF
34965 cat confdefs.h
>>conftest.
$ac_ext
34966 cat >>conftest.
$ac_ext <<_ACEOF
34967 /* end confdefs.h. */
34968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34970 #define $ac_func innocuous_$ac_func
34972 /* System header to define __stub macros and hopefully few prototypes,
34973 which can conflict with char $ac_func (); below.
34974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34975 <limits.h> exists even on freestanding compilers. */
34978 # include <limits.h>
34980 # include <assert.h>
34985 /* Override any GCC internal prototype to avoid an error.
34986 Use char because int might match the return type of a GCC
34987 builtin and then its argument prototype would still apply. */
34992 /* The GNU C library defines this for functions which it implements
34993 to always fail with ENOSYS. Some functions are actually named
34994 something starting with __ and the normal name is an alias. */
34995 #if defined __stub_$ac_func || defined __stub___$ac_func
35002 return $ac_func ();
35007 rm -f conftest.
$ac_objext conftest
$ac_exeext
35008 if { (ac_try
="$ac_link"
35009 case "(($ac_try" in
35010 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35011 *) ac_try_echo=$ac_try;;
35013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35014 (eval "$ac_link") 2>conftest.er1
35016 grep -v '^ *+' conftest.er1 >conftest.err
35018 cat conftest.err >&5
35019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35020 (exit $ac_status); } && {
35021 test -z "$ac_c_werror_flag" ||
35022 test ! -s conftest.err
35023 } && test -s conftest$ac_exeext &&
35024 $as_test_x conftest$ac_exeext; then
35025 eval "$as_ac_var=yes"
35027 echo "$as_me: failed program was:" >&5
35028 sed 's/^/| /' conftest.$ac_ext >&5
35030 eval "$as_ac_var=no"
35033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35034 conftest$ac_exeext conftest.$ac_ext
35036 ac_res=`eval echo '${'$as_ac_var'}'`
35037 { echo "$as_me:$LINENO: result: $ac_res" >&5
35038 echo "${ECHO_T}$ac_res" >&6; }
35039 if test `eval echo '${'$as_ac_var'}'` = yes; then
35040 cat >>confdefs.h <<_ACEOF
35041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35048 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35049 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35052 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35053 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35054 if test "${ac_cv_type_mbstate_t+set}" = set; then
35055 echo $ECHO_N "(cached) $ECHO_C" >&6
35057 cat >conftest.$ac_ext <<_ACEOF
35060 cat confdefs.h >>conftest.$ac_ext
35061 cat >>conftest.$ac_ext <<_ACEOF
35062 /* end confdefs.h. */
35065 typedef mbstate_t ac__type_new_;
35069 if ((ac__type_new_ *) 0)
35071 if (sizeof (ac__type_new_))
35077 rm -f conftest.$ac_objext
35078 if { (ac_try="$ac_compile"
35079 case "(($ac_try" in
35080 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35081 *) ac_try_echo
=$ac_try;;
35083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35084 (eval "$ac_compile") 2>conftest.er1
35086 grep -v '^ *+' conftest.er1
>conftest.err
35088 cat conftest.err
>&5
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); } && {
35091 test -z "$ac_c_werror_flag" ||
35092 test ! -s conftest.err
35093 } && test -s conftest.
$ac_objext; then
35094 ac_cv_type_mbstate_t
=yes
35096 echo "$as_me: failed program was:" >&5
35097 sed 's/^/| /' conftest.
$ac_ext >&5
35099 ac_cv_type_mbstate_t
=no
35102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35104 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35105 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35106 if test $ac_cv_type_mbstate_t = yes; then
35108 cat >>confdefs.h
<<_ACEOF
35109 #define HAVE_MBSTATE_T 1
35113 for ac_func
in wcsrtombs
35115 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35116 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35118 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35119 echo $ECHO_N "(cached) $ECHO_C" >&6
35121 cat >conftest.
$ac_ext <<_ACEOF
35124 cat confdefs.h
>>conftest.
$ac_ext
35125 cat >>conftest.
$ac_ext <<_ACEOF
35126 /* end confdefs.h. */
35127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35129 #define $ac_func innocuous_$ac_func
35131 /* System header to define __stub macros and hopefully few prototypes,
35132 which can conflict with char $ac_func (); below.
35133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35134 <limits.h> exists even on freestanding compilers. */
35137 # include <limits.h>
35139 # include <assert.h>
35144 /* Override any GCC internal prototype to avoid an error.
35145 Use char because int might match the return type of a GCC
35146 builtin and then its argument prototype would still apply. */
35151 /* The GNU C library defines this for functions which it implements
35152 to always fail with ENOSYS. Some functions are actually named
35153 something starting with __ and the normal name is an alias. */
35154 #if defined __stub_$ac_func || defined __stub___$ac_func
35161 return $ac_func ();
35166 rm -f conftest.
$ac_objext conftest
$ac_exeext
35167 if { (ac_try
="$ac_link"
35168 case "(($ac_try" in
35169 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35170 *) ac_try_echo=$ac_try;;
35172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35173 (eval "$ac_link") 2>conftest.er1
35175 grep -v '^ *+' conftest.er1 >conftest.err
35177 cat conftest.err >&5
35178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 (exit $ac_status); } && {
35180 test -z "$ac_c_werror_flag" ||
35181 test ! -s conftest.err
35182 } && test -s conftest$ac_exeext &&
35183 $as_test_x conftest$ac_exeext; then
35184 eval "$as_ac_var=yes"
35186 echo "$as_me: failed program was:" >&5
35187 sed 's/^/| /' conftest.$ac_ext >&5
35189 eval "$as_ac_var=no"
35192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35193 conftest$ac_exeext conftest.$ac_ext
35195 ac_res=`eval echo '${'$as_ac_var'}'`
35196 { echo "$as_me:$LINENO: result: $ac_res" >&5
35197 echo "${ECHO_T}$ac_res" >&6; }
35198 if test `eval echo '${'$as_ac_var'}'` = yes; then
35199 cat >>confdefs.h <<_ACEOF
35200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35209 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35210 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35216 for ac_func in snprintf vsnprintf vsscanf
35218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35219 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35221 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35222 echo $ECHO_N "(cached) $ECHO_C" >&6
35224 cat >conftest.$ac_ext <<_ACEOF
35227 cat confdefs.h >>conftest.$ac_ext
35228 cat >>conftest.$ac_ext <<_ACEOF
35229 /* end confdefs.h. */
35230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35232 #define $ac_func innocuous_$ac_func
35234 /* System header to define __stub macros and hopefully few prototypes,
35235 which can conflict with char $ac_func (); below.
35236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35237 <limits.h> exists even on freestanding compilers. */
35240 # include <limits.h>
35242 # include <assert.h>
35247 /* Override any GCC internal prototype to avoid an error.
35248 Use char because int might match the return type of a GCC
35249 builtin and then its argument prototype would still apply. */
35254 /* The GNU C library defines this for functions which it implements
35255 to always fail with ENOSYS. Some functions are actually named
35256 something starting with __ and the normal name is an alias. */
35257 #if defined __stub_$ac_func || defined __stub___$ac_func
35264 return $ac_func ();
35269 rm -f conftest.$ac_objext conftest$ac_exeext
35270 if { (ac_try="$ac_link"
35271 case "(($ac_try" in
35272 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35273 *) ac_try_echo
=$ac_try;;
35275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35276 (eval "$ac_link") 2>conftest.er1
35278 grep -v '^ *+' conftest.er1
>conftest.err
35280 cat conftest.err
>&5
35281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35282 (exit $ac_status); } && {
35283 test -z "$ac_c_werror_flag" ||
35284 test ! -s conftest.err
35285 } && test -s conftest
$ac_exeext &&
35286 $as_test_x conftest
$ac_exeext; then
35287 eval "$as_ac_var=yes"
35289 echo "$as_me: failed program was:" >&5
35290 sed 's/^/| /' conftest.
$ac_ext >&5
35292 eval "$as_ac_var=no"
35295 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35296 conftest
$ac_exeext conftest.
$ac_ext
35298 ac_res
=`eval echo '${'$as_ac_var'}'`
35299 { echo "$as_me:$LINENO: result: $ac_res" >&5
35300 echo "${ECHO_T}$ac_res" >&6; }
35301 if test `eval echo '${'$as_ac_var'}'` = yes; then
35302 cat >>confdefs.h
<<_ACEOF
35303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35311 ac_cpp
='$CXXCPP $CPPFLAGS'
35312 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35313 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35314 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35316 if test "$ac_cv_func_vsnprintf" = "yes"; then
35317 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35318 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35319 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35320 echo $ECHO_N "(cached) $ECHO_C" >&6
35323 cat >conftest.
$ac_ext <<_ACEOF
35326 cat confdefs.h
>>conftest.
$ac_ext
35327 cat >>conftest.
$ac_ext <<_ACEOF
35328 /* end confdefs.h. */
35331 #include <stdarg.h>
35333 #if __MSL__ >= 0x6000
35335 using namespace std;
35345 vsnprintf(buf, 10u, "%s", ap);
35351 rm -f conftest.
$ac_objext
35352 if { (ac_try
="$ac_compile"
35353 case "(($ac_try" in
35354 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35355 *) ac_try_echo=$ac_try;;
35357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35358 (eval "$ac_compile") 2>conftest.er1
35360 grep -v '^ *+' conftest.er1 >conftest.err
35362 cat conftest.err >&5
35363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); } && {
35365 test -z "$ac_cxx_werror_flag" ||
35366 test ! -s conftest.err
35367 } && test -s conftest.$ac_objext; then
35368 wx_cv_func_vsnprintf_decl=yes
35370 echo "$as_me: failed program was:" >&5
35371 sed 's/^/| /' conftest.$ac_ext >&5
35373 wx_cv_func_vsnprintf_decl=no
35377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35381 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35382 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35384 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35385 cat >>confdefs.h <<\_ACEOF
35386 #define HAVE_VSNPRINTF_DECL 1
35390 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35391 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35392 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35393 echo $ECHO_N "(cached) $ECHO_C" >&6
35396 cat >conftest.$ac_ext <<_ACEOF
35399 cat confdefs.h >>conftest.$ac_ext
35400 cat >>conftest.$ac_ext <<_ACEOF
35401 /* end confdefs.h. */
35404 #include <stdarg.h>
35406 #if __MSL__ >= 0x6000
35408 using namespace std;
35418 const char *fmt = "%s";
35419 vsnprintf(buf, 10u, fmt, ap);
35425 rm -f conftest.$ac_objext
35426 if { (ac_try="$ac_compile"
35427 case "(($ac_try" in
35428 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35429 *) ac_try_echo
=$ac_try;;
35431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35432 (eval "$ac_compile") 2>conftest.er1
35434 grep -v '^ *+' conftest.er1
>conftest.err
35436 cat conftest.err
>&5
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); } && {
35439 test -z "$ac_cxx_werror_flag" ||
35440 test ! -s conftest.err
35441 } && test -s conftest.
$ac_objext; then
35442 wx_cv_func_broken_vsnprintf_decl
=no
35444 echo "$as_me: failed program was:" >&5
35445 sed 's/^/| /' conftest.
$ac_ext >&5
35447 wx_cv_func_broken_vsnprintf_decl
=yes
35451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35455 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35456 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35458 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35459 cat >>confdefs.h
<<\_ACEOF
35460 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35467 if test "$ac_cv_func_snprintf" = "yes"; then
35468 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35469 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35470 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35471 echo $ECHO_N "(cached) $ECHO_C" >&6
35474 cat >conftest.
$ac_ext <<_ACEOF
35477 cat confdefs.h
>>conftest.
$ac_ext
35478 cat >>conftest.
$ac_ext <<_ACEOF
35479 /* end confdefs.h. */
35482 #include <stdarg.h>
35484 #if __MSL__ >= 0x6000
35486 using namespace std;
35495 snprintf(buf, 10u, "%s", "wx");
35501 rm -f conftest.
$ac_objext
35502 if { (ac_try
="$ac_compile"
35503 case "(($ac_try" in
35504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35505 *) ac_try_echo=$ac_try;;
35507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35508 (eval "$ac_compile") 2>conftest.er1
35510 grep -v '^ *+' conftest.er1 >conftest.err
35512 cat conftest.err >&5
35513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35514 (exit $ac_status); } && {
35515 test -z "$ac_cxx_werror_flag" ||
35516 test ! -s conftest.err
35517 } && test -s conftest.$ac_objext; then
35518 wx_cv_func_snprintf_decl=yes
35520 echo "$as_me: failed program was:" >&5
35521 sed 's/^/| /' conftest.$ac_ext >&5
35523 wx_cv_func_snprintf_decl=no
35527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35531 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35532 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35534 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35535 cat >>confdefs.h <<\_ACEOF
35536 #define HAVE_SNPRINTF_DECL 1
35541 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35543 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35544 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35545 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35546 echo $ECHO_N "(cached) $ECHO_C" >&6
35549 if test "$cross_compiling" = yes; then
35551 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35552 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35553 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35554 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35555 wx_cv_func_snprintf_pos_params=no
35559 cat >conftest.$ac_ext <<_ACEOF
35562 cat confdefs.h >>conftest.$ac_ext
35563 cat >>conftest.$ac_ext <<_ACEOF
35564 /* end confdefs.h. */
35571 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35572 if (strcmp ("2 3 1", buffer) == 0)
35578 rm -f conftest$ac_exeext
35579 if { (ac_try="$ac_link"
35580 case "(($ac_try" in
35581 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35582 *) ac_try_echo
=$ac_try;;
35584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35585 (eval "$ac_link") 2>&5
35587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
35589 { (case "(($ac_try" in
35590 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35591 *) ac_try_echo=$ac_try;;
35593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35594 (eval "$ac_try") 2>&5
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); }; }; then
35598 wx_cv_func_snprintf_pos_params=no
35600 echo "$as_me: program exited with status $ac_status" >&5
35601 echo "$as_me: failed program was:" >&5
35602 sed 's/^/| /' conftest.$ac_ext >&5
35604 ( exit $ac_status )
35605 wx_cv_func_snprintf_pos_params=yes
35607 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35614 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35615 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35617 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35618 cat >>confdefs.h <<\_ACEOF
35619 #define HAVE_UNIX98_PRINTF 1
35626 if test "$ac_cv_func_vsscanf" = "yes"; then
35627 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35628 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35629 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35630 echo $ECHO_N "(cached) $ECHO_C" >&6
35633 cat >conftest.$ac_ext <<_ACEOF
35636 cat confdefs.h >>conftest.$ac_ext
35637 cat >>conftest.$ac_ext <<_ACEOF
35638 /* end confdefs.h. */
35641 #include <stdarg.h>
35643 #if __MSL__ >= 0x6000
35645 using namespace std;
35655 vsscanf(buf, "%s", args);
35661 rm -f conftest.$ac_objext
35662 if { (ac_try="$ac_compile"
35663 case "(($ac_try" in
35664 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35665 *) ac_try_echo
=$ac_try;;
35667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35668 (eval "$ac_compile") 2>conftest.er1
35670 grep -v '^ *+' conftest.er1
>conftest.err
35672 cat conftest.err
>&5
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); } && {
35675 test -z "$ac_cxx_werror_flag" ||
35676 test ! -s conftest.err
35677 } && test -s conftest.
$ac_objext; then
35678 wx_cv_func_vsscanf_decl
=yes
35680 echo "$as_me: failed program was:" >&5
35681 sed 's/^/| /' conftest.
$ac_ext >&5
35683 wx_cv_func_vsscanf_decl
=no
35687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35691 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35692 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35694 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35695 cat >>confdefs.h
<<\_ACEOF
35696 #define HAVE_VSSCANF_DECL 1
35702 ac_cpp
='$CPP $CPPFLAGS'
35703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35708 if test "$wxUSE_UNICODE" = yes; then
35710 wchar_headers
="#include <stdio.h>
35711 #include <wchar.h>"
35715 for ac_header
in widec.h
35717 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35718 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35720 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35721 echo $ECHO_N "(cached) $ECHO_C" >&6
35723 cat >conftest.
$ac_ext <<_ACEOF
35726 cat confdefs.h
>>conftest.
$ac_ext
35727 cat >>conftest.
$ac_ext <<_ACEOF
35728 /* end confdefs.h. */
35729 $ac_includes_default
35731 #include <$ac_header>
35733 rm -f conftest.
$ac_objext
35734 if { (ac_try
="$ac_compile"
35735 case "(($ac_try" in
35736 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35737 *) ac_try_echo=$ac_try;;
35739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35740 (eval "$ac_compile") 2>conftest.er1
35742 grep -v '^ *+' conftest.er1 >conftest.err
35744 cat conftest.err >&5
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); } && {
35747 test -z "$ac_c_werror_flag" ||
35748 test ! -s conftest.err
35749 } && test -s conftest.$ac_objext; then
35750 eval "$as_ac_Header=yes"
35752 echo "$as_me: failed program was:" >&5
35753 sed 's/^/| /' conftest.$ac_ext >&5
35755 eval "$as_ac_Header=no"
35758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35760 ac_res=`eval echo '${'$as_ac_Header'}'`
35761 { echo "$as_me:$LINENO: result: $ac_res" >&5
35762 echo "${ECHO_T}$ac_res" >&6; }
35763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35764 cat >>confdefs.h <<_ACEOF
35765 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35772 if test "$ac_cv_header_widec_h" = "yes"; then
35773 wchar_headers="$wchar_headers
35774 #include <widec.h>"
35779 for wx_func in putws fputws wprintf vswprintf vswscanf
35781 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35782 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35783 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35784 echo $ECHO_N "(cached) $ECHO_C" >&6
35787 cat >conftest.$ac_ext <<_ACEOF
35791 cat confdefs.h >>conftest.$ac_ext
35792 cat >>conftest.$ac_ext <<_ACEOF
35793 /* end confdefs.h. */
35796 $ac_includes_default
35812 rm -f conftest.$ac_objext conftest$ac_exeext
35813 if { (ac_try="$ac_link"
35814 case "(($ac_try" in
35815 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35816 *) ac_try_echo
=$ac_try;;
35818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35819 (eval "$ac_link") 2>conftest.er1
35821 grep -v '^ *+' conftest.er1
>conftest.err
35823 cat conftest.err
>&5
35824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35825 (exit $ac_status); } && {
35826 test -z "$ac_c_werror_flag" ||
35827 test ! -s conftest.err
35828 } && test -s conftest
$ac_exeext &&
35829 $as_test_x conftest
$ac_exeext; then
35830 eval wx_cv_func_
$wx_func=yes
35832 echo "$as_me: failed program was:" >&5
35833 sed 's/^/| /' conftest.
$ac_ext >&5
35835 eval wx_cv_func_
$wx_func=no
35838 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35839 conftest
$ac_exeext conftest.
$ac_ext
35842 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35843 { echo "$as_me:$LINENO: result: $ac_res" >&5
35844 echo "${ECHO_T}$ac_res" >&6; }
35846 if eval test \
$wx_cv_func_$wx_func = yes
35848 cat >>confdefs.h
<<_ACEOF
35849 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35860 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35861 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35862 cat >conftest.
$ac_ext <<_ACEOF
35865 cat confdefs.h
>>conftest.
$ac_ext
35866 cat >>conftest.
$ac_ext <<_ACEOF
35867 /* end confdefs.h. */
35877 rm -f conftest.
$ac_objext
35878 if { (ac_try
="$ac_compile"
35879 case "(($ac_try" in
35880 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35881 *) ac_try_echo=$ac_try;;
35883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35884 (eval "$ac_compile") 2>conftest.er1
35886 grep -v '^ *+' conftest.er1 >conftest.err
35888 cat conftest.err >&5
35889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35890 (exit $ac_status); } && {
35891 test -z "$ac_c_werror_flag" ||
35892 test ! -s conftest.err
35893 } && test -s conftest.$ac_objext; then
35894 { echo "$as_me:$LINENO: result: yes" >&5
35895 echo "${ECHO_T}yes" >&6; }
35896 cat >>confdefs.h <<\_ACEOF
35897 #define HAVE__VSNWPRINTF 1
35901 echo "$as_me: failed program was:" >&5
35902 sed 's/^/| /' conftest.$ac_ext >&5
35904 { echo "$as_me:$LINENO: result: no" >&5
35905 echo "${ECHO_T}no" >&6; }
35908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35911 if test "$wxUSE_FILE" = "yes"; then
35913 for wx_func in fsync
35915 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35916 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35917 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35918 echo $ECHO_N "(cached) $ECHO_C" >&6
35921 cat >conftest.$ac_ext <<_ACEOF
35925 cat confdefs.h >>conftest.$ac_ext
35926 cat >>conftest.$ac_ext <<_ACEOF
35927 /* end confdefs.h. */
35930 $ac_includes_default
35946 rm -f conftest.$ac_objext conftest$ac_exeext
35947 if { (ac_try="$ac_link"
35948 case "(($ac_try" in
35949 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35950 *) ac_try_echo
=$ac_try;;
35952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35953 (eval "$ac_link") 2>conftest.er1
35955 grep -v '^ *+' conftest.er1
>conftest.err
35957 cat conftest.err
>&5
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); } && {
35960 test -z "$ac_c_werror_flag" ||
35961 test ! -s conftest.err
35962 } && test -s conftest
$ac_exeext &&
35963 $as_test_x conftest
$ac_exeext; then
35964 eval wx_cv_func_
$wx_func=yes
35966 echo "$as_me: failed program was:" >&5
35967 sed 's/^/| /' conftest.
$ac_ext >&5
35969 eval wx_cv_func_
$wx_func=no
35972 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35973 conftest
$ac_exeext conftest.
$ac_ext
35976 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
35977 { echo "$as_me:$LINENO: result: $ac_res" >&5
35978 echo "${ECHO_T}$ac_res" >&6; }
35980 if eval test \
$wx_cv_func_$wx_func = yes
35982 cat >>confdefs.h
<<_ACEOF
35983 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35996 ac_cpp
='$CXXCPP $CPPFLAGS'
35997 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35998 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35999 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36002 for wx_func
in round
36004 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36005 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36006 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36007 echo $ECHO_N "(cached) $ECHO_C" >&6
36010 cat >conftest.
$ac_ext <<_ACEOF
36014 cat confdefs.h
>>conftest.
$ac_ext
36015 cat >>conftest.
$ac_ext <<_ACEOF
36016 /* end confdefs.h. */
36019 $ac_includes_default
36035 rm -f conftest.
$ac_objext conftest
$ac_exeext
36036 if { (ac_try
="$ac_link"
36037 case "(($ac_try" in
36038 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36039 *) ac_try_echo=$ac_try;;
36041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36042 (eval "$ac_link") 2>conftest.er1
36044 grep -v '^ *+' conftest.er1 >conftest.err
36046 cat conftest.err >&5
36047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048 (exit $ac_status); } && {
36049 test -z "$ac_cxx_werror_flag" ||
36050 test ! -s conftest.err
36051 } && test -s conftest$ac_exeext &&
36052 $as_test_x conftest$ac_exeext; then
36053 eval wx_cv_func_$wx_func=yes
36055 echo "$as_me: failed program was:" >&5
36056 sed 's/^/| /' conftest.$ac_ext >&5
36058 eval wx_cv_func_$wx_func=no
36061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36062 conftest$ac_exeext conftest.$ac_ext
36065 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36066 { echo "$as_me:$LINENO: result: $ac_res" >&5
36067 echo "${ECHO_T}$ac_res" >&6; }
36069 if eval test \$wx_cv_func_$wx_func = yes
36071 cat >>confdefs.h <<_ACEOF
36072 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36083 ac_cpp='$CPP $CPPFLAGS'
36084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36089 if test "$TOOLKIT" != "MSW"; then
36091 if test "$wxUSE_LIBICONV" != "no" ; then
36095 # Check whether --with-libiconv-prefix was given.
36096 if test "${with_libiconv_prefix+set}" = set; then
36097 withval=$with_libiconv_prefix;
36098 for dir in `echo "$withval" | tr : ' '`; do
36099 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36100 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36106 { echo "$as_me:$LINENO: checking for iconv" >&5
36107 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36108 if test "${am_cv_func_iconv+set}" = set; then
36109 echo $ECHO_N "(cached) $ECHO_C" >&6
36112 am_cv_func_iconv="no, consider installing GNU libiconv"
36114 cat >conftest.$ac_ext <<_ACEOF
36117 cat confdefs.h >>conftest.$ac_ext
36118 cat >>conftest.$ac_ext <<_ACEOF
36119 /* end confdefs.h. */
36120 #include <stdlib.h>
36125 iconv_t cd = iconv_open("","");
36126 iconv(cd,NULL,NULL,NULL,NULL);
36132 rm -f conftest.$ac_objext conftest$ac_exeext
36133 if { (ac_try="$ac_link"
36134 case "(($ac_try" in
36135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36136 *) ac_try_echo
=$ac_try;;
36138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36139 (eval "$ac_link") 2>conftest.er1
36141 grep -v '^ *+' conftest.er1
>conftest.err
36143 cat conftest.err
>&5
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); } && {
36146 test -z "$ac_c_werror_flag" ||
36147 test ! -s conftest.err
36148 } && test -s conftest
$ac_exeext &&
36149 $as_test_x conftest
$ac_exeext; then
36150 am_cv_func_iconv
=yes
36152 echo "$as_me: failed program was:" >&5
36153 sed 's/^/| /' conftest.
$ac_ext >&5
36158 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36159 conftest
$ac_exeext conftest.
$ac_ext
36160 if test "$am_cv_func_iconv" != yes; then
36161 am_save_LIBS
="$LIBS"
36162 LIBS
="$LIBS -liconv"
36163 cat >conftest.
$ac_ext <<_ACEOF
36166 cat confdefs.h
>>conftest.
$ac_ext
36167 cat >>conftest.
$ac_ext <<_ACEOF
36168 /* end confdefs.h. */
36169 #include <stdlib.h>
36174 iconv_t cd = iconv_open("","");
36175 iconv(cd,NULL,NULL,NULL,NULL);
36181 rm -f conftest.
$ac_objext conftest
$ac_exeext
36182 if { (ac_try
="$ac_link"
36183 case "(($ac_try" in
36184 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36185 *) ac_try_echo=$ac_try;;
36187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36188 (eval "$ac_link") 2>conftest.er1
36190 grep -v '^ *+' conftest.er1 >conftest.err
36192 cat conftest.err >&5
36193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36194 (exit $ac_status); } && {
36195 test -z "$ac_c_werror_flag" ||
36196 test ! -s conftest.err
36197 } && test -s conftest$ac_exeext &&
36198 $as_test_x conftest$ac_exeext; then
36199 am_cv_lib_iconv=yes
36200 am_cv_func_iconv=yes
36202 echo "$as_me: failed program was:" >&5
36203 sed 's/^/| /' conftest.$ac_ext >&5
36208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36209 conftest$ac_exeext conftest.$ac_ext
36210 LIBS="$am_save_LIBS"
36214 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36215 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36216 if test "$am_cv_func_iconv" = yes; then
36218 cat >>confdefs.h <<\_ACEOF
36219 #define HAVE_ICONV 1
36222 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36223 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36224 if test "${wx_cv_func_iconv_const+set}" = set; then
36225 echo $ECHO_N "(cached) $ECHO_C" >&6
36227 cat >conftest.$ac_ext <<_ACEOF
36230 cat confdefs.h >>conftest.$ac_ext
36231 cat >>conftest.$ac_ext <<_ACEOF
36232 /* end confdefs.h. */
36234 #include <stdlib.h>
36240 #if defined(__STDC__) || defined(__cplusplus)
36241 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36254 rm -f conftest.$ac_objext
36255 if { (ac_try="$ac_compile"
36256 case "(($ac_try" in
36257 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36258 *) ac_try_echo
=$ac_try;;
36260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36261 (eval "$ac_compile") 2>conftest.er1
36263 grep -v '^ *+' conftest.er1
>conftest.err
36265 cat conftest.err
>&5
36266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36267 (exit $ac_status); } && {
36268 test -z "$ac_c_werror_flag" ||
36269 test ! -s conftest.err
36270 } && test -s conftest.
$ac_objext; then
36271 wx_cv_func_iconv_const
="no"
36273 echo "$as_me: failed program was:" >&5
36274 sed 's/^/| /' conftest.
$ac_ext >&5
36276 wx_cv_func_iconv_const
="yes"
36280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36283 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36284 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36287 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36288 iconv_const
="const"
36292 cat >>confdefs.h
<<_ACEOF
36293 #define ICONV_CONST $iconv_const
36298 if test "$am_cv_lib_iconv" = yes; then
36303 LIBS
="$LIBICONV $LIBS"
36306 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36308 for ac_func
in sigaction
36310 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36311 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36313 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36314 echo $ECHO_N "(cached) $ECHO_C" >&6
36316 cat >conftest.
$ac_ext <<_ACEOF
36319 cat confdefs.h
>>conftest.
$ac_ext
36320 cat >>conftest.
$ac_ext <<_ACEOF
36321 /* end confdefs.h. */
36322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36324 #define $ac_func innocuous_$ac_func
36326 /* System header to define __stub macros and hopefully few prototypes,
36327 which can conflict with char $ac_func (); below.
36328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36329 <limits.h> exists even on freestanding compilers. */
36332 # include <limits.h>
36334 # include <assert.h>
36339 /* Override any GCC internal prototype to avoid an error.
36340 Use char because int might match the return type of a GCC
36341 builtin and then its argument prototype would still apply. */
36346 /* The GNU C library defines this for functions which it implements
36347 to always fail with ENOSYS. Some functions are actually named
36348 something starting with __ and the normal name is an alias. */
36349 #if defined __stub_$ac_func || defined __stub___$ac_func
36356 return $ac_func ();
36361 rm -f conftest.
$ac_objext conftest
$ac_exeext
36362 if { (ac_try
="$ac_link"
36363 case "(($ac_try" in
36364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36365 *) ac_try_echo=$ac_try;;
36367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36368 (eval "$ac_link") 2>conftest.er1
36370 grep -v '^ *+' conftest.er1 >conftest.err
36372 cat conftest.err >&5
36373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36374 (exit $ac_status); } && {
36375 test -z "$ac_c_werror_flag" ||
36376 test ! -s conftest.err
36377 } && test -s conftest$ac_exeext &&
36378 $as_test_x conftest$ac_exeext; then
36379 eval "$as_ac_var=yes"
36381 echo "$as_me: failed program was:" >&5
36382 sed 's/^/| /' conftest.$ac_ext >&5
36384 eval "$as_ac_var=no"
36387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36388 conftest$ac_exeext conftest.$ac_ext
36390 ac_res=`eval echo '${'$as_ac_var'}'`
36391 { echo "$as_me:$LINENO: result: $ac_res" >&5
36392 echo "${ECHO_T}$ac_res" >&6; }
36393 if test `eval echo '${'$as_ac_var'}'` = yes; then
36394 cat >>confdefs.h <<_ACEOF
36395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36402 if test "$ac_cv_func_sigaction" = "no"; then
36403 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36404 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36405 wxUSE_ON_FATAL_EXCEPTION=no
36408 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36409 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36410 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36411 if test "${wx_cv_type_sa_handler+set}" = set; then
36412 echo $ECHO_N "(cached) $ECHO_C" >&6
36416 ac_cpp='$CXXCPP $CPPFLAGS'
36417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36421 cat >conftest.$ac_ext <<_ACEOF
36424 cat confdefs.h >>conftest.$ac_ext
36425 cat >>conftest.$ac_ext <<_ACEOF
36426 /* end confdefs.h. */
36427 #include <signal.h>
36432 extern void testSigHandler(int);
36434 struct sigaction sa;
36435 sa.sa_handler = testSigHandler;
36441 rm -f conftest.$ac_objext
36442 if { (ac_try="$ac_compile"
36443 case "(($ac_try" in
36444 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36445 *) ac_try_echo
=$ac_try;;
36447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36448 (eval "$ac_compile") 2>conftest.er1
36450 grep -v '^ *+' conftest.er1
>conftest.err
36452 cat conftest.err
>&5
36453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 (exit $ac_status); } && {
36455 test -z "$ac_cxx_werror_flag" ||
36456 test ! -s conftest.err
36457 } && test -s conftest.
$ac_objext; then
36459 wx_cv_type_sa_handler
=int
36462 echo "$as_me: failed program was:" >&5
36463 sed 's/^/| /' conftest.
$ac_ext >&5
36466 wx_cv_type_sa_handler
=void
36470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36472 ac_cpp
='$CPP $CPPFLAGS'
36473 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36474 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36475 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36479 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36480 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36482 cat >>confdefs.h
<<_ACEOF
36483 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36489 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36490 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36491 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36492 if test "${wx_cv_func_backtrace+set}" = set; then
36493 echo $ECHO_N "(cached) $ECHO_C" >&6
36497 ac_cpp
='$CXXCPP $CPPFLAGS'
36498 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36499 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36500 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36502 cat >conftest.
$ac_ext <<_ACEOF
36505 cat confdefs.h
>>conftest.
$ac_ext
36506 cat >>conftest.
$ac_ext <<_ACEOF
36507 /* end confdefs.h. */
36508 #include <execinfo.h>
36516 backtrace(trace, 1);
36517 messages = backtrace_symbols(trace, 1);
36523 rm -f conftest.
$ac_objext
36524 if { (ac_try
="$ac_compile"
36525 case "(($ac_try" in
36526 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36527 *) ac_try_echo=$ac_try;;
36529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36530 (eval "$ac_compile") 2>conftest.er1
36532 grep -v '^ *+' conftest.er1 >conftest.err
36534 cat conftest.err >&5
36535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536 (exit $ac_status); } && {
36537 test -z "$ac_cxx_werror_flag" ||
36538 test ! -s conftest.err
36539 } && test -s conftest.$ac_objext; then
36540 wx_cv_func_backtrace=yes
36542 echo "$as_me: failed program was:" >&5
36543 sed 's/^/| /' conftest.$ac_ext >&5
36545 wx_cv_func_backtrace=no
36549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36551 ac_cpp='$CPP $CPPFLAGS'
36552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36559 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36560 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36563 if test "$wx_cv_func_backtrace" = "no"; then
36564 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36565 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36566 wxUSE_STACKWALKER=no
36568 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36569 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36570 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36571 echo $ECHO_N "(cached) $ECHO_C" >&6
36575 ac_cpp='$CXXCPP $CPPFLAGS'
36576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36580 cat >conftest.$ac_ext <<_ACEOF
36583 cat confdefs.h >>conftest.$ac_ext
36584 cat >>conftest.$ac_ext <<_ACEOF
36585 /* end confdefs.h. */
36586 #include <cxxabi.h>
36592 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36598 rm -f conftest.$ac_objext conftest$ac_exeext
36599 if { (ac_try="$ac_link"
36600 case "(($ac_try" in
36601 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36602 *) ac_try_echo
=$ac_try;;
36604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36605 (eval "$ac_link") 2>conftest.er1
36607 grep -v '^ *+' conftest.er1
>conftest.err
36609 cat conftest.err
>&5
36610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36611 (exit $ac_status); } && {
36612 test -z "$ac_cxx_werror_flag" ||
36613 test ! -s conftest.err
36614 } && test -s conftest
$ac_exeext &&
36615 $as_test_x conftest
$ac_exeext; then
36616 wx_cv_func_cxa_demangle
=yes
36618 echo "$as_me: failed program was:" >&5
36619 sed 's/^/| /' conftest.
$ac_ext >&5
36621 wx_cv_func_cxa_demangle
=no
36625 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36626 conftest
$ac_exeext conftest.
$ac_ext
36628 ac_cpp
='$CPP $CPPFLAGS'
36629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36636 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36637 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36639 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36640 cat >>confdefs.h
<<\_ACEOF
36641 #define HAVE_CXA_DEMANGLE 1
36648 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36649 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36650 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36651 wxUSE_STACKWALKER
=no
36657 for ac_func
in mkstemp mktemp
36659 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36660 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36662 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36663 echo $ECHO_N "(cached) $ECHO_C" >&6
36665 cat >conftest.
$ac_ext <<_ACEOF
36668 cat confdefs.h
>>conftest.
$ac_ext
36669 cat >>conftest.
$ac_ext <<_ACEOF
36670 /* end confdefs.h. */
36671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36673 #define $ac_func innocuous_$ac_func
36675 /* System header to define __stub macros and hopefully few prototypes,
36676 which can conflict with char $ac_func (); below.
36677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36678 <limits.h> exists even on freestanding compilers. */
36681 # include <limits.h>
36683 # include <assert.h>
36688 /* Override any GCC internal prototype to avoid an error.
36689 Use char because int might match the return type of a GCC
36690 builtin and then its argument prototype would still apply. */
36695 /* The GNU C library defines this for functions which it implements
36696 to always fail with ENOSYS. Some functions are actually named
36697 something starting with __ and the normal name is an alias. */
36698 #if defined __stub_$ac_func || defined __stub___$ac_func
36705 return $ac_func ();
36710 rm -f conftest.
$ac_objext conftest
$ac_exeext
36711 if { (ac_try
="$ac_link"
36712 case "(($ac_try" in
36713 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36714 *) ac_try_echo=$ac_try;;
36716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36717 (eval "$ac_link") 2>conftest.er1
36719 grep -v '^ *+' conftest.er1 >conftest.err
36721 cat conftest.err >&5
36722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36723 (exit $ac_status); } && {
36724 test -z "$ac_c_werror_flag" ||
36725 test ! -s conftest.err
36726 } && test -s conftest$ac_exeext &&
36727 $as_test_x conftest$ac_exeext; then
36728 eval "$as_ac_var=yes"
36730 echo "$as_me: failed program was:" >&5
36731 sed 's/^/| /' conftest.$ac_ext >&5
36733 eval "$as_ac_var=no"
36736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36737 conftest$ac_exeext conftest.$ac_ext
36739 ac_res=`eval echo '${'$as_ac_var'}'`
36740 { echo "$as_me:$LINENO: result: $ac_res" >&5
36741 echo "${ECHO_T}$ac_res" >&6; }
36742 if test `eval echo '${'$as_ac_var'}'` = yes; then
36743 cat >>confdefs.h <<_ACEOF
36744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36751 { echo "$as_me:$LINENO: checking for statfs" >&5
36752 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36753 if test "${wx_cv_func_statfs+set}" = set; then
36754 echo $ECHO_N "(cached) $ECHO_C" >&6
36756 cat >conftest.$ac_ext <<_ACEOF
36759 cat confdefs.h >>conftest.$ac_ext
36760 cat >>conftest.$ac_ext <<_ACEOF
36761 /* end confdefs.h. */
36763 #if defined(__BSD__)
36764 #include <sys/param.h>
36765 #include <sys/mount.h>
36767 #include <sys/vfs.h>
36785 rm -f conftest.$ac_objext
36786 if { (ac_try="$ac_compile"
36787 case "(($ac_try" in
36788 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36789 *) ac_try_echo
=$ac_try;;
36791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36792 (eval "$ac_compile") 2>conftest.er1
36794 grep -v '^ *+' conftest.er1
>conftest.err
36796 cat conftest.err
>&5
36797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36798 (exit $ac_status); } && {
36799 test -z "$ac_c_werror_flag" ||
36800 test ! -s conftest.err
36801 } && test -s conftest.
$ac_objext; then
36802 wx_cv_func_statfs
=yes
36804 echo "$as_me: failed program was:" >&5
36805 sed 's/^/| /' conftest.
$ac_ext >&5
36807 wx_cv_func_statfs
=no
36811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36814 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36815 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36817 if test "$wx_cv_func_statfs" = "yes"; then
36818 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36819 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36820 if test "${wx_cv_func_statfs_decl+set}" = set; then
36821 echo $ECHO_N "(cached) $ECHO_C" >&6
36824 ac_cpp
='$CXXCPP $CPPFLAGS'
36825 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36826 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36827 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36829 cat >conftest.
$ac_ext <<_ACEOF
36832 cat confdefs.h
>>conftest.
$ac_ext
36833 cat >>conftest.
$ac_ext <<_ACEOF
36834 /* end confdefs.h. */
36836 #if defined(__BSD__)
36837 #include <sys/param.h>
36838 #include <sys/mount.h>
36840 #include <sys/vfs.h>
36854 rm -f conftest.
$ac_objext
36855 if { (ac_try
="$ac_compile"
36856 case "(($ac_try" in
36857 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36858 *) ac_try_echo=$ac_try;;
36860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36861 (eval "$ac_compile") 2>conftest.er1
36863 grep -v '^ *+' conftest.er1 >conftest.err
36865 cat conftest.err >&5
36866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36867 (exit $ac_status); } && {
36868 test -z "$ac_cxx_werror_flag" ||
36869 test ! -s conftest.err
36870 } && test -s conftest.$ac_objext; then
36871 wx_cv_func_statfs_decl=yes
36873 echo "$as_me: failed program was:" >&5
36874 sed 's/^/| /' conftest.$ac_ext >&5
36876 wx_cv_func_statfs_decl=no
36880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36882 ac_cpp='$CPP $CPPFLAGS'
36883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36889 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36890 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36892 if test "$wx_cv_func_statfs_decl" = "yes"; then
36893 cat >>confdefs.h <<\_ACEOF
36894 #define HAVE_STATFS_DECL 1
36899 wx_cv_type_statvfs_t="struct statfs"
36900 cat >>confdefs.h <<\_ACEOF
36901 #define HAVE_STATFS 1
36905 { echo "$as_me:$LINENO: checking for statvfs" >&5
36906 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36907 if test "${wx_cv_func_statvfs+set}" = set; then
36908 echo $ECHO_N "(cached) $ECHO_C" >&6
36910 cat >conftest.$ac_ext <<_ACEOF
36913 cat confdefs.h >>conftest.$ac_ext
36914 cat >>conftest.$ac_ext <<_ACEOF
36915 /* end confdefs.h. */
36917 #include <stddef.h>
36918 #include <sys/statvfs.h>
36924 statvfs("/", NULL);
36930 rm -f conftest.$ac_objext
36931 if { (ac_try="$ac_compile"
36932 case "(($ac_try" in
36933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36934 *) ac_try_echo
=$ac_try;;
36936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36937 (eval "$ac_compile") 2>conftest.er1
36939 grep -v '^ *+' conftest.er1
>conftest.err
36941 cat conftest.err
>&5
36942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36943 (exit $ac_status); } && {
36944 test -z "$ac_c_werror_flag" ||
36945 test ! -s conftest.err
36946 } && test -s conftest.
$ac_objext; then
36947 wx_cv_func_statvfs
=yes
36949 echo "$as_me: failed program was:" >&5
36950 sed 's/^/| /' conftest.
$ac_ext >&5
36952 wx_cv_func_statvfs
=no
36956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36959 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36960 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36962 if test "$wx_cv_func_statvfs" = "yes"; then
36963 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36964 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36965 if test "${wx_cv_type_statvfs_t+set}" = set; then
36966 echo $ECHO_N "(cached) $ECHO_C" >&6
36969 ac_cpp
='$CXXCPP $CPPFLAGS'
36970 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36971 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36972 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36974 cat >conftest.
$ac_ext <<_ACEOF
36977 cat confdefs.h
>>conftest.
$ac_ext
36978 cat >>conftest.
$ac_ext <<_ACEOF
36979 /* end confdefs.h. */
36981 #include <sys/statvfs.h>
36998 rm -f conftest.
$ac_objext
36999 if { (ac_try
="$ac_compile"
37000 case "(($ac_try" in
37001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37002 *) ac_try_echo=$ac_try;;
37004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37005 (eval "$ac_compile") 2>conftest.er1
37007 grep -v '^ *+' conftest.er1 >conftest.err
37009 cat conftest.err >&5
37010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37011 (exit $ac_status); } && {
37012 test -z "$ac_cxx_werror_flag" ||
37013 test ! -s conftest.err
37014 } && test -s conftest.$ac_objext; then
37015 wx_cv_type_statvfs_t=statvfs_t
37017 echo "$as_me: failed program was:" >&5
37018 sed 's/^/| /' conftest.$ac_ext >&5
37021 cat >conftest.$ac_ext <<_ACEOF
37024 cat confdefs.h >>conftest.$ac_ext
37025 cat >>conftest.$ac_ext <<_ACEOF
37026 /* end confdefs.h. */
37028 #include <sys/statvfs.h>
37045 rm -f conftest.$ac_objext
37046 if { (ac_try="$ac_compile"
37047 case "(($ac_try" in
37048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37049 *) ac_try_echo
=$ac_try;;
37051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37052 (eval "$ac_compile") 2>conftest.er1
37054 grep -v '^ *+' conftest.er1
>conftest.err
37056 cat conftest.err
>&5
37057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37058 (exit $ac_status); } && {
37059 test -z "$ac_cxx_werror_flag" ||
37060 test ! -s conftest.err
37061 } && test -s conftest.
$ac_objext; then
37062 wx_cv_type_statvfs_t
="struct statvfs"
37064 echo "$as_me: failed program was:" >&5
37065 sed 's/^/| /' conftest.
$ac_ext >&5
37067 wx_cv_type_statvfs_t
="unknown"
37071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37078 ac_cpp
='$CPP $CPPFLAGS'
37079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37085 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37086 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37088 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37089 cat >>confdefs.h
<<\_ACEOF
37090 #define HAVE_STATVFS 1
37095 wx_cv_type_statvfs_t
="unknown"
37099 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37100 cat >>confdefs.h
<<_ACEOF
37101 #define WX_STATFS_T $wx_cv_type_statvfs_t
37105 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37106 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37109 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37112 for ac_func
in fcntl flock
37114 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37115 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37117 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37118 echo $ECHO_N "(cached) $ECHO_C" >&6
37120 cat >conftest.
$ac_ext <<_ACEOF
37123 cat confdefs.h
>>conftest.
$ac_ext
37124 cat >>conftest.
$ac_ext <<_ACEOF
37125 /* end confdefs.h. */
37126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37128 #define $ac_func innocuous_$ac_func
37130 /* System header to define __stub macros and hopefully few prototypes,
37131 which can conflict with char $ac_func (); below.
37132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37133 <limits.h> exists even on freestanding compilers. */
37136 # include <limits.h>
37138 # include <assert.h>
37143 /* Override any GCC internal prototype to avoid an error.
37144 Use char because int might match the return type of a GCC
37145 builtin and then its argument prototype would still apply. */
37150 /* The GNU C library defines this for functions which it implements
37151 to always fail with ENOSYS. Some functions are actually named
37152 something starting with __ and the normal name is an alias. */
37153 #if defined __stub_$ac_func || defined __stub___$ac_func
37160 return $ac_func ();
37165 rm -f conftest.
$ac_objext conftest
$ac_exeext
37166 if { (ac_try
="$ac_link"
37167 case "(($ac_try" in
37168 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37169 *) ac_try_echo=$ac_try;;
37171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37172 (eval "$ac_link") 2>conftest.er1
37174 grep -v '^ *+' conftest.er1 >conftest.err
37176 cat conftest.err >&5
37177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37178 (exit $ac_status); } && {
37179 test -z "$ac_c_werror_flag" ||
37180 test ! -s conftest.err
37181 } && test -s conftest$ac_exeext &&
37182 $as_test_x conftest$ac_exeext; then
37183 eval "$as_ac_var=yes"
37185 echo "$as_me: failed program was:" >&5
37186 sed 's/^/| /' conftest.$ac_ext >&5
37188 eval "$as_ac_var=no"
37191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37192 conftest$ac_exeext conftest.$ac_ext
37194 ac_res=`eval echo '${'$as_ac_var'}'`
37195 { echo "$as_me:$LINENO: result: $ac_res" >&5
37196 echo "${ECHO_T}$ac_res" >&6; }
37197 if test `eval echo '${'$as_ac_var'}'` = yes; then
37198 cat >>confdefs.h <<_ACEOF
37199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37206 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37207 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37208 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37209 wxUSE_SNGLINST_CHECKER=no
37215 for ac_func in setenv putenv
37217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37220 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37221 echo $ECHO_N "(cached) $ECHO_C" >&6
37223 cat >conftest.$ac_ext <<_ACEOF
37226 cat confdefs.h >>conftest.$ac_ext
37227 cat >>conftest.$ac_ext <<_ACEOF
37228 /* end confdefs.h. */
37229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37231 #define $ac_func innocuous_$ac_func
37233 /* System header to define __stub macros and hopefully few prototypes,
37234 which can conflict with char $ac_func (); below.
37235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37236 <limits.h> exists even on freestanding compilers. */
37239 # include <limits.h>
37241 # include <assert.h>
37246 /* Override any GCC internal prototype to avoid an error.
37247 Use char because int might match the return type of a GCC
37248 builtin and then its argument prototype would still apply. */
37253 /* The GNU C library defines this for functions which it implements
37254 to always fail with ENOSYS. Some functions are actually named
37255 something starting with __ and the normal name is an alias. */
37256 #if defined __stub_$ac_func || defined __stub___$ac_func
37263 return $ac_func ();
37268 rm -f conftest.$ac_objext conftest$ac_exeext
37269 if { (ac_try="$ac_link"
37270 case "(($ac_try" in
37271 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37272 *) ac_try_echo
=$ac_try;;
37274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37275 (eval "$ac_link") 2>conftest.er1
37277 grep -v '^ *+' conftest.er1
>conftest.err
37279 cat conftest.err
>&5
37280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37281 (exit $ac_status); } && {
37282 test -z "$ac_c_werror_flag" ||
37283 test ! -s conftest.err
37284 } && test -s conftest
$ac_exeext &&
37285 $as_test_x conftest
$ac_exeext; then
37286 eval "$as_ac_var=yes"
37288 echo "$as_me: failed program was:" >&5
37289 sed 's/^/| /' conftest.
$ac_ext >&5
37291 eval "$as_ac_var=no"
37294 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37295 conftest
$ac_exeext conftest.
$ac_ext
37297 ac_res
=`eval echo '${'$as_ac_var'}'`
37298 { echo "$as_me:$LINENO: result: $ac_res" >&5
37299 echo "${ECHO_T}$ac_res" >&6; }
37300 if test `eval echo '${'$as_ac_var'}'` = yes; then
37301 cat >>confdefs.h
<<_ACEOF
37302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37308 if test "$ac_cv_func_setenv" = "yes"; then
37310 for ac_func
in unsetenv
37312 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37313 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37315 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37316 echo $ECHO_N "(cached) $ECHO_C" >&6
37318 cat >conftest.
$ac_ext <<_ACEOF
37321 cat confdefs.h
>>conftest.
$ac_ext
37322 cat >>conftest.
$ac_ext <<_ACEOF
37323 /* end confdefs.h. */
37324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37326 #define $ac_func innocuous_$ac_func
37328 /* System header to define __stub macros and hopefully few prototypes,
37329 which can conflict with char $ac_func (); below.
37330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37331 <limits.h> exists even on freestanding compilers. */
37334 # include <limits.h>
37336 # include <assert.h>
37341 /* Override any GCC internal prototype to avoid an error.
37342 Use char because int might match the return type of a GCC
37343 builtin and then its argument prototype would still apply. */
37348 /* The GNU C library defines this for functions which it implements
37349 to always fail with ENOSYS. Some functions are actually named
37350 something starting with __ and the normal name is an alias. */
37351 #if defined __stub_$ac_func || defined __stub___$ac_func
37358 return $ac_func ();
37363 rm -f conftest.
$ac_objext conftest
$ac_exeext
37364 if { (ac_try
="$ac_link"
37365 case "(($ac_try" in
37366 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37367 *) ac_try_echo=$ac_try;;
37369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37370 (eval "$ac_link") 2>conftest.er1
37372 grep -v '^ *+' conftest.er1 >conftest.err
37374 cat conftest.err >&5
37375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376 (exit $ac_status); } && {
37377 test -z "$ac_c_werror_flag" ||
37378 test ! -s conftest.err
37379 } && test -s conftest$ac_exeext &&
37380 $as_test_x conftest$ac_exeext; then
37381 eval "$as_ac_var=yes"
37383 echo "$as_me: failed program was:" >&5
37384 sed 's/^/| /' conftest.$ac_ext >&5
37386 eval "$as_ac_var=no"
37389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37390 conftest$ac_exeext conftest.$ac_ext
37392 ac_res=`eval echo '${'$as_ac_var'}'`
37393 { echo "$as_me:$LINENO: result: $ac_res" >&5
37394 echo "${ECHO_T}$ac_res" >&6; }
37395 if test `eval echo '${'$as_ac_var'}'` = yes; then
37396 cat >>confdefs.h <<_ACEOF
37397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37405 HAVE_SOME_SLEEP_FUNC=0
37406 if test "$USE_BEOS" = 1; then
37407 cat >>confdefs.h <<\_ACEOF
37408 #define HAVE_SLEEP 1
37411 HAVE_SOME_SLEEP_FUNC=1
37414 if test "$USE_DARWIN" = 1; then
37415 cat >>confdefs.h <<\_ACEOF
37416 #define HAVE_USLEEP 1
37419 HAVE_SOME_SLEEP_FUNC=1
37422 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37425 for ac_func in nanosleep
37427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37428 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37430 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37431 echo $ECHO_N "(cached) $ECHO_C" >&6
37433 cat >conftest.$ac_ext <<_ACEOF
37436 cat confdefs.h >>conftest.$ac_ext
37437 cat >>conftest.$ac_ext <<_ACEOF
37438 /* end confdefs.h. */
37439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37441 #define $ac_func innocuous_$ac_func
37443 /* System header to define __stub macros and hopefully few prototypes,
37444 which can conflict with char $ac_func (); below.
37445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37446 <limits.h> exists even on freestanding compilers. */
37449 # include <limits.h>
37451 # include <assert.h>
37456 /* Override any GCC internal prototype to avoid an error.
37457 Use char because int might match the return type of a GCC
37458 builtin and then its argument prototype would still apply. */
37463 /* The GNU C library defines this for functions which it implements
37464 to always fail with ENOSYS. Some functions are actually named
37465 something starting with __ and the normal name is an alias. */
37466 #if defined __stub_$ac_func || defined __stub___$ac_func
37473 return $ac_func ();
37478 rm -f conftest.$ac_objext conftest$ac_exeext
37479 if { (ac_try="$ac_link"
37480 case "(($ac_try" in
37481 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37482 *) ac_try_echo
=$ac_try;;
37484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37485 (eval "$ac_link") 2>conftest.er1
37487 grep -v '^ *+' conftest.er1
>conftest.err
37489 cat conftest.err
>&5
37490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37491 (exit $ac_status); } && {
37492 test -z "$ac_c_werror_flag" ||
37493 test ! -s conftest.err
37494 } && test -s conftest
$ac_exeext &&
37495 $as_test_x conftest
$ac_exeext; then
37496 eval "$as_ac_var=yes"
37498 echo "$as_me: failed program was:" >&5
37499 sed 's/^/| /' conftest.
$ac_ext >&5
37501 eval "$as_ac_var=no"
37504 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37505 conftest
$ac_exeext conftest.
$ac_ext
37507 ac_res
=`eval echo '${'$as_ac_var'}'`
37508 { echo "$as_me:$LINENO: result: $ac_res" >&5
37509 echo "${ECHO_T}$ac_res" >&6; }
37510 if test `eval echo '${'$as_ac_var'}'` = yes; then
37511 cat >>confdefs.h
<<_ACEOF
37512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37514 cat >>confdefs.h
<<\_ACEOF
37515 #define HAVE_NANOSLEEP 1
37520 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37521 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37522 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37523 echo $ECHO_N "(cached) $ECHO_C" >&6
37525 ac_check_lib_save_LIBS
=$LIBS
37526 LIBS
="-lposix4 $LIBS"
37527 cat >conftest.
$ac_ext <<_ACEOF
37530 cat confdefs.h
>>conftest.
$ac_ext
37531 cat >>conftest.
$ac_ext <<_ACEOF
37532 /* end confdefs.h. */
37534 /* Override any GCC internal prototype to avoid an error.
37535 Use char because int might match the return type of a GCC
37536 builtin and then its argument prototype would still apply. */
37544 return nanosleep ();
37549 rm -f conftest.
$ac_objext conftest
$ac_exeext
37550 if { (ac_try
="$ac_link"
37551 case "(($ac_try" in
37552 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37553 *) ac_try_echo=$ac_try;;
37555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37556 (eval "$ac_link") 2>conftest.er1
37558 grep -v '^ *+' conftest.er1 >conftest.err
37560 cat conftest.err >&5
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); } && {
37563 test -z "$ac_c_werror_flag" ||
37564 test ! -s conftest.err
37565 } && test -s conftest$ac_exeext &&
37566 $as_test_x conftest$ac_exeext; then
37567 ac_cv_lib_posix4_nanosleep=yes
37569 echo "$as_me: failed program was:" >&5
37570 sed 's/^/| /' conftest.$ac_ext >&5
37572 ac_cv_lib_posix4_nanosleep=no
37575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37576 conftest$ac_exeext conftest.$ac_ext
37577 LIBS=$ac_check_lib_save_LIBS
37579 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37580 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37581 if test $ac_cv_lib_posix4_nanosleep = yes; then
37583 cat >>confdefs.h <<\_ACEOF
37584 #define HAVE_NANOSLEEP 1
37587 POSIX4_LINK=" -lposix4"
37592 for wx_func in usleep
37594 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37595 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37596 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37597 echo $ECHO_N "(cached) $ECHO_C" >&6
37600 cat >conftest.$ac_ext <<_ACEOF
37604 cat confdefs.h >>conftest.$ac_ext
37605 cat >>conftest.$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37609 $ac_includes_default
37625 rm -f conftest.$ac_objext conftest$ac_exeext
37626 if { (ac_try="$ac_link"
37627 case "(($ac_try" in
37628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37629 *) ac_try_echo
=$ac_try;;
37631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37632 (eval "$ac_link") 2>conftest.er1
37634 grep -v '^ *+' conftest.er1
>conftest.err
37636 cat conftest.err
>&5
37637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37638 (exit $ac_status); } && {
37639 test -z "$ac_c_werror_flag" ||
37640 test ! -s conftest.err
37641 } && test -s conftest
$ac_exeext &&
37642 $as_test_x conftest
$ac_exeext; then
37643 eval wx_cv_func_
$wx_func=yes
37645 echo "$as_me: failed program was:" >&5
37646 sed 's/^/| /' conftest.
$ac_ext >&5
37648 eval wx_cv_func_
$wx_func=no
37651 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37652 conftest
$ac_exeext conftest.
$ac_ext
37655 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37656 { echo "$as_me:$LINENO: result: $ac_res" >&5
37657 echo "${ECHO_T}$ac_res" >&6; }
37659 if eval test \
$wx_cv_func_$wx_func = yes
37661 cat >>confdefs.h
<<_ACEOF
37662 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37668 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37669 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37686 for wx_func
in uname
37688 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37689 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37690 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37691 echo $ECHO_N "(cached) $ECHO_C" >&6
37694 cat >conftest.
$ac_ext <<_ACEOF
37698 cat confdefs.h
>>conftest.
$ac_ext
37699 cat >>conftest.
$ac_ext <<_ACEOF
37700 /* end confdefs.h. */
37702 #include <sys/utsname.h>
37703 $ac_includes_default
37719 rm -f conftest.
$ac_objext conftest
$ac_exeext
37720 if { (ac_try
="$ac_link"
37721 case "(($ac_try" in
37722 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37723 *) ac_try_echo=$ac_try;;
37725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37726 (eval "$ac_link") 2>conftest.er1
37728 grep -v '^ *+' conftest.er1 >conftest.err
37730 cat conftest.err >&5
37731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37732 (exit $ac_status); } && {
37733 test -z "$ac_c_werror_flag" ||
37734 test ! -s conftest.err
37735 } && test -s conftest$ac_exeext &&
37736 $as_test_x conftest$ac_exeext; then
37737 eval wx_cv_func_$wx_func=yes
37739 echo "$as_me: failed program was:" >&5
37740 sed 's/^/| /' conftest.$ac_ext >&5
37742 eval wx_cv_func_$wx_func=no
37745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37746 conftest$ac_exeext conftest.$ac_ext
37749 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37750 { echo "$as_me:$LINENO: result: $ac_res" >&5
37751 echo "${ECHO_T}$ac_res" >&6; }
37753 if eval test \$wx_cv_func_$wx_func = yes
37755 cat >>confdefs.h <<_ACEOF
37756 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37766 if test "$wx_cv_func_uname" != yes; then
37768 for wx_func in gethostname
37770 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37771 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37772 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37773 echo $ECHO_N "(cached) $ECHO_C" >&6
37776 cat >conftest.$ac_ext <<_ACEOF
37780 cat confdefs.h >>conftest.$ac_ext
37781 cat >>conftest.$ac_ext <<_ACEOF
37782 /* end confdefs.h. */
37785 $ac_includes_default
37801 rm -f conftest.$ac_objext conftest$ac_exeext
37802 if { (ac_try="$ac_link"
37803 case "(($ac_try" in
37804 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37805 *) ac_try_echo
=$ac_try;;
37807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37808 (eval "$ac_link") 2>conftest.er1
37810 grep -v '^ *+' conftest.er1
>conftest.err
37812 cat conftest.err
>&5
37813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37814 (exit $ac_status); } && {
37815 test -z "$ac_c_werror_flag" ||
37816 test ! -s conftest.err
37817 } && test -s conftest
$ac_exeext &&
37818 $as_test_x conftest
$ac_exeext; then
37819 eval wx_cv_func_
$wx_func=yes
37821 echo "$as_me: failed program was:" >&5
37822 sed 's/^/| /' conftest.
$ac_ext >&5
37824 eval wx_cv_func_
$wx_func=no
37827 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37828 conftest
$ac_exeext conftest.
$ac_ext
37831 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37832 { echo "$as_me:$LINENO: result: $ac_res" >&5
37833 echo "${ECHO_T}$ac_res" >&6; }
37835 if eval test \
$wx_cv_func_$wx_func = yes
37837 cat >>confdefs.h
<<_ACEOF
37838 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37851 for wx_func
in strtok_r
37853 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37854 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37855 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37856 echo $ECHO_N "(cached) $ECHO_C" >&6
37859 cat >conftest.
$ac_ext <<_ACEOF
37863 cat confdefs.h
>>conftest.
$ac_ext
37864 cat >>conftest.
$ac_ext <<_ACEOF
37865 /* end confdefs.h. */
37868 $ac_includes_default
37884 rm -f conftest.
$ac_objext conftest
$ac_exeext
37885 if { (ac_try
="$ac_link"
37886 case "(($ac_try" in
37887 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37888 *) ac_try_echo=$ac_try;;
37890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37891 (eval "$ac_link") 2>conftest.er1
37893 grep -v '^ *+' conftest.er1 >conftest.err
37895 cat conftest.err >&5
37896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37897 (exit $ac_status); } && {
37898 test -z "$ac_c_werror_flag" ||
37899 test ! -s conftest.err
37900 } && test -s conftest$ac_exeext &&
37901 $as_test_x conftest$ac_exeext; then
37902 eval wx_cv_func_$wx_func=yes
37904 echo "$as_me: failed program was:" >&5
37905 sed 's/^/| /' conftest.$ac_ext >&5
37907 eval wx_cv_func_$wx_func=no
37910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37911 conftest$ac_exeext conftest.$ac_ext
37914 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37915 { echo "$as_me:$LINENO: result: $ac_res" >&5
37916 echo "${ECHO_T}$ac_res" >&6; }
37918 if eval test \$wx_cv_func_$wx_func = yes
37920 cat >>confdefs.h <<_ACEOF
37921 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37934 for ac_func in inet_addr
37936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37937 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37939 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37940 echo $ECHO_N "(cached) $ECHO_C" >&6
37942 cat >conftest.$ac_ext <<_ACEOF
37945 cat confdefs.h >>conftest.$ac_ext
37946 cat >>conftest.$ac_ext <<_ACEOF
37947 /* end confdefs.h. */
37948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37950 #define $ac_func innocuous_$ac_func
37952 /* System header to define __stub macros and hopefully few prototypes,
37953 which can conflict with char $ac_func (); below.
37954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37955 <limits.h> exists even on freestanding compilers. */
37958 # include <limits.h>
37960 # include <assert.h>
37965 /* Override any GCC internal prototype to avoid an error.
37966 Use char because int might match the return type of a GCC
37967 builtin and then its argument prototype would still apply. */
37972 /* The GNU C library defines this for functions which it implements
37973 to always fail with ENOSYS. Some functions are actually named
37974 something starting with __ and the normal name is an alias. */
37975 #if defined __stub_$ac_func || defined __stub___$ac_func
37982 return $ac_func ();
37987 rm -f conftest.$ac_objext conftest$ac_exeext
37988 if { (ac_try="$ac_link"
37989 case "(($ac_try" in
37990 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37991 *) ac_try_echo
=$ac_try;;
37993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37994 (eval "$ac_link") 2>conftest.er1
37996 grep -v '^ *+' conftest.er1
>conftest.err
37998 cat conftest.err
>&5
37999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38000 (exit $ac_status); } && {
38001 test -z "$ac_c_werror_flag" ||
38002 test ! -s conftest.err
38003 } && test -s conftest
$ac_exeext &&
38004 $as_test_x conftest
$ac_exeext; then
38005 eval "$as_ac_var=yes"
38007 echo "$as_me: failed program was:" >&5
38008 sed 's/^/| /' conftest.
$ac_ext >&5
38010 eval "$as_ac_var=no"
38013 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38014 conftest
$ac_exeext conftest.
$ac_ext
38016 ac_res
=`eval echo '${'$as_ac_var'}'`
38017 { echo "$as_me:$LINENO: result: $ac_res" >&5
38018 echo "${ECHO_T}$ac_res" >&6; }
38019 if test `eval echo '${'$as_ac_var'}'` = yes; then
38020 cat >>confdefs.h
<<_ACEOF
38021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38023 cat >>confdefs.h
<<\_ACEOF
38024 #define HAVE_INET_ADDR 1
38029 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38030 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38031 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38032 echo $ECHO_N "(cached) $ECHO_C" >&6
38034 ac_check_lib_save_LIBS
=$LIBS
38036 cat >conftest.
$ac_ext <<_ACEOF
38039 cat confdefs.h
>>conftest.
$ac_ext
38040 cat >>conftest.
$ac_ext <<_ACEOF
38041 /* end confdefs.h. */
38043 /* Override any GCC internal prototype to avoid an error.
38044 Use char because int might match the return type of a GCC
38045 builtin and then its argument prototype would still apply. */
38053 return inet_addr ();
38058 rm -f conftest.
$ac_objext conftest
$ac_exeext
38059 if { (ac_try
="$ac_link"
38060 case "(($ac_try" in
38061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38062 *) ac_try_echo=$ac_try;;
38064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38065 (eval "$ac_link") 2>conftest.er1
38067 grep -v '^ *+' conftest.er1 >conftest.err
38069 cat conftest.err >&5
38070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38071 (exit $ac_status); } && {
38072 test -z "$ac_c_werror_flag" ||
38073 test ! -s conftest.err
38074 } && test -s conftest$ac_exeext &&
38075 $as_test_x conftest$ac_exeext; then
38076 ac_cv_lib_nsl_inet_addr=yes
38078 echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.$ac_ext >&5
38081 ac_cv_lib_nsl_inet_addr=no
38084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38085 conftest$ac_exeext conftest.$ac_ext
38086 LIBS=$ac_check_lib_save_LIBS
38088 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38089 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38090 if test $ac_cv_lib_nsl_inet_addr = yes; then
38094 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38095 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38096 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38097 echo $ECHO_N "(cached) $ECHO_C" >&6
38099 ac_check_lib_save_LIBS=$LIBS
38100 LIBS="-lresolv $LIBS"
38101 cat >conftest.$ac_ext <<_ACEOF
38104 cat confdefs.h >>conftest.$ac_ext
38105 cat >>conftest.$ac_ext <<_ACEOF
38106 /* end confdefs.h. */
38108 /* Override any GCC internal prototype to avoid an error.
38109 Use char because int might match the return type of a GCC
38110 builtin and then its argument prototype would still apply. */
38118 return inet_addr ();
38123 rm -f conftest.$ac_objext conftest$ac_exeext
38124 if { (ac_try="$ac_link"
38125 case "(($ac_try" in
38126 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38127 *) ac_try_echo
=$ac_try;;
38129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38130 (eval "$ac_link") 2>conftest.er1
38132 grep -v '^ *+' conftest.er1
>conftest.err
38134 cat conftest.err
>&5
38135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38136 (exit $ac_status); } && {
38137 test -z "$ac_c_werror_flag" ||
38138 test ! -s conftest.err
38139 } && test -s conftest
$ac_exeext &&
38140 $as_test_x conftest
$ac_exeext; then
38141 ac_cv_lib_resolv_inet_addr
=yes
38143 echo "$as_me: failed program was:" >&5
38144 sed 's/^/| /' conftest.
$ac_ext >&5
38146 ac_cv_lib_resolv_inet_addr
=no
38149 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38150 conftest
$ac_exeext conftest.
$ac_ext
38151 LIBS
=$ac_check_lib_save_LIBS
38153 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38154 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38155 if test $ac_cv_lib_resolv_inet_addr = yes; then
38159 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38160 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38161 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38162 echo $ECHO_N "(cached) $ECHO_C" >&6
38164 ac_check_lib_save_LIBS
=$LIBS
38165 LIBS
="-lsocket $LIBS"
38166 cat >conftest.
$ac_ext <<_ACEOF
38169 cat confdefs.h
>>conftest.
$ac_ext
38170 cat >>conftest.
$ac_ext <<_ACEOF
38171 /* end confdefs.h. */
38173 /* Override any GCC internal prototype to avoid an error.
38174 Use char because int might match the return type of a GCC
38175 builtin and then its argument prototype would still apply. */
38183 return inet_addr ();
38188 rm -f conftest.
$ac_objext conftest
$ac_exeext
38189 if { (ac_try
="$ac_link"
38190 case "(($ac_try" in
38191 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38192 *) ac_try_echo=$ac_try;;
38194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38195 (eval "$ac_link") 2>conftest.er1
38197 grep -v '^ *+' conftest.er1 >conftest.err
38199 cat conftest.err >&5
38200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38201 (exit $ac_status); } && {
38202 test -z "$ac_c_werror_flag" ||
38203 test ! -s conftest.err
38204 } && test -s conftest$ac_exeext &&
38205 $as_test_x conftest$ac_exeext; then
38206 ac_cv_lib_socket_inet_addr=yes
38208 echo "$as_me: failed program was:" >&5
38209 sed 's/^/| /' conftest.$ac_ext >&5
38211 ac_cv_lib_socket_inet_addr=no
38214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38215 conftest$ac_exeext conftest.$ac_ext
38216 LIBS=$ac_check_lib_save_LIBS
38218 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38219 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38220 if test $ac_cv_lib_socket_inet_addr = yes; then
38240 for ac_func in inet_aton
38242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38243 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38245 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38246 echo $ECHO_N "(cached) $ECHO_C" >&6
38248 cat >conftest.$ac_ext <<_ACEOF
38251 cat confdefs.h >>conftest.$ac_ext
38252 cat >>conftest.$ac_ext <<_ACEOF
38253 /* end confdefs.h. */
38254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38256 #define $ac_func innocuous_$ac_func
38258 /* System header to define __stub macros and hopefully few prototypes,
38259 which can conflict with char $ac_func (); below.
38260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38261 <limits.h> exists even on freestanding compilers. */
38264 # include <limits.h>
38266 # include <assert.h>
38271 /* Override any GCC internal prototype to avoid an error.
38272 Use char because int might match the return type of a GCC
38273 builtin and then its argument prototype would still apply. */
38278 /* The GNU C library defines this for functions which it implements
38279 to always fail with ENOSYS. Some functions are actually named
38280 something starting with __ and the normal name is an alias. */
38281 #if defined __stub_$ac_func || defined __stub___$ac_func
38288 return $ac_func ();
38293 rm -f conftest.$ac_objext conftest$ac_exeext
38294 if { (ac_try="$ac_link"
38295 case "(($ac_try" in
38296 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38297 *) ac_try_echo
=$ac_try;;
38299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38300 (eval "$ac_link") 2>conftest.er1
38302 grep -v '^ *+' conftest.er1
>conftest.err
38304 cat conftest.err
>&5
38305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38306 (exit $ac_status); } && {
38307 test -z "$ac_c_werror_flag" ||
38308 test ! -s conftest.err
38309 } && test -s conftest
$ac_exeext &&
38310 $as_test_x conftest
$ac_exeext; then
38311 eval "$as_ac_var=yes"
38313 echo "$as_me: failed program was:" >&5
38314 sed 's/^/| /' conftest.
$ac_ext >&5
38316 eval "$as_ac_var=no"
38319 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38320 conftest
$ac_exeext conftest.
$ac_ext
38322 ac_res
=`eval echo '${'$as_ac_var'}'`
38323 { echo "$as_me:$LINENO: result: $ac_res" >&5
38324 echo "${ECHO_T}$ac_res" >&6; }
38325 if test `eval echo '${'$as_ac_var'}'` = yes; then
38326 cat >>confdefs.h
<<_ACEOF
38327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38329 cat >>confdefs.h
<<\_ACEOF
38330 #define HAVE_INET_ATON 1
38335 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38336 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38337 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38338 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38339 echo $ECHO_N "(cached) $ECHO_C" >&6
38341 ac_check_lib_save_LIBS
=$LIBS
38342 LIBS
="-l$INET_LINK $LIBS"
38343 cat >conftest.
$ac_ext <<_ACEOF
38346 cat confdefs.h
>>conftest.
$ac_ext
38347 cat >>conftest.
$ac_ext <<_ACEOF
38348 /* end confdefs.h. */
38350 /* Override any GCC internal prototype to avoid an error.
38351 Use char because int might match the return type of a GCC
38352 builtin and then its argument prototype would still apply. */
38360 return inet_aton ();
38365 rm -f conftest.
$ac_objext conftest
$ac_exeext
38366 if { (ac_try
="$ac_link"
38367 case "(($ac_try" in
38368 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38369 *) ac_try_echo=$ac_try;;
38371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38372 (eval "$ac_link") 2>conftest.er1
38374 grep -v '^ *+' conftest.er1 >conftest.err
38376 cat conftest.err >&5
38377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38378 (exit $ac_status); } && {
38379 test -z "$ac_c_werror_flag" ||
38380 test ! -s conftest.err
38381 } && test -s conftest$ac_exeext &&
38382 $as_test_x conftest$ac_exeext; then
38383 eval "$as_ac_Lib=yes"
38385 echo "$as_me: failed program was:" >&5
38386 sed 's/^/| /' conftest.$ac_ext >&5
38388 eval "$as_ac_Lib=no"
38391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38392 conftest$ac_exeext conftest.$ac_ext
38393 LIBS=$ac_check_lib_save_LIBS
38395 ac_res=`eval echo '${'$as_ac_Lib'}'`
38396 { echo "$as_me:$LINENO: result: $ac_res" >&5
38397 echo "${ECHO_T}$ac_res" >&6; }
38398 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38399 cat >>confdefs.h <<\_ACEOF
38400 #define HAVE_INET_ATON 1
38410 if test "x$INET_LINK" != "x"; then
38411 cat >>confdefs.h <<\_ACEOF
38412 #define HAVE_INET_ADDR 1
38415 INET_LINK=" -l$INET_LINK"
38419 for wx_func in fdopen
38421 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38422 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38423 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38424 echo $ECHO_N "(cached) $ECHO_C" >&6
38427 cat >conftest.$ac_ext <<_ACEOF
38431 cat confdefs.h >>conftest.$ac_ext
38432 cat >>conftest.$ac_ext <<_ACEOF
38433 /* end confdefs.h. */
38436 $ac_includes_default
38452 rm -f conftest.$ac_objext conftest$ac_exeext
38453 if { (ac_try="$ac_link"
38454 case "(($ac_try" in
38455 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38456 *) ac_try_echo
=$ac_try;;
38458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38459 (eval "$ac_link") 2>conftest.er1
38461 grep -v '^ *+' conftest.er1
>conftest.err
38463 cat conftest.err
>&5
38464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38465 (exit $ac_status); } && {
38466 test -z "$ac_c_werror_flag" ||
38467 test ! -s conftest.err
38468 } && test -s conftest
$ac_exeext &&
38469 $as_test_x conftest
$ac_exeext; then
38470 eval wx_cv_func_
$wx_func=yes
38472 echo "$as_me: failed program was:" >&5
38473 sed 's/^/| /' conftest.
$ac_ext >&5
38475 eval wx_cv_func_
$wx_func=no
38478 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38479 conftest
$ac_exeext conftest.
$ac_ext
38482 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38483 { echo "$as_me:$LINENO: result: $ac_res" >&5
38484 echo "${ECHO_T}$ac_res" >&6; }
38486 if eval test \
$wx_cv_func_$wx_func = yes
38488 cat >>confdefs.h
<<_ACEOF
38489 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38500 if test "$wxUSE_TARSTREAM" = "yes"; then
38502 for wx_func
in sysconf
38504 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38505 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38506 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38507 echo $ECHO_N "(cached) $ECHO_C" >&6
38510 cat >conftest.
$ac_ext <<_ACEOF
38514 cat confdefs.h
>>conftest.
$ac_ext
38515 cat >>conftest.
$ac_ext <<_ACEOF
38516 /* end confdefs.h. */
38519 $ac_includes_default
38535 rm -f conftest.
$ac_objext conftest
$ac_exeext
38536 if { (ac_try
="$ac_link"
38537 case "(($ac_try" in
38538 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38539 *) ac_try_echo=$ac_try;;
38541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38542 (eval "$ac_link") 2>conftest.er1
38544 grep -v '^ *+' conftest.er1 >conftest.err
38546 cat conftest.err >&5
38547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38548 (exit $ac_status); } && {
38549 test -z "$ac_c_werror_flag" ||
38550 test ! -s conftest.err
38551 } && test -s conftest$ac_exeext &&
38552 $as_test_x conftest$ac_exeext; then
38553 eval wx_cv_func_$wx_func=yes
38555 echo "$as_me: failed program was:" >&5
38556 sed 's/^/| /' conftest.$ac_ext >&5
38558 eval wx_cv_func_$wx_func=no
38561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38562 conftest$ac_exeext conftest.$ac_ext
38565 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38566 { echo "$as_me:$LINENO: result: $ac_res" >&5
38567 echo "${ECHO_T}$ac_res" >&6; }
38569 if eval test \$wx_cv_func_$wx_func = yes
38571 cat >>confdefs.h <<_ACEOF
38572 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38584 for wx_func in getpwuid_r
38586 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38587 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38588 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38589 echo $ECHO_N "(cached) $ECHO_C" >&6
38592 cat >conftest.$ac_ext <<_ACEOF
38596 cat confdefs.h >>conftest.$ac_ext
38597 cat >>conftest.$ac_ext <<_ACEOF
38598 /* end confdefs.h. */
38604 $ac_includes_default
38614 struct passwd pw, *ppw;
38616 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38624 rm -f conftest.$ac_objext conftest$ac_exeext
38625 if { (ac_try="$ac_link"
38626 case "(($ac_try" in
38627 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38628 *) ac_try_echo
=$ac_try;;
38630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38631 (eval "$ac_link") 2>conftest.er1
38633 grep -v '^ *+' conftest.er1
>conftest.err
38635 cat conftest.err
>&5
38636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637 (exit $ac_status); } && {
38638 test -z "$ac_c_werror_flag" ||
38639 test ! -s conftest.err
38640 } && test -s conftest
$ac_exeext &&
38641 $as_test_x conftest
$ac_exeext; then
38642 eval wx_cv_func_
$wx_func=yes
38644 echo "$as_me: failed program was:" >&5
38645 sed 's/^/| /' conftest.
$ac_ext >&5
38647 eval wx_cv_func_
$wx_func=no
38650 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38651 conftest
$ac_exeext conftest.
$ac_ext
38654 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
38655 { echo "$as_me:$LINENO: result: $ac_res" >&5
38656 echo "${ECHO_T}$ac_res" >&6; }
38658 if eval test \
$wx_cv_func_$wx_func = yes
38660 cat >>confdefs.h
<<_ACEOF
38661 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38673 for wx_func
in getgrgid_r
38675 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38676 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38677 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38678 echo $ECHO_N "(cached) $ECHO_C" >&6
38681 cat >conftest.
$ac_ext <<_ACEOF
38685 cat confdefs.h
>>conftest.
$ac_ext
38686 cat >>conftest.
$ac_ext <<_ACEOF
38687 /* end confdefs.h. */
38693 $ac_includes_default
38703 struct group grp, *pgrp;
38705 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38713 rm -f conftest.
$ac_objext conftest
$ac_exeext
38714 if { (ac_try
="$ac_link"
38715 case "(($ac_try" in
38716 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38717 *) ac_try_echo=$ac_try;;
38719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38720 (eval "$ac_link") 2>conftest.er1
38722 grep -v '^ *+' conftest.er1 >conftest.err
38724 cat conftest.err >&5
38725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726 (exit $ac_status); } && {
38727 test -z "$ac_c_werror_flag" ||
38728 test ! -s conftest.err
38729 } && test -s conftest$ac_exeext &&
38730 $as_test_x conftest$ac_exeext; then
38731 eval wx_cv_func_$wx_func=yes
38733 echo "$as_me: failed program was:" >&5
38734 sed 's/^/| /' conftest.$ac_ext >&5
38736 eval wx_cv_func_$wx_func=no
38739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38740 conftest$ac_exeext conftest.$ac_ext
38743 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38744 { echo "$as_me:$LINENO: result: $ac_res" >&5
38745 echo "${ECHO_T}$ac_res" >&6; }
38747 if eval test \$wx_cv_func_$wx_func = yes
38749 cat >>confdefs.h <<_ACEOF
38750 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38766 cat >confcache <<\_ACEOF
38767 # This file is a shell script that caches the results of configure
38768 # tests run on this system so they can be shared between configure
38769 # scripts and configure runs, see configure's option --config-cache.
38770 # It is not useful on other systems. If it contains results you don't
38771 # want to keep, you may remove or edit it.
38773 # config.status only pays attention to the cache file if you give it
38774 # the --recheck option to rerun configure.
38776 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
38777 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38778 # following values.
38782 # The following way of writing the cache mishandles newlines in values,
38783 # but we know of no workaround that is simple, portable, and efficient.
38784 # So, we kill variables containing newlines.
38785 # Ultrix sh set writes to stderr and can't be redirected directly,
38786 # and sets the high bit in the cache file unless we assign to the vars.
38788 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38789 eval ac_val
=\$
$ac_var
38793 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38794 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38797 _
| IFS
| as_nl
) ;; #(
38798 *) $as_unset $ac_var ;;
38804 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38805 *${as_nl}ac_space
=\
*)
38806 # `set' does not quote correctly, so add quotes (double-quote
38807 # substitution turns \\\\ into \\, and sed turns \\ into \).
38810 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38813 # `set' quotes correctly as required by POSIX, so do not add quotes.
38814 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38823 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38825 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38827 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
38828 if test -w "$cache_file"; then
38829 test "x$cache_file" != "x/dev/null" &&
38830 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38831 echo "$as_me: updating cache $cache_file" >&6;}
38832 cat confcache
>$cache_file
38834 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38835 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38841 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38847 if test "$wxUSE_THREADS" = "yes" ; then
38848 if test "$USE_BEOS" = 1; then
38849 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38850 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38855 if test "$wxUSE_THREADS" = "yes" ; then
38858 THREAD_OPTS
="-pthread"
38859 if test "x$SUNCXX" = xyes
; then
38860 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
38864 *-*-solaris2* | *-*-sunos4* )
38865 if test "x$GCC" = "xyes"; then
38866 THREAD_OPTS
="-pthreads $THREAD_OPTS"
38870 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
38872 *-*-darwin* | *-*-cygwin* )
38876 THREAD_OPTS
="pthreads"
38879 if test "x$GCC" = "xyes"; then
38880 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
38888 if test "x$GCC" = "xyes"; then
38894 if test "x$GCC" != "xyes"; then
38895 THREAD_OPTS
="-Ethread"
38900 THREAD_OPTS
="$THREAD_OPTS pthread none"
38903 for flag
in $THREAD_OPTS; do
38906 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38907 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38911 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38912 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38913 THREADS_CFLAGS
="$flag"
38917 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38918 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38919 THREADS_LINK
="-l$flag"
38924 save_CFLAGS
="$CFLAGS"
38925 LIBS
="$THREADS_LINK $LIBS"
38926 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
38928 cat >conftest.
$ac_ext <<_ACEOF
38931 cat confdefs.h
>>conftest.
$ac_ext
38932 cat >>conftest.
$ac_ext <<_ACEOF
38933 /* end confdefs.h. */
38934 #include <pthread.h>
38938 pthread_create(0,0,0,0);
38943 rm -f conftest.
$ac_objext conftest
$ac_exeext
38944 if { (ac_try
="$ac_link"
38945 case "(($ac_try" in
38946 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38947 *) ac_try_echo=$ac_try;;
38949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38950 (eval "$ac_link") 2>conftest.er1
38952 grep -v '^ *+' conftest.er1 >conftest.err
38954 cat conftest.err >&5
38955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38956 (exit $ac_status); } && {
38957 test -z "$ac_c_werror_flag" ||
38958 test ! -s conftest.err
38959 } && test -s conftest$ac_exeext &&
38960 $as_test_x conftest$ac_exeext; then
38963 echo "$as_me: failed program was:" >&5
38964 sed 's/^/| /' conftest.$ac_ext >&5
38969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38970 conftest$ac_exeext conftest.$ac_ext
38973 CFLAGS="$save_CFLAGS"
38975 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38976 echo "${ECHO_T}$THREADS_OK" >&6; }
38977 if test "x$THREADS_OK" = "xyes"; then
38985 if test "x$THREADS_OK" != "xyes"; then
38987 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38988 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38990 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38991 LIBS="$THREADS_LINK $LIBS"
38993 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38994 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38998 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38999 flag="-D_THREAD_SAFE"
39002 flag="-D_THREAD_SAFE"
39005 flag="-D_REENTRANT"
39006 if test "x$GCC" != "xyes"; then
39007 flag="$flag -D_RWSTD_MULTI_THREAD"
39010 *solaris* | alpha*-osf*)
39011 flag="-D_REENTRANT"
39014 { echo "$as_me:$LINENO: result: ${flag}" >&5
39015 echo "${ECHO_T}${flag}" >&6; }
39016 if test "x$flag" != xno; then
39017 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39020 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39024 if test "$wxUSE_THREADS" = "yes" ; then
39026 for ac_func in thr_setconcurrency
39028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39029 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39031 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39032 echo $ECHO_N "(cached) $ECHO_C" >&6
39034 cat >conftest.$ac_ext <<_ACEOF
39037 cat confdefs.h >>conftest.$ac_ext
39038 cat >>conftest.$ac_ext <<_ACEOF
39039 /* end confdefs.h. */
39040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39042 #define $ac_func innocuous_$ac_func
39044 /* System header to define __stub macros and hopefully few prototypes,
39045 which can conflict with char $ac_func (); below.
39046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39047 <limits.h> exists even on freestanding compilers. */
39050 # include <limits.h>
39052 # include <assert.h>
39057 /* Override any GCC internal prototype to avoid an error.
39058 Use char because int might match the return type of a GCC
39059 builtin and then its argument prototype would still apply. */
39064 /* The GNU C library defines this for functions which it implements
39065 to always fail with ENOSYS. Some functions are actually named
39066 something starting with __ and the normal name is an alias. */
39067 #if defined __stub_$ac_func || defined __stub___$ac_func
39074 return $ac_func ();
39079 rm -f conftest.$ac_objext conftest$ac_exeext
39080 if { (ac_try="$ac_link"
39081 case "(($ac_try" in
39082 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39083 *) ac_try_echo
=$ac_try;;
39085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39086 (eval "$ac_link") 2>conftest.er1
39088 grep -v '^ *+' conftest.er1
>conftest.err
39090 cat conftest.err
>&5
39091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39092 (exit $ac_status); } && {
39093 test -z "$ac_c_werror_flag" ||
39094 test ! -s conftest.err
39095 } && test -s conftest
$ac_exeext &&
39096 $as_test_x conftest
$ac_exeext; then
39097 eval "$as_ac_var=yes"
39099 echo "$as_me: failed program was:" >&5
39100 sed 's/^/| /' conftest.
$ac_ext >&5
39102 eval "$as_ac_var=no"
39105 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39106 conftest
$ac_exeext conftest.
$ac_ext
39108 ac_res
=`eval echo '${'$as_ac_var'}'`
39109 { echo "$as_me:$LINENO: result: $ac_res" >&5
39110 echo "${ECHO_T}$ac_res" >&6; }
39111 if test `eval echo '${'$as_ac_var'}'` = yes; then
39112 cat >>confdefs.h
<<_ACEOF
39113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39120 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39121 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39122 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39123 echo $ECHO_N "(cached) $ECHO_C" >&6
39127 ac_cpp
='$CXXCPP $CPPFLAGS'
39128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39132 cat >conftest.
$ac_ext <<_ACEOF
39135 cat confdefs.h
>>conftest.
$ac_ext
39136 cat >>conftest.
$ac_ext <<_ACEOF
39137 /* end confdefs.h. */
39138 #include <pthread.h>
39139 void ThreadCleanupFunc(void *p);
39146 pthread_cleanup_push(ThreadCleanupFunc, p);
39147 pthread_cleanup_pop(0);
39153 rm -f conftest.
$ac_objext
39154 if { (ac_try
="$ac_compile"
39155 case "(($ac_try" in
39156 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39157 *) ac_try_echo=$ac_try;;
39159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39160 (eval "$ac_compile") 2>conftest.er1
39162 grep -v '^ *+' conftest.er1 >conftest.err
39164 cat conftest.err >&5
39165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39166 (exit $ac_status); } && {
39167 test -z "$ac_cxx_werror_flag" ||
39168 test ! -s conftest.err
39169 } && test -s conftest.$ac_objext; then
39171 wx_cv_func_pthread_cleanup=yes
39174 echo "$as_me: failed program was:" >&5
39175 sed 's/^/| /' conftest.$ac_ext >&5
39178 wx_cv_func_pthread_cleanup=no
39183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39185 ac_cpp='$CPP $CPPFLAGS'
39186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39192 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39193 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39194 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39195 cat >>confdefs.h <<\_ACEOF
39196 #define wxHAVE_PTHREAD_CLEANUP 1
39202 for ac_header in sched.h
39204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39205 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39208 echo $ECHO_N "(cached) $ECHO_C" >&6
39210 cat >conftest.$ac_ext <<_ACEOF
39213 cat confdefs.h >>conftest.$ac_ext
39214 cat >>conftest.$ac_ext <<_ACEOF
39215 /* end confdefs.h. */
39216 $ac_includes_default
39218 #include <$ac_header>
39220 rm -f conftest.$ac_objext
39221 if { (ac_try="$ac_compile"
39222 case "(($ac_try" in
39223 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39224 *) ac_try_echo
=$ac_try;;
39226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39227 (eval "$ac_compile") 2>conftest.er1
39229 grep -v '^ *+' conftest.er1
>conftest.err
39231 cat conftest.err
>&5
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); } && {
39234 test -z "$ac_c_werror_flag" ||
39235 test ! -s conftest.err
39236 } && test -s conftest.
$ac_objext; then
39237 eval "$as_ac_Header=yes"
39239 echo "$as_me: failed program was:" >&5
39240 sed 's/^/| /' conftest.
$ac_ext >&5
39242 eval "$as_ac_Header=no"
39245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39247 ac_res
=`eval echo '${'$as_ac_Header'}'`
39248 { echo "$as_me:$LINENO: result: $ac_res" >&5
39249 echo "${ECHO_T}$ac_res" >&6; }
39250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39251 cat >>confdefs.h
<<_ACEOF
39252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39259 if test "$ac_cv_header_sched_h" = "yes"; then
39260 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39261 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39262 if test "${ac_cv_func_sched_yield+set}" = set; then
39263 echo $ECHO_N "(cached) $ECHO_C" >&6
39265 cat >conftest.
$ac_ext <<_ACEOF
39268 cat confdefs.h
>>conftest.
$ac_ext
39269 cat >>conftest.
$ac_ext <<_ACEOF
39270 /* end confdefs.h. */
39271 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39273 #define sched_yield innocuous_sched_yield
39275 /* System header to define __stub macros and hopefully few prototypes,
39276 which can conflict with char sched_yield (); below.
39277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39278 <limits.h> exists even on freestanding compilers. */
39281 # include <limits.h>
39283 # include <assert.h>
39288 /* Override any GCC internal prototype to avoid an error.
39289 Use char because int might match the return type of a GCC
39290 builtin and then its argument prototype would still apply. */
39294 char sched_yield ();
39295 /* The GNU C library defines this for functions which it implements
39296 to always fail with ENOSYS. Some functions are actually named
39297 something starting with __ and the normal name is an alias. */
39298 #if defined __stub_sched_yield || defined __stub___sched_yield
39305 return sched_yield ();
39310 rm -f conftest.
$ac_objext conftest
$ac_exeext
39311 if { (ac_try
="$ac_link"
39312 case "(($ac_try" in
39313 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39314 *) ac_try_echo=$ac_try;;
39316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39317 (eval "$ac_link") 2>conftest.er1
39319 grep -v '^ *+' conftest.er1 >conftest.err
39321 cat conftest.err >&5
39322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39323 (exit $ac_status); } && {
39324 test -z "$ac_c_werror_flag" ||
39325 test ! -s conftest.err
39326 } && test -s conftest$ac_exeext &&
39327 $as_test_x conftest$ac_exeext; then
39328 ac_cv_func_sched_yield=yes
39330 echo "$as_me: failed program was:" >&5
39331 sed 's/^/| /' conftest.$ac_ext >&5
39333 ac_cv_func_sched_yield=no
39336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39337 conftest$ac_exeext conftest.$ac_ext
39339 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39340 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39341 if test $ac_cv_func_sched_yield = yes; then
39342 cat >>confdefs.h <<\_ACEOF
39343 #define HAVE_SCHED_YIELD 1
39348 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39349 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39350 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39351 echo $ECHO_N "(cached) $ECHO_C" >&6
39353 ac_check_lib_save_LIBS=$LIBS
39354 LIBS="-lposix4 $LIBS"
39355 cat >conftest.$ac_ext <<_ACEOF
39358 cat confdefs.h >>conftest.$ac_ext
39359 cat >>conftest.$ac_ext <<_ACEOF
39360 /* end confdefs.h. */
39362 /* Override any GCC internal prototype to avoid an error.
39363 Use char because int might match the return type of a GCC
39364 builtin and then its argument prototype would still apply. */
39368 char sched_yield ();
39372 return sched_yield ();
39377 rm -f conftest.$ac_objext conftest$ac_exeext
39378 if { (ac_try="$ac_link"
39379 case "(($ac_try" in
39380 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39381 *) ac_try_echo
=$ac_try;;
39383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39384 (eval "$ac_link") 2>conftest.er1
39386 grep -v '^ *+' conftest.er1
>conftest.err
39388 cat conftest.err
>&5
39389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39390 (exit $ac_status); } && {
39391 test -z "$ac_c_werror_flag" ||
39392 test ! -s conftest.err
39393 } && test -s conftest
$ac_exeext &&
39394 $as_test_x conftest
$ac_exeext; then
39395 ac_cv_lib_posix4_sched_yield
=yes
39397 echo "$as_me: failed program was:" >&5
39398 sed 's/^/| /' conftest.
$ac_ext >&5
39400 ac_cv_lib_posix4_sched_yield
=no
39403 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39404 conftest
$ac_exeext conftest.
$ac_ext
39405 LIBS
=$ac_check_lib_save_LIBS
39407 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39408 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39409 if test $ac_cv_lib_posix4_sched_yield = yes; then
39410 cat >>confdefs.h
<<\_ACEOF
39411 #define HAVE_SCHED_YIELD 1
39413 POSIX4_LINK
=" -lposix4"
39415 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39416 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39427 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39428 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39429 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39430 echo $ECHO_N "(cached) $ECHO_C" >&6
39432 cat >conftest.
$ac_ext <<_ACEOF
39435 cat confdefs.h
>>conftest.
$ac_ext
39436 cat >>conftest.
$ac_ext <<_ACEOF
39437 /* end confdefs.h. */
39438 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39440 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39442 /* System header to define __stub macros and hopefully few prototypes,
39443 which can conflict with char pthread_attr_getschedpolicy (); below.
39444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39445 <limits.h> exists even on freestanding compilers. */
39448 # include <limits.h>
39450 # include <assert.h>
39453 #undef pthread_attr_getschedpolicy
39455 /* Override any GCC internal prototype to avoid an error.
39456 Use char because int might match the return type of a GCC
39457 builtin and then its argument prototype would still apply. */
39461 char pthread_attr_getschedpolicy ();
39462 /* The GNU C library defines this for functions which it implements
39463 to always fail with ENOSYS. Some functions are actually named
39464 something starting with __ and the normal name is an alias. */
39465 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39472 return pthread_attr_getschedpolicy ();
39477 rm -f conftest.
$ac_objext conftest
$ac_exeext
39478 if { (ac_try
="$ac_link"
39479 case "(($ac_try" in
39480 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39481 *) ac_try_echo=$ac_try;;
39483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39484 (eval "$ac_link") 2>conftest.er1
39486 grep -v '^ *+' conftest.er1 >conftest.err
39488 cat conftest.err >&5
39489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39490 (exit $ac_status); } && {
39491 test -z "$ac_c_werror_flag" ||
39492 test ! -s conftest.err
39493 } && test -s conftest$ac_exeext &&
39494 $as_test_x conftest$ac_exeext; then
39495 ac_cv_func_pthread_attr_getschedpolicy=yes
39497 echo "$as_me: failed program was:" >&5
39498 sed 's/^/| /' conftest.$ac_ext >&5
39500 ac_cv_func_pthread_attr_getschedpolicy=no
39503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39504 conftest$ac_exeext conftest.$ac_ext
39506 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39507 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39508 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39509 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39510 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39511 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39512 echo $ECHO_N "(cached) $ECHO_C" >&6
39514 cat >conftest.$ac_ext <<_ACEOF
39517 cat confdefs.h >>conftest.$ac_ext
39518 cat >>conftest.$ac_ext <<_ACEOF
39519 /* end confdefs.h. */
39520 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39522 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39524 /* System header to define __stub macros and hopefully few prototypes,
39525 which can conflict with char pthread_attr_setschedparam (); below.
39526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39527 <limits.h> exists even on freestanding compilers. */
39530 # include <limits.h>
39532 # include <assert.h>
39535 #undef pthread_attr_setschedparam
39537 /* Override any GCC internal prototype to avoid an error.
39538 Use char because int might match the return type of a GCC
39539 builtin and then its argument prototype would still apply. */
39543 char pthread_attr_setschedparam ();
39544 /* The GNU C library defines this for functions which it implements
39545 to always fail with ENOSYS. Some functions are actually named
39546 something starting with __ and the normal name is an alias. */
39547 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39554 return pthread_attr_setschedparam ();
39559 rm -f conftest.$ac_objext conftest$ac_exeext
39560 if { (ac_try="$ac_link"
39561 case "(($ac_try" in
39562 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39563 *) ac_try_echo
=$ac_try;;
39565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39566 (eval "$ac_link") 2>conftest.er1
39568 grep -v '^ *+' conftest.er1
>conftest.err
39570 cat conftest.err
>&5
39571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39572 (exit $ac_status); } && {
39573 test -z "$ac_c_werror_flag" ||
39574 test ! -s conftest.err
39575 } && test -s conftest
$ac_exeext &&
39576 $as_test_x conftest
$ac_exeext; then
39577 ac_cv_func_pthread_attr_setschedparam
=yes
39579 echo "$as_me: failed program was:" >&5
39580 sed 's/^/| /' conftest.
$ac_ext >&5
39582 ac_cv_func_pthread_attr_setschedparam
=no
39585 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39586 conftest
$ac_exeext conftest.
$ac_ext
39588 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39589 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39590 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39591 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39592 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39593 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39594 echo $ECHO_N "(cached) $ECHO_C" >&6
39596 cat >conftest.
$ac_ext <<_ACEOF
39599 cat confdefs.h
>>conftest.
$ac_ext
39600 cat >>conftest.
$ac_ext <<_ACEOF
39601 /* end confdefs.h. */
39602 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39604 #define sched_get_priority_max innocuous_sched_get_priority_max
39606 /* System header to define __stub macros and hopefully few prototypes,
39607 which can conflict with char sched_get_priority_max (); below.
39608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39609 <limits.h> exists even on freestanding compilers. */
39612 # include <limits.h>
39614 # include <assert.h>
39617 #undef sched_get_priority_max
39619 /* Override any GCC internal prototype to avoid an error.
39620 Use char because int might match the return type of a GCC
39621 builtin and then its argument prototype would still apply. */
39625 char sched_get_priority_max ();
39626 /* The GNU C library defines this for functions which it implements
39627 to always fail with ENOSYS. Some functions are actually named
39628 something starting with __ and the normal name is an alias. */
39629 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39636 return sched_get_priority_max ();
39641 rm -f conftest.
$ac_objext conftest
$ac_exeext
39642 if { (ac_try
="$ac_link"
39643 case "(($ac_try" in
39644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39645 *) ac_try_echo=$ac_try;;
39647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39648 (eval "$ac_link") 2>conftest.er1
39650 grep -v '^ *+' conftest.er1 >conftest.err
39652 cat conftest.err >&5
39653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39654 (exit $ac_status); } && {
39655 test -z "$ac_c_werror_flag" ||
39656 test ! -s conftest.err
39657 } && test -s conftest$ac_exeext &&
39658 $as_test_x conftest$ac_exeext; then
39659 ac_cv_func_sched_get_priority_max=yes
39661 echo "$as_me: failed program was:" >&5
39662 sed 's/^/| /' conftest.$ac_ext >&5
39664 ac_cv_func_sched_get_priority_max=no
39667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39668 conftest$ac_exeext conftest.$ac_ext
39670 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39671 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39672 if test $ac_cv_func_sched_get_priority_max = yes; then
39675 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39676 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39677 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39678 echo $ECHO_N "(cached) $ECHO_C" >&6
39680 ac_check_lib_save_LIBS=$LIBS
39681 LIBS="-lposix4 $LIBS"
39682 cat >conftest.$ac_ext <<_ACEOF
39685 cat confdefs.h >>conftest.$ac_ext
39686 cat >>conftest.$ac_ext <<_ACEOF
39687 /* end confdefs.h. */
39689 /* Override any GCC internal prototype to avoid an error.
39690 Use char because int might match the return type of a GCC
39691 builtin and then its argument prototype would still apply. */
39695 char sched_get_priority_max ();
39699 return sched_get_priority_max ();
39704 rm -f conftest.$ac_objext conftest$ac_exeext
39705 if { (ac_try="$ac_link"
39706 case "(($ac_try" in
39707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39708 *) ac_try_echo
=$ac_try;;
39710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39711 (eval "$ac_link") 2>conftest.er1
39713 grep -v '^ *+' conftest.er1
>conftest.err
39715 cat conftest.err
>&5
39716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39717 (exit $ac_status); } && {
39718 test -z "$ac_c_werror_flag" ||
39719 test ! -s conftest.err
39720 } && test -s conftest
$ac_exeext &&
39721 $as_test_x conftest
$ac_exeext; then
39722 ac_cv_lib_posix4_sched_get_priority_max
=yes
39724 echo "$as_me: failed program was:" >&5
39725 sed 's/^/| /' conftest.
$ac_ext >&5
39727 ac_cv_lib_posix4_sched_get_priority_max
=no
39730 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39731 conftest
$ac_exeext conftest.
$ac_ext
39732 LIBS
=$ac_check_lib_save_LIBS
39734 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39735 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39736 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39739 POSIX4_LINK
=" -lposix4"
39753 if test "$HAVE_PRIOR_FUNCS" = 1; then
39754 cat >>confdefs.h
<<\_ACEOF
39755 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39759 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39760 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39763 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39764 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39765 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39766 echo $ECHO_N "(cached) $ECHO_C" >&6
39768 cat >conftest.
$ac_ext <<_ACEOF
39771 cat confdefs.h
>>conftest.
$ac_ext
39772 cat >>conftest.
$ac_ext <<_ACEOF
39773 /* end confdefs.h. */
39774 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39776 #define pthread_cancel innocuous_pthread_cancel
39778 /* System header to define __stub macros and hopefully few prototypes,
39779 which can conflict with char pthread_cancel (); below.
39780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39781 <limits.h> exists even on freestanding compilers. */
39784 # include <limits.h>
39786 # include <assert.h>
39789 #undef pthread_cancel
39791 /* Override any GCC internal prototype to avoid an error.
39792 Use char because int might match the return type of a GCC
39793 builtin and then its argument prototype would still apply. */
39797 char pthread_cancel ();
39798 /* The GNU C library defines this for functions which it implements
39799 to always fail with ENOSYS. Some functions are actually named
39800 something starting with __ and the normal name is an alias. */
39801 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39808 return pthread_cancel ();
39813 rm -f conftest.
$ac_objext conftest
$ac_exeext
39814 if { (ac_try
="$ac_link"
39815 case "(($ac_try" in
39816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39817 *) ac_try_echo=$ac_try;;
39819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39820 (eval "$ac_link") 2>conftest.er1
39822 grep -v '^ *+' conftest.er1 >conftest.err
39824 cat conftest.err >&5
39825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39826 (exit $ac_status); } && {
39827 test -z "$ac_c_werror_flag" ||
39828 test ! -s conftest.err
39829 } && test -s conftest$ac_exeext &&
39830 $as_test_x conftest$ac_exeext; then
39831 ac_cv_func_pthread_cancel=yes
39833 echo "$as_me: failed program was:" >&5
39834 sed 's/^/| /' conftest.$ac_ext >&5
39836 ac_cv_func_pthread_cancel=no
39839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39840 conftest$ac_exeext conftest.$ac_ext
39842 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39843 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39844 if test $ac_cv_func_pthread_cancel = yes; then
39845 cat >>confdefs.h <<\_ACEOF
39846 #define HAVE_PTHREAD_CANCEL 1
39850 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39851 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39855 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39856 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39857 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39858 echo $ECHO_N "(cached) $ECHO_C" >&6
39860 cat >conftest.$ac_ext <<_ACEOF
39863 cat confdefs.h >>conftest.$ac_ext
39864 cat >>conftest.$ac_ext <<_ACEOF
39865 /* end confdefs.h. */
39866 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39868 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39870 /* System header to define __stub macros and hopefully few prototypes,
39871 which can conflict with char pthread_mutex_timedlock (); below.
39872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39873 <limits.h> exists even on freestanding compilers. */
39876 # include <limits.h>
39878 # include <assert.h>
39881 #undef pthread_mutex_timedlock
39883 /* Override any GCC internal prototype to avoid an error.
39884 Use char because int might match the return type of a GCC
39885 builtin and then its argument prototype would still apply. */
39889 char pthread_mutex_timedlock ();
39890 /* The GNU C library defines this for functions which it implements
39891 to always fail with ENOSYS. Some functions are actually named
39892 something starting with __ and the normal name is an alias. */
39893 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39900 return pthread_mutex_timedlock ();
39905 rm -f conftest.$ac_objext conftest$ac_exeext
39906 if { (ac_try="$ac_link"
39907 case "(($ac_try" in
39908 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39909 *) ac_try_echo
=$ac_try;;
39911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39912 (eval "$ac_link") 2>conftest.er1
39914 grep -v '^ *+' conftest.er1
>conftest.err
39916 cat conftest.err
>&5
39917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39918 (exit $ac_status); } && {
39919 test -z "$ac_c_werror_flag" ||
39920 test ! -s conftest.err
39921 } && test -s conftest
$ac_exeext &&
39922 $as_test_x conftest
$ac_exeext; then
39923 ac_cv_func_pthread_mutex_timedlock
=yes
39925 echo "$as_me: failed program was:" >&5
39926 sed 's/^/| /' conftest.
$ac_ext >&5
39928 ac_cv_func_pthread_mutex_timedlock
=no
39931 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39932 conftest
$ac_exeext conftest.
$ac_ext
39934 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39935 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39936 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39937 cat >>confdefs.h
<<\_ACEOF
39938 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39942 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39943 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39947 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39948 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39949 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39950 echo $ECHO_N "(cached) $ECHO_C" >&6
39952 cat >conftest.
$ac_ext <<_ACEOF
39955 cat confdefs.h
>>conftest.
$ac_ext
39956 cat >>conftest.
$ac_ext <<_ACEOF
39957 /* end confdefs.h. */
39958 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39960 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39962 /* System header to define __stub macros and hopefully few prototypes,
39963 which can conflict with char pthread_attr_setstacksize (); below.
39964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39965 <limits.h> exists even on freestanding compilers. */
39968 # include <limits.h>
39970 # include <assert.h>
39973 #undef pthread_attr_setstacksize
39975 /* Override any GCC internal prototype to avoid an error.
39976 Use char because int might match the return type of a GCC
39977 builtin and then its argument prototype would still apply. */
39981 char pthread_attr_setstacksize ();
39982 /* The GNU C library defines this for functions which it implements
39983 to always fail with ENOSYS. Some functions are actually named
39984 something starting with __ and the normal name is an alias. */
39985 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39992 return pthread_attr_setstacksize ();
39997 rm -f conftest.
$ac_objext conftest
$ac_exeext
39998 if { (ac_try
="$ac_link"
39999 case "(($ac_try" in
40000 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40001 *) ac_try_echo=$ac_try;;
40003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40004 (eval "$ac_link") 2>conftest.er1
40006 grep -v '^ *+' conftest.er1 >conftest.err
40008 cat conftest.err >&5
40009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40010 (exit $ac_status); } && {
40011 test -z "$ac_c_werror_flag" ||
40012 test ! -s conftest.err
40013 } && test -s conftest$ac_exeext &&
40014 $as_test_x conftest$ac_exeext; then
40015 ac_cv_func_pthread_attr_setstacksize=yes
40017 echo "$as_me: failed program was:" >&5
40018 sed 's/^/| /' conftest.$ac_ext >&5
40020 ac_cv_func_pthread_attr_setstacksize=no
40023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40024 conftest$ac_exeext conftest.$ac_ext
40026 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40027 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40028 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40029 cat >>confdefs.h <<\_ACEOF
40030 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40037 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40038 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40039 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40040 echo $ECHO_N "(cached) $ECHO_C" >&6
40043 cat >conftest.$ac_ext <<_ACEOF
40046 cat confdefs.h >>conftest.$ac_ext
40047 cat >>conftest.$ac_ext <<_ACEOF
40048 /* end confdefs.h. */
40049 #include <pthread.h>
40054 pthread_mutexattr_t attr;
40055 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40061 rm -f conftest.$ac_objext
40062 if { (ac_try="$ac_compile"
40063 case "(($ac_try" in
40064 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40065 *) ac_try_echo
=$ac_try;;
40067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40068 (eval "$ac_compile") 2>conftest.er1
40070 grep -v '^ *+' conftest.er1
>conftest.err
40072 cat conftest.err
>&5
40073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40074 (exit $ac_status); } && {
40075 test -z "$ac_c_werror_flag" ||
40076 test ! -s conftest.err
40077 } && test -s conftest.
$ac_objext; then
40078 wx_cv_type_pthread_mutexattr_t
=yes
40080 echo "$as_me: failed program was:" >&5
40081 sed 's/^/| /' conftest.
$ac_ext >&5
40083 wx_cv_type_pthread_mutexattr_t
=no
40087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40090 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40091 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40093 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40094 cat >>confdefs.h
<<\_ACEOF
40095 #define HAVE_PTHREAD_MUTEXATTR_T 1
40099 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40100 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40101 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40102 echo $ECHO_N "(cached) $ECHO_C" >&6
40105 cat >conftest.
$ac_ext <<_ACEOF
40108 cat confdefs.h
>>conftest.
$ac_ext
40109 cat >>conftest.
$ac_ext <<_ACEOF
40110 /* end confdefs.h. */
40111 #include <pthread.h>
40116 pthread_mutexattr_t attr;
40117 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40123 rm -f conftest.
$ac_objext
40124 if { (ac_try
="$ac_compile"
40125 case "(($ac_try" in
40126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40127 *) ac_try_echo=$ac_try;;
40129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40130 (eval "$ac_compile") 2>conftest.er1
40132 grep -v '^ *+' conftest.er1 >conftest.err
40134 cat conftest.err >&5
40135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40136 (exit $ac_status); } && {
40137 test -z "$ac_c_werror_flag" ||
40138 test ! -s conftest.err
40139 } && test -s conftest.$ac_objext; then
40140 wx_cv_func_pthread_mutexattr_settype_decl=yes
40142 echo "$as_me: failed program was:" >&5
40143 sed 's/^/| /' conftest.$ac_ext >&5
40145 wx_cv_func_pthread_mutexattr_settype_decl=no
40149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40152 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40153 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40154 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40155 cat >>confdefs.h <<\_ACEOF
40156 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40161 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40162 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40163 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40164 echo $ECHO_N "(cached) $ECHO_C" >&6
40167 cat >conftest.$ac_ext <<_ACEOF
40170 cat confdefs.h >>conftest.$ac_ext
40171 cat >>conftest.$ac_ext <<_ACEOF
40172 /* end confdefs.h. */
40173 #include <pthread.h>
40178 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40184 rm -f conftest.$ac_objext
40185 if { (ac_try="$ac_compile"
40186 case "(($ac_try" in
40187 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40188 *) ac_try_echo
=$ac_try;;
40190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40191 (eval "$ac_compile") 2>conftest.er1
40193 grep -v '^ *+' conftest.er1
>conftest.err
40195 cat conftest.err
>&5
40196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40197 (exit $ac_status); } && {
40198 test -z "$ac_c_werror_flag" ||
40199 test ! -s conftest.err
40200 } && test -s conftest.
$ac_objext; then
40202 wx_cv_type_pthread_rec_mutex_init
=yes
40205 echo "$as_me: failed program was:" >&5
40206 sed 's/^/| /' conftest.
$ac_ext >&5
40209 wx_cv_type_pthread_rec_mutex_init
=no
40214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40217 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40218 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40219 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40220 cat >>confdefs.h
<<\_ACEOF
40221 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40225 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40226 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40230 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40231 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40232 if test "${wx_cv_cc___thread+set}" = set; then
40233 echo $ECHO_N "(cached) $ECHO_C" >&6
40236 cat >conftest.
$ac_ext <<_ACEOF
40239 cat confdefs.h
>>conftest.
$ac_ext
40240 cat >>conftest.
$ac_ext <<_ACEOF
40241 /* end confdefs.h. */
40242 #include <pthread.h>
40247 static __thread int n = 0;
40248 static __thread int *p = 0;
40254 rm -f conftest.
$ac_objext
40255 if { (ac_try
="$ac_compile"
40256 case "(($ac_try" in
40257 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40258 *) ac_try_echo=$ac_try;;
40260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40261 (eval "$ac_compile") 2>conftest.er1
40263 grep -v '^ *+' conftest.er1 >conftest.err
40265 cat conftest.err >&5
40266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40267 (exit $ac_status); } && {
40268 test -z "$ac_c_werror_flag" ||
40269 test ! -s conftest.err
40270 } && test -s conftest.$ac_objext; then
40271 wx_cv_cc___thread=yes
40273 echo "$as_me: failed program was:" >&5
40274 sed 's/^/| /' conftest.$ac_ext >&5
40276 wx_cv_cc___thread=no
40280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40284 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40285 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40287 if test "$wx_cv_cc___thread" = "yes"; then
40293 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40294 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40296 if test "x$GCC" = "xyes" ; then
40298 if test -z "" ; then
40300 ax_gcc_option_test="int main()
40307 ax_gcc_option_test=""
40312 # Dump the test program to file
40313 cat <<EOF > conftest.c
40314 $ax_gcc_option_test
40317 # Dump back the file to the log, useful for debugging purposes
40318 { ac_try='cat conftest.c 1>&5'
40319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40320 (eval $ac_try) 2>&5
40322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40323 (exit $ac_status); }; }
40325 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40327 (eval $ac_try) 2>&5
40329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40330 (exit $ac_status); }; } ; then
40332 { echo "$as_me:$LINENO: result: yes" >&5
40333 echo "${ECHO_T}yes" >&6; }
40335 ax_gcc_version_option=yes
40340 { echo "$as_me:$LINENO: result: no" >&5
40341 echo "${ECHO_T}no" >&6; }
40343 ax_gcc_version_option=no
40351 { echo "$as_me:$LINENO: result: no gcc available" >&5
40352 echo "${ECHO_T}no gcc available" >&6; }
40357 if test "x$GXX" = "xyes"; then
40359 if test "x$ax_gxx_version_option" != "no"; then
40361 { echo "$as_me:$LINENO: checking gxx version" >&5
40362 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40363 if test "${ax_cv_gxx_version+set}" = set; then
40364 echo $ECHO_N "(cached) $ECHO_C" >&6
40367 ax_cv_gxx_version="`$CXX -dumpversion`"
40368 if test "x$ax_cv_gxx_version" = "x"; then
40370 ax_cv_gxx_version=""
40376 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40377 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40378 GXX_VERSION=$ax_cv_gxx_version
40387 if test -n "$ax_cv_gxx_version"; then
40388 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40389 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40390 case "$ax_cv_gxx_version" in
40392 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40393 echo "${ECHO_T}no, it's broken" >&6; }
40394 wx_cv_cc___thread=no
40397 { echo "$as_me:$LINENO: result: yes, it works" >&5
40398 echo "${ECHO_T}yes, it works" >&6; }
40404 if test "$wx_cv_cc___thread" = "yes"; then
40405 cat >>confdefs.h <<\_ACEOF
40406 #define HAVE___THREAD_KEYWORD 1
40413 if test "$wxUSE_THREADS" = "yes" ; then
40415 x86_64-*-mingw32* )
40418 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40419 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40420 if test "${wx_cv_cflags_mthread+set}" = set; then
40421 echo $ECHO_N "(cached) $ECHO_C" >&6
40424 CFLAGS_OLD="$CFLAGS"
40425 CFLAGS="-mthreads $CFLAGS"
40426 cat >conftest.$ac_ext <<_ACEOF
40429 cat confdefs.h >>conftest.$ac_ext
40430 cat >>conftest.$ac_ext <<_ACEOF
40431 /* end confdefs.h. */
40441 rm -f conftest.$ac_objext
40442 if { (ac_try="$ac_compile"
40443 case "(($ac_try" in
40444 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40445 *) ac_try_echo
=$ac_try;;
40447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40448 (eval "$ac_compile") 2>conftest.er1
40450 grep -v '^ *+' conftest.er1
>conftest.err
40452 cat conftest.err
>&5
40453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40454 (exit $ac_status); } && {
40455 test -z "$ac_c_werror_flag" ||
40456 test ! -s conftest.err
40457 } && test -s conftest.
$ac_objext; then
40458 wx_cv_cflags_mthread
=yes
40460 echo "$as_me: failed program was:" >&5
40461 sed 's/^/| /' conftest.
$ac_ext >&5
40463 wx_cv_cflags_mthread
=no
40467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40471 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40472 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40474 if test "$wx_cv_cflags_mthread" = "yes"; then
40475 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
40476 LDFLAGS
="$LDFLAGS -mthreads"
40478 CFLAGS
="$CFLAGS_OLD"
40482 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40483 LDFLAGS
="$LDFLAGS -Zmt"
40489 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40490 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40491 if test "${ac_cv_func_localtime_r+set}" = set; then
40492 echo $ECHO_N "(cached) $ECHO_C" >&6
40494 cat >conftest.
$ac_ext <<_ACEOF
40497 cat confdefs.h
>>conftest.
$ac_ext
40498 cat >>conftest.
$ac_ext <<_ACEOF
40499 /* end confdefs.h. */
40500 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40502 #define localtime_r innocuous_localtime_r
40504 /* System header to define __stub macros and hopefully few prototypes,
40505 which can conflict with char localtime_r (); below.
40506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40507 <limits.h> exists even on freestanding compilers. */
40510 # include <limits.h>
40512 # include <assert.h>
40517 /* Override any GCC internal prototype to avoid an error.
40518 Use char because int might match the return type of a GCC
40519 builtin and then its argument prototype would still apply. */
40523 char localtime_r ();
40524 /* The GNU C library defines this for functions which it implements
40525 to always fail with ENOSYS. Some functions are actually named
40526 something starting with __ and the normal name is an alias. */
40527 #if defined __stub_localtime_r || defined __stub___localtime_r
40534 return localtime_r ();
40539 rm -f conftest.
$ac_objext conftest
$ac_exeext
40540 if { (ac_try
="$ac_link"
40541 case "(($ac_try" in
40542 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40543 *) ac_try_echo=$ac_try;;
40545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40546 (eval "$ac_link") 2>conftest.er1
40548 grep -v '^ *+' conftest.er1 >conftest.err
40550 cat conftest.err >&5
40551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552 (exit $ac_status); } && {
40553 test -z "$ac_c_werror_flag" ||
40554 test ! -s conftest.err
40555 } && test -s conftest$ac_exeext &&
40556 $as_test_x conftest$ac_exeext; then
40557 ac_cv_func_localtime_r=yes
40559 echo "$as_me: failed program was:" >&5
40560 sed 's/^/| /' conftest.$ac_ext >&5
40562 ac_cv_func_localtime_r=no
40565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40566 conftest$ac_exeext conftest.$ac_ext
40568 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40569 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40570 if test $ac_cv_func_localtime_r = yes; then
40571 cat >>confdefs.h <<\_ACEOF
40572 #define HAVE_LOCALTIME_R 1
40577 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40578 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40579 if test "${ac_cv_func_gmtime_r+set}" = set; then
40580 echo $ECHO_N "(cached) $ECHO_C" >&6
40582 cat >conftest.$ac_ext <<_ACEOF
40585 cat confdefs.h >>conftest.$ac_ext
40586 cat >>conftest.$ac_ext <<_ACEOF
40587 /* end confdefs.h. */
40588 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40590 #define gmtime_r innocuous_gmtime_r
40592 /* System header to define __stub macros and hopefully few prototypes,
40593 which can conflict with char gmtime_r (); below.
40594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40595 <limits.h> exists even on freestanding compilers. */
40598 # include <limits.h>
40600 # include <assert.h>
40605 /* Override any GCC internal prototype to avoid an error.
40606 Use char because int might match the return type of a GCC
40607 builtin and then its argument prototype would still apply. */
40612 /* The GNU C library defines this for functions which it implements
40613 to always fail with ENOSYS. Some functions are actually named
40614 something starting with __ and the normal name is an alias. */
40615 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40622 return gmtime_r ();
40627 rm -f conftest.$ac_objext conftest$ac_exeext
40628 if { (ac_try="$ac_link"
40629 case "(($ac_try" in
40630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40631 *) ac_try_echo
=$ac_try;;
40633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40634 (eval "$ac_link") 2>conftest.er1
40636 grep -v '^ *+' conftest.er1
>conftest.err
40638 cat conftest.err
>&5
40639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40640 (exit $ac_status); } && {
40641 test -z "$ac_c_werror_flag" ||
40642 test ! -s conftest.err
40643 } && test -s conftest
$ac_exeext &&
40644 $as_test_x conftest
$ac_exeext; then
40645 ac_cv_func_gmtime_r
=yes
40647 echo "$as_me: failed program was:" >&5
40648 sed 's/^/| /' conftest.
$ac_ext >&5
40650 ac_cv_func_gmtime_r
=no
40653 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40654 conftest
$ac_exeext conftest.
$ac_ext
40656 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40657 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40658 if test $ac_cv_func_gmtime_r = yes; then
40659 cat >>confdefs.h
<<\_ACEOF
40660 #define HAVE_GMTIME_R 1
40669 ac_cpp
='$CPP $CPPFLAGS'
40670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40674 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40675 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40677 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40678 echo $ECHO_N "(cached) $ECHO_C" >&6
40682 ################################################################
40684 ac_cv_func_which_gethostbyname_r
=unknown
40687 # ONE ARGUMENT (sanity check)
40690 # This should fail, as there is no variant of gethostbyname_r() that takes
40691 # a single argument. If it actually compiles, then we can assume that
40692 # netdb.h is not declaring the function, and the compiler is thereby
40693 # assuming an implicit prototype. In which case, we're out of luck.
40695 cat >conftest.
$ac_ext <<_ACEOF
40698 cat confdefs.h
>>conftest.
$ac_ext
40699 cat >>conftest.
$ac_ext <<_ACEOF
40700 /* end confdefs.h. */
40706 char *name = "www.gnu.org";
40707 (void)gethostbyname_r(name) /* ; */
40713 rm -f conftest.
$ac_objext
40714 if { (ac_try
="$ac_compile"
40715 case "(($ac_try" in
40716 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40717 *) ac_try_echo=$ac_try;;
40719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40720 (eval "$ac_compile") 2>conftest.er1
40722 grep -v '^ *+' conftest.er1 >conftest.err
40724 cat conftest.err >&5
40725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40726 (exit $ac_status); } && {
40727 test -z "$ac_c_werror_flag" ||
40728 test ! -s conftest.err
40729 } && test -s conftest.$ac_objext; then
40730 ac_cv_func_which_gethostbyname_r=no
40732 echo "$as_me: failed program was:" >&5
40733 sed 's/^/| /' conftest.$ac_ext >&5
40738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40745 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40747 cat >conftest.$ac_ext <<_ACEOF
40750 cat confdefs.h >>conftest.$ac_ext
40751 cat >>conftest.$ac_ext <<_ACEOF
40752 /* end confdefs.h. */
40758 char *name = "www.gnu.org";
40759 struct hostent ret, *retp;
40763 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40769 rm -f conftest.$ac_objext
40770 if { (ac_try="$ac_compile"
40771 case "(($ac_try" in
40772 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40773 *) ac_try_echo
=$ac_try;;
40775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40776 (eval "$ac_compile") 2>conftest.er1
40778 grep -v '^ *+' conftest.er1
>conftest.err
40780 cat conftest.err
>&5
40781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40782 (exit $ac_status); } && {
40783 test -z "$ac_c_werror_flag" ||
40784 test ! -s conftest.err
40785 } && test -s conftest.
$ac_objext; then
40786 ac_cv_func_which_gethostbyname_r
=six
40788 echo "$as_me: failed program was:" >&5
40789 sed 's/^/| /' conftest.
$ac_ext >&5
40794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40803 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40805 cat >conftest.
$ac_ext <<_ACEOF
40808 cat confdefs.h
>>conftest.
$ac_ext
40809 cat >>conftest.
$ac_ext <<_ACEOF
40810 /* end confdefs.h. */
40816 char *name = "www.gnu.org";
40817 struct hostent ret;
40821 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40827 rm -f conftest.
$ac_objext
40828 if { (ac_try
="$ac_compile"
40829 case "(($ac_try" in
40830 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40831 *) ac_try_echo=$ac_try;;
40833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40834 (eval "$ac_compile") 2>conftest.er1
40836 grep -v '^ *+' conftest.er1 >conftest.err
40838 cat conftest.err >&5
40839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40840 (exit $ac_status); } && {
40841 test -z "$ac_c_werror_flag" ||
40842 test ! -s conftest.err
40843 } && test -s conftest.$ac_objext; then
40844 ac_cv_func_which_gethostbyname_r=five
40846 echo "$as_me: failed program was:" >&5
40847 sed 's/^/| /' conftest.$ac_ext >&5
40852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40858 # (e.g. AIX, HP-UX, Tru64)
40861 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40863 cat >conftest.$ac_ext <<_ACEOF
40866 cat confdefs.h >>conftest.$ac_ext
40867 cat >>conftest.$ac_ext <<_ACEOF
40868 /* end confdefs.h. */
40874 char *name = "www.gnu.org";
40875 struct hostent ret;
40876 struct hostent_data data;
40877 (void)gethostbyname_r(name, &ret, &data) /* ; */
40883 rm -f conftest.$ac_objext
40884 if { (ac_try="$ac_compile"
40885 case "(($ac_try" in
40886 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40887 *) ac_try_echo
=$ac_try;;
40889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40890 (eval "$ac_compile") 2>conftest.er1
40892 grep -v '^ *+' conftest.er1
>conftest.err
40894 cat conftest.err
>&5
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); } && {
40897 test -z "$ac_c_werror_flag" ||
40898 test ! -s conftest.err
40899 } && test -s conftest.
$ac_objext; then
40900 ac_cv_func_which_gethostbyname_r
=three
40902 echo "$as_me: failed program was:" >&5
40903 sed 's/^/| /' conftest.
$ac_ext >&5
40908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40912 ################################################################
40917 case "$ac_cv_func_which_gethostbyname_r" in
40919 { echo "$as_me:$LINENO: result: three" >&5
40920 echo "${ECHO_T}three" >&6; }
40921 cat >>confdefs.h
<<\_ACEOF
40922 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40928 { echo "$as_me:$LINENO: result: five" >&5
40929 echo "${ECHO_T}five" >&6; }
40930 cat >>confdefs.h
<<\_ACEOF
40931 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40937 { echo "$as_me:$LINENO: result: six" >&5
40938 echo "${ECHO_T}six" >&6; }
40939 cat >>confdefs.h
<<\_ACEOF
40940 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40946 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40947 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40951 { echo "$as_me:$LINENO: result: can't tell" >&5
40952 echo "${ECHO_T}can't tell" >&6; }
40956 { { echo "$as_me:$LINENO: error: internal error" >&5
40957 echo "$as_me: error: internal error" >&2;}
40958 { (exit 1); exit 1; }; }
40963 ac_cpp
='$CPP $CPPFLAGS'
40964 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40965 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40966 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40970 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40971 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40972 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40973 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40974 if test "${ac_cv_func_gethostbyname+set}" = set; then
40975 echo $ECHO_N "(cached) $ECHO_C" >&6
40977 cat >conftest.
$ac_ext <<_ACEOF
40980 cat confdefs.h
>>conftest.
$ac_ext
40981 cat >>conftest.
$ac_ext <<_ACEOF
40982 /* end confdefs.h. */
40983 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40985 #define gethostbyname innocuous_gethostbyname
40987 /* System header to define __stub macros and hopefully few prototypes,
40988 which can conflict with char gethostbyname (); below.
40989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40990 <limits.h> exists even on freestanding compilers. */
40993 # include <limits.h>
40995 # include <assert.h>
40998 #undef gethostbyname
41000 /* Override any GCC internal prototype to avoid an error.
41001 Use char because int might match the return type of a GCC
41002 builtin and then its argument prototype would still apply. */
41006 char gethostbyname ();
41007 /* The GNU C library defines this for functions which it implements
41008 to always fail with ENOSYS. Some functions are actually named
41009 something starting with __ and the normal name is an alias. */
41010 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41017 return gethostbyname ();
41022 rm -f conftest.
$ac_objext conftest
$ac_exeext
41023 if { (ac_try
="$ac_link"
41024 case "(($ac_try" in
41025 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41026 *) ac_try_echo=$ac_try;;
41028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41029 (eval "$ac_link") 2>conftest.er1
41031 grep -v '^ *+' conftest.er1 >conftest.err
41033 cat conftest.err >&5
41034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41035 (exit $ac_status); } && {
41036 test -z "$ac_c_werror_flag" ||
41037 test ! -s conftest.err
41038 } && test -s conftest$ac_exeext &&
41039 $as_test_x conftest$ac_exeext; then
41040 ac_cv_func_gethostbyname=yes
41042 echo "$as_me: failed program was:" >&5
41043 sed 's/^/| /' conftest.$ac_ext >&5
41045 ac_cv_func_gethostbyname=no
41048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41049 conftest$ac_exeext conftest.$ac_ext
41051 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41052 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41053 if test $ac_cv_func_gethostbyname = yes; then
41054 cat >>confdefs.h <<\_ACEOF
41055 #define HAVE_GETHOSTBYNAME 1
41062 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41063 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41064 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41065 echo $ECHO_N "(cached) $ECHO_C" >&6
41069 ac_cpp='$CXXCPP $CPPFLAGS'
41070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41075 cat >conftest.$ac_ext <<_ACEOF
41078 cat confdefs.h >>conftest.$ac_ext
41079 cat >>conftest.$ac_ext <<_ACEOF
41080 /* end confdefs.h. */
41088 struct servent *se, *res;
41091 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41097 rm -f conftest.$ac_objext
41098 if { (ac_try="$ac_compile"
41099 case "(($ac_try" in
41100 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41101 *) ac_try_echo
=$ac_try;;
41103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41104 (eval "$ac_compile") 2>conftest.er1
41106 grep -v '^ *+' conftest.er1
>conftest.err
41108 cat conftest.err
>&5
41109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41110 (exit $ac_status); } && {
41111 test -z "$ac_cxx_werror_flag" ||
41112 test ! -s conftest.err
41113 } && test -s conftest.
$ac_objext; then
41114 ac_cv_func_which_getservbyname_r
=six
41116 echo "$as_me: failed program was:" >&5
41117 sed 's/^/| /' conftest.
$ac_ext >&5
41120 cat >conftest.
$ac_ext <<_ACEOF
41123 cat confdefs.h
>>conftest.
$ac_ext
41124 cat >>conftest.
$ac_ext <<_ACEOF
41125 /* end confdefs.h. */
41133 struct servent *se;
41136 (void) getservbyname_r(name, proto, se, buffer, buflen)
41142 rm -f conftest.
$ac_objext
41143 if { (ac_try
="$ac_compile"
41144 case "(($ac_try" in
41145 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41146 *) ac_try_echo=$ac_try;;
41148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41149 (eval "$ac_compile") 2>conftest.er1
41151 grep -v '^ *+' conftest.er1 >conftest.err
41153 cat conftest.err >&5
41154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41155 (exit $ac_status); } && {
41156 test -z "$ac_cxx_werror_flag" ||
41157 test ! -s conftest.err
41158 } && test -s conftest.$ac_objext; then
41159 ac_cv_func_which_getservbyname_r=five
41161 echo "$as_me: failed program was:" >&5
41162 sed 's/^/| /' conftest.$ac_ext >&5
41165 cat >conftest.$ac_ext <<_ACEOF
41168 cat confdefs.h >>conftest.$ac_ext
41169 cat >>conftest.$ac_ext <<_ACEOF
41170 /* end confdefs.h. */
41178 struct servent *se;
41179 struct servent_data data;
41180 (void) getservbyname_r(name, proto, se, &data);
41186 rm -f conftest.$ac_objext
41187 if { (ac_try="$ac_compile"
41188 case "(($ac_try" in
41189 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41190 *) ac_try_echo
=$ac_try;;
41192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41193 (eval "$ac_compile") 2>conftest.er1
41195 grep -v '^ *+' conftest.er1
>conftest.err
41197 cat conftest.err
>&5
41198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41199 (exit $ac_status); } && {
41200 test -z "$ac_cxx_werror_flag" ||
41201 test ! -s conftest.err
41202 } && test -s conftest.
$ac_objext; then
41203 ac_cv_func_which_getservbyname_r
=four
41205 echo "$as_me: failed program was:" >&5
41206 sed 's/^/| /' conftest.
$ac_ext >&5
41208 ac_cv_func_which_getservbyname_r
=no
41212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41224 ac_cpp
='$CPP $CPPFLAGS'
41225 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41226 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41227 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41232 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41233 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41235 if test $ac_cv_func_which_getservbyname_r = six
; then
41236 cat >>confdefs.h
<<\_ACEOF
41237 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41240 elif test $ac_cv_func_which_getservbyname_r = five
; then
41241 cat >>confdefs.h
<<\_ACEOF
41242 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41245 elif test $ac_cv_func_which_getservbyname_r = four
; then
41246 cat >>confdefs.h
<<\_ACEOF
41247 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41253 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41254 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41256 for ac_func
in getservbyname
41258 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41259 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41261 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41262 echo $ECHO_N "(cached) $ECHO_C" >&6
41264 cat >conftest.
$ac_ext <<_ACEOF
41267 cat confdefs.h
>>conftest.
$ac_ext
41268 cat >>conftest.
$ac_ext <<_ACEOF
41269 /* end confdefs.h. */
41270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41272 #define $ac_func innocuous_$ac_func
41274 /* System header to define __stub macros and hopefully few prototypes,
41275 which can conflict with char $ac_func (); below.
41276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41277 <limits.h> exists even on freestanding compilers. */
41280 # include <limits.h>
41282 # include <assert.h>
41287 /* Override any GCC internal prototype to avoid an error.
41288 Use char because int might match the return type of a GCC
41289 builtin and then its argument prototype would still apply. */
41294 /* The GNU C library defines this for functions which it implements
41295 to always fail with ENOSYS. Some functions are actually named
41296 something starting with __ and the normal name is an alias. */
41297 #if defined __stub_$ac_func || defined __stub___$ac_func
41304 return $ac_func ();
41309 rm -f conftest.
$ac_objext conftest
$ac_exeext
41310 if { (ac_try
="$ac_link"
41311 case "(($ac_try" in
41312 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41313 *) ac_try_echo=$ac_try;;
41315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41316 (eval "$ac_link") 2>conftest.er1
41318 grep -v '^ *+' conftest.er1 >conftest.err
41320 cat conftest.err >&5
41321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41322 (exit $ac_status); } && {
41323 test -z "$ac_c_werror_flag" ||
41324 test ! -s conftest.err
41325 } && test -s conftest$ac_exeext &&
41326 $as_test_x conftest$ac_exeext; then
41327 eval "$as_ac_var=yes"
41329 echo "$as_me: failed program was:" >&5
41330 sed 's/^/| /' conftest.$ac_ext >&5
41332 eval "$as_ac_var=no"
41335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41336 conftest$ac_exeext conftest.$ac_ext
41338 ac_res=`eval echo '${'$as_ac_var'}'`
41339 { echo "$as_me:$LINENO: result: $ac_res" >&5
41340 echo "${ECHO_T}$ac_res" >&6; }
41341 if test `eval echo '${'$as_ac_var'}'` = yes; then
41342 cat >>confdefs.h <<_ACEOF
41343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41345 cat >>confdefs.h <<\_ACEOF
41346 #define HAVE_GETSERVBYNAME 1
41354 if test "$wxUSE_THREADS" = "yes"; then
41355 cat >>confdefs.h <<\_ACEOF
41356 #define wxUSE_THREADS 1
41360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41362 if test "$wx_cv_func_strtok_r" = "yes"; then
41363 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41364 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41365 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41366 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41367 { echo "$as_me:$LINENO: result: yes" >&5
41368 echo "${ECHO_T}yes" >&6; }
41370 { echo "$as_me:$LINENO: result: no" >&5
41371 echo "${ECHO_T}no" >&6; }
41376 if test "$WXGTK2" = 1 ; then
41377 cat >>confdefs.h <<_ACEOF
41378 #define __WXGTK20__ $WXGTK2
41384 if test "$WXGTK12" = 1 ; then
41385 cat >>confdefs.h <<_ACEOF
41386 #define __WXGTK12__ $WXGTK12
41391 if test "$WXGTK127" = 1 ; then
41392 cat >>confdefs.h <<_ACEOF
41393 #define __WXGTK127__ $WXGTK127
41398 if test "$WXGPE" = 1 ; then
41399 cat >>confdefs.h <<_ACEOF
41400 #define __WXGPE__ $WXGPE
41406 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41410 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41411 wxUSE_DEBUG_INFO=yes
41412 if test "$GCC" = yes; then
41413 DEBUG_CFLAGS="-ggdb"
41417 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41418 cat >>confdefs.h <<\_ACEOF
41422 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41424 if test "$wxUSE_GTK" = 1 ; then
41425 if test "x$wxGTK_VERSION" = "x1" ; then
41426 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41431 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41432 cat >>confdefs.h <<\_ACEOF
41433 #define wxUSE_MEMORY_TRACING 1
41436 cat >>confdefs.h <<\_ACEOF
41437 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41440 cat >>confdefs.h <<\_ACEOF
41441 #define wxUSE_DEBUG_NEW_ALWAYS 1
41444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41447 if test "$wxUSE_DMALLOC" = "yes" ; then
41448 DMALLOC_LIBS="-ldmallocthcxx"
41452 if test "$wxUSE_PROFILE" = "yes" ; then
41453 PROFILE_FLAGS=" -pg"
41456 if test "$GCC" = "yes" ; then
41457 if test "$wxUSE_NO_RTTI" = "yes" ; then
41458 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41460 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41461 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41463 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41464 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41469 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41472 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41478 if test "$wxUSE_OPTIMISE" = "no" ; then
41479 if test "$GCC" = yes ; then
41480 OPTIMISE_CFLAGS="-O0"
41483 if test "$GCC" = yes ; then
41485 *-pc-os2_emx | *-pc-os2-emx )
41486 OPTIMISE_CFLAGS="-O2"
41489 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41493 OPTIMISE_CFLAGS="-O"
41498 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41499 cat >>confdefs.h <<\_ACEOF
41500 #define WXWIN_COMPATIBILITY_2_6 1
41504 WXWIN_COMPATIBILITY_2_8="yes"
41507 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41508 cat >>confdefs.h <<\_ACEOF
41509 #define WXWIN_COMPATIBILITY_2_8 1
41515 if test "$wxUSE_GUI" = "yes"; then
41516 cat >>confdefs.h <<\_ACEOF
41517 #define wxUSE_GUI 1
41524 if test "$wxUSE_UNIX" = "yes"; then
41525 cat >>confdefs.h <<\_ACEOF
41526 #define wxUSE_UNIX 1
41532 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41536 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41537 if test "$USE_DOS" = 1; then
41541 for ac_func in dlopen
41543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41544 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41546 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41547 echo $ECHO_N "(cached) $ECHO_C" >&6
41549 cat >conftest.$ac_ext <<_ACEOF
41552 cat confdefs.h >>conftest.$ac_ext
41553 cat >>conftest.$ac_ext <<_ACEOF
41554 /* end confdefs.h. */
41555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41557 #define $ac_func innocuous_$ac_func
41559 /* System header to define __stub macros and hopefully few prototypes,
41560 which can conflict with char $ac_func (); below.
41561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41562 <limits.h> exists even on freestanding compilers. */
41565 # include <limits.h>
41567 # include <assert.h>
41572 /* Override any GCC internal prototype to avoid an error.
41573 Use char because int might match the return type of a GCC
41574 builtin and then its argument prototype would still apply. */
41579 /* The GNU C library defines this for functions which it implements
41580 to always fail with ENOSYS. Some functions are actually named
41581 something starting with __ and the normal name is an alias. */
41582 #if defined __stub_$ac_func || defined __stub___$ac_func
41589 return $ac_func ();
41594 rm -f conftest.$ac_objext conftest$ac_exeext
41595 if { (ac_try="$ac_link"
41596 case "(($ac_try" in
41597 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41598 *) ac_try_echo
=$ac_try;;
41600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41601 (eval "$ac_link") 2>conftest.er1
41603 grep -v '^ *+' conftest.er1
>conftest.err
41605 cat conftest.err
>&5
41606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41607 (exit $ac_status); } && {
41608 test -z "$ac_c_werror_flag" ||
41609 test ! -s conftest.err
41610 } && test -s conftest
$ac_exeext &&
41611 $as_test_x conftest
$ac_exeext; then
41612 eval "$as_ac_var=yes"
41614 echo "$as_me: failed program was:" >&5
41615 sed 's/^/| /' conftest.
$ac_ext >&5
41617 eval "$as_ac_var=no"
41620 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41621 conftest
$ac_exeext conftest.
$ac_ext
41623 ac_res
=`eval echo '${'$as_ac_var'}'`
41624 { echo "$as_me:$LINENO: result: $ac_res" >&5
41625 echo "${ECHO_T}$ac_res" >&6; }
41626 if test `eval echo '${'$as_ac_var'}'` = yes; then
41627 cat >>confdefs.h
<<_ACEOF
41628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41631 cat >>confdefs.h
<<\_ACEOF
41632 #define HAVE_DLOPEN 1
41639 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41640 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41641 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41642 echo $ECHO_N "(cached) $ECHO_C" >&6
41644 ac_check_lib_save_LIBS
=$LIBS
41646 cat >conftest.
$ac_ext <<_ACEOF
41649 cat confdefs.h
>>conftest.
$ac_ext
41650 cat >>conftest.
$ac_ext <<_ACEOF
41651 /* end confdefs.h. */
41653 /* Override any GCC internal prototype to avoid an error.
41654 Use char because int might match the return type of a GCC
41655 builtin and then its argument prototype would still apply. */
41668 rm -f conftest.
$ac_objext conftest
$ac_exeext
41669 if { (ac_try
="$ac_link"
41670 case "(($ac_try" in
41671 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41672 *) ac_try_echo=$ac_try;;
41674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41675 (eval "$ac_link") 2>conftest.er1
41677 grep -v '^ *+' conftest.er1 >conftest.err
41679 cat conftest.err >&5
41680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41681 (exit $ac_status); } && {
41682 test -z "$ac_c_werror_flag" ||
41683 test ! -s conftest.err
41684 } && test -s conftest$ac_exeext &&
41685 $as_test_x conftest$ac_exeext; then
41686 ac_cv_lib_dl_dlopen=yes
41688 echo "$as_me: failed program was:" >&5
41689 sed 's/^/| /' conftest.$ac_ext >&5
41691 ac_cv_lib_dl_dlopen=no
41694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41695 conftest$ac_exeext conftest.$ac_ext
41696 LIBS=$ac_check_lib_save_LIBS
41698 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41699 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41700 if test $ac_cv_lib_dl_dlopen = yes; then
41702 cat >>confdefs.h <<\_ACEOF
41703 #define HAVE_DLOPEN 1
41707 DL_LINK=" -ldl$DL_LINK"
41712 for ac_func in shl_load
41714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41715 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41717 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41718 echo $ECHO_N "(cached) $ECHO_C" >&6
41720 cat >conftest.$ac_ext <<_ACEOF
41723 cat confdefs.h >>conftest.$ac_ext
41724 cat >>conftest.$ac_ext <<_ACEOF
41725 /* end confdefs.h. */
41726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41728 #define $ac_func innocuous_$ac_func
41730 /* System header to define __stub macros and hopefully few prototypes,
41731 which can conflict with char $ac_func (); below.
41732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41733 <limits.h> exists even on freestanding compilers. */
41736 # include <limits.h>
41738 # include <assert.h>
41743 /* Override any GCC internal prototype to avoid an error.
41744 Use char because int might match the return type of a GCC
41745 builtin and then its argument prototype would still apply. */
41750 /* The GNU C library defines this for functions which it implements
41751 to always fail with ENOSYS. Some functions are actually named
41752 something starting with __ and the normal name is an alias. */
41753 #if defined __stub_$ac_func || defined __stub___$ac_func
41760 return $ac_func ();
41765 rm -f conftest.$ac_objext conftest$ac_exeext
41766 if { (ac_try="$ac_link"
41767 case "(($ac_try" in
41768 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41769 *) ac_try_echo
=$ac_try;;
41771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41772 (eval "$ac_link") 2>conftest.er1
41774 grep -v '^ *+' conftest.er1
>conftest.err
41776 cat conftest.err
>&5
41777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41778 (exit $ac_status); } && {
41779 test -z "$ac_c_werror_flag" ||
41780 test ! -s conftest.err
41781 } && test -s conftest
$ac_exeext &&
41782 $as_test_x conftest
$ac_exeext; then
41783 eval "$as_ac_var=yes"
41785 echo "$as_me: failed program was:" >&5
41786 sed 's/^/| /' conftest.
$ac_ext >&5
41788 eval "$as_ac_var=no"
41791 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41792 conftest
$ac_exeext conftest.
$ac_ext
41794 ac_res
=`eval echo '${'$as_ac_var'}'`
41795 { echo "$as_me:$LINENO: result: $ac_res" >&5
41796 echo "${ECHO_T}$ac_res" >&6; }
41797 if test `eval echo '${'$as_ac_var'}'` = yes; then
41798 cat >>confdefs.h
<<_ACEOF
41799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41802 cat >>confdefs.h
<<\_ACEOF
41803 #define HAVE_SHL_LOAD 1
41810 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41811 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41812 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41813 echo $ECHO_N "(cached) $ECHO_C" >&6
41815 ac_check_lib_save_LIBS
=$LIBS
41816 LIBS
="-lshl_load $LIBS"
41817 cat >conftest.
$ac_ext <<_ACEOF
41820 cat confdefs.h
>>conftest.
$ac_ext
41821 cat >>conftest.
$ac_ext <<_ACEOF
41822 /* end confdefs.h. */
41824 /* Override any GCC internal prototype to avoid an error.
41825 Use char because int might match the return type of a GCC
41826 builtin and then its argument prototype would still apply. */
41839 rm -f conftest.
$ac_objext conftest
$ac_exeext
41840 if { (ac_try
="$ac_link"
41841 case "(($ac_try" in
41842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41843 *) ac_try_echo=$ac_try;;
41845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41846 (eval "$ac_link") 2>conftest.er1
41848 grep -v '^ *+' conftest.er1 >conftest.err
41850 cat conftest.err >&5
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); } && {
41853 test -z "$ac_c_werror_flag" ||
41854 test ! -s conftest.err
41855 } && test -s conftest$ac_exeext &&
41856 $as_test_x conftest$ac_exeext; then
41857 ac_cv_lib_shl_load_dld=yes
41859 echo "$as_me: failed program was:" >&5
41860 sed 's/^/| /' conftest.$ac_ext >&5
41862 ac_cv_lib_shl_load_dld=no
41865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41866 conftest$ac_exeext conftest.$ac_ext
41867 LIBS=$ac_check_lib_save_LIBS
41869 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41870 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41871 if test $ac_cv_lib_shl_load_dld = yes; then
41874 DL_LINK=" -ldld$DL_LINK"
41890 if test "$HAVE_DL_FUNCS" = 1; then
41892 for ac_func in dlerror
41894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41895 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41897 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41898 echo $ECHO_N "(cached) $ECHO_C" >&6
41900 cat >conftest.$ac_ext <<_ACEOF
41903 cat confdefs.h >>conftest.$ac_ext
41904 cat >>conftest.$ac_ext <<_ACEOF
41905 /* end confdefs.h. */
41906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41908 #define $ac_func innocuous_$ac_func
41910 /* System header to define __stub macros and hopefully few prototypes,
41911 which can conflict with char $ac_func (); below.
41912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41913 <limits.h> exists even on freestanding compilers. */
41916 # include <limits.h>
41918 # include <assert.h>
41923 /* Override any GCC internal prototype to avoid an error.
41924 Use char because int might match the return type of a GCC
41925 builtin and then its argument prototype would still apply. */
41930 /* The GNU C library defines this for functions which it implements
41931 to always fail with ENOSYS. Some functions are actually named
41932 something starting with __ and the normal name is an alias. */
41933 #if defined __stub_$ac_func || defined __stub___$ac_func
41940 return $ac_func ();
41945 rm -f conftest.$ac_objext conftest$ac_exeext
41946 if { (ac_try="$ac_link"
41947 case "(($ac_try" in
41948 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41949 *) ac_try_echo
=$ac_try;;
41951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41952 (eval "$ac_link") 2>conftest.er1
41954 grep -v '^ *+' conftest.er1
>conftest.err
41956 cat conftest.err
>&5
41957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41958 (exit $ac_status); } && {
41959 test -z "$ac_c_werror_flag" ||
41960 test ! -s conftest.err
41961 } && test -s conftest
$ac_exeext &&
41962 $as_test_x conftest
$ac_exeext; then
41963 eval "$as_ac_var=yes"
41965 echo "$as_me: failed program was:" >&5
41966 sed 's/^/| /' conftest.
$ac_ext >&5
41968 eval "$as_ac_var=no"
41971 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41972 conftest
$ac_exeext conftest.
$ac_ext
41974 ac_res
=`eval echo '${'$as_ac_var'}'`
41975 { echo "$as_me:$LINENO: result: $ac_res" >&5
41976 echo "${ECHO_T}$ac_res" >&6; }
41977 if test `eval echo '${'$as_ac_var'}'` = yes; then
41978 cat >>confdefs.h
<<_ACEOF
41979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41981 cat >>confdefs.h
<<\_ACEOF
41982 #define HAVE_DLERROR 1
41987 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41988 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41989 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41990 echo $ECHO_N "(cached) $ECHO_C" >&6
41992 ac_check_lib_save_LIBS
=$LIBS
41994 cat >conftest.
$ac_ext <<_ACEOF
41997 cat confdefs.h
>>conftest.
$ac_ext
41998 cat >>conftest.
$ac_ext <<_ACEOF
41999 /* end confdefs.h. */
42001 /* Override any GCC internal prototype to avoid an error.
42002 Use char because int might match the return type of a GCC
42003 builtin and then its argument prototype would still apply. */
42016 rm -f conftest.
$ac_objext conftest
$ac_exeext
42017 if { (ac_try
="$ac_link"
42018 case "(($ac_try" in
42019 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42020 *) ac_try_echo=$ac_try;;
42022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42023 (eval "$ac_link") 2>conftest.er1
42025 grep -v '^ *+' conftest.er1 >conftest.err
42027 cat conftest.err >&5
42028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42029 (exit $ac_status); } && {
42030 test -z "$ac_c_werror_flag" ||
42031 test ! -s conftest.err
42032 } && test -s conftest$ac_exeext &&
42033 $as_test_x conftest$ac_exeext; then
42034 ac_cv_lib_dl_dlerror=yes
42036 echo "$as_me: failed program was:" >&5
42037 sed 's/^/| /' conftest.$ac_ext >&5
42039 ac_cv_lib_dl_dlerror=no
42042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42043 conftest$ac_exeext conftest.$ac_ext
42044 LIBS=$ac_check_lib_save_LIBS
42046 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42047 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42048 if test $ac_cv_lib_dl_dlerror = yes; then
42049 cat >>confdefs.h <<\_ACEOF
42050 #define HAVE_DLERROR 1
42063 if test "$USE_DARWIN" = 1; then
42067 if test "$HAVE_DL_FUNCS" = 0; then
42068 if test "$HAVE_SHL_FUNCS" = 0; then
42069 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42070 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42071 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42072 wxUSE_DYNAMIC_LOADER=no
42073 wxUSE_DYNLIB_CLASS=no
42075 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42076 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42083 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42084 cat >>confdefs.h <<\_ACEOF
42085 #define wxUSE_DYNAMIC_LOADER 1
42089 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42090 cat >>confdefs.h <<\_ACEOF
42091 #define wxUSE_DYNLIB_CLASS 1
42098 if test "$wxUSE_PLUGINS" = "yes" ; then
42099 if test "$wxUSE_SHARED" = "no" ; then
42100 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42101 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42104 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42105 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42106 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42109 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42110 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42111 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42114 if test "$wxUSE_PLUGINS" = "yes" ; then
42115 cat >>confdefs.h <<\_ACEOF
42116 #define wxUSE_PLUGINS 1
42123 if test "$wxUSE_STL" = "yes"; then
42124 cat >>confdefs.h <<\_ACEOF
42125 #define wxUSE_STL 1
42130 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42131 cat >>confdefs.h <<\_ACEOF
42132 #define wxUSE_EXTENDED_RTTI 1
42137 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42138 cat >>confdefs.h <<\_ACEOF
42139 #define wxUSE_APPLE_IEEE 1
42144 if test "$wxUSE_TIMER" = "yes"; then
42145 cat >>confdefs.h <<\_ACEOF
42146 #define wxUSE_TIMER 1
42151 if test "$USE_UNIX" = 1 ; then
42152 if test "$wxUSE_MGL" != 1; then
42153 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42154 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42155 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42156 echo $ECHO_N "(cached) $ECHO_C" >&6
42159 cat >conftest.$ac_ext <<_ACEOF
42162 cat confdefs.h >>conftest.$ac_ext
42163 cat >>conftest.$ac_ext <<_ACEOF
42164 /* end confdefs.h. */
42166 #include <sys/ioctl.h>
42167 #include <sys/soundcard.h>
42173 ioctl(0, SNDCTL_DSP_SPEED, 0);
42179 rm -f conftest.$ac_objext conftest$ac_exeext
42180 if { (ac_try="$ac_link"
42181 case "(($ac_try" in
42182 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42183 *) ac_try_echo
=$ac_try;;
42185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42186 (eval "$ac_link") 2>conftest.er1
42188 grep -v '^ *+' conftest.er1
>conftest.err
42190 cat conftest.err
>&5
42191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42192 (exit $ac_status); } && {
42193 test -z "$ac_c_werror_flag" ||
42194 test ! -s conftest.err
42195 } && test -s conftest
$ac_exeext &&
42196 $as_test_x conftest
$ac_exeext; then
42197 ac_cv_header_sys_soundcard
=yes
42199 echo "$as_me: failed program was:" >&5
42200 sed 's/^/| /' conftest.
$ac_ext >&5
42204 LIBS
="$saveLibs -lossaudio"
42205 cat >conftest.
$ac_ext <<_ACEOF
42208 cat confdefs.h
>>conftest.
$ac_ext
42209 cat >>conftest.
$ac_ext <<_ACEOF
42210 /* end confdefs.h. */
42212 #include <sys/ioctl.h>
42213 #include <sys/soundcard.h>
42219 ioctl(0, SNDCTL_DSP_SPEED, 0);
42225 rm -f conftest.
$ac_objext conftest
$ac_exeext
42226 if { (ac_try
="$ac_link"
42227 case "(($ac_try" in
42228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42229 *) ac_try_echo=$ac_try;;
42231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42232 (eval "$ac_link") 2>conftest.er1
42234 grep -v '^ *+' conftest.er1 >conftest.err
42236 cat conftest.err >&5
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); } && {
42239 test -z "$ac_c_werror_flag" ||
42240 test ! -s conftest.err
42241 } && test -s conftest$ac_exeext &&
42242 $as_test_x conftest$ac_exeext; then
42243 ac_cv_header_sys_soundcard=yes
42245 echo "$as_me: failed program was:" >&5
42246 sed 's/^/| /' conftest.$ac_ext >&5
42250 ac_cv_header_sys_soundcard=no
42255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42256 conftest$ac_exeext conftest.$ac_ext
42261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42262 conftest$ac_exeext conftest.$ac_ext
42265 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42266 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42269 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42270 cat >>confdefs.h <<\_ACEOF
42271 #define HAVE_SYS_SOUNDCARD_H 1
42278 if test "$wxUSE_SOUND" = "yes"; then
42279 if test "$USE_UNIX" = 1 ; then
42280 if test "$wxUSE_LIBSDL" != "no"; then
42282 # Check whether --with-sdl-prefix was given.
42283 if test "${with_sdl_prefix+set}" = set; then
42284 withval=$with_sdl_prefix; sdl_prefix="$withval"
42290 # Check whether --with-sdl-exec-prefix was given.
42291 if test "${with_sdl_exec_prefix+set}" = set; then
42292 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42297 # Check whether --enable-sdltest was given.
42298 if test "${enable_sdltest+set}" = set; then
42299 enableval=$enable_sdltest;
42305 if test x$sdl_exec_prefix != x ; then
42306 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42307 if test x${SDL_CONFIG+set} != xset ; then
42308 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42311 if test x$sdl_prefix != x ; then
42312 sdl_args="$sdl_args --prefix=$sdl_prefix"
42313 if test x${SDL_CONFIG+set} != xset ; then
42314 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42318 if test "x$prefix" != xNONE; then
42319 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42321 # Extract the first word of "sdl-config", so it can be a program name with args.
42322 set dummy sdl-config; ac_word=$2
42323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42325 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42326 echo $ECHO_N "(cached) $ECHO_C" >&6
42328 case $SDL_CONFIG in
42330 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42334 for as_dir in $PATH
42337 test -z "$as_dir" && as_dir=.
42338 for ac_exec_ext in '' $ac_executable_extensions; do
42339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42340 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42348 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42352 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42353 if test -n "$SDL_CONFIG"; then
42354 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42355 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42357 { echo "$as_me:$LINENO: result: no" >&5
42358 echo "${ECHO_T}no" >&6; }
42362 min_sdl_version=1.2.0
42363 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42364 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42366 if test "$SDL_CONFIG" = "no" ; then
42369 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42370 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42372 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42373 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42374 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42375 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42376 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42377 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42378 if test "x$enable_sdltest" = "xyes" ; then
42379 ac_save_CFLAGS="$CFLAGS"
42380 ac_save_CXXFLAGS="$CXXFLAGS"
42381 ac_save_LIBS="$LIBS"
42382 CFLAGS="$CFLAGS $SDL_CFLAGS"
42383 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42384 LIBS="$LIBS $SDL_LIBS"
42386 if test "$cross_compiling" = yes; then
42387 echo $ac_n "cross compiling; assumed OK... $ac_c"
42389 cat >conftest.$ac_ext <<_ACEOF
42392 cat confdefs.h >>conftest.$ac_ext
42393 cat >>conftest.$ac_ext <<_ACEOF
42394 /* end confdefs.h. */
42397 #include <stdlib.h>
42398 #include <string.h>
42402 my_strdup (char *str)
42408 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42409 strcpy (new_str, str);
42417 int main (int argc, char *argv[])
42419 int major, minor, micro;
42422 /* This hangs on some systems (?)
42423 system ("touch conf.sdltest");
42425 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42427 /* HP/UX 9 (%@#!) writes to sscanf strings */
42428 tmp_version = my_strdup("$min_sdl_version");
42429 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
42430 printf("%s, bad version string\n", "$min_sdl_version");
42434 if (($sdl_major_version > major) ||
42435 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42436 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42442 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42443 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42444 printf("*** best to upgrade to the required version.\n");
42445 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42446 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42447 printf("*** config.cache before re-running configure\n");
42454 rm -f conftest$ac_exeext
42455 if { (ac_try="$ac_link"
42456 case "(($ac_try" in
42457 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42458 *) ac_try_echo
=$ac_try;;
42460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42461 (eval "$ac_link") 2>&5
42463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42464 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
42465 { (case "(($ac_try" in
42466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42467 *) ac_try_echo=$ac_try;;
42469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42470 (eval "$ac_try") 2>&5
42472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42473 (exit $ac_status); }; }; then
42476 echo "$as_me: program exited with status $ac_status" >&5
42477 echo "$as_me: failed program was:" >&5
42478 sed 's/^/| /' conftest.$ac_ext >&5
42480 ( exit $ac_status )
42483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42487 CFLAGS="$ac_save_CFLAGS"
42488 CXXFLAGS="$ac_save_CXXFLAGS"
42489 LIBS="$ac_save_LIBS"
42492 if test "x$no_sdl" = x ; then
42493 { echo "$as_me:$LINENO: result: yes" >&5
42494 echo "${ECHO_T}yes" >&6; }
42496 EXTRALIBS_SDL="$SDL_LIBS"
42497 CFLAGS="$SDL_CFLAGS $CFLAGS"
42498 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42499 cat >>confdefs.h <<\_ACEOF
42500 #define wxUSE_LIBSDL 1
42505 { echo "$as_me:$LINENO: result: no" >&5
42506 echo "${ECHO_T}no" >&6; }
42507 if test "$SDL_CONFIG" = "no" ; then
42508 echo "*** The sdl-config script installed by SDL could not be found"
42509 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42510 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42511 echo "*** full path to sdl-config."
42513 if test -f conf.sdltest ; then
42516 echo "*** Could not run SDL test program, checking why..."
42517 CFLAGS="$CFLAGS $SDL_CFLAGS"
42518 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42519 LIBS="$LIBS $SDL_LIBS"
42520 cat >conftest.$ac_ext <<_ACEOF
42523 cat confdefs.h >>conftest.$ac_ext
42524 cat >>conftest.$ac_ext <<_ACEOF
42525 /* end confdefs.h. */
42530 int main(int argc, char *argv[])
42533 #define main K_and_R_C_main
42543 rm -f conftest.$ac_objext conftest$ac_exeext
42544 if { (ac_try="$ac_link"
42545 case "(($ac_try" in
42546 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42547 *) ac_try_echo
=$ac_try;;
42549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42550 (eval "$ac_link") 2>conftest.er1
42552 grep -v '^ *+' conftest.er1
>conftest.err
42554 cat conftest.err
>&5
42555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42556 (exit $ac_status); } && {
42557 test -z "$ac_c_werror_flag" ||
42558 test ! -s conftest.err
42559 } && test -s conftest
$ac_exeext &&
42560 $as_test_x conftest
$ac_exeext; then
42561 echo "*** The test program compiled, but did not run. This usually means"
42562 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42563 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42564 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42565 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42566 echo "*** is required on your system"
42568 echo "*** If you have an old version installed, it is best to remove it, although"
42569 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42571 echo "$as_me: failed program was:" >&5
42572 sed 's/^/| /' conftest.
$ac_ext >&5
42574 echo "*** The test program failed to compile or link. See the file config.log for the"
42575 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42576 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42577 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42580 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42581 conftest
$ac_exeext conftest.
$ac_ext
42582 CFLAGS
="$ac_save_CFLAGS"
42583 CXXFLAGS
="$ac_save_CXXFLAGS"
42584 LIBS
="$ac_save_LIBS"
42595 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42600 if test "$wxUSE_MGL" = 1; then
42601 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42602 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42608 if test "$wxUSE_SOUND" = "yes"; then
42609 cat >>confdefs.h
<<\_ACEOF
42610 #define wxUSE_SOUND 1
42613 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
42616 if test "$WXGTK2" = 1; then
42619 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42620 if test -n "$ac_tool_prefix"; then
42621 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42622 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
42623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42625 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42626 echo $ECHO_N "(cached) $ECHO_C" >&6
42628 case $PKG_CONFIG in
42630 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
42633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42634 for as_dir
in $PATH
42637 test -z "$as_dir" && as_dir
=.
42638 for ac_exec_ext
in '' $ac_executable_extensions; do
42639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42640 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42651 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
42652 if test -n "$PKG_CONFIG"; then
42653 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42654 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42656 { echo "$as_me:$LINENO: result: no" >&5
42657 echo "${ECHO_T}no" >&6; }
42662 if test -z "$ac_cv_path_PKG_CONFIG"; then
42663 ac_pt_PKG_CONFIG
=$PKG_CONFIG
42664 # Extract the first word of "pkg-config", so it can be a program name with args.
42665 set dummy pkg
-config; ac_word
=$2
42666 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42668 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42669 echo $ECHO_N "(cached) $ECHO_C" >&6
42671 case $ac_pt_PKG_CONFIG in
42673 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
42677 for as_dir
in $PATH
42680 test -z "$as_dir" && as_dir
=.
42681 for ac_exec_ext
in '' $ac_executable_extensions; do
42682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42683 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
42684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42694 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
42695 if test -n "$ac_pt_PKG_CONFIG"; then
42696 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42697 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42699 { echo "$as_me:$LINENO: result: no" >&5
42700 echo "${ECHO_T}no" >&6; }
42703 if test "x$ac_pt_PKG_CONFIG" = x
; then
42706 case $cross_compiling:$ac_tool_warned in
42708 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42709 whose name does not start with the host triplet. If you think this
42710 configuration is useful to you, please write to autoconf@gnu.org." >&5
42711 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42712 whose name does not start with the host triplet. If you think this
42713 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42714 ac_tool_warned
=yes ;;
42716 PKG_CONFIG
=$ac_pt_PKG_CONFIG
42719 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
42723 if test -n "$PKG_CONFIG"; then
42724 _pkg_min_version
=0.9.0
42725 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42726 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42727 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42728 { echo "$as_me:$LINENO: result: yes" >&5
42729 echo "${ECHO_T}yes" >&6; }
42731 { echo "$as_me:$LINENO: result: no" >&5
42732 echo "${ECHO_T}no" >&6; }
42738 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42740 if test "$wxUSE_GTKPRINT" = "yes" ; then
42744 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42745 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42747 if test -n "$PKG_CONFIG"; then
42748 if test -n "$GTKPRINT_CFLAGS"; then
42749 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
42751 if test -n "$PKG_CONFIG" && \
42752 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42753 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42756 (exit $ac_status); }; then
42757 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42765 if test -n "$PKG_CONFIG"; then
42766 if test -n "$GTKPRINT_LIBS"; then
42767 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
42769 if test -n "$PKG_CONFIG" && \
42770 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42771 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42774 (exit $ac_status); }; then
42775 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42786 if test $pkg_failed = yes; then
42788 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42789 _pkg_short_errors_supported
=yes
42791 _pkg_short_errors_supported
=no
42793 if test $_pkg_short_errors_supported = yes; then
42794 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42796 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42798 # Put the nasty error message in config.log where it belongs
42799 echo "$GTKPRINT_PKG_ERRORS" >&5
42802 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42803 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42804 wxUSE_GTKPRINT
="no"
42807 elif test $pkg_failed = untried
; then
42809 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42810 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42811 wxUSE_GTKPRINT
="no"
42815 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
42816 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
42817 { echo "$as_me:$LINENO: result: yes" >&5
42818 echo "${ECHO_T}yes" >&6; }
42820 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
42821 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
42822 cat >>confdefs.h
<<\_ACEOF
42823 #define wxUSE_GTKPRINT 1
42830 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42834 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42835 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42837 if test -n "$PKG_CONFIG"; then
42838 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42839 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
42841 if test -n "$PKG_CONFIG" && \
42842 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42843 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42846 (exit $ac_status); }; then
42847 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42855 if test -n "$PKG_CONFIG"; then
42856 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42857 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
42859 if test -n "$PKG_CONFIG" && \
42860 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42861 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42864 (exit $ac_status); }; then
42865 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42876 if test $pkg_failed = yes; then
42878 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42879 _pkg_short_errors_supported
=yes
42881 _pkg_short_errors_supported
=no
42883 if test $_pkg_short_errors_supported = yes; then
42884 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42886 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42888 # Put the nasty error message in config.log where it belongs
42889 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42892 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42893 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42894 wxUSE_LIBGNOMEPRINT
="no"
42897 elif test $pkg_failed = untried
; then
42899 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42900 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42901 wxUSE_LIBGNOMEPRINT
="no"
42905 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42906 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42907 { echo "$as_me:$LINENO: result: yes" >&5
42908 echo "${ECHO_T}yes" >&6; }
42910 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42911 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42912 cat >>confdefs.h
<<\_ACEOF
42913 #define wxUSE_LIBGNOMEPRINT 1
42921 if test "$wxUSE_MIMETYPE" = "yes" ; then
42922 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42926 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42927 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42929 if test -n "$PKG_CONFIG"; then
42930 if test -n "$GNOMEVFS_CFLAGS"; then
42931 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
42933 if test -n "$PKG_CONFIG" && \
42934 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42935 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42938 (exit $ac_status); }; then
42939 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42947 if test -n "$PKG_CONFIG"; then
42948 if test -n "$GNOMEVFS_LIBS"; then
42949 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
42951 if test -n "$PKG_CONFIG" && \
42952 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42953 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42956 (exit $ac_status); }; then
42957 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42968 if test $pkg_failed = yes; then
42970 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42971 _pkg_short_errors_supported
=yes
42973 _pkg_short_errors_supported
=no
42975 if test $_pkg_short_errors_supported = yes; then
42976 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42978 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42980 # Put the nasty error message in config.log where it belongs
42981 echo "$GNOMEVFS_PKG_ERRORS" >&5
42984 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42985 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42986 wxUSE_LIBGNOMEVFS
="no"
42989 elif test $pkg_failed = untried
; then
42991 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42992 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42993 wxUSE_LIBGNOMEVFS
="no"
42997 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
42998 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
42999 { echo "$as_me:$LINENO: result: yes" >&5
43000 echo "${ECHO_T}yes" >&6; }
43002 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
43003 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
43004 cat >>confdefs.h
<<\_ACEOF
43005 #define wxUSE_LIBGNOMEVFS 1
43013 if test "$wxUSE_LIBHILDON" = "yes" ; then
43016 { echo "$as_me:$LINENO: checking for HILDON" >&5
43017 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43019 if test -n "$PKG_CONFIG"; then
43020 if test -n "$HILDON_CFLAGS"; then
43021 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
43023 if test -n "$PKG_CONFIG" && \
43024 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43025 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43028 (exit $ac_status); }; then
43029 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43037 if test -n "$PKG_CONFIG"; then
43038 if test -n "$HILDON_LIBS"; then
43039 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
43041 if test -n "$PKG_CONFIG" && \
43042 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43043 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43046 (exit $ac_status); }; then
43047 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43058 if test $pkg_failed = yes; then
43060 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43061 _pkg_short_errors_supported
=yes
43063 _pkg_short_errors_supported
=no
43065 if test $_pkg_short_errors_supported = yes; then
43066 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43068 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43070 # Put the nasty error message in config.log where it belongs
43071 echo "$HILDON_PKG_ERRORS" >&5
43074 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43075 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43076 wxUSE_LIBHILDON
="no"
43079 elif test $pkg_failed = untried
; then
43081 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43082 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43083 wxUSE_LIBHILDON
="no"
43087 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
43088 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
43089 { echo "$as_me:$LINENO: result: yes" >&5
43090 echo "${ECHO_T}yes" >&6; }
43092 EXTRALIBS_HILDON
="$HILDON_LIBS"
43093 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
43094 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
43095 cat >>confdefs.h
<<\_ACEOF
43096 #define wxUSE_LIBHILDON 1
43104 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43105 cat >>confdefs.h
<<\_ACEOF
43106 #define wxUSE_CMDLINE_PARSER 1
43111 if test "$wxUSE_STOPWATCH" = "yes"; then
43112 cat >>confdefs.h
<<\_ACEOF
43113 #define wxUSE_STOPWATCH 1
43118 if test "$wxUSE_DATETIME" = "yes"; then
43119 cat >>confdefs.h
<<\_ACEOF
43120 #define wxUSE_DATETIME 1
43125 if test "$wxUSE_FILE" = "yes"; then
43126 cat >>confdefs.h
<<\_ACEOF
43127 #define wxUSE_FILE 1
43132 if test "$wxUSE_FFILE" = "yes"; then
43133 cat >>confdefs.h
<<\_ACEOF
43134 #define wxUSE_FFILE 1
43139 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43140 if test "$wxUSE_STREAMS" != yes; then
43141 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43142 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43143 wxUSE_ARCHIVE_STREAMS
=no
43145 cat >>confdefs.h
<<\_ACEOF
43146 #define wxUSE_ARCHIVE_STREAMS 1
43152 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43153 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43154 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43155 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43156 elif test "$wxUSE_ZLIB" = "no"; then
43157 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43158 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43160 cat >>confdefs.h
<<\_ACEOF
43161 #define wxUSE_ZIPSTREAM 1
43167 if test "$wxUSE_TARSTREAM" = "yes"; then
43168 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43169 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43170 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43172 cat >>confdefs.h
<<\_ACEOF
43173 #define wxUSE_TARSTREAM 1
43179 if test "$wxUSE_FILESYSTEM" = "yes"; then
43180 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
43181 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43182 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43183 wxUSE_FILESYSTEM
=no
43185 cat >>confdefs.h
<<\_ACEOF
43186 #define wxUSE_FILESYSTEM 1
43192 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43193 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43194 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43195 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43197 cat >>confdefs.h
<<\_ACEOF
43198 #define wxUSE_FS_ARCHIVE 1
43204 if test "$wxUSE_FS_ZIP" = "yes"; then
43205 if test "$wxUSE_FS_ARCHIVE" != yes; then
43206 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43207 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43209 cat >>confdefs.h
<<\_ACEOF
43210 #define wxUSE_FS_ZIP 1
43216 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43217 if test "$USE_UNIX" != 1; then
43218 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43219 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43220 wxUSE_ON_FATAL_EXCEPTION
=no
43222 cat >>confdefs.h
<<\_ACEOF
43223 #define wxUSE_ON_FATAL_EXCEPTION 1
43229 if test "$wxUSE_STACKWALKER" = "yes"; then
43230 cat >>confdefs.h
<<\_ACEOF
43231 #define wxUSE_STACKWALKER 1
43236 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43237 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43238 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43239 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43240 wxUSE_DEBUGREPORT
=no
43242 cat >>confdefs.h
<<\_ACEOF
43243 #define wxUSE_DEBUGREPORT 1
43246 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
43252 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43253 cat >>confdefs.h
<<\_ACEOF
43254 #define wxUSE_SNGLINST_CHECKER 1
43259 if test "$wxUSE_BUSYINFO" = "yes"; then
43260 cat >>confdefs.h
<<\_ACEOF
43261 #define wxUSE_BUSYINFO 1
43266 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43267 cat >>confdefs.h
<<\_ACEOF
43268 #define wxUSE_STD_IOSTREAM 1
43273 if test "$wxUSE_STD_STRING" = "yes"; then
43274 cat >>confdefs.h
<<\_ACEOF
43275 #define wxUSE_STD_STRING 1
43280 if test "$wxUSE_STDPATHS" = "yes"; then
43281 cat >>confdefs.h
<<\_ACEOF
43282 #define wxUSE_STDPATHS 1
43287 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43288 cat >>confdefs.h
<<\_ACEOF
43289 #define wxUSE_TEXTBUFFER 1
43294 if test "$wxUSE_TEXTFILE" = "yes"; then
43295 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43296 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43297 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43299 cat >>confdefs.h
<<\_ACEOF
43300 #define wxUSE_TEXTFILE 1
43306 if test "$wxUSE_CONFIG" = "yes" ; then
43307 if test "$wxUSE_TEXTFILE" != "yes"; then
43308 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43309 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43311 cat >>confdefs.h
<<\_ACEOF
43312 #define wxUSE_CONFIG 1
43315 cat >>confdefs.h
<<\_ACEOF
43316 #define wxUSE_CONFIG_NATIVE 1
43319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
43323 if test "$wxUSE_INTL" = "yes" ; then
43324 if test "$wxUSE_FILE" != "yes"; then
43325 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43326 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43328 cat >>confdefs.h
<<\_ACEOF
43329 #define wxUSE_INTL 1
43332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
43333 GUIDIST
="$GUIDIST INTL_DIST"
43337 if test "$wxUSE_XLOCALE" = "yes" ; then
43338 cat >>confdefs.h
<<\_ACEOF
43339 #define wxUSE_XLOCALE 1
43342 { echo "$as_me:$LINENO: checking for locale_t" >&5
43343 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43344 if test "${ac_cv_type_locale_t+set}" = set; then
43345 echo $ECHO_N "(cached) $ECHO_C" >&6
43347 cat >conftest.
$ac_ext <<_ACEOF
43350 cat confdefs.h
>>conftest.
$ac_ext
43351 cat >>conftest.
$ac_ext <<_ACEOF
43352 /* end confdefs.h. */
43353 #include <xlocale.h>
43354 #include <locale.h>
43356 typedef locale_t ac__type_new_;
43360 if ((ac__type_new_ *) 0)
43362 if (sizeof (ac__type_new_))
43368 rm -f conftest.
$ac_objext
43369 if { (ac_try
="$ac_compile"
43370 case "(($ac_try" in
43371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43372 *) ac_try_echo=$ac_try;;
43374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43375 (eval "$ac_compile") 2>conftest.er1
43377 grep -v '^ *+' conftest.er1 >conftest.err
43379 cat conftest.err >&5
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); } && {
43382 test -z "$ac_c_werror_flag" ||
43383 test ! -s conftest.err
43384 } && test -s conftest.$ac_objext; then
43385 ac_cv_type_locale_t=yes
43387 echo "$as_me: failed program was:" >&5
43388 sed 's/^/| /' conftest.$ac_ext >&5
43390 ac_cv_type_locale_t=no
43393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43395 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43396 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43397 if test $ac_cv_type_locale_t = yes; then
43399 cat >>confdefs.h <<_ACEOF
43400 #define HAVE_LOCALE_T 1
43408 if test "$wxUSE_LOG" = "yes"; then
43409 cat >>confdefs.h <<\_ACEOF
43410 #define wxUSE_LOG 1
43414 if test "$wxUSE_LOGGUI" = "yes"; then
43415 cat >>confdefs.h <<\_ACEOF
43416 #define wxUSE_LOGGUI 1
43421 if test "$wxUSE_LOGWINDOW" = "yes"; then
43422 cat >>confdefs.h <<\_ACEOF
43423 #define wxUSE_LOGWINDOW 1
43428 if test "$wxUSE_LOGDIALOG" = "yes"; then
43429 cat >>confdefs.h <<\_ACEOF
43430 #define wxUSE_LOG_DIALOG 1
43435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43438 if test "$wxUSE_LONGLONG" = "yes"; then
43439 cat >>confdefs.h <<\_ACEOF
43440 #define wxUSE_LONGLONG 1
43445 if test "$wxUSE_GEOMETRY" = "yes"; then
43446 cat >>confdefs.h <<\_ACEOF
43447 #define wxUSE_GEOMETRY 1
43452 if test "$wxUSE_BASE64" = "yes"; then
43453 cat >>confdefs.h <<\_ACEOF
43454 #define wxUSE_BASE64 1
43459 if test "$wxUSE_STREAMS" = "yes" ; then
43460 cat >>confdefs.h <<\_ACEOF
43461 #define wxUSE_STREAMS 1
43466 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43467 cat >>confdefs.h <<\_ACEOF
43468 #define wxUSE_PRINTF_POS_PARAMS 1
43473 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43474 cat >>confdefs.h <<\_ACEOF
43475 #define wxUSE_OBJC_UNIQUIFYING 1
43481 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43482 cat >>confdefs.h <<\_ACEOF
43483 #define wxUSE_CONSOLE_EVENTLOOP 1
43487 if test "$wxUSE_UNIX" = "yes"; then
43488 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43489 cat >>confdefs.h <<\_ACEOF
43490 #define wxUSE_SELECT_DISPATCHER 1
43495 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43497 for ac_header in sys/epoll.h
43499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43500 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43503 echo $ECHO_N "(cached) $ECHO_C" >&6
43505 cat >conftest.$ac_ext <<_ACEOF
43508 cat confdefs.h >>conftest.$ac_ext
43509 cat >>conftest.$ac_ext <<_ACEOF
43510 /* end confdefs.h. */
43511 $ac_includes_default
43513 #include <$ac_header>
43515 rm -f conftest.$ac_objext
43516 if { (ac_try="$ac_compile"
43517 case "(($ac_try" in
43518 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43519 *) ac_try_echo
=$ac_try;;
43521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43522 (eval "$ac_compile") 2>conftest.er1
43524 grep -v '^ *+' conftest.er1
>conftest.err
43526 cat conftest.err
>&5
43527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43528 (exit $ac_status); } && {
43529 test -z "$ac_c_werror_flag" ||
43530 test ! -s conftest.err
43531 } && test -s conftest.
$ac_objext; then
43532 eval "$as_ac_Header=yes"
43534 echo "$as_me: failed program was:" >&5
43535 sed 's/^/| /' conftest.
$ac_ext >&5
43537 eval "$as_ac_Header=no"
43540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43542 ac_res
=`eval echo '${'$as_ac_Header'}'`
43543 { echo "$as_me:$LINENO: result: $ac_res" >&5
43544 echo "${ECHO_T}$ac_res" >&6; }
43545 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43546 cat >>confdefs.h
<<_ACEOF
43547 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43554 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43555 cat >>confdefs.h
<<\_ACEOF
43556 #define wxUSE_EPOLL_DISPATCHER 1
43560 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43561 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43570 for ac_func
in gettimeofday ftime
43572 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43573 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43575 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43576 echo $ECHO_N "(cached) $ECHO_C" >&6
43578 cat >conftest.
$ac_ext <<_ACEOF
43581 cat confdefs.h
>>conftest.
$ac_ext
43582 cat >>conftest.
$ac_ext <<_ACEOF
43583 /* end confdefs.h. */
43584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43586 #define $ac_func innocuous_$ac_func
43588 /* System header to define __stub macros and hopefully few prototypes,
43589 which can conflict with char $ac_func (); below.
43590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43591 <limits.h> exists even on freestanding compilers. */
43594 # include <limits.h>
43596 # include <assert.h>
43601 /* Override any GCC internal prototype to avoid an error.
43602 Use char because int might match the return type of a GCC
43603 builtin and then its argument prototype would still apply. */
43608 /* The GNU C library defines this for functions which it implements
43609 to always fail with ENOSYS. Some functions are actually named
43610 something starting with __ and the normal name is an alias. */
43611 #if defined __stub_$ac_func || defined __stub___$ac_func
43618 return $ac_func ();
43623 rm -f conftest.
$ac_objext conftest
$ac_exeext
43624 if { (ac_try
="$ac_link"
43625 case "(($ac_try" in
43626 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43627 *) ac_try_echo=$ac_try;;
43629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43630 (eval "$ac_link") 2>conftest.er1
43632 grep -v '^ *+' conftest.er1 >conftest.err
43634 cat conftest.err >&5
43635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43636 (exit $ac_status); } && {
43637 test -z "$ac_c_werror_flag" ||
43638 test ! -s conftest.err
43639 } && test -s conftest$ac_exeext &&
43640 $as_test_x conftest$ac_exeext; then
43641 eval "$as_ac_var=yes"
43643 echo "$as_me: failed program was:" >&5
43644 sed 's/^/| /' conftest.$ac_ext >&5
43646 eval "$as_ac_var=no"
43649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43650 conftest$ac_exeext conftest.$ac_ext
43652 ac_res=`eval echo '${'$as_ac_var'}'`
43653 { echo "$as_me:$LINENO: result: $ac_res" >&5
43654 echo "${ECHO_T}$ac_res" >&6; }
43655 if test `eval echo '${'$as_ac_var'}'` = yes; then
43656 cat >>confdefs.h <<_ACEOF
43657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43664 if test "$ac_cv_func_gettimeofday" = "yes"; then
43665 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43666 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43667 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43668 echo $ECHO_N "(cached) $ECHO_C" >&6
43671 cat >conftest.$ac_ext <<_ACEOF
43674 cat confdefs.h >>conftest.$ac_ext
43675 cat >>conftest.$ac_ext <<_ACEOF
43676 /* end confdefs.h. */
43678 #include <sys/time.h>
43679 #include <unistd.h>
43686 gettimeofday(&tv, NULL);
43692 rm -f conftest.$ac_objext
43693 if { (ac_try="$ac_compile"
43694 case "(($ac_try" in
43695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43696 *) ac_try_echo
=$ac_try;;
43698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43699 (eval "$ac_compile") 2>conftest.er1
43701 grep -v '^ *+' conftest.er1
>conftest.err
43703 cat conftest.err
>&5
43704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43705 (exit $ac_status); } && {
43706 test -z "$ac_c_werror_flag" ||
43707 test ! -s conftest.err
43708 } && test -s conftest.
$ac_objext; then
43709 wx_cv_func_gettimeofday_has_2_args
=yes
43711 echo "$as_me: failed program was:" >&5
43712 sed 's/^/| /' conftest.
$ac_ext >&5
43714 cat >conftest.
$ac_ext <<_ACEOF
43717 cat confdefs.h
>>conftest.
$ac_ext
43718 cat >>conftest.
$ac_ext <<_ACEOF
43719 /* end confdefs.h. */
43721 #include <sys/time.h>
43722 #include <unistd.h>
43735 rm -f conftest.
$ac_objext
43736 if { (ac_try
="$ac_compile"
43737 case "(($ac_try" in
43738 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43739 *) ac_try_echo=$ac_try;;
43741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43742 (eval "$ac_compile") 2>conftest.er1
43744 grep -v '^ *+' conftest.er1 >conftest.err
43746 cat conftest.err >&5
43747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43748 (exit $ac_status); } && {
43749 test -z "$ac_c_werror_flag" ||
43750 test ! -s conftest.err
43751 } && test -s conftest.$ac_objext; then
43752 wx_cv_func_gettimeofday_has_2_args=no
43754 echo "$as_me: failed program was:" >&5
43755 sed 's/^/| /' conftest.$ac_ext >&5
43758 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43759 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43760 wx_cv_func_gettimeofday_has_2_args=unknown
43765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43772 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43773 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43775 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43776 cat >>confdefs.h <<\_ACEOF
43777 #define WX_GETTIMEOFDAY_NO_TZ 1
43783 if test "$wxUSE_DATETIME" = "yes"; then
43784 { echo "$as_me:$LINENO: checking for strptime" >&5
43785 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43786 if test "${ac_cv_func_strptime+set}" = set; then
43787 echo $ECHO_N "(cached) $ECHO_C" >&6
43789 cat >conftest.$ac_ext <<_ACEOF
43792 cat confdefs.h >>conftest.$ac_ext
43793 cat >>conftest.$ac_ext <<_ACEOF
43794 /* end confdefs.h. */
43795 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43797 #define strptime innocuous_strptime
43799 /* System header to define __stub macros and hopefully few prototypes,
43800 which can conflict with char strptime (); below.
43801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43802 <limits.h> exists even on freestanding compilers. */
43805 # include <limits.h>
43807 # include <assert.h>
43812 /* Override any GCC internal prototype to avoid an error.
43813 Use char because int might match the return type of a GCC
43814 builtin and then its argument prototype would still apply. */
43819 /* The GNU C library defines this for functions which it implements
43820 to always fail with ENOSYS. Some functions are actually named
43821 something starting with __ and the normal name is an alias. */
43822 #if defined __stub_strptime || defined __stub___strptime
43829 return strptime ();
43834 rm -f conftest.$ac_objext conftest$ac_exeext
43835 if { (ac_try="$ac_link"
43836 case "(($ac_try" in
43837 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43838 *) ac_try_echo
=$ac_try;;
43840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43841 (eval "$ac_link") 2>conftest.er1
43843 grep -v '^ *+' conftest.er1
>conftest.err
43845 cat conftest.err
>&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } && {
43848 test -z "$ac_c_werror_flag" ||
43849 test ! -s conftest.err
43850 } && test -s conftest
$ac_exeext &&
43851 $as_test_x conftest
$ac_exeext; then
43852 ac_cv_func_strptime
=yes
43854 echo "$as_me: failed program was:" >&5
43855 sed 's/^/| /' conftest.
$ac_ext >&5
43857 ac_cv_func_strptime
=no
43860 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43861 conftest
$ac_exeext conftest.
$ac_ext
43863 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43864 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43866 if test "$ac_cv_func_strptime" = "yes"; then
43867 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43868 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43869 if test "${wx_cv_func_strptime_decl+set}" = set; then
43870 echo $ECHO_N "(cached) $ECHO_C" >&6
43874 ac_cpp
='$CXXCPP $CPPFLAGS'
43875 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43876 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43877 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43879 cat >conftest.
$ac_ext <<_ACEOF
43882 cat confdefs.h
>>conftest.
$ac_ext
43883 cat >>conftest.
$ac_ext <<_ACEOF
43884 /* end confdefs.h. */
43893 strptime("foo", "bar", &t);
43899 rm -f conftest.
$ac_objext
43900 if { (ac_try
="$ac_compile"
43901 case "(($ac_try" in
43902 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43903 *) ac_try_echo=$ac_try;;
43905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43906 (eval "$ac_compile") 2>conftest.er1
43908 grep -v '^ *+' conftest.er1 >conftest.err
43910 cat conftest.err >&5
43911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43912 (exit $ac_status); } && {
43913 test -z "$ac_cxx_werror_flag" ||
43914 test ! -s conftest.err
43915 } && test -s conftest.$ac_objext; then
43916 wx_cv_func_strptime_decl=yes
43918 echo "$as_me: failed program was:" >&5
43919 sed 's/^/| /' conftest.$ac_ext >&5
43921 wx_cv_func_strptime_decl=no
43925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43927 ac_cpp='$CPP $CPPFLAGS'
43928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43935 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43936 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43938 if test "$wx_cv_func_strptime_decl" = "yes"; then
43939 cat >>confdefs.h <<\_ACEOF
43940 #define HAVE_STRPTIME_DECL 1
43944 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43946 if test "$ac_cv_func_strptime" = "yes"; then
43947 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43948 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43949 if test "${wx_cv_func_strptime_ok+set}" = set; then
43950 echo $ECHO_N "(cached) $ECHO_C" >&6
43952 if test "$cross_compiling" = yes; then
43953 wx_cv_func_strptime_ok=no
43956 cat >conftest.$ac_ext <<_ACEOF
43958 #include <stdlib.h>
43960 #include "confdefs.h"
43967 return !!strptime("", "%x", &t);
43971 rm -f conftest$ac_exeext
43972 if { (ac_try="$ac_link"
43973 case "(($ac_try" in
43974 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43975 *) ac_try_echo
=$ac_try;;
43977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43978 (eval "$ac_link") 2>&5
43980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43981 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
43982 { (case "(($ac_try" in
43983 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43984 *) ac_try_echo=$ac_try;;
43986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43987 (eval "$ac_try") 2>&5
43989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43990 (exit $ac_status); }; }; then
43991 wx_cv_func_strptime_ok=yes
43993 echo "$as_me: program exited with status $ac_status" >&5
43994 echo "$as_me: failed program was:" >&5
43995 sed 's/^/| /' conftest.$ac_ext >&5
43997 ( exit $ac_status )
43998 wx_cv_func_strptime_ok=no
44000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44006 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44007 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44009 if test "$wx_cv_func_strptime_ok" = "yes"; then
44010 cat >>confdefs.h <<\_ACEOF
44011 #define HAVE_STRPTIME 1
44017 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44018 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44019 if test "${wx_cv_var_timezone+set}" = set; then
44020 echo $ECHO_N "(cached) $ECHO_C" >&6
44024 ac_cpp='$CXXCPP $CPPFLAGS'
44025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44029 cat >conftest.$ac_ext <<_ACEOF
44032 cat confdefs.h >>conftest.$ac_ext
44033 cat >>conftest.$ac_ext <<_ACEOF
44034 /* end confdefs.h. */
44049 rm -f conftest.$ac_objext
44050 if { (ac_try="$ac_compile"
44051 case "(($ac_try" in
44052 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44053 *) ac_try_echo
=$ac_try;;
44055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44056 (eval "$ac_compile") 2>conftest.er1
44058 grep -v '^ *+' conftest.er1
>conftest.err
44060 cat conftest.err
>&5
44061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44062 (exit $ac_status); } && {
44063 test -z "$ac_cxx_werror_flag" ||
44064 test ! -s conftest.err
44065 } && test -s conftest.
$ac_objext; then
44067 wx_cv_var_timezone
=timezone
44070 echo "$as_me: failed program was:" >&5
44071 sed 's/^/| /' conftest.
$ac_ext >&5
44074 cat >conftest.
$ac_ext <<_ACEOF
44077 cat confdefs.h
>>conftest.
$ac_ext
44078 cat >>conftest.
$ac_ext <<_ACEOF
44079 /* end confdefs.h. */
44094 rm -f conftest.
$ac_objext
44095 if { (ac_try
="$ac_compile"
44096 case "(($ac_try" in
44097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44098 *) ac_try_echo=$ac_try;;
44100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44101 (eval "$ac_compile") 2>conftest.er1
44103 grep -v '^ *+' conftest.er1 >conftest.err
44105 cat conftest.err >&5
44106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44107 (exit $ac_status); } && {
44108 test -z "$ac_cxx_werror_flag" ||
44109 test ! -s conftest.err
44110 } && test -s conftest.$ac_objext; then
44112 wx_cv_var_timezone=_timezone
44115 echo "$as_me: failed program was:" >&5
44116 sed 's/^/| /' conftest.$ac_ext >&5
44119 cat >conftest.$ac_ext <<_ACEOF
44122 cat confdefs.h >>conftest.$ac_ext
44123 cat >>conftest.$ac_ext <<_ACEOF
44124 /* end confdefs.h. */
44139 rm -f conftest.$ac_objext
44140 if { (ac_try="$ac_compile"
44141 case "(($ac_try" in
44142 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44143 *) ac_try_echo
=$ac_try;;
44145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44146 (eval "$ac_compile") 2>conftest.er1
44148 grep -v '^ *+' conftest.er1
>conftest.err
44150 cat conftest.err
>&5
44151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152 (exit $ac_status); } && {
44153 test -z "$ac_cxx_werror_flag" ||
44154 test ! -s conftest.err
44155 } && test -s conftest.
$ac_objext; then
44157 wx_cv_var_timezone
=__timezone
44160 echo "$as_me: failed program was:" >&5
44161 sed 's/^/| /' conftest.
$ac_ext >&5
44164 if test "$USE_DOS" = 0 ; then
44165 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44166 echo "$as_me: WARNING: no timezone variable" >&2;}
44172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44184 ac_cpp
='$CPP $CPPFLAGS'
44185 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44186 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44187 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44192 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44193 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44195 if test "x$wx_cv_var_timezone" != x
; then
44196 cat >>confdefs.h
<<_ACEOF
44197 #define WX_TIMEZONE $wx_cv_var_timezone
44203 for ac_func
in localtime
44205 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44206 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44208 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44209 echo $ECHO_N "(cached) $ECHO_C" >&6
44211 cat >conftest.
$ac_ext <<_ACEOF
44214 cat confdefs.h
>>conftest.
$ac_ext
44215 cat >>conftest.
$ac_ext <<_ACEOF
44216 /* end confdefs.h. */
44217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44219 #define $ac_func innocuous_$ac_func
44221 /* System header to define __stub macros and hopefully few prototypes,
44222 which can conflict with char $ac_func (); below.
44223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44224 <limits.h> exists even on freestanding compilers. */
44227 # include <limits.h>
44229 # include <assert.h>
44234 /* Override any GCC internal prototype to avoid an error.
44235 Use char because int might match the return type of a GCC
44236 builtin and then its argument prototype would still apply. */
44241 /* The GNU C library defines this for functions which it implements
44242 to always fail with ENOSYS. Some functions are actually named
44243 something starting with __ and the normal name is an alias. */
44244 #if defined __stub_$ac_func || defined __stub___$ac_func
44251 return $ac_func ();
44256 rm -f conftest.
$ac_objext conftest
$ac_exeext
44257 if { (ac_try
="$ac_link"
44258 case "(($ac_try" in
44259 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44260 *) ac_try_echo=$ac_try;;
44262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44263 (eval "$ac_link") 2>conftest.er1
44265 grep -v '^ *+' conftest.er1 >conftest.err
44267 cat conftest.err >&5
44268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44269 (exit $ac_status); } && {
44270 test -z "$ac_c_werror_flag" ||
44271 test ! -s conftest.err
44272 } && test -s conftest$ac_exeext &&
44273 $as_test_x conftest$ac_exeext; then
44274 eval "$as_ac_var=yes"
44276 echo "$as_me: failed program was:" >&5
44277 sed 's/^/| /' conftest.$ac_ext >&5
44279 eval "$as_ac_var=no"
44282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44283 conftest$ac_exeext conftest.$ac_ext
44285 ac_res=`eval echo '${'$as_ac_var'}'`
44286 { echo "$as_me:$LINENO: result: $ac_res" >&5
44287 echo "${ECHO_T}$ac_res" >&6; }
44288 if test `eval echo '${'$as_ac_var'}'` = yes; then
44289 cat >>confdefs.h <<_ACEOF
44290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44297 if test "$ac_cv_func_localtime" = "yes"; then
44298 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44299 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44300 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44301 echo $ECHO_N "(cached) $ECHO_C" >&6
44304 cat >conftest.$ac_ext <<_ACEOF
44307 cat confdefs.h >>conftest.$ac_ext
44308 cat >>conftest.$ac_ext <<_ACEOF
44309 /* end confdefs.h. */
44324 rm -f conftest.$ac_objext
44325 if { (ac_try="$ac_compile"
44326 case "(($ac_try" in
44327 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44328 *) ac_try_echo
=$ac_try;;
44330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44331 (eval "$ac_compile") 2>conftest.er1
44333 grep -v '^ *+' conftest.er1
>conftest.err
44335 cat conftest.err
>&5
44336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44337 (exit $ac_status); } && {
44338 test -z "$ac_c_werror_flag" ||
44339 test ! -s conftest.err
44340 } && test -s conftest.
$ac_objext; then
44342 wx_cv_struct_tm_has_gmtoff
=yes
44345 echo "$as_me: failed program was:" >&5
44346 sed 's/^/| /' conftest.
$ac_ext >&5
44348 wx_cv_struct_tm_has_gmtoff
=no
44352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44355 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44356 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44359 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44360 cat >>confdefs.h
<<\_ACEOF
44361 #define WX_GMTOFF_IN_TM 1
44366 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
44370 if test "$wxUSE_SOCKETS" = "yes"; then
44371 if test "$wxUSE_MGL" = 1; then
44372 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44373 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44378 if test "$wxUSE_SOCKETS" = "yes"; then
44379 if test "$TOOLKIT" != "MSW"; then
44380 { echo "$as_me:$LINENO: checking for socket" >&5
44381 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44382 if test "${ac_cv_func_socket+set}" = set; then
44383 echo $ECHO_N "(cached) $ECHO_C" >&6
44385 cat >conftest.
$ac_ext <<_ACEOF
44388 cat confdefs.h
>>conftest.
$ac_ext
44389 cat >>conftest.
$ac_ext <<_ACEOF
44390 /* end confdefs.h. */
44391 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44393 #define socket innocuous_socket
44395 /* System header to define __stub macros and hopefully few prototypes,
44396 which can conflict with char socket (); below.
44397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44398 <limits.h> exists even on freestanding compilers. */
44401 # include <limits.h>
44403 # include <assert.h>
44408 /* Override any GCC internal prototype to avoid an error.
44409 Use char because int might match the return type of a GCC
44410 builtin and then its argument prototype would still apply. */
44415 /* The GNU C library defines this for functions which it implements
44416 to always fail with ENOSYS. Some functions are actually named
44417 something starting with __ and the normal name is an alias. */
44418 #if defined __stub_socket || defined __stub___socket
44430 rm -f conftest.
$ac_objext conftest
$ac_exeext
44431 if { (ac_try
="$ac_link"
44432 case "(($ac_try" in
44433 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44434 *) ac_try_echo=$ac_try;;
44436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44437 (eval "$ac_link") 2>conftest.er1
44439 grep -v '^ *+' conftest.er1 >conftest.err
44441 cat conftest.err >&5
44442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443 (exit $ac_status); } && {
44444 test -z "$ac_c_werror_flag" ||
44445 test ! -s conftest.err
44446 } && test -s conftest$ac_exeext &&
44447 $as_test_x conftest$ac_exeext; then
44448 ac_cv_func_socket=yes
44450 echo "$as_me: failed program was:" >&5
44451 sed 's/^/| /' conftest.$ac_ext >&5
44453 ac_cv_func_socket=no
44456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44457 conftest$ac_exeext conftest.$ac_ext
44459 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44460 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44461 if test $ac_cv_func_socket = yes; then
44465 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44466 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44467 if test "${ac_cv_lib_socket_socket+set}" = set; then
44468 echo $ECHO_N "(cached) $ECHO_C" >&6
44470 ac_check_lib_save_LIBS=$LIBS
44471 LIBS="-lsocket $LIBS"
44472 cat >conftest.$ac_ext <<_ACEOF
44475 cat confdefs.h >>conftest.$ac_ext
44476 cat >>conftest.$ac_ext <<_ACEOF
44477 /* end confdefs.h. */
44479 /* Override any GCC internal prototype to avoid an error.
44480 Use char because int might match the return type of a GCC
44481 builtin and then its argument prototype would still apply. */
44494 rm -f conftest.$ac_objext conftest$ac_exeext
44495 if { (ac_try="$ac_link"
44496 case "(($ac_try" in
44497 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44498 *) ac_try_echo
=$ac_try;;
44500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44501 (eval "$ac_link") 2>conftest.er1
44503 grep -v '^ *+' conftest.er1
>conftest.err
44505 cat conftest.err
>&5
44506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44507 (exit $ac_status); } && {
44508 test -z "$ac_c_werror_flag" ||
44509 test ! -s conftest.err
44510 } && test -s conftest
$ac_exeext &&
44511 $as_test_x conftest
$ac_exeext; then
44512 ac_cv_lib_socket_socket
=yes
44514 echo "$as_me: failed program was:" >&5
44515 sed 's/^/| /' conftest.
$ac_ext >&5
44517 ac_cv_lib_socket_socket
=no
44520 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44521 conftest
$ac_exeext conftest.
$ac_ext
44522 LIBS
=$ac_check_lib_save_LIBS
44524 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44525 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44526 if test $ac_cv_lib_socket_socket = yes; then
44527 if test "$INET_LINK" != " -lsocket"; then
44528 INET_LINK
="$INET_LINK -lsocket"
44532 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44533 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44546 if test "$wxUSE_SOCKETS" = "yes" ; then
44547 if test "$TOOLKIT" != "MSW"; then
44548 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44549 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44550 if test "${wx_cv_type_getsockname3+set}" = set; then
44551 echo $ECHO_N "(cached) $ECHO_C" >&6
44555 ac_cpp
='$CXXCPP $CPPFLAGS'
44556 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44557 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44558 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44560 cat >conftest.
$ac_ext <<_ACEOF
44563 cat confdefs.h
>>conftest.
$ac_ext
44564 cat >>conftest.
$ac_ext <<_ACEOF
44565 /* end confdefs.h. */
44567 #include <sys/types.h>
44568 #include <sys/socket.h>
44575 getsockname(0, 0, &len);
44581 rm -f conftest.
$ac_objext
44582 if { (ac_try
="$ac_compile"
44583 case "(($ac_try" in
44584 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44585 *) ac_try_echo=$ac_try;;
44587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44588 (eval "$ac_compile") 2>conftest.er1
44590 grep -v '^ *+' conftest.er1 >conftest.err
44592 cat conftest.err >&5
44593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44594 (exit $ac_status); } && {
44595 test -z "$ac_cxx_werror_flag" ||
44596 test ! -s conftest.err
44597 } && test -s conftest.$ac_objext; then
44598 wx_cv_type_getsockname3=socklen_t
44600 echo "$as_me: failed program was:" >&5
44601 sed 's/^/| /' conftest.$ac_ext >&5
44604 CFLAGS_OLD="$CFLAGS"
44605 if test "$GCC" = yes ; then
44606 CFLAGS="-Werror $CFLAGS"
44609 cat >conftest.$ac_ext <<_ACEOF
44612 cat confdefs.h >>conftest.$ac_ext
44613 cat >>conftest.$ac_ext <<_ACEOF
44614 /* end confdefs.h. */
44616 #include <sys/types.h>
44617 #include <sys/socket.h>
44624 getsockname(0, 0, &len);
44630 rm -f conftest.$ac_objext
44631 if { (ac_try="$ac_compile"
44632 case "(($ac_try" in
44633 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44634 *) ac_try_echo
=$ac_try;;
44636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44637 (eval "$ac_compile") 2>conftest.er1
44639 grep -v '^ *+' conftest.er1
>conftest.err
44641 cat conftest.err
>&5
44642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44643 (exit $ac_status); } && {
44644 test -z "$ac_cxx_werror_flag" ||
44645 test ! -s conftest.err
44646 } && test -s conftest.
$ac_objext; then
44647 wx_cv_type_getsockname3
=size_t
44649 echo "$as_me: failed program was:" >&5
44650 sed 's/^/| /' conftest.
$ac_ext >&5
44652 cat >conftest.
$ac_ext <<_ACEOF
44655 cat confdefs.h
>>conftest.
$ac_ext
44656 cat >>conftest.
$ac_ext <<_ACEOF
44657 /* end confdefs.h. */
44659 #include <sys/types.h>
44660 #include <sys/socket.h>
44667 getsockname(0, 0, &len);
44673 rm -f conftest.
$ac_objext
44674 if { (ac_try
="$ac_compile"
44675 case "(($ac_try" in
44676 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44677 *) ac_try_echo=$ac_try;;
44679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44680 (eval "$ac_compile") 2>conftest.er1
44682 grep -v '^ *+' conftest.er1 >conftest.err
44684 cat conftest.err >&5
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); } && {
44687 test -z "$ac_cxx_werror_flag" ||
44688 test ! -s conftest.err
44689 } && test -s conftest.$ac_objext; then
44690 wx_cv_type_getsockname3=int
44692 echo "$as_me: failed program was:" >&5
44693 sed 's/^/| /' conftest.$ac_ext >&5
44695 wx_cv_type_getsockname3=unknown
44699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44705 CFLAGS="$CFLAGS_OLD"
44710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44712 ac_cpp='$CPP $CPPFLAGS'
44713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44719 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44720 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44722 if test "$wx_cv_type_getsockname3" = "unknown"; then
44724 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44725 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44727 cat >>confdefs.h <<_ACEOF
44728 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44732 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44733 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44734 if test "${wx_cv_type_getsockopt5+set}" = set; then
44735 echo $ECHO_N "(cached) $ECHO_C" >&6
44739 ac_cpp='$CXXCPP $CPPFLAGS'
44740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44744 cat >conftest.$ac_ext <<_ACEOF
44747 cat confdefs.h >>conftest.$ac_ext
44748 cat >>conftest.$ac_ext <<_ACEOF
44749 /* end confdefs.h. */
44751 #include <sys/types.h>
44752 #include <sys/socket.h>
44759 getsockopt(0, 0, 0, 0, &len);
44765 rm -f conftest.$ac_objext
44766 if { (ac_try="$ac_compile"
44767 case "(($ac_try" in
44768 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44769 *) ac_try_echo
=$ac_try;;
44771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44772 (eval "$ac_compile") 2>conftest.er1
44774 grep -v '^ *+' conftest.er1
>conftest.err
44776 cat conftest.err
>&5
44777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778 (exit $ac_status); } && {
44779 test -z "$ac_cxx_werror_flag" ||
44780 test ! -s conftest.err
44781 } && test -s conftest.
$ac_objext; then
44782 wx_cv_type_getsockopt5
=socklen_t
44784 echo "$as_me: failed program was:" >&5
44785 sed 's/^/| /' conftest.
$ac_ext >&5
44788 cat >conftest.
$ac_ext <<_ACEOF
44791 cat confdefs.h
>>conftest.
$ac_ext
44792 cat >>conftest.
$ac_ext <<_ACEOF
44793 /* end confdefs.h. */
44795 #include <sys/types.h>
44796 #include <sys/socket.h>
44803 getsockopt(0, 0, 0, 0, &len);
44809 rm -f conftest.
$ac_objext
44810 if { (ac_try
="$ac_compile"
44811 case "(($ac_try" in
44812 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44813 *) ac_try_echo=$ac_try;;
44815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44816 (eval "$ac_compile") 2>conftest.er1
44818 grep -v '^ *+' conftest.er1 >conftest.err
44820 cat conftest.err >&5
44821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44822 (exit $ac_status); } && {
44823 test -z "$ac_cxx_werror_flag" ||
44824 test ! -s conftest.err
44825 } && test -s conftest.$ac_objext; then
44826 wx_cv_type_getsockopt5=size_t
44828 echo "$as_me: failed program was:" >&5
44829 sed 's/^/| /' conftest.$ac_ext >&5
44831 cat >conftest.$ac_ext <<_ACEOF
44834 cat confdefs.h >>conftest.$ac_ext
44835 cat >>conftest.$ac_ext <<_ACEOF
44836 /* end confdefs.h. */
44838 #include <sys/types.h>
44839 #include <sys/socket.h>
44846 getsockopt(0, 0, 0, 0, &len);
44852 rm -f conftest.$ac_objext
44853 if { (ac_try="$ac_compile"
44854 case "(($ac_try" in
44855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44856 *) ac_try_echo
=$ac_try;;
44858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44859 (eval "$ac_compile") 2>conftest.er1
44861 grep -v '^ *+' conftest.er1
>conftest.err
44863 cat conftest.err
>&5
44864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44865 (exit $ac_status); } && {
44866 test -z "$ac_cxx_werror_flag" ||
44867 test ! -s conftest.err
44868 } && test -s conftest.
$ac_objext; then
44869 wx_cv_type_getsockopt5
=int
44871 echo "$as_me: failed program was:" >&5
44872 sed 's/^/| /' conftest.
$ac_ext >&5
44874 wx_cv_type_getsockopt5
=unknown
44878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44887 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44889 ac_cpp
='$CPP $CPPFLAGS'
44890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44896 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44897 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44899 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44901 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44902 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44904 cat >>confdefs.h
<<_ACEOF
44905 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44912 if test "$wxUSE_SOCKETS" = "yes" ; then
44913 if test "$wxUSE_IPV6" = "yes"; then
44914 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44915 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44916 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44917 echo $ECHO_N "(cached) $ECHO_C" >&6
44920 cat >conftest.
$ac_ext <<_ACEOF
44923 cat confdefs.h
>>conftest.
$ac_ext
44924 cat >>conftest.
$ac_ext <<_ACEOF
44925 /* end confdefs.h. */
44927 #include <sys/types.h>
44928 #include <sys/socket.h>
44929 #include <netinet/in.h>
44935 struct sockaddr_in6 sa6;
44941 rm -f conftest.
$ac_objext
44942 if { (ac_try
="$ac_compile"
44943 case "(($ac_try" in
44944 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44945 *) ac_try_echo=$ac_try;;
44947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44948 (eval "$ac_compile") 2>conftest.er1
44950 grep -v '^ *+' conftest.er1 >conftest.err
44952 cat conftest.err >&5
44953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44954 (exit $ac_status); } && {
44955 test -z "$ac_c_werror_flag" ||
44956 test ! -s conftest.err
44957 } && test -s conftest.$ac_objext; then
44958 wx_cv_type_sockaddr_in6=yes
44960 echo "$as_me: failed program was:" >&5
44961 sed 's/^/| /' conftest.$ac_ext >&5
44963 wx_cv_type_sockaddr_in6=no
44967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44971 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44972 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44974 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44975 cat >>confdefs.h <<\_ACEOF
44976 #define wxUSE_IPV6 1
44980 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44981 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44985 cat >>confdefs.h <<\_ACEOF
44986 #define wxUSE_SOCKETS 1
44989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44992 if test "$wxUSE_PROTOCOL" = "yes"; then
44993 if test "$wxUSE_SOCKETS" != "yes"; then
44994 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44995 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45000 if test "$wxUSE_PROTOCOL" = "yes"; then
45001 cat >>confdefs.h <<\_ACEOF
45002 #define wxUSE_PROTOCOL 1
45006 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45007 cat >>confdefs.h <<\_ACEOF
45008 #define wxUSE_PROTOCOL_HTTP 1
45012 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45013 cat >>confdefs.h <<\_ACEOF
45014 #define wxUSE_PROTOCOL_FTP 1
45018 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_PROTOCOL_FILE 1
45025 if test "$wxUSE_FS_INET" = "yes"; then
45026 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45027 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45032 if test "$wxUSE_URL" = "yes"; then
45033 if test "$wxUSE_PROTOCOL" != "yes"; then
45034 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45035 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45038 if test "$wxUSE_URL" = "yes"; then
45039 cat >>confdefs.h <<\_ACEOF
45040 #define wxUSE_URL 1
45046 if test "$wxUSE_VARIANT" = "yes"; then
45047 cat >>confdefs.h <<\_ACEOF
45048 #define wxUSE_VARIANT 1
45053 if test "$wxUSE_FS_INET" = "yes"; then
45054 cat >>confdefs.h <<\_ACEOF
45055 #define wxUSE_FS_INET 1
45061 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45064 if test "$TOOLKIT" = "MSW"; then
45067 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45068 if test "$USE_DARWIN" = 1; then
45069 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45070 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45072 ac_cpp='$CXXCPP $CPPFLAGS'
45073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45077 cat >conftest.$ac_ext <<_ACEOF
45080 cat confdefs.h >>conftest.$ac_ext
45081 cat >>conftest.$ac_ext <<_ACEOF
45082 /* end confdefs.h. */
45083 #include <IOKit/hid/IOHIDLib.h>
45087 IOHIDQueueInterface *qi = NULL;
45088 IOHIDCallbackFunction cb = NULL;
45089 qi->setEventCallout(NULL, cb, NULL, NULL);
45094 rm -f conftest.$ac_objext
45095 if { (ac_try="$ac_compile"
45096 case "(($ac_try" in
45097 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45098 *) ac_try_echo
=$ac_try;;
45100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45101 (eval "$ac_compile") 2>conftest.er1
45103 grep -v '^ *+' conftest.er1
>conftest.err
45105 cat conftest.err
>&5
45106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45107 (exit $ac_status); } && {
45108 test -z "$ac_cxx_werror_flag" ||
45109 test ! -s conftest.err
45110 } && test -s conftest.
$ac_objext; then
45114 echo "$as_me: failed program was:" >&5
45115 sed 's/^/| /' conftest.
$ac_ext >&5
45120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45122 ac_cpp
='$CPP $CPPFLAGS'
45123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45127 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45128 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45132 if test "$wxUSE_MGL" != 1; then
45134 for ac_header
in linux
/joystick.h
45136 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45137 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45139 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45140 echo $ECHO_N "(cached) $ECHO_C" >&6
45142 cat >conftest.
$ac_ext <<_ACEOF
45145 cat confdefs.h
>>conftest.
$ac_ext
45146 cat >>conftest.
$ac_ext <<_ACEOF
45147 /* end confdefs.h. */
45148 $ac_includes_default
45150 #include <$ac_header>
45152 rm -f conftest.
$ac_objext
45153 if { (ac_try
="$ac_compile"
45154 case "(($ac_try" in
45155 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45156 *) ac_try_echo=$ac_try;;
45158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45159 (eval "$ac_compile") 2>conftest.er1
45161 grep -v '^ *+' conftest.er1 >conftest.err
45163 cat conftest.err >&5
45164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45165 (exit $ac_status); } && {
45166 test -z "$ac_c_werror_flag" ||
45167 test ! -s conftest.err
45168 } && test -s conftest.$ac_objext; then
45169 eval "$as_ac_Header=yes"
45171 echo "$as_me: failed program was:" >&5
45172 sed 's/^/| /' conftest.$ac_ext >&5
45174 eval "$as_ac_Header=no"
45177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45179 ac_res=`eval echo '${'$as_ac_Header'}'`
45180 { echo "$as_me:$LINENO: result: $ac_res" >&5
45181 echo "${ECHO_T}$ac_res" >&6; }
45182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45183 cat >>confdefs.h <<_ACEOF
45184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45194 if test "$wxUSE_JOYSTICK" = "yes"; then
45195 cat >>confdefs.h <<\_ACEOF
45196 #define wxUSE_JOYSTICK 1
45199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45201 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45202 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45208 if test "$wxUSE_FONTENUM" = "yes" ; then
45209 cat >>confdefs.h <<\_ACEOF
45210 #define wxUSE_FONTENUM 1
45215 if test "$wxUSE_FONTMAP" = "yes" ; then
45216 cat >>confdefs.h <<\_ACEOF
45217 #define wxUSE_FONTMAP 1
45222 if test "$wxUSE_UNICODE" = "yes" ; then
45223 cat >>confdefs.h <<\_ACEOF
45224 #define wxUSE_UNICODE 1
45228 if test "$USE_WIN32" != 1; then
45229 wxUSE_UNICODE_MSLU=no
45232 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45233 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45234 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45235 if test "${ac_cv_lib_unicows_main+set}" = set; then
45236 echo $ECHO_N "(cached) $ECHO_C" >&6
45238 ac_check_lib_save_LIBS=$LIBS
45239 LIBS="-lunicows $LIBS"
45240 cat >conftest.$ac_ext <<_ACEOF
45243 cat confdefs.h >>conftest.$ac_ext
45244 cat >>conftest.$ac_ext <<_ACEOF
45245 /* end confdefs.h. */
45256 rm -f conftest.$ac_objext conftest$ac_exeext
45257 if { (ac_try="$ac_link"
45258 case "(($ac_try" in
45259 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45260 *) ac_try_echo
=$ac_try;;
45262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45263 (eval "$ac_link") 2>conftest.er1
45265 grep -v '^ *+' conftest.er1
>conftest.err
45267 cat conftest.err
>&5
45268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45269 (exit $ac_status); } && {
45270 test -z "$ac_c_werror_flag" ||
45271 test ! -s conftest.err
45272 } && test -s conftest
$ac_exeext &&
45273 $as_test_x conftest
$ac_exeext; then
45274 ac_cv_lib_unicows_main
=yes
45276 echo "$as_me: failed program was:" >&5
45277 sed 's/^/| /' conftest.
$ac_ext >&5
45279 ac_cv_lib_unicows_main
=no
45282 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45283 conftest
$ac_exeext conftest.
$ac_ext
45284 LIBS
=$ac_check_lib_save_LIBS
45286 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45287 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45288 if test $ac_cv_lib_unicows_main = yes; then
45290 cat >>confdefs.h
<<\_ACEOF
45291 #define wxUSE_UNICODE_MSLU 1
45297 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45298 Applications will only run on Windows NT/2000/XP!" >&5
45299 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45300 Applications will only run on Windows NT/2000/XP!" >&2;}
45301 wxUSE_UNICODE_MSLU
=no
45308 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45309 cat >>confdefs.h
<<\_ACEOF
45310 #define wxUSE_UNICODE_UTF8 1
45314 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45315 cat >>confdefs.h
<<\_ACEOF
45316 #define wxUSE_UTF8_LOCALE_ONLY 1
45323 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45324 cat >>confdefs.h
<<\_ACEOF
45325 #define wxUSE_CONSTRAINTS 1
45328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
45331 if test "$wxUSE_MDI" = "yes"; then
45332 cat >>confdefs.h
<<\_ACEOF
45333 #define wxUSE_MDI 1
45337 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45338 cat >>confdefs.h
<<\_ACEOF
45339 #define wxUSE_MDI_ARCHITECTURE 1
45342 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
45346 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45347 cat >>confdefs.h
<<\_ACEOF
45348 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
45354 if test "$wxUSE_HELP" = "yes"; then
45355 cat >>confdefs.h
<<\_ACEOF
45356 #define wxUSE_HELP 1
45359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
45361 if test "$wxUSE_MSW" = 1; then
45362 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45363 cat >>confdefs.h
<<\_ACEOF
45364 #define wxUSE_MS_HTML_HELP 1
45370 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45371 if test "$wxUSE_HTML" = "yes"; then
45372 cat >>confdefs.h
<<\_ACEOF
45373 #define wxUSE_WXHTML_HELP 1
45377 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45378 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45379 wxUSE_WXHTML_HELP
=no
45384 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45385 cat >>confdefs.h
<<\_ACEOF
45386 #define wxUSE_PRINTING_ARCHITECTURE 1
45389 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
45392 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45393 cat >>confdefs.h
<<\_ACEOF
45394 #define wxUSE_POSTSCRIPT 1
45399 cat >>confdefs.h
<<\_ACEOF
45400 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45404 if test "$wxUSE_SVG" = "yes"; then
45405 cat >>confdefs.h
<<\_ACEOF
45406 #define wxUSE_SVG 1
45412 if test "$wxUSE_METAFILE" = "yes"; then
45413 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45414 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45415 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45421 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
45422 -o "$wxUSE_CLIPBOARD" = "yes" \
45423 -o "$wxUSE_OLE" = "yes" \
45424 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
45425 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45426 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45427 if test "${ac_cv_header_ole2_h+set}" = set; then
45428 echo $ECHO_N "(cached) $ECHO_C" >&6
45430 cat >conftest.
$ac_ext <<_ACEOF
45433 cat confdefs.h
>>conftest.
$ac_ext
45434 cat >>conftest.
$ac_ext <<_ACEOF
45435 /* end confdefs.h. */
45440 rm -f conftest.
$ac_objext
45441 if { (ac_try
="$ac_compile"
45442 case "(($ac_try" in
45443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45444 *) ac_try_echo=$ac_try;;
45446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45447 (eval "$ac_compile") 2>conftest.er1
45449 grep -v '^ *+' conftest.er1 >conftest.err
45451 cat conftest.err >&5
45452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45453 (exit $ac_status); } && {
45454 test -z "$ac_c_werror_flag" ||
45455 test ! -s conftest.err
45456 } && test -s conftest.$ac_objext; then
45457 ac_cv_header_ole2_h=yes
45459 echo "$as_me: failed program was:" >&5
45460 sed 's/^/| /' conftest.$ac_ext >&5
45462 ac_cv_header_ole2_h=no
45465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45467 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45468 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45472 if test "$ac_cv_header_ole2_h" = "yes" ; then
45473 if test "$GCC" = yes ; then
45474 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45475 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45476 cat >conftest.$ac_ext <<_ACEOF
45479 cat confdefs.h >>conftest.$ac_ext
45480 cat >>conftest.$ac_ext <<_ACEOF
45481 /* end confdefs.h. */
45482 #include <windows.h>
45492 rm -f conftest.$ac_objext
45493 if { (ac_try="$ac_compile"
45494 case "(($ac_try" in
45495 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45496 *) ac_try_echo
=$ac_try;;
45498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45499 (eval "$ac_compile") 2>conftest.er1
45501 grep -v '^ *+' conftest.er1
>conftest.err
45503 cat conftest.err
>&5
45504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45505 (exit $ac_status); } && {
45506 test -z "$ac_c_werror_flag" ||
45507 test ! -s conftest.err
45508 } && test -s conftest.
$ac_objext; then
45509 { echo "$as_me:$LINENO: result: no" >&5
45510 echo "${ECHO_T}no" >&6; }
45512 echo "$as_me: failed program was:" >&5
45513 sed 's/^/| /' conftest.
$ac_ext >&5
45515 { echo "$as_me:$LINENO: result: yes" >&5
45516 echo "${ECHO_T}yes" >&6; }
45517 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45521 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45522 if test "$wxUSE_OLE" = "yes" ; then
45523 cat >>confdefs.h
<<\_ACEOF
45524 #define wxUSE_OLE 1
45527 cat >>confdefs.h
<<\_ACEOF
45528 #define wxUSE_OLE_AUTOMATION 1
45531 cat >>confdefs.h
<<\_ACEOF
45532 #define wxUSE_ACTIVEX 1
45535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
45539 if test "$wxUSE_DATAOBJ" = "yes" ; then
45540 cat >>confdefs.h
<<\_ACEOF
45541 #define wxUSE_DATAOBJ 1
45546 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45547 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45550 wxUSE_DRAG_AND_DROP
=no
45555 if test "$wxUSE_METAFILE" = "yes"; then
45556 cat >>confdefs.h
<<\_ACEOF
45557 #define wxUSE_METAFILE 1
45561 cat >>confdefs.h
<<\_ACEOF
45562 #define wxUSE_ENH_METAFILE 1
45568 if test "$wxUSE_IPC" = "yes"; then
45569 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45570 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45571 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45575 if test "$wxUSE_IPC" = "yes"; then
45576 cat >>confdefs.h
<<\_ACEOF
45577 #define wxUSE_IPC 1
45580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
45584 if test "$wxUSE_DATAOBJ" = "yes"; then
45585 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45586 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45587 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45590 cat >>confdefs.h
<<\_ACEOF
45591 #define wxUSE_DATAOBJ 1
45596 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45597 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45599 wxUSE_DRAG_AND_DROP
=no
45602 if test "$wxUSE_CLIPBOARD" = "yes"; then
45603 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45604 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45605 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45609 if test "$wxUSE_CLIPBOARD" = "yes"; then
45610 cat >>confdefs.h
<<\_ACEOF
45611 #define wxUSE_CLIPBOARD 1
45617 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45618 if test "$wxUSE_GTK" = 1; then
45619 if test "$WXGTK12" != 1; then
45620 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45621 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45622 wxUSE_DRAG_AND_DROP
=no
45626 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45627 "$wxUSE_DFB" = 1; then
45628 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45629 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45630 wxUSE_DRAG_AND_DROP
=no
45633 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45634 cat >>confdefs.h
<<\_ACEOF
45635 #define wxUSE_DRAG_AND_DROP 1
45642 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45643 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
45646 if test "$wxUSE_CLIPBOARD" = "yes"; then
45647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
45650 if test "$wxUSE_SPLINES" = "yes" ; then
45651 cat >>confdefs.h
<<\_ACEOF
45652 #define wxUSE_SPLINES 1
45657 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45658 cat >>confdefs.h
<<\_ACEOF
45659 #define wxUSE_MOUSEWHEEL 1
45666 if test "$wxUSE_CONTROLS" = "yes"; then
45670 if test "$wxUSE_ACCEL" = "yes"; then
45671 cat >>confdefs.h
<<\_ACEOF
45672 #define wxUSE_ACCEL 1
45678 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45679 cat >>confdefs.h
<<\_ACEOF
45680 #define wxUSE_ANIMATIONCTRL 1
45684 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
45687 if test "$wxUSE_BUTTON" = "yes"; then
45688 cat >>confdefs.h
<<\_ACEOF
45689 #define wxUSE_BUTTON 1
45695 if test "$wxUSE_BMPBUTTON" = "yes"; then
45696 cat >>confdefs.h
<<\_ACEOF
45697 #define wxUSE_BMPBUTTON 1
45703 if test "$wxUSE_CALCTRL" = "yes"; then
45704 cat >>confdefs.h
<<\_ACEOF
45705 #define wxUSE_CALENDARCTRL 1
45709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
45712 if test "$wxUSE_CARET" = "yes"; then
45713 cat >>confdefs.h
<<\_ACEOF
45714 #define wxUSE_CARET 1
45718 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
45721 if test "$wxUSE_COLLPANE" = "yes"; then
45722 cat >>confdefs.h
<<\_ACEOF
45723 #define wxUSE_COLLPANE 1
45727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
45730 if test "$wxUSE_COMBOBOX" = "yes"; then
45731 cat >>confdefs.h
<<\_ACEOF
45732 #define wxUSE_COMBOBOX 1
45738 if test "$wxUSE_COMBOCTRL" = "yes"; then
45739 cat >>confdefs.h
<<\_ACEOF
45740 #define wxUSE_COMBOCTRL 1
45746 if test "$wxUSE_CHOICE" = "yes"; then
45747 cat >>confdefs.h
<<\_ACEOF
45748 #define wxUSE_CHOICE 1
45754 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45755 cat >>confdefs.h
<<\_ACEOF
45756 #define wxUSE_CHOICEBOOK 1
45762 if test "$wxUSE_CHECKBOX" = "yes"; then
45763 cat >>confdefs.h
<<\_ACEOF
45764 #define wxUSE_CHECKBOX 1
45770 if test "$wxUSE_CHECKLST" = "yes"; then
45771 cat >>confdefs.h
<<\_ACEOF
45772 #define wxUSE_CHECKLISTBOX 1
45778 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45779 cat >>confdefs.h
<<\_ACEOF
45780 #define wxUSE_COLOURPICKERCTRL 1
45786 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45787 cat >>confdefs.h
<<\_ACEOF
45788 #define wxUSE_DATEPICKCTRL 1
45794 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45795 cat >>confdefs.h
<<\_ACEOF
45796 #define wxUSE_DIRPICKERCTRL 1
45802 if test "$wxUSE_FILECTRL" = "yes"; then
45803 cat >>confdefs.h
<<\_ACEOF
45804 #define wxUSE_FILECTRL 1
45810 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45811 cat >>confdefs.h
<<\_ACEOF
45812 #define wxUSE_FILEPICKERCTRL 1
45818 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45819 cat >>confdefs.h
<<\_ACEOF
45820 #define wxUSE_FONTPICKERCTRL 1
45826 if test "$wxUSE_DISPLAY" = "yes"; then
45827 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45828 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45829 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45832 cat >>confdefs.h
<<\_ACEOF
45833 #define wxUSE_DISPLAY 1
45836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
45840 if test "$wxUSE_DETECT_SM" = "yes"; then
45841 cat >>confdefs.h
<<\_ACEOF
45842 #define wxUSE_DETECT_SM 1
45847 if test "$wxUSE_GAUGE" = "yes"; then
45848 cat >>confdefs.h
<<\_ACEOF
45849 #define wxUSE_GAUGE 1
45855 if test "$wxUSE_GRID" = "yes"; then
45856 cat >>confdefs.h
<<\_ACEOF
45857 #define wxUSE_GRID 1
45861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
45864 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45865 cat >>confdefs.h
<<\_ACEOF
45866 #define wxUSE_HYPERLINKCTRL 1
45872 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45873 cat >>confdefs.h
<<\_ACEOF
45874 #define wxUSE_BITMAPCOMBOBOX 1
45880 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45881 cat >>confdefs.h
<<\_ACEOF
45882 #define wxUSE_DATAVIEWCTRL 1
45886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
45889 if test "$wxUSE_IMAGLIST" = "yes"; then
45890 cat >>confdefs.h
<<\_ACEOF
45891 #define wxUSE_IMAGLIST 1
45896 if test "$wxUSE_LISTBOOK" = "yes"; then
45897 cat >>confdefs.h
<<\_ACEOF
45898 #define wxUSE_LISTBOOK 1
45904 if test "$wxUSE_LISTBOX" = "yes"; then
45905 cat >>confdefs.h
<<\_ACEOF
45906 #define wxUSE_LISTBOX 1
45912 if test "$wxUSE_LISTCTRL" = "yes"; then
45913 if test "$wxUSE_IMAGLIST" = "yes"; then
45914 cat >>confdefs.h
<<\_ACEOF
45915 #define wxUSE_LISTCTRL 1
45919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
45921 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45922 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45926 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45927 cat >>confdefs.h
<<\_ACEOF
45928 #define wxUSE_EDITABLELISTBOX 1
45932 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS editlbox"
45935 if test "$wxUSE_NOTEBOOK" = "yes"; then
45936 cat >>confdefs.h
<<\_ACEOF
45937 #define wxUSE_NOTEBOOK 1
45941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
45944 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45945 cat >>confdefs.h
<<\_ACEOF
45946 #define wxUSE_NOTIFICATION_MESSAGE 1
45951 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45952 cat >>confdefs.h
<<\_ACEOF
45953 #define wxUSE_ODCOMBOBOX 1
45957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
45960 if test "$wxUSE_RADIOBOX" = "yes"; then
45961 cat >>confdefs.h
<<\_ACEOF
45962 #define wxUSE_RADIOBOX 1
45968 if test "$wxUSE_RADIOBTN" = "yes"; then
45969 cat >>confdefs.h
<<\_ACEOF
45970 #define wxUSE_RADIOBTN 1
45976 if test "$wxUSE_SASH" = "yes"; then
45977 cat >>confdefs.h
<<\_ACEOF
45978 #define wxUSE_SASH 1
45981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
45984 if test "$wxUSE_SCROLLBAR" = "yes"; then
45985 cat >>confdefs.h
<<\_ACEOF
45986 #define wxUSE_SCROLLBAR 1
45990 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
45993 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45994 cat >>confdefs.h
<<\_ACEOF
45995 #define wxUSE_SEARCHCTRL 1
46001 if test "$wxUSE_SLIDER" = "yes"; then
46002 cat >>confdefs.h
<<\_ACEOF
46003 #define wxUSE_SLIDER 1
46009 if test "$wxUSE_SPINBTN" = "yes"; then
46010 cat >>confdefs.h
<<\_ACEOF
46011 #define wxUSE_SPINBTN 1
46017 if test "$wxUSE_SPINCTRL" = "yes"; then
46018 cat >>confdefs.h
<<\_ACEOF
46019 #define wxUSE_SPINCTRL 1
46025 if test "$wxUSE_SPLITTER" = "yes"; then
46026 cat >>confdefs.h
<<\_ACEOF
46027 #define wxUSE_SPLITTER 1
46030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
46033 if test "$wxUSE_STATBMP" = "yes"; then
46034 cat >>confdefs.h
<<\_ACEOF
46035 #define wxUSE_STATBMP 1
46041 if test "$wxUSE_STATBOX" = "yes"; then
46042 cat >>confdefs.h
<<\_ACEOF
46043 #define wxUSE_STATBOX 1
46049 if test "$wxUSE_STATTEXT" = "yes"; then
46050 cat >>confdefs.h
<<\_ACEOF
46051 #define wxUSE_STATTEXT 1
46057 if test "$wxUSE_STATLINE" = "yes"; then
46058 cat >>confdefs.h
<<\_ACEOF
46059 #define wxUSE_STATLINE 1
46065 if test "$wxUSE_STATUSBAR" = "yes"; then
46066 cat >>confdefs.h
<<\_ACEOF
46067 #define wxUSE_NATIVE_STATUSBAR 1
46070 cat >>confdefs.h
<<\_ACEOF
46071 #define wxUSE_STATUSBAR 1
46076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
46079 if test "$wxUSE_TEXTCTRL" = "yes"; then
46080 cat >>confdefs.h
<<\_ACEOF
46081 #define wxUSE_TEXTCTRL 1
46085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
46087 cat >>confdefs.h
<<\_ACEOF
46088 #define wxUSE_RICHEDIT 1
46091 cat >>confdefs.h
<<\_ACEOF
46092 #define wxUSE_RICHEDIT2 1
46097 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46098 if test "$wxUSE_COCOA" = 1 ; then
46099 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46100 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46104 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46105 cat >>confdefs.h
<<\_ACEOF
46106 #define wxUSE_TOGGLEBTN 1
46113 if test "$wxUSE_TOOLBAR" = "yes"; then
46114 cat >>confdefs.h
<<\_ACEOF
46115 #define wxUSE_TOOLBAR 1
46120 if test "$wxUSE_UNIVERSAL" = "yes"; then
46121 wxUSE_TOOLBAR_NATIVE
="no"
46123 wxUSE_TOOLBAR_NATIVE
="yes"
46124 cat >>confdefs.h
<<\_ACEOF
46125 #define wxUSE_TOOLBAR_NATIVE 1
46130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
46133 if test "$wxUSE_TOOLTIPS" = "yes"; then
46134 if test "$wxUSE_MOTIF" = 1; then
46135 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46136 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46138 if test "$wxUSE_UNIVERSAL" = "yes"; then
46139 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46140 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46142 cat >>confdefs.h
<<\_ACEOF
46143 #define wxUSE_TOOLTIPS 1
46150 if test "$wxUSE_TREEBOOK" = "yes"; then
46151 cat >>confdefs.h
<<\_ACEOF
46152 #define wxUSE_TREEBOOK 1
46158 if test "$wxUSE_TOOLBOOK" = "yes"; then
46159 cat >>confdefs.h
<<\_ACEOF
46160 #define wxUSE_TOOLBOOK 1
46166 if test "$wxUSE_TREECTRL" = "yes"; then
46167 if test "$wxUSE_IMAGLIST" = "yes"; then
46168 cat >>confdefs.h
<<\_ACEOF
46169 #define wxUSE_TREECTRL 1
46173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
46175 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46176 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46180 if test "$wxUSE_POPUPWIN" = "yes"; then
46181 if test "$wxUSE_COCOA" = 1 ; then
46182 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46183 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46185 if test "$wxUSE_PM" = 1; then
46186 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46187 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46189 cat >>confdefs.h
<<\_ACEOF
46190 #define wxUSE_POPUPWIN 1
46193 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
46200 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46201 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46202 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46203 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46205 cat >>confdefs.h
<<\_ACEOF
46206 #define wxUSE_DIALUP_MANAGER 1
46209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
46213 if test "$wxUSE_TIPWINDOW" = "yes"; then
46214 if test "$wxUSE_PM" = 1; then
46215 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46216 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46218 cat >>confdefs.h
<<\_ACEOF
46219 #define wxUSE_TIPWINDOW 1
46225 if test "$USES_CONTROLS" = 1; then
46226 cat >>confdefs.h
<<\_ACEOF
46227 #define wxUSE_CONTROLS 1
46233 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46234 cat >>confdefs.h
<<\_ACEOF
46235 #define wxUSE_ACCESSIBILITY 1
46238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
46241 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46242 cat >>confdefs.h
<<\_ACEOF
46243 #define wxUSE_DRAGIMAGE 1
46246 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
46249 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46250 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46251 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46252 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46254 cat >>confdefs.h
<<\_ACEOF
46255 #define wxUSE_EXCEPTIONS 1
46258 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
46263 if test "$wxUSE_HTML" = "yes"; then
46264 cat >>confdefs.h
<<\_ACEOF
46265 #define wxUSE_HTML 1
46269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46271 if test "$wxUSE_WEBKIT" = "yes"; then
46272 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46273 old_CPPFLAGS
="$CPPFLAGS"
46274 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
46275 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46276 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46277 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46278 echo $ECHO_N "(cached) $ECHO_C" >&6
46280 cat >conftest.
$ac_ext <<_ACEOF
46283 cat confdefs.h
>>conftest.
$ac_ext
46284 cat >>conftest.
$ac_ext <<_ACEOF
46285 /* end confdefs.h. */
46287 #include <Carbon/Carbon.h>
46288 #include <WebKit/WebKit.h>
46291 #include <WebKit/HIWebView.h>
46293 rm -f conftest.
$ac_objext
46294 if { (ac_try
="$ac_compile"
46295 case "(($ac_try" in
46296 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46297 *) ac_try_echo=$ac_try;;
46299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46300 (eval "$ac_compile") 2>conftest.er1
46302 grep -v '^ *+' conftest.er1 >conftest.err
46304 cat conftest.err >&5
46305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46306 (exit $ac_status); } && {
46307 test -z "$ac_c_werror_flag" ||
46308 test ! -s conftest.err
46309 } && test -s conftest.$ac_objext; then
46310 ac_cv_header_WebKit_HIWebView_h=yes
46312 echo "$as_me: failed program was:" >&5
46313 sed 's/^/| /' conftest.$ac_ext >&5
46315 ac_cv_header_WebKit_HIWebView_h=no
46318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46320 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46321 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46322 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46324 cat >>confdefs.h <<\_ACEOF
46325 #define wxUSE_WEBKIT 1
46328 WEBKIT_LINK="-framework WebKit"
46332 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46333 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46339 CPPFLAGS="$old_CPPFLAGS"
46340 elif test "$wxUSE_COCOA" = 1; then
46341 cat >>confdefs.h <<\_ACEOF
46342 #define wxUSE_WEBKIT 1
46348 if test "$wxUSE_WEBKIT" = "yes"; then
46349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46354 if test "$wxUSE_XRC" = "yes"; then
46355 if test "$wxUSE_XML" != "yes"; then
46356 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46357 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_XRC 1
46365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46370 if test "$wxUSE_AUI" = "yes"; then
46371 cat >>confdefs.h <<\_ACEOF
46372 #define wxUSE_AUI 1
46376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46380 if test "$wxUSE_PROPGRID" = "yes"; then
46381 cat >>confdefs.h <<\_ACEOF
46382 #define wxUSE_PROPGRID 1
46386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46390 if test "$wxUSE_STC" = "yes"; then
46391 cat >>confdefs.h <<\_ACEOF
46392 #define wxUSE_STC 1
46396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46399 if test "$wxUSE_MENUS" = "yes"; then
46400 cat >>confdefs.h <<\_ACEOF
46401 #define wxUSE_MENUS 1
46404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46407 if test "$wxUSE_METAFILE" = "yes"; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_METAFILE 1
46414 if test "$wxUSE_MIMETYPE" = "yes"; then
46415 cat >>confdefs.h <<\_ACEOF
46416 #define wxUSE_MIMETYPE 1
46421 if test "$wxUSE_MINIFRAME" = "yes"; then
46422 cat >>confdefs.h <<\_ACEOF
46423 #define wxUSE_MINIFRAME 1
46428 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46429 cat >>confdefs.h <<\_ACEOF
46430 #define wxUSE_SYSTEM_OPTIONS 1
46435 if test "$wxUSE_TASKBARICON" = "yes"; then
46436 cat >>confdefs.h <<\_ACEOF
46437 #define wxUSE_TASKBARICON 1
46440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46444 if test "$wxUSE_VALIDATORS" = "yes"; then
46445 cat >>confdefs.h <<\_ACEOF
46446 #define wxUSE_VALIDATORS 1
46449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46452 if test "$wxUSE_PALETTE" = "yes" ; then
46453 if test "$wxUSE_DFB" = 1; then
46454 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46455 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46458 cat >>confdefs.h <<\_ACEOF
46459 #define wxUSE_PALETTE 1
46465 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46466 LIBS=" -lunicows $LIBS"
46470 if test "$wxUSE_RICHTEXT" = "yes"; then
46471 cat >>confdefs.h <<\_ACEOF
46472 #define wxUSE_RICHTEXT 1
46476 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46480 if test "$wxUSE_IMAGE" = "yes" ; then
46481 cat >>confdefs.h <<\_ACEOF
46482 #define wxUSE_IMAGE 1
46486 if test "$wxUSE_GIF" = "yes" ; then
46487 cat >>confdefs.h <<\_ACEOF
46488 #define wxUSE_GIF 1
46493 if test "$wxUSE_PCX" = "yes" ; then
46494 cat >>confdefs.h <<\_ACEOF
46495 #define wxUSE_PCX 1
46500 if test "$wxUSE_TGA" = "yes" ; then
46501 cat >>confdefs.h <<\_ACEOF
46502 #define wxUSE_TGA 1
46507 if test "$wxUSE_IFF" = "yes" ; then
46508 cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_IFF 1
46514 if test "$wxUSE_PNM" = "yes" ; then
46515 cat >>confdefs.h <<\_ACEOF
46516 #define wxUSE_PNM 1
46521 if test "$wxUSE_XPM" = "yes" ; then
46522 cat >>confdefs.h <<\_ACEOF
46523 #define wxUSE_XPM 1
46528 if test "$wxUSE_ICO_CUR" = "yes" ; then
46529 cat >>confdefs.h <<\_ACEOF
46530 #define wxUSE_ICO_CUR 1
46537 if test "$wxUSE_ABOUTDLG" = "yes"; then
46538 cat >>confdefs.h <<\_ACEOF
46539 #define wxUSE_ABOUTDLG 1
46544 if test "$wxUSE_CHOICEDLG" = "yes"; then
46545 cat >>confdefs.h <<\_ACEOF
46546 #define wxUSE_CHOICEDLG 1
46551 if test "$wxUSE_COLOURDLG" = "yes"; then
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_COLOURDLG 1
46558 if test "$wxUSE_FILEDLG" = "yes"; then
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_FILEDLG 1
46565 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46566 cat >>confdefs.h <<\_ACEOF
46567 #define wxUSE_FINDREPLDLG 1
46572 if test "$wxUSE_FONTDLG" = "yes"; then
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_FONTDLG 1
46579 if test "$wxUSE_DIRDLG" = "yes"; then
46580 if test "$wxUSE_TREECTRL" != "yes"; then
46581 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46582 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46584 cat >>confdefs.h <<\_ACEOF
46585 #define wxUSE_DIRDLG 1
46591 if test "$wxUSE_MSGDLG" = "yes"; then
46592 cat >>confdefs.h <<\_ACEOF
46593 #define wxUSE_MSGDLG 1
46598 if test "$wxUSE_NUMBERDLG" = "yes"; then
46599 cat >>confdefs.h <<\_ACEOF
46600 #define wxUSE_NUMBERDLG 1
46605 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46606 cat >>confdefs.h <<\_ACEOF
46607 #define wxUSE_PROGRESSDLG 1
46612 if test "$wxUSE_SPLASH" = "yes"; then
46613 cat >>confdefs.h <<\_ACEOF
46614 #define wxUSE_SPLASH 1
46617 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46620 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46621 cat >>confdefs.h <<\_ACEOF
46622 #define wxUSE_STARTUP_TIPS 1
46627 if test "$wxUSE_TEXTDLG" = "yes"; then
46628 cat >>confdefs.h <<\_ACEOF
46629 #define wxUSE_TEXTDLG 1
46634 if test "$wxUSE_WIZARDDLG" = "yes"; then
46635 cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_WIZARDDLG 1
46639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46643 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46644 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46645 cat >>confdefs.h <<\_ACEOF
46646 #define wxUSE_OWNER_DRAWN 1
46653 if test "$wxUSE_MSW" = 1 ; then
46655 if test "$wxUSE_DC_CACHEING" = "yes"; then
46656 cat >>confdefs.h <<\_ACEOF
46657 #define wxUSE_DC_CACHEING 1
46662 if test "$wxUSE_DIB" = "yes"; then
46663 cat >>confdefs.h <<\_ACEOF
46664 #define wxUSE_WXDIB 1
46669 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46670 cat >>confdefs.h <<\_ACEOF
46671 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46676 if test "$wxUSE_UXTHEME" = "yes"; then
46677 cat >>confdefs.h <<\_ACEOF
46678 #define wxUSE_UXTHEME 1
46685 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46686 cat >>confdefs.h <<\_ACEOF
46687 #define wxUSE_AUTOID_MANAGEMENT 1
46692 if test "$USE_WIN32" = 1 ; then
46693 if test "$wxUSE_INICONF" = "yes"; then
46694 cat >>confdefs.h <<\_ACEOF
46695 #define wxUSE_INICONF 1
46700 if test "$wxUSE_REGKEY" = "yes"; then
46701 cat >>confdefs.h <<\_ACEOF
46702 #define wxUSE_REGKEY 1
46709 if test "$wxUSE_MAC" = 1; then
46710 wxUSE_GRAPHICS_CONTEXT="yes"
46713 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46714 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46715 cat >>confdefs.h <<\_ACEOF
46716 #define wxUSE_GRAPHICS_CONTEXT 1
46719 elif test "$wxUSE_GTK" != 1; then
46720 cat >>confdefs.h <<\_ACEOF
46721 #define wxUSE_GRAPHICS_CONTEXT 1
46727 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46728 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46730 if test -n "$PKG_CONFIG"; then
46731 if test -n "$CAIRO_CFLAGS"; then
46732 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46734 if test -n "$PKG_CONFIG" && \
46735 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46736 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46739 (exit $ac_status); }; then
46740 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
46748 if test -n "$PKG_CONFIG"; then
46749 if test -n "$CAIRO_LIBS"; then
46750 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46752 if test -n "$PKG_CONFIG" && \
46753 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46754 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46757 (exit $ac_status); }; then
46758 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
46769 if test $pkg_failed = yes; then
46771 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46772 _pkg_short_errors_supported=yes
46774 _pkg_short_errors_supported=no
46776 if test $_pkg_short_errors_supported = yes; then
46777 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46779 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46781 # Put the nasty error message in config.log where it belongs
46782 echo "$CAIRO_PKG_ERRORS" >&5
46784 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46785 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46787 elif test $pkg_failed = untried; then
46788 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46789 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46792 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46793 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46794 { echo "$as_me:$LINENO: result: yes" >&5
46795 echo "${ECHO_T}yes" >&6; }
46796 cat >>confdefs.h <<\_ACEOF
46797 #define wxUSE_GRAPHICS_CONTEXT 1
46807 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46810 if test "$wxUSE_GTK" = 1; then
46811 wxUSE_GSTREAMER="no"
46813 GST_VERSION_MAJOR=0
46814 GST_VERSION_MINOR=10
46815 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46817 if test "$wxUSE_GSTREAMER8" = "no"; then
46820 { echo "$as_me:$LINENO: checking for GST" >&5
46821 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46823 if test -n "$PKG_CONFIG"; then
46824 if test -n "$GST_CFLAGS"; then
46825 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46827 if test -n "$PKG_CONFIG" && \
46828 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46829 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46832 (exit $ac_status); }; then
46833 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46841 if test -n "$PKG_CONFIG"; then
46842 if test -n "$GST_LIBS"; then
46843 pkg_cv_GST_LIBS="$GST_LIBS"
46845 if test -n "$PKG_CONFIG" && \
46846 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46847 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46850 (exit $ac_status); }; then
46851 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev
/null
`
46862 if test $pkg_failed = yes; then
46864 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46865 _pkg_short_errors_supported=yes
46867 _pkg_short_errors_supported=no
46869 if test $_pkg_short_errors_supported = yes; then
46870 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46872 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46874 # Put the nasty error message in config.log where it belongs
46875 echo "$GST_PKG_ERRORS" >&5
46878 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46879 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46880 GST_VERSION_MINOR=8
46883 elif test $pkg_failed = untried; then
46885 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46886 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46887 GST_VERSION_MINOR=8
46891 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46892 GST_LIBS=$pkg_cv_GST_LIBS
46893 { echo "$as_me:$LINENO: result: yes" >&5
46894 echo "${ECHO_T}yes" >&6; }
46896 wxUSE_GSTREAMER="yes"
46897 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46901 GST_VERSION_MINOR=8
46904 if test $GST_VERSION_MINOR = "8"; then
46905 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46908 { echo "$as_me:$LINENO: checking for GST" >&5
46909 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46911 if test -n "$PKG_CONFIG"; then
46912 if test -n "$GST_CFLAGS"; then
46913 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46915 if test -n "$PKG_CONFIG" && \
46916 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46917 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46920 (exit $ac_status); }; then
46921 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46929 if test -n "$PKG_CONFIG"; then
46930 if test -n "$GST_LIBS"; then
46931 pkg_cv_GST_LIBS="$GST_LIBS"
46933 if test -n "$PKG_CONFIG" && \
46934 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46935 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46938 (exit $ac_status); }; then
46939 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
46950 if test $pkg_failed = yes; then
46952 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46953 _pkg_short_errors_supported=yes
46955 _pkg_short_errors_supported=no
46957 if test $_pkg_short_errors_supported = yes; then
46958 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46960 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46962 # Put the nasty error message in config.log where it belongs
46963 echo "$GST_PKG_ERRORS" >&5
46966 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46967 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46969 elif test $pkg_failed = untried; then
46971 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46972 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46975 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46976 GST_LIBS=$pkg_cv_GST_LIBS
46977 { echo "$as_me:$LINENO: result: yes" >&5
46978 echo "${ECHO_T}yes" >&6; }
46979 wxUSE_GSTREAMER="yes"
46984 if test "$wxUSE_GSTREAMER" = "yes"; then
46985 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46986 EXTRALIBS_MEDIA="$GST_LIBS"
46988 cat >>confdefs.h <<\_ACEOF
46989 #define wxUSE_GSTREAMER 1
46997 if test $USE_MEDIA = 1; then
46998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46999 cat >>confdefs.h <<\_ACEOF
47000 #define wxUSE_MEDIACTRL 1
47004 if test "$wxUSE_MEDIACTRL" = "yes"; then
47005 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47006 echo "$as_me: error: GStreamer not available" >&2;}
47007 { (exit 1); exit 1; }; }
47009 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47010 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47016 if test "$cross_compiling" = "yes"; then
47019 OSINFO=`uname
-s -r -m`
47020 OSINFO="\"$OSINFO\""
47023 cat >>confdefs.h <<_ACEOF
47024 #define WXWIN_OS_DESCRIPTION $OSINFO
47029 if test "x$prefix" != "xNONE"; then
47032 wxPREFIX=$ac_default_prefix
47035 cat >>confdefs.h <<_ACEOF
47036 #define wxINSTALL_PREFIX "$wxPREFIX"
47042 STD_BASE_LIBS="base"
47044 BUILT_WX_LIBS="base"
47045 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47047 if test "$wxUSE_SOCKETS" = "yes" ; then
47048 STD_BASE_LIBS="net $STD_BASE_LIBS"
47049 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47051 if test "$wxUSE_XML" = "yes" ; then
47052 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47053 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47056 if test "$wxUSE_GUI" = "yes"; then
47057 STD_GUI_LIBS="adv core"
47058 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47060 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47061 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47062 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47064 if test "$wxUSE_HTML" = "yes" ; then
47065 STD_GUI_LIBS="html $STD_GUI_LIBS"
47066 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47068 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47069 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47071 if test "$wxUSE_OPENGL" = "yes" ; then
47072 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47074 if test "$wxUSE_AUI" = "yes" ; then
47075 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47077 if test "$wxUSE_PROPGRID" = "yes" ; then
47078 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47080 if test "$wxUSE_RICHTEXT" = "yes" ; then
47081 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47083 if test "$wxUSE_STC" = "yes" ; then
47084 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47086 if test "$wxUSE_XRC" = "yes" ; then
47087 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47088 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47099 if test "$wxUSE_MAC" = 1 ; then
47100 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47101 if test "$USE_DARWIN" = 1; then
47102 LDFLAGS="$LDFLAGS -framework QuickTime"
47105 if test "$USE_DARWIN" = 1; then
47106 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47109 if test "$wxUSE_COCOA" = 1 ; then
47110 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47111 if test "$wxUSE_MEDIACTRL" = "yes"; then
47112 LDFLAGS="$LDFLAGS -framework QuickTime"
47115 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47116 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47119 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47121 if test "$wxUSE_GUI" = "yes"; then
47124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47125 erase event exec font image minimal mobile \
47126 mobile/wxedit mobile/styles render \
47127 shaped svg taborder vscroll widgets"
47129 if test "$wxUSE_MONOLITHIC" != "yes"; then
47130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47132 if test "$TOOLKIT" = "MSW"; then
47133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47134 if test "$wxUSE_UNIVERSAL" != "yes"; then
47135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47138 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47142 SAMPLES_SUBDIRS="console"
47143 if test "$wxUSE_SOCKETS" = "yes" ; then
47144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47146 if test "$wxUSE_IPC" = "yes" ; then
47147 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47152 if test "x$INTELCC" = "xyes" ; then
47153 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47154 elif test "$GCC" = yes ; then
47155 CWARNINGS="-Wall -Wundef"
47158 if test "x$INTELCXX" = "xyes" ; then
47159 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47160 elif test "$GXX" = yes ; then
47161 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47162 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47163 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47164 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47165 echo $ECHO_N "(cached) $ECHO_C" >&6
47167 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47170 ac_cpp='$CXXCPP $CPPFLAGS'
47171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47175 ac_save_CXXFLAGS="$CXXFLAGS"
47176 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47177 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47178 cat >conftest.$ac_ext <<_ACEOF
47181 cat confdefs.h >>conftest.$ac_ext
47182 cat >>conftest.$ac_ext <<_ACEOF
47183 /* end confdefs.h. */
47193 rm -f conftest.$ac_objext
47194 if { (ac_try="$ac_compile"
47195 case "(($ac_try" in
47196 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47197 *) ac_try_echo
=$ac_try;;
47199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47200 (eval "$ac_compile") 2>conftest.er1
47202 grep -v '^ *+' conftest.er1
>conftest.err
47204 cat conftest.err
>&5
47205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47206 (exit $ac_status); } && {
47207 test -z "$ac_cxx_werror_flag" ||
47208 test ! -s conftest.err
47209 } && test -s conftest.
$ac_objext; then
47210 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47212 echo "$as_me: failed program was:" >&5
47213 sed 's/^/| /' conftest.
$ac_ext >&5
47218 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47220 CXXFLAGS
="$ac_save_CXXFLAGS"
47222 ac_cpp
='$CPP $CPPFLAGS'
47223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47229 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47230 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47231 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47235 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
47236 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47237 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47240 (exit $ac_status); }
47241 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47242 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47245 (exit $ac_status); }
47246 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47254 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
47255 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47258 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
47259 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47260 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47263 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47264 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47265 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47266 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47267 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47269 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47272 if test "x$MWCC" = "xyes"; then
47274 CC
="$CC -cwd source -I-"
47275 CXX
="$CXX -cwd source -I-"
47280 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47281 EXTRALIBS_XML
="$EXPAT_LINK"
47282 EXTRALIBS_HTML
="$MSPACK_LINK"
47283 EXTRALIBS_MEDIA
="$GST_LIBS"
47284 EXTRALIBS_STC
="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47285 if test "$wxUSE_GUI" = "yes"; then
47286 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47288 if test "$wxUSE_OPENGL" = "yes"; then
47289 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
47292 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
47294 WXCONFIG_LIBS
="$LIBS"
47296 if test "$wxUSE_REGEX" = "builtin" ; then
47297 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47299 if test "$wxUSE_EXPAT" = "builtin" ; then
47300 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
47302 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47303 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
47305 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47306 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
47308 if test "$wxUSE_LIBPNG" = "builtin" ; then
47309 wxconfig_3rdparty
="png $wxconfig_3rdparty"
47311 if test "$wxUSE_ZLIB" = "builtin" ; then
47312 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
47315 for i
in $wxconfig_3rdparty ; do
47316 WXCONFIG_LIBS
="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47320 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47323 case "$wxUNIV_THEMES" in
47325 cat >>confdefs.h
<<\_ACEOF
47326 #define wxUSE_ALL_THEMES 1
47332 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47333 cat >>confdefs.h
<<_ACEOF
47334 #define wxUSE_THEME_$t 1
47350 if test $wxUSE_MONOLITHIC = "yes" ; then
47356 if test $wxUSE_PLUGINS = "yes" ; then
47362 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47368 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47401 TOOLKIT_LOWERCASE
=xxx
47402 if test "$TOOLKIT" = "MAC"; then
47403 TOOLKIT_LOWERCASE
=osx_carbon
47405 if test "$TOOLKIT" = "OSX_CARBON"; then
47406 TOOLKIT_LOWERCASE
=osx_carbon
47408 if test "$TOOLKIT" = "OSX_COCOA"; then
47409 TOOLKIT_LOWERCASE
=osx_cocoa
47411 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47412 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47424 TOOLKIT_DESC
="GTK+"
47425 if test "$WXGTK2" = 1; then
47426 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
47427 if test "$wxUSE_GTKPRINT" = "yes" ; then
47428 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
47430 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47431 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
47433 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47434 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
47436 if test "$wxUSE_LIBHILDON" = "yes"; then
47437 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
47440 if test "$TOOLKIT_EXTRA" != ""; then
47441 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47447 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
47451 TOOLKIT_DESC
="base only"
47455 if test "$wxUSE_WINE" = "yes"; then
47456 BAKEFILE_FORCE_PLATFORM
=win32
47459 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47461 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47462 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47463 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47464 echo $ECHO_N "(cached) $ECHO_C" >&6
47467 echo '#include <stdio.h>
47468 const wchar_t test_var[] = L"awidetest";' > conftest.h
47470 echo '#include "conftest.h"
47473 printf("%ls", test_var);
47477 wx_cv_gcc_pch_bug
="pch not supported"
47479 if $CXX conftest.h
>/dev
/null
2>&1
47483 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
47485 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
47486 grep awidetest
>/dev
/null
47488 wx_cv_gcc_pch_bug
=no
47490 wx_cv_gcc_pch_bug
=yes
47495 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
47498 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47499 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47501 if test "$wx_cv_gcc_pch_bug" = yes; then
47512 if test "x$BAKEFILE_HOST" = "x"; then
47513 if test "x${host}" = "x" ; then
47514 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47515 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47516 { (exit 1); exit 1; }; }
47519 BAKEFILE_HOST
="${host}"
47522 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47524 if test -n "$ac_tool_prefix"; then
47525 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47526 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
47527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47529 if test "${ac_cv_prog_RANLIB+set}" = set; then
47530 echo $ECHO_N "(cached) $ECHO_C" >&6
47532 if test -n "$RANLIB"; then
47533 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
47535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47536 for as_dir
in $PATH
47539 test -z "$as_dir" && as_dir
=.
47540 for ac_exec_ext
in '' $ac_executable_extensions; do
47541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47542 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
47543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47552 RANLIB
=$ac_cv_prog_RANLIB
47553 if test -n "$RANLIB"; then
47554 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47555 echo "${ECHO_T}$RANLIB" >&6; }
47557 { echo "$as_me:$LINENO: result: no" >&5
47558 echo "${ECHO_T}no" >&6; }
47563 if test -z "$ac_cv_prog_RANLIB"; then
47564 ac_ct_RANLIB
=$RANLIB
47565 # Extract the first word of "ranlib", so it can be a program name with args.
47566 set dummy ranlib
; ac_word
=$2
47567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47569 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47570 echo $ECHO_N "(cached) $ECHO_C" >&6
47572 if test -n "$ac_ct_RANLIB"; then
47573 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
47575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47576 for as_dir
in $PATH
47579 test -z "$as_dir" && as_dir
=.
47580 for ac_exec_ext
in '' $ac_executable_extensions; do
47581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47582 ac_cv_prog_ac_ct_RANLIB
="ranlib"
47583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47592 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
47593 if test -n "$ac_ct_RANLIB"; then
47594 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47595 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47597 { echo "$as_me:$LINENO: result: no" >&5
47598 echo "${ECHO_T}no" >&6; }
47601 if test "x$ac_ct_RANLIB" = x
; then
47604 case $cross_compiling:$ac_tool_warned in
47606 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47607 whose name does not start with the host triplet. If you think this
47608 configuration is useful to you, please write to autoconf@gnu.org." >&5
47609 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47610 whose name does not start with the host triplet. If you think this
47611 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47612 ac_tool_warned
=yes ;;
47614 RANLIB
=$ac_ct_RANLIB
47617 RANLIB
="$ac_cv_prog_RANLIB"
47620 # Find a good install program. We prefer a C program (faster),
47621 # so one script is as good as another. But avoid the broken or
47622 # incompatible versions:
47623 # SysV /etc/install, /usr/sbin/install
47624 # SunOS /usr/etc/install
47625 # IRIX /sbin/install
47627 # AmigaOS /C/install, which installs bootblocks on floppy discs
47628 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47629 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47630 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47631 # OS/2's system install, which has a completely different semantic
47632 # ./install, which can be erroneously created by make from ./install.sh.
47633 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47634 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47635 if test -z "$INSTALL"; then
47636 if test "${ac_cv_path_install+set}" = set; then
47637 echo $ECHO_N "(cached) $ECHO_C" >&6
47639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47640 for as_dir
in $PATH
47643 test -z "$as_dir" && as_dir
=.
47644 # Account for people who put trailing slashes in PATH elements.
47646 .
/ | .
// | /cC
/* | \
47647 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
47648 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
47651 # OSF1 and SCO ODT 3.0 have their own names for install.
47652 # Don't use installbsd from OSF since it installs stuff as root
47654 for ac_prog
in ginstall scoinst
install; do
47655 for ac_exec_ext
in '' $ac_executable_extensions; do
47656 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47657 if test $ac_prog = install &&
47658 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47659 # AIX install. It has an incompatible calling convention.
47661 elif test $ac_prog = install &&
47662 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
47663 # program-specific install script used by HP pwplus--don't use.
47666 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
47679 if test "${ac_cv_path_install+set}" = set; then
47680 INSTALL
=$ac_cv_path_install
47682 # As a last resort, use the slow shell script. Don't cache a
47683 # value for INSTALL within a source directory, because that will
47684 # break other packages using the cache if that directory is
47685 # removed, or if the value is a relative name.
47686 INSTALL
=$ac_install_sh
47689 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47690 echo "${ECHO_T}$INSTALL" >&6; }
47692 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47693 # It thinks the first close brace ends the variable substitution.
47694 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
47696 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
47698 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
47700 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47701 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47703 if test "$LN_S" = "ln -s"; then
47704 { echo "$as_me:$LINENO: result: yes" >&5
47705 echo "${ECHO_T}yes" >&6; }
47707 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47708 echo "${ECHO_T}no, using $LN_S" >&6; }
47712 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47713 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47714 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47715 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
47716 echo $ECHO_N "(cached) $ECHO_C" >&6
47718 cat >conftest.
make <<\_ACEOF
47721 @
echo '@@@%%%=$(MAKE)=@@@%%%'
47723 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47724 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47725 *@@@
%%%=?
*=@@@
%%%*)
47726 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
47728 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
47730 rm -f conftest.
make
47732 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
47733 { echo "$as_me:$LINENO: result: yes" >&5
47734 echo "${ECHO_T}yes" >&6; }
47737 { echo "$as_me:$LINENO: result: no" >&5
47738 echo "${ECHO_T}no" >&6; }
47739 SET_MAKE
="MAKE=${MAKE-make}"
47744 if test "x$SUNCXX" = "xyes"; then
47746 AROPTIONS
="-xar -o"
47748 elif test "x$SGICC" = "xyes"; then
47753 if test -n "$ac_tool_prefix"; then
47754 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47755 set dummy
${ac_tool_prefix}ar; ac_word
=$2
47756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47758 if test "${ac_cv_prog_AR+set}" = set; then
47759 echo $ECHO_N "(cached) $ECHO_C" >&6
47761 if test -n "$AR"; then
47762 ac_cv_prog_AR
="$AR" # Let the user override the test.
47764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47765 for as_dir
in $PATH
47768 test -z "$as_dir" && as_dir
=.
47769 for ac_exec_ext
in '' $ac_executable_extensions; do
47770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47771 ac_cv_prog_AR
="${ac_tool_prefix}ar"
47772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47782 if test -n "$AR"; then
47783 { echo "$as_me:$LINENO: result: $AR" >&5
47784 echo "${ECHO_T}$AR" >&6; }
47786 { echo "$as_me:$LINENO: result: no" >&5
47787 echo "${ECHO_T}no" >&6; }
47792 if test -z "$ac_cv_prog_AR"; then
47794 # Extract the first word of "ar", so it can be a program name with args.
47795 set dummy
ar; ac_word
=$2
47796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47798 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47799 echo $ECHO_N "(cached) $ECHO_C" >&6
47801 if test -n "$ac_ct_AR"; then
47802 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
47804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47805 for as_dir
in $PATH
47808 test -z "$as_dir" && as_dir
=.
47809 for ac_exec_ext
in '' $ac_executable_extensions; do
47810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47811 ac_cv_prog_ac_ct_AR
="ar"
47812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47821 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
47822 if test -n "$ac_ct_AR"; then
47823 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47824 echo "${ECHO_T}$ac_ct_AR" >&6; }
47826 { echo "$as_me:$LINENO: result: no" >&5
47827 echo "${ECHO_T}no" >&6; }
47830 if test "x$ac_ct_AR" = x
; then
47833 case $cross_compiling:$ac_tool_warned in
47835 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47836 whose name does not start with the host triplet. If you think this
47837 configuration is useful to you, please write to autoconf@gnu.org." >&5
47838 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47839 whose name does not start with the host triplet. If you think this
47840 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47841 ac_tool_warned
=yes ;;
47846 AR
="$ac_cv_prog_AR"
47853 if test -n "$ac_tool_prefix"; then
47854 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47855 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
47856 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47858 if test "${ac_cv_prog_STRIP+set}" = set; then
47859 echo $ECHO_N "(cached) $ECHO_C" >&6
47861 if test -n "$STRIP"; then
47862 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
47864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47865 for as_dir
in $PATH
47868 test -z "$as_dir" && as_dir
=.
47869 for ac_exec_ext
in '' $ac_executable_extensions; do
47870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47871 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
47872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47881 STRIP
=$ac_cv_prog_STRIP
47882 if test -n "$STRIP"; then
47883 { echo "$as_me:$LINENO: result: $STRIP" >&5
47884 echo "${ECHO_T}$STRIP" >&6; }
47886 { echo "$as_me:$LINENO: result: no" >&5
47887 echo "${ECHO_T}no" >&6; }
47892 if test -z "$ac_cv_prog_STRIP"; then
47894 # Extract the first word of "strip", so it can be a program name with args.
47895 set dummy strip
; ac_word
=$2
47896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47898 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47899 echo $ECHO_N "(cached) $ECHO_C" >&6
47901 if test -n "$ac_ct_STRIP"; then
47902 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
47904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47905 for as_dir
in $PATH
47908 test -z "$as_dir" && as_dir
=.
47909 for ac_exec_ext
in '' $ac_executable_extensions; do
47910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47911 ac_cv_prog_ac_ct_STRIP
="strip"
47912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47921 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
47922 if test -n "$ac_ct_STRIP"; then
47923 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47924 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47926 { echo "$as_me:$LINENO: result: no" >&5
47927 echo "${ECHO_T}no" >&6; }
47930 if test "x$ac_ct_STRIP" = x
; then
47933 case $cross_compiling:$ac_tool_warned in
47935 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47936 whose name does not start with the host triplet. If you think this
47937 configuration is useful to you, please write to autoconf@gnu.org." >&5
47938 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47939 whose name does not start with the host triplet. If you think this
47940 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47941 ac_tool_warned
=yes ;;
47946 STRIP
="$ac_cv_prog_STRIP"
47949 if test -n "$ac_tool_prefix"; then
47950 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47951 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
47952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47954 if test "${ac_cv_prog_NM+set}" = set; then
47955 echo $ECHO_N "(cached) $ECHO_C" >&6
47957 if test -n "$NM"; then
47958 ac_cv_prog_NM
="$NM" # Let the user override the test.
47960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
47961 for as_dir
in $PATH
47964 test -z "$as_dir" && as_dir
=.
47965 for ac_exec_ext
in '' $ac_executable_extensions; do
47966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47967 ac_cv_prog_NM
="${ac_tool_prefix}nm"
47968 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47978 if test -n "$NM"; then
47979 { echo "$as_me:$LINENO: result: $NM" >&5
47980 echo "${ECHO_T}$NM" >&6; }
47982 { echo "$as_me:$LINENO: result: no" >&5
47983 echo "${ECHO_T}no" >&6; }
47988 if test -z "$ac_cv_prog_NM"; then
47990 # Extract the first word of "nm", so it can be a program name with args.
47991 set dummy nm
; ac_word
=$2
47992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47994 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47995 echo $ECHO_N "(cached) $ECHO_C" >&6
47997 if test -n "$ac_ct_NM"; then
47998 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
48000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
48001 for as_dir
in $PATH
48004 test -z "$as_dir" && as_dir
=.
48005 for ac_exec_ext
in '' $ac_executable_extensions; do
48006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48007 ac_cv_prog_ac_ct_NM
="nm"
48008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48017 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
48018 if test -n "$ac_ct_NM"; then
48019 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48020 echo "${ECHO_T}$ac_ct_NM" >&6; }
48022 { echo "$as_me:$LINENO: result: no" >&5
48023 echo "${ECHO_T}no" >&6; }
48026 if test "x$ac_ct_NM" = x
; then
48029 case $cross_compiling:$ac_tool_warned in
48031 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48032 whose name does not start with the host triplet. If you think this
48033 configuration is useful to you, please write to autoconf@gnu.org." >&5
48034 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48035 whose name does not start with the host triplet. If you think this
48036 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48037 ac_tool_warned
=yes ;;
48042 NM
="$ac_cv_prog_NM"
48046 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48047 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48048 INSTALL_TEST_DIR
=acbftest$$
48049 $INSTALL -d $INSTALL_TEST_DIR > /dev
/null
2>&1
48050 if test $?
= 0 -a -d $INSTALL_TEST_DIR; then
48051 rmdir $INSTALL_TEST_DIR
48052 INSTALL_DIR
='$(INSTALL) -d'
48053 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48054 echo "${ECHO_T}$INSTALL -d" >&6; }
48056 INSTALL_DIR
="mkdir -p"
48057 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48058 echo "${ECHO_T}mkdir -p" >&6; }
48063 case ${BAKEFILE_HOST} in
48064 *-*-cygwin* | *-*-mingw32* )
48065 LDFLAGS_GUI
="-mwindows"
48071 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48072 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48073 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48074 echo $ECHO_N "(cached) $ECHO_C" >&6
48077 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
48078 egrep -s GNU
> /dev
/null
); then
48079 bakefile_cv_prog_makeisgnu
="yes"
48081 bakefile_cv_prog_makeisgnu
="no"
48085 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48086 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48088 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48105 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48106 case "${BAKEFILE_HOST}" in
48113 *-pc-os2_emx | *-pc-os2-emx )
48123 powerpc
-apple-macos* )
48132 case "$BAKEFILE_FORCE_PLATFORM" in
48167 # Check whether --enable-omf was given.
48168 if test "${enable_omf+set}" = set; then
48169 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
48173 case "${BAKEFILE_HOST}" in
48175 if test "x$GCC" = "xyes"; then
48176 CFLAGS
="$CFLAGS -fno-common"
48177 CXXFLAGS
="$CXXFLAGS -fno-common"
48179 if test "x$XLCC" = "xyes"; then
48180 CFLAGS
="$CFLAGS -qnocommon"
48181 CXXFLAGS
="$CXXFLAGS -qnocommon"
48185 *-pc-os2_emx | *-pc-os2-emx )
48186 if test "x$bk_os2_use_omf" = "xyes" ; then
48189 LDFLAGS
="-Zomf $LDFLAGS"
48190 CFLAGS
="-Zomf $CFLAGS"
48191 CXXFLAGS
="-Zomf $CXXFLAGS"
48199 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
48205 SO_SUFFIX_MODULE
="so"
48210 DLLPREFIX_MODULE
=""
48214 case "${BAKEFILE_HOST}" in
48219 SO_SUFFIX_MODULE
="sl"
48223 SO_SUFFIX_MODULE
="a"
48227 SO_SUFFIX_MODULE
="dll"
48228 DLLIMP_SUFFIX
="dll.a"
48235 SO_SUFFIX_MODULE
="dll"
48236 DLLIMP_SUFFIX
="dll.a"
48246 *-pc-os2_emx | *-pc-os2-emx )
48248 SO_SUFFIX_MODULE
="dll"
48249 DLLIMP_SUFFIX
=$OS2_LIBEXT
48253 LIBEXT
=".$OS2_LIBEXT"
48258 SO_SUFFIX_MODULE
="bundle"
48262 if test "x$DLLIMP_SUFFIX" = "x" ; then
48263 DLLIMP_SUFFIX
="$SO_SUFFIX"
48278 if test "x$GCC" = "xyes"; then
48282 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
48283 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
48286 case "${BAKEFILE_HOST}" in
48288 if test "x$GCC" != "xyes"; then
48289 LDFLAGS
="$LDFLAGS -L/usr/lib"
48291 SHARED_LD_CC
="${CC} -b -o"
48292 SHARED_LD_CXX
="${CXX} -b -o"
48298 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48300 elif test "x$SUNCXX" = "xyes"; then
48301 SHARED_LD_CC
="${CC} -G -o"
48302 SHARED_LD_CXX
="${CXX} -G -o"
48308 if test "x$SUNCXX" = xyes
; then
48309 SHARED_LD_CC
="${CC} -G -o"
48310 SHARED_LD_CXX
="${CXX} -G -o"
48318 cat <<EOF >shared-ld-sh
48320 #-----------------------------------------------------------------------------
48321 #-- Name: distrib/mac/shared-ld-sh
48322 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48323 #-- Author: Gilles Depeyrot
48324 #-- Copyright: (c) 2002 Gilles Depeyrot
48325 #-- Licence: any use permitted
48326 #-----------------------------------------------------------------------------
48331 linking_flag="-dynamiclib"
48332 ldargs="-r -keep_private_externs -nostdlib"
48334 if test "x${D}CXX" = "x"; then
48338 while test ${D}# -gt 0; do
48345 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48346 # collect these options and values
48347 args="${D}{args} ${D}1 ${D}2"
48352 # collect these options and values
48353 ldargs="${D}{ldargs} ${D}1 ${D}2"
48358 # collect these load args
48359 ldargs="${D}{ldargs} ${D}1"
48362 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48363 # collect these options
48364 args="${D}{args} ${D}1"
48367 -dynamiclib|-bundle)
48368 linking_flag="${D}1"
48372 echo "shared-ld: unhandled option '${D}1'"
48376 *.o | *.a | *.dylib)
48377 # collect object files
48378 objects="${D}{objects} ${D}1"
48382 echo "shared-ld: unhandled argument '${D}1'"
48393 # Link one module containing all the others
48395 if test ${D}{verbose} = 1; then
48396 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48398 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48402 # Link the shared library from the single module created, but only if the
48403 # previous command didn't fail:
48405 if test ${D}{status} = 0; then
48406 if test ${D}{verbose} = 1; then
48407 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48409 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48414 # Remove intermediate module
48416 rm -f master.${D}${D}.o
48421 chmod +x shared
-ld-sh
48423 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48424 SHARED_LD_MODULE_CXX
="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48427 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48428 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48429 if test "${bakefile_cv_gcc31+set}" = set; then
48430 echo $ECHO_N "(cached) $ECHO_C" >&6
48433 cat >conftest.
$ac_ext <<_ACEOF
48436 cat confdefs.h
>>conftest.
$ac_ext
48437 cat >>conftest.
$ac_ext <<_ACEOF
48438 /* end confdefs.h. */
48444 #if (__GNUC__ < 3) || \
48445 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48453 rm -f conftest.
$ac_objext
48454 if { (ac_try
="$ac_compile"
48455 case "(($ac_try" in
48456 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48457 *) ac_try_echo=$ac_try;;
48459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48460 (eval "$ac_compile") 2>conftest.er1
48462 grep -v '^ *+' conftest.er1 >conftest.err
48464 cat conftest.err >&5
48465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48466 (exit $ac_status); } && {
48467 test -z "$ac_c_werror_flag" ||
48468 test ! -s conftest.err
48469 } && test -s conftest.$ac_objext; then
48471 bakefile_cv_gcc31=yes
48474 echo "$as_me: failed program was:" >&5
48475 sed 's/^/| /' conftest.$ac_ext >&5
48478 bakefile_cv_gcc31=no
48483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48486 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48487 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48488 if test "$bakefile_cv_gcc31" = "no"; then
48489 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48490 SHARED_LD_CXX="$SHARED_LD_CC"
48492 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48493 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48496 if test "x$GCC" == "xyes"; then
48497 PIC_FLAG="-dynamic -fPIC"
48499 if test "x$XLCC" = "xyes"; then
48500 PIC_FLAG="-dynamic -DPIC"
48505 if test "x$GCC" = "xyes"; then
48508 case "${BAKEFILE_HOST}" in
48510 LD_EXPFULL="-Wl,-bexpfull"
48514 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48515 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48517 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48518 set dummy makeC++SharedLib; ac_word=$2
48519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48521 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48522 echo $ECHO_N "(cached) $ECHO_C" >&6
48524 if test -n "$AIX_CXX_LD"; then
48525 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48528 for as_dir in $PATH
48531 test -z "$as_dir" && as_dir=.
48532 for ac_exec_ext in '' $ac_executable_extensions; do
48533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48534 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48542 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48545 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48546 if test -n "$AIX_CXX_LD"; then
48547 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48548 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48550 { echo "$as_me:$LINENO: result: no" >&5
48551 echo "${ECHO_T}no" >&6; }
48555 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48556 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48561 SHARED_LD_CC="${LD} -nostart -o"
48562 SHARED_LD_CXX="${LD} -nostart -o"
48566 if test "x$GCC" != "xyes"; then
48571 *-*-cygwin* | *-*-mingw32* )
48573 SHARED_LD_CC="\$(CC) -shared -o"
48574 SHARED_LD_CXX="\$(CXX) -shared -o"
48578 *-pc-os2_emx | *-pc-os2-emx )
48579 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48580 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48584 cat <<EOF >dllar.sh
48587 # dllar - a tool to build both a .dll and an .a file
48588 # from a set of object (.o) files for EMX/OS2.
48590 # Written by Andrew Zabolotny, bit@freya.etu.ru
48591 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48593 # This script will accept a set of files on the command line.
48594 # All the public symbols from the .o files will be exported into
48595 # a .DEF file, then linker will be run (through gcc) against them to
48596 # build a shared library consisting of all given .o files. All libraries
48597 # (.a) will be first decompressed into component .o files then act as
48598 # described above. You can optionally give a description (-d "description")
48599 # which will be put into .DLL. To see the list of accepted options (as well
48600 # as command-line format) simply run this program without options. The .DLL
48601 # is built to be imported by name (there is no guarantee that new versions
48602 # of the library you build will have same ordinals for same symbols).
48604 # dllar is free software; you can redistribute it and/or modify
48605 # it under the terms of the GNU General Public License as published by
48606 # the Free Software Foundation; either version 2, or (at your option)
48607 # any later version.
48609 # dllar is distributed in the hope that it will be useful,
48610 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48611 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48612 # GNU General Public License for more details.
48614 # You should have received a copy of the GNU General Public License
48615 # along with dllar; see the file COPYING. If not, write to the Free
48616 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48619 # To successfuly run this program you will need:
48620 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48621 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48623 # (used to build the .dll)
48625 # (used to create .def file from .o files)
48627 # (used to create .a file from .def file)
48628 # - GNU text utilites (cat, sort, uniq)
48629 # used to process emxexp output
48630 # - GNU file utilities (mv, rm)
48632 # - lxlite (optional, see flag below)
48633 # (used for general .dll cleanup)
48640 # basnam, variant of basename, which does _not_ remove the path, _iff_
48641 # second argument (suffix to remove) is given
48645 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48648 echo ${D}1 | sed 's/'${D}2'${D}//'
48651 echo "error in basnam ${D}*"
48657 # Cleanup temporary files and output
48660 for i in ${D}inputFiles ; do
48663 rm -rf \`basnam
${D}i
!\
`
48670 # Kill result in case of failure as there is just to many stupid make/nmake
48671 # things out there which doesn't do this.
48672 if [ ${D}# -eq 0 ]; then
48673 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48677 # Print usage and exit script with rc=1.
48679 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48680 echo ' [-name-mangler-script script.sh]'
48681 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48682 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48683 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48684 echo ' [*.o] [*.a]'
48685 echo '*> "output_file" should have no extension.'
48686 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48687 echo ' The import library name is derived from this and is set to "name".a,'
48688 echo ' unless overridden by -import'
48689 echo '*> "importlib_name" should have no extension.'
48690 echo ' If it has the .o, or .a extension, it is automatically removed.'
48691 echo ' This name is used as the import library name and may be longer and'
48692 echo ' more descriptive than the DLL name which has to follow the old '
48693 echo ' 8.3 convention of FAT.'
48694 echo '*> "script.sh may be given to override the output_file name by a'
48695 echo ' different name. It is mainly useful if the regular make process'
48696 echo ' of some package does not take into account OS/2 restriction of'
48697 echo ' DLL name lengths. It takes the importlib name as input and is'
48698 echo ' supposed to procude a shorter name as output. The script should'
48699 echo ' expect to get importlib_name without extension and should produce'
48700 echo ' a (max.) 8 letter name without extension.'
48701 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48702 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48703 echo ' These flags will be put at the start of GCC command line.'
48704 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48705 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48706 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48707 echo ' If the last character of a symbol is "*", all symbols beginning'
48708 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48709 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48710 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48711 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48712 echo ' C runtime DLLs.'
48713 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48714 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48715 echo ' unchanged to GCC at the end of command line.'
48716 echo '*> If you create a DLL from a library and you do not specify -o,'
48717 echo ' the basename for DLL and import library will be set to library name,'
48718 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48719 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48720 echo ' library will be renamed into gcc_s.a.'
48723 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48724 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48729 # Execute a command.
48730 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48731 # @Uses Whatever CleanUp() uses.
48737 if [ ${D}rcCmd -ne 0 ]; then
48738 echo "command failed, exit code="${D}rcCmd
48753 CFLAGS="-s -Zcrtdll"
48755 EXPORT_BY_ORDINALS=0
48760 case ${D}curDirS in
48764 curDirS=${D}{curDirS}"/"
48767 # Parse commandline
48770 while [ ${D}1 ]; do
48773 EXPORT_BY_ORDINALS=1;
48783 -name-mangler-script)
48804 exclude_symbols=${D}{exclude_symbols}${D}1" "
48808 library_flags=${D}{library_flags}${D}1" "
48827 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48830 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam
${D}1 .dll\
`"
48831 if [ ${D}omfLinking -eq 1 ]; then
48832 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48834 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48839 if [ ${D}libsToLink -ne 0 ]; then
48840 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48842 for file in ${D}1 ; do
48843 if [ -f ${D}file ]; then
48844 inputFiles="${D}{inputFiles} ${D}file"
48848 if [ ${D}found -eq 0 ]; then
48849 echo "ERROR: No file(s) found: "${D}1
48856 done # iterate cmdline words
48859 if [ -z "${D}inputFiles" ]; then
48860 echo "dllar: no input files"
48864 # Now extract all .o files from .a files
48866 for file in ${D}inputFiles ; do
48877 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48882 dirname=\`basnam
${D}file ${D}suffix\
`"_%"
48884 if [ ${D}? -ne 0 ]; then
48885 echo "Failed to create subdirectory ./${D}dirname"
48889 # Append '!' to indicate archive
48890 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48891 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48894 for subfile in ${D}dirname/*.o* ; do
48895 if [ -f ${D}subfile ]; then
48897 if [ -s ${D}subfile ]; then
48898 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48899 newInputFiles="${D}newInputFiles ${D}subfile"
48903 if [ ${D}found -eq 0 ]; then
48904 echo "WARNING: there are no files in archive \\'${D}file\\'"
48908 newInputFiles="${D}{newInputFiles} ${D}file"
48912 inputFiles="${D}newInputFiles"
48914 # Output filename(s).
48916 if [ -z ${D}outFile ]; then
48918 set outFile ${D}inputFiles; outFile=${D}2
48921 # If it is an archive, remove the '!' and the '_%' suffixes
48922 case ${D}outFile in
48924 outFile=\`basnam
${D}outFile _
%!\
`
48929 case ${D}outFile in
48931 outFile=\`basnam
${D}outFile .dll\
`
48934 outFile=\`basnam
${D}outFile .DLL\
`
48937 outFile=\`basnam
${D}outFile .o\
`
48940 outFile=\`basnam
${D}outFile .obj\
`
48943 outFile=\`basnam
${D}outFile .a\
`
48946 outFile=\`basnam
${D}outFile .lib\
`
48951 case ${D}outimpFile in
48953 outimpFile=\`basnam
${D}outimpFile .a\
`
48956 outimpFile=\`basnam
${D}outimpFile .lib\
`
48961 if [ -z ${D}outimpFile ]; then
48962 outimpFile=${D}outFile
48964 defFile="${D}{outFile}.def"
48965 arcFile="${D}{outimpFile}.a"
48966 arcFile2="${D}{outimpFile}.lib"
48968 #create ${D}dllFile as something matching 8.3 restrictions,
48969 if [ -z ${D}renameScript ] ; then
48970 dllFile="${D}outFile"
48972 dllFile=\`${D}renameScript
${D}outimpFile\
`
48975 if [ ${D}do_backup -ne 0 ] ; then
48976 if [ -f ${D}arcFile ] ; then
48977 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48979 if [ -f ${D}arcFile2 ] ; then
48980 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48984 # Extract public symbols from all the object files.
48985 tmpdefFile=${D}{defFile}_%
48986 rm -f ${D}tmpdefFile
48987 for file in ${D}inputFiles ; do
48992 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48997 # Create the def file.
48999 echo "LIBRARY \`basnam
${D}dllFile\
` ${D}library_flags" >> ${D}defFile
49000 dllFile="${D}{dllFile}.dll"
49001 if [ ! -z ${D}description ]; then
49002 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49004 echo "EXPORTS" >> ${D}defFile
49006 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49007 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49009 # Checks if the export is ok or not.
49010 for word in ${D}exclude_symbols; do
49011 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49012 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49016 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49017 sed "=" < ${D}tmpdefFile | \\
49021 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49023 ' > ${D}{tmpdefFile}%
49024 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49026 rm -f ${D}{tmpdefFile}%
49028 cat ${D}tmpdefFile >> ${D}defFile
49029 rm -f ${D}tmpdefFile
49031 # Do linking, create implib, and apply lxlite.
49033 for file in ${D}inputFiles ; do
49038 gccCmdl="${D}gccCmdl ${D}file"
49042 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49043 touch "${D}{outFile}.dll"
49045 doCommand "emximp -o ${D}arcFile ${D}defFile"
49046 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49048 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49051 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49053 doCommand "emxomf -s -l ${D}arcFile"
49063 powerpc-apple-macos* | \
49064 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49074 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49075 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49076 { (exit 1); exit 1; }; }
49079 if test "x$PIC_FLAG" != "x" ; then
49080 PIC_FLAG="$PIC_FLAG -DPIC"
49083 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49084 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49086 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49087 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49106 case "${BAKEFILE_HOST}" in
49107 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49108 *-*-k*bsd*-gnu | *-*-mirbsd* )
49109 if test "x$SUNCXX" = "xyes"; then
49112 SONAME_FLAG="-Wl,-soname,"
49147 # Check whether --enable-dependency-tracking was given.
49148 if test "${enable_dependency_tracking+set}" = set; then
49149 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49153 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49154 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49157 if test "x$bk_use_trackdeps" = "xno" ; then
49159 { echo "$as_me:$LINENO: result: disabled" >&5
49160 echo "${ECHO_T}disabled" >&6; }
49164 if test "x$GCC" = "xyes"; then
49166 case "${BAKEFILE_HOST}" in
49168 DEPSFLAG="-no-cpp-precomp -MMD"
49174 { echo "$as_me:$LINENO: result: gcc" >&5
49175 echo "${ECHO_T}gcc" >&6; }
49176 elif test "x$MWCC" = "xyes"; then
49179 { echo "$as_me:$LINENO: result: mwcc" >&5
49180 echo "${ECHO_T}mwcc" >&6; }
49181 elif test "x$SUNCC" = "xyes"; then
49184 { echo "$as_me:$LINENO: result: Sun cc" >&5
49185 echo "${ECHO_T}Sun cc" >&6; }
49186 elif test "x$SGICC" = "xyes"; then
49189 { echo "$as_me:$LINENO: result: SGI cc" >&5
49190 echo "${ECHO_T}SGI cc" >&6; }
49191 elif test "x$HPCC" = "xyes"; then
49194 { echo "$as_me:$LINENO: result: HP cc" >&5
49195 echo "${ECHO_T}HP cc" >&6; }
49196 elif test "x$COMPAQCC" = "xyes"; then
49199 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49200 echo "${ECHO_T}Compaq cc" >&6; }
49203 { echo "$as_me:$LINENO: result: none" >&5
49204 echo "${ECHO_T}none" >&6; }
49207 if test $DEPS_TRACKING = 1 ; then
49213 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49214 # script. It is used to track C/C++ files dependencies in portable way.
49216 # Permission is given to use this file in any way.
49218 DEPSMODE=${DEPSMODE}
49219 DEPSFLAG="${DEPSFLAG}"
49222 if test ${D}DEPSMODE = gcc ; then
49223 ${D}* ${D}{DEPSFLAG}
49226 # determine location of created files:
49227 while test ${D}# -gt 0; do
49241 objfilebase=\`basename ${D}objfile\
`
49242 builddir=\`dirname ${D}objfile\
`
49243 depfile=\`basename ${D}srcfile
| sed -e 's/\\..*${D}/.d/g'\
`
49244 depobjname=\`echo ${D}depfile
|sed -e 's/\\.d/.o/g'\
`
49245 depsdir=${D}builddir/${D}DEPSDIRBASE
49246 mkdir -p ${D}depsdir
49248 # if the compiler failed, we're done:
49249 if test ${D}{status} != 0 ; then
49254 # move created file to the location we want it in:
49255 if test -f ${D}depfile ; then
49256 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49259 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49260 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\
`
49261 if test ! -f ${D}depfile ; then
49262 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49263 depfile="${D}objfile.d"
49265 if test -f ${D}depfile ; then
49266 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49272 elif test ${D}DEPSMODE = mwcc ; then
49273 ${D}* || exit ${D}?
49274 # Run mwcc again with -MM and redirect into the dep file we want
49275 # NOTE: We can't use shift here because we need ${D}* to be valid
49277 for arg in ${D}* ; do
49278 if test "${D}prevarg" = "-o"; then
49292 objfilebase=\`basename ${D}objfile\
`
49293 builddir=\`dirname ${D}objfile\
`
49294 depsdir=${D}builddir/${D}DEPSDIRBASE
49295 mkdir -p ${D}depsdir
49297 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49300 elif test ${D}DEPSMODE = unixcc; then
49301 ${D}* || exit ${D}?
49302 # Run compiler again with deps flag and redirect into the dep file.
49303 # It doesn't work if the '-o FILE' option is used, but without it the
49304 # dependency file will contain the wrong name for the object. So it is
49305 # removed from the command line, and the dep file is fixed with sed.
49307 while test ${D}# -gt 0; do
49314 eval arg${D}#=\\${D}1
49315 cmd="${D}cmd \\${D}arg${D}#"
49321 objfilebase=\`basename ${D}objfile\
`
49322 builddir=\`dirname ${D}objfile\
`
49323 depsdir=${D}builddir/${D}DEPSDIRBASE
49324 mkdir -p ${D}depsdir
49326 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49336 BK_DEPS="`pwd`/bk-deps"
49344 case ${BAKEFILE_HOST} in
49345 *-*-cygwin* | *-*-mingw32* )
49346 if test -n "$ac_tool_prefix"; then
49347 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49348 set dummy ${ac_tool_prefix}windres; ac_word=$2
49349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49351 if test "${ac_cv_prog_WINDRES+set}" = set; then
49352 echo $ECHO_N "(cached) $ECHO_C" >&6
49354 if test -n "$WINDRES"; then
49355 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49358 for as_dir in $PATH
49361 test -z "$as_dir" && as_dir=.
49362 for ac_exec_ext in '' $ac_executable_extensions; do
49363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49364 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49374 WINDRES=$ac_cv_prog_WINDRES
49375 if test -n "$WINDRES"; then
49376 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49377 echo "${ECHO_T}$WINDRES" >&6; }
49379 { echo "$as_me:$LINENO: result: no" >&5
49380 echo "${ECHO_T}no" >&6; }
49385 if test -z "$ac_cv_prog_WINDRES"; then
49386 ac_ct_WINDRES=$WINDRES
49387 # Extract the first word of "windres", so it can be a program name with args.
49388 set dummy windres; ac_word=$2
49389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49391 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49392 echo $ECHO_N "(cached) $ECHO_C" >&6
49394 if test -n "$ac_ct_WINDRES"; then
49395 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49398 for as_dir in $PATH
49401 test -z "$as_dir" && as_dir=.
49402 for ac_exec_ext in '' $ac_executable_extensions; do
49403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49404 ac_cv_prog_ac_ct_WINDRES="windres"
49405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49414 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49415 if test -n "$ac_ct_WINDRES"; then
49416 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49417 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49419 { echo "$as_me:$LINENO: result: no" >&5
49420 echo "${ECHO_T}no" >&6; }
49423 if test "x$ac_ct_WINDRES" = x; then
49426 case $cross_compiling:$ac_tool_warned in
49428 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49429 whose name does not start with the host triplet. If you think this
49430 configuration is useful to you, please write to autoconf@gnu.org." >&5
49431 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49432 whose name does not start with the host triplet. If you think this
49433 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49434 ac_tool_warned=yes ;;
49436 WINDRES=$ac_ct_WINDRES
49439 WINDRES="$ac_cv_prog_WINDRES"
49444 *-*-darwin* | powerpc-apple-macos* )
49445 # Extract the first word of "Rez", so it can be a program name with args.
49446 set dummy Rez; ac_word=$2
49447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49449 if test "${ac_cv_prog_REZ+set}" = set; then
49450 echo $ECHO_N "(cached) $ECHO_C" >&6
49452 if test -n "$REZ"; then
49453 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49456 for as_dir in $PATH
49459 test -z "$as_dir" && as_dir=.
49460 for ac_exec_ext in '' $ac_executable_extensions; do
49461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49462 ac_cv_prog_REZ="Rez"
49463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49470 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49473 REZ=$ac_cv_prog_REZ
49474 if test -n "$REZ"; then
49475 { echo "$as_me:$LINENO: result: $REZ" >&5
49476 echo "${ECHO_T}$REZ" >&6; }
49478 { echo "$as_me:$LINENO: result: no" >&5
49479 echo "${ECHO_T}no" >&6; }
49483 # Extract the first word of "SetFile", so it can be a program name with args.
49484 set dummy SetFile; ac_word=$2
49485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49487 if test "${ac_cv_prog_SETFILE+set}" = set; then
49488 echo $ECHO_N "(cached) $ECHO_C" >&6
49490 if test -n "$SETFILE"; then
49491 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49494 for as_dir in $PATH
49497 test -z "$as_dir" && as_dir=.
49498 for ac_exec_ext in '' $ac_executable_extensions; do
49499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49500 ac_cv_prog_SETFILE="SetFile"
49501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49508 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49511 SETFILE=$ac_cv_prog_SETFILE
49512 if test -n "$SETFILE"; then
49513 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49514 echo "${ECHO_T}$SETFILE" >&6; }
49516 { echo "$as_me:$LINENO: result: no" >&5
49517 echo "${ECHO_T}no" >&6; }
49532 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49535 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49539 # Check whether --enable-precomp-headers was given.
49540 if test "${enable_precomp_headers+set}" = set; then
49541 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49550 case ${BAKEFILE_HOST} in
49556 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49557 if test "x$GCC" = "xyes"; then
49558 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49559 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49560 cat >conftest.$ac_ext <<_ACEOF
49563 cat confdefs.h >>conftest.$ac_ext
49564 cat >>conftest.$ac_ext <<_ACEOF
49565 /* end confdefs.h. */
49571 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49572 There is no PCH support
49575 There is no PCH support
49577 #if (__GNUC__ == 3) && \
49578 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49579 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49580 ( defined(__INTEL_COMPILER) )
49581 There is no PCH support
49588 rm -f conftest.$ac_objext
49589 if { (ac_try="$ac_compile"
49590 case "(($ac_try" in
49591 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49592 *) ac_try_echo
=$ac_try;;
49594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49595 (eval "$ac_compile") 2>conftest.er1
49597 grep -v '^ *+' conftest.er1
>conftest.err
49599 cat conftest.err
>&5
49600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49601 (exit $ac_status); } && {
49602 test -z "$ac_c_werror_flag" ||
49603 test ! -s conftest.err
49604 } && test -s conftest.
$ac_objext; then
49606 { echo "$as_me:$LINENO: result: yes" >&5
49607 echo "${ECHO_T}yes" >&6; }
49611 echo "$as_me: failed program was:" >&5
49612 sed 's/^/| /' conftest.
$ac_ext >&5
49615 if test "$INTELCXX8" = "yes"; then
49616 { echo "$as_me:$LINENO: result: yes" >&5
49617 echo "${ECHO_T}yes" >&6; }
49619 if test "$INTELCXX10" = "yes"; then
49620 ICC_PCH_CREATE_SWITCH
="-pch-create"
49621 ICC_PCH_USE_SWITCH
="-pch-use"
49623 ICC_PCH_CREATE_SWITCH
="-create-pch"
49624 ICC_PCH_USE_SWITCH
="-use-pch"
49627 { echo "$as_me:$LINENO: result: no" >&5
49628 echo "${ECHO_T}no" >&6; }
49633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49634 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49638 cat <<EOF >bk-make-pch
49641 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49642 # script. It is used to generated precompiled headers.
49644 # Permission is given to use this file in any way.
49651 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49656 while test ${D}{#} -gt 0; do
49660 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49661 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49662 headerfile="${D}{incdir}/${D}{header}"
49665 -use-pch|-use_pch|-pch-use )
49670 if test ${D}add_to_cmdline = 1 ; then
49671 compiler="${D}{compiler} ${D}{1}"
49676 if test "x${D}{headerfile}" = "x" ; then
49677 echo "error: can't find header ${D}{header} in include paths" >&2
49679 if test -f ${D}{outfile} ; then
49680 rm -f ${D}{outfile}
49682 mkdir -p \`dirname ${D}{outfile}\`
49684 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49685 mkdir -p ${D}{builddir}/.deps
49686 if test "x${GCC_PCH}" = "x1" ; then
49687 # can do this because gcc is >= 3.4:
49688 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49689 elif test "x${ICC_PCH}" = "x1" ; then
49690 filename=pch_gen-${D}${D}
49691 file=${D}{filename}.c
49692 dfile=${D}{filename}.d
49693 cat > ${D}file <<EOT
49694 #include "${D}header"
49696 # using -MF icc complains about differing command lines in creation/use
49697 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49698 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49699 rm -f ${D}file ${D}dfile ${D}{filename}.o
49705 chmod +x bk
-make-pch
49706 BK_MAKE_PCH
="`pwd`/bk-make-pch"
49717 COND_BUILD_DEBUG
="#"
49718 if test "x$BUILD" = "xdebug" ; then
49719 COND_BUILD_DEBUG
=""
49722 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
="#"
49723 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49724 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
=""
49727 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
="#"
49728 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49729 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
=""
49732 COND_BUILD_DEBUG_UNICODE_0
="#"
49733 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49734 COND_BUILD_DEBUG_UNICODE_0
=""
49737 COND_BUILD_DEBUG_UNICODE_1
="#"
49738 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49739 COND_BUILD_DEBUG_UNICODE_1
=""
49742 COND_BUILD_RELEASE
="#"
49743 if test "x$BUILD" = "xrelease" ; then
49744 COND_BUILD_RELEASE
=""
49747 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
="#"
49748 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49749 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
=""
49752 COND_BUILD_RELEASE_UNICODE_0
="#"
49753 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49754 COND_BUILD_RELEASE_UNICODE_0
=""
49757 COND_BUILD_RELEASE_UNICODE_1
="#"
49758 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49759 COND_BUILD_RELEASE_UNICODE_1
=""
49762 COND_BUILD_debug
="#"
49763 if test "x$BUILD" = "xdebug" ; then
49764 COND_BUILD_debug
=""
49767 COND_BUILD_debug_DEBUG_FLAG_default
="#"
49768 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49769 COND_BUILD_debug_DEBUG_FLAG_default
=""
49772 COND_BUILD_debug_DEBUG_INFO_default
="#"
49773 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49774 COND_BUILD_debug_DEBUG_INFO_default
=""
49777 COND_BUILD_debug_UNICODE_0
="#"
49778 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49779 COND_BUILD_debug_UNICODE_0
=""
49782 COND_BUILD_debug_UNICODE_1
="#"
49783 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49784 COND_BUILD_debug_UNICODE_1
=""
49787 COND_BUILD_release
="#"
49788 if test "x$BUILD" = "xrelease" ; then
49789 COND_BUILD_release
=""
49792 COND_BUILD_release_DEBUG_INFO_default
="#"
49793 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49794 COND_BUILD_release_DEBUG_INFO_default
=""
49797 COND_BUILD_release_UNICODE_0
="#"
49798 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49799 COND_BUILD_release_UNICODE_0
=""
49802 COND_BUILD_release_UNICODE_1
="#"
49803 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49804 COND_BUILD_release_UNICODE_1
=""
49807 COND_DEBUG_FLAG_1
="#"
49808 if test "x$DEBUG_FLAG" = "x1" ; then
49809 COND_DEBUG_FLAG_1
=""
49812 COND_DEBUG_INFO_0
="#"
49813 if test "x$DEBUG_INFO" = "x0" ; then
49814 COND_DEBUG_INFO_0
=""
49817 COND_DEBUG_INFO_1
="#"
49818 if test "x$DEBUG_INFO" = "x1" ; then
49819 COND_DEBUG_INFO_1
=""
49822 COND_DEPS_TRACKING_0
="#"
49823 if test "x$DEPS_TRACKING" = "x0" ; then
49824 COND_DEPS_TRACKING_0
=""
49827 COND_DEPS_TRACKING_1
="#"
49828 if test "x$DEPS_TRACKING" = "x1" ; then
49829 COND_DEPS_TRACKING_1
=""
49833 if test "x$GCC_PCH" = "x1" ; then
49838 if test "x$ICC_PCH" = "x1" ; then
49842 COND_MONOLITHIC_0
="#"
49843 if test "x$MONOLITHIC" = "x0" ; then
49844 COND_MONOLITHIC_0
=""
49847 COND_MONOLITHIC_0_SHARED_0
="#"
49848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49849 COND_MONOLITHIC_0_SHARED_0
=""
49852 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
49853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49854 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
49857 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
49858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49859 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
49862 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
49863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
49867 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
49868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49869 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
49872 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
49873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49874 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
49877 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
49878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49879 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
49882 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
49883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49884 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
49887 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
49888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49889 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
49892 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
49893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49894 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
49897 COND_MONOLITHIC_0_SHARED_1
="#"
49898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49899 COND_MONOLITHIC_0_SHARED_1
=""
49902 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
49903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49904 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
49907 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
49908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49909 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
49912 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
49913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49914 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
49917 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
49918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49919 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
49922 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
49923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49924 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
49927 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
49928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49929 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
49932 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
49933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49934 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
49937 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
49938 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49939 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
49942 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
49943 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49944 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
49947 COND_MONOLITHIC_0_USE_AUI_1
="#"
49948 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49949 COND_MONOLITHIC_0_USE_AUI_1
=""
49952 COND_MONOLITHIC_0_USE_GUI_1
="#"
49953 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49954 COND_MONOLITHIC_0_USE_GUI_1
=""
49957 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
49958 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49959 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
49962 COND_MONOLITHIC_0_USE_HTML_1
="#"
49963 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49964 COND_MONOLITHIC_0_USE_HTML_1
=""
49967 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
49968 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49969 COND_MONOLITHIC_0_USE_MEDIA_1
=""
49972 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
49973 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49974 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
49977 COND_MONOLITHIC_0_USE_QA_1
="#"
49978 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49979 COND_MONOLITHIC_0_USE_QA_1
=""
49982 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
49983 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49984 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
49987 COND_MONOLITHIC_0_USE_STC_1
="#"
49988 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49989 COND_MONOLITHIC_0_USE_STC_1
=""
49992 COND_MONOLITHIC_0_USE_XRC_1
="#"
49993 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49994 COND_MONOLITHIC_0_USE_XRC_1
=""
49997 COND_MONOLITHIC_1
="#"
49998 if test "x$MONOLITHIC" = "x1" ; then
49999 COND_MONOLITHIC_1
=""
50002 COND_MONOLITHIC_1_SHARED_0
="#"
50003 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50004 COND_MONOLITHIC_1_SHARED_0
=""
50007 COND_MONOLITHIC_1_SHARED_1
="#"
50008 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50009 COND_MONOLITHIC_1_SHARED_1
=""
50012 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
50013 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50014 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
50017 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
50018 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50019 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
50022 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
50023 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50024 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
50027 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
50028 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50029 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
50032 COND_PLATFORM_MACOSX_1
="#"
50033 if test "x$PLATFORM_MACOSX" = "x1" ; then
50034 COND_PLATFORM_MACOSX_1
=""
50037 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
50038 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50039 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
50042 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50043 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50044 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50047 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50048 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50049 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50052 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50053 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50054 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50057 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50058 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50059 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50062 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
50063 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50064 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
50067 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
50068 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50069 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
50072 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
50073 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50074 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
50077 COND_PLATFORM_MACOS_1
="#"
50078 if test "x$PLATFORM_MACOS" = "x1" ; then
50079 COND_PLATFORM_MACOS_1
=""
50082 COND_PLATFORM_MAC_0
="#"
50083 if test "x$PLATFORM_MAC" = "x0" ; then
50084 COND_PLATFORM_MAC_0
=""
50087 COND_PLATFORM_MAC_1
="#"
50088 if test "x$PLATFORM_MAC" = "x1" ; then
50089 COND_PLATFORM_MAC_1
=""
50092 COND_PLATFORM_MSDOS_0
="#"
50093 if test "x$PLATFORM_MSDOS" = "x0" ; then
50094 COND_PLATFORM_MSDOS_0
=""
50097 COND_PLATFORM_MSDOS_1
="#"
50098 if test "x$PLATFORM_MSDOS" = "x1" ; then
50099 COND_PLATFORM_MSDOS_1
=""
50102 COND_PLATFORM_OS2_1
="#"
50103 if test "x$PLATFORM_OS2" = "x1" ; then
50104 COND_PLATFORM_OS2_1
=""
50107 COND_PLATFORM_UNIX_0
="#"
50108 if test "x$PLATFORM_UNIX" = "x0" ; then
50109 COND_PLATFORM_UNIX_0
=""
50112 COND_PLATFORM_UNIX_1
="#"
50113 if test "x$PLATFORM_UNIX" = "x1" ; then
50114 COND_PLATFORM_UNIX_1
=""
50117 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
="#"
50118 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50119 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
=""
50122 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
="#"
50123 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50124 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
=""
50127 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
50128 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50129 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
50132 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
50133 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50134 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
50137 COND_PLATFORM_WIN32_0
="#"
50138 if test "x$PLATFORM_WIN32" = "x0" ; then
50139 COND_PLATFORM_WIN32_0
=""
50142 COND_PLATFORM_WIN32_1
="#"
50143 if test "x$PLATFORM_WIN32" = "x1" ; then
50144 COND_PLATFORM_WIN32_1
=""
50148 if test "x$SHARED" = "x0" ; then
50152 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
50153 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50154 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
50157 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
50158 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50159 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
50162 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
50163 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50164 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
50167 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
50168 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50169 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
50172 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50173 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50174 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50177 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50178 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50179 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50182 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50183 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50184 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50187 COND_SHARED_0_USE_STC_1
="#"
50188 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50189 COND_SHARED_0_USE_STC_1
=""
50192 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
50193 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50194 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
50197 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
50198 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50199 COND_SHARED_0_wxUSE_REGEX_builtin
=""
50202 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
50203 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50204 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
50208 if test "x$SHARED" = "x1" ; then
50212 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
50213 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50214 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
50218 if test "x$TOOLKIT" = "x" ; then
50222 COND_TOOLKIT_COCOA
="#"
50223 if test "x$TOOLKIT" = "xCOCOA" ; then
50224 COND_TOOLKIT_COCOA
=""
50227 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
50228 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50229 COND_TOOLKIT_COCOA_USE_GUI_1
=""
50232 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
50233 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50234 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
50237 COND_TOOLKIT_DFB
="#"
50238 if test "x$TOOLKIT" = "xDFB" ; then
50239 COND_TOOLKIT_DFB
=""
50242 COND_TOOLKIT_DFB_USE_GUI_1
="#"
50243 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50244 COND_TOOLKIT_DFB_USE_GUI_1
=""
50247 COND_TOOLKIT_GTK
="#"
50248 if test "x$TOOLKIT" = "xGTK" ; then
50249 COND_TOOLKIT_GTK
=""
50252 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
50253 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50254 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
50257 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
50258 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50259 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
50262 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
50263 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50264 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
50267 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
50268 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50269 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
50272 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
50273 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50274 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
50277 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
50278 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50279 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
50282 COND_TOOLKIT_GTK_USE_GUI_1
="#"
50283 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50284 COND_TOOLKIT_GTK_USE_GUI_1
=""
50287 COND_TOOLKIT_MAC
="#"
50288 if test "x$TOOLKIT" = "xMAC" ; then
50289 COND_TOOLKIT_MAC
=""
50292 COND_TOOLKIT_MGL
="#"
50293 if test "x$TOOLKIT" = "xMGL" ; then
50294 COND_TOOLKIT_MGL
=""
50297 COND_TOOLKIT_MGL_USE_GUI_1
="#"
50298 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50299 COND_TOOLKIT_MGL_USE_GUI_1
=""
50302 COND_TOOLKIT_MOTIF
="#"
50303 if test "x$TOOLKIT" = "xMOTIF" ; then
50304 COND_TOOLKIT_MOTIF
=""
50307 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
50308 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50309 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
50312 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
50313 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50314 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
50317 COND_TOOLKIT_MSW
="#"
50318 if test "x$TOOLKIT" = "xMSW" ; then
50319 COND_TOOLKIT_MSW
=""
50322 COND_TOOLKIT_MSW_USE_GUI_1
="#"
50323 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50324 COND_TOOLKIT_MSW_USE_GUI_1
=""
50327 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
50328 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50329 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
50332 COND_TOOLKIT_MSW_WXUNIV_0
="#"
50333 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50334 COND_TOOLKIT_MSW_WXUNIV_0
=""
50337 COND_TOOLKIT_OSX_CARBON
="#"
50338 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50339 COND_TOOLKIT_OSX_CARBON
=""
50342 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
50343 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50344 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
50347 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
50348 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50349 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
50352 COND_TOOLKIT_OSX_COCOA
="#"
50353 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50354 COND_TOOLKIT_OSX_COCOA
=""
50357 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
50358 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50359 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
50362 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
50363 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50364 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
50367 COND_TOOLKIT_OSX_IPHONE
="#"
50368 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50369 COND_TOOLKIT_OSX_IPHONE
=""
50372 COND_TOOLKIT_PM
="#"
50373 if test "x$TOOLKIT" = "xPM" ; then
50377 COND_TOOLKIT_PM_USE_GUI_1
="#"
50378 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50379 COND_TOOLKIT_PM_USE_GUI_1
=""
50382 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
50383 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50384 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
50387 COND_TOOLKIT_WINCE
="#"
50388 if test "x$TOOLKIT" = "xWINCE" ; then
50389 COND_TOOLKIT_WINCE
=""
50392 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
50393 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50394 COND_TOOLKIT_WINCE_USE_GUI_1
=""
50397 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
50398 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50399 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
50402 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
50403 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50404 COND_TOOLKIT_WINCE_WXUNIV_0
=""
50407 COND_TOOLKIT_X11
="#"
50408 if test "x$TOOLKIT" = "xX11" ; then
50409 COND_TOOLKIT_X11
=""
50412 COND_TOOLKIT_X11_USE_GUI_1
="#"
50413 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50414 COND_TOOLKIT_X11_USE_GUI_1
=""
50418 if test "x$UNICODE" = "x1" ; then
50422 COND_USE_EXCEPTIONS_0
="#"
50423 if test "x$USE_EXCEPTIONS" = "x0" ; then
50424 COND_USE_EXCEPTIONS_0
=""
50427 COND_USE_EXCEPTIONS_1
="#"
50428 if test "x$USE_EXCEPTIONS" = "x1" ; then
50429 COND_USE_EXCEPTIONS_1
=""
50433 if test "x$USE_GUI" = "x0" ; then
50438 if test "x$USE_GUI" = "x1" ; then
50442 COND_USE_GUI_1_USE_OPENGL_1
="#"
50443 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50444 COND_USE_GUI_1_USE_OPENGL_1
=""
50447 COND_USE_GUI_1_WXUNIV_0
="#"
50448 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50449 COND_USE_GUI_1_WXUNIV_0
=""
50452 COND_USE_GUI_1_WXUNIV_1
="#"
50453 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50454 COND_USE_GUI_1_WXUNIV_1
=""
50457 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
="#"
50458 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50459 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
=""
50462 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
="#"
50463 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50464 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
=""
50467 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
="#"
50468 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50469 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
=""
50472 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
50473 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50474 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
50477 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
50478 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50479 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
50482 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
50483 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50484 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
50487 COND_USE_OPENGL_1
="#"
50488 if test "x$USE_OPENGL" = "x1" ; then
50489 COND_USE_OPENGL_1
=""
50493 if test "x$USE_PCH" = "x1" ; then
50497 COND_USE_PLUGINS_0
="#"
50498 if test "x$USE_PLUGINS" = "x0" ; then
50499 COND_USE_PLUGINS_0
=""
50502 COND_USE_RTTI_0
="#"
50503 if test "x$USE_RTTI" = "x0" ; then
50507 COND_USE_RTTI_1
="#"
50508 if test "x$USE_RTTI" = "x1" ; then
50512 COND_USE_SOSYMLINKS_1
="#"
50513 if test "x$USE_SOSYMLINKS" = "x1" ; then
50514 COND_USE_SOSYMLINKS_1
=""
50517 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
50518 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50519 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
50522 COND_USE_SOVERLINUX_1
="#"
50523 if test "x$USE_SOVERLINUX" = "x1" ; then
50524 COND_USE_SOVERLINUX_1
=""
50527 COND_USE_SOVERSION_0
="#"
50528 if test "x$USE_SOVERSION" = "x0" ; then
50529 COND_USE_SOVERSION_0
=""
50532 COND_USE_SOVERSOLARIS_1
="#"
50533 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50534 COND_USE_SOVERSOLARIS_1
=""
50538 if test "x$USE_STC" = "x1" ; then
50542 COND_USE_THREADS_0
="#"
50543 if test "x$USE_THREADS" = "x0" ; then
50544 COND_USE_THREADS_0
=""
50547 COND_USE_THREADS_1
="#"
50548 if test "x$USE_THREADS" = "x1" ; then
50549 COND_USE_THREADS_1
=""
50553 if test "x$USE_XRC" = "x1" ; then
50557 COND_WINDOWS_IMPLIB_1
="#"
50558 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50559 COND_WINDOWS_IMPLIB_1
=""
50562 COND_WITH_PLUGIN_SDL_1
="#"
50563 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50564 COND_WITH_PLUGIN_SDL_1
=""
50568 if test "x$WXUNIV" = "x0" ; then
50573 if test "x$WXUNIV" = "x1" ; then
50577 COND_WXUSE_EXPAT_BUILTIN
="#"
50578 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50579 COND_WXUSE_EXPAT_BUILTIN
=""
50582 COND_WXUSE_LIBJPEG_BUILTIN
="#"
50583 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50584 COND_WXUSE_LIBJPEG_BUILTIN
=""
50587 COND_WXUSE_LIBPNG_BUILTIN
="#"
50588 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50589 COND_WXUSE_LIBPNG_BUILTIN
=""
50592 COND_WXUSE_LIBTIFF_BUILTIN
="#"
50593 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50594 COND_WXUSE_LIBTIFF_BUILTIN
=""
50597 COND_WXUSE_REGEX_BUILTIN
="#"
50598 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50599 COND_WXUSE_REGEX_BUILTIN
=""
50602 COND_WXUSE_ZLIB_BUILTIN
="#"
50603 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50604 COND_WXUSE_ZLIB_BUILTIN
=""
50607 COND_wxUSE_EXPAT_builtin
="#"
50608 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50609 COND_wxUSE_EXPAT_builtin
=""
50612 COND_wxUSE_LIBJPEG_builtin
="#"
50613 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50614 COND_wxUSE_LIBJPEG_builtin
=""
50617 COND_wxUSE_LIBPNG_builtin
="#"
50618 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50619 COND_wxUSE_LIBPNG_builtin
=""
50622 COND_wxUSE_LIBTIFF_builtin
="#"
50623 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50624 COND_wxUSE_LIBTIFF_builtin
=""
50627 COND_wxUSE_REGEX_builtin
="#"
50628 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50629 COND_wxUSE_REGEX_builtin
=""
50632 COND_wxUSE_ZLIB_builtin
="#"
50633 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50634 COND_wxUSE_ZLIB_builtin
=""
50639 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50640 { { 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
50641 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;}
50642 { (exit 1); exit 1; }; }
50645 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50646 { { 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
50647 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;}
50648 { (exit 1); exit 1; }; }
50655 ?
:* ) # Drive letter, considered as absolute.
50658 INSTALL
=`pwd`/${INSTALL} ;;
50661 if test "$wxUSE_GUI" = "yes"; then
50663 if test "$wxUSE_MSW" = 1 ; then
50664 if test "x$WINDRES" = "x"; then
50665 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50666 echo "$as_me: error: Required windres program not found" >&2;}
50667 { (exit 1); exit 1; }; }
50673 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50674 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50675 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50677 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50679 # Extract the first word of "DeRez", so it can be a program name with args.
50680 set dummy DeRez
; ac_word
=$2
50681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50683 if test "${ac_cv_prog_DEREZ+set}" = set; then
50684 echo $ECHO_N "(cached) $ECHO_C" >&6
50686 if test -n "$DEREZ"; then
50687 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
50689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50690 for as_dir
in $PATH
50693 test -z "$as_dir" && as_dir
=.
50694 for ac_exec_ext
in '' $ac_executable_extensions; do
50695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50696 ac_cv_prog_DEREZ
="DeRez"
50697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50704 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
50707 DEREZ
=$ac_cv_prog_DEREZ
50708 if test -n "$DEREZ"; then
50709 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50710 echo "${ECHO_T}$DEREZ" >&6; }
50712 { echo "$as_me:$LINENO: result: no" >&5
50713 echo "${ECHO_T}no" >&6; }
50718 MACSETFILE
="\$(SETFILE)"
50720 if test "$wxUSE_OSX_CARBON" = 1; then
50721 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50723 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
50725 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50726 RESCOMP
="cat /dev/null \| $REZ"
50727 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50733 if test "$wxUSE_PM" = 1; then
50735 WXCONFIG_RESFLAGS
="-ep"
50737 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
50739 POSTLINK_COMMAND
="@true"
50746 if test $GCC_PCH = 1
50748 if test "$wx_cv_gcc_pch_bug" = yes; then
50749 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50750 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50751 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50752 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50753 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50754 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50757 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50758 # the headers that benefit from precompilation are mostly C++ headers.
50759 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
50760 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50761 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50765 if test "$wxUSE_MAC" = 1 ; then
50766 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50767 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
50773 if test "$wxUSE_SHARED" = "yes"; then
50775 *-pc-os2_emx | *-pc-os2-emx )
50776 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50777 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50778 cp -p ${srcdir}/src
/os
2/dllnames.sh .
50779 cp -p ${srcdir}/src
/os
2/dllar.sh .
50783 if test "$wxUSE_OMF" = "yes"; then
50785 *-pc-os2_emx | *-pc-os2-emx )
50786 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
50787 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50788 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
50793 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50798 if test "$GCC" = yes; then
50799 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//'`
50800 LIBS
=`echo $LIBS | sed 's/-mt//'`
50801 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50806 if test "x$SUNCXX" = xyes
; then
50807 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//'`
50808 LIBS
=`echo $LIBS | sed 's/-pthread//'`
50809 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50814 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
50815 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50816 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
50817 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50819 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50880 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50881 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50882 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50883 if { as_var
=ac_cv_prog_make_
${ac_make}_set
; eval "test \"\${$as_var+set}\" = set"; }; then
50884 echo $ECHO_N "(cached) $ECHO_C" >&6
50886 cat >conftest.
make <<\_ACEOF
50889 @
echo '@@@%%%=$(MAKE)=@@@%%%'
50891 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50892 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50893 *@@@
%%%=?
*=@@@
%%%*)
50894 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
50896 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
50898 rm -f conftest.
make
50900 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
50901 { echo "$as_me:$LINENO: result: yes" >&5
50902 echo "${ECHO_T}yes" >&6; }
50905 { echo "$as_me:$LINENO: result: no" >&5
50906 echo "${ECHO_T}no" >&6; }
50907 SET_MAKE
="MAKE=${MAKE-make}"
50912 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50915 if test "$USE_WIN32" = 1; then
50916 ac_config_commands
="$ac_config_commands
50922 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50925 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50928 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
50931 if test "$wx_cv_version_script" = "yes"; then
50932 ac_config_files
="$ac_config_files version-script"
50935 ac_config_files
="$ac_config_files Makefile"
50938 ac_config_commands
="$ac_config_commands wx-config"
50942 if test "$wxWITH_SUBDIRS" != "no"; then
50943 if test "$wxUSE_GUI" = "yes"; then
50944 SUBDIRS
="samples demos utils"
50946 SUBDIRS
="samples utils"
50951 # Check whether --with-cppunit-prefix was given.
50952 if test "${with_cppunit_prefix+set}" = set; then
50953 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
50955 cppunit_config_prefix
=""
50959 # Check whether --with-cppunit-exec-prefix was given.
50960 if test "${with_cppunit_exec_prefix+set}" = set; then
50961 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
50963 cppunit_config_exec_prefix
=""
50967 if test x
$cppunit_config_exec_prefix != x
; then
50968 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50969 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50970 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
50973 if test x
$cppunit_config_prefix != x
; then
50974 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
50975 if test x
${CPPUNIT_CONFIG+set} != xset
; then
50976 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
50980 # Extract the first word of "cppunit-config", so it can be a program name with args.
50981 set dummy cppunit
-config; ac_word
=$2
50982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50984 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50985 echo $ECHO_N "(cached) $ECHO_C" >&6
50987 case $CPPUNIT_CONFIG in
50989 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50993 for as_dir
in $PATH
50996 test -z "$as_dir" && as_dir
=.
50997 for ac_exec_ext
in '' $ac_executable_extensions; do
50998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50999 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
51000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51007 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
51011 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
51012 if test -n "$CPPUNIT_CONFIG"; then
51013 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51014 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51016 { echo "$as_me:$LINENO: result: no" >&5
51017 echo "${ECHO_T}no" >&6; }
51021 cppunit_version_min
=1.8.0
51023 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51024 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51026 if test "$CPPUNIT_CONFIG" = "no" ; then
51027 { echo "$as_me:$LINENO: result: no" >&5
51028 echo "${ECHO_T}no" >&6; }
51031 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
51032 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
51033 cppunit_version
=`$CPPUNIT_CONFIG --version`
51035 cppunit_major_version
=`echo $cppunit_version | \
51036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51037 cppunit_minor_version
=`echo $cppunit_version | \
51038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51039 cppunit_micro_version
=`echo $cppunit_version | \
51040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51042 cppunit_major_min
=`echo $cppunit_version_min | \
51043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51044 cppunit_minor_min
=`echo $cppunit_version_min | \
51045 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51046 cppunit_micro_min
=`echo $cppunit_version_min | \
51047 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51049 cppunit_version_proper
=`expr \
51050 $cppunit_major_version \> $cppunit_major_min \| \
51051 $cppunit_major_version \= $cppunit_major_min \& \
51052 $cppunit_minor_version \> $cppunit_minor_min \| \
51053 $cppunit_major_version \= $cppunit_major_min \& \
51054 $cppunit_minor_version \= $cppunit_minor_min \& \
51055 $cppunit_micro_version \>= $cppunit_micro_min `
51057 if test "$cppunit_version_proper" = "1" ; then
51058 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51059 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51061 { echo "$as_me:$LINENO: result: no" >&5
51062 echo "${ECHO_T}no" >&6; }
51067 if test "x$no_cppunit" = x
; then
51068 SUBDIRS
="$SUBDIRS tests"
51079 for subdir
in $SUBDIRS; do
51080 if test -d ${srcdir}/${subdir} ; then
51081 if test "$wxUSE_GUI" = "yes"; then
51082 if test ${subdir} = "samples"; then
51083 makefiles
="samples/Makefile.in $makefiles"
51084 for sample
in $SAMPLES_SUBDIRS; do
51085 if test -d $srcdir/samples
/$sample; then
51086 makefiles
="samples/$sample/Makefile.in $makefiles"
51090 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
51091 eval "disabled=\$$disabled_var"
51092 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
51093 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51096 if test ${subdir} = "samples"; then
51097 makefiles
="samples/Makefile.in $makefiles"
51098 for sample
in `echo $SAMPLES_SUBDIRS`; do
51099 if test -d $srcdir/samples
/$sample; then
51100 makefiles
="samples/$sample/Makefile.in $makefiles"
51103 elif test ${subdir} = "utils"; then
51105 for util
in ifacecheck
; do
51106 if test -d $srcdir/utils
/$util ; then
51107 makefiles
="utils/$util/src/Makefile.in \
51112 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
51116 for mkin
in $makefiles ; do
51117 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51118 ac_config_files
="$ac_config_files $mk"
51124 cat >confcache
<<\_ACEOF
51125 # This file is a shell script that caches the results of configure
51126 # tests run on this system so they can be shared between configure
51127 # scripts and configure runs, see configure's option --config-cache.
51128 # It is not useful on other systems. If it contains results you don't
51129 # want to keep, you may remove or edit it.
51131 # config.status only pays attention to the cache file if you give it
51132 # the --recheck option to rerun configure.
51134 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51135 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51136 # following values.
51140 # The following way of writing the cache mishandles newlines in values,
51141 # but we know of no workaround that is simple, portable, and efficient.
51142 # So, we kill variables containing newlines.
51143 # Ultrix sh set writes to stderr and can't be redirected directly,
51144 # and sets the high bit in the cache file unless we assign to the vars.
51146 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51147 eval ac_val
=\$
$ac_var
51151 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51152 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51155 _
| IFS
| as_nl
) ;; #(
51156 *) $as_unset $ac_var ;;
51162 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51163 *${as_nl}ac_space
=\
*)
51164 # `set' does not quote correctly, so add quotes (double-quote
51165 # substitution turns \\\\ into \\, and sed turns \\ into \).
51168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51171 # `set' quotes correctly as required by POSIX, so do not add quotes.
51172 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51181 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51183 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51185 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
51186 if test -w "$cache_file"; then
51187 test "x$cache_file" != "x/dev/null" &&
51188 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51189 echo "$as_me: updating cache $cache_file" >&6;}
51190 cat confcache
>$cache_file
51192 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51193 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51198 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
51199 # Let make expand exec_prefix.
51200 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
51202 DEFS
=-DHAVE_CONFIG_H
51206 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
51207 # 1. Remove the extension, and $U if already installed.
51208 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
51209 ac_i
=`echo "$ac_i" | sed "$ac_script"`
51210 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51211 # will be set to the directory where LIBOBJS objects are built.
51212 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51213 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51215 LIBOBJS
=$ac_libobjs
51217 LTLIBOBJS
=$ac_ltlibobjs
51221 : ${CONFIG_STATUS=./config.status}
51222 ac_clean_files_save
=$ac_clean_files
51223 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
51224 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51225 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51226 cat >$CONFIG_STATUS <<_ACEOF
51228 # Generated by $as_me.
51229 # Run this file to recreate the current configuration.
51230 # Compiler output produced by configure, useful for debugging
51231 # configure, is in config.log if it exists.
51234 ac_cs_recheck=false
51236 SHELL=\${CONFIG_SHELL-$SHELL}
51239 cat >>$CONFIG_STATUS <<\_ACEOF
51240 ## --------------------- ##
51241 ## M4sh Initialization. ##
51242 ## --------------------- ##
51244 # Be more Bourne compatible
51245 DUALCASE
=1; export DUALCASE
# for MKS sh
51246 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
51249 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51250 # is contrary to our usage. Disable this feature.
51251 alias -g '${1+"$@"}'='"$@"'
51252 setopt NO_GLOB_SUBST
51254 case `(set -o) 2>/dev/null` in
51255 *posix
*) set -o posix
;;
51264 # Avoid depending upon Character Ranges.
51265 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
51266 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51267 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
51268 as_cr_digits
='0123456789'
51269 as_cr_alnum
=$as_cr_Letters$as_cr_digits
51271 # The user is always right.
51272 if test "${PATH_SEPARATOR+set}" != set; then
51273 echo "#! /bin/sh" >conf$$.sh
51274 echo "exit 0" >>conf$$.sh
51276 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51284 # Support unset when possible.
51285 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
51293 # We need space, tab and new line, in precisely that order. Quoting is
51294 # there to prevent editors from complaining about space-tab.
51295 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51296 # splitting by setting IFS to empty value.)
51301 # Find who we are. Look in the path if we contain no directory separator.
51303 *[\\/]* ) as_myself
=$0 ;;
51304 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51305 for as_dir
in $PATH
51308 test -z "$as_dir" && as_dir
=.
51309 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
51315 # We did not find ourselves, most probably we were run as `sh COMMAND'
51316 # in which case we are not to be found in the path.
51317 if test "x$as_myself" = x
; then
51320 if test ! -f "$as_myself"; then
51321 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51322 { (exit 1); exit 1; }
51325 # Work around bugs in pre-3.0 UWIN ksh.
51326 for as_var
in ENV MAIL MAILPATH
51327 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51335 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51336 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51337 LC_TELEPHONE LC_TIME
51339 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51340 eval $as_var=C
; export $as_var
51342 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
51346 # Required to use basename.
51347 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51348 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51354 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51355 as_basename
=basename
51361 # Name of the executable.
51362 as_me
=`$as_basename -- "$0" ||
51363 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51364 X"$0" : 'X\(//\)$' \| \
51365 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51367 sed '/^.*\/\([^/][^/]*\)\/*$/{
51386 as_lineno_1
=$LINENO
51387 as_lineno_2
=$LINENO
51388 test "x$as_lineno_1" != "x$as_lineno_2" &&
51389 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51391 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51392 # uniformly replaced by the line number. The first 'sed' inserts a
51393 # line-number line after each line using $LINENO; the second 'sed'
51394 # does the real work. The second script uses 'N' to pair each
51395 # line-number line with the line containing $LINENO, and appends
51396 # trailing '-' during substitution so that $LINENO is not a special
51397 # case at line end.
51398 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51399 # scripts with optimization help from Paolo Bonzini. Blame Lee
51400 # E. McMahon (1931-1989) for sed's syntax. :-)
51412 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51415 ' >$as_me.lineno
&&
51416 chmod +x
"$as_me.lineno" ||
51417 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51418 { (exit 1); exit 1; }; }
51420 # Don't try to exec as it changes $[0], causing all sort of problems
51421 # (the dirname of $[0] is not the place where we might find the
51422 # original and so on. Autoconf is especially sensitive to this).
51423 .
"./$as_me.lineno"
51424 # Exit status is that of the last command.
51429 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
51435 ECHO_C
= ECHO_N
= ECHO_T
=
51436 case `echo -n x` in
51438 case `echo 'x\c'` in
51439 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
51446 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
51447 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
51453 rm -f conf$$ conf$$.exe conf$$.
file
51454 if test -d conf$$.dir
; then
51455 rm -f conf$$.dir
/conf$$.
file
51461 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
51463 # ... but there are two gotchas:
51464 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51465 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51466 # In both cases, we have to default to `cp -p'.
51467 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
51469 elif ln conf$$.
file conf$$
2>/dev
/null
; then
51474 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
51475 rmdir conf$$.dir
2>/dev
/null
51477 if mkdir -p .
2>/dev
/null
; then
51480 test -d .
/-p && rmdir .
/-p
51484 if test -x / >/dev
/null
2>&1; then
51485 as_test_x
='test -x'
51487 if ls -dL / >/dev
/null
2>&1; then
51494 if test -d "$1"; then
51500 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51501 ???[sx]*):;;*)false;;esac;fi
51505 as_executable_p
=$as_test_x
51507 # Sed expression to map a string onto a valid CPP name.
51508 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51510 # Sed expression to map a string onto a valid variable name.
51511 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51516 # Save the log message, to keep $[0] and so on meaningful, and to
51517 # report actual input values of CONFIG_FILES etc. instead of their
51518 # values after options handling.
51520 This file was extended by wxWidgets $as_me 2.9.0, which was
51521 generated by GNU Autoconf 2.61. Invocation command line was
51523 CONFIG_FILES = $CONFIG_FILES
51524 CONFIG_HEADERS = $CONFIG_HEADERS
51525 CONFIG_LINKS = $CONFIG_LINKS
51526 CONFIG_COMMANDS = $CONFIG_COMMANDS
51529 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51534 cat >>$CONFIG_STATUS <<_ACEOF
51535 # Files that config.status was made for.
51536 config_files="$ac_config_files"
51537 config_headers="$ac_config_headers"
51538 config_commands="$ac_config_commands"
51542 cat >>$CONFIG_STATUS <<\_ACEOF
51544 \`$as_me' instantiates files from templates according to the
51545 current configuration.
51547 Usage: $0 [OPTIONS] [FILE]...
51549 -h, --help print this help, then exit
51550 -V, --version print version number and configuration settings, then exit
51551 -q, --quiet do not print progress messages
51552 -d, --debug don't remove temporary files
51553 --recheck update $as_me by reconfiguring in the same conditions
51554 --file=FILE[:TEMPLATE]
51555 instantiate the configuration file FILE
51556 --header=FILE[:TEMPLATE]
51557 instantiate the configuration header FILE
51559 Configuration files:
51562 Configuration headers:
51565 Configuration commands:
51568 Report bugs to <bug-autoconf@gnu.org>."
51571 cat >>$CONFIG_STATUS <<_ACEOF
51573 wxWidgets config.status 2.9.0
51574 configured by $0, generated by GNU Autoconf 2.61,
51575 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51577 Copyright (C) 2006 Free Software Foundation, Inc.
51578 This config.status script is free software; the Free Software Foundation
51579 gives unlimited permission to copy, distribute and modify it."
51586 cat >>$CONFIG_STATUS <<\_ACEOF
51587 # If no file are specified by the user, then we need to provide default
51588 # value. By we need to know if files were specified by the user.
51594 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
51595 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
51606 # Handling of the options.
51607 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51609 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51610 echo "$ac_cs_version"; exit ;;
51611 --debug | --debu | --deb | --de | --d | -d )
51613 --file | --fil | --fi | --f )
51615 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
51616 ac_need_defaults
=false
;;
51617 --header | --heade | --head | --hea )
51619 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
51620 ac_need_defaults
=false
;;
51622 # Conflict between --help and --header
51623 { echo "$as_me: error: ambiguous option: $1
51624 Try \`$0 --help' for more information." >&2
51625 { (exit 1); exit 1; }; };;
51626 --help | --hel | -h )
51627 echo "$ac_cs_usage"; exit ;;
51628 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51629 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51632 # This is an error.
51633 -*) { echo "$as_me: error: unrecognized option: $1
51634 Try \`$0 --help' for more information." >&2
51635 { (exit 1); exit 1; }; } ;;
51637 *) ac_config_targets
="$ac_config_targets $1"
51638 ac_need_defaults
=false
;;
51644 ac_configure_extra_args
=
51646 if $ac_cs_silent; then
51648 ac_configure_extra_args
="$ac_configure_extra_args --silent"
51652 cat >>$CONFIG_STATUS <<_ACEOF
51653 if \$ac_cs_recheck; then
51654 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51655 CONFIG_SHELL=$SHELL
51656 export CONFIG_SHELL
51657 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51661 cat >>$CONFIG_STATUS <<\_ACEOF
51665 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51666 ## Running $as_me. ##
51672 cat >>$CONFIG_STATUS <<_ACEOF
51678 infile="$srcdir/include/wx/msw/genrcdefs.h"
51679 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51682 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51683 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51684 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51690 cat >>$CONFIG_STATUS <<\_ACEOF
51692 # Handling of arguments.
51693 for ac_config_target
in $ac_config_targets
51695 case $ac_config_target in
51696 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51697 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
51698 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51699 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51700 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51701 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
51702 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
51703 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
51704 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
51706 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51707 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51708 { (exit 1); exit 1; }; };;
51713 # If the user did not use the arguments to specify the items to instantiate,
51714 # then the envvar interface is used. Set only those that are not.
51715 # We use the long form for the default assignment because of an extremely
51716 # bizarre bug on SunOS 4.1.3.
51717 if $ac_need_defaults; then
51718 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
51719 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
51720 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
51723 # Have a temporary directory for convenience. Make it in the build tree
51724 # simply because there is no reason against having it here, and in addition,
51725 # creating and moving files from /tmp can sometimes cause problems.
51726 # Hook for its removal unless debugging.
51727 # Note that there is a small window in which the directory will not be cleaned:
51728 # after its creation but before its name has been assigned to `$tmp'.
51732 trap 'exit_status=$?
51733 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51735 trap '{ (exit 1); exit 1; }' 1 2 13 15
51737 # Create a (secure) tmp directory for tmp files.
51740 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51741 test -n "$tmp" && test -d "$tmp"
51744 tmp
=.
/conf$$
-$RANDOM
51745 (umask 077 && mkdir "$tmp")
51748 echo "$me: cannot create a temporary directory in ." >&2
51749 { (exit 1); exit 1; }
51753 # Set up the sed scripts for CONFIG_FILES section.
51756 # No need to generate the scripts if there are no CONFIG_FILES.
51757 # This happens for instance when ./config.status config.h
51758 if test -n "$CONFIG_FILES"; then
51765 for ac_last_try
in false false false false false
:; do
51766 cat >conf$
$subs.
sed <<_ACEOF
51767 SHELL!$SHELL$ac_delim
51768 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51769 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51770 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51771 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51772 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51773 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51774 exec_prefix!$exec_prefix$ac_delim
51775 prefix!$prefix$ac_delim
51776 program_transform_name!$program_transform_name$ac_delim
51777 bindir!$bindir$ac_delim
51778 sbindir!$sbindir$ac_delim
51779 libexecdir!$libexecdir$ac_delim
51780 datarootdir!$datarootdir$ac_delim
51781 datadir!$datadir$ac_delim
51782 sysconfdir!$sysconfdir$ac_delim
51783 sharedstatedir!$sharedstatedir$ac_delim
51784 localstatedir!$localstatedir$ac_delim
51785 includedir!$includedir$ac_delim
51786 oldincludedir!$oldincludedir$ac_delim
51787 docdir!$docdir$ac_delim
51788 infodir!$infodir$ac_delim
51789 htmldir!$htmldir$ac_delim
51790 dvidir!$dvidir$ac_delim
51791 pdfdir!$pdfdir$ac_delim
51792 psdir!$psdir$ac_delim
51793 libdir!$libdir$ac_delim
51794 localedir!$localedir$ac_delim
51795 mandir!$mandir$ac_delim
51796 DEFS!$DEFS$ac_delim
51797 ECHO_C!$ECHO_C$ac_delim
51798 ECHO_N!$ECHO_N$ac_delim
51799 ECHO_T!$ECHO_T$ac_delim
51800 LIBS!$LIBS$ac_delim
51801 build_alias!$build_alias$ac_delim
51802 host_alias!$host_alias$ac_delim
51803 target_alias!$target_alias$ac_delim
51804 build!$build$ac_delim
51805 build_cpu!$build_cpu$ac_delim
51806 build_vendor!$build_vendor$ac_delim
51807 build_os!$build_os$ac_delim
51808 host!$host$ac_delim
51809 host_cpu!$host_cpu$ac_delim
51810 host_vendor!$host_vendor$ac_delim
51811 host_os!$host_os$ac_delim
51812 target!$target$ac_delim
51813 target_cpu!$target_cpu$ac_delim
51814 target_vendor!$target_vendor$ac_delim
51815 target_os!$target_os$ac_delim
51816 wx_top_builddir!$wx_top_builddir$ac_delim
51818 CFLAGS!$CFLAGS$ac_delim
51819 LDFLAGS!$LDFLAGS$ac_delim
51820 CPPFLAGS!$CPPFLAGS$ac_delim
51821 ac_ct_CC!$ac_ct_CC$ac_delim
51822 EXEEXT!$EXEEXT$ac_delim
51823 OBJEXT!$OBJEXT$ac_delim
51825 GREP!$GREP$ac_delim
51826 EGREP!$EGREP$ac_delim
51828 CXXFLAGS!$CXXFLAGS$ac_delim
51829 ac_ct_CXX!$ac_ct_CXX$ac_delim
51831 subdirs!$subdirs$ac_delim
51832 PKG_CONFIG!$PKG_CONFIG$ac_delim
51833 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51834 GTK_LIBS!$GTK_LIBS$ac_delim
51835 GTK_CONFIG!$GTK_CONFIG$ac_delim
51836 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51837 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51838 XMKMF!$XMKMF$ac_delim
51839 X_CFLAGS!$X_CFLAGS$ac_delim
51840 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51841 X_LIBS!$X_LIBS$ac_delim
51842 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51843 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51844 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51845 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51846 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51847 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51848 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51849 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51850 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51851 LIBICONV!$LIBICONV$ac_delim
51852 GXX_VERSION!$GXX_VERSION$ac_delim
51853 SDL_CONFIG!$SDL_CONFIG$ac_delim
51854 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51855 SDL_LIBS!$SDL_LIBS$ac_delim
51856 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51857 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51858 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51859 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51860 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51861 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51862 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51863 HILDON_LIBS!$HILDON_LIBS$ac_delim
51866 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51868 elif $ac_last_try; then
51869 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51870 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51871 { (exit 1); exit 1; }; }
51873 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
51877 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51878 if test -n "$ac_eof"; then
51879 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
51880 ac_eof
=`expr $ac_eof + 1`
51883 cat >>$CONFIG_STATUS <<_ACEOF
51884 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51885 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51888 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51889 s/^/s,@/; s/!/@,|#_!!_#|/
51892 s/'"$ac_delim"'$/,g/; t
51894 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51895 ' >>$CONFIG_STATUS <conf$
$subs.
sed
51896 rm -f conf$
$subs.
sed
51897 cat >>$CONFIG_STATUS <<_ACEOF
51903 for ac_last_try
in false false false false false
:; do
51904 cat >conf$
$subs.
sed <<_ACEOF
51905 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51906 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51907 GST_CFLAGS!$GST_CFLAGS$ac_delim
51908 GST_LIBS!$GST_LIBS$ac_delim
51909 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51910 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51911 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51912 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51913 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51914 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51915 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51916 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51917 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51918 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51919 VENDOR!$VENDOR$ac_delim
51920 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51921 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51922 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51923 WXUNIV!$WXUNIV$ac_delim
51924 MONOLITHIC!$MONOLITHIC$ac_delim
51925 USE_PLUGINS!$USE_PLUGINS$ac_delim
51926 CXXWARNINGS!$CXXWARNINGS$ac_delim
51927 EXTRALIBS!$EXTRALIBS$ac_delim
51928 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51929 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51930 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51931 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51932 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51933 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51934 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51935 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51936 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51937 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51938 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51939 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51940 UNICODE!$UNICODE$ac_delim
51941 BUILD!$BUILD$ac_delim
51942 DEBUG_INFO!$DEBUG_INFO$ac_delim
51943 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51944 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51945 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51946 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51947 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51948 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51949 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51950 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51951 RANLIB!$RANLIB$ac_delim
51952 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51953 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51954 INSTALL_DATA!$INSTALL_DATA$ac_delim
51955 LN_S!$LN_S$ac_delim
51956 SET_MAKE!$SET_MAKE$ac_delim
51957 MAKE_SET!$MAKE_SET$ac_delim
51958 AROPTIONS!$AROPTIONS$ac_delim
51959 STRIP!$STRIP$ac_delim
51961 INSTALL_DIR!$INSTALL_DIR$ac_delim
51962 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51963 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51964 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51965 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51966 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51967 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51968 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51969 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51970 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51971 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51972 SO_SUFFIX!$SO_SUFFIX$ac_delim
51973 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51974 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51975 LIBPREFIX!$LIBPREFIX$ac_delim
51976 LIBEXT!$LIBEXT$ac_delim
51977 DLLPREFIX!$DLLPREFIX$ac_delim
51978 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51979 dlldir!$dlldir$ac_delim
51980 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51981 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51982 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51983 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51984 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51985 PIC_FLAG!$PIC_FLAG$ac_delim
51986 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51987 USE_SOVERSION!$USE_SOVERSION$ac_delim
51988 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51989 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51990 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51991 USE_MACVERSION!$USE_MACVERSION$ac_delim
51992 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51993 SONAME_FLAG!$SONAME_FLAG$ac_delim
51994 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51995 BK_DEPS!$BK_DEPS$ac_delim
51996 WINDRES!$WINDRES$ac_delim
51998 SETFILE!$SETFILE$ac_delim
51999 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52000 GCC_PCH!$GCC_PCH$ac_delim
52001 ICC_PCH!$ICC_PCH$ac_delim
52004 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52006 elif $ac_last_try; then
52007 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52008 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52009 { (exit 1); exit 1; }; }
52011 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52015 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52016 if test -n "$ac_eof"; then
52017 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52018 ac_eof
=`expr $ac_eof + 1`
52021 cat >>$CONFIG_STATUS <<_ACEOF
52022 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52023 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52026 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52027 s/^/s,@/; s/!/@,|#_!!_#|/
52030 s/'"$ac_delim"'$/,g/; t
52032 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52033 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52034 rm -f conf$
$subs.
sed
52035 cat >>$CONFIG_STATUS <<_ACEOF
52041 for ac_last_try
in false false false false false
:; do
52042 cat >conf$
$subs.
sed <<_ACEOF
52043 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52044 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52045 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52046 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52047 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52048 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52049 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52050 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52051 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52052 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52053 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52054 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52055 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52056 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52057 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52058 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52059 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52060 COND_BUILD_release!$COND_BUILD_release$ac_delim
52061 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52062 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52063 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52064 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52065 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52066 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52067 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52068 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52069 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52070 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52071 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52072 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52073 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52074 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52075 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52076 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52077 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52078 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52079 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52080 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52081 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52082 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52083 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52084 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52085 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52086 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52087 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52088 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52089 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52090 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52091 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52092 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52093 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52094 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52095 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52096 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52097 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52098 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52099 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52100 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52101 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52102 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52103 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52104 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52105 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52106 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52107 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52108 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52109 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52110 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52111 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52112 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
52113 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52114 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
52115 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52116 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52117 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52118 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52119 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52120 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52121 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52122 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52123 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52124 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52125 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52126 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52127 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52128 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52129 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52130 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52131 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52132 COND_SHARED_0!$COND_SHARED_0$ac_delim
52133 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52134 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52135 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52136 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52137 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52138 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52139 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52142 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52144 elif $ac_last_try; then
52145 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52146 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52147 { (exit 1); exit 1; }; }
52149 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52153 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52154 if test -n "$ac_eof"; then
52155 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52156 ac_eof
=`expr $ac_eof + 1`
52159 cat >>$CONFIG_STATUS <<_ACEOF
52160 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52161 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52164 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52165 s/^/s,@/; s/!/@,|#_!!_#|/
52168 s/'"$ac_delim"'$/,g/; t
52170 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52171 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52172 rm -f conf$
$subs.
sed
52173 cat >>$CONFIG_STATUS <<_ACEOF
52179 for ac_last_try
in false false false false false
:; do
52180 cat >conf$
$subs.
sed <<_ACEOF
52181 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52182 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52183 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52184 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52185 COND_SHARED_1!$COND_SHARED_1$ac_delim
52186 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52187 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52188 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52189 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52190 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52191 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52192 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52193 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52194 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52195 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52196 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52197 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52198 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52199 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52200 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52201 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52202 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52203 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52204 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52205 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52206 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52207 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52208 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52209 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52210 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52211 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52212 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52213 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52214 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52215 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52216 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52217 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52218 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52219 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52220 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52221 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52222 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52223 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52224 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52225 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52226 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52227 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52228 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52229 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52230 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52231 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52232 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52233 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52234 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52235 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52236 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52237 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52238 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52239 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52240 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52241 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52242 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52243 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52244 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52245 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52246 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52247 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52248 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52249 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52250 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52251 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52252 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52253 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52254 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52255 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52256 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52257 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52258 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52259 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52260 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52261 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52262 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52263 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52264 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52265 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52266 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52267 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52268 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52269 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52270 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52271 DEREZ!$DEREZ$ac_delim
52272 SHARED!$SHARED$ac_delim
52273 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52274 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52275 USE_GUI!$USE_GUI$ac_delim
52276 AFMINSTALL!$AFMINSTALL$ac_delim
52277 WIN32INSTALL!$WIN32INSTALL$ac_delim
52280 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52282 elif $ac_last_try; then
52283 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52284 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52285 { (exit 1); exit 1; }; }
52287 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52291 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52292 if test -n "$ac_eof"; then
52293 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52294 ac_eof
=`expr $ac_eof + 1`
52297 cat >>$CONFIG_STATUS <<_ACEOF
52298 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52299 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52302 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52303 s/^/s,@/; s/!/@,|#_!!_#|/
52306 s/'"$ac_delim"'$/,g/; t
52308 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52309 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52310 rm -f conf$
$subs.
sed
52311 cat >>$CONFIG_STATUS <<_ACEOF
52317 for ac_last_try
in false false false false false
:; do
52318 cat >conf$
$subs.
sed <<_ACEOF
52319 TOOLKIT!$TOOLKIT$ac_delim
52320 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52321 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52322 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52323 cross_compiling!$cross_compiling$ac_delim
52324 WIDGET_SET!$WIDGET_SET$ac_delim
52325 WX_RELEASE!$WX_RELEASE$ac_delim
52326 WX_VERSION!$WX_VERSION$ac_delim
52327 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52328 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52329 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52330 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52331 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52332 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52333 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52334 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52335 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52336 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52337 GUIDIST!$GUIDIST$ac_delim
52338 DISTDIR!$DISTDIR$ac_delim
52339 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52340 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52341 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52342 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52343 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52344 RESCOMP!$RESCOMP$ac_delim
52345 RESFLAGS!$RESFLAGS$ac_delim
52346 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52347 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52348 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52349 LIBWXMACRES!$LIBWXMACRES$ac_delim
52350 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52351 MACSETFILE!$MACSETFILE$ac_delim
52353 DLLTOOL!$DLLTOOL$ac_delim
52354 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52355 LIBOBJS!$LIBOBJS$ac_delim
52356 LTLIBOBJS!$LTLIBOBJS$ac_delim
52359 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 38; then
52361 elif $ac_last_try; then
52362 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52363 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52364 { (exit 1); exit 1; }; }
52366 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
52370 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52371 if test -n "$ac_eof"; then
52372 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
52373 ac_eof
=`expr $ac_eof + 1`
52376 cat >>$CONFIG_STATUS <<_ACEOF
52377 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52378 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52381 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52382 s/^/s,@/; s/!/@,|#_!!_#|/
52385 s/'"$ac_delim"'$/,g/; t
52387 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52388 ' >>$CONFIG_STATUS <conf$
$subs.
sed
52389 rm -f conf$
$subs.
sed
52390 cat >>$CONFIG_STATUS <<_ACEOF
52397 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52398 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52399 # trailing colons and then remove the whole line if VPATH becomes empty
52400 # (actually we leave an empty line to preserve line numbers).
52401 if test "x$srcdir" = x.
; then
52402 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
52403 s/:*\$(srcdir):*/:/
52404 s/:*\${srcdir}:*/:/
52406 s/^\([^=]*=[ ]*\):*/\1/
52412 cat >>$CONFIG_STATUS <<\_ACEOF
52413 fi # test -n "$CONFIG_FILES"
52416 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
52419 :[FHLC
]) ac_mode
=$ac_tag; continue;;
52421 case $ac_mode$ac_tag in
52423 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52424 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52425 { (exit 1); exit 1; }; };;
52426 :[FH
]-) ac_tag
=-:-;;
52427 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
52444 -) ac_f
="$tmp/stdin";;
52445 *) # Look for the file first in the build tree, then in the source tree
52446 # (if the path is not absolute). The absolute path cannot be DOS-style,
52447 # because $ac_f cannot contain `:'.
52451 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
52453 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52454 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52455 { (exit 1); exit 1; }; };;
52457 ac_file_inputs
="$ac_file_inputs $ac_f"
52460 # Let's still pretend it is `configure' which instantiates (i.e., don't
52461 # use $as_me), people would be surprised to read:
52462 # /* config.h. Generated by config.status. */
52463 configure_input
="Generated from "`IFS=:
52464 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52465 if test x
"$ac_file" != x
-; then
52466 configure_input
="$ac_file. $configure_input"
52467 { echo "$as_me:$LINENO: creating $ac_file" >&5
52468 echo "$as_me: creating $ac_file" >&6;}
52472 *:-:* | *:-) cat >"$tmp/stdin";;
52477 ac_dir
=`$as_dirname -- "$ac_file" ||
52478 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52479 X"$ac_file" : 'X\(//\)[^/]' \| \
52480 X"$ac_file" : 'X\(//\)$' \| \
52481 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52487 /^X\(\/\/\)[^/].*/{
52502 -*) as_dir
=.
/$as_dir;;
52504 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52508 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52509 *) as_qdir
=$as_dir;;
52511 as_dirs
="'$as_qdir' $as_dirs"
52512 as_dir
=`$as_dirname -- "$as_dir" ||
52513 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52514 X"$as_dir" : 'X\(//\)[^/]' \| \
52515 X"$as_dir" : 'X\(//\)$' \| \
52516 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52522 /^X\(\/\/\)[^/].*/{
52535 test -d "$as_dir" && break
52537 test -z "$as_dirs" || eval "mkdir $as_dirs"
52538 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52539 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52540 { (exit 1); exit 1; }; }; }
52544 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52546 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52547 # A ".." for each directory in $ac_dir_suffix.
52548 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52549 case $ac_top_builddir_sub in
52550 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52551 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52554 ac_abs_top_builddir
=$ac_pwd
52555 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52556 # for backward compatibility:
52557 ac_top_builddir
=$ac_top_build_prefix
52560 .
) # We are building in place.
52562 ac_top_srcdir
=$ac_top_builddir_sub
52563 ac_abs_top_srcdir
=$ac_pwd ;;
52564 [\\/]* | ?
:[\\/]* ) # Absolute name.
52565 ac_srcdir
=$srcdir$ac_dir_suffix;
52566 ac_top_srcdir
=$srcdir
52567 ac_abs_top_srcdir
=$srcdir ;;
52568 *) # Relative name.
52569 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52570 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52571 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52573 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52583 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
52584 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
52588 cat >>$CONFIG_STATUS <<\_ACEOF
52589 # If the template does not know about datarootdir, expand it.
52590 # FIXME: This hack should be removed a few years after 2.60.
52591 ac_datarootdir_hack
=; ac_datarootdir_seen
=
52593 case `sed -n '/datarootdir/ {
52602 ' $ac_file_inputs` in
52603 *datarootdir
*) ac_datarootdir_seen
=yes;;
52604 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
52605 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52606 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52608 cat >>$CONFIG_STATUS <<_ACEOF
52609 ac_datarootdir_hack='
52610 s&@datadir@&$datadir&g
52611 s&@docdir@&$docdir&g
52612 s&@infodir@&$infodir&g
52613 s&@localedir@&$localedir&g
52614 s&@mandir@&$mandir&g
52615 s&\\\${datarootdir}&$datarootdir&g' ;;
52619 # Neutralize VPATH when `$srcdir' = `.'.
52620 # Shell code in configure.ac might set extrasub.
52621 # FIXME: do we really want to maintain this feature?
52622 cat >>$CONFIG_STATUS <<_ACEOF
52626 cat >>$CONFIG_STATUS <<\_ACEOF
52628 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
52629 s
&@configure_input@
&$configure_input&;t t
52630 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
52631 s
&@srcdir@
&$ac_srcdir&;t t
52632 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
52633 s
&@top_srcdir@
&$ac_top_srcdir&;t t
52634 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
52635 s
&@builddir@
&$ac_builddir&;t t
52636 s
&@abs_builddir@
&$ac_abs_builddir&;t t
52637 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
52638 s
&@INSTALL@
&$ac_INSTALL&;t t
52639 $ac_datarootdir_hack
52640 " $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
52642 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52643 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
52644 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
52645 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
52646 which seems to be undefined. Please make sure it is defined." >&5
52647 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
52648 which seems to be undefined. Please make sure it is defined." >&2;}
52652 -) cat "$tmp/out"; rm -f "$tmp/out";;
52653 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52662 # Transform confdefs.h into a sed script `conftest.defines', that
52663 # substitutes the proper values into config.h.in to produce config.h.
52664 rm -f conftest.defines conftest.
tail
52665 # First, append a space to every undef/define line, to ease matching.
52666 echo 's/$/ /' >conftest.defines
52667 # Then, protect against being on the right side of a sed subst, or in
52668 # an unquoted here document, in config.status. If some macros were
52669 # called several times there might be several #defines for the same
52670 # symbol, which is useless. But do not sort them, since the last
52671 # AC_DEFINE must be honored.
52672 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
52673 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52674 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52675 # PARAMS is the parameter list in the macro definition--in most cases, it's
52676 # just an empty string.
52677 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52678 ac_dB
='\\)[ (].*,\\1define\\2'
52686 s/^[ ]*#[ ]*define[ ][ ]*//
52691 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52692 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52693 ' >>conftest.defines
52695 # Remove the space that was appended to ease matching.
52696 # Then replace #undef with comments. This is necessary, for
52697 # example, in the case of _POSIX_SOURCE, which is predefined and required
52698 # on some systems where configure will not decide to define it.
52699 # (The regexp can be short, since the line contains either #define or #undef.)
52701 s,^[ #]*u.*,/* & */,' >>conftest.defines
52703 # Break up conftest.defines:
52704 ac_max_sed_lines
=50
52706 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52707 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52708 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52710 ac_in
='$ac_file_inputs'
52711 ac_out
='"$tmp/out1"'
52712 ac_nxt
='"$tmp/out2"'
52716 # Write a here document:
52717 cat >>$CONFIG_STATUS <<_ACEOF
52718 # First, check the format of the line:
52719 cat >"\$tmp/defines.sed" <<\\CEOF
52720 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52721 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52725 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
52727 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52728 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
52729 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
52730 grep . conftest.
tail >/dev
/null
|| break
52731 rm -f conftest.defines
52732 mv conftest.
tail conftest.defines
52734 rm -f conftest.defines conftest.
tail
52736 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52737 cat >>$CONFIG_STATUS <<\_ACEOF
52738 if test x
"$ac_file" != x
-; then
52739 echo "/* $configure_input */" >"$tmp/config.h"
52740 cat "$ac_result" >>"$tmp/config.h"
52741 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
52742 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52743 echo "$as_me: $ac_file is unchanged" >&6;}
52746 mv "$tmp/config.h" $ac_file
52749 echo "/* $configure_input */"
52755 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52756 echo "$as_me: executing $ac_file commands" >&6;}
52761 case $ac_file$ac_mode in
52763 mkdir -p $outdir &&
52764 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52766 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
52767 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
52768 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
52769 "wx-config":C
) rm -f wx
-config
52770 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
52777 { (exit 0); exit 0; }
52779 chmod +x
$CONFIG_STATUS
52780 ac_clean_files
=$ac_clean_files_save
52783 # configure is writing to config.log, and then calls config.status.
52784 # config.status does its own redirection, appending to config.log.
52785 # Unfortunately, on DOS this fails, as config.log is still kept open
52786 # by configure, so config.status won't be able to write to it; its
52787 # output is simply discarded. So we exec the FD to /dev/null,
52788 # effectively closing config.log, so it can be properly (re)opened and
52789 # appended to by config.status. When coming back to configure, we
52790 # need to make the FD available again.
52791 if test "$no_create" != yes; then
52793 ac_config_status_args
=
52794 test "$silent" = yes &&
52795 ac_config_status_args
="$ac_config_status_args --quiet"
52797 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
52799 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52800 # would make configure fail if this is the last instruction.
52801 $ac_cs_success || { (exit 1); exit 1; }
52805 # CONFIG_SUBDIRS section.
52807 if test "$no_recursion" != yes; then
52809 # Remove --cache-file and --srcdir arguments so they do not pile up.
52810 ac_sub_configure_args
=
52812 eval "set x $ac_configure_args"
52816 if test -n "$ac_prev"; then
52821 -cache-file | --cache-file | --cache-fil | --cache-fi \
52822 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52823 ac_prev
=cache_file
;;
52824 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52825 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52828 --config-cache | -C)
52830 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52832 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52834 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52836 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52840 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52842 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
52846 # Always prepend --prefix to ensure using the same prefix
52847 # in subdir configurations.
52848 ac_arg
="--prefix=$prefix"
52850 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52852 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
52855 if test "$silent" = yes; then
52856 ac_sub_configure_args
="--silent $ac_sub_configure_args"
52860 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
52862 # Do not complain, so a configure script can configure whichever
52863 # parts of a large source tree are present.
52864 test -d "$srcdir/$ac_dir" || continue
52866 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52867 echo "$as_me:$LINENO: $ac_msg" >&5
52871 -*) as_dir
=.
/$as_dir;;
52873 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52877 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52878 *) as_qdir
=$as_dir;;
52880 as_dirs
="'$as_qdir' $as_dirs"
52881 as_dir
=`$as_dirname -- "$as_dir" ||
52882 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52883 X"$as_dir" : 'X\(//\)[^/]' \| \
52884 X"$as_dir" : 'X\(//\)$' \| \
52885 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52891 /^X\(\/\/\)[^/].*/{
52904 test -d "$as_dir" && break
52906 test -z "$as_dirs" || eval "mkdir $as_dirs"
52907 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52908 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52909 { (exit 1); exit 1; }; }; }
52913 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52915 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52916 # A ".." for each directory in $ac_dir_suffix.
52917 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52918 case $ac_top_builddir_sub in
52919 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
52920 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
52923 ac_abs_top_builddir
=$ac_pwd
52924 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
52925 # for backward compatibility:
52926 ac_top_builddir
=$ac_top_build_prefix
52929 .
) # We are building in place.
52931 ac_top_srcdir
=$ac_top_builddir_sub
52932 ac_abs_top_srcdir
=$ac_pwd ;;
52933 [\\/]* | ?
:[\\/]* ) # Absolute name.
52934 ac_srcdir
=$srcdir$ac_dir_suffix;
52935 ac_top_srcdir
=$srcdir
52936 ac_abs_top_srcdir
=$srcdir ;;
52937 *) # Relative name.
52938 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
52939 ac_top_srcdir
=$ac_top_build_prefix$srcdir
52940 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
52942 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
52947 # Check for guested configure; otherwise get Cygnus style configure.
52948 if test -f "$ac_srcdir/configure.gnu"; then
52949 ac_sub_configure
=$ac_srcdir/configure.gnu
52950 elif test -f "$ac_srcdir/configure"; then
52951 ac_sub_configure
=$ac_srcdir/configure
52952 elif test -f "$ac_srcdir/configure.in"; then
52953 # This should be Cygnus configure.
52954 ac_sub_configure
=$ac_aux_dir/configure
52956 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52957 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52961 # The recursion is here.
52962 if test -n "$ac_sub_configure"; then
52963 # Make the cache file name correct relative to the subdirectory.
52964 case $cache_file in
52965 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
52966 *) # Relative name.
52967 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
52970 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52971 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52972 # The eval makes quoting arguments work.
52973 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52974 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52975 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52976 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52977 { (exit 1); exit 1; }; }
52986 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52988 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52989 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52991 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52992 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52993 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52994 if test "$wxUSE_UNICODE" = "yes"; then
52995 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52996 echo " (using UTF-8)"
52998 echo " (using wchar_t)"
53004 echo " What level of wxWidgets compatibility should be enabled?"
53005 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53006 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53008 echo " Which libraries should wxWidgets use?"
53009 echo " STL ${wxUSE_STL}"
53010 echo " jpeg ${wxUSE_LIBJPEG-none}"
53011 echo " png ${wxUSE_LIBPNG-none}"
53012 echo " regex ${wxUSE_REGEX}"
53013 echo " tiff ${wxUSE_LIBTIFF-none}"
53014 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53015 echo " xpm ${wxUSE_LIBXPM-none}"
53017 echo " zlib ${wxUSE_ZLIB}"
53018 echo " expat ${wxUSE_EXPAT}"
53019 echo " libmspack ${wxUSE_LIBMSPACK}"
53020 echo " sdl ${wxUSE_LIBSDL}"